@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,356 @@
|
|
|
1
|
+
export * from '@gravionlabs/helix-core/types/rating';
|
|
2
|
+
import * as i2 from '@angular/common';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { Injectable, InjectionToken, forwardRef, inject, input, booleanAttribute, numberAttribute, output, contentChild, contentChildren, signal, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
+
import { uuid, getFirstFocusableElement, focus } from '@gravionlabs/helix-core/uix/utils';
|
|
8
|
+
import { HelixTemplate, SharedModule } from '@gravionlabs/helix-core/api';
|
|
9
|
+
import { AutoFocus } from '@gravionlabs/helix-core/autofocus';
|
|
10
|
+
import { PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
|
|
11
|
+
import { BaseEditableHolder } from '@gravionlabs/helix-core/baseeditableholder';
|
|
12
|
+
import * as i1 from '@gravionlabs/helix-core/bind';
|
|
13
|
+
import { Bind, BindModule } from '@gravionlabs/helix-core/bind';
|
|
14
|
+
import { StarFillIcon, StarIcon } from '@gravionlabs/helix-core/icons';
|
|
15
|
+
import { BaseStyle } from '@gravionlabs/helix-core/base';
|
|
16
|
+
|
|
17
|
+
const style$1 = /*css*/ `
|
|
18
|
+
.h-rating {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: dt('rating.gap');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.h-rating-option {
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
outline-color: transparent;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
transition:
|
|
32
|
+
background dt('rating.transition.duration'),
|
|
33
|
+
color dt('rating.transition.duration'),
|
|
34
|
+
border-color dt('rating.transition.duration'),
|
|
35
|
+
outline-color dt('rating.transition.duration'),
|
|
36
|
+
box-shadow dt('rating.transition.duration');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.h-rating-option.h-focus-visible {
|
|
40
|
+
box-shadow: dt('rating.focus.ring.shadow');
|
|
41
|
+
outline: dt('rating.focus.ring.width') dt('rating.focus.ring.style') dt('rating.focus.ring.color');
|
|
42
|
+
outline-offset: dt('rating.focus.ring.offset');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.h-rating-icon {
|
|
46
|
+
color: dt('rating.icon.color');
|
|
47
|
+
transition:
|
|
48
|
+
background dt('rating.transition.duration'),
|
|
49
|
+
color dt('rating.transition.duration'),
|
|
50
|
+
border-color dt('rating.transition.duration'),
|
|
51
|
+
outline-color dt('rating.transition.duration'),
|
|
52
|
+
box-shadow dt('rating.transition.duration');
|
|
53
|
+
font-size: dt('rating.icon.size');
|
|
54
|
+
width: dt('rating.icon.size');
|
|
55
|
+
height: dt('rating.icon.size');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.h-rating:not(.h-disabled):not(.h-readonly) .h-rating-option:hover .h-rating-icon {
|
|
59
|
+
color: dt('rating.icon.hover.color');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.h-rating-option-active .h-rating-icon {
|
|
63
|
+
color: dt('rating.icon.active.color');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.h-rating-icon.h-invalid {
|
|
67
|
+
/* @todo */
|
|
68
|
+
stroke: dt('rating.invalid.icon.color');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.h-rating.h-readonly .h-rating-option {
|
|
72
|
+
cursor: not-allowed;
|
|
73
|
+
}
|
|
74
|
+
`;
|
|
75
|
+
|
|
76
|
+
const style = /*css*/ `
|
|
77
|
+
${style$1}
|
|
78
|
+
|
|
79
|
+
/* For Helix */
|
|
80
|
+
h-rating.ng-invalid.ng-dirty > .h-rating > .h-rating-icon {
|
|
81
|
+
stroke: dt('rating.invalid.icon.color');
|
|
82
|
+
}
|
|
83
|
+
`;
|
|
84
|
+
const classes = {
|
|
85
|
+
root: ({ instance }) => [
|
|
86
|
+
'h-rating',
|
|
87
|
+
{
|
|
88
|
+
'h-readonly': instance.readonly(),
|
|
89
|
+
'h-disabled': instance.$disabled()
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
option: ({ instance, star, value }) => [
|
|
93
|
+
'h-rating-option',
|
|
94
|
+
{
|
|
95
|
+
'h-rating-option-active': star + 1 <= value,
|
|
96
|
+
'h-focus-visible': star + 1 === instance.focusedOptionIndex() && instance.isFocusVisibleItem
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
onIcon: ({ instance }) => ['h-rating-icon h-rating-on-icon', { 'h-invalid': instance.invalid() }],
|
|
100
|
+
offIcon: ({ instance }) => ['h-rating-icon h-rating-off-icon', { 'h-invalid': instance.invalid() }]
|
|
101
|
+
};
|
|
102
|
+
class RatingStyle extends BaseStyle {
|
|
103
|
+
name = 'rating';
|
|
104
|
+
style = style;
|
|
105
|
+
classes = classes;
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
107
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingStyle });
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingStyle, decorators: [{
|
|
110
|
+
type: Injectable
|
|
111
|
+
}] });
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* Rating component is a star based selection input.
|
|
115
|
+
*
|
|
116
|
+
* [Live Demo](https://www.primeng.org/rating/)
|
|
117
|
+
*
|
|
118
|
+
* @module ratingstyle
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
var RatingClasses;
|
|
122
|
+
(function (RatingClasses) {
|
|
123
|
+
/**
|
|
124
|
+
* Class name of the root element
|
|
125
|
+
*/
|
|
126
|
+
RatingClasses["root"] = "h-rating";
|
|
127
|
+
/**
|
|
128
|
+
* Class name of the option element
|
|
129
|
+
*/
|
|
130
|
+
RatingClasses["option"] = "h-rating-option";
|
|
131
|
+
/**
|
|
132
|
+
* Class name of the on icon element
|
|
133
|
+
*/
|
|
134
|
+
RatingClasses["onIcon"] = "h-rating-on-icon";
|
|
135
|
+
/**
|
|
136
|
+
* Class name of the off icon element
|
|
137
|
+
*/
|
|
138
|
+
RatingClasses["offIcon"] = "h-rating-off-icon";
|
|
139
|
+
})(RatingClasses || (RatingClasses = {}));
|
|
140
|
+
|
|
141
|
+
const RATING_INSTANCE = new InjectionToken('RATING_INSTANCE');
|
|
142
|
+
const RATING_VALUE_ACCESSOR = {
|
|
143
|
+
provide: NG_VALUE_ACCESSOR,
|
|
144
|
+
useExisting: forwardRef(() => Rating),
|
|
145
|
+
multi: true
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Rating is an extension to standard radio button element with theming.
|
|
149
|
+
* @group Components
|
|
150
|
+
*/
|
|
151
|
+
class Rating extends BaseEditableHolder {
|
|
152
|
+
componentName = 'Rating';
|
|
153
|
+
$pcRating = inject(RATING_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
154
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
155
|
+
onAfterViewChecked() {
|
|
156
|
+
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* When present, changing the value is not possible.
|
|
160
|
+
* @group Props
|
|
161
|
+
*/
|
|
162
|
+
readonly = input(undefined, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
163
|
+
/**
|
|
164
|
+
* Number of stars.
|
|
165
|
+
* @group Props
|
|
166
|
+
*/
|
|
167
|
+
stars = input(5, { ...(ngDevMode ? { debugName: "stars" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
168
|
+
/**
|
|
169
|
+
* Style class of the on icon.
|
|
170
|
+
* @group Props
|
|
171
|
+
*/
|
|
172
|
+
iconOnClass = input(/* @ts-ignore */
|
|
173
|
+
...(ngDevMode ? [undefined, { debugName: "iconOnClass" }] : /* istanbul ignore next */ []));
|
|
174
|
+
/**
|
|
175
|
+
* Inline style of the on icon.
|
|
176
|
+
* @group Props
|
|
177
|
+
*/
|
|
178
|
+
iconOnStyle = input(/* @ts-ignore */
|
|
179
|
+
...(ngDevMode ? [undefined, { debugName: "iconOnStyle" }] : /* istanbul ignore next */ []));
|
|
180
|
+
/**
|
|
181
|
+
* Style class of the off icon.
|
|
182
|
+
* @group Props
|
|
183
|
+
*/
|
|
184
|
+
iconOffClass = input(/* @ts-ignore */
|
|
185
|
+
...(ngDevMode ? [undefined, { debugName: "iconOffClass" }] : /* istanbul ignore next */ []));
|
|
186
|
+
/**
|
|
187
|
+
* Inline style of the off icon.
|
|
188
|
+
* @group Props
|
|
189
|
+
*/
|
|
190
|
+
iconOffStyle = input(/* @ts-ignore */
|
|
191
|
+
...(ngDevMode ? [undefined, { debugName: "iconOffStyle" }] : /* istanbul ignore next */ []));
|
|
192
|
+
/**
|
|
193
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
194
|
+
* @group Props
|
|
195
|
+
*/
|
|
196
|
+
autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
197
|
+
/**
|
|
198
|
+
* Emitted on value change.
|
|
199
|
+
* @param {RatingRateEvent} value - Custom rate event.
|
|
200
|
+
* @group Emits
|
|
201
|
+
*/
|
|
202
|
+
onRate = output();
|
|
203
|
+
/**
|
|
204
|
+
* Emitted when the rating receives focus.
|
|
205
|
+
* @param {Event} value - Browser event.
|
|
206
|
+
* @group Emits
|
|
207
|
+
*/
|
|
208
|
+
onFocus = output();
|
|
209
|
+
/**
|
|
210
|
+
* Emitted when the rating loses focus.
|
|
211
|
+
* @param {Event} value - Browser event.
|
|
212
|
+
* @group Emits
|
|
213
|
+
*/
|
|
214
|
+
onBlur = output();
|
|
215
|
+
/**
|
|
216
|
+
* Custom on icon template.
|
|
217
|
+
* @param {RatingIconTemplateContext} context - icon context.
|
|
218
|
+
* @see {@link RatingIconTemplateContext}
|
|
219
|
+
* @group Templates
|
|
220
|
+
*/
|
|
221
|
+
onIconTemplate = contentChild('onicon', { ...(ngDevMode ? { debugName: "onIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
222
|
+
/**
|
|
223
|
+
* Custom off icon template.
|
|
224
|
+
* @param {RatingIconTemplateContext} context - icon context.
|
|
225
|
+
* @see {@link RatingIconTemplateContext}
|
|
226
|
+
* @group Templates
|
|
227
|
+
*/
|
|
228
|
+
offIconTemplate = contentChild('officon', { ...(ngDevMode ? { debugName: "offIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
229
|
+
templates = contentChildren(HelixTemplate, /* @ts-ignore */
|
|
230
|
+
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
231
|
+
value;
|
|
232
|
+
starsArray;
|
|
233
|
+
isFocusVisibleItem = true;
|
|
234
|
+
focusedOptionIndex = signal(-1, /* @ts-ignore */
|
|
235
|
+
...(ngDevMode ? [{ debugName: "focusedOptionIndex" }] : /* istanbul ignore next */ []));
|
|
236
|
+
nameattr;
|
|
237
|
+
_componentStyle = inject(RatingStyle);
|
|
238
|
+
_onIconTemplate;
|
|
239
|
+
_offIconTemplate;
|
|
240
|
+
onInit() {
|
|
241
|
+
this.nameattr = this.nameattr || uuid('pn_id_');
|
|
242
|
+
this.starsArray = [];
|
|
243
|
+
for (let i = 0; i < this.stars(); i++) {
|
|
244
|
+
this.starsArray[i] = i;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
onAfterContentInit() {
|
|
248
|
+
this.templates().forEach((item) => {
|
|
249
|
+
switch (item.getType()) {
|
|
250
|
+
case 'onicon':
|
|
251
|
+
this._onIconTemplate = item.template;
|
|
252
|
+
break;
|
|
253
|
+
case 'officon':
|
|
254
|
+
this._offIconTemplate = item.template;
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
onOptionClick(event, value) {
|
|
260
|
+
if (!this.readonly() && !this.$disabled()) {
|
|
261
|
+
this.onOptionSelect(event, value);
|
|
262
|
+
this.isFocusVisibleItem = false;
|
|
263
|
+
const firstFocusableEl = getFirstFocusableElement(event.currentTarget, '');
|
|
264
|
+
firstFocusableEl && focus(firstFocusableEl);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
onOptionSelect(event, value) {
|
|
268
|
+
if (!this.readonly() && !this.$disabled()) {
|
|
269
|
+
if (this.focusedOptionIndex() === value || value === this.value) {
|
|
270
|
+
this.focusedOptionIndex.set(-1);
|
|
271
|
+
this.updateModel(event, null);
|
|
272
|
+
}
|
|
273
|
+
else {
|
|
274
|
+
this.focusedOptionIndex.set(value);
|
|
275
|
+
this.updateModel(event, value || null);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
onChange(event, value) {
|
|
280
|
+
this.onOptionSelect(event, value);
|
|
281
|
+
this.isFocusVisibleItem = true;
|
|
282
|
+
}
|
|
283
|
+
onInputBlur(event) {
|
|
284
|
+
this.focusedOptionIndex.set(-1);
|
|
285
|
+
this.onBlur.emit(event);
|
|
286
|
+
}
|
|
287
|
+
onInputFocus(event, value) {
|
|
288
|
+
if (!this.readonly() && !this.$disabled()) {
|
|
289
|
+
this.focusedOptionIndex.set(value);
|
|
290
|
+
this.isFocusVisibleItem = event.sourceCapabilities?.firesTouchEvents === false;
|
|
291
|
+
this.onFocus.emit(event);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
updateModel(event, value) {
|
|
295
|
+
this.writeValue(value);
|
|
296
|
+
this.onModelChange(this.value);
|
|
297
|
+
this.onModelTouched();
|
|
298
|
+
this.onRate.emit({
|
|
299
|
+
originalEvent: event,
|
|
300
|
+
value
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
starAriaLabel(value) {
|
|
304
|
+
return value === 1 ? this.config.translation.aria?.star : this.config.translation.aria?.stars?.replace(/{star}/g, value);
|
|
305
|
+
}
|
|
306
|
+
getIconTemplate(i) {
|
|
307
|
+
return !this.value || i >= this.value ? this.offIconTemplate() || this._offIconTemplate : this.onIconTemplate() || this.offIconTemplate();
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* @override
|
|
311
|
+
*
|
|
312
|
+
* @see {@link BaseEditableHolder.writeControlValue}
|
|
313
|
+
* Writes the value to the control.
|
|
314
|
+
*/
|
|
315
|
+
writeControlValue(value, setModelValue) {
|
|
316
|
+
this.value = value;
|
|
317
|
+
setModelValue(value);
|
|
318
|
+
}
|
|
319
|
+
get isCustomIcon() {
|
|
320
|
+
return !!(this.onIconTemplate || this._onIconTemplate || this.offIconTemplate || this._offIconTemplate);
|
|
321
|
+
}
|
|
322
|
+
get dataP() {
|
|
323
|
+
return this.cn({
|
|
324
|
+
readonly: this.readonly(),
|
|
325
|
+
disabled: this.$disabled()
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Rating, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
329
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Rating, isStandalone: true, selector: "h-rating", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, stars: { classPropertyName: "stars", publicName: "stars", isSignal: true, isRequired: false, transformFunction: null }, iconOnClass: { classPropertyName: "iconOnClass", publicName: "iconOnClass", isSignal: true, isRequired: false, transformFunction: null }, iconOnStyle: { classPropertyName: "iconOnStyle", publicName: "iconOnStyle", isSignal: true, isRequired: false, transformFunction: null }, iconOffClass: { classPropertyName: "iconOffClass", publicName: "iconOffClass", isSignal: true, isRequired: false, transformFunction: null }, iconOffStyle: { classPropertyName: "iconOffStyle", publicName: "iconOffStyle", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onRate: "onRate", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cx('root')", "attr.data-h": "dataP" } }, providers: [RATING_VALUE_ACCESSOR, RatingStyle, { provide: RATING_INSTANCE, useExisting: Rating }, { provide: PARENT_INSTANCE, useExisting: Rating }], queries: [{ propertyName: "onIconTemplate", first: true, predicate: ["onicon"], isSignal: true }, { propertyName: "offIconTemplate", first: true, predicate: ["officon"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@for (star of starsArray; track star; let i = $index) {\n <div [class]=\"cx('option', { star, value })\" (click)=\"onOptionClick($event, star + 1)\" [hBind]=\"ptm('option')\">\n <span class=\"h-hidden-accessible\" [attr.data-h-hidden-accessible]=\"true\" [hBind]=\"ptm('hiddenOptionInputContainer')\">\n <input\n type=\"radio\"\n [value]=\"star + 1\"\n [attr.name]=\"name() || nameattr + '_name'\"\n [attr.value]=\"modelValue()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.readonly]=\"readonly() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [checked]=\"value === star + 1\"\n [attr.aria-label]=\"starAriaLabel(star + 1)\"\n (focus)=\"onInputFocus($event, star + 1)\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onChange($event, star + 1)\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('hiddenOptionInput')\"\n />\n </span>\n @if (star + 1 <= value) {\n @if (onIconTemplate() || _onIconTemplate) {\n <ng-container *ngTemplateOutlet=\"onIconTemplate() || _onIconTemplate; context: { $implicit: star + 1, class: cx('onIcon') }\"></ng-container>\n } @else {\n @if (iconOnClass()) {\n <span [class]=\"cx('onIcon')\" [ngStyle]=\"iconOnStyle()\" [ngClass]=\"iconOnClass()\" [hBind]=\"ptm('onIcon')\"></span>\n }\n @if (!iconOnClass()) {\n <svg data-h-icon=\"star-fill\" [ngStyle]=\"iconOnStyle()\" [class]=\"cx('onIcon')\" [hBind]=\"ptm('onIcon')\" />\n }\n }\n } @else {\n @if (offIconTemplate() || _offIconTemplate) {\n <ng-container *ngTemplateOutlet=\"offIconTemplate() || _offIconTemplate; context: { $implicit: star + 1, class: cx('offIcon') }\"></ng-container>\n } @else {\n @if (iconOffClass()) {\n <span [class]=\"cx('offIcon')\" [ngStyle]=\"iconOffStyle()\" [ngClass]=\"iconOffClass()\" [hBind]=\"ptm('offIcon')\"></span>\n }\n @if (!iconOffClass()) {\n <svg data-h-icon=\"star\" [ngStyle]=\"iconOffStyle()\" [class]=\"cx('offIcon')\" [hBind]=\"ptm('offIcon')\" />\n }\n }\n }\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: AutoFocus, selector: "[hAutoFocus]", inputs: ["hAutoFocus"] }, { kind: "component", type: StarFillIcon, selector: "[data-h-icon=\"star-fill\"]" }, { kind: "component", type: StarIcon, selector: "[data-h-icon=\"star\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
330
|
+
}
|
|
331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Rating, decorators: [{
|
|
332
|
+
type: Component,
|
|
333
|
+
args: [{ selector: 'h-rating', imports: [CommonModule, AutoFocus, StarFillIcon, StarIcon, SharedModule, BindModule], standalone: true, providers: [RATING_VALUE_ACCESSOR, RatingStyle, { provide: RATING_INSTANCE, useExisting: Rating }, { provide: PARENT_INSTANCE, useExisting: Rating }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
334
|
+
'[class]': "cx('root')",
|
|
335
|
+
'[attr.data-h]': 'dataP'
|
|
336
|
+
}, hostDirectives: [Bind], template: "@for (star of starsArray; track star; let i = $index) {\n <div [class]=\"cx('option', { star, value })\" (click)=\"onOptionClick($event, star + 1)\" [hBind]=\"ptm('option')\">\n <span class=\"h-hidden-accessible\" [attr.data-h-hidden-accessible]=\"true\" [hBind]=\"ptm('hiddenOptionInputContainer')\">\n <input\n type=\"radio\"\n [value]=\"star + 1\"\n [attr.name]=\"name() || nameattr + '_name'\"\n [attr.value]=\"modelValue()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.readonly]=\"readonly() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [checked]=\"value === star + 1\"\n [attr.aria-label]=\"starAriaLabel(star + 1)\"\n (focus)=\"onInputFocus($event, star + 1)\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onChange($event, star + 1)\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('hiddenOptionInput')\"\n />\n </span>\n @if (star + 1 <= value) {\n @if (onIconTemplate() || _onIconTemplate) {\n <ng-container *ngTemplateOutlet=\"onIconTemplate() || _onIconTemplate; context: { $implicit: star + 1, class: cx('onIcon') }\"></ng-container>\n } @else {\n @if (iconOnClass()) {\n <span [class]=\"cx('onIcon')\" [ngStyle]=\"iconOnStyle()\" [ngClass]=\"iconOnClass()\" [hBind]=\"ptm('onIcon')\"></span>\n }\n @if (!iconOnClass()) {\n <svg data-h-icon=\"star-fill\" [ngStyle]=\"iconOnStyle()\" [class]=\"cx('onIcon')\" [hBind]=\"ptm('onIcon')\" />\n }\n }\n } @else {\n @if (offIconTemplate() || _offIconTemplate) {\n <ng-container *ngTemplateOutlet=\"offIconTemplate() || _offIconTemplate; context: { $implicit: star + 1, class: cx('offIcon') }\"></ng-container>\n } @else {\n @if (iconOffClass()) {\n <span [class]=\"cx('offIcon')\" [ngStyle]=\"iconOffStyle()\" [ngClass]=\"iconOffClass()\" [hBind]=\"ptm('offIcon')\"></span>\n }\n @if (!iconOffClass()) {\n <svg data-h-icon=\"star\" [ngStyle]=\"iconOffStyle()\" [class]=\"cx('offIcon')\" [hBind]=\"ptm('offIcon')\" />\n }\n }\n }\n </div>\n}\n" }]
|
|
337
|
+
}], propDecorators: { readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], stars: [{ type: i0.Input, args: [{ isSignal: true, alias: "stars", required: false }] }], iconOnClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnClass", required: false }] }], iconOnStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnStyle", required: false }] }], iconOffClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOffClass", required: false }] }], iconOffStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOffStyle", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], onRate: [{ type: i0.Output, args: ["onRate"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onIconTemplate: [{ type: i0.ContentChild, args: ['onicon', { ...{ descendants: false }, isSignal: true }] }], offIconTemplate: [{ type: i0.ContentChild, args: ['officon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }] }] } });
|
|
338
|
+
class RatingModule {
|
|
339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
340
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: RatingModule, imports: [Rating, SharedModule], exports: [Rating, SharedModule] });
|
|
341
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingModule, imports: [Rating, SharedModule, SharedModule] });
|
|
342
|
+
}
|
|
343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RatingModule, decorators: [{
|
|
344
|
+
type: NgModule,
|
|
345
|
+
args: [{
|
|
346
|
+
imports: [Rating, SharedModule],
|
|
347
|
+
exports: [Rating, SharedModule]
|
|
348
|
+
}]
|
|
349
|
+
}] });
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Generated bundle index. Do not edit.
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
export { RATING_VALUE_ACCESSOR, Rating, RatingClasses, RatingModule, RatingStyle };
|
|
356
|
+
//# sourceMappingURL=gravionlabs-helix-core-rating.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gravionlabs-helix-core-rating.mjs","sources":["../../../projects/core/rating/style/rating.css.ts","../../../projects/core/rating/style/ratingstyle.ts","../../../projects/core/rating/rating.ts","../../../projects/core/rating/rating.html","../../../projects/core/rating/gravionlabs-helix-core-rating.ts"],"sourcesContent":["export const style = /*css*/ `\n .h-rating {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: dt('rating.gap');\n }\n\n .h-rating-option {\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n outline-color: transparent;\n border-radius: 50%;\n transition:\n background dt('rating.transition.duration'),\n color dt('rating.transition.duration'),\n border-color dt('rating.transition.duration'),\n outline-color dt('rating.transition.duration'),\n box-shadow dt('rating.transition.duration');\n }\n\n .h-rating-option.h-focus-visible {\n box-shadow: dt('rating.focus.ring.shadow');\n outline: dt('rating.focus.ring.width') dt('rating.focus.ring.style') dt('rating.focus.ring.color');\n outline-offset: dt('rating.focus.ring.offset');\n }\n\n .h-rating-icon {\n color: dt('rating.icon.color');\n transition:\n background dt('rating.transition.duration'),\n color dt('rating.transition.duration'),\n border-color dt('rating.transition.duration'),\n outline-color dt('rating.transition.duration'),\n box-shadow dt('rating.transition.duration');\n font-size: dt('rating.icon.size');\n width: dt('rating.icon.size');\n height: dt('rating.icon.size');\n }\n\n .h-rating:not(.h-disabled):not(.h-readonly) .h-rating-option:hover .h-rating-icon {\n color: dt('rating.icon.hover.color');\n }\n\n .h-rating-option-active .h-rating-icon {\n color: dt('rating.icon.active.color');\n }\n\n .h-rating-icon.h-invalid {\n /* @todo */\n stroke: dt('rating.invalid.icon.color');\n }\n\n .h-rating.h-readonly .h-rating-option {\n cursor: not-allowed;\n }\n`;\n","import { Injectable } from '@angular/core';\nimport { style as rating_style } from './rating.css';\nimport { BaseStyle } from '@gravionlabs/helix-core/base';\n\nconst style = /*css*/ `\n ${rating_style}\n\n /* For Helix */\n h-rating.ng-invalid.ng-dirty > .h-rating > .h-rating-icon {\n stroke: dt('rating.invalid.icon.color');\n }\n`;\n\nconst classes = {\n root: ({ instance }) => [\n 'h-rating',\n {\n 'h-readonly': instance.readonly(),\n 'h-disabled': instance.$disabled()\n }\n ],\n option: ({ instance, star, value }) => [\n 'h-rating-option',\n\n {\n 'h-rating-option-active': star + 1 <= value,\n 'h-focus-visible': star + 1 === instance.focusedOptionIndex() && instance.isFocusVisibleItem\n }\n ],\n onIcon: ({ instance }) => ['h-rating-icon h-rating-on-icon', { 'h-invalid': instance.invalid() }],\n offIcon: ({ instance }) => ['h-rating-icon h-rating-off-icon', { 'h-invalid': instance.invalid() }]\n};\n\n@Injectable()\nexport class RatingStyle extends BaseStyle {\n name = 'rating';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Rating component is a star based selection input.\n *\n * [Live Demo](https://www.primeng.org/rating/)\n *\n * @module ratingstyle\n *\n */\nexport enum RatingClasses {\n /**\n * Class name of the root element\n */\n root = 'h-rating',\n /**\n * Class name of the option element\n */\n option = 'h-rating-option',\n /**\n * Class name of the on icon element\n */\n onIcon = 'h-rating-on-icon',\n /**\n * Class name of the off icon element\n */\n offIcon = 'h-rating-off-icon'\n}\n\nexport interface RatingStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, forwardRef, inject, InjectionToken, Input, NgModule, numberAttribute, signal, TemplateRef, ViewEncapsulation, input, output, contentChildren, contentChild } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { focus, getFirstFocusableElement, uuid } from '@gravionlabs/helix-core/uix/utils';\nimport { HelixTemplate, SharedModule } from '@gravionlabs/helix-core/api';\nimport { AutoFocus } from '@gravionlabs/helix-core/autofocus';\nimport { PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';\nimport { BaseEditableHolder } from '@gravionlabs/helix-core/baseeditableholder';\nimport { Bind } from '@gravionlabs/helix-core/bind';\nimport { BindModule } from '@gravionlabs/helix-core/bind';\nimport { StarFillIcon, StarIcon } from '@gravionlabs/helix-core/icons';\nimport { Nullable } from '@gravionlabs/helix-core/ts-helpers';\nimport { RatingIconTemplateContext, RatingPassThrough } from '@gravionlabs/helix-core/types/rating';\nimport type { RatingRateEvent } from '@gravionlabs/helix-core/types/rating';\nimport { RatingStyle } from './style/ratingstyle';\n\nconst RATING_INSTANCE = new InjectionToken<Rating>('RATING_INSTANCE');\n\nexport const RATING_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Rating),\n multi: true\n};\n/**\n * Rating is an extension to standard radio button element with theming.\n * @group Components\n */\n@Component({\n selector: 'h-rating',\n imports: [CommonModule, AutoFocus, StarFillIcon, StarIcon, SharedModule, BindModule],\n standalone: true,\n templateUrl: './rating.html',\n providers: [RATING_VALUE_ACCESSOR, RatingStyle, { provide: RATING_INSTANCE, useExisting: Rating }, { provide: PARENT_INSTANCE, useExisting: Rating }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': \"cx('root')\",\n '[attr.data-h]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Rating extends BaseEditableHolder<RatingPassThrough> {\n componentName = 'Rating';\n\n $pcRating: Rating | undefined = inject(RATING_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n /**\n * When present, changing the value is not possible.\n * @group Props\n */\n readonly readonly = input<boolean, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Number of stars.\n * @group Props\n */\n readonly stars = input<number, unknown>(5, { transform: numberAttribute });\n /**\n * Style class of the on icon.\n * @group Props\n */\n readonly iconOnClass = input<string>();\n /**\n * Inline style of the on icon.\n * @group Props\n */\n readonly iconOnStyle = input<{\n [klass: string]: any;\n} | null>();\n /**\n * Style class of the off icon.\n * @group Props\n */\n readonly iconOffClass = input<string>();\n /**\n * Inline style of the off icon.\n * @group Props\n */\n readonly iconOffStyle = input<{\n [klass: string]: any;\n} | null>();\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n readonly autofocus = input<boolean, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Emitted on value change.\n * @param {RatingRateEvent} value - Custom rate event.\n * @group Emits\n */\n readonly onRate = output<RatingRateEvent>();\n /**\n * Emitted when the rating receives focus.\n * @param {Event} value - Browser event.\n * @group Emits\n */\n readonly onFocus = output<FocusEvent>();\n /**\n * Emitted when the rating loses focus.\n * @param {Event} value - Browser event.\n * @group Emits\n */\n readonly onBlur = output<FocusEvent>();\n /**\n * Custom on icon template.\n * @param {RatingIconTemplateContext} context - icon context.\n * @see {@link RatingIconTemplateContext}\n * @group Templates\n */\n readonly onIconTemplate = contentChild<Nullable<TemplateRef<RatingIconTemplateContext>>>('onicon', { descendants: false });\n /**\n * Custom off icon template.\n * @param {RatingIconTemplateContext} context - icon context.\n * @see {@link RatingIconTemplateContext}\n * @group Templates\n */\n readonly offIconTemplate = contentChild<Nullable<TemplateRef<RatingIconTemplateContext>>>('officon', { descendants: false });\n\n readonly templates = contentChildren(HelixTemplate);\n\n value: Nullable<number>;\n\n public starsArray: Nullable<number[]>;\n\n isFocusVisibleItem: boolean = true;\n\n focusedOptionIndex = signal<number>(-1);\n\n nameattr: string | undefined;\n\n _componentStyle = inject(RatingStyle);\n\n _onIconTemplate: TemplateRef<RatingIconTemplateContext> | undefined;\n\n _offIconTemplate: TemplateRef<RatingIconTemplateContext> | undefined;\n\n onInit() {\n this.nameattr = this.nameattr || uuid('pn_id_');\n this.starsArray = [];\n for (let i = 0; i < this.stars(); i++) {\n this.starsArray[i] = i;\n }\n }\n\n onAfterContentInit() {\n this.templates().forEach((item) => {\n switch (item.getType()) {\n case 'onicon':\n this._onIconTemplate = item.template;\n break;\n\n case 'officon':\n this._offIconTemplate = item.template;\n break;\n }\n });\n }\n\n onOptionClick(event, value) {\n if (!this.readonly() && !this.$disabled()) {\n this.onOptionSelect(event, value);\n this.isFocusVisibleItem = false;\n const firstFocusableEl = <any>getFirstFocusableElement(event.currentTarget, '');\n\n firstFocusableEl && focus(firstFocusableEl);\n }\n }\n\n onOptionSelect(event, value) {\n if (!this.readonly() && !this.$disabled()) {\n if (this.focusedOptionIndex() === value || value === this.value) {\n this.focusedOptionIndex.set(-1);\n this.updateModel(event, null);\n } else {\n this.focusedOptionIndex.set(value);\n this.updateModel(event, value || null);\n }\n }\n }\n\n onChange(event, value) {\n this.onOptionSelect(event, value);\n this.isFocusVisibleItem = true;\n }\n\n onInputBlur(event) {\n this.focusedOptionIndex.set(-1);\n this.onBlur.emit(event);\n }\n\n onInputFocus(event, value) {\n if (!this.readonly() && !this.$disabled()) {\n this.focusedOptionIndex.set(value);\n this.isFocusVisibleItem = event.sourceCapabilities?.firesTouchEvents === false;\n\n this.onFocus.emit(event);\n }\n }\n\n updateModel(event, value) {\n this.writeValue(value);\n this.onModelChange(this.value);\n this.onModelTouched();\n\n this.onRate.emit({\n originalEvent: event,\n value\n });\n }\n\n starAriaLabel(value) {\n return value === 1 ? this.config.translation.aria?.star : this.config.translation.aria?.stars?.replace(/{star}/g, value);\n }\n\n getIconTemplate(i: number): Nullable<TemplateRef<RatingIconTemplateContext>> {\n return !this.value || i >= this.value ? this.offIconTemplate() || this._offIconTemplate : this.onIconTemplate() || this.offIconTemplate();\n }\n\n /**\n * @override\n *\n * @see {@link BaseEditableHolder.writeControlValue}\n * Writes the value to the control.\n */\n writeControlValue(value: any, setModelValue: (value: any) => void): void {\n this.value = value;\n setModelValue(value);\n }\n\n get isCustomIcon(): boolean {\n return !!(this.onIconTemplate || this._onIconTemplate || this.offIconTemplate || this._offIconTemplate);\n }\n\n get dataP() {\n return this.cn({\n readonly: this.readonly(),\n disabled: this.$disabled()\n });\n }\n}\n\n@NgModule({\n imports: [Rating, SharedModule],\n exports: [Rating, SharedModule]\n})\nexport class RatingModule {}\n","@for (star of starsArray; track star; let i = $index) {\n <div [class]=\"cx('option', { star, value })\" (click)=\"onOptionClick($event, star + 1)\" [hBind]=\"ptm('option')\">\n <span class=\"h-hidden-accessible\" [attr.data-h-hidden-accessible]=\"true\" [hBind]=\"ptm('hiddenOptionInputContainer')\">\n <input\n type=\"radio\"\n [value]=\"star + 1\"\n [attr.name]=\"name() || nameattr + '_name'\"\n [attr.value]=\"modelValue()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.readonly]=\"readonly() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [checked]=\"value === star + 1\"\n [attr.aria-label]=\"starAriaLabel(star + 1)\"\n (focus)=\"onInputFocus($event, star + 1)\"\n (blur)=\"onInputBlur($event)\"\n (change)=\"onChange($event, star + 1)\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('hiddenOptionInput')\"\n />\n </span>\n @if (star + 1 <= value) {\n @if (onIconTemplate() || _onIconTemplate) {\n <ng-container *ngTemplateOutlet=\"onIconTemplate() || _onIconTemplate; context: { $implicit: star + 1, class: cx('onIcon') }\"></ng-container>\n } @else {\n @if (iconOnClass()) {\n <span [class]=\"cx('onIcon')\" [ngStyle]=\"iconOnStyle()\" [ngClass]=\"iconOnClass()\" [hBind]=\"ptm('onIcon')\"></span>\n }\n @if (!iconOnClass()) {\n <svg data-h-icon=\"star-fill\" [ngStyle]=\"iconOnStyle()\" [class]=\"cx('onIcon')\" [hBind]=\"ptm('onIcon')\" />\n }\n }\n } @else {\n @if (offIconTemplate() || _offIconTemplate) {\n <ng-container *ngTemplateOutlet=\"offIconTemplate() || _offIconTemplate; context: { $implicit: star + 1, class: cx('offIcon') }\"></ng-container>\n } @else {\n @if (iconOffClass()) {\n <span [class]=\"cx('offIcon')\" [ngStyle]=\"iconOffStyle()\" [ngClass]=\"iconOffClass()\" [hBind]=\"ptm('offIcon')\"></span>\n }\n @if (!iconOffClass()) {\n <svg data-h-icon=\"star\" [ngStyle]=\"iconOffStyle()\" [class]=\"cx('offIcon')\" [hBind]=\"ptm('offIcon')\" />\n }\n }\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["style","rating_style"],"mappings":";;;;;;;;;;;;;;;;AAAO,MAAMA,OAAK,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyD5B;;ACrDD,MAAM,KAAK,WAAW;MAChBC,OAAY;;;;;;CAMjB;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,UAAU;AACV,QAAA;AACI,YAAA,YAAY,EAAE,QAAQ,CAAC,QAAQ,EAAE;AACjC,YAAA,YAAY,EAAE,QAAQ,CAAC,SAAS;AACnC;AACJ,KAAA;IACD,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK;QACnC,iBAAiB;AAEjB,QAAA;AACI,YAAA,wBAAwB,EAAE,IAAI,GAAG,CAAC,IAAI,KAAK;AAC3C,YAAA,iBAAiB,EAAE,IAAI,GAAG,CAAC,KAAK,QAAQ,CAAC,kBAAkB,EAAE,IAAI,QAAQ,CAAC;AAC7E;AACJ,KAAA;AACD,IAAA,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,gCAAgC,EAA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C,MAAM,EAAE,YAAY,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,YAAY;AACjC,iBAAA;;;AE1PD;;AAEG;;"}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { isPlatformBrowser } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable, inject, NgZone, effect, Directive, NgModule } from '@angular/core';
|
|
4
|
+
import { removeClass, getHeight, getWidth, getOuterWidth, getOuterHeight, getOffset, addClass, remove } from '@gravionlabs/helix-core/uix/utils';
|
|
5
|
+
import { BaseComponent } from '@gravionlabs/helix-core/basecomponent';
|
|
6
|
+
import { BaseStyle } from '@gravionlabs/helix-core/base';
|
|
7
|
+
|
|
8
|
+
const style$1 = /*css*/ `
|
|
9
|
+
.h-ink {
|
|
10
|
+
display: block;
|
|
11
|
+
position: absolute;
|
|
12
|
+
background: dt('ripple.background');
|
|
13
|
+
border-radius: 100%;
|
|
14
|
+
transform: scale(0);
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.h-ink-active {
|
|
19
|
+
animation: ripple 0.4s linear;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@keyframes ripple {
|
|
23
|
+
100% {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: scale(2.5);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
const style = /*css*/ `
|
|
31
|
+
${style$1}
|
|
32
|
+
|
|
33
|
+
/* For Helix */
|
|
34
|
+
.h-ripple {
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.h-ripple-disabled .h-ink {
|
|
40
|
+
display: none !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes ripple {
|
|
44
|
+
100% {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: scale(2.5);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
50
|
+
const classes = {
|
|
51
|
+
root: 'h-ink'
|
|
52
|
+
};
|
|
53
|
+
class RippleStyle extends BaseStyle {
|
|
54
|
+
name = 'ripple';
|
|
55
|
+
style = style;
|
|
56
|
+
classes = classes;
|
|
57
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
58
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleStyle });
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleStyle, decorators: [{
|
|
61
|
+
type: Injectable
|
|
62
|
+
}] });
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* Ripple directive adds ripple effect to the host element.
|
|
66
|
+
*
|
|
67
|
+
* [Live Demo](https://www.primeng.org/ripple)
|
|
68
|
+
*
|
|
69
|
+
* @module ripplestyle
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var RippleClasses;
|
|
73
|
+
(function (RippleClasses) {
|
|
74
|
+
/**
|
|
75
|
+
* Class name of the root element
|
|
76
|
+
*/
|
|
77
|
+
RippleClasses["root"] = "h-ink";
|
|
78
|
+
})(RippleClasses || (RippleClasses = {}));
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Ripple directive adds ripple effect to the host element.
|
|
82
|
+
* @group Components
|
|
83
|
+
*/
|
|
84
|
+
class Ripple extends BaseComponent {
|
|
85
|
+
componentName = 'Ripple';
|
|
86
|
+
zone = inject(NgZone);
|
|
87
|
+
_componentStyle = inject(RippleStyle);
|
|
88
|
+
animationListener;
|
|
89
|
+
mouseDownListener;
|
|
90
|
+
timeout;
|
|
91
|
+
constructor() {
|
|
92
|
+
super();
|
|
93
|
+
effect(() => {
|
|
94
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
95
|
+
if (this.config.ripple()) {
|
|
96
|
+
this.zone.runOutsideAngular(() => {
|
|
97
|
+
this.create();
|
|
98
|
+
this.mouseDownListener = this.renderer.listen(this.el.nativeElement, 'mousedown', this.onMouseDown.bind(this));
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.remove();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
onAfterViewInit() { }
|
|
108
|
+
onMouseDown(event) {
|
|
109
|
+
let ink = this.getInk();
|
|
110
|
+
if (!ink || this.document.defaultView?.getComputedStyle(ink, null).display === 'none') {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
!this.$unstyled() && removeClass(ink, 'h-ink-active');
|
|
114
|
+
ink.setAttribute('data-h-ink-active', 'false');
|
|
115
|
+
if (!getHeight(ink) && !getWidth(ink)) {
|
|
116
|
+
let d = Math.max(getOuterWidth(this.el.nativeElement), getOuterHeight(this.el.nativeElement));
|
|
117
|
+
ink.style.height = d + 'px';
|
|
118
|
+
ink.style.width = d + 'px';
|
|
119
|
+
}
|
|
120
|
+
let offset = getOffset(this.el.nativeElement);
|
|
121
|
+
let x = event.pageX - offset.left + this.document.body.scrollTop - getWidth(ink) / 2;
|
|
122
|
+
let y = event.pageY - offset.top + this.document.body.scrollLeft - getHeight(ink) / 2;
|
|
123
|
+
this.renderer.setStyle(ink, 'top', y + 'px');
|
|
124
|
+
this.renderer.setStyle(ink, 'left', x + 'px');
|
|
125
|
+
!this.$unstyled() && addClass(ink, 'h-ink-active');
|
|
126
|
+
ink.setAttribute('data-h-ink-active', 'true');
|
|
127
|
+
this.timeout = setTimeout(() => {
|
|
128
|
+
let ink = this.getInk();
|
|
129
|
+
if (ink) {
|
|
130
|
+
!this.$unstyled() && removeClass(ink, 'h-ink-active');
|
|
131
|
+
ink.setAttribute('data-h-ink-active', 'false');
|
|
132
|
+
}
|
|
133
|
+
}, 401);
|
|
134
|
+
}
|
|
135
|
+
getInk() {
|
|
136
|
+
const children = this.el.nativeElement.children;
|
|
137
|
+
for (let i = 0; i < children.length; i++) {
|
|
138
|
+
if (typeof children[i].className === 'string' && children[i].className.indexOf('h-ink') !== -1) {
|
|
139
|
+
return children[i];
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return null;
|
|
143
|
+
}
|
|
144
|
+
resetInk() {
|
|
145
|
+
let ink = this.getInk();
|
|
146
|
+
if (ink) {
|
|
147
|
+
!this.$unstyled() && removeClass(ink, 'h-ink-active');
|
|
148
|
+
ink.setAttribute('data-h-ink-active', 'false');
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
onAnimationEnd(event) {
|
|
152
|
+
if (this.timeout) {
|
|
153
|
+
clearTimeout(this.timeout);
|
|
154
|
+
}
|
|
155
|
+
!this.$unstyled() && removeClass(event.currentTarget, 'h-ink-active');
|
|
156
|
+
event.currentTarget.setAttribute('data-h-ink-active', 'false');
|
|
157
|
+
}
|
|
158
|
+
create() {
|
|
159
|
+
let ink = this.renderer.createElement('span');
|
|
160
|
+
this.renderer.addClass(ink, 'h-ink');
|
|
161
|
+
this.renderer.appendChild(this.el.nativeElement, ink);
|
|
162
|
+
this.renderer.setAttribute(ink, 'data-h-ink', 'true');
|
|
163
|
+
this.renderer.setAttribute(ink, 'data-h-ink-active', 'false');
|
|
164
|
+
this.renderer.setAttribute(ink, 'aria-hidden', 'true');
|
|
165
|
+
this.renderer.setAttribute(ink, 'role', 'presentation');
|
|
166
|
+
if (!this.animationListener) {
|
|
167
|
+
this.animationListener = this.renderer.listen(ink, 'animationend', this.onAnimationEnd.bind(this));
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
remove() {
|
|
171
|
+
let ink = this.getInk();
|
|
172
|
+
if (ink) {
|
|
173
|
+
this.mouseDownListener && this.mouseDownListener();
|
|
174
|
+
this.animationListener && this.animationListener();
|
|
175
|
+
this.mouseDownListener = null;
|
|
176
|
+
this.animationListener = null;
|
|
177
|
+
remove(ink);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
onDestroy() {
|
|
181
|
+
if (this.config && this.config.ripple()) {
|
|
182
|
+
this.remove();
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Ripple, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
186
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: Ripple, isStandalone: true, selector: "[hRipple]", host: { classAttribute: "h-ripple" }, providers: [RippleStyle], usesInheritance: true, ngImport: i0 });
|
|
187
|
+
}
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Ripple, decorators: [{
|
|
189
|
+
type: Directive,
|
|
190
|
+
args: [{
|
|
191
|
+
selector: '[hRipple]',
|
|
192
|
+
host: {
|
|
193
|
+
class: 'h-ripple'
|
|
194
|
+
},
|
|
195
|
+
standalone: true,
|
|
196
|
+
providers: [RippleStyle]
|
|
197
|
+
}]
|
|
198
|
+
}], ctorParameters: () => [] });
|
|
199
|
+
class RippleModule {
|
|
200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
201
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: RippleModule, imports: [Ripple], exports: [Ripple] });
|
|
202
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleModule });
|
|
203
|
+
}
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RippleModule, decorators: [{
|
|
205
|
+
type: NgModule,
|
|
206
|
+
args: [{
|
|
207
|
+
imports: [Ripple],
|
|
208
|
+
exports: [Ripple]
|
|
209
|
+
}]
|
|
210
|
+
}] });
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Generated bundle index. Do not edit.
|
|
214
|
+
*/
|
|
215
|
+
|
|
216
|
+
export { Ripple, RippleClasses, RippleModule, RippleStyle };
|
|
217
|
+
//# sourceMappingURL=gravionlabs-helix-core-ripple.mjs.map
|