@anguless/angulux 22.0.0-rc.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/LICENSE +22 -0
- package/NOTICE +40 -0
- package/fesm2022/anguless-angulux-api.mjs +843 -0
- package/fesm2022/anguless-angulux-api.mjs.map +1 -0
- package/fesm2022/anguless-angulux-autofocus.mjs +83 -0
- package/fesm2022/anguless-angulux-autofocus.mjs.map +1 -0
- package/fesm2022/anguless-angulux-avatar.mjs +212 -0
- package/fesm2022/anguless-angulux-avatar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-avatargroup.mjs +104 -0
- package/fesm2022/anguless-angulux-avatargroup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-badge.mjs +423 -0
- package/fesm2022/anguless-angulux-badge.mjs.map +1 -0
- package/fesm2022/anguless-angulux-base.mjs +124 -0
- package/fesm2022/anguless-angulux-base.mjs.map +1 -0
- package/fesm2022/anguless-angulux-basecomponent.mjs +443 -0
- package/fesm2022/anguless-angulux-basecomponent.mjs.map +1 -0
- package/fesm2022/anguless-angulux-baseeditableholder.mjs +70 -0
- package/fesm2022/anguless-angulux-baseeditableholder.mjs.map +1 -0
- package/fesm2022/anguless-angulux-baseinput.mjs +95 -0
- package/fesm2022/anguless-angulux-baseinput.mjs.map +1 -0
- package/fesm2022/anguless-angulux-basemodelholder.mjs +27 -0
- package/fesm2022/anguless-angulux-basemodelholder.mjs.map +1 -0
- package/fesm2022/anguless-angulux-bind.mjs +99 -0
- package/fesm2022/anguless-angulux-bind.mjs.map +1 -0
- package/fesm2022/anguless-angulux-button.mjs +1039 -0
- package/fesm2022/anguless-angulux-button.mjs.map +1 -0
- package/fesm2022/anguless-angulux-card.mjs +311 -0
- package/fesm2022/anguless-angulux-card.mjs.map +1 -0
- package/fesm2022/anguless-angulux-chart.mjs +268 -0
- package/fesm2022/anguless-angulux-chart.mjs.map +1 -0
- package/fesm2022/anguless-angulux-checkbox.mjs +469 -0
- package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -0
- package/fesm2022/anguless-angulux-chip.mjs +376 -0
- package/fesm2022/anguless-angulux-chip.mjs.map +1 -0
- package/fesm2022/anguless-angulux-colorpicker.mjs +807 -0
- package/fesm2022/anguless-angulux-colorpicker.mjs.map +1 -0
- package/fesm2022/anguless-angulux-config.mjs +309 -0
- package/fesm2022/anguless-angulux-config.mjs.map +1 -0
- package/fesm2022/anguless-angulux-confirmdialog.mjs +858 -0
- package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -0
- package/fesm2022/anguless-angulux-datepicker.mjs +4441 -0
- package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -0
- package/fesm2022/anguless-angulux-dialog.mjs +1420 -0
- package/fesm2022/anguless-angulux-dialog.mjs.map +1 -0
- package/fesm2022/anguless-angulux-divider.mjs +160 -0
- package/fesm2022/anguless-angulux-divider.mjs.map +1 -0
- package/fesm2022/anguless-angulux-dom.mjs +778 -0
- package/fesm2022/anguless-angulux-dom.mjs.map +1 -0
- package/fesm2022/anguless-angulux-drawer.mjs +782 -0
- package/fesm2022/anguless-angulux-drawer.mjs.map +1 -0
- package/fesm2022/anguless-angulux-fileupload.mjs +1580 -0
- package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -0
- package/fesm2022/anguless-angulux-fluid.mjs +87 -0
- package/fesm2022/anguless-angulux-fluid.mjs.map +1 -0
- package/fesm2022/anguless-angulux-focustrap.mjs +108 -0
- package/fesm2022/anguless-angulux-focustrap.mjs.map +1 -0
- package/fesm2022/anguless-angulux-iconfield.mjs +112 -0
- package/fesm2022/anguless-angulux-iconfield.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-angledoubledown.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-angledoubleright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-angledoubleup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angledown.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-angledown.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angleleft.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-angleleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angleright.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-angleright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-angleup.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-angleup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowdown.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-arrowdown.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-arrowdownright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowleft.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-arrowleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowright.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-arrowright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-arrowup.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-arrowup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-ban.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-ban.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-bars.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-bars.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-baseicon.mjs +101 -0
- package/fesm2022/anguless-angulux-icons-baseicon.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-blank.mjs +24 -0
- package/fesm2022/anguless-angulux-icons-blank.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-calendar.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-calendar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-caretleft.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-caretleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-caretright.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-caretright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-check.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-check.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-chevrondown.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-chevrondown.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-chevronleft.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-chevronleft.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-chevronright.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-chevronright.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-chevronup.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-chevronup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +69 -0
- package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-eye.mjs +38 -0
- package/fesm2022/anguless-angulux-icons-eye.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-eyeslash.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-eyeslash.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-filter.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-filter.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-filterfill.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-filterfill.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-filterslash.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-filterslash.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-home.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-home.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-infocircle.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-infocircle.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-minus.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-minus.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-pencil.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-pencil.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-plus.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-plus.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-refresh.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-refresh.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-search.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-search.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-searchminus.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-searchminus.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-searchplus.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-searchplus.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-sortalt.mjs +65 -0
- package/fesm2022/anguless-angulux-icons-sortalt.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-sortamountdown.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-spinner.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-spinner.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-star.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-star.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-starfill.mjs +53 -0
- package/fesm2022/anguless-angulux-icons-starfill.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-thlarge.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-thlarge.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-times.mjs +34 -0
- package/fesm2022/anguless-angulux-icons-times.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-timescircle.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-timescircle.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-trash.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-trash.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-undo.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-undo.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-upload.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-upload.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-windowmaximize.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons-windowminimize.mjs +57 -0
- package/fesm2022/anguless-angulux-icons-windowminimize.mjs.map +1 -0
- package/fesm2022/anguless-angulux-icons.mjs +63 -0
- package/fesm2022/anguless-angulux-icons.mjs.map +1 -0
- package/fesm2022/anguless-angulux-inputicon.mjs +84 -0
- package/fesm2022/anguless-angulux-inputicon.mjs.map +1 -0
- package/fesm2022/anguless-angulux-inputnumber.mjs +1673 -0
- package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -0
- package/fesm2022/anguless-angulux-inputtext.mjs +199 -0
- package/fesm2022/anguless-angulux-inputtext.mjs.map +1 -0
- package/fesm2022/anguless-angulux-menu.mjs +1160 -0
- package/fesm2022/anguless-angulux-menu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-message.mjs +409 -0
- package/fesm2022/anguless-angulux-message.mjs.map +1 -0
- package/fesm2022/anguless-angulux-motion.mjs +721 -0
- package/fesm2022/anguless-angulux-motion.mjs.map +1 -0
- package/fesm2022/anguless-angulux-multiselect.mjs +2712 -0
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -0
- package/fesm2022/anguless-angulux-overlay.mjs +886 -0
- package/fesm2022/anguless-angulux-overlay.mjs.map +1 -0
- package/fesm2022/anguless-angulux-paginator.mjs +823 -0
- package/fesm2022/anguless-angulux-paginator.mjs.map +1 -0
- package/fesm2022/anguless-angulux-password.mjs +1181 -0
- package/fesm2022/anguless-angulux-password.mjs.map +1 -0
- package/fesm2022/anguless-angulux-popover.mjs +532 -0
- package/fesm2022/anguless-angulux-popover.mjs.map +1 -0
- package/fesm2022/anguless-angulux-progressbar.mjs +214 -0
- package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-progressspinner.mjs +146 -0
- package/fesm2022/anguless-angulux-progressspinner.mjs.map +1 -0
- package/fesm2022/anguless-angulux-radiobutton.mjs +381 -0
- package/fesm2022/anguless-angulux-radiobutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-ripple.mjs +194 -0
- package/fesm2022/anguless-angulux-ripple.mjs.map +1 -0
- package/fesm2022/anguless-angulux-scroller.mjs +1325 -0
- package/fesm2022/anguless-angulux-scroller.mjs.map +1 -0
- package/fesm2022/anguless-angulux-select.mjs +2408 -0
- package/fesm2022/anguless-angulux-select.mjs.map +1 -0
- package/fesm2022/anguless-angulux-selectbutton.mjs +434 -0
- package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-skeleton.mjs +168 -0
- package/fesm2022/anguless-angulux-skeleton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-splitbutton.mjs +643 -0
- package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-table.mjs +7815 -0
- package/fesm2022/anguless-angulux-table.mjs.map +1 -0
- package/fesm2022/anguless-angulux-tabs.mjs +921 -0
- package/fesm2022/anguless-angulux-tabs.mjs.map +1 -0
- package/fesm2022/anguless-angulux-tag.mjs +196 -0
- package/fesm2022/anguless-angulux-tag.mjs.map +1 -0
- package/fesm2022/anguless-angulux-textarea.mjs +227 -0
- package/fesm2022/anguless-angulux-textarea.mjs.map +1 -0
- package/fesm2022/anguless-angulux-tieredmenu.mjs +1635 -0
- package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-timeline.mjs +248 -0
- package/fesm2022/anguless-angulux-timeline.mjs.map +1 -0
- package/fesm2022/anguless-angulux-toast.mjs +788 -0
- package/fesm2022/anguless-angulux-toast.mjs.map +1 -0
- package/fesm2022/anguless-angulux-togglebutton.mjs +391 -0
- package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-toggleswitch.mjs +345 -0
- package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -0
- package/fesm2022/anguless-angulux-tooltip.mjs +845 -0
- package/fesm2022/anguless-angulux-tooltip.mjs.map +1 -0
- package/fesm2022/anguless-angulux-treetable.mjs +5167 -0
- package/fesm2022/anguless-angulux-treetable.mjs.map +1 -0
- package/fesm2022/anguless-angulux-ts-helpers.mjs +4 -0
- package/fesm2022/anguless-angulux-ts-helpers.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-accordion.mjs +4 -0
- package/fesm2022/anguless-angulux-types-accordion.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-autocomplete.mjs +4 -0
- package/fesm2022/anguless-angulux-types-autocomplete.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-avatar.mjs +4 -0
- package/fesm2022/anguless-angulux-types-avatar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-avatargroup.mjs +4 -0
- package/fesm2022/anguless-angulux-types-avatargroup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-badge.mjs +4 -0
- package/fesm2022/anguless-angulux-types-badge.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-blockui.mjs +4 -0
- package/fesm2022/anguless-angulux-types-blockui.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-breadcrumb.mjs +4 -0
- package/fesm2022/anguless-angulux-types-breadcrumb.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-button.mjs +4 -0
- package/fesm2022/anguless-angulux-types-button.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-card.mjs +4 -0
- package/fesm2022/anguless-angulux-types-card.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-carousel.mjs +4 -0
- package/fesm2022/anguless-angulux-types-carousel.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-cascadeselect.mjs +4 -0
- package/fesm2022/anguless-angulux-types-cascadeselect.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-chart.mjs +4 -0
- package/fesm2022/anguless-angulux-types-chart.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-checkbox.mjs +4 -0
- package/fesm2022/anguless-angulux-types-checkbox.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-chip.mjs +4 -0
- package/fesm2022/anguless-angulux-types-chip.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-colorpicker.mjs +4 -0
- package/fesm2022/anguless-angulux-types-colorpicker.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-confirmdialog.mjs +4 -0
- package/fesm2022/anguless-angulux-types-confirmdialog.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-confirmpopup.mjs +4 -0
- package/fesm2022/anguless-angulux-types-confirmpopup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-contextmenu.mjs +4 -0
- package/fesm2022/anguless-angulux-types-contextmenu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-dataview.mjs +4 -0
- package/fesm2022/anguless-angulux-types-dataview.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-datepicker.mjs +4 -0
- package/fesm2022/anguless-angulux-types-datepicker.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-dialog.mjs +4 -0
- package/fesm2022/anguless-angulux-types-dialog.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-divider.mjs +4 -0
- package/fesm2022/anguless-angulux-types-divider.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-dock.mjs +4 -0
- package/fesm2022/anguless-angulux-types-dock.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-drawer.mjs +4 -0
- package/fesm2022/anguless-angulux-types-drawer.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-editor.mjs +4 -0
- package/fesm2022/anguless-angulux-types-editor.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-fieldset.mjs +4 -0
- package/fesm2022/anguless-angulux-types-fieldset.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-fileupload.mjs +4 -0
- package/fesm2022/anguless-angulux-types-fileupload.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-floatlabel.mjs +4 -0
- package/fesm2022/anguless-angulux-types-floatlabel.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-fluid.mjs +4 -0
- package/fesm2022/anguless-angulux-types-fluid.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-galleria.mjs +4 -0
- package/fesm2022/anguless-angulux-types-galleria.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-iconfield.mjs +4 -0
- package/fesm2022/anguless-angulux-types-iconfield.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-iftalabel.mjs +4 -0
- package/fesm2022/anguless-angulux-types-iftalabel.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-image.mjs +4 -0
- package/fesm2022/anguless-angulux-types-image.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-imagecompare.mjs +4 -0
- package/fesm2022/anguless-angulux-types-imagecompare.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inplace.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inplace.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputgroup.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputgroup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputgroupaddon.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputgroupaddon.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputicon.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputicon.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputmask.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputmask.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputnumber.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputnumber.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputotp.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputotp.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-inputtext.mjs +4 -0
- package/fesm2022/anguless-angulux-types-inputtext.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-knob.mjs +4 -0
- package/fesm2022/anguless-angulux-types-knob.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-listbox.mjs +4 -0
- package/fesm2022/anguless-angulux-types-listbox.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-megamenu.mjs +4 -0
- package/fesm2022/anguless-angulux-types-megamenu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-menu.mjs +4 -0
- package/fesm2022/anguless-angulux-types-menu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-menubar.mjs +4 -0
- package/fesm2022/anguless-angulux-types-menubar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-message.mjs +4 -0
- package/fesm2022/anguless-angulux-types-message.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-metergroup.mjs +4 -0
- package/fesm2022/anguless-angulux-types-metergroup.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-motion.mjs +4 -0
- package/fesm2022/anguless-angulux-types-motion.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-multiselect.mjs +4 -0
- package/fesm2022/anguless-angulux-types-multiselect.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-orderlist.mjs +4 -0
- package/fesm2022/anguless-angulux-types-orderlist.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-organizationchart.mjs +4 -0
- package/fesm2022/anguless-angulux-types-organizationchart.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-overlay.mjs +4 -0
- package/fesm2022/anguless-angulux-types-overlay.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-overlaybadge.mjs +4 -0
- package/fesm2022/anguless-angulux-types-overlaybadge.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-paginator.mjs +4 -0
- package/fesm2022/anguless-angulux-types-paginator.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-panel.mjs +4 -0
- package/fesm2022/anguless-angulux-types-panel.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-panelmenu.mjs +4 -0
- package/fesm2022/anguless-angulux-types-panelmenu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-password.mjs +4 -0
- package/fesm2022/anguless-angulux-types-password.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-picklist.mjs +4 -0
- package/fesm2022/anguless-angulux-types-picklist.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-popover.mjs +4 -0
- package/fesm2022/anguless-angulux-types-popover.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-progressbar.mjs +4 -0
- package/fesm2022/anguless-angulux-types-progressbar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-progressspinner.mjs +4 -0
- package/fesm2022/anguless-angulux-types-progressspinner.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-radiobutton.mjs +4 -0
- package/fesm2022/anguless-angulux-types-radiobutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-rating.mjs +4 -0
- package/fesm2022/anguless-angulux-types-rating.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-scroller.mjs +4 -0
- package/fesm2022/anguless-angulux-types-scroller.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-scrollpanel.mjs +4 -0
- package/fesm2022/anguless-angulux-types-scrollpanel.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-scrolltop.mjs +4 -0
- package/fesm2022/anguless-angulux-types-scrolltop.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-select.mjs +4 -0
- package/fesm2022/anguless-angulux-types-select.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-selectbutton.mjs +4 -0
- package/fesm2022/anguless-angulux-types-selectbutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-skeleton.mjs +4 -0
- package/fesm2022/anguless-angulux-types-skeleton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-slider.mjs +4 -0
- package/fesm2022/anguless-angulux-types-slider.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-speeddial.mjs +4 -0
- package/fesm2022/anguless-angulux-types-speeddial.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-splitbutton.mjs +4 -0
- package/fesm2022/anguless-angulux-types-splitbutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-splitter.mjs +4 -0
- package/fesm2022/anguless-angulux-types-splitter.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-stepper.mjs +4 -0
- package/fesm2022/anguless-angulux-types-stepper.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-table.mjs +4 -0
- package/fesm2022/anguless-angulux-types-table.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-tabs.mjs +4 -0
- package/fesm2022/anguless-angulux-types-tabs.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-tag.mjs +4 -0
- package/fesm2022/anguless-angulux-types-tag.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-terminal.mjs +4 -0
- package/fesm2022/anguless-angulux-types-terminal.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-textarea.mjs +4 -0
- package/fesm2022/anguless-angulux-types-textarea.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-tieredmenu.mjs +4 -0
- package/fesm2022/anguless-angulux-types-tieredmenu.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-timeline.mjs +4 -0
- package/fesm2022/anguless-angulux-types-timeline.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-toast.mjs +4 -0
- package/fesm2022/anguless-angulux-types-toast.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-togglebutton.mjs +4 -0
- package/fesm2022/anguless-angulux-types-togglebutton.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-toggleswitch.mjs +4 -0
- package/fesm2022/anguless-angulux-types-toggleswitch.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-toolbar.mjs +4 -0
- package/fesm2022/anguless-angulux-types-toolbar.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-tooltip.mjs +4 -0
- package/fesm2022/anguless-angulux-types-tooltip.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-tree.mjs +4 -0
- package/fesm2022/anguless-angulux-types-tree.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-treeselect.mjs +4 -0
- package/fesm2022/anguless-angulux-types-treeselect.mjs.map +1 -0
- package/fesm2022/anguless-angulux-types-treetable.mjs +4 -0
- package/fesm2022/anguless-angulux-types-treetable.mjs.map +1 -0
- package/fesm2022/anguless-angulux-usestyle.mjs +54 -0
- package/fesm2022/anguless-angulux-usestyle.mjs.map +1 -0
- package/fesm2022/anguless-angulux-utils.mjs +332 -0
- package/fesm2022/anguless-angulux-utils.mjs.map +1 -0
- package/fesm2022/anguless-angulux.mjs +6 -0
- package/fesm2022/anguless-angulux.mjs.map +1 -0
- package/package.json +904 -0
- package/types/anguless-angulux-api.d.ts +1976 -0
- package/types/anguless-angulux-autofocus.d.ts +31 -0
- package/types/anguless-angulux-avatar.d.ts +138 -0
- package/types/anguless-angulux-avatargroup.d.ts +64 -0
- package/types/anguless-angulux-badge.d.ts +182 -0
- package/types/anguless-angulux-base.d.ts +58 -0
- package/types/anguless-angulux-basecomponent.d.ts +175 -0
- package/types/anguless-angulux-baseeditableholder.d.ts +45 -0
- package/types/anguless-angulux-baseinput.d.ts +73 -0
- package/types/anguless-angulux-basemodelholder.d.ts +12 -0
- package/types/anguless-angulux-bind.d.ts +38 -0
- package/types/anguless-angulux-button.d.ts +489 -0
- package/types/anguless-angulux-card.d.ts +155 -0
- package/types/anguless-angulux-chart.d.ts +133 -0
- package/types/anguless-angulux-checkbox.d.ts +229 -0
- package/types/anguless-angulux-chip.d.ts +165 -0
- package/types/anguless-angulux-colorpicker.d.ts +315 -0
- package/types/anguless-angulux-config.d.ts +268 -0
- package/types/anguless-angulux-confirmdialog.d.ts +358 -0
- package/types/anguless-angulux-datepicker.d.ts +1015 -0
- package/types/anguless-angulux-dialog.d.ts +553 -0
- package/types/anguless-angulux-divider.d.ts +120 -0
- package/types/anguless-angulux-dom.d.ts +109 -0
- package/types/anguless-angulux-drawer.d.ts +301 -0
- package/types/anguless-angulux-fileupload.d.ts +560 -0
- package/types/anguless-angulux-fluid.d.ts +52 -0
- package/types/anguless-angulux-focustrap.d.ts +36 -0
- package/types/anguless-angulux-iconfield.d.ts +71 -0
- package/types/anguless-angulux-icons-angledoubledown.d.ts +9 -0
- package/types/anguless-angulux-icons-angledoubleleft.d.ts +9 -0
- package/types/anguless-angulux-icons-angledoubleright.d.ts +9 -0
- package/types/anguless-angulux-icons-angledoubleup.d.ts +9 -0
- package/types/anguless-angulux-icons-angledown.d.ts +9 -0
- package/types/anguless-angulux-icons-angleleft.d.ts +9 -0
- package/types/anguless-angulux-icons-angleright.d.ts +9 -0
- package/types/anguless-angulux-icons-angleup.d.ts +9 -0
- package/types/anguless-angulux-icons-arrowdown.d.ts +11 -0
- package/types/anguless-angulux-icons-arrowdownleft.d.ts +9 -0
- package/types/anguless-angulux-icons-arrowdownright.d.ts +9 -0
- package/types/anguless-angulux-icons-arrowleft.d.ts +11 -0
- package/types/anguless-angulux-icons-arrowright.d.ts +9 -0
- package/types/anguless-angulux-icons-arrowup.d.ts +11 -0
- package/types/anguless-angulux-icons-ban.d.ts +11 -0
- package/types/anguless-angulux-icons-bars.d.ts +9 -0
- package/types/anguless-angulux-icons-baseicon.d.ts +31 -0
- package/types/anguless-angulux-icons-blank.d.ts +9 -0
- package/types/anguless-angulux-icons-calendar.d.ts +9 -0
- package/types/anguless-angulux-icons-caretleft.d.ts +9 -0
- package/types/anguless-angulux-icons-caretright.d.ts +9 -0
- package/types/anguless-angulux-icons-check.d.ts +9 -0
- package/types/anguless-angulux-icons-chevrondown.d.ts +9 -0
- package/types/anguless-angulux-icons-chevronleft.d.ts +9 -0
- package/types/anguless-angulux-icons-chevronright.d.ts +9 -0
- package/types/anguless-angulux-icons-chevronup.d.ts +9 -0
- package/types/anguless-angulux-icons-exclamationtriangle.d.ts +11 -0
- package/types/anguless-angulux-icons-eye.d.ts +9 -0
- package/types/anguless-angulux-icons-eyeslash.d.ts +11 -0
- package/types/anguless-angulux-icons-filter.d.ts +11 -0
- package/types/anguless-angulux-icons-filterfill.d.ts +9 -0
- package/types/anguless-angulux-icons-filterslash.d.ts +11 -0
- package/types/anguless-angulux-icons-home.d.ts +11 -0
- package/types/anguless-angulux-icons-infocircle.d.ts +11 -0
- package/types/anguless-angulux-icons-minus.d.ts +9 -0
- package/types/anguless-angulux-icons-pencil.d.ts +11 -0
- package/types/anguless-angulux-icons-plus.d.ts +11 -0
- package/types/anguless-angulux-icons-refresh.d.ts +11 -0
- package/types/anguless-angulux-icons-search.d.ts +11 -0
- package/types/anguless-angulux-icons-searchminus.d.ts +11 -0
- package/types/anguless-angulux-icons-searchplus.d.ts +11 -0
- package/types/anguless-angulux-icons-sortalt.d.ts +11 -0
- package/types/anguless-angulux-icons-sortamountdown.d.ts +11 -0
- package/types/anguless-angulux-icons-sortamountupalt.d.ts +11 -0
- package/types/anguless-angulux-icons-spinner.d.ts +11 -0
- package/types/anguless-angulux-icons-star.d.ts +11 -0
- package/types/anguless-angulux-icons-starfill.d.ts +11 -0
- package/types/anguless-angulux-icons-thlarge.d.ts +11 -0
- package/types/anguless-angulux-icons-times.d.ts +9 -0
- package/types/anguless-angulux-icons-timescircle.d.ts +11 -0
- package/types/anguless-angulux-icons-trash.d.ts +11 -0
- package/types/anguless-angulux-icons-undo.d.ts +11 -0
- package/types/anguless-angulux-icons-upload.d.ts +11 -0
- package/types/anguless-angulux-icons-windowmaximize.d.ts +11 -0
- package/types/anguless-angulux-icons-windowminimize.d.ts +11 -0
- package/types/anguless-angulux-icons.d.ts +53 -0
- package/types/anguless-angulux-inputicon.d.ts +44 -0
- package/types/anguless-angulux-inputnumber.d.ts +434 -0
- package/types/anguless-angulux-inputtext.d.ts +115 -0
- package/types/anguless-angulux-menu.d.ts +362 -0
- package/types/anguless-angulux-message.d.ts +211 -0
- package/types/anguless-angulux-motion.d.ts +398 -0
- package/types/anguless-angulux-multiselect.d.ts +902 -0
- package/types/anguless-angulux-overlay.d.ts +355 -0
- package/types/anguless-angulux-paginator.d.ts +361 -0
- package/types/anguless-angulux-password.d.ts +492 -0
- package/types/anguless-angulux-popover.d.ts +202 -0
- package/types/anguless-angulux-progressbar.d.ts +122 -0
- package/types/anguless-angulux-progressspinner.d.ts +90 -0
- package/types/anguless-angulux-radiobutton.d.ts +191 -0
- package/types/anguless-angulux-ripple.d.ts +61 -0
- package/types/anguless-angulux-scroller.d.ts +450 -0
- package/types/anguless-angulux-select.d.ts +790 -0
- package/types/anguless-angulux-selectbutton.d.ts +184 -0
- package/types/anguless-angulux-skeleton.d.ts +102 -0
- package/types/anguless-angulux-splitbutton.d.ts +292 -0
- package/types/anguless-angulux-table.d.ts +2087 -0
- package/types/anguless-angulux-tabs.d.ts +358 -0
- package/types/anguless-angulux-tag.d.ts +113 -0
- package/types/anguless-angulux-textarea.d.ts +125 -0
- package/types/anguless-angulux-tieredmenu.d.ts +430 -0
- package/types/anguless-angulux-timeline.d.ts +139 -0
- package/types/anguless-angulux-toast.d.ts +301 -0
- package/types/anguless-angulux-togglebutton.d.ts +203 -0
- package/types/anguless-angulux-toggleswitch.d.ts +166 -0
- package/types/anguless-angulux-tooltip.d.ts +284 -0
- package/types/anguless-angulux-treetable.d.ts +1276 -0
- package/types/anguless-angulux-ts-helpers.d.ts +6 -0
- package/types/anguless-angulux-types-accordion.d.ts +97 -0
- package/types/anguless-angulux-types-autocomplete.d.ts +312 -0
- package/types/anguless-angulux-types-avatar.d.ts +40 -0
- package/types/anguless-angulux-types-avatargroup.d.ts +28 -0
- package/types/anguless-angulux-types-badge.d.ts +26 -0
- package/types/anguless-angulux-types-blockui.d.ts +39 -0
- package/types/anguless-angulux-types-breadcrumb.d.ts +96 -0
- package/types/anguless-angulux-types-button.d.ts +124 -0
- package/types/anguless-angulux-types-card.d.ts +75 -0
- package/types/anguless-angulux-types-carousel.d.ts +143 -0
- package/types/anguless-angulux-types-cascadeselect.d.ts +215 -0
- package/types/anguless-angulux-types-chart.d.ts +32 -0
- package/types/anguless-angulux-types-checkbox.d.ts +81 -0
- package/types/anguless-angulux-types-chip.d.ts +71 -0
- package/types/anguless-angulux-types-colorpicker.d.ts +78 -0
- package/types/anguless-angulux-types-confirmdialog.d.ts +147 -0
- package/types/anguless-angulux-types-confirmpopup.d.ts +105 -0
- package/types/anguless-angulux-types-contextmenu.d.ts +102 -0
- package/types/anguless-angulux-types-dataview.d.ts +253 -0
- package/types/anguless-angulux-types-datepicker.d.ts +521 -0
- package/types/anguless-angulux-types-dialog.d.ts +107 -0
- package/types/anguless-angulux-types-divider.d.ts +28 -0
- package/types/anguless-angulux-types-dock.d.ts +70 -0
- package/types/anguless-angulux-types-drawer.d.ts +82 -0
- package/types/anguless-angulux-types-editor.d.ts +210 -0
- package/types/anguless-angulux-types-fieldset.d.ts +101 -0
- package/types/anguless-angulux-types-fileupload.d.ts +360 -0
- package/types/anguless-angulux-types-floatlabel.d.ts +26 -0
- package/types/anguless-angulux-types-fluid.d.ts +28 -0
- package/types/anguless-angulux-types-galleria.d.ts +250 -0
- package/types/anguless-angulux-types-iconfield.d.ts +26 -0
- package/types/anguless-angulux-types-iftalabel.d.ts +26 -0
- package/types/anguless-angulux-types-image.d.ts +144 -0
- package/types/anguless-angulux-types-imagecompare.d.ts +43 -0
- package/types/anguless-angulux-types-inplace.d.ts +72 -0
- package/types/anguless-angulux-types-inputgroup.d.ts +28 -0
- package/types/anguless-angulux-types-inputgroupaddon.d.ts +28 -0
- package/types/anguless-angulux-types-inputicon.d.ts +26 -0
- package/types/anguless-angulux-types-inputmask.d.ts +56 -0
- package/types/anguless-angulux-types-inputnumber.d.ts +95 -0
- package/types/anguless-angulux-types-inputotp.d.ts +101 -0
- package/types/anguless-angulux-types-inputtext.d.ts +24 -0
- package/types/anguless-angulux-types-knob.d.ts +40 -0
- package/types/anguless-angulux-types-listbox.d.ts +359 -0
- package/types/anguless-angulux-types-megamenu.d.ts +138 -0
- package/types/anguless-angulux-types-menu.d.ts +114 -0
- package/types/anguless-angulux-types-menubar.d.ts +124 -0
- package/types/anguless-angulux-types-message.d.ts +87 -0
- package/types/anguless-angulux-types-metergroup.d.ts +176 -0
- package/types/anguless-angulux-types-motion.d.ts +26 -0
- package/types/anguless-angulux-types-multiselect.d.ts +414 -0
- package/types/anguless-angulux-types-orderlist.d.ts +173 -0
- package/types/anguless-angulux-types-organizationchart.d.ts +138 -0
- package/types/anguless-angulux-types-overlay.d.ts +60 -0
- package/types/anguless-angulux-types-overlaybadge.d.ts +34 -0
- package/types/anguless-angulux-types-paginator.d.ts +167 -0
- package/types/anguless-angulux-types-panel.d.ts +129 -0
- package/types/anguless-angulux-types-panelmenu.d.ts +131 -0
- package/types/anguless-angulux-types-password.d.ts +120 -0
- package/types/anguless-angulux-types-picklist.d.ts +348 -0
- package/types/anguless-angulux-types-popover.d.ts +59 -0
- package/types/anguless-angulux-types-progressbar.d.ts +58 -0
- package/types/anguless-angulux-types-progressspinner.d.ts +36 -0
- package/types/anguless-angulux-types-radiobutton.d.ts +51 -0
- package/types/anguless-angulux-types-rating.d.ts +94 -0
- package/types/anguless-angulux-types-scroller.d.ts +231 -0
- package/types/anguless-angulux-types-scrollpanel.d.ts +51 -0
- package/types/anguless-angulux-types-scrolltop.d.ts +61 -0
- package/types/anguless-angulux-types-select.d.ts +319 -0
- package/types/anguless-angulux-types-selectbutton.d.ts +92 -0
- package/types/anguless-angulux-types-skeleton.d.ts +28 -0
- package/types/anguless-angulux-types-slider.d.ts +78 -0
- package/types/anguless-angulux-types-speeddial.d.ts +100 -0
- package/types/anguless-angulux-types-splitbutton.d.ts +70 -0
- package/types/anguless-angulux-types-splitter.d.ts +70 -0
- package/types/anguless-angulux-types-stepper.d.ts +162 -0
- package/types/anguless-angulux-types-table.d.ts +893 -0
- package/types/anguless-angulux-types-tabs.d.ts +119 -0
- package/types/anguless-angulux-types-tag.d.ts +47 -0
- package/types/anguless-angulux-types-terminal.d.ts +60 -0
- package/types/anguless-angulux-types-textarea.d.ts +28 -0
- package/types/anguless-angulux-types-tieredmenu.d.ts +95 -0
- package/types/anguless-angulux-types-timeline.d.ts +85 -0
- package/types/anguless-angulux-types-toast.d.ts +131 -0
- package/types/anguless-angulux-types-togglebutton.d.ts +86 -0
- package/types/anguless-angulux-types-toggleswitch.d.ts +73 -0
- package/types/anguless-angulux-types-toolbar.d.ts +55 -0
- package/types/anguless-angulux-types-tooltip.d.ts +32 -0
- package/types/anguless-angulux-types-tree.d.ts +342 -0
- package/types/anguless-angulux-types-treeselect.d.ts +251 -0
- package/types/anguless-angulux-types-treetable.d.ts +629 -0
- package/types/anguless-angulux-usestyle.d.ts +15 -0
- package/types/anguless-angulux-utils.d.ts +43 -0
- package/types/anguless-angulux.d.ts +2 -0
|
@@ -0,0 +1,721 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, InjectionToken, inject, input, output, computed, signal, effect, afterRenderEffect, untracked, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { createMotion, resolveDuration } from '@anguless/angulux-motion';
|
|
5
|
+
import { nextFrame } from '@anguless/angulux-utils';
|
|
6
|
+
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
7
|
+
import * as i1 from '@anguless/angulux/bind';
|
|
8
|
+
import { Bind, BindModule } from '@anguless/angulux/bind';
|
|
9
|
+
import { BaseStyle } from '@anguless/angulux/base';
|
|
10
|
+
|
|
11
|
+
const originalStyles = new WeakMap();
|
|
12
|
+
function applyHiddenStyles(element, strategy) {
|
|
13
|
+
if (!element)
|
|
14
|
+
return;
|
|
15
|
+
if (!originalStyles.has(element)) {
|
|
16
|
+
originalStyles.set(element, {
|
|
17
|
+
display: element.style.display,
|
|
18
|
+
visibility: element.style.visibility,
|
|
19
|
+
maxHeight: element.style.maxHeight,
|
|
20
|
+
overflow: element.style.overflow
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
switch (strategy) {
|
|
24
|
+
case 'display':
|
|
25
|
+
element.style.display = 'none';
|
|
26
|
+
break;
|
|
27
|
+
case 'visibility':
|
|
28
|
+
element.style.visibility = 'hidden';
|
|
29
|
+
element.style.maxHeight = '0';
|
|
30
|
+
element.style.overflow = 'hidden';
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function resetStyles(element, strategy) {
|
|
35
|
+
if (!element)
|
|
36
|
+
return;
|
|
37
|
+
const original = originalStyles.get(element) ?? element.style;
|
|
38
|
+
switch (strategy) {
|
|
39
|
+
case 'display':
|
|
40
|
+
element.style.display = original?.display || '';
|
|
41
|
+
break;
|
|
42
|
+
case 'visibility':
|
|
43
|
+
element.style.visibility = original?.visibility || '';
|
|
44
|
+
element.style.maxHeight = original?.maxHeight || '';
|
|
45
|
+
element.style.overflow = original?.overflow || '';
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
originalStyles.delete(element);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const style = /*css*/ `
|
|
52
|
+
.p-motion {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
const classes = {
|
|
57
|
+
root: 'p-motion'
|
|
58
|
+
};
|
|
59
|
+
class MotionStyle extends BaseStyle {
|
|
60
|
+
name = 'motion';
|
|
61
|
+
style = style;
|
|
62
|
+
classes = classes;
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
64
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionStyle });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionStyle, decorators: [{
|
|
67
|
+
type: Injectable
|
|
68
|
+
}] });
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* Motion and MotionDirective provide an easy way to add motion effects to Angular applications.
|
|
72
|
+
*
|
|
73
|
+
* @module motionstyle
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
var MotionClasses;
|
|
77
|
+
(function (MotionClasses) {
|
|
78
|
+
/**
|
|
79
|
+
* Class name of the root element
|
|
80
|
+
*/
|
|
81
|
+
MotionClasses["root"] = "p-motion";
|
|
82
|
+
})(MotionClasses || (MotionClasses = {}));
|
|
83
|
+
|
|
84
|
+
const MOTION_INSTANCE = new InjectionToken('MOTION_INSTANCE');
|
|
85
|
+
/**
|
|
86
|
+
* Motion component is a container to apply motion effects to its content.
|
|
87
|
+
* @group Components
|
|
88
|
+
*/
|
|
89
|
+
class Motion extends BaseComponent {
|
|
90
|
+
$pcMotion = inject(MOTION_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
91
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
92
|
+
onAfterViewChecked() {
|
|
93
|
+
const options = this.options();
|
|
94
|
+
const optionsAttrs = options?.root || {};
|
|
95
|
+
this.bindDirectiveInstance.setAttrs({ ...this.ptms(['host', 'root']), ...optionsAttrs });
|
|
96
|
+
}
|
|
97
|
+
_componentStyle = inject(MotionStyle);
|
|
98
|
+
/******************** Inputs ********************/
|
|
99
|
+
/**
|
|
100
|
+
* Whether the element is visible or not.
|
|
101
|
+
* @group Props
|
|
102
|
+
*/
|
|
103
|
+
visible = input(false, /* @ts-ignore */
|
|
104
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
105
|
+
/**
|
|
106
|
+
* Whether to mount the element on enter.
|
|
107
|
+
* @group Props
|
|
108
|
+
*/
|
|
109
|
+
mountOnEnter = input(true, /* @ts-ignore */
|
|
110
|
+
...(ngDevMode ? [{ debugName: "mountOnEnter" }] : /* istanbul ignore next */ []));
|
|
111
|
+
/**
|
|
112
|
+
* Whether to unmount the element on leave.
|
|
113
|
+
* @group Props
|
|
114
|
+
*/
|
|
115
|
+
unmountOnLeave = input(true, /* @ts-ignore */
|
|
116
|
+
...(ngDevMode ? [{ debugName: "unmountOnLeave" }] : /* istanbul ignore next */ []));
|
|
117
|
+
/**
|
|
118
|
+
* The name of the motion. It can be a predefined motion name or a custom one.
|
|
119
|
+
* phases:
|
|
120
|
+
* [name]-enter
|
|
121
|
+
* [name]-enter-active
|
|
122
|
+
* [name]-enter-to
|
|
123
|
+
* [name]-leave
|
|
124
|
+
* [name]-leave-active
|
|
125
|
+
* [name]-leave-to
|
|
126
|
+
* @group Props
|
|
127
|
+
*/
|
|
128
|
+
name = input(undefined, /* @ts-ignore */
|
|
129
|
+
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
130
|
+
/**
|
|
131
|
+
* The type of the motion, valid values 'transition' and 'animation'.
|
|
132
|
+
* @group Props
|
|
133
|
+
*/
|
|
134
|
+
type = input(undefined, /* @ts-ignore */
|
|
135
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
136
|
+
/**
|
|
137
|
+
* Whether the motion is safe.
|
|
138
|
+
* @group Props
|
|
139
|
+
*/
|
|
140
|
+
safe = input(undefined, /* @ts-ignore */
|
|
141
|
+
...(ngDevMode ? [{ debugName: "safe" }] : /* istanbul ignore next */ []));
|
|
142
|
+
/**
|
|
143
|
+
* Whether the motion is disabled.
|
|
144
|
+
* @group Props
|
|
145
|
+
*/
|
|
146
|
+
disabled = input(false, /* @ts-ignore */
|
|
147
|
+
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
148
|
+
/**
|
|
149
|
+
* Whether the motion should appear.
|
|
150
|
+
* @group Props
|
|
151
|
+
*/
|
|
152
|
+
appear = input(false, /* @ts-ignore */
|
|
153
|
+
...(ngDevMode ? [{ debugName: "appear" }] : /* istanbul ignore next */ []));
|
|
154
|
+
/**
|
|
155
|
+
* Whether the motion should enter.
|
|
156
|
+
* @group Props
|
|
157
|
+
*/
|
|
158
|
+
enter = input(true, /* @ts-ignore */
|
|
159
|
+
...(ngDevMode ? [{ debugName: "enter" }] : /* istanbul ignore next */ []));
|
|
160
|
+
/**
|
|
161
|
+
* Whether the motion should leave.
|
|
162
|
+
* @group Props
|
|
163
|
+
*/
|
|
164
|
+
leave = input(true, /* @ts-ignore */
|
|
165
|
+
...(ngDevMode ? [{ debugName: "leave" }] : /* istanbul ignore next */ []));
|
|
166
|
+
/**
|
|
167
|
+
* The duration of the motion.
|
|
168
|
+
* @group Props
|
|
169
|
+
*/
|
|
170
|
+
duration = input(undefined, /* @ts-ignore */
|
|
171
|
+
...(ngDevMode ? [{ debugName: "duration" }] : /* istanbul ignore next */ []));
|
|
172
|
+
/**
|
|
173
|
+
* The hide strategy of the motion, valid values 'display' and 'visibility'.
|
|
174
|
+
* @group Props
|
|
175
|
+
*/
|
|
176
|
+
hideStrategy = input('display', /* @ts-ignore */
|
|
177
|
+
...(ngDevMode ? [{ debugName: "hideStrategy" }] : /* istanbul ignore next */ []));
|
|
178
|
+
/**
|
|
179
|
+
* The enter from class of the motion.
|
|
180
|
+
* @group Props
|
|
181
|
+
*/
|
|
182
|
+
enterFromClass = input(undefined, /* @ts-ignore */
|
|
183
|
+
...(ngDevMode ? [{ debugName: "enterFromClass" }] : /* istanbul ignore next */ []));
|
|
184
|
+
/**
|
|
185
|
+
* The enter to class of the motion.
|
|
186
|
+
* @group Props
|
|
187
|
+
*/
|
|
188
|
+
enterToClass = input(undefined, /* @ts-ignore */
|
|
189
|
+
...(ngDevMode ? [{ debugName: "enterToClass" }] : /* istanbul ignore next */ []));
|
|
190
|
+
/**
|
|
191
|
+
* The enter active class of the motion.
|
|
192
|
+
* @group Props
|
|
193
|
+
*/
|
|
194
|
+
enterActiveClass = input(undefined, /* @ts-ignore */
|
|
195
|
+
...(ngDevMode ? [{ debugName: "enterActiveClass" }] : /* istanbul ignore next */ []));
|
|
196
|
+
/**
|
|
197
|
+
* The leave from class of the motion.
|
|
198
|
+
* @group Props
|
|
199
|
+
*/
|
|
200
|
+
leaveFromClass = input(undefined, /* @ts-ignore */
|
|
201
|
+
...(ngDevMode ? [{ debugName: "leaveFromClass" }] : /* istanbul ignore next */ []));
|
|
202
|
+
/**
|
|
203
|
+
* The leave to class of the motion.
|
|
204
|
+
* @group Props
|
|
205
|
+
*/
|
|
206
|
+
leaveToClass = input(undefined, /* @ts-ignore */
|
|
207
|
+
...(ngDevMode ? [{ debugName: "leaveToClass" }] : /* istanbul ignore next */ []));
|
|
208
|
+
/**
|
|
209
|
+
* The leave active class of the motion.
|
|
210
|
+
* @group Props
|
|
211
|
+
*/
|
|
212
|
+
leaveActiveClass = input(undefined, /* @ts-ignore */
|
|
213
|
+
...(ngDevMode ? [{ debugName: "leaveActiveClass" }] : /* istanbul ignore next */ []));
|
|
214
|
+
/******************** All Inputs ********************/
|
|
215
|
+
/**
|
|
216
|
+
* The motion options.
|
|
217
|
+
* @group Props
|
|
218
|
+
*/
|
|
219
|
+
options = input({}, /* @ts-ignore */
|
|
220
|
+
...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
221
|
+
/******************** Outputs ********************/
|
|
222
|
+
/**
|
|
223
|
+
* Callback fired before the enter transition/animation starts.
|
|
224
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
225
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
226
|
+
* @group Emits
|
|
227
|
+
*/
|
|
228
|
+
onBeforeEnter = output();
|
|
229
|
+
/**
|
|
230
|
+
* Callback fired when the enter transition/animation starts.
|
|
231
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
232
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
233
|
+
* @group Emits
|
|
234
|
+
*/
|
|
235
|
+
onEnter = output();
|
|
236
|
+
/**
|
|
237
|
+
* Callback fired after the enter transition/animation ends.
|
|
238
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
239
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
240
|
+
* @group Emits
|
|
241
|
+
*/
|
|
242
|
+
onAfterEnter = output();
|
|
243
|
+
/**
|
|
244
|
+
* Callback fired when the enter transition/animation is cancelled.
|
|
245
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
246
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
247
|
+
* @group Emits
|
|
248
|
+
*/
|
|
249
|
+
onEnterCancelled = output();
|
|
250
|
+
/**
|
|
251
|
+
* Callback fired before the leave transition/animation starts.
|
|
252
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
253
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
254
|
+
* @group Emits
|
|
255
|
+
*/
|
|
256
|
+
onBeforeLeave = output();
|
|
257
|
+
/**
|
|
258
|
+
* Callback fired when the leave transition/animation starts.
|
|
259
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
260
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
261
|
+
* @group Emits
|
|
262
|
+
*/
|
|
263
|
+
onLeave = output();
|
|
264
|
+
/**
|
|
265
|
+
* Callback fired after the leave transition/animation ends.
|
|
266
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
267
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
268
|
+
* @group Emits
|
|
269
|
+
*/
|
|
270
|
+
onAfterLeave = output();
|
|
271
|
+
/**
|
|
272
|
+
* Callback fired when the leave transition/animation is cancelled.
|
|
273
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
274
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
275
|
+
* @group Emits
|
|
276
|
+
*/
|
|
277
|
+
onLeaveCancelled = output();
|
|
278
|
+
/******************** Computed ********************/
|
|
279
|
+
motionOptions = computed(() => {
|
|
280
|
+
const options = this.options();
|
|
281
|
+
return {
|
|
282
|
+
name: options.name ?? this.name(),
|
|
283
|
+
type: options.type ?? this.type(),
|
|
284
|
+
safe: options.safe ?? this.safe(),
|
|
285
|
+
disabled: options.disabled ?? this.disabled(),
|
|
286
|
+
appear: false,
|
|
287
|
+
enter: options.enter ?? this.enter(),
|
|
288
|
+
leave: options.leave ?? this.leave(),
|
|
289
|
+
duration: options.duration ?? this.duration(),
|
|
290
|
+
enterClass: {
|
|
291
|
+
from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),
|
|
292
|
+
to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),
|
|
293
|
+
active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)
|
|
294
|
+
},
|
|
295
|
+
leaveClass: {
|
|
296
|
+
from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),
|
|
297
|
+
to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),
|
|
298
|
+
active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)
|
|
299
|
+
},
|
|
300
|
+
onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
|
|
301
|
+
onEnter: options.onEnter ?? this.handleEnter,
|
|
302
|
+
onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
|
|
303
|
+
onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
|
|
304
|
+
onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
|
|
305
|
+
onLeave: options.onLeave ?? this.handleLeave,
|
|
306
|
+
onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
|
|
307
|
+
onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
|
|
308
|
+
};
|
|
309
|
+
}, /* @ts-ignore */
|
|
310
|
+
...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
|
|
311
|
+
motion;
|
|
312
|
+
isInitialMount = true;
|
|
313
|
+
cancelled = false;
|
|
314
|
+
destroyed = false;
|
|
315
|
+
rendered = signal(false, /* @ts-ignore */
|
|
316
|
+
...(ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []));
|
|
317
|
+
handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
|
|
318
|
+
handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
|
|
319
|
+
handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
|
|
320
|
+
handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
|
|
321
|
+
handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
|
|
322
|
+
handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
|
|
323
|
+
handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
|
|
324
|
+
handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
|
|
325
|
+
constructor() {
|
|
326
|
+
super();
|
|
327
|
+
effect(() => {
|
|
328
|
+
const hideStrategy = this.hideStrategy();
|
|
329
|
+
if (this.isInitialMount) {
|
|
330
|
+
applyHiddenStyles(this.$el, hideStrategy);
|
|
331
|
+
this.rendered.set((this.visible() && this.mountOnEnter()) || !this.mountOnEnter());
|
|
332
|
+
}
|
|
333
|
+
else if (this.visible() && !this.rendered()) {
|
|
334
|
+
applyHiddenStyles(this.$el, hideStrategy);
|
|
335
|
+
this.rendered.set(true);
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
effect(() => {
|
|
339
|
+
if (!this.motion) {
|
|
340
|
+
this.motion = createMotion(this.$el, this.motionOptions());
|
|
341
|
+
}
|
|
342
|
+
else {
|
|
343
|
+
// @todo: Update motion options method to update options dynamically
|
|
344
|
+
//this.motion.update(this.$el, this.motionOptions());
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
afterRenderEffect(async () => {
|
|
348
|
+
if (!this.$el)
|
|
349
|
+
return;
|
|
350
|
+
const shouldAppear = this.isInitialMount && this.visible() && this.appear();
|
|
351
|
+
const hideStrategy = this.hideStrategy();
|
|
352
|
+
if (this.visible()) {
|
|
353
|
+
await nextFrame();
|
|
354
|
+
resetStyles(this.$el, hideStrategy);
|
|
355
|
+
if (shouldAppear || !this.isInitialMount) {
|
|
356
|
+
this.applyMotionDuration('enter');
|
|
357
|
+
this.motion?.enter();
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
else if (!this.isInitialMount) {
|
|
361
|
+
await nextFrame();
|
|
362
|
+
this.applyMotionDuration('leave');
|
|
363
|
+
this.motion?.leave()?.then(async () => {
|
|
364
|
+
if (this.$el && !this.cancelled && !this.visible()) {
|
|
365
|
+
applyHiddenStyles(this.$el, hideStrategy);
|
|
366
|
+
if (this.unmountOnLeave()) {
|
|
367
|
+
await nextFrame();
|
|
368
|
+
if (!this.cancelled) {
|
|
369
|
+
this.rendered.set(false);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
this.isInitialMount = false;
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
applyMotionDuration(phase) {
|
|
379
|
+
const options = untracked(this.motionOptions);
|
|
380
|
+
const ms = resolveDuration(options.duration, phase);
|
|
381
|
+
if (ms == null || !this.$el)
|
|
382
|
+
return;
|
|
383
|
+
const el = this.$el;
|
|
384
|
+
const durationValue = `${ms}ms`;
|
|
385
|
+
if (options.type === 'transition') {
|
|
386
|
+
el.style.transitionDuration = durationValue;
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
el.style.animationDuration = durationValue;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
onDestroy() {
|
|
393
|
+
this.destroyed = true;
|
|
394
|
+
this.cancelled = true;
|
|
395
|
+
this.motion?.cancel();
|
|
396
|
+
this.motion = undefined;
|
|
397
|
+
resetStyles(this.$el, this.hideStrategy());
|
|
398
|
+
this.$el?.remove();
|
|
399
|
+
this.isInitialMount = true;
|
|
400
|
+
}
|
|
401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Motion, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
402
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: Motion, isStandalone: true, selector: "agl-motion", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, mountOnEnter: { classPropertyName: "mountOnEnter", publicName: "mountOnEnter", isSignal: true, isRequired: false, transformFunction: null }, unmountOnLeave: { classPropertyName: "unmountOnLeave", publicName: "unmountOnLeave", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "safe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "appear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "enter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "leave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "hideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "enterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "enterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "enterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "leaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "leaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "leaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "onBeforeEnter", onEnter: "onEnter", onAfterEnter: "onAfterEnter", onEnterCancelled: "onEnterCancelled", onBeforeLeave: "onBeforeLeave", onLeave: "onLeave", onAfterLeave: "onAfterLeave", onLeaveCancelled: "onLeaveCancelled" }, host: { properties: { "class": "cx('root')" } }, providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
403
|
+
@if (rendered()) {
|
|
404
|
+
<ng-content />
|
|
405
|
+
}
|
|
406
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
407
|
+
}
|
|
408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Motion, decorators: [{
|
|
409
|
+
type: Component,
|
|
410
|
+
args: [{
|
|
411
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
412
|
+
selector: 'agl-motion',
|
|
413
|
+
standalone: true,
|
|
414
|
+
imports: [CommonModule, BindModule],
|
|
415
|
+
template: `
|
|
416
|
+
@if (rendered()) {
|
|
417
|
+
<ng-content />
|
|
418
|
+
}
|
|
419
|
+
`,
|
|
420
|
+
providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }],
|
|
421
|
+
host: {
|
|
422
|
+
'[class]': "cx('root')"
|
|
423
|
+
},
|
|
424
|
+
hostDirectives: [Bind]
|
|
425
|
+
}]
|
|
426
|
+
}], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], mountOnEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "mountOnEnter", required: false }] }], unmountOnLeave: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnLeave", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], safe: [{ type: i0.Input, args: [{ isSignal: true, alias: "safe", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], appear: [{ type: i0.Input, args: [{ isSignal: true, alias: "appear", required: false }] }], enter: [{ type: i0.Input, args: [{ isSignal: true, alias: "enter", required: false }] }], leave: [{ type: i0.Input, args: [{ isSignal: true, alias: "leave", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], hideStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideStrategy", required: false }] }], enterFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterFromClass", required: false }] }], enterToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterToClass", required: false }] }], enterActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterActiveClass", required: false }] }], leaveFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveFromClass", required: false }] }], leaveToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveToClass", required: false }] }], leaveActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveActiveClass", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], onBeforeEnter: [{ type: i0.Output, args: ["onBeforeEnter"] }], onEnter: [{ type: i0.Output, args: ["onEnter"] }], onAfterEnter: [{ type: i0.Output, args: ["onAfterEnter"] }], onEnterCancelled: [{ type: i0.Output, args: ["onEnterCancelled"] }], onBeforeLeave: [{ type: i0.Output, args: ["onBeforeLeave"] }], onLeave: [{ type: i0.Output, args: ["onLeave"] }], onAfterLeave: [{ type: i0.Output, args: ["onAfterLeave"] }], onLeaveCancelled: [{ type: i0.Output, args: ["onLeaveCancelled"] }] } });
|
|
427
|
+
|
|
428
|
+
const MOTION_DIRECTIVE_INSTANCE = new InjectionToken('MOTION_DIRECTIVE_INSTANCE');
|
|
429
|
+
/**
|
|
430
|
+
* Motion Directive is directive to apply motion effects to elements.
|
|
431
|
+
* @group Components
|
|
432
|
+
*/
|
|
433
|
+
class MotionDirective extends BaseComponent {
|
|
434
|
+
$pcMotionDirective = inject(MOTION_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
435
|
+
/******************** Inputs ********************/
|
|
436
|
+
/**
|
|
437
|
+
* Whether the element is visible or not.
|
|
438
|
+
* @group Props
|
|
439
|
+
*/
|
|
440
|
+
visible = input(false, { ...(ngDevMode ? { debugName: "visible" } : /* istanbul ignore next */ {}), alias: 'aglMotion' });
|
|
441
|
+
/**
|
|
442
|
+
* The name of the motion. It can be a predefined motion name or a custom one.
|
|
443
|
+
* phases:
|
|
444
|
+
* [name]-enter
|
|
445
|
+
* [name]-enter-active
|
|
446
|
+
* [name]-enter-to
|
|
447
|
+
* [name]-leave
|
|
448
|
+
* [name]-leave-active
|
|
449
|
+
* [name]-leave-to
|
|
450
|
+
* @group Props
|
|
451
|
+
*/
|
|
452
|
+
name = input(undefined, { ...(ngDevMode ? { debugName: "name" } : /* istanbul ignore next */ {}), alias: 'aglMotionName' });
|
|
453
|
+
/**
|
|
454
|
+
* The type of the motion, valid values 'transition' and 'animation'.
|
|
455
|
+
* @group Props
|
|
456
|
+
*/
|
|
457
|
+
type = input(undefined, { ...(ngDevMode ? { debugName: "type" } : /* istanbul ignore next */ {}), alias: 'aglMotionType' });
|
|
458
|
+
/**
|
|
459
|
+
* Whether the motion is safe.
|
|
460
|
+
* @group Props
|
|
461
|
+
*/
|
|
462
|
+
safe = input(undefined, { ...(ngDevMode ? { debugName: "safe" } : /* istanbul ignore next */ {}), alias: 'aglMotionSafe' });
|
|
463
|
+
/**
|
|
464
|
+
* Whether the motion is disabled.
|
|
465
|
+
* @group Props
|
|
466
|
+
*/
|
|
467
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), alias: 'aglMotionDisabled' });
|
|
468
|
+
/**
|
|
469
|
+
* Whether the motion should appear.
|
|
470
|
+
* @group Props
|
|
471
|
+
*/
|
|
472
|
+
appear = input(false, { ...(ngDevMode ? { debugName: "appear" } : /* istanbul ignore next */ {}), alias: 'aglMotionAppear' });
|
|
473
|
+
/**
|
|
474
|
+
* Whether the motion should enter.
|
|
475
|
+
* @group Props
|
|
476
|
+
*/
|
|
477
|
+
enter = input(true, { ...(ngDevMode ? { debugName: "enter" } : /* istanbul ignore next */ {}), alias: 'aglMotionEnter' });
|
|
478
|
+
/**
|
|
479
|
+
* Whether the motion should leave.
|
|
480
|
+
* @group Props
|
|
481
|
+
*/
|
|
482
|
+
leave = input(true, { ...(ngDevMode ? { debugName: "leave" } : /* istanbul ignore next */ {}), alias: 'aglMotionLeave' });
|
|
483
|
+
/**
|
|
484
|
+
* The duration of the motion.
|
|
485
|
+
* @group Props
|
|
486
|
+
*/
|
|
487
|
+
duration = input(undefined, { ...(ngDevMode ? { debugName: "duration" } : /* istanbul ignore next */ {}), alias: 'aglMotionDuration' });
|
|
488
|
+
/**
|
|
489
|
+
* The hide strategy of the motion, valid values 'display' and 'visibility'.
|
|
490
|
+
* @group Props
|
|
491
|
+
*/
|
|
492
|
+
hideStrategy = input('display', { ...(ngDevMode ? { debugName: "hideStrategy" } : /* istanbul ignore next */ {}), alias: 'aglMotionHideStrategy' });
|
|
493
|
+
/**
|
|
494
|
+
* The enter from class of the motion.
|
|
495
|
+
* @group Props
|
|
496
|
+
*/
|
|
497
|
+
enterFromClass = input(undefined, { ...(ngDevMode ? { debugName: "enterFromClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionEnterFromClass' });
|
|
498
|
+
/**
|
|
499
|
+
* The enter to class of the motion.
|
|
500
|
+
* @group Props
|
|
501
|
+
*/
|
|
502
|
+
enterToClass = input(undefined, { ...(ngDevMode ? { debugName: "enterToClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionEnterToClass' });
|
|
503
|
+
/**
|
|
504
|
+
* The enter active class of the motion.
|
|
505
|
+
* @group Props
|
|
506
|
+
*/
|
|
507
|
+
enterActiveClass = input(undefined, { ...(ngDevMode ? { debugName: "enterActiveClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionEnterActiveClass' });
|
|
508
|
+
/**
|
|
509
|
+
* The leave from class of the motion.
|
|
510
|
+
* @group Props
|
|
511
|
+
*/
|
|
512
|
+
leaveFromClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveFromClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionLeaveFromClass' });
|
|
513
|
+
/**
|
|
514
|
+
* The leave to class of the motion.
|
|
515
|
+
* @group Props
|
|
516
|
+
*/
|
|
517
|
+
leaveToClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveToClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionLeaveToClass' });
|
|
518
|
+
/**
|
|
519
|
+
* The leave active class of the motion.
|
|
520
|
+
* @group Props
|
|
521
|
+
*/
|
|
522
|
+
leaveActiveClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveActiveClass" } : /* istanbul ignore next */ {}), alias: 'aglMotionLeaveActiveClass' });
|
|
523
|
+
/******************** All Inputs ********************/
|
|
524
|
+
/**
|
|
525
|
+
* The motion options.
|
|
526
|
+
* @group Props
|
|
527
|
+
*/
|
|
528
|
+
options = input({}, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: 'aglMotionOptions' });
|
|
529
|
+
/******************** Outputs ********************/
|
|
530
|
+
/**
|
|
531
|
+
* Callback fired before the enter transition/animation starts.
|
|
532
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
533
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
534
|
+
* @group Emits
|
|
535
|
+
*/
|
|
536
|
+
onBeforeEnter = output({ alias: 'aglMotionOnBeforeEnter' });
|
|
537
|
+
/**
|
|
538
|
+
* Callback fired when the enter transition/animation starts.
|
|
539
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
540
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
541
|
+
* @group Emits
|
|
542
|
+
*/
|
|
543
|
+
onEnter = output({ alias: 'aglMotionOnEnter' });
|
|
544
|
+
/**
|
|
545
|
+
* Callback fired after the enter transition/animation ends.
|
|
546
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
547
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
548
|
+
* @group Emits
|
|
549
|
+
*/
|
|
550
|
+
onAfterEnter = output({ alias: 'aglMotionOnAfterEnter' });
|
|
551
|
+
/**
|
|
552
|
+
* Callback fired when the enter transition/animation is cancelled.
|
|
553
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
554
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
555
|
+
* @group Emits
|
|
556
|
+
*/
|
|
557
|
+
onEnterCancelled = output({ alias: 'aglMotionOnEnterCancelled' });
|
|
558
|
+
/**
|
|
559
|
+
* Callback fired before the leave transition/animation starts.
|
|
560
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
561
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
562
|
+
* @group Emits
|
|
563
|
+
*/
|
|
564
|
+
onBeforeLeave = output({ alias: 'aglMotionOnBeforeLeave' });
|
|
565
|
+
/**
|
|
566
|
+
* Callback fired when the leave transition/animation starts.
|
|
567
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
568
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
569
|
+
* @group Emits
|
|
570
|
+
*/
|
|
571
|
+
onLeave = output({ alias: 'aglMotionOnLeave' });
|
|
572
|
+
/**
|
|
573
|
+
* Callback fired after the leave transition/animation ends.
|
|
574
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
575
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
576
|
+
* @group Emits
|
|
577
|
+
*/
|
|
578
|
+
onAfterLeave = output({ alias: 'aglMotionOnAfterLeave' });
|
|
579
|
+
/**
|
|
580
|
+
* Callback fired when the leave transition/animation is cancelled.
|
|
581
|
+
* @param {MotionEvent} [event] - The event object containing details about the motion.
|
|
582
|
+
* @param {Element} event.element - The element being transitioned/animated.
|
|
583
|
+
* @group Emits
|
|
584
|
+
*/
|
|
585
|
+
onLeaveCancelled = output({ alias: 'aglMotionOnLeaveCancelled' });
|
|
586
|
+
/******************** Computed ********************/
|
|
587
|
+
motionOptions = computed(() => {
|
|
588
|
+
const options = this.options() ?? {};
|
|
589
|
+
return {
|
|
590
|
+
name: options.name ?? this.name(),
|
|
591
|
+
type: options.type ?? this.type(),
|
|
592
|
+
safe: options.safe ?? this.safe(),
|
|
593
|
+
disabled: options.disabled ?? this.disabled(),
|
|
594
|
+
appear: false,
|
|
595
|
+
enter: options.enter ?? this.enter(),
|
|
596
|
+
leave: options.leave ?? this.leave(),
|
|
597
|
+
duration: options.duration ?? this.duration(),
|
|
598
|
+
enterClass: {
|
|
599
|
+
from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),
|
|
600
|
+
to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),
|
|
601
|
+
active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)
|
|
602
|
+
},
|
|
603
|
+
leaveClass: {
|
|
604
|
+
from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),
|
|
605
|
+
to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),
|
|
606
|
+
active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)
|
|
607
|
+
},
|
|
608
|
+
onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
|
|
609
|
+
onEnter: options.onEnter ?? this.handleEnter,
|
|
610
|
+
onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
|
|
611
|
+
onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
|
|
612
|
+
onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
|
|
613
|
+
onLeave: options.onLeave ?? this.handleLeave,
|
|
614
|
+
onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
|
|
615
|
+
onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
|
|
616
|
+
};
|
|
617
|
+
}, /* @ts-ignore */
|
|
618
|
+
...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
|
|
619
|
+
motion;
|
|
620
|
+
isInitialMount = true;
|
|
621
|
+
cancelled = false;
|
|
622
|
+
destroyed = false;
|
|
623
|
+
handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
|
|
624
|
+
handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
|
|
625
|
+
handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
|
|
626
|
+
handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
|
|
627
|
+
handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
|
|
628
|
+
handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
|
|
629
|
+
handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
|
|
630
|
+
handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
|
|
631
|
+
constructor() {
|
|
632
|
+
super();
|
|
633
|
+
effect(() => {
|
|
634
|
+
if (!this.motion) {
|
|
635
|
+
this.motion = createMotion(this.$el, this.motionOptions());
|
|
636
|
+
}
|
|
637
|
+
else {
|
|
638
|
+
// @todo: Update motion options method to update options dynamically
|
|
639
|
+
//this.motion.update(this.$el, this.motionOptions());
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
afterRenderEffect(() => {
|
|
643
|
+
if (!this.$el)
|
|
644
|
+
return;
|
|
645
|
+
const shouldAppear = this.isInitialMount && this.visible() && this.appear();
|
|
646
|
+
const hideStrategy = this.hideStrategy();
|
|
647
|
+
if (this.visible()) {
|
|
648
|
+
resetStyles(this.$el, hideStrategy);
|
|
649
|
+
if (shouldAppear || !this.isInitialMount) {
|
|
650
|
+
this.applyMotionDuration('enter');
|
|
651
|
+
this.motion?.enter();
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
else if (!this.isInitialMount) {
|
|
655
|
+
this.applyMotionDuration('leave');
|
|
656
|
+
this.motion?.leave()?.then(() => {
|
|
657
|
+
if (this.$el && !this.cancelled && !this.visible()) {
|
|
658
|
+
applyHiddenStyles(this.$el, hideStrategy);
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
else {
|
|
663
|
+
applyHiddenStyles(this.$el, hideStrategy);
|
|
664
|
+
}
|
|
665
|
+
this.isInitialMount = false;
|
|
666
|
+
});
|
|
667
|
+
}
|
|
668
|
+
applyMotionDuration(phase) {
|
|
669
|
+
const options = untracked(this.motionOptions);
|
|
670
|
+
const ms = resolveDuration(options.duration, phase);
|
|
671
|
+
if (ms == null || !this.$el)
|
|
672
|
+
return;
|
|
673
|
+
const el = this.$el;
|
|
674
|
+
const durationValue = `${ms}ms`;
|
|
675
|
+
if (options.type === 'transition') {
|
|
676
|
+
el.style.transitionDuration = durationValue;
|
|
677
|
+
}
|
|
678
|
+
else {
|
|
679
|
+
el.style.animationDuration = durationValue;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
onDestroy() {
|
|
683
|
+
this.destroyed = true;
|
|
684
|
+
this.cancelled = true;
|
|
685
|
+
this.motion?.cancel();
|
|
686
|
+
this.motion = undefined;
|
|
687
|
+
resetStyles(this.$el, this.hideStrategy());
|
|
688
|
+
this.$el?.remove();
|
|
689
|
+
this.isInitialMount = true;
|
|
690
|
+
}
|
|
691
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
692
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: MotionDirective, isStandalone: true, selector: "[aglMotion]", inputs: { visible: { classPropertyName: "visible", publicName: "aglMotion", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "aglMotionName", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "aglMotionType", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "aglMotionSafe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "aglMotionDisabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "aglMotionAppear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "aglMotionEnter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "aglMotionLeave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "aglMotionDuration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "aglMotionHideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "aglMotionEnterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "aglMotionEnterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "aglMotionEnterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "aglMotionLeaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "aglMotionLeaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "aglMotionLeaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "aglMotionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "aglMotionOnBeforeEnter", onEnter: "aglMotionOnEnter", onAfterEnter: "aglMotionOnAfterEnter", onEnterCancelled: "aglMotionOnEnterCancelled", onBeforeLeave: "aglMotionOnBeforeLeave", onLeave: "aglMotionOnLeave", onAfterLeave: "aglMotionOnAfterLeave", onLeaveCancelled: "aglMotionOnLeaveCancelled" }, providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }], usesInheritance: true, ngImport: i0 });
|
|
693
|
+
}
|
|
694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionDirective, decorators: [{
|
|
695
|
+
type: Directive,
|
|
696
|
+
args: [{
|
|
697
|
+
selector: '[aglMotion]',
|
|
698
|
+
standalone: true,
|
|
699
|
+
providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }]
|
|
700
|
+
}]
|
|
701
|
+
}], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotion", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionName", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionType", required: false }] }], safe: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionSafe", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionDisabled", required: false }] }], appear: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionAppear", required: false }] }], enter: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionEnter", required: false }] }], leave: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionLeave", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionDuration", required: false }] }], hideStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionHideStrategy", required: false }] }], enterFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionEnterFromClass", required: false }] }], enterToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionEnterToClass", required: false }] }], enterActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionEnterActiveClass", required: false }] }], leaveFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionLeaveFromClass", required: false }] }], leaveToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionLeaveToClass", required: false }] }], leaveActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionLeaveActiveClass", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglMotionOptions", required: false }] }], onBeforeEnter: [{ type: i0.Output, args: ["aglMotionOnBeforeEnter"] }], onEnter: [{ type: i0.Output, args: ["aglMotionOnEnter"] }], onAfterEnter: [{ type: i0.Output, args: ["aglMotionOnAfterEnter"] }], onEnterCancelled: [{ type: i0.Output, args: ["aglMotionOnEnterCancelled"] }], onBeforeLeave: [{ type: i0.Output, args: ["aglMotionOnBeforeLeave"] }], onLeave: [{ type: i0.Output, args: ["aglMotionOnLeave"] }], onAfterLeave: [{ type: i0.Output, args: ["aglMotionOnAfterLeave"] }], onLeaveCancelled: [{ type: i0.Output, args: ["aglMotionOnLeaveCancelled"] }] } });
|
|
702
|
+
|
|
703
|
+
class MotionModule {
|
|
704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
705
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: MotionModule, imports: [Motion, MotionDirective], exports: [Motion, MotionDirective] });
|
|
706
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionModule, imports: [Motion] });
|
|
707
|
+
}
|
|
708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MotionModule, decorators: [{
|
|
709
|
+
type: NgModule,
|
|
710
|
+
args: [{
|
|
711
|
+
imports: [Motion, MotionDirective],
|
|
712
|
+
exports: [Motion, MotionDirective]
|
|
713
|
+
}]
|
|
714
|
+
}] });
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Generated bundle index. Do not edit.
|
|
718
|
+
*/
|
|
719
|
+
|
|
720
|
+
export { Motion, MotionDirective, MotionModule };
|
|
721
|
+
//# sourceMappingURL=anguless-angulux-motion.mjs.map
|