1 | import { ElementRef, OnDestroy, EventEmitter, Renderer2, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import { AnimationEvent } from '@angular/animations';
|
---|
3 | import { MenuItem, OverlayService, PrimeNGConfig } from 'primeng/api';
|
---|
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 MenuItemContent {
|
---|
10 | item: MenuItem;
|
---|
11 | menu: Menu;
|
---|
12 | constructor(menu: any);
|
---|
13 | onItemKeyDown(event: any): void;
|
---|
14 | findNextItem(item: any): any;
|
---|
15 | findPrevItem(item: any): any;
|
---|
16 | static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemContent, never>;
|
---|
17 | static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemContent, "[pMenuItemContent]", never, { "item": "pMenuItemContent"; }, {}, never, never>;
|
---|
18 | }
|
---|
19 | export declare class Menu implements OnDestroy {
|
---|
20 | el: ElementRef;
|
---|
21 | renderer: Renderer2;
|
---|
22 | private cd;
|
---|
23 | config: PrimeNGConfig;
|
---|
24 | overlayService: OverlayService;
|
---|
25 | model: MenuItem[];
|
---|
26 | popup: boolean;
|
---|
27 | style: any;
|
---|
28 | styleClass: string;
|
---|
29 | appendTo: any;
|
---|
30 | autoZIndex: boolean;
|
---|
31 | baseZIndex: number;
|
---|
32 | showTransitionOptions: string;
|
---|
33 | hideTransitionOptions: string;
|
---|
34 | containerViewChild: ElementRef;
|
---|
35 | onShow: EventEmitter<any>;
|
---|
36 | onHide: EventEmitter<any>;
|
---|
37 | container: HTMLDivElement;
|
---|
38 | scrollHandler: any;
|
---|
39 | documentClickListener: any;
|
---|
40 | documentResizeListener: any;
|
---|
41 | preventDocumentDefault: boolean;
|
---|
42 | target: any;
|
---|
43 | visible: boolean;
|
---|
44 | relativeAlign: boolean;
|
---|
45 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
|
---|
46 | toggle(event: any): void;
|
---|
47 | show(event: any): void;
|
---|
48 | onOverlayAnimationStart(event: AnimationEvent): void;
|
---|
49 | onOverlayAnimationEnd(event: AnimationEvent): void;
|
---|
50 | alignOverlay(): void;
|
---|
51 | appendOverlay(): void;
|
---|
52 | restoreOverlayAppend(): void;
|
---|
53 | moveOnTop(): void;
|
---|
54 | hide(): void;
|
---|
55 | onWindowResize(): void;
|
---|
56 | itemClick(event: any, item: MenuItem): void;
|
---|
57 | onOverlayClick(event: any): void;
|
---|
58 | bindDocumentClickListener(): void;
|
---|
59 | unbindDocumentClickListener(): void;
|
---|
60 | bindDocumentResizeListener(): void;
|
---|
61 | unbindDocumentResizeListener(): void;
|
---|
62 | bindScrollListener(): void;
|
---|
63 | unbindScrollListener(): void;
|
---|
64 | onOverlayHide(): void;
|
---|
65 | ngOnDestroy(): void;
|
---|
66 | hasSubMenu(): boolean;
|
---|
67 | static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
---|
68 | static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "p-menu", never, { "model": "model"; "popup": "popup"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onShow": "onShow"; "onHide": "onHide"; }, never, never>;
|
---|
69 | }
|
---|
70 | export declare class MenuModule {
|
---|
71 | static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
---|
72 | static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof Menu, typeof MenuItemContent], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.RippleModule, typeof i4.TooltipModule], [typeof Menu, typeof i2.RouterModule, typeof i4.TooltipModule]>;
|
---|
73 | static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
---|
74 | }
|
---|