UNPKG

@vindev/particle

Version:

Angular Component Library using Tailwind

94 lines (93 loc) 3.9 kB
import { AfterViewInit } from '@angular/core'; import { BaseAtom } from '../../shared/mixins'; import { IconButtonComponent } from '../icon-button/icon-button.component'; 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"; import * as i7 from "../icon-button/icon-button.component"; import * as i8 from "../../shared/utils/click-outside.directive"; declare const MenuSelectionMixins: { new (...args: any[]): { disabled: boolean; setDisabled: boolean | ""; }; } & { new (...args: any[]): { action: import("@angular/core").EventEmitter<any>; clicked(event?: MouseEvent | undefined, disabled?: boolean): void; }; } & typeof BaseAtom; export declare class MenuSelectionComponent extends MenuSelectionMixins { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<MenuSelectionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MenuSelectionComponent, "ptcl-menu-selection", never, {}, {}, never, ["*"], false, never>; } declare const MenuButtonMixins: { new (...args: any[]): { id: string; }; } & { new (...args: any[]): { url: string; setUrl: string; }; } & { new (...args: any[]): { action: import("@angular/core").EventEmitter<any>; clicked(event?: MouseEvent | undefined): void; Sizes: typeof import("../../shared/enums").Sizes; size: import("../../shared/enums").Sizes; setSize: string; setS: string; setSmall: string; setM: string; setMedium: string; setL: string; setLarge: string; setXl: string; setXlarge: string; icon: string; disabled: boolean; setDisabled: boolean | ""; ghost: boolean; setGhost: boolean | ""; 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; }; } & typeof BaseAtom; export declare class MenuButtonComponent extends MenuButtonMixins implements AfterViewInit { iconBtn?: IconButtonComponent; private ptclMenu; constructor(); ngAfterViewInit(): void; isOpenedList: boolean; openMenu(e: Event): void; closeMenu(e: Event): void; updateMenuPosition(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MenuButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MenuButtonComponent, "ptcl-menu-btn", never, {}, {}, never, ["*"], false, never>; } export declare class MenuButtonComponentModule { static ɵfac: i0.ɵɵFactoryDeclaration<MenuButtonComponentModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<MenuButtonComponentModule, [typeof MenuButtonComponent, typeof MenuSelectionComponent], [typeof i1.CommonModule, typeof i2.ColorDirectiveModule, typeof i3.RippleDirectiveModule, typeof i4.GhostDirectiveModule, typeof i5.IconDirectiveModule, typeof i6.SizeDirectiveModule, typeof i7.IconButtonComponentModule, typeof i8.ClickOutsideDirectiveModule], [typeof MenuButtonComponent, typeof MenuSelectionComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<MenuButtonComponentModule>; } export {};