primeng 8.0.2 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +135 -0
- package/components/accordion/accordion.js +3 -1
- package/components/accordion/accordion.js.map +1 -1
- package/components/accordion/accordion.metadata.json +1 -1
- package/components/autocomplete/autocomplete.d.ts +3 -0
- package/components/autocomplete/autocomplete.js +18 -3
- package/components/autocomplete/autocomplete.js.map +1 -1
- package/components/autocomplete/autocomplete.metadata.json +1 -1
- package/components/breadcrumb/breadcrumb.js +1 -1
- package/components/breadcrumb/breadcrumb.js.map +1 -1
- package/components/breadcrumb/breadcrumb.metadata.json +1 -1
- package/components/button/button.js +1 -1
- package/components/button/button.js.map +1 -1
- package/components/button/button.metadata.json +1 -1
- package/components/calendar/calendar.d.ts +1 -0
- package/components/calendar/calendar.js +23 -5
- package/components/calendar/calendar.js.map +1 -1
- package/components/calendar/calendar.metadata.json +1 -1
- package/components/carousel/carousel.d.ts +66 -47
- package/components/carousel/carousel.js +406 -197
- package/components/carousel/carousel.js.map +1 -1
- package/components/carousel/carousel.metadata.json +1 -1
- package/components/checkbox/checkbox.d.ts +1 -0
- package/components/checkbox/checkbox.js +10 -4
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/checkbox/checkbox.metadata.json +1 -1
- package/components/common/api.d.ts +1 -0
- package/components/common/api.js +2 -0
- package/components/common/api.js.map +1 -1
- package/components/common/api.metadata.json +1 -1
- package/components/common/menuitem.d.ts +1 -0
- package/components/confirmdialog/confirmdialog.d.ts +1 -0
- package/components/confirmdialog/confirmdialog.js +34 -3
- package/components/confirmdialog/confirmdialog.js.map +1 -1
- package/components/confirmdialog/confirmdialog.metadata.json +1 -1
- package/components/contextmenu/contextmenu.d.ts +3 -1
- package/components/contextmenu/contextmenu.js +22 -8
- package/components/contextmenu/contextmenu.js.map +1 -1
- package/components/contextmenu/contextmenu.metadata.json +1 -1
- package/components/dataview/dataview.d.ts +1 -1
- package/components/dataview/dataview.js +4 -2
- package/components/dataview/dataview.js.map +1 -1
- package/components/dataview/dataview.metadata.json +1 -1
- package/components/dialog/dialog.js +7 -3
- package/components/dialog/dialog.js.map +1 -1
- package/components/dialog/dialog.metadata.json +1 -1
- package/components/dragdrop/dragdrop.d.ts +2 -1
- package/components/dragdrop/dragdrop.js +23 -5
- package/components/dragdrop/dragdrop.js.map +1 -1
- package/components/dragdrop/dragdrop.metadata.json +1 -1
- package/components/dropdown/dropdown.d.ts +13 -5
- package/components/dropdown/dropdown.js +82 -33
- package/components/dropdown/dropdown.js.map +1 -1
- package/components/dropdown/dropdown.metadata.json +1 -1
- package/components/focustrap/focustrap.js +1 -1
- package/components/focustrap/focustrap.js.map +1 -1
- package/components/inplace/inplace.d.ts +2 -2
- package/components/inplace/inplace.js.map +1 -1
- package/components/inputmask/inputmask.js +1 -1
- package/components/inputmask/inputmask.js.map +1 -1
- package/components/inputmask/inputmask.metadata.json +1 -1
- package/components/inputtextarea/inputtextarea.js +1 -0
- package/components/inputtextarea/inputtextarea.js.map +1 -1
- package/components/inputtextarea/inputtextarea.metadata.json +1 -1
- package/components/listbox/listbox.d.ts +2 -0
- package/components/listbox/listbox.js +41 -13
- package/components/listbox/listbox.js.map +1 -1
- package/components/listbox/listbox.metadata.json +1 -1
- package/components/megamenu/megamenu.js +1 -1
- package/components/megamenu/megamenu.js.map +1 -1
- package/components/megamenu/megamenu.metadata.json +1 -1
- package/components/menu/menu.js +1 -1
- package/components/menu/menu.js.map +1 -1
- package/components/menu/menu.metadata.json +1 -1
- package/components/menubar/menubar.d.ts +5 -3
- package/components/menubar/menubar.js +56 -33
- package/components/menubar/menubar.js.map +1 -1
- package/components/menubar/menubar.metadata.json +1 -1
- package/components/multiselect/multiselect.d.ts +7 -2
- package/components/multiselect/multiselect.js +40 -19
- package/components/multiselect/multiselect.js.map +1 -1
- package/components/multiselect/multiselect.metadata.json +1 -1
- package/components/orderlist/orderlist.d.ts +1 -0
- package/components/orderlist/orderlist.js +7 -1
- package/components/orderlist/orderlist.js.map +1 -1
- package/components/orderlist/orderlist.metadata.json +1 -1
- package/components/panelmenu/panelmenu.js +2 -2
- package/components/panelmenu/panelmenu.js.map +1 -1
- package/components/panelmenu/panelmenu.metadata.json +1 -1
- package/components/picklist/picklist.d.ts +1 -0
- package/components/picklist/picklist.js +8 -2
- package/components/picklist/picklist.js.map +1 -1
- package/components/picklist/picklist.metadata.json +1 -1
- package/components/slidemenu/slidemenu.js +1 -1
- package/components/slidemenu/slidemenu.js.map +1 -1
- package/components/slidemenu/slidemenu.metadata.json +1 -1
- package/components/slider/slider.d.ts +7 -1
- package/components/slider/slider.js +43 -1
- package/components/slider/slider.js.map +1 -1
- package/components/slider/slider.metadata.json +1 -1
- package/components/spinner/spinner.js +6 -0
- package/components/spinner/spinner.js.map +1 -1
- package/components/spinner/spinner.metadata.json +1 -1
- package/components/steps/steps.js +1 -1
- package/components/steps/steps.js.map +1 -1
- package/components/steps/steps.metadata.json +1 -1
- package/components/table/table.d.ts +3 -15
- package/components/table/table.js +15 -133
- package/components/table/table.js.map +1 -1
- package/components/table/table.metadata.json +1 -1
- package/components/tabmenu/tabmenu.js +3 -3
- package/components/tabmenu/tabmenu.js.map +1 -1
- package/components/tabmenu/tabmenu.metadata.json +1 -1
- package/components/tabview/tabview.d.ts +3 -0
- package/components/tabview/tabview.js +15 -1
- package/components/tabview/tabview.js.map +1 -1
- package/components/tabview/tabview.metadata.json +1 -1
- package/components/tieredmenu/tieredmenu.d.ts +14 -8
- package/components/tieredmenu/tieredmenu.js +89 -43
- package/components/tieredmenu/tieredmenu.js.map +1 -1
- package/components/tieredmenu/tieredmenu.metadata.json +1 -1
- package/components/tree/tree.js +9 -4
- package/components/tree/tree.js.map +1 -1
- package/components/tree/tree.metadata.json +1 -1
- package/components/treetable/treetable.d.ts +0 -12
- package/components/treetable/treetable.js +5 -122
- package/components/treetable/treetable.js.map +1 -1
- package/components/treetable/treetable.metadata.json +1 -1
- package/components/tristatecheckbox/tristatecheckbox.d.ts +1 -0
- package/components/tristatecheckbox/tristatecheckbox.js +7 -3
- package/components/tristatecheckbox/tristatecheckbox.js.map +1 -1
- package/components/tristatecheckbox/tristatecheckbox.metadata.json +1 -1
- package/components/utils/filterutils.d.ts +13 -0
- package/components/utils/filterutils.js +147 -0
- package/components/utils/filterutils.js.map +1 -0
- package/components/utils/filterutils.metadata.json +1 -0
- package/components/utils/objectutils.d.ts +0 -1
- package/components/utils/objectutils.js +0 -18
- package/components/utils/objectutils.js.map +1 -1
- package/components/utils/uniquecomponentid.d.ts +2 -0
- package/components/utils/uniquecomponentid.js +10 -0
- package/components/utils/uniquecomponentid.js.map +1 -0
- package/components/utils/uniquecomponentid.metadata.json +1 -0
- package/package.json +9 -5
- package/resources/components/carousel/carousel.css +57 -58
- package/resources/components/checkbox/checkbox.css +4 -0
- package/resources/components/colorpicker/images/color.png +0 -0
- package/resources/components/colorpicker/images/hue.png +0 -0
- package/resources/components/lightbox/images/loading.gif +0 -0
- package/resources/components/password/images/password-meter.png +0 -0
- package/resources/components/sidebar/sidebar.css +5 -1
- package/resources/components/table/table.css +4 -0
- package/resources/components/tree/images/line.gif +0 -0
- package/resources/primeng.css +608 -596
- package/resources/primeng.min.css +1 -1
- package/resources/themes/luna-amber/theme.css +2261 -2977
- package/resources/themes/luna-blue/theme.css +2253 -2969
- package/resources/themes/luna-green/theme.css +2253 -2969
- package/resources/themes/luna-pink/theme.css +2253 -2969
- package/resources/themes/nova-colored/theme.css +2267 -2983
- package/resources/themes/nova-dark/theme.css +2267 -2983
- package/resources/themes/nova-light/theme.css +2282 -2998
- package/resources/themes/rhea/theme.css +2250 -2966
- package/.editorconfig +0 -13
- package/.travis.yml +0 -23
- package/.vscode/settings.json +0 -2
@@ -65,7 +65,7 @@ var TabViewNav = /** @class */ (function () {
|
|
65
65
|
'[class.ui-widget-header]': 'true',
|
66
66
|
'[class.ui-corner-all]': 'true'
|
67
67
|
},
|
68
|
-
template: "\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <li [class]=\"getDefaultHeaderClass(tab)\" [ngStyle]=\"tab.headerStyle\" role=\"presentation\"\n [ngClass]=\"{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}\"\n (click)=\"clickTab($event,tab)\" *ngIf=\"!tab.closed\" tabindex=\"0\" (keydown.enter)=\"clickTab($event,tab)\">\n <a [attr.id]=\"tab.id + '-label'\" role=\"tab\" [attr.aria-selected]=\"tab.selected\" [attr.aria-controls]=\"tab.id\" [pTooltip]=\"tab.tooltip\" [tooltipPosition]=\"
|
68
|
+
template: "\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <li [class]=\"getDefaultHeaderClass(tab)\" [ngStyle]=\"tab.headerStyle\" role=\"presentation\"\n [ngClass]=\"{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}\"\n (click)=\"clickTab($event,tab)\" *ngIf=\"!tab.closed\" tabindex=\"0\" (keydown.enter)=\"clickTab($event,tab)\">\n <a [attr.id]=\"tab.id + '-label'\" role=\"tab\" [attr.aria-selected]=\"tab.selected\" [attr.aria-controls]=\"tab.id\" [pTooltip]=\"tab.tooltip\" [tooltipPosition]=\"tab.tooltipPosition\" [positionStyle]=\"tab.tooltipPositionStyle\" [tooltipStyleClass]=\"tab.tooltipStyleClass\">\n <ng-container *ngIf=\"!tab.headerTemplate\" >\n <span class=\"ui-tabview-left-icon\" [ngClass]=\"tab.leftIcon\" *ngIf=\"tab.leftIcon\"></span>\n <span class=\"ui-tabview-title\">{{tab.header}}</span>\n <span class=\"ui-tabview-right-icon\" [ngClass]=\"tab.rightIcon\" *ngIf=\"tab.rightIcon\"></span>\n </ng-container>\n <ng-container *ngIf=\"tab.headerTemplate\">\n <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n </ng-container>\n </a>\n <span *ngIf=\"tab.closable\" class=\"ui-tabview-close pi pi-times\" (click)=\"clickClose($event,tab)\"></span>\n </li>\n </ng-template>\n ",
|
69
69
|
})
|
70
70
|
], TabViewNav);
|
71
71
|
return TabViewNav;
|
@@ -75,6 +75,8 @@ var TabPanel = /** @class */ (function () {
|
|
75
75
|
function TabPanel(viewContainer) {
|
76
76
|
this.viewContainer = viewContainer;
|
77
77
|
this.cache = true;
|
78
|
+
this.tooltipPosition = 'top';
|
79
|
+
this.tooltipPositionStyle = 'absolute';
|
78
80
|
this.id = "ui-tabpanel-" + idx++;
|
79
81
|
}
|
80
82
|
TabPanel.prototype.ngAfterContentInit = function () {
|
@@ -143,6 +145,18 @@ var TabPanel = /** @class */ (function () {
|
|
143
145
|
core_1.Input(),
|
144
146
|
__metadata("design:type", Object)
|
145
147
|
], TabPanel.prototype, "tooltip", void 0);
|
148
|
+
__decorate([
|
149
|
+
core_1.Input(),
|
150
|
+
__metadata("design:type", String)
|
151
|
+
], TabPanel.prototype, "tooltipPosition", void 0);
|
152
|
+
__decorate([
|
153
|
+
core_1.Input(),
|
154
|
+
__metadata("design:type", String)
|
155
|
+
], TabPanel.prototype, "tooltipPositionStyle", void 0);
|
156
|
+
__decorate([
|
157
|
+
core_1.Input(),
|
158
|
+
__metadata("design:type", String)
|
159
|
+
], TabPanel.prototype, "tooltipStyleClass", void 0);
|
146
160
|
__decorate([
|
147
161
|
core_1.ContentChildren(shared_1.PrimeTemplate),
|
148
162
|
__metadata("design:type", core_1.QueryList)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tabview.js","sourceRoot":"","sources":["../../src/app/components/tabview/tabview.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCACqG;AACrG,0CAA6C;AAC7C,8CAAiD;AACjD,2CAA4D;AAG5D,IAAI,GAAG,GAAW,CAAC,CAAC;AA+BpB;IA7BA;QAiCa,gBAAW,GAAW,KAAK,CAAC;QAE3B,eAAU,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAEnD,oBAAe,GAAsB,IAAI,mBAAY,EAAE,CAAC;IAuBtE,CAAC;IArBG,0CAA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iBAAU;OA1BxB,OAAO,CAwJnB;IAAD,cAAC;CAAA,AAxJD,IAwJC;AAxJY,0BAAO;AAgKpB;IAAA;IAA6B,CAAC;IAAjB,aAAa;QALzB,eAAQ,CAAC;YACN,OAAO,EAAE,CAAC,qBAAY,EAAC,qBAAY,EAAC,uBAAa,CAAC;YAClD,OAAO,EAAE,CAAC,OAAO,EAAC,QAAQ,EAAC,UAAU,EAAC,qBAAY,CAAC;YACnD,YAAY,EAAE,CAAC,OAAO,EAAC,QAAQ,EAAC,UAAU,CAAC;SAC9C,CAAC;OACW,aAAa,CAAI;IAAD,oBAAC;CAAA,AAA9B,IAA8B;AAAjB,sCAAa"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"TabViewNav":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"[p-tabViewNav]","host":{"[class.ui-tabview-nav]":"true","[class.ui-helper-reset]":"true","[class.ui-helper-clearfix]":"true","[class.ui-widget-header]":"true","[class.ui-corner-all]":"true","$quoted$":["[class.ui-tabview-nav]","[class.ui-helper-reset]","[class.ui-helper-clearfix]","[class.ui-widget-header]","[class.ui-corner-all]"]},"template":"\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <li [class]=\"getDefaultHeaderClass(tab)\" [ngStyle]=\"tab.headerStyle\" role=\"presentation\"\n [ngClass]=\"{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}\"\n (click)=\"clickTab($event,tab)\" *ngIf=\"!tab.closed\" tabindex=\"0\" (keydown.enter)=\"clickTab($event,tab)\">\n <a [attr.id]=\"tab.id + '-label'\" role=\"tab\" [attr.aria-selected]=\"tab.selected\" [attr.aria-controls]=\"tab.id\" [pTooltip]=\"tab.tooltip\" [tooltipPosition]=\"orientation\">\n <ng-container *ngIf=\"!tab.headerTemplate\" >\n <span class=\"ui-tabview-left-icon\" [ngClass]=\"tab.leftIcon\" *ngIf=\"tab.leftIcon\"></span>\n <span class=\"ui-tabview-title\">{{tab.header}}</span>\n <span class=\"ui-tabview-right-icon\" [ngClass]=\"tab.rightIcon\" *ngIf=\"tab.rightIcon\"></span>\n </ng-container>\n <ng-container *ngIf=\"tab.headerTemplate\">\n <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n </ng-container>\n </a>\n <span *ngIf=\"tab.closable\" class=\"ui-tabview-close pi pi-times\" (click)=\"clickClose($event,tab)\"></span>\n </li>\n </ng-template>\n "}]}],"members":{"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"onTabClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":5}}]}],"onTabCloseClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":46,"character":5}}]}],"getDefaultHeaderClass":[{"__symbolic":"method"}],"clickTab":[{"__symbolic":"method"}],"clickClose":[{"__symbolic":"method"}]}},"TabPanel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":71,"character":1},"arguments":[{"selector":"p-tabPanel","template":"\n <div [attr.id]=\"id\" class=\"ui-tabview-panel ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': !selected}\"\n role=\"tabpanel\" [attr.aria-hidden]=\"!selected\" [attr.aria-labelledby]=\"id + '-label'\" *ngIf=\"!closed\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"contentTemplate && (cache ? loaded : selected)\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </div>\n "}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":5}}]}],"closable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":5}}]}],"headerStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":5}}]}],"headerStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":5}}]}],"leftIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":5}}]}],"rightIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":5}}]}],"cache":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":5}}]}],"tooltip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":5}}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":103,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate","line":103,"character":21}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":105,"character":38}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":5}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TabView":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":153,"character":1},"arguments":[{"selector":"p-tabView","template":"\n <div [ngClass]=\"'ui-tabview ui-widget ui-widget-content ui-corner-all ui-tabview-' + orientation\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <ul p-tabViewNav role=\"tablist\" *ngIf=\"orientation!='bottom'\" [tabs]=\"tabs\" [orientation]=\"orientation\"\n (onTabClick)=\"open($event.originalEvent, $event.tab)\" (onTabCloseClick)=\"close($event.originalEvent, $event.tab)\"></ul>\n <div class=\"ui-tabview-panels\">\n <ng-content></ng-content>\n </div>\n <ul p-tabViewNav role=\"tablist\" *ngIf=\"orientation=='bottom'\" [tabs]=\"tabs\" [orientation]=\"orientation\"\n (onTabClick)=\"open($event.originalEvent, $event.tab)\" (onTabCloseClick)=\"close($event.originalEvent, $event.tab)\"></ul>\n </div>\n "}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":169,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":171,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":173,"character":5}}]}],"controlClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":175,"character":5}}]}],"tabPanels":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":177,"character":5},"arguments":[{"__symbolic":"reference","name":"TabPanel"}]}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":179,"character":5}}]}],"onClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":181,"character":5}}]}],"activeIndexChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":183,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":193,"character":27}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"initTabs":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"closeTab":[{"__symbolic":"method"}],"findSelectedTab":[{"__symbolic":"method"}],"findTabIndex":[{"__symbolic":"method"}],"getBlockableElement":[{"__symbolic":"method"}],"activeIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":303,"character":5}}]}]}},"TabViewModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":322,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":323,"character":14},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule","line":323,"character":27},{"__symbolic":"reference","module":"../tooltip/tooltip","name":"TooltipModule","line":323,"character":40}],"exports":[{"__symbolic":"reference","name":"TabView"},{"__symbolic":"reference","name":"TabPanel"},{"__symbolic":"reference","name":"TabViewNav"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule","line":324,"character":42}],"declarations":[{"__symbolic":"reference","name":"TabView"},{"__symbolic":"reference","name":"TabPanel"},{"__symbolic":"reference","name":"TabViewNav"}]}]}]}}}]
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TabViewNav":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"[p-tabViewNav]","host":{"[class.ui-tabview-nav]":"true","[class.ui-helper-reset]":"true","[class.ui-helper-clearfix]":"true","[class.ui-widget-header]":"true","[class.ui-corner-all]":"true","$quoted$":["[class.ui-tabview-nav]","[class.ui-helper-reset]","[class.ui-helper-clearfix]","[class.ui-widget-header]","[class.ui-corner-all]"]},"template":"\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <li [class]=\"getDefaultHeaderClass(tab)\" [ngStyle]=\"tab.headerStyle\" role=\"presentation\"\n [ngClass]=\"{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}\"\n (click)=\"clickTab($event,tab)\" *ngIf=\"!tab.closed\" tabindex=\"0\" (keydown.enter)=\"clickTab($event,tab)\">\n <a [attr.id]=\"tab.id + '-label'\" role=\"tab\" [attr.aria-selected]=\"tab.selected\" [attr.aria-controls]=\"tab.id\" [pTooltip]=\"tab.tooltip\" [tooltipPosition]=\"tab.tooltipPosition\" [positionStyle]=\"tab.tooltipPositionStyle\" [tooltipStyleClass]=\"tab.tooltipStyleClass\">\n <ng-container *ngIf=\"!tab.headerTemplate\" >\n <span class=\"ui-tabview-left-icon\" [ngClass]=\"tab.leftIcon\" *ngIf=\"tab.leftIcon\"></span>\n <span class=\"ui-tabview-title\">{{tab.header}}</span>\n <span class=\"ui-tabview-right-icon\" [ngClass]=\"tab.rightIcon\" *ngIf=\"tab.rightIcon\"></span>\n </ng-container>\n <ng-container *ngIf=\"tab.headerTemplate\">\n <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n </ng-container>\n </a>\n <span *ngIf=\"tab.closable\" class=\"ui-tabview-close pi pi-times\" (click)=\"clickClose($event,tab)\"></span>\n </li>\n </ng-template>\n "}]}],"members":{"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"onTabClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":5}}]}],"onTabCloseClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":46,"character":5}}]}],"getDefaultHeaderClass":[{"__symbolic":"method"}],"clickTab":[{"__symbolic":"method"}],"clickClose":[{"__symbolic":"method"}]}},"TabPanel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":71,"character":1},"arguments":[{"selector":"p-tabPanel","template":"\n <div [attr.id]=\"id\" class=\"ui-tabview-panel ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': !selected}\"\n role=\"tabpanel\" [attr.aria-hidden]=\"!selected\" [attr.aria-labelledby]=\"id + '-label'\" *ngIf=\"!closed\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"contentTemplate && (cache ? loaded : selected)\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </div>\n "}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":5}}]}],"closable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":5}}]}],"headerStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":5}}]}],"headerStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":5}}]}],"leftIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":5}}]}],"rightIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":5}}]}],"cache":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":5}}]}],"tooltip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":5}}]}],"tooltipPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":5}}]}],"tooltipPositionStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":5}}]}],"tooltipStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":5}}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":109,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate","line":109,"character":21}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":111,"character":38}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":5}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TabView":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":159,"character":1},"arguments":[{"selector":"p-tabView","template":"\n <div [ngClass]=\"'ui-tabview ui-widget ui-widget-content ui-corner-all ui-tabview-' + orientation\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <ul p-tabViewNav role=\"tablist\" *ngIf=\"orientation!='bottom'\" [tabs]=\"tabs\" [orientation]=\"orientation\"\n (onTabClick)=\"open($event.originalEvent, $event.tab)\" (onTabCloseClick)=\"close($event.originalEvent, $event.tab)\"></ul>\n <div class=\"ui-tabview-panels\">\n <ng-content></ng-content>\n </div>\n <ul p-tabViewNav role=\"tablist\" *ngIf=\"orientation=='bottom'\" [tabs]=\"tabs\" [orientation]=\"orientation\"\n (onTabClick)=\"open($event.originalEvent, $event.tab)\" (onTabCloseClick)=\"close($event.originalEvent, $event.tab)\"></ul>\n </div>\n "}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":175,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":177,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":5}}]}],"controlClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":181,"character":5}}]}],"tabPanels":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":183,"character":5},"arguments":[{"__symbolic":"reference","name":"TabPanel"}]}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":185,"character":5}}]}],"onClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":187,"character":5}}]}],"activeIndexChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":189,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":199,"character":27}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"initTabs":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"closeTab":[{"__symbolic":"method"}],"findSelectedTab":[{"__symbolic":"method"}],"findTabIndex":[{"__symbolic":"method"}],"getBlockableElement":[{"__symbolic":"method"}],"activeIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":309,"character":5}}]}]}},"TabViewModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":328,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":329,"character":14},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule","line":329,"character":27},{"__symbolic":"reference","module":"../tooltip/tooltip","name":"TooltipModule","line":329,"character":40}],"exports":[{"__symbolic":"reference","name":"TabView"},{"__symbolic":"reference","name":"TabPanel"},{"__symbolic":"reference","name":"TabViewNav"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule","line":330,"character":42}],"declarations":[{"__symbolic":"reference","name":"TabView"},{"__symbolic":"reference","name":"TabPanel"},{"__symbolic":"reference","name":"TabViewNav"}]}]}]}}}]
|
@@ -1,21 +1,27 @@
|
|
1
|
-
import { ElementRef, OnDestroy, Renderer2, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { ElementRef, OnDestroy, Renderer2, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
2
|
import { AnimationEvent } from '@angular/animations';
|
3
3
|
import { MenuItem } from '../common/menuitem';
|
4
|
-
export declare class TieredMenuSub {
|
4
|
+
export declare class TieredMenuSub implements AfterViewInit, OnDestroy {
|
5
5
|
private cf;
|
6
|
+
renderer: Renderer2;
|
6
7
|
item: MenuItem;
|
7
8
|
root: boolean;
|
8
9
|
autoZIndex: boolean;
|
9
10
|
baseZIndex: number;
|
10
|
-
|
11
|
+
parentActive: boolean;
|
11
12
|
tieredMenu: TieredMenu;
|
12
|
-
|
13
|
+
_parentActive: boolean;
|
14
|
+
rootItemClick: boolean;
|
15
|
+
documentClickListener: any;
|
16
|
+
ngAfterViewInit(): void;
|
17
|
+
constructor(tieredMenu: any, cf: ChangeDetectorRef, renderer: Renderer2);
|
13
18
|
activeItem: HTMLLIElement;
|
14
|
-
hideTimeout: any;
|
15
19
|
onItemMouseEnter(event: Event, item: HTMLLIElement, menuitem: MenuItem): void;
|
16
|
-
|
17
|
-
itemClick(event: Event, item: MenuItem): boolean;
|
20
|
+
itemClick(event: Event, item: HTMLLIElement, menuitem: MenuItem): boolean;
|
18
21
|
listClick(event: Event): void;
|
22
|
+
bindDocumentClickListener(): void;
|
23
|
+
unbindDocumentClickListener(): void;
|
24
|
+
ngOnDestroy(): void;
|
19
25
|
}
|
20
26
|
export declare class TieredMenu implements OnDestroy {
|
21
27
|
el: ElementRef;
|
@@ -27,9 +33,9 @@ export declare class TieredMenu implements OnDestroy {
|
|
27
33
|
appendTo: any;
|
28
34
|
autoZIndex: boolean;
|
29
35
|
baseZIndex: number;
|
30
|
-
hideDelay: number;
|
31
36
|
showTransitionOptions: string;
|
32
37
|
hideTransitionOptions: string;
|
38
|
+
parentActive: boolean;
|
33
39
|
container: HTMLDivElement;
|
34
40
|
documentClickListener: any;
|
35
41
|
documentResizeListener: any;
|
@@ -18,60 +18,108 @@ var common_1 = require("@angular/common");
|
|
18
18
|
var domhandler_1 = require("../dom/domhandler");
|
19
19
|
var router_1 = require("@angular/router");
|
20
20
|
var TieredMenuSub = /** @class */ (function () {
|
21
|
-
function TieredMenuSub(tieredMenu, cf) {
|
21
|
+
function TieredMenuSub(tieredMenu, cf, renderer) {
|
22
22
|
this.cf = cf;
|
23
|
+
this.renderer = renderer;
|
23
24
|
this.autoZIndex = true;
|
24
25
|
this.baseZIndex = 0;
|
25
|
-
this.hideDelay = 250;
|
26
26
|
this.tieredMenu = tieredMenu;
|
27
27
|
}
|
28
|
-
TieredMenuSub.prototype
|
29
|
-
|
30
|
-
return;
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
this.activeItem = item;
|
37
|
-
var nextElement = item.children[0].nextElementSibling;
|
38
|
-
if (nextElement) {
|
39
|
-
var sublist = nextElement.children[0];
|
40
|
-
if (this.autoZIndex) {
|
41
|
-
sublist.style.zIndex = String(this.baseZIndex + (++domhandler_1.DomHandler.zindex));
|
28
|
+
Object.defineProperty(TieredMenuSub.prototype, "parentActive", {
|
29
|
+
get: function () {
|
30
|
+
return this._parentActive;
|
31
|
+
},
|
32
|
+
set: function (value) {
|
33
|
+
this._parentActive = value;
|
34
|
+
if (!value) {
|
35
|
+
this.activeItem = null;
|
42
36
|
}
|
43
|
-
|
44
|
-
|
45
|
-
|
37
|
+
},
|
38
|
+
enumerable: true,
|
39
|
+
configurable: true
|
40
|
+
});
|
41
|
+
TieredMenuSub.prototype.ngAfterViewInit = function () {
|
42
|
+
if (this.root && !this.tieredMenu.popup) {
|
43
|
+
this.bindDocumentClickListener();
|
46
44
|
}
|
47
45
|
};
|
48
|
-
TieredMenuSub.prototype.
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
46
|
+
TieredMenuSub.prototype.onItemMouseEnter = function (event, item, menuitem) {
|
47
|
+
if (this.tieredMenu.popup || (!this.root || this.activeItem)) {
|
48
|
+
if (menuitem.disabled) {
|
49
|
+
return;
|
50
|
+
}
|
51
|
+
this.activeItem = item;
|
52
|
+
var nextElement = item.children[0].nextElementSibling;
|
53
|
+
if (nextElement) {
|
54
|
+
var sublist = nextElement.children[0];
|
55
|
+
if (this.autoZIndex) {
|
56
|
+
sublist.style.zIndex = String(this.baseZIndex + (++domhandler_1.DomHandler.zindex));
|
57
|
+
}
|
58
|
+
sublist.style.zIndex = String(++domhandler_1.DomHandler.zindex);
|
59
|
+
sublist.style.top = '0px';
|
60
|
+
sublist.style.left = domhandler_1.DomHandler.getOuterWidth(item.children[0]) + 'px';
|
61
|
+
}
|
62
|
+
}
|
54
63
|
};
|
55
|
-
TieredMenuSub.prototype.itemClick = function (event, item) {
|
56
|
-
if (
|
64
|
+
TieredMenuSub.prototype.itemClick = function (event, item, menuitem) {
|
65
|
+
if (menuitem.disabled) {
|
57
66
|
event.preventDefault();
|
58
67
|
return true;
|
59
68
|
}
|
60
|
-
if (!
|
69
|
+
if (!menuitem.url) {
|
61
70
|
event.preventDefault();
|
62
71
|
}
|
63
|
-
if (
|
64
|
-
|
72
|
+
if (menuitem.command) {
|
73
|
+
menuitem.command({
|
65
74
|
originalEvent: event,
|
66
75
|
item: item
|
67
76
|
});
|
68
77
|
}
|
69
|
-
if (!
|
78
|
+
if (this.root && !this.activeItem && !this.tieredMenu.popup) {
|
79
|
+
this.activeItem = item;
|
80
|
+
var nextElement = item.children[0].nextElementSibling;
|
81
|
+
if (nextElement) {
|
82
|
+
var sublist = nextElement.children[0];
|
83
|
+
if (this.autoZIndex) {
|
84
|
+
sublist.style.zIndex = String(this.baseZIndex + (++domhandler_1.DomHandler.zindex));
|
85
|
+
}
|
86
|
+
sublist.style.zIndex = String(++domhandler_1.DomHandler.zindex);
|
87
|
+
sublist.style.top = '0px';
|
88
|
+
sublist.style.left = domhandler_1.DomHandler.getOuterWidth(item.children[0]) + 'px';
|
89
|
+
this.rootItemClick = true;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
if (!menuitem.items && this.tieredMenu.popup) {
|
70
93
|
this.tieredMenu.hide();
|
71
94
|
}
|
72
95
|
};
|
73
96
|
TieredMenuSub.prototype.listClick = function (event) {
|
74
|
-
this.
|
97
|
+
if (!this.rootItemClick) {
|
98
|
+
this.activeItem = null;
|
99
|
+
}
|
100
|
+
};
|
101
|
+
TieredMenuSub.prototype.bindDocumentClickListener = function () {
|
102
|
+
var _this = this;
|
103
|
+
if (!this.documentClickListener) {
|
104
|
+
this.documentClickListener = this.renderer.listen('document', 'click', function () {
|
105
|
+
if (!_this.rootItemClick) {
|
106
|
+
_this.parentActive = false;
|
107
|
+
_this.activeItem = null;
|
108
|
+
}
|
109
|
+
_this.rootItemClick = false;
|
110
|
+
});
|
111
|
+
}
|
112
|
+
};
|
113
|
+
TieredMenuSub.prototype.unbindDocumentClickListener = function () {
|
114
|
+
if (this.documentClickListener) {
|
115
|
+
this.documentClickListener();
|
116
|
+
this.documentClickListener = null;
|
117
|
+
}
|
118
|
+
};
|
119
|
+
TieredMenuSub.prototype.ngOnDestroy = function () {
|
120
|
+
if (this.root && !this.tieredMenu.popup) {
|
121
|
+
this.unbindDocumentClickListener();
|
122
|
+
}
|
75
123
|
};
|
76
124
|
__decorate([
|
77
125
|
core_1.Input(),
|
@@ -91,15 +139,16 @@ var TieredMenuSub = /** @class */ (function () {
|
|
91
139
|
], TieredMenuSub.prototype, "baseZIndex", void 0);
|
92
140
|
__decorate([
|
93
141
|
core_1.Input(),
|
94
|
-
__metadata("design:type",
|
95
|
-
|
142
|
+
__metadata("design:type", Boolean),
|
143
|
+
__metadata("design:paramtypes", [Object])
|
144
|
+
], TieredMenuSub.prototype, "parentActive", null);
|
96
145
|
TieredMenuSub = __decorate([
|
97
146
|
core_1.Component({
|
98
147
|
selector: 'p-tieredMenuSub',
|
99
|
-
template: "\n <ul [ngClass]=\"{'ui-widget-content ui-corner-all ui-shadow ui-submenu-list': !root}\" (click)=\"listClick($event)\">\n <ng-template ngFor let-child [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.separator\" class=\"ui-menu-separator ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': child.visible === false}\">\n <li *ngIf=\"!child.separator\" #listItem [ngClass]=\"{'ui-menuitem ui-widget ui-corner-all':true,'ui-menuitem-active':listItem==activeItem,'ui-helper-hidden': child.visible === false}\"\n [class]=\"child.styleClass\" [ngStyle]=\"child.style\"\n (mouseenter)=\"onItemMouseEnter($event, listItem, child)\"
|
148
|
+
template: "\n <ul [ngClass]=\"{'ui-widget-content ui-corner-all ui-shadow ui-submenu-list': !root}\" (click)=\"listClick($event)\">\n <ng-template ngFor let-child [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.separator\" class=\"ui-menu-separator ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': child.visible === false}\">\n <li *ngIf=\"!child.separator\" #listItem [ngClass]=\"{'ui-menuitem ui-widget ui-corner-all':true,'ui-menuitem-active':listItem==activeItem,'ui-helper-hidden': child.visible === false}\"\n [class]=\"child.styleClass\" [ngStyle]=\"child.style\"\n (mouseenter)=\"onItemMouseEnter($event, listItem, child)\">\n <a *ngIf=\"!child.routerLink\" [attr.href]=\"child.url\" class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.tabindex]=\"child.tabindex ? child.tabindex : '0'\" [attr.title]=\"child.title\" [attr.id]=\"child.id\" \n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, listItem, child)\">\n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <a *ngIf=\"child.routerLink\" [routerLink]=\"child.routerLink\" [queryParams]=\"child.queryParams\" [routerLinkActive]=\"'ui-state-active'\" [attr.tabindex]=\"child.tabindex ? child.tabindex : '0'\"\n [routerLinkActiveOptions]=\"child.routerLinkActiveOptions||{exact:false}\"\n class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.title]=\"child.title\" [attr.id]=\"child.id\"\n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, listItem, child)\">\n \n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <p-tieredMenuSub class=\"ui-submenu\" [item]=\"child\" *ngIf=\"child.items\" [baseZIndex]=\"baseZIndex\" [parentActive]=\"listItem==activeItem\" [autoZIndex]=\"autoZIndex\"></p-tieredMenuSub>\n </li>\n </ng-template>\n </ul>\n "
|
100
149
|
}),
|
101
150
|
__param(0, core_1.Inject(core_1.forwardRef(function () { return TieredMenu; }))),
|
102
|
-
__metadata("design:paramtypes", [Object, core_1.ChangeDetectorRef])
|
151
|
+
__metadata("design:paramtypes", [Object, core_1.ChangeDetectorRef, core_1.Renderer2])
|
103
152
|
], TieredMenuSub);
|
104
153
|
return TieredMenuSub;
|
105
154
|
}());
|
@@ -110,7 +159,6 @@ var TieredMenu = /** @class */ (function () {
|
|
110
159
|
this.renderer = renderer;
|
111
160
|
this.autoZIndex = true;
|
112
161
|
this.baseZIndex = 0;
|
113
|
-
this.hideDelay = 250;
|
114
162
|
this.showTransitionOptions = '225ms ease-out';
|
115
163
|
this.hideTransitionOptions = '195ms ease-in';
|
116
164
|
}
|
@@ -124,6 +172,7 @@ var TieredMenu = /** @class */ (function () {
|
|
124
172
|
TieredMenu.prototype.show = function (event) {
|
125
173
|
this.target = event.currentTarget;
|
126
174
|
this.visible = true;
|
175
|
+
this.parentActive = true;
|
127
176
|
this.preventDocumentDefault = true;
|
128
177
|
};
|
129
178
|
TieredMenu.prototype.onOverlayAnimationStart = function (event) {
|
@@ -163,6 +212,7 @@ var TieredMenu = /** @class */ (function () {
|
|
163
212
|
};
|
164
213
|
TieredMenu.prototype.hide = function () {
|
165
214
|
this.visible = false;
|
215
|
+
this.parentActive = false;
|
166
216
|
};
|
167
217
|
TieredMenu.prototype.onWindowResize = function () {
|
168
218
|
this.hide();
|
@@ -171,7 +221,7 @@ var TieredMenu = /** @class */ (function () {
|
|
171
221
|
var _this = this;
|
172
222
|
if (!this.documentClickListener) {
|
173
223
|
this.documentClickListener = this.renderer.listen('document', 'click', function () {
|
174
|
-
if (!_this.preventDocumentDefault) {
|
224
|
+
if (!_this.preventDocumentDefault && _this.popup) {
|
175
225
|
_this.hide();
|
176
226
|
}
|
177
227
|
_this.preventDocumentDefault = false;
|
@@ -234,10 +284,6 @@ var TieredMenu = /** @class */ (function () {
|
|
234
284
|
core_1.Input(),
|
235
285
|
__metadata("design:type", Number)
|
236
286
|
], TieredMenu.prototype, "baseZIndex", void 0);
|
237
|
-
__decorate([
|
238
|
-
core_1.Input(),
|
239
|
-
__metadata("design:type", Number)
|
240
|
-
], TieredMenu.prototype, "hideDelay", void 0);
|
241
287
|
__decorate([
|
242
288
|
core_1.Input(),
|
243
289
|
__metadata("design:type", String)
|
@@ -249,7 +295,7 @@ var TieredMenu = /** @class */ (function () {
|
|
249
295
|
TieredMenu = __decorate([
|
250
296
|
core_1.Component({
|
251
297
|
selector: 'p-tieredMenu',
|
252
|
-
template: "\n <div [ngClass]=\"{'ui-tieredmenu ui-widget ui-widget-content ui-corner-all':true, 'ui-tieredmenu-dynamic ui-shadow':popup}\" [class]=\"styleClass\" [ngStyle]=\"style\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" [@.disabled]=\"popup !== true\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\" *ngIf=\"!popup || visible\">\n <p-tieredMenuSub [item]=\"model\" root=\"root\" [
|
298
|
+
template: "\n <div [ngClass]=\"{'ui-tieredmenu ui-widget ui-widget-content ui-corner-all':true, 'ui-tieredmenu-dynamic ui-shadow':popup}\" [class]=\"styleClass\" [ngStyle]=\"style\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" [@.disabled]=\"popup !== true\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\" *ngIf=\"!popup || visible\">\n <p-tieredMenuSub [item]=\"model\" root=\"root\" [parentActive]=\"parentActive\" [baseZIndex]=\"baseZIndex\" [autoZIndex]=\"autoZIndex\"></p-tieredMenuSub>\n </div>\n ",
|
253
299
|
animations: [
|
254
300
|
animations_1.trigger('overlayAnimation', [
|
255
301
|
animations_1.state('void', animations_1.style({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tieredmenu.js","sourceRoot":"","sources":["../../src/app/components/tieredmenu/tieredmenu.ts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CyB,iBAAU,EAAmB,gBAAS;OAlCpD,UAAU,CAkJtB;IAAD,iBAAC;CAAA,AAlJD,IAkJC;AAlJY,gCAAU;AAyJvB;IAAA;IAAgC,CAAC;IAApB,gBAAgB;QAL5B,eAAQ,CAAC;YACN,OAAO,EAAE,CAAC,qBAAY,EAAC,qBAAY,CAAC;YACpC,OAAO,EAAE,CAAC,UAAU,EAAC,qBAAY,CAAC;YAClC,YAAY,EAAE,CAAC,UAAU,EAAC,aAAa,CAAC;SAC3C,CAAC;OACW,gBAAgB,CAAI;IAAD,uBAAC;CAAA,AAAjC,IAAiC;AAApB,4CAAgB"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"TieredMenuSub":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"p-tieredMenuSub","template":"\n <ul [ngClass]=\"{'ui-widget-content ui-corner-all ui-shadow ui-submenu-list': !root}\" (click)=\"listClick($event)\">\n <ng-template ngFor let-child [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.separator\" class=\"ui-menu-separator ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': child.visible === false}\">\n <li *ngIf=\"!child.separator\" #listItem [ngClass]=\"{'ui-menuitem ui-widget ui-corner-all':true,'ui-menuitem-active':listItem==activeItem,'ui-helper-hidden': child.visible === false}\"\n [class]=\"child.styleClass\" [ngStyle]=\"child.style\"\n (mouseenter)=\"onItemMouseEnter($event, listItem, child)\" (mouseleave)=\"onItemMouseLeave($event)\">\n <a *ngIf=\"!child.routerLink\" [attr.href]=\"child.url\" class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.title]=\"child.title\" [attr.id]=\"child.id\"\n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, child)\">\n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <a *ngIf=\"child.routerLink\" [routerLink]=\"child.routerLink\" [queryParams]=\"child.queryParams\" [routerLinkActive]=\"'ui-state-active'\" \n [routerLinkActiveOptions]=\"child.routerLinkActiveOptions||{exact:false}\"\n class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.title]=\"child.title\" [attr.id]=\"child.id\"\n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, child)\">\n \n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <p-tieredMenuSub class=\"ui-submenu\" [item]=\"child\" *ngIf=\"child.items\" [baseZIndex]=\"baseZIndex\" [autoZIndex]=\"autoZIndex\" [hideDelay]=\"hideDelay\"></p-tieredMenuSub>\n </li>\n </ng-template>\n </ul>\n "}]}],"members":{"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":5}}]}],"root":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":5}}]}],"autoZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}}]}],"baseZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"hideDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":51,"character":17},"arguments":[{"__symbolic":"reference","name":"TieredMenu"}]}],null],"parameters":[null,{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":51,"character":78}]}],"onItemMouseEnter":[{"__symbolic":"method"}],"onItemMouseLeave":[{"__symbolic":"method"}],"itemClick":[{"__symbolic":"method"}],"listClick":[{"__symbolic":"method"}]}},"TieredMenu":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":117,"character":1},"arguments":[{"selector":"p-tieredMenu","template":"\n <div [ngClass]=\"{'ui-tieredmenu ui-widget ui-widget-content ui-corner-all':true, 'ui-tieredmenu-dynamic ui-shadow':popup}\" [class]=\"styleClass\" [ngStyle]=\"style\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" [@.disabled]=\"popup !== true\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\" *ngIf=\"!popup || visible\">\n <p-tieredMenuSub [item]=\"model\" root=\"root\" [baseZIndex]=\"baseZIndex\" [autoZIndex]=\"autoZIndex\" [hideDelay]=\"hideDelay\"></p-tieredMenuSub>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":126,"character":8},"arguments":["overlayAnimation",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":127,"character":12},"arguments":["void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":127,"character":26},"arguments":[{"transform":"translateY(5%)","opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":131,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":131,"character":29},"arguments":[{"transform":"translateY(0)","opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":135,"character":12},"arguments":["void => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":135,"character":42},"arguments":["{{showTransitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":136,"character":12},"arguments":["visible => void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":136,"character":42},"arguments":["{{hideTransitionParams}}"]}]}]]}]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":142,"character":5}}]}],"popup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":5}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":5}}]}],"autoZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":5}}]}],"baseZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":154,"character":5}}]}],"hideDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":156,"character":5}}]}],"showTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":5}}]}],"hideTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":174,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":174,"character":56}]}],"toggle":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"onOverlayAnimationStart":[{"__symbolic":"method"}],"appendOverlay":[{"__symbolic":"method"}],"restoreOverlayAppend":[{"__symbolic":"method"}],"moveOnTop":[{"__symbolic":"method"}],"hide":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"bindDocumentResizeListener":[{"__symbolic":"method"}],"unbindDocumentResizeListener":[{"__symbolic":"method"}],"onOverlayHide":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TieredMenuModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":286,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":287,"character":14},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":287,"character":27}],"exports":[{"__symbolic":"reference","name":"TieredMenu"},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":288,"character":25}],"declarations":[{"__symbolic":"reference","name":"TieredMenu"},{"__symbolic":"reference","name":"TieredMenuSub"}]}]}]}}}]
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TieredMenuSub":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"p-tieredMenuSub","template":"\n <ul [ngClass]=\"{'ui-widget-content ui-corner-all ui-shadow ui-submenu-list': !root}\" (click)=\"listClick($event)\">\n <ng-template ngFor let-child [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.separator\" class=\"ui-menu-separator ui-widget-content\" [ngClass]=\"{'ui-helper-hidden': child.visible === false}\">\n <li *ngIf=\"!child.separator\" #listItem [ngClass]=\"{'ui-menuitem ui-widget ui-corner-all':true,'ui-menuitem-active':listItem==activeItem,'ui-helper-hidden': child.visible === false}\"\n [class]=\"child.styleClass\" [ngStyle]=\"child.style\"\n (mouseenter)=\"onItemMouseEnter($event, listItem, child)\">\n <a *ngIf=\"!child.routerLink\" [attr.href]=\"child.url\" class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.tabindex]=\"child.tabindex ? child.tabindex : '0'\" [attr.title]=\"child.title\" [attr.id]=\"child.id\" \n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, listItem, child)\">\n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <a *ngIf=\"child.routerLink\" [routerLink]=\"child.routerLink\" [queryParams]=\"child.queryParams\" [routerLinkActive]=\"'ui-state-active'\" [attr.tabindex]=\"child.tabindex ? child.tabindex : '0'\"\n [routerLinkActiveOptions]=\"child.routerLinkActiveOptions||{exact:false}\"\n class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"child.target\" [attr.title]=\"child.title\" [attr.id]=\"child.id\"\n [ngClass]=\"{'ui-state-disabled':child.disabled}\" (click)=\"itemClick($event, listItem, child)\">\n \n <span class=\"ui-menuitem-icon\" *ngIf=\"child.icon\" [ngClass]=\"child.icon\"></span>\n <span class=\"ui-menuitem-text\">{{child.label}}</span>\n <span class=\"ui-submenu-icon pi pi-fw pi-caret-right\" *ngIf=\"child.items\"></span>\n </a>\n <p-tieredMenuSub class=\"ui-submenu\" [item]=\"child\" *ngIf=\"child.items\" [baseZIndex]=\"baseZIndex\" [parentActive]=\"listItem==activeItem\" [autoZIndex]=\"autoZIndex\"></p-tieredMenuSub>\n </li>\n </ng-template>\n </ul>\n "}]}],"members":{"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":5}}]}],"root":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":5}}]}],"autoZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}}]}],"baseZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"parentActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":72,"character":17},"arguments":[{"__symbolic":"reference","name":"TieredMenu"}]}],null,null],"parameters":[null,{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":72,"character":78},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":72,"character":114}]}],"onItemMouseEnter":[{"__symbolic":"method"}],"itemClick":[{"__symbolic":"method"}],"listClick":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TieredMenu":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":171,"character":1},"arguments":[{"selector":"p-tieredMenu","template":"\n <div [ngClass]=\"{'ui-tieredmenu ui-widget ui-widget-content ui-corner-all':true, 'ui-tieredmenu-dynamic ui-shadow':popup}\" [class]=\"styleClass\" [ngStyle]=\"style\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" [@.disabled]=\"popup !== true\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\" *ngIf=\"!popup || visible\">\n <p-tieredMenuSub [item]=\"model\" root=\"root\" [parentActive]=\"parentActive\" [baseZIndex]=\"baseZIndex\" [autoZIndex]=\"autoZIndex\"></p-tieredMenuSub>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":180,"character":8},"arguments":["overlayAnimation",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":181,"character":12},"arguments":["void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":181,"character":26},"arguments":[{"transform":"translateY(5%)","opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":185,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":185,"character":29},"arguments":[{"transform":"translateY(0)","opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":189,"character":12},"arguments":["void => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":189,"character":42},"arguments":["{{showTransitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":190,"character":12},"arguments":["visible => void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":190,"character":42},"arguments":["{{hideTransitionParams}}"]}]}]]}]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":196,"character":5}}]}],"popup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":198,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":200,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":202,"character":5}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":204,"character":5}}]}],"autoZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":206,"character":5}}]}],"baseZIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":208,"character":5}}]}],"showTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":210,"character":5}}]}],"hideTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":212,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":228,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":72,"character":114}]}],"toggle":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"onOverlayAnimationStart":[{"__symbolic":"method"}],"appendOverlay":[{"__symbolic":"method"}],"restoreOverlayAppend":[{"__symbolic":"method"}],"moveOnTop":[{"__symbolic":"method"}],"hide":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"bindDocumentResizeListener":[{"__symbolic":"method"}],"unbindDocumentResizeListener":[{"__symbolic":"method"}],"onOverlayHide":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TieredMenuModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":342,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":343,"character":14},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":343,"character":27}],"exports":[{"__symbolic":"reference","name":"TieredMenu"},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":344,"character":25}],"declarations":[{"__symbolic":"reference","name":"TieredMenu"},{"__symbolic":"reference","name":"TieredMenuSub"}]}]}]}}}]
|