@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/fieldset';
|
|
|
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,
|
|
5
|
+
import { Injectable, inject, afterEveryRender, computed, input, booleanAttribute, output, viewChild, model, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
6
|
import { uuid } 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';
|
|
@@ -18,8 +18,8 @@ const classes = {
|
|
|
18
18
|
root: ({ instance }) => [
|
|
19
19
|
'p-fieldset p-component',
|
|
20
20
|
{
|
|
21
|
-
'p-fieldset-toggleable': instance.toggleable,
|
|
22
|
-
'p-fieldset-collapsed': instance.collapsed && instance.toggleable
|
|
21
|
+
'p-fieldset-toggleable': instance.toggleable(),
|
|
22
|
+
'p-fieldset-collapsed': instance.collapsed() && instance.toggleable()
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
25
|
legend: 'p-fieldset-legend',
|
|
@@ -81,51 +81,46 @@ var FieldsetClasses;
|
|
|
81
81
|
FieldsetClasses["content"] = "p-fieldset-content";
|
|
82
82
|
})(FieldsetClasses || (FieldsetClasses = {}));
|
|
83
83
|
|
|
84
|
-
const FIELDSET_INSTANCE = new InjectionToken('FIELDSET_INSTANCE');
|
|
85
84
|
/**
|
|
86
85
|
* Fieldset is a grouping component with the optional content toggle feature.
|
|
87
86
|
* @group Components
|
|
88
87
|
*/
|
|
89
88
|
class Fieldset extends BaseComponent {
|
|
90
89
|
componentName = 'Fieldset';
|
|
91
|
-
$pcFieldset = inject(FIELDSET_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
92
90
|
_componentStyle = inject(FieldsetStyle);
|
|
93
91
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
get dataP() {
|
|
98
|
-
return this.cn({
|
|
99
|
-
toggleable: this.toggleable
|
|
100
|
-
});
|
|
92
|
+
constructor() {
|
|
93
|
+
super();
|
|
94
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptm('host')));
|
|
101
95
|
}
|
|
96
|
+
dataP = computed(() => this.cn({
|
|
97
|
+
toggleable: this.toggleable()
|
|
98
|
+
}), /* @ts-ignore */
|
|
99
|
+
...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
|
|
102
100
|
/**
|
|
103
101
|
* Header text of the fieldset.
|
|
104
102
|
* @group Props
|
|
105
103
|
*/
|
|
106
|
-
legend
|
|
104
|
+
legend = input(/* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [undefined, { debugName: "legend" }] : /* istanbul ignore next */ []));
|
|
107
106
|
/**
|
|
108
107
|
* When specified, content can toggled by clicking the legend.
|
|
109
108
|
* @group Props
|
|
110
109
|
* @defaultValue false
|
|
111
110
|
*/
|
|
112
|
-
toggleable;
|
|
111
|
+
toggleable = input(undefined, { ...(ngDevMode ? { debugName: "toggleable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
113
112
|
/**
|
|
114
113
|
* Inline style of the component.
|
|
115
114
|
* @group Props
|
|
116
115
|
*/
|
|
117
|
-
style
|
|
116
|
+
style = input(/* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
|
|
118
118
|
/**
|
|
119
119
|
* Style class of the component.
|
|
120
120
|
* @group Props
|
|
121
121
|
*/
|
|
122
|
-
styleClass
|
|
123
|
-
|
|
124
|
-
* Transition options of the panel animation.
|
|
125
|
-
* @group Props
|
|
126
|
-
* @deprecated since v21.0.0, use `motionOptions` instead.
|
|
127
|
-
*/
|
|
128
|
-
transitionOptions = '400ms cubic-bezier(0.86, 0, 0.07, 1)';
|
|
122
|
+
styleClass = input(/* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
|
|
129
124
|
/**
|
|
130
125
|
* The motion options.
|
|
131
126
|
* @group Props
|
|
@@ -139,12 +134,6 @@ class Fieldset extends BaseComponent {
|
|
|
139
134
|
};
|
|
140
135
|
}, /* @ts-ignore */
|
|
141
136
|
...(ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []));
|
|
142
|
-
/**
|
|
143
|
-
* Emits when the collapsed state changes.
|
|
144
|
-
* @param {boolean} value - New value.
|
|
145
|
-
* @group Emits
|
|
146
|
-
*/
|
|
147
|
-
collapsedChange = output();
|
|
148
137
|
/**
|
|
149
138
|
* Callback to invoke before panel toggle.
|
|
150
139
|
* @param {PanelBeforeToggleEvent} event - Custom toggle event
|
|
@@ -163,23 +152,15 @@ class Fieldset extends BaseComponent {
|
|
|
163
152
|
get id() {
|
|
164
153
|
return this._id;
|
|
165
154
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Internal collapsed state
|
|
171
|
-
*/
|
|
172
|
-
_collapsed;
|
|
155
|
+
buttonAriaLabel = computed(() => this.legend(), /* @ts-ignore */
|
|
156
|
+
...(ngDevMode ? [{ debugName: "buttonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
173
157
|
/**
|
|
174
158
|
* Defines the initial state of content, supports one or two-way binding as well.
|
|
159
|
+
* Emits `collapsedChange` with the new value when the collapsed state changes.
|
|
175
160
|
* @group Props
|
|
176
161
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
set collapsed(value) {
|
|
181
|
-
this._collapsed = value;
|
|
182
|
-
}
|
|
162
|
+
collapsed = model(/* @ts-ignore */
|
|
163
|
+
...(ngDevMode ? [undefined, { debugName: "collapsed" }] : /* istanbul ignore next */ []));
|
|
183
164
|
/**
|
|
184
165
|
* Custom header template.
|
|
185
166
|
* @group Templates
|
|
@@ -201,8 +182,8 @@ class Fieldset extends BaseComponent {
|
|
|
201
182
|
*/
|
|
202
183
|
contentTemplate = contentChild('content', { ...(ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
203
184
|
toggle(event) {
|
|
204
|
-
this.onBeforeToggle.emit({ originalEvent: event, collapsed: this.collapsed });
|
|
205
|
-
if (this.collapsed)
|
|
185
|
+
this.onBeforeToggle.emit({ originalEvent: event, collapsed: this.collapsed() });
|
|
186
|
+
if (this.collapsed())
|
|
206
187
|
this.expand();
|
|
207
188
|
else
|
|
208
189
|
this.collapse();
|
|
@@ -215,13 +196,11 @@ class Fieldset extends BaseComponent {
|
|
|
215
196
|
}
|
|
216
197
|
}
|
|
217
198
|
expand() {
|
|
218
|
-
this.
|
|
219
|
-
this.collapsedChange.emit(false);
|
|
199
|
+
this.collapsed.set(false);
|
|
220
200
|
this.updateTabIndex();
|
|
221
201
|
}
|
|
222
202
|
collapse() {
|
|
223
|
-
this.
|
|
224
|
-
this.collapsedChange.emit(true);
|
|
203
|
+
this.collapsed.set(true);
|
|
225
204
|
this.updateTabIndex();
|
|
226
205
|
}
|
|
227
206
|
getBlockableElement() {
|
|
@@ -230,7 +209,7 @@ class Fieldset extends BaseComponent {
|
|
|
230
209
|
updateTabIndex() {
|
|
231
210
|
const focusableElements = this.contentWrapperViewChild().nativeElement.querySelectorAll('input, button, select, a, textarea, [tabindex]');
|
|
232
211
|
focusableElements.forEach((element) => {
|
|
233
|
-
if (this.collapsed) {
|
|
212
|
+
if (this.collapsed()) {
|
|
234
213
|
element.setAttribute('tabindex', '-1');
|
|
235
214
|
}
|
|
236
215
|
else {
|
|
@@ -239,100 +218,94 @@ class Fieldset extends BaseComponent {
|
|
|
239
218
|
});
|
|
240
219
|
}
|
|
241
220
|
onToggleDone(event) {
|
|
242
|
-
this.onAfterToggle.emit({ originalEvent: event, collapsed: this.collapsed });
|
|
221
|
+
this.onAfterToggle.emit({ originalEvent: event, collapsed: this.collapsed() });
|
|
243
222
|
}
|
|
244
|
-
_headerTemplate
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
223
|
+
_headerTemplate = computed(() => this.templates()
|
|
224
|
+
.filter((item) => item.getType() === 'header')
|
|
225
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
226
|
+
...(ngDevMode ? [{ debugName: "_headerTemplate" }] : /* istanbul ignore next */ []));
|
|
227
|
+
_expandIconTemplate = computed(() => this.templates()
|
|
228
|
+
.filter((item) => item.getType() === 'expandicon')
|
|
229
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
230
|
+
...(ngDevMode ? [{ debugName: "_expandIconTemplate" }] : /* istanbul ignore next */ []));
|
|
231
|
+
_collapseIconTemplate = computed(() => this.templates()
|
|
232
|
+
.filter((item) => item.getType() === 'collapseicon')
|
|
233
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
234
|
+
...(ngDevMode ? [{ debugName: "_collapseIconTemplate" }] : /* istanbul ignore next */ []));
|
|
235
|
+
_contentTemplate = computed(() => this.templates()
|
|
236
|
+
.filter((item) => item.getType() === 'content')
|
|
237
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
238
|
+
...(ngDevMode ? [{ debugName: "_contentTemplate" }] : /* istanbul ignore next */ []));
|
|
248
239
|
templates = contentChildren(PrimeTemplate, /* @ts-ignore */
|
|
249
240
|
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
break;
|
|
256
|
-
case 'expandicon':
|
|
257
|
-
this._expandIconTemplate = item.template;
|
|
258
|
-
break;
|
|
259
|
-
case 'collapseicon':
|
|
260
|
-
this._collapseIconTemplate = item.template;
|
|
261
|
-
break;
|
|
262
|
-
case 'content':
|
|
263
|
-
this._contentTemplate = item.template;
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Fieldset, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
269
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Fieldset, isStandalone: true, selector: "p-fieldset", inputs: { legend: { classPropertyName: "legend", publicName: "legend", isSignal: false, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, transitionOptions: { classPropertyName: "transitionOptions", publicName: "transitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: false, isRequired: false, transformFunction: booleanAttribute } }, outputs: { collapsedChange: "collapsedChange", onBeforeToggle: "onBeforeToggle", onAfterToggle: "onAfterToggle" }, providers: [FieldsetStyle, { provide: FIELDSET_INSTANCE, useExisting: Fieldset }, { provide: PARENT_INSTANCE, useExisting: Fieldset }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "expandIconTemplate", first: true, predicate: ["expandicon"], isSignal: true }, { propertyName: "collapseIconTemplate", first: true, predicate: ["collapseicon"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "contentWrapperViewChild", first: true, predicate: ["contentWrapper"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
270
|
-
<fieldset [attr.id]="id" [ngStyle]="style" [class]="cn(cx('root'), styleClass)" [pBind]="ptm('root')" [attr.data-p]="dataP">
|
|
271
|
-
<legend [class]="cx('legend')" [pBind]="ptm('legend')" [attr.data-p]="dataP">
|
|
272
|
-
@if (toggleable) {
|
|
241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Fieldset, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
242
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Fieldset, isStandalone: true, selector: "p-fieldset", inputs: { legend: { classPropertyName: "legend", publicName: "legend", isSignal: true, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", 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 }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeToggle: "onBeforeToggle", onAfterToggle: "onAfterToggle", collapsed: "collapsedChange" }, providers: [FieldsetStyle, { provide: PARENT_INSTANCE, useExisting: Fieldset }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "expandIconTemplate", first: true, predicate: ["expandicon"], isSignal: true }, { propertyName: "collapseIconTemplate", first: true, predicate: ["collapseicon"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "contentWrapperViewChild", first: true, predicate: ["contentWrapper"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
243
|
+
<fieldset [attr.id]="id" [ngStyle]="style()" [class]="cn(cx('root'), styleClass())" [pBind]="ptm('root')" [attr.data-p]="dataP()">
|
|
244
|
+
<legend [class]="cx('legend')" [pBind]="ptm('legend')" [attr.data-p]="dataP()">
|
|
245
|
+
@if (toggleable()) {
|
|
273
246
|
<button
|
|
274
247
|
[attr.id]="id + '_header'"
|
|
275
248
|
tabindex="0"
|
|
276
249
|
role="button"
|
|
277
250
|
[attr.aria-controls]="id + '_content'"
|
|
278
|
-
[attr.aria-expanded]="!collapsed"
|
|
279
|
-
[attr.aria-label]="buttonAriaLabel"
|
|
251
|
+
[attr.aria-expanded]="!collapsed()"
|
|
252
|
+
[attr.aria-label]="buttonAriaLabel()"
|
|
280
253
|
(click)="toggle($event)"
|
|
281
254
|
(keydown)="onKeyDown($event)"
|
|
282
255
|
[class]="cx('toggleButton')"
|
|
283
256
|
[pBind]="ptm('toggleButton')"
|
|
284
257
|
>
|
|
285
|
-
@if (collapsed) {
|
|
286
|
-
@if (!expandIconTemplate() && !_expandIconTemplate) {
|
|
258
|
+
@if (collapsed()) {
|
|
259
|
+
@if (!expandIconTemplate() && !_expandIconTemplate()) {
|
|
287
260
|
<svg data-p-icon="plus" [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')" />
|
|
288
261
|
}
|
|
289
|
-
@if (expandIconTemplate() || _expandIconTemplate) {
|
|
262
|
+
@if (expandIconTemplate() || _expandIconTemplate()) {
|
|
290
263
|
<span [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')">
|
|
291
|
-
<ng-container *ngTemplateOutlet="expandIconTemplate() || _expandIconTemplate"></ng-container>
|
|
264
|
+
<ng-container *ngTemplateOutlet="expandIconTemplate() || _expandIconTemplate()"></ng-container>
|
|
292
265
|
</span>
|
|
293
266
|
}
|
|
294
267
|
}
|
|
295
|
-
@if (!collapsed) {
|
|
296
|
-
@if (!collapseIconTemplate() && !_collapseIconTemplate) {
|
|
268
|
+
@if (!collapsed()) {
|
|
269
|
+
@if (!collapseIconTemplate() && !_collapseIconTemplate()) {
|
|
297
270
|
<svg data-p-icon="minus" [class]="cx('toggleIcon')" [attr.aria-hidden]="true" [pBind]="ptm('toggleIcon')" />
|
|
298
271
|
}
|
|
299
|
-
@if (collapseIconTemplate() || _collapseIconTemplate) {
|
|
272
|
+
@if (collapseIconTemplate() || _collapseIconTemplate()) {
|
|
300
273
|
<span [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')">
|
|
301
|
-
<ng-container *ngTemplateOutlet="collapseIconTemplate() || _collapseIconTemplate"></ng-container>
|
|
274
|
+
<ng-container *ngTemplateOutlet="collapseIconTemplate() || _collapseIconTemplate()"></ng-container>
|
|
302
275
|
</span>
|
|
303
276
|
}
|
|
304
277
|
}
|
|
305
278
|
<ng-container *ngTemplateOutlet="legendContent"></ng-container>
|
|
306
279
|
</button>
|
|
307
280
|
} @else {
|
|
308
|
-
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend }}</span>
|
|
281
|
+
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend() }}</span>
|
|
309
282
|
<ng-content select="p-header"></ng-content>
|
|
310
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
283
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
311
284
|
}
|
|
312
285
|
<ng-template #legendContent>
|
|
313
|
-
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend }}</span>
|
|
286
|
+
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend() }}</span>
|
|
314
287
|
<ng-content select="p-header"></ng-content>
|
|
315
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
288
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
316
289
|
</ng-template>
|
|
317
290
|
</legend>
|
|
318
291
|
<div
|
|
319
292
|
[pBind]="ptm('contentContainer')"
|
|
320
|
-
[pMotion]="!toggleable || (toggleable && !collapsed)"
|
|
293
|
+
[pMotion]="!toggleable() || (toggleable() && !collapsed())"
|
|
321
294
|
pMotionName="p-collapsible"
|
|
322
295
|
[pMotionOptions]="computedMotionOptions()"
|
|
323
296
|
[class]="cx('contentContainer')"
|
|
324
297
|
[id]="id + '_content'"
|
|
325
298
|
role="region"
|
|
326
299
|
[attr.aria-labelledby]="id + '_header'"
|
|
327
|
-
[attr.aria-hidden]="collapsed"
|
|
328
|
-
[attr.tabindex]="collapsed ? '-1' : undefined"
|
|
300
|
+
[attr.aria-hidden]="collapsed()"
|
|
301
|
+
[attr.tabindex]="collapsed() ? '-1' : undefined"
|
|
329
302
|
(pMotionOnAfterEnter)="onToggleDone($event)"
|
|
330
303
|
(pMotionOnAfterLeave)="onToggleDone($event)"
|
|
331
304
|
>
|
|
332
305
|
<div [pBind]="ptm('contentWrapper')" [class]="cx('contentWrapper')">
|
|
333
306
|
<div [class]="cx('content')" [pBind]="ptm('content')" #contentWrapper>
|
|
334
307
|
<ng-content></ng-content>
|
|
335
|
-
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate"></ng-container>
|
|
308
|
+
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate()"></ng-container>
|
|
336
309
|
</div>
|
|
337
310
|
</div>
|
|
338
311
|
</div>
|
|
@@ -343,75 +316,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
343
316
|
type: Component,
|
|
344
317
|
args: [{
|
|
345
318
|
selector: 'p-fieldset',
|
|
346
|
-
standalone: true,
|
|
347
319
|
imports: [CommonModule, MinusIcon, PlusIcon, SharedModule, BindModule, MotionModule],
|
|
348
320
|
template: `
|
|
349
|
-
<fieldset [attr.id]="id" [ngStyle]="style" [class]="cn(cx('root'), styleClass)" [pBind]="ptm('root')" [attr.data-p]="dataP">
|
|
350
|
-
<legend [class]="cx('legend')" [pBind]="ptm('legend')" [attr.data-p]="dataP">
|
|
351
|
-
@if (toggleable) {
|
|
321
|
+
<fieldset [attr.id]="id" [ngStyle]="style()" [class]="cn(cx('root'), styleClass())" [pBind]="ptm('root')" [attr.data-p]="dataP()">
|
|
322
|
+
<legend [class]="cx('legend')" [pBind]="ptm('legend')" [attr.data-p]="dataP()">
|
|
323
|
+
@if (toggleable()) {
|
|
352
324
|
<button
|
|
353
325
|
[attr.id]="id + '_header'"
|
|
354
326
|
tabindex="0"
|
|
355
327
|
role="button"
|
|
356
328
|
[attr.aria-controls]="id + '_content'"
|
|
357
|
-
[attr.aria-expanded]="!collapsed"
|
|
358
|
-
[attr.aria-label]="buttonAriaLabel"
|
|
329
|
+
[attr.aria-expanded]="!collapsed()"
|
|
330
|
+
[attr.aria-label]="buttonAriaLabel()"
|
|
359
331
|
(click)="toggle($event)"
|
|
360
332
|
(keydown)="onKeyDown($event)"
|
|
361
333
|
[class]="cx('toggleButton')"
|
|
362
334
|
[pBind]="ptm('toggleButton')"
|
|
363
335
|
>
|
|
364
|
-
@if (collapsed) {
|
|
365
|
-
@if (!expandIconTemplate() && !_expandIconTemplate) {
|
|
336
|
+
@if (collapsed()) {
|
|
337
|
+
@if (!expandIconTemplate() && !_expandIconTemplate()) {
|
|
366
338
|
<svg data-p-icon="plus" [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')" />
|
|
367
339
|
}
|
|
368
|
-
@if (expandIconTemplate() || _expandIconTemplate) {
|
|
340
|
+
@if (expandIconTemplate() || _expandIconTemplate()) {
|
|
369
341
|
<span [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')">
|
|
370
|
-
<ng-container *ngTemplateOutlet="expandIconTemplate() || _expandIconTemplate"></ng-container>
|
|
342
|
+
<ng-container *ngTemplateOutlet="expandIconTemplate() || _expandIconTemplate()"></ng-container>
|
|
371
343
|
</span>
|
|
372
344
|
}
|
|
373
345
|
}
|
|
374
|
-
@if (!collapsed) {
|
|
375
|
-
@if (!collapseIconTemplate() && !_collapseIconTemplate) {
|
|
346
|
+
@if (!collapsed()) {
|
|
347
|
+
@if (!collapseIconTemplate() && !_collapseIconTemplate()) {
|
|
376
348
|
<svg data-p-icon="minus" [class]="cx('toggleIcon')" [attr.aria-hidden]="true" [pBind]="ptm('toggleIcon')" />
|
|
377
349
|
}
|
|
378
|
-
@if (collapseIconTemplate() || _collapseIconTemplate) {
|
|
350
|
+
@if (collapseIconTemplate() || _collapseIconTemplate()) {
|
|
379
351
|
<span [class]="cx('toggleIcon')" [pBind]="ptm('toggleIcon')">
|
|
380
|
-
<ng-container *ngTemplateOutlet="collapseIconTemplate() || _collapseIconTemplate"></ng-container>
|
|
352
|
+
<ng-container *ngTemplateOutlet="collapseIconTemplate() || _collapseIconTemplate()"></ng-container>
|
|
381
353
|
</span>
|
|
382
354
|
}
|
|
383
355
|
}
|
|
384
356
|
<ng-container *ngTemplateOutlet="legendContent"></ng-container>
|
|
385
357
|
</button>
|
|
386
358
|
} @else {
|
|
387
|
-
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend }}</span>
|
|
359
|
+
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend() }}</span>
|
|
388
360
|
<ng-content select="p-header"></ng-content>
|
|
389
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
361
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
390
362
|
}
|
|
391
363
|
<ng-template #legendContent>
|
|
392
|
-
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend }}</span>
|
|
364
|
+
<span [class]="cx('legendLabel')" [pBind]="ptm('legendLabel')">{{ legend() }}</span>
|
|
393
365
|
<ng-content select="p-header"></ng-content>
|
|
394
|
-
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate"></ng-container>
|
|
366
|
+
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
395
367
|
</ng-template>
|
|
396
368
|
</legend>
|
|
397
369
|
<div
|
|
398
370
|
[pBind]="ptm('contentContainer')"
|
|
399
|
-
[pMotion]="!toggleable || (toggleable && !collapsed)"
|
|
371
|
+
[pMotion]="!toggleable() || (toggleable() && !collapsed())"
|
|
400
372
|
pMotionName="p-collapsible"
|
|
401
373
|
[pMotionOptions]="computedMotionOptions()"
|
|
402
374
|
[class]="cx('contentContainer')"
|
|
403
375
|
[id]="id + '_content'"
|
|
404
376
|
role="region"
|
|
405
377
|
[attr.aria-labelledby]="id + '_header'"
|
|
406
|
-
[attr.aria-hidden]="collapsed"
|
|
407
|
-
[attr.tabindex]="collapsed ? '-1' : undefined"
|
|
378
|
+
[attr.aria-hidden]="collapsed()"
|
|
379
|
+
[attr.tabindex]="collapsed() ? '-1' : undefined"
|
|
408
380
|
(pMotionOnAfterEnter)="onToggleDone($event)"
|
|
409
381
|
(pMotionOnAfterLeave)="onToggleDone($event)"
|
|
410
382
|
>
|
|
411
383
|
<div [pBind]="ptm('contentWrapper')" [class]="cx('contentWrapper')">
|
|
412
384
|
<div [class]="cx('content')" [pBind]="ptm('content')" #contentWrapper>
|
|
413
385
|
<ng-content></ng-content>
|
|
414
|
-
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate"></ng-container>
|
|
386
|
+
<ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate()"></ng-container>
|
|
415
387
|
</div>
|
|
416
388
|
</div>
|
|
417
389
|
</div>
|
|
@@ -419,24 +391,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
419
391
|
`,
|
|
420
392
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
421
393
|
encapsulation: ViewEncapsulation.None,
|
|
422
|
-
providers: [FieldsetStyle, { provide:
|
|
394
|
+
providers: [FieldsetStyle, { provide: PARENT_INSTANCE, useExisting: Fieldset }],
|
|
423
395
|
hostDirectives: [Bind]
|
|
424
396
|
}]
|
|
425
|
-
}], propDecorators: { legend: [{
|
|
426
|
-
type: Input
|
|
427
|
-
}], toggleable: [{
|
|
428
|
-
type: Input,
|
|
429
|
-
args: [{ transform: booleanAttribute }]
|
|
430
|
-
}], style: [{
|
|
431
|
-
type: Input
|
|
432
|
-
}], styleClass: [{
|
|
433
|
-
type: Input
|
|
434
|
-
}], transitionOptions: [{
|
|
435
|
-
type: Input
|
|
436
|
-
}], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], collapsedChange: [{ type: i0.Output, args: ["collapsedChange"] }], onBeforeToggle: [{ type: i0.Output, args: ["onBeforeToggle"] }], onAfterToggle: [{ type: i0.Output, args: ["onAfterToggle"] }], contentWrapperViewChild: [{ type: i0.ViewChild, args: ['contentWrapper', { isSignal: true }] }], collapsed: [{
|
|
437
|
-
type: Input,
|
|
438
|
-
args: [{ transform: booleanAttribute }]
|
|
439
|
-
}], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], expandIconTemplate: [{ type: i0.ContentChild, args: ['expandicon', { ...{ descendants: false }, isSignal: true }] }], collapseIconTemplate: [{ type: i0.ContentChild, args: ['collapseicon', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
397
|
+
}], ctorParameters: () => [], propDecorators: { legend: [{ type: i0.Input, args: [{ isSignal: true, alias: "legend", required: false }] }], toggleable: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleable", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], onBeforeToggle: [{ type: i0.Output, args: ["onBeforeToggle"] }], onAfterToggle: [{ type: i0.Output, args: ["onAfterToggle"] }], contentWrapperViewChild: [{ type: i0.ViewChild, args: ['contentWrapper', { isSignal: true }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], expandIconTemplate: [{ type: i0.ContentChild, args: ['expandicon', { ...{ descendants: false }, isSignal: true }] }], collapseIconTemplate: [{ type: i0.ContentChild, args: ['collapseicon', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
440
398
|
class FieldsetModule {
|
|
441
399
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: FieldsetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
442
400
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: FieldsetModule, imports: [Fieldset, SharedModule, BindModule], exports: [Fieldset, SharedModule, BindModule] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exhaustive-ui-core-fieldset.mjs","sources":["../../src/fieldset/style/fieldsetstyle.ts","../../src/fieldset/fieldset.ts","../../src/fieldset/exhaustive-ui-core-fieldset.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/fieldset';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-fieldset p-component',\n {\n 'p-fieldset-toggleable': instance.toggleable,\n 'p-fieldset-collapsed': instance.collapsed && instance.toggleable\n }\n ],\n legend: 'p-fieldset-legend',\n legendLabel: 'p-fieldset-legend-label',\n toggleButton: 'p-fieldset-toggle-button',\n toggleIcon: 'p-fieldset-toggle-icon',\n contentContainer: 'p-fieldset-content-container',\n contentWrapper: 'p-fieldset-content-wrapper',\n content: 'p-fieldset-content'\n};\n\n@Injectable()\nexport class FieldsetStyle extends BaseStyle {\n name = 'fieldset';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Fieldset is a grouping component with the optional content toggle feature.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/fieldset/)\n *\n * @module fieldsetstyle\n *\n */\nexport enum FieldsetClasses {\n /**\n * Class name of the root element\n */\n root = 'p-fieldset',\n /**\n * Class name of the legend element\n */\n legend = 'p-fieldset-legend',\n /**\n * Class name of the legend label element\n */\n legendLabel = 'p-fieldset-legend-label',\n /**\n * Class name of the toggle icon element\n */\n toggleIcon = 'p-fieldset-toggle-icon',\n /**\n * Class name of the content container element\n */\n contentContainer = 'p-fieldset-content-container',\n /**\n * Class name of the content wrapper element\n */\n contentWrapper = 'p-fieldset-content-wrapper',\n /**\n * Class name of the content element\n */\n content = 'p-fieldset-content'\n}\n\nexport interface FieldsetStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, ElementRef, inject, InjectionToken, input, Input, NgModule, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@exhaustive-ui/motion';\nimport { uuid } from '@exhaustive-ui/utils';\nimport { BlockableUI, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { MinusIcon, PlusIcon } from '@exhaustive-ui/core/icons';\nimport { MotionModule } from '@exhaustive-ui/core/motion';\nimport type { FieldsetAfterToggleEvent, FieldsetBeforeToggleEvent, FieldsetPassThrough } from '@exhaustive-ui/core/types/fieldset';\nimport { FieldsetStyle } from './style/fieldsetstyle';\n\nconst FIELDSET_INSTANCE = new InjectionToken<Fieldset>('FIELDSET_INSTANCE');\n\n/**\n * Fieldset is a grouping component with the optional content toggle feature.\n * @group Components\n */\n@Component({\n selector: 'p-fieldset',\n standalone: true,\n imports: [CommonModule, MinusIcon, PlusIcon, SharedModule, BindModule, MotionModule],\n template: `\n <fieldset [attr.id]=\"id\" [ngStyle]=\"style\" [class]=\"cn(cx('root'), styleClass)\" [pBind]=\"ptm('root')\" [attr.data-p]=\"dataP\">\n <legend [class]=\"cx('legend')\" [pBind]=\"ptm('legend')\" [attr.data-p]=\"dataP\">\n @if (toggleable) {\n <button\n [attr.id]=\"id + '_header'\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-controls]=\"id + '_content'\"\n [attr.aria-expanded]=\"!collapsed\"\n [attr.aria-label]=\"buttonAriaLabel\"\n (click)=\"toggle($event)\"\n (keydown)=\"onKeyDown($event)\"\n [class]=\"cx('toggleButton')\"\n [pBind]=\"ptm('toggleButton')\"\n >\n @if (collapsed) {\n @if (!expandIconTemplate() && !_expandIconTemplate) {\n <svg data-p-icon=\"plus\" [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\" />\n }\n @if (expandIconTemplate() || _expandIconTemplate) {\n <span [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\">\n <ng-container *ngTemplateOutlet=\"expandIconTemplate() || _expandIconTemplate\"></ng-container>\n </span>\n }\n }\n @if (!collapsed) {\n @if (!collapseIconTemplate() && !_collapseIconTemplate) {\n <svg data-p-icon=\"minus\" [class]=\"cx('toggleIcon')\" [attr.aria-hidden]=\"true\" [pBind]=\"ptm('toggleIcon')\" />\n }\n @if (collapseIconTemplate() || _collapseIconTemplate) {\n <span [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\">\n <ng-container *ngTemplateOutlet=\"collapseIconTemplate() || _collapseIconTemplate\"></ng-container>\n </span>\n }\n }\n <ng-container *ngTemplateOutlet=\"legendContent\"></ng-container>\n </button>\n } @else {\n <span [class]=\"cx('legendLabel')\" [pBind]=\"ptm('legendLabel')\">{{ legend }}</span>\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n }\n <ng-template #legendContent>\n <span [class]=\"cx('legendLabel')\" [pBind]=\"ptm('legendLabel')\">{{ legend }}</span>\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n </ng-template>\n </legend>\n <div\n [pBind]=\"ptm('contentContainer')\"\n [pMotion]=\"!toggleable || (toggleable && !collapsed)\"\n pMotionName=\"p-collapsible\"\n [pMotionOptions]=\"computedMotionOptions()\"\n [class]=\"cx('contentContainer')\"\n [id]=\"id + '_content'\"\n role=\"region\"\n [attr.aria-labelledby]=\"id + '_header'\"\n [attr.aria-hidden]=\"collapsed\"\n [attr.tabindex]=\"collapsed ? '-1' : undefined\"\n (pMotionOnAfterEnter)=\"onToggleDone($event)\"\n (pMotionOnAfterLeave)=\"onToggleDone($event)\"\n >\n <div [pBind]=\"ptm('contentWrapper')\" [class]=\"cx('contentWrapper')\">\n <div [class]=\"cx('content')\" [pBind]=\"ptm('content')\" #contentWrapper>\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </fieldset>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [FieldsetStyle, { provide: FIELDSET_INSTANCE, useExisting: Fieldset }, { provide: PARENT_INSTANCE, useExisting: Fieldset }],\n hostDirectives: [Bind]\n})\nexport class Fieldset extends BaseComponent<FieldsetPassThrough> implements BlockableUI {\n componentName = 'Fieldset';\n\n $pcFieldset: Fieldset | undefined = inject(FIELDSET_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n _componentStyle = inject(FieldsetStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptm('host'));\n }\n\n get dataP() {\n return this.cn({\n toggleable: this.toggleable\n });\n }\n\n /**\n * Header text of the fieldset.\n * @group Props\n */\n @Input() legend: string | undefined;\n /**\n * When specified, content can toggled by clicking the legend.\n * @group Props\n * @defaultValue false\n */\n @Input({ transform: booleanAttribute }) toggleable: boolean | undefined;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Transition options of the panel animation.\n * @group Props\n * @deprecated since v21.0.0, use `motionOptions` instead.\n */\n @Input() transitionOptions: string = '400ms cubic-bezier(0.86, 0, 0.07, 1)';\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Emits when the collapsed state changes.\n * @param {boolean} value - New value.\n * @group Emits\n */\n readonly collapsedChange = output<boolean>();\n /**\n * Callback to invoke before panel toggle.\n * @param {PanelBeforeToggleEvent} event - Custom toggle event\n * @group Emits\n */\n readonly onBeforeToggle = output<FieldsetBeforeToggleEvent>();\n /**\n * Callback to invoke after panel toggle.\n * @param {PanelAfterToggleEvent} event - Custom toggle event\n * @group Emits\n */\n readonly onAfterToggle = output<FieldsetAfterToggleEvent>();\n\n readonly contentWrapperViewChild = viewChild.required<ElementRef>('contentWrapper');\n\n private _id: string = uuid('pn_id_');\n\n get id() {\n return this._id;\n }\n\n get buttonAriaLabel() {\n return this.legend;\n }\n\n /**\n * Internal collapsed state\n */\n _collapsed: boolean | undefined;\n\n /**\n * Defines the initial state of content, supports one or two-way binding as well.\n * @group Props\n */\n @Input({ transform: booleanAttribute })\n get collapsed(): boolean | undefined {\n return this._collapsed;\n }\n set collapsed(value: boolean | undefined) {\n this._collapsed = value;\n }\n\n /**\n * Custom header template.\n * @group Templates\n */\n readonly headerTemplate = contentChild<TemplateRef<void>>('header', { descendants: false });\n\n /**\n * Custom expand icon template.\n * @group Templates\n */\n readonly expandIconTemplate = contentChild<TemplateRef<void>>('expandicon', { descendants: false });\n\n /**\n * Custom collapse icon template.\n * @group Templates\n */\n readonly collapseIconTemplate = contentChild<TemplateRef<void>>('collapseicon', { descendants: false });\n\n /**\n * Custom content template.\n * @group Templates\n */\n readonly contentTemplate = contentChild<TemplateRef<void>>('content', { descendants: false });\n\n toggle(event: MouseEvent) {\n this.onBeforeToggle.emit({ originalEvent: event, collapsed: this.collapsed });\n\n if (this.collapsed) this.expand();\n else this.collapse();\n\n event.preventDefault();\n }\n\n onKeyDown(event) {\n if (event.code === 'Enter' || event.code === 'Space') {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n expand() {\n this._collapsed = false;\n this.collapsedChange.emit(false);\n this.updateTabIndex();\n }\n\n collapse() {\n this._collapsed = true;\n this.collapsedChange.emit(true);\n this.updateTabIndex();\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n updateTabIndex() {\n const focusableElements = this.contentWrapperViewChild().nativeElement.querySelectorAll('input, button, select, a, textarea, [tabindex]');\n focusableElements.forEach((element: HTMLElement) => {\n if (this.collapsed) {\n element.setAttribute('tabindex', '-1');\n } else {\n element.removeAttribute('tabindex');\n }\n });\n }\n\n onToggleDone(event: MotionEvent) {\n this.onAfterToggle.emit({ originalEvent: event as any, collapsed: this.collapsed });\n }\n\n _headerTemplate: TemplateRef<void> | undefined;\n\n _expandIconTemplate: TemplateRef<void> | undefined;\n\n _collapseIconTemplate: TemplateRef<void> | undefined;\n\n _contentTemplate: TemplateRef<void> | undefined;\n\n readonly templates = contentChildren(PrimeTemplate);\n\n onAfterContentInit() {\n this.templates().forEach((item) => {\n switch (item.getType()) {\n case 'header':\n this._headerTemplate = item.template;\n break;\n\n case 'expandicon':\n this._expandIconTemplate = item.template;\n break;\n\n case 'collapseicon':\n this._collapseIconTemplate = item.template;\n break;\n\n case 'content':\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n}\n\n@NgModule({\n imports: [Fieldset, SharedModule, BindModule],\n exports: [Fieldset, SharedModule, BindModule]\n})\nexport class FieldsetModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,wBAAwB;AACxB,QAAA;YACI,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A,CAAA,QAAA,EAAA,CAAA;wGAAd,cAAc,EAAA,OAAA,EAAA,CAtNd,QAAQ,EAmNG,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CAnNnC,QAAQ,EAoNG,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;wGAEnC,cAAc,EAAA,OAAA,EAAA,CAHb,QAAQ,EAAE,YAAY,EAAE,UAAU,EACxB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;;2FAEnC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,CAAC;AAC7C,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU;AAC/C,iBAAA;;;ACxTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"exhaustive-ui-core-fieldset.mjs","sources":["../../src/fieldset/style/fieldsetstyle.ts","../../src/fieldset/fieldset.ts","../../src/fieldset/exhaustive-ui-core-fieldset.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/fieldset';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-fieldset p-component',\n {\n 'p-fieldset-toggleable': instance.toggleable(),\n 'p-fieldset-collapsed': instance.collapsed() && instance.toggleable()\n }\n ],\n legend: 'p-fieldset-legend',\n legendLabel: 'p-fieldset-legend-label',\n toggleButton: 'p-fieldset-toggle-button',\n toggleIcon: 'p-fieldset-toggle-icon',\n contentContainer: 'p-fieldset-content-container',\n contentWrapper: 'p-fieldset-content-wrapper',\n content: 'p-fieldset-content'\n};\n\n@Injectable()\nexport class FieldsetStyle extends BaseStyle {\n name = 'fieldset';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Fieldset is a grouping component with the optional content toggle feature.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/fieldset/)\n *\n * @module fieldsetstyle\n *\n */\nexport enum FieldsetClasses {\n /**\n * Class name of the root element\n */\n root = 'p-fieldset',\n /**\n * Class name of the legend element\n */\n legend = 'p-fieldset-legend',\n /**\n * Class name of the legend label element\n */\n legendLabel = 'p-fieldset-legend-label',\n /**\n * Class name of the toggle icon element\n */\n toggleIcon = 'p-fieldset-toggle-icon',\n /**\n * Class name of the content container element\n */\n contentContainer = 'p-fieldset-content-container',\n /**\n * Class name of the content wrapper element\n */\n contentWrapper = 'p-fieldset-content-wrapper',\n /**\n * Class name of the content element\n */\n content = 'p-fieldset-content'\n}\n\nexport interface FieldsetStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterEveryRender, booleanAttribute, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, model, NgModule, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@exhaustive-ui/motion';\nimport { uuid } from '@exhaustive-ui/utils';\nimport { BlockableUI, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { MinusIcon, PlusIcon } from '@exhaustive-ui/core/icons';\nimport { MotionModule } from '@exhaustive-ui/core/motion';\nimport type { FieldsetAfterToggleEvent, FieldsetBeforeToggleEvent, FieldsetPassThrough } from '@exhaustive-ui/core/types/fieldset';\nimport { FieldsetStyle } from './style/fieldsetstyle';\n\n/**\n * Fieldset is a grouping component with the optional content toggle feature.\n * @group Components\n */\n@Component({\n selector: 'p-fieldset',\n imports: [CommonModule, MinusIcon, PlusIcon, SharedModule, BindModule, MotionModule],\n template: `\n <fieldset [attr.id]=\"id\" [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" [pBind]=\"ptm('root')\" [attr.data-p]=\"dataP()\">\n <legend [class]=\"cx('legend')\" [pBind]=\"ptm('legend')\" [attr.data-p]=\"dataP()\">\n @if (toggleable()) {\n <button\n [attr.id]=\"id + '_header'\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-controls]=\"id + '_content'\"\n [attr.aria-expanded]=\"!collapsed()\"\n [attr.aria-label]=\"buttonAriaLabel()\"\n (click)=\"toggle($event)\"\n (keydown)=\"onKeyDown($event)\"\n [class]=\"cx('toggleButton')\"\n [pBind]=\"ptm('toggleButton')\"\n >\n @if (collapsed()) {\n @if (!expandIconTemplate() && !_expandIconTemplate()) {\n <svg data-p-icon=\"plus\" [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\" />\n }\n @if (expandIconTemplate() || _expandIconTemplate()) {\n <span [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\">\n <ng-container *ngTemplateOutlet=\"expandIconTemplate() || _expandIconTemplate()\"></ng-container>\n </span>\n }\n }\n @if (!collapsed()) {\n @if (!collapseIconTemplate() && !_collapseIconTemplate()) {\n <svg data-p-icon=\"minus\" [class]=\"cx('toggleIcon')\" [attr.aria-hidden]=\"true\" [pBind]=\"ptm('toggleIcon')\" />\n }\n @if (collapseIconTemplate() || _collapseIconTemplate()) {\n <span [class]=\"cx('toggleIcon')\" [pBind]=\"ptm('toggleIcon')\">\n <ng-container *ngTemplateOutlet=\"collapseIconTemplate() || _collapseIconTemplate()\"></ng-container>\n </span>\n }\n }\n <ng-container *ngTemplateOutlet=\"legendContent\"></ng-container>\n </button>\n } @else {\n <span [class]=\"cx('legendLabel')\" [pBind]=\"ptm('legendLabel')\">{{ legend() }}</span>\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate()\"></ng-container>\n }\n <ng-template #legendContent>\n <span [class]=\"cx('legendLabel')\" [pBind]=\"ptm('legendLabel')\">{{ legend() }}</span>\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate()\"></ng-container>\n </ng-template>\n </legend>\n <div\n [pBind]=\"ptm('contentContainer')\"\n [pMotion]=\"!toggleable() || (toggleable() && !collapsed())\"\n pMotionName=\"p-collapsible\"\n [pMotionOptions]=\"computedMotionOptions()\"\n [class]=\"cx('contentContainer')\"\n [id]=\"id + '_content'\"\n role=\"region\"\n [attr.aria-labelledby]=\"id + '_header'\"\n [attr.aria-hidden]=\"collapsed()\"\n [attr.tabindex]=\"collapsed() ? '-1' : undefined\"\n (pMotionOnAfterEnter)=\"onToggleDone($event)\"\n (pMotionOnAfterLeave)=\"onToggleDone($event)\"\n >\n <div [pBind]=\"ptm('contentWrapper')\" [class]=\"cx('contentWrapper')\">\n <div [class]=\"cx('content')\" [pBind]=\"ptm('content')\" #contentWrapper>\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate()\"></ng-container>\n </div>\n </div>\n </div>\n </fieldset>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [FieldsetStyle, { provide: PARENT_INSTANCE, useExisting: Fieldset }],\n hostDirectives: [Bind]\n})\nexport class Fieldset extends BaseComponent<FieldsetPassThrough> implements BlockableUI {\n componentName = 'Fieldset';\n\n _componentStyle = inject(FieldsetStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptm('host')));\n }\n\n readonly dataP = computed(() =>\n this.cn({\n toggleable: this.toggleable()\n })\n );\n\n /**\n * Header text of the fieldset.\n * @group Props\n */\n readonly legend = input<string | undefined>();\n /**\n * When specified, content can toggled by clicking the legend.\n * @group Props\n * @defaultValue false\n */\n readonly toggleable = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Inline style of the component.\n * @group Props\n */\n readonly style = input<{ [klass: string]: any } | null | undefined>();\n /**\n * Style class of the component.\n * @group Props\n */\n readonly styleClass = input<string | undefined>();\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Callback to invoke before panel toggle.\n * @param {PanelBeforeToggleEvent} event - Custom toggle event\n * @group Emits\n */\n readonly onBeforeToggle = output<FieldsetBeforeToggleEvent>();\n /**\n * Callback to invoke after panel toggle.\n * @param {PanelAfterToggleEvent} event - Custom toggle event\n * @group Emits\n */\n readonly onAfterToggle = output<FieldsetAfterToggleEvent>();\n\n readonly contentWrapperViewChild = viewChild.required<ElementRef>('contentWrapper');\n\n private _id: string = uuid('pn_id_');\n\n get id() {\n return this._id;\n }\n\n readonly buttonAriaLabel = computed(() => this.legend());\n\n /**\n * Defines the initial state of content, supports one or two-way binding as well.\n * Emits `collapsedChange` with the new value when the collapsed state changes.\n * @group Props\n */\n readonly collapsed = model<boolean | undefined>();\n\n /**\n * Custom header template.\n * @group Templates\n */\n readonly headerTemplate = contentChild<TemplateRef<void>>('header', { descendants: false });\n\n /**\n * Custom expand icon template.\n * @group Templates\n */\n readonly expandIconTemplate = contentChild<TemplateRef<void>>('expandicon', { descendants: false });\n\n /**\n * Custom collapse icon template.\n * @group Templates\n */\n readonly collapseIconTemplate = contentChild<TemplateRef<void>>('collapseicon', { descendants: false });\n\n /**\n * Custom content template.\n * @group Templates\n */\n readonly contentTemplate = contentChild<TemplateRef<void>>('content', { descendants: false });\n\n toggle(event: MouseEvent) {\n this.onBeforeToggle.emit({ originalEvent: event, collapsed: this.collapsed() });\n\n if (this.collapsed()) this.expand();\n else this.collapse();\n\n event.preventDefault();\n }\n\n onKeyDown(event) {\n if (event.code === 'Enter' || event.code === 'Space') {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n expand() {\n this.collapsed.set(false);\n this.updateTabIndex();\n }\n\n collapse() {\n this.collapsed.set(true);\n this.updateTabIndex();\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n updateTabIndex() {\n const focusableElements = this.contentWrapperViewChild().nativeElement.querySelectorAll('input, button, select, a, textarea, [tabindex]');\n focusableElements.forEach((element: HTMLElement) => {\n if (this.collapsed()) {\n element.setAttribute('tabindex', '-1');\n } else {\n element.removeAttribute('tabindex');\n }\n });\n }\n\n onToggleDone(event: MotionEvent) {\n this.onAfterToggle.emit({ originalEvent: event as any, collapsed: this.collapsed() });\n }\n\n readonly _headerTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'header')\n .at(-1)?.template\n );\n\n readonly _expandIconTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'expandicon')\n .at(-1)?.template\n );\n\n readonly _collapseIconTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'collapseicon')\n .at(-1)?.template\n );\n\n readonly _contentTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'content')\n .at(-1)?.template\n );\n\n readonly templates = contentChildren(PrimeTemplate);\n}\n\n@NgModule({\n imports: [Fieldset, SharedModule, BindModule],\n exports: [Fieldset, SharedModule, BindModule]\n})\nexport class FieldsetModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,wBAAwB;AACxB,QAAA;AACI,YAAA,uBAAuB,EAAE,QAAQ,CAAC,UAAU,EAAE;YAC9C,sBAAsB,EAAE,QAAQ,CAAC,SAAS,EAAE,IAAI,QAAQ,CAAC,UAAU;AACtE;AACJ,KAAA;AACD,IAAA,MAAM,EAAE,mBAAmB;AAC3B,IAAA,WAAW,EAAE,yBAAyB;AACtC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,UAAU,EAAE,wBAAwB;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