[59329aa] | 1 | import { ElementRef, Renderer2, OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
---|
| 2 | import { MenuItem, OverlayService, PrimeNGConfig } from 'primeng/api';
|
---|
| 3 | import { AnimationEvent } from '@angular/animations';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | import * as i2 from "@angular/router";
|
---|
| 7 | import * as i3 from "primeng/ripple";
|
---|
| 8 | import * as i4 from "primeng/tooltip";
|
---|
| 9 | export declare class TieredMenuSub implements OnDestroy {
|
---|
| 10 | el: ElementRef;
|
---|
| 11 | renderer: Renderer2;
|
---|
| 12 | private cd;
|
---|
| 13 | item: MenuItem;
|
---|
| 14 | root: boolean;
|
---|
| 15 | autoDisplay: boolean;
|
---|
| 16 | autoZIndex: boolean;
|
---|
| 17 | baseZIndex: number;
|
---|
| 18 | mobileActive: boolean;
|
---|
| 19 | popup: boolean;
|
---|
| 20 | get parentActive(): boolean;
|
---|
| 21 | set parentActive(value: boolean);
|
---|
| 22 | leafClick: EventEmitter<any>;
|
---|
| 23 | keydownItem: EventEmitter<any>;
|
---|
| 24 | _parentActive: boolean;
|
---|
| 25 | documentClickListener: any;
|
---|
| 26 | menuHoverActive: boolean;
|
---|
| 27 | activeItem: any;
|
---|
| 28 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
|
---|
| 29 | onItemClick(event: any, item: any): void;
|
---|
| 30 | onItemMouseEnter(event: any, item: any): void;
|
---|
| 31 | onLeafClick(): void;
|
---|
| 32 | onItemKeyDown(event: any, item: any): void;
|
---|
| 33 | findNextItem(item: any): any;
|
---|
| 34 | findPrevItem(item: any): any;
|
---|
| 35 | onChildItemKeyDown(event: any): void;
|
---|
| 36 | bindDocumentClickListener(): void;
|
---|
| 37 | unbindDocumentClickListener(): void;
|
---|
| 38 | ngOnDestroy(): void;
|
---|
| 39 | static ɵfac: i0.ɵɵFactoryDeclaration<TieredMenuSub, never>;
|
---|
| 40 | static ɵcmp: i0.ɵɵComponentDeclaration<TieredMenuSub, "p-tieredMenuSub", never, { "item": "item"; "root": "root"; "autoDisplay": "autoDisplay"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "mobileActive": "mobileActive"; "popup": "popup"; "parentActive": "parentActive"; }, { "leafClick": "leafClick"; "keydownItem": "keydownItem"; }, never, never>;
|
---|
| 41 | }
|
---|
| 42 | export declare class TieredMenu implements OnDestroy {
|
---|
| 43 | el: ElementRef;
|
---|
| 44 | renderer: Renderer2;
|
---|
| 45 | cd: ChangeDetectorRef;
|
---|
| 46 | config: PrimeNGConfig;
|
---|
| 47 | overlayService: OverlayService;
|
---|
| 48 | model: MenuItem[];
|
---|
| 49 | popup: boolean;
|
---|
| 50 | style: any;
|
---|
| 51 | styleClass: string;
|
---|
| 52 | appendTo: any;
|
---|
| 53 | autoZIndex: boolean;
|
---|
| 54 | baseZIndex: number;
|
---|
| 55 | autoDisplay: boolean;
|
---|
| 56 | showTransitionOptions: string;
|
---|
| 57 | hideTransitionOptions: string;
|
---|
| 58 | parentActive: boolean;
|
---|
| 59 | container: HTMLDivElement;
|
---|
| 60 | documentClickListener: any;
|
---|
| 61 | documentResizeListener: any;
|
---|
| 62 | preventDocumentDefault: boolean;
|
---|
| 63 | scrollHandler: any;
|
---|
| 64 | target: any;
|
---|
| 65 | visible: boolean;
|
---|
| 66 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
|
---|
| 67 | toggle(event: any): void;
|
---|
| 68 | show(event: any): void;
|
---|
| 69 | onOverlayClick(event: any): void;
|
---|
| 70 | onOverlayAnimationStart(event: AnimationEvent): void;
|
---|
| 71 | onOverlayAnimationEnd(event: AnimationEvent): void;
|
---|
| 72 | appendOverlay(): void;
|
---|
| 73 | restoreOverlayAppend(): void;
|
---|
| 74 | moveOnTop(): void;
|
---|
| 75 | hide(): void;
|
---|
| 76 | onWindowResize(): void;
|
---|
| 77 | onLeafClick(): void;
|
---|
| 78 | bindDocumentClickListener(): void;
|
---|
| 79 | unbindDocumentClickListener(): void;
|
---|
| 80 | bindDocumentResizeListener(): void;
|
---|
| 81 | unbindDocumentResizeListener(): void;
|
---|
| 82 | bindScrollListener(): void;
|
---|
| 83 | unbindScrollListener(): void;
|
---|
| 84 | onOverlayHide(): void;
|
---|
| 85 | ngOnDestroy(): void;
|
---|
| 86 | static ɵfac: i0.ɵɵFactoryDeclaration<TieredMenu, never>;
|
---|
| 87 | static ɵcmp: i0.ɵɵComponentDeclaration<TieredMenu, "p-tieredMenu", never, { "model": "model"; "popup": "popup"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "autoDisplay": "autoDisplay"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, {}, never, never>;
|
---|
| 88 | }
|
---|
| 89 | export declare class TieredMenuModule {
|
---|
| 90 | static ɵfac: i0.ɵɵFactoryDeclaration<TieredMenuModule, never>;
|
---|
| 91 | static ɵmod: i0.ɵɵNgModuleDeclaration<TieredMenuModule, [typeof TieredMenu, typeof TieredMenuSub], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.RippleModule, typeof i4.TooltipModule], [typeof TieredMenu, typeof i2.RouterModule, typeof i4.TooltipModule]>;
|
---|
| 92 | static ɵinj: i0.ɵɵInjectorDeclaration<TieredMenuModule>;
|
---|
| 93 | }
|
---|