UNPKG

@vindev/particle

Version:

Angular Component Library using Tailwind

81 lines (80 loc) 3.04 kB
import { AfterContentChecked, EventEmitter } from '@angular/core'; import { BaseAtom } from '../../shared/mixins'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "../../shared/utils/color.directive"; import * as i3 from "../../shared/utils/ripple.directive"; import * as i4 from "../../shared/utils/ghost.directive"; import * as i5 from "../../shared/utils/icon.directive"; import * as i6 from "../../shared/utils/size.directive"; declare const ChipMixins: { new (...args: any[]): { disabled: boolean; setDisabled: boolean | ""; }; } & { new (...args: any[]): { closeIt: EventEmitter<any>; closed(value?: any): void; }; } & { new (...args: any[]): { _item: import("../../shared/core/item").IItem; item: import("../../shared/core/item").IItem; label: string | null; placeholder: string | null; value: any; }; } & { new (...args: any[]): { unset: boolean; activeTheme: string; primary: boolean; setPrimary: boolean | ""; secondary: boolean; setSecondary: boolean | ""; warn: boolean; setWarn: boolean | ""; naked: boolean; setNaked: boolean | ""; setTheme(theme: { primary?: boolean | undefined; secondary?: boolean | undefined; warn?: boolean | undefined; naked?: boolean | undefined; }): void; }; } & { new (...args: any[]): { ghost: boolean; setGhost: boolean | ""; }; } & { new (...args: any[]): { icon: string; }; } & typeof BaseAtom; export declare class ChipComponent extends ChipMixins implements AfterContentChecked { closeButtonEnabled: boolean; clickable: boolean; checked: boolean; set setChecked(checked: boolean | ''); toggle: boolean; set setToggle(toggle: boolean | ''); colorObj: object | null; color: string; set setColor(color: string); action: EventEmitter<any>; constructor(); ngAfterContentChecked(): void; toggleChip(event?: MouseEvent): void; private updateCustomColor; static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "ptcl-chip", never, { "setChecked": "checked"; "setToggle": "toggle"; "setColor": "color"; }, { "action": "action"; }, never, ["*"], false, never>; } export declare class ChipComponentModule { static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponentModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ChipComponentModule, [typeof ChipComponent], [typeof i1.CommonModule, typeof i2.ColorDirectiveModule, typeof i3.RippleDirectiveModule, typeof i4.GhostDirectiveModule, typeof i5.IconDirectiveModule, typeof i6.SizeDirectiveModule], [typeof ChipComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<ChipComponentModule>; } export {};