1 | import { ElementRef, AfterViewChecked, OnDestroy, Renderer2, EventEmitter, 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/tooltip";
|
---|
8 | export declare class SlideMenuSub implements OnDestroy {
|
---|
9 | item: MenuItem;
|
---|
10 | root: boolean;
|
---|
11 | backLabel: string;
|
---|
12 | menuWidth: number;
|
---|
13 | effectDuration: any;
|
---|
14 | easing: string;
|
---|
15 | index: number;
|
---|
16 | sublistViewChild: ElementRef;
|
---|
17 | slideMenu: SlideMenu;
|
---|
18 | transitionEndListener: any;
|
---|
19 | constructor(slideMenu: any);
|
---|
20 | activeItem: any;
|
---|
21 | itemClick(event: any, item: MenuItem, listitem: any): void;
|
---|
22 | focusNextList(listitem: any): void;
|
---|
23 | onItemKeyDown(event: any): void;
|
---|
24 | unbindTransitionEndListener(): void;
|
---|
25 | ngOnDestroy(): void;
|
---|
26 | get isActive(): boolean;
|
---|
27 | static ɵfac: i0.ɵɵFactoryDeclaration<SlideMenuSub, never>;
|
---|
28 | static ɵcmp: i0.ɵɵComponentDeclaration<SlideMenuSub, "p-slideMenuSub", never, { "item": "item"; "root": "root"; "backLabel": "backLabel"; "menuWidth": "menuWidth"; "effectDuration": "effectDuration"; "easing": "easing"; "index": "index"; }, {}, never, never>;
|
---|
29 | }
|
---|
30 | export declare class SlideMenu implements AfterViewChecked, OnDestroy {
|
---|
31 | el: ElementRef;
|
---|
32 | renderer: Renderer2;
|
---|
33 | cd: ChangeDetectorRef;
|
---|
34 | config: PrimeNGConfig;
|
---|
35 | overlayService: OverlayService;
|
---|
36 | model: MenuItem[];
|
---|
37 | popup: boolean;
|
---|
38 | style: any;
|
---|
39 | styleClass: string;
|
---|
40 | menuWidth: number;
|
---|
41 | viewportHeight: number;
|
---|
42 | effectDuration: any;
|
---|
43 | easing: string;
|
---|
44 | backLabel: string;
|
---|
45 | appendTo: any;
|
---|
46 | autoZIndex: boolean;
|
---|
47 | baseZIndex: number;
|
---|
48 | showTransitionOptions: string;
|
---|
49 | hideTransitionOptions: string;
|
---|
50 | onShow: EventEmitter<any>;
|
---|
51 | onHide: EventEmitter<any>;
|
---|
52 | containerViewChild: ElementRef;
|
---|
53 | backwardViewChild: ElementRef;
|
---|
54 | slideMenuContentViewChild: ElementRef;
|
---|
55 | documentClickListener: any;
|
---|
56 | documentResizeListener: any;
|
---|
57 | preventDocumentDefault: boolean;
|
---|
58 | scrollHandler: any;
|
---|
59 | left: number;
|
---|
60 | animating: boolean;
|
---|
61 | target: any;
|
---|
62 | visible: boolean;
|
---|
63 | viewportUpdated: boolean;
|
---|
64 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
|
---|
65 | ngAfterViewChecked(): void;
|
---|
66 | set container(element: ElementRef);
|
---|
67 | set backward(element: ElementRef);
|
---|
68 | set slideMenuContent(element: ElementRef);
|
---|
69 | updateViewPort(): void;
|
---|
70 | toggle(event: any): void;
|
---|
71 | show(event: any): void;
|
---|
72 | onOverlayClick(event: any): void;
|
---|
73 | onOverlayAnimationStart(event: AnimationEvent): void;
|
---|
74 | onOverlayAnimationEnd(event: AnimationEvent): void;
|
---|
75 | appendOverlay(): void;
|
---|
76 | restoreOverlayAppend(): void;
|
---|
77 | moveOnTop(): void;
|
---|
78 | hide(): void;
|
---|
79 | onWindowResize(): void;
|
---|
80 | goBack(): void;
|
---|
81 | onBackwardKeydown(event: any): void;
|
---|
82 | bindDocumentClickListener(): void;
|
---|
83 | unbindDocumentClickListener(): void;
|
---|
84 | bindDocumentResizeListener(): void;
|
---|
85 | unbindDocumentResizeListener(): void;
|
---|
86 | bindScrollListener(): void;
|
---|
87 | unbindScrollListener(): void;
|
---|
88 | onOverlayHide(): void;
|
---|
89 | ngOnDestroy(): void;
|
---|
90 | static ɵfac: i0.ɵɵFactoryDeclaration<SlideMenu, never>;
|
---|
91 | static ɵcmp: i0.ɵɵComponentDeclaration<SlideMenu, "p-slideMenu", never, { "model": "model"; "popup": "popup"; "style": "style"; "styleClass": "styleClass"; "menuWidth": "menuWidth"; "viewportHeight": "viewportHeight"; "effectDuration": "effectDuration"; "easing": "easing"; "backLabel": "backLabel"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onShow": "onShow"; "onHide": "onHide"; }, never, never>;
|
---|
92 | }
|
---|
93 | export declare class SlideMenuModule {
|
---|
94 | static ɵfac: i0.ɵɵFactoryDeclaration<SlideMenuModule, never>;
|
---|
95 | static ɵmod: i0.ɵɵNgModuleDeclaration<SlideMenuModule, [typeof SlideMenu, typeof SlideMenuSub], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.TooltipModule], [typeof SlideMenu, typeof i2.RouterModule, typeof i3.TooltipModule]>;
|
---|
96 | static ɵinj: i0.ɵɵInjectorDeclaration<SlideMenuModule>;
|
---|
97 | }
|
---|