@aeris-ui/core 22.0.0-alpha.6 → 22.0.0-alpha.7

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 (183) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/aeris-ui-core-accordion.mjs +12 -12
  3. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  4. package/fesm2022/aeris-ui-core-auto-complete.mjs +47 -40
  5. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  6. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  7. package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
  8. package/fesm2022/aeris-ui-core-badge.mjs +6 -6
  9. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  10. package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
  11. package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
  12. package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
  13. package/fesm2022/aeris-ui-core-button.mjs +38 -56
  14. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  16. package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
  17. package/fesm2022/aeris-ui-core-cascade-select.mjs +39 -30
  18. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-chart.mjs +3 -3
  20. package/fesm2022/aeris-ui-core-checkbox.mjs +22 -19
  21. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  22. package/fesm2022/aeris-ui-core-chip.mjs +9 -9
  23. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  24. package/fesm2022/aeris-ui-core-color-picker.mjs +28 -26
  25. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-compare.mjs +21 -25
  27. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +45 -43
  29. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  30. package/fesm2022/aeris-ui-core-confirm-popup.mjs +43 -39
  31. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  32. package/fesm2022/aeris-ui-core-context-menu.mjs +14 -17
  33. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  34. package/fesm2022/aeris-ui-core-date-picker.mjs +24 -22
  35. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  36. package/fesm2022/aeris-ui-core-dialog.mjs +32 -29
  37. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  38. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  39. package/fesm2022/aeris-ui-core-drawer.mjs +27 -28
  40. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  41. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +23 -23
  42. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-editor.mjs +22 -19
  44. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  45. package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
  46. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  47. package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
  48. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  49. package/fesm2022/aeris-ui-core-form-field.mjs +31 -26
  50. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-galleria.mjs +30 -30
  52. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  54. package/fesm2022/aeris-ui-core-icon-field.mjs +22 -17
  55. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  56. package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
  57. package/fesm2022/aeris-ui-core-input-group.mjs +25 -20
  58. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  59. package/fesm2022/aeris-ui-core-input-mask.mjs +25 -24
  60. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-input-number.mjs +41 -29
  62. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  63. package/fesm2022/aeris-ui-core-input-otp.mjs +28 -28
  64. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-input-text.mjs +32 -31
  66. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  67. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  68. package/fesm2022/aeris-ui-core-mega-menu.mjs +6 -6
  69. package/fesm2022/aeris-ui-core-menu.mjs +23 -26
  70. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  71. package/fesm2022/aeris-ui-core-menubar.mjs +15 -15
  72. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-message.mjs +12 -12
  74. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
  76. package/fesm2022/aeris-ui-core-multi-select.mjs +45 -39
  77. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  78. package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
  79. package/fesm2022/aeris-ui-core-organization-chart.mjs +9 -9
  80. package/fesm2022/aeris-ui-core-paginator.mjs +4 -4
  81. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  82. package/fesm2022/aeris-ui-core-panel.mjs +15 -15
  83. package/fesm2022/aeris-ui-core-password.mjs +52 -46
  84. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
  86. package/fesm2022/aeris-ui-core-popover.mjs +27 -28
  87. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  88. package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
  89. package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
  90. package/fesm2022/aeris-ui-core-radio-button.mjs +22 -19
  91. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  92. package/fesm2022/aeris-ui-core-rating.mjs +12 -14
  93. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  94. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  95. package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
  96. package/fesm2022/aeris-ui-core-select.mjs +75 -67
  97. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  98. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  99. package/fesm2022/aeris-ui-core-slider.mjs +42 -52
  100. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  101. package/fesm2022/aeris-ui-core-speed-dial.mjs +46 -22
  102. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-split-button.mjs +38 -37
  104. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
  106. package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
  107. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  108. package/fesm2022/aeris-ui-core-table.mjs +28 -22
  109. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  110. package/fesm2022/aeris-ui-core-tabs.mjs +12 -12
  111. package/fesm2022/aeris-ui-core-textarea.mjs +37 -35
  112. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-theme-builder.mjs +1 -1
  114. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  115. package/fesm2022/aeris-ui-core-theming.mjs +4 -4
  116. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-tiered-menu.mjs +14 -17
  118. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
  120. package/fesm2022/aeris-ui-core-toast.mjs +26 -15
  121. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  122. package/fesm2022/aeris-ui-core-toggle-switch.mjs +22 -19
  123. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  124. package/fesm2022/aeris-ui-core-toolbar.mjs +18 -18
  125. package/fesm2022/aeris-ui-core-tooltip.mjs +13 -19
  126. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  127. package/fesm2022/aeris-ui-core-tree-select.mjs +45 -39
  128. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  129. package/fesm2022/aeris-ui-core-tree-table.mjs +25 -19
  130. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  131. package/fesm2022/aeris-ui-core-tree.mjs +14 -14
  132. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  133. package/fesm2022/aeris-ui-core.mjs +49 -15
  134. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  135. package/package.json +1 -1
  136. package/schematics/runtime/theme-builder/aeris-theme.js +1 -1
  137. package/types/aeris-ui-core-auto-complete.d.ts +6 -4
  138. package/types/aeris-ui-core-badge.d.ts +4 -3
  139. package/types/aeris-ui-core-button.d.ts +13 -16
  140. package/types/aeris-ui-core-cascade-select.d.ts +6 -3
  141. package/types/aeris-ui-core-checkbox.d.ts +5 -4
  142. package/types/aeris-ui-core-color-picker.d.ts +5 -4
  143. package/types/aeris-ui-core-compare.d.ts +3 -4
  144. package/types/aeris-ui-core-confirm-dialog.d.ts +13 -13
  145. package/types/aeris-ui-core-confirm-popup.d.ts +13 -13
  146. package/types/aeris-ui-core-context-menu.d.ts +4 -5
  147. package/types/aeris-ui-core-date-picker.d.ts +5 -4
  148. package/types/aeris-ui-core-dialog.d.ts +4 -5
  149. package/types/aeris-ui-core-drawer.d.ts +4 -5
  150. package/types/aeris-ui-core-dynamic-dialog.d.ts +9 -9
  151. package/types/aeris-ui-core-editor.d.ts +5 -4
  152. package/types/aeris-ui-core-filter-service.d.ts +1 -1
  153. package/types/aeris-ui-core-form-field.d.ts +6 -4
  154. package/types/aeris-ui-core-galleria.d.ts +2 -2
  155. package/types/aeris-ui-core-icon-field.d.ts +3 -1
  156. package/types/aeris-ui-core-input-group.d.ts +22 -20
  157. package/types/aeris-ui-core-input-mask.d.ts +5 -4
  158. package/types/aeris-ui-core-input-number.d.ts +5 -4
  159. package/types/aeris-ui-core-input-otp.d.ts +5 -4
  160. package/types/aeris-ui-core-input-text.d.ts +7 -5
  161. package/types/aeris-ui-core-menu.d.ts +4 -5
  162. package/types/aeris-ui-core-menubar.d.ts +5 -4
  163. package/types/aeris-ui-core-message.d.ts +3 -2
  164. package/types/aeris-ui-core-multi-select.d.ts +6 -4
  165. package/types/aeris-ui-core-password.d.ts +5 -4
  166. package/types/aeris-ui-core-popover.d.ts +4 -5
  167. package/types/aeris-ui-core-radio-button.d.ts +5 -4
  168. package/types/aeris-ui-core-rating.d.ts +3 -4
  169. package/types/aeris-ui-core-select.d.ts +6 -4
  170. package/types/aeris-ui-core-slider.d.ts +5 -4
  171. package/types/aeris-ui-core-speed-dial.d.ts +4 -4
  172. package/types/aeris-ui-core-split-button.d.ts +10 -12
  173. package/types/aeris-ui-core-table.d.ts +3 -1
  174. package/types/aeris-ui-core-textarea.d.ts +8 -5
  175. package/types/aeris-ui-core-theme-builder.d.ts +1 -1
  176. package/types/aeris-ui-core-theming.d.ts +1 -1
  177. package/types/aeris-ui-core-tiered-menu.d.ts +4 -5
  178. package/types/aeris-ui-core-toast.d.ts +4 -2
  179. package/types/aeris-ui-core-toggle-switch.d.ts +5 -4
  180. package/types/aeris-ui-core-tooltip.d.ts +3 -3
  181. package/types/aeris-ui-core-tree-select.d.ts +6 -4
  182. package/types/aeris-ui-core-tree-table.d.ts +3 -1
  183. package/types/aeris-ui-core.d.ts +16 -4
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-paginator.mjs","sources":["../../../projects/aeris-ui/paginator/aeris-paginator.ts","../../../projects/aeris-ui/paginator/aeris-ui-core-paginator.ts"],"sourcesContent":["import { Component, ElementRef, computed, input, model, output, signal, viewChild } from '@angular/core';\nimport { ɵAerisAppendTo, type AerisAppendTo, type AerisOverlayCollisionPadding } from '@aeris-ui/core';\n\nexport interface AerisPaginatorPageEvent {\n readonly first: number;\n readonly rows: number;\n readonly page: number;\n readonly pageCount: number;\n}\n\n@Component({\n selector: 'aeris-paginator',\n imports: [ɵAerisAppendTo],\n template: `\n <nav class=\"aeris-paginator\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"aeris-paginator__report\" aria-live=\"polite\">{{ pageReport() }}</span>\n\n <div class=\"aeris-paginator__pages\">\n <button type=\"button\" aria-label=\"First page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(0)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--first\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Previous page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(currentPage() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--previous\" aria-hidden=\"true\"></span>\n </button>\n\n @for (page of visiblePages(); track page) {\n <button\n #rowsTrigger\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (page + 1)\"\n [attr.aria-current]=\"page === currentPage() ? 'page' : null\"\n (click)=\"goToPage(page)\"\n >\n {{ page + 1 }}\n </button>\n }\n\n <button type=\"button\" aria-label=\"Next page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(currentPage() + 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--next\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Last page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(pageCount() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--last\" aria-hidden=\"true\"></span>\n </button>\n </div>\n\n @if (rowsPerPageOptions().length) {\n <div class=\"aeris-paginator__rows\" (focusout)=\"handleRowsFocusOut($event)\">\n <span [id]=\"rowsLabelId\">{{ rowsPerPageLabel() }}</span>\n <button\n class=\"aeris-paginator__rows-trigger\"\n type=\"button\"\n aria-haspopup=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId + ' ' + rowsValueId\"\n [attr.aria-expanded]=\"rowsPanelOpen()\"\n [attr.aria-controls]=\"rowsListboxId\"\n (click)=\"toggleRowsPanel()\"\n (keydown)=\"handleRowsTriggerKeydown($event)\"\n >\n <span [id]=\"rowsValueId\">{{ rows() }}</span>\n <span class=\"aeris-paginator__chevron\" aria-hidden=\"true\"></span>\n </button>\n\n @if (rowsPanelOpen()) {\n <div\n #rowsPanel\n class=\"aeris-paginator__rows-panel\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToAnchor]=\"this.rowsTrigger()?.nativeElement ?? null\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n (aerisInternalAppendToOutside)=\"closeRowsPanel()\"\n [id]=\"rowsListboxId\"\n role=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId\"\n (keydown)=\"handleRowsPanelKeydown($event)\"\n >\n @for (option of rowsPerPageOptions(); track option) {\n <button\n type=\"button\"\n role=\"option\"\n [attr.aria-selected]=\"option === rows()\"\n (click)=\"selectRows(option)\"\n >\n <span>{{ option }}</span>\n @if (option === rows()) {\n <span class=\"aeris-paginator__check\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n }\n </div>\n }\n </nav>\n `,\n styleUrl: './aeris-paginator.scss',\n})\nexport class AerisPaginator {\n private static nextId = 0;\n readonly first = model(0);\n readonly rows = model(10);\n readonly totalRecords = input(0);\n readonly pageLinkSize = input(5);\n readonly rowsPerPageOptions = input<readonly number[]>([]);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly ariaLabel = input('Pagination');\n readonly rowsPerPageLabel = input('Rows per page');\n readonly page = output<AerisPaginatorPageEvent>();\n protected readonly rowsPanelOpen = signal(false);\n protected readonly rowsTrigger = viewChild<ElementRef<HTMLButtonElement>>('rowsTrigger');\n private readonly rowsPanel = viewChild<ElementRef<HTMLElement>>('rowsPanel');\n private readonly rowsPanelPortal = viewChild(ɵAerisAppendTo);\n protected readonly rowsLabelId = `aeris-paginator-rows-label-${AerisPaginator.nextId++}`;\n protected readonly rowsValueId = `${this.rowsLabelId}-value`;\n protected readonly rowsListboxId = `${this.rowsLabelId}-listbox`;\n\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / Math.max(1, this.rows()))),\n );\n protected readonly currentPage = computed(() =>\n Math.min(\n this.pageCount() - 1,\n Math.max(0, Math.floor(this.first() / Math.max(1, this.rows()))),\n ),\n );\n protected readonly visiblePages = computed(() => {\n const count = this.pageCount();\n const size = Math.max(1, this.pageLinkSize());\n const half = Math.floor(size / 2);\n const start = Math.min(\n Math.max(0, this.currentPage() - half),\n Math.max(0, count - size),\n );\n const end = Math.min(count, start + size);\n return Array.from({ length: end - start }, (_, index) => start + index);\n });\n protected readonly pageReport = computed(() => {\n const total = this.totalRecords();\n if (total === 0) return '0 of 0';\n const start = Math.min(this.first() + 1, total);\n const end = Math.min(this.first() + this.rows(), total);\n return `${start}-${end} of ${total}`;\n });\n\n protected goToPage(page: number): void {\n const safePage = Math.min(Math.max(page, 0), this.pageCount() - 1);\n this.first.set(safePage * this.rows());\n this.emitPage();\n }\n\n protected toggleRowsPanel(): void {\n if (this.rowsPanelOpen()) this.closeRowsPanel();\n else this.rowsPanelOpen.set(true);\n }\n\n protected selectRows(rows: number): void {\n this.rows.set(rows);\n this.first.set(0);\n this.closeRowsPanel();\n this.emitPage();\n }\n\n protected handleRowsTriggerKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape') {\n this.closeRowsPanel();\n return;\n }\n\n if (event.key === 'Enter' || event.key === ' ' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.rowsPanelOpen.set(true);\n }\n }\n\n protected handleRowsPanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape') return;\n event.preventDefault();\n this.closeRowsPanel();\n }\n\n protected handleRowsFocusOut(event: FocusEvent): void {\n const nextTarget = event.relatedTarget;\n if (\n nextTarget instanceof Node &&\n ((event.currentTarget as HTMLElement).contains(nextTarget) ||\n this.rowsPanel()?.nativeElement.contains(nextTarget))\n ) {\n return;\n }\n this.closeRowsPanel();\n }\n\n protected closeRowsPanel(): void {\n this.rowsPanelPortal()?.restore();\n this.rowsPanelOpen.set(false);\n }\n\n private emitPage(): void {\n this.page.emit({\n first: this.first(),\n rows: this.rows(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo"],"mappings":";;;;MAgGa,cAAc,CAAA;AACjB,IAAA,OAAO,MAAM,GAAG,CAAC;IAChB,KAAK,GAAG,KAAK,CAAC,CAAC;8EAAC;IAChB,IAAI,GAAG,KAAK,CAAC,EAAE;6EAAC;IAChB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,kBAAkB,GAAG,KAAK,CAAoB,EAAE;2FAAC;AACjD,IAAA,QAAQ,GAAG,KAAK;4FAAiB;IACjC,cAAc,GAAG,KAAK,CAAwC,CAAC;uFAAC;IAChE,SAAS,GAAG,KAAK,CAAC,YAAY;kFAAC;IAC/B,gBAAgB,GAAG,KAAK,CAAC,eAAe;yFAAC;IACzC,IAAI,GAAG,MAAM,EAA2B;IAC9B,aAAa,GAAG,MAAM,CAAC,KAAK;sFAAC;IAC7B,WAAW,GAAG,SAAS,CAAgC,aAAa;oFAAC;IACvE,SAAS,GAAG,SAAS,CAA0B,WAAW;kFAAC;IAC3D,eAAe,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AAA,EAAA,CAAA,ylMAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAjFSA,cAAc,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,uBAAA,EAAA,6BAAA,EAAA,6BAAA,EAAA,iCAAA,EAAA,gCAAA,EAAA,gCAAA,EAAA,uCAAA,EAAA,mCAAA,CAAA,EAAA,OAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAoFb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAtF1B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,OAAA,EAClB,CAACA,cAAc,CAAC,EAAA,QAAA,EACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,ylMAAA,CAAA,EAAA;imCAgByE,aAAa,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CACvB,WAAW,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC9BA,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC/G7D;;AAEG;;"}
1
+ {"version":3,"file":"aeris-ui-core-paginator.mjs","sources":["../../../projects/aeris-ui/paginator/aeris-paginator.ts","../../../projects/aeris-ui/paginator/aeris-ui-core-paginator.ts"],"sourcesContent":["import { Component, ElementRef, computed, input, model, output, signal, viewChild } from '@angular/core';\nimport { ɵAerisAppendTo, type AerisAppendTo, type AerisOverlayCollisionPadding } from '@aeris-ui/core';\n\nexport interface AerisPaginatorPageEvent {\n readonly first: number;\n readonly rows: number;\n readonly page: number;\n readonly pageCount: number;\n}\n\n@Component({\n selector: 'aeris-paginator',\n imports: [ɵAerisAppendTo],\n template: `\n <nav class=\"aeris-paginator\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"aeris-paginator__report\" aria-live=\"polite\">{{ pageReport() }}</span>\n\n <div class=\"aeris-paginator__pages\">\n <button type=\"button\" aria-label=\"First page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(0)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--first\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Previous page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(currentPage() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--previous\" aria-hidden=\"true\"></span>\n </button>\n\n @for (page of visiblePages(); track page) {\n <button\n #rowsTrigger\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (page + 1)\"\n [attr.aria-current]=\"page === currentPage() ? 'page' : null\"\n (click)=\"goToPage(page)\"\n >\n {{ page + 1 }}\n </button>\n }\n\n <button type=\"button\" aria-label=\"Next page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(currentPage() + 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--next\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Last page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(pageCount() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--last\" aria-hidden=\"true\"></span>\n </button>\n </div>\n\n @if (rowsPerPageOptions().length) {\n <div class=\"aeris-paginator__rows\" (focusout)=\"handleRowsFocusOut($event)\">\n <span [id]=\"rowsLabelId\">{{ rowsPerPageLabel() }}</span>\n <button\n class=\"aeris-paginator__rows-trigger\"\n type=\"button\"\n aria-haspopup=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId + ' ' + rowsValueId\"\n [attr.aria-expanded]=\"rowsPanelOpen()\"\n [attr.aria-controls]=\"rowsListboxId\"\n (click)=\"toggleRowsPanel()\"\n (keydown)=\"handleRowsTriggerKeydown($event)\"\n >\n <span [id]=\"rowsValueId\">{{ rows() }}</span>\n <span class=\"aeris-paginator__chevron\" aria-hidden=\"true\"></span>\n </button>\n\n @if (rowsPanelOpen()) {\n <div\n #rowsPanel\n class=\"aeris-paginator__rows-panel\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToAnchor]=\"this.rowsTrigger()?.nativeElement ?? null\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n (aerisInternalAppendToOutside)=\"closeRowsPanel()\"\n [id]=\"rowsListboxId\"\n role=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId\"\n (keydown)=\"handleRowsPanelKeydown($event)\"\n >\n @for (option of rowsPerPageOptions(); track option) {\n <button\n type=\"button\"\n role=\"option\"\n [attr.aria-selected]=\"option === rows()\"\n (click)=\"selectRows(option)\"\n >\n <span>{{ option }}</span>\n @if (option === rows()) {\n <span class=\"aeris-paginator__check\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n }\n </div>\n }\n </nav>\n `,\n styleUrl: './aeris-paginator.scss',\n})\nexport class AerisPaginator {\n private static nextId = 0;\n readonly first = model(0);\n readonly rows = model(10);\n readonly totalRecords = input(0);\n readonly pageLinkSize = input(5);\n readonly rowsPerPageOptions = input<readonly number[]>([]);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly ariaLabel = input('Pagination');\n readonly rowsPerPageLabel = input('Rows per page');\n readonly page = output<AerisPaginatorPageEvent>();\n protected readonly rowsPanelOpen = signal(false);\n protected readonly rowsTrigger = viewChild<ElementRef<HTMLButtonElement>>('rowsTrigger');\n private readonly rowsPanel = viewChild<ElementRef<HTMLElement>>('rowsPanel');\n private readonly rowsPanelPortal = viewChild(ɵAerisAppendTo);\n protected readonly rowsLabelId = `aeris-paginator-rows-label-${AerisPaginator.nextId++}`;\n protected readonly rowsValueId = `${this.rowsLabelId}-value`;\n protected readonly rowsListboxId = `${this.rowsLabelId}-listbox`;\n\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / Math.max(1, this.rows()))),\n );\n protected readonly currentPage = computed(() =>\n Math.min(\n this.pageCount() - 1,\n Math.max(0, Math.floor(this.first() / Math.max(1, this.rows()))),\n ),\n );\n protected readonly visiblePages = computed(() => {\n const count = this.pageCount();\n const size = Math.max(1, this.pageLinkSize());\n const half = Math.floor(size / 2);\n const start = Math.min(\n Math.max(0, this.currentPage() - half),\n Math.max(0, count - size),\n );\n const end = Math.min(count, start + size);\n return Array.from({ length: end - start }, (_, index) => start + index);\n });\n protected readonly pageReport = computed(() => {\n const total = this.totalRecords();\n if (total === 0) return '0 of 0';\n const start = Math.min(this.first() + 1, total);\n const end = Math.min(this.first() + this.rows(), total);\n return `${start}-${end} of ${total}`;\n });\n\n protected goToPage(page: number): void {\n const safePage = Math.min(Math.max(page, 0), this.pageCount() - 1);\n this.first.set(safePage * this.rows());\n this.emitPage();\n }\n\n protected toggleRowsPanel(): void {\n if (this.rowsPanelOpen()) this.closeRowsPanel();\n else this.rowsPanelOpen.set(true);\n }\n\n protected selectRows(rows: number): void {\n this.rows.set(rows);\n this.first.set(0);\n this.closeRowsPanel();\n this.emitPage();\n }\n\n protected handleRowsTriggerKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape') {\n this.closeRowsPanel();\n return;\n }\n\n if (event.key === 'Enter' || event.key === ' ' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.rowsPanelOpen.set(true);\n }\n }\n\n protected handleRowsPanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape') return;\n event.preventDefault();\n this.closeRowsPanel();\n }\n\n protected handleRowsFocusOut(event: FocusEvent): void {\n const nextTarget = event.relatedTarget;\n if (\n nextTarget instanceof Node &&\n ((event.currentTarget as HTMLElement).contains(nextTarget) ||\n this.rowsPanel()?.nativeElement.contains(nextTarget))\n ) {\n return;\n }\n this.closeRowsPanel();\n }\n\n protected closeRowsPanel(): void {\n this.rowsPanelPortal()?.restore();\n this.rowsPanelOpen.set(false);\n }\n\n private emitPage(): void {\n this.page.emit({\n first: this.first(),\n rows: this.rows(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo"],"mappings":";;;;MAgGa,cAAc,CAAA;AACjB,IAAA,OAAO,MAAM,GAAG,CAAC;IAChB,KAAK,GAAG,KAAK,CAAC,CAAC;8EAAC;IAChB,IAAI,GAAG,KAAK,CAAC,EAAE;6EAAC;IAChB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,kBAAkB,GAAG,KAAK,CAAoB,EAAE;2FAAC;AACjD,IAAA,QAAQ,GAAG,KAAK;4FAAiB;IACjC,cAAc,GAAG,KAAK,CAAwC,CAAC;uFAAC;IAChE,SAAS,GAAG,KAAK,CAAC,YAAY;kFAAC;IAC/B,gBAAgB,GAAG,KAAK,CAAC,eAAe;yFAAC;IACzC,IAAI,GAAG,MAAM,EAA2B;IAC9B,aAAa,GAAG,MAAM,CAAC,KAAK;sFAAC;IAC7B,WAAW,GAAG,SAAS,CAAgC,aAAa;oFAAC;IACvE,SAAS,GAAG,SAAS,CAA0B,WAAW;kFAAC;IAC3D,eAAe,GAAG,SAAS,CAACA,cAAc;wFAAC;AACzC,IAAA,WAAW,GAAG,CAAA,2BAAA,EAA8B,cAAc,CAAC,MAAM,EAAE,EAAE;AACrE,IAAA,WAAW,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,QAA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AAA,8BAAA,EAAA,6BAAA,EAAA,6BAAA,EAAA,iCAAA,EAAA,gCAAA,EAAA,gCAAA,EAAA,uCAAA,EAAA,mCAAA,CAAA,EAAA,OAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAoFb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAtF1B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,OAAA,EAClB,CAACA,cAAc,CAAC,EAAA,QAAA,EACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,ylMAAA,CAAA,EAAA;imCAgByE,aAAa,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CACvB,WAAW,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC9BA,cAAc,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC/G7D;;AAEG;;"}
@@ -4,27 +4,27 @@ import { inject, TemplateRef, Directive, input, booleanAttribute, model, output,
4
4
 
5
5
  class AerisPanelHeaderTemplate {
6
6
  template = inject(TemplateRef);
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPanelHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPanelHeader]", ngImport: i0 });
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPanelHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPanelHeader]", ngImport: i0 });
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelHeaderTemplate, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelHeaderTemplate, decorators: [{
11
11
  type: Directive,
12
12
  args: [{ selector: 'ng-template[aerisPanelHeader]' }]
13
13
  }] });
14
14
  class AerisPanelToggleIconTemplate {
15
15
  template = inject(TemplateRef);
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelToggleIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPanelToggleIconTemplate, isStandalone: true, selector: "ng-template[aerisPanelToggleIcon]", ngImport: i0 });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelToggleIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPanelToggleIconTemplate, isStandalone: true, selector: "ng-template[aerisPanelToggleIcon]", ngImport: i0 });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelToggleIconTemplate, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelToggleIconTemplate, decorators: [{
20
20
  type: Directive,
21
21
  args: [{ selector: 'ng-template[aerisPanelToggleIcon]' }]
22
22
  }] });
23
23
  class AerisPanelHeaderActions {
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelHeaderActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPanelHeaderActions, isStandalone: true, selector: "[aerisPanelHeaderActions]", host: { classAttribute: "aeris-panel__actions" }, ngImport: i0 });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelHeaderActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPanelHeaderActions, isStandalone: true, selector: "[aerisPanelHeaderActions]", host: { classAttribute: "aeris-panel__actions" }, ngImport: i0 });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelHeaderActions, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelHeaderActions, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: '[aerisPanelHeaderActions]',
@@ -32,10 +32,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
32
32
  }]
33
33
  }] });
34
34
  class AerisPanelFooter {
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
36
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPanelFooter, isStandalone: true, selector: "[aerisPanelFooter]", host: { classAttribute: "aeris-panel__footer" }, ngImport: i0 });
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
36
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPanelFooter, isStandalone: true, selector: "[aerisPanelFooter]", host: { classAttribute: "aeris-panel__footer" }, ngImport: i0 });
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanelFooter, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanelFooter, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
41
  selector: '[aerisPanelFooter]',
@@ -154,8 +154,8 @@ class AerisPanel {
154
154
  this.panelExpanded.emit(event);
155
155
  }
156
156
  }
157
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
158
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: AerisPanel, isStandalone: true, selector: "aeris-panel", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, animated: { classPropertyName: "animated", publicName: "animated", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", 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 }, toggleButtonLabel: { classPropertyName: "toggleButtonLabel", publicName: "toggleButtonLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collapsed: "collapsedChange", toggled: "toggled", panelExpanded: "panelExpanded", panelCollapsed: "panelCollapsed" }, host: { properties: { "attr.id": "id()", "attr.role": "semanticRole()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "hostLabelledBy()", "attr.aria-describedby": "ariaDescribedBy() || null", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-toggleable": "toggleable() || null", "attr.data-collapsed": "isContentHidden() || null", "attr.data-disabled": "disabled() || null", "attr.data-animated": "animated() || null" }, classAttribute: "aeris-panel" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisPanelHeaderTemplate, isSignal: true }, { propertyName: "toggleIconTemplate", first: true, predicate: AerisPanelToggleIconTemplate, isSignal: true }, { propertyName: "headerActions", first: true, predicate: AerisPanelHeaderActions, isSignal: true }, { propertyName: "footer", first: true, predicate: AerisPanelFooter, isSignal: true }], ngImport: i0, template: `
157
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
158
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AerisPanel, isStandalone: true, selector: "aeris-panel", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, animated: { classPropertyName: "animated", publicName: "animated", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", 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 }, toggleButtonLabel: { classPropertyName: "toggleButtonLabel", publicName: "toggleButtonLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collapsed: "collapsedChange", toggled: "toggled", panelExpanded: "panelExpanded", panelCollapsed: "panelCollapsed" }, host: { properties: { "attr.id": "id()", "attr.role": "semanticRole()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "hostLabelledBy()", "attr.aria-describedby": "ariaDescribedBy() || null", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-toggleable": "toggleable() || null", "attr.data-collapsed": "isContentHidden() || null", "attr.data-disabled": "disabled() || null", "attr.data-animated": "animated() || null" }, classAttribute: "aeris-panel" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisPanelHeaderTemplate, isSignal: true }, { propertyName: "toggleIconTemplate", first: true, predicate: AerisPanelToggleIconTemplate, isSignal: true }, { propertyName: "headerActions", first: true, predicate: AerisPanelHeaderActions, isSignal: true }, { propertyName: "footer", first: true, predicate: AerisPanelFooter, isSignal: true }], ngImport: i0, template: `
159
159
  @if (hasHeader()) {
160
160
  <div class="aeris-panel__header">
161
161
  <div
@@ -234,7 +234,7 @@ class AerisPanel {
234
234
  }
235
235
  `, isInline: true, styles: ["aeris-panel{display:block;min-inline-size:0}.aeris-panel{--_padding-block: var(--aeris-panel-padding-block, 1rem);--_padding-inline: var(--aeris-panel-padding-inline, 1.125rem);--_header-padding-block: var(--aeris-panel-header-padding-block, .875rem);--_header-padding-inline: var(--aeris-panel-header-padding-inline, 1.125rem);overflow:hidden;border:1px solid var(--aeris-panel-border, var(--aeris-border));border-radius:var(--aeris-panel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-panel-background, var(--aeris-surface, #fff));color:var(--aeris-panel-color, var(--aeris-text, #222222));box-shadow:var(--aeris-panel-shadow, none)}.aeris-panel[data-size=sm]{--_padding-block: var(--aeris-panel-padding-block-sm, .75rem);--_padding-inline: var(--aeris-panel-padding-inline-sm, .875rem);--_header-padding-block: var(--aeris-panel-header-padding-block-sm, .675rem);--_header-padding-inline: var(--aeris-panel-header-padding-inline-sm, .875rem)}.aeris-panel[data-size=lg]{--_padding-block: var(--aeris-panel-padding-block-lg, 1.35rem);--_padding-inline: var(--aeris-panel-padding-inline-lg, 1.5rem);--_header-padding-block: var(--aeris-panel-header-padding-block-lg, 1rem);--_header-padding-inline: var(--aeris-panel-header-padding-inline-lg, 1.5rem)}.aeris-panel[data-variant=elevated]{border-color:var(--aeris-panel-elevated-border, transparent);box-shadow:var(--aeris-panel-elevated-shadow, 0 .75rem 2rem color-mix(in srgb, var(--aeris-text, #222222) 10%, transparent))}.aeris-panel[data-variant=filled]{border-color:var(--aeris-panel-filled-border, transparent);background:var(--aeris-panel-filled-background, var(--aeris-surface-2, #f2f0ec))}.aeris-panel[data-variant=plain]{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-panel__header{display:flex;align-items:center;justify-content:space-between;gap:var(--aeris-panel-header-gap, .75rem);min-inline-size:0;padding:var(--_header-padding-block) var(--_header-padding-inline);border-block-end:1px solid var(--aeris-panel-header-border, var(--aeris-border));background:var(--aeris-panel-header-background, color-mix(in srgb, var(--aeris-surface-2, #f2f0ec) 58%, transparent))}.aeris-panel[data-variant=plain] .aeris-panel__header{padding-inline:0;background:transparent}.aeris-panel[data-collapsed=true] .aeris-panel__header{border-block-end-color:transparent}.aeris-panel__heading{min-inline-size:0;flex:1 1 auto}.aeris-panel__title{min-inline-size:0;color:var(--aeris-panel-title-color, var(--aeris-text, #222222));font-size:var(--aeris-panel-title-size, .9375rem);font-weight:800;line-height:1.35}.aeris-panel__toggle{display:flex;align-items:center;justify-content:space-between;gap:var(--aeris-panel-toggle-gap, .75rem);inline-size:100%;min-block-size:2.25rem;margin:0;padding:0;border:0;border-radius:var(--aeris-panel-toggle-radius, var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem)));background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.aeris-panel__toggle:hover{color:var(--aeris-panel-toggle-hover-color, var(--aeris-primary-text, var(--aeris-primary, #5f6f36)))}.aeris-panel__toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--focus, var(--aeris-primary, #5f6f36)) 42%,transparent);outline-offset:.25rem}.aeris-panel__toggle:disabled{cursor:not-allowed;opacity:.58}.aeris-panel__toggle-icon{display:inline-grid;flex:0 0 auto;place-items:center;inline-size:var(--aeris-panel-icon-size, 1.25rem);block-size:var(--aeris-panel-icon-size, 1.25rem);color:var(--aeris-panel-icon-color, currentColor)}.aeris-panel__toggle-icon svg{display:block;inline-size:100%;block-size:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transform-origin:center;transition:transform .16s ease}.aeris-panel__toggle[aria-expanded=true] .aeris-panel__toggle-icon svg{transform:rotate(180deg)}.aeris-panel__actions{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:var(--aeris-panel-actions-gap, .5rem)}.aeris-panel__content-shell{display:grid;grid-template-rows:1fr;transition:grid-template-rows .18s ease}.aeris-panel[data-collapsed=true] .aeris-panel__content-shell{grid-template-rows:0fr}.aeris-panel__content{min-block-size:0;overflow:hidden;padding:var(--_padding-block) var(--_padding-inline);color:var(--aeris-panel-content-color, var(--aeris-text-2, #555555));font-size:var(--aeris-panel-content-size, .875rem);line-height:1.65;visibility:visible;transition:padding-block .18s ease,visibility 0s linear}.aeris-panel[data-collapsed=true] .aeris-panel__content{padding-block:0;visibility:hidden}.aeris-panel[data-variant=plain] .aeris-panel__content{padding-inline:0}.aeris-panel__content>:first-child{margin-block-start:0}.aeris-panel__content>:last-child{margin-block-end:0}.aeris-panel__footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--aeris-panel-footer-gap, .625rem);padding:var(--aeris-panel-footer-padding-block, .875rem) var(--_padding-inline);border-block-start:1px solid var(--aeris-panel-footer-border, var(--aeris-border));background:var(--aeris-panel-footer-background, transparent)}.aeris-panel[data-collapsed=true] .aeris-panel__footer{display:none}.aeris-panel[data-disabled=true]{opacity:var(--aeris-panel-disabled-opacity, .68)}.aeris-panel[data-animated=false] .aeris-panel__content-shell,.aeris-panel[data-animated=false] .aeris-panel__content,.aeris-panel[data-animated=false] .aeris-panel__toggle-icon svg{transition:none}@media(max-width:40rem){.aeris-panel__header{align-items:flex-start;flex-direction:column}.aeris-panel__actions{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){.aeris-panel__content-shell,.aeris-panel__content,.aeris-panel__toggle-icon svg{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None });
236
236
  }
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPanel, decorators: [{
237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPanel, decorators: [{
238
238
  type: Component,
239
239
  args: [{ selector: 'aeris-panel', imports: [NgTemplateOutlet], template: `
240
240
  @if (hasHeader()) {
@@ -1,33 +1,33 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
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';
3
+ import { inject, TemplateRef, Directive, ElementRef, viewChild, signal, model, input, booleanAttribute, computed, output, contentChild, forwardRef, Component } from '@angular/core';
4
4
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { ɵAerisAppendTo as _AerisAppendTo } from '@aeris-ui/core';
5
+ import { ɵAerisAppendTo as _AerisAppendTo, ɵaerisDisplayInvalid as _aerisDisplayInvalid } from '@aeris-ui/core';
6
6
 
7
7
  class AerisPasswordHeaderTemplate {
8
8
  template = inject(TemplateRef);
9
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPasswordHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPasswordHeader]", ngImport: i0 });
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPasswordHeader]", ngImport: i0 });
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordHeaderTemplate, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordHeaderTemplate, decorators: [{
13
13
  type: Directive,
14
14
  args: [{ selector: 'ng-template[aerisPasswordHeader]' }]
15
15
  }] });
16
16
  class AerisPasswordFeedbackTemplate {
17
17
  template = inject(TemplateRef);
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordFeedbackTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
19
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPasswordFeedbackTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFeedback]", ngImport: i0 });
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
19
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordFeedbackTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFeedback]", ngImport: i0 });
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordFeedbackTemplate, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, decorators: [{
22
22
  type: Directive,
23
23
  args: [{ selector: 'ng-template[aerisPasswordFeedback]' }]
24
24
  }] });
25
25
  class AerisPasswordFooterTemplate {
26
26
  template = inject(TemplateRef);
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisPasswordFooterTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFooter]", ngImport: i0 });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordFooterTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFooter]", ngImport: i0 });
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordFooterTemplate, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFooterTemplate, decorators: [{
31
31
  type: Directive,
32
32
  args: [{ selector: 'ng-template[aerisPasswordFooter]' }]
33
33
  }] });
@@ -51,7 +51,11 @@ const evaluateAerisPassword = (value, minLength) => {
51
51
  }
52
52
  const score = scoreFor(requirements.filter((requirement) => requirement.met).length);
53
53
  const strength = score === 1 ? 'weak' : score === 2 ? 'medium' : 'strong';
54
- const label = strength === 'weak' ? 'Weak password' : strength === 'medium' ? 'Medium password' : 'Strong password';
54
+ const label = strength === 'weak'
55
+ ? 'Weak password'
56
+ : strength === 'medium'
57
+ ? 'Medium password'
58
+ : 'Strong password';
55
59
  return { score, strength, label, requirements };
56
60
  };
57
61
  let passwordId = 0;
@@ -88,10 +92,10 @@ class AerisPasswordComponent {
88
92
  ...(ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []));
89
93
  ariaLabel = input('', /* @ts-ignore */
90
94
  ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
91
- ariaLabelledby = input('', /* @ts-ignore */
92
- ...(ngDevMode ? [{ debugName: "ariaLabelledby" }] : /* istanbul ignore next */ []));
93
- ariaDescribedby = input('', /* @ts-ignore */
94
- ...(ngDevMode ? [{ debugName: "ariaDescribedby" }] : /* istanbul ignore next */ []));
95
+ ariaLabelledBy = input('', /* @ts-ignore */
96
+ ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
97
+ ariaDescribedBy = input('', /* @ts-ignore */
98
+ ...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []));
95
99
  size = input('md', /* @ts-ignore */
96
100
  ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
97
101
  appearance = input('outline', /* @ts-ignore */
@@ -104,6 +108,10 @@ class AerisPasswordComponent {
104
108
  readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
105
109
  required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
106
110
  invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
111
+ touched = input(null, /* @ts-ignore */
112
+ ...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
113
+ displayInvalid = computed(() => _aerisDisplayInvalid(this.invalid(), this.touched()), /* @ts-ignore */
114
+ ...(ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []));
107
115
  fluid = input(false, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
108
116
  toggleMask = input(true, { ...(ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
109
117
  feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
@@ -117,7 +125,6 @@ class AerisPasswordComponent {
117
125
  ...(ngDevMode ? [{ debugName: "hidePasswordAriaLabel" }] : /* istanbul ignore next */ []));
118
126
  strengthEvaluator = input(evaluateAerisPassword, /* @ts-ignore */
119
127
  ...(ngDevMode ? [{ debugName: "strengthEvaluator" }] : /* istanbul ignore next */ []));
120
- valueInput = output();
121
128
  visibilityChanged = output();
122
129
  focused = output();
123
130
  blurred = output();
@@ -137,16 +144,10 @@ class AerisPasswordComponent {
137
144
  ...(ngDevMode ? [{ debugName: "strengthResult" }] : /* istanbul ignore next */ []));
138
145
  feedbackVisible = computed(() => this.feedback() && this.hasFocus() && !this.effectiveDisabled(), /* @ts-ignore */
139
146
  ...(ngDevMode ? [{ debugName: "feedbackVisible" }] : /* istanbul ignore next */ []));
140
- showClearButton = computed(() => this.clearable() &&
141
- this.value().length > 0 &&
142
- !this.effectiveDisabled() &&
143
- !this.readonly(), /* @ts-ignore */
147
+ showClearButton = computed(() => this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(), /* @ts-ignore */
144
148
  ...(ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []));
145
149
  resolvedAriaDescribedby = computed(() => {
146
- const ids = [
147
- this.ariaDescribedby(),
148
- this.feedbackVisible() ? this.feedbackId : '',
149
- ].filter(Boolean);
150
+ const ids = [this.ariaDescribedBy(), this.feedbackVisible() ? this.feedbackId : ''].filter(Boolean);
150
151
  return ids.length ? ids.join(' ') : null;
151
152
  }, /* @ts-ignore */
152
153
  ...(ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []));
@@ -208,7 +209,6 @@ class AerisPasswordComponent {
208
209
  if (this.value() === value)
209
210
  return;
210
211
  this.value.set(value);
211
- this.valueInput.emit(value);
212
212
  this.onChange(value);
213
213
  }
214
214
  setVisible(visible) {
@@ -217,8 +217,8 @@ class AerisPasswordComponent {
217
217
  this.visible.set(visible);
218
218
  this.visibilityChanged.emit(visible);
219
219
  }
220
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
221
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", 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 }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "viewportMargin", 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: [
220
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
221
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "viewportMargin", 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 }, touched: { classPropertyName: "touched", publicName: "touched", 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", visibilityChanged: "visibilityChanged", focused: "focused", blurred: "blurred", touch: "touch" }, host: { properties: { "attr.data-fluid": "fluid() || null" } }, providers: [
222
222
  {
223
223
  provide: NG_VALUE_ACCESSOR,
224
224
  useExisting: forwardRef(() => AerisPasswordComponent),
@@ -229,7 +229,7 @@ class AerisPasswordComponent {
229
229
  class="aeris-password"
230
230
  [attr.data-size]="size()"
231
231
  [attr.data-appearance]="appearance()"
232
- [attr.data-invalid]="invalid() || null"
232
+ [attr.data-invalid]="displayInvalid() || null"
233
233
  [attr.data-disabled]="effectiveDisabled() || null"
234
234
  [attr.data-readonly]="readonly() || null"
235
235
  [attr.data-fluid]="fluid() || null"
@@ -245,14 +245,14 @@ class AerisPasswordComponent {
245
245
  [placeholder]="placeholder()"
246
246
  [autocomplete]="autocomplete()"
247
247
  [minLength]="minLength()"
248
- [maxLength]="maxLength() ?? null"
248
+ [attr.maxlength]="maxLength() ?? null"
249
249
  [disabled]="effectiveDisabled()"
250
250
  [readOnly]="readonly()"
251
251
  [required]="required()"
252
252
  [attr.aria-label]="ariaLabel() || null"
253
- [attr.aria-labelledby]="ariaLabelledby() || null"
253
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
254
254
  [attr.aria-describedby]="resolvedAriaDescribedby()"
255
- [attr.aria-invalid]="invalid() || null"
255
+ [attr.aria-invalid]="displayInvalid() || null"
256
256
  (input)="handleInput($event)"
257
257
  (focus)="handleFocus($event)"
258
258
  (blur)="handleInputBlur($event)"
@@ -265,7 +265,9 @@ class AerisPasswordComponent {
265
265
  class="aeris-password__action aeris-password__clear"
266
266
  [attr.aria-label]="clearButtonAriaLabel()"
267
267
  (click)="clear()"
268
- ><span aria-hidden="true"></span></button>
268
+ >
269
+ <span aria-hidden="true"></span>
270
+ </button>
269
271
  }
270
272
  @if (toggleMask()) {
271
273
  <button
@@ -315,7 +317,7 @@ class AerisPasswordComponent {
315
317
  [ngTemplateOutletContext]="{
316
318
  $implicit: strengthResult(),
317
319
  result: strengthResult(),
318
- value: value()
320
+ value: value(),
319
321
  }"
320
322
  />
321
323
  } @else {
@@ -327,7 +329,8 @@ class AerisPasswordComponent {
327
329
  class="aeris-password__meter"
328
330
  [attr.data-strength]="strengthResult().strength"
329
331
  aria-hidden="true"
330
- ><span></span><span></span><span></span></span>
332
+ ><span></span><span></span><span></span
333
+ ></span>
331
334
 
332
335
  @if (showRequirements()) {
333
336
  <span class="aeris-password__requirements">
@@ -348,16 +351,16 @@ class AerisPasswordComponent {
348
351
  </span>
349
352
  }
350
353
  </span>
351
- `, 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, #deddd7);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 .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, #3b4729)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #3b4729);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #3b4729) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid: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:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));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, #3b4729);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);border-radius:var(--aeris-radius-overlay, 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, #deddd7);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"] }, { kind: "directive", type: _AerisAppendTo, selector: "[aerisInternalAppendTo]", inputs: ["aerisInternalAppendTo", "aerisInternalAppendToAnchor", "aerisInternalAppendToOffset", "aerisInternalAppendToMatchWidth", "aerisInternalAppendToPlacement", "aerisInternalAppendToAlignment", "aerisInternalAppendToCollisionPadding", "aerisInternalAppendToPositionSelf"], outputs: ["aerisInternalAppendToOutside"] }] });
354
+ `, 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, #deddd7);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 .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, #3b4729)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #3b4729);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #3b4729) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid: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.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, #555555);cursor:pointer}.aeris-password__action:hover,.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #3b4729);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);border-radius:var(--aeris-radius-overlay, 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, #deddd7);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"] }, { kind: "directive", type: _AerisAppendTo, selector: "[aerisInternalAppendTo]", inputs: ["aerisInternalAppendTo", "aerisInternalAppendToDefault", "aerisInternalAppendToAnchor", "aerisInternalAppendToOffset", "aerisInternalAppendToMatchWidth", "aerisInternalAppendToPlacement", "aerisInternalAppendToAlignment", "aerisInternalAppendToCollisionPadding", "aerisInternalAppendToPositionSelf"], outputs: ["aerisInternalAppendToOutside"] }] });
352
355
  }
353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisPasswordComponent, decorators: [{
356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordComponent, decorators: [{
354
357
  type: Component,
355
358
  args: [{ selector: 'aeris-password', imports: [NgTemplateOutlet, _AerisAppendTo], template: `
356
359
  <span
357
360
  class="aeris-password"
358
361
  [attr.data-size]="size()"
359
362
  [attr.data-appearance]="appearance()"
360
- [attr.data-invalid]="invalid() || null"
363
+ [attr.data-invalid]="displayInvalid() || null"
361
364
  [attr.data-disabled]="effectiveDisabled() || null"
362
365
  [attr.data-readonly]="readonly() || null"
363
366
  [attr.data-fluid]="fluid() || null"
@@ -373,14 +376,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
373
376
  [placeholder]="placeholder()"
374
377
  [autocomplete]="autocomplete()"
375
378
  [minLength]="minLength()"
376
- [maxLength]="maxLength() ?? null"
379
+ [attr.maxlength]="maxLength() ?? null"
377
380
  [disabled]="effectiveDisabled()"
378
381
  [readOnly]="readonly()"
379
382
  [required]="required()"
380
383
  [attr.aria-label]="ariaLabel() || null"
381
- [attr.aria-labelledby]="ariaLabelledby() || null"
384
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
382
385
  [attr.aria-describedby]="resolvedAriaDescribedby()"
383
- [attr.aria-invalid]="invalid() || null"
386
+ [attr.aria-invalid]="displayInvalid() || null"
384
387
  (input)="handleInput($event)"
385
388
  (focus)="handleFocus($event)"
386
389
  (blur)="handleInputBlur($event)"
@@ -393,7 +396,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
393
396
  class="aeris-password__action aeris-password__clear"
394
397
  [attr.aria-label]="clearButtonAriaLabel()"
395
398
  (click)="clear()"
396
- ><span aria-hidden="true"></span></button>
399
+ >
400
+ <span aria-hidden="true"></span>
401
+ </button>
397
402
  }
398
403
  @if (toggleMask()) {
399
404
  <button
@@ -443,7 +448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
443
448
  [ngTemplateOutletContext]="{
444
449
  $implicit: strengthResult(),
445
450
  result: strengthResult(),
446
- value: value()
451
+ value: value(),
447
452
  }"
448
453
  />
449
454
  } @else {
@@ -455,7 +460,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
455
460
  class="aeris-password__meter"
456
461
  [attr.data-strength]="strengthResult().strength"
457
462
  aria-hidden="true"
458
- ><span></span><span></span><span></span></span>
463
+ ><span></span><span></span><span></span
464
+ ></span>
459
465
 
460
466
  @if (showRequirements()) {
461
467
  <span class="aeris-password__requirements">
@@ -484,8 +490,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
484
490
  },
485
491
  ], host: {
486
492
  '[attr.data-fluid]': 'fluid() || null',
487
- }, 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, #deddd7);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 .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, #3b4729)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #3b4729);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #3b4729) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid: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:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));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, #3b4729);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);border-radius:var(--aeris-radius-overlay, 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, #deddd7);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"] }]
488
- }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['passwordInput', { isSignal: true }] }], feedbackPanel: [{ type: i0.ViewChild, args: ['feedbackPanel', { isSignal: true }] }], feedbackPortal: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _AerisAppendTo), { 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"] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], viewportMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewportMargin", required: false }] }], 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 }] }] } });
493
+ }, 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, #deddd7);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 .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, #3b4729)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #3b4729);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #3b4729) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid: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.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, #555555);cursor:pointer}.aeris-password__action:hover,.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #3b4729);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);border-radius:var(--aeris-radius-overlay, 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, #deddd7);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"] }]
494
+ }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['passwordInput', { isSignal: true }] }], feedbackPanel: [{ type: i0.ViewChild, args: ['feedbackPanel', { isSignal: true }] }], feedbackPortal: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _AerisAppendTo), { 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"] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], viewportMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewportMargin", required: false }] }], 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 }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", 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 }] }], 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 }] }] } });
489
495
  const AerisPassword = [
490
496
  AerisPasswordComponent,
491
497
  AerisPasswordHeaderTemplate,