@gravionlabs/helix-core 22.1.1 → 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.
Files changed (820) hide show
  1. package/fesm2022/gravionlabs-helix-core-accordion.mjs +994 -541
  2. package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -1
  3. package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +265 -166
  4. package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/gravionlabs-helix-core-api.mjs +926 -836
  6. package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -1
  7. package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +2603 -1611
  8. package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/gravionlabs-helix-core-autofocus.mjs +115 -79
  10. package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/gravionlabs-helix-core-avatar.mjs +356 -180
  12. package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -1
  13. package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +200 -84
  14. package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -1
  15. package/fesm2022/gravionlabs-helix-core-badge.mjs +671 -390
  16. package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -1
  17. package/fesm2022/gravionlabs-helix-core-base.mjs +113 -103
  18. package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -1
  19. package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +498 -444
  20. package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -1
  21. package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +131 -69
  22. package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -1
  23. package/fesm2022/gravionlabs-helix-core-baseinput.mjs +210 -94
  24. package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -1
  25. package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +39 -26
  26. package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -1
  27. package/fesm2022/gravionlabs-helix-core-bind.mjs +136 -98
  28. package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -1
  29. package/fesm2022/gravionlabs-helix-core-blockui.mjs +390 -224
  30. package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -1
  31. package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +473 -212
  32. package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -1
  33. package/fesm2022/gravionlabs-helix-core-button.mjs +1739 -825
  34. package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -1
  35. package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +116 -64
  36. package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -1
  37. package/fesm2022/gravionlabs-helix-core-card.mjs +454 -205
  38. package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -1
  39. package/fesm2022/gravionlabs-helix-core-carousel.mjs +1238 -898
  40. package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -1
  41. package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +2373 -1337
  42. package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/gravionlabs-helix-core-chart.mjs +407 -214
  44. package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -1
  45. package/fesm2022/gravionlabs-helix-core-checkbox.mjs +704 -346
  46. package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -1
  47. package/fesm2022/gravionlabs-helix-core-chip.mjs +489 -251
  48. package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -1
  49. package/fesm2022/gravionlabs-helix-core-classnames.mjs +95 -48
  50. package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -1
  51. package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +975 -667
  52. package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -1
  53. package/fesm2022/gravionlabs-helix-core-config.mjs +395 -306
  54. package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -1
  55. package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +1222 -546
  56. package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -1
  57. package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +878 -524
  58. package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -1
  59. package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1917 -1031
  60. package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -1
  61. package/fesm2022/gravionlabs-helix-core-dataview.mjs +1075 -522
  62. package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -1
  63. package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3797 -3313
  64. package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -1
  65. package/fesm2022/gravionlabs-helix-core-dialog.mjs +1852 -1047
  66. package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -1
  67. package/fesm2022/gravionlabs-helix-core-divider.mjs +288 -136
  68. package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -1
  69. package/fesm2022/gravionlabs-helix-core-dock.mjs +655 -387
  70. package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -1
  71. package/fesm2022/gravionlabs-helix-core-dom.mjs +589 -760
  72. package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -1
  73. package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +457 -302
  74. package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -1
  75. package/fesm2022/gravionlabs-helix-core-drawer.mjs +986 -507
  76. package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -1
  77. package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +849 -923
  78. package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/gravionlabs-helix-core-editor.mjs +578 -383
  80. package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -1
  81. package/fesm2022/gravionlabs-helix-core-fieldset.mjs +593 -280
  82. package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -1
  83. package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1882 -994
  84. package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -1
  85. package/fesm2022/gravionlabs-helix-core-firsterror.mjs +41 -23
  86. package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -1
  87. package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +197 -94
  88. package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -1
  89. package/fesm2022/gravionlabs-helix-core-fluid.mjs +149 -74
  90. package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -1
  91. package/fesm2022/gravionlabs-helix-core-focustrap.mjs +141 -104
  92. package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -1
  93. package/fesm2022/gravionlabs-helix-core-galleria.mjs +2800 -1449
  94. package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -1
  95. package/fesm2022/gravionlabs-helix-core-iconfield.mjs +214 -98
  96. package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -1
  97. package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +43 -24
  98. package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -1
  99. package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +43 -24
  100. package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -1
  101. package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +43 -24
  102. package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -1
  103. package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +43 -24
  104. package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -1
  105. package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +43 -24
  106. package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -1
  107. package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +43 -24
  108. package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -1
  109. package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +43 -24
  110. package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -1
  111. package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +43 -24
  112. package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -1
  113. package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +48 -29
  114. package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -1
  115. package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +43 -24
  116. package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -1
  117. package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +43 -24
  118. package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -1
  119. package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +48 -29
  120. package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -1
  121. package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +43 -24
  122. package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -1
  123. package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +48 -29
  124. package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -1
  125. package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +48 -29
  126. package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -1
  127. package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +43 -24
  128. package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -1
  129. package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +120 -64
  130. package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -1
  131. package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +42 -23
  132. package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -1
  133. package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +43 -24
  134. package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -1
  135. package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +43 -24
  136. package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -1
  137. package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +43 -24
  138. package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -1
  139. package/fesm2022/gravionlabs-helix-core-icons-check.mjs +43 -24
  140. package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -1
  141. package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +43 -24
  142. package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -1
  143. package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +43 -24
  144. package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -1
  145. package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +43 -24
  146. package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -1
  147. package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +43 -24
  148. package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -1
  149. package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +48 -29
  150. package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -1
  151. package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +43 -24
  152. package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -1
  153. package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +48 -29
  154. package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -1
  155. package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +48 -29
  156. package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -1
  157. package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +43 -24
  158. package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -1
  159. package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +48 -29
  160. package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -1
  161. package/fesm2022/gravionlabs-helix-core-icons-home.mjs +48 -29
  162. package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -1
  163. package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +48 -29
  164. package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -1
  165. package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +43 -24
  166. package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -1
  167. package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +48 -29
  168. package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -1
  169. package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +48 -29
  170. package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -1
  171. package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +48 -29
  172. package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -1
  173. package/fesm2022/gravionlabs-helix-core-icons-search.mjs +48 -29
  174. package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -1
  175. package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +48 -29
  176. package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -1
  177. package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +48 -29
  178. package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -1
  179. package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +48 -29
  180. package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -1
  181. package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +48 -29
  182. package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -1
  183. package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +48 -29
  184. package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -1
  185. package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +48 -29
  186. package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -1
  187. package/fesm2022/gravionlabs-helix-core-icons-star.mjs +48 -29
  188. package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -1
  189. package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +48 -29
  190. package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -1
  191. package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +48 -29
  192. package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -1
  193. package/fesm2022/gravionlabs-helix-core-icons-times.mjs +43 -24
  194. package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -1
  195. package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +48 -29
  196. package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -1
  197. package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +48 -29
  198. package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -1
  199. package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +48 -29
  200. package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -1
  201. package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +48 -29
  202. package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -1
  203. package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +48 -29
  204. package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -1
  205. package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +48 -29
  206. package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -1
  207. package/fesm2022/gravionlabs-helix-core-icons.mjs +53 -63
  208. package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +175 -81
  209. package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -1
  210. package/fesm2022/gravionlabs-helix-core-image.mjs +1089 -552
  211. package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -1
  212. package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +348 -165
  213. package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -1
  214. package/fesm2022/gravionlabs-helix-core-inplace.mjs +591 -249
  215. package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -1
  216. package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +175 -91
  217. package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -1
  218. package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +196 -73
  219. package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -1
  220. package/fesm2022/gravionlabs-helix-core-inputicon.mjs +207 -70
  221. package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -1
  222. package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1581 -1330
  223. package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -1
  224. package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1696 -1294
  225. package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -1
  226. package/fesm2022/gravionlabs-helix-core-inputotp.mjs +576 -363
  227. package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -1
  228. package/fesm2022/gravionlabs-helix-core-inputtext.mjs +344 -183
  229. package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -1
  230. package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +291 -252
  231. package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -1
  232. package/fesm2022/gravionlabs-helix-core-knob.mjs +642 -396
  233. package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -1
  234. package/fesm2022/gravionlabs-helix-core-listbox.mjs +2354 -1401
  235. package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -1
  236. package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1913 -1052
  237. package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -1
  238. package/fesm2022/gravionlabs-helix-core-menu.mjs +1392 -767
  239. package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -1
  240. package/fesm2022/gravionlabs-helix-core-menubar.mjs +1857 -984
  241. package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -1
  242. package/fesm2022/gravionlabs-helix-core-message.mjs +605 -288
  243. package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -1
  244. package/fesm2022/gravionlabs-helix-core-metergroup.mjs +719 -323
  245. package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -1
  246. package/fesm2022/gravionlabs-helix-core-motion.mjs +1178 -694
  247. package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -1
  248. package/fesm2022/gravionlabs-helix-core-multiselect.mjs +3437 -1839
  249. package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -1
  250. package/fesm2022/gravionlabs-helix-core-orderlist.mjs +1426 -753
  251. package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -1
  252. package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +755 -371
  253. package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -1
  254. package/fesm2022/gravionlabs-helix-core-overlay.mjs +984 -600
  255. package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -1
  256. package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +310 -107
  257. package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -1
  258. package/fesm2022/gravionlabs-helix-core-paginator.mjs +1076 -564
  259. package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -1
  260. package/fesm2022/gravionlabs-helix-core-panel.mjs +759 -364
  261. package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -1
  262. package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1909 -888
  263. package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -1
  264. package/fesm2022/gravionlabs-helix-core-passthrough.mjs +10 -18
  265. package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -1
  266. package/fesm2022/gravionlabs-helix-core-password.mjs +1624 -894
  267. package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -1
  268. package/fesm2022/gravionlabs-helix-core-picklist.mjs +2415 -1359
  269. package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -1
  270. package/fesm2022/gravionlabs-helix-core-popover.mjs +708 -442
  271. package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -1
  272. package/fesm2022/gravionlabs-helix-core-progressbar.mjs +380 -170
  273. package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -1
  274. package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +276 -121
  275. package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -1
  276. package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +525 -291
  277. package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -1
  278. package/fesm2022/gravionlabs-helix-core-rating.mjs +529 -286
  279. package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -1
  280. package/fesm2022/gravionlabs-helix-core-ripple.mjs +194 -175
  281. package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -1
  282. package/fesm2022/gravionlabs-helix-core-scroller.mjs +1384 -977
  283. package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -1
  284. package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +605 -458
  285. package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -1
  286. package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +565 -261
  287. package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -1
  288. package/fesm2022/gravionlabs-helix-core-select.mjs +2959 -1644
  289. package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -1
  290. package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +644 -335
  291. package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -1
  292. package/fesm2022/gravionlabs-helix-core-skeleton.mjs +315 -160
  293. package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -1
  294. package/fesm2022/gravionlabs-helix-core-slider.mjs +839 -630
  295. package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -1
  296. package/fesm2022/gravionlabs-helix-core-speeddial.mjs +1183 -700
  297. package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -1
  298. package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +977 -375
  299. package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -1
  300. package/fesm2022/gravionlabs-helix-core-splitter.mjs +737 -509
  301. package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -1
  302. package/fesm2022/gravionlabs-helix-core-stepper.mjs +1397 -628
  303. package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -1
  304. package/fesm2022/gravionlabs-helix-core-steps.mjs +457 -272
  305. package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -1
  306. package/fesm2022/gravionlabs-helix-core-styleclass.mjs +466 -344
  307. package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -1
  308. package/fesm2022/gravionlabs-helix-core-table.mjs +9728 -5590
  309. package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -1
  310. package/fesm2022/gravionlabs-helix-core-tabs.mjs +1350 -735
  311. package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -1
  312. package/fesm2022/gravionlabs-helix-core-tag.mjs +343 -154
  313. package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -1
  314. package/fesm2022/gravionlabs-helix-core-terminal.mjs +384 -214
  315. package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -1
  316. package/fesm2022/gravionlabs-helix-core-textarea.mjs +347 -209
  317. package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -1
  318. package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +4846 -5618
  319. package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -1
  320. package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +4961 -5809
  321. package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -1
  322. package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +4780 -5567
  323. package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -1
  324. package/fesm2022/gravionlabs-helix-core-themes-types.mjs +0 -700
  325. package/fesm2022/gravionlabs-helix-core-themes.mjs +4 -9
  326. package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -1
  327. package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1967 -1048
  328. package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -1
  329. package/fesm2022/gravionlabs-helix-core-timeline.mjs +370 -185
  330. package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -1
  331. package/fesm2022/gravionlabs-helix-core-toast.mjs +1083 -526
  332. package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -1
  333. package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +609 -315
  334. package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -1
  335. package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +504 -246
  336. package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -1
  337. package/fesm2022/gravionlabs-helix-core-toolbar.mjs +350 -149
  338. package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -1
  339. package/fesm2022/gravionlabs-helix-core-tooltip.mjs +1035 -795
  340. package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -1
  341. package/fesm2022/gravionlabs-helix-core-tree.mjs +2673 -1668
  342. package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -1
  343. package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1773 -976
  344. package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -1
  345. package/fesm2022/gravionlabs-helix-core-treetable.mjs +5963 -3647
  346. package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -1
  347. package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +0 -4
  348. package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +0 -4
  349. package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +0 -4
  350. package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +0 -4
  351. package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +0 -4
  352. package/fesm2022/gravionlabs-helix-core-types-badge.mjs +0 -4
  353. package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +0 -4
  354. package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +0 -4
  355. package/fesm2022/gravionlabs-helix-core-types-button.mjs +0 -4
  356. package/fesm2022/gravionlabs-helix-core-types-card.mjs +0 -4
  357. package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +0 -4
  358. package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +0 -4
  359. package/fesm2022/gravionlabs-helix-core-types-chart.mjs +0 -4
  360. package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +0 -4
  361. package/fesm2022/gravionlabs-helix-core-types-chip.mjs +0 -4
  362. package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +0 -4
  363. package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +0 -4
  364. package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +0 -4
  365. package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +0 -4
  366. package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +0 -4
  367. package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +0 -4
  368. package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +0 -4
  369. package/fesm2022/gravionlabs-helix-core-types-divider.mjs +0 -4
  370. package/fesm2022/gravionlabs-helix-core-types-dock.mjs +0 -4
  371. package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +0 -4
  372. package/fesm2022/gravionlabs-helix-core-types-editor.mjs +0 -4
  373. package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +0 -4
  374. package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +0 -4
  375. package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +0 -4
  376. package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +0 -4
  377. package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +0 -4
  378. package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +0 -4
  379. package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +0 -4
  380. package/fesm2022/gravionlabs-helix-core-types-image.mjs +0 -4
  381. package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +0 -4
  382. package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +0 -4
  383. package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +0 -4
  384. package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +0 -4
  385. package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +0 -4
  386. package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +0 -4
  387. package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +0 -4
  388. package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +0 -4
  389. package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +0 -4
  390. package/fesm2022/gravionlabs-helix-core-types-knob.mjs +0 -4
  391. package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +0 -4
  392. package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +0 -4
  393. package/fesm2022/gravionlabs-helix-core-types-menu.mjs +0 -4
  394. package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +0 -4
  395. package/fesm2022/gravionlabs-helix-core-types-message.mjs +0 -4
  396. package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +0 -4
  397. package/fesm2022/gravionlabs-helix-core-types-motion.mjs +0 -4
  398. package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +0 -4
  399. package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +0 -4
  400. package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +0 -4
  401. package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +0 -4
  402. package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +0 -4
  403. package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +0 -4
  404. package/fesm2022/gravionlabs-helix-core-types-panel.mjs +0 -4
  405. package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +0 -4
  406. package/fesm2022/gravionlabs-helix-core-types-password.mjs +0 -4
  407. package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +0 -4
  408. package/fesm2022/gravionlabs-helix-core-types-popover.mjs +0 -4
  409. package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +0 -4
  410. package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +0 -4
  411. package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +0 -4
  412. package/fesm2022/gravionlabs-helix-core-types-rating.mjs +0 -4
  413. package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +0 -4
  414. package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +0 -4
  415. package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +0 -4
  416. package/fesm2022/gravionlabs-helix-core-types-select.mjs +0 -4
  417. package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +0 -4
  418. package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +0 -4
  419. package/fesm2022/gravionlabs-helix-core-types-slider.mjs +0 -4
  420. package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +0 -4
  421. package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +0 -4
  422. package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +0 -4
  423. package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +0 -4
  424. package/fesm2022/gravionlabs-helix-core-types-table.mjs +0 -4
  425. package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +0 -4
  426. package/fesm2022/gravionlabs-helix-core-types-tag.mjs +0 -4
  427. package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +0 -4
  428. package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +0 -4
  429. package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +0 -4
  430. package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +0 -4
  431. package/fesm2022/gravionlabs-helix-core-types-toast.mjs +0 -4
  432. package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +0 -4
  433. package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +0 -4
  434. package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +0 -4
  435. package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +0 -4
  436. package/fesm2022/gravionlabs-helix-core-types-tree.mjs +0 -4
  437. package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +0 -4
  438. package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +0 -4
  439. package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +192 -282
  440. package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -1
  441. package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +827 -813
  442. package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -1
  443. package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +967 -1558
  444. package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -1
  445. package/fesm2022/gravionlabs-helix-core-usestyle.mjs +62 -52
  446. package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -1
  447. package/fesm2022/gravionlabs-helix-core-utils.mjs +272 -366
  448. package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -1
  449. package/fesm2022/gravionlabs-helix-core-validators.mjs +86 -93
  450. package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -1
  451. package/fesm2022/gravionlabs-helix-core.mjs +1 -5
  452. package/fesm2022/gravionlabs-helix-core.mjs.map +1 -1
  453. package/package.json +1 -1
  454. package/types/gravionlabs-helix-core-accordion.d.ts +317 -246
  455. package/types/gravionlabs-helix-core-animateonscroll.d.ts +89 -61
  456. package/types/gravionlabs-helix-core-api.d.ts +1743 -1777
  457. package/types/gravionlabs-helix-core-autocomplete.d.ts +1070 -750
  458. package/types/gravionlabs-helix-core-autofocus.d.ts +29 -26
  459. package/types/gravionlabs-helix-core-avatar.d.ts +165 -123
  460. package/types/gravionlabs-helix-core-avatargroup.d.ts +58 -48
  461. package/types/gravionlabs-helix-core-badge.d.ts +243 -162
  462. package/types/gravionlabs-helix-core-base.d.ts +46 -49
  463. package/types/gravionlabs-helix-core-basecomponent.d.ts +187 -170
  464. package/types/gravionlabs-helix-core-baseeditableholder.d.ts +63 -45
  465. package/types/gravionlabs-helix-core-baseinput.d.ts +121 -73
  466. package/types/gravionlabs-helix-core-basemodelholder.d.ts +9 -12
  467. package/types/gravionlabs-helix-core-bind.d.ts +36 -33
  468. package/types/gravionlabs-helix-core-blockui.d.ts +114 -90
  469. package/types/gravionlabs-helix-core-breadcrumb.d.ts +158 -132
  470. package/types/gravionlabs-helix-core-button.d.ts +716 -443
  471. package/types/gravionlabs-helix-core-buttongroup.d.ts +28 -33
  472. package/types/gravionlabs-helix-core-card.d.ts +156 -136
  473. package/types/gravionlabs-helix-core-carousel.d.ts +461 -361
  474. package/types/gravionlabs-helix-core-cascadeselect.d.ts +880 -604
  475. package/types/gravionlabs-helix-core-chart.d.ts +162 -115
  476. package/types/gravionlabs-helix-core-checkbox.d.ts +310 -211
  477. package/types/gravionlabs-helix-core-chip.d.ts +202 -147
  478. package/types/gravionlabs-helix-core-classnames.d.ts +23 -21
  479. package/types/gravionlabs-helix-core-colorpicker.d.ts +359 -290
  480. package/types/gravionlabs-helix-core-config.d.ts +249 -259
  481. package/types/gravionlabs-helix-core-confirmdialog.d.ts +498 -325
  482. package/types/gravionlabs-helix-core-confirmpopup.d.ts +273 -218
  483. package/types/gravionlabs-helix-core-contextmenu.d.ts +509 -351
  484. package/types/gravionlabs-helix-core-dataview.d.ts +507 -349
  485. package/types/gravionlabs-helix-core-datepicker.d.ts +1267 -954
  486. package/types/gravionlabs-helix-core-dialog.d.ts +758 -515
  487. package/types/gravionlabs-helix-core-divider.d.ts +126 -106
  488. package/types/gravionlabs-helix-core-dock.d.ts +219 -181
  489. package/types/gravionlabs-helix-core-dom.d.ts +97 -100
  490. package/types/gravionlabs-helix-core-dragdrop.d.ts +149 -107
  491. package/types/gravionlabs-helix-core-drawer.d.ts +382 -278
  492. package/types/gravionlabs-helix-core-dynamicdialog.d.ts +512 -519
  493. package/types/gravionlabs-helix-core-editor.d.ts +225 -173
  494. package/types/gravionlabs-helix-core-fieldset.d.ts +209 -170
  495. package/types/gravionlabs-helix-core-fileupload.d.ts +764 -533
  496. package/types/gravionlabs-helix-core-firsterror.d.ts +8 -11
  497. package/types/gravionlabs-helix-core-floatlabel.d.ts +57 -52
  498. package/types/gravionlabs-helix-core-fluid.d.ts +38 -39
  499. package/types/gravionlabs-helix-core-focustrap.d.ts +33 -30
  500. package/types/gravionlabs-helix-core-galleria.d.ts +957 -628
  501. package/types/gravionlabs-helix-core-iconfield.d.ts +72 -57
  502. package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +6 -9
  503. package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +6 -9
  504. package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +6 -9
  505. package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +6 -9
  506. package/types/gravionlabs-helix-core-icons-angledown.d.ts +6 -9
  507. package/types/gravionlabs-helix-core-icons-angleleft.d.ts +6 -9
  508. package/types/gravionlabs-helix-core-icons-angleright.d.ts +6 -9
  509. package/types/gravionlabs-helix-core-icons-angleup.d.ts +6 -9
  510. package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +8 -11
  511. package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +6 -9
  512. package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +6 -9
  513. package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +8 -11
  514. package/types/gravionlabs-helix-core-icons-arrowright.d.ts +6 -9
  515. package/types/gravionlabs-helix-core-icons-arrowup.d.ts +8 -11
  516. package/types/gravionlabs-helix-core-icons-ban.d.ts +8 -11
  517. package/types/gravionlabs-helix-core-icons-bars.d.ts +6 -9
  518. package/types/gravionlabs-helix-core-icons-baseicon.d.ts +25 -24
  519. package/types/gravionlabs-helix-core-icons-blank.d.ts +6 -9
  520. package/types/gravionlabs-helix-core-icons-calendar.d.ts +6 -9
  521. package/types/gravionlabs-helix-core-icons-caretleft.d.ts +6 -9
  522. package/types/gravionlabs-helix-core-icons-caretright.d.ts +6 -9
  523. package/types/gravionlabs-helix-core-icons-check.d.ts +6 -9
  524. package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +6 -9
  525. package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +6 -9
  526. package/types/gravionlabs-helix-core-icons-chevronright.d.ts +6 -9
  527. package/types/gravionlabs-helix-core-icons-chevronup.d.ts +6 -9
  528. package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +8 -11
  529. package/types/gravionlabs-helix-core-icons-eye.d.ts +6 -9
  530. package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +8 -11
  531. package/types/gravionlabs-helix-core-icons-filter.d.ts +8 -11
  532. package/types/gravionlabs-helix-core-icons-filterfill.d.ts +6 -9
  533. package/types/gravionlabs-helix-core-icons-filterslash.d.ts +8 -11
  534. package/types/gravionlabs-helix-core-icons-home.d.ts +8 -11
  535. package/types/gravionlabs-helix-core-icons-infocircle.d.ts +8 -11
  536. package/types/gravionlabs-helix-core-icons-minus.d.ts +6 -9
  537. package/types/gravionlabs-helix-core-icons-pencil.d.ts +8 -11
  538. package/types/gravionlabs-helix-core-icons-plus.d.ts +8 -11
  539. package/types/gravionlabs-helix-core-icons-refresh.d.ts +8 -11
  540. package/types/gravionlabs-helix-core-icons-search.d.ts +8 -11
  541. package/types/gravionlabs-helix-core-icons-searchminus.d.ts +8 -11
  542. package/types/gravionlabs-helix-core-icons-searchplus.d.ts +8 -11
  543. package/types/gravionlabs-helix-core-icons-sortalt.d.ts +8 -11
  544. package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +8 -11
  545. package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +8 -11
  546. package/types/gravionlabs-helix-core-icons-spinner.d.ts +8 -11
  547. package/types/gravionlabs-helix-core-icons-star.d.ts +8 -11
  548. package/types/gravionlabs-helix-core-icons-starfill.d.ts +8 -11
  549. package/types/gravionlabs-helix-core-icons-thlarge.d.ts +8 -11
  550. package/types/gravionlabs-helix-core-icons-times.d.ts +6 -9
  551. package/types/gravionlabs-helix-core-icons-timescircle.d.ts +8 -11
  552. package/types/gravionlabs-helix-core-icons-trash.d.ts +8 -11
  553. package/types/gravionlabs-helix-core-icons-undo.d.ts +8 -11
  554. package/types/gravionlabs-helix-core-icons-upload.d.ts +8 -11
  555. package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +8 -11
  556. package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +8 -11
  557. package/types/gravionlabs-helix-core-icons.d.ts +53 -53
  558. package/types/gravionlabs-helix-core-iftalabel.d.ts +42 -43
  559. package/types/gravionlabs-helix-core-image.d.ts +440 -331
  560. package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -84
  561. package/types/gravionlabs-helix-core-inplace.d.ts +188 -149
  562. package/types/gravionlabs-helix-core-inputgroup.d.ts +55 -50
  563. package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +54 -43
  564. package/types/gravionlabs-helix-core-inputicon.d.ts +49 -38
  565. package/types/gravionlabs-helix-core-inputmask.d.ts +499 -353
  566. package/types/gravionlabs-helix-core-inputnumber.d.ts +581 -410
  567. package/types/gravionlabs-helix-core-inputotp.d.ts +206 -158
  568. package/types/gravionlabs-helix-core-inputtext.d.ts +142 -102
  569. package/types/gravionlabs-helix-core-keyfilter.d.ts +62 -53
  570. package/types/gravionlabs-helix-core-knob.d.ts +265 -188
  571. package/types/gravionlabs-helix-core-listbox.d.ts +897 -638
  572. package/types/gravionlabs-helix-core-megamenu.d.ts +512 -365
  573. package/types/gravionlabs-helix-core-menu.d.ts +441 -343
  574. package/types/gravionlabs-helix-core-menubar.d.ts +499 -361
  575. package/types/gravionlabs-helix-core-message.d.ts +267 -195
  576. package/types/gravionlabs-helix-core-metergroup.d.ts +256 -190
  577. package/types/gravionlabs-helix-core-motion.d.ts +602 -385
  578. package/types/gravionlabs-helix-core-multiselect.d.ts +1256 -855
  579. package/types/gravionlabs-helix-core-orderlist.d.ts +504 -351
  580. package/types/gravionlabs-helix-core-organizationchart.d.ts +264 -203
  581. package/types/gravionlabs-helix-core-overlay.d.ts +417 -307
  582. package/types/gravionlabs-helix-core-overlaybadge.d.ts +107 -71
  583. package/types/gravionlabs-helix-core-paginator.d.ts +445 -336
  584. package/types/gravionlabs-helix-core-panel.d.ts +285 -225
  585. package/types/gravionlabs-helix-core-panelmenu.d.ts +499 -340
  586. package/types/gravionlabs-helix-core-passthrough.d.ts +5 -7
  587. package/types/gravionlabs-helix-core-password.d.ts +657 -463
  588. package/types/gravionlabs-helix-core-picklist.d.ts +938 -647
  589. package/types/gravionlabs-helix-core-popover.d.ts +259 -190
  590. package/types/gravionlabs-helix-core-progressbar.d.ts +141 -106
  591. package/types/gravionlabs-helix-core-progressspinner.d.ts +101 -76
  592. package/types/gravionlabs-helix-core-radiobutton.d.ts +228 -174
  593. package/types/gravionlabs-helix-core-rating.d.ts +217 -178
  594. package/types/gravionlabs-helix-core-ripple.d.ts +43 -48
  595. package/types/gravionlabs-helix-core-scroller.d.ts +505 -371
  596. package/types/gravionlabs-helix-core-scrollpanel.d.ts +151 -141
  597. package/types/gravionlabs-helix-core-scrolltop.d.ts +195 -140
  598. package/types/gravionlabs-helix-core-select.d.ts +1095 -749
  599. package/types/gravionlabs-helix-core-selectbutton.d.ts +238 -165
  600. package/types/gravionlabs-helix-core-skeleton.d.ts +123 -88
  601. package/types/gravionlabs-helix-core-slider.d.ts +259 -201
  602. package/types/gravionlabs-helix-core-speeddial.d.ts +511 -390
  603. package/types/gravionlabs-helix-core-splitbutton.d.ts +422 -267
  604. package/types/gravionlabs-helix-core-splitter.d.ts +246 -192
  605. package/types/gravionlabs-helix-core-stepper.d.ts +428 -269
  606. package/types/gravionlabs-helix-core-steps.d.ts +162 -134
  607. package/types/gravionlabs-helix-core-styleclass.d.ts +165 -107
  608. package/types/gravionlabs-helix-core-table.d.ts +2908 -1935
  609. package/types/gravionlabs-helix-core-tabs.d.ts +471 -311
  610. package/types/gravionlabs-helix-core-tag.d.ts +123 -98
  611. package/types/gravionlabs-helix-core-terminal.d.ts +142 -124
  612. package/types/gravionlabs-helix-core-textarea.d.ts +147 -110
  613. package/types/gravionlabs-helix-core-themes-aura.d.ts +957 -942
  614. package/types/gravionlabs-helix-core-themes-lara.d.ts +968 -953
  615. package/types/gravionlabs-helix-core-themes-nora.d.ts +954 -939
  616. package/types/gravionlabs-helix-core-themes-types.d.ts +17940 -18746
  617. package/types/gravionlabs-helix-core-themes.d.ts +8 -11
  618. package/types/gravionlabs-helix-core-tieredmenu.d.ts +583 -398
  619. package/types/gravionlabs-helix-core-timeline.d.ts +145 -125
  620. package/types/gravionlabs-helix-core-toast.d.ts +408 -275
  621. package/types/gravionlabs-helix-core-togglebutton.d.ts +264 -188
  622. package/types/gravionlabs-helix-core-toggleswitch.d.ts +202 -150
  623. package/types/gravionlabs-helix-core-toolbar.d.ts +100 -90
  624. package/types/gravionlabs-helix-core-tooltip.d.ts +362 -256
  625. package/types/gravionlabs-helix-core-tree.d.ts +902 -630
  626. package/types/gravionlabs-helix-core-treeselect.d.ts +770 -559
  627. package/types/gravionlabs-helix-core-treetable.d.ts +1715 -1205
  628. package/types/gravionlabs-helix-core-ts-helpers.d.ts +4 -6
  629. package/types/gravionlabs-helix-core-types-accordion.d.ts +42 -45
  630. package/types/gravionlabs-helix-core-types-autocomplete.d.ts +230 -233
  631. package/types/gravionlabs-helix-core-types-avatar.d.ts +23 -26
  632. package/types/gravionlabs-helix-core-types-avatargroup.d.ts +11 -14
  633. package/types/gravionlabs-helix-core-types-badge.d.ts +11 -14
  634. package/types/gravionlabs-helix-core-types-blockui.d.ts +18 -21
  635. package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +65 -68
  636. package/types/gravionlabs-helix-core-types-button.d.ts +90 -93
  637. package/types/gravionlabs-helix-core-types-card.d.ts +54 -57
  638. package/types/gravionlabs-helix-core-types-carousel.d.ts +107 -110
  639. package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +151 -157
  640. package/types/gravionlabs-helix-core-types-chart.d.ts +15 -18
  641. package/types/gravionlabs-helix-core-types-checkbox.d.ts +48 -51
  642. package/types/gravionlabs-helix-core-types-chip.d.ts +49 -52
  643. package/types/gravionlabs-helix-core-types-colorpicker.d.ts +58 -61
  644. package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +116 -119
  645. package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +74 -77
  646. package/types/gravionlabs-helix-core-types-contextmenu.d.ts +71 -74
  647. package/types/gravionlabs-helix-core-types-dataview.d.ts +178 -181
  648. package/types/gravionlabs-helix-core-types-datepicker.d.ts +436 -439
  649. package/types/gravionlabs-helix-core-types-dialog.d.ts +86 -89
  650. package/types/gravionlabs-helix-core-types-divider.d.ts +11 -14
  651. package/types/gravionlabs-helix-core-types-dock.d.ts +44 -47
  652. package/types/gravionlabs-helix-core-types-drawer.d.ts +61 -64
  653. package/types/gravionlabs-helix-core-types-editor.d.ts +143 -146
  654. package/types/gravionlabs-helix-core-types-fieldset.d.ts +69 -73
  655. package/types/gravionlabs-helix-core-types-fileupload.d.ts +260 -265
  656. package/types/gravionlabs-helix-core-types-floatlabel.d.ts +11 -14
  657. package/types/gravionlabs-helix-core-types-fluid.d.ts +11 -14
  658. package/types/gravionlabs-helix-core-types-galleria.d.ts +204 -207
  659. package/types/gravionlabs-helix-core-types-iconfield.d.ts +11 -14
  660. package/types/gravionlabs-helix-core-types-iftalabel.d.ts +11 -14
  661. package/types/gravionlabs-helix-core-types-image.d.ts +113 -116
  662. package/types/gravionlabs-helix-core-types-imagecompare.d.ts +22 -25
  663. package/types/gravionlabs-helix-core-types-inplace.d.ts +46 -49
  664. package/types/gravionlabs-helix-core-types-inputgroup.d.ts +11 -14
  665. package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +11 -14
  666. package/types/gravionlabs-helix-core-types-inputicon.d.ts +11 -14
  667. package/types/gravionlabs-helix-core-types-inputmask.d.ts +30 -33
  668. package/types/gravionlabs-helix-core-types-inputnumber.d.ts +68 -71
  669. package/types/gravionlabs-helix-core-types-inputotp.d.ts +67 -70
  670. package/types/gravionlabs-helix-core-types-inputtext.d.ts +7 -10
  671. package/types/gravionlabs-helix-core-types-knob.d.ts +23 -26
  672. package/types/gravionlabs-helix-core-types-listbox.d.ts +262 -266
  673. package/types/gravionlabs-helix-core-types-megamenu.d.ts +112 -115
  674. package/types/gravionlabs-helix-core-types-menu.d.ts +83 -86
  675. package/types/gravionlabs-helix-core-types-menubar.d.ts +98 -101
  676. package/types/gravionlabs-helix-core-types-message.d.ts +61 -64
  677. package/types/gravionlabs-helix-core-types-metergroup.d.ts +135 -138
  678. package/types/gravionlabs-helix-core-types-motion.d.ts +11 -14
  679. package/types/gravionlabs-helix-core-types-multiselect.d.ts +302 -306
  680. package/types/gravionlabs-helix-core-types-orderlist.d.ts +125 -128
  681. package/types/gravionlabs-helix-core-types-organizationchart.d.ts +90 -96
  682. package/types/gravionlabs-helix-core-types-overlay.d.ts +31 -34
  683. package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +17 -20
  684. package/types/gravionlabs-helix-core-types-paginator.d.ts +131 -134
  685. package/types/gravionlabs-helix-core-types-panel.d.ts +89 -93
  686. package/types/gravionlabs-helix-core-types-panelmenu.d.ts +105 -108
  687. package/types/gravionlabs-helix-core-types-password.d.ts +94 -97
  688. package/types/gravionlabs-helix-core-types-picklist.d.ts +240 -250
  689. package/types/gravionlabs-helix-core-types-popover.d.ts +33 -36
  690. package/types/gravionlabs-helix-core-types-progressbar.d.ts +32 -35
  691. package/types/gravionlabs-helix-core-types-progressspinner.d.ts +19 -22
  692. package/types/gravionlabs-helix-core-types-radiobutton.d.ts +29 -32
  693. package/types/gravionlabs-helix-core-types-rating.d.ts +62 -65
  694. package/types/gravionlabs-helix-core-types-scroller.d.ts +142 -146
  695. package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +30 -33
  696. package/types/gravionlabs-helix-core-types-scrolltop.d.ts +35 -38
  697. package/types/gravionlabs-helix-core-types-select.d.ts +245 -248
  698. package/types/gravionlabs-helix-core-types-selectbutton.d.ts +56 -59
  699. package/types/gravionlabs-helix-core-types-skeleton.d.ts +11 -14
  700. package/types/gravionlabs-helix-core-types-slider.d.ts +50 -53
  701. package/types/gravionlabs-helix-core-types-speeddial.d.ts +69 -72
  702. package/types/gravionlabs-helix-core-types-splitbutton.d.ts +41 -44
  703. package/types/gravionlabs-helix-core-types-splitter.d.ts +36 -40
  704. package/types/gravionlabs-helix-core-types-stepper.d.ts +68 -71
  705. package/types/gravionlabs-helix-core-types-table.d.ts +721 -727
  706. package/types/gravionlabs-helix-core-types-tabs.d.ts +51 -54
  707. package/types/gravionlabs-helix-core-types-tag.d.ts +26 -29
  708. package/types/gravionlabs-helix-core-types-terminal.d.ts +43 -46
  709. package/types/gravionlabs-helix-core-types-textarea.d.ts +11 -14
  710. package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +69 -72
  711. package/types/gravionlabs-helix-core-types-timeline.d.ts +58 -61
  712. package/types/gravionlabs-helix-core-types-toast.d.ts +86 -89
  713. package/types/gravionlabs-helix-core-types-togglebutton.d.ts +51 -54
  714. package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +41 -44
  715. package/types/gravionlabs-helix-core-types-toolbar.d.ts +34 -37
  716. package/types/gravionlabs-helix-core-types-tooltip.d.ts +15 -18
  717. package/types/gravionlabs-helix-core-types-tree.d.ts +230 -239
  718. package/types/gravionlabs-helix-core-types-treeselect.d.ts +195 -199
  719. package/types/gravionlabs-helix-core-types-treetable.d.ts +486 -491
  720. package/types/gravionlabs-helix-core-uix-motion.d.ts +177 -190
  721. package/types/gravionlabs-helix-core-uix-styled.d.ts +254 -277
  722. package/types/gravionlabs-helix-core-uix-utils.d.ts +39 -176
  723. package/types/gravionlabs-helix-core-usestyle.d.ts +12 -15
  724. package/types/gravionlabs-helix-core-utils.d.ts +45 -50
  725. package/types/gravionlabs-helix-core-validators.d.ts +29 -34
  726. package/types/gravionlabs-helix-core.d.ts +2 -2
  727. package/fesm2022/gravionlabs-helix-core-icons.mjs.map +0 -1
  728. package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +0 -1
  729. package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +0 -1
  730. package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +0 -1
  731. package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +0 -1
  732. package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +0 -1
  733. package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +0 -1
  734. package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +0 -1
  735. package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +0 -1
  736. package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +0 -1
  737. package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +0 -1
  738. package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +0 -1
  739. package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +0 -1
  740. package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +0 -1
  741. package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +0 -1
  742. package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +0 -1
  743. package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +0 -1
  744. package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +0 -1
  745. package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +0 -1
  746. package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +0 -1
  747. package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +0 -1
  748. package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +0 -1
  749. package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +0 -1
  750. package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +0 -1
  751. package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +0 -1
  752. package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +0 -1
  753. package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +0 -1
  754. package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +0 -1
  755. package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +0 -1
  756. package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +0 -1
  757. package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +0 -1
  758. package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +0 -1
  759. package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +0 -1
  760. package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +0 -1
  761. package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +0 -1
  762. package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +0 -1
  763. package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +0 -1
  764. package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +0 -1
  765. package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +0 -1
  766. package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +0 -1
  767. package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +0 -1
  768. package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +0 -1
  769. package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +0 -1
  770. package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +0 -1
  771. package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +0 -1
  772. package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +0 -1
  773. package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +0 -1
  774. package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +0 -1
  775. package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +0 -1
  776. package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +0 -1
  777. package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +0 -1
  778. package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +0 -1
  779. package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +0 -1
  780. package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +0 -1
  781. package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +0 -1
  782. package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +0 -1
  783. package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +0 -1
  784. package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +0 -1
  785. package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +0 -1
  786. package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +0 -1
  787. package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +0 -1
  788. package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +0 -1
  789. package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +0 -1
  790. package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +0 -1
  791. package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +0 -1
  792. package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +0 -1
  793. package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +0 -1
  794. package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +0 -1
  795. package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +0 -1
  796. package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +0 -1
  797. package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +0 -1
  798. package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +0 -1
  799. package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +0 -1
  800. package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +0 -1
  801. package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +0 -1
  802. package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +0 -1
  803. package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +0 -1
  804. package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +0 -1
  805. package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +0 -1
  806. package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +0 -1
  807. package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +0 -1
  808. package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +0 -1
  809. package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +0 -1
  810. package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +0 -1
  811. package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +0 -1
  812. package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +0 -1
  813. package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +0 -1
  814. package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +0 -1
  815. package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +0 -1
  816. package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +0 -1
  817. package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +0 -1
  818. package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +0 -1
  819. package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +0 -1
  820. package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +0 -1
@@ -1,17 +1,16 @@
1
- export * from '@gravionlabs/helix-core/types/scroller';
2
- import * as i2 from '@angular/common';
3
- import { isPlatformBrowser, CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, input, output, viewChild, contentChild, contentChildren, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
- import { isVisible, getWidth, getHeight, findSingle, isTouchDevice } from '@gravionlabs/helix-core/uix/utils';
7
- import { HelixTemplate, SharedModule } from '@gravionlabs/helix-core/api';
8
- import { BaseComponent, PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
9
- import * as i1 from '@gravionlabs/helix-core/bind';
10
- import { Bind } from '@gravionlabs/helix-core/bind';
11
- import { SpinnerIcon } from '@gravionlabs/helix-core/icons';
12
- import { BaseStyle } from '@gravionlabs/helix-core/base';
13
-
14
- const css = /*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, contentChild, contentChildren, effect, inject, input, output, viewChild } from "@angular/core";
5
+ import { findSingle, getHeight, getWidth, isTouchDevice, isVisible } 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 } from "@gravionlabs/helix-core/bind";
10
+ import { SpinnerIcon } from "@gravionlabs/helix-core/icons";
11
+ import { BaseStyle } from "@gravionlabs/helix-core/base";
12
+ export * from "@gravionlabs/helix-core/types/scroller";
13
+ const css = `
15
14
  .h-virtualscroller {
16
15
  position: relative;
17
16
  overflow: auto;
@@ -71,970 +70,1378 @@ const css = /*css*/ `
71
70
  }
72
71
  `;
73
72
  const classes = {
74
- root: ({ instance }) => [
75
- 'h-virtualscroller',
76
- {
77
- 'h-virtualscroller-inline': instance.inline,
78
- 'h-virtualscroller-both h-both-scroll': instance.both,
79
- 'h-virtualscroller-horizontal h-horizontal-scroll': instance.horizontal
80
- }
81
- ],
82
- content: 'h-virtualscroller-content',
83
- spacer: 'h-virtualscroller-spacer',
84
- loader: ({ instance }) => [
85
- 'h-virtualscroller-loader',
86
- {
87
- 'h-virtualscroller-loader-mask': !instance.loaderTemplate
88
- }
89
- ],
90
- loadingIcon: 'h-virtualscroller-loading-icon'
73
+ root: ({ instance }) => ["h-virtualscroller", {
74
+ "h-virtualscroller-inline": instance.inline,
75
+ "h-virtualscroller-both h-both-scroll": instance.both,
76
+ "h-virtualscroller-horizontal h-horizontal-scroll": instance.horizontal
77
+ }],
78
+ content: "h-virtualscroller-content",
79
+ spacer: "h-virtualscroller-spacer",
80
+ loader: ({ instance }) => ["h-virtualscroller-loader", { "h-virtualscroller-loader-mask": !instance.loaderTemplate }],
81
+ loadingIcon: "h-virtualscroller-loading-icon"
91
82
  };
92
- class ScrollerStyle extends BaseStyle {
93
- name = 'virtualscroller';
94
- css = css;
95
- classes = classes;
96
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
97
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerStyle });
98
- }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerStyle, decorators: [{
100
- type: Injectable
101
- }] });
102
- /**
103
- *
104
- * VirtualScroller is a performant approach to handle huge data efficiently.
105
- *
106
- * [Live Demo](https://www.primeng.org/scroller/)
107
- *
108
- * @module scrollerstyle
109
- *
110
- */
83
+ var ScrollerStyle = class ScrollerStyle extends BaseStyle {
84
+ name = "virtualscroller";
85
+ css = css;
86
+ classes = classes;
87
+ static ɵfac = i0.ɵɵngDeclareFactory({
88
+ minVersion: "12.0.0",
89
+ version: "22.2.1",
90
+ ngImport: i0,
91
+ type: ScrollerStyle,
92
+ deps: null,
93
+ target: i0.ɵɵFactoryTarget.Injectable
94
+ });
95
+ static ɵprov = i0.ɵɵngDeclareInjectable({
96
+ minVersion: "12.0.0",
97
+ version: "22.2.1",
98
+ ngImport: i0,
99
+ type: ScrollerStyle
100
+ });
101
+ };
102
+ i0.ɵɵngDeclareClassMetadata({
103
+ minVersion: "12.0.0",
104
+ version: "22.2.1",
105
+ ngImport: i0,
106
+ type: ScrollerStyle,
107
+ decorators: [{ type: Injectable }]
108
+ });
111
109
  var ScrollerClasses;
112
- (function (ScrollerClasses) {
113
- /**
114
- * Class name of the root element
115
- */
116
- ScrollerClasses["root"] = "h-virtualscroller";
117
- /**
118
- * Class name of the content element
119
- */
120
- ScrollerClasses["content"] = "h-virtualscroller-content";
121
- /**
122
- * Class name of the spacer element
123
- */
124
- ScrollerClasses["spacer"] = "h-virtualscroller-spacer";
125
- /**
126
- * Class name of the loader element
127
- */
128
- ScrollerClasses["loader"] = "h-virtualscroller-loader";
129
- /**
130
- * Class name of the loading icon element
131
- */
132
- ScrollerClasses["loadingIcon"] = "h-virtualscroller-loading-icon";
110
+ (function(ScrollerClasses) {
111
+ ScrollerClasses["root"] = "h-virtualscroller";
112
+ ScrollerClasses["content"] = "h-virtualscroller-content";
113
+ ScrollerClasses["spacer"] = "h-virtualscroller-spacer";
114
+ ScrollerClasses["loader"] = "h-virtualscroller-loader";
115
+ ScrollerClasses["loadingIcon"] = "h-virtualscroller-loading-icon";
133
116
  })(ScrollerClasses || (ScrollerClasses = {}));
134
-
135
- const SCROLLER_INSTANCE = new InjectionToken('SCROLLER_INSTANCE');
136
- /**
137
- * Scroller is a performance-approach to handle huge data efficiently.
138
- * @group Components
139
- */
140
- class Scroller extends BaseComponent {
141
- zone;
142
- componentName = 'VirtualScroller';
143
- bindDirectiveInstance = inject(Bind, { self: true });
144
- $pcScroller = inject(SCROLLER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
145
- hostName = input('', /* @ts-ignore */
146
- ...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
147
- /**
148
- * Unique identifier of the element.
149
- * @group Props
150
- */
151
- id = input(/* @ts-ignore */
152
- ...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
153
- /**
154
- * Inline style of the component.
155
- * @group Props
156
- */
157
- style = input(/* @ts-ignore */
158
- ...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
159
- /**
160
- * Style class of the element.
161
- * @group Props
162
- */
163
- styleClass = input(/* @ts-ignore */
164
- ...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
165
- /**
166
- * Index of the element in tabbing order.
167
- * @group Props
168
- */
169
- tabindex = input(0, /* @ts-ignore */
170
- ...(ngDevMode ? [{ debugName: "tabindex" }] : /* istanbul ignore next */ []));
171
- /**
172
- * An array of objects to display.
173
- * @group Props
174
- */
175
- items = input(/* @ts-ignore */
176
- ...(ngDevMode ? [undefined, { debugName: "items" }] : /* istanbul ignore next */ []));
177
- /**
178
- * The height/width of item according to orientation.
179
- * @group Props
180
- */
181
- itemSize = input(0, /* @ts-ignore */
182
- ...(ngDevMode ? [{ debugName: "itemSize" }] : /* istanbul ignore next */ []));
183
- /**
184
- * Height of the scroll viewport.
185
- * @group Props
186
- */
187
- scrollHeight = input(/* @ts-ignore */
188
- ...(ngDevMode ? [undefined, { debugName: "scrollHeight" }] : /* istanbul ignore next */ []));
189
- /**
190
- * Width of the scroll viewport.
191
- * @group Props
192
- */
193
- scrollWidth = input(/* @ts-ignore */
194
- ...(ngDevMode ? [undefined, { debugName: "scrollWidth" }] : /* istanbul ignore next */ []));
195
- /**
196
- * The orientation of scrollbar.
197
- * @group Props
198
- */
199
- orientation = input('vertical', /* @ts-ignore */
200
- ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
201
- /**
202
- * Used to specify how many items to load in each load method in lazy mode.
203
- * @group Props
204
- */
205
- step = input(0, /* @ts-ignore */
206
- ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
207
- /**
208
- * Delay in scroll before new data is loaded.
209
- * @group Props
210
- */
211
- delay = input(0, /* @ts-ignore */
212
- ...(ngDevMode ? [{ debugName: "delay" }] : /* istanbul ignore next */ []));
213
- /**
214
- * Delay after window's resize finishes.
215
- * @group Props
216
- */
217
- resizeDelay = input(10, /* @ts-ignore */
218
- ...(ngDevMode ? [{ debugName: "resizeDelay" }] : /* istanbul ignore next */ []));
219
- /**
220
- * Used to append each loaded item to top without removing any items from the DOM. Using very large data may cause the browser to crash.
221
- * @group Props
222
- */
223
- appendOnly = input(false, /* @ts-ignore */
224
- ...(ngDevMode ? [{ debugName: "appendOnly" }] : /* istanbul ignore next */ []));
225
- /**
226
- * Specifies whether the scroller should be displayed inline or not.
227
- * @group Props
228
- */
229
- inline = input(false, /* @ts-ignore */
230
- ...(ngDevMode ? [{ debugName: "inline" }] : /* istanbul ignore next */ []));
231
- /**
232
- * Defines if data is loaded and interacted with in lazy manner.
233
- * @group Props
234
- */
235
- lazy = input(false, /* @ts-ignore */
236
- ...(ngDevMode ? [{ debugName: "lazy" }] : /* istanbul ignore next */ []));
237
- /**
238
- * If disabled, the scroller feature is eliminated and the content is displayed directly.
239
- * @group Props
240
- */
241
- disabled = input(false, /* @ts-ignore */
242
- ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
243
- /**
244
- * Used to implement a custom loader instead of using the loader feature in the scroller.
245
- * @group Props
246
- */
247
- loaderDisabled = input(false, /* @ts-ignore */
248
- ...(ngDevMode ? [{ debugName: "loaderDisabled" }] : /* istanbul ignore next */ []));
249
- /**
250
- * Columns to display.
251
- * @group Props
252
- */
253
- columns = input(/* @ts-ignore */
254
- ...(ngDevMode ? [undefined, { debugName: "columns" }] : /* istanbul ignore next */ []));
255
- /**
256
- * Used to implement a custom spacer instead of using the spacer feature in the scroller.
257
- * @group Props
258
- */
259
- showSpacer = input(true, /* @ts-ignore */
260
- ...(ngDevMode ? [{ debugName: "showSpacer" }] : /* istanbul ignore next */ []));
261
- /**
262
- * Defines whether to show loader.
263
- * @group Props
264
- */
265
- showLoader = input(false, /* @ts-ignore */
266
- ...(ngDevMode ? [{ debugName: "showLoader" }] : /* istanbul ignore next */ []));
267
- /**
268
- * Determines how many additional elements to add to the DOM outside of the view. According to the scrolls made up and down, extra items are added in a certain algorithm in the form of multiples of this number. Default value is half the number of items shown in the view.
269
- * @group Props
270
- */
271
- numToleratedItems = input(/* @ts-ignore */
272
- ...(ngDevMode ? [undefined, { debugName: "numToleratedItems" }] : /* istanbul ignore next */ []));
273
- /**
274
- * Defines whether the data is loaded.
275
- * @group Props
276
- */
277
- loading = input(/* @ts-ignore */
278
- ...(ngDevMode ? [undefined, { debugName: "loading" }] : /* istanbul ignore next */ []));
279
- /**
280
- * Defines whether to dynamically change the height or width of scrollable container.
281
- * @group Props
282
- */
283
- autoSize = input(false, /* @ts-ignore */
284
- ...(ngDevMode ? [{ debugName: "autoSize" }] : /* istanbul ignore next */ []));
285
- /**
286
- * Function to optimize the dom operations by delegating to ngForTrackBy, default algoritm checks for object identity.
287
- * @group Props
288
- */
289
- trackBy = input(/* @ts-ignore */
290
- ...(ngDevMode ? [undefined, { debugName: "trackBy" }] : /* istanbul ignore next */ []));
291
- /**
292
- * Defines whether to use the scroller feature. The properties of scroller component can be used like an object in it.
293
- * @group Props
294
- */
295
- options = input(/* @ts-ignore */
296
- ...(ngDevMode ? [undefined, { debugName: "options" }] : /* istanbul ignore next */ []));
297
- /**
298
- * Callback to invoke in lazy mode to load new data.
299
- * @param {ScrollerLazyLoadEvent} event - Custom lazy load event.
300
- * @group Emits
301
- */
302
- onLazyLoad = output();
303
- /**
304
- * Callback to invoke when scroll position changes.
305
- * @param {ScrollerScrollEvent} event - Custom scroll event.
306
- * @group Emits
307
- */
308
- onScroll = output();
309
- /**
310
- * Callback to invoke when scroll position and item's range in view changes.
311
- * @param {ScrollerScrollEvent} event - Custom scroll index change event.
312
- * @group Emits
313
- */
314
- onScrollIndexChange = output();
315
- elementViewChild = viewChild('element', /* @ts-ignore */
316
- ...(ngDevMode ? [{ debugName: "elementViewChild" }] : /* istanbul ignore next */ []));
317
- contentViewChild = viewChild('content', /* @ts-ignore */
318
- ...(ngDevMode ? [{ debugName: "contentViewChild" }] : /* istanbul ignore next */ []));
319
- height;
320
- d_loading = false;
321
- d_numToleratedItems;
322
- contentEl;
323
- /**
324
- * Content template of the component.
325
- * @param {ScrollerContentTemplateContext} context - content context.
326
- * @see {@link ScrollerContentTemplateContext}
327
- * @group Templates
328
- */
329
- contentTemplate = contentChild('content', { ...(ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {}), descendants: false });
330
- /**
331
- * Item template of the component.
332
- * @param {ScrollerItemTemplateContext} context - item context.
333
- * @see {@link ScrollerItemTemplateContext}
334
- * @group Templates
335
- */
336
- itemTemplate = contentChild('item', { ...(ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {}), descendants: false });
337
- /**
338
- * Loader template of the component.
339
- * @param {ScrollerLoaderTemplateContext} context - loader context.
340
- * @see {@link ScrollerLoaderTemplateContext}
341
- * @group Templates
342
- */
343
- loaderTemplate = contentChild('loader', { ...(ngDevMode ? { debugName: "loaderTemplate" } : /* istanbul ignore next */ {}), descendants: false });
344
- /**
345
- * Loader icon template of the component.
346
- * @param {ScrollerLoaderIconTemplateContext} context - loader icon context.
347
- * @see {@link ScrollerLoaderIconTemplateContext}
348
- * @group Templates
349
- */
350
- loaderIconTemplate = contentChild('loadericon', { ...(ngDevMode ? { debugName: "loaderIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
351
- templates = contentChildren(HelixTemplate, /* @ts-ignore */
352
- ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
353
- _contentTemplate;
354
- _itemTemplate;
355
- _loaderTemplate;
356
- _loaderIconTemplate;
357
- first = 0;
358
- last = 0;
359
- page = 0;
360
- isRangeChanged = false;
361
- numItemsInViewport = 0;
362
- lastScrollPos = 0;
363
- lazyLoadState = {};
364
- loaderArr = [];
365
- spacerStyle = {};
366
- contentStyle = {};
367
- scrollTimeout;
368
- resizeTimeout;
369
- initialized = false;
370
- windowResizeListener;
371
- defaultWidth;
372
- defaultHeight;
373
- defaultContentWidth;
374
- defaultContentHeight;
375
- _contentStyleClass;
376
- get contentStyleClass() {
377
- return this._contentStyleClass;
378
- }
379
- set contentStyleClass(val) {
380
- this._contentStyleClass = val;
381
- }
382
- get vertical() {
383
- return this.orientation() === 'vertical';
384
- }
385
- get horizontal() {
386
- return this.orientation() === 'horizontal';
387
- }
388
- get both() {
389
- return this.orientation() === 'both';
390
- }
391
- get loadedItems() {
392
- const currentItems = this.items();
393
- if (currentItems && !this.d_loading) {
394
- if (this.both) {
395
- return currentItems.slice(this.appendOnly() ? 0 : this.first.rows, this.last.rows).map((item) => {
396
- if (this.columns()) {
397
- return item;
398
- }
399
- else if (Array.isArray(item)) {
400
- return item.slice(this.appendOnly() ? 0 : this.first.cols, this.last.cols);
401
- }
402
- else {
403
- return item;
404
- }
405
- });
406
- }
407
- else if (this.horizontal && this.columns())
408
- return currentItems;
409
- else
410
- return currentItems.slice(this.appendOnly() ? 0 : this.first, this.last);
411
- }
412
- return [];
413
- }
414
- get loadedRows() {
415
- return this.d_loading ? (this.loaderDisabled() ? this.loaderArr : []) : this.loadedItems;
416
- }
417
- get loadedColumns() {
418
- const currentColumns = this.columns();
419
- if (currentColumns && (this.both || this.horizontal)) {
420
- return this.d_loading && this.loaderDisabled() ? (this.both ? this.loaderArr[0] : this.loaderArr) : currentColumns.slice(this.both ? this.first.cols : this.first, this.both ? this.last.cols : this.last);
421
- }
422
- return currentColumns;
423
- }
424
- _componentStyle = inject(ScrollerStyle);
425
- constructor(zone) {
426
- super();
427
- this.zone = zone;
428
- effect(() => {
429
- if (this.scrollHeight() === '100%') {
430
- this.height = '100%';
431
- }
432
- });
433
- effect(() => {
434
- const loadingVal = this.loading();
435
- if (this.lazy() && loadingVal !== this.d_loading) {
436
- this.d_loading = loadingVal ?? false;
437
- }
438
- });
439
- effect(() => {
440
- this.orientation();
441
- this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
442
- });
443
- effect(() => {
444
- const numTol = this.numToleratedItems();
445
- if (numTol !== this.d_numToleratedItems) {
446
- this.d_numToleratedItems = numTol;
447
- }
448
- });
449
- effect(() => {
450
- const opts = this.options();
451
- if (opts && typeof opts === 'object') {
452
- Object.entries(opts).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
453
- Object.entries(opts).forEach(([k, v]) => this[`${k}`] !== v && (this[`${k}`] = v));
454
- if (this.lazy() && opts.loading !== this.d_loading) {
455
- this.d_loading = opts.loading ?? false;
456
- }
457
- if (opts.numToleratedItems !== this.d_numToleratedItems) {
458
- this.d_numToleratedItems = opts.numToleratedItems;
459
- }
460
- }
461
- });
462
- effect(() => {
463
- this.items();
464
- this.itemSize();
465
- this.scrollHeight();
466
- this.scrollWidth();
467
- if (this.initialized) {
468
- this.init();
469
- }
470
- });
471
- }
472
- onInit() {
473
- this.setInitialState();
474
- }
475
- onAfterContentInit() {
476
- this.templates().forEach((item) => {
477
- switch (item.getType()) {
478
- case 'content':
479
- this._contentTemplate = item.template;
480
- break;
481
- case 'item':
482
- this._itemTemplate = item.template;
483
- break;
484
- case 'loader':
485
- this._loaderTemplate = item.template;
486
- break;
487
- case 'loadericon':
488
- this._loaderIconTemplate = item.template;
489
- break;
490
- default:
491
- this._itemTemplate = item.template;
492
- break;
493
- }
494
- });
495
- }
496
- onAfterViewInit() {
497
- Promise.resolve().then(() => {
498
- this.viewInit();
499
- });
500
- }
501
- onAfterViewChecked() {
502
- this.bindDirectiveInstance.setAttrs(this.ptm('host'));
503
- if (!this.initialized) {
504
- this.viewInit();
505
- }
506
- }
507
- onDestroy() {
508
- this.unbindResizeListener();
509
- this.contentEl = null;
510
- this.initialized = false;
511
- }
512
- viewInit() {
513
- if (isPlatformBrowser(this.platformId) && !this.initialized) {
514
- const elementViewChild = this.elementViewChild();
515
- if (isVisible(elementViewChild?.nativeElement)) {
516
- this.setInitialState();
517
- this.setContentEl(this.contentEl);
518
- this.init();
519
- this.defaultWidth = getWidth(elementViewChild?.nativeElement);
520
- this.defaultHeight = getHeight(elementViewChild?.nativeElement);
521
- this.defaultContentWidth = getWidth(this.contentEl);
522
- this.defaultContentHeight = getHeight(this.contentEl);
523
- this.initialized = true;
524
- }
525
- }
526
- }
527
- init() {
528
- if (!this.disabled()) {
529
- this.bindResizeListener();
530
- // wait for the next tick
531
- setTimeout(() => {
532
- this.setSpacerSize();
533
- this.setSize();
534
- this.calculateOptions();
535
- this.calculateAutoSize();
536
- this.cd.detectChanges();
537
- }, 1);
538
- }
539
- }
540
- setContentEl(el) {
541
- this.contentEl = el || this.contentViewChild()?.nativeElement || findSingle(this.elementViewChild()?.nativeElement, '.h-virtualscroller-content');
542
- }
543
- setInitialState() {
544
- this.first = this.both ? { rows: 0, cols: 0 } : 0;
545
- this.last = this.both ? { rows: 0, cols: 0 } : 0;
546
- this.numItemsInViewport = this.both ? { rows: 0, cols: 0 } : 0;
547
- this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
548
- if (this.d_loading === undefined || this.d_loading === false) {
549
- this.d_loading = this.loading() || false;
550
- }
551
- this.d_numToleratedItems = this.numToleratedItems();
552
- this.loaderArr = this.loaderArr.length > 0 ? this.loaderArr : [];
553
- }
554
- getElementRef() {
555
- return this.elementViewChild();
556
- }
557
- getPageByFirst(first) {
558
- return Math.floor(((first ?? this.first) + this.d_numToleratedItems * 4) / (this.step() || 1));
559
- }
560
- isPageChanged(first) {
561
- return this.step() ? this.page !== this.getPageByFirst(first ?? this.first) : true;
562
- }
563
- scrollTo(options) {
564
- // this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
565
- this.elementViewChild()?.nativeElement?.scrollTo(options);
566
- }
567
- scrollToIndex(index, behavior = 'auto') {
568
- const valid = this.both ? index.every((i) => i > -1) : index > -1;
569
- if (valid) {
570
- const first = this.first;
571
- const { scrollTop = 0, scrollLeft = 0 } = this.elementViewChild()?.nativeElement;
572
- const { numToleratedItems } = this.calculateNumItems();
573
- const contentPos = this.getContentPosition();
574
- const itemSize = this.itemSize();
575
- const calculateFirst = (_index = 0, _numT) => (_index <= _numT ? 0 : _index);
576
- const calculateCoord = (_first, _size, _cpos) => _first * _size + _cpos;
577
- const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
578
- let newFirst = this.both ? { rows: 0, cols: 0 } : 0;
579
- let isRangeChanged = false, isScrollChanged = false;
580
- if (this.both) {
581
- newFirst = {
582
- rows: calculateFirst(index[0], numToleratedItems[0]),
583
- cols: calculateFirst(index[1], numToleratedItems[1])
584
- };
585
- scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
586
- isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;
587
- isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;
588
- }
589
- else {
590
- newFirst = calculateFirst(index, numToleratedItems);
591
- this.horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), scrollTop) : scrollTo(scrollLeft, calculateCoord(newFirst, itemSize, contentPos.top));
592
- isScrollChanged = this.lastScrollPos !== (this.horizontal ? scrollLeft : scrollTop);
593
- isRangeChanged = newFirst !== first;
594
- }
595
- this.isRangeChanged = isRangeChanged;
596
- isScrollChanged && (this.first = newFirst);
597
- }
598
- }
599
- scrollInView(index, to, behavior = 'auto') {
600
- if (to) {
601
- const { first, viewport } = this.getRenderedRange();
602
- const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
603
- const isToStart = to === 'to-start';
604
- const isToEnd = to === 'to-end';
605
- if (isToStart) {
606
- if (this.both) {
607
- if (viewport.first.rows - first.rows > index[0]) {
608
- scrollTo(viewport.first.cols * this.itemSize()[1], (viewport.first.rows - 1) * this.itemSize()[0]);
609
- }
610
- else if (viewport.first.cols - first.cols > index[1]) {
611
- scrollTo((viewport.first.cols - 1) * this.itemSize()[1], viewport.first.rows * this.itemSize()[0]);
612
- }
613
- }
614
- else {
615
- if (viewport.first - first > index) {
616
- const pos = (viewport.first - 1) * this.itemSize();
617
- this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
618
- }
619
- }
620
- }
621
- else if (isToEnd) {
622
- if (this.both) {
623
- if (viewport.last.rows - first.rows <= index[0] + 1) {
624
- scrollTo(viewport.first.cols * this.itemSize()[1], (viewport.first.rows + 1) * this.itemSize()[0]);
625
- }
626
- else if (viewport.last.cols - first.cols <= index[1] + 1) {
627
- scrollTo((viewport.first.cols + 1) * this.itemSize()[1], viewport.first.rows * this.itemSize()[0]);
628
- }
629
- }
630
- else {
631
- if (viewport.last - first <= index + 1) {
632
- const pos = (viewport.first + 1) * this.itemSize();
633
- this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
634
- }
635
- }
636
- }
637
- }
638
- else {
639
- this.scrollToIndex(index, behavior);
640
- }
641
- }
642
- getRenderedRange() {
643
- const calculateFirstInViewport = (_pos, _size) => (_size || _pos ? Math.floor(_pos / (_size || _pos)) : 0);
644
- let firstInViewport = this.first;
645
- let lastInViewport = 0;
646
- const elementViewChild = this.elementViewChild();
647
- if (elementViewChild?.nativeElement) {
648
- const { scrollTop, scrollLeft } = elementViewChild.nativeElement;
649
- if (this.both) {
650
- firstInViewport = {
651
- rows: calculateFirstInViewport(scrollTop, this.itemSize()[0]),
652
- cols: calculateFirstInViewport(scrollLeft, this.itemSize()[1])
653
- };
654
- lastInViewport = {
655
- rows: firstInViewport.rows + this.numItemsInViewport.rows,
656
- cols: firstInViewport.cols + this.numItemsInViewport.cols
657
- };
658
- }
659
- else {
660
- const scrollPos = this.horizontal ? scrollLeft : scrollTop;
661
- firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize());
662
- lastInViewport = firstInViewport + this.numItemsInViewport;
663
- }
664
- }
665
- return {
666
- first: this.first,
667
- last: this.last,
668
- viewport: {
669
- first: firstInViewport,
670
- last: lastInViewport
671
- }
672
- };
673
- }
674
- calculateNumItems() {
675
- const contentPos = this.getContentPosition();
676
- const elementViewChild = this.elementViewChild();
677
- const contentWidth = (elementViewChild?.nativeElement ? elementViewChild.nativeElement.offsetWidth - contentPos.left : 0) || 0;
678
- const elementViewChildValue = this.elementViewChild();
679
- const contentHeight = (elementViewChildValue?.nativeElement ? elementViewChildValue.nativeElement.offsetHeight - contentPos.top : 0) || 0;
680
- const calculateNumItemsInViewport = (_contentSize, _itemSize) => (_itemSize || _contentSize ? Math.ceil(_contentSize / (_itemSize || _contentSize)) : 0);
681
- const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
682
- const numItemsInViewport = this.both
683
- ? {
684
- rows: calculateNumItemsInViewport(contentHeight, this.itemSize()[0]),
685
- cols: calculateNumItemsInViewport(contentWidth, this.itemSize()[1])
686
- }
687
- : calculateNumItemsInViewport(this.horizontal ? contentWidth : contentHeight, this.itemSize());
688
- const numToleratedItems = this.d_numToleratedItems || (this.both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport));
689
- return { numItemsInViewport, numToleratedItems };
690
- }
691
- calculateOptions() {
692
- const { numItemsInViewport, numToleratedItems } = this.calculateNumItems();
693
- const calculateLast = (_first, _num, _numT, _isCols = false) => this.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);
694
- const first = this.first;
695
- const last = this.both
696
- ? {
697
- rows: calculateLast(this.first.rows, numItemsInViewport.rows, numToleratedItems[0]),
698
- cols: calculateLast(this.first.cols, numItemsInViewport.cols, numToleratedItems[1], true)
699
- }
700
- : calculateLast(this.first, numItemsInViewport, numToleratedItems);
701
- this.last = last;
702
- this.numItemsInViewport = numItemsInViewport;
703
- this.d_numToleratedItems = numToleratedItems;
704
- if (this.showLoader()) {
705
- this.loaderArr = this.both ? Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) : Array.from({ length: numItemsInViewport });
706
- }
707
- if (this.lazy()) {
708
- Promise.resolve().then(() => {
709
- this.lazyLoadState = {
710
- first: this.step() ? (this.both ? { rows: 0, cols: first.cols } : 0) : first,
711
- last: Math.min(this.step() ? this.step() : this.last, this.items().length)
712
- };
713
- this.handleEvents('onLazyLoad', this.lazyLoadState);
714
- });
715
- }
716
- }
717
- calculateAutoSize() {
718
- if (this.autoSize() && !this.d_loading) {
719
- Promise.resolve().then(() => {
720
- if (this.contentEl) {
721
- this.contentEl.style.minHeight = this.contentEl.style.minWidth = 'auto';
722
- this.contentEl.style.position = 'relative';
723
- this.elementViewChild().nativeElement.style.contain = 'none';
724
- const [contentWidth, contentHeight] = [getWidth(this.contentEl), getHeight(this.contentEl)];
725
- contentWidth !== this.defaultContentWidth && (this.elementViewChild().nativeElement.style.width = '');
726
- contentHeight !== this.defaultContentHeight && (this.elementViewChild().nativeElement.style.height = '');
727
- const [width, height] = [getWidth(this.elementViewChild().nativeElement), getHeight(this.elementViewChild().nativeElement)];
728
- (this.both || this.horizontal) && (this.elementViewChild().nativeElement.style.width = width < this.defaultWidth ? width + 'px' : this.scrollWidth() || this.defaultWidth + 'px');
729
- (this.both || this.vertical) && (this.elementViewChild().nativeElement.style.height = height < this.defaultHeight ? height + 'px' : this.scrollHeight() || this.defaultHeight + 'px');
730
- this.contentEl.style.minHeight = this.contentEl.style.minWidth = '';
731
- this.contentEl.style.position = '';
732
- this.elementViewChild().nativeElement.style.contain = '';
733
- }
734
- });
735
- }
736
- }
737
- getLast(last = 0, isCols = false) {
738
- const currentItems = this.items();
739
- return currentItems ? Math.min(isCols ? (this.columns() || currentItems[0]).length : currentItems.length, last) : 0;
740
- }
741
- getContentPosition() {
742
- if (this.contentEl) {
743
- const style = getComputedStyle(this.contentEl);
744
- const left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);
745
- const right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);
746
- const top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);
747
- const bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);
748
- return { left, right, top, bottom, x: left + right, y: top + bottom };
749
- }
750
- return { left: 0, right: 0, top: 0, bottom: 0, x: 0, y: 0 };
751
- }
752
- setSize() {
753
- const elementViewChild = this.elementViewChild();
754
- if (elementViewChild?.nativeElement) {
755
- const nativeElement = elementViewChild.nativeElement;
756
- const parentElement = nativeElement.parentElement?.parentElement;
757
- const elementWidth = nativeElement.offsetWidth;
758
- const parentWidth = parentElement?.offsetWidth || 0;
759
- const width = this.scrollWidth() || `${elementWidth || parentWidth}px`;
760
- const elementHeight = nativeElement.offsetHeight;
761
- const parentHeight = parentElement?.offsetHeight || 0;
762
- const height = this.scrollHeight() || `${elementHeight || parentHeight}px`;
763
- const setProp = (_name, _value) => (nativeElement.style[_name] = _value);
764
- if (this.both || this.horizontal) {
765
- setProp('height', height);
766
- setProp('width', width);
767
- }
768
- else {
769
- setProp('height', height);
770
- }
771
- }
772
- }
773
- setSpacerSize() {
774
- const currentItems = this.items();
775
- if (currentItems) {
776
- const contentPos = this.getContentPosition();
777
- const setProp = (_name, _value, _size, _cpos = 0) => (this.spacerStyle = {
778
- ...this.spacerStyle,
779
- ...{ [`${_name}`]: (_value || []).length * _size + _cpos + 'px' }
780
- });
781
- if (this.both) {
782
- setProp('height', currentItems, this.itemSize()[0], contentPos.y);
783
- setProp('width', this.columns() || currentItems[1], this.itemSize()[1], contentPos.x);
784
- }
785
- else {
786
- this.horizontal ? setProp('width', this.columns() || currentItems, this.itemSize(), contentPos.x) : setProp('height', currentItems, this.itemSize(), contentPos.y);
787
- }
788
- }
789
- }
790
- setContentPosition(pos) {
791
- if (this.contentEl && !this.appendOnly()) {
792
- const first = pos ? pos.first : this.first;
793
- const calculateTranslateVal = (_first, _size) => _first * _size;
794
- const setTransform = (_x = 0, _y = 0) => (this.contentStyle = { ...this.contentStyle, ...{ transform: `translate3d(${_x}px, ${_y}px, 0)` } });
795
- if (this.both) {
796
- setTransform(calculateTranslateVal(first.cols, this.itemSize()[1]), calculateTranslateVal(first.rows, this.itemSize()[0]));
797
- }
798
- else {
799
- const translateVal = calculateTranslateVal(first, this.itemSize());
800
- this.horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
801
- }
802
- }
803
- }
804
- onScrollPositionChange(event) {
805
- const target = event.target;
806
- if (!target) {
807
- throw new Error('Event target is null');
808
- }
809
- const contentPos = this.getContentPosition();
810
- const calculateScrollPos = (_pos, _cpos) => (_pos ? (_pos > _cpos ? _pos - _cpos : _pos) : 0);
811
- const calculateCurrentIndex = (_pos, _size) => (_size || _pos ? Math.floor(_pos / (_size || _pos)) : 0);
812
- const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
813
- return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;
814
- };
815
- const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
816
- if (_currentIndex <= _numT)
817
- return 0;
818
- else
819
- return Math.max(0, _isScrollDownOrRight ? (_currentIndex < _triggerIndex ? _first : _currentIndex - _numT) : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);
820
- };
821
- const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols = false) => {
822
- let lastValue = _first + _num + 2 * _numT;
823
- if (_currentIndex >= _numT) {
824
- lastValue += _numT + 1;
825
- }
826
- return this.getLast(lastValue, _isCols);
827
- };
828
- const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
829
- const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
830
- let newFirst = this.both ? { rows: 0, cols: 0 } : 0;
831
- let newLast = this.last;
832
- let isRangeChanged = false;
833
- let newScrollPos = this.lastScrollPos;
834
- if (this.both) {
835
- const isScrollDown = this.lastScrollPos.top <= scrollTop;
836
- const isScrollRight = this.lastScrollPos.left <= scrollLeft;
837
- if (!this.appendOnly() || (this.appendOnly() && (isScrollDown || isScrollRight))) {
838
- const currentIndex = {
839
- rows: calculateCurrentIndex(scrollTop, this.itemSize()[0]),
840
- cols: calculateCurrentIndex(scrollLeft, this.itemSize()[1])
841
- };
842
- const triggerIndex = {
843
- rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
844
- cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
845
- };
846
- newFirst = {
847
- rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
848
- cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
849
- };
850
- newLast = {
851
- rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
852
- cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
853
- };
854
- isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;
855
- newScrollPos = { top: scrollTop, left: scrollLeft };
856
- }
857
- }
858
- else {
859
- const scrollPos = this.horizontal ? scrollLeft : scrollTop;
860
- const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
861
- if (!this.appendOnly() || (this.appendOnly() && isScrollDownOrRight)) {
862
- const currentIndex = calculateCurrentIndex(scrollPos, this.itemSize());
863
- const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
864
- newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
865
- newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
866
- isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;
867
- newScrollPos = scrollPos;
868
- }
869
- }
870
- return {
871
- first: newFirst,
872
- last: newLast,
873
- isRangeChanged,
874
- scrollPos: newScrollPos
875
- };
876
- }
877
- onScrollChange(event) {
878
- const { first, last, isRangeChanged, scrollPos } = this.onScrollPositionChange(event);
879
- if (isRangeChanged) {
880
- const newState = { first, last };
881
- this.setContentPosition(newState);
882
- this.first = first;
883
- this.last = last;
884
- this.lastScrollPos = scrollPos;
885
- this.handleEvents('onScrollIndexChange', newState);
886
- if (this.lazy() && this.isPageChanged(first)) {
887
- const lazyLoadState = {
888
- first: this.step() ? Math.min(this.getPageByFirst(first) * this.step(), this.items().length - this.step()) : first,
889
- last: Math.min(this.step() ? (this.getPageByFirst(first) + 1) * this.step() : last, this.items().length)
890
- };
891
- const isLazyStateChanged = this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last;
892
- isLazyStateChanged && this.handleEvents('onLazyLoad', lazyLoadState);
893
- this.lazyLoadState = lazyLoadState;
894
- }
895
- }
896
- }
897
- onContainerScroll(event) {
898
- this.handleEvents('onScroll', { originalEvent: event });
899
- if (this.delay()) {
900
- if (this.scrollTimeout) {
901
- clearTimeout(this.scrollTimeout);
902
- }
903
- if (!this.d_loading && this.showLoader()) {
904
- const { isRangeChanged } = this.onScrollPositionChange(event);
905
- const changed = isRangeChanged || (this.step() ? this.isPageChanged() : false);
906
- if (changed) {
907
- this.d_loading = true;
908
- this.cd.detectChanges();
909
- }
910
- }
911
- this.scrollTimeout = setTimeout(() => {
912
- this.onScrollChange(event);
913
- if (this.d_loading && this.showLoader() && (!this.lazy() || this.loading() === undefined)) {
914
- this.d_loading = false;
915
- this.page = this.getPageByFirst();
916
- }
917
- this.cd.detectChanges();
918
- }, this.delay());
919
- }
920
- else {
921
- !this.d_loading && this.onScrollChange(event);
922
- }
923
- }
924
- bindResizeListener() {
925
- if (isPlatformBrowser(this.platformId)) {
926
- if (!this.windowResizeListener) {
927
- this.zone.runOutsideAngular(() => {
928
- const window = this.document.defaultView;
929
- const event = isTouchDevice() ? 'orientationchange' : 'resize';
930
- this.windowResizeListener = this.renderer.listen(window, event, this.onWindowResize.bind(this));
931
- });
932
- }
933
- }
934
- }
935
- unbindResizeListener() {
936
- if (this.windowResizeListener) {
937
- this.windowResizeListener();
938
- this.windowResizeListener = null;
939
- }
940
- }
941
- onWindowResize() {
942
- if (this.resizeTimeout) {
943
- clearTimeout(this.resizeTimeout);
944
- }
945
- this.resizeTimeout = setTimeout(() => {
946
- const elementViewChild = this.elementViewChild();
947
- if (isVisible(elementViewChild?.nativeElement)) {
948
- const [width, height] = [getWidth(elementViewChild?.nativeElement), getHeight(elementViewChild?.nativeElement)];
949
- const [isDiffWidth, isDiffHeight] = [width !== this.defaultWidth, height !== this.defaultHeight];
950
- const reinit = this.both ? isDiffWidth || isDiffHeight : this.horizontal ? isDiffWidth : this.vertical ? isDiffHeight : false;
951
- reinit &&
952
- this.zone.run(() => {
953
- this.d_numToleratedItems = this.numToleratedItems();
954
- this.defaultWidth = width;
955
- this.defaultHeight = height;
956
- this.defaultContentWidth = getWidth(this.contentEl);
957
- this.defaultContentHeight = getHeight(this.contentEl);
958
- this.init();
959
- });
960
- }
961
- }, this.resizeDelay());
962
- }
963
- handleEvents(name, params) {
964
- //@ts-ignore
965
- return this.options() && this.options()[name] ? this.options()[name](params) : this[name].emit(params);
966
- }
967
- getContentOptions() {
968
- return {
969
- contentStyleClass: `h-virtualscroller-content ${this.d_loading ? 'h-virtualscroller-loading' : ''}`,
970
- items: this.loadedItems,
971
- getItemOptions: (index) => this.getOptions(index),
972
- loading: this.d_loading,
973
- getLoaderOptions: (index, options) => this.getLoaderOptions(index, options),
974
- itemSize: this.itemSize(),
975
- rows: this.loadedRows,
976
- columns: this.loadedColumns,
977
- spacerStyle: this.spacerStyle,
978
- contentStyle: this.contentStyle,
979
- vertical: this.vertical,
980
- horizontal: this.horizontal,
981
- both: this.both,
982
- scrollTo: this.scrollTo.bind(this),
983
- scrollToIndex: this.scrollToIndex.bind(this),
984
- orientation: this.orientation(),
985
- scrollableElement: this.elementViewChild()?.nativeElement
986
- };
987
- }
988
- getOptions(renderedIndex) {
989
- const count = (this.items() || []).length;
990
- const index = this.both ? this.first.rows + renderedIndex : this.first + renderedIndex;
991
- return {
992
- index,
993
- count,
994
- first: index === 0,
995
- last: index === count - 1,
996
- even: index % 2 === 0,
997
- odd: index % 2 !== 0
998
- };
999
- }
1000
- getLoaderOptions(index, extOptions) {
1001
- const count = this.loaderArr.length;
1002
- return {
1003
- index,
1004
- count,
1005
- first: index === 0,
1006
- last: index === count - 1,
1007
- even: index % 2 === 0,
1008
- odd: index % 2 !== 0,
1009
- loading: this.d_loading,
1010
- ...extOptions
1011
- };
1012
- }
1013
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Scroller, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1014
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Scroller, isStandalone: true, selector: "h-scroller, h-virtualscroller, h-virtual-scroller, h-virtualScroller", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, scrollWidth: { classPropertyName: "scrollWidth", publicName: "scrollWidth", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, resizeDelay: { classPropertyName: "resizeDelay", publicName: "resizeDelay", isSignal: true, isRequired: false, transformFunction: null }, appendOnly: { classPropertyName: "appendOnly", publicName: "appendOnly", isSignal: true, isRequired: false, transformFunction: null }, inline: { classPropertyName: "inline", publicName: "inline", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loaderDisabled: { classPropertyName: "loaderDisabled", publicName: "loaderDisabled", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, showSpacer: { classPropertyName: "showSpacer", publicName: "showSpacer", isSignal: true, isRequired: false, transformFunction: null }, showLoader: { classPropertyName: "showLoader", publicName: "showLoader", isSignal: true, isRequired: false, transformFunction: null }, numToleratedItems: { classPropertyName: "numToleratedItems", publicName: "numToleratedItems", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, autoSize: { classPropertyName: "autoSize", publicName: "autoSize", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onLazyLoad: "onLazyLoad", onScroll: "onScroll", onScrollIndexChange: "onScrollIndexChange" }, host: { properties: { "style.height": "height" } }, providers: [ScrollerStyle, { provide: SCROLLER_INSTANCE, useExisting: Scroller }, { provide: PARENT_INSTANCE, useExisting: Scroller }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], isSignal: true }, { propertyName: "loaderIconTemplate", first: true, predicate: ["loadericon"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "elementViewChild", first: true, predicate: ["element"], descendants: true, isSignal: true }, { propertyName: "contentViewChild", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@if (!disabled()) {\n <div #element [attr.id]=\"id()\" [attr.tabindex]=\"tabindex()\" [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" (scroll)=\"onContainerScroll($event)\" [hBind]=\"ptm('root')\">\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }\"></ng-container>\n } @else {\n <div #content [class]=\"cn(cx('content'), contentStyleClass)\" [style]=\"contentStyle\" [hBind]=\"ptm('content')\">\n @for (item of loadedItems; track trackBy()(index, item); let index = $index) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, options: getOptions(index) }\"></ng-container>\n }\n </div>\n }\n @if (showSpacer()) {\n <div [class]=\"cx('spacer')\" [ngStyle]=\"spacerStyle\" [hBind]=\"ptm('spacer')\"></div>\n }\n @if (!loaderDisabled() && showLoader() && d_loading) {\n <div [class]=\"cx('loader')\" [hBind]=\"ptm('loader')\">\n @if (loaderTemplate() || _loaderTemplate) {\n @for (item of loaderArr; track item; let index = $index) {\n <ng-container\n *ngTemplateOutlet=\"\n loaderTemplate() || _loaderTemplate;\n context: {\n options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })\n }\n \"\n ></ng-container>\n }\n } @else {\n @if (loaderIconTemplate() || _loaderIconTemplate) {\n <ng-container *ngTemplateOutlet=\"loaderIconTemplate() || _loaderIconTemplate; context: { options: { styleClass: 'h-virtualscroller-loading-icon' } }\"></ng-container>\n } @else {\n <svg data-h-icon=\"spinner\" [class]=\"cx('loadingIcon')\" [spin]=\"true\" [hBind]=\"ptm('loadingIcon')\" />\n }\n }\n </div>\n }\n</div>\n} @else {\n <ng-content></ng-content>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: items(), options: { rows: items(), columns: loadedColumns } }\"></ng-container>\n }\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SpinnerIcon, selector: "[data-h-icon=\"spinner\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
1015
- }
1016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Scroller, decorators: [{
1017
- type: Component,
1018
- args: [{ selector: 'h-scroller, h-virtualscroller, h-virtual-scroller, h-virtualScroller', imports: [CommonModule, SpinnerIcon, SharedModule, Bind], standalone: true, changeDetection: ChangeDetectionStrategy.Eager, encapsulation: ViewEncapsulation.None, providers: [ScrollerStyle, { provide: SCROLLER_INSTANCE, useExisting: Scroller }, { provide: PARENT_INSTANCE, useExisting: Scroller }], host: {
1019
- '[style.height]': 'height'
1020
- }, hostDirectives: [Bind], template: "@if (!disabled()) {\n <div #element [attr.id]=\"id()\" [attr.tabindex]=\"tabindex()\" [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" (scroll)=\"onContainerScroll($event)\" [hBind]=\"ptm('root')\">\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }\"></ng-container>\n } @else {\n <div #content [class]=\"cn(cx('content'), contentStyleClass)\" [style]=\"contentStyle\" [hBind]=\"ptm('content')\">\n @for (item of loadedItems; track trackBy()(index, item); let index = $index) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, options: getOptions(index) }\"></ng-container>\n }\n </div>\n }\n @if (showSpacer()) {\n <div [class]=\"cx('spacer')\" [ngStyle]=\"spacerStyle\" [hBind]=\"ptm('spacer')\"></div>\n }\n @if (!loaderDisabled() && showLoader() && d_loading) {\n <div [class]=\"cx('loader')\" [hBind]=\"ptm('loader')\">\n @if (loaderTemplate() || _loaderTemplate) {\n @for (item of loaderArr; track item; let index = $index) {\n <ng-container\n *ngTemplateOutlet=\"\n loaderTemplate() || _loaderTemplate;\n context: {\n options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })\n }\n \"\n ></ng-container>\n }\n } @else {\n @if (loaderIconTemplate() || _loaderIconTemplate) {\n <ng-container *ngTemplateOutlet=\"loaderIconTemplate() || _loaderIconTemplate; context: { options: { styleClass: 'h-virtualscroller-loading-icon' } }\"></ng-container>\n } @else {\n <svg data-h-icon=\"spinner\" [class]=\"cx('loadingIcon')\" [spin]=\"true\" [hBind]=\"ptm('loadingIcon')\" />\n }\n }\n </div>\n }\n</div>\n} @else {\n <ng-content></ng-content>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: items(), options: { rows: items(), columns: loadedColumns } }\"></ng-container>\n }\n}\n" }]
1021
- }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSize", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], scrollWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollWidth", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], delay: [{ type: i0.Input, args: [{ isSignal: true, alias: "delay", required: false }] }], resizeDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizeDelay", required: false }] }], appendOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendOnly", required: false }] }], inline: [{ type: i0.Input, args: [{ isSignal: true, alias: "inline", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], loaderDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "loaderDisabled", required: false }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], showSpacer: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSpacer", required: false }] }], showLoader: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLoader", required: false }] }], numToleratedItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "numToleratedItems", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], autoSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoSize", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], onLazyLoad: [{ type: i0.Output, args: ["onLazyLoad"] }], onScroll: [{ type: i0.Output, args: ["onScroll"] }], onScrollIndexChange: [{ type: i0.Output, args: ["onScrollIndexChange"] }], elementViewChild: [{ type: i0.ViewChild, args: ['element', { isSignal: true }] }], contentViewChild: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], loaderTemplate: [{ type: i0.ContentChild, args: ['loader', { ...{ descendants: false }, isSignal: true }] }], loaderIconTemplate: [{ type: i0.ContentChild, args: ['loadericon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }] }] } });
1022
- class ScrollerModule {
1023
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1024
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: ScrollerModule, imports: [Scroller, SharedModule], exports: [Scroller, SharedModule] });
1025
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerModule, imports: [Scroller, SharedModule, SharedModule] });
1026
- }
1027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ScrollerModule, decorators: [{
1028
- type: NgModule,
1029
- args: [{
1030
- imports: [Scroller, SharedModule],
1031
- exports: [Scroller, SharedModule]
1032
- }]
1033
- }] });
1034
-
1035
- /**
1036
- * Generated bundle index. Do not edit.
1037
- */
1038
-
117
+ const SCROLLER_INSTANCE = new InjectionToken("SCROLLER_INSTANCE");
118
+ var Scroller = class Scroller extends BaseComponent {
119
+ zone;
120
+ componentName = "VirtualScroller";
121
+ bindDirectiveInstance = inject(Bind, { self: true });
122
+ $pcScroller = inject(SCROLLER_INSTANCE, {
123
+ optional: true,
124
+ skipSelf: true
125
+ }) ?? void 0;
126
+ hostName = input("", ...ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []);
127
+ id = input(...ngDevMode ? [void 0, { debugName: "id" }] : /* istanbul ignore next */ []);
128
+ style = input(...ngDevMode ? [void 0, { debugName: "style" }] : /* istanbul ignore next */ []);
129
+ styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
130
+ tabindex = input(0, ...ngDevMode ? [{ debugName: "tabindex" }] : /* istanbul ignore next */ []);
131
+ items = input(...ngDevMode ? [void 0, { debugName: "items" }] : /* istanbul ignore next */ []);
132
+ itemSize = input(0, ...ngDevMode ? [{ debugName: "itemSize" }] : /* istanbul ignore next */ []);
133
+ scrollHeight = input(...ngDevMode ? [void 0, { debugName: "scrollHeight" }] : /* istanbul ignore next */ []);
134
+ scrollWidth = input(...ngDevMode ? [void 0, { debugName: "scrollWidth" }] : /* istanbul ignore next */ []);
135
+ orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
136
+ step = input(0, ...ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []);
137
+ delay = input(0, ...ngDevMode ? [{ debugName: "delay" }] : /* istanbul ignore next */ []);
138
+ resizeDelay = input(10, ...ngDevMode ? [{ debugName: "resizeDelay" }] : /* istanbul ignore next */ []);
139
+ appendOnly = input(false, ...ngDevMode ? [{ debugName: "appendOnly" }] : /* istanbul ignore next */ []);
140
+ inline = input(false, ...ngDevMode ? [{ debugName: "inline" }] : /* istanbul ignore next */ []);
141
+ lazy = input(false, ...ngDevMode ? [{ debugName: "lazy" }] : /* istanbul ignore next */ []);
142
+ disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
143
+ loaderDisabled = input(false, ...ngDevMode ? [{ debugName: "loaderDisabled" }] : /* istanbul ignore next */ []);
144
+ columns = input(...ngDevMode ? [void 0, { debugName: "columns" }] : /* istanbul ignore next */ []);
145
+ showSpacer = input(true, ...ngDevMode ? [{ debugName: "showSpacer" }] : /* istanbul ignore next */ []);
146
+ showLoader = input(false, ...ngDevMode ? [{ debugName: "showLoader" }] : /* istanbul ignore next */ []);
147
+ numToleratedItems = input(...ngDevMode ? [void 0, { debugName: "numToleratedItems" }] : /* istanbul ignore next */ []);
148
+ loading = input(...ngDevMode ? [void 0, { debugName: "loading" }] : /* istanbul ignore next */ []);
149
+ autoSize = input(false, ...ngDevMode ? [{ debugName: "autoSize" }] : /* istanbul ignore next */ []);
150
+ trackBy = input(...ngDevMode ? [void 0, { debugName: "trackBy" }] : /* istanbul ignore next */ []);
151
+ options = input(...ngDevMode ? [void 0, { debugName: "options" }] : /* istanbul ignore next */ []);
152
+ onLazyLoad = output();
153
+ onScroll = output();
154
+ onScrollIndexChange = output();
155
+ elementViewChild = viewChild("element", ...ngDevMode ? [{ debugName: "elementViewChild" }] : /* istanbul ignore next */ []);
156
+ contentViewChild = viewChild("content", ...ngDevMode ? [{ debugName: "contentViewChild" }] : /* istanbul ignore next */ []);
157
+ height;
158
+ d_loading = false;
159
+ d_numToleratedItems;
160
+ contentEl;
161
+ contentTemplate = contentChild("content", {
162
+ ...ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {},
163
+ descendants: false
164
+ });
165
+ itemTemplate = contentChild("item", {
166
+ ...ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {},
167
+ descendants: false
168
+ });
169
+ loaderTemplate = contentChild("loader", {
170
+ ...ngDevMode ? { debugName: "loaderTemplate" } : /* istanbul ignore next */ {},
171
+ descendants: false
172
+ });
173
+ loaderIconTemplate = contentChild("loadericon", {
174
+ ...ngDevMode ? { debugName: "loaderIconTemplate" } : /* istanbul ignore next */ {},
175
+ descendants: false
176
+ });
177
+ templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
178
+ _contentTemplate;
179
+ _itemTemplate;
180
+ _loaderTemplate;
181
+ _loaderIconTemplate;
182
+ first = 0;
183
+ last = 0;
184
+ page = 0;
185
+ isRangeChanged = false;
186
+ numItemsInViewport = 0;
187
+ lastScrollPos = 0;
188
+ lazyLoadState = {};
189
+ loaderArr = [];
190
+ spacerStyle = {};
191
+ contentStyle = {};
192
+ scrollTimeout;
193
+ resizeTimeout;
194
+ initialized = false;
195
+ windowResizeListener;
196
+ defaultWidth;
197
+ defaultHeight;
198
+ defaultContentWidth;
199
+ defaultContentHeight;
200
+ _contentStyleClass;
201
+ get contentStyleClass() {
202
+ return this._contentStyleClass;
203
+ }
204
+ set contentStyleClass(val) {
205
+ this._contentStyleClass = val;
206
+ }
207
+ get vertical() {
208
+ return this.orientation() === "vertical";
209
+ }
210
+ get horizontal() {
211
+ return this.orientation() === "horizontal";
212
+ }
213
+ get both() {
214
+ return this.orientation() === "both";
215
+ }
216
+ get loadedItems() {
217
+ const currentItems = this.items();
218
+ if (currentItems && !this.d_loading) if (this.both) return currentItems.slice(this.appendOnly() ? 0 : this.first.rows, this.last.rows).map((item) => {
219
+ if (this.columns()) return item;
220
+ else if (Array.isArray(item)) return item.slice(this.appendOnly() ? 0 : this.first.cols, this.last.cols);
221
+ else return item;
222
+ });
223
+ else if (this.horizontal && this.columns()) return currentItems;
224
+ else return currentItems.slice(this.appendOnly() ? 0 : this.first, this.last);
225
+ return [];
226
+ }
227
+ get loadedRows() {
228
+ return this.d_loading ? this.loaderDisabled() ? this.loaderArr : [] : this.loadedItems;
229
+ }
230
+ get loadedColumns() {
231
+ const currentColumns = this.columns();
232
+ if (currentColumns && (this.both || this.horizontal)) return this.d_loading && this.loaderDisabled() ? this.both ? this.loaderArr[0] : this.loaderArr : currentColumns.slice(this.both ? this.first.cols : this.first, this.both ? this.last.cols : this.last);
233
+ return currentColumns;
234
+ }
235
+ _componentStyle = inject(ScrollerStyle);
236
+ constructor(zone) {
237
+ super();
238
+ this.zone = zone;
239
+ effect(() => {
240
+ if (this.scrollHeight() === "100%") this.height = "100%";
241
+ });
242
+ effect(() => {
243
+ const loadingVal = this.loading();
244
+ if (this.lazy() && loadingVal !== this.d_loading) this.d_loading = loadingVal ?? false;
245
+ });
246
+ effect(() => {
247
+ this.orientation();
248
+ this.lastScrollPos = this.both ? {
249
+ top: 0,
250
+ left: 0
251
+ } : 0;
252
+ });
253
+ effect(() => {
254
+ const numTol = this.numToleratedItems();
255
+ if (numTol !== this.d_numToleratedItems) this.d_numToleratedItems = numTol;
256
+ });
257
+ effect(() => {
258
+ const opts = this.options();
259
+ if (opts && typeof opts === "object") {
260
+ Object.entries(opts).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
261
+ Object.entries(opts).forEach(([k, v]) => this[`${k}`] !== v && (this[`${k}`] = v));
262
+ if (this.lazy() && opts.loading !== this.d_loading) this.d_loading = opts.loading ?? false;
263
+ if (opts.numToleratedItems !== this.d_numToleratedItems) this.d_numToleratedItems = opts.numToleratedItems;
264
+ }
265
+ });
266
+ effect(() => {
267
+ this.items();
268
+ this.itemSize();
269
+ this.scrollHeight();
270
+ this.scrollWidth();
271
+ if (this.initialized) this.init();
272
+ });
273
+ }
274
+ onInit() {
275
+ this.setInitialState();
276
+ }
277
+ onAfterContentInit() {
278
+ this.templates().forEach((item) => {
279
+ switch (item.getType()) {
280
+ case "content":
281
+ this._contentTemplate = item.template;
282
+ break;
283
+ case "item":
284
+ this._itemTemplate = item.template;
285
+ break;
286
+ case "loader":
287
+ this._loaderTemplate = item.template;
288
+ break;
289
+ case "loadericon":
290
+ this._loaderIconTemplate = item.template;
291
+ break;
292
+ default:
293
+ this._itemTemplate = item.template;
294
+ break;
295
+ }
296
+ });
297
+ }
298
+ onAfterViewInit() {
299
+ Promise.resolve().then(() => {
300
+ this.viewInit();
301
+ });
302
+ }
303
+ onAfterViewChecked() {
304
+ this.bindDirectiveInstance.setAttrs(this.ptm("host"));
305
+ if (!this.initialized) this.viewInit();
306
+ }
307
+ onDestroy() {
308
+ this.unbindResizeListener();
309
+ this.contentEl = null;
310
+ this.initialized = false;
311
+ }
312
+ viewInit() {
313
+ if (isPlatformBrowser(this.platformId) && !this.initialized) {
314
+ const elementViewChild = this.elementViewChild();
315
+ if (isVisible(elementViewChild?.nativeElement)) {
316
+ this.setInitialState();
317
+ this.setContentEl(this.contentEl);
318
+ this.init();
319
+ this.defaultWidth = getWidth(elementViewChild?.nativeElement);
320
+ this.defaultHeight = getHeight(elementViewChild?.nativeElement);
321
+ this.defaultContentWidth = getWidth(this.contentEl);
322
+ this.defaultContentHeight = getHeight(this.contentEl);
323
+ this.initialized = true;
324
+ }
325
+ }
326
+ }
327
+ init() {
328
+ if (!this.disabled()) {
329
+ this.bindResizeListener();
330
+ setTimeout(() => {
331
+ this.setSpacerSize();
332
+ this.setSize();
333
+ this.calculateOptions();
334
+ this.calculateAutoSize();
335
+ this.cd.detectChanges();
336
+ }, 1);
337
+ }
338
+ }
339
+ setContentEl(el) {
340
+ this.contentEl = el || this.contentViewChild()?.nativeElement || findSingle(this.elementViewChild()?.nativeElement, ".h-virtualscroller-content");
341
+ }
342
+ setInitialState() {
343
+ this.first = this.both ? {
344
+ rows: 0,
345
+ cols: 0
346
+ } : 0;
347
+ this.last = this.both ? {
348
+ rows: 0,
349
+ cols: 0
350
+ } : 0;
351
+ this.numItemsInViewport = this.both ? {
352
+ rows: 0,
353
+ cols: 0
354
+ } : 0;
355
+ this.lastScrollPos = this.both ? {
356
+ top: 0,
357
+ left: 0
358
+ } : 0;
359
+ if (this.d_loading === void 0 || this.d_loading === false) this.d_loading = this.loading() || false;
360
+ this.d_numToleratedItems = this.numToleratedItems();
361
+ this.loaderArr = this.loaderArr.length > 0 ? this.loaderArr : [];
362
+ }
363
+ getElementRef() {
364
+ return this.elementViewChild();
365
+ }
366
+ getPageByFirst(first) {
367
+ return Math.floor(((first ?? this.first) + this.d_numToleratedItems * 4) / (this.step() || 1));
368
+ }
369
+ isPageChanged(first) {
370
+ return this.step() ? this.page !== this.getPageByFirst(first ?? this.first) : true;
371
+ }
372
+ scrollTo(options) {
373
+ this.elementViewChild()?.nativeElement?.scrollTo(options);
374
+ }
375
+ scrollToIndex(index, behavior = "auto") {
376
+ if (this.both ? index.every((i) => i > -1) : index > -1) {
377
+ const first = this.first;
378
+ const { scrollTop = 0, scrollLeft = 0 } = this.elementViewChild()?.nativeElement;
379
+ const { numToleratedItems } = this.calculateNumItems();
380
+ const contentPos = this.getContentPosition();
381
+ const itemSize = this.itemSize();
382
+ const calculateFirst = (_index = 0, _numT) => _index <= _numT ? 0 : _index;
383
+ const calculateCoord = (_first, _size, _cpos) => _first * _size + _cpos;
384
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({
385
+ left,
386
+ top,
387
+ behavior
388
+ });
389
+ let newFirst = this.both ? {
390
+ rows: 0,
391
+ cols: 0
392
+ } : 0;
393
+ let isRangeChanged = false, isScrollChanged = false;
394
+ if (this.both) {
395
+ newFirst = {
396
+ rows: calculateFirst(index[0], numToleratedItems[0]),
397
+ cols: calculateFirst(index[1], numToleratedItems[1])
398
+ };
399
+ scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
400
+ isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;
401
+ isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;
402
+ } else {
403
+ newFirst = calculateFirst(index, numToleratedItems);
404
+ this.horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), scrollTop) : scrollTo(scrollLeft, calculateCoord(newFirst, itemSize, contentPos.top));
405
+ isScrollChanged = this.lastScrollPos !== (this.horizontal ? scrollLeft : scrollTop);
406
+ isRangeChanged = newFirst !== first;
407
+ }
408
+ this.isRangeChanged = isRangeChanged;
409
+ isScrollChanged && (this.first = newFirst);
410
+ }
411
+ }
412
+ scrollInView(index, to, behavior = "auto") {
413
+ if (to) {
414
+ const { first, viewport } = this.getRenderedRange();
415
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({
416
+ left,
417
+ top,
418
+ behavior
419
+ });
420
+ const isToStart = to === "to-start";
421
+ const isToEnd = to === "to-end";
422
+ if (isToStart) {
423
+ if (this.both) {
424
+ if (viewport.first.rows - first.rows > index[0]) scrollTo(viewport.first.cols * this.itemSize()[1], (viewport.first.rows - 1) * this.itemSize()[0]);
425
+ else if (viewport.first.cols - first.cols > index[1]) scrollTo((viewport.first.cols - 1) * this.itemSize()[1], viewport.first.rows * this.itemSize()[0]);
426
+ } else if (viewport.first - first > index) {
427
+ const pos = (viewport.first - 1) * this.itemSize();
428
+ this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
429
+ }
430
+ } else if (isToEnd) {
431
+ if (this.both) {
432
+ if (viewport.last.rows - first.rows <= index[0] + 1) scrollTo(viewport.first.cols * this.itemSize()[1], (viewport.first.rows + 1) * this.itemSize()[0]);
433
+ else if (viewport.last.cols - first.cols <= index[1] + 1) scrollTo((viewport.first.cols + 1) * this.itemSize()[1], viewport.first.rows * this.itemSize()[0]);
434
+ } else if (viewport.last - first <= index + 1) {
435
+ const pos = (viewport.first + 1) * this.itemSize();
436
+ this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
437
+ }
438
+ }
439
+ } else this.scrollToIndex(index, behavior);
440
+ }
441
+ getRenderedRange() {
442
+ const calculateFirstInViewport = (_pos, _size) => _size || _pos ? Math.floor(_pos / (_size || _pos)) : 0;
443
+ let firstInViewport = this.first;
444
+ let lastInViewport = 0;
445
+ const elementViewChild = this.elementViewChild();
446
+ if (elementViewChild?.nativeElement) {
447
+ const { scrollTop, scrollLeft } = elementViewChild.nativeElement;
448
+ if (this.both) {
449
+ firstInViewport = {
450
+ rows: calculateFirstInViewport(scrollTop, this.itemSize()[0]),
451
+ cols: calculateFirstInViewport(scrollLeft, this.itemSize()[1])
452
+ };
453
+ lastInViewport = {
454
+ rows: firstInViewport.rows + this.numItemsInViewport.rows,
455
+ cols: firstInViewport.cols + this.numItemsInViewport.cols
456
+ };
457
+ } else {
458
+ firstInViewport = calculateFirstInViewport(this.horizontal ? scrollLeft : scrollTop, this.itemSize());
459
+ lastInViewport = firstInViewport + this.numItemsInViewport;
460
+ }
461
+ }
462
+ return {
463
+ first: this.first,
464
+ last: this.last,
465
+ viewport: {
466
+ first: firstInViewport,
467
+ last: lastInViewport
468
+ }
469
+ };
470
+ }
471
+ calculateNumItems() {
472
+ const contentPos = this.getContentPosition();
473
+ const elementViewChild = this.elementViewChild();
474
+ const contentWidth = (elementViewChild?.nativeElement ? elementViewChild.nativeElement.offsetWidth - contentPos.left : 0) || 0;
475
+ const elementViewChildValue = this.elementViewChild();
476
+ const contentHeight = (elementViewChildValue?.nativeElement ? elementViewChildValue.nativeElement.offsetHeight - contentPos.top : 0) || 0;
477
+ const calculateNumItemsInViewport = (_contentSize, _itemSize) => _itemSize || _contentSize ? Math.ceil(_contentSize / (_itemSize || _contentSize)) : 0;
478
+ const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
479
+ const numItemsInViewport = this.both ? {
480
+ rows: calculateNumItemsInViewport(contentHeight, this.itemSize()[0]),
481
+ cols: calculateNumItemsInViewport(contentWidth, this.itemSize()[1])
482
+ } : calculateNumItemsInViewport(this.horizontal ? contentWidth : contentHeight, this.itemSize());
483
+ return {
484
+ numItemsInViewport,
485
+ numToleratedItems: this.d_numToleratedItems || (this.both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport))
486
+ };
487
+ }
488
+ calculateOptions() {
489
+ const { numItemsInViewport, numToleratedItems } = this.calculateNumItems();
490
+ const calculateLast = (_first, _num, _numT, _isCols = false) => this.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);
491
+ const first = this.first;
492
+ const last = this.both ? {
493
+ rows: calculateLast(this.first.rows, numItemsInViewport.rows, numToleratedItems[0]),
494
+ cols: calculateLast(this.first.cols, numItemsInViewport.cols, numToleratedItems[1], true)
495
+ } : calculateLast(this.first, numItemsInViewport, numToleratedItems);
496
+ this.last = last;
497
+ this.numItemsInViewport = numItemsInViewport;
498
+ this.d_numToleratedItems = numToleratedItems;
499
+ if (this.showLoader()) this.loaderArr = this.both ? Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) : Array.from({ length: numItemsInViewport });
500
+ if (this.lazy()) Promise.resolve().then(() => {
501
+ this.lazyLoadState = {
502
+ first: this.step() ? this.both ? {
503
+ rows: 0,
504
+ cols: first.cols
505
+ } : 0 : first,
506
+ last: Math.min(this.step() ? this.step() : this.last, this.items().length)
507
+ };
508
+ this.handleEvents("onLazyLoad", this.lazyLoadState);
509
+ });
510
+ }
511
+ calculateAutoSize() {
512
+ if (this.autoSize() && !this.d_loading) Promise.resolve().then(() => {
513
+ if (this.contentEl) {
514
+ this.contentEl.style.minHeight = this.contentEl.style.minWidth = "auto";
515
+ this.contentEl.style.position = "relative";
516
+ this.elementViewChild().nativeElement.style.contain = "none";
517
+ const [contentWidth, contentHeight] = [getWidth(this.contentEl), getHeight(this.contentEl)];
518
+ contentWidth !== this.defaultContentWidth && (this.elementViewChild().nativeElement.style.width = "");
519
+ contentHeight !== this.defaultContentHeight && (this.elementViewChild().nativeElement.style.height = "");
520
+ const [width, height] = [getWidth(this.elementViewChild().nativeElement), getHeight(this.elementViewChild().nativeElement)];
521
+ (this.both || this.horizontal) && (this.elementViewChild().nativeElement.style.width = width < this.defaultWidth ? width + "px" : this.scrollWidth() || this.defaultWidth + "px");
522
+ (this.both || this.vertical) && (this.elementViewChild().nativeElement.style.height = height < this.defaultHeight ? height + "px" : this.scrollHeight() || this.defaultHeight + "px");
523
+ this.contentEl.style.minHeight = this.contentEl.style.minWidth = "";
524
+ this.contentEl.style.position = "";
525
+ this.elementViewChild().nativeElement.style.contain = "";
526
+ }
527
+ });
528
+ }
529
+ getLast(last = 0, isCols = false) {
530
+ const currentItems = this.items();
531
+ return currentItems ? Math.min(isCols ? (this.columns() || currentItems[0]).length : currentItems.length, last) : 0;
532
+ }
533
+ getContentPosition() {
534
+ if (this.contentEl) {
535
+ const style = getComputedStyle(this.contentEl);
536
+ const left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);
537
+ const right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);
538
+ const top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);
539
+ const bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);
540
+ return {
541
+ left,
542
+ right,
543
+ top,
544
+ bottom,
545
+ x: left + right,
546
+ y: top + bottom
547
+ };
548
+ }
549
+ return {
550
+ left: 0,
551
+ right: 0,
552
+ top: 0,
553
+ bottom: 0,
554
+ x: 0,
555
+ y: 0
556
+ };
557
+ }
558
+ setSize() {
559
+ const elementViewChild = this.elementViewChild();
560
+ if (elementViewChild?.nativeElement) {
561
+ const nativeElement = elementViewChild.nativeElement;
562
+ const parentElement = nativeElement.parentElement?.parentElement;
563
+ const elementWidth = nativeElement.offsetWidth;
564
+ const parentWidth = parentElement?.offsetWidth || 0;
565
+ const width = this.scrollWidth() || `${elementWidth || parentWidth}px`;
566
+ const elementHeight = nativeElement.offsetHeight;
567
+ const parentHeight = parentElement?.offsetHeight || 0;
568
+ const height = this.scrollHeight() || `${elementHeight || parentHeight}px`;
569
+ const setProp = (_name, _value) => nativeElement.style[_name] = _value;
570
+ if (this.both || this.horizontal) {
571
+ setProp("height", height);
572
+ setProp("width", width);
573
+ } else setProp("height", height);
574
+ }
575
+ }
576
+ setSpacerSize() {
577
+ const currentItems = this.items();
578
+ if (currentItems) {
579
+ const contentPos = this.getContentPosition();
580
+ const setProp = (_name, _value, _size, _cpos = 0) => this.spacerStyle = {
581
+ ...this.spacerStyle,
582
+ [`${_name}`]: (_value || []).length * _size + _cpos + "px"
583
+ };
584
+ if (this.both) {
585
+ setProp("height", currentItems, this.itemSize()[0], contentPos.y);
586
+ setProp("width", this.columns() || currentItems[1], this.itemSize()[1], contentPos.x);
587
+ } else this.horizontal ? setProp("width", this.columns() || currentItems, this.itemSize(), contentPos.x) : setProp("height", currentItems, this.itemSize(), contentPos.y);
588
+ }
589
+ }
590
+ setContentPosition(pos) {
591
+ if (this.contentEl && !this.appendOnly()) {
592
+ const first = pos ? pos.first : this.first;
593
+ const calculateTranslateVal = (_first, _size) => _first * _size;
594
+ const setTransform = (_x = 0, _y = 0) => this.contentStyle = {
595
+ ...this.contentStyle,
596
+ transform: `translate3d(${_x}px, ${_y}px, 0)`
597
+ };
598
+ if (this.both) setTransform(calculateTranslateVal(first.cols, this.itemSize()[1]), calculateTranslateVal(first.rows, this.itemSize()[0]));
599
+ else {
600
+ const translateVal = calculateTranslateVal(first, this.itemSize());
601
+ this.horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
602
+ }
603
+ }
604
+ }
605
+ onScrollPositionChange(event) {
606
+ const target = event.target;
607
+ if (!target) throw new Error("Event target is null");
608
+ const contentPos = this.getContentPosition();
609
+ const calculateScrollPos = (_pos, _cpos) => _pos ? _pos > _cpos ? _pos - _cpos : _pos : 0;
610
+ const calculateCurrentIndex = (_pos, _size) => _size || _pos ? Math.floor(_pos / (_size || _pos)) : 0;
611
+ const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
612
+ return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;
613
+ };
614
+ const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
615
+ if (_currentIndex <= _numT) return 0;
616
+ else return Math.max(0, _isScrollDownOrRight ? _currentIndex < _triggerIndex ? _first : _currentIndex - _numT : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);
617
+ };
618
+ const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols = false) => {
619
+ let lastValue = _first + _num + 2 * _numT;
620
+ if (_currentIndex >= _numT) lastValue += _numT + 1;
621
+ return this.getLast(lastValue, _isCols);
622
+ };
623
+ const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
624
+ const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
625
+ let newFirst = this.both ? {
626
+ rows: 0,
627
+ cols: 0
628
+ } : 0;
629
+ let newLast = this.last;
630
+ let isRangeChanged = false;
631
+ let newScrollPos = this.lastScrollPos;
632
+ if (this.both) {
633
+ const isScrollDown = this.lastScrollPos.top <= scrollTop;
634
+ const isScrollRight = this.lastScrollPos.left <= scrollLeft;
635
+ if (!this.appendOnly() || this.appendOnly() && (isScrollDown || isScrollRight)) {
636
+ const currentIndex = {
637
+ rows: calculateCurrentIndex(scrollTop, this.itemSize()[0]),
638
+ cols: calculateCurrentIndex(scrollLeft, this.itemSize()[1])
639
+ };
640
+ const triggerIndex = {
641
+ rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
642
+ cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
643
+ };
644
+ newFirst = {
645
+ rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
646
+ cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
647
+ };
648
+ newLast = {
649
+ rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
650
+ cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
651
+ };
652
+ isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;
653
+ newScrollPos = {
654
+ top: scrollTop,
655
+ left: scrollLeft
656
+ };
657
+ }
658
+ } else {
659
+ const scrollPos = this.horizontal ? scrollLeft : scrollTop;
660
+ const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
661
+ if (!this.appendOnly() || this.appendOnly() && isScrollDownOrRight) {
662
+ const currentIndex = calculateCurrentIndex(scrollPos, this.itemSize());
663
+ newFirst = calculateFirst(currentIndex, calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight), this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
664
+ newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
665
+ isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;
666
+ newScrollPos = scrollPos;
667
+ }
668
+ }
669
+ return {
670
+ first: newFirst,
671
+ last: newLast,
672
+ isRangeChanged,
673
+ scrollPos: newScrollPos
674
+ };
675
+ }
676
+ onScrollChange(event) {
677
+ const { first, last, isRangeChanged, scrollPos } = this.onScrollPositionChange(event);
678
+ if (isRangeChanged) {
679
+ const newState = {
680
+ first,
681
+ last
682
+ };
683
+ this.setContentPosition(newState);
684
+ this.first = first;
685
+ this.last = last;
686
+ this.lastScrollPos = scrollPos;
687
+ this.handleEvents("onScrollIndexChange", newState);
688
+ if (this.lazy() && this.isPageChanged(first)) {
689
+ const lazyLoadState = {
690
+ first: this.step() ? Math.min(this.getPageByFirst(first) * this.step(), this.items().length - this.step()) : first,
691
+ last: Math.min(this.step() ? (this.getPageByFirst(first) + 1) * this.step() : last, this.items().length)
692
+ };
693
+ (this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last) && this.handleEvents("onLazyLoad", lazyLoadState);
694
+ this.lazyLoadState = lazyLoadState;
695
+ }
696
+ }
697
+ }
698
+ onContainerScroll(event) {
699
+ this.handleEvents("onScroll", { originalEvent: event });
700
+ if (this.delay()) {
701
+ if (this.scrollTimeout) clearTimeout(this.scrollTimeout);
702
+ if (!this.d_loading && this.showLoader()) {
703
+ const { isRangeChanged } = this.onScrollPositionChange(event);
704
+ if (isRangeChanged || (this.step() ? this.isPageChanged() : false)) {
705
+ this.d_loading = true;
706
+ this.cd.detectChanges();
707
+ }
708
+ }
709
+ this.scrollTimeout = setTimeout(() => {
710
+ this.onScrollChange(event);
711
+ if (this.d_loading && this.showLoader() && (!this.lazy() || this.loading() === void 0)) {
712
+ this.d_loading = false;
713
+ this.page = this.getPageByFirst();
714
+ }
715
+ this.cd.detectChanges();
716
+ }, this.delay());
717
+ } else !this.d_loading && this.onScrollChange(event);
718
+ }
719
+ bindResizeListener() {
720
+ if (isPlatformBrowser(this.platformId)) {
721
+ if (!this.windowResizeListener) this.zone.runOutsideAngular(() => {
722
+ const window = this.document.defaultView;
723
+ const event = isTouchDevice() ? "orientationchange" : "resize";
724
+ this.windowResizeListener = this.renderer.listen(window, event, this.onWindowResize.bind(this));
725
+ });
726
+ }
727
+ }
728
+ unbindResizeListener() {
729
+ if (this.windowResizeListener) {
730
+ this.windowResizeListener();
731
+ this.windowResizeListener = null;
732
+ }
733
+ }
734
+ onWindowResize() {
735
+ if (this.resizeTimeout) clearTimeout(this.resizeTimeout);
736
+ this.resizeTimeout = setTimeout(() => {
737
+ const elementViewChild = this.elementViewChild();
738
+ if (isVisible(elementViewChild?.nativeElement)) {
739
+ const [width, height] = [getWidth(elementViewChild?.nativeElement), getHeight(elementViewChild?.nativeElement)];
740
+ const [isDiffWidth, isDiffHeight] = [width !== this.defaultWidth, height !== this.defaultHeight];
741
+ (this.both ? isDiffWidth || isDiffHeight : this.horizontal ? isDiffWidth : this.vertical && isDiffHeight) && this.zone.run(() => {
742
+ this.d_numToleratedItems = this.numToleratedItems();
743
+ this.defaultWidth = width;
744
+ this.defaultHeight = height;
745
+ this.defaultContentWidth = getWidth(this.contentEl);
746
+ this.defaultContentHeight = getHeight(this.contentEl);
747
+ this.init();
748
+ });
749
+ }
750
+ }, this.resizeDelay());
751
+ }
752
+ handleEvents(name, params) {
753
+ return this.options() && this.options()[name] ? this.options()[name](params) : this[name].emit(params);
754
+ }
755
+ getContentOptions() {
756
+ return {
757
+ contentStyleClass: `h-virtualscroller-content ${this.d_loading ? "h-virtualscroller-loading" : ""}`,
758
+ items: this.loadedItems,
759
+ getItemOptions: (index) => this.getOptions(index),
760
+ loading: this.d_loading,
761
+ getLoaderOptions: (index, options) => this.getLoaderOptions(index, options),
762
+ itemSize: this.itemSize(),
763
+ rows: this.loadedRows,
764
+ columns: this.loadedColumns,
765
+ spacerStyle: this.spacerStyle,
766
+ contentStyle: this.contentStyle,
767
+ vertical: this.vertical,
768
+ horizontal: this.horizontal,
769
+ both: this.both,
770
+ scrollTo: this.scrollTo.bind(this),
771
+ scrollToIndex: this.scrollToIndex.bind(this),
772
+ orientation: this.orientation(),
773
+ scrollableElement: this.elementViewChild()?.nativeElement
774
+ };
775
+ }
776
+ getOptions(renderedIndex) {
777
+ const count = (this.items() || []).length;
778
+ const index = this.both ? this.first.rows + renderedIndex : this.first + renderedIndex;
779
+ return {
780
+ index,
781
+ count,
782
+ first: index === 0,
783
+ last: index === count - 1,
784
+ even: index % 2 === 0,
785
+ odd: index % 2 !== 0
786
+ };
787
+ }
788
+ getLoaderOptions(index, extOptions) {
789
+ const count = this.loaderArr.length;
790
+ return {
791
+ index,
792
+ count,
793
+ first: index === 0,
794
+ last: index === count - 1,
795
+ even: index % 2 === 0,
796
+ odd: index % 2 !== 0,
797
+ loading: this.d_loading,
798
+ ...extOptions
799
+ };
800
+ }
801
+ static ɵfac = i0.ɵɵngDeclareFactory({
802
+ minVersion: "12.0.0",
803
+ version: "22.2.1",
804
+ ngImport: i0,
805
+ type: Scroller,
806
+ deps: [{ token: i0.NgZone }],
807
+ target: i0.ɵɵFactoryTarget.Component
808
+ });
809
+ static ɵcmp = i0.ɵɵngDeclareComponent({
810
+ minVersion: "17.0.0",
811
+ version: "22.2.1",
812
+ type: Scroller,
813
+ isStandalone: true,
814
+ selector: "h-scroller, h-virtualscroller, h-virtual-scroller, h-virtualScroller",
815
+ inputs: {
816
+ hostName: {
817
+ classPropertyName: "hostName",
818
+ publicName: "hostName",
819
+ isSignal: true,
820
+ isRequired: false,
821
+ transformFunction: null
822
+ },
823
+ id: {
824
+ classPropertyName: "id",
825
+ publicName: "id",
826
+ isSignal: true,
827
+ isRequired: false,
828
+ transformFunction: null
829
+ },
830
+ style: {
831
+ classPropertyName: "style",
832
+ publicName: "style",
833
+ isSignal: true,
834
+ isRequired: false,
835
+ transformFunction: null
836
+ },
837
+ styleClass: {
838
+ classPropertyName: "styleClass",
839
+ publicName: "styleClass",
840
+ isSignal: true,
841
+ isRequired: false,
842
+ transformFunction: null
843
+ },
844
+ tabindex: {
845
+ classPropertyName: "tabindex",
846
+ publicName: "tabindex",
847
+ isSignal: true,
848
+ isRequired: false,
849
+ transformFunction: null
850
+ },
851
+ items: {
852
+ classPropertyName: "items",
853
+ publicName: "items",
854
+ isSignal: true,
855
+ isRequired: false,
856
+ transformFunction: null
857
+ },
858
+ itemSize: {
859
+ classPropertyName: "itemSize",
860
+ publicName: "itemSize",
861
+ isSignal: true,
862
+ isRequired: false,
863
+ transformFunction: null
864
+ },
865
+ scrollHeight: {
866
+ classPropertyName: "scrollHeight",
867
+ publicName: "scrollHeight",
868
+ isSignal: true,
869
+ isRequired: false,
870
+ transformFunction: null
871
+ },
872
+ scrollWidth: {
873
+ classPropertyName: "scrollWidth",
874
+ publicName: "scrollWidth",
875
+ isSignal: true,
876
+ isRequired: false,
877
+ transformFunction: null
878
+ },
879
+ orientation: {
880
+ classPropertyName: "orientation",
881
+ publicName: "orientation",
882
+ isSignal: true,
883
+ isRequired: false,
884
+ transformFunction: null
885
+ },
886
+ step: {
887
+ classPropertyName: "step",
888
+ publicName: "step",
889
+ isSignal: true,
890
+ isRequired: false,
891
+ transformFunction: null
892
+ },
893
+ delay: {
894
+ classPropertyName: "delay",
895
+ publicName: "delay",
896
+ isSignal: true,
897
+ isRequired: false,
898
+ transformFunction: null
899
+ },
900
+ resizeDelay: {
901
+ classPropertyName: "resizeDelay",
902
+ publicName: "resizeDelay",
903
+ isSignal: true,
904
+ isRequired: false,
905
+ transformFunction: null
906
+ },
907
+ appendOnly: {
908
+ classPropertyName: "appendOnly",
909
+ publicName: "appendOnly",
910
+ isSignal: true,
911
+ isRequired: false,
912
+ transformFunction: null
913
+ },
914
+ inline: {
915
+ classPropertyName: "inline",
916
+ publicName: "inline",
917
+ isSignal: true,
918
+ isRequired: false,
919
+ transformFunction: null
920
+ },
921
+ lazy: {
922
+ classPropertyName: "lazy",
923
+ publicName: "lazy",
924
+ isSignal: true,
925
+ isRequired: false,
926
+ transformFunction: null
927
+ },
928
+ disabled: {
929
+ classPropertyName: "disabled",
930
+ publicName: "disabled",
931
+ isSignal: true,
932
+ isRequired: false,
933
+ transformFunction: null
934
+ },
935
+ loaderDisabled: {
936
+ classPropertyName: "loaderDisabled",
937
+ publicName: "loaderDisabled",
938
+ isSignal: true,
939
+ isRequired: false,
940
+ transformFunction: null
941
+ },
942
+ columns: {
943
+ classPropertyName: "columns",
944
+ publicName: "columns",
945
+ isSignal: true,
946
+ isRequired: false,
947
+ transformFunction: null
948
+ },
949
+ showSpacer: {
950
+ classPropertyName: "showSpacer",
951
+ publicName: "showSpacer",
952
+ isSignal: true,
953
+ isRequired: false,
954
+ transformFunction: null
955
+ },
956
+ showLoader: {
957
+ classPropertyName: "showLoader",
958
+ publicName: "showLoader",
959
+ isSignal: true,
960
+ isRequired: false,
961
+ transformFunction: null
962
+ },
963
+ numToleratedItems: {
964
+ classPropertyName: "numToleratedItems",
965
+ publicName: "numToleratedItems",
966
+ isSignal: true,
967
+ isRequired: false,
968
+ transformFunction: null
969
+ },
970
+ loading: {
971
+ classPropertyName: "loading",
972
+ publicName: "loading",
973
+ isSignal: true,
974
+ isRequired: false,
975
+ transformFunction: null
976
+ },
977
+ autoSize: {
978
+ classPropertyName: "autoSize",
979
+ publicName: "autoSize",
980
+ isSignal: true,
981
+ isRequired: false,
982
+ transformFunction: null
983
+ },
984
+ trackBy: {
985
+ classPropertyName: "trackBy",
986
+ publicName: "trackBy",
987
+ isSignal: true,
988
+ isRequired: false,
989
+ transformFunction: null
990
+ },
991
+ options: {
992
+ classPropertyName: "options",
993
+ publicName: "options",
994
+ isSignal: true,
995
+ isRequired: false,
996
+ transformFunction: null
997
+ }
998
+ },
999
+ outputs: {
1000
+ onLazyLoad: "onLazyLoad",
1001
+ onScroll: "onScroll",
1002
+ onScrollIndexChange: "onScrollIndexChange"
1003
+ },
1004
+ host: { properties: { "style.height": "height" } },
1005
+ providers: [
1006
+ ScrollerStyle,
1007
+ {
1008
+ provide: SCROLLER_INSTANCE,
1009
+ useExisting: Scroller
1010
+ },
1011
+ {
1012
+ provide: PARENT_INSTANCE,
1013
+ useExisting: Scroller
1014
+ }
1015
+ ],
1016
+ queries: [
1017
+ {
1018
+ propertyName: "contentTemplate",
1019
+ first: true,
1020
+ predicate: ["content"],
1021
+ isSignal: true
1022
+ },
1023
+ {
1024
+ propertyName: "itemTemplate",
1025
+ first: true,
1026
+ predicate: ["item"],
1027
+ isSignal: true
1028
+ },
1029
+ {
1030
+ propertyName: "loaderTemplate",
1031
+ first: true,
1032
+ predicate: ["loader"],
1033
+ isSignal: true
1034
+ },
1035
+ {
1036
+ propertyName: "loaderIconTemplate",
1037
+ first: true,
1038
+ predicate: ["loadericon"],
1039
+ isSignal: true
1040
+ },
1041
+ {
1042
+ propertyName: "templates",
1043
+ predicate: HelixTemplate,
1044
+ isSignal: true
1045
+ }
1046
+ ],
1047
+ viewQueries: [{
1048
+ propertyName: "elementViewChild",
1049
+ first: true,
1050
+ predicate: ["element"],
1051
+ descendants: true,
1052
+ isSignal: true
1053
+ }, {
1054
+ propertyName: "contentViewChild",
1055
+ first: true,
1056
+ predicate: ["content"],
1057
+ descendants: true,
1058
+ isSignal: true
1059
+ }],
1060
+ usesInheritance: true,
1061
+ hostDirectives: [{ directive: i1.Bind }],
1062
+ ngImport: i0,
1063
+ template: "@if (!disabled()) {\n <div #element [attr.id]=\"id()\" [attr.tabindex]=\"tabindex()\" [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" (scroll)=\"onContainerScroll($event)\" [hBind]=\"ptm('root')\">\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }\"></ng-container>\n } @else {\n <div #content [class]=\"cn(cx('content'), contentStyleClass)\" [style]=\"contentStyle\" [hBind]=\"ptm('content')\">\n @for (item of loadedItems; track trackBy()(index, item); let index = $index) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, options: getOptions(index) }\"></ng-container>\n }\n </div>\n }\n @if (showSpacer()) {\n <div [class]=\"cx('spacer')\" [ngStyle]=\"spacerStyle\" [hBind]=\"ptm('spacer')\"></div>\n }\n @if (!loaderDisabled() && showLoader() && d_loading) {\n <div [class]=\"cx('loader')\" [hBind]=\"ptm('loader')\">\n @if (loaderTemplate() || _loaderTemplate) {\n @for (item of loaderArr; track item; let index = $index) {\n <ng-container\n *ngTemplateOutlet=\"\n loaderTemplate() || _loaderTemplate;\n context: {\n options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })\n }\n \"\n ></ng-container>\n }\n } @else {\n @if (loaderIconTemplate() || _loaderIconTemplate) {\n <ng-container *ngTemplateOutlet=\"loaderIconTemplate() || _loaderIconTemplate; context: { options: { styleClass: 'h-virtualscroller-loading-icon' } }\"></ng-container>\n } @else {\n <svg data-h-icon=\"spinner\" [class]=\"cx('loadingIcon')\" [spin]=\"true\" [hBind]=\"ptm('loadingIcon')\" />\n }\n }\n </div>\n }\n</div>\n} @else {\n <ng-content></ng-content>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: items(), options: { rows: items(), columns: loadedColumns } }\"></ng-container>\n }\n}\n",
1064
+ dependencies: [
1065
+ {
1066
+ kind: "ngmodule",
1067
+ type: CommonModule
1068
+ },
1069
+ {
1070
+ kind: "directive",
1071
+ type: i2.NgTemplateOutlet,
1072
+ selector: "[ngTemplateOutlet]",
1073
+ inputs: [
1074
+ "ngTemplateOutletContext",
1075
+ "ngTemplateOutlet",
1076
+ "ngTemplateOutletInjector"
1077
+ ]
1078
+ },
1079
+ {
1080
+ kind: "directive",
1081
+ type: i2.NgStyle,
1082
+ selector: "[ngStyle]",
1083
+ inputs: ["ngStyle"]
1084
+ },
1085
+ {
1086
+ kind: "component",
1087
+ type: SpinnerIcon,
1088
+ selector: "[data-h-icon=\"spinner\"]"
1089
+ },
1090
+ {
1091
+ kind: "ngmodule",
1092
+ type: SharedModule
1093
+ },
1094
+ {
1095
+ kind: "directive",
1096
+ type: Bind,
1097
+ selector: "[hBind]",
1098
+ inputs: ["hBind"]
1099
+ }
1100
+ ],
1101
+ changeDetection: i0.ChangeDetectionStrategy.Eager,
1102
+ encapsulation: i0.ViewEncapsulation.None
1103
+ });
1104
+ };
1105
+ i0.ɵɵngDeclareClassMetadata({
1106
+ minVersion: "12.0.0",
1107
+ version: "22.2.1",
1108
+ ngImport: i0,
1109
+ type: Scroller,
1110
+ decorators: [{
1111
+ type: Component,
1112
+ args: [{
1113
+ selector: "h-scroller, h-virtualscroller, h-virtual-scroller, h-virtualScroller",
1114
+ imports: [
1115
+ CommonModule,
1116
+ SpinnerIcon,
1117
+ SharedModule,
1118
+ Bind
1119
+ ],
1120
+ standalone: true,
1121
+ changeDetection: ChangeDetectionStrategy.Eager,
1122
+ encapsulation: ViewEncapsulation.None,
1123
+ providers: [
1124
+ ScrollerStyle,
1125
+ {
1126
+ provide: SCROLLER_INSTANCE,
1127
+ useExisting: Scroller
1128
+ },
1129
+ {
1130
+ provide: PARENT_INSTANCE,
1131
+ useExisting: Scroller
1132
+ }
1133
+ ],
1134
+ host: { "[style.height]": "height" },
1135
+ hostDirectives: [Bind],
1136
+ template: "@if (!disabled()) {\n <div #element [attr.id]=\"id()\" [attr.tabindex]=\"tabindex()\" [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" (scroll)=\"onContainerScroll($event)\" [hBind]=\"ptm('root')\">\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }\"></ng-container>\n } @else {\n <div #content [class]=\"cn(cx('content'), contentStyleClass)\" [style]=\"contentStyle\" [hBind]=\"ptm('content')\">\n @for (item of loadedItems; track trackBy()(index, item); let index = $index) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, options: getOptions(index) }\"></ng-container>\n }\n </div>\n }\n @if (showSpacer()) {\n <div [class]=\"cx('spacer')\" [ngStyle]=\"spacerStyle\" [hBind]=\"ptm('spacer')\"></div>\n }\n @if (!loaderDisabled() && showLoader() && d_loading) {\n <div [class]=\"cx('loader')\" [hBind]=\"ptm('loader')\">\n @if (loaderTemplate() || _loaderTemplate) {\n @for (item of loaderArr; track item; let index = $index) {\n <ng-container\n *ngTemplateOutlet=\"\n loaderTemplate() || _loaderTemplate;\n context: {\n options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })\n }\n \"\n ></ng-container>\n }\n } @else {\n @if (loaderIconTemplate() || _loaderIconTemplate) {\n <ng-container *ngTemplateOutlet=\"loaderIconTemplate() || _loaderIconTemplate; context: { options: { styleClass: 'h-virtualscroller-loading-icon' } }\"></ng-container>\n } @else {\n <svg data-h-icon=\"spinner\" [class]=\"cx('loadingIcon')\" [spin]=\"true\" [hBind]=\"ptm('loadingIcon')\" />\n }\n }\n </div>\n }\n</div>\n} @else {\n <ng-content></ng-content>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: items(), options: { rows: items(), columns: loadedColumns } }\"></ng-container>\n }\n}\n"
1137
+ }]
1138
+ }],
1139
+ ctorParameters: () => [{ type: i0.NgZone }],
1140
+ propDecorators: {
1141
+ hostName: [{
1142
+ type: i0.Input,
1143
+ args: [{
1144
+ isSignal: true,
1145
+ alias: "hostName",
1146
+ required: false
1147
+ }]
1148
+ }],
1149
+ id: [{
1150
+ type: i0.Input,
1151
+ args: [{
1152
+ isSignal: true,
1153
+ alias: "id",
1154
+ required: false
1155
+ }]
1156
+ }],
1157
+ style: [{
1158
+ type: i0.Input,
1159
+ args: [{
1160
+ isSignal: true,
1161
+ alias: "style",
1162
+ required: false
1163
+ }]
1164
+ }],
1165
+ styleClass: [{
1166
+ type: i0.Input,
1167
+ args: [{
1168
+ isSignal: true,
1169
+ alias: "styleClass",
1170
+ required: false
1171
+ }]
1172
+ }],
1173
+ tabindex: [{
1174
+ type: i0.Input,
1175
+ args: [{
1176
+ isSignal: true,
1177
+ alias: "tabindex",
1178
+ required: false
1179
+ }]
1180
+ }],
1181
+ items: [{
1182
+ type: i0.Input,
1183
+ args: [{
1184
+ isSignal: true,
1185
+ alias: "items",
1186
+ required: false
1187
+ }]
1188
+ }],
1189
+ itemSize: [{
1190
+ type: i0.Input,
1191
+ args: [{
1192
+ isSignal: true,
1193
+ alias: "itemSize",
1194
+ required: false
1195
+ }]
1196
+ }],
1197
+ scrollHeight: [{
1198
+ type: i0.Input,
1199
+ args: [{
1200
+ isSignal: true,
1201
+ alias: "scrollHeight",
1202
+ required: false
1203
+ }]
1204
+ }],
1205
+ scrollWidth: [{
1206
+ type: i0.Input,
1207
+ args: [{
1208
+ isSignal: true,
1209
+ alias: "scrollWidth",
1210
+ required: false
1211
+ }]
1212
+ }],
1213
+ orientation: [{
1214
+ type: i0.Input,
1215
+ args: [{
1216
+ isSignal: true,
1217
+ alias: "orientation",
1218
+ required: false
1219
+ }]
1220
+ }],
1221
+ step: [{
1222
+ type: i0.Input,
1223
+ args: [{
1224
+ isSignal: true,
1225
+ alias: "step",
1226
+ required: false
1227
+ }]
1228
+ }],
1229
+ delay: [{
1230
+ type: i0.Input,
1231
+ args: [{
1232
+ isSignal: true,
1233
+ alias: "delay",
1234
+ required: false
1235
+ }]
1236
+ }],
1237
+ resizeDelay: [{
1238
+ type: i0.Input,
1239
+ args: [{
1240
+ isSignal: true,
1241
+ alias: "resizeDelay",
1242
+ required: false
1243
+ }]
1244
+ }],
1245
+ appendOnly: [{
1246
+ type: i0.Input,
1247
+ args: [{
1248
+ isSignal: true,
1249
+ alias: "appendOnly",
1250
+ required: false
1251
+ }]
1252
+ }],
1253
+ inline: [{
1254
+ type: i0.Input,
1255
+ args: [{
1256
+ isSignal: true,
1257
+ alias: "inline",
1258
+ required: false
1259
+ }]
1260
+ }],
1261
+ lazy: [{
1262
+ type: i0.Input,
1263
+ args: [{
1264
+ isSignal: true,
1265
+ alias: "lazy",
1266
+ required: false
1267
+ }]
1268
+ }],
1269
+ disabled: [{
1270
+ type: i0.Input,
1271
+ args: [{
1272
+ isSignal: true,
1273
+ alias: "disabled",
1274
+ required: false
1275
+ }]
1276
+ }],
1277
+ loaderDisabled: [{
1278
+ type: i0.Input,
1279
+ args: [{
1280
+ isSignal: true,
1281
+ alias: "loaderDisabled",
1282
+ required: false
1283
+ }]
1284
+ }],
1285
+ columns: [{
1286
+ type: i0.Input,
1287
+ args: [{
1288
+ isSignal: true,
1289
+ alias: "columns",
1290
+ required: false
1291
+ }]
1292
+ }],
1293
+ showSpacer: [{
1294
+ type: i0.Input,
1295
+ args: [{
1296
+ isSignal: true,
1297
+ alias: "showSpacer",
1298
+ required: false
1299
+ }]
1300
+ }],
1301
+ showLoader: [{
1302
+ type: i0.Input,
1303
+ args: [{
1304
+ isSignal: true,
1305
+ alias: "showLoader",
1306
+ required: false
1307
+ }]
1308
+ }],
1309
+ numToleratedItems: [{
1310
+ type: i0.Input,
1311
+ args: [{
1312
+ isSignal: true,
1313
+ alias: "numToleratedItems",
1314
+ required: false
1315
+ }]
1316
+ }],
1317
+ loading: [{
1318
+ type: i0.Input,
1319
+ args: [{
1320
+ isSignal: true,
1321
+ alias: "loading",
1322
+ required: false
1323
+ }]
1324
+ }],
1325
+ autoSize: [{
1326
+ type: i0.Input,
1327
+ args: [{
1328
+ isSignal: true,
1329
+ alias: "autoSize",
1330
+ required: false
1331
+ }]
1332
+ }],
1333
+ trackBy: [{
1334
+ type: i0.Input,
1335
+ args: [{
1336
+ isSignal: true,
1337
+ alias: "trackBy",
1338
+ required: false
1339
+ }]
1340
+ }],
1341
+ options: [{
1342
+ type: i0.Input,
1343
+ args: [{
1344
+ isSignal: true,
1345
+ alias: "options",
1346
+ required: false
1347
+ }]
1348
+ }],
1349
+ onLazyLoad: [{
1350
+ type: i0.Output,
1351
+ args: ["onLazyLoad"]
1352
+ }],
1353
+ onScroll: [{
1354
+ type: i0.Output,
1355
+ args: ["onScroll"]
1356
+ }],
1357
+ onScrollIndexChange: [{
1358
+ type: i0.Output,
1359
+ args: ["onScrollIndexChange"]
1360
+ }],
1361
+ elementViewChild: [{
1362
+ type: i0.ViewChild,
1363
+ args: ["element", { isSignal: true }]
1364
+ }],
1365
+ contentViewChild: [{
1366
+ type: i0.ViewChild,
1367
+ args: ["content", { isSignal: true }]
1368
+ }],
1369
+ contentTemplate: [{
1370
+ type: i0.ContentChild,
1371
+ args: ["content", {
1372
+ descendants: false,
1373
+ isSignal: true
1374
+ }]
1375
+ }],
1376
+ itemTemplate: [{
1377
+ type: i0.ContentChild,
1378
+ args: ["item", {
1379
+ descendants: false,
1380
+ isSignal: true
1381
+ }]
1382
+ }],
1383
+ loaderTemplate: [{
1384
+ type: i0.ContentChild,
1385
+ args: ["loader", {
1386
+ descendants: false,
1387
+ isSignal: true
1388
+ }]
1389
+ }],
1390
+ loaderIconTemplate: [{
1391
+ type: i0.ContentChild,
1392
+ args: ["loadericon", {
1393
+ descendants: false,
1394
+ isSignal: true
1395
+ }]
1396
+ }],
1397
+ templates: [{
1398
+ type: i0.ContentChildren,
1399
+ args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
1400
+ }]
1401
+ }
1402
+ });
1403
+ var ScrollerModule = class ScrollerModule {
1404
+ static ɵfac = i0.ɵɵngDeclareFactory({
1405
+ minVersion: "12.0.0",
1406
+ version: "22.2.1",
1407
+ ngImport: i0,
1408
+ type: ScrollerModule,
1409
+ deps: [],
1410
+ target: i0.ɵɵFactoryTarget.NgModule
1411
+ });
1412
+ static ɵmod = i0.ɵɵngDeclareNgModule({
1413
+ minVersion: "14.0.0",
1414
+ version: "22.2.1",
1415
+ ngImport: i0,
1416
+ type: ScrollerModule,
1417
+ imports: [Scroller, SharedModule],
1418
+ exports: [Scroller, SharedModule]
1419
+ });
1420
+ static ɵinj = i0.ɵɵngDeclareInjector({
1421
+ minVersion: "12.0.0",
1422
+ version: "22.2.1",
1423
+ ngImport: i0,
1424
+ type: ScrollerModule,
1425
+ imports: [
1426
+ Scroller,
1427
+ SharedModule,
1428
+ SharedModule
1429
+ ]
1430
+ });
1431
+ };
1432
+ i0.ɵɵngDeclareClassMetadata({
1433
+ minVersion: "12.0.0",
1434
+ version: "22.2.1",
1435
+ ngImport: i0,
1436
+ type: ScrollerModule,
1437
+ decorators: [{
1438
+ type: NgModule,
1439
+ args: [{
1440
+ imports: [Scroller, SharedModule],
1441
+ exports: [Scroller, SharedModule]
1442
+ }]
1443
+ }]
1444
+ });
1039
1445
  export { Scroller, ScrollerClasses, ScrollerModule, ScrollerStyle };
1040
- //# sourceMappingURL=gravionlabs-helix-core-scroller.mjs.map
1446
+
1447
+ //# sourceMappingURL=gravionlabs-helix-core-scroller.mjs.map