@exhaustive-ui/core 3.0.0-alpha.0 → 22.0.0-alpha.0
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/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +10 -17
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +786 -928
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
- package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +561 -599
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +227 -394
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +255 -266
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +585 -653
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +1792 -1787
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +480 -577
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +774 -745
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
- package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +68 -102
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
- package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +591 -728
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +324 -375
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +945 -1045
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +861 -879
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +837 -986
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
- package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +2435 -2721
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +604 -690
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +333 -423
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +11 -11
- package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
- package/schematics/migrations/renamed-inputs/migration.js +97 -0
- package/schematics/migrations/styleclass-to-class/migration.js +92 -1
- package/schematics/migrations.json +11 -6
- package/schematics/utils/removed-inputs.js +0 -0
- package/schematics/utils/renamed-inputs.js +175 -0
- package/schematics/utils/styleclass.js +24 -8
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +8 -24
- package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
- package/types/exhaustive-ui-core-api.d.ts +2 -3
- package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
- package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
- package/types/exhaustive-ui-core-avatar.d.ts +18 -25
- package/types/exhaustive-ui-core-badge.d.ts +13 -27
- package/types/exhaustive-ui-core-blockui.d.ts +18 -30
- package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
- package/types/exhaustive-ui-core-button.d.ts +57 -89
- package/types/exhaustive-ui-core-carousel.d.ts +56 -82
- package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
- package/types/exhaustive-ui-core-chart.d.ts +21 -29
- package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
- package/types/exhaustive-ui-core-chip.d.ts +31 -38
- package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
- package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
- package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
- package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
- package/types/exhaustive-ui-core-dataview.d.ts +42 -65
- package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
- package/types/exhaustive-ui-core-dialog.d.ts +73 -123
- package/types/exhaustive-ui-core-dock.d.ts +16 -25
- package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
- package/types/exhaustive-ui-core-drawer.d.ts +32 -64
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
- package/types/exhaustive-ui-core-editor.d.ts +15 -25
- package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
- package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
- package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
- package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
- package/types/exhaustive-ui-core-galleria.d.ts +124 -194
- package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
- package/types/exhaustive-ui-core-image.d.ts +35 -68
- package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
- package/types/exhaustive-ui-core-inplace.d.ts +30 -42
- package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
- package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
- package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
- package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
- package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
- package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
- package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
- package/types/exhaustive-ui-core-knob.d.ts +45 -60
- package/types/exhaustive-ui-core-listbox.d.ts +90 -126
- package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
- package/types/exhaustive-ui-core-menu.d.ts +33 -53
- package/types/exhaustive-ui-core-menubar.d.ts +38 -85
- package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
- package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
- package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
- package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
- package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
- package/types/exhaustive-ui-core-paginator.d.ts +41 -69
- package/types/exhaustive-ui-core-panel.d.ts +18 -45
- package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
- package/types/exhaustive-ui-core-password.d.ts +56 -93
- package/types/exhaustive-ui-core-picklist.d.ts +107 -121
- package/types/exhaustive-ui-core-popover.d.ts +23 -47
- package/types/exhaustive-ui-core-rating.d.ts +18 -26
- package/types/exhaustive-ui-core-scroller.d.ts +90 -120
- package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
- package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
- package/types/exhaustive-ui-core-select.d.ts +137 -188
- package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
- package/types/exhaustive-ui-core-slider.d.ts +52 -67
- package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
- package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
- package/types/exhaustive-ui-core-splitter.d.ts +47 -59
- package/types/exhaustive-ui-core-steps.d.ts +24 -31
- package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
- package/types/exhaustive-ui-core-table.d.ts +349 -453
- package/types/exhaustive-ui-core-terminal.d.ts +10 -22
- package/types/exhaustive-ui-core-textarea.d.ts +7 -10
- package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
- package/types/exhaustive-ui-core-timeline.d.ts +20 -28
- package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
- package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
- package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
- package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
- package/types/exhaustive-ui-core-tree.d.ts +82 -119
- package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
- package/types/exhaustive-ui-core-treetable.d.ts +203 -280
- package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
|
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/drawer';
|
|
|
2
2
|
import * as i2 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Injectable, InjectionToken, inject, input, computed,
|
|
5
|
+
import { Injectable, InjectionToken, inject, afterEveryRender, input, computed, booleanAttribute, numberAttribute, model, output, linkedSignal, signal, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
6
|
import { setAttribute, addClass, removeClass, appendChild } from '@exhaustive-ui/utils';
|
|
7
7
|
import { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
|
|
8
8
|
import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
|
|
@@ -181,8 +181,9 @@ class Drawer extends BaseComponent {
|
|
|
181
181
|
componentName = 'Drawer';
|
|
182
182
|
$pcDrawer = inject(DRAWER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
183
183
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
constructor() {
|
|
185
|
+
super();
|
|
186
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptm('host')));
|
|
186
187
|
}
|
|
187
188
|
/**
|
|
188
189
|
* Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
|
|
@@ -208,78 +209,64 @@ class Drawer extends BaseComponent {
|
|
|
208
209
|
* Whether to block scrolling of the document when drawer is active.
|
|
209
210
|
* @group Props
|
|
210
211
|
*/
|
|
211
|
-
blockScroll = false;
|
|
212
|
+
blockScroll = input(false, { ...(ngDevMode ? { debugName: "blockScroll" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
212
213
|
/**
|
|
213
214
|
* Inline style of the component.
|
|
214
215
|
* @group Props
|
|
215
216
|
*/
|
|
216
|
-
style
|
|
217
|
+
style = input(undefined, /* @ts-ignore */
|
|
218
|
+
...(ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []));
|
|
217
219
|
/**
|
|
218
220
|
* Style class of the component.
|
|
219
221
|
* @group Props
|
|
220
222
|
*/
|
|
221
|
-
styleClass
|
|
223
|
+
styleClass = input(undefined, /* @ts-ignore */
|
|
224
|
+
...(ngDevMode ? [{ debugName: "styleClass" }] : /* istanbul ignore next */ []));
|
|
222
225
|
/**
|
|
223
226
|
* Aria label of the close icon.
|
|
224
227
|
* @group Props
|
|
225
228
|
*/
|
|
226
|
-
ariaCloseLabel
|
|
229
|
+
ariaCloseLabel = input(undefined, /* @ts-ignore */
|
|
230
|
+
...(ngDevMode ? [{ debugName: "ariaCloseLabel" }] : /* istanbul ignore next */ []));
|
|
227
231
|
/**
|
|
228
232
|
* Whether to automatically manage layering.
|
|
229
233
|
* @group Props
|
|
230
234
|
*/
|
|
231
|
-
autoZIndex = true;
|
|
235
|
+
autoZIndex = input(true, { ...(ngDevMode ? { debugName: "autoZIndex" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
232
236
|
/**
|
|
233
237
|
* Base zIndex value to use in layering.
|
|
234
238
|
* @group Props
|
|
235
239
|
*/
|
|
236
|
-
baseZIndex = 0;
|
|
240
|
+
baseZIndex = input(0, { ...(ngDevMode ? { debugName: "baseZIndex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
237
241
|
/**
|
|
238
242
|
* Whether an overlay mask is displayed behind the drawer.
|
|
239
243
|
* @group Props
|
|
240
244
|
*/
|
|
241
|
-
modal = true;
|
|
245
|
+
modal = input(true, { ...(ngDevMode ? { debugName: "modal" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
242
246
|
/**
|
|
243
247
|
* Used to pass all properties of the ButtonProps to the Button component.
|
|
244
248
|
* @group Props
|
|
245
249
|
*/
|
|
246
|
-
closeButtonProps = { severity: 'secondary', text: true, rounded: true }
|
|
250
|
+
closeButtonProps = input({ severity: 'secondary', text: true, rounded: true }, /* @ts-ignore */
|
|
251
|
+
...(ngDevMode ? [{ debugName: "closeButtonProps" }] : /* istanbul ignore next */ []));
|
|
247
252
|
/**
|
|
248
253
|
* Whether to dismiss drawer on click of the mask.
|
|
249
254
|
* @group Props
|
|
250
255
|
*/
|
|
251
|
-
dismissible = true;
|
|
252
|
-
/**
|
|
253
|
-
* Whether to display the close icon.
|
|
254
|
-
* @group Props
|
|
255
|
-
* @deprecated use 'closable' instead.
|
|
256
|
-
*/
|
|
257
|
-
showCloseIcon = true;
|
|
256
|
+
dismissible = input(true, { ...(ngDevMode ? { debugName: "dismissible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
258
257
|
/**
|
|
259
258
|
* Specifies if pressing escape key should hide the drawer.
|
|
260
259
|
* @group Props
|
|
261
260
|
*/
|
|
262
|
-
closeOnEscape = true;
|
|
263
|
-
/**
|
|
264
|
-
* Transition options of the animation.
|
|
265
|
-
* @group Props
|
|
266
|
-
* @deprecated since v21.0.0. Use `motionOptions` instead.
|
|
267
|
-
*/
|
|
268
|
-
transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
|
|
261
|
+
closeOnEscape = input(true, { ...(ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
269
262
|
/**
|
|
270
263
|
* The visible property is an input that determines the visibility of the component.
|
|
264
|
+
* Emits `visibleChange` with the new value when the visibility of the component changes.
|
|
271
265
|
* @defaultValue false
|
|
272
266
|
* @group Props
|
|
273
267
|
*/
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
set visible(value) {
|
|
278
|
-
this._visible = value;
|
|
279
|
-
if (this._visible && !this.modalVisible) {
|
|
280
|
-
this.modalVisible = true;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
268
|
+
visible = model(false, /* @ts-ignore */
|
|
269
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
283
270
|
/**
|
|
284
271
|
* Specifies the position of the drawer, valid values are "left", "right", "bottom" and "top".
|
|
285
272
|
* @defaultValue 'left'
|
|
@@ -302,18 +289,20 @@ class Drawer extends BaseComponent {
|
|
|
302
289
|
* Title content of the dialog.
|
|
303
290
|
* @group Props
|
|
304
291
|
*/
|
|
305
|
-
header
|
|
292
|
+
header = input(undefined, /* @ts-ignore */
|
|
293
|
+
...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
306
294
|
/**
|
|
307
295
|
* Style of the mask.
|
|
308
296
|
* @group Props
|
|
309
297
|
*/
|
|
310
|
-
maskStyle
|
|
298
|
+
maskStyle = input(undefined, /* @ts-ignore */
|
|
299
|
+
...(ngDevMode ? [{ debugName: "maskStyle" }] : /* istanbul ignore next */ []));
|
|
311
300
|
/**
|
|
312
301
|
* Whether to display close button.
|
|
313
302
|
* @group Props
|
|
314
303
|
* @defaultValue true
|
|
315
304
|
*/
|
|
316
|
-
closable = true;
|
|
305
|
+
closable = input(true, { ...(ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
317
306
|
/**
|
|
318
307
|
* Callback to invoke when dialog is shown.
|
|
319
308
|
* @group Emits
|
|
@@ -324,26 +313,19 @@ class Drawer extends BaseComponent {
|
|
|
324
313
|
* @group Emits
|
|
325
314
|
*/
|
|
326
315
|
onHide = output();
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
mask;
|
|
340
|
-
maskClickListener;
|
|
341
|
-
documentEscapeListener;
|
|
342
|
-
animationEndListener;
|
|
316
|
+
modalVisible = linkedSignal({ ...(ngDevMode ? { debugName: "modalVisible" } : /* istanbul ignore next */ {}), source: this.visible,
|
|
317
|
+
computation: (visible, previous) => visible || (previous?.value ?? false) });
|
|
318
|
+
container = signal(undefined, /* @ts-ignore */
|
|
319
|
+
...(ngDevMode ? [{ debugName: "container" }] : /* istanbul ignore next */ []));
|
|
320
|
+
mask = signal(undefined, /* @ts-ignore */
|
|
321
|
+
...(ngDevMode ? [{ debugName: "mask" }] : /* istanbul ignore next */ []));
|
|
322
|
+
maskClickListener = signal(undefined, /* @ts-ignore */
|
|
323
|
+
...(ngDevMode ? [{ debugName: "maskClickListener" }] : /* istanbul ignore next */ []));
|
|
324
|
+
documentEscapeListener = signal(undefined, /* @ts-ignore */
|
|
325
|
+
...(ngDevMode ? [{ debugName: "documentEscapeListener" }] : /* istanbul ignore next */ []));
|
|
326
|
+
animationEndListener = signal(undefined, /* @ts-ignore */
|
|
327
|
+
...(ngDevMode ? [{ debugName: "animationEndListener" }] : /* istanbul ignore next */ []));
|
|
343
328
|
_componentStyle = inject(DrawerStyle);
|
|
344
|
-
onAfterViewInit() {
|
|
345
|
-
this.initialized = true;
|
|
346
|
-
}
|
|
347
329
|
/**
|
|
348
330
|
* Custom header template.
|
|
349
331
|
* @group Templates
|
|
@@ -371,162 +353,160 @@ class Drawer extends BaseComponent {
|
|
|
371
353
|
headlessTemplate = contentChild('headless', { ...(ngDevMode ? { debugName: "headlessTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
372
354
|
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), /* @ts-ignore */
|
|
373
355
|
...(ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []));
|
|
374
|
-
_headerTemplate
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
356
|
+
_headerTemplate = computed(() => this.templates()
|
|
357
|
+
.filter((item) => item.getType() === 'header')
|
|
358
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
359
|
+
...(ngDevMode ? [{ debugName: "_headerTemplate" }] : /* istanbul ignore next */ []));
|
|
360
|
+
_footerTemplate = computed(() => this.templates()
|
|
361
|
+
.filter((item) => item.getType() === 'footer')
|
|
362
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
363
|
+
...(ngDevMode ? [{ debugName: "_footerTemplate" }] : /* istanbul ignore next */ []));
|
|
364
|
+
_contentTemplate = computed(() => this.templates()
|
|
365
|
+
.filter((item) => !['header', 'footer', 'closeicon', 'headless'].includes(item.getType()))
|
|
366
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
367
|
+
...(ngDevMode ? [{ debugName: "_contentTemplate" }] : /* istanbul ignore next */ []));
|
|
368
|
+
_closeIconTemplate = computed(() => this.templates()
|
|
369
|
+
.filter((item) => item.getType() === 'closeicon')
|
|
370
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
371
|
+
...(ngDevMode ? [{ debugName: "_closeIconTemplate" }] : /* istanbul ignore next */ []));
|
|
372
|
+
_headlessTemplate = computed(() => this.templates()
|
|
373
|
+
.filter((item) => item.getType() === 'headless')
|
|
374
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
375
|
+
...(ngDevMode ? [{ debugName: "_headlessTemplate" }] : /* istanbul ignore next */ []));
|
|
379
376
|
templates = contentChildren(PrimeTemplate, /* @ts-ignore */
|
|
380
377
|
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
381
|
-
onAfterContentInit() {
|
|
382
|
-
this.templates()?.forEach((item) => {
|
|
383
|
-
switch (item.getType()) {
|
|
384
|
-
case 'content':
|
|
385
|
-
this._contentTemplate = item.template;
|
|
386
|
-
break;
|
|
387
|
-
case 'header':
|
|
388
|
-
this._headerTemplate = item.template;
|
|
389
|
-
break;
|
|
390
|
-
case 'footer':
|
|
391
|
-
this._footerTemplate = item.template;
|
|
392
|
-
break;
|
|
393
|
-
case 'closeicon':
|
|
394
|
-
this._closeIconTemplate = item.template;
|
|
395
|
-
break;
|
|
396
|
-
case 'headless':
|
|
397
|
-
this._headlessTemplate = item.template;
|
|
398
|
-
break;
|
|
399
|
-
default:
|
|
400
|
-
this._contentTemplate = item.template;
|
|
401
|
-
break;
|
|
402
|
-
}
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
378
|
onKeyDown(event) {
|
|
406
379
|
if (event.code === 'Escape') {
|
|
407
380
|
this.hide(false);
|
|
408
381
|
}
|
|
409
382
|
}
|
|
410
383
|
show() {
|
|
411
|
-
this.container
|
|
412
|
-
|
|
413
|
-
|
|
384
|
+
const container = this.container();
|
|
385
|
+
container?.setAttribute(this.$attrSelector, '');
|
|
386
|
+
if (this.autoZIndex()) {
|
|
387
|
+
ZIndexUtils.set('modal', container, this.baseZIndex() || this.config.zIndex.modal);
|
|
414
388
|
}
|
|
415
|
-
if (this.modal) {
|
|
389
|
+
if (this.modal()) {
|
|
416
390
|
this.enableModality();
|
|
417
391
|
}
|
|
418
392
|
this.onShow.emit({});
|
|
419
|
-
this.visibleChange.emit(true);
|
|
420
393
|
}
|
|
421
394
|
hide(emit = true) {
|
|
422
395
|
if (emit) {
|
|
423
396
|
this.onHide.emit({});
|
|
424
397
|
}
|
|
425
|
-
if (this.modal) {
|
|
398
|
+
if (this.modal()) {
|
|
426
399
|
this.disableModality();
|
|
427
400
|
}
|
|
428
401
|
}
|
|
429
402
|
close(event) {
|
|
430
403
|
this.hide();
|
|
431
|
-
this.
|
|
432
|
-
this.cd.markForCheck();
|
|
404
|
+
this.visible.set(false);
|
|
433
405
|
event.preventDefault();
|
|
434
406
|
}
|
|
435
407
|
enableModality() {
|
|
436
408
|
const activeDrawers = this.document.querySelectorAll('[data-p-open="true"]');
|
|
437
409
|
const activeDrawersLength = activeDrawers.length;
|
|
438
|
-
const zIndex = activeDrawersLength == 1 ? String(parseInt(this.container.style.zIndex) - 1) : String(parseInt(activeDrawers[activeDrawersLength - 1].style.zIndex) - 1);
|
|
439
|
-
if (!this.mask) {
|
|
440
|
-
|
|
441
|
-
|
|
410
|
+
const zIndex = activeDrawersLength == 1 ? String(parseInt(this.container().style.zIndex) - 1) : String(parseInt(activeDrawers[activeDrawersLength - 1].style.zIndex) - 1);
|
|
411
|
+
if (!this.mask()) {
|
|
412
|
+
const mask = this.renderer.createElement('div');
|
|
413
|
+
this.mask.set(mask);
|
|
414
|
+
if (mask) {
|
|
442
415
|
const style = `z-index: ${zIndex};${this.getMaskStyle()}`;
|
|
443
|
-
setAttribute(
|
|
444
|
-
setAttribute(
|
|
445
|
-
addClass(
|
|
416
|
+
setAttribute(mask, 'style', style);
|
|
417
|
+
setAttribute(mask, 'data-p', this.dataP());
|
|
418
|
+
addClass(mask, this.cx('mask'));
|
|
446
419
|
}
|
|
447
|
-
if (this.dismissible) {
|
|
448
|
-
this.maskClickListener
|
|
449
|
-
if (this.dismissible) {
|
|
420
|
+
if (this.dismissible()) {
|
|
421
|
+
this.maskClickListener.set(this.renderer.listen(mask, 'click', (event) => {
|
|
422
|
+
if (this.dismissible()) {
|
|
450
423
|
this.close(event);
|
|
451
424
|
}
|
|
452
|
-
});
|
|
425
|
+
}));
|
|
453
426
|
}
|
|
454
|
-
this.renderer.appendChild(this.document.body,
|
|
455
|
-
if (this.blockScroll) {
|
|
427
|
+
this.renderer.appendChild(this.document.body, mask);
|
|
428
|
+
if (this.blockScroll()) {
|
|
456
429
|
blockBodyScroll();
|
|
457
430
|
}
|
|
458
431
|
}
|
|
459
432
|
}
|
|
460
|
-
getMaskStyle() {
|
|
461
|
-
|
|
462
|
-
|
|
433
|
+
getMaskStyle = computed(() => {
|
|
434
|
+
const maskStyle = this.maskStyle();
|
|
435
|
+
return maskStyle
|
|
436
|
+
? Object.entries(maskStyle)
|
|
463
437
|
.map(([key, value]) => `${key}: ${value}`)
|
|
464
438
|
.join('; ')
|
|
465
439
|
: '';
|
|
466
|
-
}
|
|
440
|
+
}, /* @ts-ignore */
|
|
441
|
+
...(ngDevMode ? [{ debugName: "getMaskStyle" }] : /* istanbul ignore next */ []));
|
|
467
442
|
disableModality() {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
!this.$unstyled() &&
|
|
471
|
-
this
|
|
443
|
+
const mask = this.mask();
|
|
444
|
+
if (mask) {
|
|
445
|
+
!this.$unstyled() && removeClass(mask, 'p-overlay-mask-enter-active');
|
|
446
|
+
!this.$unstyled() && addClass(mask, 'p-overlay-mask-leave-active');
|
|
447
|
+
this.animationEndListener.set(this.renderer.listen(mask, 'animationend', this.destroyModal.bind(this)));
|
|
472
448
|
}
|
|
473
449
|
}
|
|
474
450
|
destroyModal() {
|
|
475
451
|
this.unbindMaskClickListener();
|
|
476
|
-
|
|
477
|
-
|
|
452
|
+
const mask = this.mask();
|
|
453
|
+
if (mask) {
|
|
454
|
+
this.renderer.removeChild(this.document.body, mask);
|
|
478
455
|
}
|
|
479
|
-
if (this.blockScroll) {
|
|
456
|
+
if (this.blockScroll()) {
|
|
480
457
|
unblockBodyScroll();
|
|
481
458
|
}
|
|
482
459
|
this.unbindAnimationEndListener();
|
|
483
|
-
this.mask
|
|
460
|
+
this.mask.set(null);
|
|
484
461
|
}
|
|
485
462
|
onBeforeEnter(event) {
|
|
486
|
-
this.container
|
|
463
|
+
this.container.set(event.element);
|
|
487
464
|
this.appendContainer();
|
|
488
465
|
this.show();
|
|
489
|
-
if (this.closeOnEscape) {
|
|
466
|
+
if (this.closeOnEscape()) {
|
|
490
467
|
this.bindDocumentEscapeListener();
|
|
491
468
|
}
|
|
492
469
|
}
|
|
493
470
|
onAfterLeave() {
|
|
494
471
|
this.hide(false);
|
|
495
|
-
ZIndexUtils.clear(this.container);
|
|
472
|
+
ZIndexUtils.clear(this.container());
|
|
496
473
|
this.unbindGlobalListeners();
|
|
497
|
-
this.modalVisible
|
|
498
|
-
this.container
|
|
474
|
+
this.modalVisible.set(false);
|
|
475
|
+
this.container.set(null);
|
|
499
476
|
}
|
|
500
477
|
appendContainer() {
|
|
501
478
|
if (this.$appendTo() && this.$appendTo() !== 'self') {
|
|
502
479
|
if (this.$appendTo() === 'body') {
|
|
503
|
-
appendChild(this.document.body, this.container);
|
|
480
|
+
appendChild(this.document.body, this.container());
|
|
504
481
|
}
|
|
505
482
|
else {
|
|
506
|
-
appendChild(this.$appendTo(), this.container);
|
|
483
|
+
appendChild(this.$appendTo(), this.container());
|
|
507
484
|
}
|
|
508
485
|
}
|
|
509
486
|
}
|
|
510
487
|
bindDocumentEscapeListener() {
|
|
511
488
|
const documentTarget = this.el ? this.el.nativeElement.ownerDocument : this.document;
|
|
512
|
-
this.documentEscapeListener
|
|
489
|
+
this.documentEscapeListener.set(this.renderer.listen(documentTarget, 'keydown', (event) => {
|
|
513
490
|
if (event.which == 27) {
|
|
514
|
-
|
|
491
|
+
const container = this.container();
|
|
492
|
+
if (parseInt(container?.style.zIndex) === ZIndexUtils.get(container)) {
|
|
515
493
|
this.close(event);
|
|
516
494
|
}
|
|
517
495
|
}
|
|
518
|
-
});
|
|
496
|
+
}));
|
|
519
497
|
}
|
|
520
498
|
unbindDocumentEscapeListener() {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
499
|
+
const documentEscapeListener = this.documentEscapeListener();
|
|
500
|
+
if (documentEscapeListener) {
|
|
501
|
+
documentEscapeListener();
|
|
502
|
+
this.documentEscapeListener.set(null);
|
|
524
503
|
}
|
|
525
504
|
}
|
|
526
505
|
unbindMaskClickListener() {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
506
|
+
const maskClickListener = this.maskClickListener();
|
|
507
|
+
if (maskClickListener) {
|
|
508
|
+
maskClickListener();
|
|
509
|
+
this.maskClickListener.set(null);
|
|
530
510
|
}
|
|
531
511
|
}
|
|
532
512
|
unbindGlobalListeners() {
|
|
@@ -534,79 +514,79 @@ class Drawer extends BaseComponent {
|
|
|
534
514
|
this.unbindDocumentEscapeListener();
|
|
535
515
|
}
|
|
536
516
|
unbindAnimationEndListener() {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
517
|
+
const animationEndListener = this.animationEndListener();
|
|
518
|
+
if (animationEndListener && this.mask()) {
|
|
519
|
+
animationEndListener();
|
|
520
|
+
this.animationEndListener.set(null);
|
|
540
521
|
}
|
|
541
522
|
}
|
|
542
523
|
onDestroy() {
|
|
543
|
-
this.
|
|
544
|
-
if (this.visible && this.modal) {
|
|
524
|
+
if (this.visible() && this.modal()) {
|
|
545
525
|
this.destroyModal();
|
|
546
526
|
}
|
|
547
|
-
|
|
548
|
-
|
|
527
|
+
const container = this.container();
|
|
528
|
+
if (this.$appendTo() && container) {
|
|
529
|
+
this.renderer.appendChild(this.el.nativeElement, container);
|
|
549
530
|
}
|
|
550
|
-
if (
|
|
551
|
-
ZIndexUtils.clear(
|
|
531
|
+
if (container && this.autoZIndex()) {
|
|
532
|
+
ZIndexUtils.clear(container);
|
|
552
533
|
}
|
|
553
|
-
this.container
|
|
534
|
+
this.container.set(null);
|
|
554
535
|
this.unbindGlobalListeners();
|
|
555
536
|
this.unbindAnimationEndListener();
|
|
556
537
|
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}
|
|
565
|
-
static
|
|
566
|
-
|
|
567
|
-
@if (modalVisible) {
|
|
538
|
+
dataP = computed(() => this.cn({
|
|
539
|
+
'full-screen': this.position() === 'full',
|
|
540
|
+
[this.position()]: this.position(),
|
|
541
|
+
open: this.visible(),
|
|
542
|
+
modal: this.modal()
|
|
543
|
+
}), /* @ts-ignore */
|
|
544
|
+
...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
|
|
545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Drawer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Drawer, isStandalone: true, selector: "p-drawer", inputs: { appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, blockScroll: { classPropertyName: "blockScroll", publicName: "blockScroll", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, ariaCloseLabel: { classPropertyName: "ariaCloseLabel", publicName: "ariaCloseLabel", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, closeButtonProps: { classPropertyName: "closeButtonProps", publicName: "closeButtonProps", isSignal: true, isRequired: false, transformFunction: null }, dismissible: { classPropertyName: "dismissible", publicName: "dismissible", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, fullScreen: { classPropertyName: "fullScreen", publicName: "fullScreen", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, maskStyle: { classPropertyName: "maskStyle", publicName: "maskStyle", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", onShow: "onShow", onHide: "onHide" }, providers: [DrawerStyle, { provide: DRAWER_INSTANCE, useExisting: Drawer }, { provide: PARENT_INSTANCE, useExisting: Drawer }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: ["closeicon"], isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
547
|
+
@if (modalVisible()) {
|
|
568
548
|
<div
|
|
569
549
|
#container
|
|
570
550
|
[pBind]="ptm('root')"
|
|
571
|
-
[pMotion]="visible"
|
|
551
|
+
[pMotion]="visible()"
|
|
572
552
|
[pMotionAppear]="true"
|
|
573
553
|
[pMotionEnterActiveClass]="$enterAnimation()"
|
|
574
554
|
[pMotionLeaveActiveClass]="$leaveAnimation()"
|
|
575
555
|
[pMotionOptions]="computedMotionOptions()"
|
|
576
556
|
(pMotionOnBeforeEnter)="onBeforeEnter($event)"
|
|
577
557
|
(pMotionOnAfterLeave)="onAfterLeave($event)"
|
|
578
|
-
[class]="cn(cx('root'), styleClass)"
|
|
579
|
-
[style]="style"
|
|
558
|
+
[class]="cn(cx('root'), styleClass())"
|
|
559
|
+
[style]="style()"
|
|
580
560
|
role="complementary"
|
|
581
561
|
(keydown)="onKeyDown($event)"
|
|
582
562
|
pFocusTrap
|
|
583
|
-
[attr.data-p]="dataP"
|
|
584
|
-
[attr.data-p-open]="visible"
|
|
563
|
+
[attr.data-p]="dataP()"
|
|
564
|
+
[attr.data-p-open]="visible()"
|
|
585
565
|
>
|
|
586
|
-
@if (headlessTemplate() || _headlessTemplate) {
|
|
587
|
-
<ng-container *ngTemplateOutlet="headlessTemplate() || _headlessTemplate"></ng-container>
|
|
566
|
+
@if (headlessTemplate() || _headlessTemplate()) {
|
|
567
|
+
<ng-container *ngTemplateOutlet="headlessTemplate() || _headlessTemplate()"></ng-container>
|
|
588
568
|
} @else {
|
|
589
569
|
<div [pBind]="ptm('header')" [ngClass]="cx('header')" [attr.data-pc-section]="'header'">
|
|
590
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
591
|
-
@if (header) {
|
|
592
|
-
<div [pBind]="ptm('title')" [class]="cx('title')">{{ header }}</div>
|
|
570
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
571
|
+
@if (header()) {
|
|
572
|
+
<div [pBind]="ptm('title')" [class]="cx('title')">{{ header() }}</div>
|
|
593
573
|
}
|
|
594
|
-
@if (
|
|
574
|
+
@if (closable()) {
|
|
595
575
|
<p-button
|
|
596
576
|
[pt]="ptm('pcCloseButton')"
|
|
597
577
|
[ngClass]="cx('pcCloseButton')"
|
|
598
578
|
(onClick)="close($event)"
|
|
599
579
|
(keydown.enter)="close($event)"
|
|
600
|
-
[buttonProps]="closeButtonProps"
|
|
601
|
-
[ariaLabel]="ariaCloseLabel"
|
|
580
|
+
[buttonProps]="closeButtonProps()"
|
|
581
|
+
[ariaLabel]="ariaCloseLabel()"
|
|
602
582
|
[attr.data-pc-group-section]="'iconcontainer'"
|
|
603
583
|
[unstyled]="unstyled()"
|
|
604
584
|
>
|
|
605
585
|
<ng-template #icon>
|
|
606
|
-
@if (!closeIconTemplate() && !_closeIconTemplate) {
|
|
586
|
+
@if (!closeIconTemplate() && !_closeIconTemplate()) {
|
|
607
587
|
<svg data-p-icon="times" [attr.data-pc-section]="'closeicon'" />
|
|
608
588
|
}
|
|
609
|
-
<ng-template *ngTemplateOutlet="closeIconTemplate() || _closeIconTemplate"></ng-template>
|
|
589
|
+
<ng-template *ngTemplateOutlet="closeIconTemplate() || _closeIconTemplate()"></ng-template>
|
|
610
590
|
</ng-template>
|
|
611
591
|
</p-button>
|
|
612
592
|
}
|
|
@@ -614,71 +594,70 @@ class Drawer extends BaseComponent {
|
|
|
614
594
|
|
|
615
595
|
<div [pBind]="ptm('content')" [ngClass]="cx('content')" [attr.data-pc-section]="'content'">
|
|
616
596
|
<ng-content></ng-content>
|
|
617
|
-
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate"></ng-container>
|
|
597
|
+
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate()"></ng-container>
|
|
618
598
|
</div>
|
|
619
599
|
|
|
620
|
-
@if (footerTemplate() || _footerTemplate) {
|
|
600
|
+
@if (footerTemplate() || _footerTemplate()) {
|
|
621
601
|
<div [pBind]="ptm('footer')" [ngClass]="cx('footer')" [attr.data-pc-section]="'footer'">
|
|
622
|
-
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate"></ng-container>
|
|
602
|
+
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>
|
|
623
603
|
</div>
|
|
624
604
|
}
|
|
625
605
|
}
|
|
626
606
|
</div>
|
|
627
607
|
}
|
|
628
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "
|
|
608
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: FocusTrapModule }, { kind: "directive", type: i3.FocusTrap, selector: "[pFocusTrap]", inputs: ["pFocusTrapDisabled"] }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i4.MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
629
609
|
}
|
|
630
610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Drawer, decorators: [{
|
|
631
611
|
type: Component,
|
|
632
612
|
args: [{
|
|
633
613
|
selector: 'p-drawer',
|
|
634
|
-
standalone: true,
|
|
635
614
|
imports: [CommonModule, Button, TimesIcon, SharedModule, Bind, FocusTrapModule, MotionModule],
|
|
636
615
|
providers: [DrawerStyle, { provide: DRAWER_INSTANCE, useExisting: Drawer }, { provide: PARENT_INSTANCE, useExisting: Drawer }],
|
|
637
616
|
hostDirectives: [Bind],
|
|
638
617
|
template: `
|
|
639
|
-
@if (modalVisible) {
|
|
618
|
+
@if (modalVisible()) {
|
|
640
619
|
<div
|
|
641
620
|
#container
|
|
642
621
|
[pBind]="ptm('root')"
|
|
643
|
-
[pMotion]="visible"
|
|
622
|
+
[pMotion]="visible()"
|
|
644
623
|
[pMotionAppear]="true"
|
|
645
624
|
[pMotionEnterActiveClass]="$enterAnimation()"
|
|
646
625
|
[pMotionLeaveActiveClass]="$leaveAnimation()"
|
|
647
626
|
[pMotionOptions]="computedMotionOptions()"
|
|
648
627
|
(pMotionOnBeforeEnter)="onBeforeEnter($event)"
|
|
649
628
|
(pMotionOnAfterLeave)="onAfterLeave($event)"
|
|
650
|
-
[class]="cn(cx('root'), styleClass)"
|
|
651
|
-
[style]="style"
|
|
629
|
+
[class]="cn(cx('root'), styleClass())"
|
|
630
|
+
[style]="style()"
|
|
652
631
|
role="complementary"
|
|
653
632
|
(keydown)="onKeyDown($event)"
|
|
654
633
|
pFocusTrap
|
|
655
|
-
[attr.data-p]="dataP"
|
|
656
|
-
[attr.data-p-open]="visible"
|
|
634
|
+
[attr.data-p]="dataP()"
|
|
635
|
+
[attr.data-p-open]="visible()"
|
|
657
636
|
>
|
|
658
|
-
@if (headlessTemplate() || _headlessTemplate) {
|
|
659
|
-
<ng-container *ngTemplateOutlet="headlessTemplate() || _headlessTemplate"></ng-container>
|
|
637
|
+
@if (headlessTemplate() || _headlessTemplate()) {
|
|
638
|
+
<ng-container *ngTemplateOutlet="headlessTemplate() || _headlessTemplate()"></ng-container>
|
|
660
639
|
} @else {
|
|
661
640
|
<div [pBind]="ptm('header')" [ngClass]="cx('header')" [attr.data-pc-section]="'header'">
|
|
662
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
663
|
-
@if (header) {
|
|
664
|
-
<div [pBind]="ptm('title')" [class]="cx('title')">{{ header }}</div>
|
|
641
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
642
|
+
@if (header()) {
|
|
643
|
+
<div [pBind]="ptm('title')" [class]="cx('title')">{{ header() }}</div>
|
|
665
644
|
}
|
|
666
|
-
@if (
|
|
645
|
+
@if (closable()) {
|
|
667
646
|
<p-button
|
|
668
647
|
[pt]="ptm('pcCloseButton')"
|
|
669
648
|
[ngClass]="cx('pcCloseButton')"
|
|
670
649
|
(onClick)="close($event)"
|
|
671
650
|
(keydown.enter)="close($event)"
|
|
672
|
-
[buttonProps]="closeButtonProps"
|
|
673
|
-
[ariaLabel]="ariaCloseLabel"
|
|
651
|
+
[buttonProps]="closeButtonProps()"
|
|
652
|
+
[ariaLabel]="ariaCloseLabel()"
|
|
674
653
|
[attr.data-pc-group-section]="'iconcontainer'"
|
|
675
654
|
[unstyled]="unstyled()"
|
|
676
655
|
>
|
|
677
656
|
<ng-template #icon>
|
|
678
|
-
@if (!closeIconTemplate() && !_closeIconTemplate) {
|
|
657
|
+
@if (!closeIconTemplate() && !_closeIconTemplate()) {
|
|
679
658
|
<svg data-p-icon="times" [attr.data-pc-section]="'closeicon'" />
|
|
680
659
|
}
|
|
681
|
-
<ng-template *ngTemplateOutlet="closeIconTemplate() || _closeIconTemplate"></ng-template>
|
|
660
|
+
<ng-template *ngTemplateOutlet="closeIconTemplate() || _closeIconTemplate()"></ng-template>
|
|
682
661
|
</ng-template>
|
|
683
662
|
</p-button>
|
|
684
663
|
}
|
|
@@ -686,12 +665,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
686
665
|
|
|
687
666
|
<div [pBind]="ptm('content')" [ngClass]="cx('content')" [attr.data-pc-section]="'content'">
|
|
688
667
|
<ng-content></ng-content>
|
|
689
|
-
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate"></ng-container>
|
|
668
|
+
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate()"></ng-container>
|
|
690
669
|
</div>
|
|
691
670
|
|
|
692
|
-
@if (footerTemplate() || _footerTemplate) {
|
|
671
|
+
@if (footerTemplate() || _footerTemplate()) {
|
|
693
672
|
<div [pBind]="ptm('footer')" [ngClass]="cx('footer')" [attr.data-pc-section]="'footer'">
|
|
694
|
-
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate"></ng-container>
|
|
673
|
+
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>
|
|
695
674
|
</div>
|
|
696
675
|
}
|
|
697
676
|
}
|
|
@@ -701,47 +680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
701
680
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
702
681
|
encapsulation: ViewEncapsulation.None
|
|
703
682
|
}]
|
|
704
|
-
}], propDecorators: { appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], blockScroll: [{
|
|
705
|
-
type: Input,
|
|
706
|
-
args: [{ transform: booleanAttribute }]
|
|
707
|
-
}], style: [{
|
|
708
|
-
type: Input
|
|
709
|
-
}], styleClass: [{
|
|
710
|
-
type: Input
|
|
711
|
-
}], ariaCloseLabel: [{
|
|
712
|
-
type: Input
|
|
713
|
-
}], autoZIndex: [{
|
|
714
|
-
type: Input,
|
|
715
|
-
args: [{ transform: booleanAttribute }]
|
|
716
|
-
}], baseZIndex: [{
|
|
717
|
-
type: Input,
|
|
718
|
-
args: [{ transform: numberAttribute }]
|
|
719
|
-
}], modal: [{
|
|
720
|
-
type: Input,
|
|
721
|
-
args: [{ transform: booleanAttribute }]
|
|
722
|
-
}], closeButtonProps: [{
|
|
723
|
-
type: Input
|
|
724
|
-
}], dismissible: [{
|
|
725
|
-
type: Input,
|
|
726
|
-
args: [{ transform: booleanAttribute }]
|
|
727
|
-
}], showCloseIcon: [{
|
|
728
|
-
type: Input,
|
|
729
|
-
args: [{ transform: booleanAttribute }]
|
|
730
|
-
}], closeOnEscape: [{
|
|
731
|
-
type: Input,
|
|
732
|
-
args: [{ transform: booleanAttribute }]
|
|
733
|
-
}], transitionOptions: [{
|
|
734
|
-
type: Input
|
|
735
|
-
}], visible: [{
|
|
736
|
-
type: Input
|
|
737
|
-
}], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], fullScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullScreen", required: false }] }], header: [{
|
|
738
|
-
type: Input
|
|
739
|
-
}], maskStyle: [{
|
|
740
|
-
type: Input
|
|
741
|
-
}], closable: [{
|
|
742
|
-
type: Input,
|
|
743
|
-
args: [{ transform: booleanAttribute }]
|
|
744
|
-
}], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], visibleChange: [{ type: i0.Output, args: ["visibleChange"] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: ['closeicon', { ...{ descendants: false }, isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: ['headless', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
683
|
+
}], ctorParameters: () => [], propDecorators: { appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], blockScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "blockScroll", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], ariaCloseLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaCloseLabel", required: false }] }], autoZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZIndex", required: false }] }], baseZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseZIndex", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], closeButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeButtonProps", required: false }] }], dismissible: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissible", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], fullScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullScreen", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], maskStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskStyle", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: ['closeicon', { ...{ descendants: false }, isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: ['headless', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
745
684
|
class DrawerModule {
|
|
746
685
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
747
686
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: DrawerModule, imports: [Drawer, SharedModule], exports: [Drawer, SharedModule] });
|