1 | import { ElementRef, Renderer2, OnDestroy, ChangeDetectorRef, AfterContentInit, QueryList, TemplateRef, EventEmitter } from '@angular/core';
|
---|
2 | import { MenuItem, PrimeNGConfig } from 'primeng/api';
|
---|
3 | import * as i0 from "@angular/core";
|
---|
4 | import * as i1 from "@angular/common";
|
---|
5 | import * as i2 from "@angular/router";
|
---|
6 | import * as i3 from "primeng/ripple";
|
---|
7 | import * as i4 from "primeng/tooltip";
|
---|
8 | export declare class MenubarSub implements OnDestroy {
|
---|
9 | el: ElementRef;
|
---|
10 | renderer: Renderer2;
|
---|
11 | private cd;
|
---|
12 | item: MenuItem;
|
---|
13 | root: boolean;
|
---|
14 | autoZIndex: boolean;
|
---|
15 | baseZIndex: number;
|
---|
16 | mobileActive: boolean;
|
---|
17 | autoDisplay: boolean;
|
---|
18 | get parentActive(): boolean;
|
---|
19 | set parentActive(value: boolean);
|
---|
20 | leafClick: EventEmitter<any>;
|
---|
21 | _parentActive: boolean;
|
---|
22 | documentClickListener: any;
|
---|
23 | menuHoverActive: boolean;
|
---|
24 | activeItem: any;
|
---|
25 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
|
---|
26 | onItemClick(event: any, item: any): void;
|
---|
27 | onItemMouseEnter(event: any, item: any): void;
|
---|
28 | onLeafClick(): void;
|
---|
29 | bindDocumentClickListener(): void;
|
---|
30 | unbindDocumentClickListener(): void;
|
---|
31 | ngOnDestroy(): void;
|
---|
32 | static ɵfac: i0.ɵɵFactoryDeclaration<MenubarSub, never>;
|
---|
33 | static ɵcmp: i0.ɵɵComponentDeclaration<MenubarSub, "p-menubarSub", never, { "item": "item"; "root": "root"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "mobileActive": "mobileActive"; "autoDisplay": "autoDisplay"; "parentActive": "parentActive"; }, { "leafClick": "leafClick"; }, never, never>;
|
---|
34 | }
|
---|
35 | export declare class Menubar implements AfterContentInit, OnDestroy {
|
---|
36 | el: ElementRef;
|
---|
37 | renderer: Renderer2;
|
---|
38 | cd: ChangeDetectorRef;
|
---|
39 | config: PrimeNGConfig;
|
---|
40 | model: MenuItem[];
|
---|
41 | style: any;
|
---|
42 | styleClass: string;
|
---|
43 | autoZIndex: boolean;
|
---|
44 | baseZIndex: number;
|
---|
45 | autoDisplay: boolean;
|
---|
46 | templates: QueryList<any>;
|
---|
47 | menubutton: ElementRef;
|
---|
48 | rootmenu: MenubarSub;
|
---|
49 | startTemplate: TemplateRef<any>;
|
---|
50 | endTemplate: TemplateRef<any>;
|
---|
51 | mobileActive: boolean;
|
---|
52 | outsideClickListener: any;
|
---|
53 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
---|
54 | ngAfterContentInit(): void;
|
---|
55 | toggle(event: any): void;
|
---|
56 | bindOutsideClickListener(): void;
|
---|
57 | hide(): void;
|
---|
58 | onLeafClick(): void;
|
---|
59 | unbindOutsideClickListener(): void;
|
---|
60 | ngOnDestroy(): void;
|
---|
61 | static ɵfac: i0.ɵɵFactoryDeclaration<Menubar, never>;
|
---|
62 | static ɵcmp: i0.ɵɵComponentDeclaration<Menubar, "p-menubar", never, { "model": "model"; "style": "style"; "styleClass": "styleClass"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "autoDisplay": "autoDisplay"; }, {}, ["templates"], ["*"]>;
|
---|
63 | }
|
---|
64 | export declare class MenubarModule {
|
---|
65 | static ɵfac: i0.ɵɵFactoryDeclaration<MenubarModule, never>;
|
---|
66 | static ɵmod: i0.ɵɵNgModuleDeclaration<MenubarModule, [typeof Menubar, typeof MenubarSub], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.RippleModule, typeof i4.TooltipModule], [typeof Menubar, typeof i2.RouterModule, typeof i4.TooltipModule]>;
|
---|
67 | static ɵinj: i0.ɵɵInjectorDeclaration<MenubarModule>;
|
---|
68 | }
|
---|