[59329aa] | 1 | import { ElementRef, EventEmitter, AfterViewInit, OnDestroy, AfterContentInit, TemplateRef, QueryList } from '@angular/core';
|
---|
| 2 | import * as i0 from "@angular/core";
|
---|
| 3 | import * as i1 from "@angular/common";
|
---|
| 4 | import * as i2 from "primeng/ripple";
|
---|
| 5 | export declare class ButtonDirective implements AfterViewInit, OnDestroy {
|
---|
| 6 | el: ElementRef;
|
---|
| 7 | iconPos: 'left' | 'right' | 'top' | 'bottom';
|
---|
| 8 | loadingIcon: string;
|
---|
| 9 | _label: string;
|
---|
| 10 | _icon: string;
|
---|
| 11 | _loading: boolean;
|
---|
| 12 | initialized: boolean;
|
---|
| 13 | _initialStyleClass: string;
|
---|
| 14 | constructor(el: ElementRef);
|
---|
| 15 | ngAfterViewInit(): void;
|
---|
| 16 | getStyleClass(): string;
|
---|
| 17 | setStyleClass(): void;
|
---|
| 18 | createIconEl(): void;
|
---|
| 19 | getIconClass(): string;
|
---|
| 20 | setIconClass(): void;
|
---|
| 21 | removeIconElement(): void;
|
---|
| 22 | get label(): string;
|
---|
| 23 | set label(val: string);
|
---|
| 24 | get icon(): string;
|
---|
| 25 | set icon(val: string);
|
---|
| 26 | get loading(): boolean;
|
---|
| 27 | set loading(val: boolean);
|
---|
| 28 | ngOnDestroy(): void;
|
---|
| 29 | static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
---|
| 30 | static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[pButton]", never, { "iconPos": "iconPos"; "loadingIcon": "loadingIcon"; "label": "label"; "icon": "icon"; "loading": "loading"; }, {}, never>;
|
---|
| 31 | }
|
---|
| 32 | export declare class Button implements AfterContentInit {
|
---|
| 33 | type: string;
|
---|
| 34 | iconPos: string;
|
---|
| 35 | icon: string;
|
---|
| 36 | badge: string;
|
---|
| 37 | label: string;
|
---|
| 38 | disabled: boolean;
|
---|
| 39 | loading: boolean;
|
---|
| 40 | loadingIcon: string;
|
---|
| 41 | style: any;
|
---|
| 42 | styleClass: string;
|
---|
| 43 | badgeClass: string;
|
---|
| 44 | contentTemplate: TemplateRef<any>;
|
---|
| 45 | templates: QueryList<any>;
|
---|
| 46 | onClick: EventEmitter<any>;
|
---|
| 47 | onFocus: EventEmitter<any>;
|
---|
| 48 | onBlur: EventEmitter<any>;
|
---|
| 49 | ngAfterContentInit(): void;
|
---|
| 50 | badgeStyleClass(): {
|
---|
| 51 | 'p-badge p-component': boolean;
|
---|
| 52 | 'p-badge-no-gutter': boolean;
|
---|
| 53 | };
|
---|
| 54 | static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
|
---|
| 55 | static ɵcmp: i0.ɵɵComponentDeclaration<Button, "p-button", never, { "type": "type"; "iconPos": "iconPos"; "icon": "icon"; "badge": "badge"; "label": "label"; "disabled": "disabled"; "loading": "loading"; "loadingIcon": "loadingIcon"; "style": "style"; "styleClass": "styleClass"; "badgeClass": "badgeClass"; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, ["templates"], ["*"]>;
|
---|
| 56 | }
|
---|
| 57 | export declare class ButtonModule {
|
---|
| 58 | static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
---|
| 59 | static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof ButtonDirective, typeof Button], [typeof i1.CommonModule, typeof i2.RippleModule], [typeof ButtonDirective, typeof Button]>;
|
---|
| 60 | static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
---|
| 61 | }
|
---|