@gravionlabs/helix-core 22.1.2 → 22.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,19 +1,18 @@
1
- export * from '@gravionlabs/helix-core/types/slider';
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, forwardRef, inject, input, booleanAttribute, numberAttribute, output, viewChild, NgZone, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { removeClass, addClass, getWindowScrollLeft, getWindowScrollTop, isRTL } from '@gravionlabs/helix-core/uix/utils';
8
- import { SharedModule } from '@gravionlabs/helix-core/api';
9
- import { AutoFocus } from '@gravionlabs/helix-core/autofocus';
10
- import { PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
11
- import { BaseEditableHolder } from '@gravionlabs/helix-core/baseeditableholder';
12
- import * as i1 from '@gravionlabs/helix-core/bind';
13
- import { Bind, BindModule } from '@gravionlabs/helix-core/bind';
14
- import { BaseStyle } from '@gravionlabs/helix-core/base';
15
-
16
- const style = /*css*/ `
1
+ import * as i2 from "@angular/common";
2
+ import { CommonModule, isPlatformBrowser } from "@angular/common";
3
+ import * as i0 from "@angular/core";
4
+ import { ChangeDetectionStrategy, Component, Injectable, InjectionToken, NgModule, NgZone, ViewEncapsulation, booleanAttribute, forwardRef, inject, input, numberAttribute, output, viewChild } from "@angular/core";
5
+ import { NG_VALUE_ACCESSOR } from "@angular/forms";
6
+ import { addClass, getWindowScrollLeft, getWindowScrollTop, isRTL, removeClass } from "@gravionlabs/helix-core/uix/utils";
7
+ import { SharedModule } from "@gravionlabs/helix-core/api";
8
+ import { AutoFocus } from "@gravionlabs/helix-core/autofocus";
9
+ import { PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
10
+ import { BaseEditableHolder } from "@gravionlabs/helix-core/baseeditableholder";
11
+ import * as i1 from "@gravionlabs/helix-core/bind";
12
+ import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
13
+ import { BaseStyle } from "@gravionlabs/helix-core/base";
14
+ export * from "@gravionlabs/helix-core/types/slider";
15
+ const style = `
17
16
  .h-slider {
18
17
  display: block;
19
18
  position: relative;
@@ -105,626 +104,836 @@ const style = /*css*/ `
105
104
  width: 100%;
106
105
  }
107
106
  `;
108
-
109
107
  const inlineStyles = {
110
- handle: { position: 'absolute' },
111
- range: { position: 'absolute' }
108
+ handle: { position: "absolute" },
109
+ range: { position: "absolute" }
112
110
  };
113
111
  const classes = {
114
- root: ({ instance }) => [
115
- 'h-slider h-component',
116
- {
117
- 'h-disabled': instance.$disabled(),
118
- 'h-invalid': instance.invalid(),
119
- 'h-slider-horizontal': instance.orientation() === 'horizontal',
120
- 'h-slider-vertical': instance.orientation() === 'vertical',
121
- 'h-slider-animate': instance.animate()
122
- }
123
- ],
124
- range: 'h-slider-range',
125
- handle: 'h-slider-handle'
112
+ root: ({ instance }) => ["h-slider h-component", {
113
+ "h-disabled": instance.$disabled(),
114
+ "h-invalid": instance.invalid(),
115
+ "h-slider-horizontal": instance.orientation() === "horizontal",
116
+ "h-slider-vertical": instance.orientation() === "vertical",
117
+ "h-slider-animate": instance.animate()
118
+ }],
119
+ range: "h-slider-range",
120
+ handle: "h-slider-handle"
121
+ };
122
+ var SliderStyle = class SliderStyle extends BaseStyle {
123
+ name = "slider";
124
+ style = style;
125
+ classes = classes;
126
+ inlineStyles = inlineStyles;
127
+ static ɵfac = i0.ɵɵngDeclareFactory({
128
+ minVersion: "12.0.0",
129
+ version: "22.2.1",
130
+ ngImport: i0,
131
+ type: SliderStyle,
132
+ deps: null,
133
+ target: i0.ɵɵFactoryTarget.Injectable
134
+ });
135
+ static ɵprov = i0.ɵɵngDeclareInjectable({
136
+ minVersion: "12.0.0",
137
+ version: "22.2.1",
138
+ ngImport: i0,
139
+ type: SliderStyle
140
+ });
126
141
  };
127
- class SliderStyle extends BaseStyle {
128
- name = 'slider';
129
- style = style;
130
- classes = classes;
131
- inlineStyles = inlineStyles;
132
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
133
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderStyle });
134
- }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderStyle, decorators: [{
136
- type: Injectable
137
- }] });
138
- /**
139
- *
140
- * Slider is a component to provide input with a drag handle.
141
- *
142
- * [Live Demo](https://www.primeng.org/slider/)
143
- *
144
- * @module sliderstyle
145
- *
146
- */
142
+ i0.ɵɵngDeclareClassMetadata({
143
+ minVersion: "12.0.0",
144
+ version: "22.2.1",
145
+ ngImport: i0,
146
+ type: SliderStyle,
147
+ decorators: [{ type: Injectable }]
148
+ });
147
149
  var SliderClasses;
148
- (function (SliderClasses) {
149
- /**
150
- * Class name of the root element
151
- */
152
- SliderClasses["root"] = "h-slider";
153
- /**
154
- * Class name of the range element
155
- */
156
- SliderClasses["range"] = "h-slider-range";
157
- /**
158
- * Class name of the handle element
159
- */
160
- SliderClasses["handle"] = "h-slider-handle";
150
+ (function(SliderClasses) {
151
+ SliderClasses["root"] = "h-slider";
152
+ SliderClasses["range"] = "h-slider-range";
153
+ SliderClasses["handle"] = "h-slider-handle";
161
154
  })(SliderClasses || (SliderClasses = {}));
162
-
163
- const SLIDER_INSTANCE = new InjectionToken('SLIDER_INSTANCE');
155
+ const SLIDER_INSTANCE = new InjectionToken("SLIDER_INSTANCE");
164
156
  const SLIDER_VALUE_ACCESSOR = {
165
- provide: NG_VALUE_ACCESSOR,
166
- useExisting: forwardRef(() => Slider),
167
- multi: true
157
+ provide: NG_VALUE_ACCESSOR,
158
+ useExisting: forwardRef(() => Slider),
159
+ multi: true
168
160
  };
169
- /**
170
- * Slider is a component to provide input with a drag handle.
171
- * @group Components
172
- */
173
- class Slider extends BaseEditableHolder {
174
- componentName = 'Slider';
175
- $pcSlider = inject(SLIDER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
176
- bindDirectiveInstance = inject(Bind, { self: true });
177
- onAfterViewChecked() {
178
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
179
- }
180
- /**
181
- * When enabled, displays an animation on click of the slider bar.
182
- * @group Props
183
- */
184
- animate = input(undefined, { ...(ngDevMode ? { debugName: "animate" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
185
- /**
186
- * Mininum boundary value.
187
- * @group Props
188
- */
189
- min = input(0, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttribute });
190
- /**
191
- * Maximum boundary value.
192
- * @group Props
193
- */
194
- max = input(100, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttribute });
195
- /**
196
- * Orientation of the slider.
197
- * @group Props
198
- */
199
- orientation = input('horizontal', /* @ts-ignore */
200
- ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
201
- /**
202
- * Step factor to increment/decrement the value.
203
- * @group Props
204
- */
205
- step = input(undefined, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: numberAttribute });
206
- /**
207
- * When specified, allows two boundary values to be picked.
208
- * @group Props
209
- */
210
- range = input(undefined, { ...(ngDevMode ? { debugName: "range" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
211
- /**
212
- * Style class of the component.
213
- * @deprecated since v20.0.0, use `class` instead.
214
- * @group Props
215
- */
216
- styleClass = input(/* @ts-ignore */
217
- ...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
218
- /**
219
- * Defines a string that labels the input for accessibility.
220
- * @group Props
221
- */
222
- ariaLabel = input(/* @ts-ignore */
223
- ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
224
- /**
225
- * Establishes relationships between the component and label(s) where its value should be one or more element IDs.
226
- * @group Props
227
- */
228
- ariaLabelledBy = input(/* @ts-ignore */
229
- ...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
230
- /**
231
- * Index of the element in tabbing order.
232
- * @group Props
233
- */
234
- tabindex = input(0, { ...(ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
235
- /**
236
- * When present, it specifies that the component should automatically get focus on load.
237
- * @group Props
238
- */
239
- autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
240
- /**
241
- * Callback to invoke on value change.
242
- * @param {SliderChangeEvent} event - Custom value change event.
243
- * @group Emits
244
- */
245
- onChange = output();
246
- /**
247
- * Callback to invoke when slide ended.
248
- * @param {SliderSlideEndEvent} event - Custom slide end event.
249
- * @group Emits
250
- */
251
- onSlideEnd = output();
252
- sliderHandle = viewChild('sliderHandle', /* @ts-ignore */
253
- ...(ngDevMode ? [{ debugName: "sliderHandle" }] : /* istanbul ignore next */ []));
254
- sliderHandleStart = viewChild('sliderHandleStart', /* @ts-ignore */
255
- ...(ngDevMode ? [{ debugName: "sliderHandleStart" }] : /* istanbul ignore next */ []));
256
- sliderHandleEnd = viewChild('sliderHandleEnd', /* @ts-ignore */
257
- ...(ngDevMode ? [{ debugName: "sliderHandleEnd" }] : /* istanbul ignore next */ []));
258
- _componentStyle = inject(SliderStyle);
259
- value;
260
- values;
261
- handleValue;
262
- handleValues = [];
263
- diff;
264
- offset;
265
- bottom;
266
- dragging;
267
- dragListener;
268
- mouseupListener;
269
- initX;
270
- initY;
271
- barWidth;
272
- barHeight;
273
- sliderHandleClick;
274
- handleIndex = 0;
275
- startHandleValue;
276
- startx;
277
- starty;
278
- ngZone = inject(NgZone);
279
- onHostClick(event) {
280
- this.onBarClick(event);
281
- }
282
- onMouseDown(event, index) {
283
- if (this.$disabled()) {
284
- return;
285
- }
286
- this.dragging = true;
287
- this.updateDomData();
288
- this.sliderHandleClick = true;
289
- if (this.range() && this.handleValues && this.handleValues[0] === this.max()) {
290
- this.handleIndex = 0;
291
- }
292
- else {
293
- this.handleIndex = index;
294
- }
295
- this.bindDragListeners();
296
- event.target.focus();
297
- event.preventDefault();
298
- if (this.animate()) {
299
- removeClass(this.el.nativeElement, 'h-slider-animate');
300
- }
301
- }
302
- onDragStart(event, index) {
303
- if (this.$disabled()) {
304
- return;
305
- }
306
- this.el.nativeElement.setAttribute('data-h-sliding', true);
307
- var touchobj = event.changedTouches[0];
308
- this.startHandleValue = this.range() ? this.handleValues[index] : this.handleValue;
309
- this.dragging = true;
310
- if (this.range() && this.handleValues && this.handleValues[0] === this.max()) {
311
- this.handleIndex = 0;
312
- }
313
- else {
314
- this.handleIndex = index;
315
- }
316
- if (this.orientation() === 'horizontal') {
317
- this.startx = parseInt(touchobj.clientX, 10);
318
- this.barWidth = this.el.nativeElement.offsetWidth;
319
- }
320
- else {
321
- this.starty = parseInt(touchobj.clientY, 10);
322
- this.barHeight = this.el.nativeElement.offsetHeight;
323
- }
324
- if (this.animate()) {
325
- removeClass(this.el.nativeElement, 'h-slider-animate');
326
- }
327
- event.preventDefault();
328
- }
329
- onDrag(event) {
330
- if (this.$disabled()) {
331
- return;
332
- }
333
- var touchobj = event.changedTouches[0], handleValue = 0;
334
- if (this.orientation() === 'horizontal') {
335
- handleValue = Math.floor(((parseInt(touchobj.clientX, 10) - this.startx) * 100) / this.barWidth) + this.startHandleValue;
336
- }
337
- else {
338
- handleValue = Math.floor(((this.starty - parseInt(touchobj.clientY, 10)) * 100) / this.barHeight) + this.startHandleValue;
339
- }
340
- this.setValueFromHandle(event, handleValue);
341
- event.preventDefault();
342
- }
343
- onDragEnd(event) {
344
- if (this.$disabled()) {
345
- return;
346
- }
347
- this.dragging = false;
348
- this.el.nativeElement.setAttribute('data-h-sliding', false);
349
- if (this.range())
350
- this.onSlideEnd.emit({ originalEvent: event, values: this.values });
351
- else
352
- this.onSlideEnd.emit({ originalEvent: event, value: this.value });
353
- if (this.animate()) {
354
- addClass(this.el.nativeElement, 'h-slider-animate');
355
- }
356
- event.preventDefault();
357
- }
358
- onBarClick(event) {
359
- if (this.$disabled()) {
360
- return;
361
- }
362
- if (!this.sliderHandleClick) {
363
- this.updateDomData();
364
- this.handleChange(event);
365
- if (this.range())
366
- this.onSlideEnd.emit({ originalEvent: event, values: this.values });
367
- else
368
- this.onSlideEnd.emit({ originalEvent: event, value: this.value });
369
- }
370
- this.sliderHandleClick = false;
371
- }
372
- onKeyDown(event, index) {
373
- this.handleIndex = index;
374
- switch (event.code) {
375
- case 'ArrowDown':
376
- case 'ArrowLeft':
377
- this.decrementValue(event, index);
378
- event.preventDefault();
379
- break;
380
- case 'ArrowUp':
381
- case 'ArrowRight':
382
- this.incrementValue(event, index);
383
- event.preventDefault();
384
- break;
385
- case 'PageDown':
386
- this.decrementValue(event, index, true);
387
- event.preventDefault();
388
- break;
389
- case 'PageUp':
390
- this.incrementValue(event, index, true);
391
- event.preventDefault();
392
- break;
393
- case 'Home':
394
- this.updateValue(this.min(), event);
395
- event.preventDefault();
396
- break;
397
- case 'End':
398
- this.updateValue(this.max(), event);
399
- event.preventDefault();
400
- break;
401
- default:
402
- break;
403
- }
404
- }
405
- decrementValue(event, index, pageKey = false) {
406
- let newValue;
407
- if (this.range()) {
408
- const step = this.step();
409
- if (step)
410
- newValue = (this.values?.[index] ?? 0) - step;
411
- else
412
- newValue = (this.values?.[index] ?? 0) - 1;
413
- }
414
- else {
415
- const step = this.step();
416
- if (step)
417
- newValue = this.value - step;
418
- else if (!step && pageKey)
419
- newValue = this.value - 10;
420
- else
421
- newValue = this.value - 1;
422
- }
423
- this.updateValue(newValue, event);
424
- event.preventDefault();
425
- }
426
- incrementValue(event, index, pageKey = false) {
427
- let newValue;
428
- if (this.range()) {
429
- const step = this.step();
430
- if (step)
431
- newValue = (this.values?.[index] ?? 0) + step;
432
- else
433
- newValue = (this.values?.[index] ?? 0) + 1;
434
- }
435
- else {
436
- const step = this.step();
437
- if (step)
438
- newValue = this.value + step;
439
- else if (!step && pageKey)
440
- newValue = this.value + 10;
441
- else
442
- newValue = this.value + 1;
443
- }
444
- this.updateValue(newValue, event);
445
- event.preventDefault();
446
- }
447
- handleChange(event) {
448
- let handleValue = this.calculateHandleValue(event);
449
- this.setValueFromHandle(event, handleValue);
450
- }
451
- bindDragListeners() {
452
- if (isPlatformBrowser(this.platformId)) {
453
- this.ngZone.runOutsideAngular(() => {
454
- const documentTarget = this.el ? this.el.nativeElement.ownerDocument : this.document;
455
- if (!this.dragListener) {
456
- this.dragListener = this.renderer.listen(documentTarget, 'mousemove', (event) => {
457
- if (this.dragging) {
458
- this.el.nativeElement.setAttribute('data-h-sliding', true);
459
- this.ngZone.run(() => {
460
- this.handleChange(event);
461
- });
462
- }
463
- });
464
- }
465
- if (!this.mouseupListener) {
466
- this.mouseupListener = this.renderer.listen(documentTarget, 'mouseup', (event) => {
467
- if (this.dragging) {
468
- this.dragging = false;
469
- this.el.nativeElement.setAttribute('data-h-sliding', false);
470
- this.ngZone.run(() => {
471
- if (this.range())
472
- this.onSlideEnd.emit({ originalEvent: event, values: this.values });
473
- else
474
- this.onSlideEnd.emit({ originalEvent: event, value: this.value });
475
- if (this.animate()) {
476
- addClass(this.el.nativeElement, 'h-slider-animate');
477
- }
478
- });
479
- }
480
- });
481
- }
482
- });
483
- }
484
- }
485
- unbindDragListeners() {
486
- if (this.dragListener) {
487
- this.dragListener();
488
- this.dragListener = null;
489
- }
490
- if (this.mouseupListener) {
491
- this.mouseupListener();
492
- this.mouseupListener = null;
493
- }
494
- }
495
- setValueFromHandle(event, handleValue) {
496
- let newValue = this.getValueFromHandle(handleValue);
497
- if (this.range()) {
498
- if (this.step()) {
499
- this.handleStepChange(newValue, this.values[this.handleIndex]);
500
- }
501
- else {
502
- this.handleValues[this.handleIndex] = handleValue;
503
- this.updateValue(newValue, event);
504
- }
505
- }
506
- else {
507
- if (this.step()) {
508
- this.handleStepChange(newValue, this.value);
509
- }
510
- else {
511
- this.handleValue = handleValue;
512
- this.updateValue(newValue, event);
513
- }
514
- }
515
- this.cd.markForCheck();
516
- }
517
- handleStepChange(newValue, oldValue) {
518
- let diff = newValue - oldValue;
519
- let val = oldValue;
520
- let _step = this.step();
521
- if (diff < 0) {
522
- val = oldValue + Math.ceil(newValue / _step - oldValue / _step) * _step;
523
- }
524
- else if (diff > 0) {
525
- val = oldValue + Math.floor(newValue / _step - oldValue / _step) * _step;
526
- }
527
- this.updateValue(val);
528
- this.updateHandleValue();
529
- }
530
- get rangeStartLeft() {
531
- if (!this.isVertical())
532
- return this.handleValues[0] > 100 ? 100 + '%' : this.handleValues[0] + '%';
533
- return null;
534
- }
535
- get rangeStartBottom() {
536
- return this.isVertical() ? this.handleValues[0] + '%' : 'auto';
537
- }
538
- get rangeEndLeft() {
539
- return this.isVertical() ? null : this.handleValues[1] + '%';
540
- }
541
- get rangeEndBottom() {
542
- return this.isVertical() ? this.handleValues[1] + '%' : 'auto';
543
- }
544
- isVertical() {
545
- return this.orientation() === 'vertical';
546
- }
547
- updateDomData() {
548
- let rect = this.el.nativeElement.getBoundingClientRect();
549
- this.initX = rect.left + getWindowScrollLeft();
550
- this.initY = rect.top + getWindowScrollTop();
551
- this.barWidth = this.el.nativeElement.offsetWidth;
552
- this.barHeight = this.el.nativeElement.offsetHeight;
553
- }
554
- calculateHandleValue(event) {
555
- if (this.orientation() === 'horizontal') {
556
- if (isRTL(this.el.nativeElement)) {
557
- return ((this.initX + this.barWidth - event.pageX) * 100) / this.barWidth;
558
- }
559
- else {
560
- return ((event.pageX - this.initX) * 100) / this.barWidth;
561
- }
562
- }
563
- else {
564
- return ((this.initY + this.barHeight - event.pageY) * 100) / this.barHeight;
565
- }
566
- }
567
- updateHandleValue() {
568
- if (this.range()) {
569
- this.handleValues[0] = ((this.values[0] < this.min() ? 0 : this.values[0] - this.min()) * 100) / (this.max() - this.min());
570
- this.handleValues[1] = ((this.values[1] > this.max() ? 100 : this.values[1] - this.min()) * 100) / (this.max() - this.min());
571
- }
572
- else {
573
- if (this.value < this.min())
574
- this.handleValue = 0;
575
- else if (this.value > this.max())
576
- this.handleValue = 100;
577
- else
578
- this.handleValue = ((this.value - this.min()) * 100) / (this.max() - this.min());
579
- }
580
- if (this.step()) {
581
- this.updateDiffAndOffset();
582
- }
583
- }
584
- updateDiffAndOffset() {
585
- this.diff = this.getDiff();
586
- this.offset = this.getOffset();
587
- }
588
- getDiff() {
589
- return Math.abs(this.handleValues[0] - this.handleValues[1]);
590
- }
591
- getOffset() {
592
- return Math.min(this.handleValues[0], this.handleValues[1]);
593
- }
594
- updateValue(val, event) {
595
- if (this.range()) {
596
- let value = val;
597
- if (this.handleIndex == 0) {
598
- if (value < this.min()) {
599
- value = this.min();
600
- this.handleValues[0] = 0;
601
- }
602
- else if (value > this.values[1]) {
603
- if (value > this.max()) {
604
- value = this.max();
605
- this.handleValues[0] = 100;
606
- }
607
- }
608
- this.sliderHandleStart()?.nativeElement.focus();
609
- }
610
- else {
611
- if (value > this.max()) {
612
- value = this.max();
613
- this.handleValues[1] = 100;
614
- this.offset = this.handleValues[1];
615
- }
616
- else if (value < this.min()) {
617
- value = this.min();
618
- this.handleValues[1] = 0;
619
- }
620
- else if (value < this.values[0]) {
621
- this.offset = this.handleValues[1];
622
- }
623
- this.sliderHandleEnd()?.nativeElement.focus();
624
- }
625
- if (this.step()) {
626
- this.updateHandleValue();
627
- }
628
- else {
629
- this.updateDiffAndOffset();
630
- }
631
- this.values[this.handleIndex] = this.getNormalizedValue(value);
632
- let newValues = [this.minVal, this.maxVal];
633
- this.onModelChange(newValues);
634
- this.onChange.emit({ event: event, values: this.values });
635
- }
636
- else {
637
- if (val < this.min()) {
638
- val = this.min();
639
- this.handleValue = 0;
640
- }
641
- else if (val > this.max()) {
642
- val = this.max();
643
- this.handleValue = 100;
644
- }
645
- this.value = this.getNormalizedValue(val);
646
- this.onModelChange(this.value);
647
- this.onChange.emit({ event: event, value: this.value });
648
- this.sliderHandle()?.nativeElement.focus();
649
- }
650
- this.updateHandleValue();
651
- }
652
- getValueFromHandle(handleValue) {
653
- return (this.max() - this.min()) * (handleValue / 100) + this.min();
654
- }
655
- getDecimalsCount(value) {
656
- if (value && Math.floor(value) !== value)
657
- return value.toString().split('.')[1].length || 0;
658
- return 0;
659
- }
660
- getNormalizedValue(val) {
661
- let decimalsCount = this.getDecimalsCount(this.step());
662
- if (decimalsCount > 0) {
663
- return +parseFloat(val.toString()).toFixed(decimalsCount);
664
- }
665
- else {
666
- return Math.floor(val);
667
- }
668
- }
669
- onDestroy() {
670
- this.unbindDragListeners();
671
- }
672
- get minVal() {
673
- return Math.min(this.values[1], this.values[0]);
674
- }
675
- get maxVal() {
676
- return Math.max(this.values[1], this.values[0]);
677
- }
678
- /**
679
- * @override
680
- *
681
- * @see {@link BaseEditableHolder.writeControlValue}
682
- * Writes the value to the control.
683
- */
684
- writeControlValue(value) {
685
- if (this.range())
686
- this.values = value || [0, 0];
687
- else
688
- this.value = value || 0;
689
- this.updateHandleValue();
690
- this.updateDiffAndOffset();
691
- this.cd.markForCheck();
692
- }
693
- get dataP() {
694
- return this.cn({
695
- [this.orientation()]: this.orientation()
696
- });
697
- }
698
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Slider, deps: null, target: i0.ɵɵFactoryTarget.Component });
699
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Slider, isStandalone: true, selector: "h-slider", inputs: { animate: { classPropertyName: "animate", publicName: "animate", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", 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 }, range: { classPropertyName: "range", publicName: "range", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onSlideEnd: "onSlideEnd" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "attr.data-pc-name": "'slider'", "attr.data-pc-section": "'root'", "class": "cn(cx('root'), styleClass())", "attr.data-h": "dataP", "attr.data-h-sliding": "false" } }, providers: [SLIDER_VALUE_ACCESSOR, SliderStyle, { provide: SLIDER_INSTANCE, useExisting: Slider }, { provide: PARENT_INSTANCE, useExisting: Slider }], viewQueries: [{ propertyName: "sliderHandle", first: true, predicate: ["sliderHandle"], descendants: true, isSignal: true }, { propertyName: "sliderHandleStart", first: true, predicate: ["sliderHandleStart"], descendants: true, isSignal: true }, { propertyName: "sliderHandleEnd", first: true, predicate: ["sliderHandleEnd"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@if (range() && orientation() == 'horizontal') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n 'inset-inline-start': offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n width: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (range() && orientation() == 'vertical') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n bottom: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n height: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (!range() && orientation() == 'vertical') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ height: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range() && orientation() == 'horizontal') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ width: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range()) {\n <span\n #sliderHandle\n [class]=\"cx('handle')\"\n [style.transition]=\"dragging ? 'none' : null\"\n [ngStyle]=\"{\n 'inset-inline-start': orientation() == 'horizontal' ? handleValue + '%' : null,\n bottom: orientation() == 'vertical' ? handleValue + '%' : null\n }\"\n [style]=\"sx('handle')\"\n (touchstart)=\"onDragStart($event)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'handle'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('handle')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleStart\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 0 && 'h-slider-handle-active')\"\n [style]=\"sx('handle')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeStartLeft, bottom: rangeStartBottom }\"\n (keydown)=\"onKeyDown($event, 0)\"\n (mousedown)=\"onMouseDown($event, 0)\"\n (touchstart)=\"onDragStart($event, 0)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[0] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'startHandler'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('startHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleEnd\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 1 && 'h-slider-handle-active')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeEndLeft, bottom: rangeEndBottom }\"\n [style]=\"sx('handle')\"\n (keydown)=\"onKeyDown($event, 1)\"\n (mousedown)=\"onMouseDown($event, 1)\"\n (touchstart)=\"onDragStart($event, 1)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[1] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'endHandler'\"\n [hBind]=\"ptm('endHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: AutoFocus, selector: "[hAutoFocus]", inputs: ["hAutoFocus"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
700
- }
701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Slider, decorators: [{
702
- type: Component,
703
- args: [{ selector: 'h-slider', standalone: true, imports: [CommonModule, AutoFocus, SharedModule, BindModule], providers: [SLIDER_VALUE_ACCESSOR, SliderStyle, { provide: SLIDER_INSTANCE, useExisting: Slider }, { provide: PARENT_INSTANCE, useExisting: Slider }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
704
- '[attr.data-pc-name]': "'slider'",
705
- '[attr.data-pc-section]': "'root'",
706
- '[class]': "cn(cx('root'), styleClass())",
707
- '[attr.data-h]': 'dataP',
708
- '[attr.data-h-sliding]': 'false',
709
- '(click)': 'onHostClick($event)'
710
- }, hostDirectives: [Bind], template: "@if (range() && orientation() == 'horizontal') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n 'inset-inline-start': offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n width: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (range() && orientation() == 'vertical') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n bottom: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n height: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (!range() && orientation() == 'vertical') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ height: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range() && orientation() == 'horizontal') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ width: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range()) {\n <span\n #sliderHandle\n [class]=\"cx('handle')\"\n [style.transition]=\"dragging ? 'none' : null\"\n [ngStyle]=\"{\n 'inset-inline-start': orientation() == 'horizontal' ? handleValue + '%' : null,\n bottom: orientation() == 'vertical' ? handleValue + '%' : null\n }\"\n [style]=\"sx('handle')\"\n (touchstart)=\"onDragStart($event)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'handle'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('handle')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleStart\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 0 && 'h-slider-handle-active')\"\n [style]=\"sx('handle')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeStartLeft, bottom: rangeStartBottom }\"\n (keydown)=\"onKeyDown($event, 0)\"\n (mousedown)=\"onMouseDown($event, 0)\"\n (touchstart)=\"onDragStart($event, 0)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[0] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'startHandler'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('startHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleEnd\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 1 && 'h-slider-handle-active')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeEndLeft, bottom: rangeEndBottom }\"\n [style]=\"sx('handle')\"\n (keydown)=\"onKeyDown($event, 1)\"\n (mousedown)=\"onMouseDown($event, 1)\"\n (touchstart)=\"onDragStart($event, 1)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[1] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'endHandler'\"\n [hBind]=\"ptm('endHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n" }]
711
- }], propDecorators: { animate: [{ type: i0.Input, args: [{ isSignal: true, alias: "animate", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], range: [{ type: i0.Input, args: [{ isSignal: true, alias: "range", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], onChange: [{ type: i0.Output, args: ["onChange"] }], onSlideEnd: [{ type: i0.Output, args: ["onSlideEnd"] }], sliderHandle: [{ type: i0.ViewChild, args: ['sliderHandle', { isSignal: true }] }], sliderHandleStart: [{ type: i0.ViewChild, args: ['sliderHandleStart', { isSignal: true }] }], sliderHandleEnd: [{ type: i0.ViewChild, args: ['sliderHandleEnd', { isSignal: true }] }] } });
712
- class SliderModule {
713
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
714
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: SliderModule, imports: [Slider, SharedModule], exports: [Slider, SharedModule] });
715
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderModule, imports: [Slider, SharedModule, SharedModule] });
716
- }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SliderModule, decorators: [{
718
- type: NgModule,
719
- args: [{
720
- imports: [Slider, SharedModule],
721
- exports: [Slider, SharedModule]
722
- }]
723
- }] });
724
-
725
- /**
726
- * Generated bundle index. Do not edit.
727
- */
728
-
161
+ var Slider = class Slider extends BaseEditableHolder {
162
+ componentName = "Slider";
163
+ $pcSlider = inject(SLIDER_INSTANCE, {
164
+ optional: true,
165
+ skipSelf: true
166
+ }) ?? void 0;
167
+ bindDirectiveInstance = inject(Bind, { self: true });
168
+ onAfterViewChecked() {
169
+ this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
170
+ }
171
+ animate = input(void 0, {
172
+ ...ngDevMode ? { debugName: "animate" } : /* istanbul ignore next */ {},
173
+ transform: booleanAttribute
174
+ });
175
+ min = input(0, {
176
+ ...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
177
+ transform: numberAttribute
178
+ });
179
+ max = input(100, {
180
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
181
+ transform: numberAttribute
182
+ });
183
+ orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
184
+ step = input(void 0, {
185
+ ...ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {},
186
+ transform: numberAttribute
187
+ });
188
+ range = input(void 0, {
189
+ ...ngDevMode ? { debugName: "range" } : /* istanbul ignore next */ {},
190
+ transform: booleanAttribute
191
+ });
192
+ styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
193
+ ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
194
+ ariaLabelledBy = input(...ngDevMode ? [void 0, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
195
+ tabindex = input(0, {
196
+ ...ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {},
197
+ transform: numberAttribute
198
+ });
199
+ autofocus = input(void 0, {
200
+ ...ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {},
201
+ transform: booleanAttribute
202
+ });
203
+ onChange = output();
204
+ onSlideEnd = output();
205
+ sliderHandle = viewChild("sliderHandle", ...ngDevMode ? [{ debugName: "sliderHandle" }] : /* istanbul ignore next */ []);
206
+ sliderHandleStart = viewChild("sliderHandleStart", ...ngDevMode ? [{ debugName: "sliderHandleStart" }] : /* istanbul ignore next */ []);
207
+ sliderHandleEnd = viewChild("sliderHandleEnd", ...ngDevMode ? [{ debugName: "sliderHandleEnd" }] : /* istanbul ignore next */ []);
208
+ _componentStyle = inject(SliderStyle);
209
+ value;
210
+ values;
211
+ handleValue;
212
+ handleValues = [];
213
+ diff;
214
+ offset;
215
+ bottom;
216
+ dragging;
217
+ dragListener;
218
+ mouseupListener;
219
+ initX;
220
+ initY;
221
+ barWidth;
222
+ barHeight;
223
+ sliderHandleClick;
224
+ handleIndex = 0;
225
+ startHandleValue;
226
+ startx;
227
+ starty;
228
+ ngZone = inject(NgZone);
229
+ onHostClick(event) {
230
+ this.onBarClick(event);
231
+ }
232
+ onMouseDown(event, index) {
233
+ if (this.$disabled()) return;
234
+ this.dragging = true;
235
+ this.updateDomData();
236
+ this.sliderHandleClick = true;
237
+ if (this.range() && this.handleValues && this.handleValues[0] === this.max()) this.handleIndex = 0;
238
+ else this.handleIndex = index;
239
+ this.bindDragListeners();
240
+ event.target.focus();
241
+ event.preventDefault();
242
+ if (this.animate()) removeClass(this.el.nativeElement, "h-slider-animate");
243
+ }
244
+ onDragStart(event, index) {
245
+ if (this.$disabled()) return;
246
+ this.el.nativeElement.setAttribute("data-h-sliding", true);
247
+ var touchobj = event.changedTouches[0];
248
+ this.startHandleValue = this.range() ? this.handleValues[index] : this.handleValue;
249
+ this.dragging = true;
250
+ if (this.range() && this.handleValues && this.handleValues[0] === this.max()) this.handleIndex = 0;
251
+ else this.handleIndex = index;
252
+ if (this.orientation() === "horizontal") {
253
+ this.startx = parseInt(touchobj.clientX, 10);
254
+ this.barWidth = this.el.nativeElement.offsetWidth;
255
+ } else {
256
+ this.starty = parseInt(touchobj.clientY, 10);
257
+ this.barHeight = this.el.nativeElement.offsetHeight;
258
+ }
259
+ if (this.animate()) removeClass(this.el.nativeElement, "h-slider-animate");
260
+ event.preventDefault();
261
+ }
262
+ onDrag(event) {
263
+ if (this.$disabled()) return;
264
+ var touchobj = event.changedTouches[0], handleValue = 0;
265
+ if (this.orientation() === "horizontal") handleValue = Math.floor((parseInt(touchobj.clientX, 10) - this.startx) * 100 / this.barWidth) + this.startHandleValue;
266
+ else handleValue = Math.floor((this.starty - parseInt(touchobj.clientY, 10)) * 100 / this.barHeight) + this.startHandleValue;
267
+ this.setValueFromHandle(event, handleValue);
268
+ event.preventDefault();
269
+ }
270
+ onDragEnd(event) {
271
+ if (this.$disabled()) return;
272
+ this.dragging = false;
273
+ this.el.nativeElement.setAttribute("data-h-sliding", false);
274
+ if (this.range()) this.onSlideEnd.emit({
275
+ originalEvent: event,
276
+ values: this.values
277
+ });
278
+ else this.onSlideEnd.emit({
279
+ originalEvent: event,
280
+ value: this.value
281
+ });
282
+ if (this.animate()) addClass(this.el.nativeElement, "h-slider-animate");
283
+ event.preventDefault();
284
+ }
285
+ onBarClick(event) {
286
+ if (this.$disabled()) return;
287
+ if (!this.sliderHandleClick) {
288
+ this.updateDomData();
289
+ this.handleChange(event);
290
+ if (this.range()) this.onSlideEnd.emit({
291
+ originalEvent: event,
292
+ values: this.values
293
+ });
294
+ else this.onSlideEnd.emit({
295
+ originalEvent: event,
296
+ value: this.value
297
+ });
298
+ }
299
+ this.sliderHandleClick = false;
300
+ }
301
+ onKeyDown(event, index) {
302
+ this.handleIndex = index;
303
+ switch (event.code) {
304
+ case "ArrowDown":
305
+ case "ArrowLeft":
306
+ this.decrementValue(event, index);
307
+ event.preventDefault();
308
+ break;
309
+ case "ArrowUp":
310
+ case "ArrowRight":
311
+ this.incrementValue(event, index);
312
+ event.preventDefault();
313
+ break;
314
+ case "PageDown":
315
+ this.decrementValue(event, index, true);
316
+ event.preventDefault();
317
+ break;
318
+ case "PageUp":
319
+ this.incrementValue(event, index, true);
320
+ event.preventDefault();
321
+ break;
322
+ case "Home":
323
+ this.updateValue(this.min(), event);
324
+ event.preventDefault();
325
+ break;
326
+ case "End":
327
+ this.updateValue(this.max(), event);
328
+ event.preventDefault();
329
+ break;
330
+ default: break;
331
+ }
332
+ }
333
+ decrementValue(event, index, pageKey = false) {
334
+ let newValue;
335
+ if (this.range()) {
336
+ const step = this.step();
337
+ if (step) newValue = (this.values?.[index] ?? 0) - step;
338
+ else newValue = (this.values?.[index] ?? 0) - 1;
339
+ } else {
340
+ const step = this.step();
341
+ if (step) newValue = this.value - step;
342
+ else if (!step && pageKey) newValue = this.value - 10;
343
+ else newValue = this.value - 1;
344
+ }
345
+ this.updateValue(newValue, event);
346
+ event.preventDefault();
347
+ }
348
+ incrementValue(event, index, pageKey = false) {
349
+ let newValue;
350
+ if (this.range()) {
351
+ const step = this.step();
352
+ if (step) newValue = (this.values?.[index] ?? 0) + step;
353
+ else newValue = (this.values?.[index] ?? 0) + 1;
354
+ } else {
355
+ const step = this.step();
356
+ if (step) newValue = this.value + step;
357
+ else if (!step && pageKey) newValue = this.value + 10;
358
+ else newValue = this.value + 1;
359
+ }
360
+ this.updateValue(newValue, event);
361
+ event.preventDefault();
362
+ }
363
+ handleChange(event) {
364
+ let handleValue = this.calculateHandleValue(event);
365
+ this.setValueFromHandle(event, handleValue);
366
+ }
367
+ bindDragListeners() {
368
+ if (isPlatformBrowser(this.platformId)) this.ngZone.runOutsideAngular(() => {
369
+ const documentTarget = this.el ? this.el.nativeElement.ownerDocument : this.document;
370
+ if (!this.dragListener) this.dragListener = this.renderer.listen(documentTarget, "mousemove", (event) => {
371
+ if (this.dragging) {
372
+ this.el.nativeElement.setAttribute("data-h-sliding", true);
373
+ this.ngZone.run(() => {
374
+ this.handleChange(event);
375
+ });
376
+ }
377
+ });
378
+ if (!this.mouseupListener) this.mouseupListener = this.renderer.listen(documentTarget, "mouseup", (event) => {
379
+ if (this.dragging) {
380
+ this.dragging = false;
381
+ this.el.nativeElement.setAttribute("data-h-sliding", false);
382
+ this.ngZone.run(() => {
383
+ if (this.range()) this.onSlideEnd.emit({
384
+ originalEvent: event,
385
+ values: this.values
386
+ });
387
+ else this.onSlideEnd.emit({
388
+ originalEvent: event,
389
+ value: this.value
390
+ });
391
+ if (this.animate()) addClass(this.el.nativeElement, "h-slider-animate");
392
+ });
393
+ }
394
+ });
395
+ });
396
+ }
397
+ unbindDragListeners() {
398
+ if (this.dragListener) {
399
+ this.dragListener();
400
+ this.dragListener = null;
401
+ }
402
+ if (this.mouseupListener) {
403
+ this.mouseupListener();
404
+ this.mouseupListener = null;
405
+ }
406
+ }
407
+ setValueFromHandle(event, handleValue) {
408
+ let newValue = this.getValueFromHandle(handleValue);
409
+ if (this.range()) if (this.step()) this.handleStepChange(newValue, this.values[this.handleIndex]);
410
+ else {
411
+ this.handleValues[this.handleIndex] = handleValue;
412
+ this.updateValue(newValue, event);
413
+ }
414
+ else if (this.step()) this.handleStepChange(newValue, this.value);
415
+ else {
416
+ this.handleValue = handleValue;
417
+ this.updateValue(newValue, event);
418
+ }
419
+ this.cd.markForCheck();
420
+ }
421
+ handleStepChange(newValue, oldValue) {
422
+ let diff = newValue - oldValue;
423
+ let val = oldValue;
424
+ let _step = this.step();
425
+ if (diff < 0) val = oldValue + Math.ceil(newValue / _step - oldValue / _step) * _step;
426
+ else if (diff > 0) val = oldValue + Math.floor(newValue / _step - oldValue / _step) * _step;
427
+ this.updateValue(val);
428
+ this.updateHandleValue();
429
+ }
430
+ get rangeStartLeft() {
431
+ if (!this.isVertical()) return this.handleValues[0] > 100 ? "100%" : this.handleValues[0] + "%";
432
+ return null;
433
+ }
434
+ get rangeStartBottom() {
435
+ return this.isVertical() ? this.handleValues[0] + "%" : "auto";
436
+ }
437
+ get rangeEndLeft() {
438
+ return this.isVertical() ? null : this.handleValues[1] + "%";
439
+ }
440
+ get rangeEndBottom() {
441
+ return this.isVertical() ? this.handleValues[1] + "%" : "auto";
442
+ }
443
+ isVertical() {
444
+ return this.orientation() === "vertical";
445
+ }
446
+ updateDomData() {
447
+ let rect = this.el.nativeElement.getBoundingClientRect();
448
+ this.initX = rect.left + getWindowScrollLeft();
449
+ this.initY = rect.top + getWindowScrollTop();
450
+ this.barWidth = this.el.nativeElement.offsetWidth;
451
+ this.barHeight = this.el.nativeElement.offsetHeight;
452
+ }
453
+ calculateHandleValue(event) {
454
+ if (this.orientation() === "horizontal") if (isRTL(this.el.nativeElement)) return (this.initX + this.barWidth - event.pageX) * 100 / this.barWidth;
455
+ else return (event.pageX - this.initX) * 100 / this.barWidth;
456
+ else return (this.initY + this.barHeight - event.pageY) * 100 / this.barHeight;
457
+ }
458
+ updateHandleValue() {
459
+ if (this.range()) {
460
+ this.handleValues[0] = (this.values[0] < this.min() ? 0 : this.values[0] - this.min()) * 100 / (this.max() - this.min());
461
+ this.handleValues[1] = (this.values[1] > this.max() ? 100 : this.values[1] - this.min()) * 100 / (this.max() - this.min());
462
+ } else if (this.value < this.min()) this.handleValue = 0;
463
+ else if (this.value > this.max()) this.handleValue = 100;
464
+ else this.handleValue = (this.value - this.min()) * 100 / (this.max() - this.min());
465
+ if (this.step()) this.updateDiffAndOffset();
466
+ }
467
+ updateDiffAndOffset() {
468
+ this.diff = this.getDiff();
469
+ this.offset = this.getOffset();
470
+ }
471
+ getDiff() {
472
+ return Math.abs(this.handleValues[0] - this.handleValues[1]);
473
+ }
474
+ getOffset() {
475
+ return Math.min(this.handleValues[0], this.handleValues[1]);
476
+ }
477
+ updateValue(val, event) {
478
+ if (this.range()) {
479
+ let value = val;
480
+ if (this.handleIndex == 0) {
481
+ if (value < this.min()) {
482
+ value = this.min();
483
+ this.handleValues[0] = 0;
484
+ } else if (value > this.values[1]) {
485
+ if (value > this.max()) {
486
+ value = this.max();
487
+ this.handleValues[0] = 100;
488
+ }
489
+ }
490
+ this.sliderHandleStart()?.nativeElement.focus();
491
+ } else {
492
+ if (value > this.max()) {
493
+ value = this.max();
494
+ this.handleValues[1] = 100;
495
+ this.offset = this.handleValues[1];
496
+ } else if (value < this.min()) {
497
+ value = this.min();
498
+ this.handleValues[1] = 0;
499
+ } else if (value < this.values[0]) this.offset = this.handleValues[1];
500
+ this.sliderHandleEnd()?.nativeElement.focus();
501
+ }
502
+ if (this.step()) this.updateHandleValue();
503
+ else this.updateDiffAndOffset();
504
+ this.values[this.handleIndex] = this.getNormalizedValue(value);
505
+ let newValues = [this.minVal, this.maxVal];
506
+ this.onModelChange(newValues);
507
+ this.onChange.emit({
508
+ event,
509
+ values: this.values
510
+ });
511
+ } else {
512
+ if (val < this.min()) {
513
+ val = this.min();
514
+ this.handleValue = 0;
515
+ } else if (val > this.max()) {
516
+ val = this.max();
517
+ this.handleValue = 100;
518
+ }
519
+ this.value = this.getNormalizedValue(val);
520
+ this.onModelChange(this.value);
521
+ this.onChange.emit({
522
+ event,
523
+ value: this.value
524
+ });
525
+ this.sliderHandle()?.nativeElement.focus();
526
+ }
527
+ this.updateHandleValue();
528
+ }
529
+ getValueFromHandle(handleValue) {
530
+ return (this.max() - this.min()) * (handleValue / 100) + this.min();
531
+ }
532
+ getDecimalsCount(value) {
533
+ if (value && Math.floor(value) !== value) return value.toString().split(".")[1].length || 0;
534
+ return 0;
535
+ }
536
+ getNormalizedValue(val) {
537
+ let decimalsCount = this.getDecimalsCount(this.step());
538
+ if (decimalsCount > 0) return +parseFloat(val.toString()).toFixed(decimalsCount);
539
+ else return Math.floor(val);
540
+ }
541
+ onDestroy() {
542
+ this.unbindDragListeners();
543
+ }
544
+ get minVal() {
545
+ return Math.min(this.values[1], this.values[0]);
546
+ }
547
+ get maxVal() {
548
+ return Math.max(this.values[1], this.values[0]);
549
+ }
550
+ writeControlValue(value) {
551
+ if (this.range()) this.values = value || [0, 0];
552
+ else this.value = value || 0;
553
+ this.updateHandleValue();
554
+ this.updateDiffAndOffset();
555
+ this.cd.markForCheck();
556
+ }
557
+ get dataP() {
558
+ return this.cn({ [this.orientation()]: this.orientation() });
559
+ }
560
+ static ɵfac = i0.ɵɵngDeclareFactory({
561
+ minVersion: "12.0.0",
562
+ version: "22.2.1",
563
+ ngImport: i0,
564
+ type: Slider,
565
+ deps: null,
566
+ target: i0.ɵɵFactoryTarget.Component
567
+ });
568
+ static ɵcmp = i0.ɵɵngDeclareComponent({
569
+ minVersion: "17.0.0",
570
+ version: "22.2.1",
571
+ type: Slider,
572
+ isStandalone: true,
573
+ selector: "h-slider",
574
+ inputs: {
575
+ animate: {
576
+ classPropertyName: "animate",
577
+ publicName: "animate",
578
+ isSignal: true,
579
+ isRequired: false,
580
+ transformFunction: null
581
+ },
582
+ min: {
583
+ classPropertyName: "min",
584
+ publicName: "min",
585
+ isSignal: true,
586
+ isRequired: false,
587
+ transformFunction: null
588
+ },
589
+ max: {
590
+ classPropertyName: "max",
591
+ publicName: "max",
592
+ isSignal: true,
593
+ isRequired: false,
594
+ transformFunction: null
595
+ },
596
+ orientation: {
597
+ classPropertyName: "orientation",
598
+ publicName: "orientation",
599
+ isSignal: true,
600
+ isRequired: false,
601
+ transformFunction: null
602
+ },
603
+ step: {
604
+ classPropertyName: "step",
605
+ publicName: "step",
606
+ isSignal: true,
607
+ isRequired: false,
608
+ transformFunction: null
609
+ },
610
+ range: {
611
+ classPropertyName: "range",
612
+ publicName: "range",
613
+ isSignal: true,
614
+ isRequired: false,
615
+ transformFunction: null
616
+ },
617
+ styleClass: {
618
+ classPropertyName: "styleClass",
619
+ publicName: "styleClass",
620
+ isSignal: true,
621
+ isRequired: false,
622
+ transformFunction: null
623
+ },
624
+ ariaLabel: {
625
+ classPropertyName: "ariaLabel",
626
+ publicName: "ariaLabel",
627
+ isSignal: true,
628
+ isRequired: false,
629
+ transformFunction: null
630
+ },
631
+ ariaLabelledBy: {
632
+ classPropertyName: "ariaLabelledBy",
633
+ publicName: "ariaLabelledBy",
634
+ isSignal: true,
635
+ isRequired: false,
636
+ transformFunction: null
637
+ },
638
+ tabindex: {
639
+ classPropertyName: "tabindex",
640
+ publicName: "tabindex",
641
+ isSignal: true,
642
+ isRequired: false,
643
+ transformFunction: null
644
+ },
645
+ autofocus: {
646
+ classPropertyName: "autofocus",
647
+ publicName: "autofocus",
648
+ isSignal: true,
649
+ isRequired: false,
650
+ transformFunction: null
651
+ }
652
+ },
653
+ outputs: {
654
+ onChange: "onChange",
655
+ onSlideEnd: "onSlideEnd"
656
+ },
657
+ host: {
658
+ listeners: { "click": "onHostClick($event)" },
659
+ properties: {
660
+ "attr.data-pc-name": "'slider'",
661
+ "attr.data-pc-section": "'root'",
662
+ "class": "cn(cx('root'), styleClass())",
663
+ "attr.data-h": "dataP",
664
+ "attr.data-h-sliding": "false"
665
+ }
666
+ },
667
+ providers: [
668
+ SLIDER_VALUE_ACCESSOR,
669
+ SliderStyle,
670
+ {
671
+ provide: SLIDER_INSTANCE,
672
+ useExisting: Slider
673
+ },
674
+ {
675
+ provide: PARENT_INSTANCE,
676
+ useExisting: Slider
677
+ }
678
+ ],
679
+ viewQueries: [
680
+ {
681
+ propertyName: "sliderHandle",
682
+ first: true,
683
+ predicate: ["sliderHandle"],
684
+ descendants: true,
685
+ isSignal: true
686
+ },
687
+ {
688
+ propertyName: "sliderHandleStart",
689
+ first: true,
690
+ predicate: ["sliderHandleStart"],
691
+ descendants: true,
692
+ isSignal: true
693
+ },
694
+ {
695
+ propertyName: "sliderHandleEnd",
696
+ first: true,
697
+ predicate: ["sliderHandleEnd"],
698
+ descendants: true,
699
+ isSignal: true
700
+ }
701
+ ],
702
+ usesInheritance: true,
703
+ hostDirectives: [{ directive: i1.Bind }],
704
+ ngImport: i0,
705
+ template: "@if (range() && orientation() == 'horizontal') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n 'inset-inline-start': offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n width: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (range() && orientation() == 'vertical') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n bottom: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n height: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (!range() && orientation() == 'vertical') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ height: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range() && orientation() == 'horizontal') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ width: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range()) {\n <span\n #sliderHandle\n [class]=\"cx('handle')\"\n [style.transition]=\"dragging ? 'none' : null\"\n [ngStyle]=\"{\n 'inset-inline-start': orientation() == 'horizontal' ? handleValue + '%' : null,\n bottom: orientation() == 'vertical' ? handleValue + '%' : null\n }\"\n [style]=\"sx('handle')\"\n (touchstart)=\"onDragStart($event)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'handle'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('handle')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleStart\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 0 && 'h-slider-handle-active')\"\n [style]=\"sx('handle')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeStartLeft, bottom: rangeStartBottom }\"\n (keydown)=\"onKeyDown($event, 0)\"\n (mousedown)=\"onMouseDown($event, 0)\"\n (touchstart)=\"onDragStart($event, 0)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[0] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'startHandler'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('startHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleEnd\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 1 && 'h-slider-handle-active')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeEndLeft, bottom: rangeEndBottom }\"\n [style]=\"sx('handle')\"\n (keydown)=\"onKeyDown($event, 1)\"\n (mousedown)=\"onMouseDown($event, 1)\"\n (touchstart)=\"onDragStart($event, 1)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[1] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'endHandler'\"\n [hBind]=\"ptm('endHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n",
706
+ dependencies: [
707
+ {
708
+ kind: "ngmodule",
709
+ type: CommonModule
710
+ },
711
+ {
712
+ kind: "directive",
713
+ type: i2.NgStyle,
714
+ selector: "[ngStyle]",
715
+ inputs: ["ngStyle"]
716
+ },
717
+ {
718
+ kind: "directive",
719
+ type: AutoFocus,
720
+ selector: "[hAutoFocus]",
721
+ inputs: ["hAutoFocus"]
722
+ },
723
+ {
724
+ kind: "ngmodule",
725
+ type: SharedModule
726
+ },
727
+ {
728
+ kind: "ngmodule",
729
+ type: BindModule
730
+ },
731
+ {
732
+ kind: "directive",
733
+ type: i1.Bind,
734
+ selector: "[hBind]",
735
+ inputs: ["hBind"]
736
+ }
737
+ ],
738
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
739
+ encapsulation: i0.ViewEncapsulation.None
740
+ });
741
+ };
742
+ i0.ɵɵngDeclareClassMetadata({
743
+ minVersion: "12.0.0",
744
+ version: "22.2.1",
745
+ ngImport: i0,
746
+ type: Slider,
747
+ decorators: [{
748
+ type: Component,
749
+ args: [{
750
+ selector: "h-slider",
751
+ standalone: true,
752
+ imports: [
753
+ CommonModule,
754
+ AutoFocus,
755
+ SharedModule,
756
+ BindModule
757
+ ],
758
+ providers: [
759
+ SLIDER_VALUE_ACCESSOR,
760
+ SliderStyle,
761
+ {
762
+ provide: SLIDER_INSTANCE,
763
+ useExisting: Slider
764
+ },
765
+ {
766
+ provide: PARENT_INSTANCE,
767
+ useExisting: Slider
768
+ }
769
+ ],
770
+ changeDetection: ChangeDetectionStrategy.OnPush,
771
+ encapsulation: ViewEncapsulation.None,
772
+ host: {
773
+ "[attr.data-pc-name]": "'slider'",
774
+ "[attr.data-pc-section]": "'root'",
775
+ "[class]": "cn(cx('root'), styleClass())",
776
+ "[attr.data-h]": "dataP",
777
+ "[attr.data-h-sliding]": "false",
778
+ "(click)": "onHostClick($event)"
779
+ },
780
+ hostDirectives: [Bind],
781
+ template: "@if (range() && orientation() == 'horizontal') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n 'inset-inline-start': offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n width: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (range() && orientation() == 'vertical') {\n <span\n [class]=\"cx('range')\"\n [ngStyle]=\"{\n bottom: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%',\n height: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%'\n }\"\n [style]=\"sx('range')\"\n [attr.data-pc-section]=\"'range'\"\n [attr.data-h]=\"dataP\"\n [hBind]=\"ptm('range')\"\n ></span>\n}\n@if (!range() && orientation() == 'vertical') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ height: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range() && orientation() == 'horizontal') {\n <span [class]=\"cx('range')\" [attr.data-pc-section]=\"'range'\" [style]=\"sx('range')\" [ngStyle]=\"{ width: handleValue + '%' }\" [hBind]=\"ptm('range')\"></span>\n}\n@if (!range()) {\n <span\n #sliderHandle\n [class]=\"cx('handle')\"\n [style.transition]=\"dragging ? 'none' : null\"\n [ngStyle]=\"{\n 'inset-inline-start': orientation() == 'horizontal' ? handleValue + '%' : null,\n bottom: orientation() == 'vertical' ? handleValue + '%' : null\n }\"\n [style]=\"sx('handle')\"\n (touchstart)=\"onDragStart($event)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'handle'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('handle')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleStart\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 0 && 'h-slider-handle-active')\"\n [style]=\"sx('handle')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeStartLeft, bottom: rangeStartBottom }\"\n (keydown)=\"onKeyDown($event, 0)\"\n (mousedown)=\"onMouseDown($event, 0)\"\n (touchstart)=\"onDragStart($event, 0)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[0] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'startHandler'\"\n [hAutoFocus]=\"autofocus()\"\n [hBind]=\"ptm('startHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n@if (range()) {\n <span\n #sliderHandleEnd\n [style.transition]=\"dragging ? 'none' : null\"\n [class]=\"cn(cx('handle'), handleIndex == 1 && 'h-slider-handle-active')\"\n [ngStyle]=\"{ 'inset-inline-start': rangeEndLeft, bottom: rangeEndBottom }\"\n [style]=\"sx('handle')\"\n (keydown)=\"onKeyDown($event, 1)\"\n (mousedown)=\"onMouseDown($event, 1)\"\n (touchstart)=\"onDragStart($event, 1)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"$disabled() ? null : tabindex()\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuenow]=\"value ? value[1] : null\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.data-pc-section]=\"'endHandler'\"\n [hBind]=\"ptm('endHandler')\"\n [attr.data-h]=\"dataP\"\n ></span>\n}\n"
782
+ }]
783
+ }],
784
+ propDecorators: {
785
+ animate: [{
786
+ type: i0.Input,
787
+ args: [{
788
+ isSignal: true,
789
+ alias: "animate",
790
+ required: false
791
+ }]
792
+ }],
793
+ min: [{
794
+ type: i0.Input,
795
+ args: [{
796
+ isSignal: true,
797
+ alias: "min",
798
+ required: false
799
+ }]
800
+ }],
801
+ max: [{
802
+ type: i0.Input,
803
+ args: [{
804
+ isSignal: true,
805
+ alias: "max",
806
+ required: false
807
+ }]
808
+ }],
809
+ orientation: [{
810
+ type: i0.Input,
811
+ args: [{
812
+ isSignal: true,
813
+ alias: "orientation",
814
+ required: false
815
+ }]
816
+ }],
817
+ step: [{
818
+ type: i0.Input,
819
+ args: [{
820
+ isSignal: true,
821
+ alias: "step",
822
+ required: false
823
+ }]
824
+ }],
825
+ range: [{
826
+ type: i0.Input,
827
+ args: [{
828
+ isSignal: true,
829
+ alias: "range",
830
+ required: false
831
+ }]
832
+ }],
833
+ styleClass: [{
834
+ type: i0.Input,
835
+ args: [{
836
+ isSignal: true,
837
+ alias: "styleClass",
838
+ required: false
839
+ }]
840
+ }],
841
+ ariaLabel: [{
842
+ type: i0.Input,
843
+ args: [{
844
+ isSignal: true,
845
+ alias: "ariaLabel",
846
+ required: false
847
+ }]
848
+ }],
849
+ ariaLabelledBy: [{
850
+ type: i0.Input,
851
+ args: [{
852
+ isSignal: true,
853
+ alias: "ariaLabelledBy",
854
+ required: false
855
+ }]
856
+ }],
857
+ tabindex: [{
858
+ type: i0.Input,
859
+ args: [{
860
+ isSignal: true,
861
+ alias: "tabindex",
862
+ required: false
863
+ }]
864
+ }],
865
+ autofocus: [{
866
+ type: i0.Input,
867
+ args: [{
868
+ isSignal: true,
869
+ alias: "autofocus",
870
+ required: false
871
+ }]
872
+ }],
873
+ onChange: [{
874
+ type: i0.Output,
875
+ args: ["onChange"]
876
+ }],
877
+ onSlideEnd: [{
878
+ type: i0.Output,
879
+ args: ["onSlideEnd"]
880
+ }],
881
+ sliderHandle: [{
882
+ type: i0.ViewChild,
883
+ args: ["sliderHandle", { isSignal: true }]
884
+ }],
885
+ sliderHandleStart: [{
886
+ type: i0.ViewChild,
887
+ args: ["sliderHandleStart", { isSignal: true }]
888
+ }],
889
+ sliderHandleEnd: [{
890
+ type: i0.ViewChild,
891
+ args: ["sliderHandleEnd", { isSignal: true }]
892
+ }]
893
+ }
894
+ });
895
+ var SliderModule = class SliderModule {
896
+ static ɵfac = i0.ɵɵngDeclareFactory({
897
+ minVersion: "12.0.0",
898
+ version: "22.2.1",
899
+ ngImport: i0,
900
+ type: SliderModule,
901
+ deps: [],
902
+ target: i0.ɵɵFactoryTarget.NgModule
903
+ });
904
+ static ɵmod = i0.ɵɵngDeclareNgModule({
905
+ minVersion: "14.0.0",
906
+ version: "22.2.1",
907
+ ngImport: i0,
908
+ type: SliderModule,
909
+ imports: [Slider, SharedModule],
910
+ exports: [Slider, SharedModule]
911
+ });
912
+ static ɵinj = i0.ɵɵngDeclareInjector({
913
+ minVersion: "12.0.0",
914
+ version: "22.2.1",
915
+ ngImport: i0,
916
+ type: SliderModule,
917
+ imports: [
918
+ Slider,
919
+ SharedModule,
920
+ SharedModule
921
+ ]
922
+ });
923
+ };
924
+ i0.ɵɵngDeclareClassMetadata({
925
+ minVersion: "12.0.0",
926
+ version: "22.2.1",
927
+ ngImport: i0,
928
+ type: SliderModule,
929
+ decorators: [{
930
+ type: NgModule,
931
+ args: [{
932
+ imports: [Slider, SharedModule],
933
+ exports: [Slider, SharedModule]
934
+ }]
935
+ }]
936
+ });
729
937
  export { SLIDER_VALUE_ACCESSOR, Slider, SliderClasses, SliderModule, SliderStyle };
730
- //# sourceMappingURL=gravionlabs-helix-core-slider.mjs.map
938
+
939
+ //# sourceMappingURL=gravionlabs-helix-core-slider.mjs.map