@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,1039 @@
|
|
|
1
|
+
export * from '@anguless/angulux/types/button';
|
|
2
|
+
import * as i2 from '@angular/common';
|
|
3
|
+
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { Injectable, InjectionToken, input, inject, effect, Directive, booleanAttribute, contentChild, computed, Input, EventEmitter, numberAttribute, ContentChildren, ContentChild, Output, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
|
+
import { addClass, isEmpty, findSingle, createElement } from '@anguless/angulux-utils';
|
|
7
|
+
import { SharedModule, AglTemplate } from '@anguless/angulux/api';
|
|
8
|
+
import { AutoFocus } from '@anguless/angulux/autofocus';
|
|
9
|
+
import * as i3 from '@anguless/angulux/badge';
|
|
10
|
+
import { BadgeModule } from '@anguless/angulux/badge';
|
|
11
|
+
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
12
|
+
import * as i1 from '@anguless/angulux/bind';
|
|
13
|
+
import { Bind } from '@anguless/angulux/bind';
|
|
14
|
+
import { Fluid } from '@anguless/angulux/fluid';
|
|
15
|
+
import { SpinnerIcon } from '@anguless/angulux/icons';
|
|
16
|
+
import { Ripple } from '@anguless/angulux/ripple';
|
|
17
|
+
import { style } from '@anguless/angulux-styles/button';
|
|
18
|
+
import { BaseStyle } from '@anguless/angulux/base';
|
|
19
|
+
|
|
20
|
+
const classes = {
|
|
21
|
+
root: ({ instance }) => [
|
|
22
|
+
'p-button p-component',
|
|
23
|
+
{
|
|
24
|
+
'p-button-icon-only': instance.hasIcon && !instance.label && !instance.buttonProps?.label && !instance.badge,
|
|
25
|
+
'p-button-vertical': (instance.iconPos === 'top' || instance.iconPos === 'bottom') && instance.label,
|
|
26
|
+
'p-button-loading': instance.loading || instance.buttonProps?.loading,
|
|
27
|
+
'p-button-link': instance.link || instance.buttonProps?.link,
|
|
28
|
+
[`p-button-${instance.severity || instance.buttonProps?.severity}`]: instance.severity || instance.buttonProps?.severity,
|
|
29
|
+
'p-button-raised': instance.raised || instance.buttonProps?.raised,
|
|
30
|
+
'p-button-rounded': instance.rounded || instance.buttonProps?.rounded,
|
|
31
|
+
'p-button-text': instance.text || instance.variant === 'text' || instance.buttonProps?.text || instance.buttonProps?.variant === 'text',
|
|
32
|
+
'p-button-outlined': instance.outlined || instance.variant === 'outlined' || instance.buttonProps?.outlined || instance.buttonProps?.variant === 'outlined',
|
|
33
|
+
'p-button-sm': instance.size === 'small' || instance.buttonProps?.size === 'small',
|
|
34
|
+
'p-button-lg': instance.size === 'large' || instance.buttonProps?.size === 'large',
|
|
35
|
+
'p-button-plain': instance.plain || instance.buttonProps?.plain,
|
|
36
|
+
'p-button-fluid': instance.hasFluid
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
loadingIcon: 'p-button-loading-icon',
|
|
40
|
+
icon: ({ instance }) => [
|
|
41
|
+
'p-button-icon',
|
|
42
|
+
{
|
|
43
|
+
[`p-button-icon-${instance.iconPos || instance.buttonProps?.iconPos}`]: instance.label || instance.buttonProps?.label,
|
|
44
|
+
'p-button-icon-left': ((instance.iconPos === 'left' || instance.buttonProps?.iconPos === 'left') && instance.label) || instance.buttonProps?.label,
|
|
45
|
+
'p-button-icon-right': ((instance.iconPos === 'right' || instance.buttonProps?.iconPos === 'right') && instance.label) || instance.buttonProps?.label,
|
|
46
|
+
'p-button-icon-top': ((instance.iconPos === 'top' || instance.buttonProps?.iconPos === 'top') && instance.label) || instance.buttonProps?.label,
|
|
47
|
+
'p-button-icon-bottom': ((instance.iconPos === 'bottom' || instance.buttonProps?.iconPos === 'bottom') && instance.label) || instance.buttonProps?.label
|
|
48
|
+
},
|
|
49
|
+
instance.icon,
|
|
50
|
+
instance.buttonProps?.icon
|
|
51
|
+
],
|
|
52
|
+
spinnerIcon: ({ instance }) => {
|
|
53
|
+
return Object.entries(instance.cx('icon'))
|
|
54
|
+
.filter(([, value]) => !!value)
|
|
55
|
+
.reduce((acc, [key]) => acc + ` ${key}`, 'p-button-loading-icon');
|
|
56
|
+
},
|
|
57
|
+
label: 'p-button-label'
|
|
58
|
+
};
|
|
59
|
+
class ButtonStyle extends BaseStyle {
|
|
60
|
+
name = 'button';
|
|
61
|
+
style = style;
|
|
62
|
+
classes = classes;
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
64
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonStyle });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonStyle, decorators: [{
|
|
67
|
+
type: Injectable
|
|
68
|
+
}] });
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* Button is an extension to standard button element with icons and theming.
|
|
72
|
+
*
|
|
73
|
+
* @module buttonstyle
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
var ButtonClasses;
|
|
77
|
+
(function (ButtonClasses) {
|
|
78
|
+
/**
|
|
79
|
+
* Class name of the root element
|
|
80
|
+
*/
|
|
81
|
+
ButtonClasses["root"] = "p-button";
|
|
82
|
+
/**
|
|
83
|
+
* Class name of the loading icon element
|
|
84
|
+
*/
|
|
85
|
+
ButtonClasses["loadingIcon"] = "p-button-loading-icon";
|
|
86
|
+
/**
|
|
87
|
+
* Class name of the icon element
|
|
88
|
+
*/
|
|
89
|
+
ButtonClasses["icon"] = "p-button-icon";
|
|
90
|
+
/**
|
|
91
|
+
* Class name of the label element
|
|
92
|
+
*/
|
|
93
|
+
ButtonClasses["label"] = "p-button-label";
|
|
94
|
+
})(ButtonClasses || (ButtonClasses = {}));
|
|
95
|
+
|
|
96
|
+
const BUTTON_INSTANCE = new InjectionToken('BUTTON_INSTANCE');
|
|
97
|
+
const BUTTON_DIRECTIVE_INSTANCE = new InjectionToken('BUTTON_DIRECTIVE_INSTANCE');
|
|
98
|
+
const BUTTON_LABEL_INSTANCE = new InjectionToken('BUTTON_LABEL_INSTANCE');
|
|
99
|
+
const BUTTON_ICON_INSTANCE = new InjectionToken('BUTTON_ICON_INSTANCE');
|
|
100
|
+
const INTERNAL_BUTTON_CLASSES = {
|
|
101
|
+
button: 'p-button',
|
|
102
|
+
component: 'p-component',
|
|
103
|
+
iconOnly: 'p-button-icon-only',
|
|
104
|
+
disabled: 'p-disabled',
|
|
105
|
+
loading: 'p-button-loading',
|
|
106
|
+
labelOnly: 'p-button-loading-label-only'
|
|
107
|
+
};
|
|
108
|
+
class ButtonLabel extends BaseComponent {
|
|
109
|
+
componentName = 'ButtonLabel';
|
|
110
|
+
/**
|
|
111
|
+
* Used to pass attributes to DOM elements inside the aglButtonLabel.
|
|
112
|
+
* @defaultValue undefined
|
|
113
|
+
* @deprecated use pButtonLabelPT instead.
|
|
114
|
+
* @group Props
|
|
115
|
+
*/
|
|
116
|
+
ptButtonLabel = input(/* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonLabel" }] : /* istanbul ignore next */ []));
|
|
118
|
+
/**
|
|
119
|
+
* Used to pass attributes to DOM elements inside the aglButtonLabel.
|
|
120
|
+
* @defaultValue undefined
|
|
121
|
+
* @group Props
|
|
122
|
+
*/
|
|
123
|
+
pButtonLabelPT = input(/* @ts-ignore */
|
|
124
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonLabelPT" }] : /* istanbul ignore next */ []));
|
|
125
|
+
/**
|
|
126
|
+
* Indicates whether the component should be rendered without styles.
|
|
127
|
+
* @defaultValue undefined
|
|
128
|
+
* @group Props
|
|
129
|
+
*/
|
|
130
|
+
pButtonLabelUnstyled = input(/* @ts-ignore */
|
|
131
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonLabelUnstyled" }] : /* istanbul ignore next */ []));
|
|
132
|
+
$pcButtonLabel = inject(BUTTON_LABEL_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
133
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
134
|
+
constructor() {
|
|
135
|
+
super();
|
|
136
|
+
effect(() => {
|
|
137
|
+
const pt = this.ptButtonLabel() || this.pButtonLabelPT();
|
|
138
|
+
pt && this.directivePT.set(pt);
|
|
139
|
+
});
|
|
140
|
+
effect(() => {
|
|
141
|
+
this.pButtonLabelUnstyled() && this.directiveUnstyled.set(this.pButtonLabelUnstyled());
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
onAfterViewChecked() {
|
|
145
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
146
|
+
}
|
|
147
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
148
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: ButtonLabel, isStandalone: true, selector: "[aglButtonLabel]", inputs: { ptButtonLabel: { classPropertyName: "ptButtonLabel", publicName: "ptButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelPT: { classPropertyName: "pButtonLabelPT", publicName: "pButtonLabelPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelUnstyled: { classPropertyName: "pButtonLabelUnstyled", publicName: "pButtonLabelUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-label": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
149
|
+
}
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonLabel, decorators: [{
|
|
151
|
+
type: Directive,
|
|
152
|
+
args: [{
|
|
153
|
+
selector: '[aglButtonLabel]',
|
|
154
|
+
providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }],
|
|
155
|
+
standalone: true,
|
|
156
|
+
host: {
|
|
157
|
+
'[class.p-button-label]': '!$unstyled() && true'
|
|
158
|
+
},
|
|
159
|
+
hostDirectives: [Bind]
|
|
160
|
+
}]
|
|
161
|
+
}], ctorParameters: () => [], propDecorators: { ptButtonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonLabel", required: false }] }], pButtonLabelPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonLabelPT", required: false }] }], pButtonLabelUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonLabelUnstyled", required: false }] }] } });
|
|
162
|
+
class ButtonIcon extends BaseComponent {
|
|
163
|
+
componentName = 'ButtonIcon';
|
|
164
|
+
/**
|
|
165
|
+
* Used to pass attributes to DOM elements inside the aglButtonIcon.
|
|
166
|
+
* @defaultValue undefined
|
|
167
|
+
* @deprecated use pButtonIconPT instead.
|
|
168
|
+
* @group Props
|
|
169
|
+
*/
|
|
170
|
+
ptButtonIcon = input(/* @ts-ignore */
|
|
171
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonIcon" }] : /* istanbul ignore next */ []));
|
|
172
|
+
/**
|
|
173
|
+
* Used to pass attributes to DOM elements inside the aglButtonIcon.
|
|
174
|
+
* @defaultValue undefined
|
|
175
|
+
* @group Props
|
|
176
|
+
*/
|
|
177
|
+
pButtonIconPT = input(/* @ts-ignore */
|
|
178
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonIconPT" }] : /* istanbul ignore next */ []));
|
|
179
|
+
/**
|
|
180
|
+
* Indicates whether the component should be rendered without styles.
|
|
181
|
+
* @defaultValue undefined
|
|
182
|
+
* @group Props
|
|
183
|
+
*/
|
|
184
|
+
pButtonUnstyled = input(/* @ts-ignore */
|
|
185
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
|
|
186
|
+
$pcButtonIcon = inject(BUTTON_ICON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
187
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
188
|
+
constructor() {
|
|
189
|
+
super();
|
|
190
|
+
effect(() => {
|
|
191
|
+
const pt = this.ptButtonIcon() || this.pButtonIconPT();
|
|
192
|
+
pt && this.directivePT.set(pt);
|
|
193
|
+
});
|
|
194
|
+
effect(() => {
|
|
195
|
+
this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
onAfterViewChecked() {
|
|
199
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
200
|
+
}
|
|
201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
202
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: ButtonIcon, isStandalone: true, selector: "[aglButtonIcon]", inputs: { ptButtonIcon: { classPropertyName: "ptButtonIcon", publicName: "ptButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, pButtonIconPT: { classPropertyName: "pButtonIconPT", publicName: "pButtonIconPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
203
|
+
}
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonIcon, decorators: [{
|
|
205
|
+
type: Directive,
|
|
206
|
+
args: [{
|
|
207
|
+
selector: '[aglButtonIcon]',
|
|
208
|
+
providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }],
|
|
209
|
+
standalone: true,
|
|
210
|
+
host: {
|
|
211
|
+
'[class.p-button-icon]': '!$unstyled() && true'
|
|
212
|
+
},
|
|
213
|
+
hostDirectives: [Bind]
|
|
214
|
+
}]
|
|
215
|
+
}], ctorParameters: () => [], propDecorators: { ptButtonIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonIcon", required: false }] }], pButtonIconPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonIconPT", required: false }] }], pButtonUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonUnstyled", required: false }] }] } });
|
|
216
|
+
/**
|
|
217
|
+
* Button directive is an extension to button component.
|
|
218
|
+
* @group Components
|
|
219
|
+
*/
|
|
220
|
+
class ButtonDirective extends BaseComponent {
|
|
221
|
+
componentName = 'Button';
|
|
222
|
+
$pcButtonDirective = inject(BUTTON_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
223
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
224
|
+
_componentStyle = inject(ButtonStyle);
|
|
225
|
+
/**
|
|
226
|
+
* Used to pass attributes to DOM elements inside the Button component.
|
|
227
|
+
* @defaultValue undefined
|
|
228
|
+
* @deprecated use pButtonPT instead.
|
|
229
|
+
* @group Props
|
|
230
|
+
*/
|
|
231
|
+
ptButtonDirective = input(/* @ts-ignore */
|
|
232
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonDirective" }] : /* istanbul ignore next */ []));
|
|
233
|
+
/**
|
|
234
|
+
* Used to pass attributes to DOM elements inside the Button component.
|
|
235
|
+
* @defaultValue undefined
|
|
236
|
+
* @group Props
|
|
237
|
+
*/
|
|
238
|
+
pButtonPT = input(/* @ts-ignore */
|
|
239
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonPT" }] : /* istanbul ignore next */ []));
|
|
240
|
+
/**
|
|
241
|
+
* Indicates whether the component should be rendered without styles.
|
|
242
|
+
* @defaultValue undefined
|
|
243
|
+
* @group Props
|
|
244
|
+
*/
|
|
245
|
+
pButtonUnstyled = input(/* @ts-ignore */
|
|
246
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
|
|
247
|
+
hostName = '';
|
|
248
|
+
onAfterViewChecked() {
|
|
249
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('root'));
|
|
250
|
+
}
|
|
251
|
+
constructor() {
|
|
252
|
+
super();
|
|
253
|
+
effect(() => {
|
|
254
|
+
const pt = this.ptButtonDirective() || this.pButtonPT();
|
|
255
|
+
pt && this.directivePT.set(pt);
|
|
256
|
+
});
|
|
257
|
+
effect(() => {
|
|
258
|
+
this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
|
|
259
|
+
});
|
|
260
|
+
effect(() => {
|
|
261
|
+
const unstyled = this.$unstyled();
|
|
262
|
+
if (this.initialized && unstyled) {
|
|
263
|
+
this.setStyleClass();
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Add a textual class to the button without a background initially.
|
|
269
|
+
* @group Props
|
|
270
|
+
*/
|
|
271
|
+
text = false;
|
|
272
|
+
/**
|
|
273
|
+
* Add a plain textual class to the button without a background initially.
|
|
274
|
+
* @group Props
|
|
275
|
+
*/
|
|
276
|
+
plain = false;
|
|
277
|
+
/**
|
|
278
|
+
* Add a shadow to indicate elevation.
|
|
279
|
+
* @group Props
|
|
280
|
+
*/
|
|
281
|
+
raised = false;
|
|
282
|
+
/**
|
|
283
|
+
* Defines the size of the button.
|
|
284
|
+
* @group Props
|
|
285
|
+
*/
|
|
286
|
+
size;
|
|
287
|
+
/**
|
|
288
|
+
* Add a border class without a background initially.
|
|
289
|
+
* @group Props
|
|
290
|
+
*/
|
|
291
|
+
outlined = false;
|
|
292
|
+
/**
|
|
293
|
+
* Add a circular border radius to the button.
|
|
294
|
+
* @group Props
|
|
295
|
+
*/
|
|
296
|
+
rounded = false;
|
|
297
|
+
/**
|
|
298
|
+
* Position of the icon.
|
|
299
|
+
* @group Props
|
|
300
|
+
*/
|
|
301
|
+
iconPos = 'left';
|
|
302
|
+
/**
|
|
303
|
+
* Icon to display in loading state.
|
|
304
|
+
* @group Props
|
|
305
|
+
*/
|
|
306
|
+
loadingIcon;
|
|
307
|
+
/**
|
|
308
|
+
* Spans 100% width of the container when enabled.
|
|
309
|
+
* @defaultValue undefined
|
|
310
|
+
* @group Props
|
|
311
|
+
*/
|
|
312
|
+
fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
313
|
+
iconSignal = contentChild(ButtonIcon, /* @ts-ignore */
|
|
314
|
+
...(ngDevMode ? [{ debugName: "iconSignal" }] : /* istanbul ignore next */ []));
|
|
315
|
+
labelSignal = contentChild(ButtonLabel, /* @ts-ignore */
|
|
316
|
+
...(ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []));
|
|
317
|
+
isIconOnly = computed(() => !!(!this.labelSignal() && this.iconSignal()), /* @ts-ignore */
|
|
318
|
+
...(ngDevMode ? [{ debugName: "isIconOnly" }] : /* istanbul ignore next */ []));
|
|
319
|
+
_label;
|
|
320
|
+
_icon;
|
|
321
|
+
_loading = false;
|
|
322
|
+
_severity;
|
|
323
|
+
_buttonProps;
|
|
324
|
+
initialized;
|
|
325
|
+
get htmlElement() {
|
|
326
|
+
return this.el.nativeElement;
|
|
327
|
+
}
|
|
328
|
+
_internalClasses = Object.values(INTERNAL_BUTTON_CLASSES);
|
|
329
|
+
pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
|
|
330
|
+
isTextButton = computed(() => !!(!this.iconSignal() && this.labelSignal() && this.text), /* @ts-ignore */
|
|
331
|
+
...(ngDevMode ? [{ debugName: "isTextButton" }] : /* istanbul ignore next */ []));
|
|
332
|
+
/**
|
|
333
|
+
* Text of the button.
|
|
334
|
+
* @deprecated use aglButtonLabel directive instead.
|
|
335
|
+
* @group Props
|
|
336
|
+
*/
|
|
337
|
+
get label() {
|
|
338
|
+
return this._label;
|
|
339
|
+
}
|
|
340
|
+
set label(val) {
|
|
341
|
+
this._label = val;
|
|
342
|
+
if (this.initialized) {
|
|
343
|
+
this.updateLabel();
|
|
344
|
+
this.updateIcon();
|
|
345
|
+
this.setStyleClass();
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Name of the icon.
|
|
350
|
+
* @deprecated use aglButtonIcon directive instead
|
|
351
|
+
* @group Props
|
|
352
|
+
*/
|
|
353
|
+
get icon() {
|
|
354
|
+
return this._icon;
|
|
355
|
+
}
|
|
356
|
+
set icon(val) {
|
|
357
|
+
this._icon = val;
|
|
358
|
+
if (this.initialized) {
|
|
359
|
+
this.updateIcon();
|
|
360
|
+
this.setStyleClass();
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Whether the button is in loading state.
|
|
365
|
+
* @group Props
|
|
366
|
+
*/
|
|
367
|
+
get loading() {
|
|
368
|
+
return this._loading;
|
|
369
|
+
}
|
|
370
|
+
set loading(val) {
|
|
371
|
+
this._loading = val;
|
|
372
|
+
if (this.initialized) {
|
|
373
|
+
this.updateIcon();
|
|
374
|
+
this.setStyleClass();
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Used to pass all properties of the ButtonProps to the Button component.
|
|
379
|
+
* @deprecated assign props directly to the button element.
|
|
380
|
+
* @group Props
|
|
381
|
+
*/
|
|
382
|
+
get buttonProps() {
|
|
383
|
+
return this._buttonProps;
|
|
384
|
+
}
|
|
385
|
+
set buttonProps(val) {
|
|
386
|
+
this._buttonProps = val;
|
|
387
|
+
if (val && typeof val === 'object') {
|
|
388
|
+
//@ts-ignore
|
|
389
|
+
Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Defines the style of the button.
|
|
394
|
+
* @group Props
|
|
395
|
+
*/
|
|
396
|
+
get severity() {
|
|
397
|
+
return this._severity;
|
|
398
|
+
}
|
|
399
|
+
set severity(value) {
|
|
400
|
+
this._severity = value;
|
|
401
|
+
if (this.initialized) {
|
|
402
|
+
this.setStyleClass();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
spinnerIcon = `<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">
|
|
406
|
+
<g clip-path="url(#clip0_417_21408)">
|
|
407
|
+
<path
|
|
408
|
+
d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"
|
|
409
|
+
fill="currentColor"
|
|
410
|
+
/>
|
|
411
|
+
</g>
|
|
412
|
+
<defs>
|
|
413
|
+
<clipPath id="clip0_417_21408">
|
|
414
|
+
<rect width="14" height="14" fill="white" />
|
|
415
|
+
</clipPath>
|
|
416
|
+
</defs>
|
|
417
|
+
</svg>`;
|
|
418
|
+
onAfterViewInit() {
|
|
419
|
+
!this.$unstyled() && addClass(this.htmlElement, this.getStyleClass().join(' '));
|
|
420
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
421
|
+
this.createIcon();
|
|
422
|
+
this.createLabel();
|
|
423
|
+
this.initialized = true;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
getStyleClass() {
|
|
427
|
+
const styleClass = [INTERNAL_BUTTON_CLASSES.button, INTERNAL_BUTTON_CLASSES.component];
|
|
428
|
+
if (this.icon && !this.label && isEmpty(this.htmlElement.textContent)) {
|
|
429
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
|
|
430
|
+
}
|
|
431
|
+
if (this.loading) {
|
|
432
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.disabled, INTERNAL_BUTTON_CLASSES.loading);
|
|
433
|
+
if (!this.icon && this.label) {
|
|
434
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.labelOnly);
|
|
435
|
+
}
|
|
436
|
+
if (this.icon && !this.label && !isEmpty(this.htmlElement.textContent)) {
|
|
437
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
if (this.text) {
|
|
441
|
+
styleClass.push('p-button-text');
|
|
442
|
+
}
|
|
443
|
+
if (this.severity) {
|
|
444
|
+
styleClass.push(`p-button-${this.severity}`);
|
|
445
|
+
}
|
|
446
|
+
if (this.plain) {
|
|
447
|
+
styleClass.push('p-button-plain');
|
|
448
|
+
}
|
|
449
|
+
if (this.raised) {
|
|
450
|
+
styleClass.push('p-button-raised');
|
|
451
|
+
}
|
|
452
|
+
if (this.size) {
|
|
453
|
+
styleClass.push(`p-button-${this.size}`);
|
|
454
|
+
}
|
|
455
|
+
if (this.outlined) {
|
|
456
|
+
styleClass.push('p-button-outlined');
|
|
457
|
+
}
|
|
458
|
+
if (this.rounded) {
|
|
459
|
+
styleClass.push('p-button-rounded');
|
|
460
|
+
}
|
|
461
|
+
if (this.size === 'small') {
|
|
462
|
+
styleClass.push('p-button-sm');
|
|
463
|
+
}
|
|
464
|
+
if (this.size === 'large') {
|
|
465
|
+
styleClass.push('p-button-lg');
|
|
466
|
+
}
|
|
467
|
+
if (this.hasFluid) {
|
|
468
|
+
styleClass.push('p-button-fluid');
|
|
469
|
+
}
|
|
470
|
+
return this.$unstyled() ? [] : styleClass;
|
|
471
|
+
}
|
|
472
|
+
get hasFluid() {
|
|
473
|
+
return this.fluid() ?? !!this.pcFluid;
|
|
474
|
+
}
|
|
475
|
+
setStyleClass() {
|
|
476
|
+
const styleClass = this.getStyleClass();
|
|
477
|
+
this.removeExistingSeverityClass();
|
|
478
|
+
this.htmlElement.classList.remove(...this._internalClasses);
|
|
479
|
+
this.htmlElement.classList.add(...styleClass);
|
|
480
|
+
}
|
|
481
|
+
removeExistingSeverityClass() {
|
|
482
|
+
const severityArray = ['success', 'info', 'warn', 'danger', 'help', 'primary', 'secondary', 'contrast'];
|
|
483
|
+
const existingSeverityClass = this.htmlElement.classList.value.split(' ').find((cls) => severityArray.some((severity) => cls === `p-button-${severity}`));
|
|
484
|
+
if (existingSeverityClass) {
|
|
485
|
+
this.htmlElement.classList.remove(existingSeverityClass);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
createLabel() {
|
|
489
|
+
const created = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
490
|
+
if (!created && this.label) {
|
|
491
|
+
let labelElement = createElement('span', { class: this.cx('label'), 'p-bind': this.ptm('buttonlabel'), 'aria-hidden': this.icon && !this.label ? 'true' : null });
|
|
492
|
+
labelElement.appendChild(this.document.createTextNode(this.label));
|
|
493
|
+
this.htmlElement.appendChild(labelElement);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
createIcon() {
|
|
497
|
+
const created = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
|
|
498
|
+
if (!created && (this.icon || this.loading)) {
|
|
499
|
+
let iconPosClass = this.label && !this.$unstyled() ? 'p-button-icon-' + this.iconPos : null;
|
|
500
|
+
let iconClass = !this.$unstyled() && this.getIconClass();
|
|
501
|
+
let iconElement = createElement('span', { class: this.cn(this.cx('icon'), iconPosClass, iconClass), 'aria-hidden': 'true', 'p-bind': this.ptm('buttonicon') });
|
|
502
|
+
if (!this.loadingIcon && this.loading) {
|
|
503
|
+
iconElement.innerHTML = this.spinnerIcon;
|
|
504
|
+
}
|
|
505
|
+
this.htmlElement.insertBefore(iconElement, this.htmlElement.firstChild);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
updateLabel() {
|
|
509
|
+
let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
510
|
+
if (!this.label) {
|
|
511
|
+
labelElement && this.htmlElement.removeChild(labelElement);
|
|
512
|
+
return;
|
|
513
|
+
}
|
|
514
|
+
labelElement ? (labelElement.textContent = this.label) : this.createLabel();
|
|
515
|
+
}
|
|
516
|
+
updateIcon() {
|
|
517
|
+
let iconElement = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
|
|
518
|
+
let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
519
|
+
if (this.loading && !this.loadingIcon && iconElement) {
|
|
520
|
+
iconElement.innerHTML = this.spinnerIcon;
|
|
521
|
+
}
|
|
522
|
+
else if (iconElement?.innerHTML) {
|
|
523
|
+
iconElement.innerHTML = '';
|
|
524
|
+
}
|
|
525
|
+
if (iconElement && !this.$unstyled()) {
|
|
526
|
+
if (this.iconPos) {
|
|
527
|
+
iconElement.className = 'p-button-icon ' + (labelElement ? 'p-button-icon-' + this.iconPos : '') + ' ' + this.getIconClass();
|
|
528
|
+
}
|
|
529
|
+
else {
|
|
530
|
+
iconElement.className = 'p-button-icon ' + this.getIconClass();
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
else {
|
|
534
|
+
this.createIcon();
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
getIconClass() {
|
|
538
|
+
return this.loading ? 'p-button-loading-icon ' + (this.loadingIcon ? this.loadingIcon : 'p-icon') : this.icon || 'p-hidden';
|
|
539
|
+
}
|
|
540
|
+
onDestroy() {
|
|
541
|
+
this.initialized = false;
|
|
542
|
+
}
|
|
543
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
544
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.0.8", type: ButtonDirective, isStandalone: true, selector: "[aglButton]", inputs: { ptButtonDirective: { classPropertyName: "ptButtonDirective", publicName: "ptButtonDirective", isSignal: true, isRequired: false, transformFunction: null }, pButtonPT: { classPropertyName: "pButtonPT", publicName: "pButtonPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null }, hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon-only": "!$unstyled() && isIconOnly()", "class.p-button-text": " !$unstyled() && isTextButton()" } }, providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }], queries: [{ propertyName: "iconSignal", first: true, predicate: ButtonIcon, descendants: true, isSignal: true }, { propertyName: "labelSignal", first: true, predicate: ButtonLabel, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
545
|
+
}
|
|
546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonDirective, decorators: [{
|
|
547
|
+
type: Directive,
|
|
548
|
+
args: [{
|
|
549
|
+
selector: '[aglButton]',
|
|
550
|
+
standalone: true,
|
|
551
|
+
providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }],
|
|
552
|
+
host: {
|
|
553
|
+
'[class.p-button-icon-only]': '!$unstyled() && isIconOnly()',
|
|
554
|
+
'[class.p-button-text]': ' !$unstyled() && isTextButton()'
|
|
555
|
+
},
|
|
556
|
+
hostDirectives: [Bind]
|
|
557
|
+
}]
|
|
558
|
+
}], ctorParameters: () => [], propDecorators: { ptButtonDirective: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonDirective", required: false }] }], pButtonPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonPT", required: false }] }], pButtonUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonUnstyled", required: false }] }], hostName: [{
|
|
559
|
+
type: Input
|
|
560
|
+
}], text: [{
|
|
561
|
+
type: Input,
|
|
562
|
+
args: [{ transform: booleanAttribute }]
|
|
563
|
+
}], plain: [{
|
|
564
|
+
type: Input,
|
|
565
|
+
args: [{ transform: booleanAttribute }]
|
|
566
|
+
}], raised: [{
|
|
567
|
+
type: Input,
|
|
568
|
+
args: [{ transform: booleanAttribute }]
|
|
569
|
+
}], size: [{
|
|
570
|
+
type: Input
|
|
571
|
+
}], outlined: [{
|
|
572
|
+
type: Input,
|
|
573
|
+
args: [{ transform: booleanAttribute }]
|
|
574
|
+
}], rounded: [{
|
|
575
|
+
type: Input,
|
|
576
|
+
args: [{ transform: booleanAttribute }]
|
|
577
|
+
}], iconPos: [{
|
|
578
|
+
type: Input
|
|
579
|
+
}], loadingIcon: [{
|
|
580
|
+
type: Input
|
|
581
|
+
}], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], iconSignal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ButtonIcon), { isSignal: true }] }], labelSignal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ButtonLabel), { isSignal: true }] }], label: [{
|
|
582
|
+
type: Input
|
|
583
|
+
}], icon: [{
|
|
584
|
+
type: Input
|
|
585
|
+
}], loading: [{
|
|
586
|
+
type: Input
|
|
587
|
+
}], buttonProps: [{
|
|
588
|
+
type: Input
|
|
589
|
+
}], severity: [{
|
|
590
|
+
type: Input
|
|
591
|
+
}] } });
|
|
592
|
+
/**
|
|
593
|
+
* Button is an extension to standard button element with icons and theming.
|
|
594
|
+
* @group Components
|
|
595
|
+
*/
|
|
596
|
+
class Button extends BaseComponent {
|
|
597
|
+
componentName = 'Button';
|
|
598
|
+
hostName = '';
|
|
599
|
+
$pcButton = inject(BUTTON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
600
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
601
|
+
_componentStyle = inject(ButtonStyle);
|
|
602
|
+
onAfterViewChecked() {
|
|
603
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('host'));
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Type of the button.
|
|
607
|
+
* @group Props
|
|
608
|
+
*/
|
|
609
|
+
type = 'button';
|
|
610
|
+
/**
|
|
611
|
+
* Value of the badge.
|
|
612
|
+
* @group Props
|
|
613
|
+
*/
|
|
614
|
+
badge;
|
|
615
|
+
/**
|
|
616
|
+
* When present, it specifies that the component should be disabled.
|
|
617
|
+
* @group Props
|
|
618
|
+
*/
|
|
619
|
+
disabled;
|
|
620
|
+
/**
|
|
621
|
+
* Add a shadow to indicate elevation.
|
|
622
|
+
* @group Props
|
|
623
|
+
*/
|
|
624
|
+
raised = false;
|
|
625
|
+
/**
|
|
626
|
+
* Add a circular border radius to the button.
|
|
627
|
+
* @group Props
|
|
628
|
+
*/
|
|
629
|
+
rounded = false;
|
|
630
|
+
/**
|
|
631
|
+
* Add a textual class to the button without a background initially.
|
|
632
|
+
* @group Props
|
|
633
|
+
*/
|
|
634
|
+
text = false;
|
|
635
|
+
/**
|
|
636
|
+
* Add a plain textual class to the button without a background initially.
|
|
637
|
+
* @group Props
|
|
638
|
+
*/
|
|
639
|
+
plain = false;
|
|
640
|
+
/**
|
|
641
|
+
* Add a border class without a background initially.
|
|
642
|
+
* @group Props
|
|
643
|
+
*/
|
|
644
|
+
outlined = false;
|
|
645
|
+
/**
|
|
646
|
+
* Add a link style to the button.
|
|
647
|
+
* @group Props
|
|
648
|
+
*/
|
|
649
|
+
link = false;
|
|
650
|
+
/**
|
|
651
|
+
* Add a tabindex to the button.
|
|
652
|
+
* @group Props
|
|
653
|
+
*/
|
|
654
|
+
tabindex;
|
|
655
|
+
/**
|
|
656
|
+
* Defines the size of the button.
|
|
657
|
+
* @group Props
|
|
658
|
+
*/
|
|
659
|
+
size;
|
|
660
|
+
/**
|
|
661
|
+
* Specifies the variant of the component.
|
|
662
|
+
* @group Props
|
|
663
|
+
*/
|
|
664
|
+
variant;
|
|
665
|
+
/**
|
|
666
|
+
* Inline style of the element.
|
|
667
|
+
* @group Props
|
|
668
|
+
*/
|
|
669
|
+
style;
|
|
670
|
+
/**
|
|
671
|
+
* Class of the element.
|
|
672
|
+
* @group Props
|
|
673
|
+
*/
|
|
674
|
+
styleClass;
|
|
675
|
+
/**
|
|
676
|
+
* Style class of the badge.
|
|
677
|
+
* @group Props
|
|
678
|
+
* @deprecated use badgeSeverity instead.
|
|
679
|
+
*/
|
|
680
|
+
badgeClass;
|
|
681
|
+
/**
|
|
682
|
+
* Severity type of the badge.
|
|
683
|
+
* @group Props
|
|
684
|
+
* @defaultValue secondary
|
|
685
|
+
*/
|
|
686
|
+
badgeSeverity = 'secondary';
|
|
687
|
+
/**
|
|
688
|
+
* Used to define a string that autocomplete attribute the current element.
|
|
689
|
+
* @group Props
|
|
690
|
+
*/
|
|
691
|
+
ariaLabel;
|
|
692
|
+
/**
|
|
693
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
694
|
+
* @group Props
|
|
695
|
+
*/
|
|
696
|
+
autofocus;
|
|
697
|
+
/**
|
|
698
|
+
* Position of the icon.
|
|
699
|
+
* @group Props
|
|
700
|
+
*/
|
|
701
|
+
iconPos = 'left';
|
|
702
|
+
/**
|
|
703
|
+
* Name of the icon.
|
|
704
|
+
* @group Props
|
|
705
|
+
*/
|
|
706
|
+
icon;
|
|
707
|
+
/**
|
|
708
|
+
* Text of the button.
|
|
709
|
+
* @group Props
|
|
710
|
+
*/
|
|
711
|
+
label;
|
|
712
|
+
/**
|
|
713
|
+
* Whether the button is in loading state.
|
|
714
|
+
* @group Props
|
|
715
|
+
*/
|
|
716
|
+
loading = false;
|
|
717
|
+
/**
|
|
718
|
+
* Icon to display in loading state.
|
|
719
|
+
* @group Props
|
|
720
|
+
*/
|
|
721
|
+
loadingIcon;
|
|
722
|
+
/**
|
|
723
|
+
* Defines the style of the button.
|
|
724
|
+
* @group Props
|
|
725
|
+
*/
|
|
726
|
+
severity;
|
|
727
|
+
/**
|
|
728
|
+
* Used to pass all properties of the ButtonProps to the Button component.
|
|
729
|
+
* @group Props
|
|
730
|
+
*/
|
|
731
|
+
buttonProps;
|
|
732
|
+
/**
|
|
733
|
+
* Spans 100% width of the container when enabled.
|
|
734
|
+
* @defaultValue undefined
|
|
735
|
+
* @group Props
|
|
736
|
+
*/
|
|
737
|
+
fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
738
|
+
/**
|
|
739
|
+
* Callback to execute when button is clicked.
|
|
740
|
+
* This event is intended to be used with the <agl-button> component. Using a regular <button> element, use (click).
|
|
741
|
+
* @param {MouseEvent} event - Mouse event.
|
|
742
|
+
* @group Emits
|
|
743
|
+
*/
|
|
744
|
+
onClick = new EventEmitter();
|
|
745
|
+
/**
|
|
746
|
+
* Callback to execute when button is focused.
|
|
747
|
+
* This event is intended to be used with the <agl-button> component. Using a regular <button> element, use (focus).
|
|
748
|
+
* @param {FocusEvent} event - Focus event.
|
|
749
|
+
* @group Emits
|
|
750
|
+
*/
|
|
751
|
+
onFocus = new EventEmitter();
|
|
752
|
+
/**
|
|
753
|
+
* Callback to execute when button loses focus.
|
|
754
|
+
* This event is intended to be used with the <agl-button> component. Using a regular <button> element, use (blur).
|
|
755
|
+
* @param {FocusEvent} event - Focus event.
|
|
756
|
+
* @group Emits
|
|
757
|
+
*/
|
|
758
|
+
onBlur = new EventEmitter();
|
|
759
|
+
/**
|
|
760
|
+
* Custom content template.
|
|
761
|
+
* @group Templates
|
|
762
|
+
**/
|
|
763
|
+
contentTemplate;
|
|
764
|
+
/**
|
|
765
|
+
* Custom loading icon template.
|
|
766
|
+
* @group Templates
|
|
767
|
+
**/
|
|
768
|
+
loadingIconTemplate;
|
|
769
|
+
/**
|
|
770
|
+
* Custom icon template.
|
|
771
|
+
* @group Templates
|
|
772
|
+
**/
|
|
773
|
+
iconTemplate;
|
|
774
|
+
templates;
|
|
775
|
+
pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
|
|
776
|
+
get hasFluid() {
|
|
777
|
+
return this.fluid() ?? !!this.pcFluid;
|
|
778
|
+
}
|
|
779
|
+
get hasIcon() {
|
|
780
|
+
return this.icon || this.buttonProps?.icon || this.iconTemplate || this._iconTemplate || this.loadingIcon || this.loadingIconTemplate || this._loadingIconTemplate;
|
|
781
|
+
}
|
|
782
|
+
_contentTemplate;
|
|
783
|
+
_iconTemplate;
|
|
784
|
+
_loadingIconTemplate;
|
|
785
|
+
onAfterContentInit() {
|
|
786
|
+
this.templates?.forEach((item) => {
|
|
787
|
+
switch (item.getType()) {
|
|
788
|
+
case 'content':
|
|
789
|
+
this._contentTemplate = item.template;
|
|
790
|
+
break;
|
|
791
|
+
case 'icon':
|
|
792
|
+
this._iconTemplate = item.template;
|
|
793
|
+
break;
|
|
794
|
+
case 'loadingicon':
|
|
795
|
+
this._loadingIconTemplate = item.template;
|
|
796
|
+
break;
|
|
797
|
+
default:
|
|
798
|
+
this._contentTemplate = item.template;
|
|
799
|
+
break;
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
get dataP() {
|
|
804
|
+
return this.cn({
|
|
805
|
+
[this.size]: this.size,
|
|
806
|
+
'icon-only': this.hasIcon && !this.label && !this.badge,
|
|
807
|
+
loading: this.loading,
|
|
808
|
+
fluid: this.hasFluid,
|
|
809
|
+
rounded: this.rounded,
|
|
810
|
+
raised: this.raised,
|
|
811
|
+
outlined: this.outlined || this.variant === 'outlined',
|
|
812
|
+
text: this.text || this.variant === 'text',
|
|
813
|
+
link: this.link,
|
|
814
|
+
vertical: (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
get dataIconP() {
|
|
818
|
+
return this.cn({
|
|
819
|
+
[this.iconPos]: this.iconPos,
|
|
820
|
+
[this.size]: this.size
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
get dataLabelP() {
|
|
824
|
+
return this.cn({
|
|
825
|
+
[this.size]: this.size,
|
|
826
|
+
'icon-only': this.hasIcon && !this.label && !this.badge
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Button, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
830
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: Button, isStandalone: true, selector: "agl-button", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, link: { classPropertyName: "link", publicName: "link", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, badgeClass: { classPropertyName: "badgeClass", publicName: "badgeClass", isSignal: false, isRequired: false, transformFunction: null }, badgeSeverity: { classPropertyName: "badgeSeverity", publicName: "badgeSeverity", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur" }, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], descendants: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], descendants: true }, { propertyName: "templates", predicate: AglTemplate }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
831
|
+
<button
|
|
832
|
+
[attr.type]="type || buttonProps?.type"
|
|
833
|
+
[attr.aria-label]="ariaLabel || buttonProps?.ariaLabel"
|
|
834
|
+
[ngStyle]="style || buttonProps?.style"
|
|
835
|
+
[disabled]="disabled || loading || buttonProps?.disabled"
|
|
836
|
+
[class]="cn(cx('root'), styleClass, buttonProps?.styleClass)"
|
|
837
|
+
(click)="onClick.emit($event)"
|
|
838
|
+
(focus)="onFocus.emit($event)"
|
|
839
|
+
(blur)="onBlur.emit($event)"
|
|
840
|
+
aglRipple
|
|
841
|
+
[attr.tabindex]="tabindex || buttonProps?.tabindex"
|
|
842
|
+
[aglAutoFocus]="autofocus || buttonProps?.autofocus"
|
|
843
|
+
[aglBind]="ptm('root')"
|
|
844
|
+
[attr.data-p]="dataP"
|
|
845
|
+
[attr.data-p-disabled]="disabled || loading || buttonProps?.disabled"
|
|
846
|
+
[attr.data-p-severity]="severity || buttonProps?.severity"
|
|
847
|
+
>
|
|
848
|
+
<ng-content></ng-content>
|
|
849
|
+
<ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
|
|
850
|
+
<ng-container *ngIf="loading || buttonProps?.loading">
|
|
851
|
+
<ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
|
|
852
|
+
<span *ngIf="loadingIcon || buttonProps?.loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin', loadingIcon || buttonProps?.loadingIcon)" [aglBind]="ptm('loadingIcon')" [attr.aria-hidden]="true"></span>
|
|
853
|
+
<svg data-p-icon="spinner" *ngIf="!(loadingIcon || buttonProps?.loadingIcon)" [class]="cn(cx('loadingIcon'), cx('spinnerIcon'))" [aglBind]="ptm('loadingIcon')" [spin]="true" [attr.aria-hidden]="true" />
|
|
854
|
+
</ng-container>
|
|
855
|
+
<ng-template [ngIf]="loadingIconTemplate || _loadingIconTemplate" *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }"></ng-template>
|
|
856
|
+
</ng-container>
|
|
857
|
+
<ng-container *ngIf="!(loading || buttonProps?.loading)">
|
|
858
|
+
<span *ngIf="(icon || buttonProps?.icon) && !iconTemplate && !_iconTemplate" [class]="cn(cx('icon'), icon || buttonProps?.icon)" [aglBind]="ptm('icon')" [attr.data-p]="dataIconP"></span>
|
|
859
|
+
<ng-template [ngIf]="!icon && (iconTemplate || _iconTemplate)" *ngTemplateOutlet="iconTemplate || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }"></ng-template>
|
|
860
|
+
</ng-container>
|
|
861
|
+
<span
|
|
862
|
+
[class]="cx('label')"
|
|
863
|
+
[attr.aria-hidden]="(icon || buttonProps?.icon) && !(label || buttonProps?.label)"
|
|
864
|
+
*ngIf="!contentTemplate && !_contentTemplate && (label || buttonProps?.label)"
|
|
865
|
+
[aglBind]="ptm('label')"
|
|
866
|
+
[attr.data-p]="dataLabelP"
|
|
867
|
+
>{{ label || buttonProps?.label }}</span
|
|
868
|
+
>
|
|
869
|
+
<agl-badge
|
|
870
|
+
*ngIf="!contentTemplate && !_contentTemplate && (badge || buttonProps?.badge)"
|
|
871
|
+
[value]="badge || buttonProps?.badge"
|
|
872
|
+
[severity]="badgeSeverity || buttonProps?.badgeSeverity"
|
|
873
|
+
[pt]="ptm('pcBadge')"
|
|
874
|
+
[unstyled]="unstyled()"
|
|
875
|
+
></agl-badge>
|
|
876
|
+
</button>
|
|
877
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[aglRipple]" }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i3.Badge, selector: "agl-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
878
|
+
}
|
|
879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Button, decorators: [{
|
|
880
|
+
type: Component,
|
|
881
|
+
args: [{
|
|
882
|
+
selector: 'agl-button',
|
|
883
|
+
standalone: true,
|
|
884
|
+
imports: [CommonModule, Ripple, AutoFocus, SpinnerIcon, BadgeModule, SharedModule, Bind],
|
|
885
|
+
template: `
|
|
886
|
+
<button
|
|
887
|
+
[attr.type]="type || buttonProps?.type"
|
|
888
|
+
[attr.aria-label]="ariaLabel || buttonProps?.ariaLabel"
|
|
889
|
+
[ngStyle]="style || buttonProps?.style"
|
|
890
|
+
[disabled]="disabled || loading || buttonProps?.disabled"
|
|
891
|
+
[class]="cn(cx('root'), styleClass, buttonProps?.styleClass)"
|
|
892
|
+
(click)="onClick.emit($event)"
|
|
893
|
+
(focus)="onFocus.emit($event)"
|
|
894
|
+
(blur)="onBlur.emit($event)"
|
|
895
|
+
aglRipple
|
|
896
|
+
[attr.tabindex]="tabindex || buttonProps?.tabindex"
|
|
897
|
+
[aglAutoFocus]="autofocus || buttonProps?.autofocus"
|
|
898
|
+
[aglBind]="ptm('root')"
|
|
899
|
+
[attr.data-p]="dataP"
|
|
900
|
+
[attr.data-p-disabled]="disabled || loading || buttonProps?.disabled"
|
|
901
|
+
[attr.data-p-severity]="severity || buttonProps?.severity"
|
|
902
|
+
>
|
|
903
|
+
<ng-content></ng-content>
|
|
904
|
+
<ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
|
|
905
|
+
<ng-container *ngIf="loading || buttonProps?.loading">
|
|
906
|
+
<ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
|
|
907
|
+
<span *ngIf="loadingIcon || buttonProps?.loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin', loadingIcon || buttonProps?.loadingIcon)" [aglBind]="ptm('loadingIcon')" [attr.aria-hidden]="true"></span>
|
|
908
|
+
<svg data-p-icon="spinner" *ngIf="!(loadingIcon || buttonProps?.loadingIcon)" [class]="cn(cx('loadingIcon'), cx('spinnerIcon'))" [aglBind]="ptm('loadingIcon')" [spin]="true" [attr.aria-hidden]="true" />
|
|
909
|
+
</ng-container>
|
|
910
|
+
<ng-template [ngIf]="loadingIconTemplate || _loadingIconTemplate" *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }"></ng-template>
|
|
911
|
+
</ng-container>
|
|
912
|
+
<ng-container *ngIf="!(loading || buttonProps?.loading)">
|
|
913
|
+
<span *ngIf="(icon || buttonProps?.icon) && !iconTemplate && !_iconTemplate" [class]="cn(cx('icon'), icon || buttonProps?.icon)" [aglBind]="ptm('icon')" [attr.data-p]="dataIconP"></span>
|
|
914
|
+
<ng-template [ngIf]="!icon && (iconTemplate || _iconTemplate)" *ngTemplateOutlet="iconTemplate || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }"></ng-template>
|
|
915
|
+
</ng-container>
|
|
916
|
+
<span
|
|
917
|
+
[class]="cx('label')"
|
|
918
|
+
[attr.aria-hidden]="(icon || buttonProps?.icon) && !(label || buttonProps?.label)"
|
|
919
|
+
*ngIf="!contentTemplate && !_contentTemplate && (label || buttonProps?.label)"
|
|
920
|
+
[aglBind]="ptm('label')"
|
|
921
|
+
[attr.data-p]="dataLabelP"
|
|
922
|
+
>{{ label || buttonProps?.label }}</span
|
|
923
|
+
>
|
|
924
|
+
<agl-badge
|
|
925
|
+
*ngIf="!contentTemplate && !_contentTemplate && (badge || buttonProps?.badge)"
|
|
926
|
+
[value]="badge || buttonProps?.badge"
|
|
927
|
+
[severity]="badgeSeverity || buttonProps?.badgeSeverity"
|
|
928
|
+
[pt]="ptm('pcBadge')"
|
|
929
|
+
[unstyled]="unstyled()"
|
|
930
|
+
></agl-badge>
|
|
931
|
+
</button>
|
|
932
|
+
`,
|
|
933
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
934
|
+
encapsulation: ViewEncapsulation.None,
|
|
935
|
+
providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }],
|
|
936
|
+
hostDirectives: [Bind]
|
|
937
|
+
}]
|
|
938
|
+
}], propDecorators: { hostName: [{
|
|
939
|
+
type: Input
|
|
940
|
+
}], type: [{
|
|
941
|
+
type: Input
|
|
942
|
+
}], badge: [{
|
|
943
|
+
type: Input
|
|
944
|
+
}], disabled: [{
|
|
945
|
+
type: Input,
|
|
946
|
+
args: [{ transform: booleanAttribute }]
|
|
947
|
+
}], raised: [{
|
|
948
|
+
type: Input,
|
|
949
|
+
args: [{ transform: booleanAttribute }]
|
|
950
|
+
}], rounded: [{
|
|
951
|
+
type: Input,
|
|
952
|
+
args: [{ transform: booleanAttribute }]
|
|
953
|
+
}], text: [{
|
|
954
|
+
type: Input,
|
|
955
|
+
args: [{ transform: booleanAttribute }]
|
|
956
|
+
}], plain: [{
|
|
957
|
+
type: Input,
|
|
958
|
+
args: [{ transform: booleanAttribute }]
|
|
959
|
+
}], outlined: [{
|
|
960
|
+
type: Input,
|
|
961
|
+
args: [{ transform: booleanAttribute }]
|
|
962
|
+
}], link: [{
|
|
963
|
+
type: Input,
|
|
964
|
+
args: [{ transform: booleanAttribute }]
|
|
965
|
+
}], tabindex: [{
|
|
966
|
+
type: Input,
|
|
967
|
+
args: [{ transform: numberAttribute }]
|
|
968
|
+
}], size: [{
|
|
969
|
+
type: Input
|
|
970
|
+
}], variant: [{
|
|
971
|
+
type: Input
|
|
972
|
+
}], style: [{
|
|
973
|
+
type: Input
|
|
974
|
+
}], styleClass: [{
|
|
975
|
+
type: Input
|
|
976
|
+
}], badgeClass: [{
|
|
977
|
+
type: Input
|
|
978
|
+
}], badgeSeverity: [{
|
|
979
|
+
type: Input
|
|
980
|
+
}], ariaLabel: [{
|
|
981
|
+
type: Input
|
|
982
|
+
}], autofocus: [{
|
|
983
|
+
type: Input,
|
|
984
|
+
args: [{ transform: booleanAttribute }]
|
|
985
|
+
}], iconPos: [{
|
|
986
|
+
type: Input
|
|
987
|
+
}], icon: [{
|
|
988
|
+
type: Input
|
|
989
|
+
}], label: [{
|
|
990
|
+
type: Input
|
|
991
|
+
}], loading: [{
|
|
992
|
+
type: Input,
|
|
993
|
+
args: [{ transform: booleanAttribute }]
|
|
994
|
+
}], loadingIcon: [{
|
|
995
|
+
type: Input
|
|
996
|
+
}], severity: [{
|
|
997
|
+
type: Input
|
|
998
|
+
}], buttonProps: [{
|
|
999
|
+
type: Input
|
|
1000
|
+
}], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], onClick: [{
|
|
1001
|
+
type: Output
|
|
1002
|
+
}], onFocus: [{
|
|
1003
|
+
type: Output
|
|
1004
|
+
}], onBlur: [{
|
|
1005
|
+
type: Output
|
|
1006
|
+
}], contentTemplate: [{
|
|
1007
|
+
type: ContentChild,
|
|
1008
|
+
args: ['content']
|
|
1009
|
+
}], loadingIconTemplate: [{
|
|
1010
|
+
type: ContentChild,
|
|
1011
|
+
args: ['loadingicon']
|
|
1012
|
+
}], iconTemplate: [{
|
|
1013
|
+
type: ContentChild,
|
|
1014
|
+
args: ['icon']
|
|
1015
|
+
}], templates: [{
|
|
1016
|
+
type: ContentChildren,
|
|
1017
|
+
args: [AglTemplate]
|
|
1018
|
+
}] } });
|
|
1019
|
+
class ButtonModule {
|
|
1020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1021
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: ButtonModule, imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon], exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule] });
|
|
1022
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonModule, imports: [CommonModule, Button, SharedModule, SharedModule] });
|
|
1023
|
+
}
|
|
1024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ButtonModule, decorators: [{
|
|
1025
|
+
type: NgModule,
|
|
1026
|
+
args: [{
|
|
1027
|
+
imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon],
|
|
1028
|
+
exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule]
|
|
1029
|
+
}]
|
|
1030
|
+
}] });
|
|
1031
|
+
|
|
1032
|
+
// Backward compatibility
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Generated bundle index. Do not edit.
|
|
1036
|
+
*/
|
|
1037
|
+
|
|
1038
|
+
export { Button, ButtonClasses, ButtonDirective, ButtonIcon, ButtonLabel, ButtonModule, ButtonStyle };
|
|
1039
|
+
//# sourceMappingURL=anguless-angulux-button.mjs.map
|