@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,22 +1,21 @@
1
- export * from '@gravionlabs/helix-core/types/button';
2
- import * as i2 from '@angular/common';
3
- import { isPlatformBrowser, CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, input, inject, effect, Directive, booleanAttribute, contentChild, computed, numberAttribute, output, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
- import { addClass, isEmpty, findSingle, createElement } from '@gravionlabs/helix-core/uix/utils';
7
- import { HelixTemplate, SharedModule } from '@gravionlabs/helix-core/api';
8
- import { AutoFocus } from '@gravionlabs/helix-core/autofocus';
9
- import * as i3 from '@gravionlabs/helix-core/badge';
10
- import { BadgeModule } from '@gravionlabs/helix-core/badge';
11
- import { BaseComponent, PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
12
- import * as i1 from '@gravionlabs/helix-core/bind';
13
- import { Bind } from '@gravionlabs/helix-core/bind';
14
- import { Fluid } from '@gravionlabs/helix-core/fluid';
15
- import { SpinnerIcon } from '@gravionlabs/helix-core/icons';
16
- import { Ripple } from '@gravionlabs/helix-core/ripple';
17
- import { BaseStyle } from '@gravionlabs/helix-core/base';
18
-
19
- const style = /*css*/ `
1
+ import * as i2 from "@angular/common";
2
+ import { CommonModule, isPlatformBrowser } from "@angular/common";
3
+ import * as i0 from "@angular/core";
4
+ import { ChangeDetectionStrategy, Component, Directive, Injectable, InjectionToken, NgModule, ViewEncapsulation, booleanAttribute, computed, contentChild, contentChildren, effect, inject, input, numberAttribute, output } from "@angular/core";
5
+ import { addClass, createElement, findSingle, isEmpty } from "@gravionlabs/helix-core/uix/utils";
6
+ import { HelixTemplate, SharedModule } from "@gravionlabs/helix-core/api";
7
+ import { AutoFocus } from "@gravionlabs/helix-core/autofocus";
8
+ import * as i3 from "@gravionlabs/helix-core/badge";
9
+ import { BadgeModule } from "@gravionlabs/helix-core/badge";
10
+ import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
11
+ import * as i1 from "@gravionlabs/helix-core/bind";
12
+ import { Bind } from "@gravionlabs/helix-core/bind";
13
+ import { Fluid } from "@gravionlabs/helix-core/fluid";
14
+ import { SpinnerIcon } from "@gravionlabs/helix-core/icons";
15
+ import { Ripple } from "@gravionlabs/helix-core/ripple";
16
+ import { BaseStyle } from "@gravionlabs/helix-core/base";
17
+ export * from "@gravionlabs/helix-core/types/button";
18
+ const style = `
20
19
  .h-button {
21
20
  display: inline-flex;
22
21
  cursor: pointer;
@@ -667,387 +666,456 @@ const style = /*css*/ `
667
666
  color: dt('button.link.active.color');
668
667
  }
669
668
  `;
670
-
671
- const unwrap = (value) => (typeof value === 'function' ? value() : value);
669
+ const unwrap = (value) => typeof value === "function" ? value() : value;
672
670
  const classes = {
673
- root: ({ instance }) => {
674
- const label = unwrap(instance.label);
675
- const icon = unwrap(instance.icon);
676
- const loading = unwrap(instance.loading);
677
- const severity = unwrap(instance.severity);
678
- const iconPos = unwrap(instance.iconPos);
679
- const size = unwrap(instance.size);
680
- const variant = unwrap(instance.variant);
681
- const badge = unwrap(instance.badge);
682
- const buttonProps = unwrap(instance.buttonProps);
683
- return [
684
- 'h-button h-component',
685
- {
686
- 'h-button-icon-only': instance.hasIcon && !label && !buttonProps?.label && !badge,
687
- 'h-button-vertical': (iconPos === 'top' || iconPos === 'bottom') && label,
688
- 'h-button-loading': loading || buttonProps?.loading,
689
- 'h-button-link': unwrap(instance.link) || buttonProps?.link,
690
- [`h-button-${severity || buttonProps?.severity}`]: severity || buttonProps?.severity,
691
- 'h-button-raised': unwrap(instance.raised) || buttonProps?.raised,
692
- 'h-button-rounded': unwrap(instance.rounded) || buttonProps?.rounded,
693
- 'h-button-text': unwrap(instance.text) || variant === 'text' || buttonProps?.text || buttonProps?.variant === 'text',
694
- 'h-button-outlined': unwrap(instance.outlined) || variant === 'outlined' || buttonProps?.outlined || buttonProps?.variant === 'outlined',
695
- 'h-button-sm': size === 'small' || buttonProps?.size === 'small',
696
- 'h-button-lg': size === 'large' || buttonProps?.size === 'large',
697
- 'h-button-plain': unwrap(instance.plain) || buttonProps?.plain,
698
- 'h-button-fluid': instance.hasFluid
699
- }
700
- ];
701
- },
702
- loadingIcon: 'h-button-loading-icon',
703
- icon: ({ instance }) => {
704
- const label = unwrap(instance.label);
705
- const iconPos = unwrap(instance.iconPos);
706
- const buttonProps = unwrap(instance.buttonProps);
707
- return [
708
- 'h-button-icon',
709
- {
710
- [`h-button-icon-${iconPos || buttonProps?.iconPos}`]: label || buttonProps?.label,
711
- 'h-button-icon-left': ((iconPos === 'left' || buttonProps?.iconPos === 'left') && label) || buttonProps?.label,
712
- 'h-button-icon-right': ((iconPos === 'right' || buttonProps?.iconPos === 'right') && label) || buttonProps?.label,
713
- 'h-button-icon-top': ((iconPos === 'top' || buttonProps?.iconPos === 'top') && label) || buttonProps?.label,
714
- 'h-button-icon-bottom': ((iconPos === 'bottom' || buttonProps?.iconPos === 'bottom') && label) || buttonProps?.label
715
- },
716
- unwrap(instance.icon),
717
- buttonProps?.icon
718
- ];
719
- },
720
- spinnerIcon: ({ instance }) => {
721
- return Object.entries(instance.cx('icon'))
722
- .filter(([, value]) => !!value)
723
- .reduce((acc, [key]) => acc + ` ${key}`, 'h-button-loading-icon');
724
- },
725
- label: 'h-button-label'
671
+ root: ({ instance }) => {
672
+ const label = unwrap(instance.label);
673
+ unwrap(instance.icon);
674
+ const loading = unwrap(instance.loading);
675
+ const severity = unwrap(instance.severity);
676
+ const iconPos = unwrap(instance.iconPos);
677
+ const size = unwrap(instance.size);
678
+ const variant = unwrap(instance.variant);
679
+ const badge = unwrap(instance.badge);
680
+ const buttonProps = unwrap(instance.buttonProps);
681
+ return ["h-button h-component", {
682
+ "h-button-icon-only": instance.hasIcon && !label && !buttonProps?.label && !badge,
683
+ "h-button-vertical": (iconPos === "top" || iconPos === "bottom") && label,
684
+ "h-button-loading": loading || buttonProps?.loading,
685
+ "h-button-link": unwrap(instance.link) || buttonProps?.link,
686
+ [`h-button-${severity || buttonProps?.severity}`]: severity || buttonProps?.severity,
687
+ "h-button-raised": unwrap(instance.raised) || buttonProps?.raised,
688
+ "h-button-rounded": unwrap(instance.rounded) || buttonProps?.rounded,
689
+ "h-button-text": unwrap(instance.text) || variant === "text" || buttonProps?.text || buttonProps?.variant === "text",
690
+ "h-button-outlined": unwrap(instance.outlined) || variant === "outlined" || buttonProps?.outlined || buttonProps?.variant === "outlined",
691
+ "h-button-sm": size === "small" || buttonProps?.size === "small",
692
+ "h-button-lg": size === "large" || buttonProps?.size === "large",
693
+ "h-button-plain": unwrap(instance.plain) || buttonProps?.plain,
694
+ "h-button-fluid": instance.hasFluid
695
+ }];
696
+ },
697
+ loadingIcon: "h-button-loading-icon",
698
+ icon: ({ instance }) => {
699
+ const label = unwrap(instance.label);
700
+ const iconPos = unwrap(instance.iconPos);
701
+ const buttonProps = unwrap(instance.buttonProps);
702
+ return [
703
+ "h-button-icon",
704
+ {
705
+ [`h-button-icon-${iconPos || buttonProps?.iconPos}`]: label || buttonProps?.label,
706
+ "h-button-icon-left": (iconPos === "left" || buttonProps?.iconPos === "left") && label || buttonProps?.label,
707
+ "h-button-icon-right": (iconPos === "right" || buttonProps?.iconPos === "right") && label || buttonProps?.label,
708
+ "h-button-icon-top": (iconPos === "top" || buttonProps?.iconPos === "top") && label || buttonProps?.label,
709
+ "h-button-icon-bottom": (iconPos === "bottom" || buttonProps?.iconPos === "bottom") && label || buttonProps?.label
710
+ },
711
+ unwrap(instance.icon),
712
+ buttonProps?.icon
713
+ ];
714
+ },
715
+ spinnerIcon: ({ instance }) => {
716
+ return Object.entries(instance.cx("icon")).filter(([, value]) => !!value).reduce((acc, [key]) => acc + ` ${key}`, "h-button-loading-icon");
717
+ },
718
+ label: "h-button-label"
719
+ };
720
+ var ButtonStyle = class ButtonStyle extends BaseStyle {
721
+ name = "button";
722
+ style = style;
723
+ classes = classes;
724
+ static ɵfac = i0.ɵɵngDeclareFactory({
725
+ minVersion: "12.0.0",
726
+ version: "22.2.1",
727
+ ngImport: i0,
728
+ type: ButtonStyle,
729
+ deps: null,
730
+ target: i0.ɵɵFactoryTarget.Injectable
731
+ });
732
+ static ɵprov = i0.ɵɵngDeclareInjectable({
733
+ minVersion: "12.0.0",
734
+ version: "22.2.1",
735
+ ngImport: i0,
736
+ type: ButtonStyle
737
+ });
726
738
  };
727
- class ButtonStyle extends BaseStyle {
728
- name = 'button';
729
- style = style;
730
- classes = classes;
731
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
732
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle });
733
- }
734
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonStyle, decorators: [{
735
- type: Injectable
736
- }] });
737
- /**
738
- *
739
- * Button is an extension to standard button element with icons and theming.
740
- *
741
- * [Live Demo](https://www.primeng.org/button/)
742
- *
743
- * @module buttonstyle
744
- *
745
- */
739
+ i0.ɵɵngDeclareClassMetadata({
740
+ minVersion: "12.0.0",
741
+ version: "22.2.1",
742
+ ngImport: i0,
743
+ type: ButtonStyle,
744
+ decorators: [{ type: Injectable }]
745
+ });
746
746
  var ButtonClasses;
747
- (function (ButtonClasses) {
748
- /**
749
- * Class name of the root element
750
- */
751
- ButtonClasses["root"] = "h-button";
752
- /**
753
- * Class name of the loading icon element
754
- */
755
- ButtonClasses["loadingIcon"] = "h-button-loading-icon";
756
- /**
757
- * Class name of the icon element
758
- */
759
- ButtonClasses["icon"] = "h-button-icon";
760
- /**
761
- * Class name of the label element
762
- */
763
- ButtonClasses["label"] = "h-button-label";
747
+ (function(ButtonClasses) {
748
+ ButtonClasses["root"] = "h-button";
749
+ ButtonClasses["loadingIcon"] = "h-button-loading-icon";
750
+ ButtonClasses["icon"] = "h-button-icon";
751
+ ButtonClasses["label"] = "h-button-label";
764
752
  })(ButtonClasses || (ButtonClasses = {}));
765
-
766
- const BUTTON_INSTANCE = new InjectionToken('BUTTON_INSTANCE');
767
- const BUTTON_DIRECTIVE_INSTANCE = new InjectionToken('BUTTON_DIRECTIVE_INSTANCE');
768
- const BUTTON_LABEL_INSTANCE = new InjectionToken('BUTTON_LABEL_INSTANCE');
769
- const BUTTON_ICON_INSTANCE = new InjectionToken('BUTTON_ICON_INSTANCE');
753
+ const BUTTON_INSTANCE = new InjectionToken("BUTTON_INSTANCE");
754
+ const BUTTON_DIRECTIVE_INSTANCE = new InjectionToken("BUTTON_DIRECTIVE_INSTANCE");
755
+ const BUTTON_LABEL_INSTANCE = new InjectionToken("BUTTON_LABEL_INSTANCE");
756
+ const BUTTON_ICON_INSTANCE = new InjectionToken("BUTTON_ICON_INSTANCE");
770
757
  const INTERNAL_BUTTON_CLASSES = {
771
- button: 'h-button',
772
- component: 'h-component',
773
- iconOnly: 'h-button-icon-only',
774
- disabled: 'h-disabled',
775
- loading: 'h-button-loading',
776
- labelOnly: 'h-button-loading-label-only'
758
+ button: "h-button",
759
+ component: "h-component",
760
+ iconOnly: "h-button-icon-only",
761
+ disabled: "h-disabled",
762
+ loading: "h-button-loading",
763
+ labelOnly: "h-button-loading-label-only"
764
+ };
765
+ var ButtonLabel = class ButtonLabel extends BaseComponent {
766
+ componentName = "ButtonLabel";
767
+ ptButtonLabel = input(...ngDevMode ? [void 0, { debugName: "ptButtonLabel" }] : /* istanbul ignore next */ []);
768
+ pButtonLabelPT = input(...ngDevMode ? [void 0, { debugName: "pButtonLabelPT" }] : /* istanbul ignore next */ []);
769
+ pButtonLabelUnstyled = input(...ngDevMode ? [void 0, { debugName: "pButtonLabelUnstyled" }] : /* istanbul ignore next */ []);
770
+ $pcButtonLabel = inject(BUTTON_LABEL_INSTANCE, {
771
+ optional: true,
772
+ skipSelf: true
773
+ }) ?? void 0;
774
+ bindDirectiveInstance = inject(Bind, { self: true });
775
+ constructor() {
776
+ super();
777
+ effect(() => {
778
+ const pt = this.ptButtonLabel() || this.pButtonLabelPT();
779
+ pt && this.directivePT.set(pt);
780
+ });
781
+ effect(() => {
782
+ this.pButtonLabelUnstyled() && this.directiveUnstyled.set(this.pButtonLabelUnstyled());
783
+ });
784
+ }
785
+ onAfterViewChecked() {
786
+ this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
787
+ }
788
+ static ɵfac = i0.ɵɵngDeclareFactory({
789
+ minVersion: "12.0.0",
790
+ version: "22.2.1",
791
+ ngImport: i0,
792
+ type: ButtonLabel,
793
+ deps: [],
794
+ target: i0.ɵɵFactoryTarget.Directive
795
+ });
796
+ static ɵdir = i0.ɵɵngDeclareDirective({
797
+ minVersion: "17.1.0",
798
+ version: "22.2.1",
799
+ type: ButtonLabel,
800
+ isStandalone: true,
801
+ selector: "[hButtonLabel]",
802
+ inputs: {
803
+ ptButtonLabel: {
804
+ classPropertyName: "ptButtonLabel",
805
+ publicName: "ptButtonLabel",
806
+ isSignal: true,
807
+ isRequired: false,
808
+ transformFunction: null
809
+ },
810
+ pButtonLabelPT: {
811
+ classPropertyName: "pButtonLabelPT",
812
+ publicName: "pButtonLabelPT",
813
+ isSignal: true,
814
+ isRequired: false,
815
+ transformFunction: null
816
+ },
817
+ pButtonLabelUnstyled: {
818
+ classPropertyName: "pButtonLabelUnstyled",
819
+ publicName: "pButtonLabelUnstyled",
820
+ isSignal: true,
821
+ isRequired: false,
822
+ transformFunction: null
823
+ }
824
+ },
825
+ host: { properties: { "class.h-button-label": "!$unstyled() && true" } },
826
+ providers: [
827
+ ButtonStyle,
828
+ {
829
+ provide: BUTTON_LABEL_INSTANCE,
830
+ useExisting: ButtonLabel
831
+ },
832
+ {
833
+ provide: PARENT_INSTANCE,
834
+ useExisting: ButtonLabel
835
+ }
836
+ ],
837
+ usesInheritance: true,
838
+ hostDirectives: [{ directive: i1.Bind }],
839
+ ngImport: i0
840
+ });
841
+ };
842
+ i0.ɵɵngDeclareClassMetadata({
843
+ minVersion: "12.0.0",
844
+ version: "22.2.1",
845
+ ngImport: i0,
846
+ type: ButtonLabel,
847
+ decorators: [{
848
+ type: Directive,
849
+ args: [{
850
+ selector: "[hButtonLabel]",
851
+ providers: [
852
+ ButtonStyle,
853
+ {
854
+ provide: BUTTON_LABEL_INSTANCE,
855
+ useExisting: ButtonLabel
856
+ },
857
+ {
858
+ provide: PARENT_INSTANCE,
859
+ useExisting: ButtonLabel
860
+ }
861
+ ],
862
+ standalone: true,
863
+ host: { "[class.h-button-label]": "!$unstyled() && true" },
864
+ hostDirectives: [Bind]
865
+ }]
866
+ }],
867
+ ctorParameters: () => [],
868
+ propDecorators: {
869
+ ptButtonLabel: [{
870
+ type: i0.Input,
871
+ args: [{
872
+ isSignal: true,
873
+ alias: "ptButtonLabel",
874
+ required: false
875
+ }]
876
+ }],
877
+ pButtonLabelPT: [{
878
+ type: i0.Input,
879
+ args: [{
880
+ isSignal: true,
881
+ alias: "pButtonLabelPT",
882
+ required: false
883
+ }]
884
+ }],
885
+ pButtonLabelUnstyled: [{
886
+ type: i0.Input,
887
+ args: [{
888
+ isSignal: true,
889
+ alias: "pButtonLabelUnstyled",
890
+ required: false
891
+ }]
892
+ }]
893
+ }
894
+ });
895
+ var ButtonIcon = class ButtonIcon extends BaseComponent {
896
+ componentName = "ButtonIcon";
897
+ ptButtonIcon = input(...ngDevMode ? [void 0, { debugName: "ptButtonIcon" }] : /* istanbul ignore next */ []);
898
+ pButtonIconPT = input(...ngDevMode ? [void 0, { debugName: "pButtonIconPT" }] : /* istanbul ignore next */ []);
899
+ pButtonUnstyled = input(...ngDevMode ? [void 0, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []);
900
+ $pcButtonIcon = inject(BUTTON_ICON_INSTANCE, {
901
+ optional: true,
902
+ skipSelf: true
903
+ }) ?? void 0;
904
+ bindDirectiveInstance = inject(Bind, { self: true });
905
+ constructor() {
906
+ super();
907
+ effect(() => {
908
+ const pt = this.ptButtonIcon() || this.pButtonIconPT();
909
+ pt && this.directivePT.set(pt);
910
+ });
911
+ effect(() => {
912
+ this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
913
+ });
914
+ }
915
+ onAfterViewChecked() {
916
+ this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
917
+ }
918
+ static ɵfac = i0.ɵɵngDeclareFactory({
919
+ minVersion: "12.0.0",
920
+ version: "22.2.1",
921
+ ngImport: i0,
922
+ type: ButtonIcon,
923
+ deps: [],
924
+ target: i0.ɵɵFactoryTarget.Directive
925
+ });
926
+ static ɵdir = i0.ɵɵngDeclareDirective({
927
+ minVersion: "17.1.0",
928
+ version: "22.2.1",
929
+ type: ButtonIcon,
930
+ isStandalone: true,
931
+ selector: "[hButtonIcon]",
932
+ inputs: {
933
+ ptButtonIcon: {
934
+ classPropertyName: "ptButtonIcon",
935
+ publicName: "ptButtonIcon",
936
+ isSignal: true,
937
+ isRequired: false,
938
+ transformFunction: null
939
+ },
940
+ pButtonIconPT: {
941
+ classPropertyName: "pButtonIconPT",
942
+ publicName: "pButtonIconPT",
943
+ isSignal: true,
944
+ isRequired: false,
945
+ transformFunction: null
946
+ },
947
+ pButtonUnstyled: {
948
+ classPropertyName: "pButtonUnstyled",
949
+ publicName: "pButtonUnstyled",
950
+ isSignal: true,
951
+ isRequired: false,
952
+ transformFunction: null
953
+ }
954
+ },
955
+ host: { properties: { "class.h-button-icon": "!$unstyled() && true" } },
956
+ providers: [
957
+ ButtonStyle,
958
+ {
959
+ provide: BUTTON_ICON_INSTANCE,
960
+ useExisting: ButtonIcon
961
+ },
962
+ {
963
+ provide: PARENT_INSTANCE,
964
+ useExisting: ButtonIcon
965
+ }
966
+ ],
967
+ usesInheritance: true,
968
+ hostDirectives: [{ directive: i1.Bind }],
969
+ ngImport: i0
970
+ });
777
971
  };
778
- class ButtonLabel extends BaseComponent {
779
- componentName = 'ButtonLabel';
780
- /**
781
- * Used to pass attributes to DOM elements inside the hButtonLabel.
782
- * @defaultValue undefined
783
- * @deprecated use pButtonLabelPT instead.
784
- * @group Props
785
- */
786
- ptButtonLabel = input(/* @ts-ignore */
787
- ...(ngDevMode ? [undefined, { debugName: "ptButtonLabel" }] : /* istanbul ignore next */ []));
788
- /**
789
- * Used to pass attributes to DOM elements inside the hButtonLabel.
790
- * @defaultValue undefined
791
- * @group Props
792
- */
793
- pButtonLabelPT = input(/* @ts-ignore */
794
- ...(ngDevMode ? [undefined, { debugName: "pButtonLabelPT" }] : /* istanbul ignore next */ []));
795
- /**
796
- * Indicates whether the component should be rendered without styles.
797
- * @defaultValue undefined
798
- * @group Props
799
- */
800
- pButtonLabelUnstyled = input(/* @ts-ignore */
801
- ...(ngDevMode ? [undefined, { debugName: "pButtonLabelUnstyled" }] : /* istanbul ignore next */ []));
802
- $pcButtonLabel = inject(BUTTON_LABEL_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
803
- bindDirectiveInstance = inject(Bind, { self: true });
804
- constructor() {
805
- super();
806
- effect(() => {
807
- const pt = this.ptButtonLabel() || this.pButtonLabelPT();
808
- pt && this.directivePT.set(pt);
809
- });
810
- effect(() => {
811
- this.pButtonLabelUnstyled() && this.directiveUnstyled.set(this.pButtonLabelUnstyled());
812
- });
813
- }
814
- onAfterViewChecked() {
815
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
816
- }
817
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
818
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: ButtonLabel, isStandalone: true, selector: "[hButtonLabel]", inputs: { ptButtonLabel: { classPropertyName: "ptButtonLabel", publicName: "ptButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelPT: { classPropertyName: "pButtonLabelPT", publicName: "pButtonLabelPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelUnstyled: { classPropertyName: "pButtonLabelUnstyled", publicName: "pButtonLabelUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.h-button-label": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
819
- }
820
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonLabel, decorators: [{
821
- type: Directive,
822
- args: [{
823
- selector: '[hButtonLabel]',
824
- providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }],
825
- standalone: true,
826
- host: {
827
- '[class.h-button-label]': '!$unstyled() && true'
828
- },
829
- hostDirectives: [Bind]
830
- }]
831
- }], ctorParameters: () => [], propDecorators: { ptButtonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonLabel", required: false }] }], pButtonLabelPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonLabelPT", required: false }] }], pButtonLabelUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonLabelUnstyled", required: false }] }] } });
832
- class ButtonIcon extends BaseComponent {
833
- componentName = 'ButtonIcon';
834
- /**
835
- * Used to pass attributes to DOM elements inside the hButtonIcon.
836
- * @defaultValue undefined
837
- * @deprecated use pButtonIconPT instead.
838
- * @group Props
839
- */
840
- ptButtonIcon = input(/* @ts-ignore */
841
- ...(ngDevMode ? [undefined, { debugName: "ptButtonIcon" }] : /* istanbul ignore next */ []));
842
- /**
843
- * Used to pass attributes to DOM elements inside the hButtonIcon.
844
- * @defaultValue undefined
845
- * @group Props
846
- */
847
- pButtonIconPT = input(/* @ts-ignore */
848
- ...(ngDevMode ? [undefined, { debugName: "pButtonIconPT" }] : /* istanbul ignore next */ []));
849
- /**
850
- * Indicates whether the component should be rendered without styles.
851
- * @defaultValue undefined
852
- * @group Props
853
- */
854
- pButtonUnstyled = input(/* @ts-ignore */
855
- ...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
856
- $pcButtonIcon = inject(BUTTON_ICON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
857
- bindDirectiveInstance = inject(Bind, { self: true });
858
- constructor() {
859
- super();
860
- effect(() => {
861
- const pt = this.ptButtonIcon() || this.pButtonIconPT();
862
- pt && this.directivePT.set(pt);
863
- });
864
- effect(() => {
865
- this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
866
- });
867
- }
868
- onAfterViewChecked() {
869
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
870
- }
871
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
872
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: ButtonIcon, isStandalone: true, selector: "[hButtonIcon]", inputs: { ptButtonIcon: { classPropertyName: "ptButtonIcon", publicName: "ptButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, pButtonIconPT: { classPropertyName: "pButtonIconPT", publicName: "pButtonIconPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.h-button-icon": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
873
- }
874
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonIcon, decorators: [{
875
- type: Directive,
876
- args: [{
877
- selector: '[hButtonIcon]',
878
- providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }],
879
- standalone: true,
880
- host: {
881
- '[class.h-button-icon]': '!$unstyled() && true'
882
- },
883
- hostDirectives: [Bind]
884
- }]
885
- }], ctorParameters: () => [], propDecorators: { ptButtonIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonIcon", required: false }] }], pButtonIconPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonIconPT", required: false }] }], pButtonUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonUnstyled", required: false }] }] } });
886
- /**
887
- * Button directive is an extension to button component.
888
- * @group Components
889
- */
890
- class ButtonDirective extends BaseComponent {
891
- componentName = 'Button';
892
- $pcButtonDirective = inject(BUTTON_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
893
- bindDirectiveInstance = inject(Bind, { self: true });
894
- _componentStyle = inject(ButtonStyle);
895
- /**
896
- * Used to pass attributes to DOM elements inside the Button component.
897
- * @defaultValue undefined
898
- * @deprecated use pButtonPT instead.
899
- * @group Props
900
- */
901
- ptButtonDirective = input(/* @ts-ignore */
902
- ...(ngDevMode ? [undefined, { debugName: "ptButtonDirective" }] : /* istanbul ignore next */ []));
903
- /**
904
- * Used to pass attributes to DOM elements inside the Button component.
905
- * @defaultValue undefined
906
- * @group Props
907
- */
908
- pButtonPT = input(/* @ts-ignore */
909
- ...(ngDevMode ? [undefined, { debugName: "pButtonPT" }] : /* istanbul ignore next */ []));
910
- /**
911
- * Indicates whether the component should be rendered without styles.
912
- * @defaultValue undefined
913
- * @group Props
914
- */
915
- pButtonUnstyled = input(/* @ts-ignore */
916
- ...(ngDevMode ? [undefined, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []));
917
- hostName = input('', /* @ts-ignore */
918
- ...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
919
- onAfterViewChecked() {
920
- this.bindDirectiveInstance.setAttrs(this.ptm('root'));
921
- }
922
- constructor() {
923
- super();
924
- effect(() => {
925
- const pt = this.ptButtonDirective() || this.pButtonPT();
926
- pt && this.directivePT.set(pt);
927
- });
928
- effect(() => {
929
- this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
930
- });
931
- effect(() => {
932
- const unstyled = this.$unstyled();
933
- if (this.initialized && unstyled) {
934
- this.setStyleClass();
935
- }
936
- });
937
- effect(() => {
938
- this.label();
939
- this.icon();
940
- this.loading();
941
- this.severity();
942
- if (this.initialized) {
943
- this.updateLabel();
944
- this.updateIcon();
945
- this.setStyleClass();
946
- }
947
- });
948
- effect(() => {
949
- const val = this.buttonProps();
950
- if (val && typeof val === 'object') {
951
- Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
952
- }
953
- });
954
- }
955
- /**
956
- * Add a textual class to the button without a background initially.
957
- * @group Props
958
- */
959
- text = input(false, { ...(ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
960
- /**
961
- * Add a plain textual class to the button without a background initially.
962
- * @group Props
963
- */
964
- plain = input(false, { ...(ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
965
- /**
966
- * Add a shadow to indicate elevation.
967
- * @group Props
968
- */
969
- raised = input(false, { ...(ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
970
- /**
971
- * Defines the size of the button.
972
- * @group Props
973
- */
974
- size = input(/* @ts-ignore */
975
- ...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
976
- /**
977
- * Add a border class without a background initially.
978
- * @group Props
979
- */
980
- outlined = input(false, { ...(ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
981
- /**
982
- * Add a circular border radius to the button.
983
- * @group Props
984
- */
985
- rounded = input(false, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
986
- /**
987
- * Position of the icon.
988
- * @group Props
989
- */
990
- iconPos = input('left', /* @ts-ignore */
991
- ...(ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []));
992
- /**
993
- * Icon to display in loading state.
994
- * @group Props
995
- */
996
- loadingIcon = input(/* @ts-ignore */
997
- ...(ngDevMode ? [undefined, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []));
998
- /**
999
- * Spans 100% width of the container when enabled.
1000
- * @defaultValue undefined
1001
- * @group Props
1002
- */
1003
- fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1004
- iconSignal = contentChild(ButtonIcon, /* @ts-ignore */
1005
- ...(ngDevMode ? [{ debugName: "iconSignal" }] : /* istanbul ignore next */ []));
1006
- labelSignal = contentChild(ButtonLabel, /* @ts-ignore */
1007
- ...(ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []));
1008
- isIconOnly = computed(() => !!(!this.labelSignal() && this.iconSignal()), /* @ts-ignore */
1009
- ...(ngDevMode ? [{ debugName: "isIconOnly" }] : /* istanbul ignore next */ []));
1010
- initialized;
1011
- get htmlElement() {
1012
- return this.el.nativeElement;
1013
- }
1014
- _internalClasses = Object.values(INTERNAL_BUTTON_CLASSES);
1015
- pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
1016
- isTextButton = computed(() => !!(!this.iconSignal() && this.labelSignal() && this.text()), /* @ts-ignore */
1017
- ...(ngDevMode ? [{ debugName: "isTextButton" }] : /* istanbul ignore next */ []));
1018
- /**
1019
- * Text of the button.
1020
- * @deprecated use hButtonLabel directive instead.
1021
- * @group Props
1022
- */
1023
- label = input(undefined, /* @ts-ignore */
1024
- ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
1025
- /**
1026
- * Name of the icon.
1027
- * @deprecated use hButtonIcon directive instead
1028
- * @group Props
1029
- */
1030
- icon = input(undefined, /* @ts-ignore */
1031
- ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
1032
- /**
1033
- * Whether the button is in loading state.
1034
- * @group Props
1035
- */
1036
- loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1037
- /**
1038
- * Used to pass all properties of the ButtonProps to the Button component.
1039
- * @deprecated assign props directly to the button element.
1040
- * @group Props
1041
- */
1042
- buttonProps = input(undefined, /* @ts-ignore */
1043
- ...(ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []));
1044
- /**
1045
- * Defines the style of the button.
1046
- * @group Props
1047
- */
1048
- severity = input(undefined, /* @ts-ignore */
1049
- ...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
1050
- spinnerIcon = `<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-icon-spin">
972
+ i0.ɵɵngDeclareClassMetadata({
973
+ minVersion: "12.0.0",
974
+ version: "22.2.1",
975
+ ngImport: i0,
976
+ type: ButtonIcon,
977
+ decorators: [{
978
+ type: Directive,
979
+ args: [{
980
+ selector: "[hButtonIcon]",
981
+ providers: [
982
+ ButtonStyle,
983
+ {
984
+ provide: BUTTON_ICON_INSTANCE,
985
+ useExisting: ButtonIcon
986
+ },
987
+ {
988
+ provide: PARENT_INSTANCE,
989
+ useExisting: ButtonIcon
990
+ }
991
+ ],
992
+ standalone: true,
993
+ host: { "[class.h-button-icon]": "!$unstyled() && true" },
994
+ hostDirectives: [Bind]
995
+ }]
996
+ }],
997
+ ctorParameters: () => [],
998
+ propDecorators: {
999
+ ptButtonIcon: [{
1000
+ type: i0.Input,
1001
+ args: [{
1002
+ isSignal: true,
1003
+ alias: "ptButtonIcon",
1004
+ required: false
1005
+ }]
1006
+ }],
1007
+ pButtonIconPT: [{
1008
+ type: i0.Input,
1009
+ args: [{
1010
+ isSignal: true,
1011
+ alias: "pButtonIconPT",
1012
+ required: false
1013
+ }]
1014
+ }],
1015
+ pButtonUnstyled: [{
1016
+ type: i0.Input,
1017
+ args: [{
1018
+ isSignal: true,
1019
+ alias: "pButtonUnstyled",
1020
+ required: false
1021
+ }]
1022
+ }]
1023
+ }
1024
+ });
1025
+ var ButtonDirective = class ButtonDirective extends BaseComponent {
1026
+ componentName = "Button";
1027
+ $pcButtonDirective = inject(BUTTON_DIRECTIVE_INSTANCE, {
1028
+ optional: true,
1029
+ skipSelf: true
1030
+ }) ?? void 0;
1031
+ bindDirectiveInstance = inject(Bind, { self: true });
1032
+ _componentStyle = inject(ButtonStyle);
1033
+ ptButtonDirective = input(...ngDevMode ? [void 0, { debugName: "ptButtonDirective" }] : /* istanbul ignore next */ []);
1034
+ pButtonPT = input(...ngDevMode ? [void 0, { debugName: "pButtonPT" }] : /* istanbul ignore next */ []);
1035
+ pButtonUnstyled = input(...ngDevMode ? [void 0, { debugName: "pButtonUnstyled" }] : /* istanbul ignore next */ []);
1036
+ hostName = input("", ...ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []);
1037
+ onAfterViewChecked() {
1038
+ this.bindDirectiveInstance.setAttrs(this.ptm("root"));
1039
+ }
1040
+ constructor() {
1041
+ super();
1042
+ effect(() => {
1043
+ const pt = this.ptButtonDirective() || this.pButtonPT();
1044
+ pt && this.directivePT.set(pt);
1045
+ });
1046
+ effect(() => {
1047
+ this.pButtonUnstyled() && this.directiveUnstyled.set(this.pButtonUnstyled());
1048
+ });
1049
+ effect(() => {
1050
+ const unstyled = this.$unstyled();
1051
+ if (this.initialized && unstyled) this.setStyleClass();
1052
+ });
1053
+ effect(() => {
1054
+ this.label();
1055
+ this.icon();
1056
+ this.loading();
1057
+ this.severity();
1058
+ if (this.initialized) {
1059
+ this.updateLabel();
1060
+ this.updateIcon();
1061
+ this.setStyleClass();
1062
+ }
1063
+ });
1064
+ effect(() => {
1065
+ const val = this.buttonProps();
1066
+ if (val && typeof val === "object") Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
1067
+ });
1068
+ }
1069
+ text = input(false, {
1070
+ ...ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {},
1071
+ transform: booleanAttribute
1072
+ });
1073
+ plain = input(false, {
1074
+ ...ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {},
1075
+ transform: booleanAttribute
1076
+ });
1077
+ raised = input(false, {
1078
+ ...ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {},
1079
+ transform: booleanAttribute
1080
+ });
1081
+ size = input(...ngDevMode ? [void 0, { debugName: "size" }] : /* istanbul ignore next */ []);
1082
+ outlined = input(false, {
1083
+ ...ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {},
1084
+ transform: booleanAttribute
1085
+ });
1086
+ rounded = input(false, {
1087
+ ...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
1088
+ transform: booleanAttribute
1089
+ });
1090
+ iconPos = input("left", ...ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []);
1091
+ loadingIcon = input(...ngDevMode ? [void 0, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []);
1092
+ fluid = input(void 0, {
1093
+ ...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
1094
+ transform: booleanAttribute
1095
+ });
1096
+ iconSignal = contentChild(ButtonIcon, ...ngDevMode ? [{ debugName: "iconSignal" }] : /* istanbul ignore next */ []);
1097
+ labelSignal = contentChild(ButtonLabel, ...ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []);
1098
+ isIconOnly = computed(() => !!(!this.labelSignal() && this.iconSignal()), ...ngDevMode ? [{ debugName: "isIconOnly" }] : /* istanbul ignore next */ []);
1099
+ initialized;
1100
+ get htmlElement() {
1101
+ return this.el.nativeElement;
1102
+ }
1103
+ _internalClasses = Object.values(INTERNAL_BUTTON_CLASSES);
1104
+ pcFluid = inject(Fluid, {
1105
+ optional: true,
1106
+ host: true,
1107
+ skipSelf: true
1108
+ });
1109
+ isTextButton = computed(() => !!(!this.iconSignal() && this.labelSignal() && this.text()), ...ngDevMode ? [{ debugName: "isTextButton" }] : /* istanbul ignore next */ []);
1110
+ label = input(void 0, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
1111
+ icon = input(void 0, ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
1112
+ loading = input(false, {
1113
+ ...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
1114
+ transform: booleanAttribute
1115
+ });
1116
+ buttonProps = input(void 0, ...ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []);
1117
+ severity = input(void 0, ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
1118
+ spinnerIcon = `<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-icon-spin">
1051
1119
  <g clip-path="url(#clip0_417_21408)">
1052
1120
  <path
1053
1121
  d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"
@@ -1060,435 +1128,1281 @@ class ButtonDirective extends BaseComponent {
1060
1128
  </clipPath>
1061
1129
  </defs>
1062
1130
  </svg>`;
1063
- onAfterViewInit() {
1064
- !this.$unstyled() && addClass(this.htmlElement, this.getStyleClass().join(' '));
1065
- if (isPlatformBrowser(this.platformId)) {
1066
- this.createIcon();
1067
- this.createLabel();
1068
- this.initialized = true;
1069
- }
1070
- }
1071
- getStyleClass() {
1072
- const styleClass = [INTERNAL_BUTTON_CLASSES.button, INTERNAL_BUTTON_CLASSES.component];
1073
- if (this.icon() && !this.label() && isEmpty(this.htmlElement.textContent)) {
1074
- styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
1075
- }
1076
- if (this.loading()) {
1077
- styleClass.push(INTERNAL_BUTTON_CLASSES.disabled, INTERNAL_BUTTON_CLASSES.loading);
1078
- if (!this.icon() && this.label()) {
1079
- styleClass.push(INTERNAL_BUTTON_CLASSES.labelOnly);
1080
- }
1081
- if (this.icon() && !this.label() && !isEmpty(this.htmlElement.textContent)) {
1082
- styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
1083
- }
1084
- }
1085
- if (this.text()) {
1086
- styleClass.push('h-button-text');
1087
- }
1088
- if (this.severity()) {
1089
- styleClass.push(`h-button-${this.severity()}`);
1090
- }
1091
- if (this.plain()) {
1092
- styleClass.push('h-button-plain');
1093
- }
1094
- if (this.raised()) {
1095
- styleClass.push('h-button-raised');
1096
- }
1097
- const size = this.size();
1098
- if (size) {
1099
- styleClass.push(`h-button-${size}`);
1100
- }
1101
- if (this.outlined()) {
1102
- styleClass.push('h-button-outlined');
1103
- }
1104
- if (this.rounded()) {
1105
- styleClass.push('h-button-rounded');
1106
- }
1107
- if (size === 'small') {
1108
- styleClass.push('h-button-sm');
1109
- }
1110
- if (size === 'large') {
1111
- styleClass.push('h-button-lg');
1112
- }
1113
- if (this.hasFluid) {
1114
- styleClass.push('h-button-fluid');
1115
- }
1116
- return this.$unstyled() ? [] : styleClass;
1117
- }
1118
- get hasFluid() {
1119
- return this.fluid() ?? !!this.pcFluid;
1120
- }
1121
- setStyleClass() {
1122
- const styleClass = this.getStyleClass();
1123
- this.removeExistingSeverityClass();
1124
- this.htmlElement.classList.remove(...this._internalClasses);
1125
- this.htmlElement.classList.add(...styleClass);
1126
- }
1127
- removeExistingSeverityClass() {
1128
- const severityArray = ['success', 'info', 'warn', 'danger', 'help', 'primary', 'secondary', 'contrast'];
1129
- const existingSeverityClass = this.htmlElement.classList.value.split(' ').find((cls) => severityArray.some((severity) => cls === `h-button-${severity}`));
1130
- if (existingSeverityClass) {
1131
- this.htmlElement.classList.remove(existingSeverityClass);
1132
- }
1133
- }
1134
- createLabel() {
1135
- const created = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
1136
- const labelVal = this.label();
1137
- if (!created && labelVal) {
1138
- let labelElement = createElement('span', { class: this.cx('label'), 'h-bind': this.ptm('buttonlabel'), 'aria-hidden': this.icon() && !labelVal ? 'true' : null });
1139
- labelElement.appendChild(this.document.createTextNode(labelVal));
1140
- this.htmlElement.appendChild(labelElement);
1141
- }
1142
- }
1143
- createIcon() {
1144
- const created = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
1145
- if (!created && (this.icon() || this.loading())) {
1146
- let iconPosClass = this.label() && !this.$unstyled() ? 'h-button-icon-' + this.iconPos() : null;
1147
- let iconClass = !this.$unstyled() && this.getIconClass();
1148
- let iconElement = createElement('span', { class: this.cn(this.cx('icon'), iconPosClass, iconClass), 'aria-hidden': 'true', 'h-bind': this.ptm('buttonicon') });
1149
- if (!this.loadingIcon() && this.loading()) {
1150
- iconElement.innerHTML = this.spinnerIcon;
1151
- }
1152
- this.htmlElement.insertBefore(iconElement, this.htmlElement.firstChild);
1153
- }
1154
- }
1155
- updateLabel() {
1156
- let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
1157
- const labelVal = this.label();
1158
- if (!labelVal) {
1159
- labelElement && this.htmlElement.removeChild(labelElement);
1160
- return;
1161
- }
1162
- labelElement ? (labelElement.textContent = labelVal) : this.createLabel();
1163
- }
1164
- updateIcon() {
1165
- let iconElement = findSingle(this.htmlElement, '[data-pc-section="buttonicon"]');
1166
- let labelElement = findSingle(this.htmlElement, '[data-pc-section="buttonlabel"]');
1167
- if (this.loading() && !this.loadingIcon() && iconElement) {
1168
- iconElement.innerHTML = this.spinnerIcon;
1169
- }
1170
- else if (iconElement?.innerHTML) {
1171
- iconElement.innerHTML = '';
1172
- }
1173
- if (iconElement && !this.$unstyled()) {
1174
- const iconPos = this.iconPos();
1175
- if (iconPos) {
1176
- iconElement.className = 'h-button-icon ' + (labelElement ? 'h-button-icon-' + iconPos : '') + ' ' + this.getIconClass();
1177
- }
1178
- else {
1179
- iconElement.className = 'h-button-icon ' + this.getIconClass();
1180
- }
1181
- }
1182
- else {
1183
- this.createIcon();
1184
- }
1185
- }
1186
- getIconClass() {
1187
- const loadingIcon = this.loadingIcon();
1188
- return this.loading() ? 'h-button-loading-icon ' + (loadingIcon ? loadingIcon : 'h-icon') : this.icon() || 'h-hidden';
1189
- }
1190
- onDestroy() {
1191
- this.initialized = false;
1192
- }
1193
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1194
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.6", type: ButtonDirective, isStandalone: true, selector: "[hButton]", inputs: { ptButtonDirective: { classPropertyName: "ptButtonDirective", publicName: "ptButtonDirective", isSignal: true, isRequired: false, transformFunction: null }, pButtonPT: { classPropertyName: "pButtonPT", publicName: "pButtonPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null }, hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: true, isRequired: false, transformFunction: null }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.h-button-icon-only": "!$unstyled() && isIconOnly()", "class.h-button-text": " !$unstyled() && isTextButton()" } }, providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }], queries: [{ propertyName: "iconSignal", first: true, predicate: ButtonIcon, descendants: true, isSignal: true }, { propertyName: "labelSignal", first: true, predicate: ButtonLabel, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1195
- }
1196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonDirective, decorators: [{
1197
- type: Directive,
1198
- args: [{
1199
- selector: '[hButton]',
1200
- standalone: true,
1201
- providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }],
1202
- host: {
1203
- '[class.h-button-icon-only]': '!$unstyled() && isIconOnly()',
1204
- '[class.h-button-text]': ' !$unstyled() && isTextButton()'
1205
- },
1206
- hostDirectives: [Bind]
1207
- }]
1208
- }], ctorParameters: () => [], propDecorators: { ptButtonDirective: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptButtonDirective", required: false }] }], pButtonPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonPT", required: false }] }], pButtonUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pButtonUnstyled", required: false }] }], hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], plain: [{ type: i0.Input, args: [{ isSignal: true, alias: "plain", required: false }] }], raised: [{ type: i0.Input, args: [{ isSignal: true, alias: "raised", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outlined: [{ type: i0.Input, args: [{ isSignal: true, alias: "outlined", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], loadingIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingIcon", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], iconSignal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ButtonIcon), { isSignal: true }] }], labelSignal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ButtonLabel), { isSignal: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }] } });
1209
- /**
1210
- * Button is an extension to standard button element with icons and theming.
1211
- * @group Components
1212
- */
1213
- class Button extends BaseComponent {
1214
- componentName = 'Button';
1215
- hostName = input('', /* @ts-ignore */
1216
- ...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
1217
- $pcButton = inject(BUTTON_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
1218
- bindDirectiveInstance = inject(Bind, { self: true });
1219
- _componentStyle = inject(ButtonStyle);
1220
- onAfterViewChecked() {
1221
- this.bindDirectiveInstance.setAttrs(this.ptm('host'));
1222
- }
1223
- /**
1224
- * Type of the button.
1225
- * @group Props
1226
- */
1227
- type = input('button', /* @ts-ignore */
1228
- ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
1229
- /**
1230
- * Value of the badge.
1231
- * @group Props
1232
- */
1233
- badge = input(/* @ts-ignore */
1234
- ...(ngDevMode ? [undefined, { debugName: "badge" }] : /* istanbul ignore next */ []));
1235
- /**
1236
- * When present, it specifies that the component should be disabled.
1237
- * @group Props
1238
- */
1239
- disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1240
- /**
1241
- * Add a shadow to indicate elevation.
1242
- * @group Props
1243
- */
1244
- raised = input(false, { ...(ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1245
- /**
1246
- * Add a circular border radius to the button.
1247
- * @group Props
1248
- */
1249
- rounded = input(false, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1250
- /**
1251
- * Add a textual class to the button without a background initially.
1252
- * @group Props
1253
- */
1254
- text = input(false, { ...(ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1255
- /**
1256
- * Add a plain textual class to the button without a background initially.
1257
- * @group Props
1258
- */
1259
- plain = input(false, { ...(ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1260
- /**
1261
- * Add a border class without a background initially.
1262
- * @group Props
1263
- */
1264
- outlined = input(false, { ...(ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1265
- /**
1266
- * Add a link style to the button.
1267
- * @group Props
1268
- */
1269
- link = input(false, { ...(ngDevMode ? { debugName: "link" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1270
- /**
1271
- * Add a tabindex to the button.
1272
- * @group Props
1273
- */
1274
- tabindex = input(undefined, { ...(ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
1275
- /**
1276
- * Defines the size of the button.
1277
- * @group Props
1278
- */
1279
- size = input(/* @ts-ignore */
1280
- ...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
1281
- /**
1282
- * Specifies the variant of the component.
1283
- * @group Props
1284
- */
1285
- variant = input(/* @ts-ignore */
1286
- ...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
1287
- /**
1288
- * Inline style of the element.
1289
- * @group Props
1290
- */
1291
- style = input(/* @ts-ignore */
1292
- ...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
1293
- /**
1294
- * Class of the element.
1295
- * @group Props
1296
- */
1297
- styleClass = input(/* @ts-ignore */
1298
- ...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
1299
- /**
1300
- * Style class of the badge.
1301
- * @group Props
1302
- * @deprecated use badgeSeverity instead.
1303
- */
1304
- badgeClass = input(/* @ts-ignore */
1305
- ...(ngDevMode ? [undefined, { debugName: "badgeClass" }] : /* istanbul ignore next */ []));
1306
- /**
1307
- * Severity type of the badge.
1308
- * @group Props
1309
- * @defaultValue secondary
1310
- */
1311
- badgeSeverity = input('secondary', /* @ts-ignore */
1312
- ...(ngDevMode ? [{ debugName: "badgeSeverity" }] : /* istanbul ignore next */ []));
1313
- /**
1314
- * Used to define a string that autocomplete attribute the current element.
1315
- * @group Props
1316
- */
1317
- ariaLabel = input(/* @ts-ignore */
1318
- ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
1319
- /**
1320
- * When present, it specifies that the component should automatically get focus on load.
1321
- * @group Props
1322
- */
1323
- autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1324
- /**
1325
- * Position of the icon.
1326
- * @group Props
1327
- */
1328
- iconPos = input('left', /* @ts-ignore */
1329
- ...(ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []));
1330
- /**
1331
- * Name of the icon.
1332
- * @group Props
1333
- */
1334
- icon = input(/* @ts-ignore */
1335
- ...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
1336
- /**
1337
- * Text of the button.
1338
- * @group Props
1339
- */
1340
- label = input(/* @ts-ignore */
1341
- ...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
1342
- /**
1343
- * Whether the button is in loading state.
1344
- * @group Props
1345
- */
1346
- loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1347
- /**
1348
- * Icon to display in loading state.
1349
- * @group Props
1350
- */
1351
- loadingIcon = input(/* @ts-ignore */
1352
- ...(ngDevMode ? [undefined, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []));
1353
- /**
1354
- * Defines the style of the button.
1355
- * @group Props
1356
- */
1357
- severity = input(/* @ts-ignore */
1358
- ...(ngDevMode ? [undefined, { debugName: "severity" }] : /* istanbul ignore next */ []));
1359
- /**
1360
- * Used to pass all properties of the ButtonProps to the Button component.
1361
- * @group Props
1362
- */
1363
- buttonProps = input(/* @ts-ignore */
1364
- ...(ngDevMode ? [undefined, { debugName: "buttonProps" }] : /* istanbul ignore next */ []));
1365
- /**
1366
- * Spans 100% width of the container when enabled.
1367
- * @defaultValue undefined
1368
- * @group Props
1369
- */
1370
- fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1371
- /**
1372
- * Callback to execute when button is clicked.
1373
- * This event is intended to be used with the <h-button> component. Using a regular <button> element, use (click).
1374
- * @param {MouseEvent} event - Mouse event.
1375
- * @group Emits
1376
- */
1377
- onClick = output();
1378
- /**
1379
- * Callback to execute when button is focused.
1380
- * This event is intended to be used with the <h-button> component. Using a regular <button> element, use (focus).
1381
- * @param {FocusEvent} event - Focus event.
1382
- * @group Emits
1383
- */
1384
- onFocus = output();
1385
- /**
1386
- * Callback to execute when button loses focus.
1387
- * This event is intended to be used with the <h-button> component. Using a regular <button> element, use (blur).
1388
- * @param {FocusEvent} event - Focus event.
1389
- * @group Emits
1390
- */
1391
- onBlur = output();
1392
- /**
1393
- * Custom content template.
1394
- * @group Templates
1395
- **/
1396
- contentTemplate = contentChild('content', /* @ts-ignore */
1397
- ...(ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []));
1398
- /**
1399
- * Custom loading icon template.
1400
- * @group Templates
1401
- **/
1402
- loadingIconTemplate = contentChild('loadingicon', /* @ts-ignore */
1403
- ...(ngDevMode ? [{ debugName: "loadingIconTemplate" }] : /* istanbul ignore next */ []));
1404
- /**
1405
- * Custom icon template.
1406
- * @group Templates
1407
- **/
1408
- iconTemplate = contentChild('icon', /* @ts-ignore */
1409
- ...(ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []));
1410
- templates = contentChildren(HelixTemplate, /* @ts-ignore */
1411
- ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
1412
- pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
1413
- get hasFluid() {
1414
- return this.fluid() ?? !!this.pcFluid;
1415
- }
1416
- get hasIcon() {
1417
- return this.icon() || this.buttonProps()?.icon || this.iconTemplate() || this._iconTemplate || this.loadingIcon() || this.loadingIconTemplate() || this._loadingIconTemplate;
1418
- }
1419
- _contentTemplate;
1420
- _iconTemplate;
1421
- _loadingIconTemplate;
1422
- onAfterContentInit() {
1423
- this.templates()?.forEach((item) => {
1424
- switch (item.getType()) {
1425
- case 'content':
1426
- this._contentTemplate = item.template;
1427
- break;
1428
- case 'icon':
1429
- this._iconTemplate = item.template;
1430
- break;
1431
- case 'loadingicon':
1432
- this._loadingIconTemplate = item.template;
1433
- break;
1434
- default:
1435
- this._contentTemplate = item.template;
1436
- break;
1437
- }
1438
- });
1439
- }
1440
- get dataP() {
1441
- const iconPos = this.iconPos();
1442
- return this.cn({
1443
- [this.size()]: this.size(),
1444
- 'icon-only': this.hasIcon && !this.label() && !this.badge(),
1445
- loading: this.loading(),
1446
- fluid: this.hasFluid,
1447
- rounded: this.rounded(),
1448
- raised: this.raised(),
1449
- outlined: this.outlined() || this.variant() === 'outlined',
1450
- text: this.text() || this.variant() === 'text',
1451
- link: this.link(),
1452
- vertical: (iconPos === 'top' || iconPos === 'bottom') && this.label()
1453
- });
1454
- }
1455
- get dataIconP() {
1456
- return this.cn({
1457
- [this.iconPos()]: this.iconPos(),
1458
- [this.size()]: this.size()
1459
- });
1460
- }
1461
- get dataLabelP() {
1462
- return this.cn({
1463
- [this.size()]: this.size(),
1464
- 'icon-only': this.hasIcon && !this.label() && !this.badge()
1465
- });
1466
- }
1467
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Button, deps: null, target: i0.ɵɵFactoryTarget.Component });
1468
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Button, isStandalone: true, selector: "h-button", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: true, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, badgeClass: { classPropertyName: "badgeClass", publicName: "badgeClass", isSignal: true, isRequired: false, transformFunction: null }, badgeSeverity: { classPropertyName: "badgeSeverity", publicName: "badgeSeverity", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur" }, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[hRipple]" }, { kind: "directive", type: AutoFocus, selector: "[hAutoFocus]", inputs: ["hAutoFocus"] }, { kind: "component", type: SpinnerIcon, selector: "[data-h-icon=\"spinner\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i3.Badge, selector: "h-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1469
- }
1470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Button, decorators: [{
1471
- type: Component,
1472
- args: [{ selector: 'h-button', standalone: true, imports: [CommonModule, Ripple, AutoFocus, SpinnerIcon, BadgeModule, SharedModule, Bind], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], hostDirectives: [Bind], template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n" }]
1473
- }], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], badge: [{ type: i0.Input, args: [{ isSignal: true, alias: "badge", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], raised: [{ type: i0.Input, args: [{ isSignal: true, alias: "raised", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], plain: [{ type: i0.Input, args: [{ isSignal: true, alias: "plain", required: false }] }], outlined: [{ type: i0.Input, args: [{ isSignal: true, alias: "outlined", required: false }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], badgeClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeClass", required: false }] }], badgeSeverity: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeSeverity", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingIcon", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { isSignal: true }] }], loadingIconTemplate: [{ type: i0.ContentChild, args: ['loadingicon', { isSignal: true }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }] }] } });
1474
- class ButtonModule {
1475
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1476
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon], exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule] });
1477
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, imports: [CommonModule, Button, SharedModule, SharedModule] });
1478
- }
1479
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ButtonModule, decorators: [{
1480
- type: NgModule,
1481
- args: [{
1482
- imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon],
1483
- exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule]
1484
- }]
1485
- }] });
1486
-
1487
- // Backward compatibility
1488
-
1489
- /**
1490
- * Generated bundle index. Do not edit.
1491
- */
1492
-
1131
+ onAfterViewInit() {
1132
+ !this.$unstyled() && addClass(this.htmlElement, this.getStyleClass().join(" "));
1133
+ if (isPlatformBrowser(this.platformId)) {
1134
+ this.createIcon();
1135
+ this.createLabel();
1136
+ this.initialized = true;
1137
+ }
1138
+ }
1139
+ getStyleClass() {
1140
+ const styleClass = [INTERNAL_BUTTON_CLASSES.button, INTERNAL_BUTTON_CLASSES.component];
1141
+ if (this.icon() && !this.label() && isEmpty(this.htmlElement.textContent)) styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
1142
+ if (this.loading()) {
1143
+ styleClass.push(INTERNAL_BUTTON_CLASSES.disabled, INTERNAL_BUTTON_CLASSES.loading);
1144
+ if (!this.icon() && this.label()) styleClass.push(INTERNAL_BUTTON_CLASSES.labelOnly);
1145
+ if (this.icon() && !this.label() && !isEmpty(this.htmlElement.textContent)) styleClass.push(INTERNAL_BUTTON_CLASSES.iconOnly);
1146
+ }
1147
+ if (this.text()) styleClass.push("h-button-text");
1148
+ if (this.severity()) styleClass.push(`h-button-${this.severity()}`);
1149
+ if (this.plain()) styleClass.push("h-button-plain");
1150
+ if (this.raised()) styleClass.push("h-button-raised");
1151
+ const size = this.size();
1152
+ if (size) styleClass.push(`h-button-${size}`);
1153
+ if (this.outlined()) styleClass.push("h-button-outlined");
1154
+ if (this.rounded()) styleClass.push("h-button-rounded");
1155
+ if (size === "small") styleClass.push("h-button-sm");
1156
+ if (size === "large") styleClass.push("h-button-lg");
1157
+ if (this.hasFluid) styleClass.push("h-button-fluid");
1158
+ return this.$unstyled() ? [] : styleClass;
1159
+ }
1160
+ get hasFluid() {
1161
+ return this.fluid() ?? !!this.pcFluid;
1162
+ }
1163
+ setStyleClass() {
1164
+ const styleClass = this.getStyleClass();
1165
+ this.removeExistingSeverityClass();
1166
+ this.htmlElement.classList.remove(...this._internalClasses);
1167
+ this.htmlElement.classList.add(...styleClass);
1168
+ }
1169
+ removeExistingSeverityClass() {
1170
+ const severityArray = [
1171
+ "success",
1172
+ "info",
1173
+ "warn",
1174
+ "danger",
1175
+ "help",
1176
+ "primary",
1177
+ "secondary",
1178
+ "contrast"
1179
+ ];
1180
+ const existingSeverityClass = this.htmlElement.classList.value.split(" ").find((cls) => severityArray.some((severity) => cls === `h-button-${severity}`));
1181
+ if (existingSeverityClass) this.htmlElement.classList.remove(existingSeverityClass);
1182
+ }
1183
+ createLabel() {
1184
+ const created = findSingle(this.htmlElement, "[data-pc-section=\"buttonlabel\"]");
1185
+ const labelVal = this.label();
1186
+ if (!created && labelVal) {
1187
+ let labelElement = createElement("span", {
1188
+ class: this.cx("label"),
1189
+ "h-bind": this.ptm("buttonlabel"),
1190
+ "aria-hidden": this.icon() && !labelVal ? "true" : null
1191
+ });
1192
+ labelElement.appendChild(this.document.createTextNode(labelVal));
1193
+ this.htmlElement.appendChild(labelElement);
1194
+ }
1195
+ }
1196
+ createIcon() {
1197
+ if (!findSingle(this.htmlElement, "[data-pc-section=\"buttonicon\"]") && (this.icon() || this.loading())) {
1198
+ let iconPosClass = this.label() && !this.$unstyled() ? "h-button-icon-" + this.iconPos() : null;
1199
+ let iconClass = !this.$unstyled() && this.getIconClass();
1200
+ let iconElement = createElement("span", {
1201
+ class: this.cn(this.cx("icon"), iconPosClass, iconClass),
1202
+ "aria-hidden": "true",
1203
+ "h-bind": this.ptm("buttonicon")
1204
+ });
1205
+ if (!this.loadingIcon() && this.loading()) iconElement.innerHTML = this.spinnerIcon;
1206
+ this.htmlElement.insertBefore(iconElement, this.htmlElement.firstChild);
1207
+ }
1208
+ }
1209
+ updateLabel() {
1210
+ let labelElement = findSingle(this.htmlElement, "[data-pc-section=\"buttonlabel\"]");
1211
+ const labelVal = this.label();
1212
+ if (!labelVal) {
1213
+ labelElement && this.htmlElement.removeChild(labelElement);
1214
+ return;
1215
+ }
1216
+ labelElement ? labelElement.textContent = labelVal : this.createLabel();
1217
+ }
1218
+ updateIcon() {
1219
+ let iconElement = findSingle(this.htmlElement, "[data-pc-section=\"buttonicon\"]");
1220
+ let labelElement = findSingle(this.htmlElement, "[data-pc-section=\"buttonlabel\"]");
1221
+ if (this.loading() && !this.loadingIcon() && iconElement) iconElement.innerHTML = this.spinnerIcon;
1222
+ else if (iconElement?.innerHTML) iconElement.innerHTML = "";
1223
+ if (iconElement && !this.$unstyled()) {
1224
+ const iconPos = this.iconPos();
1225
+ if (iconPos) iconElement.className = "h-button-icon " + (labelElement ? "h-button-icon-" + iconPos : "") + " " + this.getIconClass();
1226
+ else iconElement.className = "h-button-icon " + this.getIconClass();
1227
+ } else this.createIcon();
1228
+ }
1229
+ getIconClass() {
1230
+ const loadingIcon = this.loadingIcon();
1231
+ return this.loading() ? "h-button-loading-icon " + (loadingIcon ? loadingIcon : "h-icon") : this.icon() || "h-hidden";
1232
+ }
1233
+ onDestroy() {
1234
+ this.initialized = false;
1235
+ }
1236
+ static ɵfac = i0.ɵɵngDeclareFactory({
1237
+ minVersion: "12.0.0",
1238
+ version: "22.2.1",
1239
+ ngImport: i0,
1240
+ type: ButtonDirective,
1241
+ deps: [],
1242
+ target: i0.ɵɵFactoryTarget.Directive
1243
+ });
1244
+ static ɵdir = i0.ɵɵngDeclareDirective({
1245
+ minVersion: "17.2.0",
1246
+ version: "22.2.1",
1247
+ type: ButtonDirective,
1248
+ isStandalone: true,
1249
+ selector: "[hButton]",
1250
+ inputs: {
1251
+ ptButtonDirective: {
1252
+ classPropertyName: "ptButtonDirective",
1253
+ publicName: "ptButtonDirective",
1254
+ isSignal: true,
1255
+ isRequired: false,
1256
+ transformFunction: null
1257
+ },
1258
+ pButtonPT: {
1259
+ classPropertyName: "pButtonPT",
1260
+ publicName: "pButtonPT",
1261
+ isSignal: true,
1262
+ isRequired: false,
1263
+ transformFunction: null
1264
+ },
1265
+ pButtonUnstyled: {
1266
+ classPropertyName: "pButtonUnstyled",
1267
+ publicName: "pButtonUnstyled",
1268
+ isSignal: true,
1269
+ isRequired: false,
1270
+ transformFunction: null
1271
+ },
1272
+ hostName: {
1273
+ classPropertyName: "hostName",
1274
+ publicName: "hostName",
1275
+ isSignal: true,
1276
+ isRequired: false,
1277
+ transformFunction: null
1278
+ },
1279
+ text: {
1280
+ classPropertyName: "text",
1281
+ publicName: "text",
1282
+ isSignal: true,
1283
+ isRequired: false,
1284
+ transformFunction: null
1285
+ },
1286
+ plain: {
1287
+ classPropertyName: "plain",
1288
+ publicName: "plain",
1289
+ isSignal: true,
1290
+ isRequired: false,
1291
+ transformFunction: null
1292
+ },
1293
+ raised: {
1294
+ classPropertyName: "raised",
1295
+ publicName: "raised",
1296
+ isSignal: true,
1297
+ isRequired: false,
1298
+ transformFunction: null
1299
+ },
1300
+ size: {
1301
+ classPropertyName: "size",
1302
+ publicName: "size",
1303
+ isSignal: true,
1304
+ isRequired: false,
1305
+ transformFunction: null
1306
+ },
1307
+ outlined: {
1308
+ classPropertyName: "outlined",
1309
+ publicName: "outlined",
1310
+ isSignal: true,
1311
+ isRequired: false,
1312
+ transformFunction: null
1313
+ },
1314
+ rounded: {
1315
+ classPropertyName: "rounded",
1316
+ publicName: "rounded",
1317
+ isSignal: true,
1318
+ isRequired: false,
1319
+ transformFunction: null
1320
+ },
1321
+ iconPos: {
1322
+ classPropertyName: "iconPos",
1323
+ publicName: "iconPos",
1324
+ isSignal: true,
1325
+ isRequired: false,
1326
+ transformFunction: null
1327
+ },
1328
+ loadingIcon: {
1329
+ classPropertyName: "loadingIcon",
1330
+ publicName: "loadingIcon",
1331
+ isSignal: true,
1332
+ isRequired: false,
1333
+ transformFunction: null
1334
+ },
1335
+ fluid: {
1336
+ classPropertyName: "fluid",
1337
+ publicName: "fluid",
1338
+ isSignal: true,
1339
+ isRequired: false,
1340
+ transformFunction: null
1341
+ },
1342
+ label: {
1343
+ classPropertyName: "label",
1344
+ publicName: "label",
1345
+ isSignal: true,
1346
+ isRequired: false,
1347
+ transformFunction: null
1348
+ },
1349
+ icon: {
1350
+ classPropertyName: "icon",
1351
+ publicName: "icon",
1352
+ isSignal: true,
1353
+ isRequired: false,
1354
+ transformFunction: null
1355
+ },
1356
+ loading: {
1357
+ classPropertyName: "loading",
1358
+ publicName: "loading",
1359
+ isSignal: true,
1360
+ isRequired: false,
1361
+ transformFunction: null
1362
+ },
1363
+ buttonProps: {
1364
+ classPropertyName: "buttonProps",
1365
+ publicName: "buttonProps",
1366
+ isSignal: true,
1367
+ isRequired: false,
1368
+ transformFunction: null
1369
+ },
1370
+ severity: {
1371
+ classPropertyName: "severity",
1372
+ publicName: "severity",
1373
+ isSignal: true,
1374
+ isRequired: false,
1375
+ transformFunction: null
1376
+ }
1377
+ },
1378
+ host: { properties: {
1379
+ "class.h-button-icon-only": "!$unstyled() && isIconOnly()",
1380
+ "class.h-button-text": " !$unstyled() && isTextButton()"
1381
+ } },
1382
+ providers: [
1383
+ ButtonStyle,
1384
+ {
1385
+ provide: BUTTON_DIRECTIVE_INSTANCE,
1386
+ useExisting: ButtonDirective
1387
+ },
1388
+ {
1389
+ provide: PARENT_INSTANCE,
1390
+ useExisting: ButtonDirective
1391
+ }
1392
+ ],
1393
+ queries: [{
1394
+ propertyName: "iconSignal",
1395
+ first: true,
1396
+ predicate: ButtonIcon,
1397
+ descendants: true,
1398
+ isSignal: true
1399
+ }, {
1400
+ propertyName: "labelSignal",
1401
+ first: true,
1402
+ predicate: ButtonLabel,
1403
+ descendants: true,
1404
+ isSignal: true
1405
+ }],
1406
+ usesInheritance: true,
1407
+ hostDirectives: [{ directive: i1.Bind }],
1408
+ ngImport: i0
1409
+ });
1410
+ };
1411
+ i0.ɵɵngDeclareClassMetadata({
1412
+ minVersion: "12.0.0",
1413
+ version: "22.2.1",
1414
+ ngImport: i0,
1415
+ type: ButtonDirective,
1416
+ decorators: [{
1417
+ type: Directive,
1418
+ args: [{
1419
+ selector: "[hButton]",
1420
+ standalone: true,
1421
+ providers: [
1422
+ ButtonStyle,
1423
+ {
1424
+ provide: BUTTON_DIRECTIVE_INSTANCE,
1425
+ useExisting: ButtonDirective
1426
+ },
1427
+ {
1428
+ provide: PARENT_INSTANCE,
1429
+ useExisting: ButtonDirective
1430
+ }
1431
+ ],
1432
+ host: {
1433
+ "[class.h-button-icon-only]": "!$unstyled() && isIconOnly()",
1434
+ "[class.h-button-text]": " !$unstyled() && isTextButton()"
1435
+ },
1436
+ hostDirectives: [Bind]
1437
+ }]
1438
+ }],
1439
+ ctorParameters: () => [],
1440
+ propDecorators: {
1441
+ ptButtonDirective: [{
1442
+ type: i0.Input,
1443
+ args: [{
1444
+ isSignal: true,
1445
+ alias: "ptButtonDirective",
1446
+ required: false
1447
+ }]
1448
+ }],
1449
+ pButtonPT: [{
1450
+ type: i0.Input,
1451
+ args: [{
1452
+ isSignal: true,
1453
+ alias: "pButtonPT",
1454
+ required: false
1455
+ }]
1456
+ }],
1457
+ pButtonUnstyled: [{
1458
+ type: i0.Input,
1459
+ args: [{
1460
+ isSignal: true,
1461
+ alias: "pButtonUnstyled",
1462
+ required: false
1463
+ }]
1464
+ }],
1465
+ hostName: [{
1466
+ type: i0.Input,
1467
+ args: [{
1468
+ isSignal: true,
1469
+ alias: "hostName",
1470
+ required: false
1471
+ }]
1472
+ }],
1473
+ text: [{
1474
+ type: i0.Input,
1475
+ args: [{
1476
+ isSignal: true,
1477
+ alias: "text",
1478
+ required: false
1479
+ }]
1480
+ }],
1481
+ plain: [{
1482
+ type: i0.Input,
1483
+ args: [{
1484
+ isSignal: true,
1485
+ alias: "plain",
1486
+ required: false
1487
+ }]
1488
+ }],
1489
+ raised: [{
1490
+ type: i0.Input,
1491
+ args: [{
1492
+ isSignal: true,
1493
+ alias: "raised",
1494
+ required: false
1495
+ }]
1496
+ }],
1497
+ size: [{
1498
+ type: i0.Input,
1499
+ args: [{
1500
+ isSignal: true,
1501
+ alias: "size",
1502
+ required: false
1503
+ }]
1504
+ }],
1505
+ outlined: [{
1506
+ type: i0.Input,
1507
+ args: [{
1508
+ isSignal: true,
1509
+ alias: "outlined",
1510
+ required: false
1511
+ }]
1512
+ }],
1513
+ rounded: [{
1514
+ type: i0.Input,
1515
+ args: [{
1516
+ isSignal: true,
1517
+ alias: "rounded",
1518
+ required: false
1519
+ }]
1520
+ }],
1521
+ iconPos: [{
1522
+ type: i0.Input,
1523
+ args: [{
1524
+ isSignal: true,
1525
+ alias: "iconPos",
1526
+ required: false
1527
+ }]
1528
+ }],
1529
+ loadingIcon: [{
1530
+ type: i0.Input,
1531
+ args: [{
1532
+ isSignal: true,
1533
+ alias: "loadingIcon",
1534
+ required: false
1535
+ }]
1536
+ }],
1537
+ fluid: [{
1538
+ type: i0.Input,
1539
+ args: [{
1540
+ isSignal: true,
1541
+ alias: "fluid",
1542
+ required: false
1543
+ }]
1544
+ }],
1545
+ iconSignal: [{
1546
+ type: i0.ContentChild,
1547
+ args: [i0.forwardRef(() => ButtonIcon), { isSignal: true }]
1548
+ }],
1549
+ labelSignal: [{
1550
+ type: i0.ContentChild,
1551
+ args: [i0.forwardRef(() => ButtonLabel), { isSignal: true }]
1552
+ }],
1553
+ label: [{
1554
+ type: i0.Input,
1555
+ args: [{
1556
+ isSignal: true,
1557
+ alias: "label",
1558
+ required: false
1559
+ }]
1560
+ }],
1561
+ icon: [{
1562
+ type: i0.Input,
1563
+ args: [{
1564
+ isSignal: true,
1565
+ alias: "icon",
1566
+ required: false
1567
+ }]
1568
+ }],
1569
+ loading: [{
1570
+ type: i0.Input,
1571
+ args: [{
1572
+ isSignal: true,
1573
+ alias: "loading",
1574
+ required: false
1575
+ }]
1576
+ }],
1577
+ buttonProps: [{
1578
+ type: i0.Input,
1579
+ args: [{
1580
+ isSignal: true,
1581
+ alias: "buttonProps",
1582
+ required: false
1583
+ }]
1584
+ }],
1585
+ severity: [{
1586
+ type: i0.Input,
1587
+ args: [{
1588
+ isSignal: true,
1589
+ alias: "severity",
1590
+ required: false
1591
+ }]
1592
+ }]
1593
+ }
1594
+ });
1595
+ var Button = class Button extends BaseComponent {
1596
+ componentName = "Button";
1597
+ hostName = input("", ...ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []);
1598
+ $pcButton = inject(BUTTON_INSTANCE, {
1599
+ optional: true,
1600
+ skipSelf: true
1601
+ }) ?? void 0;
1602
+ bindDirectiveInstance = inject(Bind, { self: true });
1603
+ _componentStyle = inject(ButtonStyle);
1604
+ onAfterViewChecked() {
1605
+ this.bindDirectiveInstance.setAttrs(this.ptm("host"));
1606
+ }
1607
+ type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
1608
+ badge = input(...ngDevMode ? [void 0, { debugName: "badge" }] : /* istanbul ignore next */ []);
1609
+ disabled = input(void 0, {
1610
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
1611
+ transform: booleanAttribute
1612
+ });
1613
+ raised = input(false, {
1614
+ ...ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {},
1615
+ transform: booleanAttribute
1616
+ });
1617
+ rounded = input(false, {
1618
+ ...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
1619
+ transform: booleanAttribute
1620
+ });
1621
+ text = input(false, {
1622
+ ...ngDevMode ? { debugName: "text" } : /* istanbul ignore next */ {},
1623
+ transform: booleanAttribute
1624
+ });
1625
+ plain = input(false, {
1626
+ ...ngDevMode ? { debugName: "plain" } : /* istanbul ignore next */ {},
1627
+ transform: booleanAttribute
1628
+ });
1629
+ outlined = input(false, {
1630
+ ...ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {},
1631
+ transform: booleanAttribute
1632
+ });
1633
+ link = input(false, {
1634
+ ...ngDevMode ? { debugName: "link" } : /* istanbul ignore next */ {},
1635
+ transform: booleanAttribute
1636
+ });
1637
+ tabindex = input(void 0, {
1638
+ ...ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {},
1639
+ transform: numberAttribute
1640
+ });
1641
+ size = input(...ngDevMode ? [void 0, { debugName: "size" }] : /* istanbul ignore next */ []);
1642
+ variant = input(...ngDevMode ? [void 0, { debugName: "variant" }] : /* istanbul ignore next */ []);
1643
+ style = input(...ngDevMode ? [void 0, { debugName: "style" }] : /* istanbul ignore next */ []);
1644
+ styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
1645
+ badgeClass = input(...ngDevMode ? [void 0, { debugName: "badgeClass" }] : /* istanbul ignore next */ []);
1646
+ badgeSeverity = input("secondary", ...ngDevMode ? [{ debugName: "badgeSeverity" }] : /* istanbul ignore next */ []);
1647
+ ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
1648
+ autofocus = input(void 0, {
1649
+ ...ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {},
1650
+ transform: booleanAttribute
1651
+ });
1652
+ iconPos = input("left", ...ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []);
1653
+ icon = input(...ngDevMode ? [void 0, { debugName: "icon" }] : /* istanbul ignore next */ []);
1654
+ label = input(...ngDevMode ? [void 0, { debugName: "label" }] : /* istanbul ignore next */ []);
1655
+ loading = input(false, {
1656
+ ...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
1657
+ transform: booleanAttribute
1658
+ });
1659
+ loadingIcon = input(...ngDevMode ? [void 0, { debugName: "loadingIcon" }] : /* istanbul ignore next */ []);
1660
+ severity = input(...ngDevMode ? [void 0, { debugName: "severity" }] : /* istanbul ignore next */ []);
1661
+ buttonProps = input(...ngDevMode ? [void 0, { debugName: "buttonProps" }] : /* istanbul ignore next */ []);
1662
+ fluid = input(void 0, {
1663
+ ...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
1664
+ transform: booleanAttribute
1665
+ });
1666
+ onClick = output();
1667
+ onFocus = output();
1668
+ onBlur = output();
1669
+ contentTemplate = contentChild("content", ...ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []);
1670
+ loadingIconTemplate = contentChild("loadingicon", ...ngDevMode ? [{ debugName: "loadingIconTemplate" }] : /* istanbul ignore next */ []);
1671
+ iconTemplate = contentChild("icon", ...ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []);
1672
+ templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
1673
+ pcFluid = inject(Fluid, {
1674
+ optional: true,
1675
+ host: true,
1676
+ skipSelf: true
1677
+ });
1678
+ get hasFluid() {
1679
+ return this.fluid() ?? !!this.pcFluid;
1680
+ }
1681
+ get hasIcon() {
1682
+ return this.icon() || this.buttonProps()?.icon || this.iconTemplate() || this._iconTemplate || this.loadingIcon() || this.loadingIconTemplate() || this._loadingIconTemplate;
1683
+ }
1684
+ _contentTemplate;
1685
+ _iconTemplate;
1686
+ _loadingIconTemplate;
1687
+ onAfterContentInit() {
1688
+ this.templates()?.forEach((item) => {
1689
+ switch (item.getType()) {
1690
+ case "content":
1691
+ this._contentTemplate = item.template;
1692
+ break;
1693
+ case "icon":
1694
+ this._iconTemplate = item.template;
1695
+ break;
1696
+ case "loadingicon":
1697
+ this._loadingIconTemplate = item.template;
1698
+ break;
1699
+ default:
1700
+ this._contentTemplate = item.template;
1701
+ break;
1702
+ }
1703
+ });
1704
+ }
1705
+ get dataP() {
1706
+ const iconPos = this.iconPos();
1707
+ return this.cn({
1708
+ [this.size()]: this.size(),
1709
+ "icon-only": this.hasIcon && !this.label() && !this.badge(),
1710
+ loading: this.loading(),
1711
+ fluid: this.hasFluid,
1712
+ rounded: this.rounded(),
1713
+ raised: this.raised(),
1714
+ outlined: this.outlined() || this.variant() === "outlined",
1715
+ text: this.text() || this.variant() === "text",
1716
+ link: this.link(),
1717
+ vertical: (iconPos === "top" || iconPos === "bottom") && this.label()
1718
+ });
1719
+ }
1720
+ get dataIconP() {
1721
+ return this.cn({
1722
+ [this.iconPos()]: this.iconPos(),
1723
+ [this.size()]: this.size()
1724
+ });
1725
+ }
1726
+ get dataLabelP() {
1727
+ return this.cn({
1728
+ [this.size()]: this.size(),
1729
+ "icon-only": this.hasIcon && !this.label() && !this.badge()
1730
+ });
1731
+ }
1732
+ static ɵfac = i0.ɵɵngDeclareFactory({
1733
+ minVersion: "12.0.0",
1734
+ version: "22.2.1",
1735
+ ngImport: i0,
1736
+ type: Button,
1737
+ deps: null,
1738
+ target: i0.ɵɵFactoryTarget.Component
1739
+ });
1740
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1741
+ minVersion: "17.0.0",
1742
+ version: "22.2.1",
1743
+ type: Button,
1744
+ isStandalone: true,
1745
+ selector: "h-button",
1746
+ inputs: {
1747
+ hostName: {
1748
+ classPropertyName: "hostName",
1749
+ publicName: "hostName",
1750
+ isSignal: true,
1751
+ isRequired: false,
1752
+ transformFunction: null
1753
+ },
1754
+ type: {
1755
+ classPropertyName: "type",
1756
+ publicName: "type",
1757
+ isSignal: true,
1758
+ isRequired: false,
1759
+ transformFunction: null
1760
+ },
1761
+ badge: {
1762
+ classPropertyName: "badge",
1763
+ publicName: "badge",
1764
+ isSignal: true,
1765
+ isRequired: false,
1766
+ transformFunction: null
1767
+ },
1768
+ disabled: {
1769
+ classPropertyName: "disabled",
1770
+ publicName: "disabled",
1771
+ isSignal: true,
1772
+ isRequired: false,
1773
+ transformFunction: null
1774
+ },
1775
+ raised: {
1776
+ classPropertyName: "raised",
1777
+ publicName: "raised",
1778
+ isSignal: true,
1779
+ isRequired: false,
1780
+ transformFunction: null
1781
+ },
1782
+ rounded: {
1783
+ classPropertyName: "rounded",
1784
+ publicName: "rounded",
1785
+ isSignal: true,
1786
+ isRequired: false,
1787
+ transformFunction: null
1788
+ },
1789
+ text: {
1790
+ classPropertyName: "text",
1791
+ publicName: "text",
1792
+ isSignal: true,
1793
+ isRequired: false,
1794
+ transformFunction: null
1795
+ },
1796
+ plain: {
1797
+ classPropertyName: "plain",
1798
+ publicName: "plain",
1799
+ isSignal: true,
1800
+ isRequired: false,
1801
+ transformFunction: null
1802
+ },
1803
+ outlined: {
1804
+ classPropertyName: "outlined",
1805
+ publicName: "outlined",
1806
+ isSignal: true,
1807
+ isRequired: false,
1808
+ transformFunction: null
1809
+ },
1810
+ link: {
1811
+ classPropertyName: "link",
1812
+ publicName: "link",
1813
+ isSignal: true,
1814
+ isRequired: false,
1815
+ transformFunction: null
1816
+ },
1817
+ tabindex: {
1818
+ classPropertyName: "tabindex",
1819
+ publicName: "tabindex",
1820
+ isSignal: true,
1821
+ isRequired: false,
1822
+ transformFunction: null
1823
+ },
1824
+ size: {
1825
+ classPropertyName: "size",
1826
+ publicName: "size",
1827
+ isSignal: true,
1828
+ isRequired: false,
1829
+ transformFunction: null
1830
+ },
1831
+ variant: {
1832
+ classPropertyName: "variant",
1833
+ publicName: "variant",
1834
+ isSignal: true,
1835
+ isRequired: false,
1836
+ transformFunction: null
1837
+ },
1838
+ style: {
1839
+ classPropertyName: "style",
1840
+ publicName: "style",
1841
+ isSignal: true,
1842
+ isRequired: false,
1843
+ transformFunction: null
1844
+ },
1845
+ styleClass: {
1846
+ classPropertyName: "styleClass",
1847
+ publicName: "styleClass",
1848
+ isSignal: true,
1849
+ isRequired: false,
1850
+ transformFunction: null
1851
+ },
1852
+ badgeClass: {
1853
+ classPropertyName: "badgeClass",
1854
+ publicName: "badgeClass",
1855
+ isSignal: true,
1856
+ isRequired: false,
1857
+ transformFunction: null
1858
+ },
1859
+ badgeSeverity: {
1860
+ classPropertyName: "badgeSeverity",
1861
+ publicName: "badgeSeverity",
1862
+ isSignal: true,
1863
+ isRequired: false,
1864
+ transformFunction: null
1865
+ },
1866
+ ariaLabel: {
1867
+ classPropertyName: "ariaLabel",
1868
+ publicName: "ariaLabel",
1869
+ isSignal: true,
1870
+ isRequired: false,
1871
+ transformFunction: null
1872
+ },
1873
+ autofocus: {
1874
+ classPropertyName: "autofocus",
1875
+ publicName: "autofocus",
1876
+ isSignal: true,
1877
+ isRequired: false,
1878
+ transformFunction: null
1879
+ },
1880
+ iconPos: {
1881
+ classPropertyName: "iconPos",
1882
+ publicName: "iconPos",
1883
+ isSignal: true,
1884
+ isRequired: false,
1885
+ transformFunction: null
1886
+ },
1887
+ icon: {
1888
+ classPropertyName: "icon",
1889
+ publicName: "icon",
1890
+ isSignal: true,
1891
+ isRequired: false,
1892
+ transformFunction: null
1893
+ },
1894
+ label: {
1895
+ classPropertyName: "label",
1896
+ publicName: "label",
1897
+ isSignal: true,
1898
+ isRequired: false,
1899
+ transformFunction: null
1900
+ },
1901
+ loading: {
1902
+ classPropertyName: "loading",
1903
+ publicName: "loading",
1904
+ isSignal: true,
1905
+ isRequired: false,
1906
+ transformFunction: null
1907
+ },
1908
+ loadingIcon: {
1909
+ classPropertyName: "loadingIcon",
1910
+ publicName: "loadingIcon",
1911
+ isSignal: true,
1912
+ isRequired: false,
1913
+ transformFunction: null
1914
+ },
1915
+ severity: {
1916
+ classPropertyName: "severity",
1917
+ publicName: "severity",
1918
+ isSignal: true,
1919
+ isRequired: false,
1920
+ transformFunction: null
1921
+ },
1922
+ buttonProps: {
1923
+ classPropertyName: "buttonProps",
1924
+ publicName: "buttonProps",
1925
+ isSignal: true,
1926
+ isRequired: false,
1927
+ transformFunction: null
1928
+ },
1929
+ fluid: {
1930
+ classPropertyName: "fluid",
1931
+ publicName: "fluid",
1932
+ isSignal: true,
1933
+ isRequired: false,
1934
+ transformFunction: null
1935
+ }
1936
+ },
1937
+ outputs: {
1938
+ onClick: "onClick",
1939
+ onFocus: "onFocus",
1940
+ onBlur: "onBlur"
1941
+ },
1942
+ providers: [
1943
+ ButtonStyle,
1944
+ {
1945
+ provide: BUTTON_INSTANCE,
1946
+ useExisting: Button
1947
+ },
1948
+ {
1949
+ provide: PARENT_INSTANCE,
1950
+ useExisting: Button
1951
+ }
1952
+ ],
1953
+ queries: [
1954
+ {
1955
+ propertyName: "contentTemplate",
1956
+ first: true,
1957
+ predicate: ["content"],
1958
+ descendants: true,
1959
+ isSignal: true
1960
+ },
1961
+ {
1962
+ propertyName: "loadingIconTemplate",
1963
+ first: true,
1964
+ predicate: ["loadingicon"],
1965
+ descendants: true,
1966
+ isSignal: true
1967
+ },
1968
+ {
1969
+ propertyName: "iconTemplate",
1970
+ first: true,
1971
+ predicate: ["icon"],
1972
+ descendants: true,
1973
+ isSignal: true
1974
+ },
1975
+ {
1976
+ propertyName: "templates",
1977
+ predicate: HelixTemplate,
1978
+ isSignal: true
1979
+ }
1980
+ ],
1981
+ usesInheritance: true,
1982
+ hostDirectives: [{ directive: i1.Bind }],
1983
+ ngImport: i0,
1984
+ template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n",
1985
+ dependencies: [
1986
+ {
1987
+ kind: "ngmodule",
1988
+ type: CommonModule
1989
+ },
1990
+ {
1991
+ kind: "directive",
1992
+ type: i2.NgTemplateOutlet,
1993
+ selector: "[ngTemplateOutlet]",
1994
+ inputs: [
1995
+ "ngTemplateOutletContext",
1996
+ "ngTemplateOutlet",
1997
+ "ngTemplateOutletInjector"
1998
+ ]
1999
+ },
2000
+ {
2001
+ kind: "directive",
2002
+ type: i2.NgStyle,
2003
+ selector: "[ngStyle]",
2004
+ inputs: ["ngStyle"]
2005
+ },
2006
+ {
2007
+ kind: "directive",
2008
+ type: Ripple,
2009
+ selector: "[hRipple]"
2010
+ },
2011
+ {
2012
+ kind: "directive",
2013
+ type: AutoFocus,
2014
+ selector: "[hAutoFocus]",
2015
+ inputs: ["hAutoFocus"]
2016
+ },
2017
+ {
2018
+ kind: "component",
2019
+ type: SpinnerIcon,
2020
+ selector: "[data-h-icon=\"spinner\"]"
2021
+ },
2022
+ {
2023
+ kind: "ngmodule",
2024
+ type: BadgeModule
2025
+ },
2026
+ {
2027
+ kind: "component",
2028
+ type: i3.Badge,
2029
+ selector: "h-badge",
2030
+ inputs: [
2031
+ "styleClass",
2032
+ "badgeSize",
2033
+ "size",
2034
+ "severity",
2035
+ "value",
2036
+ "badgeDisabled"
2037
+ ]
2038
+ },
2039
+ {
2040
+ kind: "ngmodule",
2041
+ type: SharedModule
2042
+ },
2043
+ {
2044
+ kind: "directive",
2045
+ type: Bind,
2046
+ selector: "[hBind]",
2047
+ inputs: ["hBind"]
2048
+ }
2049
+ ],
2050
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2051
+ encapsulation: i0.ViewEncapsulation.None
2052
+ });
2053
+ };
2054
+ i0.ɵɵngDeclareClassMetadata({
2055
+ minVersion: "12.0.0",
2056
+ version: "22.2.1",
2057
+ ngImport: i0,
2058
+ type: Button,
2059
+ decorators: [{
2060
+ type: Component,
2061
+ args: [{
2062
+ selector: "h-button",
2063
+ standalone: true,
2064
+ imports: [
2065
+ CommonModule,
2066
+ Ripple,
2067
+ AutoFocus,
2068
+ SpinnerIcon,
2069
+ BadgeModule,
2070
+ SharedModule,
2071
+ Bind
2072
+ ],
2073
+ changeDetection: ChangeDetectionStrategy.OnPush,
2074
+ encapsulation: ViewEncapsulation.None,
2075
+ providers: [
2076
+ ButtonStyle,
2077
+ {
2078
+ provide: BUTTON_INSTANCE,
2079
+ useExisting: Button
2080
+ },
2081
+ {
2082
+ provide: PARENT_INSTANCE,
2083
+ useExisting: Button
2084
+ }
2085
+ ],
2086
+ hostDirectives: [Bind],
2087
+ template: "<button\n [attr.type]=\"type() || buttonProps()?.type\"\n [attr.aria-label]=\"ariaLabel() || buttonProps()?.ariaLabel\"\n [ngStyle]=\"style() || buttonProps()?.style\"\n [disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [class]=\"cn(cx('root'), styleClass(), $safeNavigationMigration(buttonProps()?.styleClass))\"\n (click)=\"onClick.emit($event)\"\n (focus)=\"onFocus.emit($event)\"\n (blur)=\"onBlur.emit($event)\"\n hRipple\n [attr.tabindex]=\"tabindex() || buttonProps()?.tabindex\"\n [hAutoFocus]=\"autofocus() || buttonProps()?.autofocus\"\n [hBind]=\"ptm('root')\"\n [attr.data-h]=\"dataP\"\n [attr.data-h-disabled]=\"disabled() || loading() || buttonProps()?.disabled\"\n [attr.data-h-severity]=\"severity() || buttonProps()?.severity\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n @if (loading() || buttonProps()?.loading) {\n @if (!loadingIconTemplate() && !_loadingIconTemplate) {\n @if (loadingIcon() || buttonProps()?.loadingIcon) {\n <span [class]=\"cn(cx('loadingIcon'), 'pi-spin', loadingIcon() || buttonProps()?.loadingIcon)\" [hBind]=\"ptm('loadingIcon')\" [attr.aria-hidden]=\"true\"></span>\n }\n @if (!(loadingIcon() || buttonProps()?.loadingIcon)) {\n <svg data-h-icon=\"spinner\" [class]=\"cn(cx('loadingIcon'), cx('spinnerIcon'))\" [hBind]=\"ptm('loadingIcon')\" [spin]=\"true\" [attr.aria-hidden]=\"true\" />\n }\n }\n @if (loadingIconTemplate() || _loadingIconTemplate) {\n <ng-template *ngTemplateOutlet=\"loadingIconTemplate() || _loadingIconTemplate; context: { class: cx('loadingIcon'), pt: ptm('loadingIcon') }\"></ng-template>\n }\n }\n @if (!(loading() || buttonProps()?.loading)) {\n @if ((icon() || buttonProps()?.icon) && !iconTemplate() && !_iconTemplate) {\n <span [class]=\"cn(cx('icon'), icon() || buttonProps()?.icon)\" [hBind]=\"ptm('icon')\" [attr.data-h]=\"dataIconP\"></span>\n }\n @if (!icon() && (iconTemplate() || _iconTemplate)) {\n <ng-template *ngTemplateOutlet=\"iconTemplate() || _iconTemplate; context: { class: cx('icon'), pt: ptm('icon') }\"></ng-template>\n }\n }\n @if (!contentTemplate() && !_contentTemplate && (label() || buttonProps()?.label)) {\n <span\n [class]=\"cx('label')\"\n [attr.aria-hidden]=\"(icon() || buttonProps()?.icon) && !(label() || buttonProps()?.label)\"\n [hBind]=\"ptm('label')\"\n [attr.data-h]=\"dataLabelP\"\n >{{ label() || buttonProps()?.label }}</span\n >\n }\n @if (!contentTemplate() && !_contentTemplate && (badge() || buttonProps()?.badge)) {\n <h-badge\n [value]=\"badge() || buttonProps()?.badge\"\n [severity]=\"badgeSeverity() || buttonProps()?.badgeSeverity\"\n [pt]=\"ptm('pcBadge')\"\n [unstyled]=\"unstyled()\"\n ></h-badge>\n }\n </button>\n"
2088
+ }]
2089
+ }],
2090
+ propDecorators: {
2091
+ hostName: [{
2092
+ type: i0.Input,
2093
+ args: [{
2094
+ isSignal: true,
2095
+ alias: "hostName",
2096
+ required: false
2097
+ }]
2098
+ }],
2099
+ type: [{
2100
+ type: i0.Input,
2101
+ args: [{
2102
+ isSignal: true,
2103
+ alias: "type",
2104
+ required: false
2105
+ }]
2106
+ }],
2107
+ badge: [{
2108
+ type: i0.Input,
2109
+ args: [{
2110
+ isSignal: true,
2111
+ alias: "badge",
2112
+ required: false
2113
+ }]
2114
+ }],
2115
+ disabled: [{
2116
+ type: i0.Input,
2117
+ args: [{
2118
+ isSignal: true,
2119
+ alias: "disabled",
2120
+ required: false
2121
+ }]
2122
+ }],
2123
+ raised: [{
2124
+ type: i0.Input,
2125
+ args: [{
2126
+ isSignal: true,
2127
+ alias: "raised",
2128
+ required: false
2129
+ }]
2130
+ }],
2131
+ rounded: [{
2132
+ type: i0.Input,
2133
+ args: [{
2134
+ isSignal: true,
2135
+ alias: "rounded",
2136
+ required: false
2137
+ }]
2138
+ }],
2139
+ text: [{
2140
+ type: i0.Input,
2141
+ args: [{
2142
+ isSignal: true,
2143
+ alias: "text",
2144
+ required: false
2145
+ }]
2146
+ }],
2147
+ plain: [{
2148
+ type: i0.Input,
2149
+ args: [{
2150
+ isSignal: true,
2151
+ alias: "plain",
2152
+ required: false
2153
+ }]
2154
+ }],
2155
+ outlined: [{
2156
+ type: i0.Input,
2157
+ args: [{
2158
+ isSignal: true,
2159
+ alias: "outlined",
2160
+ required: false
2161
+ }]
2162
+ }],
2163
+ link: [{
2164
+ type: i0.Input,
2165
+ args: [{
2166
+ isSignal: true,
2167
+ alias: "link",
2168
+ required: false
2169
+ }]
2170
+ }],
2171
+ tabindex: [{
2172
+ type: i0.Input,
2173
+ args: [{
2174
+ isSignal: true,
2175
+ alias: "tabindex",
2176
+ required: false
2177
+ }]
2178
+ }],
2179
+ size: [{
2180
+ type: i0.Input,
2181
+ args: [{
2182
+ isSignal: true,
2183
+ alias: "size",
2184
+ required: false
2185
+ }]
2186
+ }],
2187
+ variant: [{
2188
+ type: i0.Input,
2189
+ args: [{
2190
+ isSignal: true,
2191
+ alias: "variant",
2192
+ required: false
2193
+ }]
2194
+ }],
2195
+ style: [{
2196
+ type: i0.Input,
2197
+ args: [{
2198
+ isSignal: true,
2199
+ alias: "style",
2200
+ required: false
2201
+ }]
2202
+ }],
2203
+ styleClass: [{
2204
+ type: i0.Input,
2205
+ args: [{
2206
+ isSignal: true,
2207
+ alias: "styleClass",
2208
+ required: false
2209
+ }]
2210
+ }],
2211
+ badgeClass: [{
2212
+ type: i0.Input,
2213
+ args: [{
2214
+ isSignal: true,
2215
+ alias: "badgeClass",
2216
+ required: false
2217
+ }]
2218
+ }],
2219
+ badgeSeverity: [{
2220
+ type: i0.Input,
2221
+ args: [{
2222
+ isSignal: true,
2223
+ alias: "badgeSeverity",
2224
+ required: false
2225
+ }]
2226
+ }],
2227
+ ariaLabel: [{
2228
+ type: i0.Input,
2229
+ args: [{
2230
+ isSignal: true,
2231
+ alias: "ariaLabel",
2232
+ required: false
2233
+ }]
2234
+ }],
2235
+ autofocus: [{
2236
+ type: i0.Input,
2237
+ args: [{
2238
+ isSignal: true,
2239
+ alias: "autofocus",
2240
+ required: false
2241
+ }]
2242
+ }],
2243
+ iconPos: [{
2244
+ type: i0.Input,
2245
+ args: [{
2246
+ isSignal: true,
2247
+ alias: "iconPos",
2248
+ required: false
2249
+ }]
2250
+ }],
2251
+ icon: [{
2252
+ type: i0.Input,
2253
+ args: [{
2254
+ isSignal: true,
2255
+ alias: "icon",
2256
+ required: false
2257
+ }]
2258
+ }],
2259
+ label: [{
2260
+ type: i0.Input,
2261
+ args: [{
2262
+ isSignal: true,
2263
+ alias: "label",
2264
+ required: false
2265
+ }]
2266
+ }],
2267
+ loading: [{
2268
+ type: i0.Input,
2269
+ args: [{
2270
+ isSignal: true,
2271
+ alias: "loading",
2272
+ required: false
2273
+ }]
2274
+ }],
2275
+ loadingIcon: [{
2276
+ type: i0.Input,
2277
+ args: [{
2278
+ isSignal: true,
2279
+ alias: "loadingIcon",
2280
+ required: false
2281
+ }]
2282
+ }],
2283
+ severity: [{
2284
+ type: i0.Input,
2285
+ args: [{
2286
+ isSignal: true,
2287
+ alias: "severity",
2288
+ required: false
2289
+ }]
2290
+ }],
2291
+ buttonProps: [{
2292
+ type: i0.Input,
2293
+ args: [{
2294
+ isSignal: true,
2295
+ alias: "buttonProps",
2296
+ required: false
2297
+ }]
2298
+ }],
2299
+ fluid: [{
2300
+ type: i0.Input,
2301
+ args: [{
2302
+ isSignal: true,
2303
+ alias: "fluid",
2304
+ required: false
2305
+ }]
2306
+ }],
2307
+ onClick: [{
2308
+ type: i0.Output,
2309
+ args: ["onClick"]
2310
+ }],
2311
+ onFocus: [{
2312
+ type: i0.Output,
2313
+ args: ["onFocus"]
2314
+ }],
2315
+ onBlur: [{
2316
+ type: i0.Output,
2317
+ args: ["onBlur"]
2318
+ }],
2319
+ contentTemplate: [{
2320
+ type: i0.ContentChild,
2321
+ args: ["content", { isSignal: true }]
2322
+ }],
2323
+ loadingIconTemplate: [{
2324
+ type: i0.ContentChild,
2325
+ args: ["loadingicon", { isSignal: true }]
2326
+ }],
2327
+ iconTemplate: [{
2328
+ type: i0.ContentChild,
2329
+ args: ["icon", { isSignal: true }]
2330
+ }],
2331
+ templates: [{
2332
+ type: i0.ContentChildren,
2333
+ args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
2334
+ }]
2335
+ }
2336
+ });
2337
+ var ButtonModule = class ButtonModule {
2338
+ static ɵfac = i0.ɵɵngDeclareFactory({
2339
+ minVersion: "12.0.0",
2340
+ version: "22.2.1",
2341
+ ngImport: i0,
2342
+ type: ButtonModule,
2343
+ deps: [],
2344
+ target: i0.ɵɵFactoryTarget.NgModule
2345
+ });
2346
+ static ɵmod = i0.ɵɵngDeclareNgModule({
2347
+ minVersion: "14.0.0",
2348
+ version: "22.2.1",
2349
+ ngImport: i0,
2350
+ type: ButtonModule,
2351
+ imports: [
2352
+ CommonModule,
2353
+ ButtonDirective,
2354
+ Button,
2355
+ SharedModule,
2356
+ ButtonLabel,
2357
+ ButtonIcon
2358
+ ],
2359
+ exports: [
2360
+ ButtonDirective,
2361
+ Button,
2362
+ ButtonLabel,
2363
+ ButtonIcon,
2364
+ SharedModule
2365
+ ]
2366
+ });
2367
+ static ɵinj = i0.ɵɵngDeclareInjector({
2368
+ minVersion: "12.0.0",
2369
+ version: "22.2.1",
2370
+ ngImport: i0,
2371
+ type: ButtonModule,
2372
+ imports: [
2373
+ CommonModule,
2374
+ Button,
2375
+ SharedModule,
2376
+ SharedModule
2377
+ ]
2378
+ });
2379
+ };
2380
+ i0.ɵɵngDeclareClassMetadata({
2381
+ minVersion: "12.0.0",
2382
+ version: "22.2.1",
2383
+ ngImport: i0,
2384
+ type: ButtonModule,
2385
+ decorators: [{
2386
+ type: NgModule,
2387
+ args: [{
2388
+ imports: [
2389
+ CommonModule,
2390
+ ButtonDirective,
2391
+ Button,
2392
+ SharedModule,
2393
+ ButtonLabel,
2394
+ ButtonIcon
2395
+ ],
2396
+ exports: [
2397
+ ButtonDirective,
2398
+ Button,
2399
+ ButtonLabel,
2400
+ ButtonIcon,
2401
+ SharedModule
2402
+ ]
2403
+ }]
2404
+ }]
2405
+ });
1493
2406
  export { Button, ButtonClasses, ButtonDirective, ButtonIcon, ButtonLabel, ButtonModule, ButtonStyle };
1494
- //# sourceMappingURL=gravionlabs-helix-core-button.mjs.map
2407
+
2408
+ //# sourceMappingURL=gravionlabs-helix-core-button.mjs.map