primeng 19.0.6 → 19.0.7
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/dataview/dataview.interface.d.ts +9 -19
- package/dragdrop/dragdrop.d.ts +3 -2
- package/dynamicdialog/dynamicdialog.d.ts +1 -1
- package/fesm2022/primeng-accordion.mjs +347 -560
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +37 -40
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +79 -89
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +505 -786
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +26 -27
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +70 -120
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +44 -54
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +62 -71
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +6 -6
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +15 -15
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +66 -87
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +175 -386
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +223 -328
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +36 -40
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +727 -1127
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +88 -192
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +218 -405
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +392 -576
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +57 -63
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +131 -183
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +92 -188
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +142 -167
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +12 -12
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +220 -347
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +161 -251
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +336 -450
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +249 -352
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +740 -1136
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +25 -31
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +277 -478
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +68 -77
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +138 -167
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +85 -79
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +171 -268
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +529 -867
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +152 -301
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +118 -156
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +153 -247
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +370 -687
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +38 -46
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +33 -41
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +23 -24
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +529 -761
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +42 -51
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +17 -19
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +17 -19
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +17 -19
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +17 -19
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +19 -19
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +26 -26
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +24 -26
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +19 -19
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +28 -33
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +14 -16
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +17 -19
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +17 -19
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +17 -19
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +17 -19
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +17 -19
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +17 -19
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +19 -19
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +24 -26
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +26 -26
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +26 -26
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +26 -26
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +17 -19
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +24 -26
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +24 -26
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +26 -26
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +26 -26
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +26 -26
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +26 -26
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +30 -26
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +24 -26
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +24 -26
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +24 -26
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +26 -26
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +17 -19
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +26 -26
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +26 -26
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +26 -26
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +26 -26
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +32 -38
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +189 -370
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +57 -86
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +108 -206
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +40 -50
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +39 -48
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +156 -181
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +299 -416
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +97 -121
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +87 -92
- package/fesm2022/primeng-inputswitch.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +51 -57
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +50 -55
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +44 -47
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +105 -111
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +473 -790
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +377 -611
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +289 -460
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +357 -549
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +156 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +162 -278
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +135 -264
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +655 -1132
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +228 -330
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +161 -311
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +135 -147
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +50 -58
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +134 -154
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +212 -447
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +219 -317
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +439 -783
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +268 -408
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +560 -856
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +129 -148
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +81 -121
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +48 -58
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +115 -106
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +120 -208
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +28 -29
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +167 -295
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +96 -116
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +106 -150
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +579 -955
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +106 -133
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +151 -239
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +46 -54
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +186 -182
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +192 -254
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +211 -231
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +126 -159
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +227 -342
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +117 -170
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +50 -53
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +1808 -2584
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +173 -319
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +185 -300
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +263 -435
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +63 -110
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +60 -104
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +56 -61
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +338 -457
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +90 -156
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +251 -358
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +113 -150
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +98 -121
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +62 -121
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +73 -74
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +441 -730
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +342 -531
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +1026 -1583
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +6 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/listbox/listbox.d.ts +2 -2
- package/package.json +178 -179
- package/password/password.d.ts +7 -1
- package/picklist/picklist.d.ts +11 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { trigger, state,
|
1
|
+
import { trigger, state, transition, style, animate } from '@angular/animations';
|
2
2
|
import * as i1 from '@angular/common';
|
3
3
|
import { CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, EventEmitter, inject, forwardRef,
|
5
|
+
import { Injectable, EventEmitter, inject, forwardRef, booleanAttribute, numberAttribute, ViewChild, Output, Input, ViewEncapsulation, Component, signal, computed, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';
|
6
6
|
import * as i2 from '@angular/router';
|
7
7
|
import { RouterModule } from '@angular/router';
|
8
8
|
import { resolve, isNotEmpty, findLast, findSingle, isPrintableCharacter, isEmpty, uuid, equals, focus, getAttribute } from '@primeuix/utils';
|
@@ -213,12 +213,12 @@ class PanelMenuStyle extends BaseStyle {
|
|
213
213
|
name = 'panelmenu';
|
214
214
|
theme = theme;
|
215
215
|
classes = classes;
|
216
|
-
static ɵfac =
|
217
|
-
static ɵprov =
|
216
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
217
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuStyle });
|
218
218
|
}
|
219
|
-
(
|
220
|
-
|
221
|
-
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuStyle, decorators: [{
|
220
|
+
type: Injectable
|
221
|
+
}] });
|
222
222
|
/**
|
223
223
|
*
|
224
224
|
* PanelMenu is a hybrid of Accordion and Tree components.
|
@@ -301,534 +301,6 @@ var PanelMenuClasses;
|
|
301
301
|
PanelMenuClasses["separator"] = "p-menuitem-separator";
|
302
302
|
})(PanelMenuClasses || (PanelMenuClasses = {}));
|
303
303
|
|
304
|
-
const _c0 = ["list"];
|
305
|
-
const _c1 = () => ({ "p-panelmenu-submenu": true });
|
306
|
-
const _c2 = a0 => ({ "p-disabled": a0 });
|
307
|
-
const _c3 = () => ({ exact: false });
|
308
|
-
const _c4 = a0 => ({ $implicit: a0 });
|
309
|
-
function PanelMenuSub_ng_template_2_li_0_Template(rf, ctx) { if (rf & 1) {
|
310
|
-
i0.ɵɵelement(0, "li", 7);
|
311
|
-
} }
|
312
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_AngleDownIcon_1_Template(rf, ctx) { if (rf & 1) {
|
313
|
-
i0.ɵɵelement(0, "AngleDownIcon", 21);
|
314
|
-
} if (rf & 2) {
|
315
|
-
const processedItem_r3 = i0.ɵɵnextContext(6).$implicit;
|
316
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
317
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon")("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
318
|
-
} }
|
319
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_AngleRightIcon_2_Template(rf, ctx) { if (rf & 1) {
|
320
|
-
i0.ɵɵelement(0, "AngleRightIcon", 21);
|
321
|
-
} if (rf & 2) {
|
322
|
-
const processedItem_r3 = i0.ɵɵnextContext(6).$implicit;
|
323
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
324
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon")("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
325
|
-
} }
|
326
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
327
|
-
i0.ɵɵelementContainerStart(0);
|
328
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_AngleDownIcon_1_Template, 1, 2, "AngleDownIcon", 20)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_AngleRightIcon_2_Template, 1, 2, "AngleRightIcon", 20);
|
329
|
-
i0.ɵɵelementContainerEnd();
|
330
|
-
} if (rf & 2) {
|
331
|
-
const processedItem_r3 = i0.ɵɵnextContext(5).$implicit;
|
332
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
333
|
-
i0.ɵɵadvance();
|
334
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isItemActive(processedItem_r3));
|
335
|
-
i0.ɵɵadvance();
|
336
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.isItemActive(processedItem_r3));
|
337
|
-
} }
|
338
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_2_ng_template_0_Template(rf, ctx) { }
|
339
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_2_Template(rf, ctx) { if (rf & 1) {
|
340
|
-
i0.ɵɵtemplate(0, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_2_ng_template_0_Template, 0, 0, "ng-template");
|
341
|
-
} }
|
342
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
343
|
-
i0.ɵɵelementContainerStart(0);
|
344
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_ng_container_1_Template, 3, 2, "ng-container", 10)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_2_Template, 1, 0, null, 19);
|
345
|
-
i0.ɵɵelementContainerEnd();
|
346
|
-
} if (rf & 2) {
|
347
|
-
const ctx_r3 = i0.ɵɵnextContext(5);
|
348
|
-
i0.ɵɵadvance();
|
349
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.panelMenu.submenuIconTemplate && !ctx_r3.panelMenu._submenuIconTemplate);
|
350
|
-
i0.ɵɵadvance();
|
351
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.panelMenu.submenuIconTemplate || ctx_r3.panelMenu._submenuIconTemplate);
|
352
|
-
} }
|
353
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
354
|
-
i0.ɵɵelement(0, "span", 22);
|
355
|
-
} if (rf & 2) {
|
356
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
357
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
358
|
-
i0.ɵɵproperty("ngClass", processedItem_r3.icon)("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
359
|
-
} }
|
360
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
361
|
-
i0.ɵɵelementStart(0, "span", 23);
|
362
|
-
i0.ɵɵtext(1);
|
363
|
-
i0.ɵɵelementEnd();
|
364
|
-
} if (rf & 2) {
|
365
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
366
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
367
|
-
i0.ɵɵadvance();
|
368
|
-
i0.ɵɵtextInterpolate(ctx_r3.getItemProp(processedItem_r3, "label"));
|
369
|
-
} }
|
370
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
371
|
-
i0.ɵɵelement(0, "span", 24);
|
372
|
-
} if (rf & 2) {
|
373
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
374
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
375
|
-
i0.ɵɵproperty("innerHTML", ctx_r3.getItemProp(processedItem_r3, "label"), i0.ɵɵsanitizeHtml);
|
376
|
-
} }
|
377
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_6_Template(rf, ctx) { if (rf & 1) {
|
378
|
-
i0.ɵɵelementStart(0, "span", 25);
|
379
|
-
i0.ɵɵtext(1);
|
380
|
-
i0.ɵɵelementEnd();
|
381
|
-
} if (rf & 2) {
|
382
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
383
|
-
i0.ɵɵproperty("ngClass", processedItem_r3.badgeStyleClass);
|
384
|
-
i0.ɵɵadvance();
|
385
|
-
i0.ɵɵtextInterpolate(processedItem_r3.badge);
|
386
|
-
} }
|
387
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
388
|
-
i0.ɵɵelementStart(0, "a", 15);
|
389
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_container_1_Template, 3, 2, "ng-container", 10)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_2_Template, 1, 2, "span", 16)(3, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_3_Template, 2, 1, "span", 17)(4, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_span_6_Template, 2, 2, "span", 18);
|
390
|
-
i0.ɵɵelementEnd();
|
391
|
-
} if (rf & 2) {
|
392
|
-
const htmlLabel_r5 = i0.ɵɵreference(5);
|
393
|
-
const processedItem_r3 = i0.ɵɵnextContext(3).$implicit;
|
394
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
395
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2, ctx_r3.getItemProp(processedItem_r3, "disabled")))("target", ctx_r3.getItemProp(processedItem_r3, "target"));
|
396
|
-
i0.ɵɵattribute("href", ctx_r3.getItemProp(processedItem_r3, "url"), i0.ɵɵsanitizeUrl)("data-pc-section", "action")("tabindex", !!ctx_r3.parentExpanded ? "0" : "-1");
|
397
|
-
i0.ɵɵadvance();
|
398
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isItemGroup(processedItem_r3));
|
399
|
-
i0.ɵɵadvance();
|
400
|
-
i0.ɵɵproperty("ngIf", processedItem_r3.icon);
|
401
|
-
i0.ɵɵadvance();
|
402
|
-
i0.ɵɵproperty("ngIf", (processedItem_r3.item == null ? null : processedItem_r3.item.escape) !== false)("ngIfElse", htmlLabel_r5);
|
403
|
-
i0.ɵɵadvance(3);
|
404
|
-
i0.ɵɵproperty("ngIf", processedItem_r3.badge);
|
405
|
-
} }
|
406
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_AngleDownIcon_1_Template(rf, ctx) { if (rf & 1) {
|
407
|
-
i0.ɵɵelement(0, "AngleDownIcon", 21);
|
408
|
-
} if (rf & 2) {
|
409
|
-
const processedItem_r3 = i0.ɵɵnextContext(6).$implicit;
|
410
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
411
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon")("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
412
|
-
} }
|
413
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_AngleRightIcon_2_Template(rf, ctx) { if (rf & 1) {
|
414
|
-
i0.ɵɵelement(0, "AngleRightIcon", 21);
|
415
|
-
} if (rf & 2) {
|
416
|
-
const processedItem_r3 = i0.ɵɵnextContext(6).$implicit;
|
417
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
418
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon")("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
419
|
-
} }
|
420
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
421
|
-
i0.ɵɵelementContainerStart(0);
|
422
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_AngleDownIcon_1_Template, 1, 2, "AngleDownIcon", 20)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_AngleRightIcon_2_Template, 1, 2, "AngleRightIcon", 20);
|
423
|
-
i0.ɵɵelementContainerEnd();
|
424
|
-
} if (rf & 2) {
|
425
|
-
const processedItem_r3 = i0.ɵɵnextContext(5).$implicit;
|
426
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
427
|
-
i0.ɵɵadvance();
|
428
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isItemActive(processedItem_r3));
|
429
|
-
i0.ɵɵadvance();
|
430
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.isItemActive(processedItem_r3));
|
431
|
-
} }
|
432
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_2_ng_template_0_Template(rf, ctx) { }
|
433
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_2_Template(rf, ctx) { if (rf & 1) {
|
434
|
-
i0.ɵɵtemplate(0, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_2_ng_template_0_Template, 0, 0, "ng-template");
|
435
|
-
} }
|
436
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
437
|
-
i0.ɵɵelementContainerStart(0);
|
438
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_ng_container_1_Template, 3, 2, "ng-container", 10)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_2_Template, 1, 0, null, 19);
|
439
|
-
i0.ɵɵelementContainerEnd();
|
440
|
-
} if (rf & 2) {
|
441
|
-
const ctx_r3 = i0.ɵɵnextContext(5);
|
442
|
-
i0.ɵɵadvance();
|
443
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.panelMenu.submenuIconTemplate && !ctx_r3.panelMenu._submenuIconTemplate);
|
444
|
-
i0.ɵɵadvance();
|
445
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.panelMenu.submenuIconTemplate && ctx_r3.panelMenu._submenuIconTemplate);
|
446
|
-
} }
|
447
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
448
|
-
i0.ɵɵelement(0, "span", 22);
|
449
|
-
} if (rf & 2) {
|
450
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
451
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
452
|
-
i0.ɵɵproperty("ngClass", processedItem_r3.icon)("ngStyle", ctx_r3.getItemProp(processedItem_r3, "iconStyle"));
|
453
|
-
} }
|
454
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
455
|
-
i0.ɵɵelementStart(0, "span", 23);
|
456
|
-
i0.ɵɵtext(1);
|
457
|
-
i0.ɵɵelementEnd();
|
458
|
-
} if (rf & 2) {
|
459
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
460
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
461
|
-
i0.ɵɵadvance();
|
462
|
-
i0.ɵɵtextInterpolate(ctx_r3.getItemProp(processedItem_r3, "label"));
|
463
|
-
} }
|
464
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
465
|
-
i0.ɵɵelement(0, "span", 24);
|
466
|
-
} if (rf & 2) {
|
467
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
468
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
469
|
-
i0.ɵɵproperty("innerHTML", ctx_r3.getItemProp(processedItem_r3, "label"), i0.ɵɵsanitizeHtml);
|
470
|
-
} }
|
471
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_6_Template(rf, ctx) { if (rf & 1) {
|
472
|
-
i0.ɵɵelementStart(0, "span", 25);
|
473
|
-
i0.ɵɵtext(1);
|
474
|
-
i0.ɵɵelementEnd();
|
475
|
-
} if (rf & 2) {
|
476
|
-
const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
|
477
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
478
|
-
i0.ɵɵproperty("ngClass", ctx_r3.getItemProp(processedItem_r3, "badgeStyleClass"));
|
479
|
-
i0.ɵɵadvance();
|
480
|
-
i0.ɵɵtextInterpolate(ctx_r3.getItemProp(processedItem_r3, "badge"));
|
481
|
-
} }
|
482
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_Template(rf, ctx) { if (rf & 1) {
|
483
|
-
i0.ɵɵelementStart(0, "a", 26);
|
484
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_container_1_Template, 3, 2, "ng-container", 10)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_2_Template, 1, 2, "span", 16)(3, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_3_Template, 2, 1, "span", 17)(4, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_ng_template_4_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(6, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_span_6_Template, 2, 2, "span", 18);
|
485
|
-
i0.ɵɵelementEnd();
|
486
|
-
} if (rf & 2) {
|
487
|
-
const htmlRouteLabel_r6 = i0.ɵɵreference(5);
|
488
|
-
const processedItem_r3 = i0.ɵɵnextContext(3).$implicit;
|
489
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
490
|
-
i0.ɵɵproperty("routerLink", ctx_r3.getItemProp(processedItem_r3, "routerLink"))("queryParams", ctx_r3.getItemProp(processedItem_r3, "queryParams"))("routerLinkActive", "p-panelmenu-item-link-active")("routerLinkActiveOptions", ctx_r3.getItemProp(processedItem_r3, "routerLinkActiveOptions") || i0.ɵɵpureFunction0(20, _c3))("ngClass", i0.ɵɵpureFunction1(21, _c2, ctx_r3.getItemProp(processedItem_r3, "disabled")))("target", ctx_r3.getItemProp(processedItem_r3, "target"))("fragment", ctx_r3.getItemProp(processedItem_r3, "fragment"))("queryParamsHandling", ctx_r3.getItemProp(processedItem_r3, "queryParamsHandling"))("preserveFragment", ctx_r3.getItemProp(processedItem_r3, "preserveFragment"))("skipLocationChange", ctx_r3.getItemProp(processedItem_r3, "skipLocationChange"))("replaceUrl", ctx_r3.getItemProp(processedItem_r3, "replaceUrl"))("state", ctx_r3.getItemProp(processedItem_r3, "state"));
|
491
|
-
i0.ɵɵattribute("title", ctx_r3.getItemProp(processedItem_r3, "title"))("data-pc-section", "action")("tabindex", !!ctx_r3.parentExpanded ? "0" : "-1");
|
492
|
-
i0.ɵɵadvance();
|
493
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isItemGroup(processedItem_r3));
|
494
|
-
i0.ɵɵadvance();
|
495
|
-
i0.ɵɵproperty("ngIf", processedItem_r3.icon);
|
496
|
-
i0.ɵɵadvance();
|
497
|
-
i0.ɵɵproperty("ngIf", ctx_r3.getItemProp(processedItem_r3, "escape") !== false)("ngIfElse", htmlRouteLabel_r6);
|
498
|
-
i0.ɵɵadvance(3);
|
499
|
-
i0.ɵɵproperty("ngIf", processedItem_r3.badge);
|
500
|
-
} }
|
501
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
502
|
-
i0.ɵɵelementContainerStart(0);
|
503
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_1_Template, 7, 12, "a", 13)(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_a_2_Template, 7, 23, "a", 14);
|
504
|
-
i0.ɵɵelementContainerEnd();
|
505
|
-
} if (rf & 2) {
|
506
|
-
const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
|
507
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
508
|
-
i0.ɵɵadvance();
|
509
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.getItemProp(processedItem_r3, "routerLink"));
|
510
|
-
i0.ɵɵadvance();
|
511
|
-
i0.ɵɵproperty("ngIf", ctx_r3.getItemProp(processedItem_r3, "routerLink"));
|
512
|
-
} }
|
513
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_3_1_ng_template_0_Template(rf, ctx) { }
|
514
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_3_1_Template(rf, ctx) { if (rf & 1) {
|
515
|
-
i0.ɵɵtemplate(0, PanelMenuSub_ng_template_2_li_1_ng_container_3_1_ng_template_0_Template, 0, 0, "ng-template");
|
516
|
-
} }
|
517
|
-
function PanelMenuSub_ng_template_2_li_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
518
|
-
i0.ɵɵelementContainerStart(0);
|
519
|
-
i0.ɵɵtemplate(1, PanelMenuSub_ng_template_2_li_1_ng_container_3_1_Template, 1, 0, null, 27);
|
520
|
-
i0.ɵɵelementContainerEnd();
|
521
|
-
} if (rf & 2) {
|
522
|
-
const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
|
523
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
524
|
-
i0.ɵɵadvance();
|
525
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c4, processedItem_r3.item));
|
526
|
-
} }
|
527
|
-
function PanelMenuSub_ng_template_2_li_1_p_panelmenu_sub_5_Template(rf, ctx) { if (rf & 1) {
|
528
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
529
|
-
i0.ɵɵelementStart(0, "p-panelmenu-sub", 28);
|
530
|
-
i0.ɵɵlistener("itemToggle", function PanelMenuSub_ng_template_2_li_1_p_panelmenu_sub_5_Template_p_panelmenu_sub_itemToggle_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.onItemToggle($event)); });
|
531
|
-
i0.ɵɵelementEnd();
|
532
|
-
} if (rf & 2) {
|
533
|
-
const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
|
534
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
535
|
-
i0.ɵɵproperty("id", ctx_r3.getItemId(processedItem_r3) + "_list")("panelId", ctx_r3.panelId)("items", processedItem_r3 == null ? null : processedItem_r3.items)("itemTemplate", ctx_r3.itemTemplate)("transitionOptions", ctx_r3.transitionOptions)("focusedItemId", ctx_r3.focusedItemId)("activeItemPath", ctx_r3.activeItemPath)("level", ctx_r3.level + 1)("parentExpanded", !!ctx_r3.parentExpanded && ctx_r3.isItemExpanded(processedItem_r3));
|
536
|
-
} }
|
537
|
-
function PanelMenuSub_ng_template_2_li_1_Template(rf, ctx) { if (rf & 1) {
|
538
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
539
|
-
i0.ɵɵelementStart(0, "li", 8)(1, "div", 9);
|
540
|
-
i0.ɵɵlistener("click", function PanelMenuSub_ng_template_2_li_1_Template_div_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const processedItem_r3 = i0.ɵɵnextContext().$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onItemClick($event, processedItem_r3)); });
|
541
|
-
i0.ɵɵtemplate(2, PanelMenuSub_ng_template_2_li_1_ng_container_2_Template, 3, 2, "ng-container", 10)(3, PanelMenuSub_ng_template_2_li_1_ng_container_3_Template, 2, 4, "ng-container", 10);
|
542
|
-
i0.ɵɵelementEnd();
|
543
|
-
i0.ɵɵelementStart(4, "div", 11);
|
544
|
-
i0.ɵɵtemplate(5, PanelMenuSub_ng_template_2_li_1_p_panelmenu_sub_5_Template, 1, 9, "p-panelmenu-sub", 12);
|
545
|
-
i0.ɵɵelementEnd()();
|
546
|
-
} if (rf & 2) {
|
547
|
-
const ctx_r7 = i0.ɵɵnextContext();
|
548
|
-
const processedItem_r3 = ctx_r7.$implicit;
|
549
|
-
const index_r9 = ctx_r7.index;
|
550
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
551
|
-
i0.ɵɵclassMap(ctx_r3.getItemProp(processedItem_r3, "styleClass"));
|
552
|
-
i0.ɵɵclassProp("p-hidden", processedItem_r3.visible === false)("p-focus", ctx_r3.isItemFocused(processedItem_r3) && !ctx_r3.isItemDisabled(processedItem_r3));
|
553
|
-
i0.ɵɵproperty("ngClass", ctx_r3.getItemClass(processedItem_r3))("ngStyle", ctx_r3.getItemProp(processedItem_r3, "style"))("pTooltip", ctx_r3.getItemProp(processedItem_r3, "tooltip"))("tooltipOptions", ctx_r3.getItemProp(processedItem_r3, "tooltipOptions"));
|
554
|
-
i0.ɵɵattribute("id", ctx_r3.getItemId(processedItem_r3))("aria-label", ctx_r3.getItemProp(processedItem_r3, "label"))("aria-expanded", ctx_r3.isItemGroup(processedItem_r3) ? ctx_r3.isItemActive(processedItem_r3) : undefined)("aria-level", ctx_r3.level + 1)("aria-setsize", ctx_r3.getAriaSetSize())("aria-posinset", ctx_r3.getAriaPosInset(index_r9))("data-p-disabled", ctx_r3.isItemDisabled(processedItem_r3));
|
555
|
-
i0.ɵɵadvance(2);
|
556
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.itemTemplate);
|
557
|
-
i0.ɵɵadvance();
|
558
|
-
i0.ɵɵproperty("ngIf", ctx_r3.itemTemplate);
|
559
|
-
i0.ɵɵadvance();
|
560
|
-
i0.ɵɵproperty("@submenu", ctx_r3.getAnimation(processedItem_r3));
|
561
|
-
i0.ɵɵadvance();
|
562
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isItemVisible(processedItem_r3) && ctx_r3.isItemGroup(processedItem_r3) && ctx_r3.isItemExpanded(processedItem_r3));
|
563
|
-
} }
|
564
|
-
function PanelMenuSub_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
565
|
-
i0.ɵɵtemplate(0, PanelMenuSub_ng_template_2_li_0_Template, 1, 0, "li", 5)(1, PanelMenuSub_ng_template_2_li_1_Template, 6, 21, "li", 6);
|
566
|
-
} if (rf & 2) {
|
567
|
-
const processedItem_r3 = ctx.$implicit;
|
568
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
569
|
-
i0.ɵɵproperty("ngIf", processedItem_r3.separator);
|
570
|
-
i0.ɵɵadvance();
|
571
|
-
i0.ɵɵproperty("ngIf", !processedItem_r3.separator && ctx_r3.isItemVisible(processedItem_r3));
|
572
|
-
} }
|
573
|
-
const _c5 = ["submenu"];
|
574
|
-
const _c6 = ["submenuicon"];
|
575
|
-
const _c7 = ["item"];
|
576
|
-
const _c8 = ["container"];
|
577
|
-
const _c9 = (a0, a1) => ({ "p-component p-panelmenu-header": true, "p-panelmenu-header-active": a0, "p-disabled": a1 });
|
578
|
-
const _c10 = a0 => ({ "p-panelmenu-expanded": a0 });
|
579
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_ChevronDownIcon_1_Template(rf, ctx) { if (rf & 1) {
|
580
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 20);
|
581
|
-
} if (rf & 2) {
|
582
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon");
|
583
|
-
} }
|
584
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_ChevronRightIcon_2_Template(rf, ctx) { if (rf & 1) {
|
585
|
-
i0.ɵɵelement(0, "ChevronRightIcon", 20);
|
586
|
-
} if (rf & 2) {
|
587
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon");
|
588
|
-
} }
|
589
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
590
|
-
i0.ɵɵelementContainerStart(0);
|
591
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_ChevronDownIcon_1_Template, 1, 1, "ChevronDownIcon", 19)(2, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_ChevronRightIcon_2_Template, 1, 1, "ChevronRightIcon", 19);
|
592
|
-
i0.ɵɵelementContainerEnd();
|
593
|
-
} if (rf & 2) {
|
594
|
-
const item_r3 = i0.ɵɵnextContext(5).$implicit;
|
595
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
596
|
-
i0.ɵɵadvance();
|
597
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemActive(item_r3));
|
598
|
-
i0.ɵɵadvance();
|
599
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.isItemActive(item_r3));
|
600
|
-
} }
|
601
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_2_ng_template_0_Template(rf, ctx) { }
|
602
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_2_Template(rf, ctx) { if (rf & 1) {
|
603
|
-
i0.ɵɵtemplate(0, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_2_ng_template_0_Template, 0, 0, "ng-template");
|
604
|
-
} }
|
605
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
606
|
-
i0.ɵɵelementContainerStart(0);
|
607
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_ng_container_1_Template, 3, 2, "ng-container", 9)(2, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_2_Template, 1, 0, null, 18);
|
608
|
-
i0.ɵɵelementContainerEnd();
|
609
|
-
} if (rf & 2) {
|
610
|
-
const ctx_r4 = i0.ɵɵnextContext(5);
|
611
|
-
i0.ɵɵadvance();
|
612
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.submenuIconTemplate && !ctx_r4._submenuIconTemplate);
|
613
|
-
i0.ɵɵadvance();
|
614
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r4.submenuIconTemplate || ctx_r4._submenuIconTemplate);
|
615
|
-
} }
|
616
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
617
|
-
i0.ɵɵelement(0, "span", 21);
|
618
|
-
} if (rf & 2) {
|
619
|
-
const item_r3 = i0.ɵɵnextContext(4).$implicit;
|
620
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
621
|
-
i0.ɵɵproperty("ngClass", item_r3.icon)("ngStyle", ctx_r4.getItemProp(item_r3, "iconStyle"));
|
622
|
-
} }
|
623
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
624
|
-
i0.ɵɵelementStart(0, "span", 22);
|
625
|
-
i0.ɵɵtext(1);
|
626
|
-
i0.ɵɵelementEnd();
|
627
|
-
} if (rf & 2) {
|
628
|
-
const item_r3 = i0.ɵɵnextContext(4).$implicit;
|
629
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
630
|
-
i0.ɵɵadvance();
|
631
|
-
i0.ɵɵtextInterpolate(ctx_r4.getItemProp(item_r3, "label"));
|
632
|
-
} }
|
633
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
634
|
-
i0.ɵɵelement(0, "span", 23);
|
635
|
-
} if (rf & 2) {
|
636
|
-
const item_r3 = i0.ɵɵnextContext(4).$implicit;
|
637
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
638
|
-
i0.ɵɵproperty("innerHTML", ctx_r4.getItemProp(item_r3, "label"), i0.ɵɵsanitizeHtml);
|
639
|
-
} }
|
640
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_6_Template(rf, ctx) { if (rf & 1) {
|
641
|
-
i0.ɵɵelementStart(0, "span", 24);
|
642
|
-
i0.ɵɵtext(1);
|
643
|
-
i0.ɵɵelementEnd();
|
644
|
-
} if (rf & 2) {
|
645
|
-
const item_r3 = i0.ɵɵnextContext(4).$implicit;
|
646
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
647
|
-
i0.ɵɵproperty("ngClass", ctx_r4.getItemProp(item_r3, "badgeStyleClass"));
|
648
|
-
i0.ɵɵadvance();
|
649
|
-
i0.ɵɵtextInterpolate(ctx_r4.getItemProp(item_r3, "badge"));
|
650
|
-
} }
|
651
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
652
|
-
i0.ɵɵelementStart(0, "a", 14);
|
653
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_container_1_Template, 3, 2, "ng-container", 9)(2, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_2_Template, 1, 2, "span", 15)(3, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_3_Template, 2, 1, "span", 16)(4, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_span_6_Template, 2, 2, "span", 17);
|
654
|
-
i0.ɵɵelementEnd();
|
655
|
-
} if (rf & 2) {
|
656
|
-
const htmlLabel_r6 = i0.ɵɵreference(5);
|
657
|
-
const item_r3 = i0.ɵɵnextContext(3).$implicit;
|
658
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
659
|
-
i0.ɵɵproperty("target", ctx_r4.getItemProp(item_r3, "target"));
|
660
|
-
i0.ɵɵattribute("href", ctx_r4.getItemProp(item_r3, "url"), i0.ɵɵsanitizeUrl)("tabindex", -1)("title", ctx_r4.getItemProp(item_r3, "title"))("data-pc-section", "headeraction");
|
661
|
-
i0.ɵɵadvance();
|
662
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemGroup(item_r3));
|
663
|
-
i0.ɵɵadvance();
|
664
|
-
i0.ɵɵproperty("ngIf", item_r3.icon);
|
665
|
-
i0.ɵɵadvance();
|
666
|
-
i0.ɵɵproperty("ngIf", ctx_r4.getItemProp(item_r3, "escape") !== false)("ngIfElse", htmlLabel_r6);
|
667
|
-
i0.ɵɵadvance(3);
|
668
|
-
i0.ɵɵproperty("ngIf", ctx_r4.getItemProp(item_r3, "badge"));
|
669
|
-
} }
|
670
|
-
function PanelMenu_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
671
|
-
i0.ɵɵelementContainerStart(0);
|
672
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_ng_container_3_a_1_Template, 7, 10, "a", 13);
|
673
|
-
i0.ɵɵelementContainerEnd();
|
674
|
-
} if (rf & 2) {
|
675
|
-
const item_r3 = i0.ɵɵnextContext(2).$implicit;
|
676
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
677
|
-
i0.ɵɵadvance();
|
678
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.getItemProp(item_r3, "routerLink"));
|
679
|
-
} }
|
680
|
-
function PanelMenu_ng_container_2_div_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
681
|
-
i0.ɵɵelementContainer(0);
|
682
|
-
} }
|
683
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_ChevronDownIcon_1_Template(rf, ctx) { if (rf & 1) {
|
684
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 20);
|
685
|
-
} if (rf & 2) {
|
686
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon");
|
687
|
-
} }
|
688
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_ChevronRightIcon_2_Template(rf, ctx) { if (rf & 1) {
|
689
|
-
i0.ɵɵelement(0, "ChevronRightIcon", 20);
|
690
|
-
} if (rf & 2) {
|
691
|
-
i0.ɵɵproperty("styleClass", "p-panelmenu-submenu-icon");
|
692
|
-
} }
|
693
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
694
|
-
i0.ɵɵelementContainerStart(0);
|
695
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_ChevronDownIcon_1_Template, 1, 1, "ChevronDownIcon", 19)(2, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_ChevronRightIcon_2_Template, 1, 1, "ChevronRightIcon", 19);
|
696
|
-
i0.ɵɵelementContainerEnd();
|
697
|
-
} if (rf & 2) {
|
698
|
-
const item_r3 = i0.ɵɵnextContext(4).$implicit;
|
699
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
700
|
-
i0.ɵɵadvance();
|
701
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemActive(item_r3));
|
702
|
-
i0.ɵɵadvance();
|
703
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.isItemActive(item_r3));
|
704
|
-
} }
|
705
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_2_ng_template_0_Template(rf, ctx) { }
|
706
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_2_Template(rf, ctx) { if (rf & 1) {
|
707
|
-
i0.ɵɵtemplate(0, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_2_ng_template_0_Template, 0, 0, "ng-template");
|
708
|
-
} }
|
709
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
710
|
-
i0.ɵɵelementContainerStart(0);
|
711
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_ng_container_1_Template, 3, 2, "ng-container", 9)(2, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_2_Template, 1, 0, null, 18);
|
712
|
-
i0.ɵɵelementContainerEnd();
|
713
|
-
} if (rf & 2) {
|
714
|
-
const ctx_r4 = i0.ɵɵnextContext(4);
|
715
|
-
i0.ɵɵadvance();
|
716
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.submenuIconTemplate && !ctx_r4._submenuIconTemplate);
|
717
|
-
i0.ɵɵadvance();
|
718
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r4.submenuIconTemplate || ctx_r4._submenuIconTemplate);
|
719
|
-
} }
|
720
|
-
function PanelMenu_ng_container_2_div_1_a_5_span_2_Template(rf, ctx) { if (rf & 1) {
|
721
|
-
i0.ɵɵelement(0, "span", 21);
|
722
|
-
} if (rf & 2) {
|
723
|
-
const item_r3 = i0.ɵɵnextContext(3).$implicit;
|
724
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
725
|
-
i0.ɵɵproperty("ngClass", item_r3.icon)("ngStyle", ctx_r4.getItemProp(item_r3, "iconStyle"));
|
726
|
-
} }
|
727
|
-
function PanelMenu_ng_container_2_div_1_a_5_span_3_Template(rf, ctx) { if (rf & 1) {
|
728
|
-
i0.ɵɵelementStart(0, "span", 22);
|
729
|
-
i0.ɵɵtext(1);
|
730
|
-
i0.ɵɵelementEnd();
|
731
|
-
} if (rf & 2) {
|
732
|
-
const item_r3 = i0.ɵɵnextContext(3).$implicit;
|
733
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
734
|
-
i0.ɵɵadvance();
|
735
|
-
i0.ɵɵtextInterpolate(ctx_r4.getItemProp(item_r3, "label"));
|
736
|
-
} }
|
737
|
-
function PanelMenu_ng_container_2_div_1_a_5_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
738
|
-
i0.ɵɵelement(0, "span", 23);
|
739
|
-
} if (rf & 2) {
|
740
|
-
const item_r3 = i0.ɵɵnextContext(3).$implicit;
|
741
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
742
|
-
i0.ɵɵproperty("innerHTML", ctx_r4.getItemProp(item_r3, "label"), i0.ɵɵsanitizeHtml);
|
743
|
-
} }
|
744
|
-
function PanelMenu_ng_container_2_div_1_a_5_span_6_Template(rf, ctx) { if (rf & 1) {
|
745
|
-
i0.ɵɵelementStart(0, "span", 24);
|
746
|
-
i0.ɵɵtext(1);
|
747
|
-
i0.ɵɵelementEnd();
|
748
|
-
} if (rf & 2) {
|
749
|
-
const item_r3 = i0.ɵɵnextContext(3).$implicit;
|
750
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
751
|
-
i0.ɵɵproperty("ngClass", ctx_r4.getItemProp(item_r3, "badgeStyleClass"));
|
752
|
-
i0.ɵɵadvance();
|
753
|
-
i0.ɵɵtextInterpolate(ctx_r4.getItemProp(item_r3, "badge"));
|
754
|
-
} }
|
755
|
-
function PanelMenu_ng_container_2_div_1_a_5_Template(rf, ctx) { if (rf & 1) {
|
756
|
-
i0.ɵɵelementStart(0, "a", 25);
|
757
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_a_5_ng_container_1_Template, 3, 2, "ng-container", 9)(2, PanelMenu_ng_container_2_div_1_a_5_span_2_Template, 1, 2, "span", 15)(3, PanelMenu_ng_container_2_div_1_a_5_span_3_Template, 2, 1, "span", 16)(4, PanelMenu_ng_container_2_div_1_a_5_ng_template_4_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(6, PanelMenu_ng_container_2_div_1_a_5_span_6_Template, 2, 2, "span", 17);
|
758
|
-
i0.ɵɵelementEnd();
|
759
|
-
} if (rf & 2) {
|
760
|
-
const htmlRouteLabel_r7 = i0.ɵɵreference(5);
|
761
|
-
const item_r3 = i0.ɵɵnextContext(2).$implicit;
|
762
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
763
|
-
i0.ɵɵproperty("routerLink", ctx_r4.getItemProp(item_r3, "routerLink"))("queryParams", ctx_r4.getItemProp(item_r3, "queryParams"))("routerLinkActive", "p-panelmenu-item-link-active")("routerLinkActiveOptions", ctx_r4.getItemProp(item_r3, "routerLinkActiveOptions") || i0.ɵɵpureFunction0(18, _c3))("target", ctx_r4.getItemProp(item_r3, "target"))("fragment", ctx_r4.getItemProp(item_r3, "fragment"))("queryParamsHandling", ctx_r4.getItemProp(item_r3, "queryParamsHandling"))("preserveFragment", ctx_r4.getItemProp(item_r3, "preserveFragment"))("skipLocationChange", ctx_r4.getItemProp(item_r3, "skipLocationChange"))("replaceUrl", ctx_r4.getItemProp(item_r3, "replaceUrl"))("state", ctx_r4.getItemProp(item_r3, "state"));
|
764
|
-
i0.ɵɵattribute("tabindex", -1)("data-pc-section", "headeraction");
|
765
|
-
i0.ɵɵadvance();
|
766
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemGroup(item_r3));
|
767
|
-
i0.ɵɵadvance();
|
768
|
-
i0.ɵɵproperty("ngIf", item_r3.icon);
|
769
|
-
i0.ɵɵadvance();
|
770
|
-
i0.ɵɵproperty("ngIf", ctx_r4.getItemProp(item_r3, "escape") !== false)("ngIfElse", htmlRouteLabel_r7);
|
771
|
-
i0.ɵɵadvance(3);
|
772
|
-
i0.ɵɵproperty("ngIf", ctx_r4.getItemProp(item_r3, "badge"));
|
773
|
-
} }
|
774
|
-
function PanelMenu_ng_container_2_div_1_div_6_Template(rf, ctx) { if (rf & 1) {
|
775
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
776
|
-
i0.ɵɵelementStart(0, "div", 26);
|
777
|
-
i0.ɵɵlistener("@rootItem.done", function PanelMenu_ng_container_2_div_1_div_6_Template_div_animation_rootItem_done_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r4 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r4.onToggleDone()); });
|
778
|
-
i0.ɵɵelementStart(1, "div", 27)(2, "p-panelMenuList", 28);
|
779
|
-
i0.ɵɵlistener("headerFocus", function PanelMenu_ng_container_2_div_1_div_6_Template_p_panelMenuList_headerFocus_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r4 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r4.updateFocusedHeader($event)); });
|
780
|
-
i0.ɵɵelementEnd()()();
|
781
|
-
} if (rf & 2) {
|
782
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
783
|
-
const item_r3 = ctx_r1.$implicit;
|
784
|
-
const i_r4 = ctx_r1.index;
|
785
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
786
|
-
i0.ɵɵproperty("@rootItem", ctx_r4.getAnimation(item_r3))("ngClass", i0.ɵɵpureFunction1(14, _c10, ctx_r4.isItemActive(item_r3)));
|
787
|
-
i0.ɵɵattribute("id", ctx_r4.getContentId(item_r3, i_r4))("aria-labelledby", ctx_r4.getHeaderId(item_r3, i_r4))("data-pc-section", "toggleablecontent");
|
788
|
-
i0.ɵɵadvance();
|
789
|
-
i0.ɵɵattribute("data-pc-section", "menucontent");
|
790
|
-
i0.ɵɵadvance();
|
791
|
-
i0.ɵɵproperty("panelId", ctx_r4.getPanelId(i_r4, item_r3))("items", ctx_r4.getItemProp(item_r3, "items"))("itemTemplate", ctx_r4.itemTemplate || ctx_r4._itemTemplate)("transitionOptions", ctx_r4.transitionOptions)("root", true)("activeItem", ctx_r4.activeItem())("tabindex", ctx_r4.tabindex)("parentExpanded", ctx_r4.isItemActive(item_r3));
|
792
|
-
} }
|
793
|
-
function PanelMenu_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
794
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
795
|
-
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7);
|
796
|
-
i0.ɵɵlistener("click", function PanelMenu_ng_container_2_div_1_Template_div_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onHeaderClick($event, item_r3, i_r4)); })("keydown", function PanelMenu_ng_container_2_div_1_Template_div_keydown_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onHeaderKeyDown($event, item_r3, i_r4)); });
|
797
|
-
i0.ɵɵelementStart(2, "div", 8);
|
798
|
-
i0.ɵɵtemplate(3, PanelMenu_ng_container_2_div_1_ng_container_3_Template, 2, 1, "ng-container", 9)(4, PanelMenu_ng_container_2_div_1_ng_container_4_Template, 1, 0, "ng-container", 10)(5, PanelMenu_ng_container_2_div_1_a_5_Template, 7, 19, "a", 11);
|
799
|
-
i0.ɵɵelementEnd()();
|
800
|
-
i0.ɵɵtemplate(6, PanelMenu_ng_container_2_div_1_div_6_Template, 3, 16, "div", 12);
|
801
|
-
i0.ɵɵelementEnd();
|
802
|
-
} if (rf & 2) {
|
803
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
804
|
-
const item_r3 = ctx_r1.$implicit;
|
805
|
-
const i_r4 = ctx_r1.index;
|
806
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
807
|
-
i0.ɵɵproperty("ngClass", ctx_r4.getItemProp(item_r3, "headerClass"))("ngStyle", ctx_r4.getItemProp(item_r3, "style"));
|
808
|
-
i0.ɵɵattribute("data-pc-section", "panel");
|
809
|
-
i0.ɵɵadvance();
|
810
|
-
i0.ɵɵclassMap(ctx_r4.getItemProp(item_r3, "styleClass"));
|
811
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(23, _c9, ctx_r4.isItemActive(item_r3) && !!item_r3.items, ctx_r4.isItemDisabled(item_r3)))("ngStyle", ctx_r4.getItemProp(item_r3, "style"))("pTooltip", ctx_r4.getItemProp(item_r3, "tooltip"))("tabindex", 0)("tooltipOptions", ctx_r4.getItemProp(item_r3, "tooltipOptions"));
|
812
|
-
i0.ɵɵattribute("id", ctx_r4.getHeaderId(item_r3, i_r4))("aria-expanded", ctx_r4.isItemActive(item_r3))("aria-label", ctx_r4.getItemProp(item_r3, "label"))("aria-controls", ctx_r4.getContentId(item_r3, i_r4))("aria-disabled", ctx_r4.isItemDisabled(item_r3))("data-p-highlight", ctx_r4.isItemActive(item_r3))("data-p-disabled", ctx_r4.isItemDisabled(item_r3))("data-pc-section", "header");
|
813
|
-
i0.ɵɵadvance(2);
|
814
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.itemTemplate && !ctx_r4._itemTemplate);
|
815
|
-
i0.ɵɵadvance();
|
816
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r4.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(26, _c4, item_r3));
|
817
|
-
i0.ɵɵadvance();
|
818
|
-
i0.ɵɵproperty("ngIf", ctx_r4.getItemProp(item_r3, "routerLink"));
|
819
|
-
i0.ɵɵadvance();
|
820
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemGroup(item_r3));
|
821
|
-
} }
|
822
|
-
function PanelMenu_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
823
|
-
i0.ɵɵelementContainerStart(0);
|
824
|
-
i0.ɵɵtemplate(1, PanelMenu_ng_container_2_div_1_Template, 7, 28, "div", 5);
|
825
|
-
i0.ɵɵelementContainerEnd();
|
826
|
-
} if (rf & 2) {
|
827
|
-
const item_r3 = ctx.$implicit;
|
828
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
829
|
-
i0.ɵɵadvance();
|
830
|
-
i0.ɵɵproperty("ngIf", ctx_r4.isItemVisible(item_r3));
|
831
|
-
} }
|
832
304
|
class PanelMenuSub extends BaseComponent {
|
833
305
|
panelId;
|
834
306
|
focusedItemId;
|
@@ -901,43 +373,137 @@ class PanelMenuSub extends BaseComponent {
|
|
901
373
|
onItemToggle(event) {
|
902
374
|
this.itemToggle.emit(event);
|
903
375
|
}
|
904
|
-
static ɵfac =
|
905
|
-
static ɵcmp =
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuSub, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: PanelMenuSub, isStandalone: true, selector: "p-panelMenuSub, p-panelmenu-sub", inputs: { panelId: "panelId", focusedItemId: "focusedItemId", items: "items", itemTemplate: "itemTemplate", level: ["level", "level", numberAttribute], activeItemPath: "activeItemPath", root: ["root", "root", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], transitionOptions: "transitionOptions", parentExpanded: ["parentExpanded", "parentExpanded", booleanAttribute] }, outputs: { itemToggle: "itemToggle", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeyDown: "menuKeyDown" }, viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
378
|
+
<ul
|
379
|
+
#list
|
380
|
+
[ngClass]="{ 'p-panelmenu-submenu': true }"
|
381
|
+
role="tree"
|
382
|
+
[tabindex]="-1"
|
383
|
+
[attr.aria-activedescendant]="focusedItemId"
|
384
|
+
[attr.data-pc-section]="'menu'"
|
385
|
+
[attr.aria-hidden]="!parentExpanded"
|
386
|
+
(focusin)="menuFocus.emit($event)"
|
387
|
+
(focusout)="menuBlur.emit($event)"
|
388
|
+
(keydown)="menuKeyDown.emit($event)"
|
389
|
+
>
|
390
|
+
<ng-template ngFor let-processedItem let-index="index" [ngForOf]="items">
|
391
|
+
<li *ngIf="processedItem.separator" class="p-menuitem-separator" role="separator"></li>
|
392
|
+
<li
|
393
|
+
*ngIf="!processedItem.separator && isItemVisible(processedItem)"
|
394
|
+
[ngClass]="getItemClass(processedItem)"
|
395
|
+
role="treeitem"
|
396
|
+
[attr.id]="getItemId(processedItem)"
|
397
|
+
[attr.aria-label]="getItemProp(processedItem, 'label')"
|
398
|
+
[attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
|
399
|
+
[attr.aria-level]="level + 1"
|
400
|
+
[attr.aria-setsize]="getAriaSetSize()"
|
401
|
+
[attr.aria-posinset]="getAriaPosInset(index)"
|
402
|
+
[class]="getItemProp(processedItem, 'styleClass')"
|
403
|
+
[class.p-hidden]="processedItem.visible === false"
|
404
|
+
[class.p-focus]="isItemFocused(processedItem) && !isItemDisabled(processedItem)"
|
405
|
+
[ngStyle]="getItemProp(processedItem, 'style')"
|
406
|
+
[pTooltip]="getItemProp(processedItem, 'tooltip')"
|
407
|
+
[attr.data-p-disabled]="isItemDisabled(processedItem)"
|
408
|
+
[tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
|
409
|
+
>
|
410
|
+
<div class="p-panelmenu-item-content" (click)="onItemClick($event, processedItem)">
|
411
|
+
<ng-container *ngIf="!itemTemplate">
|
412
|
+
<a
|
413
|
+
*ngIf="!getItemProp(processedItem, 'routerLink')"
|
414
|
+
[attr.href]="getItemProp(processedItem, 'url')"
|
415
|
+
class="p-panelmenu-item-link"
|
416
|
+
[ngClass]="{ 'p-disabled': getItemProp(processedItem, 'disabled') }"
|
417
|
+
[target]="getItemProp(processedItem, 'target')"
|
418
|
+
[attr.data-pc-section]="'action'"
|
419
|
+
[attr.tabindex]="!!parentExpanded ? '0' : '-1'"
|
420
|
+
>
|
421
|
+
<ng-container *ngIf="isItemGroup(processedItem)">
|
422
|
+
<ng-container *ngIf="!panelMenu.submenuIconTemplate && !panelMenu._submenuIconTemplate">
|
423
|
+
<AngleDownIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="isItemActive(processedItem)" [ngStyle]="getItemProp(processedItem, 'iconStyle')" />
|
424
|
+
<AngleRightIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="!isItemActive(processedItem)" [ngStyle]="getItemProp(processedItem, 'iconStyle')" />
|
425
|
+
</ng-container>
|
426
|
+
<ng-template *ngTemplateOutlet="panelMenu.submenuIconTemplate || panelMenu._submenuIconTemplate"></ng-template>
|
427
|
+
</ng-container>
|
428
|
+
<span class="p-panelmenu-submenu-icon" [ngClass]="processedItem.icon" *ngIf="processedItem.icon" [ngStyle]="getItemProp(processedItem, 'iconStyle')"></span>
|
429
|
+
<span class="p-panelmenu-item-label" *ngIf="processedItem.item?.escape !== false; else htmlLabel">{{ getItemProp(processedItem, 'label') }}</span>
|
430
|
+
<ng-template #htmlLabel><span class="p-panelmenu-item-label" [innerHTML]="getItemProp(processedItem, 'label')"></span></ng-template>
|
431
|
+
<span class="p-menuitem-badge" *ngIf="processedItem.badge" [ngClass]="processedItem.badgeStyleClass">{{ processedItem.badge }}</span>
|
432
|
+
</a>
|
433
|
+
<a
|
434
|
+
*ngIf="getItemProp(processedItem, 'routerLink')"
|
435
|
+
[routerLink]="getItemProp(processedItem, 'routerLink')"
|
436
|
+
[queryParams]="getItemProp(processedItem, 'queryParams')"
|
437
|
+
[routerLinkActive]="'p-panelmenu-item-link-active'"
|
438
|
+
[routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
|
439
|
+
class="p-panelmenu-item-link"
|
440
|
+
[ngClass]="{ 'p-disabled': getItemProp(processedItem, 'disabled') }"
|
441
|
+
[target]="getItemProp(processedItem, 'target')"
|
442
|
+
[attr.title]="getItemProp(processedItem, 'title')"
|
443
|
+
[fragment]="getItemProp(processedItem, 'fragment')"
|
444
|
+
[queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
|
445
|
+
[preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
|
446
|
+
[skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
|
447
|
+
[replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
|
448
|
+
[state]="getItemProp(processedItem, 'state')"
|
449
|
+
[attr.data-pc-section]="'action'"
|
450
|
+
[attr.tabindex]="!!parentExpanded ? '0' : '-1'"
|
451
|
+
>
|
452
|
+
<ng-container *ngIf="isItemGroup(processedItem)">
|
453
|
+
<ng-container *ngIf="!panelMenu.submenuIconTemplate && !panelMenu._submenuIconTemplate">
|
454
|
+
<AngleDownIcon *ngIf="isItemActive(processedItem)" [styleClass]="'p-panelmenu-submenu-icon'" [ngStyle]="getItemProp(processedItem, 'iconStyle')" />
|
455
|
+
<AngleRightIcon *ngIf="!isItemActive(processedItem)" [styleClass]="'p-panelmenu-submenu-icon'" [ngStyle]="getItemProp(processedItem, 'iconStyle')" />
|
456
|
+
</ng-container>
|
457
|
+
<ng-template *ngTemplateOutlet="panelMenu.submenuIconTemplate && panelMenu._submenuIconTemplate"></ng-template>
|
458
|
+
</ng-container>
|
459
|
+
<span class="p-panelmenu-submenu-icon" [ngClass]="processedItem.icon" *ngIf="processedItem.icon" [ngStyle]="getItemProp(processedItem, 'iconStyle')"></span>
|
460
|
+
<span class="p-panelmenu-item-label" *ngIf="getItemProp(processedItem, 'escape') !== false; else htmlRouteLabel">{{ getItemProp(processedItem, 'label') }}</span>
|
461
|
+
<ng-template #htmlRouteLabel><span class="p-panelmenu-item-label" [innerHTML]="getItemProp(processedItem, 'label')"></span></ng-template>
|
462
|
+
<span class="p-menuitem-badge" *ngIf="processedItem.badge" [ngClass]="getItemProp(processedItem, 'badgeStyleClass')">{{ getItemProp(processedItem, 'badge') }}</span>
|
463
|
+
</a>
|
464
|
+
</ng-container>
|
465
|
+
<ng-container *ngIf="itemTemplate">
|
466
|
+
<ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: processedItem.item }"></ng-template>
|
467
|
+
</ng-container>
|
468
|
+
</div>
|
469
|
+
<div class="p-toggleable-content" [@submenu]="getAnimation(processedItem)">
|
470
|
+
<p-panelmenu-sub
|
471
|
+
*ngIf="isItemVisible(processedItem) && isItemGroup(processedItem) && isItemExpanded(processedItem)"
|
472
|
+
[id]="getItemId(processedItem) + '_list'"
|
473
|
+
[panelId]="panelId"
|
474
|
+
[items]="processedItem?.items"
|
475
|
+
[itemTemplate]="itemTemplate"
|
476
|
+
[transitionOptions]="transitionOptions"
|
477
|
+
[focusedItemId]="focusedItemId"
|
478
|
+
[activeItemPath]="activeItemPath"
|
479
|
+
[level]="level + 1"
|
480
|
+
[parentExpanded]="!!parentExpanded && isItemExpanded(processedItem)"
|
481
|
+
(itemToggle)="onItemToggle($event)"
|
482
|
+
></p-panelmenu-sub>
|
483
|
+
</div>
|
484
|
+
</li>
|
485
|
+
</ng-template>
|
486
|
+
</ul>
|
487
|
+
`, isInline: true, dependencies: [{ kind: "component", type: PanelMenuSub, selector: "p-panelMenuSub, p-panelmenu-sub", inputs: ["panelId", "focusedItemId", "items", "itemTemplate", "level", "activeItemPath", "root", "tabindex", "transitionOptions", "parentExpanded"], outputs: ["itemToggle", "menuFocus", "menuBlur", "menuKeyDown"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: AngleDownIcon, selector: "AngleDownIcon" }, { kind: "component", type: AngleRightIcon, selector: "AngleRightIcon" }, { kind: "ngmodule", type: SharedModule }], animations: [
|
488
|
+
trigger('submenu', [
|
489
|
+
state('hidden', style({
|
490
|
+
height: '0'
|
491
|
+
})),
|
492
|
+
state('visible', style({
|
493
|
+
height: '*'
|
494
|
+
})),
|
495
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
496
|
+
transition('void => *', animate(0))
|
497
|
+
])
|
498
|
+
], encapsulation: i0.ViewEncapsulation.None });
|
933
499
|
}
|
934
|
-
(
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuSub, decorators: [{
|
501
|
+
type: Component,
|
502
|
+
args: [{
|
503
|
+
selector: 'p-panelMenuSub, p-panelmenu-sub',
|
504
|
+
imports: [CommonModule, RouterModule, TooltipModule, AngleDownIcon, AngleRightIcon, SharedModule],
|
505
|
+
standalone: true,
|
506
|
+
template: `
|
941
507
|
<ul
|
942
508
|
#list
|
943
509
|
[ngClass]="{ 'p-panelmenu-submenu': true }"
|
@@ -1048,57 +614,56 @@ class PanelMenuSub extends BaseComponent {
|
|
1048
614
|
</ng-template>
|
1049
615
|
</ul>
|
1050
616
|
`,
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PanelMenuSub, { className: "PanelMenuSub", filePath: "panelmenu.ts", lineNumber: 170 }); })();
|
617
|
+
animations: [
|
618
|
+
trigger('submenu', [
|
619
|
+
state('hidden', style({
|
620
|
+
height: '0'
|
621
|
+
})),
|
622
|
+
state('visible', style({
|
623
|
+
height: '*'
|
624
|
+
})),
|
625
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
626
|
+
transition('void => *', animate(0))
|
627
|
+
])
|
628
|
+
],
|
629
|
+
encapsulation: ViewEncapsulation.None
|
630
|
+
}]
|
631
|
+
}], propDecorators: { panelId: [{
|
632
|
+
type: Input
|
633
|
+
}], focusedItemId: [{
|
634
|
+
type: Input
|
635
|
+
}], items: [{
|
636
|
+
type: Input
|
637
|
+
}], itemTemplate: [{
|
638
|
+
type: Input
|
639
|
+
}], level: [{
|
640
|
+
type: Input,
|
641
|
+
args: [{ transform: numberAttribute }]
|
642
|
+
}], activeItemPath: [{
|
643
|
+
type: Input
|
644
|
+
}], root: [{
|
645
|
+
type: Input,
|
646
|
+
args: [{ transform: booleanAttribute }]
|
647
|
+
}], tabindex: [{
|
648
|
+
type: Input,
|
649
|
+
args: [{ transform: numberAttribute }]
|
650
|
+
}], transitionOptions: [{
|
651
|
+
type: Input
|
652
|
+
}], parentExpanded: [{
|
653
|
+
type: Input,
|
654
|
+
args: [{ transform: booleanAttribute }]
|
655
|
+
}], itemToggle: [{
|
656
|
+
type: Output
|
657
|
+
}], menuFocus: [{
|
658
|
+
type: Output
|
659
|
+
}], menuBlur: [{
|
660
|
+
type: Output
|
661
|
+
}], menuKeyDown: [{
|
662
|
+
type: Output
|
663
|
+
}], listViewChild: [{
|
664
|
+
type: ViewChild,
|
665
|
+
args: ['list']
|
666
|
+
}] } });
|
1102
667
|
class PanelMenuList extends BaseComponent {
|
1103
668
|
panelId;
|
1104
669
|
id;
|
@@ -1424,28 +989,34 @@ class PanelMenuList extends BaseComponent {
|
|
1424
989
|
}, 500);
|
1425
990
|
return matched;
|
1426
991
|
}
|
1427
|
-
static ɵfac =
|
1428
|
-
static ɵcmp =
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
992
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuList, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
993
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: PanelMenuList, isStandalone: true, selector: "p-panelMenuList, p-panel-menu-list", inputs: { panelId: "panelId", id: "id", items: "items", itemTemplate: "itemTemplate", parentExpanded: ["parentExpanded", "parentExpanded", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute], transitionOptions: "transitionOptions", root: ["root", "root", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], activeItem: "activeItem" }, outputs: { itemToggle: "itemToggle", headerFocus: "headerFocus" }, viewQueries: [{ propertyName: "subMenuViewChild", first: true, predicate: ["submenu"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
994
|
+
<p-panelmenu-sub
|
995
|
+
#submenu
|
996
|
+
[root]="true"
|
997
|
+
[id]="panelId + '_list'"
|
998
|
+
[panelId]="panelId"
|
999
|
+
[tabindex]="tabindex"
|
1000
|
+
[itemTemplate]="itemTemplate"
|
1001
|
+
[focusedItemId]="focused ? focusedItemId : undefined"
|
1002
|
+
[activeItemPath]="activeItemPath()"
|
1003
|
+
[transitionOptions]="transitionOptions"
|
1004
|
+
[items]="processedItems()"
|
1005
|
+
[parentExpanded]="parentExpanded"
|
1006
|
+
(itemToggle)="onItemToggle($event)"
|
1007
|
+
(keydown)="onKeyDown($event)"
|
1008
|
+
(menuFocus)="onFocus($event)"
|
1009
|
+
(menuBlur)="onBlur($event)"
|
1010
|
+
></p-panelmenu-sub>
|
1011
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PanelMenuSub, selector: "p-panelMenuSub, p-panelmenu-sub", inputs: ["panelId", "focusedItemId", "items", "itemTemplate", "level", "activeItemPath", "root", "tabindex", "transitionOptions", "parentExpanded"], outputs: ["itemToggle", "menuFocus", "menuBlur", "menuKeyDown"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1441
1012
|
}
|
1442
|
-
(
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuList, decorators: [{
|
1014
|
+
type: Component,
|
1015
|
+
args: [{
|
1016
|
+
selector: 'p-panelMenuList, p-panel-menu-list',
|
1017
|
+
imports: [CommonModule, PanelMenuSub, RouterModule, TooltipModule, SharedModule],
|
1018
|
+
standalone: true,
|
1019
|
+
template: `
|
1449
1020
|
<p-panelmenu-sub
|
1450
1021
|
#submenu
|
1451
1022
|
[root]="true"
|
@@ -1464,42 +1035,41 @@ class PanelMenuList extends BaseComponent {
|
|
1464
1035
|
(menuBlur)="onBlur($event)"
|
1465
1036
|
></p-panelmenu-sub>
|
1466
1037
|
`,
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PanelMenuList, { className: "PanelMenuList", filePath: "panelmenu.ts", lineNumber: 301 }); })();
|
1038
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1039
|
+
encapsulation: ViewEncapsulation.None
|
1040
|
+
}]
|
1041
|
+
}], propDecorators: { panelId: [{
|
1042
|
+
type: Input
|
1043
|
+
}], id: [{
|
1044
|
+
type: Input
|
1045
|
+
}], items: [{
|
1046
|
+
type: Input
|
1047
|
+
}], itemTemplate: [{
|
1048
|
+
type: Input
|
1049
|
+
}], parentExpanded: [{
|
1050
|
+
type: Input,
|
1051
|
+
args: [{ transform: booleanAttribute }]
|
1052
|
+
}], expanded: [{
|
1053
|
+
type: Input,
|
1054
|
+
args: [{ transform: booleanAttribute }]
|
1055
|
+
}], transitionOptions: [{
|
1056
|
+
type: Input
|
1057
|
+
}], root: [{
|
1058
|
+
type: Input,
|
1059
|
+
args: [{ transform: booleanAttribute }]
|
1060
|
+
}], tabindex: [{
|
1061
|
+
type: Input,
|
1062
|
+
args: [{ transform: numberAttribute }]
|
1063
|
+
}], activeItem: [{
|
1064
|
+
type: Input
|
1065
|
+
}], itemToggle: [{
|
1066
|
+
type: Output
|
1067
|
+
}], headerFocus: [{
|
1068
|
+
type: Output
|
1069
|
+
}], subMenuViewChild: [{
|
1070
|
+
type: ViewChild,
|
1071
|
+
args: ['submenu']
|
1072
|
+
}] } });
|
1503
1073
|
/**
|
1504
1074
|
* PanelMenu is a hybrid of Accordion and Tree components.
|
1505
1075
|
* @group Components
|
@@ -1719,52 +1289,140 @@ class PanelMenu extends BaseComponent {
|
|
1719
1289
|
headerAction ? headerAction.click() : this.onHeaderClick(event, item, index);
|
1720
1290
|
event.preventDefault();
|
1721
1291
|
}
|
1722
|
-
static ɵfac =
|
1723
|
-
static ɵcmp =
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1292
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenu, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
1293
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: PanelMenu, isStandalone: true, selector: "p-panelMenu, p-panelmenu, p-panel-menu", inputs: { model: "model", style: "style", styleClass: "styleClass", multiple: ["multiple", "multiple", booleanAttribute], transitionOptions: "transitionOptions", id: "id", tabindex: ["tabindex", "tabindex", numberAttribute] }, providers: [PanelMenuStyle], queries: [{ propertyName: "submenuIconTemplate", first: true, predicate: ["submenuicon"] }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
1294
|
+
<div [class]="styleClass" [ngStyle]="style" [ngClass]="'p-panelmenu p-component'" #container>
|
1295
|
+
<ng-container *ngFor="let item of model; let f = first; let l = last; let i = index">
|
1296
|
+
<div *ngIf="isItemVisible(item)" class="p-panelmenu-panel" [ngClass]="getItemProp(item, 'headerClass')" [ngStyle]="getItemProp(item, 'style')" [attr.data-pc-section]="'panel'">
|
1297
|
+
<div
|
1298
|
+
[ngClass]="{
|
1299
|
+
'p-component p-panelmenu-header': true,
|
1300
|
+
'p-panelmenu-header-active': isItemActive(item) && !!item.items,
|
1301
|
+
'p-disabled': isItemDisabled(item)
|
1302
|
+
}"
|
1303
|
+
[class]="getItemProp(item, 'styleClass')"
|
1304
|
+
[ngStyle]="getItemProp(item, 'style')"
|
1305
|
+
[pTooltip]="getItemProp(item, 'tooltip')"
|
1306
|
+
[attr.id]="getHeaderId(item, i)"
|
1307
|
+
[tabindex]="0"
|
1308
|
+
role="button"
|
1309
|
+
[tooltipOptions]="getItemProp(item, 'tooltipOptions')"
|
1310
|
+
[attr.aria-expanded]="isItemActive(item)"
|
1311
|
+
[attr.aria-label]="getItemProp(item, 'label')"
|
1312
|
+
[attr.aria-controls]="getContentId(item, i)"
|
1313
|
+
[attr.aria-disabled]="isItemDisabled(item)"
|
1314
|
+
[attr.data-p-highlight]="isItemActive(item)"
|
1315
|
+
[attr.data-p-disabled]="isItemDisabled(item)"
|
1316
|
+
[attr.data-pc-section]="'header'"
|
1317
|
+
(click)="onHeaderClick($event, item, i)"
|
1318
|
+
(keydown)="onHeaderKeyDown($event, item, i)"
|
1319
|
+
>
|
1320
|
+
<div class="p-panelmenu-header-content">
|
1321
|
+
<ng-container *ngIf="!itemTemplate && !_itemTemplate">
|
1322
|
+
<a
|
1323
|
+
*ngIf="!getItemProp(item, 'routerLink')"
|
1324
|
+
[attr.href]="getItemProp(item, 'url')"
|
1325
|
+
[attr.tabindex]="-1"
|
1326
|
+
[target]="getItemProp(item, 'target')"
|
1327
|
+
[attr.title]="getItemProp(item, 'title')"
|
1328
|
+
class="p-panelmenu-header-link"
|
1329
|
+
[attr.data-pc-section]="'headeraction'"
|
1330
|
+
>
|
1331
|
+
<ng-container *ngIf="isItemGroup(item)">
|
1332
|
+
<ng-container *ngIf="!submenuIconTemplate && !_submenuIconTemplate">
|
1333
|
+
<ChevronDownIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="isItemActive(item)" />
|
1334
|
+
<ChevronRightIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="!isItemActive(item)" />
|
1335
|
+
</ng-container>
|
1336
|
+
<ng-template *ngTemplateOutlet="submenuIconTemplate || _submenuIconTemplate"></ng-template>
|
1337
|
+
</ng-container>
|
1338
|
+
<span class="p-panelmenu-submenu-icon" [ngClass]="item.icon" *ngIf="item.icon" [ngStyle]="getItemProp(item, 'iconStyle')"></span>
|
1339
|
+
<span class="p-panelmenu-header-label" *ngIf="getItemProp(item, 'escape') !== false; else htmlLabel">{{ getItemProp(item, 'label') }}</span>
|
1340
|
+
<ng-template #htmlLabel><span class="p-panelmenu-header-label" [innerHTML]="getItemProp(item, 'label')"></span></ng-template>
|
1341
|
+
<span class="p-menuitem-badge" *ngIf="getItemProp(item, 'badge')" [ngClass]="getItemProp(item, 'badgeStyleClass')">{{ getItemProp(item, 'badge') }}</span>
|
1342
|
+
</a>
|
1343
|
+
</ng-container>
|
1344
|
+
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-container>
|
1345
|
+
<a
|
1346
|
+
*ngIf="getItemProp(item, 'routerLink')"
|
1347
|
+
[routerLink]="getItemProp(item, 'routerLink')"
|
1348
|
+
[queryParams]="getItemProp(item, 'queryParams')"
|
1349
|
+
[routerLinkActive]="'p-panelmenu-item-link-active'"
|
1350
|
+
[routerLinkActiveOptions]="getItemProp(item, 'routerLinkActiveOptions') || { exact: false }"
|
1351
|
+
[target]="getItemProp(item, 'target')"
|
1352
|
+
class="p-panelmenu-header-link"
|
1353
|
+
[attr.tabindex]="-1"
|
1354
|
+
[fragment]="getItemProp(item, 'fragment')"
|
1355
|
+
[queryParamsHandling]="getItemProp(item, 'queryParamsHandling')"
|
1356
|
+
[preserveFragment]="getItemProp(item, 'preserveFragment')"
|
1357
|
+
[skipLocationChange]="getItemProp(item, 'skipLocationChange')"
|
1358
|
+
[replaceUrl]="getItemProp(item, 'replaceUrl')"
|
1359
|
+
[state]="getItemProp(item, 'state')"
|
1360
|
+
[attr.data-pc-section]="'headeraction'"
|
1361
|
+
>
|
1362
|
+
<ng-container *ngIf="isItemGroup(item)">
|
1363
|
+
<ng-container *ngIf="!submenuIconTemplate && !_submenuIconTemplate">
|
1364
|
+
<ChevronDownIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="isItemActive(item)" />
|
1365
|
+
<ChevronRightIcon [styleClass]="'p-panelmenu-submenu-icon'" *ngIf="!isItemActive(item)" />
|
1366
|
+
</ng-container>
|
1367
|
+
<ng-template *ngTemplateOutlet="submenuIconTemplate || _submenuIconTemplate"></ng-template>
|
1368
|
+
</ng-container>
|
1369
|
+
<span class="p-panelmenu-submenu-icon" [ngClass]="item.icon" *ngIf="item.icon" [ngStyle]="getItemProp(item, 'iconStyle')"></span>
|
1370
|
+
<span class="p-panelmenu-header-label" *ngIf="getItemProp(item, 'escape') !== false; else htmlRouteLabel">{{ getItemProp(item, 'label') }}</span>
|
1371
|
+
<ng-template #htmlRouteLabel><span class="p-panelmenu-header-label" [innerHTML]="getItemProp(item, 'label')"></span></ng-template>
|
1372
|
+
<span class="p-menuitem-badge" *ngIf="getItemProp(item, 'badge')" [ngClass]="getItemProp(item, 'badgeStyleClass')">{{ getItemProp(item, 'badge') }}</span>
|
1373
|
+
</a>
|
1374
|
+
</div>
|
1375
|
+
</div>
|
1376
|
+
<div
|
1377
|
+
*ngIf="isItemGroup(item)"
|
1378
|
+
class="p-panelmenu-content-container"
|
1379
|
+
[@rootItem]="getAnimation(item)"
|
1380
|
+
(@rootItem.done)="onToggleDone()"
|
1381
|
+
role="region"
|
1382
|
+
[attr.id]="getContentId(item, i)"
|
1383
|
+
[attr.aria-labelledby]="getHeaderId(item, i)"
|
1384
|
+
[attr.data-pc-section]="'toggleablecontent'"
|
1385
|
+
[ngClass]="{ 'p-panelmenu-expanded': isItemActive(item) }"
|
1386
|
+
>
|
1387
|
+
<div class="p-panelmenu-content" [attr.data-pc-section]="'menucontent'">
|
1388
|
+
<p-panelMenuList
|
1389
|
+
[panelId]="getPanelId(i, item)"
|
1390
|
+
[items]="getItemProp(item, 'items')"
|
1391
|
+
[itemTemplate]="itemTemplate || _itemTemplate"
|
1392
|
+
[transitionOptions]="transitionOptions"
|
1393
|
+
[root]="true"
|
1394
|
+
[activeItem]="activeItem()"
|
1395
|
+
[tabindex]="tabindex"
|
1396
|
+
[parentExpanded]="isItemActive(item)"
|
1397
|
+
(headerFocus)="updateFocusedHeader($event)"
|
1398
|
+
></p-panelMenuList>
|
1399
|
+
</div>
|
1400
|
+
</div>
|
1401
|
+
</div>
|
1402
|
+
</ng-container>
|
1403
|
+
</div>
|
1404
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: PanelMenuList, selector: "p-panelMenuList, p-panel-menu-list", inputs: ["panelId", "id", "items", "itemTemplate", "parentExpanded", "expanded", "transitionOptions", "root", "tabindex", "activeItem"], outputs: ["itemToggle", "headerFocus"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronRightIcon, selector: "ChevronRightIcon" }, { kind: "ngmodule", type: SharedModule }], animations: [
|
1405
|
+
trigger('rootItem', [
|
1406
|
+
state('hidden', style({
|
1407
|
+
height: '0',
|
1408
|
+
visibility: 'hidden'
|
1409
|
+
})),
|
1410
|
+
state('visible', style({
|
1411
|
+
height: '*',
|
1412
|
+
visibility: '*'
|
1413
|
+
})),
|
1414
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
1415
|
+
transition('void => *', animate(0))
|
1416
|
+
])
|
1417
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1760
1418
|
}
|
1761
|
-
(
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenu, decorators: [{
|
1420
|
+
type: Component,
|
1421
|
+
args: [{
|
1422
|
+
selector: 'p-panelMenu, p-panelmenu, p-panel-menu',
|
1423
|
+
imports: [CommonModule, PanelMenuList, RouterModule, TooltipModule, ChevronDownIcon, ChevronRightIcon, SharedModule],
|
1424
|
+
standalone: true,
|
1425
|
+
template: `
|
1768
1426
|
<div [class]="styleClass" [ngStyle]="style" [ngClass]="'p-panelmenu p-component'" #container>
|
1769
1427
|
<ng-container *ngFor="let item of model; let f = first; let l = last; let i = index">
|
1770
1428
|
<div *ngIf="isItemVisible(item)" class="p-panelmenu-panel" [ngClass]="getItemProp(item, 'headerClass')" [ngStyle]="getItemProp(item, 'style')" [attr.data-pc-section]="'panel'">
|
@@ -1876,67 +1534,65 @@ class PanelMenu extends BaseComponent {
|
|
1876
1534
|
</ng-container>
|
1877
1535
|
</div>
|
1878
1536
|
`,
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PanelMenu, { className: "PanelMenu", filePath: "panelmenu.ts", lineNumber: 863 }); })();
|
1537
|
+
animations: [
|
1538
|
+
trigger('rootItem', [
|
1539
|
+
state('hidden', style({
|
1540
|
+
height: '0',
|
1541
|
+
visibility: 'hidden'
|
1542
|
+
})),
|
1543
|
+
state('visible', style({
|
1544
|
+
height: '*',
|
1545
|
+
visibility: '*'
|
1546
|
+
})),
|
1547
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
1548
|
+
transition('void => *', animate(0))
|
1549
|
+
])
|
1550
|
+
],
|
1551
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1552
|
+
encapsulation: ViewEncapsulation.None,
|
1553
|
+
providers: [PanelMenuStyle]
|
1554
|
+
}]
|
1555
|
+
}], propDecorators: { model: [{
|
1556
|
+
type: Input
|
1557
|
+
}], style: [{
|
1558
|
+
type: Input
|
1559
|
+
}], styleClass: [{
|
1560
|
+
type: Input
|
1561
|
+
}], multiple: [{
|
1562
|
+
type: Input,
|
1563
|
+
args: [{ transform: booleanAttribute }]
|
1564
|
+
}], transitionOptions: [{
|
1565
|
+
type: Input
|
1566
|
+
}], id: [{
|
1567
|
+
type: Input
|
1568
|
+
}], tabindex: [{
|
1569
|
+
type: Input,
|
1570
|
+
args: [{ transform: numberAttribute }]
|
1571
|
+
}], containerViewChild: [{
|
1572
|
+
type: ViewChild,
|
1573
|
+
args: ['container']
|
1574
|
+
}], submenuIconTemplate: [{
|
1575
|
+
type: ContentChild,
|
1576
|
+
args: ['submenuicon', { descendants: false }]
|
1577
|
+
}], itemTemplate: [{
|
1578
|
+
type: ContentChild,
|
1579
|
+
args: ['item', { descendants: false }]
|
1580
|
+
}], templates: [{
|
1581
|
+
type: ContentChildren,
|
1582
|
+
args: [PrimeTemplate]
|
1583
|
+
}] } });
|
1927
1584
|
class PanelMenuModule {
|
1928
|
-
static ɵfac =
|
1929
|
-
static ɵmod =
|
1930
|
-
static ɵinj =
|
1585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1586
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuModule, imports: [PanelMenu, SharedModule], exports: [PanelMenu, SharedModule] });
|
1587
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuModule, imports: [PanelMenu, SharedModule, SharedModule] });
|
1931
1588
|
}
|
1932
|
-
(
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PanelMenuModule, { imports: [PanelMenu, SharedModule], exports: [PanelMenu, SharedModule] }); })();
|
1589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PanelMenuModule, decorators: [{
|
1590
|
+
type: NgModule,
|
1591
|
+
args: [{
|
1592
|
+
imports: [PanelMenu, SharedModule],
|
1593
|
+
exports: [PanelMenu, SharedModule]
|
1594
|
+
}]
|
1595
|
+
}] });
|
1940
1596
|
|
1941
1597
|
/**
|
1942
1598
|
* Generated bundle index. Do not edit.
|