@gravionlabs/helix-core 22.1.2 → 22.1.3
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,23 +1,22 @@
|
|
|
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
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
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, InjectionToken, NgModule, ViewEncapsulation, booleanAttribute, computed, contentChild, contentChildren, effect, inject, input, model, numberAttribute, output, signal, viewChild } from "@angular/core";
|
|
5
|
+
import { addClass, find, findSingle, focus, getAttribute, removeClass, setAttribute, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
6
|
+
import { 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 { blockBodyScroll, unblockBodyScroll } from "@gravionlabs/helix-core/dom";
|
|
11
|
+
import { FocusTrap } from "@gravionlabs/helix-core/focustrap";
|
|
12
|
+
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, TimesIcon } from "@gravionlabs/helix-core/icons";
|
|
13
|
+
import * as i3 from "@gravionlabs/helix-core/motion";
|
|
14
|
+
import { MotionModule } from "@gravionlabs/helix-core/motion";
|
|
15
|
+
import { Ripple } from "@gravionlabs/helix-core/ripple";
|
|
16
|
+
import { ZIndexUtils } from "@gravionlabs/helix-core/utils";
|
|
17
|
+
import { BaseStyle } from "@gravionlabs/helix-core/base";
|
|
18
|
+
export * from "@gravionlabs/helix-core/types/galleria";
|
|
19
|
+
const style = `
|
|
21
20
|
.h-galleria {
|
|
22
21
|
overflow: hidden;
|
|
23
22
|
border-style: solid;
|
|
@@ -477,1454 +476,2806 @@ const style = /*css*/ `
|
|
|
477
476
|
}
|
|
478
477
|
}
|
|
479
478
|
`;
|
|
480
|
-
|
|
481
479
|
const classes = {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
],
|
|
548
|
-
thumbnail: 'h-galleria-thumbnail',
|
|
549
|
-
thumbnailNextButton: ({ instance }) => [
|
|
550
|
-
'h-galleria-thumbnail-next-button h-galleria-thumbnail-nav-button',
|
|
551
|
-
{
|
|
552
|
-
'h-disabled': instance.isNavForwardDisabled()
|
|
553
|
-
}
|
|
554
|
-
],
|
|
555
|
-
thumbnailNextIcon: 'h-galleria-thumbnail-next-icon'
|
|
480
|
+
mask: "h-galleria-mask h-overlay-mask",
|
|
481
|
+
root: ({ instance }) => {
|
|
482
|
+
const thumbnailsPosClass = instance.galleria.showThumbnails && instance.getPositionClass("h-galleria-thumbnails", instance.galleria.thumbnailsPosition);
|
|
483
|
+
const indicatorPosClass = instance.galleria.showIndicators && instance.getPositionClass("h-galleria-indicators", instance.galleria.indicatorsPosition);
|
|
484
|
+
return [
|
|
485
|
+
"h-galleria h-component",
|
|
486
|
+
{
|
|
487
|
+
"h-galleria-fullscreen": instance.galleria.fullScreen(),
|
|
488
|
+
"h-galleria-inset-indicators": instance.galleria.showIndicatorsOnItem,
|
|
489
|
+
"h-galleria-hover-navigators": instance.galleria.showItemNavigatorsOnHover && !instance.galleria.fullScreen()
|
|
490
|
+
},
|
|
491
|
+
thumbnailsPosClass,
|
|
492
|
+
indicatorPosClass
|
|
493
|
+
];
|
|
494
|
+
},
|
|
495
|
+
closeButton: "h-galleria-close-button",
|
|
496
|
+
closeIcon: "h-galleria-close-icon",
|
|
497
|
+
header: "h-galleria-header",
|
|
498
|
+
content: "h-galleria-content",
|
|
499
|
+
footer: "h-galleria-footer",
|
|
500
|
+
itemsContainer: "h-galleria-items-container",
|
|
501
|
+
items: "h-galleria-items",
|
|
502
|
+
prevButton: ({ instance }) => ["h-galleria-prev-button h-galleria-nav-button", { "h-disabled": instance.isNavBackwardDisabled() }],
|
|
503
|
+
prevIcon: "h-galleria-prev-icon",
|
|
504
|
+
item: "h-galleria-item",
|
|
505
|
+
nextButton: ({ instance }) => ["h-galleria-next-button h-galleria-nav-button", { "h-disabled": instance.isNavForwardDisabled() }],
|
|
506
|
+
nextIcon: "h-galleria-next-icon",
|
|
507
|
+
caption: "h-galleria-caption",
|
|
508
|
+
indicatorList: "h-galleria-indicator-list",
|
|
509
|
+
indicator: ({ instance, index }) => ["h-galleria-indicator", { "h-galleria-indicator-active": instance.isIndicatorItemActive(index) }],
|
|
510
|
+
indicatorButton: "h-galleria-indicator-button",
|
|
511
|
+
thumbnails: "h-galleria-thumbnails",
|
|
512
|
+
thumbnailContent: "h-galleria-thumbnails-content",
|
|
513
|
+
thumbnailPrevButton: ({ instance }) => ["h-galleria-thumbnail-prev-button h-galleria-thumbnail-nav-button", { "h-disabled": instance.isNavBackwardDisabled() }],
|
|
514
|
+
thumbnailPrevIcon: "h-galleria-thumbnail-prev-icon",
|
|
515
|
+
thumbnailsViewport: "h-galleria-thumbnails-viewport",
|
|
516
|
+
thumbnailItems: "h-galleria-thumbnail-items",
|
|
517
|
+
thumbnailItem: ({ instance, index, activeIndex }) => ["h-galleria-thumbnail-item", {
|
|
518
|
+
"h-galleria-thumbnail-item-current": activeIndex === index,
|
|
519
|
+
"h-galleria-thumbnail-item-active": instance.isItemActive(index),
|
|
520
|
+
"h-galleria-thumbnail-item-start": instance.firstItemAciveIndex() === index,
|
|
521
|
+
"h-galleria-thumbnail-item-end": instance.lastItemActiveIndex() === index
|
|
522
|
+
}],
|
|
523
|
+
thumbnail: "h-galleria-thumbnail",
|
|
524
|
+
thumbnailNextButton: ({ instance }) => ["h-galleria-thumbnail-next-button h-galleria-thumbnail-nav-button", { "h-disabled": instance.isNavForwardDisabled() }],
|
|
525
|
+
thumbnailNextIcon: "h-galleria-thumbnail-next-icon"
|
|
526
|
+
};
|
|
527
|
+
var GalleriaStyle = class GalleriaStyle extends BaseStyle {
|
|
528
|
+
name = "galleria";
|
|
529
|
+
style = style;
|
|
530
|
+
classes = classes;
|
|
531
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
532
|
+
minVersion: "12.0.0",
|
|
533
|
+
version: "22.2.1",
|
|
534
|
+
ngImport: i0,
|
|
535
|
+
type: GalleriaStyle,
|
|
536
|
+
deps: null,
|
|
537
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
538
|
+
});
|
|
539
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
540
|
+
minVersion: "12.0.0",
|
|
541
|
+
version: "22.2.1",
|
|
542
|
+
ngImport: i0,
|
|
543
|
+
type: GalleriaStyle
|
|
544
|
+
});
|
|
556
545
|
};
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}
|
|
564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: GalleriaStyle, decorators: [{
|
|
565
|
-
type: Injectable
|
|
566
|
-
}] });
|
|
567
|
-
/**
|
|
568
|
-
*
|
|
569
|
-
* Galleria is an advanced content gallery component.
|
|
570
|
-
*
|
|
571
|
-
* [Live Demo](https://www.primeng.org/galleria/)
|
|
572
|
-
*
|
|
573
|
-
* @module galleriastyle
|
|
574
|
-
*
|
|
575
|
-
*/
|
|
546
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
547
|
+
minVersion: "12.0.0",
|
|
548
|
+
version: "22.2.1",
|
|
549
|
+
ngImport: i0,
|
|
550
|
+
type: GalleriaStyle,
|
|
551
|
+
decorators: [{ type: Injectable }]
|
|
552
|
+
});
|
|
576
553
|
var GalleriaClasses;
|
|
577
|
-
(function
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* Class name of the items container element
|
|
608
|
-
*/
|
|
609
|
-
GalleriaClasses["itemsContainer"] = "h-galleria-items-container";
|
|
610
|
-
/**
|
|
611
|
-
* Class name of the items element
|
|
612
|
-
*/
|
|
613
|
-
GalleriaClasses["items"] = "h-galleria-items";
|
|
614
|
-
/**
|
|
615
|
-
* Class name of the previous item button element
|
|
616
|
-
*/
|
|
617
|
-
GalleriaClasses["prevButton"] = "h-galleria-prev-button";
|
|
618
|
-
/**
|
|
619
|
-
* Class name of the previous item icon element
|
|
620
|
-
*/
|
|
621
|
-
GalleriaClasses["prevIcon"] = "h-galleria-prev-icon";
|
|
622
|
-
/**
|
|
623
|
-
* Class name of the item element
|
|
624
|
-
*/
|
|
625
|
-
GalleriaClasses["item"] = "h-galleria-item";
|
|
626
|
-
/**
|
|
627
|
-
* Class name of the next item button element
|
|
628
|
-
*/
|
|
629
|
-
GalleriaClasses["nextButton"] = "h-galleria-next-button";
|
|
630
|
-
/**
|
|
631
|
-
* Class name of the next item icon element
|
|
632
|
-
*/
|
|
633
|
-
GalleriaClasses["nextIcon"] = "h-galleria-next-icon";
|
|
634
|
-
/**
|
|
635
|
-
* Class name of the caption element
|
|
636
|
-
*/
|
|
637
|
-
GalleriaClasses["caption"] = "h-galleria-caption";
|
|
638
|
-
/**
|
|
639
|
-
* Class name of the indicator list element
|
|
640
|
-
*/
|
|
641
|
-
GalleriaClasses["indicatorList"] = "h-galleria-indicator-list";
|
|
642
|
-
/**
|
|
643
|
-
* Class name of the indicator element
|
|
644
|
-
*/
|
|
645
|
-
GalleriaClasses["indicator"] = "h-galleria-indicator";
|
|
646
|
-
/**
|
|
647
|
-
* Class name of the indicator button element
|
|
648
|
-
*/
|
|
649
|
-
GalleriaClasses["indicatorButton"] = "h-galleria-indicator-button";
|
|
650
|
-
/**
|
|
651
|
-
* Class name of the thumbnails element
|
|
652
|
-
*/
|
|
653
|
-
GalleriaClasses["thumbnails"] = "h-galleria-thumbnails";
|
|
654
|
-
/**
|
|
655
|
-
* Class name of the thumbnail content element
|
|
656
|
-
*/
|
|
657
|
-
GalleriaClasses["thumbnailContent"] = "h-galleria-thumbnails-content";
|
|
658
|
-
/**
|
|
659
|
-
* Class name of the previous thumbnail button element
|
|
660
|
-
*/
|
|
661
|
-
GalleriaClasses["previousThumbnailButton"] = "h-galleria-thumbnail-prev-button";
|
|
662
|
-
/**
|
|
663
|
-
* Class name of the previous thumbnail icon element
|
|
664
|
-
*/
|
|
665
|
-
GalleriaClasses["previousThumbnailIcon"] = "h-galleria-thumbnail-prev-icon";
|
|
666
|
-
/**
|
|
667
|
-
* Class name of the thumbnails viewport element
|
|
668
|
-
*/
|
|
669
|
-
GalleriaClasses["thumbnailsViewport"] = "h-galleria-thumbnails-viewport";
|
|
670
|
-
/**
|
|
671
|
-
* Class name of the thumbnail items element
|
|
672
|
-
*/
|
|
673
|
-
GalleriaClasses["thumbnailItems"] = "h-galleria-thumbnail-items";
|
|
674
|
-
/**
|
|
675
|
-
* Class name of the thumbnail item element
|
|
676
|
-
*/
|
|
677
|
-
GalleriaClasses["thumbnailItem"] = "h-galleria-thumbnail-item";
|
|
678
|
-
/**
|
|
679
|
-
* Class name of the thumbnail element
|
|
680
|
-
*/
|
|
681
|
-
GalleriaClasses["thumbnail"] = "h-galleria-thumbnail";
|
|
682
|
-
/**
|
|
683
|
-
* Class name of the next thumbnail button element
|
|
684
|
-
*/
|
|
685
|
-
GalleriaClasses["nextThumbnailButton"] = "h-galleria-thumbnail-next-button";
|
|
686
|
-
/**
|
|
687
|
-
* Class name of the next thumbnail icon element
|
|
688
|
-
*/
|
|
689
|
-
GalleriaClasses["nextThumbnailIcon"] = "h-galleria-thumbnail-next-icon";
|
|
554
|
+
(function(GalleriaClasses) {
|
|
555
|
+
GalleriaClasses["mask"] = "h-galleria-mask";
|
|
556
|
+
GalleriaClasses["root"] = "h-galleria";
|
|
557
|
+
GalleriaClasses["closeButton"] = "h-galleria-close-button";
|
|
558
|
+
GalleriaClasses["closeIcon"] = "h-galleria-close-icon";
|
|
559
|
+
GalleriaClasses["header"] = "h-galleria-header";
|
|
560
|
+
GalleriaClasses["content"] = "h-galleria-content";
|
|
561
|
+
GalleriaClasses["footer"] = "h-galleria-footer";
|
|
562
|
+
GalleriaClasses["itemsContainer"] = "h-galleria-items-container";
|
|
563
|
+
GalleriaClasses["items"] = "h-galleria-items";
|
|
564
|
+
GalleriaClasses["prevButton"] = "h-galleria-prev-button";
|
|
565
|
+
GalleriaClasses["prevIcon"] = "h-galleria-prev-icon";
|
|
566
|
+
GalleriaClasses["item"] = "h-galleria-item";
|
|
567
|
+
GalleriaClasses["nextButton"] = "h-galleria-next-button";
|
|
568
|
+
GalleriaClasses["nextIcon"] = "h-galleria-next-icon";
|
|
569
|
+
GalleriaClasses["caption"] = "h-galleria-caption";
|
|
570
|
+
GalleriaClasses["indicatorList"] = "h-galleria-indicator-list";
|
|
571
|
+
GalleriaClasses["indicator"] = "h-galleria-indicator";
|
|
572
|
+
GalleriaClasses["indicatorButton"] = "h-galleria-indicator-button";
|
|
573
|
+
GalleriaClasses["thumbnails"] = "h-galleria-thumbnails";
|
|
574
|
+
GalleriaClasses["thumbnailContent"] = "h-galleria-thumbnails-content";
|
|
575
|
+
GalleriaClasses["previousThumbnailButton"] = "h-galleria-thumbnail-prev-button";
|
|
576
|
+
GalleriaClasses["previousThumbnailIcon"] = "h-galleria-thumbnail-prev-icon";
|
|
577
|
+
GalleriaClasses["thumbnailsViewport"] = "h-galleria-thumbnails-viewport";
|
|
578
|
+
GalleriaClasses["thumbnailItems"] = "h-galleria-thumbnail-items";
|
|
579
|
+
GalleriaClasses["thumbnailItem"] = "h-galleria-thumbnail-item";
|
|
580
|
+
GalleriaClasses["thumbnail"] = "h-galleria-thumbnail";
|
|
581
|
+
GalleriaClasses["nextThumbnailButton"] = "h-galleria-thumbnail-next-button";
|
|
582
|
+
GalleriaClasses["nextThumbnailIcon"] = "h-galleria-thumbnail-next-icon";
|
|
690
583
|
})(GalleriaClasses || (GalleriaClasses = {}));
|
|
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
|
-
|
|
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
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
584
|
+
const GALLERIA_INSTANCE = new InjectionToken("GALLERIA_INSTANCE");
|
|
585
|
+
var Galleria = class Galleria extends BaseComponent {
|
|
586
|
+
element;
|
|
587
|
+
componentName = "Galleria";
|
|
588
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
589
|
+
$pcGalleria = inject(GALLERIA_INSTANCE, {
|
|
590
|
+
optional: true,
|
|
591
|
+
skipSelf: true
|
|
592
|
+
}) ?? void 0;
|
|
593
|
+
onAfterViewChecked() {
|
|
594
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("host"));
|
|
595
|
+
}
|
|
596
|
+
activeIndex = model(0, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
597
|
+
fullScreen = input(false, {
|
|
598
|
+
...ngDevMode ? { debugName: "fullScreen" } : /* istanbul ignore next */ {},
|
|
599
|
+
transform: booleanAttribute
|
|
600
|
+
});
|
|
601
|
+
id = input(...ngDevMode ? [void 0, { debugName: "id" }] : /* istanbul ignore next */ []);
|
|
602
|
+
value = input(...ngDevMode ? [void 0, { debugName: "value" }] : /* istanbul ignore next */ []);
|
|
603
|
+
numVisible = input(3, {
|
|
604
|
+
...ngDevMode ? { debugName: "numVisible" } : /* istanbul ignore next */ {},
|
|
605
|
+
transform: numberAttribute
|
|
606
|
+
});
|
|
607
|
+
responsiveOptions = input(...ngDevMode ? [void 0, { debugName: "responsiveOptions" }] : /* istanbul ignore next */ []);
|
|
608
|
+
showItemNavigators = input(false, {
|
|
609
|
+
...ngDevMode ? { debugName: "showItemNavigators" } : /* istanbul ignore next */ {},
|
|
610
|
+
transform: booleanAttribute
|
|
611
|
+
});
|
|
612
|
+
showThumbnailNavigators = input(true, {
|
|
613
|
+
...ngDevMode ? { debugName: "showThumbnailNavigators" } : /* istanbul ignore next */ {},
|
|
614
|
+
transform: booleanAttribute
|
|
615
|
+
});
|
|
616
|
+
showItemNavigatorsOnHover = input(false, {
|
|
617
|
+
...ngDevMode ? { debugName: "showItemNavigatorsOnHover" } : /* istanbul ignore next */ {},
|
|
618
|
+
transform: booleanAttribute
|
|
619
|
+
});
|
|
620
|
+
changeItemOnIndicatorHover = input(false, {
|
|
621
|
+
...ngDevMode ? { debugName: "changeItemOnIndicatorHover" } : /* istanbul ignore next */ {},
|
|
622
|
+
transform: booleanAttribute
|
|
623
|
+
});
|
|
624
|
+
circular = input(false, {
|
|
625
|
+
...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
|
|
626
|
+
transform: booleanAttribute
|
|
627
|
+
});
|
|
628
|
+
autoPlay = input(false, {
|
|
629
|
+
...ngDevMode ? { debugName: "autoPlay" } : /* istanbul ignore next */ {},
|
|
630
|
+
transform: booleanAttribute
|
|
631
|
+
});
|
|
632
|
+
shouldStopAutoplayByClick = input(true, {
|
|
633
|
+
...ngDevMode ? { debugName: "shouldStopAutoplayByClick" } : /* istanbul ignore next */ {},
|
|
634
|
+
transform: booleanAttribute
|
|
635
|
+
});
|
|
636
|
+
transitionInterval = input(4e3, {
|
|
637
|
+
...ngDevMode ? { debugName: "transitionInterval" } : /* istanbul ignore next */ {},
|
|
638
|
+
transform: numberAttribute
|
|
639
|
+
});
|
|
640
|
+
showThumbnails = input(true, {
|
|
641
|
+
...ngDevMode ? { debugName: "showThumbnails" } : /* istanbul ignore next */ {},
|
|
642
|
+
transform: booleanAttribute
|
|
643
|
+
});
|
|
644
|
+
thumbnailsPosition = input("bottom", ...ngDevMode ? [{ debugName: "thumbnailsPosition" }] : /* istanbul ignore next */ []);
|
|
645
|
+
verticalThumbnailViewPortHeight = input("300px", ...ngDevMode ? [{ debugName: "verticalThumbnailViewPortHeight" }] : /* istanbul ignore next */ []);
|
|
646
|
+
showIndicators = input(false, {
|
|
647
|
+
...ngDevMode ? { debugName: "showIndicators" } : /* istanbul ignore next */ {},
|
|
648
|
+
transform: booleanAttribute
|
|
649
|
+
});
|
|
650
|
+
showIndicatorsOnItem = input(false, {
|
|
651
|
+
...ngDevMode ? { debugName: "showIndicatorsOnItem" } : /* istanbul ignore next */ {},
|
|
652
|
+
transform: booleanAttribute
|
|
653
|
+
});
|
|
654
|
+
indicatorsPosition = input("bottom", ...ngDevMode ? [{ debugName: "indicatorsPosition" }] : /* istanbul ignore next */ []);
|
|
655
|
+
baseZIndex = input(0, {
|
|
656
|
+
...ngDevMode ? { debugName: "baseZIndex" } : /* istanbul ignore next */ {},
|
|
657
|
+
transform: numberAttribute
|
|
658
|
+
});
|
|
659
|
+
maskClass = input(...ngDevMode ? [void 0, { debugName: "maskClass" }] : /* istanbul ignore next */ []);
|
|
660
|
+
containerClass = input(...ngDevMode ? [void 0, { debugName: "containerClass" }] : /* istanbul ignore next */ []);
|
|
661
|
+
containerStyle = input(...ngDevMode ? [void 0, { debugName: "containerStyle" }] : /* istanbul ignore next */ []);
|
|
662
|
+
showTransitionOptions = input("150ms cubic-bezier(0, 0, 0.2, 1)", ...ngDevMode ? [{ debugName: "showTransitionOptions" }] : /* istanbul ignore next */ []);
|
|
663
|
+
hideTransitionOptions = input("150ms cubic-bezier(0, 0, 0.2, 1)", ...ngDevMode ? [{ debugName: "hideTransitionOptions" }] : /* istanbul ignore next */ []);
|
|
664
|
+
motionOptions = input(void 0, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
|
|
665
|
+
computedMotionOptions = computed(() => {
|
|
666
|
+
return {
|
|
667
|
+
...this.ptm("motion"),
|
|
668
|
+
...this.motionOptions()
|
|
669
|
+
};
|
|
670
|
+
}, ...ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []);
|
|
671
|
+
maskMotionOptions = input(void 0, ...ngDevMode ? [{ debugName: "maskMotionOptions" }] : /* istanbul ignore next */ []);
|
|
672
|
+
computedMaskMotionOptions = computed(() => {
|
|
673
|
+
return {
|
|
674
|
+
...this.ptm("maskMotion"),
|
|
675
|
+
...this.maskMotionOptions()
|
|
676
|
+
};
|
|
677
|
+
}, ...ngDevMode ? [{ debugName: "computedMaskMotionOptions" }] : /* istanbul ignore next */ []);
|
|
678
|
+
visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
679
|
+
_visibleEffect = effect(() => {
|
|
680
|
+
if (this.visible() && !this.maskVisible) {
|
|
681
|
+
this.maskVisible = true;
|
|
682
|
+
this.renderMask.set(true);
|
|
683
|
+
this.renderContent.set(true);
|
|
684
|
+
} else if (!this.visible() && this.maskVisible) this.maskVisible = false;
|
|
685
|
+
}, ...ngDevMode ? [{ debugName: "_visibleEffect" }] : /* istanbul ignore next */ []);
|
|
686
|
+
renderMask = signal(false, ...ngDevMode ? [{ debugName: "renderMask" }] : /* istanbul ignore next */ []);
|
|
687
|
+
renderContent = signal(false, ...ngDevMode ? [{ debugName: "renderContent" }] : /* istanbul ignore next */ []);
|
|
688
|
+
container = viewChild("container", ...ngDevMode ? [{ debugName: "container" }] : /* istanbul ignore next */ []);
|
|
689
|
+
headerTemplate = contentChild("header", {
|
|
690
|
+
...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
|
|
691
|
+
descendants: false
|
|
692
|
+
});
|
|
693
|
+
headerFacet;
|
|
694
|
+
footerTemplate = contentChild("footer", {
|
|
695
|
+
...ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {},
|
|
696
|
+
descendants: false
|
|
697
|
+
});
|
|
698
|
+
footerFacet;
|
|
699
|
+
indicatorTemplate = contentChild("indicator", {
|
|
700
|
+
...ngDevMode ? { debugName: "indicatorTemplate" } : /* istanbul ignore next */ {},
|
|
701
|
+
descendants: false
|
|
702
|
+
});
|
|
703
|
+
indicatorFacet;
|
|
704
|
+
captionTemplate = contentChild("caption", {
|
|
705
|
+
...ngDevMode ? { debugName: "captionTemplate" } : /* istanbul ignore next */ {},
|
|
706
|
+
descendants: false
|
|
707
|
+
});
|
|
708
|
+
captionFacet;
|
|
709
|
+
_closeIconTemplate = contentChild("closeicon", {
|
|
710
|
+
...ngDevMode ? { debugName: "_closeIconTemplate" } : /* istanbul ignore next */ {},
|
|
711
|
+
descendants: false
|
|
712
|
+
});
|
|
713
|
+
closeIconTemplate;
|
|
714
|
+
_previousThumbnailIconTemplate = contentChild("previousthumbnailicon", {
|
|
715
|
+
...ngDevMode ? { debugName: "_previousThumbnailIconTemplate" } : /* istanbul ignore next */ {},
|
|
716
|
+
descendants: false
|
|
717
|
+
});
|
|
718
|
+
previousThumbnailIconTemplate;
|
|
719
|
+
_nextThumbnailIconTemplate = contentChild("nextthumbnailicon", {
|
|
720
|
+
...ngDevMode ? { debugName: "_nextThumbnailIconTemplate" } : /* istanbul ignore next */ {},
|
|
721
|
+
descendants: false
|
|
722
|
+
});
|
|
723
|
+
nextThumbnailIconTemplate;
|
|
724
|
+
_itemPreviousIconTemplate = contentChild("itempreviousicon", {
|
|
725
|
+
...ngDevMode ? { debugName: "_itemPreviousIconTemplate" } : /* istanbul ignore next */ {},
|
|
726
|
+
descendants: false
|
|
727
|
+
});
|
|
728
|
+
itemPreviousIconTemplate;
|
|
729
|
+
_itemNextIconTemplate = contentChild("itemnexticon", {
|
|
730
|
+
...ngDevMode ? { debugName: "_itemNextIconTemplate" } : /* istanbul ignore next */ {},
|
|
731
|
+
descendants: false
|
|
732
|
+
});
|
|
733
|
+
itemNextIconTemplate;
|
|
734
|
+
_itemTemplate = contentChild("item", {
|
|
735
|
+
...ngDevMode ? { debugName: "_itemTemplate" } : /* istanbul ignore next */ {},
|
|
736
|
+
descendants: false
|
|
737
|
+
});
|
|
738
|
+
itemTemplate;
|
|
739
|
+
_thumbnailTemplate = contentChild("thumbnail", {
|
|
740
|
+
...ngDevMode ? { debugName: "_thumbnailTemplate" } : /* istanbul ignore next */ {},
|
|
741
|
+
descendants: false
|
|
742
|
+
});
|
|
743
|
+
thumbnailTemplate;
|
|
744
|
+
maskVisible = false;
|
|
745
|
+
numVisibleLimit = 0;
|
|
746
|
+
_componentStyle = inject(GalleriaStyle);
|
|
747
|
+
mask;
|
|
748
|
+
templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
749
|
+
constructor(element) {
|
|
750
|
+
super();
|
|
751
|
+
this.element = element;
|
|
752
|
+
}
|
|
753
|
+
onAfterContentInit() {
|
|
754
|
+
this.templates().forEach((item) => {
|
|
755
|
+
switch (item.getType()) {
|
|
756
|
+
case "header":
|
|
757
|
+
this.headerFacet = item.template;
|
|
758
|
+
break;
|
|
759
|
+
case "footer":
|
|
760
|
+
this.footerFacet = item.template;
|
|
761
|
+
break;
|
|
762
|
+
case "indicator":
|
|
763
|
+
this.indicatorFacet = item.template;
|
|
764
|
+
break;
|
|
765
|
+
case "closeicon":
|
|
766
|
+
this.closeIconTemplate = item.template;
|
|
767
|
+
break;
|
|
768
|
+
case "itemnexticon":
|
|
769
|
+
this.itemNextIconTemplate = item.template;
|
|
770
|
+
break;
|
|
771
|
+
case "itempreviousicon":
|
|
772
|
+
this.itemPreviousIconTemplate = item.template;
|
|
773
|
+
break;
|
|
774
|
+
case "previousthumbnailicon":
|
|
775
|
+
this.previousThumbnailIconTemplate = item.template;
|
|
776
|
+
break;
|
|
777
|
+
case "nextthumbnailicon":
|
|
778
|
+
this.nextThumbnailIconTemplate = item.template;
|
|
779
|
+
break;
|
|
780
|
+
case "caption":
|
|
781
|
+
this.captionFacet = item.template;
|
|
782
|
+
break;
|
|
783
|
+
case "item":
|
|
784
|
+
this.itemTemplate = item.template;
|
|
785
|
+
break;
|
|
786
|
+
case "thumbnail":
|
|
787
|
+
this.thumbnailTemplate = item.template;
|
|
788
|
+
break;
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
onChanges(simpleChanges) {
|
|
793
|
+
if (simpleChanges.value && simpleChanges.value.currentValue?.length < this.numVisible()) this.numVisibleLimit = simpleChanges.value.currentValue.length;
|
|
794
|
+
else this.numVisibleLimit = 0;
|
|
795
|
+
}
|
|
796
|
+
onMaskHide(event) {
|
|
797
|
+
if (!event || event.target === event.currentTarget) this.visible.set(false);
|
|
798
|
+
}
|
|
799
|
+
onActiveItemChange(index) {
|
|
800
|
+
if (this.activeIndex() !== index) this.activeIndex.set(index);
|
|
801
|
+
}
|
|
802
|
+
onBeforeEnter(event) {
|
|
803
|
+
this.mask = event.element?.parentElement;
|
|
804
|
+
this.enableModality();
|
|
805
|
+
setTimeout(() => {
|
|
806
|
+
const focusTarget = findSingle(this.container()?.nativeElement, "[data-pc-section=\"closebutton\"]");
|
|
807
|
+
if (focusTarget) focus(focusTarget);
|
|
808
|
+
}, 25);
|
|
809
|
+
}
|
|
810
|
+
onBeforeLeave() {
|
|
811
|
+
if (this.mask) this.maskVisible = false;
|
|
812
|
+
}
|
|
813
|
+
onAfterLeave() {
|
|
814
|
+
this.disableModality();
|
|
815
|
+
this.renderContent.set(false);
|
|
816
|
+
}
|
|
817
|
+
onMaskAfterLeave() {
|
|
818
|
+
if (!this.renderContent()) this.renderMask.set(false);
|
|
819
|
+
}
|
|
820
|
+
enableModality() {
|
|
821
|
+
blockBodyScroll();
|
|
822
|
+
this.cd.markForCheck();
|
|
823
|
+
if (this.mask) ZIndexUtils.set("modal", this.mask, this.baseZIndex() || this.config.zIndex.modal);
|
|
824
|
+
}
|
|
825
|
+
disableModality() {
|
|
826
|
+
unblockBodyScroll();
|
|
827
|
+
this.cd.markForCheck();
|
|
828
|
+
if (this.mask) ZIndexUtils.clear(this.mask);
|
|
829
|
+
}
|
|
830
|
+
onDestroy() {
|
|
831
|
+
if (this.fullScreen()) removeClass(this.document.body, "h-overflow-hidden");
|
|
832
|
+
if (this.mask) this.disableModality();
|
|
833
|
+
}
|
|
834
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
835
|
+
minVersion: "12.0.0",
|
|
836
|
+
version: "22.2.1",
|
|
837
|
+
ngImport: i0,
|
|
838
|
+
type: Galleria,
|
|
839
|
+
deps: [{ token: i0.ElementRef }],
|
|
840
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
841
|
+
});
|
|
842
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
843
|
+
minVersion: "17.0.0",
|
|
844
|
+
version: "22.2.1",
|
|
845
|
+
type: Galleria,
|
|
846
|
+
isStandalone: false,
|
|
847
|
+
selector: "h-galleria",
|
|
848
|
+
inputs: {
|
|
849
|
+
activeIndex: {
|
|
850
|
+
classPropertyName: "activeIndex",
|
|
851
|
+
publicName: "activeIndex",
|
|
852
|
+
isSignal: true,
|
|
853
|
+
isRequired: false,
|
|
854
|
+
transformFunction: null
|
|
855
|
+
},
|
|
856
|
+
fullScreen: {
|
|
857
|
+
classPropertyName: "fullScreen",
|
|
858
|
+
publicName: "fullScreen",
|
|
859
|
+
isSignal: true,
|
|
860
|
+
isRequired: false,
|
|
861
|
+
transformFunction: null
|
|
862
|
+
},
|
|
863
|
+
id: {
|
|
864
|
+
classPropertyName: "id",
|
|
865
|
+
publicName: "id",
|
|
866
|
+
isSignal: true,
|
|
867
|
+
isRequired: false,
|
|
868
|
+
transformFunction: null
|
|
869
|
+
},
|
|
870
|
+
value: {
|
|
871
|
+
classPropertyName: "value",
|
|
872
|
+
publicName: "value",
|
|
873
|
+
isSignal: true,
|
|
874
|
+
isRequired: false,
|
|
875
|
+
transformFunction: null
|
|
876
|
+
},
|
|
877
|
+
numVisible: {
|
|
878
|
+
classPropertyName: "numVisible",
|
|
879
|
+
publicName: "numVisible",
|
|
880
|
+
isSignal: true,
|
|
881
|
+
isRequired: false,
|
|
882
|
+
transformFunction: null
|
|
883
|
+
},
|
|
884
|
+
responsiveOptions: {
|
|
885
|
+
classPropertyName: "responsiveOptions",
|
|
886
|
+
publicName: "responsiveOptions",
|
|
887
|
+
isSignal: true,
|
|
888
|
+
isRequired: false,
|
|
889
|
+
transformFunction: null
|
|
890
|
+
},
|
|
891
|
+
showItemNavigators: {
|
|
892
|
+
classPropertyName: "showItemNavigators",
|
|
893
|
+
publicName: "showItemNavigators",
|
|
894
|
+
isSignal: true,
|
|
895
|
+
isRequired: false,
|
|
896
|
+
transformFunction: null
|
|
897
|
+
},
|
|
898
|
+
showThumbnailNavigators: {
|
|
899
|
+
classPropertyName: "showThumbnailNavigators",
|
|
900
|
+
publicName: "showThumbnailNavigators",
|
|
901
|
+
isSignal: true,
|
|
902
|
+
isRequired: false,
|
|
903
|
+
transformFunction: null
|
|
904
|
+
},
|
|
905
|
+
showItemNavigatorsOnHover: {
|
|
906
|
+
classPropertyName: "showItemNavigatorsOnHover",
|
|
907
|
+
publicName: "showItemNavigatorsOnHover",
|
|
908
|
+
isSignal: true,
|
|
909
|
+
isRequired: false,
|
|
910
|
+
transformFunction: null
|
|
911
|
+
},
|
|
912
|
+
changeItemOnIndicatorHover: {
|
|
913
|
+
classPropertyName: "changeItemOnIndicatorHover",
|
|
914
|
+
publicName: "changeItemOnIndicatorHover",
|
|
915
|
+
isSignal: true,
|
|
916
|
+
isRequired: false,
|
|
917
|
+
transformFunction: null
|
|
918
|
+
},
|
|
919
|
+
circular: {
|
|
920
|
+
classPropertyName: "circular",
|
|
921
|
+
publicName: "circular",
|
|
922
|
+
isSignal: true,
|
|
923
|
+
isRequired: false,
|
|
924
|
+
transformFunction: null
|
|
925
|
+
},
|
|
926
|
+
autoPlay: {
|
|
927
|
+
classPropertyName: "autoPlay",
|
|
928
|
+
publicName: "autoPlay",
|
|
929
|
+
isSignal: true,
|
|
930
|
+
isRequired: false,
|
|
931
|
+
transformFunction: null
|
|
932
|
+
},
|
|
933
|
+
shouldStopAutoplayByClick: {
|
|
934
|
+
classPropertyName: "shouldStopAutoplayByClick",
|
|
935
|
+
publicName: "shouldStopAutoplayByClick",
|
|
936
|
+
isSignal: true,
|
|
937
|
+
isRequired: false,
|
|
938
|
+
transformFunction: null
|
|
939
|
+
},
|
|
940
|
+
transitionInterval: {
|
|
941
|
+
classPropertyName: "transitionInterval",
|
|
942
|
+
publicName: "transitionInterval",
|
|
943
|
+
isSignal: true,
|
|
944
|
+
isRequired: false,
|
|
945
|
+
transformFunction: null
|
|
946
|
+
},
|
|
947
|
+
showThumbnails: {
|
|
948
|
+
classPropertyName: "showThumbnails",
|
|
949
|
+
publicName: "showThumbnails",
|
|
950
|
+
isSignal: true,
|
|
951
|
+
isRequired: false,
|
|
952
|
+
transformFunction: null
|
|
953
|
+
},
|
|
954
|
+
thumbnailsPosition: {
|
|
955
|
+
classPropertyName: "thumbnailsPosition",
|
|
956
|
+
publicName: "thumbnailsPosition",
|
|
957
|
+
isSignal: true,
|
|
958
|
+
isRequired: false,
|
|
959
|
+
transformFunction: null
|
|
960
|
+
},
|
|
961
|
+
verticalThumbnailViewPortHeight: {
|
|
962
|
+
classPropertyName: "verticalThumbnailViewPortHeight",
|
|
963
|
+
publicName: "verticalThumbnailViewPortHeight",
|
|
964
|
+
isSignal: true,
|
|
965
|
+
isRequired: false,
|
|
966
|
+
transformFunction: null
|
|
967
|
+
},
|
|
968
|
+
showIndicators: {
|
|
969
|
+
classPropertyName: "showIndicators",
|
|
970
|
+
publicName: "showIndicators",
|
|
971
|
+
isSignal: true,
|
|
972
|
+
isRequired: false,
|
|
973
|
+
transformFunction: null
|
|
974
|
+
},
|
|
975
|
+
showIndicatorsOnItem: {
|
|
976
|
+
classPropertyName: "showIndicatorsOnItem",
|
|
977
|
+
publicName: "showIndicatorsOnItem",
|
|
978
|
+
isSignal: true,
|
|
979
|
+
isRequired: false,
|
|
980
|
+
transformFunction: null
|
|
981
|
+
},
|
|
982
|
+
indicatorsPosition: {
|
|
983
|
+
classPropertyName: "indicatorsPosition",
|
|
984
|
+
publicName: "indicatorsPosition",
|
|
985
|
+
isSignal: true,
|
|
986
|
+
isRequired: false,
|
|
987
|
+
transformFunction: null
|
|
988
|
+
},
|
|
989
|
+
baseZIndex: {
|
|
990
|
+
classPropertyName: "baseZIndex",
|
|
991
|
+
publicName: "baseZIndex",
|
|
992
|
+
isSignal: true,
|
|
993
|
+
isRequired: false,
|
|
994
|
+
transformFunction: null
|
|
995
|
+
},
|
|
996
|
+
maskClass: {
|
|
997
|
+
classPropertyName: "maskClass",
|
|
998
|
+
publicName: "maskClass",
|
|
999
|
+
isSignal: true,
|
|
1000
|
+
isRequired: false,
|
|
1001
|
+
transformFunction: null
|
|
1002
|
+
},
|
|
1003
|
+
containerClass: {
|
|
1004
|
+
classPropertyName: "containerClass",
|
|
1005
|
+
publicName: "containerClass",
|
|
1006
|
+
isSignal: true,
|
|
1007
|
+
isRequired: false,
|
|
1008
|
+
transformFunction: null
|
|
1009
|
+
},
|
|
1010
|
+
containerStyle: {
|
|
1011
|
+
classPropertyName: "containerStyle",
|
|
1012
|
+
publicName: "containerStyle",
|
|
1013
|
+
isSignal: true,
|
|
1014
|
+
isRequired: false,
|
|
1015
|
+
transformFunction: null
|
|
1016
|
+
},
|
|
1017
|
+
showTransitionOptions: {
|
|
1018
|
+
classPropertyName: "showTransitionOptions",
|
|
1019
|
+
publicName: "showTransitionOptions",
|
|
1020
|
+
isSignal: true,
|
|
1021
|
+
isRequired: false,
|
|
1022
|
+
transformFunction: null
|
|
1023
|
+
},
|
|
1024
|
+
hideTransitionOptions: {
|
|
1025
|
+
classPropertyName: "hideTransitionOptions",
|
|
1026
|
+
publicName: "hideTransitionOptions",
|
|
1027
|
+
isSignal: true,
|
|
1028
|
+
isRequired: false,
|
|
1029
|
+
transformFunction: null
|
|
1030
|
+
},
|
|
1031
|
+
motionOptions: {
|
|
1032
|
+
classPropertyName: "motionOptions",
|
|
1033
|
+
publicName: "motionOptions",
|
|
1034
|
+
isSignal: true,
|
|
1035
|
+
isRequired: false,
|
|
1036
|
+
transformFunction: null
|
|
1037
|
+
},
|
|
1038
|
+
maskMotionOptions: {
|
|
1039
|
+
classPropertyName: "maskMotionOptions",
|
|
1040
|
+
publicName: "maskMotionOptions",
|
|
1041
|
+
isSignal: true,
|
|
1042
|
+
isRequired: false,
|
|
1043
|
+
transformFunction: null
|
|
1044
|
+
},
|
|
1045
|
+
visible: {
|
|
1046
|
+
classPropertyName: "visible",
|
|
1047
|
+
publicName: "visible",
|
|
1048
|
+
isSignal: true,
|
|
1049
|
+
isRequired: false,
|
|
1050
|
+
transformFunction: null
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
outputs: {
|
|
1054
|
+
activeIndex: "activeIndexChange",
|
|
1055
|
+
visible: "visibleChange"
|
|
1056
|
+
},
|
|
1057
|
+
providers: [
|
|
1058
|
+
GalleriaStyle,
|
|
1059
|
+
{
|
|
1060
|
+
provide: GALLERIA_INSTANCE,
|
|
1061
|
+
useExisting: Galleria
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
provide: PARENT_INSTANCE,
|
|
1065
|
+
useExisting: Galleria
|
|
1066
|
+
}
|
|
1067
|
+
],
|
|
1068
|
+
queries: [
|
|
1069
|
+
{
|
|
1070
|
+
propertyName: "headerTemplate",
|
|
1071
|
+
first: true,
|
|
1072
|
+
predicate: ["header"],
|
|
1073
|
+
isSignal: true
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
propertyName: "footerTemplate",
|
|
1077
|
+
first: true,
|
|
1078
|
+
predicate: ["footer"],
|
|
1079
|
+
isSignal: true
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
propertyName: "indicatorTemplate",
|
|
1083
|
+
first: true,
|
|
1084
|
+
predicate: ["indicator"],
|
|
1085
|
+
isSignal: true
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
propertyName: "captionTemplate",
|
|
1089
|
+
first: true,
|
|
1090
|
+
predicate: ["caption"],
|
|
1091
|
+
isSignal: true
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
propertyName: "_closeIconTemplate",
|
|
1095
|
+
first: true,
|
|
1096
|
+
predicate: ["closeicon"],
|
|
1097
|
+
isSignal: true
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
propertyName: "_previousThumbnailIconTemplate",
|
|
1101
|
+
first: true,
|
|
1102
|
+
predicate: ["previousthumbnailicon"],
|
|
1103
|
+
isSignal: true
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
propertyName: "_nextThumbnailIconTemplate",
|
|
1107
|
+
first: true,
|
|
1108
|
+
predicate: ["nextthumbnailicon"],
|
|
1109
|
+
isSignal: true
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
propertyName: "_itemPreviousIconTemplate",
|
|
1113
|
+
first: true,
|
|
1114
|
+
predicate: ["itempreviousicon"],
|
|
1115
|
+
isSignal: true
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
propertyName: "_itemNextIconTemplate",
|
|
1119
|
+
first: true,
|
|
1120
|
+
predicate: ["itemnexticon"],
|
|
1121
|
+
isSignal: true
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
propertyName: "_itemTemplate",
|
|
1125
|
+
first: true,
|
|
1126
|
+
predicate: ["item"],
|
|
1127
|
+
isSignal: true
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
propertyName: "_thumbnailTemplate",
|
|
1131
|
+
first: true,
|
|
1132
|
+
predicate: ["thumbnail"],
|
|
1133
|
+
isSignal: true
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
propertyName: "templates",
|
|
1137
|
+
predicate: HelixTemplate,
|
|
1138
|
+
isSignal: true
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
viewQueries: [{
|
|
1142
|
+
propertyName: "container",
|
|
1143
|
+
first: true,
|
|
1144
|
+
predicate: ["container"],
|
|
1145
|
+
descendants: true,
|
|
1146
|
+
isSignal: true
|
|
1147
|
+
}],
|
|
1148
|
+
usesInheritance: true,
|
|
1149
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
1150
|
+
ngImport: i0,
|
|
1151
|
+
template: "@if (fullScreen()) {\n <div #container>\n @if (renderMask()) {\n <div\n [hBind]=\"ptm('mask')\"\n [hMotion]=\"maskVisible\"\n [pMotionAppear]=\"true\"\n [pMotionEnterActiveClass]=\"fullScreen() ? 'h-overlay-mask-enter-active' : ''\"\n [pMotionLeaveActiveClass]=\"fullScreen() ? 'h-overlay-mask-leave-active' : ''\"\n [pMotionOptions]=\"computedMaskMotionOptions()\"\n (pMotionOnAfterLeave)=\"onMaskAfterLeave()\"\n [ngClass]=\"cx('mask')\"\n [class]=\"maskClass()\"\n [attr.role]=\"fullScreen() ? 'dialog' : 'region'\"\n [attr.aria-modal]=\"fullScreen() ? 'true' : undefined\"\n (click)=\"onMaskHide($event)\"\n >\n @if (renderContent()) {\n <div\n hGalleriaContent\n [hMotion]=\"visible()\"\n [pMotionAppear]=\"true\"\n [pMotionName]=\"'h-galleria'\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (pMotionOnBeforeLeave)=\"onBeforeLeave()\"\n (pMotionOnAfterLeave)=\"onAfterLeave()\"\n [value]=\"value()\"\n [activeIndex]=\"activeIndex()\"\n [numVisible]=\"numVisibleLimit || numVisible()\"\n (maskHide)=\"onMaskHide()\"\n (activeItemChange)=\"onActiveItemChange($event)\"\n [ngStyle]=\"containerStyle()\"\n [fullScreen]=\"fullScreen()\"\n [pt]=\"pt()\"\n hFocusTrap\n [pFocusTrapDisabled]=\"!fullScreen()\"\n [unstyled]=\"unstyled()\"\n ></div>\n }\n </div>\n }\n </div>\n} @else {\n <div hGalleriaContent [pt]=\"pt()\" [unstyled]=\"unstyled()\" [value]=\"value()\" [activeIndex]=\"activeIndex()\" [numVisible]=\"numVisibleLimit || numVisible()\" (activeItemChange)=\"onActiveItemChange($event)\"></div>\n}\n",
|
|
1152
|
+
dependencies: [
|
|
1153
|
+
{
|
|
1154
|
+
kind: "directive",
|
|
1155
|
+
type: i0.forwardRef(() => i2.NgClass),
|
|
1156
|
+
selector: "[ngClass]",
|
|
1157
|
+
inputs: ["class", "ngClass"]
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
kind: "directive",
|
|
1161
|
+
type: i0.forwardRef(() => i2.NgStyle),
|
|
1162
|
+
selector: "[ngStyle]",
|
|
1163
|
+
inputs: ["ngStyle"]
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
kind: "directive",
|
|
1167
|
+
type: i0.forwardRef(() => FocusTrap),
|
|
1168
|
+
selector: "[hFocusTrap]",
|
|
1169
|
+
inputs: ["pFocusTrapDisabled"]
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
kind: "directive",
|
|
1173
|
+
type: i0.forwardRef(() => i1.Bind),
|
|
1174
|
+
selector: "[hBind]",
|
|
1175
|
+
inputs: ["hBind"]
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
kind: "directive",
|
|
1179
|
+
type: i0.forwardRef(() => i3.MotionDirective),
|
|
1180
|
+
selector: "[hMotion]",
|
|
1181
|
+
inputs: [
|
|
1182
|
+
"hMotion",
|
|
1183
|
+
"pMotionName",
|
|
1184
|
+
"pMotionType",
|
|
1185
|
+
"pMotionSafe",
|
|
1186
|
+
"pMotionDisabled",
|
|
1187
|
+
"pMotionAppear",
|
|
1188
|
+
"pMotionEnter",
|
|
1189
|
+
"pMotionLeave",
|
|
1190
|
+
"pMotionDuration",
|
|
1191
|
+
"pMotionHideStrategy",
|
|
1192
|
+
"pMotionEnterFromClass",
|
|
1193
|
+
"pMotionEnterToClass",
|
|
1194
|
+
"pMotionEnterActiveClass",
|
|
1195
|
+
"pMotionLeaveFromClass",
|
|
1196
|
+
"pMotionLeaveToClass",
|
|
1197
|
+
"pMotionLeaveActiveClass",
|
|
1198
|
+
"pMotionOptions"
|
|
1199
|
+
],
|
|
1200
|
+
outputs: [
|
|
1201
|
+
"pMotionOnBeforeEnter",
|
|
1202
|
+
"pMotionOnEnter",
|
|
1203
|
+
"pMotionOnAfterEnter",
|
|
1204
|
+
"pMotionOnEnterCancelled",
|
|
1205
|
+
"pMotionOnBeforeLeave",
|
|
1206
|
+
"pMotionOnLeave",
|
|
1207
|
+
"pMotionOnAfterLeave",
|
|
1208
|
+
"pMotionOnLeaveCancelled"
|
|
1209
|
+
]
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
kind: "component",
|
|
1213
|
+
type: i0.forwardRef(() => GalleriaContent),
|
|
1214
|
+
selector: "div[hGalleriaContent]",
|
|
1215
|
+
inputs: [
|
|
1216
|
+
"activeIndex",
|
|
1217
|
+
"value",
|
|
1218
|
+
"numVisible",
|
|
1219
|
+
"fullScreen"
|
|
1220
|
+
],
|
|
1221
|
+
outputs: ["maskHide", "activeItemChange"]
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1225
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1226
|
+
});
|
|
1227
|
+
};
|
|
1228
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1229
|
+
minVersion: "12.0.0",
|
|
1230
|
+
version: "22.2.1",
|
|
1231
|
+
ngImport: i0,
|
|
1232
|
+
type: Galleria,
|
|
1233
|
+
decorators: [{
|
|
1234
|
+
type: Component,
|
|
1235
|
+
args: [{
|
|
1236
|
+
selector: "h-galleria",
|
|
1237
|
+
standalone: false,
|
|
1238
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1239
|
+
encapsulation: ViewEncapsulation.None,
|
|
1240
|
+
providers: [
|
|
1241
|
+
GalleriaStyle,
|
|
1242
|
+
{
|
|
1243
|
+
provide: GALLERIA_INSTANCE,
|
|
1244
|
+
useExisting: Galleria
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
provide: PARENT_INSTANCE,
|
|
1248
|
+
useExisting: Galleria
|
|
1249
|
+
}
|
|
1250
|
+
],
|
|
1251
|
+
hostDirectives: [Bind],
|
|
1252
|
+
template: "@if (fullScreen()) {\n <div #container>\n @if (renderMask()) {\n <div\n [hBind]=\"ptm('mask')\"\n [hMotion]=\"maskVisible\"\n [pMotionAppear]=\"true\"\n [pMotionEnterActiveClass]=\"fullScreen() ? 'h-overlay-mask-enter-active' : ''\"\n [pMotionLeaveActiveClass]=\"fullScreen() ? 'h-overlay-mask-leave-active' : ''\"\n [pMotionOptions]=\"computedMaskMotionOptions()\"\n (pMotionOnAfterLeave)=\"onMaskAfterLeave()\"\n [ngClass]=\"cx('mask')\"\n [class]=\"maskClass()\"\n [attr.role]=\"fullScreen() ? 'dialog' : 'region'\"\n [attr.aria-modal]=\"fullScreen() ? 'true' : undefined\"\n (click)=\"onMaskHide($event)\"\n >\n @if (renderContent()) {\n <div\n hGalleriaContent\n [hMotion]=\"visible()\"\n [pMotionAppear]=\"true\"\n [pMotionName]=\"'h-galleria'\"\n [pMotionOptions]=\"computedMotionOptions()\"\n (pMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (pMotionOnBeforeLeave)=\"onBeforeLeave()\"\n (pMotionOnAfterLeave)=\"onAfterLeave()\"\n [value]=\"value()\"\n [activeIndex]=\"activeIndex()\"\n [numVisible]=\"numVisibleLimit || numVisible()\"\n (maskHide)=\"onMaskHide()\"\n (activeItemChange)=\"onActiveItemChange($event)\"\n [ngStyle]=\"containerStyle()\"\n [fullScreen]=\"fullScreen()\"\n [pt]=\"pt()\"\n hFocusTrap\n [pFocusTrapDisabled]=\"!fullScreen()\"\n [unstyled]=\"unstyled()\"\n ></div>\n }\n </div>\n }\n </div>\n} @else {\n <div hGalleriaContent [pt]=\"pt()\" [unstyled]=\"unstyled()\" [value]=\"value()\" [activeIndex]=\"activeIndex()\" [numVisible]=\"numVisibleLimit || numVisible()\" (activeItemChange)=\"onActiveItemChange($event)\"></div>\n}\n"
|
|
1253
|
+
}]
|
|
1254
|
+
}],
|
|
1255
|
+
ctorParameters: () => [{ type: i0.ElementRef }],
|
|
1256
|
+
propDecorators: {
|
|
1257
|
+
activeIndex: [{
|
|
1258
|
+
type: i0.Input,
|
|
1259
|
+
args: [{
|
|
1260
|
+
isSignal: true,
|
|
1261
|
+
alias: "activeIndex",
|
|
1262
|
+
required: false
|
|
1263
|
+
}]
|
|
1264
|
+
}, {
|
|
1265
|
+
type: i0.Output,
|
|
1266
|
+
args: ["activeIndexChange"]
|
|
1267
|
+
}],
|
|
1268
|
+
fullScreen: [{
|
|
1269
|
+
type: i0.Input,
|
|
1270
|
+
args: [{
|
|
1271
|
+
isSignal: true,
|
|
1272
|
+
alias: "fullScreen",
|
|
1273
|
+
required: false
|
|
1274
|
+
}]
|
|
1275
|
+
}],
|
|
1276
|
+
id: [{
|
|
1277
|
+
type: i0.Input,
|
|
1278
|
+
args: [{
|
|
1279
|
+
isSignal: true,
|
|
1280
|
+
alias: "id",
|
|
1281
|
+
required: false
|
|
1282
|
+
}]
|
|
1283
|
+
}],
|
|
1284
|
+
value: [{
|
|
1285
|
+
type: i0.Input,
|
|
1286
|
+
args: [{
|
|
1287
|
+
isSignal: true,
|
|
1288
|
+
alias: "value",
|
|
1289
|
+
required: false
|
|
1290
|
+
}]
|
|
1291
|
+
}],
|
|
1292
|
+
numVisible: [{
|
|
1293
|
+
type: i0.Input,
|
|
1294
|
+
args: [{
|
|
1295
|
+
isSignal: true,
|
|
1296
|
+
alias: "numVisible",
|
|
1297
|
+
required: false
|
|
1298
|
+
}]
|
|
1299
|
+
}],
|
|
1300
|
+
responsiveOptions: [{
|
|
1301
|
+
type: i0.Input,
|
|
1302
|
+
args: [{
|
|
1303
|
+
isSignal: true,
|
|
1304
|
+
alias: "responsiveOptions",
|
|
1305
|
+
required: false
|
|
1306
|
+
}]
|
|
1307
|
+
}],
|
|
1308
|
+
showItemNavigators: [{
|
|
1309
|
+
type: i0.Input,
|
|
1310
|
+
args: [{
|
|
1311
|
+
isSignal: true,
|
|
1312
|
+
alias: "showItemNavigators",
|
|
1313
|
+
required: false
|
|
1314
|
+
}]
|
|
1315
|
+
}],
|
|
1316
|
+
showThumbnailNavigators: [{
|
|
1317
|
+
type: i0.Input,
|
|
1318
|
+
args: [{
|
|
1319
|
+
isSignal: true,
|
|
1320
|
+
alias: "showThumbnailNavigators",
|
|
1321
|
+
required: false
|
|
1322
|
+
}]
|
|
1323
|
+
}],
|
|
1324
|
+
showItemNavigatorsOnHover: [{
|
|
1325
|
+
type: i0.Input,
|
|
1326
|
+
args: [{
|
|
1327
|
+
isSignal: true,
|
|
1328
|
+
alias: "showItemNavigatorsOnHover",
|
|
1329
|
+
required: false
|
|
1330
|
+
}]
|
|
1331
|
+
}],
|
|
1332
|
+
changeItemOnIndicatorHover: [{
|
|
1333
|
+
type: i0.Input,
|
|
1334
|
+
args: [{
|
|
1335
|
+
isSignal: true,
|
|
1336
|
+
alias: "changeItemOnIndicatorHover",
|
|
1337
|
+
required: false
|
|
1338
|
+
}]
|
|
1339
|
+
}],
|
|
1340
|
+
circular: [{
|
|
1341
|
+
type: i0.Input,
|
|
1342
|
+
args: [{
|
|
1343
|
+
isSignal: true,
|
|
1344
|
+
alias: "circular",
|
|
1345
|
+
required: false
|
|
1346
|
+
}]
|
|
1347
|
+
}],
|
|
1348
|
+
autoPlay: [{
|
|
1349
|
+
type: i0.Input,
|
|
1350
|
+
args: [{
|
|
1351
|
+
isSignal: true,
|
|
1352
|
+
alias: "autoPlay",
|
|
1353
|
+
required: false
|
|
1354
|
+
}]
|
|
1355
|
+
}],
|
|
1356
|
+
shouldStopAutoplayByClick: [{
|
|
1357
|
+
type: i0.Input,
|
|
1358
|
+
args: [{
|
|
1359
|
+
isSignal: true,
|
|
1360
|
+
alias: "shouldStopAutoplayByClick",
|
|
1361
|
+
required: false
|
|
1362
|
+
}]
|
|
1363
|
+
}],
|
|
1364
|
+
transitionInterval: [{
|
|
1365
|
+
type: i0.Input,
|
|
1366
|
+
args: [{
|
|
1367
|
+
isSignal: true,
|
|
1368
|
+
alias: "transitionInterval",
|
|
1369
|
+
required: false
|
|
1370
|
+
}]
|
|
1371
|
+
}],
|
|
1372
|
+
showThumbnails: [{
|
|
1373
|
+
type: i0.Input,
|
|
1374
|
+
args: [{
|
|
1375
|
+
isSignal: true,
|
|
1376
|
+
alias: "showThumbnails",
|
|
1377
|
+
required: false
|
|
1378
|
+
}]
|
|
1379
|
+
}],
|
|
1380
|
+
thumbnailsPosition: [{
|
|
1381
|
+
type: i0.Input,
|
|
1382
|
+
args: [{
|
|
1383
|
+
isSignal: true,
|
|
1384
|
+
alias: "thumbnailsPosition",
|
|
1385
|
+
required: false
|
|
1386
|
+
}]
|
|
1387
|
+
}],
|
|
1388
|
+
verticalThumbnailViewPortHeight: [{
|
|
1389
|
+
type: i0.Input,
|
|
1390
|
+
args: [{
|
|
1391
|
+
isSignal: true,
|
|
1392
|
+
alias: "verticalThumbnailViewPortHeight",
|
|
1393
|
+
required: false
|
|
1394
|
+
}]
|
|
1395
|
+
}],
|
|
1396
|
+
showIndicators: [{
|
|
1397
|
+
type: i0.Input,
|
|
1398
|
+
args: [{
|
|
1399
|
+
isSignal: true,
|
|
1400
|
+
alias: "showIndicators",
|
|
1401
|
+
required: false
|
|
1402
|
+
}]
|
|
1403
|
+
}],
|
|
1404
|
+
showIndicatorsOnItem: [{
|
|
1405
|
+
type: i0.Input,
|
|
1406
|
+
args: [{
|
|
1407
|
+
isSignal: true,
|
|
1408
|
+
alias: "showIndicatorsOnItem",
|
|
1409
|
+
required: false
|
|
1410
|
+
}]
|
|
1411
|
+
}],
|
|
1412
|
+
indicatorsPosition: [{
|
|
1413
|
+
type: i0.Input,
|
|
1414
|
+
args: [{
|
|
1415
|
+
isSignal: true,
|
|
1416
|
+
alias: "indicatorsPosition",
|
|
1417
|
+
required: false
|
|
1418
|
+
}]
|
|
1419
|
+
}],
|
|
1420
|
+
baseZIndex: [{
|
|
1421
|
+
type: i0.Input,
|
|
1422
|
+
args: [{
|
|
1423
|
+
isSignal: true,
|
|
1424
|
+
alias: "baseZIndex",
|
|
1425
|
+
required: false
|
|
1426
|
+
}]
|
|
1427
|
+
}],
|
|
1428
|
+
maskClass: [{
|
|
1429
|
+
type: i0.Input,
|
|
1430
|
+
args: [{
|
|
1431
|
+
isSignal: true,
|
|
1432
|
+
alias: "maskClass",
|
|
1433
|
+
required: false
|
|
1434
|
+
}]
|
|
1435
|
+
}],
|
|
1436
|
+
containerClass: [{
|
|
1437
|
+
type: i0.Input,
|
|
1438
|
+
args: [{
|
|
1439
|
+
isSignal: true,
|
|
1440
|
+
alias: "containerClass",
|
|
1441
|
+
required: false
|
|
1442
|
+
}]
|
|
1443
|
+
}],
|
|
1444
|
+
containerStyle: [{
|
|
1445
|
+
type: i0.Input,
|
|
1446
|
+
args: [{
|
|
1447
|
+
isSignal: true,
|
|
1448
|
+
alias: "containerStyle",
|
|
1449
|
+
required: false
|
|
1450
|
+
}]
|
|
1451
|
+
}],
|
|
1452
|
+
showTransitionOptions: [{
|
|
1453
|
+
type: i0.Input,
|
|
1454
|
+
args: [{
|
|
1455
|
+
isSignal: true,
|
|
1456
|
+
alias: "showTransitionOptions",
|
|
1457
|
+
required: false
|
|
1458
|
+
}]
|
|
1459
|
+
}],
|
|
1460
|
+
hideTransitionOptions: [{
|
|
1461
|
+
type: i0.Input,
|
|
1462
|
+
args: [{
|
|
1463
|
+
isSignal: true,
|
|
1464
|
+
alias: "hideTransitionOptions",
|
|
1465
|
+
required: false
|
|
1466
|
+
}]
|
|
1467
|
+
}],
|
|
1468
|
+
motionOptions: [{
|
|
1469
|
+
type: i0.Input,
|
|
1470
|
+
args: [{
|
|
1471
|
+
isSignal: true,
|
|
1472
|
+
alias: "motionOptions",
|
|
1473
|
+
required: false
|
|
1474
|
+
}]
|
|
1475
|
+
}],
|
|
1476
|
+
maskMotionOptions: [{
|
|
1477
|
+
type: i0.Input,
|
|
1478
|
+
args: [{
|
|
1479
|
+
isSignal: true,
|
|
1480
|
+
alias: "maskMotionOptions",
|
|
1481
|
+
required: false
|
|
1482
|
+
}]
|
|
1483
|
+
}],
|
|
1484
|
+
visible: [{
|
|
1485
|
+
type: i0.Input,
|
|
1486
|
+
args: [{
|
|
1487
|
+
isSignal: true,
|
|
1488
|
+
alias: "visible",
|
|
1489
|
+
required: false
|
|
1490
|
+
}]
|
|
1491
|
+
}, {
|
|
1492
|
+
type: i0.Output,
|
|
1493
|
+
args: ["visibleChange"]
|
|
1494
|
+
}],
|
|
1495
|
+
container: [{
|
|
1496
|
+
type: i0.ViewChild,
|
|
1497
|
+
args: ["container", { isSignal: true }]
|
|
1498
|
+
}],
|
|
1499
|
+
headerTemplate: [{
|
|
1500
|
+
type: i0.ContentChild,
|
|
1501
|
+
args: ["header", {
|
|
1502
|
+
descendants: false,
|
|
1503
|
+
isSignal: true
|
|
1504
|
+
}]
|
|
1505
|
+
}],
|
|
1506
|
+
footerTemplate: [{
|
|
1507
|
+
type: i0.ContentChild,
|
|
1508
|
+
args: ["footer", {
|
|
1509
|
+
descendants: false,
|
|
1510
|
+
isSignal: true
|
|
1511
|
+
}]
|
|
1512
|
+
}],
|
|
1513
|
+
indicatorTemplate: [{
|
|
1514
|
+
type: i0.ContentChild,
|
|
1515
|
+
args: ["indicator", {
|
|
1516
|
+
descendants: false,
|
|
1517
|
+
isSignal: true
|
|
1518
|
+
}]
|
|
1519
|
+
}],
|
|
1520
|
+
captionTemplate: [{
|
|
1521
|
+
type: i0.ContentChild,
|
|
1522
|
+
args: ["caption", {
|
|
1523
|
+
descendants: false,
|
|
1524
|
+
isSignal: true
|
|
1525
|
+
}]
|
|
1526
|
+
}],
|
|
1527
|
+
_closeIconTemplate: [{
|
|
1528
|
+
type: i0.ContentChild,
|
|
1529
|
+
args: ["closeicon", {
|
|
1530
|
+
descendants: false,
|
|
1531
|
+
isSignal: true
|
|
1532
|
+
}]
|
|
1533
|
+
}],
|
|
1534
|
+
_previousThumbnailIconTemplate: [{
|
|
1535
|
+
type: i0.ContentChild,
|
|
1536
|
+
args: ["previousthumbnailicon", {
|
|
1537
|
+
descendants: false,
|
|
1538
|
+
isSignal: true
|
|
1539
|
+
}]
|
|
1540
|
+
}],
|
|
1541
|
+
_nextThumbnailIconTemplate: [{
|
|
1542
|
+
type: i0.ContentChild,
|
|
1543
|
+
args: ["nextthumbnailicon", {
|
|
1544
|
+
descendants: false,
|
|
1545
|
+
isSignal: true
|
|
1546
|
+
}]
|
|
1547
|
+
}],
|
|
1548
|
+
_itemPreviousIconTemplate: [{
|
|
1549
|
+
type: i0.ContentChild,
|
|
1550
|
+
args: ["itempreviousicon", {
|
|
1551
|
+
descendants: false,
|
|
1552
|
+
isSignal: true
|
|
1553
|
+
}]
|
|
1554
|
+
}],
|
|
1555
|
+
_itemNextIconTemplate: [{
|
|
1556
|
+
type: i0.ContentChild,
|
|
1557
|
+
args: ["itemnexticon", {
|
|
1558
|
+
descendants: false,
|
|
1559
|
+
isSignal: true
|
|
1560
|
+
}]
|
|
1561
|
+
}],
|
|
1562
|
+
_itemTemplate: [{
|
|
1563
|
+
type: i0.ContentChild,
|
|
1564
|
+
args: ["item", {
|
|
1565
|
+
descendants: false,
|
|
1566
|
+
isSignal: true
|
|
1567
|
+
}]
|
|
1568
|
+
}],
|
|
1569
|
+
_thumbnailTemplate: [{
|
|
1570
|
+
type: i0.ContentChild,
|
|
1571
|
+
args: ["thumbnail", {
|
|
1572
|
+
descendants: false,
|
|
1573
|
+
isSignal: true
|
|
1574
|
+
}]
|
|
1575
|
+
}],
|
|
1576
|
+
templates: [{
|
|
1577
|
+
type: i0.ContentChildren,
|
|
1578
|
+
args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
|
|
1579
|
+
}]
|
|
1580
|
+
}
|
|
1581
|
+
});
|
|
1582
|
+
var GalleriaContent = class GalleriaContent extends BaseComponent {
|
|
1583
|
+
galleria;
|
|
1584
|
+
differs;
|
|
1585
|
+
hostName = "Galleria";
|
|
1586
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
1587
|
+
onAfterViewChecked() {
|
|
1588
|
+
this.bindDirectiveInstance.setAttrs(this.getPTOptions("root"));
|
|
1589
|
+
}
|
|
1590
|
+
activeIndex = input(0, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
1591
|
+
_activeIndex = 0;
|
|
1592
|
+
value = input([], ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
1593
|
+
numVisible = input(void 0, {
|
|
1594
|
+
...ngDevMode ? { debugName: "numVisible" } : /* istanbul ignore next */ {},
|
|
1595
|
+
transform: numberAttribute
|
|
1596
|
+
});
|
|
1597
|
+
fullScreen = input(false, {
|
|
1598
|
+
...ngDevMode ? { debugName: "fullScreen" } : /* istanbul ignore next */ {},
|
|
1599
|
+
transform: booleanAttribute
|
|
1600
|
+
});
|
|
1601
|
+
_fullScreen = false;
|
|
1602
|
+
maskHide = output();
|
|
1603
|
+
activeItemChange = output();
|
|
1604
|
+
closeButton = viewChild("closeButton", ...ngDevMode ? [{ debugName: "closeButton" }] : /* istanbul ignore next */ []);
|
|
1605
|
+
_componentStyle = inject(GalleriaStyle);
|
|
1606
|
+
$pcGalleria = inject(GALLERIA_INSTANCE, {
|
|
1607
|
+
optional: true,
|
|
1608
|
+
skipSelf: true
|
|
1609
|
+
}) ?? void 0;
|
|
1610
|
+
id;
|
|
1611
|
+
slideShowActive = true;
|
|
1612
|
+
interval;
|
|
1613
|
+
styleClass;
|
|
1614
|
+
differ;
|
|
1615
|
+
constructor(galleria, differs) {
|
|
1616
|
+
super();
|
|
1617
|
+
this.galleria = galleria;
|
|
1618
|
+
this.differs = differs;
|
|
1619
|
+
this.id = this.galleria.id() || uuid("pn_id_");
|
|
1620
|
+
this.differ = this.differs.find(this.galleria).create();
|
|
1621
|
+
effect(() => {
|
|
1622
|
+
this._activeIndex = this.activeIndex();
|
|
1623
|
+
});
|
|
1624
|
+
effect(() => {
|
|
1625
|
+
this._fullScreen = this.fullScreen();
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
handleFullscreenChange(event) {
|
|
1629
|
+
if (document?.fullscreenElement === this.el.nativeElement?.children[0]) this._fullScreen = true;
|
|
1630
|
+
else this._fullScreen = false;
|
|
1631
|
+
}
|
|
1632
|
+
onDoCheck() {
|
|
1633
|
+
if (isPlatformBrowser(this.galleria.platformId)) {
|
|
1634
|
+
const changes = this.differ.diff(this.galleria);
|
|
1635
|
+
if (changes && changes.forEachItem.length > 0) this.cd.markForCheck();
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
shouldRenderFooter() {
|
|
1639
|
+
return this.galleria.footerFacet && this.galleria.templates().length > 0 || this.galleria.footerTemplate();
|
|
1640
|
+
}
|
|
1641
|
+
startSlideShow() {
|
|
1642
|
+
if (isPlatformBrowser(this.galleria.platformId)) {
|
|
1643
|
+
this.interval = setInterval(() => {
|
|
1644
|
+
let activeIndex = this.galleria.circular() && this.value().length - 1 === this._activeIndex ? 0 : this._activeIndex + 1;
|
|
1645
|
+
this.onActiveIndexChange(activeIndex);
|
|
1646
|
+
this._activeIndex = activeIndex;
|
|
1647
|
+
}, this.galleria.transitionInterval());
|
|
1648
|
+
this.slideShowActive = true;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
stopSlideShow() {
|
|
1652
|
+
if (this.galleria.autoPlay() && !this.galleria.shouldStopAutoplayByClick()) return;
|
|
1653
|
+
if (this.interval) clearInterval(this.interval);
|
|
1654
|
+
this.slideShowActive = false;
|
|
1655
|
+
}
|
|
1656
|
+
getPositionClass(preClassName, position) {
|
|
1657
|
+
const pos = [
|
|
1658
|
+
"top",
|
|
1659
|
+
"left",
|
|
1660
|
+
"bottom",
|
|
1661
|
+
"right"
|
|
1662
|
+
].find((item) => item === position);
|
|
1663
|
+
return pos ? `${preClassName}-${pos}` : "";
|
|
1664
|
+
}
|
|
1665
|
+
isVertical() {
|
|
1666
|
+
const thumbnailsPosition = this.galleria.thumbnailsPosition();
|
|
1667
|
+
return thumbnailsPosition === "left" || thumbnailsPosition === "right";
|
|
1668
|
+
}
|
|
1669
|
+
onActiveIndexChange(index) {
|
|
1670
|
+
if (this._activeIndex !== index) {
|
|
1671
|
+
this._activeIndex = index;
|
|
1672
|
+
this.activeItemChange.emit(this._activeIndex);
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
closeAriaLabel() {
|
|
1676
|
+
return this.config.translation.aria ? this.config.translation.aria.close : void 0;
|
|
1677
|
+
}
|
|
1678
|
+
getPTOptions(key) {
|
|
1679
|
+
return this.ptm(key, { context: {
|
|
1680
|
+
pt: this.pt(),
|
|
1681
|
+
unstyled: this.unstyled()
|
|
1682
|
+
} });
|
|
1683
|
+
}
|
|
1684
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1685
|
+
minVersion: "12.0.0",
|
|
1686
|
+
version: "22.2.1",
|
|
1687
|
+
ngImport: i0,
|
|
1688
|
+
type: GalleriaContent,
|
|
1689
|
+
deps: [{ token: Galleria }, { token: i0.KeyValueDiffers }],
|
|
1690
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1691
|
+
});
|
|
1692
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1693
|
+
minVersion: "17.0.0",
|
|
1694
|
+
version: "22.2.1",
|
|
1695
|
+
type: GalleriaContent,
|
|
1696
|
+
isStandalone: false,
|
|
1697
|
+
selector: "div[hGalleriaContent]",
|
|
1698
|
+
inputs: {
|
|
1699
|
+
activeIndex: {
|
|
1700
|
+
classPropertyName: "activeIndex",
|
|
1701
|
+
publicName: "activeIndex",
|
|
1702
|
+
isSignal: true,
|
|
1703
|
+
isRequired: false,
|
|
1704
|
+
transformFunction: null
|
|
1705
|
+
},
|
|
1706
|
+
value: {
|
|
1707
|
+
classPropertyName: "value",
|
|
1708
|
+
publicName: "value",
|
|
1709
|
+
isSignal: true,
|
|
1710
|
+
isRequired: false,
|
|
1711
|
+
transformFunction: null
|
|
1712
|
+
},
|
|
1713
|
+
numVisible: {
|
|
1714
|
+
classPropertyName: "numVisible",
|
|
1715
|
+
publicName: "numVisible",
|
|
1716
|
+
isSignal: true,
|
|
1717
|
+
isRequired: false,
|
|
1718
|
+
transformFunction: null
|
|
1719
|
+
},
|
|
1720
|
+
fullScreen: {
|
|
1721
|
+
classPropertyName: "fullScreen",
|
|
1722
|
+
publicName: "fullScreen",
|
|
1723
|
+
isSignal: true,
|
|
1724
|
+
isRequired: false,
|
|
1725
|
+
transformFunction: null
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
outputs: {
|
|
1729
|
+
maskHide: "maskHide",
|
|
1730
|
+
activeItemChange: "activeItemChange"
|
|
1731
|
+
},
|
|
1732
|
+
host: {
|
|
1733
|
+
listeners: { "document:fullscreenchange": "handleFullscreenChange($event)" },
|
|
1734
|
+
properties: {
|
|
1735
|
+
"attr.id": "id",
|
|
1736
|
+
"attr.role": "\"region\"",
|
|
1737
|
+
"style": "!galleria.fullScreen() ? galleria.containerStyle() : {}",
|
|
1738
|
+
"class": "cn(cx('root'))"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
providers: [GalleriaStyle],
|
|
1742
|
+
viewQueries: [{
|
|
1743
|
+
propertyName: "closeButton",
|
|
1744
|
+
first: true,
|
|
1745
|
+
predicate: ["closeButton"],
|
|
1746
|
+
descendants: true,
|
|
1747
|
+
isSignal: true
|
|
1748
|
+
}],
|
|
1749
|
+
usesInheritance: true,
|
|
1750
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
1751
|
+
ngImport: i0,
|
|
1752
|
+
template: "@if (value() && value().length > 0) {\n @if (galleria.fullScreen()) {\n <button type=\"button\" [hBind]=\"getPTOptions('closeButton')\" [class]=\"cx('closeButton')\" (click)=\"maskHide.emit()\" [attr.aria-label]=\"closeAriaLabel()\">\n @if (!galleria.closeIconTemplate && !galleria._closeIconTemplate()) {\n <svg data-h-icon=\"times\" [hBind]=\"getPTOptions('closeIcon')\" [class]=\"cx('closeIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.closeIconTemplate || galleria._closeIconTemplate()\"></ng-template>\n </button>\n }\n @if (galleria.templates() && (galleria.headerFacet || galleria.headerTemplate())) {\n <div hGalleriaItemSlot [unstyled]=\"unstyled()\" type=\"header\" [templates]=\"galleria.templates()\" [hBind]=\"getPTOptions('header')\" [class]=\"cx('header')\"></div>\n }\n <div [hBind]=\"getPTOptions('content')\" [class]=\"cx('content')\" [attr.aria-live]=\"galleria.autoPlay() ? 'polite' : 'off'\">\n <div\n hGalleriaItem\n [id]=\"id\"\n [value]=\"value()\"\n [activeIndex]=\"_activeIndex\"\n [circular]=\"galleria.circular()\"\n [templates]=\"galleria.templates()\"\n (onActiveIndexChange)=\"onActiveIndexChange($event)\"\n [showIndicators]=\"galleria.showIndicators()\"\n [changeItemOnIndicatorHover]=\"galleria.changeItemOnIndicatorHover()\"\n [indicatorFacet]=\"galleria.indicatorFacet\"\n [captionFacet]=\"galleria.captionFacet\"\n [showItemNavigators]=\"galleria.showItemNavigators()\"\n [autoPlay]=\"galleria.autoPlay()\"\n [slideShowActive]=\"slideShowActive\"\n (startSlideShow)=\"startSlideShow()\"\n (stopSlideShow)=\"stopSlideShow()\"\n [pt]=\"pt()\"\n [unstyled]=\"unstyled()\"\n [class]=\"cx('itemsContainer')\"\n ></div>\n @if (galleria.showThumbnails()) {\n <div\n hGalleriaThumbnails\n [containerId]=\"id\"\n [value]=\"value()\"\n (onActiveIndexChange)=\"onActiveIndexChange($event)\"\n [activeIndex]=\"_activeIndex\"\n [templates]=\"galleria.templates()\"\n [numVisible]=\"numVisible()\"\n [responsiveOptions]=\"galleria.responsiveOptions()\"\n [circular]=\"galleria.circular()\"\n [isVertical]=\"isVertical()\"\n [contentHeight]=\"galleria.verticalThumbnailViewPortHeight()\"\n [showThumbnailNavigators]=\"galleria.showThumbnailNavigators()\"\n [slideShowActive]=\"slideShowActive\"\n (stopSlideShow)=\"stopSlideShow()\"\n [pt]=\"pt()\"\n [unstyled]=\"unstyled()\"\n ></div>\n }\n </div>\n @if (shouldRenderFooter()) {\n <div hGalleriaItemSlot [hBind]=\"getPTOptions('footer')\" [class]=\"cx('footer')\" type=\"footer\" [templates]=\"galleria.templates()\" [unstyled]=\"unstyled()\"></div>\n }\n}\n",
|
|
1753
|
+
dependencies: [
|
|
1754
|
+
{
|
|
1755
|
+
kind: "directive",
|
|
1756
|
+
type: i0.forwardRef(() => i2.NgTemplateOutlet),
|
|
1757
|
+
selector: "[ngTemplateOutlet]",
|
|
1758
|
+
inputs: [
|
|
1759
|
+
"ngTemplateOutletContext",
|
|
1760
|
+
"ngTemplateOutlet",
|
|
1761
|
+
"ngTemplateOutletInjector"
|
|
1762
|
+
]
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
kind: "component",
|
|
1766
|
+
type: i0.forwardRef(() => TimesIcon),
|
|
1767
|
+
selector: "[data-h-icon=\"times\"]"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
kind: "directive",
|
|
1771
|
+
type: i0.forwardRef(() => i1.Bind),
|
|
1772
|
+
selector: "[hBind]",
|
|
1773
|
+
inputs: ["hBind"]
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
kind: "component",
|
|
1777
|
+
type: i0.forwardRef(() => GalleriaItemSlot),
|
|
1778
|
+
selector: "div[hGalleriaItemSlot]",
|
|
1779
|
+
inputs: [
|
|
1780
|
+
"templates",
|
|
1781
|
+
"index",
|
|
1782
|
+
"item",
|
|
1783
|
+
"type"
|
|
1784
|
+
]
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
kind: "component",
|
|
1788
|
+
type: i0.forwardRef(() => GalleriaItem),
|
|
1789
|
+
selector: "div[hGalleriaItem]",
|
|
1790
|
+
inputs: [
|
|
1791
|
+
"id",
|
|
1792
|
+
"circular",
|
|
1793
|
+
"value",
|
|
1794
|
+
"showItemNavigators",
|
|
1795
|
+
"showIndicators",
|
|
1796
|
+
"slideShowActive",
|
|
1797
|
+
"changeItemOnIndicatorHover",
|
|
1798
|
+
"autoPlay",
|
|
1799
|
+
"templates",
|
|
1800
|
+
"indicatorFacet",
|
|
1801
|
+
"captionFacet",
|
|
1802
|
+
"activeIndex"
|
|
1803
|
+
],
|
|
1804
|
+
outputs: [
|
|
1805
|
+
"startSlideShow",
|
|
1806
|
+
"stopSlideShow",
|
|
1807
|
+
"onActiveIndexChange"
|
|
1808
|
+
]
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
kind: "component",
|
|
1812
|
+
type: i0.forwardRef(() => GalleriaThumbnails),
|
|
1813
|
+
selector: "div[hGalleriaThumbnails]",
|
|
1814
|
+
inputs: [
|
|
1815
|
+
"containerId",
|
|
1816
|
+
"value",
|
|
1817
|
+
"isVertical",
|
|
1818
|
+
"slideShowActive",
|
|
1819
|
+
"circular",
|
|
1820
|
+
"responsiveOptions",
|
|
1821
|
+
"contentHeight",
|
|
1822
|
+
"showThumbnailNavigators",
|
|
1823
|
+
"templates",
|
|
1824
|
+
"numVisible",
|
|
1825
|
+
"activeIndex"
|
|
1826
|
+
],
|
|
1827
|
+
outputs: ["onActiveIndexChange", "stopSlideShow"]
|
|
1828
|
+
}
|
|
1829
|
+
],
|
|
1830
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1831
|
+
});
|
|
1832
|
+
};
|
|
1833
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1834
|
+
minVersion: "12.0.0",
|
|
1835
|
+
version: "22.2.1",
|
|
1836
|
+
ngImport: i0,
|
|
1837
|
+
type: GalleriaContent,
|
|
1838
|
+
decorators: [{
|
|
1839
|
+
type: Component,
|
|
1840
|
+
args: [{
|
|
1841
|
+
selector: "div[hGalleriaContent]",
|
|
1842
|
+
standalone: false,
|
|
1843
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1844
|
+
providers: [GalleriaStyle],
|
|
1845
|
+
host: {
|
|
1846
|
+
"[attr.id]": "id",
|
|
1847
|
+
"[attr.role]": "\"region\"",
|
|
1848
|
+
"[style]": "!galleria.fullScreen() ? galleria.containerStyle() : {}",
|
|
1849
|
+
"[class]": "cn(cx('root'))",
|
|
1850
|
+
"(document:fullscreenchange)": "handleFullscreenChange($event)"
|
|
1851
|
+
},
|
|
1852
|
+
hostDirectives: [Bind],
|
|
1853
|
+
template: "@if (value() && value().length > 0) {\n @if (galleria.fullScreen()) {\n <button type=\"button\" [hBind]=\"getPTOptions('closeButton')\" [class]=\"cx('closeButton')\" (click)=\"maskHide.emit()\" [attr.aria-label]=\"closeAriaLabel()\">\n @if (!galleria.closeIconTemplate && !galleria._closeIconTemplate()) {\n <svg data-h-icon=\"times\" [hBind]=\"getPTOptions('closeIcon')\" [class]=\"cx('closeIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.closeIconTemplate || galleria._closeIconTemplate()\"></ng-template>\n </button>\n }\n @if (galleria.templates() && (galleria.headerFacet || galleria.headerTemplate())) {\n <div hGalleriaItemSlot [unstyled]=\"unstyled()\" type=\"header\" [templates]=\"galleria.templates()\" [hBind]=\"getPTOptions('header')\" [class]=\"cx('header')\"></div>\n }\n <div [hBind]=\"getPTOptions('content')\" [class]=\"cx('content')\" [attr.aria-live]=\"galleria.autoPlay() ? 'polite' : 'off'\">\n <div\n hGalleriaItem\n [id]=\"id\"\n [value]=\"value()\"\n [activeIndex]=\"_activeIndex\"\n [circular]=\"galleria.circular()\"\n [templates]=\"galleria.templates()\"\n (onActiveIndexChange)=\"onActiveIndexChange($event)\"\n [showIndicators]=\"galleria.showIndicators()\"\n [changeItemOnIndicatorHover]=\"galleria.changeItemOnIndicatorHover()\"\n [indicatorFacet]=\"galleria.indicatorFacet\"\n [captionFacet]=\"galleria.captionFacet\"\n [showItemNavigators]=\"galleria.showItemNavigators()\"\n [autoPlay]=\"galleria.autoPlay()\"\n [slideShowActive]=\"slideShowActive\"\n (startSlideShow)=\"startSlideShow()\"\n (stopSlideShow)=\"stopSlideShow()\"\n [pt]=\"pt()\"\n [unstyled]=\"unstyled()\"\n [class]=\"cx('itemsContainer')\"\n ></div>\n @if (galleria.showThumbnails()) {\n <div\n hGalleriaThumbnails\n [containerId]=\"id\"\n [value]=\"value()\"\n (onActiveIndexChange)=\"onActiveIndexChange($event)\"\n [activeIndex]=\"_activeIndex\"\n [templates]=\"galleria.templates()\"\n [numVisible]=\"numVisible()\"\n [responsiveOptions]=\"galleria.responsiveOptions()\"\n [circular]=\"galleria.circular()\"\n [isVertical]=\"isVertical()\"\n [contentHeight]=\"galleria.verticalThumbnailViewPortHeight()\"\n [showThumbnailNavigators]=\"galleria.showThumbnailNavigators()\"\n [slideShowActive]=\"slideShowActive\"\n (stopSlideShow)=\"stopSlideShow()\"\n [pt]=\"pt()\"\n [unstyled]=\"unstyled()\"\n ></div>\n }\n </div>\n @if (shouldRenderFooter()) {\n <div hGalleriaItemSlot [hBind]=\"getPTOptions('footer')\" [class]=\"cx('footer')\" type=\"footer\" [templates]=\"galleria.templates()\" [unstyled]=\"unstyled()\"></div>\n }\n}\n"
|
|
1854
|
+
}]
|
|
1855
|
+
}],
|
|
1856
|
+
ctorParameters: () => [{ type: Galleria }, { type: i0.KeyValueDiffers }],
|
|
1857
|
+
propDecorators: {
|
|
1858
|
+
activeIndex: [{
|
|
1859
|
+
type: i0.Input,
|
|
1860
|
+
args: [{
|
|
1861
|
+
isSignal: true,
|
|
1862
|
+
alias: "activeIndex",
|
|
1863
|
+
required: false
|
|
1864
|
+
}]
|
|
1865
|
+
}],
|
|
1866
|
+
value: [{
|
|
1867
|
+
type: i0.Input,
|
|
1868
|
+
args: [{
|
|
1869
|
+
isSignal: true,
|
|
1870
|
+
alias: "value",
|
|
1871
|
+
required: false
|
|
1872
|
+
}]
|
|
1873
|
+
}],
|
|
1874
|
+
numVisible: [{
|
|
1875
|
+
type: i0.Input,
|
|
1876
|
+
args: [{
|
|
1877
|
+
isSignal: true,
|
|
1878
|
+
alias: "numVisible",
|
|
1879
|
+
required: false
|
|
1880
|
+
}]
|
|
1881
|
+
}],
|
|
1882
|
+
fullScreen: [{
|
|
1883
|
+
type: i0.Input,
|
|
1884
|
+
args: [{
|
|
1885
|
+
isSignal: true,
|
|
1886
|
+
alias: "fullScreen",
|
|
1887
|
+
required: false
|
|
1888
|
+
}]
|
|
1889
|
+
}],
|
|
1890
|
+
maskHide: [{
|
|
1891
|
+
type: i0.Output,
|
|
1892
|
+
args: ["maskHide"]
|
|
1893
|
+
}],
|
|
1894
|
+
activeItemChange: [{
|
|
1895
|
+
type: i0.Output,
|
|
1896
|
+
args: ["activeItemChange"]
|
|
1897
|
+
}],
|
|
1898
|
+
closeButton: [{
|
|
1899
|
+
type: i0.ViewChild,
|
|
1900
|
+
args: ["closeButton", { isSignal: true }]
|
|
1901
|
+
}]
|
|
1902
|
+
}
|
|
1903
|
+
});
|
|
1904
|
+
var GalleriaItemSlot = class GalleriaItemSlot extends BaseComponent {
|
|
1905
|
+
hostName = "Galleria";
|
|
1906
|
+
templates = input(...ngDevMode ? [void 0, { debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
1907
|
+
index = input(void 0, {
|
|
1908
|
+
...ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {},
|
|
1909
|
+
transform: numberAttribute
|
|
1910
|
+
});
|
|
1911
|
+
item = input(...ngDevMode ? [void 0, { debugName: "item" }] : /* istanbul ignore next */ []);
|
|
1912
|
+
_itemEffect = effect(() => {
|
|
1913
|
+
const item = this.item();
|
|
1914
|
+
const templates = this.templates();
|
|
1915
|
+
if (templates && templates.length > 0) templates.forEach((tmpl) => {
|
|
1916
|
+
const type = this.type();
|
|
1917
|
+
if (tmpl.getType() === type) switch (type) {
|
|
1918
|
+
case "item":
|
|
1919
|
+
case "caption":
|
|
1920
|
+
case "thumbnail":
|
|
1921
|
+
this.context = { $implicit: item };
|
|
1922
|
+
this.contentTemplate = tmpl.template;
|
|
1923
|
+
break;
|
|
1924
|
+
case "footer":
|
|
1925
|
+
this.context = { $implicit: item };
|
|
1926
|
+
this.contentTemplate = tmpl.template;
|
|
1927
|
+
break;
|
|
1928
|
+
}
|
|
1929
|
+
});
|
|
1930
|
+
else this.getContentTemplate();
|
|
1931
|
+
}, ...ngDevMode ? [{ debugName: "_itemEffect" }] : /* istanbul ignore next */ []);
|
|
1932
|
+
shouldRender() {
|
|
1933
|
+
return this.contentTemplate || this.galleria._itemTemplate() || this.galleria.itemTemplate || this.galleria.captionTemplate() || this.galleria.captionTemplate() || this.galleria.captionFacet || this.galleria.thumbnailTemplate || this.galleria._thumbnailTemplate() || this.galleria.footerTemplate();
|
|
1934
|
+
}
|
|
1935
|
+
galleria = inject(Galleria);
|
|
1936
|
+
$pcGalleria = inject(GALLERIA_INSTANCE, {
|
|
1937
|
+
optional: true,
|
|
1938
|
+
skipSelf: true
|
|
1939
|
+
}) ?? void 0;
|
|
1940
|
+
getTemplateFromQueryList(type) {
|
|
1941
|
+
return this.galleria.templates().find((item) => item.getType() === type)?.template;
|
|
1942
|
+
}
|
|
1943
|
+
getContentTemplate() {
|
|
1944
|
+
switch (this.type()) {
|
|
1945
|
+
case "item":
|
|
1946
|
+
this.context = { $implicit: this.item() };
|
|
1947
|
+
this.contentTemplate = this.galleria._itemTemplate() || this.getTemplateFromQueryList("item");
|
|
1948
|
+
break;
|
|
1949
|
+
case "caption":
|
|
1950
|
+
this.context = { $implicit: this.item() };
|
|
1951
|
+
this.contentTemplate = this.galleria.captionTemplate() || this.getTemplateFromQueryList("caption");
|
|
1952
|
+
break;
|
|
1953
|
+
case "thumbnail":
|
|
1954
|
+
this.context = { $implicit: this.item() };
|
|
1955
|
+
this.contentTemplate = this.galleria._thumbnailTemplate() || this.getTemplateFromQueryList("thumbnail");
|
|
1956
|
+
break;
|
|
1957
|
+
case "indicator":
|
|
1958
|
+
this.context = { $implicit: this.index() };
|
|
1959
|
+
this.contentTemplate = this.galleria.indicatorTemplate() || this.getTemplateFromQueryList("indicator");
|
|
1960
|
+
break;
|
|
1961
|
+
case "footer":
|
|
1962
|
+
this.context = { $implicit: this.item() };
|
|
1963
|
+
this.contentTemplate = this.galleria.footerTemplate() || this.getTemplateFromQueryList("footer");
|
|
1964
|
+
break;
|
|
1965
|
+
default:
|
|
1966
|
+
this.context = { $implicit: this.item() };
|
|
1967
|
+
this.contentTemplate = this.galleria._itemTemplate() || this.getTemplateFromQueryList("item");
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
type = input(...ngDevMode ? [void 0, { debugName: "type" }] : /* istanbul ignore next */ []);
|
|
1971
|
+
contentTemplate;
|
|
1972
|
+
context;
|
|
1973
|
+
onAfterContentInit() {
|
|
1974
|
+
const templates = this.templates();
|
|
1975
|
+
if (templates && templates.length > 0) templates?.forEach((item) => {
|
|
1976
|
+
const type = this.type();
|
|
1977
|
+
if (item.getType() === type) switch (type) {
|
|
1978
|
+
case "item":
|
|
1979
|
+
case "caption":
|
|
1980
|
+
case "thumbnail":
|
|
1981
|
+
this.context = { $implicit: this.item() };
|
|
1982
|
+
this.contentTemplate = item.template;
|
|
1983
|
+
break;
|
|
1984
|
+
case "indicator":
|
|
1985
|
+
this.context = { $implicit: this.index() };
|
|
1986
|
+
this.contentTemplate = item.template;
|
|
1987
|
+
break;
|
|
1988
|
+
case "footer":
|
|
1989
|
+
this.context = { $implicit: this.item() };
|
|
1990
|
+
this.contentTemplate = item.template;
|
|
1991
|
+
break;
|
|
1992
|
+
default:
|
|
1993
|
+
this.context = { $implicit: this.item() };
|
|
1994
|
+
this.contentTemplate = item.template;
|
|
1995
|
+
break;
|
|
1996
|
+
}
|
|
1997
|
+
});
|
|
1998
|
+
else this.getContentTemplate();
|
|
1999
|
+
}
|
|
2000
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2001
|
+
minVersion: "12.0.0",
|
|
2002
|
+
version: "22.2.1",
|
|
2003
|
+
ngImport: i0,
|
|
2004
|
+
type: GalleriaItemSlot,
|
|
2005
|
+
deps: null,
|
|
2006
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
2007
|
+
});
|
|
2008
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2009
|
+
minVersion: "17.0.0",
|
|
2010
|
+
version: "22.2.1",
|
|
2011
|
+
type: GalleriaItemSlot,
|
|
2012
|
+
isStandalone: false,
|
|
2013
|
+
selector: "div[hGalleriaItemSlot]",
|
|
2014
|
+
inputs: {
|
|
2015
|
+
templates: {
|
|
2016
|
+
classPropertyName: "templates",
|
|
2017
|
+
publicName: "templates",
|
|
2018
|
+
isSignal: true,
|
|
2019
|
+
isRequired: false,
|
|
2020
|
+
transformFunction: null
|
|
2021
|
+
},
|
|
2022
|
+
index: {
|
|
2023
|
+
classPropertyName: "index",
|
|
2024
|
+
publicName: "index",
|
|
2025
|
+
isSignal: true,
|
|
2026
|
+
isRequired: false,
|
|
2027
|
+
transformFunction: null
|
|
2028
|
+
},
|
|
2029
|
+
item: {
|
|
2030
|
+
classPropertyName: "item",
|
|
2031
|
+
publicName: "item",
|
|
2032
|
+
isSignal: true,
|
|
2033
|
+
isRequired: false,
|
|
2034
|
+
transformFunction: null
|
|
2035
|
+
},
|
|
2036
|
+
type: {
|
|
2037
|
+
classPropertyName: "type",
|
|
2038
|
+
publicName: "type",
|
|
2039
|
+
isSignal: true,
|
|
2040
|
+
isRequired: false,
|
|
2041
|
+
transformFunction: null
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
usesInheritance: true,
|
|
2045
|
+
ngImport: i0,
|
|
2046
|
+
template: `
|
|
1324
2047
|
@if (shouldRender()) {
|
|
1325
2048
|
<ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
|
|
1326
2049
|
}
|
|
1327
|
-
`,
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
2050
|
+
`,
|
|
2051
|
+
isInline: true,
|
|
2052
|
+
dependencies: [{
|
|
2053
|
+
kind: "directive",
|
|
2054
|
+
type: i2.NgTemplateOutlet,
|
|
2055
|
+
selector: "[ngTemplateOutlet]",
|
|
2056
|
+
inputs: [
|
|
2057
|
+
"ngTemplateOutletContext",
|
|
2058
|
+
"ngTemplateOutlet",
|
|
2059
|
+
"ngTemplateOutletInjector"
|
|
2060
|
+
]
|
|
2061
|
+
}],
|
|
2062
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2063
|
+
});
|
|
2064
|
+
};
|
|
2065
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2066
|
+
minVersion: "12.0.0",
|
|
2067
|
+
version: "22.2.1",
|
|
2068
|
+
ngImport: i0,
|
|
2069
|
+
type: GalleriaItemSlot,
|
|
2070
|
+
decorators: [{
|
|
2071
|
+
type: Component,
|
|
2072
|
+
args: [{
|
|
2073
|
+
selector: "div[hGalleriaItemSlot]",
|
|
2074
|
+
standalone: false,
|
|
2075
|
+
template: `
|
|
1335
2076
|
@if (shouldRender()) {
|
|
1336
2077
|
<ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
|
|
1337
2078
|
}
|
|
1338
2079
|
`,
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
2080
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2081
|
+
}]
|
|
2082
|
+
}],
|
|
2083
|
+
propDecorators: {
|
|
2084
|
+
templates: [{
|
|
2085
|
+
type: i0.Input,
|
|
2086
|
+
args: [{
|
|
2087
|
+
isSignal: true,
|
|
2088
|
+
alias: "templates",
|
|
2089
|
+
required: false
|
|
2090
|
+
}]
|
|
2091
|
+
}],
|
|
2092
|
+
index: [{
|
|
2093
|
+
type: i0.Input,
|
|
2094
|
+
args: [{
|
|
2095
|
+
isSignal: true,
|
|
2096
|
+
alias: "index",
|
|
2097
|
+
required: false
|
|
2098
|
+
}]
|
|
2099
|
+
}],
|
|
2100
|
+
item: [{
|
|
2101
|
+
type: i0.Input,
|
|
2102
|
+
args: [{
|
|
2103
|
+
isSignal: true,
|
|
2104
|
+
alias: "item",
|
|
2105
|
+
required: false
|
|
2106
|
+
}]
|
|
2107
|
+
}],
|
|
2108
|
+
type: [{
|
|
2109
|
+
type: i0.Input,
|
|
2110
|
+
args: [{
|
|
2111
|
+
isSignal: true,
|
|
2112
|
+
alias: "type",
|
|
2113
|
+
required: false
|
|
2114
|
+
}]
|
|
2115
|
+
}]
|
|
2116
|
+
}
|
|
2117
|
+
});
|
|
2118
|
+
var GalleriaItem = class GalleriaItem extends BaseComponent {
|
|
2119
|
+
galleria;
|
|
2120
|
+
hostName = "Galleria";
|
|
2121
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
2122
|
+
onAfterViewChecked() {
|
|
2123
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("itemsContainer"));
|
|
2124
|
+
}
|
|
2125
|
+
id = input(...ngDevMode ? [void 0, { debugName: "id" }] : /* istanbul ignore next */ []);
|
|
2126
|
+
circular = input(false, {
|
|
2127
|
+
...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
|
|
2128
|
+
transform: booleanAttribute
|
|
2129
|
+
});
|
|
2130
|
+
value = input(...ngDevMode ? [void 0, { debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2131
|
+
showItemNavigators = input(false, {
|
|
2132
|
+
...ngDevMode ? { debugName: "showItemNavigators" } : /* istanbul ignore next */ {},
|
|
2133
|
+
transform: booleanAttribute
|
|
2134
|
+
});
|
|
2135
|
+
showIndicators = input(true, {
|
|
2136
|
+
...ngDevMode ? { debugName: "showIndicators" } : /* istanbul ignore next */ {},
|
|
2137
|
+
transform: booleanAttribute
|
|
2138
|
+
});
|
|
2139
|
+
slideShowActive = input(true, {
|
|
2140
|
+
...ngDevMode ? { debugName: "slideShowActive" } : /* istanbul ignore next */ {},
|
|
2141
|
+
transform: booleanAttribute
|
|
2142
|
+
});
|
|
2143
|
+
changeItemOnIndicatorHover = input(true, {
|
|
2144
|
+
...ngDevMode ? { debugName: "changeItemOnIndicatorHover" } : /* istanbul ignore next */ {},
|
|
2145
|
+
transform: booleanAttribute
|
|
2146
|
+
});
|
|
2147
|
+
autoPlay = input(false, {
|
|
2148
|
+
...ngDevMode ? { debugName: "autoPlay" } : /* istanbul ignore next */ {},
|
|
2149
|
+
transform: booleanAttribute
|
|
2150
|
+
});
|
|
2151
|
+
templates = input(...ngDevMode ? [void 0, { debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
2152
|
+
indicatorFacet = input(...ngDevMode ? [void 0, { debugName: "indicatorFacet" }] : /* istanbul ignore next */ []);
|
|
2153
|
+
captionFacet = input(...ngDevMode ? [void 0, { debugName: "captionFacet" }] : /* istanbul ignore next */ []);
|
|
2154
|
+
startSlideShow = output();
|
|
2155
|
+
stopSlideShow = output();
|
|
2156
|
+
onActiveIndexChange = output();
|
|
2157
|
+
_componentStyle = inject(GalleriaStyle);
|
|
2158
|
+
activeIndex = input(0, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
2159
|
+
get activeItem() {
|
|
2160
|
+
const value = this.value();
|
|
2161
|
+
return value && value[this.activeIndex()];
|
|
2162
|
+
}
|
|
2163
|
+
leftButtonFocused = false;
|
|
2164
|
+
rightButtonFocused = false;
|
|
2165
|
+
constructor(galleria) {
|
|
2166
|
+
super();
|
|
2167
|
+
this.galleria = galleria;
|
|
2168
|
+
}
|
|
2169
|
+
getIndicatorPTOptions(index) {
|
|
2170
|
+
return this.ptm("indicator", { context: { highlighted: this.activeIndex() === index } });
|
|
2171
|
+
}
|
|
2172
|
+
onChanges({ autoPlay }) {
|
|
2173
|
+
if (autoPlay?.currentValue) this.startSlideShow.emit();
|
|
2174
|
+
if (autoPlay && autoPlay.currentValue === false) this.stopTheSlideShow();
|
|
2175
|
+
}
|
|
2176
|
+
next() {
|
|
2177
|
+
let nextItemIndex = this.activeIndex() + 1;
|
|
2178
|
+
let activeIndex = this.circular() && this.value().length - 1 === this.activeIndex() ? 0 : nextItemIndex;
|
|
2179
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
2180
|
+
}
|
|
2181
|
+
prev() {
|
|
2182
|
+
let prevItemIndex = this.activeIndex() !== 0 ? this.activeIndex() - 1 : 0;
|
|
2183
|
+
let activeIndex = this.circular() && this.activeIndex() === 0 ? this.value().length - 1 : prevItemIndex;
|
|
2184
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
2185
|
+
}
|
|
2186
|
+
onButtonFocus(pos) {
|
|
2187
|
+
if (pos === "left") this.leftButtonFocused = true;
|
|
2188
|
+
else this.rightButtonFocused = true;
|
|
2189
|
+
}
|
|
2190
|
+
onButtonBlur(pos) {
|
|
2191
|
+
if (pos === "left") this.leftButtonFocused = false;
|
|
2192
|
+
else this.rightButtonFocused = false;
|
|
2193
|
+
}
|
|
2194
|
+
stopTheSlideShow() {
|
|
2195
|
+
if (this.slideShowActive() && this.stopSlideShow) this.stopSlideShow.emit();
|
|
2196
|
+
}
|
|
2197
|
+
navForward(e) {
|
|
2198
|
+
this.stopTheSlideShow();
|
|
2199
|
+
this.next();
|
|
2200
|
+
if (e && e.cancelable) {
|
|
2201
|
+
e.stopPropagation();
|
|
2202
|
+
e.preventDefault();
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
navBackward(e) {
|
|
2206
|
+
this.stopTheSlideShow();
|
|
2207
|
+
this.prev();
|
|
2208
|
+
if (e && e.cancelable) {
|
|
2209
|
+
e.stopPropagation();
|
|
2210
|
+
e.preventDefault();
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
onIndicatorClick(index) {
|
|
2214
|
+
this.stopTheSlideShow();
|
|
2215
|
+
this.onActiveIndexChange.emit(index);
|
|
2216
|
+
}
|
|
2217
|
+
onIndicatorMouseEnter(index) {
|
|
2218
|
+
if (this.changeItemOnIndicatorHover()) {
|
|
2219
|
+
this.stopTheSlideShow();
|
|
2220
|
+
this.onActiveIndexChange.emit(index);
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
onIndicatorKeyDown(event, index) {
|
|
2224
|
+
switch (event.code) {
|
|
2225
|
+
case "Enter":
|
|
2226
|
+
case "Space":
|
|
2227
|
+
this.stopTheSlideShow();
|
|
2228
|
+
this.onActiveIndexChange.emit(index);
|
|
2229
|
+
event.preventDefault();
|
|
2230
|
+
break;
|
|
2231
|
+
case "ArrowDown":
|
|
2232
|
+
case "ArrowUp":
|
|
2233
|
+
event.preventDefault();
|
|
2234
|
+
break;
|
|
2235
|
+
default: break;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
isNavForwardDisabled() {
|
|
2239
|
+
return !this.circular() && this.activeIndex() === this.value().length - 1;
|
|
2240
|
+
}
|
|
2241
|
+
isNavBackwardDisabled() {
|
|
2242
|
+
return !this.circular() && this.activeIndex() === 0;
|
|
2243
|
+
}
|
|
2244
|
+
isIndicatorItemActive(index) {
|
|
2245
|
+
return this.activeIndex() === index;
|
|
2246
|
+
}
|
|
2247
|
+
ariaSlideLabel() {
|
|
2248
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.slide : void 0;
|
|
2249
|
+
}
|
|
2250
|
+
ariaSlideNumber(value) {
|
|
2251
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.slideNumber?.replace(/{slideNumber}/g, value) : void 0;
|
|
2252
|
+
}
|
|
2253
|
+
ariaPageLabel(value) {
|
|
2254
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel?.replace(/{page}/g, value) : void 0;
|
|
2255
|
+
}
|
|
2256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2257
|
+
minVersion: "12.0.0",
|
|
2258
|
+
version: "22.2.1",
|
|
2259
|
+
ngImport: i0,
|
|
2260
|
+
type: GalleriaItem,
|
|
2261
|
+
deps: [{ token: Galleria }],
|
|
2262
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
2263
|
+
});
|
|
2264
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2265
|
+
minVersion: "17.0.0",
|
|
2266
|
+
version: "22.2.1",
|
|
2267
|
+
type: GalleriaItem,
|
|
2268
|
+
isStandalone: false,
|
|
2269
|
+
selector: "div[hGalleriaItem]",
|
|
2270
|
+
inputs: {
|
|
2271
|
+
id: {
|
|
2272
|
+
classPropertyName: "id",
|
|
2273
|
+
publicName: "id",
|
|
2274
|
+
isSignal: true,
|
|
2275
|
+
isRequired: false,
|
|
2276
|
+
transformFunction: null
|
|
2277
|
+
},
|
|
2278
|
+
circular: {
|
|
2279
|
+
classPropertyName: "circular",
|
|
2280
|
+
publicName: "circular",
|
|
2281
|
+
isSignal: true,
|
|
2282
|
+
isRequired: false,
|
|
2283
|
+
transformFunction: null
|
|
2284
|
+
},
|
|
2285
|
+
value: {
|
|
2286
|
+
classPropertyName: "value",
|
|
2287
|
+
publicName: "value",
|
|
2288
|
+
isSignal: true,
|
|
2289
|
+
isRequired: false,
|
|
2290
|
+
transformFunction: null
|
|
2291
|
+
},
|
|
2292
|
+
showItemNavigators: {
|
|
2293
|
+
classPropertyName: "showItemNavigators",
|
|
2294
|
+
publicName: "showItemNavigators",
|
|
2295
|
+
isSignal: true,
|
|
2296
|
+
isRequired: false,
|
|
2297
|
+
transformFunction: null
|
|
2298
|
+
},
|
|
2299
|
+
showIndicators: {
|
|
2300
|
+
classPropertyName: "showIndicators",
|
|
2301
|
+
publicName: "showIndicators",
|
|
2302
|
+
isSignal: true,
|
|
2303
|
+
isRequired: false,
|
|
2304
|
+
transformFunction: null
|
|
2305
|
+
},
|
|
2306
|
+
slideShowActive: {
|
|
2307
|
+
classPropertyName: "slideShowActive",
|
|
2308
|
+
publicName: "slideShowActive",
|
|
2309
|
+
isSignal: true,
|
|
2310
|
+
isRequired: false,
|
|
2311
|
+
transformFunction: null
|
|
2312
|
+
},
|
|
2313
|
+
changeItemOnIndicatorHover: {
|
|
2314
|
+
classPropertyName: "changeItemOnIndicatorHover",
|
|
2315
|
+
publicName: "changeItemOnIndicatorHover",
|
|
2316
|
+
isSignal: true,
|
|
2317
|
+
isRequired: false,
|
|
2318
|
+
transformFunction: null
|
|
2319
|
+
},
|
|
2320
|
+
autoPlay: {
|
|
2321
|
+
classPropertyName: "autoPlay",
|
|
2322
|
+
publicName: "autoPlay",
|
|
2323
|
+
isSignal: true,
|
|
2324
|
+
isRequired: false,
|
|
2325
|
+
transformFunction: null
|
|
2326
|
+
},
|
|
2327
|
+
templates: {
|
|
2328
|
+
classPropertyName: "templates",
|
|
2329
|
+
publicName: "templates",
|
|
2330
|
+
isSignal: true,
|
|
2331
|
+
isRequired: false,
|
|
2332
|
+
transformFunction: null
|
|
2333
|
+
},
|
|
2334
|
+
indicatorFacet: {
|
|
2335
|
+
classPropertyName: "indicatorFacet",
|
|
2336
|
+
publicName: "indicatorFacet",
|
|
2337
|
+
isSignal: true,
|
|
2338
|
+
isRequired: false,
|
|
2339
|
+
transformFunction: null
|
|
2340
|
+
},
|
|
2341
|
+
captionFacet: {
|
|
2342
|
+
classPropertyName: "captionFacet",
|
|
2343
|
+
publicName: "captionFacet",
|
|
2344
|
+
isSignal: true,
|
|
2345
|
+
isRequired: false,
|
|
2346
|
+
transformFunction: null
|
|
2347
|
+
},
|
|
2348
|
+
activeIndex: {
|
|
2349
|
+
classPropertyName: "activeIndex",
|
|
2350
|
+
publicName: "activeIndex",
|
|
2351
|
+
isSignal: true,
|
|
2352
|
+
isRequired: false,
|
|
2353
|
+
transformFunction: null
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
outputs: {
|
|
2357
|
+
startSlideShow: "startSlideShow",
|
|
2358
|
+
stopSlideShow: "stopSlideShow",
|
|
2359
|
+
onActiveIndexChange: "onActiveIndexChange"
|
|
2360
|
+
},
|
|
2361
|
+
providers: [GalleriaStyle],
|
|
2362
|
+
usesInheritance: true,
|
|
2363
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
2364
|
+
ngImport: i0,
|
|
2365
|
+
template: "<div [hBind]=\"ptm('items')\" [class]=\"cx('items')\">\n @if (showItemNavigators()) {\n <button\n type=\"button\"\n role=\"navigation\"\n [hBind]=\"ptm('prevButton')\"\n [class]=\"cx('prevButton')\"\n (click)=\"navBackward($event)\"\n (focus)=\"onButtonFocus('left')\"\n (blur)=\"onButtonBlur('left')\"\n data-pc-group-section=\"itemnavigator\"\n >\n @if (!galleria.itemPreviousIconTemplate && !galleria._itemPreviousIconTemplate()) {\n <svg data-h-icon=\"chevron-left\" [hBind]=\"ptm('prevIcon')\" [class]=\"cx('prevIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.itemPreviousIconTemplate || galleria._itemPreviousIconTemplate()\"></ng-template>\n </button>\n }\n <div\n hGalleriaItemSlot\n [hBind]=\"ptm('item')\"\n [unstyled]=\"unstyled()\"\n [class]=\"cx('item')\"\n [item]=\"activeItem\"\n [templates]=\"templates()\"\n [id]=\"id() + '_item_' + activeIndex()\"\n role=\"group\"\n [class]=\"cx('item')\"\n [attr.aria-label]=\"ariaSlideNumber(activeIndex() + 1)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n ></div>\n @if (showItemNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('nextButton')\"\n [class]=\"cx('nextButton')\"\n (click)=\"navForward($event)\"\n role=\"navigation\"\n (focus)=\"onButtonFocus('right')\"\n (blur)=\"onButtonBlur('right')\"\n data-pc-group-section=\"itemnavigator\"\n >\n @if (!galleria.itemNextIconTemplate && !galleria._itemNextIconTemplate()) {\n <svg data-h-icon=\"chevron-right\" [hBind]=\"ptm('nextIcon')\" [class]=\"cx('nextIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.itemNextIconTemplate || galleria._itemNextIconTemplate()\"></ng-template>\n </button>\n }\n @if (captionFacet() || galleria.captionTemplate()) {\n <div hGalleriaItemSlot [hBind]=\"ptm('caption')\" [unstyled]=\"unstyled()\" [class]=\"cx('caption')\" type=\"caption\" [item]=\"activeItem\" [templates]=\"templates()\"></div>\n }\n</div>\n@if (showIndicators()) {\n <ul [hBind]=\"ptm('indicatorList')\" [class]=\"cx('indicatorList')\">\n @for (item of value(); track item; let index = $index) {\n <li\n [hBind]=\"getIndicatorPTOptions(index)\"\n tabindex=\"0\"\n (click)=\"onIndicatorClick(index)\"\n (mouseenter)=\"onIndicatorMouseEnter(index)\"\n (keydown)=\"onIndicatorKeyDown($event, index)\"\n [class]=\"cx('indicator', { index })\"\n [attr.aria-label]=\"ariaPageLabel(index + 1)\"\n [attr.aria-selected]=\"activeIndex() === index\"\n [attr.aria-controls]=\"id() + '_item_' + index\"\n [hBind]=\"ptm('indicator', getIndicatorPTOptions(index))\"\n [attr.data-h-active]=\"isIndicatorItemActive(index)\"\n >\n @if (!indicatorFacet() && !galleria.indicatorTemplate()) {\n <button type=\"button\" tabIndex=\"-1\" [hBind]=\"ptm('indicatorButton', getIndicatorPTOptions(index))\" [class]=\"cx('indicatorButton')\"></button>\n }\n @if (indicatorFacet() || galleria.indicatorTemplate()) {\n <div hGalleriaItemSlot type=\"indicator\" [index]=\"index\" [templates]=\"templates()\" [hBind]=\"ptm('item')\" [unstyled]=\"unstyled()\"></div>\n }\n </li>\n }\n </ul>\n}\n",
|
|
2366
|
+
dependencies: [
|
|
2367
|
+
{
|
|
2368
|
+
kind: "directive",
|
|
2369
|
+
type: i0.forwardRef(() => i2.NgTemplateOutlet),
|
|
2370
|
+
selector: "[ngTemplateOutlet]",
|
|
2371
|
+
inputs: [
|
|
2372
|
+
"ngTemplateOutletContext",
|
|
2373
|
+
"ngTemplateOutlet",
|
|
2374
|
+
"ngTemplateOutletInjector"
|
|
2375
|
+
]
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
kind: "component",
|
|
2379
|
+
type: i0.forwardRef(() => ChevronRightIcon),
|
|
2380
|
+
selector: "[data-h-icon=\"chevron-right\"]"
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
kind: "component",
|
|
2384
|
+
type: i0.forwardRef(() => ChevronLeftIcon),
|
|
2385
|
+
selector: "[data-h-icon=\"chevron-left\"]"
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
kind: "directive",
|
|
2389
|
+
type: i0.forwardRef(() => i1.Bind),
|
|
2390
|
+
selector: "[hBind]",
|
|
2391
|
+
inputs: ["hBind"]
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
kind: "component",
|
|
2395
|
+
type: i0.forwardRef(() => GalleriaItemSlot),
|
|
2396
|
+
selector: "div[hGalleriaItemSlot]",
|
|
2397
|
+
inputs: [
|
|
2398
|
+
"templates",
|
|
2399
|
+
"index",
|
|
2400
|
+
"item",
|
|
2401
|
+
"type"
|
|
2402
|
+
]
|
|
2403
|
+
}
|
|
2404
|
+
],
|
|
2405
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2406
|
+
});
|
|
2407
|
+
};
|
|
2408
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2409
|
+
minVersion: "12.0.0",
|
|
2410
|
+
version: "22.2.1",
|
|
2411
|
+
ngImport: i0,
|
|
2412
|
+
type: GalleriaItem,
|
|
2413
|
+
decorators: [{
|
|
2414
|
+
type: Component,
|
|
2415
|
+
args: [{
|
|
2416
|
+
selector: "div[hGalleriaItem]",
|
|
2417
|
+
standalone: false,
|
|
2418
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2419
|
+
providers: [GalleriaStyle],
|
|
2420
|
+
hostDirectives: [Bind],
|
|
2421
|
+
template: "<div [hBind]=\"ptm('items')\" [class]=\"cx('items')\">\n @if (showItemNavigators()) {\n <button\n type=\"button\"\n role=\"navigation\"\n [hBind]=\"ptm('prevButton')\"\n [class]=\"cx('prevButton')\"\n (click)=\"navBackward($event)\"\n (focus)=\"onButtonFocus('left')\"\n (blur)=\"onButtonBlur('left')\"\n data-pc-group-section=\"itemnavigator\"\n >\n @if (!galleria.itemPreviousIconTemplate && !galleria._itemPreviousIconTemplate()) {\n <svg data-h-icon=\"chevron-left\" [hBind]=\"ptm('prevIcon')\" [class]=\"cx('prevIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.itemPreviousIconTemplate || galleria._itemPreviousIconTemplate()\"></ng-template>\n </button>\n }\n <div\n hGalleriaItemSlot\n [hBind]=\"ptm('item')\"\n [unstyled]=\"unstyled()\"\n [class]=\"cx('item')\"\n [item]=\"activeItem\"\n [templates]=\"templates()\"\n [id]=\"id() + '_item_' + activeIndex()\"\n role=\"group\"\n [class]=\"cx('item')\"\n [attr.aria-label]=\"ariaSlideNumber(activeIndex() + 1)\"\n [attr.aria-roledescription]=\"ariaSlideLabel()\"\n ></div>\n @if (showItemNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('nextButton')\"\n [class]=\"cx('nextButton')\"\n (click)=\"navForward($event)\"\n role=\"navigation\"\n (focus)=\"onButtonFocus('right')\"\n (blur)=\"onButtonBlur('right')\"\n data-pc-group-section=\"itemnavigator\"\n >\n @if (!galleria.itemNextIconTemplate && !galleria._itemNextIconTemplate()) {\n <svg data-h-icon=\"chevron-right\" [hBind]=\"ptm('nextIcon')\" [class]=\"cx('nextIcon')\" />\n }\n <ng-template *ngTemplateOutlet=\"galleria.itemNextIconTemplate || galleria._itemNextIconTemplate()\"></ng-template>\n </button>\n }\n @if (captionFacet() || galleria.captionTemplate()) {\n <div hGalleriaItemSlot [hBind]=\"ptm('caption')\" [unstyled]=\"unstyled()\" [class]=\"cx('caption')\" type=\"caption\" [item]=\"activeItem\" [templates]=\"templates()\"></div>\n }\n</div>\n@if (showIndicators()) {\n <ul [hBind]=\"ptm('indicatorList')\" [class]=\"cx('indicatorList')\">\n @for (item of value(); track item; let index = $index) {\n <li\n [hBind]=\"getIndicatorPTOptions(index)\"\n tabindex=\"0\"\n (click)=\"onIndicatorClick(index)\"\n (mouseenter)=\"onIndicatorMouseEnter(index)\"\n (keydown)=\"onIndicatorKeyDown($event, index)\"\n [class]=\"cx('indicator', { index })\"\n [attr.aria-label]=\"ariaPageLabel(index + 1)\"\n [attr.aria-selected]=\"activeIndex() === index\"\n [attr.aria-controls]=\"id() + '_item_' + index\"\n [hBind]=\"ptm('indicator', getIndicatorPTOptions(index))\"\n [attr.data-h-active]=\"isIndicatorItemActive(index)\"\n >\n @if (!indicatorFacet() && !galleria.indicatorTemplate()) {\n <button type=\"button\" tabIndex=\"-1\" [hBind]=\"ptm('indicatorButton', getIndicatorPTOptions(index))\" [class]=\"cx('indicatorButton')\"></button>\n }\n @if (indicatorFacet() || galleria.indicatorTemplate()) {\n <div hGalleriaItemSlot type=\"indicator\" [index]=\"index\" [templates]=\"templates()\" [hBind]=\"ptm('item')\" [unstyled]=\"unstyled()\"></div>\n }\n </li>\n }\n </ul>\n}\n"
|
|
2422
|
+
}]
|
|
2423
|
+
}],
|
|
2424
|
+
ctorParameters: () => [{ type: Galleria }],
|
|
2425
|
+
propDecorators: {
|
|
2426
|
+
id: [{
|
|
2427
|
+
type: i0.Input,
|
|
2428
|
+
args: [{
|
|
2429
|
+
isSignal: true,
|
|
2430
|
+
alias: "id",
|
|
2431
|
+
required: false
|
|
2432
|
+
}]
|
|
2433
|
+
}],
|
|
2434
|
+
circular: [{
|
|
2435
|
+
type: i0.Input,
|
|
2436
|
+
args: [{
|
|
2437
|
+
isSignal: true,
|
|
2438
|
+
alias: "circular",
|
|
2439
|
+
required: false
|
|
2440
|
+
}]
|
|
2441
|
+
}],
|
|
2442
|
+
value: [{
|
|
2443
|
+
type: i0.Input,
|
|
2444
|
+
args: [{
|
|
2445
|
+
isSignal: true,
|
|
2446
|
+
alias: "value",
|
|
2447
|
+
required: false
|
|
2448
|
+
}]
|
|
2449
|
+
}],
|
|
2450
|
+
showItemNavigators: [{
|
|
2451
|
+
type: i0.Input,
|
|
2452
|
+
args: [{
|
|
2453
|
+
isSignal: true,
|
|
2454
|
+
alias: "showItemNavigators",
|
|
2455
|
+
required: false
|
|
2456
|
+
}]
|
|
2457
|
+
}],
|
|
2458
|
+
showIndicators: [{
|
|
2459
|
+
type: i0.Input,
|
|
2460
|
+
args: [{
|
|
2461
|
+
isSignal: true,
|
|
2462
|
+
alias: "showIndicators",
|
|
2463
|
+
required: false
|
|
2464
|
+
}]
|
|
2465
|
+
}],
|
|
2466
|
+
slideShowActive: [{
|
|
2467
|
+
type: i0.Input,
|
|
2468
|
+
args: [{
|
|
2469
|
+
isSignal: true,
|
|
2470
|
+
alias: "slideShowActive",
|
|
2471
|
+
required: false
|
|
2472
|
+
}]
|
|
2473
|
+
}],
|
|
2474
|
+
changeItemOnIndicatorHover: [{
|
|
2475
|
+
type: i0.Input,
|
|
2476
|
+
args: [{
|
|
2477
|
+
isSignal: true,
|
|
2478
|
+
alias: "changeItemOnIndicatorHover",
|
|
2479
|
+
required: false
|
|
2480
|
+
}]
|
|
2481
|
+
}],
|
|
2482
|
+
autoPlay: [{
|
|
2483
|
+
type: i0.Input,
|
|
2484
|
+
args: [{
|
|
2485
|
+
isSignal: true,
|
|
2486
|
+
alias: "autoPlay",
|
|
2487
|
+
required: false
|
|
2488
|
+
}]
|
|
2489
|
+
}],
|
|
2490
|
+
templates: [{
|
|
2491
|
+
type: i0.Input,
|
|
2492
|
+
args: [{
|
|
2493
|
+
isSignal: true,
|
|
2494
|
+
alias: "templates",
|
|
2495
|
+
required: false
|
|
2496
|
+
}]
|
|
2497
|
+
}],
|
|
2498
|
+
indicatorFacet: [{
|
|
2499
|
+
type: i0.Input,
|
|
2500
|
+
args: [{
|
|
2501
|
+
isSignal: true,
|
|
2502
|
+
alias: "indicatorFacet",
|
|
2503
|
+
required: false
|
|
2504
|
+
}]
|
|
2505
|
+
}],
|
|
2506
|
+
captionFacet: [{
|
|
2507
|
+
type: i0.Input,
|
|
2508
|
+
args: [{
|
|
2509
|
+
isSignal: true,
|
|
2510
|
+
alias: "captionFacet",
|
|
2511
|
+
required: false
|
|
2512
|
+
}]
|
|
2513
|
+
}],
|
|
2514
|
+
startSlideShow: [{
|
|
2515
|
+
type: i0.Output,
|
|
2516
|
+
args: ["startSlideShow"]
|
|
2517
|
+
}],
|
|
2518
|
+
stopSlideShow: [{
|
|
2519
|
+
type: i0.Output,
|
|
2520
|
+
args: ["stopSlideShow"]
|
|
2521
|
+
}],
|
|
2522
|
+
onActiveIndexChange: [{
|
|
2523
|
+
type: i0.Output,
|
|
2524
|
+
args: ["onActiveIndexChange"]
|
|
2525
|
+
}],
|
|
2526
|
+
activeIndex: [{
|
|
2527
|
+
type: i0.Input,
|
|
2528
|
+
args: [{
|
|
2529
|
+
isSignal: true,
|
|
2530
|
+
alias: "activeIndex",
|
|
2531
|
+
required: false
|
|
2532
|
+
}]
|
|
2533
|
+
}]
|
|
2534
|
+
}
|
|
2535
|
+
});
|
|
2536
|
+
var GalleriaThumbnails = class GalleriaThumbnails extends BaseComponent {
|
|
2537
|
+
galleria;
|
|
2538
|
+
hostName = "Galleria";
|
|
2539
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
2540
|
+
onAfterViewChecked() {
|
|
2541
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("thumbnails"));
|
|
2542
|
+
}
|
|
2543
|
+
containerId = input(...ngDevMode ? [void 0, { debugName: "containerId" }] : /* istanbul ignore next */ []);
|
|
2544
|
+
value = input(...ngDevMode ? [void 0, { debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2545
|
+
isVertical = input(false, {
|
|
2546
|
+
...ngDevMode ? { debugName: "isVertical" } : /* istanbul ignore next */ {},
|
|
2547
|
+
transform: booleanAttribute
|
|
2548
|
+
});
|
|
2549
|
+
slideShowActive = input(false, {
|
|
2550
|
+
...ngDevMode ? { debugName: "slideShowActive" } : /* istanbul ignore next */ {},
|
|
2551
|
+
transform: booleanAttribute
|
|
2552
|
+
});
|
|
2553
|
+
circular = input(false, {
|
|
2554
|
+
...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
|
|
2555
|
+
transform: booleanAttribute
|
|
2556
|
+
});
|
|
2557
|
+
responsiveOptions = input(...ngDevMode ? [void 0, { debugName: "responsiveOptions" }] : /* istanbul ignore next */ []);
|
|
2558
|
+
contentHeight = input("300px", ...ngDevMode ? [{ debugName: "contentHeight" }] : /* istanbul ignore next */ []);
|
|
2559
|
+
showThumbnailNavigators = input(true, ...ngDevMode ? [{ debugName: "showThumbnailNavigators" }] : /* istanbul ignore next */ []);
|
|
2560
|
+
templates = input(...ngDevMode ? [void 0, { debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
2561
|
+
onActiveIndexChange = output();
|
|
2562
|
+
stopSlideShow = output();
|
|
2563
|
+
itemsContainer = viewChild("itemsContainer", ...ngDevMode ? [{ debugName: "itemsContainer" }] : /* istanbul ignore next */ []);
|
|
2564
|
+
numVisible = input(0, ...ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []);
|
|
2565
|
+
activeIndex = input(0, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
2566
|
+
index;
|
|
2567
|
+
startPos = null;
|
|
2568
|
+
thumbnailsStyle = null;
|
|
2569
|
+
sortedResponsiveOptions = null;
|
|
2570
|
+
totalShiftedItems = 0;
|
|
2571
|
+
page = 0;
|
|
2572
|
+
documentResizeListener;
|
|
2573
|
+
_numVisible = 0;
|
|
2574
|
+
d_numVisible = 0;
|
|
2575
|
+
_oldNumVisible = 0;
|
|
2576
|
+
_activeIndex = 0;
|
|
2577
|
+
_oldactiveIndex = 0;
|
|
2578
|
+
_componentStyle = inject(GalleriaStyle);
|
|
2579
|
+
constructor(galleria) {
|
|
2580
|
+
super();
|
|
2581
|
+
this.galleria = galleria;
|
|
2582
|
+
effect(() => {
|
|
2583
|
+
const numVisible = this.numVisible();
|
|
2584
|
+
this._numVisible = numVisible;
|
|
2585
|
+
this._oldNumVisible = this.d_numVisible;
|
|
2586
|
+
this.d_numVisible = numVisible;
|
|
2587
|
+
});
|
|
2588
|
+
effect(() => {
|
|
2589
|
+
this._oldactiveIndex = this._activeIndex;
|
|
2590
|
+
this._activeIndex = this.activeIndex();
|
|
2591
|
+
});
|
|
2592
|
+
}
|
|
2593
|
+
onInit() {
|
|
2594
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
2595
|
+
this.createStyle();
|
|
2596
|
+
if (this.responsiveOptions()) this.bindDocumentListeners();
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
onAfterContentChecked() {
|
|
2600
|
+
let totalShiftedItems = this.totalShiftedItems;
|
|
2601
|
+
const itemsContainer = this.itemsContainer();
|
|
2602
|
+
if ((this._oldNumVisible !== this.d_numVisible || this._oldactiveIndex !== this._activeIndex) && itemsContainer) {
|
|
2603
|
+
if (this._activeIndex <= this.getMedianItemIndex()) totalShiftedItems = 0;
|
|
2604
|
+
else if (this.value().length - this.d_numVisible + this.getMedianItemIndex() < this._activeIndex) totalShiftedItems = this.d_numVisible - this.value().length;
|
|
2605
|
+
else if (this.value().length - this.d_numVisible < this._activeIndex && this.d_numVisible % 2 === 0) totalShiftedItems = this._activeIndex * -1 + this.getMedianItemIndex() + 1;
|
|
2606
|
+
else totalShiftedItems = this._activeIndex * -1 + this.getMedianItemIndex();
|
|
2607
|
+
if (totalShiftedItems !== this.totalShiftedItems) this.totalShiftedItems = totalShiftedItems;
|
|
2608
|
+
if (itemsContainer && itemsContainer.nativeElement) itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;
|
|
2609
|
+
if (this._oldactiveIndex !== this._activeIndex) {
|
|
2610
|
+
this.document.body.setAttribute("data-h-items-hidden", "false");
|
|
2611
|
+
!this.$unstyled() && removeClass(itemsContainer.nativeElement, "h-items-hidden");
|
|
2612
|
+
itemsContainer.nativeElement.style.transition = "transform 500ms ease 0s";
|
|
2613
|
+
}
|
|
2614
|
+
this._oldactiveIndex = this._activeIndex;
|
|
2615
|
+
this._oldNumVisible = this.d_numVisible;
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
onAfterViewInit() {
|
|
2619
|
+
if (isPlatformBrowser(this.platformId)) this.calculatePosition();
|
|
2620
|
+
}
|
|
2621
|
+
createStyle() {
|
|
2622
|
+
if (!this.thumbnailsStyle) {
|
|
2623
|
+
this.thumbnailsStyle = this.document.createElement("style");
|
|
2624
|
+
setAttribute(this.thumbnailsStyle, "nonce", this.galleria.config?.csp()?.nonce);
|
|
2625
|
+
this.document.body.appendChild(this.thumbnailsStyle);
|
|
2626
|
+
}
|
|
2627
|
+
let innerHTML = `
|
|
1600
2628
|
#${this.containerId()} .h-galleria-thumbnail-item {
|
|
1601
2629
|
flex: 1 0 ${100 / this.d_numVisible}%
|
|
1602
2630
|
}
|
|
1603
2631
|
`;
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
return -1 * result;
|
|
1622
|
-
});
|
|
1623
|
-
for (let i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
1624
|
-
let res = this.sortedResponsiveOptions[i];
|
|
1625
|
-
innerHTML += `
|
|
2632
|
+
const responsiveOptions = this.responsiveOptions();
|
|
2633
|
+
if (responsiveOptions && !this.$unstyled()) {
|
|
2634
|
+
this.sortedResponsiveOptions = [...responsiveOptions];
|
|
2635
|
+
this.sortedResponsiveOptions.sort((data1, data2) => {
|
|
2636
|
+
const value1 = data1.breakpoint;
|
|
2637
|
+
const value2 = data2.breakpoint;
|
|
2638
|
+
let result;
|
|
2639
|
+
if (value1 == null && value2 != null) result = -1;
|
|
2640
|
+
else if (value1 != null && value2 == null) result = 1;
|
|
2641
|
+
else if (value1 == null && value2 == null) result = 0;
|
|
2642
|
+
else if (typeof value1 === "string" && typeof value2 === "string") result = value1.localeCompare(value2, void 0, { numeric: true });
|
|
2643
|
+
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
2644
|
+
return -1 * result;
|
|
2645
|
+
});
|
|
2646
|
+
for (let i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
2647
|
+
let res = this.sortedResponsiveOptions[i];
|
|
2648
|
+
innerHTML += `
|
|
1626
2649
|
@media screen and (max-width: ${res.breakpoint}) {
|
|
1627
2650
|
#${this.containerId()} .h-galleria-thumbnail-item {
|
|
1628
2651
|
flex: 1 0 ${100 / res.numVisible}%
|
|
1629
2652
|
}
|
|
1630
2653
|
}
|
|
1631
2654
|
`;
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
2658
|
+
setAttribute(this.thumbnailsStyle, "nonce", this.galleria.config?.csp()?.nonce);
|
|
2659
|
+
}
|
|
2660
|
+
calculatePosition() {
|
|
2661
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
2662
|
+
if (this.itemsContainer() && this.sortedResponsiveOptions) {
|
|
2663
|
+
let windowWidth = window.innerWidth;
|
|
2664
|
+
let matchedResponsiveData = { numVisible: this._numVisible };
|
|
2665
|
+
for (let i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
2666
|
+
let res = this.sortedResponsiveOptions[i];
|
|
2667
|
+
if (parseInt(res.breakpoint, 10) >= windowWidth) matchedResponsiveData = res;
|
|
2668
|
+
}
|
|
2669
|
+
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
2670
|
+
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
2671
|
+
this.cd.markForCheck();
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
getTabIndex(index) {
|
|
2677
|
+
return this.isItemActive(index) ? 0 : null;
|
|
2678
|
+
}
|
|
2679
|
+
navForward(e) {
|
|
2680
|
+
this.stopTheSlideShow();
|
|
2681
|
+
let nextItemIndex = this._activeIndex + 1;
|
|
2682
|
+
const circular = this.circular();
|
|
2683
|
+
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || circular)) this.step(-1);
|
|
2684
|
+
let activeIndex = circular && this.value().length - 1 === this._activeIndex ? 0 : nextItemIndex;
|
|
2685
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
2686
|
+
if (e.cancelable) e.preventDefault();
|
|
2687
|
+
}
|
|
2688
|
+
navBackward(e) {
|
|
2689
|
+
this.stopTheSlideShow();
|
|
2690
|
+
let prevItemIndex = this._activeIndex !== 0 ? this._activeIndex - 1 : 0;
|
|
2691
|
+
let diff = prevItemIndex + this.totalShiftedItems;
|
|
2692
|
+
const circular = this.circular();
|
|
2693
|
+
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || circular)) this.step(1);
|
|
2694
|
+
let activeIndex = circular && this._activeIndex === 0 ? this.value().length - 1 : prevItemIndex;
|
|
2695
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
2696
|
+
if (e.cancelable) e.preventDefault();
|
|
2697
|
+
}
|
|
2698
|
+
onItemClick(index) {
|
|
2699
|
+
this.stopTheSlideShow();
|
|
2700
|
+
let selectedItemIndex = index;
|
|
2701
|
+
if (selectedItemIndex !== this._activeIndex) {
|
|
2702
|
+
const diff = selectedItemIndex + this.totalShiftedItems;
|
|
2703
|
+
let dir = 0;
|
|
2704
|
+
if (selectedItemIndex < this._activeIndex) {
|
|
2705
|
+
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
2706
|
+
if (dir > 0 && -1 * this.totalShiftedItems !== 0) this.step(dir);
|
|
2707
|
+
} else {
|
|
2708
|
+
dir = this.getMedianItemIndex() - diff;
|
|
2709
|
+
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) this.step(dir);
|
|
2710
|
+
}
|
|
2711
|
+
this._oldactiveIndex = this._activeIndex;
|
|
2712
|
+
this._activeIndex = selectedItemIndex;
|
|
2713
|
+
this.onActiveIndexChange.emit(this._activeIndex);
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
onThumbnailKeydown(event, index) {
|
|
2717
|
+
if (event.code === "Enter" || event.code === "Space") {
|
|
2718
|
+
this.onItemClick(index);
|
|
2719
|
+
event.preventDefault();
|
|
2720
|
+
}
|
|
2721
|
+
switch (event.code) {
|
|
2722
|
+
case "ArrowRight":
|
|
2723
|
+
this.onRightKey();
|
|
2724
|
+
break;
|
|
2725
|
+
case "ArrowLeft":
|
|
2726
|
+
this.onLeftKey();
|
|
2727
|
+
break;
|
|
2728
|
+
case "Home":
|
|
2729
|
+
this.onHomeKey();
|
|
2730
|
+
event.preventDefault();
|
|
2731
|
+
break;
|
|
2732
|
+
case "End":
|
|
2733
|
+
this.onEndKey();
|
|
2734
|
+
event.preventDefault();
|
|
2735
|
+
break;
|
|
2736
|
+
case "ArrowUp":
|
|
2737
|
+
case "ArrowDown":
|
|
2738
|
+
event.preventDefault();
|
|
2739
|
+
break;
|
|
2740
|
+
case "Tab":
|
|
2741
|
+
this.onTabKey();
|
|
2742
|
+
break;
|
|
2743
|
+
default: break;
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
onRightKey() {
|
|
2747
|
+
const indicators = find(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"]");
|
|
2748
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
2749
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
2750
|
+
}
|
|
2751
|
+
onLeftKey() {
|
|
2752
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
2753
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
2754
|
+
}
|
|
2755
|
+
onHomeKey() {
|
|
2756
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
2757
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
2758
|
+
}
|
|
2759
|
+
onEndKey() {
|
|
2760
|
+
const indicators = find(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"]");
|
|
2761
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
2762
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
2763
|
+
}
|
|
2764
|
+
onTabKey() {
|
|
2765
|
+
const indicators = [...find(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"]")];
|
|
2766
|
+
const highlightedIndex = indicators.findIndex((ind) => getAttribute(ind, "data-h-active") === true);
|
|
2767
|
+
const activeIndicator = findSingle(this.itemsContainer()?.nativeElement, "[tabindex=\"0\"]");
|
|
2768
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator?.parentElement);
|
|
2769
|
+
indicators[activeIndex].children[0].tabIndex = "-1";
|
|
2770
|
+
indicators[highlightedIndex].children[0].tabIndex = "0";
|
|
2771
|
+
}
|
|
2772
|
+
findFocusedIndicatorIndex() {
|
|
2773
|
+
const indicators = [...find(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"]")];
|
|
2774
|
+
const activeIndicator = findSingle(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"] > [tabindex=\"0\"]");
|
|
2775
|
+
return indicators.findIndex((ind) => ind === activeIndicator?.parentElement);
|
|
2776
|
+
}
|
|
2777
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
2778
|
+
const indicators = find(this.itemsContainer()?.nativeElement, "[data-pc-section=\"thumbnailitem\"]");
|
|
2779
|
+
indicators[prevInd].children[0].tabIndex = "-1";
|
|
2780
|
+
indicators[nextInd].children[0].tabIndex = "0";
|
|
2781
|
+
indicators[nextInd].children[0].focus();
|
|
2782
|
+
}
|
|
2783
|
+
step(dir) {
|
|
2784
|
+
let totalShiftedItems = this.totalShiftedItems + dir;
|
|
2785
|
+
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value().length - 1) totalShiftedItems = this.d_numVisible - this.value().length;
|
|
2786
|
+
else if (dir > 0 && totalShiftedItems > 0) totalShiftedItems = 0;
|
|
2787
|
+
if (this.circular()) {
|
|
2788
|
+
const value = this.value();
|
|
2789
|
+
if (dir < 0 && value.length - 1 === this._activeIndex) totalShiftedItems = 0;
|
|
2790
|
+
else if (dir > 0 && this._activeIndex === 0) totalShiftedItems = this.d_numVisible - value.length;
|
|
2791
|
+
}
|
|
2792
|
+
const itemsContainer = this.itemsContainer();
|
|
2793
|
+
if (itemsContainer) {
|
|
2794
|
+
this.document.body.setAttribute("data-h-items-hidden", "false");
|
|
2795
|
+
!this.$unstyled() && removeClass(itemsContainer.nativeElement, "h-items-hidden");
|
|
2796
|
+
itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;
|
|
2797
|
+
itemsContainer.nativeElement.style.transition = "transform 500ms ease 0s";
|
|
2798
|
+
}
|
|
2799
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
2800
|
+
}
|
|
2801
|
+
stopTheSlideShow() {
|
|
2802
|
+
if (this.slideShowActive() && this.stopSlideShow) this.stopSlideShow.emit();
|
|
2803
|
+
}
|
|
2804
|
+
changePageOnTouch(e, diff) {
|
|
2805
|
+
if (diff < 0) this.navForward(e);
|
|
2806
|
+
else this.navBackward(e);
|
|
2807
|
+
}
|
|
2808
|
+
getTotalPageNumber() {
|
|
2809
|
+
return this.value().length > this.d_numVisible ? this.value().length - this.d_numVisible + 1 : 0;
|
|
2810
|
+
}
|
|
2811
|
+
getMedianItemIndex() {
|
|
2812
|
+
let index = Math.floor(this.d_numVisible / 2);
|
|
2813
|
+
return this.d_numVisible % 2 ? index : index - 1;
|
|
2814
|
+
}
|
|
2815
|
+
onTransitionEnd() {
|
|
2816
|
+
const itemsContainer = this.itemsContainer();
|
|
2817
|
+
if (itemsContainer && itemsContainer.nativeElement) {
|
|
2818
|
+
this.document.body.setAttribute("data-h-items-hidden", "true");
|
|
2819
|
+
!this.$unstyled() && addClass(itemsContainer.nativeElement, "h-items-hidden");
|
|
2820
|
+
itemsContainer.nativeElement.style.transition = "";
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
onTouchEnd(e) {
|
|
2824
|
+
let touchobj = e.changedTouches[0];
|
|
2825
|
+
if (this.isVertical()) this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
2826
|
+
else this.changePageOnTouch(e, touchobj.pageX - this.startPos.x);
|
|
2827
|
+
}
|
|
2828
|
+
onTouchMove(e) {
|
|
2829
|
+
if (e.cancelable) e.preventDefault();
|
|
2830
|
+
}
|
|
2831
|
+
onTouchStart(e) {
|
|
2832
|
+
let touchobj = e.changedTouches[0];
|
|
2833
|
+
this.startPos = {
|
|
2834
|
+
x: touchobj.pageX,
|
|
2835
|
+
y: touchobj.pageY
|
|
2836
|
+
};
|
|
2837
|
+
}
|
|
2838
|
+
isNavBackwardDisabled() {
|
|
2839
|
+
return !this.circular() && this._activeIndex === 0 || this.value().length <= this.d_numVisible;
|
|
2840
|
+
}
|
|
2841
|
+
isNavForwardDisabled() {
|
|
2842
|
+
const value = this.value();
|
|
2843
|
+
return !this.circular() && this._activeIndex === value.length - 1 || value.length <= this.d_numVisible;
|
|
2844
|
+
}
|
|
2845
|
+
firstItemAciveIndex() {
|
|
2846
|
+
return this.totalShiftedItems * -1;
|
|
2847
|
+
}
|
|
2848
|
+
lastItemActiveIndex() {
|
|
2849
|
+
return this.firstItemAciveIndex() + this.d_numVisible - 1;
|
|
2850
|
+
}
|
|
2851
|
+
isItemActive(index) {
|
|
2852
|
+
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
2853
|
+
}
|
|
2854
|
+
bindDocumentListeners() {
|
|
2855
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
2856
|
+
const window = this.document.defaultView || "window";
|
|
2857
|
+
this.documentResizeListener = this.renderer.listen(window, "resize", () => {
|
|
2858
|
+
this.calculatePosition();
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
unbindDocumentListeners() {
|
|
2863
|
+
if (this.documentResizeListener) {
|
|
2864
|
+
this.documentResizeListener();
|
|
2865
|
+
this.documentResizeListener = null;
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
onDestroy() {
|
|
2869
|
+
if (this.responsiveOptions()) this.unbindDocumentListeners();
|
|
2870
|
+
if (this.thumbnailsStyle) this.thumbnailsStyle.parentNode?.removeChild(this.thumbnailsStyle);
|
|
2871
|
+
}
|
|
2872
|
+
ariaPrevButtonLabel() {
|
|
2873
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.prevPageLabel : void 0;
|
|
2874
|
+
}
|
|
2875
|
+
ariaNextButtonLabel() {
|
|
2876
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.nextPageLabel : void 0;
|
|
2877
|
+
}
|
|
2878
|
+
ariaPageLabel(value) {
|
|
2879
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel?.replace(/{page}/g, value) : void 0;
|
|
2880
|
+
}
|
|
2881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2882
|
+
minVersion: "12.0.0",
|
|
2883
|
+
version: "22.2.1",
|
|
2884
|
+
ngImport: i0,
|
|
2885
|
+
type: GalleriaThumbnails,
|
|
2886
|
+
deps: [{ token: Galleria }],
|
|
2887
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
2888
|
+
});
|
|
2889
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2890
|
+
minVersion: "17.0.0",
|
|
2891
|
+
version: "22.2.1",
|
|
2892
|
+
type: GalleriaThumbnails,
|
|
2893
|
+
isStandalone: false,
|
|
2894
|
+
selector: "div[hGalleriaThumbnails]",
|
|
2895
|
+
inputs: {
|
|
2896
|
+
containerId: {
|
|
2897
|
+
classPropertyName: "containerId",
|
|
2898
|
+
publicName: "containerId",
|
|
2899
|
+
isSignal: true,
|
|
2900
|
+
isRequired: false,
|
|
2901
|
+
transformFunction: null
|
|
2902
|
+
},
|
|
2903
|
+
value: {
|
|
2904
|
+
classPropertyName: "value",
|
|
2905
|
+
publicName: "value",
|
|
2906
|
+
isSignal: true,
|
|
2907
|
+
isRequired: false,
|
|
2908
|
+
transformFunction: null
|
|
2909
|
+
},
|
|
2910
|
+
isVertical: {
|
|
2911
|
+
classPropertyName: "isVertical",
|
|
2912
|
+
publicName: "isVertical",
|
|
2913
|
+
isSignal: true,
|
|
2914
|
+
isRequired: false,
|
|
2915
|
+
transformFunction: null
|
|
2916
|
+
},
|
|
2917
|
+
slideShowActive: {
|
|
2918
|
+
classPropertyName: "slideShowActive",
|
|
2919
|
+
publicName: "slideShowActive",
|
|
2920
|
+
isSignal: true,
|
|
2921
|
+
isRequired: false,
|
|
2922
|
+
transformFunction: null
|
|
2923
|
+
},
|
|
2924
|
+
circular: {
|
|
2925
|
+
classPropertyName: "circular",
|
|
2926
|
+
publicName: "circular",
|
|
2927
|
+
isSignal: true,
|
|
2928
|
+
isRequired: false,
|
|
2929
|
+
transformFunction: null
|
|
2930
|
+
},
|
|
2931
|
+
responsiveOptions: {
|
|
2932
|
+
classPropertyName: "responsiveOptions",
|
|
2933
|
+
publicName: "responsiveOptions",
|
|
2934
|
+
isSignal: true,
|
|
2935
|
+
isRequired: false,
|
|
2936
|
+
transformFunction: null
|
|
2937
|
+
},
|
|
2938
|
+
contentHeight: {
|
|
2939
|
+
classPropertyName: "contentHeight",
|
|
2940
|
+
publicName: "contentHeight",
|
|
2941
|
+
isSignal: true,
|
|
2942
|
+
isRequired: false,
|
|
2943
|
+
transformFunction: null
|
|
2944
|
+
},
|
|
2945
|
+
showThumbnailNavigators: {
|
|
2946
|
+
classPropertyName: "showThumbnailNavigators",
|
|
2947
|
+
publicName: "showThumbnailNavigators",
|
|
2948
|
+
isSignal: true,
|
|
2949
|
+
isRequired: false,
|
|
2950
|
+
transformFunction: null
|
|
2951
|
+
},
|
|
2952
|
+
templates: {
|
|
2953
|
+
classPropertyName: "templates",
|
|
2954
|
+
publicName: "templates",
|
|
2955
|
+
isSignal: true,
|
|
2956
|
+
isRequired: false,
|
|
2957
|
+
transformFunction: null
|
|
2958
|
+
},
|
|
2959
|
+
numVisible: {
|
|
2960
|
+
classPropertyName: "numVisible",
|
|
2961
|
+
publicName: "numVisible",
|
|
2962
|
+
isSignal: true,
|
|
2963
|
+
isRequired: false,
|
|
2964
|
+
transformFunction: null
|
|
2965
|
+
},
|
|
2966
|
+
activeIndex: {
|
|
2967
|
+
classPropertyName: "activeIndex",
|
|
2968
|
+
publicName: "activeIndex",
|
|
2969
|
+
isSignal: true,
|
|
2970
|
+
isRequired: false,
|
|
2971
|
+
transformFunction: null
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
outputs: {
|
|
2975
|
+
onActiveIndexChange: "onActiveIndexChange",
|
|
2976
|
+
stopSlideShow: "stopSlideShow"
|
|
2977
|
+
},
|
|
2978
|
+
host: { properties: { "class": "cx(\"thumbnails\")" } },
|
|
2979
|
+
providers: [GalleriaStyle],
|
|
2980
|
+
viewQueries: [{
|
|
2981
|
+
propertyName: "itemsContainer",
|
|
2982
|
+
first: true,
|
|
2983
|
+
predicate: ["itemsContainer"],
|
|
2984
|
+
descendants: true,
|
|
2985
|
+
isSignal: true
|
|
2986
|
+
}],
|
|
2987
|
+
usesInheritance: true,
|
|
2988
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
2989
|
+
ngImport: i0,
|
|
2990
|
+
template: "<div [hBind]=\"ptm('thumbnailContent')\" [class]=\"cx('thumbnailContent')\">\n @if (showThumbnailNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('thumbnailPrevButton')\"\n [class]=\"cx('thumbnailPrevButton')\"\n (click)=\"navBackward($event)\"\n hRipple\n [attr.aria-label]=\"ariaPrevButtonLabel()\"\n data-pc-group-section=\"thumbnailnavigator\"\n >\n @if (!galleria.previousThumbnailIconTemplate && !galleria._previousThumbnailIconTemplate()) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-left\" [hBind]=\"ptm('thumbnailPrevIcon')\" [class]=\"cx('thumbnailPrevIcon')\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-up\" [hBind]=\"ptm('thumbnailPrevIcon')\" [class]=\"cx('thumbnailPrevIcon')\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"galleria.previousThumbnailIconTemplate || galleria._previousThumbnailIconTemplate()\"></ng-template>\n </button>\n }\n <div [hBind]=\"ptm('thumbnailsViewport')\" [class]=\"cx('thumbnailsViewport')\" [ngStyle]=\"{ height: isVertical() ? contentHeight() : '' }\">\n <div #itemsContainer [hBind]=\"ptm('thumbnailItems')\" [class]=\"cx('thumbnailItems')\" (transitionend)=\"onTransitionEnd()\" (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\" role=\"tablist\">\n @for (item of value(); track item; let index = $index) {\n <div\n [hBind]=\"ptm('thumbnailItem')\"\n [class]=\"cx('thumbnailItem', { index, activeIndex: _activeIndex })\"\n [attr.aria-selected]=\"_activeIndex === index\"\n [attr.aria-controls]=\"containerId() + '_item_' + index\"\n (keydown)=\"onThumbnailKeydown($event, index)\"\n [attr.data-h-active]=\"_activeIndex === index\"\n >\n <div\n [hBind]=\"ptm('thumbnail')\"\n [class]=\"cx('thumbnail')\"\n [attr.tabindex]=\"_activeIndex === index ? 0 : -1\"\n [attr.aria-current]=\"_activeIndex === index ? 'page' : undefined\"\n [attr.aria-label]=\"ariaPageLabel(index + 1)\"\n (click)=\"onItemClick(index)\"\n (touchend)=\"onItemClick(index)\"\n (keydown.enter)=\"onItemClick(index)\"\n >\n <div hGalleriaItemSlot type=\"thumbnail\" [hBind]=\"ptm('thumbnailItem')\" [item]=\"item\" [templates]=\"templates()\" [unstyled]=\"unstyled()\"></div>\n </div>\n </div>\n }\n </div>\n </div>\n @if (showThumbnailNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('thumbnailNextButton')\"\n [class]=\"cx('thumbnailNextButton')\"\n (click)=\"navForward($event)\"\n hRipple\n [attr.aria-label]=\"ariaNextButtonLabel()\"\n data-pc-group-section=\"thumbnailnavigator\"\n >\n @if (!galleria.nextThumbnailIconTemplate && !galleria._nextThumbnailIconTemplate()) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-right\" [hBind]=\"ptm('thumbnailNextIcon')\" [class]=\"cx('thumbnailNextIcon')\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-down\" [hBind]=\"ptm('thumbnailNextIcon')\" [class]=\"cx('thumbnailNextIcon')\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"galleria.nextThumbnailIconTemplate || galleria._nextThumbnailIconTemplate()\"></ng-template>\n </button>\n }\n</div>\n",
|
|
2991
|
+
dependencies: [
|
|
2992
|
+
{
|
|
2993
|
+
kind: "directive",
|
|
2994
|
+
type: i0.forwardRef(() => i2.NgTemplateOutlet),
|
|
2995
|
+
selector: "[ngTemplateOutlet]",
|
|
2996
|
+
inputs: [
|
|
2997
|
+
"ngTemplateOutletContext",
|
|
2998
|
+
"ngTemplateOutlet",
|
|
2999
|
+
"ngTemplateOutletInjector"
|
|
3000
|
+
]
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
kind: "directive",
|
|
3004
|
+
type: i0.forwardRef(() => i2.NgStyle),
|
|
3005
|
+
selector: "[ngStyle]",
|
|
3006
|
+
inputs: ["ngStyle"]
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
kind: "directive",
|
|
3010
|
+
type: i0.forwardRef(() => Ripple),
|
|
3011
|
+
selector: "[hRipple]"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
kind: "component",
|
|
3015
|
+
type: i0.forwardRef(() => ChevronRightIcon),
|
|
3016
|
+
selector: "[data-h-icon=\"chevron-right\"]"
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
kind: "component",
|
|
3020
|
+
type: i0.forwardRef(() => ChevronUpIcon),
|
|
3021
|
+
selector: "[data-h-icon=\"chevron-up\"]"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
kind: "component",
|
|
3025
|
+
type: i0.forwardRef(() => ChevronDownIcon),
|
|
3026
|
+
selector: "[data-h-icon=\"chevron-down\"]"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
kind: "component",
|
|
3030
|
+
type: i0.forwardRef(() => ChevronLeftIcon),
|
|
3031
|
+
selector: "[data-h-icon=\"chevron-left\"]"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
kind: "directive",
|
|
3035
|
+
type: i0.forwardRef(() => i1.Bind),
|
|
3036
|
+
selector: "[hBind]",
|
|
3037
|
+
inputs: ["hBind"]
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
kind: "component",
|
|
3041
|
+
type: i0.forwardRef(() => GalleriaItemSlot),
|
|
3042
|
+
selector: "div[hGalleriaItemSlot]",
|
|
3043
|
+
inputs: [
|
|
3044
|
+
"templates",
|
|
3045
|
+
"index",
|
|
3046
|
+
"item",
|
|
3047
|
+
"type"
|
|
3048
|
+
]
|
|
3049
|
+
}
|
|
3050
|
+
],
|
|
3051
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3052
|
+
});
|
|
3053
|
+
};
|
|
3054
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
3055
|
+
minVersion: "12.0.0",
|
|
3056
|
+
version: "22.2.1",
|
|
3057
|
+
ngImport: i0,
|
|
3058
|
+
type: GalleriaThumbnails,
|
|
3059
|
+
decorators: [{
|
|
3060
|
+
type: Component,
|
|
3061
|
+
args: [{
|
|
3062
|
+
selector: "div[hGalleriaThumbnails]",
|
|
3063
|
+
standalone: false,
|
|
3064
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3065
|
+
providers: [GalleriaStyle],
|
|
3066
|
+
host: { "[class]": "cx(\"thumbnails\")" },
|
|
3067
|
+
hostDirectives: [Bind],
|
|
3068
|
+
template: "<div [hBind]=\"ptm('thumbnailContent')\" [class]=\"cx('thumbnailContent')\">\n @if (showThumbnailNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('thumbnailPrevButton')\"\n [class]=\"cx('thumbnailPrevButton')\"\n (click)=\"navBackward($event)\"\n hRipple\n [attr.aria-label]=\"ariaPrevButtonLabel()\"\n data-pc-group-section=\"thumbnailnavigator\"\n >\n @if (!galleria.previousThumbnailIconTemplate && !galleria._previousThumbnailIconTemplate()) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-left\" [hBind]=\"ptm('thumbnailPrevIcon')\" [class]=\"cx('thumbnailPrevIcon')\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-up\" [hBind]=\"ptm('thumbnailPrevIcon')\" [class]=\"cx('thumbnailPrevIcon')\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"galleria.previousThumbnailIconTemplate || galleria._previousThumbnailIconTemplate()\"></ng-template>\n </button>\n }\n <div [hBind]=\"ptm('thumbnailsViewport')\" [class]=\"cx('thumbnailsViewport')\" [ngStyle]=\"{ height: isVertical() ? contentHeight() : '' }\">\n <div #itemsContainer [hBind]=\"ptm('thumbnailItems')\" [class]=\"cx('thumbnailItems')\" (transitionend)=\"onTransitionEnd()\" (touchstart)=\"onTouchStart($event)\" (touchmove)=\"onTouchMove($event)\" role=\"tablist\">\n @for (item of value(); track item; let index = $index) {\n <div\n [hBind]=\"ptm('thumbnailItem')\"\n [class]=\"cx('thumbnailItem', { index, activeIndex: _activeIndex })\"\n [attr.aria-selected]=\"_activeIndex === index\"\n [attr.aria-controls]=\"containerId() + '_item_' + index\"\n (keydown)=\"onThumbnailKeydown($event, index)\"\n [attr.data-h-active]=\"_activeIndex === index\"\n >\n <div\n [hBind]=\"ptm('thumbnail')\"\n [class]=\"cx('thumbnail')\"\n [attr.tabindex]=\"_activeIndex === index ? 0 : -1\"\n [attr.aria-current]=\"_activeIndex === index ? 'page' : undefined\"\n [attr.aria-label]=\"ariaPageLabel(index + 1)\"\n (click)=\"onItemClick(index)\"\n (touchend)=\"onItemClick(index)\"\n (keydown.enter)=\"onItemClick(index)\"\n >\n <div hGalleriaItemSlot type=\"thumbnail\" [hBind]=\"ptm('thumbnailItem')\" [item]=\"item\" [templates]=\"templates()\" [unstyled]=\"unstyled()\"></div>\n </div>\n </div>\n }\n </div>\n </div>\n @if (showThumbnailNavigators()) {\n <button\n type=\"button\"\n [hBind]=\"ptm('thumbnailNextButton')\"\n [class]=\"cx('thumbnailNextButton')\"\n (click)=\"navForward($event)\"\n hRipple\n [attr.aria-label]=\"ariaNextButtonLabel()\"\n data-pc-group-section=\"thumbnailnavigator\"\n >\n @if (!galleria.nextThumbnailIconTemplate && !galleria._nextThumbnailIconTemplate()) {\n @if (!isVertical()) {\n <svg data-h-icon=\"chevron-right\" [hBind]=\"ptm('thumbnailNextIcon')\" [class]=\"cx('thumbnailNextIcon')\" />\n }\n @if (isVertical()) {\n <svg data-h-icon=\"chevron-down\" [hBind]=\"ptm('thumbnailNextIcon')\" [class]=\"cx('thumbnailNextIcon')\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"galleria.nextThumbnailIconTemplate || galleria._nextThumbnailIconTemplate()\"></ng-template>\n </button>\n }\n</div>\n"
|
|
3069
|
+
}]
|
|
3070
|
+
}],
|
|
3071
|
+
ctorParameters: () => [{ type: Galleria }],
|
|
3072
|
+
propDecorators: {
|
|
3073
|
+
containerId: [{
|
|
3074
|
+
type: i0.Input,
|
|
3075
|
+
args: [{
|
|
3076
|
+
isSignal: true,
|
|
3077
|
+
alias: "containerId",
|
|
3078
|
+
required: false
|
|
3079
|
+
}]
|
|
3080
|
+
}],
|
|
3081
|
+
value: [{
|
|
3082
|
+
type: i0.Input,
|
|
3083
|
+
args: [{
|
|
3084
|
+
isSignal: true,
|
|
3085
|
+
alias: "value",
|
|
3086
|
+
required: false
|
|
3087
|
+
}]
|
|
3088
|
+
}],
|
|
3089
|
+
isVertical: [{
|
|
3090
|
+
type: i0.Input,
|
|
3091
|
+
args: [{
|
|
3092
|
+
isSignal: true,
|
|
3093
|
+
alias: "isVertical",
|
|
3094
|
+
required: false
|
|
3095
|
+
}]
|
|
3096
|
+
}],
|
|
3097
|
+
slideShowActive: [{
|
|
3098
|
+
type: i0.Input,
|
|
3099
|
+
args: [{
|
|
3100
|
+
isSignal: true,
|
|
3101
|
+
alias: "slideShowActive",
|
|
3102
|
+
required: false
|
|
3103
|
+
}]
|
|
3104
|
+
}],
|
|
3105
|
+
circular: [{
|
|
3106
|
+
type: i0.Input,
|
|
3107
|
+
args: [{
|
|
3108
|
+
isSignal: true,
|
|
3109
|
+
alias: "circular",
|
|
3110
|
+
required: false
|
|
3111
|
+
}]
|
|
3112
|
+
}],
|
|
3113
|
+
responsiveOptions: [{
|
|
3114
|
+
type: i0.Input,
|
|
3115
|
+
args: [{
|
|
3116
|
+
isSignal: true,
|
|
3117
|
+
alias: "responsiveOptions",
|
|
3118
|
+
required: false
|
|
3119
|
+
}]
|
|
3120
|
+
}],
|
|
3121
|
+
contentHeight: [{
|
|
3122
|
+
type: i0.Input,
|
|
3123
|
+
args: [{
|
|
3124
|
+
isSignal: true,
|
|
3125
|
+
alias: "contentHeight",
|
|
3126
|
+
required: false
|
|
3127
|
+
}]
|
|
3128
|
+
}],
|
|
3129
|
+
showThumbnailNavigators: [{
|
|
3130
|
+
type: i0.Input,
|
|
3131
|
+
args: [{
|
|
3132
|
+
isSignal: true,
|
|
3133
|
+
alias: "showThumbnailNavigators",
|
|
3134
|
+
required: false
|
|
3135
|
+
}]
|
|
3136
|
+
}],
|
|
3137
|
+
templates: [{
|
|
3138
|
+
type: i0.Input,
|
|
3139
|
+
args: [{
|
|
3140
|
+
isSignal: true,
|
|
3141
|
+
alias: "templates",
|
|
3142
|
+
required: false
|
|
3143
|
+
}]
|
|
3144
|
+
}],
|
|
3145
|
+
onActiveIndexChange: [{
|
|
3146
|
+
type: i0.Output,
|
|
3147
|
+
args: ["onActiveIndexChange"]
|
|
3148
|
+
}],
|
|
3149
|
+
stopSlideShow: [{
|
|
3150
|
+
type: i0.Output,
|
|
3151
|
+
args: ["stopSlideShow"]
|
|
3152
|
+
}],
|
|
3153
|
+
itemsContainer: [{
|
|
3154
|
+
type: i0.ViewChild,
|
|
3155
|
+
args: ["itemsContainer", { isSignal: true }]
|
|
3156
|
+
}],
|
|
3157
|
+
numVisible: [{
|
|
3158
|
+
type: i0.Input,
|
|
3159
|
+
args: [{
|
|
3160
|
+
isSignal: true,
|
|
3161
|
+
alias: "numVisible",
|
|
3162
|
+
required: false
|
|
3163
|
+
}]
|
|
3164
|
+
}],
|
|
3165
|
+
activeIndex: [{
|
|
3166
|
+
type: i0.Input,
|
|
3167
|
+
args: [{
|
|
3168
|
+
isSignal: true,
|
|
3169
|
+
alias: "activeIndex",
|
|
3170
|
+
required: false
|
|
3171
|
+
}]
|
|
3172
|
+
}]
|
|
3173
|
+
}
|
|
3174
|
+
});
|
|
3175
|
+
var GalleriaModule = class GalleriaModule {
|
|
3176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3177
|
+
minVersion: "12.0.0",
|
|
3178
|
+
version: "22.2.1",
|
|
3179
|
+
ngImport: i0,
|
|
3180
|
+
type: GalleriaModule,
|
|
3181
|
+
deps: [],
|
|
3182
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
3183
|
+
});
|
|
3184
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
3185
|
+
minVersion: "14.0.0",
|
|
3186
|
+
version: "22.2.1",
|
|
3187
|
+
ngImport: i0,
|
|
3188
|
+
type: GalleriaModule,
|
|
3189
|
+
declarations: [
|
|
3190
|
+
Galleria,
|
|
3191
|
+
GalleriaContent,
|
|
3192
|
+
GalleriaItemSlot,
|
|
3193
|
+
GalleriaItem,
|
|
3194
|
+
GalleriaThumbnails
|
|
3195
|
+
],
|
|
3196
|
+
imports: [
|
|
3197
|
+
CommonModule,
|
|
3198
|
+
SharedModule,
|
|
3199
|
+
Ripple,
|
|
3200
|
+
TimesIcon,
|
|
3201
|
+
ChevronRightIcon,
|
|
3202
|
+
ChevronUpIcon,
|
|
3203
|
+
ChevronDownIcon,
|
|
3204
|
+
ChevronLeftIcon,
|
|
3205
|
+
FocusTrap,
|
|
3206
|
+
BindModule,
|
|
3207
|
+
MotionModule
|
|
3208
|
+
],
|
|
3209
|
+
exports: [
|
|
3210
|
+
CommonModule,
|
|
3211
|
+
Galleria,
|
|
3212
|
+
GalleriaContent,
|
|
3213
|
+
GalleriaItemSlot,
|
|
3214
|
+
GalleriaItem,
|
|
3215
|
+
GalleriaThumbnails,
|
|
3216
|
+
SharedModule
|
|
3217
|
+
]
|
|
3218
|
+
});
|
|
3219
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
3220
|
+
minVersion: "12.0.0",
|
|
3221
|
+
version: "22.2.1",
|
|
3222
|
+
ngImport: i0,
|
|
3223
|
+
type: GalleriaModule,
|
|
3224
|
+
imports: [
|
|
3225
|
+
CommonModule,
|
|
3226
|
+
SharedModule,
|
|
3227
|
+
TimesIcon,
|
|
3228
|
+
ChevronRightIcon,
|
|
3229
|
+
ChevronUpIcon,
|
|
3230
|
+
ChevronDownIcon,
|
|
3231
|
+
ChevronLeftIcon,
|
|
3232
|
+
BindModule,
|
|
3233
|
+
MotionModule,
|
|
3234
|
+
CommonModule,
|
|
3235
|
+
SharedModule
|
|
3236
|
+
]
|
|
3237
|
+
});
|
|
3238
|
+
};
|
|
3239
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
3240
|
+
minVersion: "12.0.0",
|
|
3241
|
+
version: "22.2.1",
|
|
3242
|
+
ngImport: i0,
|
|
3243
|
+
type: GalleriaModule,
|
|
3244
|
+
decorators: [{
|
|
3245
|
+
type: NgModule,
|
|
3246
|
+
args: [{
|
|
3247
|
+
imports: [
|
|
3248
|
+
CommonModule,
|
|
3249
|
+
SharedModule,
|
|
3250
|
+
Ripple,
|
|
3251
|
+
TimesIcon,
|
|
3252
|
+
ChevronRightIcon,
|
|
3253
|
+
ChevronUpIcon,
|
|
3254
|
+
ChevronDownIcon,
|
|
3255
|
+
ChevronLeftIcon,
|
|
3256
|
+
FocusTrap,
|
|
3257
|
+
BindModule,
|
|
3258
|
+
MotionModule
|
|
3259
|
+
],
|
|
3260
|
+
exports: [
|
|
3261
|
+
CommonModule,
|
|
3262
|
+
Galleria,
|
|
3263
|
+
GalleriaContent,
|
|
3264
|
+
GalleriaItemSlot,
|
|
3265
|
+
GalleriaItem,
|
|
3266
|
+
GalleriaThumbnails,
|
|
3267
|
+
SharedModule
|
|
3268
|
+
],
|
|
3269
|
+
declarations: [
|
|
3270
|
+
Galleria,
|
|
3271
|
+
GalleriaContent,
|
|
3272
|
+
GalleriaItemSlot,
|
|
3273
|
+
GalleriaItem,
|
|
3274
|
+
GalleriaThumbnails
|
|
3275
|
+
]
|
|
3276
|
+
}]
|
|
3277
|
+
}]
|
|
3278
|
+
});
|
|
1929
3279
|
export { Galleria, GalleriaClasses, GalleriaContent, GalleriaItem, GalleriaItemSlot, GalleriaModule, GalleriaStyle, GalleriaThumbnails };
|
|
1930
|
-
|
|
3280
|
+
|
|
3281
|
+
//# sourceMappingURL=gravionlabs-helix-core-galleria.mjs.map
|