@gravionlabs/helix-core 22.0.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.md +77 -0
- package/README.md +35 -0
- package/VENDOR.md +74 -0
- package/fesm2022/gravionlabs-helix-core-accordion.mjs +684 -0
- package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +167 -0
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-api.mjs +839 -0
- package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +1956 -0
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs +80 -0
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-avatar.mjs +265 -0
- package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +88 -0
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-badge.mjs +484 -0
- package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-base.mjs +237 -0
- package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +445 -0
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +70 -0
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs +95 -0
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +27 -0
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-bind.mjs +99 -0
- package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-blockui.mjs +244 -0
- package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +285 -0
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-button.mjs +1494 -0
- package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +126 -0
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-card.mjs +246 -0
- package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-carousel.mjs +1017 -0
- package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +1615 -0
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-chart.mjs +218 -0
- package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs +500 -0
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-chip.mjs +309 -0
- package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-classnames.mjs +49 -0
- package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +781 -0
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-config.mjs +309 -0
- package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +570 -0
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +619 -0
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1175 -0
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dataview.mjs +587 -0
- package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3795 -0
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dialog.mjs +1158 -0
- package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-divider.mjs +222 -0
- package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dock.mjs +504 -0
- package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dom.mjs +778 -0
- package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +303 -0
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-drawer.mjs +784 -0
- package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +932 -0
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-editor.mjs +1370 -0
- package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs +372 -0
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1085 -0
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs +24 -0
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +207 -0
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-fluid.mjs +78 -0
- package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs +105 -0
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-galleria.mjs +1930 -0
- package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs +147 -0
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +100 -0
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +24 -0
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +69 -0
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +38 -0
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +65 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +53 -0
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs +34 -0
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +57 -0
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-icons.mjs +63 -0
- package/fesm2022/gravionlabs-helix-core-icons.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +139 -0
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-image.mjs +690 -0
- package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +255 -0
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inplace.mjs +283 -0
- package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +232 -0
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +75 -0
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs +72 -0
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1375 -0
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1513 -0
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs +391 -0
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs +275 -0
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +261 -0
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-knob.mjs +441 -0
- package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-listbox.mjs +1567 -0
- package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1398 -0
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-menu.mjs +854 -0
- package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-menubar.mjs +1259 -0
- package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-message.mjs +608 -0
- package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs +417 -0
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-motion.mjs +706 -0
- package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs +2106 -0
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs +800 -0
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +497 -0
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-overlay.mjs +686 -0
- package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +125 -0
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-paginator.mjs +670 -0
- package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-panel.mjs +416 -0
- package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1070 -0
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs +21 -0
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-password.mjs +1047 -0
- package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-picklist.mjs +1393 -0
- package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-popover.mjs +507 -0
- package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs +292 -0
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +199 -0
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +450 -0
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-rating.mjs +356 -0
- package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-ripple.mjs +217 -0
- package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-scroller.mjs +1040 -0
- package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +535 -0
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +294 -0
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-select.mjs +1907 -0
- package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +390 -0
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs +214 -0
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-slider.mjs +730 -0
- package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs +775 -0
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +429 -0
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-splitter.mjs +597 -0
- package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-stepper.mjs +853 -0
- package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-steps.mjs +393 -0
- package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs +345 -0
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-table.mjs +6333 -0
- package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-tabs.mjs +900 -0
- package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-tag.mjs +212 -0
- package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-terminal.mjs +259 -0
- package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-textarea.mjs +305 -0
- package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +5649 -0
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +5812 -0
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +5570 -0
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs +700 -0
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-themes.mjs +16 -0
- package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1201 -0
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-timeline.mjs +346 -0
- package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-toast.mjs +807 -0
- package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +451 -0
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +372 -0
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs +174 -0
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs +860 -0
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-tree.mjs +1860 -0
- package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1178 -0
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-treetable.mjs +4199 -0
- package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-button.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-card.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-image.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-message.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-password.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-select.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-table.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +4 -0
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +304 -0
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +871 -0
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +1839 -0
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs +54 -0
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-utils.mjs +376 -0
- package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core-validators.mjs +99 -0
- package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -0
- package/fesm2022/gravionlabs-helix-core.mjs +6 -0
- package/fesm2022/gravionlabs-helix-core.mjs.map +1 -0
- package/package.json +1127 -0
- package/types/gravionlabs-helix-core-accordion.d.ts +289 -0
- package/types/gravionlabs-helix-core-animateonscroll.d.ts +68 -0
- package/types/gravionlabs-helix-core-api.d.ts +1976 -0
- package/types/gravionlabs-helix-core-autocomplete.d.ts +765 -0
- package/types/gravionlabs-helix-core-autofocus.d.ts +31 -0
- package/types/gravionlabs-helix-core-avatar.d.ts +138 -0
- package/types/gravionlabs-helix-core-avatargroup.d.ts +63 -0
- package/types/gravionlabs-helix-core-badge.d.ts +182 -0
- package/types/gravionlabs-helix-core-base.d.ts +54 -0
- package/types/gravionlabs-helix-core-basecomponent.d.ts +175 -0
- package/types/gravionlabs-helix-core-baseeditableholder.d.ts +45 -0
- package/types/gravionlabs-helix-core-baseinput.d.ts +73 -0
- package/types/gravionlabs-helix-core-basemodelholder.d.ts +12 -0
- package/types/gravionlabs-helix-core-bind.d.ts +38 -0
- package/types/gravionlabs-helix-core-blockui.d.ts +106 -0
- package/types/gravionlabs-helix-core-breadcrumb.d.ts +148 -0
- package/types/gravionlabs-helix-core-button.d.ts +465 -0
- package/types/gravionlabs-helix-core-buttongroup.d.ts +44 -0
- package/types/gravionlabs-helix-core-card.d.ts +151 -0
- package/types/gravionlabs-helix-core-carousel.d.ts +376 -0
- package/types/gravionlabs-helix-core-cascadeselect.d.ts +620 -0
- package/types/gravionlabs-helix-core-chart.d.ts +130 -0
- package/types/gravionlabs-helix-core-checkbox.d.ts +226 -0
- package/types/gravionlabs-helix-core-chip.d.ts +162 -0
- package/types/gravionlabs-helix-core-classnames.d.ts +32 -0
- package/types/gravionlabs-helix-core-colorpicker.d.ts +311 -0
- package/types/gravionlabs-helix-core-config.d.ts +268 -0
- package/types/gravionlabs-helix-core-confirmdialog.d.ts +340 -0
- package/types/gravionlabs-helix-core-confirmpopup.d.ts +233 -0
- package/types/gravionlabs-helix-core-contextmenu.d.ts +370 -0
- package/types/gravionlabs-helix-core-dataview.d.ts +364 -0
- package/types/gravionlabs-helix-core-datepicker.d.ts +969 -0
- package/types/gravionlabs-helix-core-dialog.d.ts +530 -0
- package/types/gravionlabs-helix-core-divider.d.ts +121 -0
- package/types/gravionlabs-helix-core-dock.d.ts +196 -0
- package/types/gravionlabs-helix-core-dom.d.ts +109 -0
- package/types/gravionlabs-helix-core-dragdrop.d.ts +117 -0
- package/types/gravionlabs-helix-core-drawer.d.ts +293 -0
- package/types/gravionlabs-helix-core-dynamicdialog.d.ts +554 -0
- package/types/gravionlabs-helix-core-editor.d.ts +188 -0
- package/types/gravionlabs-helix-core-fieldset.d.ts +185 -0
- package/types/gravionlabs-helix-core-fileupload.d.ts +549 -0
- package/types/gravionlabs-helix-core-firsterror.d.ts +11 -0
- package/types/gravionlabs-helix-core-floatlabel.d.ts +67 -0
- package/types/gravionlabs-helix-core-fluid.d.ts +54 -0
- package/types/gravionlabs-helix-core-focustrap.d.ts +35 -0
- package/types/gravionlabs-helix-core-galleria.d.ts +647 -0
- package/types/gravionlabs-helix-core-iconfield.d.ts +72 -0
- package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angledown.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angleleft.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angleright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-angleup.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-arrowright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-arrowup.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-ban.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-bars.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-baseicon.d.ts +32 -0
- package/types/gravionlabs-helix-core-icons-blank.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-calendar.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-caretleft.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-caretright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-check.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-chevronright.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-chevronup.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-eye.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-filter.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-filterfill.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-filterslash.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-home.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-infocircle.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-minus.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-pencil.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-plus.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-refresh.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-search.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-searchminus.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-searchplus.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-sortalt.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-spinner.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-star.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-starfill.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-thlarge.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-times.d.ts +9 -0
- package/types/gravionlabs-helix-core-icons-timescircle.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-trash.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-undo.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-upload.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +11 -0
- package/types/gravionlabs-helix-core-icons.d.ts +53 -0
- package/types/gravionlabs-helix-core-iftalabel.d.ts +58 -0
- package/types/gravionlabs-helix-core-image.d.ts +347 -0
- package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -0
- package/types/gravionlabs-helix-core-inplace.d.ts +166 -0
- package/types/gravionlabs-helix-core-inputgroup.d.ts +65 -0
- package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +49 -0
- package/types/gravionlabs-helix-core-inputicon.d.ts +44 -0
- package/types/gravionlabs-helix-core-inputmask.d.ts +373 -0
- package/types/gravionlabs-helix-core-inputnumber.d.ts +425 -0
- package/types/gravionlabs-helix-core-inputotp.d.ts +175 -0
- package/types/gravionlabs-helix-core-inputtext.d.ts +117 -0
- package/types/gravionlabs-helix-core-keyfilter.d.ts +58 -0
- package/types/gravionlabs-helix-core-knob.d.ts +203 -0
- package/types/gravionlabs-helix-core-listbox.d.ts +654 -0
- package/types/gravionlabs-helix-core-megamenu.d.ts +383 -0
- package/types/gravionlabs-helix-core-menu.d.ts +361 -0
- package/types/gravionlabs-helix-core-menubar.d.ts +380 -0
- package/types/gravionlabs-helix-core-message.d.ts +210 -0
- package/types/gravionlabs-helix-core-metergroup.d.ts +208 -0
- package/types/gravionlabs-helix-core-motion.d.ts +398 -0
- package/types/gravionlabs-helix-core-multiselect.d.ts +871 -0
- package/types/gravionlabs-helix-core-orderlist.d.ts +366 -0
- package/types/gravionlabs-helix-core-organizationchart.d.ts +221 -0
- package/types/gravionlabs-helix-core-overlay.d.ts +314 -0
- package/types/gravionlabs-helix-core-overlaybadge.d.ts +77 -0
- package/types/gravionlabs-helix-core-paginator.d.ts +351 -0
- package/types/gravionlabs-helix-core-panel.d.ts +241 -0
- package/types/gravionlabs-helix-core-panelmenu.d.ts +359 -0
- package/types/gravionlabs-helix-core-passthrough.d.ts +14 -0
- package/types/gravionlabs-helix-core-password.d.ts +487 -0
- package/types/gravionlabs-helix-core-picklist.d.ts +662 -0
- package/types/gravionlabs-helix-core-popover.d.ts +197 -0
- package/types/gravionlabs-helix-core-progressbar.d.ts +121 -0
- package/types/gravionlabs-helix-core-progressspinner.d.ts +91 -0
- package/types/gravionlabs-helix-core-radiobutton.d.ts +190 -0
- package/types/gravionlabs-helix-core-rating.d.ts +193 -0
- package/types/gravionlabs-helix-core-ripple.d.ts +63 -0
- package/types/gravionlabs-helix-core-scroller.d.ts +399 -0
- package/types/gravionlabs-helix-core-scrollpanel.d.ts +156 -0
- package/types/gravionlabs-helix-core-scrolltop.d.ts +155 -0
- package/types/gravionlabs-helix-core-select.d.ts +765 -0
- package/types/gravionlabs-helix-core-selectbutton.d.ts +180 -0
- package/types/gravionlabs-helix-core-skeleton.d.ts +103 -0
- package/types/gravionlabs-helix-core-slider.d.ts +216 -0
- package/types/gravionlabs-helix-core-speeddial.d.ts +408 -0
- package/types/gravionlabs-helix-core-splitbutton.d.ts +283 -0
- package/types/gravionlabs-helix-core-splitter.d.ts +208 -0
- package/types/gravionlabs-helix-core-stepper.d.ts +337 -0
- package/types/gravionlabs-helix-core-steps.d.ts +149 -0
- package/types/gravionlabs-helix-core-styleclass.d.ts +112 -0
- package/types/gravionlabs-helix-core-table.d.ts +1995 -0
- package/types/gravionlabs-helix-core-tabs.d.ts +359 -0
- package/types/gravionlabs-helix-core-tag.d.ts +113 -0
- package/types/gravionlabs-helix-core-terminal.d.ts +140 -0
- package/types/gravionlabs-helix-core-textarea.d.ts +125 -0
- package/types/gravionlabs-helix-core-themes-aura.d.ts +965 -0
- package/types/gravionlabs-helix-core-themes-lara.d.ts +978 -0
- package/types/gravionlabs-helix-core-themes-nora.d.ts +962 -0
- package/types/gravionlabs-helix-core-themes-types.d.ts +20358 -0
- package/types/gravionlabs-helix-core-themes.d.ts +11 -0
- package/types/gravionlabs-helix-core-tieredmenu.d.ts +414 -0
- package/types/gravionlabs-helix-core-timeline.d.ts +140 -0
- package/types/gravionlabs-helix-core-toast.d.ts +293 -0
- package/types/gravionlabs-helix-core-togglebutton.d.ts +203 -0
- package/types/gravionlabs-helix-core-toggleswitch.d.ts +165 -0
- package/types/gravionlabs-helix-core-toolbar.d.ts +105 -0
- package/types/gravionlabs-helix-core-tooltip.d.ts +273 -0
- package/types/gravionlabs-helix-core-tree.d.ts +646 -0
- package/types/gravionlabs-helix-core-treeselect.d.ts +574 -0
- package/types/gravionlabs-helix-core-treetable.d.ts +1236 -0
- package/types/gravionlabs-helix-core-ts-helpers.d.ts +6 -0
- package/types/gravionlabs-helix-core-types-accordion.d.ts +97 -0
- package/types/gravionlabs-helix-core-types-autocomplete.d.ts +312 -0
- package/types/gravionlabs-helix-core-types-avatar.d.ts +40 -0
- package/types/gravionlabs-helix-core-types-avatargroup.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-badge.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-blockui.d.ts +39 -0
- package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +96 -0
- package/types/gravionlabs-helix-core-types-button.d.ts +124 -0
- package/types/gravionlabs-helix-core-types-card.d.ts +75 -0
- package/types/gravionlabs-helix-core-types-carousel.d.ts +143 -0
- package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +215 -0
- package/types/gravionlabs-helix-core-types-chart.d.ts +32 -0
- package/types/gravionlabs-helix-core-types-checkbox.d.ts +81 -0
- package/types/gravionlabs-helix-core-types-chip.d.ts +71 -0
- package/types/gravionlabs-helix-core-types-colorpicker.d.ts +78 -0
- package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +147 -0
- package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +105 -0
- package/types/gravionlabs-helix-core-types-contextmenu.d.ts +102 -0
- package/types/gravionlabs-helix-core-types-dataview.d.ts +253 -0
- package/types/gravionlabs-helix-core-types-datepicker.d.ts +521 -0
- package/types/gravionlabs-helix-core-types-dialog.d.ts +107 -0
- package/types/gravionlabs-helix-core-types-divider.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-dock.d.ts +70 -0
- package/types/gravionlabs-helix-core-types-drawer.d.ts +82 -0
- package/types/gravionlabs-helix-core-types-editor.d.ts +210 -0
- package/types/gravionlabs-helix-core-types-fieldset.d.ts +101 -0
- package/types/gravionlabs-helix-core-types-fileupload.d.ts +360 -0
- package/types/gravionlabs-helix-core-types-floatlabel.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-fluid.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-galleria.d.ts +250 -0
- package/types/gravionlabs-helix-core-types-iconfield.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-iftalabel.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-image.d.ts +144 -0
- package/types/gravionlabs-helix-core-types-imagecompare.d.ts +43 -0
- package/types/gravionlabs-helix-core-types-inplace.d.ts +72 -0
- package/types/gravionlabs-helix-core-types-inputgroup.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-inputicon.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-inputmask.d.ts +56 -0
- package/types/gravionlabs-helix-core-types-inputnumber.d.ts +95 -0
- package/types/gravionlabs-helix-core-types-inputotp.d.ts +101 -0
- package/types/gravionlabs-helix-core-types-inputtext.d.ts +24 -0
- package/types/gravionlabs-helix-core-types-knob.d.ts +40 -0
- package/types/gravionlabs-helix-core-types-listbox.d.ts +359 -0
- package/types/gravionlabs-helix-core-types-megamenu.d.ts +138 -0
- package/types/gravionlabs-helix-core-types-menu.d.ts +114 -0
- package/types/gravionlabs-helix-core-types-menubar.d.ts +124 -0
- package/types/gravionlabs-helix-core-types-message.d.ts +87 -0
- package/types/gravionlabs-helix-core-types-metergroup.d.ts +176 -0
- package/types/gravionlabs-helix-core-types-motion.d.ts +26 -0
- package/types/gravionlabs-helix-core-types-multiselect.d.ts +414 -0
- package/types/gravionlabs-helix-core-types-orderlist.d.ts +173 -0
- package/types/gravionlabs-helix-core-types-organizationchart.d.ts +138 -0
- package/types/gravionlabs-helix-core-types-overlay.d.ts +60 -0
- package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +34 -0
- package/types/gravionlabs-helix-core-types-paginator.d.ts +167 -0
- package/types/gravionlabs-helix-core-types-panel.d.ts +129 -0
- package/types/gravionlabs-helix-core-types-panelmenu.d.ts +131 -0
- package/types/gravionlabs-helix-core-types-password.d.ts +120 -0
- package/types/gravionlabs-helix-core-types-picklist.d.ts +348 -0
- package/types/gravionlabs-helix-core-types-popover.d.ts +59 -0
- package/types/gravionlabs-helix-core-types-progressbar.d.ts +58 -0
- package/types/gravionlabs-helix-core-types-progressspinner.d.ts +36 -0
- package/types/gravionlabs-helix-core-types-radiobutton.d.ts +51 -0
- package/types/gravionlabs-helix-core-types-rating.d.ts +94 -0
- package/types/gravionlabs-helix-core-types-scroller.d.ts +231 -0
- package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +51 -0
- package/types/gravionlabs-helix-core-types-scrolltop.d.ts +61 -0
- package/types/gravionlabs-helix-core-types-select.d.ts +319 -0
- package/types/gravionlabs-helix-core-types-selectbutton.d.ts +92 -0
- package/types/gravionlabs-helix-core-types-skeleton.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-slider.d.ts +78 -0
- package/types/gravionlabs-helix-core-types-speeddial.d.ts +100 -0
- package/types/gravionlabs-helix-core-types-splitbutton.d.ts +70 -0
- package/types/gravionlabs-helix-core-types-splitter.d.ts +70 -0
- package/types/gravionlabs-helix-core-types-stepper.d.ts +162 -0
- package/types/gravionlabs-helix-core-types-table.d.ts +893 -0
- package/types/gravionlabs-helix-core-types-tabs.d.ts +119 -0
- package/types/gravionlabs-helix-core-types-tag.d.ts +47 -0
- package/types/gravionlabs-helix-core-types-terminal.d.ts +60 -0
- package/types/gravionlabs-helix-core-types-textarea.d.ts +28 -0
- package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +95 -0
- package/types/gravionlabs-helix-core-types-timeline.d.ts +85 -0
- package/types/gravionlabs-helix-core-types-toast.d.ts +131 -0
- package/types/gravionlabs-helix-core-types-togglebutton.d.ts +86 -0
- package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +73 -0
- package/types/gravionlabs-helix-core-types-toolbar.d.ts +55 -0
- package/types/gravionlabs-helix-core-types-tooltip.d.ts +32 -0
- package/types/gravionlabs-helix-core-types-tree.d.ts +342 -0
- package/types/gravionlabs-helix-core-types-treeselect.d.ts +251 -0
- package/types/gravionlabs-helix-core-types-treetable.d.ts +629 -0
- package/types/gravionlabs-helix-core-uix-motion.d.ts +276 -0
- package/types/gravionlabs-helix-core-uix-styled.d.ts +309 -0
- package/types/gravionlabs-helix-core-uix-utils.d.ts +387 -0
- package/types/gravionlabs-helix-core-usestyle.d.ts +15 -0
- package/types/gravionlabs-helix-core-utils.d.ts +54 -0
- package/types/gravionlabs-helix-core-validators.d.ts +40 -0
- package/types/gravionlabs-helix-core.d.ts +2 -0
|
@@ -0,0 +1,1494 @@
|
|
|
1
|
+
export * from '@gravionlabs/helix-core/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, numberAttribute, output, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
|
+
import { addClass, isEmpty, findSingle, createElement } from '@gravionlabs/helix-core/uix/utils';
|
|
7
|
+
import { HelixTemplate, SharedModule } from '@gravionlabs/helix-core/api';
|
|
8
|
+
import { AutoFocus } from '@gravionlabs/helix-core/autofocus';
|
|
9
|
+
import * as i3 from '@gravionlabs/helix-core/badge';
|
|
10
|
+
import { BadgeModule } from '@gravionlabs/helix-core/badge';
|
|
11
|
+
import { BaseComponent, PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
|
|
12
|
+
import * as i1 from '@gravionlabs/helix-core/bind';
|
|
13
|
+
import { Bind } from '@gravionlabs/helix-core/bind';
|
|
14
|
+
import { Fluid } from '@gravionlabs/helix-core/fluid';
|
|
15
|
+
import { SpinnerIcon } from '@gravionlabs/helix-core/icons';
|
|
16
|
+
import { Ripple } from '@gravionlabs/helix-core/ripple';
|
|
17
|
+
import { BaseStyle } from '@gravionlabs/helix-core/base';
|
|
18
|
+
|
|
19
|
+
const style = /*css*/ `
|
|
20
|
+
.h-button {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
user-select: none;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
position: relative;
|
|
28
|
+
color: dt('button.primary.color');
|
|
29
|
+
background: dt('button.primary.background');
|
|
30
|
+
border: 1px solid dt('button.primary.border.color');
|
|
31
|
+
padding: dt('button.padding.y') dt('button.padding.x');
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
font-family: inherit;
|
|
34
|
+
font-feature-settings: inherit;
|
|
35
|
+
transition:
|
|
36
|
+
background dt('button.transition.duration'),
|
|
37
|
+
color dt('button.transition.duration'),
|
|
38
|
+
border-color dt('button.transition.duration'),
|
|
39
|
+
outline-color dt('button.transition.duration'),
|
|
40
|
+
box-shadow dt('button.transition.duration');
|
|
41
|
+
border-radius: dt('button.border.radius');
|
|
42
|
+
outline-color: transparent;
|
|
43
|
+
gap: dt('button.gap');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.h-button:disabled {
|
|
47
|
+
cursor: default;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.h-button-icon-right {
|
|
51
|
+
order: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.h-button-icon-right:dir(rtl) {
|
|
55
|
+
order: -1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.h-button:not(.h-button-vertical) .h-button-icon:not(.h-button-icon-right):dir(rtl) {
|
|
59
|
+
order: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.h-button-icon-bottom {
|
|
63
|
+
order: 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.h-button-icon-only {
|
|
67
|
+
width: dt('button.icon.only.width');
|
|
68
|
+
padding-inline-start: 0;
|
|
69
|
+
padding-inline-end: 0;
|
|
70
|
+
gap: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.h-button-icon-only.h-button-rounded {
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
height: dt('button.icon.only.width');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.h-button-icon-only .h-button-label {
|
|
79
|
+
visibility: hidden;
|
|
80
|
+
width: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.h-button-icon-only::after {
|
|
84
|
+
content: "\u00A0";
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
width: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.h-button-sm {
|
|
90
|
+
font-size: dt('button.sm.font.size');
|
|
91
|
+
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.h-button-sm .h-button-icon {
|
|
95
|
+
font-size: dt('button.sm.font.size');
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.h-button-sm.h-button-icon-only {
|
|
99
|
+
width: dt('button.sm.icon.only.width');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.h-button-sm.h-button-icon-only.h-button-rounded {
|
|
103
|
+
height: dt('button.sm.icon.only.width');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.h-button-lg {
|
|
107
|
+
font-size: dt('button.lg.font.size');
|
|
108
|
+
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.h-button-lg .h-button-icon {
|
|
112
|
+
font-size: dt('button.lg.font.size');
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.h-button-lg.h-button-icon-only {
|
|
116
|
+
width: dt('button.lg.icon.only.width');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.h-button-lg.h-button-icon-only.h-button-rounded {
|
|
120
|
+
height: dt('button.lg.icon.only.width');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.h-button-vertical {
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.h-button-label {
|
|
128
|
+
font-weight: dt('button.label.font.weight');
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.h-button-fluid {
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.h-button-fluid.h-button-icon-only {
|
|
136
|
+
width: dt('button.icon.only.width');
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.h-button:not(:disabled):hover {
|
|
140
|
+
background: dt('button.primary.hover.background');
|
|
141
|
+
border: 1px solid dt('button.primary.hover.border.color');
|
|
142
|
+
color: dt('button.primary.hover.color');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.h-button:not(:disabled):active {
|
|
146
|
+
background: dt('button.primary.active.background');
|
|
147
|
+
border: 1px solid dt('button.primary.active.border.color');
|
|
148
|
+
color: dt('button.primary.active.color');
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.h-button:focus-visible {
|
|
152
|
+
box-shadow: dt('button.primary.focus.ring.shadow');
|
|
153
|
+
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
|
|
154
|
+
outline-offset: dt('button.focus.ring.offset');
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.h-button .h-badge {
|
|
158
|
+
min-width: dt('button.badge.size');
|
|
159
|
+
height: dt('button.badge.size');
|
|
160
|
+
line-height: dt('button.badge.size');
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.h-button-raised {
|
|
164
|
+
box-shadow: dt('button.raised.shadow');
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.h-button-rounded {
|
|
168
|
+
border-radius: dt('button.rounded.border.radius');
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.h-button-secondary {
|
|
172
|
+
background: dt('button.secondary.background');
|
|
173
|
+
border: 1px solid dt('button.secondary.border.color');
|
|
174
|
+
color: dt('button.secondary.color');
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.h-button-secondary:not(:disabled):hover {
|
|
178
|
+
background: dt('button.secondary.hover.background');
|
|
179
|
+
border: 1px solid dt('button.secondary.hover.border.color');
|
|
180
|
+
color: dt('button.secondary.hover.color');
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.h-button-secondary:not(:disabled):active {
|
|
184
|
+
background: dt('button.secondary.active.background');
|
|
185
|
+
border: 1px solid dt('button.secondary.active.border.color');
|
|
186
|
+
color: dt('button.secondary.active.color');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.h-button-secondary:focus-visible {
|
|
190
|
+
outline-color: dt('button.secondary.focus.ring.color');
|
|
191
|
+
box-shadow: dt('button.secondary.focus.ring.shadow');
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.h-button-success {
|
|
195
|
+
background: dt('button.success.background');
|
|
196
|
+
border: 1px solid dt('button.success.border.color');
|
|
197
|
+
color: dt('button.success.color');
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.h-button-success:not(:disabled):hover {
|
|
201
|
+
background: dt('button.success.hover.background');
|
|
202
|
+
border: 1px solid dt('button.success.hover.border.color');
|
|
203
|
+
color: dt('button.success.hover.color');
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.h-button-success:not(:disabled):active {
|
|
207
|
+
background: dt('button.success.active.background');
|
|
208
|
+
border: 1px solid dt('button.success.active.border.color');
|
|
209
|
+
color: dt('button.success.active.color');
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.h-button-success:focus-visible {
|
|
213
|
+
outline-color: dt('button.success.focus.ring.color');
|
|
214
|
+
box-shadow: dt('button.success.focus.ring.shadow');
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.h-button-info {
|
|
218
|
+
background: dt('button.info.background');
|
|
219
|
+
border: 1px solid dt('button.info.border.color');
|
|
220
|
+
color: dt('button.info.color');
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.h-button-info:not(:disabled):hover {
|
|
224
|
+
background: dt('button.info.hover.background');
|
|
225
|
+
border: 1px solid dt('button.info.hover.border.color');
|
|
226
|
+
color: dt('button.info.hover.color');
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.h-button-info:not(:disabled):active {
|
|
230
|
+
background: dt('button.info.active.background');
|
|
231
|
+
border: 1px solid dt('button.info.active.border.color');
|
|
232
|
+
color: dt('button.info.active.color');
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.h-button-info:focus-visible {
|
|
236
|
+
outline-color: dt('button.info.focus.ring.color');
|
|
237
|
+
box-shadow: dt('button.info.focus.ring.shadow');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.h-button-warn {
|
|
241
|
+
background: dt('button.warn.background');
|
|
242
|
+
border: 1px solid dt('button.warn.border.color');
|
|
243
|
+
color: dt('button.warn.color');
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.h-button-warn:not(:disabled):hover {
|
|
247
|
+
background: dt('button.warn.hover.background');
|
|
248
|
+
border: 1px solid dt('button.warn.hover.border.color');
|
|
249
|
+
color: dt('button.warn.hover.color');
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.h-button-warn:not(:disabled):active {
|
|
253
|
+
background: dt('button.warn.active.background');
|
|
254
|
+
border: 1px solid dt('button.warn.active.border.color');
|
|
255
|
+
color: dt('button.warn.active.color');
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.h-button-warn:focus-visible {
|
|
259
|
+
outline-color: dt('button.warn.focus.ring.color');
|
|
260
|
+
box-shadow: dt('button.warn.focus.ring.shadow');
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.h-button-help {
|
|
264
|
+
background: dt('button.help.background');
|
|
265
|
+
border: 1px solid dt('button.help.border.color');
|
|
266
|
+
color: dt('button.help.color');
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.h-button-help:not(:disabled):hover {
|
|
270
|
+
background: dt('button.help.hover.background');
|
|
271
|
+
border: 1px solid dt('button.help.hover.border.color');
|
|
272
|
+
color: dt('button.help.hover.color');
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.h-button-help:not(:disabled):active {
|
|
276
|
+
background: dt('button.help.active.background');
|
|
277
|
+
border: 1px solid dt('button.help.active.border.color');
|
|
278
|
+
color: dt('button.help.active.color');
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.h-button-help:focus-visible {
|
|
282
|
+
outline-color: dt('button.help.focus.ring.color');
|
|
283
|
+
box-shadow: dt('button.help.focus.ring.shadow');
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.h-button-danger {
|
|
287
|
+
background: dt('button.danger.background');
|
|
288
|
+
border: 1px solid dt('button.danger.border.color');
|
|
289
|
+
color: dt('button.danger.color');
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.h-button-danger:not(:disabled):hover {
|
|
293
|
+
background: dt('button.danger.hover.background');
|
|
294
|
+
border: 1px solid dt('button.danger.hover.border.color');
|
|
295
|
+
color: dt('button.danger.hover.color');
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.h-button-danger:not(:disabled):active {
|
|
299
|
+
background: dt('button.danger.active.background');
|
|
300
|
+
border: 1px solid dt('button.danger.active.border.color');
|
|
301
|
+
color: dt('button.danger.active.color');
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.h-button-danger:focus-visible {
|
|
305
|
+
outline-color: dt('button.danger.focus.ring.color');
|
|
306
|
+
box-shadow: dt('button.danger.focus.ring.shadow');
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.h-button-contrast {
|
|
310
|
+
background: dt('button.contrast.background');
|
|
311
|
+
border: 1px solid dt('button.contrast.border.color');
|
|
312
|
+
color: dt('button.contrast.color');
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.h-button-contrast:not(:disabled):hover {
|
|
316
|
+
background: dt('button.contrast.hover.background');
|
|
317
|
+
border: 1px solid dt('button.contrast.hover.border.color');
|
|
318
|
+
color: dt('button.contrast.hover.color');
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.h-button-contrast:not(:disabled):active {
|
|
322
|
+
background: dt('button.contrast.active.background');
|
|
323
|
+
border: 1px solid dt('button.contrast.active.border.color');
|
|
324
|
+
color: dt('button.contrast.active.color');
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.h-button-contrast:focus-visible {
|
|
328
|
+
outline-color: dt('button.contrast.focus.ring.color');
|
|
329
|
+
box-shadow: dt('button.contrast.focus.ring.shadow');
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.h-button-outlined {
|
|
333
|
+
background: transparent;
|
|
334
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
335
|
+
color: dt('button.outlined.primary.color');
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.h-button-outlined:not(:disabled):hover {
|
|
339
|
+
background: dt('button.outlined.primary.hover.background');
|
|
340
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
341
|
+
color: dt('button.outlined.primary.color');
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.h-button-outlined:not(:disabled):active {
|
|
345
|
+
background: dt('button.outlined.primary.active.background');
|
|
346
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
347
|
+
color: dt('button.outlined.primary.color');
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.h-button-outlined.h-button-secondary {
|
|
351
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
352
|
+
color: dt('button.outlined.secondary.color');
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.h-button-outlined.h-button-secondary:not(:disabled):hover {
|
|
356
|
+
background: dt('button.outlined.secondary.hover.background');
|
|
357
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
358
|
+
color: dt('button.outlined.secondary.color');
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.h-button-outlined.h-button-secondary:not(:disabled):active {
|
|
362
|
+
background: dt('button.outlined.secondary.active.background');
|
|
363
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
364
|
+
color: dt('button.outlined.secondary.color');
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.h-button-outlined.h-button-success {
|
|
368
|
+
border-color: dt('button.outlined.success.border.color');
|
|
369
|
+
color: dt('button.outlined.success.color');
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.h-button-outlined.h-button-success:not(:disabled):hover {
|
|
373
|
+
background: dt('button.outlined.success.hover.background');
|
|
374
|
+
border-color: dt('button.outlined.success.border.color');
|
|
375
|
+
color: dt('button.outlined.success.color');
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.h-button-outlined.h-button-success:not(:disabled):active {
|
|
379
|
+
background: dt('button.outlined.success.active.background');
|
|
380
|
+
border-color: dt('button.outlined.success.border.color');
|
|
381
|
+
color: dt('button.outlined.success.color');
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.h-button-outlined.h-button-info {
|
|
385
|
+
border-color: dt('button.outlined.info.border.color');
|
|
386
|
+
color: dt('button.outlined.info.color');
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.h-button-outlined.h-button-info:not(:disabled):hover {
|
|
390
|
+
background: dt('button.outlined.info.hover.background');
|
|
391
|
+
border-color: dt('button.outlined.info.border.color');
|
|
392
|
+
color: dt('button.outlined.info.color');
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.h-button-outlined.h-button-info:not(:disabled):active {
|
|
396
|
+
background: dt('button.outlined.info.active.background');
|
|
397
|
+
border-color: dt('button.outlined.info.border.color');
|
|
398
|
+
color: dt('button.outlined.info.color');
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.h-button-outlined.h-button-warn {
|
|
402
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
403
|
+
color: dt('button.outlined.warn.color');
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.h-button-outlined.h-button-warn:not(:disabled):hover {
|
|
407
|
+
background: dt('button.outlined.warn.hover.background');
|
|
408
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
409
|
+
color: dt('button.outlined.warn.color');
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.h-button-outlined.h-button-warn:not(:disabled):active {
|
|
413
|
+
background: dt('button.outlined.warn.active.background');
|
|
414
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
415
|
+
color: dt('button.outlined.warn.color');
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.h-button-outlined.h-button-help {
|
|
419
|
+
border-color: dt('button.outlined.help.border.color');
|
|
420
|
+
color: dt('button.outlined.help.color');
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.h-button-outlined.h-button-help:not(:disabled):hover {
|
|
424
|
+
background: dt('button.outlined.help.hover.background');
|
|
425
|
+
border-color: dt('button.outlined.help.border.color');
|
|
426
|
+
color: dt('button.outlined.help.color');
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.h-button-outlined.h-button-help:not(:disabled):active {
|
|
430
|
+
background: dt('button.outlined.help.active.background');
|
|
431
|
+
border-color: dt('button.outlined.help.border.color');
|
|
432
|
+
color: dt('button.outlined.help.color');
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.h-button-outlined.h-button-danger {
|
|
436
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
437
|
+
color: dt('button.outlined.danger.color');
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.h-button-outlined.h-button-danger:not(:disabled):hover {
|
|
441
|
+
background: dt('button.outlined.danger.hover.background');
|
|
442
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
443
|
+
color: dt('button.outlined.danger.color');
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.h-button-outlined.h-button-danger:not(:disabled):active {
|
|
447
|
+
background: dt('button.outlined.danger.active.background');
|
|
448
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
449
|
+
color: dt('button.outlined.danger.color');
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.h-button-outlined.h-button-contrast {
|
|
453
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
454
|
+
color: dt('button.outlined.contrast.color');
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.h-button-outlined.h-button-contrast:not(:disabled):hover {
|
|
458
|
+
background: dt('button.outlined.contrast.hover.background');
|
|
459
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
460
|
+
color: dt('button.outlined.contrast.color');
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.h-button-outlined.h-button-contrast:not(:disabled):active {
|
|
464
|
+
background: dt('button.outlined.contrast.active.background');
|
|
465
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
466
|
+
color: dt('button.outlined.contrast.color');
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.h-button-outlined.h-button-plain {
|
|
470
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
471
|
+
color: dt('button.outlined.plain.color');
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.h-button-outlined.h-button-plain:not(:disabled):hover {
|
|
475
|
+
background: dt('button.outlined.plain.hover.background');
|
|
476
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
477
|
+
color: dt('button.outlined.plain.color');
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.h-button-outlined.h-button-plain:not(:disabled):active {
|
|
481
|
+
background: dt('button.outlined.plain.active.background');
|
|
482
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
483
|
+
color: dt('button.outlined.plain.color');
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.h-button-text {
|
|
487
|
+
background: transparent;
|
|
488
|
+
border-color: transparent;
|
|
489
|
+
color: dt('button.text.primary.color');
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.h-button-text:not(:disabled):hover {
|
|
493
|
+
background: dt('button.text.primary.hover.background');
|
|
494
|
+
border-color: transparent;
|
|
495
|
+
color: dt('button.text.primary.color');
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.h-button-text:not(:disabled):active {
|
|
499
|
+
background: dt('button.text.primary.active.background');
|
|
500
|
+
border-color: transparent;
|
|
501
|
+
color: dt('button.text.primary.color');
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.h-button-text.h-button-secondary {
|
|
505
|
+
background: transparent;
|
|
506
|
+
border-color: transparent;
|
|
507
|
+
color: dt('button.text.secondary.color');
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.h-button-text.h-button-secondary:not(:disabled):hover {
|
|
511
|
+
background: dt('button.text.secondary.hover.background');
|
|
512
|
+
border-color: transparent;
|
|
513
|
+
color: dt('button.text.secondary.color');
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.h-button-text.h-button-secondary:not(:disabled):active {
|
|
517
|
+
background: dt('button.text.secondary.active.background');
|
|
518
|
+
border-color: transparent;
|
|
519
|
+
color: dt('button.text.secondary.color');
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.h-button-text.h-button-success {
|
|
523
|
+
background: transparent;
|
|
524
|
+
border-color: transparent;
|
|
525
|
+
color: dt('button.text.success.color');
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.h-button-text.h-button-success:not(:disabled):hover {
|
|
529
|
+
background: dt('button.text.success.hover.background');
|
|
530
|
+
border-color: transparent;
|
|
531
|
+
color: dt('button.text.success.color');
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.h-button-text.h-button-success:not(:disabled):active {
|
|
535
|
+
background: dt('button.text.success.active.background');
|
|
536
|
+
border-color: transparent;
|
|
537
|
+
color: dt('button.text.success.color');
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.h-button-text.h-button-info {
|
|
541
|
+
background: transparent;
|
|
542
|
+
border-color: transparent;
|
|
543
|
+
color: dt('button.text.info.color');
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.h-button-text.h-button-info:not(:disabled):hover {
|
|
547
|
+
background: dt('button.text.info.hover.background');
|
|
548
|
+
border-color: transparent;
|
|
549
|
+
color: dt('button.text.info.color');
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.h-button-text.h-button-info:not(:disabled):active {
|
|
553
|
+
background: dt('button.text.info.active.background');
|
|
554
|
+
border-color: transparent;
|
|
555
|
+
color: dt('button.text.info.color');
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.h-button-text.h-button-warn {
|
|
559
|
+
background: transparent;
|
|
560
|
+
border-color: transparent;
|
|
561
|
+
color: dt('button.text.warn.color');
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.h-button-text.h-button-warn:not(:disabled):hover {
|
|
565
|
+
background: dt('button.text.warn.hover.background');
|
|
566
|
+
border-color: transparent;
|
|
567
|
+
color: dt('button.text.warn.color');
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.h-button-text.h-button-warn:not(:disabled):active {
|
|
571
|
+
background: dt('button.text.warn.active.background');
|
|
572
|
+
border-color: transparent;
|
|
573
|
+
color: dt('button.text.warn.color');
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.h-button-text.h-button-help {
|
|
577
|
+
background: transparent;
|
|
578
|
+
border-color: transparent;
|
|
579
|
+
color: dt('button.text.help.color');
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.h-button-text.h-button-help:not(:disabled):hover {
|
|
583
|
+
background: dt('button.text.help.hover.background');
|
|
584
|
+
border-color: transparent;
|
|
585
|
+
color: dt('button.text.help.color');
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.h-button-text.h-button-help:not(:disabled):active {
|
|
589
|
+
background: dt('button.text.help.active.background');
|
|
590
|
+
border-color: transparent;
|
|
591
|
+
color: dt('button.text.help.color');
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.h-button-text.h-button-danger {
|
|
595
|
+
background: transparent;
|
|
596
|
+
border-color: transparent;
|
|
597
|
+
color: dt('button.text.danger.color');
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.h-button-text.h-button-danger:not(:disabled):hover {
|
|
601
|
+
background: dt('button.text.danger.hover.background');
|
|
602
|
+
border-color: transparent;
|
|
603
|
+
color: dt('button.text.danger.color');
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.h-button-text.h-button-danger:not(:disabled):active {
|
|
607
|
+
background: dt('button.text.danger.active.background');
|
|
608
|
+
border-color: transparent;
|
|
609
|
+
color: dt('button.text.danger.color');
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.h-button-text.h-button-contrast {
|
|
613
|
+
background: transparent;
|
|
614
|
+
border-color: transparent;
|
|
615
|
+
color: dt('button.text.contrast.color');
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.h-button-text.h-button-contrast:not(:disabled):hover {
|
|
619
|
+
background: dt('button.text.contrast.hover.background');
|
|
620
|
+
border-color: transparent;
|
|
621
|
+
color: dt('button.text.contrast.color');
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.h-button-text.h-button-contrast:not(:disabled):active {
|
|
625
|
+
background: dt('button.text.contrast.active.background');
|
|
626
|
+
border-color: transparent;
|
|
627
|
+
color: dt('button.text.contrast.color');
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.h-button-text.h-button-plain {
|
|
631
|
+
background: transparent;
|
|
632
|
+
border-color: transparent;
|
|
633
|
+
color: dt('button.text.plain.color');
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.h-button-text.h-button-plain:not(:disabled):hover {
|
|
637
|
+
background: dt('button.text.plain.hover.background');
|
|
638
|
+
border-color: transparent;
|
|
639
|
+
color: dt('button.text.plain.color');
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.h-button-text.h-button-plain:not(:disabled):active {
|
|
643
|
+
background: dt('button.text.plain.active.background');
|
|
644
|
+
border-color: transparent;
|
|
645
|
+
color: dt('button.text.plain.color');
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.h-button-link {
|
|
649
|
+
background: transparent;
|
|
650
|
+
border-color: transparent;
|
|
651
|
+
color: dt('button.link.color');
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.h-button-link:not(:disabled):hover {
|
|
655
|
+
background: transparent;
|
|
656
|
+
border-color: transparent;
|
|
657
|
+
color: dt('button.link.hover.color');
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.h-button-link:not(:disabled):hover .h-button-label {
|
|
661
|
+
text-decoration: underline;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.h-button-link:not(:disabled):active {
|
|
665
|
+
background: transparent;
|
|
666
|
+
border-color: transparent;
|
|
667
|
+
color: dt('button.link.active.color');
|
|
668
|
+
}
|
|
669
|
+
`;
|
|
670
|
+
|
|
671
|
+
const unwrap = (value) => (typeof value === 'function' ? value() : value);
|
|
672
|
+
const classes = {
|
|
673
|
+
root: ({ instance }) => {
|
|
674
|
+
const label = unwrap(instance.label);
|
|
675
|
+
const icon = unwrap(instance.icon);
|
|
676
|
+
const loading = unwrap(instance.loading);
|
|
677
|
+
const severity = unwrap(instance.severity);
|
|
678
|
+
const iconPos = unwrap(instance.iconPos);
|
|
679
|
+
const size = unwrap(instance.size);
|
|
680
|
+
const variant = unwrap(instance.variant);
|
|
681
|
+
const badge = unwrap(instance.badge);
|
|
682
|
+
const buttonProps = unwrap(instance.buttonProps);
|
|
683
|
+
return [
|
|
684
|
+
'h-button h-component',
|
|
685
|
+
{
|
|
686
|
+
'h-button-icon-only': instance.hasIcon && !label && !buttonProps?.label && !badge,
|
|
687
|
+
'h-button-vertical': (iconPos === 'top' || iconPos === 'bottom') && label,
|
|
688
|
+
'h-button-loading': loading || buttonProps?.loading,
|
|
689
|
+
'h-button-link': unwrap(instance.link) || buttonProps?.link,
|
|
690
|
+
[`h-button-${severity || buttonProps?.severity}`]: severity || buttonProps?.severity,
|
|
691
|
+
'h-button-raised': unwrap(instance.raised) || buttonProps?.raised,
|
|
692
|
+
'h-button-rounded': unwrap(instance.rounded) || buttonProps?.rounded,
|
|
693
|
+
'h-button-text': unwrap(instance.text) || variant === 'text' || buttonProps?.text || buttonProps?.variant === 'text',
|
|
694
|
+
'h-button-outlined': unwrap(instance.outlined) || variant === 'outlined' || buttonProps?.outlined || buttonProps?.variant === 'outlined',
|
|
695
|
+
'h-button-sm': size === 'small' || buttonProps?.size === 'small',
|
|
696
|
+
'h-button-lg': size === 'large' || buttonProps?.size === 'large',
|
|
697
|
+
'h-button-plain': unwrap(instance.plain) || buttonProps?.plain,
|
|
698
|
+
'h-button-fluid': instance.hasFluid
|
|
699
|
+
}
|
|
700
|
+
];
|
|
701
|
+
},
|
|
702
|
+
loadingIcon: 'h-button-loading-icon',
|
|
703
|
+
icon: ({ instance }) => {
|
|
704
|
+
const label = unwrap(instance.label);
|
|
705
|
+
const iconPos = unwrap(instance.iconPos);
|
|
706
|
+
const buttonProps = unwrap(instance.buttonProps);
|
|
707
|
+
return [
|
|
708
|
+
'h-button-icon',
|
|
709
|
+
{
|
|
710
|
+
[`h-button-icon-${iconPos || buttonProps?.iconPos}`]: label || buttonProps?.label,
|
|
711
|
+
'h-button-icon-left': ((iconPos === 'left' || buttonProps?.iconPos === 'left') && label) || buttonProps?.label,
|
|
712
|
+
'h-button-icon-right': ((iconPos === 'right' || buttonProps?.iconPos === 'right') && label) || buttonProps?.label,
|
|
713
|
+
'h-button-icon-top': ((iconPos === 'top' || buttonProps?.iconPos === 'top') && label) || buttonProps?.label,
|
|
714
|
+
'h-button-icon-bottom': ((iconPos === 'bottom' || buttonProps?.iconPos === 'bottom') && label) || buttonProps?.label
|
|
715
|
+
},
|
|
716
|
+
unwrap(instance.icon),
|
|
717
|
+
buttonProps?.icon
|
|
718
|
+
];
|
|
719
|
+
},
|
|
720
|
+
spinnerIcon: ({ instance }) => {
|
|
721
|
+
return Object.entries(instance.cx('icon'))
|
|
722
|
+
.filter(([, value]) => !!value)
|
|
723
|
+
.reduce((acc, [key]) => acc + ` ${key}`, 'h-button-loading-icon');
|
|
724
|
+
},
|
|
725
|
+
label: 'h-button-label'
|
|
726
|
+
};
|
|
727
|
+
class ButtonStyle extends BaseStyle {
|
|
728
|
+
name = 'button';
|
|
729
|
+
style = style;
|
|
730
|
+
classes = classes;
|
|
731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
732
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle });
|
|
733
|
+
}
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle, decorators: [{
|
|
735
|
+
type: Injectable
|
|
736
|
+
}] });
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* Button is an extension to standard button element with icons and theming.
|
|
740
|
+
*
|
|
741
|
+
* [Live Demo](https://www.primeng.org/button/)
|
|
742
|
+
*
|
|
743
|
+
* @module buttonstyle
|
|
744
|
+
*
|
|
745
|
+
*/
|
|
746
|
+
var ButtonClasses;
|
|
747
|
+
(function (ButtonClasses) {
|
|
748
|
+
/**
|
|
749
|
+
* Class name of the root element
|
|
750
|
+
*/
|
|
751
|
+
ButtonClasses["root"] = "h-button";
|
|
752
|
+
/**
|
|
753
|
+
* Class name of the loading icon element
|
|
754
|
+
*/
|
|
755
|
+
ButtonClasses["loadingIcon"] = "h-button-loading-icon";
|
|
756
|
+
/**
|
|
757
|
+
* Class name of the icon element
|
|
758
|
+
*/
|
|
759
|
+
ButtonClasses["icon"] = "h-button-icon";
|
|
760
|
+
/**
|
|
761
|
+
* Class name of the label element
|
|
762
|
+
*/
|
|
763
|
+
ButtonClasses["label"] = "h-button-label";
|
|
764
|
+
})(ButtonClasses || (ButtonClasses = {}));
|
|
765
|
+
|
|
766
|
+
const BUTTON_INSTANCE = new InjectionToken('BUTTON_INSTANCE');
|
|
767
|
+
const BUTTON_DIRECTIVE_INSTANCE = new InjectionToken('BUTTON_DIRECTIVE_INSTANCE');
|
|
768
|
+
const BUTTON_LABEL_INSTANCE = new InjectionToken('BUTTON_LABEL_INSTANCE');
|
|
769
|
+
const BUTTON_ICON_INSTANCE = new InjectionToken('BUTTON_ICON_INSTANCE');
|
|
770
|
+
const INTERNAL_BUTTON_CLASSES = {
|
|
771
|
+
button: 'h-button',
|
|
772
|
+
component: 'h-component',
|
|
773
|
+
iconOnly: 'h-button-icon-only',
|
|
774
|
+
disabled: 'h-disabled',
|
|
775
|
+
loading: 'h-button-loading',
|
|
776
|
+
labelOnly: 'h-button-loading-label-only'
|
|
777
|
+
};
|
|
778
|
+
class ButtonLabel extends BaseComponent {
|
|
779
|
+
componentName = 'ButtonLabel';
|
|
780
|
+
/**
|
|
781
|
+
* Used to pass attributes to DOM elements inside the hButtonLabel.
|
|
782
|
+
* @defaultValue undefined
|
|
783
|
+
* @deprecated use pButtonLabelPT instead.
|
|
784
|
+
* @group Props
|
|
785
|
+
*/
|
|
786
|
+
ptButtonLabel = input(/* @ts-ignore */
|
|
787
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonLabel" }] : /* istanbul ignore next */ []));
|
|
788
|
+
/**
|
|
789
|
+
* Used to pass attributes to DOM elements inside the hButtonLabel.
|
|
790
|
+
* @defaultValue undefined
|
|
791
|
+
* @group Props
|
|
792
|
+
*/
|
|
793
|
+
pButtonLabelPT = input(/* @ts-ignore */
|
|
794
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonLabelPT" }] : /* istanbul ignore next */ []));
|
|
795
|
+
/**
|
|
796
|
+
* Indicates whether the component should be rendered without styles.
|
|
797
|
+
* @defaultValue undefined
|
|
798
|
+
* @group Props
|
|
799
|
+
*/
|
|
800
|
+
pButtonLabelUnstyled = input(/* @ts-ignore */
|
|
801
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonLabelUnstyled" }] : /* istanbul ignore next */ []));
|
|
802
|
+
$pcButtonLabel = inject(BUTTON_LABEL_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
803
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
804
|
+
constructor() {
|
|
805
|
+
super();
|
|
806
|
+
effect(() => {
|
|
807
|
+
const pt = this.ptButtonLabel() || this.pButtonLabelPT();
|
|
808
|
+
pt && this.directivePT.set(pt);
|
|
809
|
+
});
|
|
810
|
+
effect(() => {
|
|
811
|
+
this.pButtonLabelUnstyled() && this.directiveUnstyled.set(this.pButtonLabelUnstyled());
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
onAfterViewChecked() {
|
|
815
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
816
|
+
}
|
|
817
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
818
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: ButtonLabel, isStandalone: true, selector: "[hButtonLabel]", 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.h-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 });
|
|
819
|
+
}
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonLabel, decorators: [{
|
|
821
|
+
type: Directive,
|
|
822
|
+
args: [{
|
|
823
|
+
selector: '[hButtonLabel]',
|
|
824
|
+
providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }],
|
|
825
|
+
standalone: true,
|
|
826
|
+
host: {
|
|
827
|
+
'[class.h-button-label]': '!$unstyled() && true'
|
|
828
|
+
},
|
|
829
|
+
hostDirectives: [Bind]
|
|
830
|
+
}]
|
|
831
|
+
}], 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 }] }] } });
|
|
832
|
+
class ButtonIcon extends BaseComponent {
|
|
833
|
+
componentName = 'ButtonIcon';
|
|
834
|
+
/**
|
|
835
|
+
* Used to pass attributes to DOM elements inside the hButtonIcon.
|
|
836
|
+
* @defaultValue undefined
|
|
837
|
+
* @deprecated use pButtonIconPT instead.
|
|
838
|
+
* @group Props
|
|
839
|
+
*/
|
|
840
|
+
ptButtonIcon = input(/* @ts-ignore */
|
|
841
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonIcon" }] : /* istanbul ignore next */ []));
|
|
842
|
+
/**
|
|
843
|
+
* Used to pass attributes to DOM elements inside the hButtonIcon.
|
|
844
|
+
* @defaultValue undefined
|
|
845
|
+
* @group Props
|
|
846
|
+
*/
|
|
847
|
+
pButtonIconPT = input(/* @ts-ignore */
|
|
848
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonIconPT" }] : /* istanbul ignore next */ []));
|
|
849
|
+
/**
|
|
850
|
+
* Indicates whether the component should be rendered without styles.
|
|
851
|
+
* @defaultValue undefined
|
|
852
|
+
* @group Props
|
|
853
|
+
*/
|
|
854
|
+
pButtonUnstyled = input(/* @ts-ignore */
|
|
855
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
|
|
856
|
+
$pcButtonIcon = inject(BUTTON_ICON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
857
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
858
|
+
constructor() {
|
|
859
|
+
super();
|
|
860
|
+
effect(() => {
|
|
861
|
+
const pt = this.ptButtonIcon() || this.pButtonIconPT();
|
|
862
|
+
pt && this.directivePT.set(pt);
|
|
863
|
+
});
|
|
864
|
+
effect(() => {
|
|
865
|
+
this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
onAfterViewChecked() {
|
|
869
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
870
|
+
}
|
|
871
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
872
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: ButtonIcon, isStandalone: true, selector: "[hButtonIcon]", 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.h-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 });
|
|
873
|
+
}
|
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonIcon, decorators: [{
|
|
875
|
+
type: Directive,
|
|
876
|
+
args: [{
|
|
877
|
+
selector: '[hButtonIcon]',
|
|
878
|
+
providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }],
|
|
879
|
+
standalone: true,
|
|
880
|
+
host: {
|
|
881
|
+
'[class.h-button-icon]': '!$unstyled() && true'
|
|
882
|
+
},
|
|
883
|
+
hostDirectives: [Bind]
|
|
884
|
+
}]
|
|
885
|
+
}], 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 }] }] } });
|
|
886
|
+
/**
|
|
887
|
+
* Button directive is an extension to button component.
|
|
888
|
+
* @group Components
|
|
889
|
+
*/
|
|
890
|
+
class ButtonDirective extends BaseComponent {
|
|
891
|
+
componentName = 'Button';
|
|
892
|
+
$pcButtonDirective = inject(BUTTON_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
893
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
894
|
+
_componentStyle = inject(ButtonStyle);
|
|
895
|
+
/**
|
|
896
|
+
* Used to pass attributes to DOM elements inside the Button component.
|
|
897
|
+
* @defaultValue undefined
|
|
898
|
+
* @deprecated use pButtonPT instead.
|
|
899
|
+
* @group Props
|
|
900
|
+
*/
|
|
901
|
+
ptButtonDirective = input(/* @ts-ignore */
|
|
902
|
+
...(ngDevMode ? [undefined, { debugName: "ptButtonDirective" }] : /* istanbul ignore next */ []));
|
|
903
|
+
/**
|
|
904
|
+
* Used to pass attributes to DOM elements inside the Button component.
|
|
905
|
+
* @defaultValue undefined
|
|
906
|
+
* @group Props
|
|
907
|
+
*/
|
|
908
|
+
pButtonPT = input(/* @ts-ignore */
|
|
909
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonPT" }] : /* istanbul ignore next */ []));
|
|
910
|
+
/**
|
|
911
|
+
* Indicates whether the component should be rendered without styles.
|
|
912
|
+
* @defaultValue undefined
|
|
913
|
+
* @group Props
|
|
914
|
+
*/
|
|
915
|
+
pButtonUnstyled = input(/* @ts-ignore */
|
|
916
|
+
...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
|
|
917
|
+
hostName = input('', /* @ts-ignore */
|
|
918
|
+
...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
|
|
919
|
+
onAfterViewChecked() {
|
|
920
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('root'));
|
|
921
|
+
}
|
|
922
|
+
constructor() {
|
|
923
|
+
super();
|
|
924
|
+
effect(() => {
|
|
925
|
+
const pt = this.ptButtonDirective() || this.pButtonPT();
|
|
926
|
+
pt && this.directivePT.set(pt);
|
|
927
|
+
});
|
|
928
|
+
effect(() => {
|
|
929
|
+
this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
|
|
930
|
+
});
|
|
931
|
+
effect(() => {
|
|
932
|
+
const unstyled = this.$unstyled();
|
|
933
|
+
if (this.initialized && unstyled) {
|
|
934
|
+
this.setStyleClass();
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
effect(() => {
|
|
938
|
+
this.label();
|
|
939
|
+
this.icon();
|
|
940
|
+
this.loading();
|
|
941
|
+
this.severity();
|
|
942
|
+
if (this.initialized) {
|
|
943
|
+
this.updateLabel();
|
|
944
|
+
this.updateIcon();
|
|
945
|
+
this.setStyleClass();
|
|
946
|
+
}
|
|
947
|
+
});
|
|
948
|
+
effect(() => {
|
|
949
|
+
const val = this.buttonProps();
|
|
950
|
+
if (val && typeof val === 'object') {
|
|
951
|
+
Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Add a textual class to the button without a background initially.
|
|
957
|
+
* @group Props
|
|
958
|
+
*/
|
|
959
|
+
text = input(false, { ...(ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
960
|
+
/**
|
|
961
|
+
* Add a plain textual class to the button without a background initially.
|
|
962
|
+
* @group Props
|
|
963
|
+
*/
|
|
964
|
+
plain = input(false, { ...(ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
965
|
+
/**
|
|
966
|
+
* Add a shadow to indicate elevation.
|
|
967
|
+
* @group Props
|
|
968
|
+
*/
|
|
969
|
+
raised = input(false, { ...(ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
970
|
+
/**
|
|
971
|
+
* Defines the size of the button.
|
|
972
|
+
* @group Props
|
|
973
|
+
*/
|
|
974
|
+
size = input(/* @ts-ignore */
|
|
975
|
+
...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
976
|
+
/**
|
|
977
|
+
* Add a border class without a background initially.
|
|
978
|
+
* @group Props
|
|
979
|
+
*/
|
|
980
|
+
outlined = input(false, { ...(ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
981
|
+
/**
|
|
982
|
+
* Add a circular border radius to the button.
|
|
983
|
+
* @group Props
|
|
984
|
+
*/
|
|
985
|
+
rounded = input(false, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
986
|
+
/**
|
|
987
|
+
* Position of the icon.
|
|
988
|
+
* @group Props
|
|
989
|
+
*/
|
|
990
|
+
iconPos = input('left', /* @ts-ignore */
|
|
991
|
+
...(ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []));
|
|
992
|
+
/**
|
|
993
|
+
* Icon to display in loading state.
|
|
994
|
+
* @group Props
|
|
995
|
+
*/
|
|
996
|
+
loadingIcon = input(/* @ts-ignore */
|
|
997
|
+
...(ngDevMode ? [undefined, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []));
|
|
998
|
+
/**
|
|
999
|
+
* Spans 100% width of the container when enabled.
|
|
1000
|
+
* @defaultValue undefined
|
|
1001
|
+
* @group Props
|
|
1002
|
+
*/
|
|
1003
|
+
fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1004
|
+
iconSignal = contentChild(ButtonIcon, /* @ts-ignore */
|
|
1005
|
+
...(ngDevMode ? [{ debugName: "iconSignal" }] : /* istanbul ignore next */ []));
|
|
1006
|
+
labelSignal = contentChild(ButtonLabel, /* @ts-ignore */
|
|
1007
|
+
...(ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []));
|
|
1008
|
+
isIconOnly = computed(() => !!(!this.labelSignal() && this.iconSignal()), /* @ts-ignore */
|
|
1009
|
+
...(ngDevMode ? [{ debugName: "isIconOnly" }] : /* istanbul ignore next */ []));
|
|
1010
|
+
initialized;
|
|
1011
|
+
get htmlElement() {
|
|
1012
|
+
return this.el.nativeElement;
|
|
1013
|
+
}
|
|
1014
|
+
_internalClasses = Object.values(INTERNAL_BUTTON_CLASSES);
|
|
1015
|
+
pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
|
|
1016
|
+
isTextButton = computed(() => !!(!this.iconSignal() && this.labelSignal() && this.text()), /* @ts-ignore */
|
|
1017
|
+
...(ngDevMode ? [{ debugName: "isTextButton" }] : /* istanbul ignore next */ []));
|
|
1018
|
+
/**
|
|
1019
|
+
* Text of the button.
|
|
1020
|
+
* @deprecated use hButtonLabel directive instead.
|
|
1021
|
+
* @group Props
|
|
1022
|
+
*/
|
|
1023
|
+
label = input(undefined, /* @ts-ignore */
|
|
1024
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
1025
|
+
/**
|
|
1026
|
+
* Name of the icon.
|
|
1027
|
+
* @deprecated use hButtonIcon directive instead
|
|
1028
|
+
* @group Props
|
|
1029
|
+
*/
|
|
1030
|
+
icon = input(undefined, /* @ts-ignore */
|
|
1031
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
1032
|
+
/**
|
|
1033
|
+
* Whether the button is in loading state.
|
|
1034
|
+
* @group Props
|
|
1035
|
+
*/
|
|
1036
|
+
loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1037
|
+
/**
|
|
1038
|
+
* Used to pass all properties of the ButtonProps to the Button component.
|
|
1039
|
+
* @deprecated assign props directly to the button element.
|
|
1040
|
+
* @group Props
|
|
1041
|
+
*/
|
|
1042
|
+
buttonProps = input(undefined, /* @ts-ignore */
|
|
1043
|
+
...(ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []));
|
|
1044
|
+
/**
|
|
1045
|
+
* Defines the style of the button.
|
|
1046
|
+
* @group Props
|
|
1047
|
+
*/
|
|
1048
|
+
severity = input(undefined, /* @ts-ignore */
|
|
1049
|
+
...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
|
|
1050
|
+
spinnerIcon = `<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-icon-spin">
|
|
1051
|
+
<g clip-path="url(#clip0_417_21408)">
|
|
1052
|
+
<path
|
|
1053
|
+
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"
|
|
1054
|
+
fill="currentColor"
|
|
1055
|
+
/>
|
|
1056
|
+
</g>
|
|
1057
|
+
<defs>
|
|
1058
|
+
<clipPath id="clip0_417_21408">
|
|
1059
|
+
<rect width="14" height="14" fill="white" />
|
|
1060
|
+
</clipPath>
|
|
1061
|
+
</defs>
|
|
1062
|
+
</svg>`;
|
|
1063
|
+
onAfterViewInit() {
|
|
1064
|
+
!this.$unstyled() && addClass(this.htmlElement, this.getStyleClass().join(' '));
|
|
1065
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
1066
|
+
this.createIcon();
|
|
1067
|
+
this.createLabel();
|
|
1068
|
+
this.initialized = true;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
getStyleClass() {
|
|
1072
|
+
const styleClass = [INTERNAL_BUTTON_CLASSES.button, INTERNAL_BUTTON_CLASSES.component];
|
|
1073
|
+
if (this.icon() && !this.label() && isEmpty(this.htmlElement.textContent)) {
|
|
1074
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
|
|
1075
|
+
}
|
|
1076
|
+
if (this.loading()) {
|
|
1077
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.disabled, INTERNAL_BUTTON_CLASSES.loading);
|
|
1078
|
+
if (!this.icon() && this.label()) {
|
|
1079
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.labelOnly);
|
|
1080
|
+
}
|
|
1081
|
+
if (this.icon() && !this.label() && !isEmpty(this.htmlElement.textContent)) {
|
|
1082
|
+
styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
if (this.text()) {
|
|
1086
|
+
styleClass.push('h-button-text');
|
|
1087
|
+
}
|
|
1088
|
+
if (this.severity()) {
|
|
1089
|
+
styleClass.push(`h-button-${this.severity()}`);
|
|
1090
|
+
}
|
|
1091
|
+
if (this.plain()) {
|
|
1092
|
+
styleClass.push('h-button-plain');
|
|
1093
|
+
}
|
|
1094
|
+
if (this.raised()) {
|
|
1095
|
+
styleClass.push('h-button-raised');
|
|
1096
|
+
}
|
|
1097
|
+
const size = this.size();
|
|
1098
|
+
if (size) {
|
|
1099
|
+
styleClass.push(`h-button-${size}`);
|
|
1100
|
+
}
|
|
1101
|
+
if (this.outlined()) {
|
|
1102
|
+
styleClass.push('h-button-outlined');
|
|
1103
|
+
}
|
|
1104
|
+
if (this.rounded()) {
|
|
1105
|
+
styleClass.push('h-button-rounded');
|
|
1106
|
+
}
|
|
1107
|
+
if (size === 'small') {
|
|
1108
|
+
styleClass.push('h-button-sm');
|
|
1109
|
+
}
|
|
1110
|
+
if (size === 'large') {
|
|
1111
|
+
styleClass.push('h-button-lg');
|
|
1112
|
+
}
|
|
1113
|
+
if (this.hasFluid) {
|
|
1114
|
+
styleClass.push('h-button-fluid');
|
|
1115
|
+
}
|
|
1116
|
+
return this.$unstyled() ? [] : styleClass;
|
|
1117
|
+
}
|
|
1118
|
+
get hasFluid() {
|
|
1119
|
+
return this.fluid() ?? !!this.pcFluid;
|
|
1120
|
+
}
|
|
1121
|
+
setStyleClass() {
|
|
1122
|
+
const styleClass = this.getStyleClass();
|
|
1123
|
+
this.removeExistingSeverityClass();
|
|
1124
|
+
this.htmlElement.classList.remove(...this._internalClasses);
|
|
1125
|
+
this.htmlElement.classList.add(...styleClass);
|
|
1126
|
+
}
|
|
1127
|
+
removeExistingSeverityClass() {
|
|
1128
|
+
const severityArray = ['success', 'info', 'warn', 'danger', 'help', 'primary', 'secondary', 'contrast'];
|
|
1129
|
+
const existingSeverityClass = this.htmlElement.classList.value.split(' ').find((cls) => severityArray.some((severity) => cls === `h-button-${severity}`));
|
|
1130
|
+
if (existingSeverityClass) {
|
|
1131
|
+
this.htmlElement.classList.remove(existingSeverityClass);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
createLabel() {
|
|
1135
|
+
const created = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
1136
|
+
const labelVal = this.label();
|
|
1137
|
+
if (!created && labelVal) {
|
|
1138
|
+
let labelElement = createElement('span', { class: this.cx('label'), 'h-bind': this.ptm('buttonlabel'), 'aria-hidden': this.icon() && !labelVal ? 'true' : null });
|
|
1139
|
+
labelElement.appendChild(this.document.createTextNode(labelVal));
|
|
1140
|
+
this.htmlElement.appendChild(labelElement);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
createIcon() {
|
|
1144
|
+
const created = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
|
|
1145
|
+
if (!created && (this.icon() || this.loading())) {
|
|
1146
|
+
let iconPosClass = this.label() && !this.$unstyled() ? 'h-button-icon-' + this.iconPos() : null;
|
|
1147
|
+
let iconClass = !this.$unstyled() && this.getIconClass();
|
|
1148
|
+
let iconElement = createElement('span', { class: this.cn(this.cx('icon'), iconPosClass, iconClass), 'aria-hidden': 'true', 'h-bind': this.ptm('buttonicon') });
|
|
1149
|
+
if (!this.loadingIcon() && this.loading()) {
|
|
1150
|
+
iconElement.innerHTML = this.spinnerIcon;
|
|
1151
|
+
}
|
|
1152
|
+
this.htmlElement.insertBefore(iconElement, this.htmlElement.firstChild);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
updateLabel() {
|
|
1156
|
+
let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
1157
|
+
const labelVal = this.label();
|
|
1158
|
+
if (!labelVal) {
|
|
1159
|
+
labelElement && this.htmlElement.removeChild(labelElement);
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
labelElement ? (labelElement.textContent = labelVal) : this.createLabel();
|
|
1163
|
+
}
|
|
1164
|
+
updateIcon() {
|
|
1165
|
+
let iconElement = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
|
|
1166
|
+
let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
|
|
1167
|
+
if (this.loading() && !this.loadingIcon() && iconElement) {
|
|
1168
|
+
iconElement.innerHTML = this.spinnerIcon;
|
|
1169
|
+
}
|
|
1170
|
+
else if (iconElement?.innerHTML) {
|
|
1171
|
+
iconElement.innerHTML = '';
|
|
1172
|
+
}
|
|
1173
|
+
if (iconElement && !this.$unstyled()) {
|
|
1174
|
+
const iconPos = this.iconPos();
|
|
1175
|
+
if (iconPos) {
|
|
1176
|
+
iconElement.className = 'h-button-icon ' + (labelElement ? 'h-button-icon-' + iconPos : '') + ' ' + this.getIconClass();
|
|
1177
|
+
}
|
|
1178
|
+
else {
|
|
1179
|
+
iconElement.className = 'h-button-icon ' + this.getIconClass();
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
else {
|
|
1183
|
+
this.createIcon();
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
getIconClass() {
|
|
1187
|
+
const loadingIcon = this.loadingIcon();
|
|
1188
|
+
return this.loading() ? 'h-button-loading-icon ' + (loadingIcon ? loadingIcon : 'h-icon') : this.icon() || 'h-hidden';
|
|
1189
|
+
}
|
|
1190
|
+
onDestroy() {
|
|
1191
|
+
this.initialized = false;
|
|
1192
|
+
}
|
|
1193
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1194
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.6", type: ButtonDirective, isStandalone: true, selector: "[hButton]", 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: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: true, isRequired: false, transformFunction: null }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.h-button-icon-only": "!$unstyled() && isIconOnly()", "class.h-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 });
|
|
1195
|
+
}
|
|
1196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonDirective, decorators: [{
|
|
1197
|
+
type: Directive,
|
|
1198
|
+
args: [{
|
|
1199
|
+
selector: '[hButton]',
|
|
1200
|
+
standalone: true,
|
|
1201
|
+
providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }],
|
|
1202
|
+
host: {
|
|
1203
|
+
'[class.h-button-icon-only]': '!$unstyled() && isIconOnly()',
|
|
1204
|
+
'[class.h-button-text]': ' !$unstyled() && isTextButton()'
|
|
1205
|
+
},
|
|
1206
|
+
hostDirectives: [Bind]
|
|
1207
|
+
}]
|
|
1208
|
+
}], 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: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], plain: [{ type: i0.Input, args: [{ isSignal: true, alias: "plain", required: false }] }], raised: [{ type: i0.Input, args: [{ isSignal: true, alias: "raised", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outlined: [{ type: i0.Input, args: [{ isSignal: true, alias: "outlined", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], loadingIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingIcon", required: false }] }], 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: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }] } });
|
|
1209
|
+
/**
|
|
1210
|
+
* Button is an extension to standard button element with icons and theming.
|
|
1211
|
+
* @group Components
|
|
1212
|
+
*/
|
|
1213
|
+
class Button extends BaseComponent {
|
|
1214
|
+
componentName = 'Button';
|
|
1215
|
+
hostName = input('', /* @ts-ignore */
|
|
1216
|
+
...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
|
|
1217
|
+
$pcButton = inject(BUTTON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
1218
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
1219
|
+
_componentStyle = inject(ButtonStyle);
|
|
1220
|
+
onAfterViewChecked() {
|
|
1221
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('host'));
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Type of the button.
|
|
1225
|
+
* @group Props
|
|
1226
|
+
*/
|
|
1227
|
+
type = input('button', /* @ts-ignore */
|
|
1228
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
1229
|
+
/**
|
|
1230
|
+
* Value of the badge.
|
|
1231
|
+
* @group Props
|
|
1232
|
+
*/
|
|
1233
|
+
badge = input(/* @ts-ignore */
|
|
1234
|
+
...(ngDevMode ? [undefined, { debugName: "badge" }] : /* istanbul ignore next */ []));
|
|
1235
|
+
/**
|
|
1236
|
+
* When present, it specifies that the component should be disabled.
|
|
1237
|
+
* @group Props
|
|
1238
|
+
*/
|
|
1239
|
+
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1240
|
+
/**
|
|
1241
|
+
* Add a shadow to indicate elevation.
|
|
1242
|
+
* @group Props
|
|
1243
|
+
*/
|
|
1244
|
+
raised = input(false, { ...(ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1245
|
+
/**
|
|
1246
|
+
* Add a circular border radius to the button.
|
|
1247
|
+
* @group Props
|
|
1248
|
+
*/
|
|
1249
|
+
rounded = input(false, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1250
|
+
/**
|
|
1251
|
+
* Add a textual class to the button without a background initially.
|
|
1252
|
+
* @group Props
|
|
1253
|
+
*/
|
|
1254
|
+
text = input(false, { ...(ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1255
|
+
/**
|
|
1256
|
+
* Add a plain textual class to the button without a background initially.
|
|
1257
|
+
* @group Props
|
|
1258
|
+
*/
|
|
1259
|
+
plain = input(false, { ...(ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1260
|
+
/**
|
|
1261
|
+
* Add a border class without a background initially.
|
|
1262
|
+
* @group Props
|
|
1263
|
+
*/
|
|
1264
|
+
outlined = input(false, { ...(ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1265
|
+
/**
|
|
1266
|
+
* Add a link style to the button.
|
|
1267
|
+
* @group Props
|
|
1268
|
+
*/
|
|
1269
|
+
link = input(false, { ...(ngDevMode ? { debugName: "link" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1270
|
+
/**
|
|
1271
|
+
* Add a tabindex to the button.
|
|
1272
|
+
* @group Props
|
|
1273
|
+
*/
|
|
1274
|
+
tabindex = input(undefined, { ...(ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
1275
|
+
/**
|
|
1276
|
+
* Defines the size of the button.
|
|
1277
|
+
* @group Props
|
|
1278
|
+
*/
|
|
1279
|
+
size = input(/* @ts-ignore */
|
|
1280
|
+
...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
1281
|
+
/**
|
|
1282
|
+
* Specifies the variant of the component.
|
|
1283
|
+
* @group Props
|
|
1284
|
+
*/
|
|
1285
|
+
variant = input(/* @ts-ignore */
|
|
1286
|
+
...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
1287
|
+
/**
|
|
1288
|
+
* Inline style of the element.
|
|
1289
|
+
* @group Props
|
|
1290
|
+
*/
|
|
1291
|
+
style = input(/* @ts-ignore */
|
|
1292
|
+
...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
|
|
1293
|
+
/**
|
|
1294
|
+
* Class of the element.
|
|
1295
|
+
* @group Props
|
|
1296
|
+
*/
|
|
1297
|
+
styleClass = input(/* @ts-ignore */
|
|
1298
|
+
...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
|
|
1299
|
+
/**
|
|
1300
|
+
* Style class of the badge.
|
|
1301
|
+
* @group Props
|
|
1302
|
+
* @deprecated use badgeSeverity instead.
|
|
1303
|
+
*/
|
|
1304
|
+
badgeClass = input(/* @ts-ignore */
|
|
1305
|
+
...(ngDevMode ? [undefined, { debugName: "badgeClass" }] : /* istanbul ignore next */ []));
|
|
1306
|
+
/**
|
|
1307
|
+
* Severity type of the badge.
|
|
1308
|
+
* @group Props
|
|
1309
|
+
* @defaultValue secondary
|
|
1310
|
+
*/
|
|
1311
|
+
badgeSeverity = input('secondary', /* @ts-ignore */
|
|
1312
|
+
...(ngDevMode ? [{ debugName: "badgeSeverity" }] : /* istanbul ignore next */ []));
|
|
1313
|
+
/**
|
|
1314
|
+
* Used to define a string that autocomplete attribute the current element.
|
|
1315
|
+
* @group Props
|
|
1316
|
+
*/
|
|
1317
|
+
ariaLabel = input(/* @ts-ignore */
|
|
1318
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
1319
|
+
/**
|
|
1320
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
1321
|
+
* @group Props
|
|
1322
|
+
*/
|
|
1323
|
+
autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1324
|
+
/**
|
|
1325
|
+
* Position of the icon.
|
|
1326
|
+
* @group Props
|
|
1327
|
+
*/
|
|
1328
|
+
iconPos = input('left', /* @ts-ignore */
|
|
1329
|
+
...(ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []));
|
|
1330
|
+
/**
|
|
1331
|
+
* Name of the icon.
|
|
1332
|
+
* @group Props
|
|
1333
|
+
*/
|
|
1334
|
+
icon = input(/* @ts-ignore */
|
|
1335
|
+
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
1336
|
+
/**
|
|
1337
|
+
* Text of the button.
|
|
1338
|
+
* @group Props
|
|
1339
|
+
*/
|
|
1340
|
+
label = input(/* @ts-ignore */
|
|
1341
|
+
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
1342
|
+
/**
|
|
1343
|
+
* Whether the button is in loading state.
|
|
1344
|
+
* @group Props
|
|
1345
|
+
*/
|
|
1346
|
+
loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1347
|
+
/**
|
|
1348
|
+
* Icon to display in loading state.
|
|
1349
|
+
* @group Props
|
|
1350
|
+
*/
|
|
1351
|
+
loadingIcon = input(/* @ts-ignore */
|
|
1352
|
+
...(ngDevMode ? [undefined, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []));
|
|
1353
|
+
/**
|
|
1354
|
+
* Defines the style of the button.
|
|
1355
|
+
* @group Props
|
|
1356
|
+
*/
|
|
1357
|
+
severity = input(/* @ts-ignore */
|
|
1358
|
+
...(ngDevMode ? [undefined, { debugName: "severity" }] : /* istanbul ignore next */ []));
|
|
1359
|
+
/**
|
|
1360
|
+
* Used to pass all properties of the ButtonProps to the Button component.
|
|
1361
|
+
* @group Props
|
|
1362
|
+
*/
|
|
1363
|
+
buttonProps = input(/* @ts-ignore */
|
|
1364
|
+
...(ngDevMode ? [undefined, { debugName: "buttonProps" }] : /* istanbul ignore next */ []));
|
|
1365
|
+
/**
|
|
1366
|
+
* Spans 100% width of the container when enabled.
|
|
1367
|
+
* @defaultValue undefined
|
|
1368
|
+
* @group Props
|
|
1369
|
+
*/
|
|
1370
|
+
fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
1371
|
+
/**
|
|
1372
|
+
* Callback to execute when button is clicked.
|
|
1373
|
+
* This event is intended to be used with the <h-button> component. Using a regular <button> element, use (click).
|
|
1374
|
+
* @param {MouseEvent} event - Mouse event.
|
|
1375
|
+
* @group Emits
|
|
1376
|
+
*/
|
|
1377
|
+
onClick = output();
|
|
1378
|
+
/**
|
|
1379
|
+
* Callback to execute when button is focused.
|
|
1380
|
+
* This event is intended to be used with the <h-button> component. Using a regular <button> element, use (focus).
|
|
1381
|
+
* @param {FocusEvent} event - Focus event.
|
|
1382
|
+
* @group Emits
|
|
1383
|
+
*/
|
|
1384
|
+
onFocus = output();
|
|
1385
|
+
/**
|
|
1386
|
+
* Callback to execute when button loses focus.
|
|
1387
|
+
* This event is intended to be used with the <h-button> component. Using a regular <button> element, use (blur).
|
|
1388
|
+
* @param {FocusEvent} event - Focus event.
|
|
1389
|
+
* @group Emits
|
|
1390
|
+
*/
|
|
1391
|
+
onBlur = output();
|
|
1392
|
+
/**
|
|
1393
|
+
* Custom content template.
|
|
1394
|
+
* @group Templates
|
|
1395
|
+
**/
|
|
1396
|
+
contentTemplate = contentChild('content', /* @ts-ignore */
|
|
1397
|
+
...(ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []));
|
|
1398
|
+
/**
|
|
1399
|
+
* Custom loading icon template.
|
|
1400
|
+
* @group Templates
|
|
1401
|
+
**/
|
|
1402
|
+
loadingIconTemplate = contentChild('loadingicon', /* @ts-ignore */
|
|
1403
|
+
...(ngDevMode ? [{ debugName: "loadingIconTemplate" }] : /* istanbul ignore next */ []));
|
|
1404
|
+
/**
|
|
1405
|
+
* Custom icon template.
|
|
1406
|
+
* @group Templates
|
|
1407
|
+
**/
|
|
1408
|
+
iconTemplate = contentChild('icon', /* @ts-ignore */
|
|
1409
|
+
...(ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []));
|
|
1410
|
+
templates = contentChildren(HelixTemplate, /* @ts-ignore */
|
|
1411
|
+
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
1412
|
+
pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
|
|
1413
|
+
get hasFluid() {
|
|
1414
|
+
return this.fluid() ?? !!this.pcFluid;
|
|
1415
|
+
}
|
|
1416
|
+
get hasIcon() {
|
|
1417
|
+
return this.icon() || this.buttonProps()?.icon || this.iconTemplate() || this._iconTemplate || this.loadingIcon() || this.loadingIconTemplate() || this._loadingIconTemplate;
|
|
1418
|
+
}
|
|
1419
|
+
_contentTemplate;
|
|
1420
|
+
_iconTemplate;
|
|
1421
|
+
_loadingIconTemplate;
|
|
1422
|
+
onAfterContentInit() {
|
|
1423
|
+
this.templates()?.forEach((item) => {
|
|
1424
|
+
switch (item.getType()) {
|
|
1425
|
+
case 'content':
|
|
1426
|
+
this._contentTemplate = item.template;
|
|
1427
|
+
break;
|
|
1428
|
+
case 'icon':
|
|
1429
|
+
this._iconTemplate = item.template;
|
|
1430
|
+
break;
|
|
1431
|
+
case 'loadingicon':
|
|
1432
|
+
this._loadingIconTemplate = item.template;
|
|
1433
|
+
break;
|
|
1434
|
+
default:
|
|
1435
|
+
this._contentTemplate = item.template;
|
|
1436
|
+
break;
|
|
1437
|
+
}
|
|
1438
|
+
});
|
|
1439
|
+
}
|
|
1440
|
+
get dataP() {
|
|
1441
|
+
const iconPos = this.iconPos();
|
|
1442
|
+
return this.cn({
|
|
1443
|
+
[this.size()]: this.size(),
|
|
1444
|
+
'icon-only': this.hasIcon && !this.label() && !this.badge(),
|
|
1445
|
+
loading: this.loading(),
|
|
1446
|
+
fluid: this.hasFluid,
|
|
1447
|
+
rounded: this.rounded(),
|
|
1448
|
+
raised: this.raised(),
|
|
1449
|
+
outlined: this.outlined() || this.variant() === 'outlined',
|
|
1450
|
+
text: this.text() || this.variant() === 'text',
|
|
1451
|
+
link: this.link(),
|
|
1452
|
+
vertical: (iconPos === 'top' || iconPos === 'bottom') && this.label()
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
get dataIconP() {
|
|
1456
|
+
return this.cn({
|
|
1457
|
+
[this.iconPos()]: this.iconPos(),
|
|
1458
|
+
[this.size()]: this.size()
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
get dataLabelP() {
|
|
1462
|
+
return this.cn({
|
|
1463
|
+
[this.size()]: this.size(),
|
|
1464
|
+
'icon-only': this.hasIcon && !this.label() && !this.badge()
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Button, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1468
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Button, isStandalone: true, selector: "h-button", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: true, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, badgeClass: { classPropertyName: "badgeClass", publicName: "badgeClass", isSignal: true, isRequired: false, transformFunction: null }, badgeSeverity: { classPropertyName: "badgeSeverity", publicName: "badgeSeverity", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, 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, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "[hRipple]" }, { kind: "directive", type: AutoFocus, selector: "[hAutoFocus]", inputs: ["hAutoFocus"] }, { kind: "component", type: SpinnerIcon, selector: "[data-h-icon=\"spinner\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i3.Badge, selector: "h-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1469
|
+
}
|
|
1470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Button, decorators: [{
|
|
1471
|
+
type: Component,
|
|
1472
|
+
args: [{ selector: 'h-button', standalone: true, imports: [CommonModule, Ripple, AutoFocus, SpinnerIcon, BadgeModule, SharedModule, Bind], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], hostDirectives: [Bind], template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n" }]
|
|
1473
|
+
}], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], badge: [{ type: i0.Input, args: [{ isSignal: true, alias: "badge", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], raised: [{ type: i0.Input, args: [{ isSignal: true, alias: "raised", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], plain: [{ type: i0.Input, args: [{ isSignal: true, alias: "plain", required: false }] }], outlined: [{ type: i0.Input, args: [{ isSignal: true, alias: "outlined", required: false }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], badgeClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeClass", required: false }] }], badgeSeverity: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeSeverity", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingIcon", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { isSignal: true }] }], loadingIconTemplate: [{ type: i0.ContentChild, args: ['loadingicon', { isSignal: true }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }] }] } });
|
|
1474
|
+
class ButtonModule {
|
|
1475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1476
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon], exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule] });
|
|
1477
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, imports: [CommonModule, Button, SharedModule, SharedModule] });
|
|
1478
|
+
}
|
|
1479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, decorators: [{
|
|
1480
|
+
type: NgModule,
|
|
1481
|
+
args: [{
|
|
1482
|
+
imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon],
|
|
1483
|
+
exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule]
|
|
1484
|
+
}]
|
|
1485
|
+
}] });
|
|
1486
|
+
|
|
1487
|
+
// Backward compatibility
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Generated bundle index. Do not edit.
|
|
1491
|
+
*/
|
|
1492
|
+
|
|
1493
|
+
export { Button, ButtonClasses, ButtonDirective, ButtonIcon, ButtonLabel, ButtonModule, ButtonStyle };
|
|
1494
|
+
//# sourceMappingURL=gravionlabs-helix-core-button.mjs.map
|