UNPKG

primeng

Version:

PrimeNG is a premium UI library for Angular featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock,

95 lines (91 loc) 3.05 kB
import { ToolbarPassThrough } from 'primeng/types/toolbar'; export * from 'primeng/types/toolbar'; import * as i0 from '@angular/core'; import { TemplateRef } from '@angular/core'; import * as i2 from 'primeng/api'; import { BlockableUI } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { BaseStyle } from 'primeng/base'; /** * * Toolbar is a grouping component for buttons and other content. * * [Live Demo](https://www.primeng.org/toolbar/) * * @module toolbarstyle * */ declare enum ToolbarClasses { /** * Class name of the root element */ root = "p-toolbar", /** * Class name of the start element */ start = "p-toolbar-start", /** * Class name of the center element */ center = "p-toolbar-center", /** * Class name of the end element */ end = "p-toolbar-end" } declare class ToolbarStyle extends BaseStyle { name: string; style: string; classes: { root: () => string[]; start: string; center: string; end: string; }; static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarStyle, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarStyle>; } interface ToolbarStyle extends BaseStyle { } /** * Toolbar is a grouping component for buttons and other content. * @group Components */ declare class Toolbar extends BaseComponent<ToolbarPassThrough> implements BlockableUI { componentName: string; $pcToolbar: Toolbar | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; /** * Defines a string value that labels an interactive element. * @group Props */ ariaLabelledBy: i0.InputSignal<string | undefined>; _componentStyle: ToolbarStyle; getBlockableElement(): HTMLElement; /** * Custom start template. * @group Templates */ startTemplate: i0.Signal<TemplateRef<void> | undefined>; /** * Custom end template. * @group Templates */ endTemplate: i0.Signal<TemplateRef<void> | undefined>; /** * Custom center template. * @group Templates */ centerTemplate: i0.Signal<TemplateRef<void> | undefined>; static ɵfac: i0.ɵɵFactoryDeclaration<Toolbar, never>; static ɵcmp: i0.ɵɵComponentDeclaration<Toolbar, "p-toolbar", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, {}, ["startTemplate", "endTemplate", "centerTemplate"], ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>; } declare class ToolbarModule { static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, never, [typeof Toolbar, typeof i2.SharedModule, typeof i1.BindModule], [typeof Toolbar, typeof i2.SharedModule, typeof i1.BindModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>; } export { Toolbar, ToolbarClasses, ToolbarModule, ToolbarStyle };