@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,706 +1,1190 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable, InjectionToken, inject, input, output, computed, signal, effect, afterRenderEffect, untracked, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { createMotion, resolveDuration } from '@gravionlabs/helix-core/uix/motion';
5
- import { nextFrame } from '@gravionlabs/helix-core/uix/utils';
6
- import { BaseComponent, PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
7
- import * as i1 from '@gravionlabs/helix-core/bind';
8
- import { Bind, BindModule } from '@gravionlabs/helix-core/bind';
9
- import { BaseStyle } from '@gravionlabs/helix-core/base';
10
-
11
- const originalStyles = new WeakMap();
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, Injectable, InjectionToken, NgModule, afterRenderEffect, computed, effect, inject, input, output, signal, untracked } from "@angular/core";
3
+ import { CommonModule } from "@angular/common";
4
+ import { createMotion, resolveDuration } from "@gravionlabs/helix-core/uix/motion";
5
+ import { nextFrame } from "@gravionlabs/helix-core/uix/utils";
6
+ import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
7
+ import * as i1 from "@gravionlabs/helix-core/bind";
8
+ import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
9
+ import { BaseStyle } from "@gravionlabs/helix-core/base";
10
+ const originalStyles = /* @__PURE__ */ new WeakMap();
12
11
  function applyHiddenStyles(element, strategy) {
13
- if (!element)
14
- return;
15
- if (!originalStyles.has(element)) {
16
- originalStyles.set(element, {
17
- display: element.style.display,
18
- visibility: element.style.visibility,
19
- maxHeight: element.style.maxHeight,
20
- overflow: element.style.overflow
21
- });
22
- }
23
- switch (strategy) {
24
- case 'display':
25
- element.style.display = 'none';
26
- break;
27
- case 'visibility':
28
- element.style.visibility = 'hidden';
29
- element.style.maxHeight = '0';
30
- element.style.overflow = 'hidden';
31
- break;
32
- }
12
+ if (!element) return;
13
+ if (!originalStyles.has(element)) originalStyles.set(element, {
14
+ display: element.style.display,
15
+ visibility: element.style.visibility,
16
+ maxHeight: element.style.maxHeight,
17
+ overflow: element.style.overflow
18
+ });
19
+ switch (strategy) {
20
+ case "display":
21
+ element.style.display = "none";
22
+ break;
23
+ case "visibility":
24
+ element.style.visibility = "hidden";
25
+ element.style.maxHeight = "0";
26
+ element.style.overflow = "hidden";
27
+ break;
28
+ }
33
29
  }
34
30
  function resetStyles(element, strategy) {
35
- if (!element)
36
- return;
37
- const original = originalStyles.get(element) ?? element.style;
38
- switch (strategy) {
39
- case 'display':
40
- element.style.display = original?.display || '';
41
- break;
42
- case 'visibility':
43
- element.style.visibility = original?.visibility || '';
44
- element.style.maxHeight = original?.maxHeight || '';
45
- element.style.overflow = original?.overflow || '';
46
- break;
47
- }
48
- originalStyles.delete(element);
31
+ if (!element) return;
32
+ const original = originalStyles.get(element) ?? element.style;
33
+ switch (strategy) {
34
+ case "display":
35
+ element.style.display = original?.display || "";
36
+ break;
37
+ case "visibility":
38
+ element.style.visibility = original?.visibility || "";
39
+ element.style.maxHeight = original?.maxHeight || "";
40
+ element.style.overflow = original?.overflow || "";
41
+ break;
42
+ }
43
+ originalStyles.delete(element);
49
44
  }
50
-
51
- const style = /*css*/ `
45
+ const style = `
52
46
  .h-motion {
53
47
  display: block;
54
48
  }
55
49
  `;
56
- const classes = {
57
- root: 'h-motion'
50
+ const classes = { root: "h-motion" };
51
+ var MotionStyle = class MotionStyle extends BaseStyle {
52
+ name = "motion";
53
+ style = style;
54
+ classes = classes;
55
+ static ɵfac = i0.ɵɵngDeclareFactory({
56
+ minVersion: "12.0.0",
57
+ version: "22.2.1",
58
+ ngImport: i0,
59
+ type: MotionStyle,
60
+ deps: null,
61
+ target: i0.ɵɵFactoryTarget.Injectable
62
+ });
63
+ static ɵprov = i0.ɵɵngDeclareInjectable({
64
+ minVersion: "12.0.0",
65
+ version: "22.2.1",
66
+ ngImport: i0,
67
+ type: MotionStyle
68
+ });
58
69
  };
59
- class MotionStyle extends BaseStyle {
60
- name = 'motion';
61
- style = style;
62
- classes = classes;
63
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
64
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionStyle });
65
- }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionStyle, decorators: [{
67
- type: Injectable
68
- }] });
69
- /**
70
- *
71
- * Motion and MotionDirective provide an easy way to add motion effects to Angular applications.
72
- *
73
- * [Live Demo](https://www.primeng.org/motion)
74
- *
75
- * @module motionstyle
76
- *
77
- */
70
+ i0.ɵɵngDeclareClassMetadata({
71
+ minVersion: "12.0.0",
72
+ version: "22.2.1",
73
+ ngImport: i0,
74
+ type: MotionStyle,
75
+ decorators: [{ type: Injectable }]
76
+ });
78
77
  var MotionClasses;
79
- (function (MotionClasses) {
80
- /**
81
- * Class name of the root element
82
- */
83
- MotionClasses["root"] = "h-motion";
78
+ (function(MotionClasses) {
79
+ MotionClasses["root"] = "h-motion";
84
80
  })(MotionClasses || (MotionClasses = {}));
85
-
86
- const MOTION_INSTANCE = new InjectionToken('MOTION_INSTANCE');
87
- /**
88
- * Motion component is a container to apply motion effects to its content.
89
- * @group Components
90
- */
91
- class Motion extends BaseComponent {
92
- $pcMotion = inject(MOTION_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
93
- bindDirectiveInstance = inject(Bind, { self: true });
94
- onAfterViewChecked() {
95
- const options = this.options();
96
- const optionsAttrs = options?.root || {};
97
- this.bindDirectiveInstance.setAttrs({ ...this.ptms(['host', 'root']), ...optionsAttrs });
98
- }
99
- _componentStyle = inject(MotionStyle);
100
- /******************** Inputs ********************/
101
- /**
102
- * Whether the element is visible or not.
103
- * @group Props
104
- */
105
- visible = input(false, /* @ts-ignore */
106
- ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
107
- /**
108
- * Whether to mount the element on enter.
109
- * @group Props
110
- */
111
- mountOnEnter = input(true, /* @ts-ignore */
112
- ...(ngDevMode ? [{ debugName: "mountOnEnter" }] : /* istanbul ignore next */ []));
113
- /**
114
- * Whether to unmount the element on leave.
115
- * @group Props
116
- */
117
- unmountOnLeave = input(true, /* @ts-ignore */
118
- ...(ngDevMode ? [{ debugName: "unmountOnLeave" }] : /* istanbul ignore next */ []));
119
- /**
120
- * The name of the motion. It can be a predefined motion name or a custom one.
121
- * phases:
122
- * [name]-enter
123
- * [name]-enter-active
124
- * [name]-enter-to
125
- * [name]-leave
126
- * [name]-leave-active
127
- * [name]-leave-to
128
- * @group Props
129
- */
130
- name = input(undefined, /* @ts-ignore */
131
- ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
132
- /**
133
- * The type of the motion, valid values 'transition' and 'animation'.
134
- * @group Props
135
- */
136
- type = input(undefined, /* @ts-ignore */
137
- ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
138
- /**
139
- * Whether the motion is safe.
140
- * @group Props
141
- */
142
- safe = input(undefined, /* @ts-ignore */
143
- ...(ngDevMode ? [{ debugName: "safe" }] : /* istanbul ignore next */ []));
144
- /**
145
- * Whether the motion is disabled.
146
- * @group Props
147
- */
148
- disabled = input(false, /* @ts-ignore */
149
- ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
150
- /**
151
- * Whether the motion should appear.
152
- * @group Props
153
- */
154
- appear = input(false, /* @ts-ignore */
155
- ...(ngDevMode ? [{ debugName: "appear" }] : /* istanbul ignore next */ []));
156
- /**
157
- * Whether the motion should enter.
158
- * @group Props
159
- */
160
- enter = input(true, /* @ts-ignore */
161
- ...(ngDevMode ? [{ debugName: "enter" }] : /* istanbul ignore next */ []));
162
- /**
163
- * Whether the motion should leave.
164
- * @group Props
165
- */
166
- leave = input(true, /* @ts-ignore */
167
- ...(ngDevMode ? [{ debugName: "leave" }] : /* istanbul ignore next */ []));
168
- /**
169
- * The duration of the motion.
170
- * @group Props
171
- */
172
- duration = input(undefined, /* @ts-ignore */
173
- ...(ngDevMode ? [{ debugName: "duration" }] : /* istanbul ignore next */ []));
174
- /**
175
- * The hide strategy of the motion, valid values 'display' and 'visibility'.
176
- * @group Props
177
- */
178
- hideStrategy = input('display', /* @ts-ignore */
179
- ...(ngDevMode ? [{ debugName: "hideStrategy" }] : /* istanbul ignore next */ []));
180
- /**
181
- * The enter from class of the motion.
182
- * @group Props
183
- */
184
- enterFromClass = input(undefined, /* @ts-ignore */
185
- ...(ngDevMode ? [{ debugName: "enterFromClass" }] : /* istanbul ignore next */ []));
186
- /**
187
- * The enter to class of the motion.
188
- * @group Props
189
- */
190
- enterToClass = input(undefined, /* @ts-ignore */
191
- ...(ngDevMode ? [{ debugName: "enterToClass" }] : /* istanbul ignore next */ []));
192
- /**
193
- * The enter active class of the motion.
194
- * @group Props
195
- */
196
- enterActiveClass = input(undefined, /* @ts-ignore */
197
- ...(ngDevMode ? [{ debugName: "enterActiveClass" }] : /* istanbul ignore next */ []));
198
- /**
199
- * The leave from class of the motion.
200
- * @group Props
201
- */
202
- leaveFromClass = input(undefined, /* @ts-ignore */
203
- ...(ngDevMode ? [{ debugName: "leaveFromClass" }] : /* istanbul ignore next */ []));
204
- /**
205
- * The leave to class of the motion.
206
- * @group Props
207
- */
208
- leaveToClass = input(undefined, /* @ts-ignore */
209
- ...(ngDevMode ? [{ debugName: "leaveToClass" }] : /* istanbul ignore next */ []));
210
- /**
211
- * The leave active class of the motion.
212
- * @group Props
213
- */
214
- leaveActiveClass = input(undefined, /* @ts-ignore */
215
- ...(ngDevMode ? [{ debugName: "leaveActiveClass" }] : /* istanbul ignore next */ []));
216
- /******************** All Inputs ********************/
217
- /**
218
- * The motion options.
219
- * @group Props
220
- */
221
- options = input({}, /* @ts-ignore */
222
- ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
223
- /******************** Outputs ********************/
224
- /**
225
- * Callback fired before the enter transition/animation starts.
226
- * @param {MotionEvent} [event] - The event object containing details about the motion.
227
- * @param {Element} event.element - The element being transitioned/animated.
228
- * @group Emits
229
- */
230
- onBeforeEnter = output();
231
- /**
232
- * Callback fired when the enter transition/animation starts.
233
- * @param {MotionEvent} [event] - The event object containing details about the motion.
234
- * @param {Element} event.element - The element being transitioned/animated.
235
- * @group Emits
236
- */
237
- onEnter = output();
238
- /**
239
- * Callback fired after the enter transition/animation ends.
240
- * @param {MotionEvent} [event] - The event object containing details about the motion.
241
- * @param {Element} event.element - The element being transitioned/animated.
242
- * @group Emits
243
- */
244
- onAfterEnter = output();
245
- /**
246
- * Callback fired when the enter transition/animation is cancelled.
247
- * @param {MotionEvent} [event] - The event object containing details about the motion.
248
- * @param {Element} event.element - The element being transitioned/animated.
249
- * @group Emits
250
- */
251
- onEnterCancelled = output();
252
- /**
253
- * Callback fired before the leave transition/animation starts.
254
- * @param {MotionEvent} [event] - The event object containing details about the motion.
255
- * @param {Element} event.element - The element being transitioned/animated.
256
- * @group Emits
257
- */
258
- onBeforeLeave = output();
259
- /**
260
- * Callback fired when the leave transition/animation starts.
261
- * @param {MotionEvent} [event] - The event object containing details about the motion.
262
- * @param {Element} event.element - The element being transitioned/animated.
263
- * @group Emits
264
- */
265
- onLeave = output();
266
- /**
267
- * Callback fired after the leave transition/animation ends.
268
- * @param {MotionEvent} [event] - The event object containing details about the motion.
269
- * @param {Element} event.element - The element being transitioned/animated.
270
- * @group Emits
271
- */
272
- onAfterLeave = output();
273
- /**
274
- * Callback fired when the leave transition/animation is cancelled.
275
- * @param {MotionEvent} [event] - The event object containing details about the motion.
276
- * @param {Element} event.element - The element being transitioned/animated.
277
- * @group Emits
278
- */
279
- onLeaveCancelled = output();
280
- /******************** Computed ********************/
281
- motionOptions = computed(() => {
282
- const options = this.options();
283
- return {
284
- name: options.name ?? this.name(),
285
- type: options.type ?? this.type(),
286
- safe: options.safe ?? this.safe(),
287
- disabled: options.disabled ?? this.disabled(),
288
- appear: false,
289
- enter: options.enter ?? this.enter(),
290
- leave: options.leave ?? this.leave(),
291
- duration: options.duration ?? this.duration(),
292
- enterClass: {
293
- from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),
294
- to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),
295
- active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)
296
- },
297
- leaveClass: {
298
- from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),
299
- to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),
300
- active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)
301
- },
302
- onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
303
- onEnter: options.onEnter ?? this.handleEnter,
304
- onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
305
- onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
306
- onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
307
- onLeave: options.onLeave ?? this.handleLeave,
308
- onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
309
- onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
310
- };
311
- }, /* @ts-ignore */
312
- ...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
313
- motion;
314
- isInitialMount = true;
315
- cancelled = false;
316
- destroyed = false;
317
- rendered = signal(false, /* @ts-ignore */
318
- ...(ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []));
319
- handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
320
- handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
321
- handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
322
- handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
323
- handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
324
- handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
325
- handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
326
- handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
327
- constructor() {
328
- super();
329
- effect(() => {
330
- const hideStrategy = this.hideStrategy();
331
- if (this.isInitialMount) {
332
- applyHiddenStyles(this.$el, hideStrategy);
333
- this.rendered.set((this.visible() && this.mountOnEnter()) || !this.mountOnEnter());
334
- }
335
- else if (this.visible() && !this.rendered()) {
336
- applyHiddenStyles(this.$el, hideStrategy);
337
- this.rendered.set(true);
338
- }
339
- });
340
- effect(() => {
341
- if (!this.motion) {
342
- this.motion = createMotion(this.$el, this.motionOptions());
343
- }
344
- else {
345
- // @todo: Update motion options method to update options dynamically
346
- //this.motion.update(this.$el, this.motionOptions());
347
- }
348
- });
349
- afterRenderEffect(async () => {
350
- if (!this.$el)
351
- return;
352
- const shouldAppear = this.isInitialMount && this.visible() && this.appear();
353
- const hideStrategy = this.hideStrategy();
354
- if (this.visible()) {
355
- await nextFrame();
356
- resetStyles(this.$el, hideStrategy);
357
- if (shouldAppear || !this.isInitialMount) {
358
- this.applyMotionDuration('enter');
359
- this.motion?.enter();
360
- }
361
- }
362
- else if (!this.isInitialMount) {
363
- await nextFrame();
364
- this.applyMotionDuration('leave');
365
- this.motion?.leave()?.then(async () => {
366
- if (this.$el && !this.cancelled && !this.visible()) {
367
- applyHiddenStyles(this.$el, hideStrategy);
368
- if (this.unmountOnLeave()) {
369
- await nextFrame();
370
- if (!this.cancelled) {
371
- this.rendered.set(false);
372
- }
373
- }
374
- }
375
- });
376
- }
377
- this.isInitialMount = false;
378
- });
379
- }
380
- applyMotionDuration(phase) {
381
- const options = untracked(this.motionOptions);
382
- const ms = resolveDuration(options.duration, phase);
383
- if (ms == null || !this.$el)
384
- return;
385
- const el = this.$el;
386
- const durationValue = `${ms}ms`;
387
- if (options.type === 'transition') {
388
- el.style.transitionDuration = durationValue;
389
- }
390
- else {
391
- el.style.animationDuration = durationValue;
392
- }
393
- }
394
- onDestroy() {
395
- this.destroyed = true;
396
- this.cancelled = true;
397
- this.motion?.cancel();
398
- this.motion = undefined;
399
- resetStyles(this.$el, this.hideStrategy());
400
- this.$el?.remove();
401
- this.isInitialMount = true;
402
- }
403
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Motion, deps: [], target: i0.ɵɵFactoryTarget.Component });
404
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Motion, isStandalone: true, selector: "h-motion", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, mountOnEnter: { classPropertyName: "mountOnEnter", publicName: "mountOnEnter", isSignal: true, isRequired: false, transformFunction: null }, unmountOnLeave: { classPropertyName: "unmountOnLeave", publicName: "unmountOnLeave", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "safe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "appear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "enter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "leave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "hideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "enterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "enterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "enterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "leaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "leaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "leaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "onBeforeEnter", onEnter: "onEnter", onAfterEnter: "onAfterEnter", onEnterCancelled: "onEnterCancelled", onBeforeLeave: "onBeforeLeave", onLeave: "onLeave", onAfterLeave: "onAfterLeave", onLeaveCancelled: "onLeaveCancelled" }, host: { properties: { "class": "cx('root')" } }, providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "@if (rendered()) {\n <ng-content />\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.Eager });
405
- }
406
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Motion, decorators: [{
407
- type: Component,
408
- args: [{ selector: 'h-motion', standalone: true, imports: [CommonModule, BindModule], providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }], host: {
409
- '[class]': "cx('root')"
410
- }, changeDetection: ChangeDetectionStrategy.Eager, hostDirectives: [Bind], template: "@if (rendered()) {\n <ng-content />\n}\n" }]
411
- }], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], mountOnEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "mountOnEnter", required: false }] }], unmountOnLeave: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnLeave", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], safe: [{ type: i0.Input, args: [{ isSignal: true, alias: "safe", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], appear: [{ type: i0.Input, args: [{ isSignal: true, alias: "appear", required: false }] }], enter: [{ type: i0.Input, args: [{ isSignal: true, alias: "enter", required: false }] }], leave: [{ type: i0.Input, args: [{ isSignal: true, alias: "leave", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], hideStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideStrategy", required: false }] }], enterFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterFromClass", required: false }] }], enterToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterToClass", required: false }] }], enterActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterActiveClass", required: false }] }], leaveFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveFromClass", required: false }] }], leaveToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveToClass", required: false }] }], leaveActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaveActiveClass", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], onBeforeEnter: [{ type: i0.Output, args: ["onBeforeEnter"] }], onEnter: [{ type: i0.Output, args: ["onEnter"] }], onAfterEnter: [{ type: i0.Output, args: ["onAfterEnter"] }], onEnterCancelled: [{ type: i0.Output, args: ["onEnterCancelled"] }], onBeforeLeave: [{ type: i0.Output, args: ["onBeforeLeave"] }], onLeave: [{ type: i0.Output, args: ["onLeave"] }], onAfterLeave: [{ type: i0.Output, args: ["onAfterLeave"] }], onLeaveCancelled: [{ type: i0.Output, args: ["onLeaveCancelled"] }] } });
412
-
413
- const MOTION_DIRECTIVE_INSTANCE = new InjectionToken('MOTION_DIRECTIVE_INSTANCE');
414
- /**
415
- * Motion Directive is directive to apply motion effects to elements.
416
- * @group Components
417
- */
418
- class MotionDirective extends BaseComponent {
419
- $pcMotionDirective = inject(MOTION_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
420
- /******************** Inputs ********************/
421
- /**
422
- * Whether the element is visible or not.
423
- * @group Props
424
- */
425
- visible = input(false, { ...(ngDevMode ? { debugName: "visible" } : /* istanbul ignore next */ {}), alias: 'hMotion' });
426
- /**
427
- * The name of the motion. It can be a predefined motion name or a custom one.
428
- * phases:
429
- * [name]-enter
430
- * [name]-enter-active
431
- * [name]-enter-to
432
- * [name]-leave
433
- * [name]-leave-active
434
- * [name]-leave-to
435
- * @group Props
436
- */
437
- name = input(undefined, { ...(ngDevMode ? { debugName: "name" } : /* istanbul ignore next */ {}), alias: 'pMotionName' });
438
- /**
439
- * The type of the motion, valid values 'transition' and 'animation'.
440
- * @group Props
441
- */
442
- type = input(undefined, { ...(ngDevMode ? { debugName: "type" } : /* istanbul ignore next */ {}), alias: 'pMotionType' });
443
- /**
444
- * Whether the motion is safe.
445
- * @group Props
446
- */
447
- safe = input(undefined, { ...(ngDevMode ? { debugName: "safe" } : /* istanbul ignore next */ {}), alias: 'pMotionSafe' });
448
- /**
449
- * Whether the motion is disabled.
450
- * @group Props
451
- */
452
- disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), alias: 'pMotionDisabled' });
453
- /**
454
- * Whether the motion should appear.
455
- * @group Props
456
- */
457
- appear = input(false, { ...(ngDevMode ? { debugName: "appear" } : /* istanbul ignore next */ {}), alias: 'pMotionAppear' });
458
- /**
459
- * Whether the motion should enter.
460
- * @group Props
461
- */
462
- enter = input(true, { ...(ngDevMode ? { debugName: "enter" } : /* istanbul ignore next */ {}), alias: 'pMotionEnter' });
463
- /**
464
- * Whether the motion should leave.
465
- * @group Props
466
- */
467
- leave = input(true, { ...(ngDevMode ? { debugName: "leave" } : /* istanbul ignore next */ {}), alias: 'pMotionLeave' });
468
- /**
469
- * The duration of the motion.
470
- * @group Props
471
- */
472
- duration = input(undefined, { ...(ngDevMode ? { debugName: "duration" } : /* istanbul ignore next */ {}), alias: 'pMotionDuration' });
473
- /**
474
- * The hide strategy of the motion, valid values 'display' and 'visibility'.
475
- * @group Props
476
- */
477
- hideStrategy = input('display', { ...(ngDevMode ? { debugName: "hideStrategy" } : /* istanbul ignore next */ {}), alias: 'pMotionHideStrategy' });
478
- /**
479
- * The enter from class of the motion.
480
- * @group Props
481
- */
482
- enterFromClass = input(undefined, { ...(ngDevMode ? { debugName: "enterFromClass" } : /* istanbul ignore next */ {}), alias: 'pMotionEnterFromClass' });
483
- /**
484
- * The enter to class of the motion.
485
- * @group Props
486
- */
487
- enterToClass = input(undefined, { ...(ngDevMode ? { debugName: "enterToClass" } : /* istanbul ignore next */ {}), alias: 'pMotionEnterToClass' });
488
- /**
489
- * The enter active class of the motion.
490
- * @group Props
491
- */
492
- enterActiveClass = input(undefined, { ...(ngDevMode ? { debugName: "enterActiveClass" } : /* istanbul ignore next */ {}), alias: 'pMotionEnterActiveClass' });
493
- /**
494
- * The leave from class of the motion.
495
- * @group Props
496
- */
497
- leaveFromClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveFromClass" } : /* istanbul ignore next */ {}), alias: 'pMotionLeaveFromClass' });
498
- /**
499
- * The leave to class of the motion.
500
- * @group Props
501
- */
502
- leaveToClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveToClass" } : /* istanbul ignore next */ {}), alias: 'pMotionLeaveToClass' });
503
- /**
504
- * The leave active class of the motion.
505
- * @group Props
506
- */
507
- leaveActiveClass = input(undefined, { ...(ngDevMode ? { debugName: "leaveActiveClass" } : /* istanbul ignore next */ {}), alias: 'pMotionLeaveActiveClass' });
508
- /******************** All Inputs ********************/
509
- /**
510
- * The motion options.
511
- * @group Props
512
- */
513
- options = input({}, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: 'pMotionOptions' });
514
- /******************** Outputs ********************/
515
- /**
516
- * Callback fired before the enter transition/animation starts.
517
- * @param {MotionEvent} [event] - The event object containing details about the motion.
518
- * @param {Element} event.element - The element being transitioned/animated.
519
- * @group Emits
520
- */
521
- onBeforeEnter = output({ alias: 'pMotionOnBeforeEnter' });
522
- /**
523
- * Callback fired when the enter transition/animation starts.
524
- * @param {MotionEvent} [event] - The event object containing details about the motion.
525
- * @param {Element} event.element - The element being transitioned/animated.
526
- * @group Emits
527
- */
528
- onEnter = output({ alias: 'pMotionOnEnter' });
529
- /**
530
- * Callback fired after the enter transition/animation ends.
531
- * @param {MotionEvent} [event] - The event object containing details about the motion.
532
- * @param {Element} event.element - The element being transitioned/animated.
533
- * @group Emits
534
- */
535
- onAfterEnter = output({ alias: 'pMotionOnAfterEnter' });
536
- /**
537
- * Callback fired when the enter transition/animation is cancelled.
538
- * @param {MotionEvent} [event] - The event object containing details about the motion.
539
- * @param {Element} event.element - The element being transitioned/animated.
540
- * @group Emits
541
- */
542
- onEnterCancelled = output({ alias: 'pMotionOnEnterCancelled' });
543
- /**
544
- * Callback fired before the leave transition/animation starts.
545
- * @param {MotionEvent} [event] - The event object containing details about the motion.
546
- * @param {Element} event.element - The element being transitioned/animated.
547
- * @group Emits
548
- */
549
- onBeforeLeave = output({ alias: 'pMotionOnBeforeLeave' });
550
- /**
551
- * Callback fired when the leave transition/animation starts.
552
- * @param {MotionEvent} [event] - The event object containing details about the motion.
553
- * @param {Element} event.element - The element being transitioned/animated.
554
- * @group Emits
555
- */
556
- onLeave = output({ alias: 'pMotionOnLeave' });
557
- /**
558
- * Callback fired after the leave transition/animation ends.
559
- * @param {MotionEvent} [event] - The event object containing details about the motion.
560
- * @param {Element} event.element - The element being transitioned/animated.
561
- * @group Emits
562
- */
563
- onAfterLeave = output({ alias: 'pMotionOnAfterLeave' });
564
- /**
565
- * Callback fired when the leave transition/animation is cancelled.
566
- * @param {MotionEvent} [event] - The event object containing details about the motion.
567
- * @param {Element} event.element - The element being transitioned/animated.
568
- * @group Emits
569
- */
570
- onLeaveCancelled = output({ alias: 'pMotionOnLeaveCancelled' });
571
- /******************** Computed ********************/
572
- motionOptions = computed(() => {
573
- const options = this.options() ?? {};
574
- return {
575
- name: options.name ?? this.name(),
576
- type: options.type ?? this.type(),
577
- safe: options.safe ?? this.safe(),
578
- disabled: options.disabled ?? this.disabled(),
579
- appear: false,
580
- enter: options.enter ?? this.enter(),
581
- leave: options.leave ?? this.leave(),
582
- duration: options.duration ?? this.duration(),
583
- enterClass: {
584
- from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),
585
- to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),
586
- active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)
587
- },
588
- leaveClass: {
589
- from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),
590
- to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),
591
- active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)
592
- },
593
- onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
594
- onEnter: options.onEnter ?? this.handleEnter,
595
- onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
596
- onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
597
- onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
598
- onLeave: options.onLeave ?? this.handleLeave,
599
- onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
600
- onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
601
- };
602
- }, /* @ts-ignore */
603
- ...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
604
- motion;
605
- isInitialMount = true;
606
- cancelled = false;
607
- destroyed = false;
608
- handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
609
- handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
610
- handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
611
- handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
612
- handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
613
- handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
614
- handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
615
- handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
616
- constructor() {
617
- super();
618
- effect(() => {
619
- if (!this.motion) {
620
- this.motion = createMotion(this.$el, this.motionOptions());
621
- }
622
- else {
623
- // @todo: Update motion options method to update options dynamically
624
- //this.motion.update(this.$el, this.motionOptions());
625
- }
626
- });
627
- afterRenderEffect(() => {
628
- if (!this.$el)
629
- return;
630
- const shouldAppear = this.isInitialMount && this.visible() && this.appear();
631
- const hideStrategy = this.hideStrategy();
632
- if (this.visible()) {
633
- resetStyles(this.$el, hideStrategy);
634
- if (shouldAppear || !this.isInitialMount) {
635
- this.applyMotionDuration('enter');
636
- this.motion?.enter();
637
- }
638
- }
639
- else if (!this.isInitialMount) {
640
- this.applyMotionDuration('leave');
641
- this.motion?.leave()?.then(() => {
642
- if (this.$el && !this.cancelled && !this.visible()) {
643
- applyHiddenStyles(this.$el, hideStrategy);
644
- }
645
- });
646
- }
647
- else {
648
- applyHiddenStyles(this.$el, hideStrategy);
649
- }
650
- this.isInitialMount = false;
651
- });
652
- }
653
- applyMotionDuration(phase) {
654
- const options = untracked(this.motionOptions);
655
- const ms = resolveDuration(options.duration, phase);
656
- if (ms == null || !this.$el)
657
- return;
658
- const el = this.$el;
659
- const durationValue = `${ms}ms`;
660
- if (options.type === 'transition') {
661
- el.style.transitionDuration = durationValue;
662
- }
663
- else {
664
- el.style.animationDuration = durationValue;
665
- }
666
- }
667
- onDestroy() {
668
- this.destroyed = true;
669
- this.cancelled = true;
670
- this.motion?.cancel();
671
- this.motion = undefined;
672
- resetStyles(this.$el, this.hideStrategy());
673
- this.$el?.remove();
674
- this.isInitialMount = true;
675
- }
676
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
677
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: MotionDirective, isStandalone: true, selector: "[hMotion]", inputs: { visible: { classPropertyName: "visible", publicName: "hMotion", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "pMotionName", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "pMotionType", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "pMotionSafe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "pMotionDisabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "pMotionAppear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "pMotionEnter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "pMotionLeave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "pMotionDuration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "pMotionHideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "pMotionEnterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "pMotionEnterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "pMotionEnterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "pMotionLeaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "pMotionLeaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "pMotionLeaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "pMotionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "pMotionOnBeforeEnter", onEnter: "pMotionOnEnter", onAfterEnter: "pMotionOnAfterEnter", onEnterCancelled: "pMotionOnEnterCancelled", onBeforeLeave: "pMotionOnBeforeLeave", onLeave: "pMotionOnLeave", onAfterLeave: "pMotionOnAfterLeave", onLeaveCancelled: "pMotionOnLeaveCancelled" }, providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }], usesInheritance: true, ngImport: i0 });
678
- }
679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionDirective, decorators: [{
680
- type: Directive,
681
- args: [{
682
- selector: '[hMotion]',
683
- standalone: true,
684
- providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }]
685
- }]
686
- }], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "hMotion", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionName", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionType", required: false }] }], safe: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionSafe", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionDisabled", required: false }] }], appear: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionAppear", required: false }] }], enter: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnter", required: false }] }], leave: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeave", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionDuration", required: false }] }], hideStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionHideStrategy", required: false }] }], enterFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterFromClass", required: false }] }], enterToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterToClass", required: false }] }], enterActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterActiveClass", required: false }] }], leaveFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveFromClass", required: false }] }], leaveToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveToClass", required: false }] }], leaveActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveActiveClass", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionOptions", required: false }] }], onBeforeEnter: [{ type: i0.Output, args: ["pMotionOnBeforeEnter"] }], onEnter: [{ type: i0.Output, args: ["pMotionOnEnter"] }], onAfterEnter: [{ type: i0.Output, args: ["pMotionOnAfterEnter"] }], onEnterCancelled: [{ type: i0.Output, args: ["pMotionOnEnterCancelled"] }], onBeforeLeave: [{ type: i0.Output, args: ["pMotionOnBeforeLeave"] }], onLeave: [{ type: i0.Output, args: ["pMotionOnLeave"] }], onAfterLeave: [{ type: i0.Output, args: ["pMotionOnAfterLeave"] }], onLeaveCancelled: [{ type: i0.Output, args: ["pMotionOnLeaveCancelled"] }] } });
687
-
688
- class MotionModule {
689
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
690
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: MotionModule, imports: [Motion, MotionDirective], exports: [Motion, MotionDirective] });
691
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionModule, imports: [Motion] });
692
- }
693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MotionModule, decorators: [{
694
- type: NgModule,
695
- args: [{
696
- imports: [Motion, MotionDirective],
697
- exports: [Motion, MotionDirective]
698
- }]
699
- }] });
700
-
701
- /**
702
- * Generated bundle index. Do not edit.
703
- */
704
-
81
+ const MOTION_INSTANCE = new InjectionToken("MOTION_INSTANCE");
82
+ var Motion = class Motion extends BaseComponent {
83
+ $pcMotion = inject(MOTION_INSTANCE, {
84
+ optional: true,
85
+ skipSelf: true
86
+ }) ?? void 0;
87
+ bindDirectiveInstance = inject(Bind, { self: true });
88
+ onAfterViewChecked() {
89
+ const optionsAttrs = this.options()?.root || {};
90
+ this.bindDirectiveInstance.setAttrs({
91
+ ...this.ptms(["host", "root"]),
92
+ ...optionsAttrs
93
+ });
94
+ }
95
+ _componentStyle = inject(MotionStyle);
96
+ visible = input(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
97
+ mountOnEnter = input(true, ...ngDevMode ? [{ debugName: "mountOnEnter" }] : /* istanbul ignore next */ []);
98
+ unmountOnLeave = input(true, ...ngDevMode ? [{ debugName: "unmountOnLeave" }] : /* istanbul ignore next */ []);
99
+ name = input(void 0, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
100
+ type = input(void 0, ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
101
+ safe = input(void 0, ...ngDevMode ? [{ debugName: "safe" }] : /* istanbul ignore next */ []);
102
+ disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
103
+ appear = input(false, ...ngDevMode ? [{ debugName: "appear" }] : /* istanbul ignore next */ []);
104
+ enter = input(true, ...ngDevMode ? [{ debugName: "enter" }] : /* istanbul ignore next */ []);
105
+ leave = input(true, ...ngDevMode ? [{ debugName: "leave" }] : /* istanbul ignore next */ []);
106
+ duration = input(void 0, ...ngDevMode ? [{ debugName: "duration" }] : /* istanbul ignore next */ []);
107
+ hideStrategy = input("display", ...ngDevMode ? [{ debugName: "hideStrategy" }] : /* istanbul ignore next */ []);
108
+ enterFromClass = input(void 0, ...ngDevMode ? [{ debugName: "enterFromClass" }] : /* istanbul ignore next */ []);
109
+ enterToClass = input(void 0, ...ngDevMode ? [{ debugName: "enterToClass" }] : /* istanbul ignore next */ []);
110
+ enterActiveClass = input(void 0, ...ngDevMode ? [{ debugName: "enterActiveClass" }] : /* istanbul ignore next */ []);
111
+ leaveFromClass = input(void 0, ...ngDevMode ? [{ debugName: "leaveFromClass" }] : /* istanbul ignore next */ []);
112
+ leaveToClass = input(void 0, ...ngDevMode ? [{ debugName: "leaveToClass" }] : /* istanbul ignore next */ []);
113
+ leaveActiveClass = input(void 0, ...ngDevMode ? [{ debugName: "leaveActiveClass" }] : /* istanbul ignore next */ []);
114
+ options = input({}, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
115
+ onBeforeEnter = output();
116
+ onEnter = output();
117
+ onAfterEnter = output();
118
+ onEnterCancelled = output();
119
+ onBeforeLeave = output();
120
+ onLeave = output();
121
+ onAfterLeave = output();
122
+ onLeaveCancelled = output();
123
+ motionOptions = computed(() => {
124
+ const options = this.options();
125
+ return {
126
+ name: options.name ?? this.name(),
127
+ type: options.type ?? this.type(),
128
+ safe: options.safe ?? this.safe(),
129
+ disabled: options.disabled ?? this.disabled(),
130
+ appear: false,
131
+ enter: options.enter ?? this.enter(),
132
+ leave: options.leave ?? this.leave(),
133
+ duration: options.duration ?? this.duration(),
134
+ enterClass: {
135
+ from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : void 0),
136
+ to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : void 0),
137
+ active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : void 0)
138
+ },
139
+ leaveClass: {
140
+ from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : void 0),
141
+ to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : void 0),
142
+ active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : void 0)
143
+ },
144
+ onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
145
+ onEnter: options.onEnter ?? this.handleEnter,
146
+ onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
147
+ onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
148
+ onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
149
+ onLeave: options.onLeave ?? this.handleLeave,
150
+ onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
151
+ onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
152
+ };
153
+ }, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
154
+ motion;
155
+ isInitialMount = true;
156
+ cancelled = false;
157
+ destroyed = false;
158
+ rendered = signal(false, ...ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []);
159
+ handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
160
+ handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
161
+ handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
162
+ handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
163
+ handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
164
+ handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
165
+ handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
166
+ handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
167
+ constructor() {
168
+ super();
169
+ effect(() => {
170
+ const hideStrategy = this.hideStrategy();
171
+ if (this.isInitialMount) {
172
+ applyHiddenStyles(this.$el, hideStrategy);
173
+ this.rendered.set(this.visible() && this.mountOnEnter() || !this.mountOnEnter());
174
+ } else if (this.visible() && !this.rendered()) {
175
+ applyHiddenStyles(this.$el, hideStrategy);
176
+ this.rendered.set(true);
177
+ }
178
+ });
179
+ effect(() => {
180
+ if (!this.motion) this.motion = createMotion(this.$el, this.motionOptions());
181
+ });
182
+ afterRenderEffect(async () => {
183
+ if (!this.$el) return;
184
+ const shouldAppear = this.isInitialMount && this.visible() && this.appear();
185
+ const hideStrategy = this.hideStrategy();
186
+ if (this.visible()) {
187
+ await nextFrame();
188
+ resetStyles(this.$el, hideStrategy);
189
+ if (shouldAppear || !this.isInitialMount) {
190
+ this.applyMotionDuration("enter");
191
+ this.motion?.enter();
192
+ }
193
+ } else if (!this.isInitialMount) {
194
+ await nextFrame();
195
+ this.applyMotionDuration("leave");
196
+ this.motion?.leave()?.then(async () => {
197
+ if (this.$el && !this.cancelled && !this.visible()) {
198
+ applyHiddenStyles(this.$el, hideStrategy);
199
+ if (this.unmountOnLeave()) {
200
+ await nextFrame();
201
+ if (!this.cancelled) this.rendered.set(false);
202
+ }
203
+ }
204
+ });
205
+ }
206
+ this.isInitialMount = false;
207
+ });
208
+ }
209
+ applyMotionDuration(phase) {
210
+ const options = untracked(this.motionOptions);
211
+ const ms = resolveDuration(options.duration, phase);
212
+ if (ms == null || !this.$el) return;
213
+ const el = this.$el;
214
+ const durationValue = `${ms}ms`;
215
+ if (options.type === "transition") el.style.transitionDuration = durationValue;
216
+ else el.style.animationDuration = durationValue;
217
+ }
218
+ onDestroy() {
219
+ this.destroyed = true;
220
+ this.cancelled = true;
221
+ this.motion?.cancel();
222
+ this.motion = void 0;
223
+ resetStyles(this.$el, this.hideStrategy());
224
+ this.$el?.remove();
225
+ this.isInitialMount = true;
226
+ }
227
+ static ɵfac = i0.ɵɵngDeclareFactory({
228
+ minVersion: "12.0.0",
229
+ version: "22.2.1",
230
+ ngImport: i0,
231
+ type: Motion,
232
+ deps: [],
233
+ target: i0.ɵɵFactoryTarget.Component
234
+ });
235
+ static ɵcmp = i0.ɵɵngDeclareComponent({
236
+ minVersion: "17.0.0",
237
+ version: "22.2.1",
238
+ type: Motion,
239
+ isStandalone: true,
240
+ selector: "h-motion",
241
+ inputs: {
242
+ visible: {
243
+ classPropertyName: "visible",
244
+ publicName: "visible",
245
+ isSignal: true,
246
+ isRequired: false,
247
+ transformFunction: null
248
+ },
249
+ mountOnEnter: {
250
+ classPropertyName: "mountOnEnter",
251
+ publicName: "mountOnEnter",
252
+ isSignal: true,
253
+ isRequired: false,
254
+ transformFunction: null
255
+ },
256
+ unmountOnLeave: {
257
+ classPropertyName: "unmountOnLeave",
258
+ publicName: "unmountOnLeave",
259
+ isSignal: true,
260
+ isRequired: false,
261
+ transformFunction: null
262
+ },
263
+ name: {
264
+ classPropertyName: "name",
265
+ publicName: "name",
266
+ isSignal: true,
267
+ isRequired: false,
268
+ transformFunction: null
269
+ },
270
+ type: {
271
+ classPropertyName: "type",
272
+ publicName: "type",
273
+ isSignal: true,
274
+ isRequired: false,
275
+ transformFunction: null
276
+ },
277
+ safe: {
278
+ classPropertyName: "safe",
279
+ publicName: "safe",
280
+ isSignal: true,
281
+ isRequired: false,
282
+ transformFunction: null
283
+ },
284
+ disabled: {
285
+ classPropertyName: "disabled",
286
+ publicName: "disabled",
287
+ isSignal: true,
288
+ isRequired: false,
289
+ transformFunction: null
290
+ },
291
+ appear: {
292
+ classPropertyName: "appear",
293
+ publicName: "appear",
294
+ isSignal: true,
295
+ isRequired: false,
296
+ transformFunction: null
297
+ },
298
+ enter: {
299
+ classPropertyName: "enter",
300
+ publicName: "enter",
301
+ isSignal: true,
302
+ isRequired: false,
303
+ transformFunction: null
304
+ },
305
+ leave: {
306
+ classPropertyName: "leave",
307
+ publicName: "leave",
308
+ isSignal: true,
309
+ isRequired: false,
310
+ transformFunction: null
311
+ },
312
+ duration: {
313
+ classPropertyName: "duration",
314
+ publicName: "duration",
315
+ isSignal: true,
316
+ isRequired: false,
317
+ transformFunction: null
318
+ },
319
+ hideStrategy: {
320
+ classPropertyName: "hideStrategy",
321
+ publicName: "hideStrategy",
322
+ isSignal: true,
323
+ isRequired: false,
324
+ transformFunction: null
325
+ },
326
+ enterFromClass: {
327
+ classPropertyName: "enterFromClass",
328
+ publicName: "enterFromClass",
329
+ isSignal: true,
330
+ isRequired: false,
331
+ transformFunction: null
332
+ },
333
+ enterToClass: {
334
+ classPropertyName: "enterToClass",
335
+ publicName: "enterToClass",
336
+ isSignal: true,
337
+ isRequired: false,
338
+ transformFunction: null
339
+ },
340
+ enterActiveClass: {
341
+ classPropertyName: "enterActiveClass",
342
+ publicName: "enterActiveClass",
343
+ isSignal: true,
344
+ isRequired: false,
345
+ transformFunction: null
346
+ },
347
+ leaveFromClass: {
348
+ classPropertyName: "leaveFromClass",
349
+ publicName: "leaveFromClass",
350
+ isSignal: true,
351
+ isRequired: false,
352
+ transformFunction: null
353
+ },
354
+ leaveToClass: {
355
+ classPropertyName: "leaveToClass",
356
+ publicName: "leaveToClass",
357
+ isSignal: true,
358
+ isRequired: false,
359
+ transformFunction: null
360
+ },
361
+ leaveActiveClass: {
362
+ classPropertyName: "leaveActiveClass",
363
+ publicName: "leaveActiveClass",
364
+ isSignal: true,
365
+ isRequired: false,
366
+ transformFunction: null
367
+ },
368
+ options: {
369
+ classPropertyName: "options",
370
+ publicName: "options",
371
+ isSignal: true,
372
+ isRequired: false,
373
+ transformFunction: null
374
+ }
375
+ },
376
+ outputs: {
377
+ onBeforeEnter: "onBeforeEnter",
378
+ onEnter: "onEnter",
379
+ onAfterEnter: "onAfterEnter",
380
+ onEnterCancelled: "onEnterCancelled",
381
+ onBeforeLeave: "onBeforeLeave",
382
+ onLeave: "onLeave",
383
+ onAfterLeave: "onAfterLeave",
384
+ onLeaveCancelled: "onLeaveCancelled"
385
+ },
386
+ host: { properties: { "class": "cx('root')" } },
387
+ providers: [
388
+ MotionStyle,
389
+ {
390
+ provide: MOTION_INSTANCE,
391
+ useExisting: Motion
392
+ },
393
+ {
394
+ provide: PARENT_INSTANCE,
395
+ useExisting: Motion
396
+ }
397
+ ],
398
+ usesInheritance: true,
399
+ hostDirectives: [{ directive: i1.Bind }],
400
+ ngImport: i0,
401
+ template: "@if (rendered()) {\n <ng-content />\n}\n",
402
+ dependencies: [{
403
+ kind: "ngmodule",
404
+ type: CommonModule
405
+ }, {
406
+ kind: "ngmodule",
407
+ type: BindModule
408
+ }],
409
+ changeDetection: i0.ChangeDetectionStrategy.Eager
410
+ });
411
+ };
412
+ i0.ɵɵngDeclareClassMetadata({
413
+ minVersion: "12.0.0",
414
+ version: "22.2.1",
415
+ ngImport: i0,
416
+ type: Motion,
417
+ decorators: [{
418
+ type: Component,
419
+ args: [{
420
+ selector: "h-motion",
421
+ standalone: true,
422
+ imports: [CommonModule, BindModule],
423
+ providers: [
424
+ MotionStyle,
425
+ {
426
+ provide: MOTION_INSTANCE,
427
+ useExisting: Motion
428
+ },
429
+ {
430
+ provide: PARENT_INSTANCE,
431
+ useExisting: Motion
432
+ }
433
+ ],
434
+ host: { "[class]": "cx('root')" },
435
+ changeDetection: ChangeDetectionStrategy.Eager,
436
+ hostDirectives: [Bind],
437
+ template: "@if (rendered()) {\n <ng-content />\n}\n"
438
+ }]
439
+ }],
440
+ ctorParameters: () => [],
441
+ propDecorators: {
442
+ visible: [{
443
+ type: i0.Input,
444
+ args: [{
445
+ isSignal: true,
446
+ alias: "visible",
447
+ required: false
448
+ }]
449
+ }],
450
+ mountOnEnter: [{
451
+ type: i0.Input,
452
+ args: [{
453
+ isSignal: true,
454
+ alias: "mountOnEnter",
455
+ required: false
456
+ }]
457
+ }],
458
+ unmountOnLeave: [{
459
+ type: i0.Input,
460
+ args: [{
461
+ isSignal: true,
462
+ alias: "unmountOnLeave",
463
+ required: false
464
+ }]
465
+ }],
466
+ name: [{
467
+ type: i0.Input,
468
+ args: [{
469
+ isSignal: true,
470
+ alias: "name",
471
+ required: false
472
+ }]
473
+ }],
474
+ type: [{
475
+ type: i0.Input,
476
+ args: [{
477
+ isSignal: true,
478
+ alias: "type",
479
+ required: false
480
+ }]
481
+ }],
482
+ safe: [{
483
+ type: i0.Input,
484
+ args: [{
485
+ isSignal: true,
486
+ alias: "safe",
487
+ required: false
488
+ }]
489
+ }],
490
+ disabled: [{
491
+ type: i0.Input,
492
+ args: [{
493
+ isSignal: true,
494
+ alias: "disabled",
495
+ required: false
496
+ }]
497
+ }],
498
+ appear: [{
499
+ type: i0.Input,
500
+ args: [{
501
+ isSignal: true,
502
+ alias: "appear",
503
+ required: false
504
+ }]
505
+ }],
506
+ enter: [{
507
+ type: i0.Input,
508
+ args: [{
509
+ isSignal: true,
510
+ alias: "enter",
511
+ required: false
512
+ }]
513
+ }],
514
+ leave: [{
515
+ type: i0.Input,
516
+ args: [{
517
+ isSignal: true,
518
+ alias: "leave",
519
+ required: false
520
+ }]
521
+ }],
522
+ duration: [{
523
+ type: i0.Input,
524
+ args: [{
525
+ isSignal: true,
526
+ alias: "duration",
527
+ required: false
528
+ }]
529
+ }],
530
+ hideStrategy: [{
531
+ type: i0.Input,
532
+ args: [{
533
+ isSignal: true,
534
+ alias: "hideStrategy",
535
+ required: false
536
+ }]
537
+ }],
538
+ enterFromClass: [{
539
+ type: i0.Input,
540
+ args: [{
541
+ isSignal: true,
542
+ alias: "enterFromClass",
543
+ required: false
544
+ }]
545
+ }],
546
+ enterToClass: [{
547
+ type: i0.Input,
548
+ args: [{
549
+ isSignal: true,
550
+ alias: "enterToClass",
551
+ required: false
552
+ }]
553
+ }],
554
+ enterActiveClass: [{
555
+ type: i0.Input,
556
+ args: [{
557
+ isSignal: true,
558
+ alias: "enterActiveClass",
559
+ required: false
560
+ }]
561
+ }],
562
+ leaveFromClass: [{
563
+ type: i0.Input,
564
+ args: [{
565
+ isSignal: true,
566
+ alias: "leaveFromClass",
567
+ required: false
568
+ }]
569
+ }],
570
+ leaveToClass: [{
571
+ type: i0.Input,
572
+ args: [{
573
+ isSignal: true,
574
+ alias: "leaveToClass",
575
+ required: false
576
+ }]
577
+ }],
578
+ leaveActiveClass: [{
579
+ type: i0.Input,
580
+ args: [{
581
+ isSignal: true,
582
+ alias: "leaveActiveClass",
583
+ required: false
584
+ }]
585
+ }],
586
+ options: [{
587
+ type: i0.Input,
588
+ args: [{
589
+ isSignal: true,
590
+ alias: "options",
591
+ required: false
592
+ }]
593
+ }],
594
+ onBeforeEnter: [{
595
+ type: i0.Output,
596
+ args: ["onBeforeEnter"]
597
+ }],
598
+ onEnter: [{
599
+ type: i0.Output,
600
+ args: ["onEnter"]
601
+ }],
602
+ onAfterEnter: [{
603
+ type: i0.Output,
604
+ args: ["onAfterEnter"]
605
+ }],
606
+ onEnterCancelled: [{
607
+ type: i0.Output,
608
+ args: ["onEnterCancelled"]
609
+ }],
610
+ onBeforeLeave: [{
611
+ type: i0.Output,
612
+ args: ["onBeforeLeave"]
613
+ }],
614
+ onLeave: [{
615
+ type: i0.Output,
616
+ args: ["onLeave"]
617
+ }],
618
+ onAfterLeave: [{
619
+ type: i0.Output,
620
+ args: ["onAfterLeave"]
621
+ }],
622
+ onLeaveCancelled: [{
623
+ type: i0.Output,
624
+ args: ["onLeaveCancelled"]
625
+ }]
626
+ }
627
+ });
628
+ const MOTION_DIRECTIVE_INSTANCE = new InjectionToken("MOTION_DIRECTIVE_INSTANCE");
629
+ var MotionDirective = class MotionDirective extends BaseComponent {
630
+ $pcMotionDirective = inject(MOTION_DIRECTIVE_INSTANCE, {
631
+ optional: true,
632
+ skipSelf: true
633
+ }) ?? void 0;
634
+ visible = input(false, {
635
+ ...ngDevMode ? { debugName: "visible" } : /* istanbul ignore next */ {},
636
+ alias: "hMotion"
637
+ });
638
+ name = input(void 0, {
639
+ ...ngDevMode ? { debugName: "name" } : /* istanbul ignore next */ {},
640
+ alias: "pMotionName"
641
+ });
642
+ type = input(void 0, {
643
+ ...ngDevMode ? { debugName: "type" } : /* istanbul ignore next */ {},
644
+ alias: "pMotionType"
645
+ });
646
+ safe = input(void 0, {
647
+ ...ngDevMode ? { debugName: "safe" } : /* istanbul ignore next */ {},
648
+ alias: "pMotionSafe"
649
+ });
650
+ disabled = input(false, {
651
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
652
+ alias: "pMotionDisabled"
653
+ });
654
+ appear = input(false, {
655
+ ...ngDevMode ? { debugName: "appear" } : /* istanbul ignore next */ {},
656
+ alias: "pMotionAppear"
657
+ });
658
+ enter = input(true, {
659
+ ...ngDevMode ? { debugName: "enter" } : /* istanbul ignore next */ {},
660
+ alias: "pMotionEnter"
661
+ });
662
+ leave = input(true, {
663
+ ...ngDevMode ? { debugName: "leave" } : /* istanbul ignore next */ {},
664
+ alias: "pMotionLeave"
665
+ });
666
+ duration = input(void 0, {
667
+ ...ngDevMode ? { debugName: "duration" } : /* istanbul ignore next */ {},
668
+ alias: "pMotionDuration"
669
+ });
670
+ hideStrategy = input("display", {
671
+ ...ngDevMode ? { debugName: "hideStrategy" } : /* istanbul ignore next */ {},
672
+ alias: "pMotionHideStrategy"
673
+ });
674
+ enterFromClass = input(void 0, {
675
+ ...ngDevMode ? { debugName: "enterFromClass" } : /* istanbul ignore next */ {},
676
+ alias: "pMotionEnterFromClass"
677
+ });
678
+ enterToClass = input(void 0, {
679
+ ...ngDevMode ? { debugName: "enterToClass" } : /* istanbul ignore next */ {},
680
+ alias: "pMotionEnterToClass"
681
+ });
682
+ enterActiveClass = input(void 0, {
683
+ ...ngDevMode ? { debugName: "enterActiveClass" } : /* istanbul ignore next */ {},
684
+ alias: "pMotionEnterActiveClass"
685
+ });
686
+ leaveFromClass = input(void 0, {
687
+ ...ngDevMode ? { debugName: "leaveFromClass" } : /* istanbul ignore next */ {},
688
+ alias: "pMotionLeaveFromClass"
689
+ });
690
+ leaveToClass = input(void 0, {
691
+ ...ngDevMode ? { debugName: "leaveToClass" } : /* istanbul ignore next */ {},
692
+ alias: "pMotionLeaveToClass"
693
+ });
694
+ leaveActiveClass = input(void 0, {
695
+ ...ngDevMode ? { debugName: "leaveActiveClass" } : /* istanbul ignore next */ {},
696
+ alias: "pMotionLeaveActiveClass"
697
+ });
698
+ options = input({}, {
699
+ ...ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {},
700
+ alias: "pMotionOptions"
701
+ });
702
+ onBeforeEnter = output({ alias: "pMotionOnBeforeEnter" });
703
+ onEnter = output({ alias: "pMotionOnEnter" });
704
+ onAfterEnter = output({ alias: "pMotionOnAfterEnter" });
705
+ onEnterCancelled = output({ alias: "pMotionOnEnterCancelled" });
706
+ onBeforeLeave = output({ alias: "pMotionOnBeforeLeave" });
707
+ onLeave = output({ alias: "pMotionOnLeave" });
708
+ onAfterLeave = output({ alias: "pMotionOnAfterLeave" });
709
+ onLeaveCancelled = output({ alias: "pMotionOnLeaveCancelled" });
710
+ motionOptions = computed(() => {
711
+ const options = this.options() ?? {};
712
+ return {
713
+ name: options.name ?? this.name(),
714
+ type: options.type ?? this.type(),
715
+ safe: options.safe ?? this.safe(),
716
+ disabled: options.disabled ?? this.disabled(),
717
+ appear: false,
718
+ enter: options.enter ?? this.enter(),
719
+ leave: options.leave ?? this.leave(),
720
+ duration: options.duration ?? this.duration(),
721
+ enterClass: {
722
+ from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : void 0),
723
+ to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : void 0),
724
+ active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : void 0)
725
+ },
726
+ leaveClass: {
727
+ from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : void 0),
728
+ to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : void 0),
729
+ active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : void 0)
730
+ },
731
+ onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,
732
+ onEnter: options.onEnter ?? this.handleEnter,
733
+ onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,
734
+ onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,
735
+ onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,
736
+ onLeave: options.onLeave ?? this.handleLeave,
737
+ onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,
738
+ onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled
739
+ };
740
+ }, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
741
+ motion;
742
+ isInitialMount = true;
743
+ cancelled = false;
744
+ destroyed = false;
745
+ handleBeforeEnter = (event) => !this.destroyed && this.onBeforeEnter.emit(event);
746
+ handleEnter = (event) => !this.destroyed && this.onEnter.emit(event);
747
+ handleAfterEnter = (event) => !this.destroyed && this.onAfterEnter.emit(event);
748
+ handleEnterCancelled = (event) => !this.destroyed && this.onEnterCancelled.emit(event);
749
+ handleBeforeLeave = (event) => !this.destroyed && this.onBeforeLeave.emit(event);
750
+ handleLeave = (event) => !this.destroyed && this.onLeave.emit(event);
751
+ handleAfterLeave = (event) => !this.destroyed && this.onAfterLeave.emit(event);
752
+ handleLeaveCancelled = (event) => !this.destroyed && this.onLeaveCancelled.emit(event);
753
+ constructor() {
754
+ super();
755
+ effect(() => {
756
+ if (!this.motion) this.motion = createMotion(this.$el, this.motionOptions());
757
+ });
758
+ afterRenderEffect(() => {
759
+ if (!this.$el) return;
760
+ const shouldAppear = this.isInitialMount && this.visible() && this.appear();
761
+ const hideStrategy = this.hideStrategy();
762
+ if (this.visible()) {
763
+ resetStyles(this.$el, hideStrategy);
764
+ if (shouldAppear || !this.isInitialMount) {
765
+ this.applyMotionDuration("enter");
766
+ this.motion?.enter();
767
+ }
768
+ } else if (!this.isInitialMount) {
769
+ this.applyMotionDuration("leave");
770
+ this.motion?.leave()?.then(() => {
771
+ if (this.$el && !this.cancelled && !this.visible()) applyHiddenStyles(this.$el, hideStrategy);
772
+ });
773
+ } else applyHiddenStyles(this.$el, hideStrategy);
774
+ this.isInitialMount = false;
775
+ });
776
+ }
777
+ applyMotionDuration(phase) {
778
+ const options = untracked(this.motionOptions);
779
+ const ms = resolveDuration(options.duration, phase);
780
+ if (ms == null || !this.$el) return;
781
+ const el = this.$el;
782
+ const durationValue = `${ms}ms`;
783
+ if (options.type === "transition") el.style.transitionDuration = durationValue;
784
+ else el.style.animationDuration = durationValue;
785
+ }
786
+ onDestroy() {
787
+ this.destroyed = true;
788
+ this.cancelled = true;
789
+ this.motion?.cancel();
790
+ this.motion = void 0;
791
+ resetStyles(this.$el, this.hideStrategy());
792
+ this.$el?.remove();
793
+ this.isInitialMount = true;
794
+ }
795
+ static ɵfac = i0.ɵɵngDeclareFactory({
796
+ minVersion: "12.0.0",
797
+ version: "22.2.1",
798
+ ngImport: i0,
799
+ type: MotionDirective,
800
+ deps: [],
801
+ target: i0.ɵɵFactoryTarget.Directive
802
+ });
803
+ static ɵdir = i0.ɵɵngDeclareDirective({
804
+ minVersion: "17.1.0",
805
+ version: "22.2.1",
806
+ type: MotionDirective,
807
+ isStandalone: true,
808
+ selector: "[hMotion]",
809
+ inputs: {
810
+ visible: {
811
+ classPropertyName: "visible",
812
+ publicName: "hMotion",
813
+ isSignal: true,
814
+ isRequired: false,
815
+ transformFunction: null
816
+ },
817
+ name: {
818
+ classPropertyName: "name",
819
+ publicName: "pMotionName",
820
+ isSignal: true,
821
+ isRequired: false,
822
+ transformFunction: null
823
+ },
824
+ type: {
825
+ classPropertyName: "type",
826
+ publicName: "pMotionType",
827
+ isSignal: true,
828
+ isRequired: false,
829
+ transformFunction: null
830
+ },
831
+ safe: {
832
+ classPropertyName: "safe",
833
+ publicName: "pMotionSafe",
834
+ isSignal: true,
835
+ isRequired: false,
836
+ transformFunction: null
837
+ },
838
+ disabled: {
839
+ classPropertyName: "disabled",
840
+ publicName: "pMotionDisabled",
841
+ isSignal: true,
842
+ isRequired: false,
843
+ transformFunction: null
844
+ },
845
+ appear: {
846
+ classPropertyName: "appear",
847
+ publicName: "pMotionAppear",
848
+ isSignal: true,
849
+ isRequired: false,
850
+ transformFunction: null
851
+ },
852
+ enter: {
853
+ classPropertyName: "enter",
854
+ publicName: "pMotionEnter",
855
+ isSignal: true,
856
+ isRequired: false,
857
+ transformFunction: null
858
+ },
859
+ leave: {
860
+ classPropertyName: "leave",
861
+ publicName: "pMotionLeave",
862
+ isSignal: true,
863
+ isRequired: false,
864
+ transformFunction: null
865
+ },
866
+ duration: {
867
+ classPropertyName: "duration",
868
+ publicName: "pMotionDuration",
869
+ isSignal: true,
870
+ isRequired: false,
871
+ transformFunction: null
872
+ },
873
+ hideStrategy: {
874
+ classPropertyName: "hideStrategy",
875
+ publicName: "pMotionHideStrategy",
876
+ isSignal: true,
877
+ isRequired: false,
878
+ transformFunction: null
879
+ },
880
+ enterFromClass: {
881
+ classPropertyName: "enterFromClass",
882
+ publicName: "pMotionEnterFromClass",
883
+ isSignal: true,
884
+ isRequired: false,
885
+ transformFunction: null
886
+ },
887
+ enterToClass: {
888
+ classPropertyName: "enterToClass",
889
+ publicName: "pMotionEnterToClass",
890
+ isSignal: true,
891
+ isRequired: false,
892
+ transformFunction: null
893
+ },
894
+ enterActiveClass: {
895
+ classPropertyName: "enterActiveClass",
896
+ publicName: "pMotionEnterActiveClass",
897
+ isSignal: true,
898
+ isRequired: false,
899
+ transformFunction: null
900
+ },
901
+ leaveFromClass: {
902
+ classPropertyName: "leaveFromClass",
903
+ publicName: "pMotionLeaveFromClass",
904
+ isSignal: true,
905
+ isRequired: false,
906
+ transformFunction: null
907
+ },
908
+ leaveToClass: {
909
+ classPropertyName: "leaveToClass",
910
+ publicName: "pMotionLeaveToClass",
911
+ isSignal: true,
912
+ isRequired: false,
913
+ transformFunction: null
914
+ },
915
+ leaveActiveClass: {
916
+ classPropertyName: "leaveActiveClass",
917
+ publicName: "pMotionLeaveActiveClass",
918
+ isSignal: true,
919
+ isRequired: false,
920
+ transformFunction: null
921
+ },
922
+ options: {
923
+ classPropertyName: "options",
924
+ publicName: "pMotionOptions",
925
+ isSignal: true,
926
+ isRequired: false,
927
+ transformFunction: null
928
+ }
929
+ },
930
+ outputs: {
931
+ onBeforeEnter: "pMotionOnBeforeEnter",
932
+ onEnter: "pMotionOnEnter",
933
+ onAfterEnter: "pMotionOnAfterEnter",
934
+ onEnterCancelled: "pMotionOnEnterCancelled",
935
+ onBeforeLeave: "pMotionOnBeforeLeave",
936
+ onLeave: "pMotionOnLeave",
937
+ onAfterLeave: "pMotionOnAfterLeave",
938
+ onLeaveCancelled: "pMotionOnLeaveCancelled"
939
+ },
940
+ providers: [
941
+ MotionStyle,
942
+ {
943
+ provide: MOTION_DIRECTIVE_INSTANCE,
944
+ useExisting: MotionDirective
945
+ },
946
+ {
947
+ provide: PARENT_INSTANCE,
948
+ useExisting: MotionDirective
949
+ }
950
+ ],
951
+ usesInheritance: true,
952
+ ngImport: i0
953
+ });
954
+ };
955
+ i0.ɵɵngDeclareClassMetadata({
956
+ minVersion: "12.0.0",
957
+ version: "22.2.1",
958
+ ngImport: i0,
959
+ type: MotionDirective,
960
+ decorators: [{
961
+ type: Directive,
962
+ args: [{
963
+ selector: "[hMotion]",
964
+ standalone: true,
965
+ providers: [
966
+ MotionStyle,
967
+ {
968
+ provide: MOTION_DIRECTIVE_INSTANCE,
969
+ useExisting: MotionDirective
970
+ },
971
+ {
972
+ provide: PARENT_INSTANCE,
973
+ useExisting: MotionDirective
974
+ }
975
+ ]
976
+ }]
977
+ }],
978
+ ctorParameters: () => [],
979
+ propDecorators: {
980
+ visible: [{
981
+ type: i0.Input,
982
+ args: [{
983
+ isSignal: true,
984
+ alias: "hMotion",
985
+ required: false
986
+ }]
987
+ }],
988
+ name: [{
989
+ type: i0.Input,
990
+ args: [{
991
+ isSignal: true,
992
+ alias: "pMotionName",
993
+ required: false
994
+ }]
995
+ }],
996
+ type: [{
997
+ type: i0.Input,
998
+ args: [{
999
+ isSignal: true,
1000
+ alias: "pMotionType",
1001
+ required: false
1002
+ }]
1003
+ }],
1004
+ safe: [{
1005
+ type: i0.Input,
1006
+ args: [{
1007
+ isSignal: true,
1008
+ alias: "pMotionSafe",
1009
+ required: false
1010
+ }]
1011
+ }],
1012
+ disabled: [{
1013
+ type: i0.Input,
1014
+ args: [{
1015
+ isSignal: true,
1016
+ alias: "pMotionDisabled",
1017
+ required: false
1018
+ }]
1019
+ }],
1020
+ appear: [{
1021
+ type: i0.Input,
1022
+ args: [{
1023
+ isSignal: true,
1024
+ alias: "pMotionAppear",
1025
+ required: false
1026
+ }]
1027
+ }],
1028
+ enter: [{
1029
+ type: i0.Input,
1030
+ args: [{
1031
+ isSignal: true,
1032
+ alias: "pMotionEnter",
1033
+ required: false
1034
+ }]
1035
+ }],
1036
+ leave: [{
1037
+ type: i0.Input,
1038
+ args: [{
1039
+ isSignal: true,
1040
+ alias: "pMotionLeave",
1041
+ required: false
1042
+ }]
1043
+ }],
1044
+ duration: [{
1045
+ type: i0.Input,
1046
+ args: [{
1047
+ isSignal: true,
1048
+ alias: "pMotionDuration",
1049
+ required: false
1050
+ }]
1051
+ }],
1052
+ hideStrategy: [{
1053
+ type: i0.Input,
1054
+ args: [{
1055
+ isSignal: true,
1056
+ alias: "pMotionHideStrategy",
1057
+ required: false
1058
+ }]
1059
+ }],
1060
+ enterFromClass: [{
1061
+ type: i0.Input,
1062
+ args: [{
1063
+ isSignal: true,
1064
+ alias: "pMotionEnterFromClass",
1065
+ required: false
1066
+ }]
1067
+ }],
1068
+ enterToClass: [{
1069
+ type: i0.Input,
1070
+ args: [{
1071
+ isSignal: true,
1072
+ alias: "pMotionEnterToClass",
1073
+ required: false
1074
+ }]
1075
+ }],
1076
+ enterActiveClass: [{
1077
+ type: i0.Input,
1078
+ args: [{
1079
+ isSignal: true,
1080
+ alias: "pMotionEnterActiveClass",
1081
+ required: false
1082
+ }]
1083
+ }],
1084
+ leaveFromClass: [{
1085
+ type: i0.Input,
1086
+ args: [{
1087
+ isSignal: true,
1088
+ alias: "pMotionLeaveFromClass",
1089
+ required: false
1090
+ }]
1091
+ }],
1092
+ leaveToClass: [{
1093
+ type: i0.Input,
1094
+ args: [{
1095
+ isSignal: true,
1096
+ alias: "pMotionLeaveToClass",
1097
+ required: false
1098
+ }]
1099
+ }],
1100
+ leaveActiveClass: [{
1101
+ type: i0.Input,
1102
+ args: [{
1103
+ isSignal: true,
1104
+ alias: "pMotionLeaveActiveClass",
1105
+ required: false
1106
+ }]
1107
+ }],
1108
+ options: [{
1109
+ type: i0.Input,
1110
+ args: [{
1111
+ isSignal: true,
1112
+ alias: "pMotionOptions",
1113
+ required: false
1114
+ }]
1115
+ }],
1116
+ onBeforeEnter: [{
1117
+ type: i0.Output,
1118
+ args: ["pMotionOnBeforeEnter"]
1119
+ }],
1120
+ onEnter: [{
1121
+ type: i0.Output,
1122
+ args: ["pMotionOnEnter"]
1123
+ }],
1124
+ onAfterEnter: [{
1125
+ type: i0.Output,
1126
+ args: ["pMotionOnAfterEnter"]
1127
+ }],
1128
+ onEnterCancelled: [{
1129
+ type: i0.Output,
1130
+ args: ["pMotionOnEnterCancelled"]
1131
+ }],
1132
+ onBeforeLeave: [{
1133
+ type: i0.Output,
1134
+ args: ["pMotionOnBeforeLeave"]
1135
+ }],
1136
+ onLeave: [{
1137
+ type: i0.Output,
1138
+ args: ["pMotionOnLeave"]
1139
+ }],
1140
+ onAfterLeave: [{
1141
+ type: i0.Output,
1142
+ args: ["pMotionOnAfterLeave"]
1143
+ }],
1144
+ onLeaveCancelled: [{
1145
+ type: i0.Output,
1146
+ args: ["pMotionOnLeaveCancelled"]
1147
+ }]
1148
+ }
1149
+ });
1150
+ var MotionModule = class MotionModule {
1151
+ static ɵfac = i0.ɵɵngDeclareFactory({
1152
+ minVersion: "12.0.0",
1153
+ version: "22.2.1",
1154
+ ngImport: i0,
1155
+ type: MotionModule,
1156
+ deps: [],
1157
+ target: i0.ɵɵFactoryTarget.NgModule
1158
+ });
1159
+ static ɵmod = i0.ɵɵngDeclareNgModule({
1160
+ minVersion: "14.0.0",
1161
+ version: "22.2.1",
1162
+ ngImport: i0,
1163
+ type: MotionModule,
1164
+ imports: [Motion, MotionDirective],
1165
+ exports: [Motion, MotionDirective]
1166
+ });
1167
+ static ɵinj = i0.ɵɵngDeclareInjector({
1168
+ minVersion: "12.0.0",
1169
+ version: "22.2.1",
1170
+ ngImport: i0,
1171
+ type: MotionModule,
1172
+ imports: [Motion]
1173
+ });
1174
+ };
1175
+ i0.ɵɵngDeclareClassMetadata({
1176
+ minVersion: "12.0.0",
1177
+ version: "22.2.1",
1178
+ ngImport: i0,
1179
+ type: MotionModule,
1180
+ decorators: [{
1181
+ type: NgModule,
1182
+ args: [{
1183
+ imports: [Motion, MotionDirective],
1184
+ exports: [Motion, MotionDirective]
1185
+ }]
1186
+ }]
1187
+ });
705
1188
  export { Motion, MotionDirective, MotionModule };
706
- //# sourceMappingURL=gravionlabs-helix-core-motion.mjs.map
1189
+
1190
+ //# sourceMappingURL=gravionlabs-helix-core-motion.mjs.map