@gravionlabs/helix-core 22.1.2 → 22.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/gravionlabs-helix-core-accordion.mjs +994 -541
- package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +265 -166
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-api.mjs +926 -836
- package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +2603 -1611
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs +115 -79
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatar.mjs +356 -180
- package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +200 -84
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-badge.mjs +671 -390
- package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-base.mjs +113 -103
- package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +498 -444
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +131 -69
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs +210 -94
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +39 -26
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-bind.mjs +136 -98
- package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-blockui.mjs +390 -224
- package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +473 -212
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-button.mjs +1739 -825
- package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +116 -64
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-card.mjs +454 -205
- package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-carousel.mjs +1238 -898
- package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +2373 -1337
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chart.mjs +407 -214
- package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs +704 -346
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chip.mjs +489 -251
- package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-classnames.mjs +95 -48
- package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +975 -667
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-config.mjs +395 -306
- package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +1222 -546
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +878 -524
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1917 -1031
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dataview.mjs +1075 -522
- package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3797 -3313
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dialog.mjs +1852 -1047
- package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-divider.mjs +288 -136
- package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dock.mjs +655 -387
- package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dom.mjs +589 -760
- package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +457 -302
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-drawer.mjs +986 -507
- package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +849 -923
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-editor.mjs +578 -383
- package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs +593 -280
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1882 -994
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs +41 -23
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +197 -94
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fluid.mjs +149 -74
- package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs +141 -104
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-galleria.mjs +2800 -1449
- package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs +214 -98
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +120 -64
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +42 -23
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons.mjs +53 -63
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +175 -81
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-image.mjs +1089 -552
- package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +348 -165
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inplace.mjs +591 -249
- package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +175 -91
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +196 -73
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs +207 -70
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1581 -1330
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1696 -1294
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs +576 -363
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs +344 -183
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +291 -252
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-knob.mjs +642 -396
- package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-listbox.mjs +2354 -1401
- package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1913 -1052
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menu.mjs +1392 -767
- package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menubar.mjs +1857 -984
- package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-message.mjs +605 -288
- package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs +719 -323
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-motion.mjs +1178 -694
- package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs +3437 -1839
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs +1426 -753
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +755 -371
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlay.mjs +984 -600
- package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +310 -107
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-paginator.mjs +1076 -564
- package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panel.mjs +759 -364
- package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1909 -888
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs +10 -18
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-password.mjs +1624 -894
- package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-picklist.mjs +2415 -1359
- package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-popover.mjs +708 -442
- package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs +380 -170
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +276 -121
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +525 -291
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-rating.mjs +529 -286
- package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ripple.mjs +194 -175
- package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scroller.mjs +1384 -977
- package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +605 -458
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +565 -261
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-select.mjs +2959 -1644
- package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +644 -335
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs +315 -160
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-slider.mjs +839 -630
- package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs +1183 -700
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +977 -375
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitter.mjs +737 -509
- package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-stepper.mjs +1397 -628
- package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-steps.mjs +457 -272
- package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs +466 -344
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-table.mjs +9728 -5590
- package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tabs.mjs +1350 -735
- package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tag.mjs +343 -154
- package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-terminal.mjs +384 -214
- package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-textarea.mjs +347 -209
- package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +4846 -5618
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +4961 -5809
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +4780 -5567
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs +0 -700
- package/fesm2022/gravionlabs-helix-core-themes.mjs +4 -9
- package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1967 -1048
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-timeline.mjs +370 -185
- package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toast.mjs +1083 -526
- package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +609 -315
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +504 -246
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs +350 -149
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs +1035 -795
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tree.mjs +2673 -1668
- package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1773 -976
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treetable.mjs +5963 -3647
- package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-button.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-card.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-image.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-message.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-password.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-select.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-table.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +192 -282
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +827 -813
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +967 -1558
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs +62 -52
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-utils.mjs +272 -366
- package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-validators.mjs +86 -93
- package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core.mjs +1 -5
- package/fesm2022/gravionlabs-helix-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/gravionlabs-helix-core-accordion.d.ts +317 -246
- package/types/gravionlabs-helix-core-animateonscroll.d.ts +89 -61
- package/types/gravionlabs-helix-core-api.d.ts +1743 -1777
- package/types/gravionlabs-helix-core-autocomplete.d.ts +1070 -750
- package/types/gravionlabs-helix-core-autofocus.d.ts +29 -26
- package/types/gravionlabs-helix-core-avatar.d.ts +165 -123
- package/types/gravionlabs-helix-core-avatargroup.d.ts +58 -48
- package/types/gravionlabs-helix-core-badge.d.ts +243 -162
- package/types/gravionlabs-helix-core-base.d.ts +46 -49
- package/types/gravionlabs-helix-core-basecomponent.d.ts +187 -170
- package/types/gravionlabs-helix-core-baseeditableholder.d.ts +63 -45
- package/types/gravionlabs-helix-core-baseinput.d.ts +121 -73
- package/types/gravionlabs-helix-core-basemodelholder.d.ts +9 -12
- package/types/gravionlabs-helix-core-bind.d.ts +36 -33
- package/types/gravionlabs-helix-core-blockui.d.ts +114 -90
- package/types/gravionlabs-helix-core-breadcrumb.d.ts +158 -132
- package/types/gravionlabs-helix-core-button.d.ts +716 -443
- package/types/gravionlabs-helix-core-buttongroup.d.ts +28 -33
- package/types/gravionlabs-helix-core-card.d.ts +156 -136
- package/types/gravionlabs-helix-core-carousel.d.ts +461 -361
- package/types/gravionlabs-helix-core-cascadeselect.d.ts +880 -604
- package/types/gravionlabs-helix-core-chart.d.ts +162 -115
- package/types/gravionlabs-helix-core-checkbox.d.ts +310 -211
- package/types/gravionlabs-helix-core-chip.d.ts +202 -147
- package/types/gravionlabs-helix-core-classnames.d.ts +23 -21
- package/types/gravionlabs-helix-core-colorpicker.d.ts +359 -290
- package/types/gravionlabs-helix-core-config.d.ts +249 -259
- package/types/gravionlabs-helix-core-confirmdialog.d.ts +498 -325
- package/types/gravionlabs-helix-core-confirmpopup.d.ts +273 -218
- package/types/gravionlabs-helix-core-contextmenu.d.ts +509 -351
- package/types/gravionlabs-helix-core-dataview.d.ts +507 -349
- package/types/gravionlabs-helix-core-datepicker.d.ts +1267 -954
- package/types/gravionlabs-helix-core-dialog.d.ts +758 -515
- package/types/gravionlabs-helix-core-divider.d.ts +126 -106
- package/types/gravionlabs-helix-core-dock.d.ts +219 -181
- package/types/gravionlabs-helix-core-dom.d.ts +97 -100
- package/types/gravionlabs-helix-core-dragdrop.d.ts +149 -107
- package/types/gravionlabs-helix-core-drawer.d.ts +382 -278
- package/types/gravionlabs-helix-core-dynamicdialog.d.ts +512 -519
- package/types/gravionlabs-helix-core-editor.d.ts +225 -173
- package/types/gravionlabs-helix-core-fieldset.d.ts +209 -170
- package/types/gravionlabs-helix-core-fileupload.d.ts +764 -533
- package/types/gravionlabs-helix-core-firsterror.d.ts +8 -11
- package/types/gravionlabs-helix-core-floatlabel.d.ts +57 -52
- package/types/gravionlabs-helix-core-fluid.d.ts +38 -39
- package/types/gravionlabs-helix-core-focustrap.d.ts +33 -30
- package/types/gravionlabs-helix-core-galleria.d.ts +957 -628
- package/types/gravionlabs-helix-core-iconfield.d.ts +72 -57
- package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowup.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-ban.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-bars.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-baseicon.d.ts +25 -24
- package/types/gravionlabs-helix-core-icons-blank.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-calendar.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-check.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-eye.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filter.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filterfill.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-filterslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-home.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-infocircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-minus.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-pencil.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-plus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-refresh.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-search.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchminus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchplus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-spinner.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-star.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-starfill.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-thlarge.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-times.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-timescircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-trash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-undo.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-upload.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons.d.ts +53 -53
- package/types/gravionlabs-helix-core-iftalabel.d.ts +42 -43
- package/types/gravionlabs-helix-core-image.d.ts +440 -331
- package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -84
- package/types/gravionlabs-helix-core-inplace.d.ts +188 -149
- package/types/gravionlabs-helix-core-inputgroup.d.ts +55 -50
- package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +54 -43
- package/types/gravionlabs-helix-core-inputicon.d.ts +49 -38
- package/types/gravionlabs-helix-core-inputmask.d.ts +499 -353
- package/types/gravionlabs-helix-core-inputnumber.d.ts +581 -410
- package/types/gravionlabs-helix-core-inputotp.d.ts +206 -158
- package/types/gravionlabs-helix-core-inputtext.d.ts +142 -102
- package/types/gravionlabs-helix-core-keyfilter.d.ts +62 -53
- package/types/gravionlabs-helix-core-knob.d.ts +265 -188
- package/types/gravionlabs-helix-core-listbox.d.ts +897 -638
- package/types/gravionlabs-helix-core-megamenu.d.ts +512 -365
- package/types/gravionlabs-helix-core-menu.d.ts +441 -343
- package/types/gravionlabs-helix-core-menubar.d.ts +499 -361
- package/types/gravionlabs-helix-core-message.d.ts +267 -195
- package/types/gravionlabs-helix-core-metergroup.d.ts +256 -190
- package/types/gravionlabs-helix-core-motion.d.ts +602 -385
- package/types/gravionlabs-helix-core-multiselect.d.ts +1256 -855
- package/types/gravionlabs-helix-core-orderlist.d.ts +504 -351
- package/types/gravionlabs-helix-core-organizationchart.d.ts +264 -203
- package/types/gravionlabs-helix-core-overlay.d.ts +417 -307
- package/types/gravionlabs-helix-core-overlaybadge.d.ts +107 -71
- package/types/gravionlabs-helix-core-paginator.d.ts +445 -336
- package/types/gravionlabs-helix-core-panel.d.ts +285 -225
- package/types/gravionlabs-helix-core-panelmenu.d.ts +499 -340
- package/types/gravionlabs-helix-core-passthrough.d.ts +5 -7
- package/types/gravionlabs-helix-core-password.d.ts +657 -463
- package/types/gravionlabs-helix-core-picklist.d.ts +938 -647
- package/types/gravionlabs-helix-core-popover.d.ts +259 -190
- package/types/gravionlabs-helix-core-progressbar.d.ts +141 -106
- package/types/gravionlabs-helix-core-progressspinner.d.ts +101 -76
- package/types/gravionlabs-helix-core-radiobutton.d.ts +228 -174
- package/types/gravionlabs-helix-core-rating.d.ts +217 -178
- package/types/gravionlabs-helix-core-ripple.d.ts +43 -48
- package/types/gravionlabs-helix-core-scroller.d.ts +505 -371
- package/types/gravionlabs-helix-core-scrollpanel.d.ts +151 -141
- package/types/gravionlabs-helix-core-scrolltop.d.ts +195 -140
- package/types/gravionlabs-helix-core-select.d.ts +1095 -749
- package/types/gravionlabs-helix-core-selectbutton.d.ts +238 -165
- package/types/gravionlabs-helix-core-skeleton.d.ts +123 -88
- package/types/gravionlabs-helix-core-slider.d.ts +259 -201
- package/types/gravionlabs-helix-core-speeddial.d.ts +511 -390
- package/types/gravionlabs-helix-core-splitbutton.d.ts +422 -267
- package/types/gravionlabs-helix-core-splitter.d.ts +246 -192
- package/types/gravionlabs-helix-core-stepper.d.ts +428 -269
- package/types/gravionlabs-helix-core-steps.d.ts +162 -134
- package/types/gravionlabs-helix-core-styleclass.d.ts +165 -107
- package/types/gravionlabs-helix-core-table.d.ts +2908 -1935
- package/types/gravionlabs-helix-core-tabs.d.ts +471 -311
- package/types/gravionlabs-helix-core-tag.d.ts +123 -98
- package/types/gravionlabs-helix-core-terminal.d.ts +142 -124
- package/types/gravionlabs-helix-core-textarea.d.ts +147 -110
- package/types/gravionlabs-helix-core-themes-aura.d.ts +957 -942
- package/types/gravionlabs-helix-core-themes-lara.d.ts +968 -953
- package/types/gravionlabs-helix-core-themes-nora.d.ts +954 -939
- package/types/gravionlabs-helix-core-themes-types.d.ts +17940 -18746
- package/types/gravionlabs-helix-core-themes.d.ts +8 -11
- package/types/gravionlabs-helix-core-tieredmenu.d.ts +583 -398
- package/types/gravionlabs-helix-core-timeline.d.ts +145 -125
- package/types/gravionlabs-helix-core-toast.d.ts +408 -275
- package/types/gravionlabs-helix-core-togglebutton.d.ts +264 -188
- package/types/gravionlabs-helix-core-toggleswitch.d.ts +202 -150
- package/types/gravionlabs-helix-core-toolbar.d.ts +100 -90
- package/types/gravionlabs-helix-core-tooltip.d.ts +362 -256
- package/types/gravionlabs-helix-core-tree.d.ts +902 -630
- package/types/gravionlabs-helix-core-treeselect.d.ts +770 -559
- package/types/gravionlabs-helix-core-treetable.d.ts +1715 -1205
- package/types/gravionlabs-helix-core-ts-helpers.d.ts +4 -6
- package/types/gravionlabs-helix-core-types-accordion.d.ts +42 -45
- package/types/gravionlabs-helix-core-types-autocomplete.d.ts +230 -233
- package/types/gravionlabs-helix-core-types-avatar.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-avatargroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-badge.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-blockui.d.ts +18 -21
- package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +65 -68
- package/types/gravionlabs-helix-core-types-button.d.ts +90 -93
- package/types/gravionlabs-helix-core-types-card.d.ts +54 -57
- package/types/gravionlabs-helix-core-types-carousel.d.ts +107 -110
- package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +151 -157
- package/types/gravionlabs-helix-core-types-chart.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-checkbox.d.ts +48 -51
- package/types/gravionlabs-helix-core-types-chip.d.ts +49 -52
- package/types/gravionlabs-helix-core-types-colorpicker.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +116 -119
- package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +74 -77
- package/types/gravionlabs-helix-core-types-contextmenu.d.ts +71 -74
- package/types/gravionlabs-helix-core-types-dataview.d.ts +178 -181
- package/types/gravionlabs-helix-core-types-datepicker.d.ts +436 -439
- package/types/gravionlabs-helix-core-types-dialog.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-divider.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-dock.d.ts +44 -47
- package/types/gravionlabs-helix-core-types-drawer.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-editor.d.ts +143 -146
- package/types/gravionlabs-helix-core-types-fieldset.d.ts +69 -73
- package/types/gravionlabs-helix-core-types-fileupload.d.ts +260 -265
- package/types/gravionlabs-helix-core-types-floatlabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-fluid.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-galleria.d.ts +204 -207
- package/types/gravionlabs-helix-core-types-iconfield.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-iftalabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-image.d.ts +113 -116
- package/types/gravionlabs-helix-core-types-imagecompare.d.ts +22 -25
- package/types/gravionlabs-helix-core-types-inplace.d.ts +46 -49
- package/types/gravionlabs-helix-core-types-inputgroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputicon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputmask.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-inputnumber.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-inputotp.d.ts +67 -70
- package/types/gravionlabs-helix-core-types-inputtext.d.ts +7 -10
- package/types/gravionlabs-helix-core-types-knob.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-listbox.d.ts +262 -266
- package/types/gravionlabs-helix-core-types-megamenu.d.ts +112 -115
- package/types/gravionlabs-helix-core-types-menu.d.ts +83 -86
- package/types/gravionlabs-helix-core-types-menubar.d.ts +98 -101
- package/types/gravionlabs-helix-core-types-message.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-metergroup.d.ts +135 -138
- package/types/gravionlabs-helix-core-types-motion.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-multiselect.d.ts +302 -306
- package/types/gravionlabs-helix-core-types-orderlist.d.ts +125 -128
- package/types/gravionlabs-helix-core-types-organizationchart.d.ts +90 -96
- package/types/gravionlabs-helix-core-types-overlay.d.ts +31 -34
- package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +17 -20
- package/types/gravionlabs-helix-core-types-paginator.d.ts +131 -134
- package/types/gravionlabs-helix-core-types-panel.d.ts +89 -93
- package/types/gravionlabs-helix-core-types-panelmenu.d.ts +105 -108
- package/types/gravionlabs-helix-core-types-password.d.ts +94 -97
- package/types/gravionlabs-helix-core-types-picklist.d.ts +240 -250
- package/types/gravionlabs-helix-core-types-popover.d.ts +33 -36
- package/types/gravionlabs-helix-core-types-progressbar.d.ts +32 -35
- package/types/gravionlabs-helix-core-types-progressspinner.d.ts +19 -22
- package/types/gravionlabs-helix-core-types-radiobutton.d.ts +29 -32
- package/types/gravionlabs-helix-core-types-rating.d.ts +62 -65
- package/types/gravionlabs-helix-core-types-scroller.d.ts +142 -146
- package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-scrolltop.d.ts +35 -38
- package/types/gravionlabs-helix-core-types-select.d.ts +245 -248
- package/types/gravionlabs-helix-core-types-selectbutton.d.ts +56 -59
- package/types/gravionlabs-helix-core-types-skeleton.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-slider.d.ts +50 -53
- package/types/gravionlabs-helix-core-types-speeddial.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-splitbutton.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-splitter.d.ts +36 -40
- package/types/gravionlabs-helix-core-types-stepper.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-table.d.ts +721 -727
- package/types/gravionlabs-helix-core-types-tabs.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-tag.d.ts +26 -29
- package/types/gravionlabs-helix-core-types-terminal.d.ts +43 -46
- package/types/gravionlabs-helix-core-types-textarea.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-timeline.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-toast.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-togglebutton.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-toolbar.d.ts +34 -37
- package/types/gravionlabs-helix-core-types-tooltip.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-tree.d.ts +230 -239
- package/types/gravionlabs-helix-core-types-treeselect.d.ts +195 -199
- package/types/gravionlabs-helix-core-types-treetable.d.ts +486 -491
- package/types/gravionlabs-helix-core-uix-motion.d.ts +177 -190
- package/types/gravionlabs-helix-core-uix-styled.d.ts +254 -277
- package/types/gravionlabs-helix-core-uix-utils.d.ts +39 -176
- package/types/gravionlabs-helix-core-usestyle.d.ts +12 -15
- package/types/gravionlabs-helix-core-utils.d.ts +45 -50
- package/types/gravionlabs-helix-core-validators.d.ts +29 -34
- package/types/gravionlabs-helix-core.d.ts +2 -2
- package/fesm2022/gravionlabs-helix-core-icons.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +0 -1
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const style = /*css*/ `
|
|
1
|
+
import * as i2 from "@angular/common";
|
|
2
|
+
import { CommonModule, isPlatformBrowser } from "@angular/common";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ChangeDetectionStrategy, Component, Injectable, NgModule, ViewEncapsulation, booleanAttribute, contentChild, contentChildren, effect, inject, input, model, numberAttribute, output, viewChild } from "@angular/core";
|
|
5
|
+
import { addClass, find, findSingle, getAttribute, removeClass, setAttribute, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
6
|
+
import { Footer, Header, HelixTemplate, SharedModule } from "@gravionlabs/helix-core/api";
|
|
7
|
+
import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
|
|
8
|
+
import * as i1 from "@gravionlabs/helix-core/bind";
|
|
9
|
+
import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
|
|
10
|
+
import * as i3 from "@gravionlabs/helix-core/button";
|
|
11
|
+
import { ButtonModule } from "@gravionlabs/helix-core/button";
|
|
12
|
+
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from "@gravionlabs/helix-core/icons";
|
|
13
|
+
import { BaseStyle } from "@gravionlabs/helix-core/base";
|
|
14
|
+
export * from "@gravionlabs/helix-core/types/carousel";
|
|
15
|
+
const style = `
|
|
17
16
|
.h-carousel {
|
|
18
17
|
display: flex;
|
|
19
18
|
flex-direction: column;
|
|
@@ -118,900 +117,1241 @@ const style = /*css*/ `
|
|
|
118
117
|
visibility: visible;
|
|
119
118
|
}
|
|
120
119
|
`;
|
|
121
|
-
|
|
122
120
|
const classes = {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
'h-carousel-indicator-active': instance._page === index
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
indicatorButton: ({ instance }) => ['h-carousel-indicator-button', instance.indicatorStyleClass()],
|
|
171
|
-
footer: 'h-carousel-footer'
|
|
121
|
+
root: ({ instance }) => ["h-carousel h-component", {
|
|
122
|
+
"h-carousel-vertical": instance.isVertical(),
|
|
123
|
+
"h-carousel-horizontal": !instance.isVertical()
|
|
124
|
+
}],
|
|
125
|
+
header: "h-carousel-header",
|
|
126
|
+
contentContainer: "h-carousel-content-container",
|
|
127
|
+
content: "h-carousel-content",
|
|
128
|
+
pcPrevButton: ({ instance }) => ["h-carousel-prev-button", { "h-disabled": instance.isBackwardNavDisabled() }],
|
|
129
|
+
viewport: "h-carousel-viewport",
|
|
130
|
+
itemList: "h-carousel-item-list",
|
|
131
|
+
itemClone: ({ instance, index }) => ["h-carousel-item h-carousel-item-clone", {
|
|
132
|
+
"h-carousel-item-active": instance.totalShiftedItems * -1 === instance.value().length,
|
|
133
|
+
"h-carousel-item-start": 0 === index,
|
|
134
|
+
"h-carousel-item-end": instance.clonedItemsForStarting.length - 1 === index
|
|
135
|
+
}],
|
|
136
|
+
item: ({ instance, index }) => ["h-carousel-item", {
|
|
137
|
+
"h-carousel-item-active": instance.firstIndex() <= index && instance.lastIndex() >= index,
|
|
138
|
+
"h-carousel-item-start": instance.firstIndex() === index,
|
|
139
|
+
"h-carousel-item-end": instance.lastIndex() === index
|
|
140
|
+
}],
|
|
141
|
+
pcNextButton: ({ instance }) => ["h-carousel-next-button", { "h-disabled": instance.isForwardNavDisabled() }],
|
|
142
|
+
indicatorList: ({ instance }) => ["h-carousel-indicator-list", instance.indicatorsContentClass()],
|
|
143
|
+
indicator: ({ instance, index }) => ["h-carousel-indicator", { "h-carousel-indicator-active": instance._page === index }],
|
|
144
|
+
indicatorButton: ({ instance }) => ["h-carousel-indicator-button", instance.indicatorStyleClass()],
|
|
145
|
+
footer: "h-carousel-footer"
|
|
146
|
+
};
|
|
147
|
+
var CarouselStyle = class CarouselStyle extends BaseStyle {
|
|
148
|
+
name = "carousel";
|
|
149
|
+
style = style;
|
|
150
|
+
classes = classes;
|
|
151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
152
|
+
minVersion: "12.0.0",
|
|
153
|
+
version: "22.2.1",
|
|
154
|
+
ngImport: i0,
|
|
155
|
+
type: CarouselStyle,
|
|
156
|
+
deps: null,
|
|
157
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
158
|
+
});
|
|
159
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
160
|
+
minVersion: "12.0.0",
|
|
161
|
+
version: "22.2.1",
|
|
162
|
+
ngImport: i0,
|
|
163
|
+
type: CarouselStyle
|
|
164
|
+
});
|
|
172
165
|
};
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: CarouselStyle, decorators: [{
|
|
181
|
-
type: Injectable
|
|
182
|
-
}] });
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* Carousel is a content slider featuring various customization options.
|
|
186
|
-
*
|
|
187
|
-
* [Live Demo](https://www.primeng.org/carousel/)
|
|
188
|
-
*
|
|
189
|
-
* @module carouselstyle
|
|
190
|
-
*
|
|
191
|
-
*/
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
167
|
+
minVersion: "12.0.0",
|
|
168
|
+
version: "22.2.1",
|
|
169
|
+
ngImport: i0,
|
|
170
|
+
type: CarouselStyle,
|
|
171
|
+
decorators: [{ type: Injectable }]
|
|
172
|
+
});
|
|
192
173
|
var CarouselClasses;
|
|
193
|
-
(function
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
*/
|
|
209
|
-
CarouselClasses["content"] = "h-carousel-content";
|
|
210
|
-
/**
|
|
211
|
-
* Class name of the previous button element
|
|
212
|
-
*/
|
|
213
|
-
CarouselClasses["pcPrevButton"] = "h-carousel-prev-button";
|
|
214
|
-
/**
|
|
215
|
-
* Class name of the viewport element
|
|
216
|
-
*/
|
|
217
|
-
CarouselClasses["viewport"] = "h-carousel-viewport";
|
|
218
|
-
/**
|
|
219
|
-
* Class name of the item list element
|
|
220
|
-
*/
|
|
221
|
-
CarouselClasses["itemList"] = "h-carousel-item-list";
|
|
222
|
-
/**
|
|
223
|
-
* Class name of the item clone element
|
|
224
|
-
*/
|
|
225
|
-
CarouselClasses["itemClone"] = "h-carousel-item-clone";
|
|
226
|
-
/**
|
|
227
|
-
* Class name of the item element
|
|
228
|
-
*/
|
|
229
|
-
CarouselClasses["item"] = "h-carousel-item";
|
|
230
|
-
/**
|
|
231
|
-
* Class name of the next button element
|
|
232
|
-
*/
|
|
233
|
-
CarouselClasses["pcNextButton"] = "h-carousel-next-button";
|
|
234
|
-
/**
|
|
235
|
-
* Class name of the indicator list element
|
|
236
|
-
*/
|
|
237
|
-
CarouselClasses["indicatorList"] = "h-carousel-indicator-list";
|
|
238
|
-
/**
|
|
239
|
-
* Class name of the indicator element
|
|
240
|
-
*/
|
|
241
|
-
CarouselClasses["indicator"] = "h-carousel-indicator";
|
|
242
|
-
/**
|
|
243
|
-
* Class name of the indicator button element
|
|
244
|
-
*/
|
|
245
|
-
CarouselClasses["indicatorButton"] = "h-carousel-indicator-button";
|
|
246
|
-
/**
|
|
247
|
-
* Class name of the footer element
|
|
248
|
-
*/
|
|
249
|
-
CarouselClasses["footer"] = "h-carousel-footer";
|
|
174
|
+
(function(CarouselClasses) {
|
|
175
|
+
CarouselClasses["root"] = "h-carousel";
|
|
176
|
+
CarouselClasses["header"] = "h-carousel-header";
|
|
177
|
+
CarouselClasses["contentContainer"] = "h-carousel-content-container";
|
|
178
|
+
CarouselClasses["content"] = "h-carousel-content";
|
|
179
|
+
CarouselClasses["pcPrevButton"] = "h-carousel-prev-button";
|
|
180
|
+
CarouselClasses["viewport"] = "h-carousel-viewport";
|
|
181
|
+
CarouselClasses["itemList"] = "h-carousel-item-list";
|
|
182
|
+
CarouselClasses["itemClone"] = "h-carousel-item-clone";
|
|
183
|
+
CarouselClasses["item"] = "h-carousel-item";
|
|
184
|
+
CarouselClasses["pcNextButton"] = "h-carousel-next-button";
|
|
185
|
+
CarouselClasses["indicatorList"] = "h-carousel-indicator-list";
|
|
186
|
+
CarouselClasses["indicator"] = "h-carousel-indicator";
|
|
187
|
+
CarouselClasses["indicatorButton"] = "h-carousel-indicator-button";
|
|
188
|
+
CarouselClasses["footer"] = "h-carousel-footer";
|
|
250
189
|
})(CarouselClasses || (CarouselClasses = {}));
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
onChanges(simpleChange) {
|
|
484
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
485
|
-
if (simpleChange.value) {
|
|
486
|
-
if (this.circular() && this.value()) {
|
|
487
|
-
this.setCloneItems();
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
if (this.isCreated) {
|
|
491
|
-
const responsiveOptions = this.responsiveOptions();
|
|
492
|
-
if (simpleChange.numVisible) {
|
|
493
|
-
if (responsiveOptions) {
|
|
494
|
-
this.defaultNumVisible = this.numVisible();
|
|
495
|
-
}
|
|
496
|
-
if (this.isCircular()) {
|
|
497
|
-
this.setCloneItems();
|
|
498
|
-
}
|
|
499
|
-
this.createStyle();
|
|
500
|
-
this.calculatePosition();
|
|
501
|
-
}
|
|
502
|
-
if (simpleChange.numScroll) {
|
|
503
|
-
if (responsiveOptions) {
|
|
504
|
-
this.defaultNumScroll = this.numScroll();
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
this.cd.markForCheck();
|
|
510
|
-
}
|
|
511
|
-
templates = contentChildren(HelixTemplate, /* @ts-ignore */
|
|
512
|
-
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
513
|
-
onAfterContentInit() {
|
|
514
|
-
this.id = uuid('pn_id_');
|
|
515
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
516
|
-
this.allowAutoplay = !!this.autoplayInterval();
|
|
517
|
-
if (this.circular()) {
|
|
518
|
-
this.setCloneItems();
|
|
519
|
-
}
|
|
520
|
-
const responsiveOptions = this.responsiveOptions();
|
|
521
|
-
if (responsiveOptions) {
|
|
522
|
-
this.defaultNumScroll = this.numScroll();
|
|
523
|
-
this.defaultNumVisible = this.numVisible();
|
|
524
|
-
}
|
|
525
|
-
this.createStyle();
|
|
526
|
-
this.calculatePosition();
|
|
527
|
-
if (responsiveOptions) {
|
|
528
|
-
this.bindDocumentListeners();
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
this.templates()?.forEach((item) => {
|
|
532
|
-
switch (item.getType()) {
|
|
533
|
-
case 'item':
|
|
534
|
-
this._itemTemplate = item.template;
|
|
535
|
-
break;
|
|
536
|
-
case 'header':
|
|
537
|
-
this._headerTemplate = item.template;
|
|
538
|
-
break;
|
|
539
|
-
case 'footer':
|
|
540
|
-
this._footerTemplate = item.template;
|
|
541
|
-
break;
|
|
542
|
-
case 'previousicon':
|
|
543
|
-
this._previousIconTemplate = item.template;
|
|
544
|
-
break;
|
|
545
|
-
case 'nexticon':
|
|
546
|
-
this._nextIconTemplate = item.template;
|
|
547
|
-
break;
|
|
548
|
-
default:
|
|
549
|
-
this._itemTemplate = item.template;
|
|
550
|
-
break;
|
|
551
|
-
}
|
|
552
|
-
});
|
|
553
|
-
this.cd.detectChanges();
|
|
554
|
-
}
|
|
555
|
-
onAfterContentChecked() {
|
|
556
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
557
|
-
const isCircular = this.isCircular();
|
|
558
|
-
let totalShiftedItems = this.totalShiftedItems;
|
|
559
|
-
const itemsContainer = this.itemsContainer();
|
|
560
|
-
if (this.value() && itemsContainer && (this.prevState.numScroll !== this.numScroll() || this.prevState.numVisible !== this.numVisible() || this.prevState.value.length !== this.value().length)) {
|
|
561
|
-
const autoplayInterval = this.autoplayInterval();
|
|
562
|
-
if (autoplayInterval) {
|
|
563
|
-
this.stopAutoplay(false);
|
|
564
|
-
}
|
|
565
|
-
this.remainingItems = (this.value().length - this.numVisible()) % this.numScroll();
|
|
566
|
-
let page = this._page;
|
|
567
|
-
if (this.totalDots() !== 0 && page >= this.totalDots()) {
|
|
568
|
-
page = this.totalDots() - 1;
|
|
569
|
-
this._page = page;
|
|
570
|
-
this.onPage.emit({
|
|
571
|
-
page: this.page()
|
|
572
|
-
});
|
|
573
|
-
}
|
|
574
|
-
totalShiftedItems = page * this.numScroll() * -1;
|
|
575
|
-
if (isCircular) {
|
|
576
|
-
totalShiftedItems -= this.numVisible();
|
|
577
|
-
}
|
|
578
|
-
if (page === this.totalDots() - 1 && this.remainingItems > 0) {
|
|
579
|
-
totalShiftedItems += -1 * this.remainingItems + this.numScroll();
|
|
580
|
-
this.isRemainingItemsAdded = true;
|
|
581
|
-
}
|
|
582
|
-
else {
|
|
583
|
-
this.isRemainingItemsAdded = false;
|
|
584
|
-
}
|
|
585
|
-
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
586
|
-
this.totalShiftedItems = totalShiftedItems;
|
|
587
|
-
}
|
|
588
|
-
this._oldNumScroll = this.numScroll();
|
|
589
|
-
this.prevState.numScroll = this.numScroll();
|
|
590
|
-
this.prevState.numVisible = this.numVisible();
|
|
591
|
-
this.prevState.value = [...this.value()];
|
|
592
|
-
if (this.totalDots() > 0 && itemsContainer.nativeElement) {
|
|
593
|
-
itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.numVisible())}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.numVisible())}%, 0, 0)`;
|
|
594
|
-
}
|
|
595
|
-
this.isCreated = true;
|
|
596
|
-
if (autoplayInterval && this.isAutoplay()) {
|
|
597
|
-
this.startAutoplay();
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
if (isCircular) {
|
|
601
|
-
if (this.page() === 0) {
|
|
602
|
-
totalShiftedItems = -1 * this.numVisible();
|
|
603
|
-
}
|
|
604
|
-
else if (totalShiftedItems === 0) {
|
|
605
|
-
totalShiftedItems = -1 * this.value().length;
|
|
606
|
-
if (this.remainingItems > 0) {
|
|
607
|
-
this.isRemainingItemsAdded = true;
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
611
|
-
this.totalShiftedItems = totalShiftedItems;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
createStyle() {
|
|
617
|
-
if (!this.carouselStyle) {
|
|
618
|
-
this.carouselStyle = this.renderer.createElement('style');
|
|
619
|
-
this.carouselStyle.type = 'text/css';
|
|
620
|
-
setAttribute(this.carouselStyle, 'nonce', this.config?.csp()?.nonce);
|
|
621
|
-
this.renderer.appendChild(this.document.head, this.carouselStyle);
|
|
622
|
-
setAttribute(this.carouselStyle, 'nonce', this.config?.csp()?.nonce);
|
|
623
|
-
}
|
|
624
|
-
let innerHTML = `
|
|
190
|
+
var Carousel = class Carousel extends BaseComponent {
|
|
191
|
+
el;
|
|
192
|
+
zone;
|
|
193
|
+
componentName = "Carousel";
|
|
194
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
195
|
+
onAfterViewChecked() {
|
|
196
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("root"));
|
|
197
|
+
}
|
|
198
|
+
page = model(0, ...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
|
|
199
|
+
numVisible = model(1, ...ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []);
|
|
200
|
+
numScroll = model(1, ...ngDevMode ? [{ debugName: "numScroll" }] : /* istanbul ignore next */ []);
|
|
201
|
+
responsiveOptions = input(...ngDevMode ? [void 0, { debugName: "responsiveOptions" }] : /* istanbul ignore next */ []);
|
|
202
|
+
orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
203
|
+
verticalViewPortHeight = input("300px", ...ngDevMode ? [{ debugName: "verticalViewPortHeight" }] : /* istanbul ignore next */ []);
|
|
204
|
+
contentClass = input("", ...ngDevMode ? [{ debugName: "contentClass" }] : /* istanbul ignore next */ []);
|
|
205
|
+
indicatorsContentClass = input("", ...ngDevMode ? [{ debugName: "indicatorsContentClass" }] : /* istanbul ignore next */ []);
|
|
206
|
+
indicatorsContentStyle = input(...ngDevMode ? [void 0, { debugName: "indicatorsContentStyle" }] : /* istanbul ignore next */ []);
|
|
207
|
+
indicatorStyleClass = input("", ...ngDevMode ? [{ debugName: "indicatorStyleClass" }] : /* istanbul ignore next */ []);
|
|
208
|
+
indicatorStyle = input(...ngDevMode ? [void 0, { debugName: "indicatorStyle" }] : /* istanbul ignore next */ []);
|
|
209
|
+
value = input(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
210
|
+
circular = input(false, {
|
|
211
|
+
...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
|
|
212
|
+
transform: booleanAttribute
|
|
213
|
+
});
|
|
214
|
+
showIndicators = input(true, {
|
|
215
|
+
...ngDevMode ? { debugName: "showIndicators" } : /* istanbul ignore next */ {},
|
|
216
|
+
transform: booleanAttribute
|
|
217
|
+
});
|
|
218
|
+
showNavigators = input(true, {
|
|
219
|
+
...ngDevMode ? { debugName: "showNavigators" } : /* istanbul ignore next */ {},
|
|
220
|
+
transform: booleanAttribute
|
|
221
|
+
});
|
|
222
|
+
autoplayInterval = input(0, {
|
|
223
|
+
...ngDevMode ? { debugName: "autoplayInterval" } : /* istanbul ignore next */ {},
|
|
224
|
+
transform: numberAttribute
|
|
225
|
+
});
|
|
226
|
+
styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
|
|
227
|
+
prevButtonProps = input({
|
|
228
|
+
severity: "secondary",
|
|
229
|
+
text: true,
|
|
230
|
+
rounded: true
|
|
231
|
+
}, ...ngDevMode ? [{ debugName: "prevButtonProps" }] : /* istanbul ignore next */ []);
|
|
232
|
+
nextButtonProps = input({
|
|
233
|
+
severity: "secondary",
|
|
234
|
+
text: true,
|
|
235
|
+
rounded: true
|
|
236
|
+
}, ...ngDevMode ? [{ debugName: "nextButtonProps" }] : /* istanbul ignore next */ []);
|
|
237
|
+
onPage = output();
|
|
238
|
+
itemsContainer = viewChild("itemsContainer", ...ngDevMode ? [{ debugName: "itemsContainer" }] : /* istanbul ignore next */ []);
|
|
239
|
+
indicatorContent = viewChild("indicatorContent", ...ngDevMode ? [{ debugName: "indicatorContent" }] : /* istanbul ignore next */ []);
|
|
240
|
+
headerFacet = contentChild(Header, ...ngDevMode ? [{ debugName: "headerFacet" }] : /* istanbul ignore next */ []);
|
|
241
|
+
footerFacet = contentChild(Footer, ...ngDevMode ? [{ debugName: "footerFacet" }] : /* istanbul ignore next */ []);
|
|
242
|
+
_oldNumScroll = 0;
|
|
243
|
+
prevState = {
|
|
244
|
+
numScroll: 0,
|
|
245
|
+
numVisible: 0,
|
|
246
|
+
value: []
|
|
247
|
+
};
|
|
248
|
+
defaultNumScroll = 1;
|
|
249
|
+
defaultNumVisible = 1;
|
|
250
|
+
_page = 0;
|
|
251
|
+
carouselStyle;
|
|
252
|
+
id;
|
|
253
|
+
totalShiftedItems;
|
|
254
|
+
isRemainingItemsAdded = false;
|
|
255
|
+
animationTimeout;
|
|
256
|
+
translateTimeout;
|
|
257
|
+
remainingItems = 0;
|
|
258
|
+
_items;
|
|
259
|
+
startPos;
|
|
260
|
+
documentResizeListener;
|
|
261
|
+
clonedItemsForStarting;
|
|
262
|
+
clonedItemsForFinishing;
|
|
263
|
+
allowAutoplay;
|
|
264
|
+
interval;
|
|
265
|
+
isCreated;
|
|
266
|
+
swipeThreshold = 20;
|
|
267
|
+
itemTemplate = contentChild("item", {
|
|
268
|
+
...ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {},
|
|
269
|
+
descendants: false
|
|
270
|
+
});
|
|
271
|
+
headerTemplate = contentChild("header", {
|
|
272
|
+
...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
|
|
273
|
+
descendants: false
|
|
274
|
+
});
|
|
275
|
+
footerTemplate = contentChild("footer", {
|
|
276
|
+
...ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {},
|
|
277
|
+
descendants: false
|
|
278
|
+
});
|
|
279
|
+
previousIconTemplate = contentChild("previousicon", {
|
|
280
|
+
...ngDevMode ? { debugName: "previousIconTemplate" } : /* istanbul ignore next */ {},
|
|
281
|
+
descendants: false
|
|
282
|
+
});
|
|
283
|
+
nextIconTemplate = contentChild("nexticon", {
|
|
284
|
+
...ngDevMode ? { debugName: "nextIconTemplate" } : /* istanbul ignore next */ {},
|
|
285
|
+
descendants: false
|
|
286
|
+
});
|
|
287
|
+
_itemTemplate;
|
|
288
|
+
_headerTemplate;
|
|
289
|
+
_footerTemplate;
|
|
290
|
+
_previousIconTemplate;
|
|
291
|
+
_nextIconTemplate;
|
|
292
|
+
window;
|
|
293
|
+
_componentStyle = inject(CarouselStyle);
|
|
294
|
+
constructor(el, zone) {
|
|
295
|
+
super();
|
|
296
|
+
this.el = el;
|
|
297
|
+
this.zone = zone;
|
|
298
|
+
this.totalShiftedItems = this.page() * this.numScroll() * -1;
|
|
299
|
+
this.window = this.document.defaultView;
|
|
300
|
+
let oldPage = 0;
|
|
301
|
+
effect(() => {
|
|
302
|
+
const val = this.page();
|
|
303
|
+
if (this.isCreated && val !== oldPage) {
|
|
304
|
+
if (this.autoplayInterval()) this.stopAutoplay();
|
|
305
|
+
if (val > oldPage && val <= this.totalDots() - 1) this.step(-1, val);
|
|
306
|
+
else if (val < oldPage) this.step(1, val);
|
|
307
|
+
}
|
|
308
|
+
this._page = val;
|
|
309
|
+
oldPage = val;
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
onChanges(simpleChange) {
|
|
313
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
314
|
+
if (simpleChange.value) {
|
|
315
|
+
if (this.circular() && this.value()) this.setCloneItems();
|
|
316
|
+
}
|
|
317
|
+
if (this.isCreated) {
|
|
318
|
+
const responsiveOptions = this.responsiveOptions();
|
|
319
|
+
if (simpleChange.numVisible) {
|
|
320
|
+
if (responsiveOptions) this.defaultNumVisible = this.numVisible();
|
|
321
|
+
if (this.isCircular()) this.setCloneItems();
|
|
322
|
+
this.createStyle();
|
|
323
|
+
this.calculatePosition();
|
|
324
|
+
}
|
|
325
|
+
if (simpleChange.numScroll) {
|
|
326
|
+
if (responsiveOptions) this.defaultNumScroll = this.numScroll();
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
this.cd.markForCheck();
|
|
331
|
+
}
|
|
332
|
+
templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
333
|
+
onAfterContentInit() {
|
|
334
|
+
this.id = uuid("pn_id_");
|
|
335
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
336
|
+
this.allowAutoplay = !!this.autoplayInterval();
|
|
337
|
+
if (this.circular()) this.setCloneItems();
|
|
338
|
+
const responsiveOptions = this.responsiveOptions();
|
|
339
|
+
if (responsiveOptions) {
|
|
340
|
+
this.defaultNumScroll = this.numScroll();
|
|
341
|
+
this.defaultNumVisible = this.numVisible();
|
|
342
|
+
}
|
|
343
|
+
this.createStyle();
|
|
344
|
+
this.calculatePosition();
|
|
345
|
+
if (responsiveOptions) this.bindDocumentListeners();
|
|
346
|
+
}
|
|
347
|
+
this.templates()?.forEach((item) => {
|
|
348
|
+
switch (item.getType()) {
|
|
349
|
+
case "item":
|
|
350
|
+
this._itemTemplate = item.template;
|
|
351
|
+
break;
|
|
352
|
+
case "header":
|
|
353
|
+
this._headerTemplate = item.template;
|
|
354
|
+
break;
|
|
355
|
+
case "footer":
|
|
356
|
+
this._footerTemplate = item.template;
|
|
357
|
+
break;
|
|
358
|
+
case "previousicon":
|
|
359
|
+
this._previousIconTemplate = item.template;
|
|
360
|
+
break;
|
|
361
|
+
case "nexticon":
|
|
362
|
+
this._nextIconTemplate = item.template;
|
|
363
|
+
break;
|
|
364
|
+
default:
|
|
365
|
+
this._itemTemplate = item.template;
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
this.cd.detectChanges();
|
|
370
|
+
}
|
|
371
|
+
onAfterContentChecked() {
|
|
372
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
373
|
+
const isCircular = this.isCircular();
|
|
374
|
+
let totalShiftedItems = this.totalShiftedItems;
|
|
375
|
+
const itemsContainer = this.itemsContainer();
|
|
376
|
+
if (this.value() && itemsContainer && (this.prevState.numScroll !== this.numScroll() || this.prevState.numVisible !== this.numVisible() || this.prevState.value.length !== this.value().length)) {
|
|
377
|
+
const autoplayInterval = this.autoplayInterval();
|
|
378
|
+
if (autoplayInterval) this.stopAutoplay(false);
|
|
379
|
+
this.remainingItems = (this.value().length - this.numVisible()) % this.numScroll();
|
|
380
|
+
let page = this._page;
|
|
381
|
+
if (this.totalDots() !== 0 && page >= this.totalDots()) {
|
|
382
|
+
page = this.totalDots() - 1;
|
|
383
|
+
this._page = page;
|
|
384
|
+
this.onPage.emit({ page: this.page() });
|
|
385
|
+
}
|
|
386
|
+
totalShiftedItems = page * this.numScroll() * -1;
|
|
387
|
+
if (isCircular) totalShiftedItems -= this.numVisible();
|
|
388
|
+
if (page === this.totalDots() - 1 && this.remainingItems > 0) {
|
|
389
|
+
totalShiftedItems += -1 * this.remainingItems + this.numScroll();
|
|
390
|
+
this.isRemainingItemsAdded = true;
|
|
391
|
+
} else this.isRemainingItemsAdded = false;
|
|
392
|
+
if (totalShiftedItems !== this.totalShiftedItems) this.totalShiftedItems = totalShiftedItems;
|
|
393
|
+
this._oldNumScroll = this.numScroll();
|
|
394
|
+
this.prevState.numScroll = this.numScroll();
|
|
395
|
+
this.prevState.numVisible = this.numVisible();
|
|
396
|
+
this.prevState.value = [...this.value()];
|
|
397
|
+
if (this.totalDots() > 0 && itemsContainer.nativeElement) itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.numVisible())}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.numVisible())}%, 0, 0)`;
|
|
398
|
+
this.isCreated = true;
|
|
399
|
+
if (autoplayInterval && this.isAutoplay()) this.startAutoplay();
|
|
400
|
+
}
|
|
401
|
+
if (isCircular) {
|
|
402
|
+
if (this.page() === 0) totalShiftedItems = -1 * this.numVisible();
|
|
403
|
+
else if (totalShiftedItems === 0) {
|
|
404
|
+
totalShiftedItems = -1 * this.value().length;
|
|
405
|
+
if (this.remainingItems > 0) this.isRemainingItemsAdded = true;
|
|
406
|
+
}
|
|
407
|
+
if (totalShiftedItems !== this.totalShiftedItems) this.totalShiftedItems = totalShiftedItems;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
createStyle() {
|
|
412
|
+
if (!this.carouselStyle) {
|
|
413
|
+
this.carouselStyle = this.renderer.createElement("style");
|
|
414
|
+
this.carouselStyle.type = "text/css";
|
|
415
|
+
setAttribute(this.carouselStyle, "nonce", this.config?.csp()?.nonce);
|
|
416
|
+
this.renderer.appendChild(this.document.head, this.carouselStyle);
|
|
417
|
+
setAttribute(this.carouselStyle, "nonce", this.config?.csp()?.nonce);
|
|
418
|
+
}
|
|
419
|
+
let innerHTML = `
|
|
625
420
|
#${this.id} .h-carousel-item {
|
|
626
421
|
flex: 1 0 ${100 / this.numVisible()}%
|
|
627
422
|
}
|
|
628
423
|
`;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
return -1 * result;
|
|
646
|
-
});
|
|
647
|
-
for (let i = 0; i < responsiveOptions.length; i++) {
|
|
648
|
-
let res = responsiveOptions[i];
|
|
649
|
-
innerHTML += `
|
|
424
|
+
const responsiveOptions = this.responsiveOptions();
|
|
425
|
+
if (responsiveOptions && !this.$unstyled()) {
|
|
426
|
+
responsiveOptions.sort((data1, data2) => {
|
|
427
|
+
const value1 = data1.breakpoint;
|
|
428
|
+
const value2 = data2.breakpoint;
|
|
429
|
+
let result = null;
|
|
430
|
+
if (value1 == null && value2 != null) result = -1;
|
|
431
|
+
else if (value1 != null && value2 == null) result = 1;
|
|
432
|
+
else if (value1 == null && value2 == null) result = 0;
|
|
433
|
+
else if (typeof value1 === "string" && typeof value2 === "string") result = value1.localeCompare(value2, void 0, { numeric: true });
|
|
434
|
+
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
435
|
+
return -1 * result;
|
|
436
|
+
});
|
|
437
|
+
for (let i = 0; i < responsiveOptions.length; i++) {
|
|
438
|
+
let res = responsiveOptions[i];
|
|
439
|
+
innerHTML += `
|
|
650
440
|
@media screen and (max-width: ${res.breakpoint}) {
|
|
651
441
|
#${this.id} .h-carousel-item {
|
|
652
442
|
flex: 1 0 ${100 / res.numVisible}%
|
|
653
443
|
}
|
|
654
444
|
}
|
|
655
445
|
`;
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Carousel, isStandalone: true, selector: "h-carousel", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, numScroll: { classPropertyName: "numScroll", publicName: "numScroll", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, verticalViewPortHeight: { classPropertyName: "verticalViewPortHeight", publicName: "verticalViewPortHeight", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentClass: { classPropertyName: "indicatorsContentClass", publicName: "indicatorsContentClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorsContentStyle: { classPropertyName: "indicatorsContentStyle", publicName: "indicatorsContentStyle", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyleClass: { classPropertyName: "indicatorStyleClass", publicName: "indicatorStyleClass", isSignal: true, isRequired: false, transformFunction: null }, indicatorStyle: { classPropertyName: "indicatorStyle", publicName: "indicatorStyle", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, prevButtonProps: { classPropertyName: "prevButtonProps", publicName: "prevButtonProps", isSignal: true, isRequired: false, transformFunction: null }, nextButtonProps: { classPropertyName: "nextButtonProps", publicName: "nextButtonProps", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", numVisible: "numVisibleChange", numScroll: "numScrollChange", onPage: "onPage" }, host: { properties: { "attr.id": "id", "attr.role": "'region'", "class": "cn(cx('root'), styleClass())" } }, providers: [CarouselStyle, { provide: PARENT_INSTANCE, useExisting: Carousel }], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true, isSignal: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true, isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "previousIconTemplate", first: true, predicate: ["previousicon"], isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, isSignal: true }, { propertyName: "indicatorContent", first: true, predicate: ["indicatorContent"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@if (headerFacet() || headerTemplate()) {\n <div [class]=\"cx('header')\" [hBind]=\"ptm('header')\">\n <ng-content select=\"h-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\n </div>\n}\n<div [class]=\"contentClass()\" [ngClass]=\"cx('contentContainer')\" [hBind]=\"ptm('contentContainer')\">\n <div [class]=\"cx('content')\" [attr.aria-live]=\"allowAutoplay ? 'polite' : 'off'\" [hBind]=\"ptm('content')\">\n @if (showNavigators()) {\n <h-button\n [class]=\"cx('pcPrevButton')\"\n [attr.aria-label]=\"ariaPrevButtonLabel()\"\n (click)=\"navBackward($event)\"\n [text]=\"true\"\n [buttonProps]=\"prevButtonProps()\"\n [pt]=\"ptm('pcPrevButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!previousIconTemplate() && !_previousIconTemplate && !prevButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-left\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-up\" />\n }\n }\n @if ((previousIconTemplate() || _previousIconTemplate) && !prevButtonProps()?.icon) {\n <ng-template *ngTemplateOutlet=\"previousIconTemplate() || _previousIconTemplate\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n <div [class]=\"cx('viewport')\" [ngStyle]=\"{ height: isVertical() ? verticalViewPortHeight() : 'auto' }\" (touchend)=\"onTouchEnd($event)\" (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\" [hBind]=\"ptm('viewport')\">\n <div #itemsContainer [class]=\"cx('itemList')\" (transitionend)=\"onTransitionEnd()\" [hBind]=\"ptm('itemList')\">\n @for (item of clonedItemsForStarting; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.aria-hidden]=\"!(totalShiftedItems * -1 === value().length)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"totalShiftedItems * -1 === value().length + _numVisible\"\n [attr.data-h-carousel-item-start]=\"index === 0\"\n [attr.data-h-carousel-item-end]=\"clonedItemsForStarting && clonedItemsForStarting.length - 1 === index\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of value(); track item; let index = $index) {\n <div\n [class]=\"cx('item', { index })\"\n role=\"group\"\n [attr.aria-hidden]=\"!(firstIndex() <= index && lastIndex() >= index)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"firstIndex() <= index && lastIndex() >= index\"\n [attr.data-h-carousel-item-start]=\"firstIndex() === index\"\n [attr.data-h-carousel-item-end]=\"lastIndex() === index\"\n [hBind]=\"getItemPTOptions('item', index)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of clonedItemsForFinishing; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.data-h-carousel-item-active]=\"false\"\n [attr.data-h-carousel-item-start]=\"false\"\n [attr.data-h-carousel-item-end]=\"false\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n </div>\n </div>\n @if (showNavigators()) {\n <h-button\n type=\"button\"\n [class]=\"cx('pcNextButton')\"\n (click)=\"navForward($event)\"\n [attr.aria-label]=\"ariaNextButtonLabel()\"\n [buttonProps]=\"nextButtonProps()\"\n [text]=\"true\"\n [pt]=\"ptm('pcNextButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!nextIconTemplate() && !_nextIconTemplate && !nextButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-right\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-down\" />\n }\n }\n @if (nextIconTemplate() || (_nextIconTemplate && !nextButtonProps()?.icon)) {\n <span>\n <ng-template *ngTemplateOutlet=\"nextIconTemplate() || _nextIconTemplate\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n @if (showIndicators()) {\n <ul #indicatorContent [class]=\"cx('indicatorList')\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\" [hBind]=\"ptm('indicatorList')\">\n @for (totalDot of totalDotsArray(); track totalDot; let i = $index) {\n <li [class]=\"cx('indicator', { index: i })\" [attr.data-h-active]=\"_page === i\" [hBind]=\"getIndicatorPTOptions('indicator', i)\">\n <button\n type=\"button\"\n [class]=\"cx('indicatorButton')\"\n (click)=\"onDotClick($event, i)\"\n [ngStyle]=\"indicatorStyle()\"\n [attr.aria-label]=\"ariaPageLabel(i + 1)\"\n [attr.aria-current]=\"_page === i ? 'page' : undefined\"\n [tabindex]=\"_page === i ? 0 : -1\"\n [hBind]=\"getIndicatorPTOptions('indicatorButton', i)\"\n ></button>\n </li>\n }\n </ul>\n }\n</div>\n@if (footerFacet() || footerTemplate() || _footerTemplate) {\n <div [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\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: "component", type: ChevronRightIcon, selector: "[data-h-icon=\"chevron-right\"]" }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i3.Button, selector: "h-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: ChevronLeftIcon, selector: "[data-h-icon=\"chevron-left\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-h-icon=\"chevron-down\"]" }, { kind: "component", type: ChevronUpIcon, selector: "[data-h-icon=\"chevron-up\"]" }, { 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 });
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
this.carouselStyle.innerHTML = innerHTML;
|
|
449
|
+
}
|
|
450
|
+
calculatePosition() {
|
|
451
|
+
const responsiveOptions = this.responsiveOptions();
|
|
452
|
+
if (responsiveOptions) {
|
|
453
|
+
let matchedResponsiveData = {
|
|
454
|
+
numVisible: this.defaultNumVisible,
|
|
455
|
+
numScroll: this.defaultNumScroll
|
|
456
|
+
};
|
|
457
|
+
if (typeof window !== "undefined") {
|
|
458
|
+
let windowWidth = window.innerWidth;
|
|
459
|
+
for (let i = 0; i < responsiveOptions.length; i++) {
|
|
460
|
+
let res = responsiveOptions[i];
|
|
461
|
+
if (parseInt(res.breakpoint, 10) >= windowWidth) matchedResponsiveData = res;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
if (this.numScroll() !== matchedResponsiveData.numScroll) {
|
|
465
|
+
let page = this._page;
|
|
466
|
+
page = Math.floor(page * this.numScroll() / matchedResponsiveData.numScroll);
|
|
467
|
+
let totalShiftedItems = matchedResponsiveData.numScroll * this.page() * -1;
|
|
468
|
+
if (this.isCircular()) totalShiftedItems -= matchedResponsiveData.numVisible;
|
|
469
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
470
|
+
this.numScroll.set(matchedResponsiveData.numScroll);
|
|
471
|
+
this._page = page;
|
|
472
|
+
this.onPage.emit({ page: this.page() });
|
|
473
|
+
}
|
|
474
|
+
if (this.numVisible() !== matchedResponsiveData.numVisible) {
|
|
475
|
+
this.numVisible.set(matchedResponsiveData.numVisible);
|
|
476
|
+
this.setCloneItems();
|
|
477
|
+
}
|
|
478
|
+
this.cd.markForCheck();
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
setCloneItems() {
|
|
482
|
+
this.clonedItemsForStarting = [];
|
|
483
|
+
this.clonedItemsForFinishing = [];
|
|
484
|
+
if (this.isCircular()) {
|
|
485
|
+
this.clonedItemsForStarting.push(...this.value().slice(-1 * this.numVisible()));
|
|
486
|
+
this.clonedItemsForFinishing.push(...this.value().slice(0, this.numVisible()));
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
firstIndex() {
|
|
490
|
+
return this.isCircular() ? -1 * (this.totalShiftedItems + this.numVisible()) : this.totalShiftedItems * -1;
|
|
491
|
+
}
|
|
492
|
+
lastIndex() {
|
|
493
|
+
return this.firstIndex() + this.numVisible() - 1;
|
|
494
|
+
}
|
|
495
|
+
totalDots() {
|
|
496
|
+
return this.value()?.length ? Math.ceil((this.value().length - this.numVisible()) / this.numScroll()) + 1 : 0;
|
|
497
|
+
}
|
|
498
|
+
totalDotsArray() {
|
|
499
|
+
const totalDots = this.totalDots();
|
|
500
|
+
return totalDots <= 0 ? [] : Array(totalDots).fill(0);
|
|
501
|
+
}
|
|
502
|
+
isVertical() {
|
|
503
|
+
return this.orientation() === "vertical";
|
|
504
|
+
}
|
|
505
|
+
isCircular() {
|
|
506
|
+
return this.circular() && this.value() && this.value().length >= this.numVisible();
|
|
507
|
+
}
|
|
508
|
+
isAutoplay() {
|
|
509
|
+
return this.autoplayInterval() && this.allowAutoplay;
|
|
510
|
+
}
|
|
511
|
+
isForwardNavDisabled() {
|
|
512
|
+
return this.isEmpty() || this._page >= this.totalDots() - 1 && !this.isCircular();
|
|
513
|
+
}
|
|
514
|
+
isBackwardNavDisabled() {
|
|
515
|
+
return this.isEmpty() || this._page <= 0 && !this.isCircular();
|
|
516
|
+
}
|
|
517
|
+
isEmpty() {
|
|
518
|
+
return !this.value() || this.value().length === 0;
|
|
519
|
+
}
|
|
520
|
+
navForward(e, index) {
|
|
521
|
+
if (this.isCircular() || this._page < this.totalDots() - 1) this.step(-1, index);
|
|
522
|
+
if (this.autoplayInterval()) this.stopAutoplay();
|
|
523
|
+
if (e && e.cancelable) e.preventDefault();
|
|
524
|
+
}
|
|
525
|
+
navBackward(e, index) {
|
|
526
|
+
if (this.isCircular() || this._page !== 0) this.step(1, index);
|
|
527
|
+
if (this.autoplayInterval()) this.stopAutoplay();
|
|
528
|
+
if (e && e.cancelable) e.preventDefault();
|
|
529
|
+
}
|
|
530
|
+
onDotClick(e, index) {
|
|
531
|
+
let page = this._page;
|
|
532
|
+
if (this.autoplayInterval()) this.stopAutoplay();
|
|
533
|
+
if (index > page) this.navForward(e, index);
|
|
534
|
+
else if (index < page) this.navBackward(e, index);
|
|
535
|
+
}
|
|
536
|
+
onIndicatorKeydown(event) {
|
|
537
|
+
switch (event.code) {
|
|
538
|
+
case "ArrowRight":
|
|
539
|
+
this.onRightKey();
|
|
540
|
+
break;
|
|
541
|
+
case "ArrowLeft":
|
|
542
|
+
this.onLeftKey();
|
|
543
|
+
break;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
onRightKey() {
|
|
547
|
+
const indicators = [...find(this.indicatorContent()?.nativeElement, "[data-pc-section=\"indicator\"]")];
|
|
548
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
549
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
550
|
+
}
|
|
551
|
+
onLeftKey() {
|
|
552
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
553
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
554
|
+
}
|
|
555
|
+
onHomeKey() {
|
|
556
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
557
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
558
|
+
}
|
|
559
|
+
onEndKey() {
|
|
560
|
+
const indicators = [...find(this.indicatorContent()?.nativeElement, "[data-pc-section=\"indicator\"]")];
|
|
561
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
562
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
563
|
+
}
|
|
564
|
+
onTabKey() {
|
|
565
|
+
const indicatorContent = this.indicatorContent();
|
|
566
|
+
const indicators = [...find(indicatorContent?.nativeElement, "[data-pc-section=\"indicator\"]")];
|
|
567
|
+
const highlightedIndex = indicators.findIndex((ind) => getAttribute(ind, "data-h-highlight") === true);
|
|
568
|
+
const activeIndicator = findSingle(indicatorContent?.nativeElement, "[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]");
|
|
569
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
570
|
+
indicators[activeIndex].children[0].tabIndex = "-1";
|
|
571
|
+
indicators[highlightedIndex].children[0].tabIndex = "0";
|
|
572
|
+
}
|
|
573
|
+
findFocusedIndicatorIndex() {
|
|
574
|
+
const indicatorContent = this.indicatorContent();
|
|
575
|
+
const indicators = [...find(indicatorContent?.nativeElement, "[data-pc-section=\"indicator\"]")];
|
|
576
|
+
const activeIndicator = findSingle(indicatorContent?.nativeElement, "[data-pc-section=\"indicator\"] > button[tabindex=\"0\"]");
|
|
577
|
+
return indicators.findIndex((ind) => ind === activeIndicator?.parentElement);
|
|
578
|
+
}
|
|
579
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
580
|
+
const indicators = [...find(this.indicatorContent()?.nativeElement, "[data-pc-section=\"indicator\"]")];
|
|
581
|
+
indicators[prevInd].children[0].tabIndex = "-1";
|
|
582
|
+
indicators[nextInd].children[0].tabIndex = "0";
|
|
583
|
+
indicators[nextInd].children[0].focus();
|
|
584
|
+
}
|
|
585
|
+
step(dir, page) {
|
|
586
|
+
let totalShiftedItems = this.totalShiftedItems;
|
|
587
|
+
const isCircular = this.isCircular();
|
|
588
|
+
if (page != null) {
|
|
589
|
+
totalShiftedItems = this.numScroll() * page * -1;
|
|
590
|
+
if (isCircular) totalShiftedItems -= this.numVisible();
|
|
591
|
+
this.isRemainingItemsAdded = false;
|
|
592
|
+
} else {
|
|
593
|
+
totalShiftedItems += this.numScroll() * dir;
|
|
594
|
+
if (this.isRemainingItemsAdded) {
|
|
595
|
+
totalShiftedItems += this.remainingItems - this.numScroll() * dir;
|
|
596
|
+
this.isRemainingItemsAdded = false;
|
|
597
|
+
}
|
|
598
|
+
let originalShiftedItems = isCircular ? totalShiftedItems + this.numVisible() : totalShiftedItems;
|
|
599
|
+
page = Math.abs(Math.floor(originalShiftedItems / this.numScroll()));
|
|
600
|
+
}
|
|
601
|
+
if (isCircular && this.page() === this.totalDots() - 1 && dir === -1) {
|
|
602
|
+
totalShiftedItems = -1 * (this.value().length + this.numVisible());
|
|
603
|
+
page = 0;
|
|
604
|
+
} else if (isCircular && this.page() === 0 && dir === 1) {
|
|
605
|
+
totalShiftedItems = 0;
|
|
606
|
+
page = this.totalDots() - 1;
|
|
607
|
+
} else if (page === this.totalDots() - 1 && this.remainingItems > 0) {
|
|
608
|
+
totalShiftedItems += this.remainingItems * -1 - this.numScroll() * dir;
|
|
609
|
+
this.isRemainingItemsAdded = true;
|
|
610
|
+
}
|
|
611
|
+
const itemsContainer = this.itemsContainer();
|
|
612
|
+
if (itemsContainer) {
|
|
613
|
+
!this.$unstyled() && removeClass(itemsContainer.nativeElement, "h-items-hidden");
|
|
614
|
+
itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.numVisible())}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.numVisible())}%, 0, 0)`;
|
|
615
|
+
itemsContainer.nativeElement.style.transition = "transform 500ms ease 0s";
|
|
616
|
+
}
|
|
617
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
618
|
+
this._page = page;
|
|
619
|
+
this.onPage.emit({ page: this.page() });
|
|
620
|
+
this.cd.markForCheck();
|
|
621
|
+
}
|
|
622
|
+
startAutoplay() {
|
|
623
|
+
this.interval = setInterval(() => {
|
|
624
|
+
if (this.totalDots() > 0) if (this.page() === this.totalDots() - 1) this.step(-1, 0);
|
|
625
|
+
else this.step(-1, this.page() + 1);
|
|
626
|
+
}, this.autoplayInterval());
|
|
627
|
+
this.allowAutoplay = true;
|
|
628
|
+
this.cd.markForCheck();
|
|
629
|
+
}
|
|
630
|
+
stopAutoplay(changeAllow = true) {
|
|
631
|
+
if (this.interval) {
|
|
632
|
+
clearInterval(this.interval);
|
|
633
|
+
this.interval = void 0;
|
|
634
|
+
if (changeAllow) this.allowAutoplay = false;
|
|
635
|
+
}
|
|
636
|
+
this.cd.markForCheck();
|
|
637
|
+
}
|
|
638
|
+
isPlaying() {
|
|
639
|
+
return !!this.interval;
|
|
640
|
+
}
|
|
641
|
+
onTransitionEnd() {
|
|
642
|
+
const itemsContainer = this.itemsContainer();
|
|
643
|
+
if (itemsContainer) {
|
|
644
|
+
!this.$unstyled() && addClass(itemsContainer.nativeElement, "h-items-hidden");
|
|
645
|
+
itemsContainer.nativeElement.style.transition = "";
|
|
646
|
+
if ((this.page() === 0 || this.page() === this.totalDots() - 1) && this.isCircular()) itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${this.totalShiftedItems * (100 / this.numVisible())}%, 0)` : `translate3d(${this.totalShiftedItems * (100 / this.numVisible())}%, 0, 0)`;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
onTouchStart(e) {
|
|
650
|
+
let touchobj = e.changedTouches[0];
|
|
651
|
+
this.startPos = {
|
|
652
|
+
x: touchobj.pageX,
|
|
653
|
+
y: touchobj.pageY
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
onTouchMove(e) {
|
|
657
|
+
if (e.cancelable) e.preventDefault();
|
|
658
|
+
}
|
|
659
|
+
onTouchEnd(e) {
|
|
660
|
+
let touchobj = e.changedTouches[0];
|
|
661
|
+
if (this.isVertical()) this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
662
|
+
else this.changePageOnTouch(e, touchobj.pageX - this.startPos.x);
|
|
663
|
+
}
|
|
664
|
+
changePageOnTouch(e, diff) {
|
|
665
|
+
if (Math.abs(diff) > this.swipeThreshold) if (diff < 0) this.navForward(e);
|
|
666
|
+
else this.navBackward(e);
|
|
667
|
+
}
|
|
668
|
+
ariaPrevButtonLabel() {
|
|
669
|
+
return this.config.translation.aria ? this.config.translation.aria?.prevPageLabel : void 0;
|
|
670
|
+
}
|
|
671
|
+
ariaSlideLabel() {
|
|
672
|
+
return this.config.translation.aria ? this.config.translation.aria?.slide : void 0;
|
|
673
|
+
}
|
|
674
|
+
ariaNextButtonLabel() {
|
|
675
|
+
return this.config.translation.aria ? this.config.translation.aria?.nextPageLabel : void 0;
|
|
676
|
+
}
|
|
677
|
+
ariaSlideNumber(value) {
|
|
678
|
+
return this.config.translation.aria ? this.config.translation.aria?.slideNumber?.replace(/{slideNumber}/g, value) : void 0;
|
|
679
|
+
}
|
|
680
|
+
ariaPageLabel(value) {
|
|
681
|
+
return this.config.translation.aria ? this.config.translation.aria?.pageLabel?.replace(/{page}/g, value) : void 0;
|
|
682
|
+
}
|
|
683
|
+
getIndicatorPTOptions(key, index) {
|
|
684
|
+
return this.ptm(key, { context: { highlighted: index === this._page } });
|
|
685
|
+
}
|
|
686
|
+
getItemPTOptions(key, index) {
|
|
687
|
+
return this.ptm(key, { context: {
|
|
688
|
+
index,
|
|
689
|
+
active: this.firstIndex() <= index && this.lastIndex() >= index,
|
|
690
|
+
start: this.firstIndex() === index,
|
|
691
|
+
end: this.lastIndex() === index
|
|
692
|
+
} });
|
|
693
|
+
}
|
|
694
|
+
bindDocumentListeners() {
|
|
695
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
696
|
+
if (!this.documentResizeListener) this.documentResizeListener = this.renderer.listen(this.window, "resize", (event) => {
|
|
697
|
+
this.calculatePosition();
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
unbindDocumentListeners() {
|
|
702
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
703
|
+
if (this.documentResizeListener) {
|
|
704
|
+
this.documentResizeListener();
|
|
705
|
+
this.documentResizeListener = null;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
onDestroy() {
|
|
710
|
+
if (this.responsiveOptions()) this.unbindDocumentListeners();
|
|
711
|
+
if (this.autoplayInterval()) this.stopAutoplay();
|
|
712
|
+
}
|
|
713
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
714
|
+
minVersion: "12.0.0",
|
|
715
|
+
version: "22.2.1",
|
|
716
|
+
ngImport: i0,
|
|
717
|
+
type: Carousel,
|
|
718
|
+
deps: [{ token: i0.ElementRef }, { token: i0.NgZone }],
|
|
719
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
720
|
+
});
|
|
721
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
722
|
+
minVersion: "17.0.0",
|
|
723
|
+
version: "22.2.1",
|
|
724
|
+
type: Carousel,
|
|
725
|
+
isStandalone: true,
|
|
726
|
+
selector: "h-carousel",
|
|
727
|
+
inputs: {
|
|
728
|
+
page: {
|
|
729
|
+
classPropertyName: "page",
|
|
730
|
+
publicName: "page",
|
|
731
|
+
isSignal: true,
|
|
732
|
+
isRequired: false,
|
|
733
|
+
transformFunction: null
|
|
734
|
+
},
|
|
735
|
+
numVisible: {
|
|
736
|
+
classPropertyName: "numVisible",
|
|
737
|
+
publicName: "numVisible",
|
|
738
|
+
isSignal: true,
|
|
739
|
+
isRequired: false,
|
|
740
|
+
transformFunction: null
|
|
741
|
+
},
|
|
742
|
+
numScroll: {
|
|
743
|
+
classPropertyName: "numScroll",
|
|
744
|
+
publicName: "numScroll",
|
|
745
|
+
isSignal: true,
|
|
746
|
+
isRequired: false,
|
|
747
|
+
transformFunction: null
|
|
748
|
+
},
|
|
749
|
+
responsiveOptions: {
|
|
750
|
+
classPropertyName: "responsiveOptions",
|
|
751
|
+
publicName: "responsiveOptions",
|
|
752
|
+
isSignal: true,
|
|
753
|
+
isRequired: false,
|
|
754
|
+
transformFunction: null
|
|
755
|
+
},
|
|
756
|
+
orientation: {
|
|
757
|
+
classPropertyName: "orientation",
|
|
758
|
+
publicName: "orientation",
|
|
759
|
+
isSignal: true,
|
|
760
|
+
isRequired: false,
|
|
761
|
+
transformFunction: null
|
|
762
|
+
},
|
|
763
|
+
verticalViewPortHeight: {
|
|
764
|
+
classPropertyName: "verticalViewPortHeight",
|
|
765
|
+
publicName: "verticalViewPortHeight",
|
|
766
|
+
isSignal: true,
|
|
767
|
+
isRequired: false,
|
|
768
|
+
transformFunction: null
|
|
769
|
+
},
|
|
770
|
+
contentClass: {
|
|
771
|
+
classPropertyName: "contentClass",
|
|
772
|
+
publicName: "contentClass",
|
|
773
|
+
isSignal: true,
|
|
774
|
+
isRequired: false,
|
|
775
|
+
transformFunction: null
|
|
776
|
+
},
|
|
777
|
+
indicatorsContentClass: {
|
|
778
|
+
classPropertyName: "indicatorsContentClass",
|
|
779
|
+
publicName: "indicatorsContentClass",
|
|
780
|
+
isSignal: true,
|
|
781
|
+
isRequired: false,
|
|
782
|
+
transformFunction: null
|
|
783
|
+
},
|
|
784
|
+
indicatorsContentStyle: {
|
|
785
|
+
classPropertyName: "indicatorsContentStyle",
|
|
786
|
+
publicName: "indicatorsContentStyle",
|
|
787
|
+
isSignal: true,
|
|
788
|
+
isRequired: false,
|
|
789
|
+
transformFunction: null
|
|
790
|
+
},
|
|
791
|
+
indicatorStyleClass: {
|
|
792
|
+
classPropertyName: "indicatorStyleClass",
|
|
793
|
+
publicName: "indicatorStyleClass",
|
|
794
|
+
isSignal: true,
|
|
795
|
+
isRequired: false,
|
|
796
|
+
transformFunction: null
|
|
797
|
+
},
|
|
798
|
+
indicatorStyle: {
|
|
799
|
+
classPropertyName: "indicatorStyle",
|
|
800
|
+
publicName: "indicatorStyle",
|
|
801
|
+
isSignal: true,
|
|
802
|
+
isRequired: false,
|
|
803
|
+
transformFunction: null
|
|
804
|
+
},
|
|
805
|
+
value: {
|
|
806
|
+
classPropertyName: "value",
|
|
807
|
+
publicName: "value",
|
|
808
|
+
isSignal: true,
|
|
809
|
+
isRequired: false,
|
|
810
|
+
transformFunction: null
|
|
811
|
+
},
|
|
812
|
+
circular: {
|
|
813
|
+
classPropertyName: "circular",
|
|
814
|
+
publicName: "circular",
|
|
815
|
+
isSignal: true,
|
|
816
|
+
isRequired: false,
|
|
817
|
+
transformFunction: null
|
|
818
|
+
},
|
|
819
|
+
showIndicators: {
|
|
820
|
+
classPropertyName: "showIndicators",
|
|
821
|
+
publicName: "showIndicators",
|
|
822
|
+
isSignal: true,
|
|
823
|
+
isRequired: false,
|
|
824
|
+
transformFunction: null
|
|
825
|
+
},
|
|
826
|
+
showNavigators: {
|
|
827
|
+
classPropertyName: "showNavigators",
|
|
828
|
+
publicName: "showNavigators",
|
|
829
|
+
isSignal: true,
|
|
830
|
+
isRequired: false,
|
|
831
|
+
transformFunction: null
|
|
832
|
+
},
|
|
833
|
+
autoplayInterval: {
|
|
834
|
+
classPropertyName: "autoplayInterval",
|
|
835
|
+
publicName: "autoplayInterval",
|
|
836
|
+
isSignal: true,
|
|
837
|
+
isRequired: false,
|
|
838
|
+
transformFunction: null
|
|
839
|
+
},
|
|
840
|
+
styleClass: {
|
|
841
|
+
classPropertyName: "styleClass",
|
|
842
|
+
publicName: "styleClass",
|
|
843
|
+
isSignal: true,
|
|
844
|
+
isRequired: false,
|
|
845
|
+
transformFunction: null
|
|
846
|
+
},
|
|
847
|
+
prevButtonProps: {
|
|
848
|
+
classPropertyName: "prevButtonProps",
|
|
849
|
+
publicName: "prevButtonProps",
|
|
850
|
+
isSignal: true,
|
|
851
|
+
isRequired: false,
|
|
852
|
+
transformFunction: null
|
|
853
|
+
},
|
|
854
|
+
nextButtonProps: {
|
|
855
|
+
classPropertyName: "nextButtonProps",
|
|
856
|
+
publicName: "nextButtonProps",
|
|
857
|
+
isSignal: true,
|
|
858
|
+
isRequired: false,
|
|
859
|
+
transformFunction: null
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
outputs: {
|
|
863
|
+
page: "pageChange",
|
|
864
|
+
numVisible: "numVisibleChange",
|
|
865
|
+
numScroll: "numScrollChange",
|
|
866
|
+
onPage: "onPage"
|
|
867
|
+
},
|
|
868
|
+
host: { properties: {
|
|
869
|
+
"attr.id": "id",
|
|
870
|
+
"attr.role": "'region'",
|
|
871
|
+
"class": "cn(cx('root'), styleClass())"
|
|
872
|
+
} },
|
|
873
|
+
providers: [CarouselStyle, {
|
|
874
|
+
provide: PARENT_INSTANCE,
|
|
875
|
+
useExisting: Carousel
|
|
876
|
+
}],
|
|
877
|
+
queries: [
|
|
878
|
+
{
|
|
879
|
+
propertyName: "headerFacet",
|
|
880
|
+
first: true,
|
|
881
|
+
predicate: Header,
|
|
882
|
+
descendants: true,
|
|
883
|
+
isSignal: true
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
propertyName: "footerFacet",
|
|
887
|
+
first: true,
|
|
888
|
+
predicate: Footer,
|
|
889
|
+
descendants: true,
|
|
890
|
+
isSignal: true
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
propertyName: "itemTemplate",
|
|
894
|
+
first: true,
|
|
895
|
+
predicate: ["item"],
|
|
896
|
+
isSignal: true
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
propertyName: "headerTemplate",
|
|
900
|
+
first: true,
|
|
901
|
+
predicate: ["header"],
|
|
902
|
+
isSignal: true
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
propertyName: "footerTemplate",
|
|
906
|
+
first: true,
|
|
907
|
+
predicate: ["footer"],
|
|
908
|
+
isSignal: true
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
propertyName: "previousIconTemplate",
|
|
912
|
+
first: true,
|
|
913
|
+
predicate: ["previousicon"],
|
|
914
|
+
isSignal: true
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
propertyName: "nextIconTemplate",
|
|
918
|
+
first: true,
|
|
919
|
+
predicate: ["nexticon"],
|
|
920
|
+
isSignal: true
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
propertyName: "templates",
|
|
924
|
+
predicate: HelixTemplate,
|
|
925
|
+
isSignal: true
|
|
926
|
+
}
|
|
927
|
+
],
|
|
928
|
+
viewQueries: [{
|
|
929
|
+
propertyName: "itemsContainer",
|
|
930
|
+
first: true,
|
|
931
|
+
predicate: ["itemsContainer"],
|
|
932
|
+
descendants: true,
|
|
933
|
+
isSignal: true
|
|
934
|
+
}, {
|
|
935
|
+
propertyName: "indicatorContent",
|
|
936
|
+
first: true,
|
|
937
|
+
predicate: ["indicatorContent"],
|
|
938
|
+
descendants: true,
|
|
939
|
+
isSignal: true
|
|
940
|
+
}],
|
|
941
|
+
usesInheritance: true,
|
|
942
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
943
|
+
ngImport: i0,
|
|
944
|
+
template: "@if (headerFacet() || headerTemplate()) {\n <div [class]=\"cx('header')\" [hBind]=\"ptm('header')\">\n <ng-content select=\"h-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\n </div>\n}\n<div [class]=\"contentClass()\" [ngClass]=\"cx('contentContainer')\" [hBind]=\"ptm('contentContainer')\">\n <div [class]=\"cx('content')\" [attr.aria-live]=\"allowAutoplay ? 'polite' : 'off'\" [hBind]=\"ptm('content')\">\n @if (showNavigators()) {\n <h-button\n [class]=\"cx('pcPrevButton')\"\n [attr.aria-label]=\"ariaPrevButtonLabel()\"\n (click)=\"navBackward($event)\"\n [text]=\"true\"\n [buttonProps]=\"prevButtonProps()\"\n [pt]=\"ptm('pcPrevButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!previousIconTemplate() && !_previousIconTemplate && !prevButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-left\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-up\" />\n }\n }\n @if ((previousIconTemplate() || _previousIconTemplate) && !prevButtonProps()?.icon) {\n <ng-template *ngTemplateOutlet=\"previousIconTemplate() || _previousIconTemplate\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n <div [class]=\"cx('viewport')\" [ngStyle]=\"{ height: isVertical() ? verticalViewPortHeight() : 'auto' }\" (touchend)=\"onTouchEnd($event)\" (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\" [hBind]=\"ptm('viewport')\">\n <div #itemsContainer [class]=\"cx('itemList')\" (transitionend)=\"onTransitionEnd()\" [hBind]=\"ptm('itemList')\">\n @for (item of clonedItemsForStarting; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.aria-hidden]=\"!(totalShiftedItems * -1 === value().length)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"totalShiftedItems * -1 === value().length + _numVisible\"\n [attr.data-h-carousel-item-start]=\"index === 0\"\n [attr.data-h-carousel-item-end]=\"clonedItemsForStarting && clonedItemsForStarting.length - 1 === index\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of value(); track item; let index = $index) {\n <div\n [class]=\"cx('item', { index })\"\n role=\"group\"\n [attr.aria-hidden]=\"!(firstIndex() <= index && lastIndex() >= index)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"firstIndex() <= index && lastIndex() >= index\"\n [attr.data-h-carousel-item-start]=\"firstIndex() === index\"\n [attr.data-h-carousel-item-end]=\"lastIndex() === index\"\n [hBind]=\"getItemPTOptions('item', index)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of clonedItemsForFinishing; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.data-h-carousel-item-active]=\"false\"\n [attr.data-h-carousel-item-start]=\"false\"\n [attr.data-h-carousel-item-end]=\"false\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n </div>\n </div>\n @if (showNavigators()) {\n <h-button\n type=\"button\"\n [class]=\"cx('pcNextButton')\"\n (click)=\"navForward($event)\"\n [attr.aria-label]=\"ariaNextButtonLabel()\"\n [buttonProps]=\"nextButtonProps()\"\n [text]=\"true\"\n [pt]=\"ptm('pcNextButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!nextIconTemplate() && !_nextIconTemplate && !nextButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-right\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-down\" />\n }\n }\n @if (nextIconTemplate() || (_nextIconTemplate && !nextButtonProps()?.icon)) {\n <span>\n <ng-template *ngTemplateOutlet=\"nextIconTemplate() || _nextIconTemplate\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n @if (showIndicators()) {\n <ul #indicatorContent [class]=\"cx('indicatorList')\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\" [hBind]=\"ptm('indicatorList')\">\n @for (totalDot of totalDotsArray(); track totalDot; let i = $index) {\n <li [class]=\"cx('indicator', { index: i })\" [attr.data-h-active]=\"_page === i\" [hBind]=\"getIndicatorPTOptions('indicator', i)\">\n <button\n type=\"button\"\n [class]=\"cx('indicatorButton')\"\n (click)=\"onDotClick($event, i)\"\n [ngStyle]=\"indicatorStyle()\"\n [attr.aria-label]=\"ariaPageLabel(i + 1)\"\n [attr.aria-current]=\"_page === i ? 'page' : undefined\"\n [tabindex]=\"_page === i ? 0 : -1\"\n [hBind]=\"getIndicatorPTOptions('indicatorButton', i)\"\n ></button>\n </li>\n }\n </ul>\n }\n</div>\n@if (footerFacet() || footerTemplate() || _footerTemplate) {\n <div [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n}\n",
|
|
945
|
+
dependencies: [
|
|
946
|
+
{
|
|
947
|
+
kind: "ngmodule",
|
|
948
|
+
type: CommonModule
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
kind: "directive",
|
|
952
|
+
type: i2.NgClass,
|
|
953
|
+
selector: "[ngClass]",
|
|
954
|
+
inputs: ["class", "ngClass"]
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
kind: "directive",
|
|
958
|
+
type: i2.NgTemplateOutlet,
|
|
959
|
+
selector: "[ngTemplateOutlet]",
|
|
960
|
+
inputs: [
|
|
961
|
+
"ngTemplateOutletContext",
|
|
962
|
+
"ngTemplateOutlet",
|
|
963
|
+
"ngTemplateOutletInjector"
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
kind: "directive",
|
|
968
|
+
type: i2.NgStyle,
|
|
969
|
+
selector: "[ngStyle]",
|
|
970
|
+
inputs: ["ngStyle"]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
kind: "component",
|
|
974
|
+
type: ChevronRightIcon,
|
|
975
|
+
selector: "[data-h-icon=\"chevron-right\"]"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
kind: "ngmodule",
|
|
979
|
+
type: ButtonModule
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
kind: "component",
|
|
983
|
+
type: i3.Button,
|
|
984
|
+
selector: "h-button",
|
|
985
|
+
inputs: [
|
|
986
|
+
"hostName",
|
|
987
|
+
"type",
|
|
988
|
+
"badge",
|
|
989
|
+
"disabled",
|
|
990
|
+
"raised",
|
|
991
|
+
"rounded",
|
|
992
|
+
"text",
|
|
993
|
+
"plain",
|
|
994
|
+
"outlined",
|
|
995
|
+
"link",
|
|
996
|
+
"tabindex",
|
|
997
|
+
"size",
|
|
998
|
+
"variant",
|
|
999
|
+
"style",
|
|
1000
|
+
"styleClass",
|
|
1001
|
+
"badgeClass",
|
|
1002
|
+
"badgeSeverity",
|
|
1003
|
+
"ariaLabel",
|
|
1004
|
+
"autofocus",
|
|
1005
|
+
"iconPos",
|
|
1006
|
+
"icon",
|
|
1007
|
+
"label",
|
|
1008
|
+
"loading",
|
|
1009
|
+
"loadingIcon",
|
|
1010
|
+
"severity",
|
|
1011
|
+
"buttonProps",
|
|
1012
|
+
"fluid"
|
|
1013
|
+
],
|
|
1014
|
+
outputs: [
|
|
1015
|
+
"onClick",
|
|
1016
|
+
"onFocus",
|
|
1017
|
+
"onBlur"
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
kind: "component",
|
|
1022
|
+
type: ChevronLeftIcon,
|
|
1023
|
+
selector: "[data-h-icon=\"chevron-left\"]"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
kind: "component",
|
|
1027
|
+
type: ChevronDownIcon,
|
|
1028
|
+
selector: "[data-h-icon=\"chevron-down\"]"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
kind: "component",
|
|
1032
|
+
type: ChevronUpIcon,
|
|
1033
|
+
selector: "[data-h-icon=\"chevron-up\"]"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
kind: "ngmodule",
|
|
1037
|
+
type: SharedModule
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
kind: "ngmodule",
|
|
1041
|
+
type: BindModule
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
kind: "directive",
|
|
1045
|
+
type: i1.Bind,
|
|
1046
|
+
selector: "[hBind]",
|
|
1047
|
+
inputs: ["hBind"]
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1051
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1052
|
+
});
|
|
1053
|
+
};
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1055
|
+
minVersion: "12.0.0",
|
|
1056
|
+
version: "22.2.1",
|
|
1057
|
+
ngImport: i0,
|
|
1058
|
+
type: Carousel,
|
|
1059
|
+
decorators: [{
|
|
1060
|
+
type: Component,
|
|
1061
|
+
args: [{
|
|
1062
|
+
selector: "h-carousel",
|
|
1063
|
+
standalone: true,
|
|
1064
|
+
imports: [
|
|
1065
|
+
CommonModule,
|
|
1066
|
+
ChevronRightIcon,
|
|
1067
|
+
ButtonModule,
|
|
1068
|
+
ChevronLeftIcon,
|
|
1069
|
+
ChevronDownIcon,
|
|
1070
|
+
ChevronUpIcon,
|
|
1071
|
+
SharedModule,
|
|
1072
|
+
BindModule
|
|
1073
|
+
],
|
|
1074
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1075
|
+
encapsulation: ViewEncapsulation.None,
|
|
1076
|
+
providers: [CarouselStyle, {
|
|
1077
|
+
provide: PARENT_INSTANCE,
|
|
1078
|
+
useExisting: Carousel
|
|
1079
|
+
}],
|
|
1080
|
+
hostDirectives: [Bind],
|
|
1081
|
+
host: {
|
|
1082
|
+
"[attr.id]": "id",
|
|
1083
|
+
"[attr.role]": "'region'",
|
|
1084
|
+
"[class]": "cn(cx('root'), styleClass())"
|
|
1085
|
+
},
|
|
1086
|
+
template: "@if (headerFacet() || headerTemplate()) {\n <div [class]=\"cx('header')\" [hBind]=\"ptm('header')\">\n <ng-content select=\"h-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\n </div>\n}\n<div [class]=\"contentClass()\" [ngClass]=\"cx('contentContainer')\" [hBind]=\"ptm('contentContainer')\">\n <div [class]=\"cx('content')\" [attr.aria-live]=\"allowAutoplay ? 'polite' : 'off'\" [hBind]=\"ptm('content')\">\n @if (showNavigators()) {\n <h-button\n [class]=\"cx('pcPrevButton')\"\n [attr.aria-label]=\"ariaPrevButtonLabel()\"\n (click)=\"navBackward($event)\"\n [text]=\"true\"\n [buttonProps]=\"prevButtonProps()\"\n [pt]=\"ptm('pcPrevButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!previousIconTemplate() && !_previousIconTemplate && !prevButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-left\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-up\" />\n }\n }\n @if ((previousIconTemplate() || _previousIconTemplate) && !prevButtonProps()?.icon) {\n <ng-template *ngTemplateOutlet=\"previousIconTemplate() || _previousIconTemplate\"></ng-template>\n }\n </ng-template>\n </h-button>\n }\n <div [class]=\"cx('viewport')\" [ngStyle]=\"{ height: isVertical() ? verticalViewPortHeight() : 'auto' }\" (touchend)=\"onTouchEnd($event)\" (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\" [hBind]=\"ptm('viewport')\">\n <div #itemsContainer [class]=\"cx('itemList')\" (transitionend)=\"onTransitionEnd()\" [hBind]=\"ptm('itemList')\">\n @for (item of clonedItemsForStarting; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.aria-hidden]=\"!(totalShiftedItems * -1 === value().length)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"totalShiftedItems * -1 === value().length + _numVisible\"\n [attr.data-h-carousel-item-start]=\"index === 0\"\n [attr.data-h-carousel-item-end]=\"clonedItemsForStarting && clonedItemsForStarting.length - 1 === index\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of value(); track item; let index = $index) {\n <div\n [class]=\"cx('item', { index })\"\n role=\"group\"\n [attr.aria-hidden]=\"!(firstIndex() <= index && lastIndex() >= index)\"\n [attr.aria-label]=\"ariaSlideNumber(index)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n [attr.data-h-carousel-item-active]=\"firstIndex() <= index && lastIndex() >= index\"\n [attr.data-h-carousel-item-start]=\"firstIndex() === index\"\n [attr.data-h-carousel-item-end]=\"lastIndex() === index\"\n [hBind]=\"getItemPTOptions('item', index)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n @for (item of clonedItemsForFinishing; track item; let index = $index) {\n <div\n [class]=\"cx('itemClone', { index })\"\n [attr.data-h-carousel-item-active]=\"false\"\n [attr.data-h-carousel-item-start]=\"false\"\n [attr.data-h-carousel-item-end]=\"false\"\n [hBind]=\"ptm('itemClone')\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n }\n </div>\n </div>\n @if (showNavigators()) {\n <h-button\n type=\"button\"\n [class]=\"cx('pcNextButton')\"\n (click)=\"navForward($event)\"\n [attr.aria-label]=\"ariaNextButtonLabel()\"\n [buttonProps]=\"nextButtonProps()\"\n [text]=\"true\"\n [pt]=\"ptm('pcNextButton')\"\n [unstyled]=\"unstyled()\"\n attr.data-pc-group-section=\"navigator\"\n >\n <ng-template #icon>\n @if (!nextIconTemplate() && !_nextIconTemplate && !nextButtonProps()?.icon) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-right\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-down\" />\n }\n }\n @if (nextIconTemplate() || (_nextIconTemplate && !nextButtonProps()?.icon)) {\n <span>\n <ng-template *ngTemplateOutlet=\"nextIconTemplate() || _nextIconTemplate\"></ng-template>\n </span>\n }\n </ng-template>\n </h-button>\n }\n </div>\n @if (showIndicators()) {\n <ul #indicatorContent [class]=\"cx('indicatorList')\" [ngStyle]=\"indicatorsContentStyle()\" (keydown)=\"onIndicatorKeydown($event)\" [hBind]=\"ptm('indicatorList')\">\n @for (totalDot of totalDotsArray(); track totalDot; let i = $index) {\n <li [class]=\"cx('indicator', { index: i })\" [attr.data-h-active]=\"_page === i\" [hBind]=\"getIndicatorPTOptions('indicator', i)\">\n <button\n type=\"button\"\n [class]=\"cx('indicatorButton')\"\n (click)=\"onDotClick($event, i)\"\n [ngStyle]=\"indicatorStyle()\"\n [attr.aria-label]=\"ariaPageLabel(i + 1)\"\n [attr.aria-current]=\"_page === i ? 'page' : undefined\"\n [tabindex]=\"_page === i ? 0 : -1\"\n [hBind]=\"getIndicatorPTOptions('indicatorButton', i)\"\n ></button>\n </li>\n }\n </ul>\n }\n</div>\n@if (footerFacet() || footerTemplate() || _footerTemplate) {\n <div [class]=\"cx('footer')\" [hBind]=\"ptm('footer')\">\n <ng-content select=\"h-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n}\n"
|
|
1087
|
+
}]
|
|
1088
|
+
}],
|
|
1089
|
+
ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }],
|
|
1090
|
+
propDecorators: {
|
|
1091
|
+
page: [{
|
|
1092
|
+
type: i0.Input,
|
|
1093
|
+
args: [{
|
|
1094
|
+
isSignal: true,
|
|
1095
|
+
alias: "page",
|
|
1096
|
+
required: false
|
|
1097
|
+
}]
|
|
1098
|
+
}, {
|
|
1099
|
+
type: i0.Output,
|
|
1100
|
+
args: ["pageChange"]
|
|
1101
|
+
}],
|
|
1102
|
+
numVisible: [{
|
|
1103
|
+
type: i0.Input,
|
|
1104
|
+
args: [{
|
|
1105
|
+
isSignal: true,
|
|
1106
|
+
alias: "numVisible",
|
|
1107
|
+
required: false
|
|
1108
|
+
}]
|
|
1109
|
+
}, {
|
|
1110
|
+
type: i0.Output,
|
|
1111
|
+
args: ["numVisibleChange"]
|
|
1112
|
+
}],
|
|
1113
|
+
numScroll: [{
|
|
1114
|
+
type: i0.Input,
|
|
1115
|
+
args: [{
|
|
1116
|
+
isSignal: true,
|
|
1117
|
+
alias: "numScroll",
|
|
1118
|
+
required: false
|
|
1119
|
+
}]
|
|
1120
|
+
}, {
|
|
1121
|
+
type: i0.Output,
|
|
1122
|
+
args: ["numScrollChange"]
|
|
1123
|
+
}],
|
|
1124
|
+
responsiveOptions: [{
|
|
1125
|
+
type: i0.Input,
|
|
1126
|
+
args: [{
|
|
1127
|
+
isSignal: true,
|
|
1128
|
+
alias: "responsiveOptions",
|
|
1129
|
+
required: false
|
|
1130
|
+
}]
|
|
1131
|
+
}],
|
|
1132
|
+
orientation: [{
|
|
1133
|
+
type: i0.Input,
|
|
1134
|
+
args: [{
|
|
1135
|
+
isSignal: true,
|
|
1136
|
+
alias: "orientation",
|
|
1137
|
+
required: false
|
|
1138
|
+
}]
|
|
1139
|
+
}],
|
|
1140
|
+
verticalViewPortHeight: [{
|
|
1141
|
+
type: i0.Input,
|
|
1142
|
+
args: [{
|
|
1143
|
+
isSignal: true,
|
|
1144
|
+
alias: "verticalViewPortHeight",
|
|
1145
|
+
required: false
|
|
1146
|
+
}]
|
|
1147
|
+
}],
|
|
1148
|
+
contentClass: [{
|
|
1149
|
+
type: i0.Input,
|
|
1150
|
+
args: [{
|
|
1151
|
+
isSignal: true,
|
|
1152
|
+
alias: "contentClass",
|
|
1153
|
+
required: false
|
|
1154
|
+
}]
|
|
1155
|
+
}],
|
|
1156
|
+
indicatorsContentClass: [{
|
|
1157
|
+
type: i0.Input,
|
|
1158
|
+
args: [{
|
|
1159
|
+
isSignal: true,
|
|
1160
|
+
alias: "indicatorsContentClass",
|
|
1161
|
+
required: false
|
|
1162
|
+
}]
|
|
1163
|
+
}],
|
|
1164
|
+
indicatorsContentStyle: [{
|
|
1165
|
+
type: i0.Input,
|
|
1166
|
+
args: [{
|
|
1167
|
+
isSignal: true,
|
|
1168
|
+
alias: "indicatorsContentStyle",
|
|
1169
|
+
required: false
|
|
1170
|
+
}]
|
|
1171
|
+
}],
|
|
1172
|
+
indicatorStyleClass: [{
|
|
1173
|
+
type: i0.Input,
|
|
1174
|
+
args: [{
|
|
1175
|
+
isSignal: true,
|
|
1176
|
+
alias: "indicatorStyleClass",
|
|
1177
|
+
required: false
|
|
1178
|
+
}]
|
|
1179
|
+
}],
|
|
1180
|
+
indicatorStyle: [{
|
|
1181
|
+
type: i0.Input,
|
|
1182
|
+
args: [{
|
|
1183
|
+
isSignal: true,
|
|
1184
|
+
alias: "indicatorStyle",
|
|
1185
|
+
required: false
|
|
1186
|
+
}]
|
|
1187
|
+
}],
|
|
1188
|
+
value: [{
|
|
1189
|
+
type: i0.Input,
|
|
1190
|
+
args: [{
|
|
1191
|
+
isSignal: true,
|
|
1192
|
+
alias: "value",
|
|
1193
|
+
required: false
|
|
1194
|
+
}]
|
|
1195
|
+
}],
|
|
1196
|
+
circular: [{
|
|
1197
|
+
type: i0.Input,
|
|
1198
|
+
args: [{
|
|
1199
|
+
isSignal: true,
|
|
1200
|
+
alias: "circular",
|
|
1201
|
+
required: false
|
|
1202
|
+
}]
|
|
1203
|
+
}],
|
|
1204
|
+
showIndicators: [{
|
|
1205
|
+
type: i0.Input,
|
|
1206
|
+
args: [{
|
|
1207
|
+
isSignal: true,
|
|
1208
|
+
alias: "showIndicators",
|
|
1209
|
+
required: false
|
|
1210
|
+
}]
|
|
1211
|
+
}],
|
|
1212
|
+
showNavigators: [{
|
|
1213
|
+
type: i0.Input,
|
|
1214
|
+
args: [{
|
|
1215
|
+
isSignal: true,
|
|
1216
|
+
alias: "showNavigators",
|
|
1217
|
+
required: false
|
|
1218
|
+
}]
|
|
1219
|
+
}],
|
|
1220
|
+
autoplayInterval: [{
|
|
1221
|
+
type: i0.Input,
|
|
1222
|
+
args: [{
|
|
1223
|
+
isSignal: true,
|
|
1224
|
+
alias: "autoplayInterval",
|
|
1225
|
+
required: false
|
|
1226
|
+
}]
|
|
1227
|
+
}],
|
|
1228
|
+
styleClass: [{
|
|
1229
|
+
type: i0.Input,
|
|
1230
|
+
args: [{
|
|
1231
|
+
isSignal: true,
|
|
1232
|
+
alias: "styleClass",
|
|
1233
|
+
required: false
|
|
1234
|
+
}]
|
|
1235
|
+
}],
|
|
1236
|
+
prevButtonProps: [{
|
|
1237
|
+
type: i0.Input,
|
|
1238
|
+
args: [{
|
|
1239
|
+
isSignal: true,
|
|
1240
|
+
alias: "prevButtonProps",
|
|
1241
|
+
required: false
|
|
1242
|
+
}]
|
|
1243
|
+
}],
|
|
1244
|
+
nextButtonProps: [{
|
|
1245
|
+
type: i0.Input,
|
|
1246
|
+
args: [{
|
|
1247
|
+
isSignal: true,
|
|
1248
|
+
alias: "nextButtonProps",
|
|
1249
|
+
required: false
|
|
1250
|
+
}]
|
|
1251
|
+
}],
|
|
1252
|
+
onPage: [{
|
|
1253
|
+
type: i0.Output,
|
|
1254
|
+
args: ["onPage"]
|
|
1255
|
+
}],
|
|
1256
|
+
itemsContainer: [{
|
|
1257
|
+
type: i0.ViewChild,
|
|
1258
|
+
args: ["itemsContainer", { isSignal: true }]
|
|
1259
|
+
}],
|
|
1260
|
+
indicatorContent: [{
|
|
1261
|
+
type: i0.ViewChild,
|
|
1262
|
+
args: ["indicatorContent", { isSignal: true }]
|
|
1263
|
+
}],
|
|
1264
|
+
headerFacet: [{
|
|
1265
|
+
type: i0.ContentChild,
|
|
1266
|
+
args: [i0.forwardRef(() => Header), { isSignal: true }]
|
|
1267
|
+
}],
|
|
1268
|
+
footerFacet: [{
|
|
1269
|
+
type: i0.ContentChild,
|
|
1270
|
+
args: [i0.forwardRef(() => Footer), { isSignal: true }]
|
|
1271
|
+
}],
|
|
1272
|
+
itemTemplate: [{
|
|
1273
|
+
type: i0.ContentChild,
|
|
1274
|
+
args: ["item", {
|
|
1275
|
+
descendants: false,
|
|
1276
|
+
isSignal: true
|
|
1277
|
+
}]
|
|
1278
|
+
}],
|
|
1279
|
+
headerTemplate: [{
|
|
1280
|
+
type: i0.ContentChild,
|
|
1281
|
+
args: ["header", {
|
|
1282
|
+
descendants: false,
|
|
1283
|
+
isSignal: true
|
|
1284
|
+
}]
|
|
1285
|
+
}],
|
|
1286
|
+
footerTemplate: [{
|
|
1287
|
+
type: i0.ContentChild,
|
|
1288
|
+
args: ["footer", {
|
|
1289
|
+
descendants: false,
|
|
1290
|
+
isSignal: true
|
|
1291
|
+
}]
|
|
1292
|
+
}],
|
|
1293
|
+
previousIconTemplate: [{
|
|
1294
|
+
type: i0.ContentChild,
|
|
1295
|
+
args: ["previousicon", {
|
|
1296
|
+
descendants: false,
|
|
1297
|
+
isSignal: true
|
|
1298
|
+
}]
|
|
1299
|
+
}],
|
|
1300
|
+
nextIconTemplate: [{
|
|
1301
|
+
type: i0.ContentChild,
|
|
1302
|
+
args: ["nexticon", {
|
|
1303
|
+
descendants: false,
|
|
1304
|
+
isSignal: true
|
|
1305
|
+
}]
|
|
1306
|
+
}],
|
|
1307
|
+
templates: [{
|
|
1308
|
+
type: i0.ContentChildren,
|
|
1309
|
+
args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
|
|
1310
|
+
}]
|
|
1311
|
+
}
|
|
1312
|
+
});
|
|
1313
|
+
var CarouselModule = class CarouselModule {
|
|
1314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1315
|
+
minVersion: "12.0.0",
|
|
1316
|
+
version: "22.2.1",
|
|
1317
|
+
ngImport: i0,
|
|
1318
|
+
type: CarouselModule,
|
|
1319
|
+
deps: [],
|
|
1320
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
1321
|
+
});
|
|
1322
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1323
|
+
minVersion: "14.0.0",
|
|
1324
|
+
version: "22.2.1",
|
|
1325
|
+
ngImport: i0,
|
|
1326
|
+
type: CarouselModule,
|
|
1327
|
+
imports: [Carousel, SharedModule],
|
|
1328
|
+
exports: [Carousel, SharedModule]
|
|
1329
|
+
});
|
|
1330
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1331
|
+
minVersion: "12.0.0",
|
|
1332
|
+
version: "22.2.1",
|
|
1333
|
+
ngImport: i0,
|
|
1334
|
+
type: CarouselModule,
|
|
1335
|
+
imports: [
|
|
1336
|
+
Carousel,
|
|
1337
|
+
SharedModule,
|
|
1338
|
+
SharedModule
|
|
1339
|
+
]
|
|
1340
|
+
});
|
|
1341
|
+
};
|
|
1342
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1343
|
+
minVersion: "12.0.0",
|
|
1344
|
+
version: "22.2.1",
|
|
1345
|
+
ngImport: i0,
|
|
1346
|
+
type: CarouselModule,
|
|
1347
|
+
decorators: [{
|
|
1348
|
+
type: NgModule,
|
|
1349
|
+
args: [{
|
|
1350
|
+
imports: [Carousel, SharedModule],
|
|
1351
|
+
exports: [Carousel, SharedModule]
|
|
1352
|
+
}]
|
|
1353
|
+
}]
|
|
1354
|
+
});
|
|
1016
1355
|
export { Carousel, CarouselClasses, CarouselModule, CarouselStyle };
|
|
1017
|
-
|
|
1356
|
+
|
|
1357
|
+
//# sourceMappingURL=gravionlabs-helix-core-carousel.mjs.map
|