@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@angular/common';
|
|
2
2
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, ViewContainerRef, Directive, Injectable, InjectionToken, viewChild, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule, ApplicationRef, Injector, createComponent } from '@angular/core';
|
|
4
|
+
import { inject, ViewContainerRef, Directive, Injectable, InjectionToken, afterEveryRender, afterNextRender, signal, viewChild, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule, ApplicationRef, Injector, createComponent } from '@angular/core';
|
|
5
5
|
import { uuid, appendChild } from '@exhaustive-ui/utils';
|
|
6
6
|
import { TranslationKeys, SharedModule } from '@exhaustive-ui/core/api';
|
|
7
7
|
import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
|
|
@@ -82,6 +82,7 @@ class DynamicDialogConfig {
|
|
|
82
82
|
dismissableMask = false;
|
|
83
83
|
/**
|
|
84
84
|
* Inline style of the component.
|
|
85
|
+
* @deprecated since v3.0.0. It has no effect anymore: the dialog never read it.
|
|
85
86
|
* @group Props
|
|
86
87
|
*/
|
|
87
88
|
rtl = false;
|
|
@@ -102,6 +103,7 @@ class DynamicDialogConfig {
|
|
|
102
103
|
styleClass;
|
|
103
104
|
/**
|
|
104
105
|
* Transition options of the animation.
|
|
106
|
+
* @deprecated since v3.0.0. It has no effect anymore: the dialog animation is driven by motion options.
|
|
105
107
|
* @group Props
|
|
106
108
|
*/
|
|
107
109
|
transitionOptions;
|
|
@@ -403,16 +405,25 @@ class DynamicDialog extends BaseComponent {
|
|
|
403
405
|
_componentStyle = inject(DynamicDialogStyle);
|
|
404
406
|
$pcDynamicDialog = inject(DYNAMIC_DIALOG_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
405
407
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
406
|
-
|
|
407
|
-
|
|
408
|
+
constructor() {
|
|
409
|
+
super();
|
|
410
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
|
|
411
|
+
afterNextRender(() => {
|
|
412
|
+
this.loadChildComponent(this.childComponentType());
|
|
413
|
+
this.cd.detectChanges();
|
|
414
|
+
});
|
|
408
415
|
}
|
|
409
|
-
visible = true
|
|
410
|
-
|
|
416
|
+
visible = signal(true, /* @ts-ignore */
|
|
417
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
418
|
+
componentRef = signal(undefined, /* @ts-ignore */
|
|
419
|
+
...(ngDevMode ? [{ debugName: "componentRef" }] : /* istanbul ignore next */ []));
|
|
411
420
|
id = uuid('pn_id_');
|
|
412
421
|
insertionPoint = viewChild(DynamicDialogContent, /* @ts-ignore */
|
|
413
422
|
...(ngDevMode ? [{ debugName: "insertionPoint" }] : /* istanbul ignore next */ []));
|
|
414
|
-
childComponentType
|
|
415
|
-
|
|
423
|
+
childComponentType = signal(undefined, /* @ts-ignore */
|
|
424
|
+
...(ngDevMode ? [{ debugName: "childComponentType" }] : /* istanbul ignore next */ []));
|
|
425
|
+
inputValues = signal(undefined, /* @ts-ignore */
|
|
426
|
+
...(ngDevMode ? [{ debugName: "inputValues" }] : /* istanbul ignore next */ []));
|
|
416
427
|
get minX() {
|
|
417
428
|
return this.ddconfig.minX ? this.ddconfig.minX : 0;
|
|
418
429
|
}
|
|
@@ -480,305 +491,61 @@ class DynamicDialog extends BaseComponent {
|
|
|
480
491
|
get isUnstyled() {
|
|
481
492
|
return this.ddconfig.unstyled || this.$unstyled();
|
|
482
493
|
}
|
|
483
|
-
maximized
|
|
484
|
-
|
|
485
|
-
resizing
|
|
486
|
-
|
|
487
|
-
_style = {};
|
|
488
|
-
styleElement;
|
|
489
|
-
lastPageX;
|
|
490
|
-
lastPageY;
|
|
491
|
-
contentViewChild;
|
|
492
|
-
footerViewChild;
|
|
493
|
-
headerViewChild;
|
|
494
|
-
maskViewChild;
|
|
495
|
-
maskClickListener;
|
|
496
|
-
documentDragListener;
|
|
497
|
-
documentDragEndListener;
|
|
498
|
-
documentResizeListener;
|
|
499
|
-
documentResizeEndListener;
|
|
500
|
-
documentEscapeListener;
|
|
494
|
+
maximized = signal(undefined, /* @ts-ignore */
|
|
495
|
+
...(ngDevMode ? [{ debugName: "maximized" }] : /* istanbul ignore next */ []));
|
|
496
|
+
resizing = signal(undefined, /* @ts-ignore */
|
|
497
|
+
...(ngDevMode ? [{ debugName: "resizing" }] : /* istanbul ignore next */ []));
|
|
501
498
|
onVisibleChange(visible) {
|
|
502
499
|
if (!visible) {
|
|
503
500
|
this.dialogRef.close();
|
|
504
501
|
}
|
|
505
502
|
}
|
|
506
|
-
onAfterViewInit() {
|
|
507
|
-
this.loadChildComponent(this.childComponentType);
|
|
508
|
-
this.ariaLabelledBy = this.getAriaLabelledBy();
|
|
509
|
-
this.cd.detectChanges();
|
|
510
|
-
}
|
|
511
|
-
getAriaLabelledBy() {
|
|
512
|
-
const { header, showHeader, ariaLabelledBy } = this.ddconfig;
|
|
513
|
-
if (ariaLabelledBy) {
|
|
514
|
-
return ariaLabelledBy;
|
|
515
|
-
}
|
|
516
|
-
if (header === null || showHeader === false) {
|
|
517
|
-
return null;
|
|
518
|
-
}
|
|
519
|
-
return uuid('pn_id_') + '_header';
|
|
520
|
-
}
|
|
521
503
|
loadChildComponent(componentType) {
|
|
522
504
|
let viewContainerRef = this.insertionPoint()?.viewContainerRef;
|
|
523
505
|
viewContainerRef?.clear();
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
506
|
+
const componentRef = viewContainerRef?.createComponent(componentType);
|
|
507
|
+
this.componentRef.set(componentRef);
|
|
508
|
+
const inputValues = this.inputValues();
|
|
509
|
+
if (inputValues && componentRef) {
|
|
510
|
+
Object.entries(inputValues).forEach(([key, value]) => {
|
|
511
|
+
componentRef.setInput(key, value);
|
|
528
512
|
});
|
|
529
513
|
}
|
|
530
|
-
this.dialogRef.onChildComponentLoaded.next(
|
|
514
|
+
this.dialogRef.onChildComponentLoaded.next(componentRef.instance);
|
|
531
515
|
}
|
|
532
516
|
onDialogHide(event) {
|
|
533
517
|
this.dialogRef.destroy();
|
|
534
518
|
}
|
|
535
519
|
onDialogMaximize(event) {
|
|
536
|
-
this.maximized
|
|
520
|
+
this.maximized.set(event.maximized);
|
|
537
521
|
this.dialogRef.maximize(event);
|
|
538
522
|
}
|
|
539
523
|
onDialogResizeInit(event) {
|
|
540
|
-
this.resizing
|
|
524
|
+
this.resizing.set(true);
|
|
541
525
|
this.dialogRef.resizeInit(event);
|
|
542
526
|
}
|
|
543
527
|
onDialogResizeEnd(event) {
|
|
544
|
-
this.resizing
|
|
528
|
+
this.resizing.set(false);
|
|
545
529
|
this.dialogRef.resizeEnd(event);
|
|
546
530
|
}
|
|
547
531
|
onDialogDragEnd(event) {
|
|
548
|
-
this.dragging = false;
|
|
549
532
|
this.dialogRef.dragEnd(event);
|
|
550
533
|
}
|
|
551
534
|
close() {
|
|
552
|
-
this.visible
|
|
553
|
-
this.cd.markForCheck();
|
|
535
|
+
this.visible.set(false);
|
|
554
536
|
}
|
|
555
537
|
hide() {
|
|
556
538
|
if (this.dialogRef) {
|
|
557
539
|
this.dialogRef.close();
|
|
558
540
|
}
|
|
559
541
|
}
|
|
560
|
-
get _parent() {
|
|
561
|
-
const domElements = Array.from(this.document.getElementsByClassName('p-dialog'));
|
|
562
|
-
if (domElements.length > 1) {
|
|
563
|
-
return domElements.pop();
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
get parentContent() {
|
|
567
|
-
const domElements = Array.from(this.document.getElementsByClassName('p-dialog'));
|
|
568
|
-
if (domElements.length > 0) {
|
|
569
|
-
const contentElements = domElements[domElements.length - 1].querySelector('.p-dialog-content');
|
|
570
|
-
if (contentElements)
|
|
571
|
-
return Array.isArray(contentElements) ? contentElements[0] : contentElements;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
container;
|
|
575
|
-
wrapper;
|
|
576
|
-
unbindGlobalListeners() {
|
|
577
|
-
this.unbindDocumentEscapeListener();
|
|
578
|
-
this.unbindDocumentResizeListeners();
|
|
579
|
-
this.unbindDocumentDragListener();
|
|
580
|
-
this.unbindDocumentDragEndListener();
|
|
581
|
-
}
|
|
582
|
-
onAnimationStart(event) {
|
|
583
|
-
if (event.toState === 'visible') {
|
|
584
|
-
// If parent dialog exists, unbind its listeners first
|
|
585
|
-
if (this._parent) {
|
|
586
|
-
this.unbindGlobalListeners();
|
|
587
|
-
}
|
|
588
|
-
if (this.ddconfig.modal) {
|
|
589
|
-
this.enableModality();
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
onAnimationEnd(event) {
|
|
594
|
-
if (event.toState === 'void') {
|
|
595
|
-
this.onContainerDestroy();
|
|
596
|
-
this.dialogRef.destroy();
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
onContainerDestroy() {
|
|
600
|
-
this.unbindGlobalListeners();
|
|
601
|
-
if (this.ddconfig.modal) {
|
|
602
|
-
this.disableModality();
|
|
603
|
-
}
|
|
604
|
-
this.container = null;
|
|
605
|
-
}
|
|
606
|
-
bindDocumentDragListener() {
|
|
607
|
-
if (!this.documentDragListener) {
|
|
608
|
-
this.documentDragListener = this.renderer.listen(this.document.defaultView, 'mousemove', (event) => {
|
|
609
|
-
this.onDrag(event);
|
|
610
|
-
});
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
bindDocumentDragEndListener() {
|
|
614
|
-
if (!this.documentDragEndListener) {
|
|
615
|
-
this.documentDragEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', (event) => {
|
|
616
|
-
this.endDrag(event);
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
unbindDocumentDragEndListener() {
|
|
621
|
-
if (this.documentDragEndListener) {
|
|
622
|
-
this.documentDragEndListener();
|
|
623
|
-
this.documentDragEndListener = null;
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
unbindDocumentDragListener() {
|
|
627
|
-
if (this.documentDragListener) {
|
|
628
|
-
this.documentDragListener();
|
|
629
|
-
this.documentDragListener = null;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
initDrag(event) {
|
|
633
|
-
// Don't initialize drag when clicking on header icons
|
|
634
|
-
if (event.target instanceof HTMLElement) {
|
|
635
|
-
const target = event.target;
|
|
636
|
-
if (target.closest('.p-dialog-header-icon') || target.closest('.p-dialog-header-icons')) {
|
|
637
|
-
return;
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
this.dragging = true;
|
|
641
|
-
this.lastPageX = event.pageX;
|
|
642
|
-
this.lastPageY = event.pageY;
|
|
643
|
-
this.dialogRef.dragStart(event);
|
|
644
|
-
this.bindDocumentDragListener();
|
|
645
|
-
this.bindDocumentDragEndListener();
|
|
646
|
-
// Handled by Dialog component
|
|
647
|
-
}
|
|
648
|
-
onDrag(event) {
|
|
649
|
-
if (this.dragging) {
|
|
650
|
-
this.lastPageX = event.pageX;
|
|
651
|
-
this.lastPageY = event.pageY;
|
|
652
|
-
if (this.ddconfig.keepInViewport && this.container) {
|
|
653
|
-
this.container.style.position = 'fixed';
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
endDrag(event) {
|
|
658
|
-
if (this.dragging) {
|
|
659
|
-
this.dragging = false;
|
|
660
|
-
this.dialogRef.dragEnd(event);
|
|
661
|
-
this.cd.detectChanges();
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
resetPosition() {
|
|
665
|
-
if (this.container) {
|
|
666
|
-
this.container.style.position = '';
|
|
667
|
-
this.container.style.left = '';
|
|
668
|
-
this.container.style.top = '';
|
|
669
|
-
this.container.style.margin = '';
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
bindDocumentResizeListeners() {
|
|
673
|
-
if (!this.documentResizeListener) {
|
|
674
|
-
this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'mousemove', (event) => {
|
|
675
|
-
this.onResize(event);
|
|
676
|
-
});
|
|
677
|
-
}
|
|
678
|
-
if (!this.documentResizeEndListener) {
|
|
679
|
-
this.documentResizeEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', (event) => {
|
|
680
|
-
this.resizeEnd(event);
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
unbindDocumentResizeListeners() {
|
|
685
|
-
if (this.documentResizeListener) {
|
|
686
|
-
this.documentResizeListener();
|
|
687
|
-
this.documentResizeListener = null;
|
|
688
|
-
}
|
|
689
|
-
if (this.documentResizeEndListener) {
|
|
690
|
-
this.documentResizeEndListener();
|
|
691
|
-
this.documentResizeEndListener = null;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
initResize(event) {
|
|
695
|
-
this.resizing = true;
|
|
696
|
-
this.lastPageX = event.pageX;
|
|
697
|
-
this.lastPageY = event.pageY;
|
|
698
|
-
this.dialogRef.resizeInit(event);
|
|
699
|
-
}
|
|
700
|
-
onResize(event) {
|
|
701
|
-
if (this.resizing) {
|
|
702
|
-
this.lastPageX = event.pageX;
|
|
703
|
-
this.lastPageY = event.pageY;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
resizeEnd(event) {
|
|
707
|
-
if (this.resizing) {
|
|
708
|
-
this.resizing = false;
|
|
709
|
-
this.dialogRef.resizeEnd(event);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
maximize() {
|
|
713
|
-
this.maximized = !this.maximized;
|
|
714
|
-
this.dialogRef.maximize({ maximized: this.maximized });
|
|
715
|
-
}
|
|
716
|
-
enableModality() {
|
|
717
|
-
if (this.ddconfig.dismissableMask && this.wrapper) {
|
|
718
|
-
this.maskClickListener = this.renderer.listen(this.wrapper, 'mousedown', (event) => {
|
|
719
|
-
if (this.wrapper && this.wrapper.isSameNode(event.target)) {
|
|
720
|
-
this.hide();
|
|
721
|
-
}
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
disableModality() {
|
|
726
|
-
this.unbindMaskClickListener();
|
|
727
|
-
this.cd.detectChanges();
|
|
728
|
-
}
|
|
729
|
-
unbindMaskClickListener() {
|
|
730
|
-
if (this.maskClickListener) {
|
|
731
|
-
this.maskClickListener();
|
|
732
|
-
this.maskClickListener = null;
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
bindDocumentEscapeListener() {
|
|
736
|
-
if (this.ddconfig.closeOnEscape) {
|
|
737
|
-
this.documentEscapeListener = this.renderer.listen(this.document, 'keydown', (event) => {
|
|
738
|
-
if (event.key === 'Escape' && this.container) {
|
|
739
|
-
this.hide();
|
|
740
|
-
}
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
unbindDocumentEscapeListener() {
|
|
745
|
-
if (this.documentEscapeListener) {
|
|
746
|
-
this.documentEscapeListener();
|
|
747
|
-
this.documentEscapeListener = null;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
createStyle() {
|
|
751
|
-
if (!this.styleElement && this.breakpoints) {
|
|
752
|
-
this.styleElement = this.renderer.createElement('style');
|
|
753
|
-
this.styleElement.type = 'text/css';
|
|
754
|
-
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
755
|
-
let innerHTML = '';
|
|
756
|
-
for (let breakpoint in this.breakpoints) {
|
|
757
|
-
innerHTML += `
|
|
758
|
-
@media screen and (max-width: ${breakpoint}) {
|
|
759
|
-
.p-dialog[${this.dialogId}] {
|
|
760
|
-
width: ${this.breakpoints[breakpoint]} !important;
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
`;
|
|
764
|
-
}
|
|
765
|
-
this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
destroyStyle() {
|
|
769
|
-
if (this.styleElement) {
|
|
770
|
-
this.renderer.removeChild(this.document.head, this.styleElement);
|
|
771
|
-
this.styleElement = null;
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
542
|
onDestroy() {
|
|
775
|
-
this.
|
|
776
|
-
if (
|
|
777
|
-
|
|
543
|
+
const componentRef = this.componentRef();
|
|
544
|
+
if (componentRef && typeof componentRef.destroy === 'function') {
|
|
545
|
+
componentRef.destroy();
|
|
778
546
|
}
|
|
779
|
-
this.destroyStyle();
|
|
780
547
|
}
|
|
781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DynamicDialog, deps:
|
|
548
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DynamicDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
782
549
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: DynamicDialog, isStandalone: true, selector: "p-dynamicDialog, p-dynamicdialog, p-dynamic-dialog", providers: [DynamicDialogStyle, { provide: DYNAMIC_DIALOG_INSTANCE, useExisting: DynamicDialog }, { provide: PARENT_INSTANCE, useExisting: DynamicDialog }], viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: DynamicDialogContent, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
783
550
|
<p-dialog
|
|
784
551
|
[(visible)]="visible"
|
|
@@ -789,7 +556,6 @@ class DynamicDialog extends BaseComponent {
|
|
|
789
556
|
[modal]="ddconfig?.modal !== false"
|
|
790
557
|
[closeOnEscape]="ddconfig?.closeOnEscape !== false"
|
|
791
558
|
[dismissableMask]="ddconfig?.dismissableMask"
|
|
792
|
-
[rtl]="ddconfig?.rtl"
|
|
793
559
|
[closable]="closable"
|
|
794
560
|
[breakpoints]="breakpoints"
|
|
795
561
|
[styleClass]="ddconfig?.styleClass"
|
|
@@ -803,7 +569,6 @@ class DynamicDialog extends BaseComponent {
|
|
|
803
569
|
[maximizable]="maximizable"
|
|
804
570
|
[keepInViewport]="keepInViewport"
|
|
805
571
|
[focusTrap]="ddconfig?.focusTrap !== false"
|
|
806
|
-
[transitionOptions]="ddconfig?.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'"
|
|
807
572
|
[closeAriaLabel]="ddconfig?.closeAriaLabel || defaultCloseAriaLabel"
|
|
808
573
|
[ariaLabelledBy]="ddconfig?.ariaLabelledBy"
|
|
809
574
|
[minimizeIcon]="minimizeIcon"
|
|
@@ -861,13 +626,12 @@ class DynamicDialog extends BaseComponent {
|
|
|
861
626
|
<div>{{ ddconfig.footer }}</div>
|
|
862
627
|
}
|
|
863
628
|
</p-dialog>
|
|
864
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: DynamicDialogContent, selector: "[pDynamicDialogContent]" }, { kind: "component", type: Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "
|
|
629
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: DynamicDialogContent, selector: "[pDynamicDialogContent]" }, { kind: "component", type: Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "ariaLabelledBy", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["visibleChange", "onShow", "onHide", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
865
630
|
}
|
|
866
631
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DynamicDialog, decorators: [{
|
|
867
632
|
type: Component,
|
|
868
633
|
args: [{
|
|
869
634
|
selector: 'p-dynamicDialog, p-dynamicdialog, p-dynamic-dialog',
|
|
870
|
-
standalone: true,
|
|
871
635
|
imports: [CommonModule, SharedModule, DynamicDialogContent, Dialog, BindModule],
|
|
872
636
|
template: `
|
|
873
637
|
<p-dialog
|
|
@@ -879,7 +643,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
879
643
|
[modal]="ddconfig?.modal !== false"
|
|
880
644
|
[closeOnEscape]="ddconfig?.closeOnEscape !== false"
|
|
881
645
|
[dismissableMask]="ddconfig?.dismissableMask"
|
|
882
|
-
[rtl]="ddconfig?.rtl"
|
|
883
646
|
[closable]="closable"
|
|
884
647
|
[breakpoints]="breakpoints"
|
|
885
648
|
[styleClass]="ddconfig?.styleClass"
|
|
@@ -893,7 +656,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
893
656
|
[maximizable]="maximizable"
|
|
894
657
|
[keepInViewport]="keepInViewport"
|
|
895
658
|
[focusTrap]="ddconfig?.focusTrap !== false"
|
|
896
|
-
[transitionOptions]="ddconfig?.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'"
|
|
897
659
|
[closeAriaLabel]="ddconfig?.closeAriaLabel || defaultCloseAriaLabel"
|
|
898
660
|
[ariaLabelledBy]="ddconfig?.ariaLabelledBy"
|
|
899
661
|
[minimizeIcon]="minimizeIcon"
|
|
@@ -957,7 +719,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
957
719
|
providers: [DynamicDialogStyle, { provide: DYNAMIC_DIALOG_INSTANCE, useExisting: DynamicDialog }, { provide: PARENT_INSTANCE, useExisting: DynamicDialog }],
|
|
958
720
|
hostDirectives: [Bind]
|
|
959
721
|
}]
|
|
960
|
-
}], propDecorators: { insertionPoint: [{ type: i0.ViewChild, args: [i0.forwardRef(() => DynamicDialogContent), { isSignal: true }] }] } });
|
|
722
|
+
}], ctorParameters: () => [], propDecorators: { insertionPoint: [{ type: i0.ViewChild, args: [i0.forwardRef(() => DynamicDialogContent), { isSignal: true }] }] } });
|
|
961
723
|
class DynamicDialogModule {
|
|
962
724
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DynamicDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
963
725
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: DynamicDialogModule, imports: [DynamicDialog, SharedModule], exports: [DynamicDialog, SharedModule] });
|
|
@@ -1009,8 +771,8 @@ class DialogService {
|
|
|
1009
771
|
const dialogRef = this.appendDialogComponentToBody(config, componentType);
|
|
1010
772
|
const componentRefInstance = this.dialogComponentRefMap.get(dialogRef);
|
|
1011
773
|
if (componentRefInstance) {
|
|
1012
|
-
componentRefInstance.instance.childComponentType
|
|
1013
|
-
componentRefInstance.instance.inputValues
|
|
774
|
+
componentRefInstance.instance.childComponentType.set(componentType);
|
|
775
|
+
componentRefInstance.instance.inputValues.set(config.inputValues || {});
|
|
1014
776
|
}
|
|
1015
777
|
return dialogRef;
|
|
1016
778
|
}
|
|
@@ -1068,7 +830,7 @@ class DialogService {
|
|
|
1068
830
|
}
|
|
1069
831
|
let permission = true;
|
|
1070
832
|
for (const [key, value] of this.dialogComponentRefMap) {
|
|
1071
|
-
if (value.instance.childComponentType === componentType) {
|
|
833
|
+
if (value.instance.childComponentType() === componentType) {
|
|
1072
834
|
permission = false;
|
|
1073
835
|
break;
|
|
1074
836
|
}
|