@gravionlabs/helix-core 22.1.2 → 22.1.4

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,25 +1,25 @@
1
- export * from '@gravionlabs/helix-core/types/password';
2
- import * as i2 from '@angular/common';
3
- import { isPlatformBrowser, CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, input, booleanAttribute, computed, effect, signal, Directive, Pipe, forwardRef, numberAttribute, output, viewChild, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { addClass, absolutePosition, removeClass, hasClass, isTouchDevice } from '@gravionlabs/helix-core/uix/utils';
8
- import { HelixTemplate, OverlayService, TranslationKeys, SharedModule } from '@gravionlabs/helix-core/api';
9
- import { AutoFocus } from '@gravionlabs/helix-core/autofocus';
10
- import { PARENT_INSTANCE } from '@gravionlabs/helix-core/basecomponent';
11
- import { BaseEditableHolder } from '@gravionlabs/helix-core/baseeditableholder';
12
- import { BaseInput } from '@gravionlabs/helix-core/baseinput';
13
- import * as i1 from '@gravionlabs/helix-core/bind';
14
- import { Bind, BindModule } from '@gravionlabs/helix-core/bind';
15
- import { DomHandler, ConnectedOverlayScrollHandler } from '@gravionlabs/helix-core/dom';
16
- import { Fluid } from '@gravionlabs/helix-core/fluid';
17
- import { TimesIcon, EyeSlashIcon, EyeIcon } from '@gravionlabs/helix-core/icons';
18
- import { InputText } from '@gravionlabs/helix-core/inputtext';
19
- import { Overlay } from '@gravionlabs/helix-core/overlay';
20
- import { BaseStyle } from '@gravionlabs/helix-core/base';
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, Pipe, ViewEncapsulation, booleanAttribute, computed, contentChild, contentChildren, effect, forwardRef, inject, input, numberAttribute, output, signal, viewChild } from "@angular/core";
5
+ import { NG_VALUE_ACCESSOR } from "@angular/forms";
6
+ import { absolutePosition, addClass, hasClass, isTouchDevice, removeClass } from "@gravionlabs/helix-core/uix/utils";
7
+ import { HelixTemplate, OverlayService, SharedModule, TranslationKeys } from "@gravionlabs/helix-core/api";
8
+ import { AutoFocus } from "@gravionlabs/helix-core/autofocus";
9
+ import { PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
10
+ import { BaseEditableHolder } from "@gravionlabs/helix-core/baseeditableholder";
11
+ import { BaseInput } from "@gravionlabs/helix-core/baseinput";
12
+ import * as i1 from "@gravionlabs/helix-core/bind";
13
+ import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
14
+ import { ConnectedOverlayScrollHandler, DomHandler } from "@gravionlabs/helix-core/dom";
15
+ import { Fluid } from "@gravionlabs/helix-core/fluid";
16
+ import { EyeIcon, EyeSlashIcon, TimesIcon } from "@gravionlabs/helix-core/icons";
17
+ import { InputText } from "@gravionlabs/helix-core/inputtext";
18
+ import { Overlay } from "@gravionlabs/helix-core/overlay";
19
+ import { BaseStyle } from "@gravionlabs/helix-core/base";
20
+ export * from "@gravionlabs/helix-core/types/password";
21
+ const style = `
21
22
 
22
- const style$1 = /*css*/ `
23
23
  .h-password {
24
24
  display: inline-flex;
25
25
  position: relative;
@@ -117,10 +117,7 @@ const style$1 = /*css*/ `
117
117
  padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));
118
118
  }
119
119
 
120
- `;
121
120
 
122
- const style = /*css*/ `
123
- ${style$1}
124
121
 
125
122
  /* For Helix */
126
123
  .h-password-overlay {
@@ -167,881 +164,1614 @@ h-password.ng-invalid.ng-dirty .h-inputtext::placeholder {
167
164
  }
168
165
  `;
169
166
  const inlineStyles = {
170
- root: ({ instance }) => ({ position: instance.$appendTo() === 'self' ? 'relative' : undefined }),
171
- overlay: { position: 'absolute' }
167
+ root: ({ instance }) => ({ position: instance.$appendTo() === "self" ? "relative" : void 0 }),
168
+ overlay: { position: "absolute" }
172
169
  };
173
170
  const classes = {
174
- root: ({ instance }) => [
175
- 'h-password h-component h-inputwrapper',
176
- {
177
- 'h-inputwrapper-filled': instance.$filled(),
178
- 'h-variant-filled': instance.$variant() === 'filled',
179
- 'h-inputwrapper-focus': instance.focused,
180
- 'h-password-fluid': instance.hasFluid
181
- }
182
- ],
183
- rootDirective: ({ instance }) => [
184
- 'h-password h-inputtext h-component h-inputwrapper',
185
- {
186
- 'h-inputwrapper-filled': instance.$filled(),
187
- 'h-variant-filled': instance.$variant() === 'filled',
188
- 'h-password-fluid-directive': instance.hasFluid
189
- }
190
- ],
191
- pcInputText: 'h-password-input',
192
- maskIcon: 'h-password-toggle-mask-icon h-password-mask-icon',
193
- unmaskIcon: 'h-password-toggle-mask-icon h-password-unmask-icon',
194
- overlay: 'h-password-overlay h-component',
195
- content: 'h-password-content',
196
- meter: 'h-password-meter',
197
- meterLabel: ({ instance }) => `h-password-meter-label ${instance.meter ? 'h-password-meter-' + instance.meter.strength : ''}`,
198
- meterText: 'h-password-meter-text',
199
- clearIcon: 'h-password-clear-icon'
171
+ root: ({ instance }) => ["h-password h-component h-inputwrapper", {
172
+ "h-inputwrapper-filled": instance.$filled(),
173
+ "h-variant-filled": instance.$variant() === "filled",
174
+ "h-inputwrapper-focus": instance.focused,
175
+ "h-password-fluid": instance.hasFluid
176
+ }],
177
+ rootDirective: ({ instance }) => ["h-password h-inputtext h-component h-inputwrapper", {
178
+ "h-inputwrapper-filled": instance.$filled(),
179
+ "h-variant-filled": instance.$variant() === "filled",
180
+ "h-password-fluid-directive": instance.hasFluid
181
+ }],
182
+ pcInputText: "h-password-input",
183
+ maskIcon: "h-password-toggle-mask-icon h-password-mask-icon",
184
+ unmaskIcon: "h-password-toggle-mask-icon h-password-unmask-icon",
185
+ overlay: "h-password-overlay h-component",
186
+ content: "h-password-content",
187
+ meter: "h-password-meter",
188
+ meterLabel: ({ instance }) => `h-password-meter-label ${instance.meter ? "h-password-meter-" + instance.meter.strength : ""}`,
189
+ meterText: "h-password-meter-text",
190
+ clearIcon: "h-password-clear-icon"
200
191
  };
201
- class PasswordStyle extends BaseStyle {
202
- name = 'password';
203
- style = style;
204
- classes = classes;
205
- inlineStyles = inlineStyles;
206
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
207
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordStyle });
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordStyle, decorators: [{
210
- type: Injectable
211
- }] });
212
- /**
213
- *
214
- * Password displays strength indicator for password fields.
215
- *
216
- * [Live Demo](https://www.primeng.org/password/)
217
- *
218
- * @module passwordstyle
219
- *
220
- */
192
+ var PasswordStyle = class PasswordStyle extends BaseStyle {
193
+ name = "password";
194
+ style = style;
195
+ classes = classes;
196
+ inlineStyles = inlineStyles;
197
+ static ɵfac = i0.ɵɵngDeclareFactory({
198
+ minVersion: "12.0.0",
199
+ version: "22.2.1",
200
+ ngImport: i0,
201
+ type: PasswordStyle,
202
+ deps: null,
203
+ target: i0.ɵɵFactoryTarget.Injectable
204
+ });
205
+ static ɵprov = i0.ɵɵngDeclareInjectable({
206
+ minVersion: "12.0.0",
207
+ version: "22.2.1",
208
+ ngImport: i0,
209
+ type: PasswordStyle
210
+ });
211
+ };
212
+ i0.ɵɵngDeclareClassMetadata({
213
+ minVersion: "12.0.0",
214
+ version: "22.2.1",
215
+ ngImport: i0,
216
+ type: PasswordStyle,
217
+ decorators: [{ type: Injectable }]
218
+ });
221
219
  var PasswordClasses;
222
- (function (PasswordClasses) {
223
- /**
224
- * Class name of the root element
225
- */
226
- PasswordClasses["root"] = "h-password";
227
- /**
228
- * Class name of the pt input element
229
- */
230
- PasswordClasses["pcInputText"] = "h-password-input";
231
- /**
232
- * Class name of the mask icon element
233
- */
234
- PasswordClasses["maskIcon"] = "h-password-mask-icon";
235
- /**
236
- * Class name of the unmask icon element
237
- */
238
- PasswordClasses["unmaskIcon"] = "h-password-unmask-icon";
239
- /**
240
- * Class name of the overlay element
241
- */
242
- PasswordClasses["overlay"] = "h-password-overlay";
243
- /**
244
- * Class name of the meter element
245
- */
246
- PasswordClasses["meter"] = "h-password-meter";
247
- /**
248
- * Class name of the meter label element
249
- */
250
- PasswordClasses["meterLabel"] = "h-password-meter-label";
251
- /**
252
- * Class name of the meter text element
253
- */
254
- PasswordClasses["meterText"] = "h-password-meter-text";
255
- /**
256
- * Class name of the clear icon
257
- */
258
- PasswordClasses["clearIcon"] = "h-password-clear-icon";
220
+ (function(PasswordClasses) {
221
+ PasswordClasses["root"] = "h-password";
222
+ PasswordClasses["pcInputText"] = "h-password-input";
223
+ PasswordClasses["maskIcon"] = "h-password-mask-icon";
224
+ PasswordClasses["unmaskIcon"] = "h-password-unmask-icon";
225
+ PasswordClasses["overlay"] = "h-password-overlay";
226
+ PasswordClasses["meter"] = "h-password-meter";
227
+ PasswordClasses["meterLabel"] = "h-password-meter-label";
228
+ PasswordClasses["meterText"] = "h-password-meter-text";
229
+ PasswordClasses["clearIcon"] = "h-password-clear-icon";
259
230
  })(PasswordClasses || (PasswordClasses = {}));
260
-
261
- const PASSWORD_DIRECTIVE_INSTANCE = new InjectionToken('PASSWORD_DIRECTIVE_INSTANCE');
262
- const PASSWORD_INSTANCE = new InjectionToken('PASSWORD_INSTANCE');
263
- /**
264
- * Password directive.
265
- * @group Components
266
- */
267
- class PasswordDirective extends BaseEditableHolder {
268
- zone;
269
- bindDirectiveInstance = inject(Bind, { self: true });
270
- $pcPasswordDirective = inject(PASSWORD_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
271
- /**
272
- * Used to pass attributes to DOM elements inside the Password component.
273
- * @defaultValue undefined
274
- * @group Props
275
- */
276
- pPasswordPT = input(/* @ts-ignore */
277
- ...(ngDevMode ? [undefined, { debugName: "pPasswordPT" }] : /* istanbul ignore next */ []));
278
- /**
279
- * Indicates whether the component should be rendered without styles.
280
- * @defaultValue undefined
281
- * @group Props
282
- */
283
- pPasswordUnstyled = input(/* @ts-ignore */
284
- ...(ngDevMode ? [undefined, { debugName: "pPasswordUnstyled" }] : /* istanbul ignore next */ []));
285
- onAfterViewChecked() {
286
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
287
- }
288
- /**
289
- * Text to prompt password entry. Defaults to Helix I18N API configuration.
290
- * @group Props
291
- */
292
- promptLabel = input('Enter a password', /* @ts-ignore */
293
- ...(ngDevMode ? [{ debugName: "promptLabel" }] : /* istanbul ignore next */ []));
294
- /**
295
- * Text for a weak password. Defaults to Helix I18N API configuration.
296
- * @group Props
297
- */
298
- weakLabel = input('Weak', /* @ts-ignore */
299
- ...(ngDevMode ? [{ debugName: "weakLabel" }] : /* istanbul ignore next */ []));
300
- /**
301
- * Text for a medium password. Defaults to Helix I18N API configuration.
302
- * @group Props
303
- */
304
- mediumLabel = input('Medium', /* @ts-ignore */
305
- ...(ngDevMode ? [{ debugName: "mediumLabel" }] : /* istanbul ignore next */ []));
306
- /**
307
- * Text for a strong password. Defaults to Helix I18N API configuration.
308
- * @group Props
309
- */
310
- strongLabel = input('Strong', /* @ts-ignore */
311
- ...(ngDevMode ? [{ debugName: "strongLabel" }] : /* istanbul ignore next */ []));
312
- /**
313
- * Whether to show the strength indicator or not.
314
- * @group Props
315
- */
316
- feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
317
- /**
318
- * Sets the visibility of the password field.
319
- * @defaultValue false
320
- * @type boolean
321
- * @group Props
322
- */
323
- showPassword = input(false, /* @ts-ignore */
324
- ...(ngDevMode ? [{ debugName: "showPassword" }] : /* istanbul ignore next */ []));
325
- /**
326
- * Specifies the input variant of the component.
327
- * @defaultValue 'outlined'
328
- * @group Props
329
- */
330
- variant = input(/* @ts-ignore */
331
- ...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
332
- /**
333
- * Spans 100% width of the container when enabled.
334
- * @defaultValue false
335
- * @group Props
336
- */
337
- fluid = input(undefined, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
338
- /**
339
- * Specifies the size of the component.
340
- * @defaultValue undefined
341
- * @group Props
342
- */
343
- size = input(undefined, { ...(ngDevMode ? { debugName: "size" } : /* istanbul ignore next */ {}), alias: 'pSize' });
344
- pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
345
- $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant(), /* @ts-ignore */
346
- ...(ngDevMode ? [{ debugName: "$variant" }] : /* istanbul ignore next */ []));
347
- get hasFluid() {
348
- return this.fluid() ?? !!this.pcFluid;
349
- }
350
- panel;
351
- meter;
352
- info;
353
- filled;
354
- content;
355
- label;
356
- scrollHandler;
357
- documentResizeListener;
358
- _componentStyle = inject(PasswordStyle);
359
- constructor(zone) {
360
- super();
361
- this.zone = zone;
362
- effect(() => {
363
- this.el.nativeElement.type = this.showPassword() ? 'text' : 'password';
364
- });
365
- effect(() => {
366
- const pt = this.pPasswordPT();
367
- pt && this.directivePT.set(pt);
368
- });
369
- effect(() => {
370
- this.pPasswordUnstyled() && this.directiveUnstyled.set(this.pPasswordUnstyled());
371
- });
372
- }
373
- onInput(e) {
374
- this.writeModelValue(this.el.nativeElement.value);
375
- }
376
- createPanel() {
377
- if (isPlatformBrowser(this.platformId)) {
378
- this.panel = this.renderer.createElement('div');
379
- this.renderer.addClass(this.panel, 'h-password-overlay');
380
- this.renderer.addClass(this.panel, 'h-component');
381
- this.content = this.renderer.createElement('div');
382
- this.renderer.addClass(this.content, 'h-password-content');
383
- this.renderer.appendChild(this.panel, this.content);
384
- this.meter = this.renderer.createElement('div');
385
- this.renderer.addClass(this.meter, 'h-password-meter');
386
- this.renderer.appendChild(this.content, this.meter);
387
- this.label = this.renderer.createElement('div');
388
- this.renderer.addClass(this.label, 'h-password-meter-label');
389
- this.renderer.appendChild(this.meter, this.label);
390
- this.info = this.renderer.createElement('div');
391
- this.renderer.addClass(this.info, 'h-password-meter-text');
392
- this.renderer.setProperty(this.info, 'textContent', this.promptLabel());
393
- this.renderer.appendChild(this.content, this.info);
394
- this.renderer.setStyle(this.panel, 'minWidth', `${this.el.nativeElement.offsetWidth}px`);
395
- this.renderer.appendChild(document.body, this.panel);
396
- this.updateMeter();
397
- }
398
- }
399
- showOverlay() {
400
- if (this.feedback()) {
401
- if (!this.panel) {
402
- this.createPanel();
403
- }
404
- this.renderer.setStyle(this.panel, 'zIndex', String(++DomHandler.zindex));
405
- this.renderer.setStyle(this.panel, 'display', 'block');
406
- this.zone.runOutsideAngular(() => {
407
- setTimeout(() => {
408
- addClass(this.panel, 'h-connected-overlay-visible');
409
- this.bindScrollListener();
410
- this.bindDocumentResizeListener();
411
- }, 1);
412
- });
413
- absolutePosition(this.panel, this.el.nativeElement);
414
- }
415
- }
416
- hideOverlay() {
417
- if (this.feedback() && this.panel) {
418
- addClass(this.panel, 'h-connected-overlay-hidden');
419
- removeClass(this.panel, 'h-connected-overlay-visible');
420
- this.unbindScrollListener();
421
- this.unbindDocumentResizeListener();
422
- this.zone.runOutsideAngular(() => {
423
- setTimeout(() => {
424
- this.onDestroy();
425
- }, 150);
426
- });
427
- }
428
- }
429
- onFocus() {
430
- this.showOverlay();
431
- }
432
- onBlur() {
433
- this.hideOverlay();
434
- }
435
- labelSignal = signal('', /* @ts-ignore */
436
- ...(ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []));
437
- onKeyup(e) {
438
- if (this.feedback()) {
439
- let value = e.target.value, label = null, meterPos = null;
440
- if (value.length === 0) {
441
- label = this.promptLabel();
442
- meterPos = '0px 0px';
443
- }
444
- else {
445
- var score = this.testStrength(value);
446
- if (score < 30) {
447
- label = this.weakLabel();
448
- meterPos = '0px -10px';
449
- }
450
- else if (score >= 30 && score < 80) {
451
- label = this.mediumLabel();
452
- meterPos = '0px -20px';
453
- }
454
- else if (score >= 80) {
455
- label = this.strongLabel();
456
- meterPos = '0px -30px';
457
- }
458
- this.labelSignal.set(label);
459
- this.updateMeter();
460
- }
461
- if (!this.panel || !hasClass(this.panel, 'h-connected-overlay-visible')) {
462
- this.showOverlay();
463
- }
464
- if (this.meter) {
465
- this.renderer.setStyle(this.meter, 'backgroundPosition', meterPos);
466
- }
467
- if (this.info) {
468
- this.info.textContent = label;
469
- }
470
- }
471
- }
472
- updateMeter() {
473
- if (this.labelSignal() && this.meter && this.info) {
474
- const label = this.labelSignal();
475
- const strengthClass = this.strengthClass(label.toLowerCase());
476
- const width = this.getWidth(label.toLowerCase());
477
- this.renderer.addClass(this.meter, strengthClass);
478
- this.renderer.setStyle(this.meter, 'width', width);
479
- this.info.textContent = label;
480
- }
481
- }
482
- getWidth(label) {
483
- return label === 'weak' ? '33.33%' : label === 'medium' ? '66.66%' : label === 'strong' ? '100%' : '';
484
- }
485
- strengthClass(label) {
486
- return `h-password-meter${label ? `-${label}` : ''}`;
487
- }
488
- testStrength(str) {
489
- let grade = 0;
490
- let val;
491
- val = str.match('[0-9]');
492
- grade += this.normalize(val ? val.length : 1 / 4, 1) * 25;
493
- val = str.match('[a-zA-Z]');
494
- grade += this.normalize(val ? val.length : 1 / 2, 3) * 10;
495
- val = str.match('[!@#$%^&*?_~.,;=]');
496
- grade += this.normalize(val ? val.length : 1 / 6, 1) * 35;
497
- val = str.match('[A-Z]');
498
- grade += this.normalize(val ? val.length : 1 / 6, 1) * 30;
499
- grade *= str.length / 8;
500
- return grade > 100 ? 100 : grade;
501
- }
502
- normalize(x, y) {
503
- let diff = x - y;
504
- if (diff <= 0)
505
- return x / y;
506
- else
507
- return 1 + 0.5 * (x / (x + y / 4));
508
- }
509
- bindScrollListener() {
510
- if (!this.scrollHandler) {
511
- this.scrollHandler = new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {
512
- if (hasClass(this.panel, 'h-connected-overlay-visible')) {
513
- this.hideOverlay();
514
- }
515
- });
516
- }
517
- this.scrollHandler.bindScrollListener();
518
- }
519
- unbindScrollListener() {
520
- if (this.scrollHandler) {
521
- this.scrollHandler.unbindScrollListener();
522
- }
523
- }
524
- bindDocumentResizeListener() {
525
- if (isPlatformBrowser(this.platformId)) {
526
- if (!this.documentResizeListener) {
527
- const window = this.document.defaultView;
528
- this.documentResizeListener = this.renderer.listen(window, 'resize', this.onWindowResize.bind(this));
529
- }
530
- }
531
- }
532
- unbindDocumentResizeListener() {
533
- if (this.documentResizeListener) {
534
- this.documentResizeListener();
535
- this.documentResizeListener = null;
536
- }
537
- }
538
- onWindowResize() {
539
- if (!isTouchDevice()) {
540
- this.hideOverlay();
541
- }
542
- }
543
- onDestroy() {
544
- if (this.panel) {
545
- if (this.scrollHandler) {
546
- this.scrollHandler.destroy();
547
- this.scrollHandler = null;
548
- }
549
- this.unbindDocumentResizeListener();
550
- this.renderer.removeChild(this.document.body, this.panel);
551
- this.panel = null;
552
- this.meter = null;
553
- this.info = null;
554
- }
555
- }
556
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
557
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: PasswordDirective, isStandalone: true, selector: "[hPassword]", inputs: { pPasswordPT: { classPropertyName: "pPasswordPT", publicName: "pPasswordPT", isSignal: true, isRequired: false, transformFunction: null }, pPasswordUnstyled: { classPropertyName: "pPasswordUnstyled", publicName: "pPasswordUnstyled", isSignal: true, isRequired: false, transformFunction: null }, promptLabel: { classPropertyName: "promptLabel", publicName: "promptLabel", isSignal: true, isRequired: false, transformFunction: null }, weakLabel: { classPropertyName: "weakLabel", publicName: "weakLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumLabel: { classPropertyName: "mediumLabel", publicName: "mediumLabel", isSignal: true, isRequired: false, transformFunction: null }, strongLabel: { classPropertyName: "strongLabel", publicName: "strongLabel", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, showPassword: { classPropertyName: "showPassword", publicName: "showPassword", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "pSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "input": "onInput($event)", "focus": "onFocus()", "blur": "onBlur()", "keyup": "onKeyup($event)" }, properties: { "class": "cx('rootDirective')" } }, providers: [PasswordStyle, { provide: PASSWORD_DIRECTIVE_INSTANCE, useExisting: PasswordDirective }, { provide: PARENT_INSTANCE, useExisting: PasswordDirective }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
558
- }
559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordDirective, decorators: [{
560
- type: Directive,
561
- args: [{
562
- selector: '[hPassword]',
563
- standalone: true,
564
- host: {
565
- '[class]': "cx('rootDirective')",
566
- '(input)': 'onInput($event)',
567
- '(focus)': 'onFocus()',
568
- '(blur)': 'onBlur()',
569
- '(keyup)': 'onKeyup($event)'
570
- },
571
- providers: [PasswordStyle, { provide: PASSWORD_DIRECTIVE_INSTANCE, useExisting: PasswordDirective }, { provide: PARENT_INSTANCE, useExisting: PasswordDirective }],
572
- hostDirectives: [Bind]
573
- }]
574
- }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { pPasswordPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pPasswordPT", required: false }] }], pPasswordUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pPasswordUnstyled", required: false }] }], promptLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "promptLabel", required: false }] }], weakLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "weakLabel", required: false }] }], mediumLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumLabel", required: false }] }], strongLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongLabel", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], showPassword: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPassword", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "pSize", required: false }] }] } });
575
- class MapperPipe {
576
- transform(value, mapper, ...args) {
577
- return mapper(value, ...args);
578
- }
579
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MapperPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
580
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: MapperPipe, isStandalone: true, name: "mapper" });
581
- }
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MapperPipe, decorators: [{
583
- type: Pipe,
584
- args: [{
585
- name: 'mapper',
586
- pure: true,
587
- standalone: true
588
- }]
589
- }] });
231
+ const PASSWORD_DIRECTIVE_INSTANCE = new InjectionToken("PASSWORD_DIRECTIVE_INSTANCE");
232
+ const PASSWORD_INSTANCE = new InjectionToken("PASSWORD_INSTANCE");
233
+ var PasswordDirective = class PasswordDirective extends BaseEditableHolder {
234
+ zone;
235
+ bindDirectiveInstance = inject(Bind, { self: true });
236
+ $pcPasswordDirective = inject(PASSWORD_DIRECTIVE_INSTANCE, {
237
+ optional: true,
238
+ skipSelf: true
239
+ }) ?? void 0;
240
+ pPasswordPT = input(...ngDevMode ? [void 0, { debugName: "pPasswordPT" }] : /* istanbul ignore next */ []);
241
+ pPasswordUnstyled = input(...ngDevMode ? [void 0, { debugName: "pPasswordUnstyled" }] : /* istanbul ignore next */ []);
242
+ onAfterViewChecked() {
243
+ this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
244
+ }
245
+ promptLabel = input("Enter a password", ...ngDevMode ? [{ debugName: "promptLabel" }] : /* istanbul ignore next */ []);
246
+ weakLabel = input("Weak", ...ngDevMode ? [{ debugName: "weakLabel" }] : /* istanbul ignore next */ []);
247
+ mediumLabel = input("Medium", ...ngDevMode ? [{ debugName: "mediumLabel" }] : /* istanbul ignore next */ []);
248
+ strongLabel = input("Strong", ...ngDevMode ? [{ debugName: "strongLabel" }] : /* istanbul ignore next */ []);
249
+ feedback = input(true, {
250
+ ...ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {},
251
+ transform: booleanAttribute
252
+ });
253
+ showPassword = input(false, ...ngDevMode ? [{ debugName: "showPassword" }] : /* istanbul ignore next */ []);
254
+ variant = input(...ngDevMode ? [void 0, { debugName: "variant" }] : /* istanbul ignore next */ []);
255
+ fluid = input(void 0, {
256
+ ...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
257
+ transform: booleanAttribute
258
+ });
259
+ size = input(void 0, {
260
+ ...ngDevMode ? { debugName: "size" } : /* istanbul ignore next */ {},
261
+ alias: "pSize"
262
+ });
263
+ pcFluid = inject(Fluid, {
264
+ optional: true,
265
+ host: true,
266
+ skipSelf: true
267
+ });
268
+ $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant(), ...ngDevMode ? [{ debugName: "$variant" }] : /* istanbul ignore next */ []);
269
+ get hasFluid() {
270
+ return this.fluid() ?? !!this.pcFluid;
271
+ }
272
+ panel;
273
+ meter;
274
+ info;
275
+ filled;
276
+ content;
277
+ label;
278
+ scrollHandler;
279
+ documentResizeListener;
280
+ _componentStyle = inject(PasswordStyle);
281
+ constructor(zone) {
282
+ super();
283
+ this.zone = zone;
284
+ effect(() => {
285
+ this.el.nativeElement.type = this.showPassword() ? "text" : "password";
286
+ });
287
+ effect(() => {
288
+ const pt = this.pPasswordPT();
289
+ pt && this.directivePT.set(pt);
290
+ });
291
+ effect(() => {
292
+ this.pPasswordUnstyled() && this.directiveUnstyled.set(this.pPasswordUnstyled());
293
+ });
294
+ }
295
+ onInput(e) {
296
+ this.writeModelValue(this.el.nativeElement.value);
297
+ }
298
+ createPanel() {
299
+ if (isPlatformBrowser(this.platformId)) {
300
+ this.panel = this.renderer.createElement("div");
301
+ this.renderer.addClass(this.panel, "h-password-overlay");
302
+ this.renderer.addClass(this.panel, "h-component");
303
+ this.content = this.renderer.createElement("div");
304
+ this.renderer.addClass(this.content, "h-password-content");
305
+ this.renderer.appendChild(this.panel, this.content);
306
+ this.meter = this.renderer.createElement("div");
307
+ this.renderer.addClass(this.meter, "h-password-meter");
308
+ this.renderer.appendChild(this.content, this.meter);
309
+ this.label = this.renderer.createElement("div");
310
+ this.renderer.addClass(this.label, "h-password-meter-label");
311
+ this.renderer.appendChild(this.meter, this.label);
312
+ this.info = this.renderer.createElement("div");
313
+ this.renderer.addClass(this.info, "h-password-meter-text");
314
+ this.renderer.setProperty(this.info, "textContent", this.promptLabel());
315
+ this.renderer.appendChild(this.content, this.info);
316
+ this.renderer.setStyle(this.panel, "minWidth", `${this.el.nativeElement.offsetWidth}px`);
317
+ this.renderer.appendChild(document.body, this.panel);
318
+ this.updateMeter();
319
+ }
320
+ }
321
+ showOverlay() {
322
+ if (this.feedback()) {
323
+ if (!this.panel) this.createPanel();
324
+ this.renderer.setStyle(this.panel, "zIndex", String(++DomHandler.zindex));
325
+ this.renderer.setStyle(this.panel, "display", "block");
326
+ this.zone.runOutsideAngular(() => {
327
+ setTimeout(() => {
328
+ addClass(this.panel, "h-connected-overlay-visible");
329
+ this.bindScrollListener();
330
+ this.bindDocumentResizeListener();
331
+ }, 1);
332
+ });
333
+ absolutePosition(this.panel, this.el.nativeElement);
334
+ }
335
+ }
336
+ hideOverlay() {
337
+ if (this.feedback() && this.panel) {
338
+ addClass(this.panel, "h-connected-overlay-hidden");
339
+ removeClass(this.panel, "h-connected-overlay-visible");
340
+ this.unbindScrollListener();
341
+ this.unbindDocumentResizeListener();
342
+ this.zone.runOutsideAngular(() => {
343
+ setTimeout(() => {
344
+ this.onDestroy();
345
+ }, 150);
346
+ });
347
+ }
348
+ }
349
+ onFocus() {
350
+ this.showOverlay();
351
+ }
352
+ onBlur() {
353
+ this.hideOverlay();
354
+ }
355
+ labelSignal = signal("", ...ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []);
356
+ onKeyup(e) {
357
+ if (this.feedback()) {
358
+ let value = e.target.value, label = null, meterPos = null;
359
+ if (value.length === 0) {
360
+ label = this.promptLabel();
361
+ meterPos = "0px 0px";
362
+ } else {
363
+ var score = this.testStrength(value);
364
+ if (score < 30) {
365
+ label = this.weakLabel();
366
+ meterPos = "0px -10px";
367
+ } else if (score >= 30 && score < 80) {
368
+ label = this.mediumLabel();
369
+ meterPos = "0px -20px";
370
+ } else if (score >= 80) {
371
+ label = this.strongLabel();
372
+ meterPos = "0px -30px";
373
+ }
374
+ this.labelSignal.set(label);
375
+ this.updateMeter();
376
+ }
377
+ if (!this.panel || !hasClass(this.panel, "h-connected-overlay-visible")) this.showOverlay();
378
+ if (this.meter) this.renderer.setStyle(this.meter, "backgroundPosition", meterPos);
379
+ if (this.info) this.info.textContent = label;
380
+ }
381
+ }
382
+ updateMeter() {
383
+ if (this.labelSignal() && this.meter && this.info) {
384
+ const label = this.labelSignal();
385
+ const strengthClass = this.strengthClass(label.toLowerCase());
386
+ const width = this.getWidth(label.toLowerCase());
387
+ this.renderer.addClass(this.meter, strengthClass);
388
+ this.renderer.setStyle(this.meter, "width", width);
389
+ this.info.textContent = label;
390
+ }
391
+ }
392
+ getWidth(label) {
393
+ return label === "weak" ? "33.33%" : label === "medium" ? "66.66%" : label === "strong" ? "100%" : "";
394
+ }
395
+ strengthClass(label) {
396
+ return `h-password-meter${label ? `-${label}` : ""}`;
397
+ }
398
+ testStrength(str) {
399
+ let grade = 0;
400
+ let val;
401
+ val = str.match("[0-9]");
402
+ grade += this.normalize(val ? val.length : 1 / 4, 1) * 25;
403
+ val = str.match("[a-zA-Z]");
404
+ grade += this.normalize(val ? val.length : 1 / 2, 3) * 10;
405
+ val = str.match("[!@#$%^&*?_~.,;=]");
406
+ grade += this.normalize(val ? val.length : 1 / 6, 1) * 35;
407
+ val = str.match("[A-Z]");
408
+ grade += this.normalize(val ? val.length : 1 / 6, 1) * 30;
409
+ grade *= str.length / 8;
410
+ return grade > 100 ? 100 : grade;
411
+ }
412
+ normalize(x, y) {
413
+ if (x - y <= 0) return x / y;
414
+ else return 1 + .5 * (x / (x + y / 4));
415
+ }
416
+ bindScrollListener() {
417
+ if (!this.scrollHandler) this.scrollHandler = new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {
418
+ if (hasClass(this.panel, "h-connected-overlay-visible")) this.hideOverlay();
419
+ });
420
+ this.scrollHandler.bindScrollListener();
421
+ }
422
+ unbindScrollListener() {
423
+ if (this.scrollHandler) this.scrollHandler.unbindScrollListener();
424
+ }
425
+ bindDocumentResizeListener() {
426
+ if (isPlatformBrowser(this.platformId)) {
427
+ if (!this.documentResizeListener) {
428
+ const window = this.document.defaultView;
429
+ this.documentResizeListener = this.renderer.listen(window, "resize", this.onWindowResize.bind(this));
430
+ }
431
+ }
432
+ }
433
+ unbindDocumentResizeListener() {
434
+ if (this.documentResizeListener) {
435
+ this.documentResizeListener();
436
+ this.documentResizeListener = null;
437
+ }
438
+ }
439
+ onWindowResize() {
440
+ if (!isTouchDevice()) this.hideOverlay();
441
+ }
442
+ onDestroy() {
443
+ if (this.panel) {
444
+ if (this.scrollHandler) {
445
+ this.scrollHandler.destroy();
446
+ this.scrollHandler = null;
447
+ }
448
+ this.unbindDocumentResizeListener();
449
+ this.renderer.removeChild(this.document.body, this.panel);
450
+ this.panel = null;
451
+ this.meter = null;
452
+ this.info = null;
453
+ }
454
+ }
455
+ static ɵfac = i0.ɵɵngDeclareFactory({
456
+ minVersion: "12.0.0",
457
+ version: "22.2.1",
458
+ ngImport: i0,
459
+ type: PasswordDirective,
460
+ deps: [{ token: i0.NgZone }],
461
+ target: i0.ɵɵFactoryTarget.Directive
462
+ });
463
+ static ɵdir = i0.ɵɵngDeclareDirective({
464
+ minVersion: "17.1.0",
465
+ version: "22.2.1",
466
+ type: PasswordDirective,
467
+ isStandalone: true,
468
+ selector: "[hPassword]",
469
+ inputs: {
470
+ pPasswordPT: {
471
+ classPropertyName: "pPasswordPT",
472
+ publicName: "pPasswordPT",
473
+ isSignal: true,
474
+ isRequired: false,
475
+ transformFunction: null
476
+ },
477
+ pPasswordUnstyled: {
478
+ classPropertyName: "pPasswordUnstyled",
479
+ publicName: "pPasswordUnstyled",
480
+ isSignal: true,
481
+ isRequired: false,
482
+ transformFunction: null
483
+ },
484
+ promptLabel: {
485
+ classPropertyName: "promptLabel",
486
+ publicName: "promptLabel",
487
+ isSignal: true,
488
+ isRequired: false,
489
+ transformFunction: null
490
+ },
491
+ weakLabel: {
492
+ classPropertyName: "weakLabel",
493
+ publicName: "weakLabel",
494
+ isSignal: true,
495
+ isRequired: false,
496
+ transformFunction: null
497
+ },
498
+ mediumLabel: {
499
+ classPropertyName: "mediumLabel",
500
+ publicName: "mediumLabel",
501
+ isSignal: true,
502
+ isRequired: false,
503
+ transformFunction: null
504
+ },
505
+ strongLabel: {
506
+ classPropertyName: "strongLabel",
507
+ publicName: "strongLabel",
508
+ isSignal: true,
509
+ isRequired: false,
510
+ transformFunction: null
511
+ },
512
+ feedback: {
513
+ classPropertyName: "feedback",
514
+ publicName: "feedback",
515
+ isSignal: true,
516
+ isRequired: false,
517
+ transformFunction: null
518
+ },
519
+ showPassword: {
520
+ classPropertyName: "showPassword",
521
+ publicName: "showPassword",
522
+ isSignal: true,
523
+ isRequired: false,
524
+ transformFunction: null
525
+ },
526
+ variant: {
527
+ classPropertyName: "variant",
528
+ publicName: "variant",
529
+ isSignal: true,
530
+ isRequired: false,
531
+ transformFunction: null
532
+ },
533
+ fluid: {
534
+ classPropertyName: "fluid",
535
+ publicName: "fluid",
536
+ isSignal: true,
537
+ isRequired: false,
538
+ transformFunction: null
539
+ },
540
+ size: {
541
+ classPropertyName: "size",
542
+ publicName: "pSize",
543
+ isSignal: true,
544
+ isRequired: false,
545
+ transformFunction: null
546
+ }
547
+ },
548
+ host: {
549
+ listeners: {
550
+ "input": "onInput($event)",
551
+ "focus": "onFocus()",
552
+ "blur": "onBlur()",
553
+ "keyup": "onKeyup($event)"
554
+ },
555
+ properties: { "class": "cx('rootDirective')" }
556
+ },
557
+ providers: [
558
+ PasswordStyle,
559
+ {
560
+ provide: PASSWORD_DIRECTIVE_INSTANCE,
561
+ useExisting: PasswordDirective
562
+ },
563
+ {
564
+ provide: PARENT_INSTANCE,
565
+ useExisting: PasswordDirective
566
+ }
567
+ ],
568
+ usesInheritance: true,
569
+ hostDirectives: [{ directive: i1.Bind }],
570
+ ngImport: i0
571
+ });
572
+ };
573
+ i0.ɵɵngDeclareClassMetadata({
574
+ minVersion: "12.0.0",
575
+ version: "22.2.1",
576
+ ngImport: i0,
577
+ type: PasswordDirective,
578
+ decorators: [{
579
+ type: Directive,
580
+ args: [{
581
+ selector: "[hPassword]",
582
+ standalone: true,
583
+ host: {
584
+ "[class]": "cx('rootDirective')",
585
+ "(input)": "onInput($event)",
586
+ "(focus)": "onFocus()",
587
+ "(blur)": "onBlur()",
588
+ "(keyup)": "onKeyup($event)"
589
+ },
590
+ providers: [
591
+ PasswordStyle,
592
+ {
593
+ provide: PASSWORD_DIRECTIVE_INSTANCE,
594
+ useExisting: PasswordDirective
595
+ },
596
+ {
597
+ provide: PARENT_INSTANCE,
598
+ useExisting: PasswordDirective
599
+ }
600
+ ],
601
+ hostDirectives: [Bind]
602
+ }]
603
+ }],
604
+ ctorParameters: () => [{ type: i0.NgZone }],
605
+ propDecorators: {
606
+ pPasswordPT: [{
607
+ type: i0.Input,
608
+ args: [{
609
+ isSignal: true,
610
+ alias: "pPasswordPT",
611
+ required: false
612
+ }]
613
+ }],
614
+ pPasswordUnstyled: [{
615
+ type: i0.Input,
616
+ args: [{
617
+ isSignal: true,
618
+ alias: "pPasswordUnstyled",
619
+ required: false
620
+ }]
621
+ }],
622
+ promptLabel: [{
623
+ type: i0.Input,
624
+ args: [{
625
+ isSignal: true,
626
+ alias: "promptLabel",
627
+ required: false
628
+ }]
629
+ }],
630
+ weakLabel: [{
631
+ type: i0.Input,
632
+ args: [{
633
+ isSignal: true,
634
+ alias: "weakLabel",
635
+ required: false
636
+ }]
637
+ }],
638
+ mediumLabel: [{
639
+ type: i0.Input,
640
+ args: [{
641
+ isSignal: true,
642
+ alias: "mediumLabel",
643
+ required: false
644
+ }]
645
+ }],
646
+ strongLabel: [{
647
+ type: i0.Input,
648
+ args: [{
649
+ isSignal: true,
650
+ alias: "strongLabel",
651
+ required: false
652
+ }]
653
+ }],
654
+ feedback: [{
655
+ type: i0.Input,
656
+ args: [{
657
+ isSignal: true,
658
+ alias: "feedback",
659
+ required: false
660
+ }]
661
+ }],
662
+ showPassword: [{
663
+ type: i0.Input,
664
+ args: [{
665
+ isSignal: true,
666
+ alias: "showPassword",
667
+ required: false
668
+ }]
669
+ }],
670
+ variant: [{
671
+ type: i0.Input,
672
+ args: [{
673
+ isSignal: true,
674
+ alias: "variant",
675
+ required: false
676
+ }]
677
+ }],
678
+ fluid: [{
679
+ type: i0.Input,
680
+ args: [{
681
+ isSignal: true,
682
+ alias: "fluid",
683
+ required: false
684
+ }]
685
+ }],
686
+ size: [{
687
+ type: i0.Input,
688
+ args: [{
689
+ isSignal: true,
690
+ alias: "pSize",
691
+ required: false
692
+ }]
693
+ }]
694
+ }
695
+ });
696
+ var MapperPipe = class MapperPipe {
697
+ transform(value, mapper, ...args) {
698
+ return mapper(value, ...args);
699
+ }
700
+ static ɵfac = i0.ɵɵngDeclareFactory({
701
+ minVersion: "12.0.0",
702
+ version: "22.2.1",
703
+ ngImport: i0,
704
+ type: MapperPipe,
705
+ deps: [],
706
+ target: i0.ɵɵFactoryTarget.Pipe
707
+ });
708
+ static ɵpipe = i0.ɵɵngDeclarePipe({
709
+ minVersion: "14.0.0",
710
+ version: "22.2.1",
711
+ ngImport: i0,
712
+ type: MapperPipe,
713
+ isStandalone: true,
714
+ name: "mapper"
715
+ });
716
+ };
717
+ i0.ɵɵngDeclareClassMetadata({
718
+ minVersion: "12.0.0",
719
+ version: "22.2.1",
720
+ ngImport: i0,
721
+ type: MapperPipe,
722
+ decorators: [{
723
+ type: Pipe,
724
+ args: [{
725
+ name: "mapper",
726
+ pure: true,
727
+ standalone: true
728
+ }]
729
+ }]
730
+ });
590
731
  const Password_VALUE_ACCESSOR = {
591
- provide: NG_VALUE_ACCESSOR,
592
- useExisting: forwardRef(() => Password),
593
- multi: true
732
+ provide: NG_VALUE_ACCESSOR,
733
+ useExisting: forwardRef(() => Password),
734
+ multi: true
594
735
  };
595
- /**
596
- * Password displays strength indicator for password fields.
597
- * @group Components
598
- */
599
- class Password extends BaseInput {
600
- componentName = 'Password';
601
- bindDirectiveInstance = inject(Bind, { self: true });
602
- $pcPassword = inject(PASSWORD_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
603
- onAfterViewChecked() {
604
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
605
- }
606
- /**
607
- * Defines a string that labels the input for accessibility.
608
- * @group Props
609
- */
610
- ariaLabel = input(/* @ts-ignore */
611
- ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
612
- /**
613
- * Specifies one or more IDs in the DOM that labels the input field.
614
- * @group Props
615
- */
616
- ariaLabelledBy = input(/* @ts-ignore */
617
- ...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
618
- /**
619
- * Label of the input for accessibility.
620
- * @group Props
621
- */
622
- label = input(/* @ts-ignore */
623
- ...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
624
- /**
625
- * Text to prompt password entry. Defaults to Helix I18N API configuration.
626
- * @group Props
627
- */
628
- promptLabel = input(/* @ts-ignore */
629
- ...(ngDevMode ? [undefined, { debugName: "promptLabel" }] : /* istanbul ignore next */ []));
630
- /**
631
- * Regex value for medium regex.
632
- * @group Props
633
- */
634
- mediumRegex = input('^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})', /* @ts-ignore */
635
- ...(ngDevMode ? [{ debugName: "mediumRegex" }] : /* istanbul ignore next */ []));
636
- /**
637
- * Regex value for strong regex.
638
- * @group Props
639
- */
640
- strongRegex = input('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})', /* @ts-ignore */
641
- ...(ngDevMode ? [{ debugName: "strongRegex" }] : /* istanbul ignore next */ []));
642
- /**
643
- * Text for a weak password. Defaults to Helix I18N API configuration.
644
- * @group Props
645
- */
646
- weakLabel = input(/* @ts-ignore */
647
- ...(ngDevMode ? [undefined, { debugName: "weakLabel" }] : /* istanbul ignore next */ []));
648
- /**
649
- * Text for a medium password. Defaults to Helix I18N API configuration.
650
- * @group Props
651
- */
652
- mediumLabel = input(/* @ts-ignore */
653
- ...(ngDevMode ? [undefined, { debugName: "mediumLabel" }] : /* istanbul ignore next */ []));
654
- /**
655
- * specifies the maximum number of characters allowed in the input element.
656
- * @deprecated since v20.0.0, use maxlength instead.
657
- * @group Props
658
- */
659
- maxLength = input(undefined, { ...(ngDevMode ? { debugName: "maxLength" } : /* istanbul ignore next */ {}), transform: numberAttribute });
660
- /**
661
- * Text for a strong password. Defaults to Helix I18N API configuration.
662
- * @group Props
663
- */
664
- strongLabel = input(/* @ts-ignore */
665
- ...(ngDevMode ? [undefined, { debugName: "strongLabel" }] : /* istanbul ignore next */ []));
666
- /**
667
- * Identifier of the accessible input element.
668
- * @group Props
669
- */
670
- inputId = input(/* @ts-ignore */
671
- ...(ngDevMode ? [undefined, { debugName: "inputId" }] : /* istanbul ignore next */ []));
672
- /**
673
- * Whether to show the strength indicator or not.
674
- * @group Props
675
- */
676
- feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
677
- /**
678
- * Whether to show an icon to display the password as plain text.
679
- * @group Props
680
- */
681
- toggleMask = input(undefined, { ...(ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
682
- /**
683
- * Style class of the input field.
684
- * @group Props
685
- */
686
- inputStyleClass = input(/* @ts-ignore */
687
- ...(ngDevMode ? [undefined, { debugName: "inputStyleClass" }] : /* istanbul ignore next */ []));
688
- /**
689
- * Style class of the element.
690
- * @deprecated since v20.0.0, use `class` instead.
691
- * @group Props
692
- */
693
- styleClass = input(/* @ts-ignore */
694
- ...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
695
- /**
696
- * Inline style of the input field.
697
- * @group Props
698
- */
699
- inputStyle = input(/* @ts-ignore */
700
- ...(ngDevMode ? [undefined, { debugName: "inputStyle" }] : /* istanbul ignore next */ []));
701
- /**
702
- * Transition options of the show animation.
703
- * @group Props
704
- * @deprecated since v21.0.0, use `motionOptions` instead.
705
- */
706
- showTransitionOptions = input('.12s cubic-bezier(0, 0, 0.2, 1)', /* @ts-ignore */
707
- ...(ngDevMode ? [{ debugName: "showTransitionOptions" }] : /* istanbul ignore next */ []));
708
- /**
709
- * Transition options of the hide animation.
710
- * @group Props
711
- * @deprecated since v21.0.0, use `motionOptions` instead.
712
- */
713
- hideTransitionOptions = input('.1s linear', /* @ts-ignore */
714
- ...(ngDevMode ? [{ debugName: "hideTransitionOptions" }] : /* istanbul ignore next */ []));
715
- /**
716
- * Specify automated assistance in filling out password by browser.
717
- * @group Props
718
- */
719
- autocomplete = input(/* @ts-ignore */
720
- ...(ngDevMode ? [undefined, { debugName: "autocomplete" }] : /* istanbul ignore next */ []));
721
- /**
722
- * Advisory information to display on input.
723
- * @group Props
724
- */
725
- placeholder = input(/* @ts-ignore */
726
- ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
727
- /**
728
- * When enabled, a clear icon is displayed to clear the value.
729
- * @group Props
730
- */
731
- showClear = input(false, { ...(ngDevMode ? { debugName: "showClear" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
732
- /**
733
- * When present, it specifies that the component should automatically get focus on load.
734
- * @group Props
735
- */
736
- autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
737
- /**
738
- * Index of the element in tabbing order.
739
- * @group Props
740
- */
741
- tabindex = input(undefined, { ...(ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
742
- /**
743
- * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
744
- * @defaultValue 'self'
745
- * @group Props
746
- */
747
- appendTo = input('self', /* @ts-ignore */
748
- ...(ngDevMode ? [{ debugName: "appendTo" }] : /* istanbul ignore next */ []));
749
- /**
750
- * The motion options.
751
- * @group Props
752
- */
753
- motionOptions = input(undefined, /* @ts-ignore */
754
- ...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
755
- /**
756
- * Whether to use overlay API feature. The properties of overlay API can be used like an object in it.
757
- * @group Props
758
- */
759
- overlayOptions = input(/* @ts-ignore */
760
- ...(ngDevMode ? [undefined, { debugName: "overlayOptions" }] : /* istanbul ignore next */ []));
761
- /**
762
- * Callback to invoke when the component receives focus.
763
- * @param {Event} event - Browser event.
764
- * @group Emits
765
- */
766
- onFocus = output();
767
- /**
768
- * Callback to invoke when the component loses focus.
769
- * @param {Event} event - Browser event.
770
- * @group Emits
771
- */
772
- onBlur = output();
773
- /**
774
- * Callback to invoke when clear button is clicked.
775
- * @group Emits
776
- */
777
- onClear = output();
778
- overlayViewChild = viewChild.required('overlay', /* @ts-ignore */
779
- ...(ngDevMode ? [{ debugName: "overlayViewChild" }] : /* istanbul ignore next */ []));
780
- input = viewChild.required('input', /* @ts-ignore */
781
- ...(ngDevMode ? [{ debugName: "input" }] : /* istanbul ignore next */ []));
782
- /**
783
- * Custom template of content.
784
- * @group Templates
785
- */
786
- contentTemplate = contentChild('content', { ...(ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {}), descendants: false });
787
- /**
788
- * Custom template of footer.
789
- * @group Templates
790
- */
791
- footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
792
- /**
793
- * Custom template of header.
794
- * @group Templates
795
- */
796
- headerTemplate = contentChild('header', { ...(ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
797
- /**
798
- * Custom template of clear icon.
799
- * @group Templates
800
- */
801
- clearIconTemplate = contentChild('clearicon', { ...(ngDevMode ? { debugName: "clearIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
802
- /**
803
- * Custom template of hide icon.
804
- * @param {PasswordIconTemplateContext} context - icon context.
805
- * @see {@link PasswordIconTemplateContext}
806
- * @group Templates
807
- */
808
- hideIconTemplate = contentChild('hideicon', { ...(ngDevMode ? { debugName: "hideIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
809
- /**
810
- * Custom template of show icon.
811
- * @param {PasswordIconTemplateContext} context - icon context.
812
- * @see {@link PasswordIconTemplateContext}
813
- * @group Templates
814
- */
815
- showIconTemplate = contentChild('showicon', { ...(ngDevMode ? { debugName: "showIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
816
- templates = contentChildren(HelixTemplate, /* @ts-ignore */
817
- ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
818
- $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), /* @ts-ignore */
819
- ...(ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []));
820
- _contentTemplate;
821
- _footerTemplate;
822
- _headerTemplate;
823
- _clearIconTemplate;
824
- _hideIconTemplate;
825
- _showIconTemplate;
826
- overlayVisible = false;
827
- meter;
828
- infoText;
829
- focused = false;
830
- unmasked = false;
831
- mediumCheckRegExp;
832
- strongCheckRegExp;
833
- resizeListener;
834
- scrollHandler;
835
- value = null;
836
- translationSubscription;
837
- _componentStyle = inject(PasswordStyle);
838
- overlayService = inject(OverlayService);
839
- onInit() {
840
- this.infoText = this.promptText();
841
- this.mediumCheckRegExp = new RegExp(this.mediumRegex());
842
- this.strongCheckRegExp = new RegExp(this.strongRegex());
843
- this.translationSubscription = this.config.translationObserver.subscribe(() => {
844
- this.updateUI(this.value || '');
845
- });
846
- }
847
- onAfterContentInit() {
848
- this.templates().forEach((item) => {
849
- switch (item.getType()) {
850
- case 'content':
851
- this._contentTemplate = item.template;
852
- break;
853
- case 'header':
854
- this._headerTemplate = item.template;
855
- break;
856
- case 'footer':
857
- this._footerTemplate = item.template;
858
- break;
859
- case 'clearicon':
860
- this._clearIconTemplate = item.template;
861
- break;
862
- case 'hideicon':
863
- this._hideIconTemplate = item.template;
864
- break;
865
- case 'showicon':
866
- this._showIconTemplate = item.template;
867
- break;
868
- default:
869
- this._contentTemplate = item.template;
870
- break;
871
- }
872
- });
873
- }
874
- onInput(event) {
875
- this.value = event.target.value;
876
- this.onModelChange(this.value);
877
- }
878
- onInputFocus(event) {
879
- this.focused = true;
880
- if (this.feedback()) {
881
- this.overlayVisible = true;
882
- }
883
- this.onFocus.emit(event);
884
- }
885
- onInputBlur(event) {
886
- this.focused = false;
887
- if (this.feedback()) {
888
- this.overlayVisible = false;
889
- }
890
- this.onModelTouched();
891
- this.onBlur.emit(event);
892
- }
893
- onKeyUp(event) {
894
- if (this.feedback()) {
895
- let value = event.target.value;
896
- this.updateUI(value);
897
- if (event.code === 'Escape') {
898
- this.overlayVisible && (this.overlayVisible = false);
899
- return;
900
- }
901
- if (!this.overlayVisible) {
902
- this.overlayVisible = true;
903
- }
904
- }
905
- }
906
- updateUI(value) {
907
- let label = null;
908
- let meter = null;
909
- switch (this.testStrength(value)) {
910
- case 1:
911
- label = this.weakText();
912
- meter = {
913
- strength: 'weak',
914
- width: '33.33%'
915
- };
916
- break;
917
- case 2:
918
- label = this.mediumText();
919
- meter = {
920
- strength: 'medium',
921
- width: '66.66%'
922
- };
923
- break;
924
- case 3:
925
- label = this.strongText();
926
- meter = {
927
- strength: 'strong',
928
- width: '100%'
929
- };
930
- break;
931
- default:
932
- label = this.promptText();
933
- meter = null;
934
- break;
935
- }
936
- this.meter = meter;
937
- this.infoText = label;
938
- }
939
- onMaskToggle() {
940
- this.unmasked = !this.unmasked;
941
- }
942
- onOverlayClick(event) {
943
- this.overlayService.add({
944
- originalEvent: event,
945
- target: this.el.nativeElement
946
- });
947
- }
948
- testStrength(str) {
949
- let level = 0;
950
- if (this.strongCheckRegExp?.test(str))
951
- level = 3;
952
- else if (this.mediumCheckRegExp?.test(str))
953
- level = 2;
954
- else if (str.length)
955
- level = 1;
956
- return level;
957
- }
958
- promptText() {
959
- return this.promptLabel() || this.getTranslation(TranslationKeys.PASSWORD_PROMPT);
960
- }
961
- weakText() {
962
- return this.weakLabel() || this.getTranslation(TranslationKeys.WEAK);
963
- }
964
- mediumText() {
965
- return this.mediumLabel() || this.getTranslation(TranslationKeys.MEDIUM);
966
- }
967
- strongText() {
968
- return this.strongLabel() || this.getTranslation(TranslationKeys.STRONG);
969
- }
970
- inputType(unmasked) {
971
- return unmasked ? 'text' : 'password';
972
- }
973
- getTranslation(option) {
974
- return this.config.getTranslation(option);
975
- }
976
- clear() {
977
- this.value = null;
978
- this.onModelChange(this.value);
979
- this.writeValue(this.value);
980
- this.onClear.emit();
981
- }
982
- /**
983
- * @override
984
- *
985
- * @see {@link BaseEditableHolder.writeControlValue}
986
- * Writes the value to the control.
987
- */
988
- writeControlValue(value, setModelValue) {
989
- if (value === undefined)
990
- this.value = null;
991
- else
992
- this.value = value;
993
- if (this.feedback())
994
- this.updateUI(this.value || '');
995
- setModelValue(this.value);
996
- this.cd.markForCheck();
997
- }
998
- onDestroy() {
999
- if (this.translationSubscription) {
1000
- this.translationSubscription.unsubscribe();
1001
- }
1002
- }
1003
- get containerDataP() {
1004
- return this.cn({
1005
- fluid: this.hasFluid
1006
- });
1007
- }
1008
- get meterDataP() {
1009
- return this.cn({
1010
- [this.meter?.strength]: this.meter?.strength
1011
- });
1012
- }
1013
- get overlayDataP() {
1014
- return this.cn({
1015
- ['overlay-' + this.$appendTo()]: 'overlay-' + this.$appendTo()
1016
- });
1017
- }
1018
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Password, deps: null, target: i0.ɵɵFactoryTarget.Component });
1019
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: Password, isStandalone: true, selector: "h-password", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, promptLabel: { classPropertyName: "promptLabel", publicName: "promptLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumRegex: { classPropertyName: "mediumRegex", publicName: "mediumRegex", isSignal: true, isRequired: false, transformFunction: null }, strongRegex: { classPropertyName: "strongRegex", publicName: "strongRegex", isSignal: true, isRequired: false, transformFunction: null }, weakLabel: { classPropertyName: "weakLabel", publicName: "weakLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumLabel: { classPropertyName: "mediumLabel", publicName: "mediumLabel", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, strongLabel: { classPropertyName: "strongLabel", publicName: "strongLabel", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, toggleMask: { classPropertyName: "toggleMask", publicName: "toggleMask", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: true, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClear: "onClear" }, host: { properties: { "class": "cn(cx('root'), styleClass())", "style": "sx('root')", "attr.data-h": "containerDataP" } }, providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], isSignal: true }, { propertyName: "hideIconTemplate", first: true, predicate: ["hideicon"], isSignal: true }, { propertyName: "showIconTemplate", first: true, predicate: ["showicon"], isSignal: true }, { propertyName: "templates", predicate: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true, isSignal: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "<input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n hInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength() || maxLength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [hAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n@if (showClear() && value != null) {\n @if (!clearIconTemplate() && !_clearIconTemplate) {\n <svg data-h-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [hBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [hBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate\"></ng-template>\n </span>\n}\n\n@if (toggleMask()) {\n @if (unmasked) {\n @if (!hideIconTemplate() && !_hideIconTemplate) {\n <svg data-h-icon=\"eyeslash\" [class]=\"cx('maskIcon')\" [hBind]=\"ptm('maskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (hideIconTemplate() || _hideIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate; context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked) {\n @if (!showIconTemplate() && !_showIconTemplate) {\n <svg data-h-icon=\"eye\" [class]=\"cx('unmaskIcon')\" [hBind]=\"ptm('unmaskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (showIconTemplate() || _showIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate; context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n}\n\n<h-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [hBind]=\"ptm('overlay')\" [attr.data-h]=\"overlayDataP\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [hBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [hBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter ? meter.width : '' }\" [hBind]=\"ptm('meterLabel')\" [attr.data-h]=\"meterDataP\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [hBind]=\"ptm('meterText')\">{{ infoText }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n </ng-template>\n</h-overlay>\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: InputText, selector: "[hInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: AutoFocus, selector: "[hAutoFocus]", inputs: ["hAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-h-icon=\"times\"]" }, { kind: "component", type: EyeSlashIcon, selector: "[data-h-icon=\"eyeslash\"]" }, { kind: "component", type: EyeIcon, selector: "[data-h-icon=\"eye\"]" }, { kind: "component", type: Overlay, selector: "h-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1020
- }
1021
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: Password, decorators: [{
1022
- type: Component,
1023
- args: [{ selector: 'h-password', standalone: true, imports: [CommonModule, InputText, AutoFocus, TimesIcon, EyeSlashIcon, EyeIcon, Overlay, SharedModule, BindModule], providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
1024
- '[class]': "cn(cx('root'), styleClass())",
1025
- '[style]': "sx('root')",
1026
- '[attr.data-h]': 'containerDataP'
1027
- }, hostDirectives: [Bind], template: "<input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n hInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength() || maxLength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [hAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n@if (showClear() && value != null) {\n @if (!clearIconTemplate() && !_clearIconTemplate) {\n <svg data-h-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [hBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [hBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate\"></ng-template>\n </span>\n}\n\n@if (toggleMask()) {\n @if (unmasked) {\n @if (!hideIconTemplate() && !_hideIconTemplate) {\n <svg data-h-icon=\"eyeslash\" [class]=\"cx('maskIcon')\" [hBind]=\"ptm('maskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (hideIconTemplate() || _hideIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate; context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked) {\n @if (!showIconTemplate() && !_showIconTemplate) {\n <svg data-h-icon=\"eye\" [class]=\"cx('unmaskIcon')\" [hBind]=\"ptm('unmaskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (showIconTemplate() || _showIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate; context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n}\n\n<h-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [hBind]=\"ptm('overlay')\" [attr.data-h]=\"overlayDataP\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [hBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [hBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter ? meter.width : '' }\" [hBind]=\"ptm('meterLabel')\" [attr.data-h]=\"meterDataP\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [hBind]=\"ptm('meterText')\">{{ infoText }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n </ng-template>\n</h-overlay>\n" }]
1028
- }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], promptLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "promptLabel", required: false }] }], mediumRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumRegex", required: false }] }], strongRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongRegex", required: false }] }], weakLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "weakLabel", required: false }] }], mediumLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumLabel", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], strongLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongLabel", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], toggleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleMask", required: false }] }], inputStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyleClass", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], inputStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyle", required: false }] }], showTransitionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTransitionOptions", required: false }] }], hideTransitionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideTransitionOptions", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], overlayOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayOptions", required: false }] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], overlayViewChild: [{ type: i0.ViewChild, args: ['overlay', { isSignal: true }] }], input: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], hideIconTemplate: [{ type: i0.ContentChild, args: ['hideicon', { ...{ descendants: false }, isSignal: true }] }], showIconTemplate: [{ type: i0.ContentChild, args: ['showicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }] }] } });
1029
- class PasswordModule {
1030
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1031
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.6", ngImport: i0, type: PasswordModule, imports: [Password, PasswordDirective, SharedModule, BindModule], exports: [PasswordDirective, Password, SharedModule, BindModule] });
1032
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordModule, imports: [Password, SharedModule, BindModule, SharedModule, BindModule] });
1033
- }
1034
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordModule, decorators: [{
1035
- type: NgModule,
1036
- args: [{
1037
- imports: [Password, PasswordDirective, SharedModule, BindModule],
1038
- exports: [PasswordDirective, Password, SharedModule, BindModule]
1039
- }]
1040
- }] });
1041
-
1042
- /**
1043
- * Generated bundle index. Do not edit.
1044
- */
1045
-
736
+ var Password = class Password extends BaseInput {
737
+ componentName = "Password";
738
+ bindDirectiveInstance = inject(Bind, { self: true });
739
+ $pcPassword = inject(PASSWORD_INSTANCE, {
740
+ optional: true,
741
+ skipSelf: true
742
+ }) ?? void 0;
743
+ onAfterViewChecked() {
744
+ this.bindDirectiveInstance.setAttrs(this.ptms(["host", "root"]));
745
+ }
746
+ ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
747
+ ariaLabelledBy = input(...ngDevMode ? [void 0, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
748
+ label = input(...ngDevMode ? [void 0, { debugName: "label" }] : /* istanbul ignore next */ []);
749
+ promptLabel = input(...ngDevMode ? [void 0, { debugName: "promptLabel" }] : /* istanbul ignore next */ []);
750
+ mediumRegex = input("^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})", ...ngDevMode ? [{ debugName: "mediumRegex" }] : /* istanbul ignore next */ []);
751
+ strongRegex = input("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})", ...ngDevMode ? [{ debugName: "strongRegex" }] : /* istanbul ignore next */ []);
752
+ weakLabel = input(...ngDevMode ? [void 0, { debugName: "weakLabel" }] : /* istanbul ignore next */ []);
753
+ mediumLabel = input(...ngDevMode ? [void 0, { debugName: "mediumLabel" }] : /* istanbul ignore next */ []);
754
+ maxLength = input(void 0, {
755
+ ...ngDevMode ? { debugName: "maxLength" } : /* istanbul ignore next */ {},
756
+ transform: numberAttribute
757
+ });
758
+ strongLabel = input(...ngDevMode ? [void 0, { debugName: "strongLabel" }] : /* istanbul ignore next */ []);
759
+ inputId = input(...ngDevMode ? [void 0, { debugName: "inputId" }] : /* istanbul ignore next */ []);
760
+ feedback = input(true, {
761
+ ...ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {},
762
+ transform: booleanAttribute
763
+ });
764
+ toggleMask = input(void 0, {
765
+ ...ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {},
766
+ transform: booleanAttribute
767
+ });
768
+ inputStyleClass = input(...ngDevMode ? [void 0, { debugName: "inputStyleClass" }] : /* istanbul ignore next */ []);
769
+ styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
770
+ inputStyle = input(...ngDevMode ? [void 0, { debugName: "inputStyle" }] : /* istanbul ignore next */ []);
771
+ showTransitionOptions = input(".12s cubic-bezier(0, 0, 0.2, 1)", ...ngDevMode ? [{ debugName: "showTransitionOptions" }] : /* istanbul ignore next */ []);
772
+ hideTransitionOptions = input(".1s linear", ...ngDevMode ? [{ debugName: "hideTransitionOptions" }] : /* istanbul ignore next */ []);
773
+ autocomplete = input(...ngDevMode ? [void 0, { debugName: "autocomplete" }] : /* istanbul ignore next */ []);
774
+ placeholder = input(...ngDevMode ? [void 0, { debugName: "placeholder" }] : /* istanbul ignore next */ []);
775
+ showClear = input(false, {
776
+ ...ngDevMode ? { debugName: "showClear" } : /* istanbul ignore next */ {},
777
+ transform: booleanAttribute
778
+ });
779
+ autofocus = input(void 0, {
780
+ ...ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {},
781
+ transform: booleanAttribute
782
+ });
783
+ tabindex = input(void 0, {
784
+ ...ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {},
785
+ transform: numberAttribute
786
+ });
787
+ appendTo = input("self", ...ngDevMode ? [{ debugName: "appendTo" }] : /* istanbul ignore next */ []);
788
+ motionOptions = input(void 0, ...ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []);
789
+ overlayOptions = input(...ngDevMode ? [void 0, { debugName: "overlayOptions" }] : /* istanbul ignore next */ []);
790
+ onFocus = output();
791
+ onBlur = output();
792
+ onClear = output();
793
+ overlayViewChild = viewChild.required("overlay", ...ngDevMode ? [{ debugName: "overlayViewChild" }] : /* istanbul ignore next */ []);
794
+ input = viewChild.required("input", ...ngDevMode ? [{ debugName: "input" }] : /* istanbul ignore next */ []);
795
+ contentTemplate = contentChild("content", {
796
+ ...ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {},
797
+ descendants: false
798
+ });
799
+ footerTemplate = contentChild("footer", {
800
+ ...ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {},
801
+ descendants: false
802
+ });
803
+ headerTemplate = contentChild("header", {
804
+ ...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
805
+ descendants: false
806
+ });
807
+ clearIconTemplate = contentChild("clearicon", {
808
+ ...ngDevMode ? { debugName: "clearIconTemplate" } : /* istanbul ignore next */ {},
809
+ descendants: false
810
+ });
811
+ hideIconTemplate = contentChild("hideicon", {
812
+ ...ngDevMode ? { debugName: "hideIconTemplate" } : /* istanbul ignore next */ {},
813
+ descendants: false
814
+ });
815
+ showIconTemplate = contentChild("showicon", {
816
+ ...ngDevMode ? { debugName: "showIconTemplate" } : /* istanbul ignore next */ {},
817
+ descendants: false
818
+ });
819
+ templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
820
+ $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), ...ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []);
821
+ _contentTemplate;
822
+ _footerTemplate;
823
+ _headerTemplate;
824
+ _clearIconTemplate;
825
+ _hideIconTemplate;
826
+ _showIconTemplate;
827
+ overlayVisible = false;
828
+ meter;
829
+ infoText;
830
+ focused = false;
831
+ unmasked = false;
832
+ mediumCheckRegExp;
833
+ strongCheckRegExp;
834
+ resizeListener;
835
+ scrollHandler;
836
+ value = null;
837
+ translationSubscription;
838
+ _componentStyle = inject(PasswordStyle);
839
+ overlayService = inject(OverlayService);
840
+ onInit() {
841
+ this.infoText = this.promptText();
842
+ this.mediumCheckRegExp = new RegExp(this.mediumRegex());
843
+ this.strongCheckRegExp = new RegExp(this.strongRegex());
844
+ this.translationSubscription = this.config.translationObserver.subscribe(() => {
845
+ this.updateUI(this.value || "");
846
+ });
847
+ }
848
+ onAfterContentInit() {
849
+ this.templates().forEach((item) => {
850
+ switch (item.getType()) {
851
+ case "content":
852
+ this._contentTemplate = item.template;
853
+ break;
854
+ case "header":
855
+ this._headerTemplate = item.template;
856
+ break;
857
+ case "footer":
858
+ this._footerTemplate = item.template;
859
+ break;
860
+ case "clearicon":
861
+ this._clearIconTemplate = item.template;
862
+ break;
863
+ case "hideicon":
864
+ this._hideIconTemplate = item.template;
865
+ break;
866
+ case "showicon":
867
+ this._showIconTemplate = item.template;
868
+ break;
869
+ default:
870
+ this._contentTemplate = item.template;
871
+ break;
872
+ }
873
+ });
874
+ }
875
+ onInput(event) {
876
+ this.value = event.target.value;
877
+ this.onModelChange(this.value);
878
+ }
879
+ onInputFocus(event) {
880
+ this.focused = true;
881
+ if (this.feedback()) this.overlayVisible = true;
882
+ this.onFocus.emit(event);
883
+ }
884
+ onInputBlur(event) {
885
+ this.focused = false;
886
+ if (this.feedback()) this.overlayVisible = false;
887
+ this.onModelTouched();
888
+ this.onBlur.emit(event);
889
+ }
890
+ onKeyUp(event) {
891
+ if (this.feedback()) {
892
+ let value = event.target.value;
893
+ this.updateUI(value);
894
+ if (event.code === "Escape") {
895
+ this.overlayVisible && (this.overlayVisible = false);
896
+ return;
897
+ }
898
+ if (!this.overlayVisible) this.overlayVisible = true;
899
+ }
900
+ }
901
+ updateUI(value) {
902
+ let label = null;
903
+ let meter = null;
904
+ switch (this.testStrength(value)) {
905
+ case 1:
906
+ label = this.weakText();
907
+ meter = {
908
+ strength: "weak",
909
+ width: "33.33%"
910
+ };
911
+ break;
912
+ case 2:
913
+ label = this.mediumText();
914
+ meter = {
915
+ strength: "medium",
916
+ width: "66.66%"
917
+ };
918
+ break;
919
+ case 3:
920
+ label = this.strongText();
921
+ meter = {
922
+ strength: "strong",
923
+ width: "100%"
924
+ };
925
+ break;
926
+ default:
927
+ label = this.promptText();
928
+ meter = null;
929
+ break;
930
+ }
931
+ this.meter = meter;
932
+ this.infoText = label;
933
+ }
934
+ onMaskToggle() {
935
+ this.unmasked = !this.unmasked;
936
+ }
937
+ onOverlayClick(event) {
938
+ this.overlayService.add({
939
+ originalEvent: event,
940
+ target: this.el.nativeElement
941
+ });
942
+ }
943
+ testStrength(str) {
944
+ let level = 0;
945
+ if (this.strongCheckRegExp?.test(str)) level = 3;
946
+ else if (this.mediumCheckRegExp?.test(str)) level = 2;
947
+ else if (str.length) level = 1;
948
+ return level;
949
+ }
950
+ promptText() {
951
+ return this.promptLabel() || this.getTranslation(TranslationKeys.PASSWORD_PROMPT);
952
+ }
953
+ weakText() {
954
+ return this.weakLabel() || this.getTranslation(TranslationKeys.WEAK);
955
+ }
956
+ mediumText() {
957
+ return this.mediumLabel() || this.getTranslation(TranslationKeys.MEDIUM);
958
+ }
959
+ strongText() {
960
+ return this.strongLabel() || this.getTranslation(TranslationKeys.STRONG);
961
+ }
962
+ inputType(unmasked) {
963
+ return unmasked ? "text" : "password";
964
+ }
965
+ getTranslation(option) {
966
+ return this.config.getTranslation(option);
967
+ }
968
+ clear() {
969
+ this.value = null;
970
+ this.onModelChange(this.value);
971
+ this.writeValue(this.value);
972
+ this.onClear.emit();
973
+ }
974
+ writeControlValue(value, setModelValue) {
975
+ if (value === void 0) this.value = null;
976
+ else this.value = value;
977
+ if (this.feedback()) this.updateUI(this.value || "");
978
+ setModelValue(this.value);
979
+ this.cd.markForCheck();
980
+ }
981
+ onDestroy() {
982
+ if (this.translationSubscription) this.translationSubscription.unsubscribe();
983
+ }
984
+ get containerDataP() {
985
+ return this.cn({ fluid: this.hasFluid });
986
+ }
987
+ get meterDataP() {
988
+ return this.cn({ [this.meter?.strength]: this.meter?.strength });
989
+ }
990
+ get overlayDataP() {
991
+ return this.cn({ ["overlay-" + this.$appendTo()]: "overlay-" + this.$appendTo() });
992
+ }
993
+ static ɵfac = i0.ɵɵngDeclareFactory({
994
+ minVersion: "12.0.0",
995
+ version: "22.2.1",
996
+ ngImport: i0,
997
+ type: Password,
998
+ deps: null,
999
+ target: i0.ɵɵFactoryTarget.Component
1000
+ });
1001
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1002
+ minVersion: "17.0.0",
1003
+ version: "22.2.1",
1004
+ type: Password,
1005
+ isStandalone: true,
1006
+ selector: "h-password",
1007
+ inputs: {
1008
+ ariaLabel: {
1009
+ classPropertyName: "ariaLabel",
1010
+ publicName: "ariaLabel",
1011
+ isSignal: true,
1012
+ isRequired: false,
1013
+ transformFunction: null
1014
+ },
1015
+ ariaLabelledBy: {
1016
+ classPropertyName: "ariaLabelledBy",
1017
+ publicName: "ariaLabelledBy",
1018
+ isSignal: true,
1019
+ isRequired: false,
1020
+ transformFunction: null
1021
+ },
1022
+ label: {
1023
+ classPropertyName: "label",
1024
+ publicName: "label",
1025
+ isSignal: true,
1026
+ isRequired: false,
1027
+ transformFunction: null
1028
+ },
1029
+ promptLabel: {
1030
+ classPropertyName: "promptLabel",
1031
+ publicName: "promptLabel",
1032
+ isSignal: true,
1033
+ isRequired: false,
1034
+ transformFunction: null
1035
+ },
1036
+ mediumRegex: {
1037
+ classPropertyName: "mediumRegex",
1038
+ publicName: "mediumRegex",
1039
+ isSignal: true,
1040
+ isRequired: false,
1041
+ transformFunction: null
1042
+ },
1043
+ strongRegex: {
1044
+ classPropertyName: "strongRegex",
1045
+ publicName: "strongRegex",
1046
+ isSignal: true,
1047
+ isRequired: false,
1048
+ transformFunction: null
1049
+ },
1050
+ weakLabel: {
1051
+ classPropertyName: "weakLabel",
1052
+ publicName: "weakLabel",
1053
+ isSignal: true,
1054
+ isRequired: false,
1055
+ transformFunction: null
1056
+ },
1057
+ mediumLabel: {
1058
+ classPropertyName: "mediumLabel",
1059
+ publicName: "mediumLabel",
1060
+ isSignal: true,
1061
+ isRequired: false,
1062
+ transformFunction: null
1063
+ },
1064
+ maxLength: {
1065
+ classPropertyName: "maxLength",
1066
+ publicName: "maxLength",
1067
+ isSignal: true,
1068
+ isRequired: false,
1069
+ transformFunction: null
1070
+ },
1071
+ strongLabel: {
1072
+ classPropertyName: "strongLabel",
1073
+ publicName: "strongLabel",
1074
+ isSignal: true,
1075
+ isRequired: false,
1076
+ transformFunction: null
1077
+ },
1078
+ inputId: {
1079
+ classPropertyName: "inputId",
1080
+ publicName: "inputId",
1081
+ isSignal: true,
1082
+ isRequired: false,
1083
+ transformFunction: null
1084
+ },
1085
+ feedback: {
1086
+ classPropertyName: "feedback",
1087
+ publicName: "feedback",
1088
+ isSignal: true,
1089
+ isRequired: false,
1090
+ transformFunction: null
1091
+ },
1092
+ toggleMask: {
1093
+ classPropertyName: "toggleMask",
1094
+ publicName: "toggleMask",
1095
+ isSignal: true,
1096
+ isRequired: false,
1097
+ transformFunction: null
1098
+ },
1099
+ inputStyleClass: {
1100
+ classPropertyName: "inputStyleClass",
1101
+ publicName: "inputStyleClass",
1102
+ isSignal: true,
1103
+ isRequired: false,
1104
+ transformFunction: null
1105
+ },
1106
+ styleClass: {
1107
+ classPropertyName: "styleClass",
1108
+ publicName: "styleClass",
1109
+ isSignal: true,
1110
+ isRequired: false,
1111
+ transformFunction: null
1112
+ },
1113
+ inputStyle: {
1114
+ classPropertyName: "inputStyle",
1115
+ publicName: "inputStyle",
1116
+ isSignal: true,
1117
+ isRequired: false,
1118
+ transformFunction: null
1119
+ },
1120
+ showTransitionOptions: {
1121
+ classPropertyName: "showTransitionOptions",
1122
+ publicName: "showTransitionOptions",
1123
+ isSignal: true,
1124
+ isRequired: false,
1125
+ transformFunction: null
1126
+ },
1127
+ hideTransitionOptions: {
1128
+ classPropertyName: "hideTransitionOptions",
1129
+ publicName: "hideTransitionOptions",
1130
+ isSignal: true,
1131
+ isRequired: false,
1132
+ transformFunction: null
1133
+ },
1134
+ autocomplete: {
1135
+ classPropertyName: "autocomplete",
1136
+ publicName: "autocomplete",
1137
+ isSignal: true,
1138
+ isRequired: false,
1139
+ transformFunction: null
1140
+ },
1141
+ placeholder: {
1142
+ classPropertyName: "placeholder",
1143
+ publicName: "placeholder",
1144
+ isSignal: true,
1145
+ isRequired: false,
1146
+ transformFunction: null
1147
+ },
1148
+ showClear: {
1149
+ classPropertyName: "showClear",
1150
+ publicName: "showClear",
1151
+ isSignal: true,
1152
+ isRequired: false,
1153
+ transformFunction: null
1154
+ },
1155
+ autofocus: {
1156
+ classPropertyName: "autofocus",
1157
+ publicName: "autofocus",
1158
+ isSignal: true,
1159
+ isRequired: false,
1160
+ transformFunction: null
1161
+ },
1162
+ tabindex: {
1163
+ classPropertyName: "tabindex",
1164
+ publicName: "tabindex",
1165
+ isSignal: true,
1166
+ isRequired: false,
1167
+ transformFunction: null
1168
+ },
1169
+ appendTo: {
1170
+ classPropertyName: "appendTo",
1171
+ publicName: "appendTo",
1172
+ isSignal: true,
1173
+ isRequired: false,
1174
+ transformFunction: null
1175
+ },
1176
+ motionOptions: {
1177
+ classPropertyName: "motionOptions",
1178
+ publicName: "motionOptions",
1179
+ isSignal: true,
1180
+ isRequired: false,
1181
+ transformFunction: null
1182
+ },
1183
+ overlayOptions: {
1184
+ classPropertyName: "overlayOptions",
1185
+ publicName: "overlayOptions",
1186
+ isSignal: true,
1187
+ isRequired: false,
1188
+ transformFunction: null
1189
+ }
1190
+ },
1191
+ outputs: {
1192
+ onFocus: "onFocus",
1193
+ onBlur: "onBlur",
1194
+ onClear: "onClear"
1195
+ },
1196
+ host: { properties: {
1197
+ "class": "cn(cx('root'), styleClass())",
1198
+ "style": "sx('root')",
1199
+ "attr.data-h": "containerDataP"
1200
+ } },
1201
+ providers: [
1202
+ Password_VALUE_ACCESSOR,
1203
+ PasswordStyle,
1204
+ {
1205
+ provide: PASSWORD_INSTANCE,
1206
+ useExisting: Password
1207
+ },
1208
+ {
1209
+ provide: PARENT_INSTANCE,
1210
+ useExisting: Password
1211
+ }
1212
+ ],
1213
+ queries: [
1214
+ {
1215
+ propertyName: "contentTemplate",
1216
+ first: true,
1217
+ predicate: ["content"],
1218
+ isSignal: true
1219
+ },
1220
+ {
1221
+ propertyName: "footerTemplate",
1222
+ first: true,
1223
+ predicate: ["footer"],
1224
+ isSignal: true
1225
+ },
1226
+ {
1227
+ propertyName: "headerTemplate",
1228
+ first: true,
1229
+ predicate: ["header"],
1230
+ isSignal: true
1231
+ },
1232
+ {
1233
+ propertyName: "clearIconTemplate",
1234
+ first: true,
1235
+ predicate: ["clearicon"],
1236
+ isSignal: true
1237
+ },
1238
+ {
1239
+ propertyName: "hideIconTemplate",
1240
+ first: true,
1241
+ predicate: ["hideicon"],
1242
+ isSignal: true
1243
+ },
1244
+ {
1245
+ propertyName: "showIconTemplate",
1246
+ first: true,
1247
+ predicate: ["showicon"],
1248
+ isSignal: true
1249
+ },
1250
+ {
1251
+ propertyName: "templates",
1252
+ predicate: HelixTemplate,
1253
+ isSignal: true
1254
+ }
1255
+ ],
1256
+ viewQueries: [{
1257
+ propertyName: "overlayViewChild",
1258
+ first: true,
1259
+ predicate: ["overlay"],
1260
+ descendants: true,
1261
+ isSignal: true
1262
+ }, {
1263
+ propertyName: "input",
1264
+ first: true,
1265
+ predicate: ["input"],
1266
+ descendants: true,
1267
+ isSignal: true
1268
+ }],
1269
+ usesInheritance: true,
1270
+ hostDirectives: [{ directive: i1.Bind }],
1271
+ ngImport: i0,
1272
+ template: "<input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n hInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength() || maxLength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [hAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n@if (showClear() && value != null) {\n @if (!clearIconTemplate() && !_clearIconTemplate) {\n <svg data-h-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [hBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [hBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate\"></ng-template>\n </span>\n}\n\n@if (toggleMask()) {\n @if (unmasked) {\n @if (!hideIconTemplate() && !_hideIconTemplate) {\n <svg data-h-icon=\"eyeslash\" [class]=\"cx('maskIcon')\" [hBind]=\"ptm('maskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (hideIconTemplate() || _hideIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate; context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked) {\n @if (!showIconTemplate() && !_showIconTemplate) {\n <svg data-h-icon=\"eye\" [class]=\"cx('unmaskIcon')\" [hBind]=\"ptm('unmaskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (showIconTemplate() || _showIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate; context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n}\n\n<h-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [hBind]=\"ptm('overlay')\" [attr.data-h]=\"overlayDataP\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [hBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [hBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter ? meter.width : '' }\" [hBind]=\"ptm('meterLabel')\" [attr.data-h]=\"meterDataP\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [hBind]=\"ptm('meterText')\">{{ infoText }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n </ng-template>\n</h-overlay>\n",
1273
+ dependencies: [
1274
+ {
1275
+ kind: "ngmodule",
1276
+ type: CommonModule
1277
+ },
1278
+ {
1279
+ kind: "directive",
1280
+ type: i2.NgTemplateOutlet,
1281
+ selector: "[ngTemplateOutlet]",
1282
+ inputs: [
1283
+ "ngTemplateOutletContext",
1284
+ "ngTemplateOutlet",
1285
+ "ngTemplateOutletInjector"
1286
+ ]
1287
+ },
1288
+ {
1289
+ kind: "directive",
1290
+ type: i2.NgStyle,
1291
+ selector: "[ngStyle]",
1292
+ inputs: ["ngStyle"]
1293
+ },
1294
+ {
1295
+ kind: "directive",
1296
+ type: InputText,
1297
+ selector: "[hInputText]",
1298
+ inputs: [
1299
+ "hostName",
1300
+ "ptInputText",
1301
+ "pInputTextPT",
1302
+ "pInputTextUnstyled",
1303
+ "pSize",
1304
+ "variant",
1305
+ "fluid",
1306
+ "invalid"
1307
+ ]
1308
+ },
1309
+ {
1310
+ kind: "directive",
1311
+ type: AutoFocus,
1312
+ selector: "[hAutoFocus]",
1313
+ inputs: ["hAutoFocus"]
1314
+ },
1315
+ {
1316
+ kind: "component",
1317
+ type: TimesIcon,
1318
+ selector: "[data-h-icon=\"times\"]"
1319
+ },
1320
+ {
1321
+ kind: "component",
1322
+ type: EyeSlashIcon,
1323
+ selector: "[data-h-icon=\"eyeslash\"]"
1324
+ },
1325
+ {
1326
+ kind: "component",
1327
+ type: EyeIcon,
1328
+ selector: "[data-h-icon=\"eye\"]"
1329
+ },
1330
+ {
1331
+ kind: "component",
1332
+ type: Overlay,
1333
+ selector: "h-overlay",
1334
+ inputs: [
1335
+ "hostName",
1336
+ "visible",
1337
+ "mode",
1338
+ "style",
1339
+ "styleClass",
1340
+ "contentStyle",
1341
+ "contentStyleClass",
1342
+ "target",
1343
+ "autoZIndex",
1344
+ "baseZIndex",
1345
+ "showTransitionOptions",
1346
+ "hideTransitionOptions",
1347
+ "listener",
1348
+ "responsive",
1349
+ "options",
1350
+ "appendTo",
1351
+ "inline",
1352
+ "motionOptions",
1353
+ "hostAttrSelector"
1354
+ ],
1355
+ outputs: [
1356
+ "visibleChange",
1357
+ "onBeforeShow",
1358
+ "onShow",
1359
+ "onBeforeHide",
1360
+ "onHide",
1361
+ "onAnimationStart",
1362
+ "onAnimationDone",
1363
+ "onBeforeEnter",
1364
+ "onEnter",
1365
+ "onAfterEnter",
1366
+ "onBeforeLeave",
1367
+ "onLeave",
1368
+ "onAfterLeave"
1369
+ ]
1370
+ },
1371
+ {
1372
+ kind: "ngmodule",
1373
+ type: SharedModule
1374
+ },
1375
+ {
1376
+ kind: "ngmodule",
1377
+ type: BindModule
1378
+ },
1379
+ {
1380
+ kind: "directive",
1381
+ type: i1.Bind,
1382
+ selector: "[hBind]",
1383
+ inputs: ["hBind"]
1384
+ }
1385
+ ],
1386
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1387
+ encapsulation: i0.ViewEncapsulation.None
1388
+ });
1389
+ };
1390
+ i0.ɵɵngDeclareClassMetadata({
1391
+ minVersion: "12.0.0",
1392
+ version: "22.2.1",
1393
+ ngImport: i0,
1394
+ type: Password,
1395
+ decorators: [{
1396
+ type: Component,
1397
+ args: [{
1398
+ selector: "h-password",
1399
+ standalone: true,
1400
+ imports: [
1401
+ CommonModule,
1402
+ InputText,
1403
+ AutoFocus,
1404
+ TimesIcon,
1405
+ EyeSlashIcon,
1406
+ EyeIcon,
1407
+ Overlay,
1408
+ SharedModule,
1409
+ BindModule
1410
+ ],
1411
+ providers: [
1412
+ Password_VALUE_ACCESSOR,
1413
+ PasswordStyle,
1414
+ {
1415
+ provide: PASSWORD_INSTANCE,
1416
+ useExisting: Password
1417
+ },
1418
+ {
1419
+ provide: PARENT_INSTANCE,
1420
+ useExisting: Password
1421
+ }
1422
+ ],
1423
+ changeDetection: ChangeDetectionStrategy.OnPush,
1424
+ encapsulation: ViewEncapsulation.None,
1425
+ host: {
1426
+ "[class]": "cn(cx('root'), styleClass())",
1427
+ "[style]": "sx('root')",
1428
+ "[attr.data-h]": "containerDataP"
1429
+ },
1430
+ hostDirectives: [Bind],
1431
+ template: "<input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n hInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength() || maxLength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [hAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n@if (showClear() && value != null) {\n @if (!clearIconTemplate() && !_clearIconTemplate) {\n <svg data-h-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [hBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [hBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate\"></ng-template>\n </span>\n}\n\n@if (toggleMask()) {\n @if (unmasked) {\n @if (!hideIconTemplate() && !_hideIconTemplate) {\n <svg data-h-icon=\"eyeslash\" [class]=\"cx('maskIcon')\" [hBind]=\"ptm('maskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (hideIconTemplate() || _hideIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate; context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked) {\n @if (!showIconTemplate() && !_showIconTemplate) {\n <svg data-h-icon=\"eye\" [class]=\"cx('unmaskIcon')\" [hBind]=\"ptm('unmaskIcon')\" (click)=\"onMaskToggle()\" />\n }\n @if (showIconTemplate() || _showIconTemplate) {\n <span (click)=\"onMaskToggle()\" [hBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate; context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n}\n\n<h-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [hBind]=\"ptm('overlay')\" [attr.data-h]=\"overlayDataP\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate\"></ng-container>\n @if (contentTemplate() || _contentTemplate) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [hBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [hBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter ? meter.width : '' }\" [hBind]=\"ptm('meterLabel')\" [attr.data-h]=\"meterDataP\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [hBind]=\"ptm('meterText')\">{{ infoText }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate\"></ng-container>\n </div>\n </ng-template>\n</h-overlay>\n"
1432
+ }]
1433
+ }],
1434
+ propDecorators: {
1435
+ ariaLabel: [{
1436
+ type: i0.Input,
1437
+ args: [{
1438
+ isSignal: true,
1439
+ alias: "ariaLabel",
1440
+ required: false
1441
+ }]
1442
+ }],
1443
+ ariaLabelledBy: [{
1444
+ type: i0.Input,
1445
+ args: [{
1446
+ isSignal: true,
1447
+ alias: "ariaLabelledBy",
1448
+ required: false
1449
+ }]
1450
+ }],
1451
+ label: [{
1452
+ type: i0.Input,
1453
+ args: [{
1454
+ isSignal: true,
1455
+ alias: "label",
1456
+ required: false
1457
+ }]
1458
+ }],
1459
+ promptLabel: [{
1460
+ type: i0.Input,
1461
+ args: [{
1462
+ isSignal: true,
1463
+ alias: "promptLabel",
1464
+ required: false
1465
+ }]
1466
+ }],
1467
+ mediumRegex: [{
1468
+ type: i0.Input,
1469
+ args: [{
1470
+ isSignal: true,
1471
+ alias: "mediumRegex",
1472
+ required: false
1473
+ }]
1474
+ }],
1475
+ strongRegex: [{
1476
+ type: i0.Input,
1477
+ args: [{
1478
+ isSignal: true,
1479
+ alias: "strongRegex",
1480
+ required: false
1481
+ }]
1482
+ }],
1483
+ weakLabel: [{
1484
+ type: i0.Input,
1485
+ args: [{
1486
+ isSignal: true,
1487
+ alias: "weakLabel",
1488
+ required: false
1489
+ }]
1490
+ }],
1491
+ mediumLabel: [{
1492
+ type: i0.Input,
1493
+ args: [{
1494
+ isSignal: true,
1495
+ alias: "mediumLabel",
1496
+ required: false
1497
+ }]
1498
+ }],
1499
+ maxLength: [{
1500
+ type: i0.Input,
1501
+ args: [{
1502
+ isSignal: true,
1503
+ alias: "maxLength",
1504
+ required: false
1505
+ }]
1506
+ }],
1507
+ strongLabel: [{
1508
+ type: i0.Input,
1509
+ args: [{
1510
+ isSignal: true,
1511
+ alias: "strongLabel",
1512
+ required: false
1513
+ }]
1514
+ }],
1515
+ inputId: [{
1516
+ type: i0.Input,
1517
+ args: [{
1518
+ isSignal: true,
1519
+ alias: "inputId",
1520
+ required: false
1521
+ }]
1522
+ }],
1523
+ feedback: [{
1524
+ type: i0.Input,
1525
+ args: [{
1526
+ isSignal: true,
1527
+ alias: "feedback",
1528
+ required: false
1529
+ }]
1530
+ }],
1531
+ toggleMask: [{
1532
+ type: i0.Input,
1533
+ args: [{
1534
+ isSignal: true,
1535
+ alias: "toggleMask",
1536
+ required: false
1537
+ }]
1538
+ }],
1539
+ inputStyleClass: [{
1540
+ type: i0.Input,
1541
+ args: [{
1542
+ isSignal: true,
1543
+ alias: "inputStyleClass",
1544
+ required: false
1545
+ }]
1546
+ }],
1547
+ styleClass: [{
1548
+ type: i0.Input,
1549
+ args: [{
1550
+ isSignal: true,
1551
+ alias: "styleClass",
1552
+ required: false
1553
+ }]
1554
+ }],
1555
+ inputStyle: [{
1556
+ type: i0.Input,
1557
+ args: [{
1558
+ isSignal: true,
1559
+ alias: "inputStyle",
1560
+ required: false
1561
+ }]
1562
+ }],
1563
+ showTransitionOptions: [{
1564
+ type: i0.Input,
1565
+ args: [{
1566
+ isSignal: true,
1567
+ alias: "showTransitionOptions",
1568
+ required: false
1569
+ }]
1570
+ }],
1571
+ hideTransitionOptions: [{
1572
+ type: i0.Input,
1573
+ args: [{
1574
+ isSignal: true,
1575
+ alias: "hideTransitionOptions",
1576
+ required: false
1577
+ }]
1578
+ }],
1579
+ autocomplete: [{
1580
+ type: i0.Input,
1581
+ args: [{
1582
+ isSignal: true,
1583
+ alias: "autocomplete",
1584
+ required: false
1585
+ }]
1586
+ }],
1587
+ placeholder: [{
1588
+ type: i0.Input,
1589
+ args: [{
1590
+ isSignal: true,
1591
+ alias: "placeholder",
1592
+ required: false
1593
+ }]
1594
+ }],
1595
+ showClear: [{
1596
+ type: i0.Input,
1597
+ args: [{
1598
+ isSignal: true,
1599
+ alias: "showClear",
1600
+ required: false
1601
+ }]
1602
+ }],
1603
+ autofocus: [{
1604
+ type: i0.Input,
1605
+ args: [{
1606
+ isSignal: true,
1607
+ alias: "autofocus",
1608
+ required: false
1609
+ }]
1610
+ }],
1611
+ tabindex: [{
1612
+ type: i0.Input,
1613
+ args: [{
1614
+ isSignal: true,
1615
+ alias: "tabindex",
1616
+ required: false
1617
+ }]
1618
+ }],
1619
+ appendTo: [{
1620
+ type: i0.Input,
1621
+ args: [{
1622
+ isSignal: true,
1623
+ alias: "appendTo",
1624
+ required: false
1625
+ }]
1626
+ }],
1627
+ motionOptions: [{
1628
+ type: i0.Input,
1629
+ args: [{
1630
+ isSignal: true,
1631
+ alias: "motionOptions",
1632
+ required: false
1633
+ }]
1634
+ }],
1635
+ overlayOptions: [{
1636
+ type: i0.Input,
1637
+ args: [{
1638
+ isSignal: true,
1639
+ alias: "overlayOptions",
1640
+ required: false
1641
+ }]
1642
+ }],
1643
+ onFocus: [{
1644
+ type: i0.Output,
1645
+ args: ["onFocus"]
1646
+ }],
1647
+ onBlur: [{
1648
+ type: i0.Output,
1649
+ args: ["onBlur"]
1650
+ }],
1651
+ onClear: [{
1652
+ type: i0.Output,
1653
+ args: ["onClear"]
1654
+ }],
1655
+ overlayViewChild: [{
1656
+ type: i0.ViewChild,
1657
+ args: ["overlay", { isSignal: true }]
1658
+ }],
1659
+ input: [{
1660
+ type: i0.ViewChild,
1661
+ args: ["input", { isSignal: true }]
1662
+ }],
1663
+ contentTemplate: [{
1664
+ type: i0.ContentChild,
1665
+ args: ["content", {
1666
+ descendants: false,
1667
+ isSignal: true
1668
+ }]
1669
+ }],
1670
+ footerTemplate: [{
1671
+ type: i0.ContentChild,
1672
+ args: ["footer", {
1673
+ descendants: false,
1674
+ isSignal: true
1675
+ }]
1676
+ }],
1677
+ headerTemplate: [{
1678
+ type: i0.ContentChild,
1679
+ args: ["header", {
1680
+ descendants: false,
1681
+ isSignal: true
1682
+ }]
1683
+ }],
1684
+ clearIconTemplate: [{
1685
+ type: i0.ContentChild,
1686
+ args: ["clearicon", {
1687
+ descendants: false,
1688
+ isSignal: true
1689
+ }]
1690
+ }],
1691
+ hideIconTemplate: [{
1692
+ type: i0.ContentChild,
1693
+ args: ["hideicon", {
1694
+ descendants: false,
1695
+ isSignal: true
1696
+ }]
1697
+ }],
1698
+ showIconTemplate: [{
1699
+ type: i0.ContentChild,
1700
+ args: ["showicon", {
1701
+ descendants: false,
1702
+ isSignal: true
1703
+ }]
1704
+ }],
1705
+ templates: [{
1706
+ type: i0.ContentChildren,
1707
+ args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
1708
+ }]
1709
+ }
1710
+ });
1711
+ var PasswordModule = class PasswordModule {
1712
+ static ɵfac = i0.ɵɵngDeclareFactory({
1713
+ minVersion: "12.0.0",
1714
+ version: "22.2.1",
1715
+ ngImport: i0,
1716
+ type: PasswordModule,
1717
+ deps: [],
1718
+ target: i0.ɵɵFactoryTarget.NgModule
1719
+ });
1720
+ static ɵmod = i0.ɵɵngDeclareNgModule({
1721
+ minVersion: "14.0.0",
1722
+ version: "22.2.1",
1723
+ ngImport: i0,
1724
+ type: PasswordModule,
1725
+ imports: [
1726
+ Password,
1727
+ PasswordDirective,
1728
+ SharedModule,
1729
+ BindModule
1730
+ ],
1731
+ exports: [
1732
+ PasswordDirective,
1733
+ Password,
1734
+ SharedModule,
1735
+ BindModule
1736
+ ]
1737
+ });
1738
+ static ɵinj = i0.ɵɵngDeclareInjector({
1739
+ minVersion: "12.0.0",
1740
+ version: "22.2.1",
1741
+ ngImport: i0,
1742
+ type: PasswordModule,
1743
+ imports: [
1744
+ Password,
1745
+ SharedModule,
1746
+ BindModule,
1747
+ SharedModule,
1748
+ BindModule
1749
+ ]
1750
+ });
1751
+ };
1752
+ i0.ɵɵngDeclareClassMetadata({
1753
+ minVersion: "12.0.0",
1754
+ version: "22.2.1",
1755
+ ngImport: i0,
1756
+ type: PasswordModule,
1757
+ decorators: [{
1758
+ type: NgModule,
1759
+ args: [{
1760
+ imports: [
1761
+ Password,
1762
+ PasswordDirective,
1763
+ SharedModule,
1764
+ BindModule
1765
+ ],
1766
+ exports: [
1767
+ PasswordDirective,
1768
+ Password,
1769
+ SharedModule,
1770
+ BindModule
1771
+ ]
1772
+ }]
1773
+ }]
1774
+ });
1046
1775
  export { MapperPipe, Password, PasswordClasses, PasswordDirective, PasswordModule, PasswordStyle, Password_VALUE_ACCESSOR };
1047
- //# sourceMappingURL=gravionlabs-helix-core-password.mjs.map
1776
+
1777
+ //# sourceMappingURL=gravionlabs-helix-core-password.mjs.map