@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,6 +1,6 @@
|
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { input, numberAttribute, booleanAttribute, signal, afterNextRender, computed, Directive, NgModule } from '@angular/core';
|
|
4
4
|
import { removeClass, addClass } from '@exhaustive-ui/utils';
|
|
5
5
|
import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
6
6
|
|
|
@@ -13,57 +13,68 @@ class AnimateOnScroll extends BaseComponent {
|
|
|
13
13
|
* Selector to define the CSS class for enter animation.
|
|
14
14
|
* @group Props
|
|
15
15
|
*/
|
|
16
|
-
enterClass
|
|
16
|
+
enterClass = input(/* @ts-ignore */
|
|
17
|
+
...(ngDevMode ? [undefined, { debugName: "enterClass" }] : /* istanbul ignore next */ []));
|
|
17
18
|
/**
|
|
18
19
|
* Selector to define the CSS class for leave animation.
|
|
19
20
|
* @group Props
|
|
20
21
|
*/
|
|
21
|
-
leaveClass
|
|
22
|
+
leaveClass = input(/* @ts-ignore */
|
|
23
|
+
...(ngDevMode ? [undefined, { debugName: "leaveClass" }] : /* istanbul ignore next */ []));
|
|
22
24
|
/**
|
|
23
25
|
* Specifies the root option of the IntersectionObserver API.
|
|
24
26
|
* @group Props
|
|
25
27
|
*/
|
|
26
|
-
root
|
|
28
|
+
root = input(/* @ts-ignore */
|
|
29
|
+
...(ngDevMode ? [undefined, { debugName: "root" }] : /* istanbul ignore next */ []));
|
|
27
30
|
/**
|
|
28
31
|
* Specifies the rootMargin option of the IntersectionObserver API.
|
|
29
32
|
* @group Props
|
|
30
33
|
*/
|
|
31
|
-
rootMargin
|
|
34
|
+
rootMargin = input(/* @ts-ignore */
|
|
35
|
+
...(ngDevMode ? [undefined, { debugName: "rootMargin" }] : /* istanbul ignore next */ []));
|
|
32
36
|
/**
|
|
33
37
|
* Specifies the threshold option of the IntersectionObserver API
|
|
34
38
|
* @group Props
|
|
35
39
|
*/
|
|
36
|
-
threshold = 0.5;
|
|
40
|
+
threshold = input(0.5, { ...(ngDevMode ? { debugName: "threshold" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
37
41
|
/**
|
|
38
42
|
* Whether the scroll event listener should be removed after initial run.
|
|
39
43
|
* @group Props
|
|
40
44
|
*/
|
|
41
|
-
once = false;
|
|
42
|
-
observer
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
once = input(false, { ...(ngDevMode ? { debugName: "once" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
46
|
+
observer = signal(undefined, /* @ts-ignore */
|
|
47
|
+
...(ngDevMode ? [{ debugName: "observer" }] : /* istanbul ignore next */ []));
|
|
48
|
+
resetObserver = signal(undefined, /* @ts-ignore */
|
|
49
|
+
...(ngDevMode ? [{ debugName: "resetObserver" }] : /* istanbul ignore next */ []));
|
|
50
|
+
isObserverActive = signal(false, /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "isObserverActive" }] : /* istanbul ignore next */ []));
|
|
52
|
+
animationState = signal(undefined, /* @ts-ignore */
|
|
53
|
+
...(ngDevMode ? [{ debugName: "animationState" }] : /* istanbul ignore next */ []));
|
|
54
|
+
animationEndListener = signal(undefined, /* @ts-ignore */
|
|
55
|
+
...(ngDevMode ? [{ debugName: "animationEndListener" }] : /* istanbul ignore next */ []));
|
|
56
|
+
constructor() {
|
|
57
|
+
super();
|
|
58
|
+
afterNextRender(() => {
|
|
59
|
+
this.bindIntersectionObserver();
|
|
60
|
+
});
|
|
51
61
|
}
|
|
52
|
-
|
|
62
|
+
onInit() {
|
|
53
63
|
if (isPlatformBrowser(this.platformId)) {
|
|
54
|
-
this.
|
|
64
|
+
this.renderer.setStyle(this.el.nativeElement, 'opacity', this.enterClass() ? '0' : '');
|
|
55
65
|
}
|
|
56
66
|
}
|
|
57
|
-
|
|
67
|
+
options = computed(() => {
|
|
58
68
|
return {
|
|
59
|
-
root: this.root,
|
|
60
|
-
rootMargin: this.rootMargin,
|
|
61
|
-
threshold: this.threshold || 0.5
|
|
69
|
+
root: this.root(),
|
|
70
|
+
rootMargin: this.rootMargin(),
|
|
71
|
+
threshold: this.threshold() || 0.5
|
|
62
72
|
};
|
|
63
|
-
}
|
|
73
|
+
}, /* @ts-ignore */
|
|
74
|
+
...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
64
75
|
bindIntersectionObserver() {
|
|
65
|
-
this.observer
|
|
66
|
-
if (this.isObserverActive) {
|
|
76
|
+
this.observer.set(new IntersectionObserver(([entry]) => {
|
|
77
|
+
if (this.isObserverActive()) {
|
|
67
78
|
if (entry.boundingClientRect.top > 0) {
|
|
68
79
|
entry.isIntersecting ? this.enter() : this.leave();
|
|
69
80
|
}
|
|
@@ -71,89 +82,77 @@ class AnimateOnScroll extends BaseComponent {
|
|
|
71
82
|
else if (entry.isIntersecting) {
|
|
72
83
|
this.enter();
|
|
73
84
|
}
|
|
74
|
-
this.isObserverActive
|
|
75
|
-
}, this.options);
|
|
76
|
-
setTimeout(() => this.observer?.observe(this.el.nativeElement), 0);
|
|
85
|
+
this.isObserverActive.set(true);
|
|
86
|
+
}, this.options()));
|
|
87
|
+
setTimeout(() => this.observer()?.observe(this.el.nativeElement), 0);
|
|
77
88
|
// Reset
|
|
78
|
-
this.resetObserver
|
|
89
|
+
this.resetObserver.set(new IntersectionObserver(([entry]) => {
|
|
79
90
|
if (entry.boundingClientRect.top > 0 && !entry.isIntersecting) {
|
|
80
|
-
this.el.nativeElement.style.opacity = this.enterClass ? '0' : '';
|
|
81
|
-
removeClass(this.el.nativeElement, [this.enterClass, this.leaveClass]);
|
|
82
|
-
this.resetObserver.unobserve(this.el.nativeElement);
|
|
91
|
+
this.el.nativeElement.style.opacity = this.enterClass() ? '0' : '';
|
|
92
|
+
removeClass(this.el.nativeElement, [this.enterClass(), this.leaveClass()]);
|
|
93
|
+
this.resetObserver().unobserve(this.el.nativeElement);
|
|
83
94
|
}
|
|
84
|
-
this.animationState
|
|
85
|
-
}, { ...this.options, threshold: 0 });
|
|
95
|
+
this.animationState.set(undefined);
|
|
96
|
+
}, { ...this.options(), threshold: 0 }));
|
|
86
97
|
}
|
|
87
98
|
enter() {
|
|
88
|
-
|
|
99
|
+
const enterClass = this.enterClass();
|
|
100
|
+
if (this.animationState() !== 'enter' && enterClass) {
|
|
89
101
|
this.el.nativeElement.style.opacity = '';
|
|
90
|
-
removeClass(this.el.nativeElement, this.leaveClass);
|
|
91
|
-
addClass(this.el.nativeElement,
|
|
92
|
-
this.once && this.unbindIntersectionObserver();
|
|
102
|
+
removeClass(this.el.nativeElement, this.leaveClass());
|
|
103
|
+
addClass(this.el.nativeElement, enterClass);
|
|
104
|
+
this.once() && this.unbindIntersectionObserver();
|
|
93
105
|
this.bindAnimationEvents();
|
|
94
|
-
this.animationState
|
|
106
|
+
this.animationState.set('enter');
|
|
95
107
|
}
|
|
96
108
|
}
|
|
97
109
|
leave() {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
const leaveClass = this.leaveClass();
|
|
111
|
+
if (this.animationState() !== 'leave' && leaveClass) {
|
|
112
|
+
this.el.nativeElement.style.opacity = this.enterClass() ? '0' : '';
|
|
113
|
+
removeClass(this.el.nativeElement, this.enterClass());
|
|
114
|
+
addClass(this.el.nativeElement, leaveClass);
|
|
102
115
|
this.bindAnimationEvents();
|
|
103
|
-
this.animationState
|
|
116
|
+
this.animationState.set('leave');
|
|
104
117
|
}
|
|
105
118
|
}
|
|
106
119
|
bindAnimationEvents() {
|
|
107
|
-
if (!this.animationEndListener) {
|
|
108
|
-
this.animationEndListener
|
|
109
|
-
removeClass(this.el.nativeElement, [this.enterClass, this.leaveClass]);
|
|
110
|
-
!this.once && this.resetObserver.observe(this.el.nativeElement);
|
|
120
|
+
if (!this.animationEndListener()) {
|
|
121
|
+
this.animationEndListener.set(this.renderer.listen(this.el.nativeElement, 'animationend', () => {
|
|
122
|
+
removeClass(this.el.nativeElement, [this.enterClass(), this.leaveClass()]);
|
|
123
|
+
!this.once() && this.resetObserver().observe(this.el.nativeElement);
|
|
111
124
|
this.unbindAnimationEvents();
|
|
112
|
-
});
|
|
125
|
+
}));
|
|
113
126
|
}
|
|
114
127
|
}
|
|
115
128
|
unbindAnimationEvents() {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
129
|
+
const animationEndListener = this.animationEndListener();
|
|
130
|
+
if (animationEndListener) {
|
|
131
|
+
animationEndListener();
|
|
132
|
+
this.animationEndListener.set(null);
|
|
119
133
|
}
|
|
120
134
|
}
|
|
121
135
|
unbindIntersectionObserver() {
|
|
122
|
-
this.observer?.unobserve(this.el.nativeElement);
|
|
123
|
-
this.resetObserver?.unobserve(this.el.nativeElement);
|
|
124
|
-
this.isObserverActive
|
|
136
|
+
this.observer()?.unobserve(this.el.nativeElement);
|
|
137
|
+
this.resetObserver()?.unobserve(this.el.nativeElement);
|
|
138
|
+
this.isObserverActive.set(false);
|
|
125
139
|
}
|
|
126
140
|
onDestroy() {
|
|
127
141
|
this.unbindAnimationEvents();
|
|
128
142
|
this.unbindIntersectionObserver();
|
|
129
143
|
}
|
|
130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AnimateOnScroll, deps:
|
|
131
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AnimateOnScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
145
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.1", type: AnimateOnScroll, isStandalone: true, selector: "[pAnimateOnScroll]", inputs: { enterClass: { classPropertyName: "enterClass", publicName: "enterClass", isSignal: true, isRequired: false, transformFunction: null }, leaveClass: { classPropertyName: "leaveClass", publicName: "leaveClass", isSignal: true, isRequired: false, transformFunction: null }, root: { classPropertyName: "root", publicName: "root", isSignal: true, isRequired: false, transformFunction: null }, rootMargin: { classPropertyName: "rootMargin", publicName: "rootMargin", isSignal: true, isRequired: false, transformFunction: null }, threshold: { classPropertyName: "threshold", publicName: "threshold", isSignal: true, isRequired: false, transformFunction: null }, once: { classPropertyName: "once", publicName: "once", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-animateonscroll": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
132
146
|
}
|
|
133
147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AnimateOnScroll, decorators: [{
|
|
134
148
|
type: Directive,
|
|
135
149
|
args: [{
|
|
136
150
|
selector: '[pAnimateOnScroll]',
|
|
137
|
-
standalone: true,
|
|
138
151
|
host: {
|
|
139
152
|
'[class.p-animateonscroll]': 'true'
|
|
140
153
|
}
|
|
141
154
|
}]
|
|
142
|
-
}], propDecorators: { enterClass: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}], leaveClass: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], root: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], rootMargin: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], threshold: [{
|
|
151
|
-
type: Input,
|
|
152
|
-
args: [{ transform: numberAttribute }]
|
|
153
|
-
}], once: [{
|
|
154
|
-
type: Input,
|
|
155
|
-
args: [{ transform: booleanAttribute }]
|
|
156
|
-
}] } });
|
|
155
|
+
}], ctorParameters: () => [], propDecorators: { enterClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterClass", required: false }] }], leaveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveClass", required: false }] }], root: [{ type: i0.Input, args: [{ isSignal: true, alias: "root", required: false }] }], rootMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootMargin", required: false }] }], threshold: [{ type: i0.Input, args: [{ isSignal: true, alias: "threshold", required: false }] }], once: [{ type: i0.Input, args: [{ isSignal: true, alias: "once", required: false }] }] } });
|
|
157
156
|
class AnimateOnScrollModule {
|
|
158
157
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AnimateOnScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
159
158
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: AnimateOnScrollModule, imports: [AnimateOnScroll], exports: [AnimateOnScroll] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exhaustive-ui-core-animateonscroll.mjs","sources":["../../src/animateonscroll/animateonscroll.ts","../../src/animateonscroll/exhaustive-ui-core-animateonscroll.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { booleanAttribute, Directive, Input, NgModule, numberAttribute } from '@angular/core';\nimport { addClass, removeClass } from '@exhaustive-ui/utils';\nimport { BaseComponent } from '@exhaustive-ui/core/basecomponent';\n\ninterface AnimateOnScrollOptions {\n root?: HTMLElement | null;\n rootMargin?: string;\n threshold?: number;\n}\n\n/**\n * AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling.\n * @group Components\n */\n@Directive({\n selector: '[pAnimateOnScroll]',\n standalone: true,\n host: {\n '[class.p-animateonscroll]': 'true'\n }\n})\nexport class AnimateOnScroll extends BaseComponent {\n /**\n * Selector to define the CSS class for enter animation.\n * @group Props\n */\n @Input() enterClass: string | undefined;\n /**\n * Selector to define the CSS class for leave animation.\n * @group Props\n */\n @Input() leaveClass: string | undefined;\n /**\n * Specifies the root option of the IntersectionObserver API.\n * @group Props\n */\n @Input() root: HTMLElement | undefined | null;\n /**\n * Specifies the rootMargin option of the IntersectionObserver API.\n * @group Props\n */\n @Input() rootMargin: string | undefined;\n /**\n * Specifies the threshold option of the IntersectionObserver API\n * @group Props\n */\n @Input({ transform: numberAttribute }) threshold: number | undefined = 0.5;\n /**\n * Whether the scroll event listener should be removed after initial run.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) once: boolean = false;\n\n observer: IntersectionObserver | undefined;\n\n resetObserver: any;\n\n isObserverActive: boolean = false;\n\n animationState: any;\n\n animationEndListener: VoidFunction | null | undefined;\n\n onInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.renderer.setStyle(this.el.nativeElement, 'opacity', this.enterClass ? '0' : '');\n }\n }\n\n onAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.bindIntersectionObserver();\n }\n }\n\n get options(): AnimateOnScrollOptions {\n return {\n root: this.root,\n rootMargin: this.rootMargin,\n threshold: this.threshold || 0.5\n };\n }\n\n bindIntersectionObserver() {\n this.observer = new IntersectionObserver(([entry]) => {\n if (this.isObserverActive) {\n if (entry.boundingClientRect.top > 0) {\n entry.isIntersecting ? this.enter() : this.leave();\n }\n } else if (entry.isIntersecting) {\n this.enter();\n }\n\n this.isObserverActive = true;\n }, this.options);\n\n setTimeout(() => this.observer?.observe(this.el.nativeElement), 0);\n\n // Reset\n\n this.resetObserver = new IntersectionObserver(\n ([entry]) => {\n if (entry.boundingClientRect.top > 0 && !entry.isIntersecting) {\n this.el.nativeElement.style.opacity = this.enterClass ? '0' : '';\n removeClass(this.el.nativeElement, [this.enterClass, this.leaveClass]);\n\n this.resetObserver.unobserve(this.el.nativeElement);\n }\n\n this.animationState = undefined;\n },\n { ...this.options, threshold: 0 }\n );\n }\n\n enter() {\n if (this.animationState !== 'enter' && this.enterClass) {\n this.el.nativeElement.style.opacity = '';\n removeClass(this.el.nativeElement, this.leaveClass);\n addClass(this.el.nativeElement, this.enterClass);\n\n this.once && this.unbindIntersectionObserver();\n\n this.bindAnimationEvents();\n this.animationState = 'enter';\n }\n }\n\n leave() {\n if (this.animationState !== 'leave' && this.leaveClass) {\n this.el.nativeElement.style.opacity = this.enterClass ? '0' : '';\n removeClass(this.el.nativeElement, this.enterClass);\n addClass(this.el.nativeElement, this.leaveClass);\n\n this.bindAnimationEvents();\n this.animationState = 'leave';\n }\n }\n\n bindAnimationEvents() {\n if (!this.animationEndListener) {\n this.animationEndListener = this.renderer.listen(this.el.nativeElement, 'animationend', () => {\n removeClass(this.el.nativeElement, [this.enterClass, this.leaveClass]);\n !this.once && this.resetObserver.observe(this.el.nativeElement);\n this.unbindAnimationEvents();\n });\n }\n }\n\n unbindAnimationEvents() {\n if (this.animationEndListener) {\n this.animationEndListener();\n this.animationEndListener = null;\n }\n }\n\n unbindIntersectionObserver() {\n this.observer?.unobserve(this.el.nativeElement);\n this.resetObserver?.unobserve(this.el.nativeElement);\n this.isObserverActive = false;\n }\n\n onDestroy() {\n this.unbindAnimationEvents();\n this.unbindIntersectionObserver();\n }\n}\n\n@NgModule({\n imports: [AnimateOnScroll],\n exports: [AnimateOnScroll]\n})\nexport class AnimateOnScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAWA;;;AAGG;AAQG,MAAO,eAAgB,SAAQ,aAAa,CAAA;AAC9C;;;AAGG;AACM,IAAA,UAAU;AACnB;;;AAGG;AACM,IAAA,UAAU;AACnB;;;AAGG;AACM,IAAA,IAAI;AACb;;;AAGG;AACM,IAAA,UAAU;AACnB;;;AAGG;IACoC,SAAS,GAAuB,GAAG;AAC1E;;;AAGG;IACqC,IAAI,GAAY,KAAK;AAE7D,IAAA,QAAQ;AAER,IAAA,aAAa;IAEb,gBAAgB,GAAY,KAAK;AAEjC,IAAA,cAAc;AAEd,IAAA,oBAAoB;IAEpB,MAAM,GAAA;AACF,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACpC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,GAAG,EAAE,CAAC;QACxF;IACJ;IAEA,eAAe,GAAA;AACX,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACpC,IAAI,CAAC,wBAAwB,EAAE;QACnC;IACJ;AAEA,IAAA,IAAI,OAAO,GAAA;QACP,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,YAAA,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI;SAChC;IACL;IAEA,wBAAwB,GAAA;QACpB,IAAI,CAAC,QAAQ,GAAG,IAAI,oBAAoB,CAA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CAAA;AACP,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,2BAA2B,EAAE;AAChC;AACJ,iBAAA;;sBAMI;;sBAKA;;sBAKA;;sBAKA;;sBAKA,KAAK;uBAAC,EAAE,SAAS,EAAE,eAAe,EAAE;;sBAKpC,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;MAyH7B,qBAAqB,CAAA;uGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAArB,qBAAqB,EAAA,OAAA,EAAA,CAvJrB,eAAe,CAAA,EAAA,OAAA,EAAA,CAAf,eAAe,CAAA,EAAA,CAAA;wGAuJf,qBAAqB,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,eAAe;AAC5B,iBAAA;;;AC5KD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"exhaustive-ui-core-animateonscroll.mjs","sources":["../../src/animateonscroll/animateonscroll.ts","../../src/animateonscroll/exhaustive-ui-core-animateonscroll.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { afterNextRender, booleanAttribute, computed, Directive, input, NgModule, numberAttribute, signal } from '@angular/core';\nimport { addClass, removeClass } from '@exhaustive-ui/utils';\nimport { BaseComponent } from '@exhaustive-ui/core/basecomponent';\n\ninterface AnimateOnScrollOptions {\n root?: HTMLElement | null;\n rootMargin?: string;\n threshold?: number;\n}\n\n/**\n * AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling.\n * @group Components\n */\n@Directive({\n selector: '[pAnimateOnScroll]',\n host: {\n '[class.p-animateonscroll]': 'true'\n }\n})\nexport class AnimateOnScroll extends BaseComponent {\n /**\n * Selector to define the CSS class for enter animation.\n * @group Props\n */\n readonly enterClass = input<string | undefined>();\n /**\n * Selector to define the CSS class for leave animation.\n * @group Props\n */\n readonly leaveClass = input<string | undefined>();\n /**\n * Specifies the root option of the IntersectionObserver API.\n * @group Props\n */\n readonly root = input<HTMLElement | undefined | null>();\n /**\n * Specifies the rootMargin option of the IntersectionObserver API.\n * @group Props\n */\n readonly rootMargin = input<string | undefined>();\n /**\n * Specifies the threshold option of the IntersectionObserver API\n * @group Props\n */\n readonly threshold = input<number | undefined, unknown>(0.5, { transform: numberAttribute });\n /**\n * Whether the scroll event listener should be removed after initial run.\n * @group Props\n */\n readonly once = input<boolean, unknown>(false, { transform: booleanAttribute });\n\n observer = signal<IntersectionObserver | undefined>(undefined);\n\n resetObserver = signal<any>(undefined);\n\n isObserverActive = signal<boolean>(false);\n\n animationState = signal<any>(undefined);\n\n animationEndListener = signal<VoidFunction | null | undefined>(undefined);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.bindIntersectionObserver();\n });\n }\n\n onInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.renderer.setStyle(this.el.nativeElement, 'opacity', this.enterClass() ? '0' : '');\n }\n }\n\n options = computed<AnimateOnScrollOptions>(() => {\n return {\n root: this.root(),\n rootMargin: this.rootMargin(),\n threshold: this.threshold() || 0.5\n };\n });\n\n bindIntersectionObserver() {\n this.observer.set(\n new IntersectionObserver(([entry]) => {\n if (this.isObserverActive()) {\n if (entry.boundingClientRect.top > 0) {\n entry.isIntersecting ? this.enter() : this.leave();\n }\n } else if (entry.isIntersecting) {\n this.enter();\n }\n\n this.isObserverActive.set(true);\n }, this.options())\n );\n\n setTimeout(() => this.observer()?.observe(this.el.nativeElement), 0);\n\n // Reset\n\n this.resetObserver.set(\n new IntersectionObserver(\n ([entry]) => {\n if (entry.boundingClientRect.top > 0 && !entry.isIntersecting) {\n this.el.nativeElement.style.opacity = this.enterClass() ? '0' : '';\n removeClass(this.el.nativeElement, [this.enterClass(), this.leaveClass()]);\n\n this.resetObserver().unobserve(this.el.nativeElement);\n }\n\n this.animationState.set(undefined);\n },\n { ...this.options(), threshold: 0 }\n )\n );\n }\n\n enter() {\n const enterClass = this.enterClass();\n\n if (this.animationState() !== 'enter' && enterClass) {\n this.el.nativeElement.style.opacity = '';\n removeClass(this.el.nativeElement, this.leaveClass());\n addClass(this.el.nativeElement, enterClass);\n\n this.once() && this.unbindIntersectionObserver();\n\n this.bindAnimationEvents();\n this.animationState.set('enter');\n }\n }\n\n leave() {\n const leaveClass = this.leaveClass();\n\n if (this.animationState() !== 'leave' && leaveClass) {\n this.el.nativeElement.style.opacity = this.enterClass() ? '0' : '';\n removeClass(this.el.nativeElement, this.enterClass());\n addClass(this.el.nativeElement, leaveClass);\n\n this.bindAnimationEvents();\n this.animationState.set('leave');\n }\n }\n\n bindAnimationEvents() {\n if (!this.animationEndListener()) {\n this.animationEndListener.set(\n this.renderer.listen(this.el.nativeElement, 'animationend', () => {\n removeClass(this.el.nativeElement, [this.enterClass(), this.leaveClass()]);\n !this.once() && this.resetObserver().observe(this.el.nativeElement);\n this.unbindAnimationEvents();\n })\n );\n }\n }\n\n unbindAnimationEvents() {\n const animationEndListener = this.animationEndListener();\n\n if (animationEndListener) {\n animationEndListener();\n this.animationEndListener.set(null);\n }\n }\n\n unbindIntersectionObserver() {\n this.observer()?.unobserve(this.el.nativeElement);\n this.resetObserver()?.unobserve(this.el.nativeElement);\n this.isObserverActive.set(false);\n }\n\n onDestroy() {\n this.unbindAnimationEvents();\n this.unbindIntersectionObserver();\n }\n}\n\n@NgModule({\n imports: [AnimateOnScroll],\n exports: [AnimateOnScroll]\n})\nexport class AnimateOnScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAWA;;;AAGG;AAOG,MAAO,eAAgB,SAAQ,aAAa,CAAA;AAC9C;;;AAGG;AACM,IAAA,UAAU,GAAG,KAAK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,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAArB,qBAAqB,EAAA,OAAA,EAAA,CApKrB,eAAe,CAAA,EAAA,OAAA,EAAA,CAAf,eAAe,CAAA,EAAA,CAAA;wGAoKf,qBAAqB,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,eAAe;AAC5B,iBAAA;;;ACxLD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, ChangeDetectionStrategy, Component, inject, TemplateRef,
|
|
2
|
+
import { Injectable, ChangeDetectionStrategy, Component, inject, TemplateRef, input, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { resolveFieldData, equals, removeAccents } from '@exhaustive-ui/utils';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
@@ -708,12 +708,12 @@ const PrimeIcons = OpenngIcons;
|
|
|
708
708
|
|
|
709
709
|
class Header {
|
|
710
710
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Header, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
711
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.1", type: Header, isStandalone: false, selector: "p-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.
|
|
711
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.1", type: Header, isStandalone: false, selector: "p-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
712
712
|
}
|
|
713
713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Header, decorators: [{
|
|
714
714
|
type: Component,
|
|
715
715
|
args: [{
|
|
716
|
-
changeDetection: ChangeDetectionStrategy.
|
|
716
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
717
717
|
selector: 'p-header',
|
|
718
718
|
template: '<ng-content></ng-content>',
|
|
719
719
|
standalone: false
|
|
@@ -721,12 +721,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
721
721
|
}] });
|
|
722
722
|
class Footer {
|
|
723
723
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Footer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
724
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.1", type: Footer, isStandalone: false, selector: "p-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.
|
|
724
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.1", type: Footer, isStandalone: false, selector: "p-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
725
725
|
}
|
|
726
726
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Footer, decorators: [{
|
|
727
727
|
type: Component,
|
|
728
728
|
args: [{
|
|
729
|
-
changeDetection: ChangeDetectionStrategy.
|
|
729
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
730
730
|
selector: 'p-footer',
|
|
731
731
|
template: '<ng-content></ng-content>',
|
|
732
732
|
standalone: false
|
|
@@ -734,26 +734,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
734
734
|
}] });
|
|
735
735
|
class PrimeTemplate {
|
|
736
736
|
template = inject(TemplateRef);
|
|
737
|
-
|
|
738
|
-
name;
|
|
737
|
+
name = input(undefined, { ...(ngDevMode ? { debugName: "name" } : /* istanbul ignore next */ {}), alias: 'pTemplate' });
|
|
739
738
|
getType() {
|
|
740
|
-
return this.name;
|
|
739
|
+
return this.name();
|
|
741
740
|
}
|
|
742
741
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PrimeTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
743
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
742
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.1", type: PrimeTemplate, isStandalone: true, selector: "[pTemplate]", inputs: { name: { classPropertyName: "name", publicName: "pTemplate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
744
743
|
}
|
|
745
744
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PrimeTemplate, decorators: [{
|
|
746
745
|
type: Directive,
|
|
747
746
|
args: [{
|
|
748
|
-
selector: '[pTemplate]'
|
|
749
|
-
standalone: true
|
|
747
|
+
selector: '[pTemplate]'
|
|
750
748
|
}]
|
|
751
|
-
}], propDecorators: { type: [{
|
|
752
|
-
type: Input
|
|
753
|
-
}], name: [{
|
|
754
|
-
type: Input,
|
|
755
|
-
args: ['pTemplate']
|
|
756
|
-
}] } });
|
|
749
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "pTemplate", required: false }] }] } });
|
|
757
750
|
class SharedModule {
|
|
758
751
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
759
752
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: SharedModule, declarations: [Header, Footer], imports: [CommonModule, PrimeTemplate], exports: [Header, Footer, PrimeTemplate] });
|