@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11

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 (318) hide show
  1. package/README.md +232 -191
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
  6. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
  8. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
  10. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  11. package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
  12. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-badge.mjs +562 -115
  14. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
  16. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
  18. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  20. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  21. package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
  22. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  23. package/fesm2022/aeris-ui-core-button.mjs +911 -137
  24. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  25. package/fesm2022/aeris-ui-core-card.mjs +371 -101
  26. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  27. package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
  28. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  29. package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
  30. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-chart.mjs +594 -262
  32. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
  34. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
  36. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
  38. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  39. package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
  40. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
  41. package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
  42. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  44. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  45. package/fesm2022/aeris-ui-core-compare.mjs +870 -338
  46. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
  48. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  49. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
  50. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
  52. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  54. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  55. package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
  56. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  57. package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
  58. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  59. package/fesm2022/aeris-ui-core-divider.mjs +204 -43
  60. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
  62. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  63. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
  64. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
  66. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  67. package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
  68. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
  70. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  71. package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
  72. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
  74. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
  76. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  77. package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
  78. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-glass.mjs +110 -33
  80. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  81. package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
  82. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  83. package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
  84. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
  86. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  87. package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
  88. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
  90. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
  92. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
  94. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  96. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  97. package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
  98. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  100. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
  102. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
  104. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
  106. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-message.mjs +513 -147
  108. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
  110. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
  112. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  114. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  115. package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
  116. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
  118. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
  120. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-panel.mjs +602 -210
  122. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-password.mjs +1046 -269
  124. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  125. package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
  126. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  127. package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
  128. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  129. package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
  130. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  131. package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
  132. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  133. package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
  134. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  135. package/fesm2022/aeris-ui-core-rating.mjs +506 -231
  136. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  137. package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
  138. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  139. package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
  140. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  141. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  142. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  143. package/fesm2022/aeris-ui-core-select.mjs +1984 -668
  144. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  146. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  147. package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
  148. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-slider.mjs +884 -430
  150. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
  152. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
  154. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
  156. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
  158. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
  160. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  161. package/fesm2022/aeris-ui-core-table.mjs +2927 -923
  162. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  163. package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
  164. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
  166. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
  168. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core-theming.mjs +132 -144
  170. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  171. package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
  172. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  173. package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
  174. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  175. package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
  176. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  177. package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
  178. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  179. package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
  180. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  181. package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
  182. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  183. package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
  184. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  185. package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
  186. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  187. package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
  188. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  189. package/fesm2022/aeris-ui-core.mjs +1601 -312
  190. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  191. package/package.json +48 -8
  192. package/schematics/ng-add/schema.json +1 -1
  193. package/schematics/runtime/schematics/ng-add/options.js +4 -4
  194. package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
  195. package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
  196. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
  197. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  198. package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
  199. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  200. package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
  201. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  202. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
  203. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  204. package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
  205. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  206. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
  207. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  208. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
  209. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  210. package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
  211. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  212. package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
  213. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  214. package/styles/_choice-card.scss +93 -0
  215. package/styles/_fallback-colors.scss +10 -0
  216. package/styles/_icon-artwork.scss +14 -0
  217. package/styles/_icon-template.scss +42 -0
  218. package/styles/_mobile.scss +16 -0
  219. package/styles/_selection-icons.scss +12 -0
  220. package/styles/_table-pinning.scss +119 -0
  221. package/styles/_tokens.scss +5 -5
  222. package/styles/aeris.css +447 -137
  223. package/styles/controls.css +205 -35
  224. package/tools/aeris-theme.mjs +4 -4
  225. package/tools/aeris-theme.schema.json +18 -13
  226. package/types/aeris-ui-core-accordion.d.ts +167 -93
  227. package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
  228. package/types/aeris-ui-core-auto-complete.d.ts +339 -140
  229. package/types/aeris-ui-core-auto-focus.d.ts +24 -16
  230. package/types/aeris-ui-core-avatar.d.ts +112 -42
  231. package/types/aeris-ui-core-badge.d.ts +160 -46
  232. package/types/aeris-ui-core-block-ui.d.ts +48 -27
  233. package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
  234. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  235. package/types/aeris-ui-core-button-group.d.ts +150 -16
  236. package/types/aeris-ui-core-button.d.ts +274 -67
  237. package/types/aeris-ui-core-card.d.ts +74 -37
  238. package/types/aeris-ui-core-carousel.d.ts +213 -117
  239. package/types/aeris-ui-core-cascade-select.d.ts +275 -123
  240. package/types/aeris-ui-core-chart.d.ts +150 -84
  241. package/types/aeris-ui-core-checkbox.d.ts +173 -54
  242. package/types/aeris-ui-core-chip.d.ts +316 -56
  243. package/types/aeris-ui-core-class-names.d.ts +22 -20
  244. package/types/aeris-ui-core-code-block.d.ts +201 -0
  245. package/types/aeris-ui-core-color-picker.d.ts +450 -143
  246. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  247. package/types/aeris-ui-core-compare.d.ts +230 -102
  248. package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
  249. package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
  250. package/types/aeris-ui-core-context-menu.d.ts +270 -146
  251. package/types/aeris-ui-core-date-picker.d.ts +594 -219
  252. package/types/aeris-ui-core-dialog.d.ts +301 -117
  253. package/types/aeris-ui-core-divider.d.ts +58 -20
  254. package/types/aeris-ui-core-drawer.d.ts +380 -112
  255. package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
  256. package/types/aeris-ui-core-editor.d.ts +257 -123
  257. package/types/aeris-ui-core-file-upload.d.ts +385 -197
  258. package/types/aeris-ui-core-filter-service.d.ts +48 -52
  259. package/types/aeris-ui-core-fluid.d.ts +12 -9
  260. package/types/aeris-ui-core-focus-trap.d.ts +39 -31
  261. package/types/aeris-ui-core-form-field.d.ts +163 -0
  262. package/types/aeris-ui-core-galleria.d.ts +636 -256
  263. package/types/aeris-ui-core-glass.d.ts +24 -11
  264. package/types/aeris-ui-core-icon-field.d.ts +94 -32
  265. package/types/aeris-ui-core-inplace.d.ts +129 -62
  266. package/types/aeris-ui-core-input-group.d.ts +84 -33
  267. package/types/aeris-ui-core-input-mask.d.ts +201 -69
  268. package/types/aeris-ui-core-input-number.d.ts +291 -87
  269. package/types/aeris-ui-core-input-otp.d.ts +191 -81
  270. package/types/aeris-ui-core-input-text.d.ts +195 -60
  271. package/types/aeris-ui-core-kbd.d.ts +74 -0
  272. package/types/aeris-ui-core-key-filter.d.ts +53 -39
  273. package/types/aeris-ui-core-listbox.d.ts +222 -0
  274. package/types/aeris-ui-core-mega-menu.d.ts +181 -121
  275. package/types/aeris-ui-core-menu.d.ts +283 -168
  276. package/types/aeris-ui-core-menubar.d.ts +289 -135
  277. package/types/aeris-ui-core-message.d.ts +138 -60
  278. package/types/aeris-ui-core-meter-group.d.ts +169 -90
  279. package/types/aeris-ui-core-multi-select.d.ts +469 -180
  280. package/types/aeris-ui-core-navbar.d.ts +208 -0
  281. package/types/aeris-ui-core-order-list.d.ts +168 -66
  282. package/types/aeris-ui-core-organization-chart.d.ts +139 -77
  283. package/types/aeris-ui-core-paginator.d.ts +129 -38
  284. package/types/aeris-ui-core-panel.d.ts +149 -78
  285. package/types/aeris-ui-core-password.d.ts +276 -102
  286. package/types/aeris-ui-core-pick-list.d.ts +428 -179
  287. package/types/aeris-ui-core-popover.d.ts +294 -105
  288. package/types/aeris-ui-core-progress-bar.d.ts +163 -73
  289. package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
  290. package/types/aeris-ui-core-radio-button.d.ts +146 -50
  291. package/types/aeris-ui-core-rating.d.ts +149 -76
  292. package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
  293. package/types/aeris-ui-core-scroll-top.d.ts +73 -29
  294. package/types/aeris-ui-core-select-native.d.ts +40 -0
  295. package/types/aeris-ui-core-select.d.ts +487 -217
  296. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  297. package/types/aeris-ui-core-skeleton.d.ts +39 -17
  298. package/types/aeris-ui-core-slider.d.ts +270 -115
  299. package/types/aeris-ui-core-speed-dial.d.ts +241 -111
  300. package/types/aeris-ui-core-split-button.d.ts +267 -113
  301. package/types/aeris-ui-core-splitter.d.ts +224 -106
  302. package/types/aeris-ui-core-stepper.d.ts +184 -91
  303. package/types/aeris-ui-core-style-class.d.ts +141 -71
  304. package/types/aeris-ui-core-table.d.ts +729 -304
  305. package/types/aeris-ui-core-tabs.d.ts +193 -76
  306. package/types/aeris-ui-core-textarea.d.ts +271 -78
  307. package/types/aeris-ui-core-theme-builder.d.ts +220 -463
  308. package/types/aeris-ui-core-theming.d.ts +42 -45
  309. package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
  310. package/types/aeris-ui-core-timeline.d.ts +109 -71
  311. package/types/aeris-ui-core-toast.d.ts +231 -115
  312. package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
  313. package/types/aeris-ui-core-toolbar.d.ts +314 -47
  314. package/types/aeris-ui-core-tooltip.d.ts +157 -88
  315. package/types/aeris-ui-core-tree-select.d.ts +394 -171
  316. package/types/aeris-ui-core-tree-table.d.ts +629 -288
  317. package/types/aeris-ui-core-tree.d.ts +294 -165
  318. package/types/aeris-ui-core.d.ts +338 -74
@@ -1,223 +1,592 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, TemplateRef, Directive, ElementRef, viewChild, signal, model, input, booleanAttribute, output, contentChild, computed, forwardRef, Component } from '@angular/core';
4
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
-
6
- class AerisPasswordHeaderTemplate {
7
- template = inject(TemplateRef);
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPasswordHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPasswordHeader]", ngImport: i0 });
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordHeaderTemplate, decorators: [{
12
- type: Directive,
13
- args: [{ selector: 'ng-template[aerisPasswordHeader]' }]
14
- }] });
15
- class AerisPasswordFeedbackTemplate {
16
- template = inject(TemplateRef);
17
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPasswordFeedbackTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFeedback]", ngImport: i0 });
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, decorators: [{
21
- type: Directive,
22
- args: [{ selector: 'ng-template[aerisPasswordFeedback]' }]
23
- }] });
24
- class AerisPasswordFooterTemplate {
25
- template = inject(TemplateRef);
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPasswordFooterTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFooter]", ngImport: i0 });
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordFooterTemplate, decorators: [{
30
- type: Directive,
31
- args: [{ selector: 'ng-template[aerisPasswordFooter]' }]
32
- }] });
1
+ import { NgTemplateOutlet } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
4
+ import { NG_VALUE_ACCESSOR } from "@angular/forms";
5
+ import { ɵAerisAppendTo, ɵAerisIcon, ɵaerisDisplayInvalid } from "@aeris-ui/core";
6
+ var AerisPasswordHeaderTemplate = class AerisPasswordHeaderTemplate {
7
+ template = inject(TemplateRef);
8
+ static ɵfac = i0.ɵɵngDeclareFactory({
9
+ minVersion: "12.0.0",
10
+ version: "22.2.3",
11
+ ngImport: i0,
12
+ type: AerisPasswordHeaderTemplate,
13
+ deps: [],
14
+ target: i0.ɵɵFactoryTarget.Directive
15
+ });
16
+ static ɵdir = i0.ɵɵngDeclareDirective({
17
+ minVersion: "14.0.0",
18
+ version: "22.2.3",
19
+ type: AerisPasswordHeaderTemplate,
20
+ isStandalone: true,
21
+ selector: "ng-template[aerisPasswordHeader]",
22
+ ngImport: i0
23
+ });
24
+ };
25
+ i0.ɵɵngDeclareClassMetadata({
26
+ minVersion: "12.0.0",
27
+ version: "22.2.3",
28
+ ngImport: i0,
29
+ type: AerisPasswordHeaderTemplate,
30
+ decorators: [{
31
+ type: Directive,
32
+ args: [{ selector: "ng-template[aerisPasswordHeader]" }]
33
+ }]
34
+ });
35
+ var AerisPasswordFeedbackTemplate = class AerisPasswordFeedbackTemplate {
36
+ template = inject(TemplateRef);
37
+ static ɵfac = i0.ɵɵngDeclareFactory({
38
+ minVersion: "12.0.0",
39
+ version: "22.2.3",
40
+ ngImport: i0,
41
+ type: AerisPasswordFeedbackTemplate,
42
+ deps: [],
43
+ target: i0.ɵɵFactoryTarget.Directive
44
+ });
45
+ static ɵdir = i0.ɵɵngDeclareDirective({
46
+ minVersion: "14.0.0",
47
+ version: "22.2.3",
48
+ type: AerisPasswordFeedbackTemplate,
49
+ isStandalone: true,
50
+ selector: "ng-template[aerisPasswordFeedback]",
51
+ ngImport: i0
52
+ });
53
+ };
54
+ i0.ɵɵngDeclareClassMetadata({
55
+ minVersion: "12.0.0",
56
+ version: "22.2.3",
57
+ ngImport: i0,
58
+ type: AerisPasswordFeedbackTemplate,
59
+ decorators: [{
60
+ type: Directive,
61
+ args: [{ selector: "ng-template[aerisPasswordFeedback]" }]
62
+ }]
63
+ });
64
+ var AerisPasswordFooterTemplate = class AerisPasswordFooterTemplate {
65
+ template = inject(TemplateRef);
66
+ static ɵfac = i0.ɵɵngDeclareFactory({
67
+ minVersion: "12.0.0",
68
+ version: "22.2.3",
69
+ ngImport: i0,
70
+ type: AerisPasswordFooterTemplate,
71
+ deps: [],
72
+ target: i0.ɵɵFactoryTarget.Directive
73
+ });
74
+ static ɵdir = i0.ɵɵngDeclareDirective({
75
+ minVersion: "14.0.0",
76
+ version: "22.2.3",
77
+ type: AerisPasswordFooterTemplate,
78
+ isStandalone: true,
79
+ selector: "ng-template[aerisPasswordFooter]",
80
+ ngImport: i0
81
+ });
82
+ };
83
+ i0.ɵɵngDeclareClassMetadata({
84
+ minVersion: "12.0.0",
85
+ version: "22.2.3",
86
+ ngImport: i0,
87
+ type: AerisPasswordFooterTemplate,
88
+ decorators: [{
89
+ type: Directive,
90
+ args: [{ selector: "ng-template[aerisPasswordFooter]" }]
91
+ }]
92
+ });
33
93
  const scoreFor = (metCount) => {
34
- if (metCount <= 2)
35
- return 1;
36
- if (metCount <= 4)
37
- return 2;
38
- return 3;
94
+ if (metCount <= 2) return 1;
95
+ if (metCount <= 4) return 2;
96
+ return 3;
39
97
  };
40
98
  const evaluateAerisPassword = (value, minLength) => {
41
- const requirements = [
42
- { label: `At least ${minLength} characters`, met: value.length >= minLength },
43
- { label: 'One uppercase letter', met: /[A-Z]/.test(value) },
44
- { label: 'One lowercase letter', met: /[a-z]/.test(value) },
45
- { label: 'One number', met: /\d/.test(value) },
46
- { label: 'One symbol', met: /[^A-Za-z0-9\s]/.test(value) },
47
- ];
48
- if (!value) {
49
- return { score: 0, strength: 'empty', label: 'Enter a password', requirements };
50
- }
51
- const score = scoreFor(requirements.filter((requirement) => requirement.met).length);
52
- const strength = score === 1 ? 'weak' : score === 2 ? 'medium' : 'strong';
53
- const label = strength === 'weak' ? 'Weak password' : strength === 'medium' ? 'Medium password' : 'Strong password';
54
- return { score, strength, label, requirements };
99
+ const requirements = [
100
+ {
101
+ label: `At least ${minLength} characters`,
102
+ met: value.length >= minLength
103
+ },
104
+ {
105
+ label: "One uppercase letter",
106
+ met: /[A-Z]/.test(value)
107
+ },
108
+ {
109
+ label: "One lowercase letter",
110
+ met: /[a-z]/.test(value)
111
+ },
112
+ {
113
+ label: "One number",
114
+ met: /\d/.test(value)
115
+ },
116
+ {
117
+ label: "One symbol",
118
+ met: /[^A-Za-z0-9\s]/.test(value)
119
+ }
120
+ ];
121
+ if (!value) return {
122
+ score: 0,
123
+ strength: "empty",
124
+ label: "Enter a password",
125
+ requirements
126
+ };
127
+ const score = scoreFor(requirements.filter((requirement) => requirement.met).length);
128
+ const strength = score === 1 ? "weak" : score === 2 ? "medium" : "strong";
129
+ return {
130
+ score,
131
+ strength,
132
+ label: strength === "weak" ? "Weak password" : strength === "medium" ? "Medium password" : "Strong password",
133
+ requirements
134
+ };
55
135
  };
56
136
  let passwordId = 0;
57
- class AerisPasswordComponent {
58
- host = inject(ElementRef);
59
- inputElement = viewChild('passwordInput', /* @ts-ignore */
60
- ...(ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []));
61
- generatedId = `aeris-password-${++passwordId}`;
62
- formDisabled = signal(false, /* @ts-ignore */
63
- ...(ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []));
64
- hasFocus = signal(false, /* @ts-ignore */
65
- ...(ngDevMode ? [{ debugName: "hasFocus" }] : /* istanbul ignore next */ []));
66
- onChange = () => undefined;
67
- onTouched = () => undefined;
68
- value = model('', /* @ts-ignore */
69
- ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
70
- visible = model(false, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
72
- inputId = input('', /* @ts-ignore */
73
- ...(ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []));
74
- name = input('', /* @ts-ignore */
75
- ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
76
- placeholder = input('', /* @ts-ignore */
77
- ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
78
- autocomplete = input('current-password', /* @ts-ignore */
79
- ...(ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []));
80
- ariaLabel = input('', /* @ts-ignore */
81
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
82
- ariaLabelledby = input('', /* @ts-ignore */
83
- ...(ngDevMode ? [{ debugName: "ariaLabelledby" }] : /* istanbul ignore next */ []));
84
- ariaDescribedby = input('', /* @ts-ignore */
85
- ...(ngDevMode ? [{ debugName: "ariaDescribedby" }] : /* istanbul ignore next */ []));
86
- size = input('md', /* @ts-ignore */
87
- ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
88
- appearance = input('outline', /* @ts-ignore */
89
- ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
90
- minLength = input(8, /* @ts-ignore */
91
- ...(ngDevMode ? [{ debugName: "minLength" }] : /* istanbul ignore next */ []));
92
- maxLength = input(/* @ts-ignore */
93
- ...(ngDevMode ? [undefined, { debugName: "maxLength" }] : /* istanbul ignore next */ []));
94
- disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
95
- readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
96
- required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
97
- invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98
- fluid = input(false, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
99
- toggleMask = input(true, { ...(ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
100
- feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
101
- showRequirements = input(true, { ...(ngDevMode ? { debugName: "showRequirements" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
102
- clearable = input(false, { ...(ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
103
- clearButtonAriaLabel = input('Clear password', /* @ts-ignore */
104
- ...(ngDevMode ? [{ debugName: "clearButtonAriaLabel" }] : /* istanbul ignore next */ []));
105
- showPasswordAriaLabel = input('Show password', /* @ts-ignore */
106
- ...(ngDevMode ? [{ debugName: "showPasswordAriaLabel" }] : /* istanbul ignore next */ []));
107
- hidePasswordAriaLabel = input('Hide password', /* @ts-ignore */
108
- ...(ngDevMode ? [{ debugName: "hidePasswordAriaLabel" }] : /* istanbul ignore next */ []));
109
- strengthEvaluator = input(evaluateAerisPassword, /* @ts-ignore */
110
- ...(ngDevMode ? [{ debugName: "strengthEvaluator" }] : /* istanbul ignore next */ []));
111
- valueInput = output();
112
- visibilityChanged = output();
113
- focused = output();
114
- blurred = output();
115
- touch = output();
116
- feedbackId = `${this.generatedId}-feedback`;
117
- headerTemplate = contentChild(AerisPasswordHeaderTemplate, /* @ts-ignore */
118
- ...(ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []));
119
- feedbackTemplate = contentChild(AerisPasswordFeedbackTemplate, /* @ts-ignore */
120
- ...(ngDevMode ? [{ debugName: "feedbackTemplate" }] : /* istanbul ignore next */ []));
121
- footerTemplate = contentChild(AerisPasswordFooterTemplate, /* @ts-ignore */
122
- ...(ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []));
123
- resolvedInputId = computed(() => this.inputId() || this.generatedId, /* @ts-ignore */
124
- ...(ngDevMode ? [{ debugName: "resolvedInputId" }] : /* istanbul ignore next */ []));
125
- effectiveDisabled = computed(() => this.disabled() || this.formDisabled(), /* @ts-ignore */
126
- ...(ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []));
127
- strengthResult = computed(() => this.strengthEvaluator()(this.value(), this.minLength()), /* @ts-ignore */
128
- ...(ngDevMode ? [{ debugName: "strengthResult" }] : /* istanbul ignore next */ []));
129
- feedbackVisible = computed(() => this.feedback() && this.hasFocus() && !this.effectiveDisabled(), /* @ts-ignore */
130
- ...(ngDevMode ? [{ debugName: "feedbackVisible" }] : /* istanbul ignore next */ []));
131
- showClearButton = computed(() => this.clearable() &&
132
- this.value().length > 0 &&
133
- !this.effectiveDisabled() &&
134
- !this.readonly(), /* @ts-ignore */
135
- ...(ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []));
136
- resolvedAriaDescribedby = computed(() => {
137
- const ids = [
138
- this.ariaDescribedby(),
139
- this.feedbackVisible() ? this.feedbackId : '',
140
- ].filter(Boolean);
141
- return ids.length ? ids.join(' ') : null;
142
- }, /* @ts-ignore */
143
- ...(ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []));
144
- writeValue(value) {
145
- this.value.set(typeof value === 'string' ? value : value == null ? '' : String(value));
146
- }
147
- registerOnChange(callback) {
148
- this.onChange = callback;
149
- }
150
- registerOnTouched(callback) {
151
- this.onTouched = callback;
152
- }
153
- setDisabledState(disabled) {
154
- this.formDisabled.set(disabled);
155
- }
156
- focus(options) {
157
- this.inputElement()?.nativeElement.focus(options);
158
- }
159
- clear() {
160
- if (this.effectiveDisabled() || this.readonly())
161
- return;
162
- this.setValue('');
163
- this.focus();
164
- }
165
- show() {
166
- this.setVisible(true);
167
- }
168
- hide() {
169
- this.setVisible(false);
170
- }
171
- toggleVisibility() {
172
- if (this.effectiveDisabled())
173
- return;
174
- this.setVisible(!this.visible());
175
- queueMicrotask(() => this.focus());
176
- }
177
- handleInput(event) {
178
- this.setValue(event.target.value);
179
- }
180
- handleFocus(event) {
181
- this.hasFocus.set(true);
182
- this.focused.emit(event);
183
- }
184
- handleInputBlur(event) {
185
- this.blurred.emit(event);
186
- }
187
- handleFocusOut(event) {
188
- const nextTarget = event.relatedTarget;
189
- if (nextTarget instanceof Node && this.host.nativeElement.contains(nextTarget))
190
- return;
191
- this.hasFocus.set(false);
192
- this.touch.emit();
193
- this.onTouched();
194
- }
195
- setValue(value) {
196
- if (this.value() === value)
197
- return;
198
- this.value.set(value);
199
- this.valueInput.emit(value);
200
- this.onChange(value);
201
- }
202
- setVisible(visible) {
203
- if (this.visible() === visible)
204
- return;
205
- this.visible.set(visible);
206
- this.visibilityChanged.emit(visible);
207
- }
208
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
209
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisPasswordComponent, isStandalone: true, selector: "aeris-password", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, toggleMask: { classPropertyName: "toggleMask", publicName: "toggleMask", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, showRequirements: { classPropertyName: "showRequirements", publicName: "showRequirements", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, clearButtonAriaLabel: { classPropertyName: "clearButtonAriaLabel", publicName: "clearButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, showPasswordAriaLabel: { classPropertyName: "showPasswordAriaLabel", publicName: "showPasswordAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, hidePasswordAriaLabel: { classPropertyName: "hidePasswordAriaLabel", publicName: "hidePasswordAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, strengthEvaluator: { classPropertyName: "strengthEvaluator", publicName: "strengthEvaluator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", visible: "visibleChange", valueInput: "valueInput", visibilityChanged: "visibilityChanged", focused: "focused", blurred: "blurred", touch: "touch" }, host: { properties: { "attr.data-fluid": "fluid() || null" } }, providers: [
210
- {
211
- provide: NG_VALUE_ACCESSOR,
212
- useExisting: forwardRef(() => AerisPasswordComponent),
213
- multi: true,
214
- },
215
- ], queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisPasswordHeaderTemplate, descendants: true, isSignal: true }, { propertyName: "feedbackTemplate", first: true, predicate: AerisPasswordFeedbackTemplate, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: AerisPasswordFooterTemplate, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["passwordInput"], descendants: true, isSignal: true }], ngImport: i0, template: `
137
+ var AerisPasswordComponent = class AerisPasswordComponent {
138
+ visibleIconTemplate = input(...ngDevMode ? [void 0, { debugName: "visibleIconTemplate" }] : /* istanbul ignore next */ []);
139
+ maskedIconTemplate = input(...ngDevMode ? [void 0, { debugName: "maskedIconTemplate" }] : /* istanbul ignore next */ []);
140
+ clearIconTemplate = input(...ngDevMode ? [void 0, { debugName: "clearIconTemplate" }] : /* istanbul ignore next */ []);
141
+ host = inject(ElementRef);
142
+ inputElement = viewChild("passwordInput", ...ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []);
143
+ feedbackPanel = viewChild("feedbackPanel", ...ngDevMode ? [{ debugName: "feedbackPanel" }] : /* istanbul ignore next */ []);
144
+ feedbackPortal = viewChild(ɵAerisAppendTo, ...ngDevMode ? [{ debugName: "feedbackPortal" }] : /* istanbul ignore next */ []);
145
+ generatedId = `aeris-password-${++passwordId}`;
146
+ formDisabled = signal(false, ...ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []);
147
+ hasFocus = signal(false, ...ngDevMode ? [{ debugName: "hasFocus" }] : /* istanbul ignore next */ []);
148
+ onChange = () => void 0;
149
+ onTouched = () => void 0;
150
+ value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
151
+ visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
152
+ appendTo = input(...ngDevMode ? [void 0, { debugName: "appendTo" }] : /* istanbul ignore next */ []);
153
+ viewportMargin = input(8, ...ngDevMode ? [{ debugName: "viewportMargin" }] : /* istanbul ignore next */ []);
154
+ inputId = input("", ...ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []);
155
+ name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
156
+ placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
157
+ autocomplete = input("current-password", ...ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []);
158
+ ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
159
+ ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
160
+ ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
161
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
162
+ appearance = input("outline", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
163
+ minLength = input(8, ...ngDevMode ? [{ debugName: "minLength" }] : /* istanbul ignore next */ []);
164
+ maxLength = input(...ngDevMode ? [void 0, { debugName: "maxLength" }] : /* istanbul ignore next */ []);
165
+ disabled = input(false, {
166
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
167
+ transform: booleanAttribute
168
+ });
169
+ readonly = input(false, {
170
+ ...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
171
+ transform: booleanAttribute
172
+ });
173
+ required = input(false, {
174
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
175
+ transform: booleanAttribute
176
+ });
177
+ invalid = input(false, {
178
+ ...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
179
+ transform: booleanAttribute
180
+ });
181
+ touched = input(null, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
182
+ displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
183
+ fluid = input(false, {
184
+ ...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
185
+ transform: booleanAttribute
186
+ });
187
+ toggleMask = input(true, {
188
+ ...ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {},
189
+ transform: booleanAttribute
190
+ });
191
+ feedback = input(true, {
192
+ ...ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {},
193
+ transform: booleanAttribute
194
+ });
195
+ showRequirements = input(true, {
196
+ ...ngDevMode ? { debugName: "showRequirements" } : /* istanbul ignore next */ {},
197
+ transform: booleanAttribute
198
+ });
199
+ clearable = input(false, {
200
+ ...ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {},
201
+ transform: booleanAttribute
202
+ });
203
+ clearButtonAriaLabel = input("Clear password", ...ngDevMode ? [{ debugName: "clearButtonAriaLabel" }] : /* istanbul ignore next */ []);
204
+ showPasswordAriaLabel = input("Show password", ...ngDevMode ? [{ debugName: "showPasswordAriaLabel" }] : /* istanbul ignore next */ []);
205
+ hidePasswordAriaLabel = input("Hide password", ...ngDevMode ? [{ debugName: "hidePasswordAriaLabel" }] : /* istanbul ignore next */ []);
206
+ strengthEvaluator = input(evaluateAerisPassword, ...ngDevMode ? [{ debugName: "strengthEvaluator" }] : /* istanbul ignore next */ []);
207
+ visibilityChanged = output();
208
+ focused = output();
209
+ blurred = output();
210
+ touch = output();
211
+ feedbackId = `${this.generatedId}-feedback`;
212
+ headerTemplate = contentChild(AerisPasswordHeaderTemplate, ...ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []);
213
+ feedbackTemplate = contentChild(AerisPasswordFeedbackTemplate, ...ngDevMode ? [{ debugName: "feedbackTemplate" }] : /* istanbul ignore next */ []);
214
+ footerTemplate = contentChild(AerisPasswordFooterTemplate, ...ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []);
215
+ resolvedInputId = computed(() => this.inputId() || this.generatedId, ...ngDevMode ? [{ debugName: "resolvedInputId" }] : /* istanbul ignore next */ []);
216
+ effectiveDisabled = computed(() => this.disabled() || this.formDisabled(), ...ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []);
217
+ strengthResult = computed(() => this.strengthEvaluator()(this.value(), this.minLength()), ...ngDevMode ? [{ debugName: "strengthResult" }] : /* istanbul ignore next */ []);
218
+ feedbackVisible = computed(() => this.feedback() && this.hasFocus() && !this.effectiveDisabled(), ...ngDevMode ? [{ debugName: "feedbackVisible" }] : /* istanbul ignore next */ []);
219
+ showClearButton = computed(() => this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(), ...ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []);
220
+ resolvedAriaDescribedby = computed(() => {
221
+ const ids = [this.ariaDescribedBy(), this.feedbackVisible() ? this.feedbackId : ""].filter(Boolean);
222
+ return ids.length ? ids.join(" ") : null;
223
+ }, ...ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []);
224
+ writeValue(value) {
225
+ this.value.set(typeof value === "string" ? value : value == null ? "" : String(value));
226
+ }
227
+ registerOnChange(callback) {
228
+ this.onChange = callback;
229
+ }
230
+ registerOnTouched(callback) {
231
+ this.onTouched = callback;
232
+ }
233
+ setDisabledState(disabled) {
234
+ this.formDisabled.set(disabled);
235
+ }
236
+ focus(options) {
237
+ this.inputElement()?.nativeElement.focus(options);
238
+ }
239
+ clear() {
240
+ if (this.effectiveDisabled() || this.readonly()) return;
241
+ this.setValue("");
242
+ this.focus();
243
+ }
244
+ show() {
245
+ this.setVisible(true);
246
+ }
247
+ hide() {
248
+ this.setVisible(false);
249
+ }
250
+ toggleVisibility() {
251
+ if (this.effectiveDisabled()) return;
252
+ this.setVisible(!this.visible());
253
+ queueMicrotask(() => this.focus());
254
+ }
255
+ handleInput(event) {
256
+ this.setValue(event.target.value);
257
+ }
258
+ handleFocus(event) {
259
+ this.hasFocus.set(true);
260
+ this.focused.emit(event);
261
+ }
262
+ handleInputBlur(event) {
263
+ this.blurred.emit(event);
264
+ }
265
+ handleFocusOut(event) {
266
+ const nextTarget = event.relatedTarget;
267
+ if (nextTarget instanceof Node && (this.host.nativeElement.contains(nextTarget) || this.feedbackPanel()?.nativeElement.contains(nextTarget))) return;
268
+ this.feedbackPortal()?.restore();
269
+ this.hasFocus.set(false);
270
+ this.touch.emit();
271
+ this.onTouched();
272
+ }
273
+ setValue(value) {
274
+ if (this.value() === value) return;
275
+ this.value.set(value);
276
+ this.onChange(value);
277
+ }
278
+ setVisible(visible) {
279
+ if (this.visible() === visible) return;
280
+ this.visible.set(visible);
281
+ this.visibilityChanged.emit(visible);
282
+ }
283
+ static ɵfac = i0.ɵɵngDeclareFactory({
284
+ minVersion: "12.0.0",
285
+ version: "22.2.3",
286
+ ngImport: i0,
287
+ type: AerisPasswordComponent,
288
+ deps: [],
289
+ target: i0.ɵɵFactoryTarget.Component
290
+ });
291
+ static ɵcmp = i0.ɵɵngDeclareComponent({
292
+ minVersion: "17.0.0",
293
+ version: "22.2.3",
294
+ type: AerisPasswordComponent,
295
+ isStandalone: true,
296
+ selector: "aeris-password",
297
+ inputs: {
298
+ visibleIconTemplate: {
299
+ classPropertyName: "visibleIconTemplate",
300
+ publicName: "visibleIconTemplate",
301
+ isSignal: true,
302
+ isRequired: false,
303
+ transformFunction: null
304
+ },
305
+ maskedIconTemplate: {
306
+ classPropertyName: "maskedIconTemplate",
307
+ publicName: "maskedIconTemplate",
308
+ isSignal: true,
309
+ isRequired: false,
310
+ transformFunction: null
311
+ },
312
+ clearIconTemplate: {
313
+ classPropertyName: "clearIconTemplate",
314
+ publicName: "clearIconTemplate",
315
+ isSignal: true,
316
+ isRequired: false,
317
+ transformFunction: null
318
+ },
319
+ value: {
320
+ classPropertyName: "value",
321
+ publicName: "value",
322
+ isSignal: true,
323
+ isRequired: false,
324
+ transformFunction: null
325
+ },
326
+ visible: {
327
+ classPropertyName: "visible",
328
+ publicName: "visible",
329
+ isSignal: true,
330
+ isRequired: false,
331
+ transformFunction: null
332
+ },
333
+ appendTo: {
334
+ classPropertyName: "appendTo",
335
+ publicName: "appendTo",
336
+ isSignal: true,
337
+ isRequired: false,
338
+ transformFunction: null
339
+ },
340
+ viewportMargin: {
341
+ classPropertyName: "viewportMargin",
342
+ publicName: "viewportMargin",
343
+ isSignal: true,
344
+ isRequired: false,
345
+ transformFunction: null
346
+ },
347
+ inputId: {
348
+ classPropertyName: "inputId",
349
+ publicName: "inputId",
350
+ isSignal: true,
351
+ isRequired: false,
352
+ transformFunction: null
353
+ },
354
+ name: {
355
+ classPropertyName: "name",
356
+ publicName: "name",
357
+ isSignal: true,
358
+ isRequired: false,
359
+ transformFunction: null
360
+ },
361
+ placeholder: {
362
+ classPropertyName: "placeholder",
363
+ publicName: "placeholder",
364
+ isSignal: true,
365
+ isRequired: false,
366
+ transformFunction: null
367
+ },
368
+ autocomplete: {
369
+ classPropertyName: "autocomplete",
370
+ publicName: "autocomplete",
371
+ isSignal: true,
372
+ isRequired: false,
373
+ transformFunction: null
374
+ },
375
+ ariaLabel: {
376
+ classPropertyName: "ariaLabel",
377
+ publicName: "ariaLabel",
378
+ isSignal: true,
379
+ isRequired: false,
380
+ transformFunction: null
381
+ },
382
+ ariaLabelledBy: {
383
+ classPropertyName: "ariaLabelledBy",
384
+ publicName: "ariaLabelledBy",
385
+ isSignal: true,
386
+ isRequired: false,
387
+ transformFunction: null
388
+ },
389
+ ariaDescribedBy: {
390
+ classPropertyName: "ariaDescribedBy",
391
+ publicName: "ariaDescribedBy",
392
+ isSignal: true,
393
+ isRequired: false,
394
+ transformFunction: null
395
+ },
396
+ size: {
397
+ classPropertyName: "size",
398
+ publicName: "size",
399
+ isSignal: true,
400
+ isRequired: false,
401
+ transformFunction: null
402
+ },
403
+ appearance: {
404
+ classPropertyName: "appearance",
405
+ publicName: "appearance",
406
+ isSignal: true,
407
+ isRequired: false,
408
+ transformFunction: null
409
+ },
410
+ minLength: {
411
+ classPropertyName: "minLength",
412
+ publicName: "minLength",
413
+ isSignal: true,
414
+ isRequired: false,
415
+ transformFunction: null
416
+ },
417
+ maxLength: {
418
+ classPropertyName: "maxLength",
419
+ publicName: "maxLength",
420
+ isSignal: true,
421
+ isRequired: false,
422
+ transformFunction: null
423
+ },
424
+ disabled: {
425
+ classPropertyName: "disabled",
426
+ publicName: "disabled",
427
+ isSignal: true,
428
+ isRequired: false,
429
+ transformFunction: null
430
+ },
431
+ readonly: {
432
+ classPropertyName: "readonly",
433
+ publicName: "readonly",
434
+ isSignal: true,
435
+ isRequired: false,
436
+ transformFunction: null
437
+ },
438
+ required: {
439
+ classPropertyName: "required",
440
+ publicName: "required",
441
+ isSignal: true,
442
+ isRequired: false,
443
+ transformFunction: null
444
+ },
445
+ invalid: {
446
+ classPropertyName: "invalid",
447
+ publicName: "invalid",
448
+ isSignal: true,
449
+ isRequired: false,
450
+ transformFunction: null
451
+ },
452
+ touched: {
453
+ classPropertyName: "touched",
454
+ publicName: "touched",
455
+ isSignal: true,
456
+ isRequired: false,
457
+ transformFunction: null
458
+ },
459
+ fluid: {
460
+ classPropertyName: "fluid",
461
+ publicName: "fluid",
462
+ isSignal: true,
463
+ isRequired: false,
464
+ transformFunction: null
465
+ },
466
+ toggleMask: {
467
+ classPropertyName: "toggleMask",
468
+ publicName: "toggleMask",
469
+ isSignal: true,
470
+ isRequired: false,
471
+ transformFunction: null
472
+ },
473
+ feedback: {
474
+ classPropertyName: "feedback",
475
+ publicName: "feedback",
476
+ isSignal: true,
477
+ isRequired: false,
478
+ transformFunction: null
479
+ },
480
+ showRequirements: {
481
+ classPropertyName: "showRequirements",
482
+ publicName: "showRequirements",
483
+ isSignal: true,
484
+ isRequired: false,
485
+ transformFunction: null
486
+ },
487
+ clearable: {
488
+ classPropertyName: "clearable",
489
+ publicName: "clearable",
490
+ isSignal: true,
491
+ isRequired: false,
492
+ transformFunction: null
493
+ },
494
+ clearButtonAriaLabel: {
495
+ classPropertyName: "clearButtonAriaLabel",
496
+ publicName: "clearButtonAriaLabel",
497
+ isSignal: true,
498
+ isRequired: false,
499
+ transformFunction: null
500
+ },
501
+ showPasswordAriaLabel: {
502
+ classPropertyName: "showPasswordAriaLabel",
503
+ publicName: "showPasswordAriaLabel",
504
+ isSignal: true,
505
+ isRequired: false,
506
+ transformFunction: null
507
+ },
508
+ hidePasswordAriaLabel: {
509
+ classPropertyName: "hidePasswordAriaLabel",
510
+ publicName: "hidePasswordAriaLabel",
511
+ isSignal: true,
512
+ isRequired: false,
513
+ transformFunction: null
514
+ },
515
+ strengthEvaluator: {
516
+ classPropertyName: "strengthEvaluator",
517
+ publicName: "strengthEvaluator",
518
+ isSignal: true,
519
+ isRequired: false,
520
+ transformFunction: null
521
+ }
522
+ },
523
+ outputs: {
524
+ value: "valueChange",
525
+ visible: "visibleChange",
526
+ visibilityChanged: "visibilityChanged",
527
+ focused: "focused",
528
+ blurred: "blurred",
529
+ touch: "touch"
530
+ },
531
+ host: { properties: { "attr.data-fluid": "fluid() || null" } },
532
+ providers: [{
533
+ provide: NG_VALUE_ACCESSOR,
534
+ useExisting: forwardRef(() => AerisPasswordComponent),
535
+ multi: true
536
+ }],
537
+ queries: [
538
+ {
539
+ propertyName: "headerTemplate",
540
+ first: true,
541
+ predicate: AerisPasswordHeaderTemplate,
542
+ descendants: true,
543
+ isSignal: true
544
+ },
545
+ {
546
+ propertyName: "feedbackTemplate",
547
+ first: true,
548
+ predicate: AerisPasswordFeedbackTemplate,
549
+ descendants: true,
550
+ isSignal: true
551
+ },
552
+ {
553
+ propertyName: "footerTemplate",
554
+ first: true,
555
+ predicate: AerisPasswordFooterTemplate,
556
+ descendants: true,
557
+ isSignal: true
558
+ }
559
+ ],
560
+ viewQueries: [
561
+ {
562
+ propertyName: "inputElement",
563
+ first: true,
564
+ predicate: ["passwordInput"],
565
+ descendants: true,
566
+ isSignal: true
567
+ },
568
+ {
569
+ propertyName: "feedbackPanel",
570
+ first: true,
571
+ predicate: ["feedbackPanel"],
572
+ descendants: true,
573
+ isSignal: true
574
+ },
575
+ {
576
+ propertyName: "feedbackPortal",
577
+ first: true,
578
+ predicate: ɵAerisAppendTo,
579
+ descendants: true,
580
+ isSignal: true
581
+ }
582
+ ],
583
+ ngImport: i0,
584
+ template: `
216
585
  <span
217
586
  class="aeris-password"
218
587
  [attr.data-size]="size()"
219
588
  [attr.data-appearance]="appearance()"
220
- [attr.data-invalid]="invalid() || null"
589
+ [attr.data-invalid]="displayInvalid() || null"
221
590
  [attr.data-disabled]="effectiveDisabled() || null"
222
591
  [attr.data-readonly]="readonly() || null"
223
592
  [attr.data-fluid]="fluid() || null"
@@ -233,14 +602,14 @@ class AerisPasswordComponent {
233
602
  [placeholder]="placeholder()"
234
603
  [autocomplete]="autocomplete()"
235
604
  [minLength]="minLength()"
236
- [maxLength]="maxLength() ?? null"
605
+ [attr.maxlength]="maxLength() ?? null"
237
606
  [disabled]="effectiveDisabled()"
238
607
  [readOnly]="readonly()"
239
608
  [required]="required()"
240
609
  [attr.aria-label]="ariaLabel() || null"
241
- [attr.aria-labelledby]="ariaLabelledby() || null"
610
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
242
611
  [attr.aria-describedby]="resolvedAriaDescribedby()"
243
- [attr.aria-invalid]="invalid() || null"
612
+ [attr.aria-invalid]="displayInvalid() || null"
244
613
  (input)="handleInput($event)"
245
614
  (focus)="handleFocus($event)"
246
615
  (blur)="handleInputBlur($event)"
@@ -253,7 +622,15 @@ class AerisPasswordComponent {
253
622
  class="aeris-password__action aeris-password__clear"
254
623
  [attr.aria-label]="clearButtonAriaLabel()"
255
624
  (click)="clear()"
256
- ><span aria-hidden="true"></span></button>
625
+ >
626
+ @if (clearIconTemplate(); as customIcon) {
627
+ <span aria-hidden="true" data-aeris-custom-icon
628
+ ><ng-container [ngTemplateOutlet]="customIcon"
629
+ /></span>
630
+ } @else {
631
+ <span aerisInternalIcon="close" aria-hidden="true"></span>
632
+ }
633
+ </button>
257
634
  }
258
635
  @if (toggleMask()) {
259
636
  <button
@@ -264,17 +641,31 @@ class AerisPasswordComponent {
264
641
  (click)="toggleVisibility()"
265
642
  >
266
643
  @if (visible()) {
267
- <svg aria-hidden="true" viewBox="0 0 24 24">
268
- <path d="M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" />
269
- <circle cx="12" cy="12" r="2.75" />
270
- </svg>
644
+ @if (visibleIconTemplate(); as customIcon) {
645
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
646
+ ><ng-container [ngTemplateOutlet]="customIcon"
647
+ /></span>
648
+ } @else {
649
+ <span
650
+ aerisInternalIcon="eye"
651
+ class="aeris-password__visibility-mark"
652
+ data-visible="true"
653
+ aria-hidden="true"
654
+ ></span>
655
+ }
271
656
  } @else {
272
- <svg aria-hidden="true" viewBox="0 0 24 24">
273
- <path d="M9.4 6.4A10.6 10.6 0 0 1 12 6c6 0 9.5 6 9.5 6a15 15 0 0 1-2.8 3.4" />
274
- <path d="M14.6 17.6a10.6 10.6 0 0 1-2.6.4c-6 0-9.5-6-9.5-6a15 15 0 0 1 2.8-3.4" />
275
- <path d="M10.1 10.1a2.7 2.7 0 0 0 3.8 3.8" />
276
- <path d="M4 4l16 16" />
277
- </svg>
657
+ @if (maskedIconTemplate(); as customIcon) {
658
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
659
+ ><ng-container [ngTemplateOutlet]="customIcon"
660
+ /></span>
661
+ } @else {
662
+ <span
663
+ aerisInternalIcon="eyeOff"
664
+ class="aeris-password__visibility-mark"
665
+ data-visible="false"
666
+ aria-hidden="true"
667
+ ></span>
668
+ }
278
669
  }
279
670
  </button>
280
671
  }
@@ -283,7 +674,12 @@ class AerisPasswordComponent {
283
674
 
284
675
  @if (feedbackVisible()) {
285
676
  <span
677
+ #feedbackPanel
286
678
  class="aeris-password__feedback"
679
+ [aerisInternalAppendTo]="appendTo()"
680
+ [aerisInternalAppendToAnchor]="passwordInput"
681
+ [aerisInternalAppendToMatchWidth]="true"
682
+ [aerisInternalAppendToCollisionPadding]="viewportMargin()"
287
683
  [id]="feedbackId"
288
684
  >
289
685
  @if (headerTemplate(); as header) {
@@ -298,7 +694,7 @@ class AerisPasswordComponent {
298
694
  [ngTemplateOutletContext]="{
299
695
  $implicit: strengthResult(),
300
696
  result: strengthResult(),
301
- value: value()
697
+ value: value(),
302
698
  }"
303
699
  />
304
700
  } @else {
@@ -310,7 +706,8 @@ class AerisPasswordComponent {
310
706
  class="aeris-password__meter"
311
707
  [attr.data-strength]="strengthResult().strength"
312
708
  aria-hidden="true"
313
- ><span></span><span></span><span></span></span>
709
+ ><span></span><span></span><span></span
710
+ ></span>
314
711
 
315
712
  @if (showRequirements()) {
316
713
  <span class="aeris-password__requirements">
@@ -331,16 +728,67 @@ class AerisPasswordComponent {
331
728
  </span>
332
729
  }
333
730
  </span>
334
- `, isInline: true, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border-strong, #c7c9c0);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #536437)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #536437);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #536437) 20%,transparent)}.aeris-password[data-invalid] input{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-danger, #c81e2a) 18%,transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f2f0ec)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.75rem;height:1.75rem;display:grid;place-items:center;padding:0;border:0;border-radius:.375rem;background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-password__action:hover{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__visibility svg{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;vector-effect:non-scaling-stroke}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-md, .6875rem);background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29;font-size:.8125rem}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #555555);line-height:1.5}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:.8125rem}.aeris-password__strength-row>span{color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:99px;background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border-strong, #c7c9c0);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}.aeris-password__requirements>span[data-met] i:after{position:absolute;top:.2rem;left:.2rem;width:.35rem;height:.2rem;border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;content:\"\";transform:rotate(-45deg)}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
335
- }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPasswordComponent, decorators: [{
337
- type: Component,
338
- args: [{ selector: 'aeris-password', imports: [NgTemplateOutlet], template: `
731
+ `,
732
+ isInline: true,
733
+ styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: var(--aeris-font-size-lg, .875rem);position:relative;display:block;width:100%;color:var(--aeris-text, #111111);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: var(--aeris-font-size-sm, .75rem)}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: var(--aeris-font-size-md, .8125rem)}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: var(--aeris-font-size-xl, .9375rem)}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease)}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f3f3f3)}@media(hover:hover){.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-control-hover-border, var(--aeris-primary, #111111))}}.aeris-password input:focus-visible{border-color:var(--aeris-control-focus-border, var(--aeris-focus, #111111));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-control-invalid-border, var(--aeris-danger, #c81e2a))}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid:focus-visible{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f3f3f3)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.5rem;height:1.5rem;display:grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #454545);cursor:pointer}.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-password__action:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-password__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:var(--aeris-overlay-shadow, var(--aeris-shadow-lg, 0 18px 48px rgba(0, 0, 0, .18)));font-size:var(--aeris-font-size-md, .8125rem)}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #454545);line-height:var(--aeris-line-height-normal, 1.5)}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:var(--aeris-font-size-md, .8125rem)}.aeris-password__strength-row>span{color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-sm, .75rem)}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-sm, .75rem)}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border, #efefef);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border:0;background:currentColor;-webkit-mask:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}.aeris-password__visibility-mark{display:block;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-eye-off) center/100% 100% no-repeat;mask:var(--aeris-icon-eye-off) center/100% 100% no-repeat}.aeris-password__visibility-mark[data-visible=true]{-webkit-mask-image:var(--aeris-icon-eye);mask-image:var(--aeris-icon-eye)}\n"],
734
+ dependencies: [
735
+ {
736
+ kind: "component",
737
+ type: ɵAerisIcon,
738
+ selector: "span[aerisInternalIcon]",
739
+ inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
740
+ },
741
+ {
742
+ kind: "directive",
743
+ type: NgTemplateOutlet,
744
+ selector: "[ngTemplateOutlet]",
745
+ inputs: [
746
+ "ngTemplateOutletContext",
747
+ "ngTemplateOutlet",
748
+ "ngTemplateOutletInjector"
749
+ ]
750
+ },
751
+ {
752
+ kind: "directive",
753
+ type: ɵAerisAppendTo,
754
+ selector: "[aerisInternalAppendTo]",
755
+ inputs: [
756
+ "aerisInternalAppendTo",
757
+ "aerisInternalAppendToDefault",
758
+ "aerisInternalAppendToAnchor",
759
+ "aerisInternalAppendToOffset",
760
+ "aerisInternalAppendToMatchWidth",
761
+ "aerisInternalAppendToPlacement",
762
+ "aerisInternalAppendToAlignment",
763
+ "aerisInternalAppendToCollisionPadding",
764
+ "aerisInternalAppendToPositionSelf",
765
+ "aerisInternalAppendToDismiss"
766
+ ],
767
+ outputs: ["aerisInternalAppendToOutside"]
768
+ }
769
+ ]
770
+ });
771
+ };
772
+ i0.ɵɵngDeclareClassMetadata({
773
+ minVersion: "12.0.0",
774
+ version: "22.2.3",
775
+ ngImport: i0,
776
+ type: AerisPasswordComponent,
777
+ decorators: [{
778
+ type: Component,
779
+ args: [{
780
+ selector: "aeris-password",
781
+ imports: [
782
+ ɵAerisIcon,
783
+ NgTemplateOutlet,
784
+ ɵAerisAppendTo
785
+ ],
786
+ template: `
339
787
  <span
340
788
  class="aeris-password"
341
789
  [attr.data-size]="size()"
342
790
  [attr.data-appearance]="appearance()"
343
- [attr.data-invalid]="invalid() || null"
791
+ [attr.data-invalid]="displayInvalid() || null"
344
792
  [attr.data-disabled]="effectiveDisabled() || null"
345
793
  [attr.data-readonly]="readonly() || null"
346
794
  [attr.data-fluid]="fluid() || null"
@@ -356,14 +804,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
356
804
  [placeholder]="placeholder()"
357
805
  [autocomplete]="autocomplete()"
358
806
  [minLength]="minLength()"
359
- [maxLength]="maxLength() ?? null"
807
+ [attr.maxlength]="maxLength() ?? null"
360
808
  [disabled]="effectiveDisabled()"
361
809
  [readOnly]="readonly()"
362
810
  [required]="required()"
363
811
  [attr.aria-label]="ariaLabel() || null"
364
- [attr.aria-labelledby]="ariaLabelledby() || null"
812
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
365
813
  [attr.aria-describedby]="resolvedAriaDescribedby()"
366
- [attr.aria-invalid]="invalid() || null"
814
+ [attr.aria-invalid]="displayInvalid() || null"
367
815
  (input)="handleInput($event)"
368
816
  (focus)="handleFocus($event)"
369
817
  (blur)="handleInputBlur($event)"
@@ -376,7 +824,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
376
824
  class="aeris-password__action aeris-password__clear"
377
825
  [attr.aria-label]="clearButtonAriaLabel()"
378
826
  (click)="clear()"
379
- ><span aria-hidden="true"></span></button>
827
+ >
828
+ @if (clearIconTemplate(); as customIcon) {
829
+ <span aria-hidden="true" data-aeris-custom-icon
830
+ ><ng-container [ngTemplateOutlet]="customIcon"
831
+ /></span>
832
+ } @else {
833
+ <span aerisInternalIcon="close" aria-hidden="true"></span>
834
+ }
835
+ </button>
380
836
  }
381
837
  @if (toggleMask()) {
382
838
  <button
@@ -387,17 +843,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
387
843
  (click)="toggleVisibility()"
388
844
  >
389
845
  @if (visible()) {
390
- <svg aria-hidden="true" viewBox="0 0 24 24">
391
- <path d="M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" />
392
- <circle cx="12" cy="12" r="2.75" />
393
- </svg>
846
+ @if (visibleIconTemplate(); as customIcon) {
847
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
848
+ ><ng-container [ngTemplateOutlet]="customIcon"
849
+ /></span>
850
+ } @else {
851
+ <span
852
+ aerisInternalIcon="eye"
853
+ class="aeris-password__visibility-mark"
854
+ data-visible="true"
855
+ aria-hidden="true"
856
+ ></span>
857
+ }
394
858
  } @else {
395
- <svg aria-hidden="true" viewBox="0 0 24 24">
396
- <path d="M9.4 6.4A10.6 10.6 0 0 1 12 6c6 0 9.5 6 9.5 6a15 15 0 0 1-2.8 3.4" />
397
- <path d="M14.6 17.6a10.6 10.6 0 0 1-2.6.4c-6 0-9.5-6-9.5-6a15 15 0 0 1 2.8-3.4" />
398
- <path d="M10.1 10.1a2.7 2.7 0 0 0 3.8 3.8" />
399
- <path d="M4 4l16 16" />
400
- </svg>
859
+ @if (maskedIconTemplate(); as customIcon) {
860
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
861
+ ><ng-container [ngTemplateOutlet]="customIcon"
862
+ /></span>
863
+ } @else {
864
+ <span
865
+ aerisInternalIcon="eyeOff"
866
+ class="aeris-password__visibility-mark"
867
+ data-visible="false"
868
+ aria-hidden="true"
869
+ ></span>
870
+ }
401
871
  }
402
872
  </button>
403
873
  }
@@ -406,7 +876,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
406
876
 
407
877
  @if (feedbackVisible()) {
408
878
  <span
879
+ #feedbackPanel
409
880
  class="aeris-password__feedback"
881
+ [aerisInternalAppendTo]="appendTo()"
882
+ [aerisInternalAppendToAnchor]="passwordInput"
883
+ [aerisInternalAppendToMatchWidth]="true"
884
+ [aerisInternalAppendToCollisionPadding]="viewportMargin()"
410
885
  [id]="feedbackId"
411
886
  >
412
887
  @if (headerTemplate(); as header) {
@@ -421,7 +896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
421
896
  [ngTemplateOutletContext]="{
422
897
  $implicit: strengthResult(),
423
898
  result: strengthResult(),
424
- value: value()
899
+ value: value(),
425
900
  }"
426
901
  />
427
902
  } @else {
@@ -433,7 +908,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
433
908
  class="aeris-password__meter"
434
909
  [attr.data-strength]="strengthResult().strength"
435
910
  aria-hidden="true"
436
- ><span></span><span></span><span></span></span>
911
+ ><span></span><span></span><span></span
912
+ ></span>
437
913
 
438
914
  @if (showRequirements()) {
439
915
  <span class="aeris-password__requirements">
@@ -454,26 +930,327 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
454
930
  </span>
455
931
  }
456
932
  </span>
457
- `, providers: [
458
- {
459
- provide: NG_VALUE_ACCESSOR,
460
- useExisting: forwardRef(() => AerisPasswordComponent),
461
- multi: true,
462
- },
463
- ], host: {
464
- '[attr.data-fluid]': 'fluid() || null',
465
- }, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border-strong, #c7c9c0);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #536437)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #536437);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #536437) 20%,transparent)}.aeris-password[data-invalid] input{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-danger, #c81e2a) 18%,transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f2f0ec)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.75rem;height:1.75rem;display:grid;place-items:center;padding:0;border:0;border-radius:.375rem;background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-password__action:hover{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__visibility svg{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;vector-effect:non-scaling-stroke}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-md, .6875rem);background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29;font-size:.8125rem}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #555555);line-height:1.5}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:.8125rem}.aeris-password__strength-row>span{color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:99px;background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border-strong, #c7c9c0);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}.aeris-password__requirements>span[data-met] i:after{position:absolute;top:.2rem;left:.2rem;width:.35rem;height:.2rem;border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;content:\"\";transform:rotate(-45deg)}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}\n"] }]
466
- }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['passwordInput', { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], ariaDescribedby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedby", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], toggleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleMask", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], showRequirements: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRequirements", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], clearButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearButtonAriaLabel", required: false }] }], showPasswordAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPasswordAriaLabel", required: false }] }], hidePasswordAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidePasswordAriaLabel", required: false }] }], strengthEvaluator: [{ type: i0.Input, args: [{ isSignal: true, alias: "strengthEvaluator", required: false }] }], valueInput: [{ type: i0.Output, args: ["valueInput"] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }], touch: [{ type: i0.Output, args: ["touch"] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordHeaderTemplate), { isSignal: true }] }], feedbackTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordFeedbackTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordFooterTemplate), { isSignal: true }] }] } });
933
+ `,
934
+ providers: [{
935
+ provide: NG_VALUE_ACCESSOR,
936
+ useExisting: forwardRef(() => AerisPasswordComponent),
937
+ multi: true
938
+ }],
939
+ host: { "[attr.data-fluid]": "fluid() || null" },
940
+ styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: var(--aeris-font-size-lg, .875rem);position:relative;display:block;width:100%;color:var(--aeris-text, #111111);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: var(--aeris-font-size-sm, .75rem)}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: var(--aeris-font-size-md, .8125rem)}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: var(--aeris-font-size-xl, .9375rem)}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-fast, .1s) var(--aeris-ease-standard, ease)}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f3f3f3)}@media(hover:hover){.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-control-hover-border, var(--aeris-primary, #111111))}}.aeris-password input:focus-visible{border-color:var(--aeris-control-focus-border, var(--aeris-focus, #111111));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-control-invalid-border, var(--aeris-danger, #c81e2a))}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid:focus-visible{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f3f3f3)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.5rem;height:1.5rem;display:grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #454545);cursor:pointer}.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-password__action:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-password__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:var(--aeris-overlay-shadow, var(--aeris-shadow-lg, 0 18px 48px rgba(0, 0, 0, .18)));font-size:var(--aeris-font-size-md, .8125rem)}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #454545);line-height:var(--aeris-line-height-normal, 1.5)}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:var(--aeris-font-size-md, .8125rem)}.aeris-password__strength-row>span{color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-sm, .75rem)}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-sm, .75rem)}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border, #efefef);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border:0;background:currentColor;-webkit-mask:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}.aeris-password__visibility-mark{display:block;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-eye-off) center/100% 100% no-repeat;mask:var(--aeris-icon-eye-off) center/100% 100% no-repeat}.aeris-password__visibility-mark[data-visible=true]{-webkit-mask-image:var(--aeris-icon-eye);mask-image:var(--aeris-icon-eye)}\n"]
941
+ }]
942
+ }],
943
+ propDecorators: {
944
+ visibleIconTemplate: [{
945
+ type: i0.Input,
946
+ args: [{
947
+ isSignal: true,
948
+ alias: "visibleIconTemplate",
949
+ required: false
950
+ }]
951
+ }],
952
+ maskedIconTemplate: [{
953
+ type: i0.Input,
954
+ args: [{
955
+ isSignal: true,
956
+ alias: "maskedIconTemplate",
957
+ required: false
958
+ }]
959
+ }],
960
+ clearIconTemplate: [{
961
+ type: i0.Input,
962
+ args: [{
963
+ isSignal: true,
964
+ alias: "clearIconTemplate",
965
+ required: false
966
+ }]
967
+ }],
968
+ inputElement: [{
969
+ type: i0.ViewChild,
970
+ args: ["passwordInput", { isSignal: true }]
971
+ }],
972
+ feedbackPanel: [{
973
+ type: i0.ViewChild,
974
+ args: ["feedbackPanel", { isSignal: true }]
975
+ }],
976
+ feedbackPortal: [{
977
+ type: i0.ViewChild,
978
+ args: [i0.forwardRef(() => ɵAerisAppendTo), { isSignal: true }]
979
+ }],
980
+ value: [{
981
+ type: i0.Input,
982
+ args: [{
983
+ isSignal: true,
984
+ alias: "value",
985
+ required: false
986
+ }]
987
+ }, {
988
+ type: i0.Output,
989
+ args: ["valueChange"]
990
+ }],
991
+ visible: [{
992
+ type: i0.Input,
993
+ args: [{
994
+ isSignal: true,
995
+ alias: "visible",
996
+ required: false
997
+ }]
998
+ }, {
999
+ type: i0.Output,
1000
+ args: ["visibleChange"]
1001
+ }],
1002
+ appendTo: [{
1003
+ type: i0.Input,
1004
+ args: [{
1005
+ isSignal: true,
1006
+ alias: "appendTo",
1007
+ required: false
1008
+ }]
1009
+ }],
1010
+ viewportMargin: [{
1011
+ type: i0.Input,
1012
+ args: [{
1013
+ isSignal: true,
1014
+ alias: "viewportMargin",
1015
+ required: false
1016
+ }]
1017
+ }],
1018
+ inputId: [{
1019
+ type: i0.Input,
1020
+ args: [{
1021
+ isSignal: true,
1022
+ alias: "inputId",
1023
+ required: false
1024
+ }]
1025
+ }],
1026
+ name: [{
1027
+ type: i0.Input,
1028
+ args: [{
1029
+ isSignal: true,
1030
+ alias: "name",
1031
+ required: false
1032
+ }]
1033
+ }],
1034
+ placeholder: [{
1035
+ type: i0.Input,
1036
+ args: [{
1037
+ isSignal: true,
1038
+ alias: "placeholder",
1039
+ required: false
1040
+ }]
1041
+ }],
1042
+ autocomplete: [{
1043
+ type: i0.Input,
1044
+ args: [{
1045
+ isSignal: true,
1046
+ alias: "autocomplete",
1047
+ required: false
1048
+ }]
1049
+ }],
1050
+ ariaLabel: [{
1051
+ type: i0.Input,
1052
+ args: [{
1053
+ isSignal: true,
1054
+ alias: "ariaLabel",
1055
+ required: false
1056
+ }]
1057
+ }],
1058
+ ariaLabelledBy: [{
1059
+ type: i0.Input,
1060
+ args: [{
1061
+ isSignal: true,
1062
+ alias: "ariaLabelledBy",
1063
+ required: false
1064
+ }]
1065
+ }],
1066
+ ariaDescribedBy: [{
1067
+ type: i0.Input,
1068
+ args: [{
1069
+ isSignal: true,
1070
+ alias: "ariaDescribedBy",
1071
+ required: false
1072
+ }]
1073
+ }],
1074
+ size: [{
1075
+ type: i0.Input,
1076
+ args: [{
1077
+ isSignal: true,
1078
+ alias: "size",
1079
+ required: false
1080
+ }]
1081
+ }],
1082
+ appearance: [{
1083
+ type: i0.Input,
1084
+ args: [{
1085
+ isSignal: true,
1086
+ alias: "appearance",
1087
+ required: false
1088
+ }]
1089
+ }],
1090
+ minLength: [{
1091
+ type: i0.Input,
1092
+ args: [{
1093
+ isSignal: true,
1094
+ alias: "minLength",
1095
+ required: false
1096
+ }]
1097
+ }],
1098
+ maxLength: [{
1099
+ type: i0.Input,
1100
+ args: [{
1101
+ isSignal: true,
1102
+ alias: "maxLength",
1103
+ required: false
1104
+ }]
1105
+ }],
1106
+ disabled: [{
1107
+ type: i0.Input,
1108
+ args: [{
1109
+ isSignal: true,
1110
+ alias: "disabled",
1111
+ required: false
1112
+ }]
1113
+ }],
1114
+ readonly: [{
1115
+ type: i0.Input,
1116
+ args: [{
1117
+ isSignal: true,
1118
+ alias: "readonly",
1119
+ required: false
1120
+ }]
1121
+ }],
1122
+ required: [{
1123
+ type: i0.Input,
1124
+ args: [{
1125
+ isSignal: true,
1126
+ alias: "required",
1127
+ required: false
1128
+ }]
1129
+ }],
1130
+ invalid: [{
1131
+ type: i0.Input,
1132
+ args: [{
1133
+ isSignal: true,
1134
+ alias: "invalid",
1135
+ required: false
1136
+ }]
1137
+ }],
1138
+ touched: [{
1139
+ type: i0.Input,
1140
+ args: [{
1141
+ isSignal: true,
1142
+ alias: "touched",
1143
+ required: false
1144
+ }]
1145
+ }],
1146
+ fluid: [{
1147
+ type: i0.Input,
1148
+ args: [{
1149
+ isSignal: true,
1150
+ alias: "fluid",
1151
+ required: false
1152
+ }]
1153
+ }],
1154
+ toggleMask: [{
1155
+ type: i0.Input,
1156
+ args: [{
1157
+ isSignal: true,
1158
+ alias: "toggleMask",
1159
+ required: false
1160
+ }]
1161
+ }],
1162
+ feedback: [{
1163
+ type: i0.Input,
1164
+ args: [{
1165
+ isSignal: true,
1166
+ alias: "feedback",
1167
+ required: false
1168
+ }]
1169
+ }],
1170
+ showRequirements: [{
1171
+ type: i0.Input,
1172
+ args: [{
1173
+ isSignal: true,
1174
+ alias: "showRequirements",
1175
+ required: false
1176
+ }]
1177
+ }],
1178
+ clearable: [{
1179
+ type: i0.Input,
1180
+ args: [{
1181
+ isSignal: true,
1182
+ alias: "clearable",
1183
+ required: false
1184
+ }]
1185
+ }],
1186
+ clearButtonAriaLabel: [{
1187
+ type: i0.Input,
1188
+ args: [{
1189
+ isSignal: true,
1190
+ alias: "clearButtonAriaLabel",
1191
+ required: false
1192
+ }]
1193
+ }],
1194
+ showPasswordAriaLabel: [{
1195
+ type: i0.Input,
1196
+ args: [{
1197
+ isSignal: true,
1198
+ alias: "showPasswordAriaLabel",
1199
+ required: false
1200
+ }]
1201
+ }],
1202
+ hidePasswordAriaLabel: [{
1203
+ type: i0.Input,
1204
+ args: [{
1205
+ isSignal: true,
1206
+ alias: "hidePasswordAriaLabel",
1207
+ required: false
1208
+ }]
1209
+ }],
1210
+ strengthEvaluator: [{
1211
+ type: i0.Input,
1212
+ args: [{
1213
+ isSignal: true,
1214
+ alias: "strengthEvaluator",
1215
+ required: false
1216
+ }]
1217
+ }],
1218
+ visibilityChanged: [{
1219
+ type: i0.Output,
1220
+ args: ["visibilityChanged"]
1221
+ }],
1222
+ focused: [{
1223
+ type: i0.Output,
1224
+ args: ["focused"]
1225
+ }],
1226
+ blurred: [{
1227
+ type: i0.Output,
1228
+ args: ["blurred"]
1229
+ }],
1230
+ touch: [{
1231
+ type: i0.Output,
1232
+ args: ["touch"]
1233
+ }],
1234
+ headerTemplate: [{
1235
+ type: i0.ContentChild,
1236
+ args: [i0.forwardRef(() => AerisPasswordHeaderTemplate), { isSignal: true }]
1237
+ }],
1238
+ feedbackTemplate: [{
1239
+ type: i0.ContentChild,
1240
+ args: [i0.forwardRef(() => AerisPasswordFeedbackTemplate), { isSignal: true }]
1241
+ }],
1242
+ footerTemplate: [{
1243
+ type: i0.ContentChild,
1244
+ args: [i0.forwardRef(() => AerisPasswordFooterTemplate), { isSignal: true }]
1245
+ }]
1246
+ }
1247
+ });
467
1248
  const AerisPassword = [
468
- AerisPasswordComponent,
469
- AerisPasswordHeaderTemplate,
470
- AerisPasswordFeedbackTemplate,
471
- AerisPasswordFooterTemplate,
1249
+ AerisPasswordComponent,
1250
+ AerisPasswordHeaderTemplate,
1251
+ AerisPasswordFeedbackTemplate,
1252
+ AerisPasswordFooterTemplate
472
1253
  ];
473
-
474
- /**
475
- * Generated bundle index. Do not edit.
476
- */
477
-
478
1254
  export { AerisPassword, AerisPasswordComponent, AerisPasswordFeedbackTemplate, AerisPasswordFooterTemplate, AerisPasswordHeaderTemplate, evaluateAerisPassword };
479
- //# sourceMappingURL=aeris-ui-core-password.mjs.map
1255
+
1256
+ //# sourceMappingURL=aeris-ui-core-password.mjs.map