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

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 (197) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/aeris-ui-core-accordion.mjs +12 -12
  3. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  4. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  6. package/fesm2022/aeris-ui-core-auto-complete.mjs +59 -54
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  8. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  10. package/fesm2022/aeris-ui-core-avatar.mjs +9 -9
  11. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  12. package/fesm2022/aeris-ui-core-badge.mjs +10 -10
  13. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  14. package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
  15. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  16. package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  18. package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
  19. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  20. package/fesm2022/aeris-ui-core-button.mjs +8 -8
  21. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  22. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  23. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  24. package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
  25. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-cascade-select.mjs +40 -39
  27. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-chart.mjs +3 -3
  29. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  30. package/fesm2022/aeris-ui-core-checkbox.mjs +5 -5
  31. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  32. package/fesm2022/aeris-ui-core-chip.mjs +9 -9
  33. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  34. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  35. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  36. package/fesm2022/aeris-ui-core-color-picker.mjs +10 -20
  37. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  38. package/fesm2022/aeris-ui-core-compare.mjs +12 -12
  39. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  40. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +19 -19
  41. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  42. package/fesm2022/aeris-ui-core-confirm-popup.mjs +19 -19
  43. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  44. package/fesm2022/aeris-ui-core-context-menu.mjs +15 -8
  45. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  46. package/fesm2022/aeris-ui-core-date-picker.mjs +306 -302
  47. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  48. package/fesm2022/aeris-ui-core-dialog.mjs +30 -24
  49. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  50. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  51. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  52. package/fesm2022/aeris-ui-core-drawer.mjs +30 -24
  53. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  54. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +7 -7
  55. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  56. package/fesm2022/aeris-ui-core-editor.mjs +3 -3
  57. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
  59. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  60. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  61. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  62. package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
  63. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  64. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  65. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  66. package/fesm2022/aeris-ui-core-form-field.mjs +181 -0
  67. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  68. package/fesm2022/aeris-ui-core-galleria.mjs +27 -27
  69. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  70. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  71. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  72. package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
  73. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  74. package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
  75. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  76. package/fesm2022/aeris-ui-core-input-group.mjs +15 -15
  77. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  78. package/fesm2022/aeris-ui-core-input-mask.mjs +5 -5
  79. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  80. package/fesm2022/aeris-ui-core-input-number.mjs +77 -22
  81. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  82. package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
  83. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  84. package/fesm2022/aeris-ui-core-input-text.mjs +6 -6
  85. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  86. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  87. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  88. package/fesm2022/aeris-ui-core-mega-menu.mjs +15 -7
  89. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  90. package/fesm2022/aeris-ui-core-menu.mjs +38 -18
  91. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  92. package/fesm2022/aeris-ui-core-menubar.mjs +135 -15
  93. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  94. package/fesm2022/aeris-ui-core-message.mjs +9 -9
  95. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  96. package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
  97. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  98. package/fesm2022/aeris-ui-core-multi-select.mjs +34 -44
  99. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  100. package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
  101. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  102. package/fesm2022/aeris-ui-core-organization-chart.mjs +9 -9
  103. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  104. package/fesm2022/aeris-ui-core-paginator.mjs +9 -5
  105. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  106. package/fesm2022/aeris-ui-core-panel.mjs +15 -15
  107. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  108. package/fesm2022/aeris-ui-core-password.mjs +21 -17
  109. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  110. package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
  111. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  112. package/fesm2022/aeris-ui-core-popover.mjs +30 -19
  113. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  114. package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
  115. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  116. package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
  117. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  118. package/fesm2022/aeris-ui-core-radio-button.mjs +5 -5
  119. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  120. package/fesm2022/aeris-ui-core-rating.mjs +3 -3
  121. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  122. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  123. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  124. package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
  125. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  126. package/fesm2022/aeris-ui-core-select.mjs +78 -66
  127. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  128. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  129. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  130. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  131. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  132. package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
  133. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  134. package/fesm2022/aeris-ui-core-split-button.mjs +9 -5
  135. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  136. package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
  137. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  138. package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
  139. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  140. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  141. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  142. package/fesm2022/aeris-ui-core-table.mjs +19 -19
  143. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  144. package/fesm2022/aeris-ui-core-tabs.mjs +76 -25
  145. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  146. package/fesm2022/aeris-ui-core-textarea.mjs +6 -6
  147. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  148. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-theming.mjs +3 -3
  150. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-tiered-menu.mjs +29 -10
  152. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
  154. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-toast.mjs +47 -36
  156. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-toggle-switch.mjs +5 -5
  158. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-toolbar.mjs +18 -18
  160. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  161. package/fesm2022/aeris-ui-core-tooltip.mjs +29 -30
  162. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  163. package/fesm2022/aeris-ui-core-tree-select.mjs +92 -66
  164. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-tree-table.mjs +16 -16
  166. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-tree.mjs +12 -12
  168. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core.mjs +305 -56
  170. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  171. package/package.json +6 -2
  172. package/styles/aeris.css +63 -0
  173. package/styles/controls.css +9 -2
  174. package/types/aeris-ui-core-auto-complete.d.ts +4 -2
  175. package/types/aeris-ui-core-cascade-select.d.ts +4 -2
  176. package/types/aeris-ui-core-color-picker.d.ts +3 -2
  177. package/types/aeris-ui-core-context-menu.d.ts +3 -1
  178. package/types/aeris-ui-core-date-picker.d.ts +5 -2
  179. package/types/aeris-ui-core-dialog.d.ts +5 -3
  180. package/types/aeris-ui-core-drawer.d.ts +5 -3
  181. package/types/aeris-ui-core-form-field.d.ts +65 -0
  182. package/types/aeris-ui-core-input-number.d.ts +2 -0
  183. package/types/aeris-ui-core-mega-menu.d.ts +4 -2
  184. package/types/aeris-ui-core-menu.d.ts +3 -2
  185. package/types/aeris-ui-core-menubar.d.ts +27 -3
  186. package/types/aeris-ui-core-multi-select.d.ts +4 -2
  187. package/types/aeris-ui-core-paginator.d.ts +3 -2
  188. package/types/aeris-ui-core-password.d.ts +3 -2
  189. package/types/aeris-ui-core-popover.d.ts +2 -2
  190. package/types/aeris-ui-core-select.d.ts +6 -2
  191. package/types/aeris-ui-core-split-button.d.ts +3 -2
  192. package/types/aeris-ui-core-tabs.d.ts +23 -5
  193. package/types/aeris-ui-core-tiered-menu.d.ts +5 -3
  194. package/types/aeris-ui-core-toast.d.ts +3 -2
  195. package/types/aeris-ui-core-tooltip.d.ts +2 -4
  196. package/types/aeris-ui-core-tree-select.d.ts +4 -2
  197. package/types/aeris-ui-core.d.ts +44 -26
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-splitter.mjs","sources":["../../../projects/aeris-ui/splitter/aeris-splitter.ts","../../../projects/aeris-ui/splitter/aeris-ui-core-splitter.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\n\nexport type AerisSplitterOrientation = 'horizontal' | 'vertical';\nexport type AerisSplitterVariant = 'outlined' | 'filled' | 'plain';\nexport type AerisSplitterSize = 'sm' | 'md' | 'lg';\nexport type AerisSplitterDivider = 'handle' | 'line';\n\nexport interface AerisSplitterResizeEvent {\n readonly originalEvent: Event | null;\n readonly sizes: readonly number[];\n readonly previousSizes: readonly number[];\n readonly index: number;\n readonly nextIndex: number;\n}\n\ninterface AerisSplitterPanelState {\n readonly panel: AerisSplitterPanel;\n readonly index: number;\n readonly id: string;\n readonly label: string;\n readonly size: number;\n readonly minSize: number;\n readonly maxSize: number;\n readonly resizable: boolean;\n readonly content: TemplateRef<unknown>;\n}\n\ninterface AerisSplitterHandleState {\n readonly index: number;\n readonly id: string;\n readonly currentPanelId: string;\n readonly nextPanelId: string;\n readonly disabled: boolean;\n readonly active: boolean;\n readonly min: number;\n readonly max: number;\n readonly value: number;\n readonly zIndex: number;\n}\n\ninterface ResizeSession {\n readonly index: number;\n readonly pointerId: number;\n readonly startCoordinate: number;\n readonly containerSize: number;\n readonly startSizes: readonly number[];\n readonly previousSizes: readonly number[];\n readonly move: (event: PointerEvent) => void;\n readonly end: (event: PointerEvent) => void;\n}\n\nlet nextSplitterPanelId = 0;\n\n@Component({\n selector: 'aeris-splitter-panel',\n template: `\n <ng-template #content>\n <ng-content />\n </ng-template>\n `,\n host: {\n '[style.display]': '\"none\"',\n },\n})\nexport class AerisSplitterPanel {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly instanceId = ++nextSplitterPanelId;\n\n readonly size = input<number | null>(null, { transform: nullableNumberAttribute });\n readonly minSize = input(0, { transform: numberAttribute });\n readonly maxSize = input(100, { transform: numberAttribute });\n readonly resizable = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('');\n readonly content = viewChild.required<TemplateRef<unknown>>('content');\n readonly panelId = `aeris-splitter-panel-${this.instanceId}`;\n\n isDirectPanelOf(splitterHost: HTMLElement): boolean {\n const parent = this.element.nativeElement.parentElement;\n return (\n parent?.classList.contains('aeris-splitter__panel-source') === true &&\n parent.parentElement === splitterHost\n );\n }\n}\n\n@Component({\n selector: 'aeris-splitter',\n imports: [NgTemplateOutlet],\n template: `\n <div class=\"aeris-splitter__panel-source\" aria-hidden=\"true\">\n <ng-content />\n </div>\n\n <div\n #root\n class=\"aeris-splitter__root\"\n [attr.role]=\"role()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [style.block-size]=\"height() || null\"\n [style.min-block-size]=\"minHeight() || null\"\n [style.max-block-size]=\"maxHeight() || null\"\n [style.inline-size]=\"width() || null\"\n [style.max-inline-size]=\"maxWidth() || null\"\n >\n @for (state of panelStates(); track state.id; let last = $last) {\n <section\n class=\"aeris-splitter__panel\"\n [id]=\"state.id\"\n [attr.aria-label]=\"state.label || null\"\n [attr.data-resizable]=\"state.resizable || null\"\n [style.flex-grow]=\"state.size\"\n [style.flex-basis.%]=\"0\"\n [style.min-inline-size.%]=\"orientation() === 'horizontal' ? state.minSize : null\"\n [style.max-inline-size.%]=\"orientation() === 'horizontal' ? state.maxSize : null\"\n [style.min-block-size.%]=\"orientation() === 'vertical' ? state.minSize : null\"\n [style.max-block-size.%]=\"orientation() === 'vertical' ? state.maxSize : null\"\n >\n <div class=\"aeris-splitter__panel-content\">\n <ng-container [ngTemplateOutlet]=\"state.content\" />\n </div>\n </section>\n\n @if (!last) {\n <div\n #gutter\n class=\"aeris-splitter__gutter\"\n role=\"separator\"\n tabindex=\"0\"\n [id]=\"handleStates()[state.index]?.id\"\n [attr.aria-label]=\"separatorLabel()\"\n [attr.aria-controls]=\"handleStates()[state.index]?.currentPanelId + ' ' + handleStates()[state.index]?.nextPanelId\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-valuemin]=\"handleStates()[state.index]?.min\"\n [attr.aria-valuemax]=\"handleStates()[state.index]?.max\"\n [attr.aria-valuenow]=\"handleStates()[state.index]?.value\"\n [attr.aria-disabled]=\"handleStates()[state.index]?.disabled || null\"\n [attr.data-active]=\"handleStates()[state.index]?.active || null\"\n [attr.data-disabled]=\"handleStates()[state.index]?.disabled || null\"\n [style.z-index]=\"handleStates()[state.index]?.zIndex\"\n (pointerdown)=\"handlePointerDown($event, state.index)\"\n (keydown)=\"handleGutterKeydown($event, state.index)\"\n >\n <span class=\"aeris-splitter__handle\" aria-hidden=\"true\"></span>\n </div>\n }\n }\n </div>\n `,\n styleUrl: './aeris-splitter.scss',\n host: {\n class: 'aeris-splitter',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n '[attr.data-divider]': 'divider()',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-dragging]': 'activeHandle() !== null || null',\n '[attr.data-fluid]': 'fluid() || null',\n '[style.block-size]': 'height() || null',\n '[style.min-block-size]': 'minHeight() || null',\n '[style.max-block-size]': 'maxHeight() || null',\n '[style.inline-size]': 'width() || null',\n '[style.max-inline-size]': 'maxWidth() || null',\n },\n})\nexport class AerisSplitter {\n private readonly hostElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly root = viewChild<ElementRef<HTMLElement>>('root');\n\n readonly sizes = model<readonly number[]>([]);\n readonly orientation = input<AerisSplitterOrientation>('horizontal');\n readonly variant = input<AerisSplitterVariant>('outlined');\n readonly size = input<AerisSplitterSize>('md');\n readonly divider = input<AerisSplitterDivider>('handle');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly fluid = input(true, { transform: booleanAttribute });\n readonly step = input(5, { transform: numberAttribute });\n readonly height = input('');\n readonly minHeight = input('');\n readonly maxHeight = input('');\n readonly width = input('100%');\n readonly maxWidth = input('');\n readonly role = input<'group' | 'region' | null>('group');\n readonly ariaLabel = input('Resizable panels');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly separatorLabel = input('Resize panels');\n\n readonly resizeStart = output<AerisSplitterResizeEvent>();\n readonly resized = output<AerisSplitterResizeEvent>();\n readonly resizeEnd = output<AerisSplitterResizeEvent>();\n\n private readonly discoveredPanels = contentChildren(AerisSplitterPanel, {\n descendants: true,\n });\n protected readonly gutters = viewChildren<ElementRef<HTMLElement>>('gutter');\n protected readonly activeHandle = signal<number | null>(null);\n protected readonly panels = computed(() =>\n this.discoveredPanels().filter((panel) => panel.isDirectPanelOf(this.hostElement)),\n );\n protected readonly normalizedSizes = computed(() => this.normalizeSizes(this.panels(), this.sizes()));\n protected readonly panelStates = computed<readonly AerisSplitterPanelState[]>(() => {\n const sizes = this.normalizedSizes();\n return this.panels().map((panel, index) => ({\n panel,\n index,\n id: panel.panelId,\n label: panel.ariaLabel(),\n size: sizes[index] ?? 0,\n minSize: this.clampPercent(panel.minSize()),\n maxSize: this.clampPercent(Math.max(panel.maxSize(), panel.minSize())),\n resizable: panel.resizable(),\n content: panel.content(),\n }));\n });\n protected readonly handleStates = computed<readonly AerisSplitterHandleState[]>(() => {\n const states = this.panelStates();\n const activeHandle = this.activeHandle();\n return states.slice(0, -1).map((state, index) => {\n const next = states[index + 1];\n const bounds = this.handleBoundsFromStates(states, index);\n return {\n index,\n id: `aeris-splitter-gutter-${state.id}`,\n currentPanelId: state.id,\n nextPanelId: next?.id ?? '',\n disabled: this.disabled() || !state.resizable || !next?.resizable,\n active: activeHandle === index,\n min: Math.round(bounds.min),\n max: Math.round(bounds.max),\n value: Math.round(state.size),\n zIndex: this.handleZIndex(states, index),\n };\n });\n });\n\n private activeSession: ResizeSession | null = null;\n\n constructor() {\n this.destroyRef.onDestroy(() => this.removeDocumentListeners());\n }\n\n setSizes(sizes: readonly number[], originalEvent: Event | null = null): void {\n const previousSizes = this.normalizedSizes();\n const nextSizes = this.normalizeExplicitSizes(this.panels(), sizes);\n this.commitSizes(nextSizes, previousSizes, -1, originalEvent, this.resized);\n }\n\n reset(originalEvent: Event | null = null): void {\n const previousSizes = this.normalizedSizes();\n const nextSizes = this.normalizeSizes(this.panels(), []);\n this.commitSizes(nextSizes, previousSizes, -1, originalEvent, this.resized);\n }\n\n focusHandle(index: number, options?: FocusOptions): void {\n this.gutters()[index]?.nativeElement.focus(options);\n }\n\n protected handlePointerDown(event: PointerEvent, index: number): void {\n if (event.button !== 0 || this.handleStates()[index]?.disabled) return;\n const containerSize = this.containerPixelSize();\n if (containerSize <= 0) return;\n\n event.preventDefault();\n const startSizes = this.normalizedSizes();\n const session: ResizeSession = {\n index,\n pointerId: event.pointerId,\n startCoordinate: this.pointerCoordinate(event),\n containerSize,\n startSizes,\n previousSizes: startSizes,\n move: (moveEvent) => this.handlePointerMove(moveEvent),\n end: (endEvent) => this.handlePointerEnd(endEvent),\n };\n this.activeSession = session;\n this.activeHandle.set(index);\n this.document.addEventListener('pointermove', session.move);\n this.document.addEventListener('pointerup', session.end);\n this.document.addEventListener('pointercancel', session.end);\n this.resizeStart.emit(this.eventPayload(event, startSizes, startSizes, index));\n }\n\n protected handleGutterKeydown(event: KeyboardEvent, index: number): void {\n if (this.handleStates()[index]?.disabled) return;\n\n const amount = this.keyAmount(event);\n if (amount === null) return;\n\n event.preventDefault();\n const previousSizes = this.normalizedSizes();\n const nextSizes =\n amount === 'min'\n ? this.resizePair(previousSizes, index, Number.NEGATIVE_INFINITY)\n : amount === 'max'\n ? this.resizePair(previousSizes, index, Number.POSITIVE_INFINITY)\n : this.resizePair(previousSizes, index, amount);\n this.commitSizes(nextSizes, previousSizes, index, event, this.resized);\n }\n\n private handlePointerMove(event: PointerEvent): void {\n const session = this.activeSession;\n if (!session || event.pointerId !== session.pointerId) return;\n event.preventDefault();\n const delta = ((this.pointerCoordinate(event) - session.startCoordinate) / session.containerSize) * 100;\n const nextSizes = this.resizePair(session.startSizes, session.index, delta);\n this.commitSizes(nextSizes, session.previousSizes, session.index, event, this.resized);\n }\n\n private handlePointerEnd(event: PointerEvent): void {\n const session = this.activeSession;\n if (!session || event.pointerId !== session.pointerId) return;\n event.preventDefault();\n const previousSizes = session.previousSizes;\n const nextSizes = this.normalizedSizes();\n this.removeDocumentListeners();\n this.resizeEnd.emit(this.eventPayload(event, nextSizes, previousSizes, session.index));\n }\n\n private removeDocumentListeners(): void {\n const session = this.activeSession;\n if (!session) return;\n this.document.removeEventListener('pointermove', session.move);\n this.document.removeEventListener('pointerup', session.end);\n this.document.removeEventListener('pointercancel', session.end);\n this.activeSession = null;\n this.activeHandle.set(null);\n }\n\n private commitSizes(\n nextSizes: readonly number[],\n previousSizes: readonly number[],\n index: number,\n originalEvent: Event | null,\n emitter: { emit: (event: AerisSplitterResizeEvent) => void },\n ): void {\n const normalized = this.normalizeExplicitSizes(this.panels(), nextSizes);\n if (this.sameSizes(normalized, this.normalizedSizes())) return;\n this.sizes.set(normalized);\n emitter.emit(this.eventPayload(originalEvent, normalized, previousSizes, index));\n }\n\n private eventPayload(\n originalEvent: Event | null,\n sizes: readonly number[],\n previousSizes: readonly number[],\n index: number,\n ): AerisSplitterResizeEvent {\n return {\n originalEvent,\n sizes,\n previousSizes,\n index,\n nextIndex: index >= 0 ? index + 1 : -1,\n };\n }\n\n private normalizeSizes(\n panels: readonly AerisSplitterPanel[],\n requestedSizes: readonly number[],\n ): readonly number[] {\n if (panels.length === 0) return [];\n if (requestedSizes.length > 0) return this.normalizeExplicitSizes(panels, requestedSizes);\n\n const explicit = panels.map((panel) => panel.size());\n const totalExplicit = explicit.reduce<number>((total, value) => total + (value ?? 0), 0);\n const unsetCount = explicit.filter((value) => value === null).length;\n const fallbackSize = unsetCount > 0 ? Math.max(0, (100 - totalExplicit) / unsetCount) : 0;\n return this.normalizeExplicitSizes(\n panels,\n explicit.map((value) => value ?? fallbackSize),\n );\n }\n\n private normalizeExplicitSizes(\n panels: readonly AerisSplitterPanel[],\n requestedSizes: readonly number[],\n ): readonly number[] {\n if (panels.length === 0) return [];\n const fallbackSize = 100 / panels.length;\n const raw = panels.map((panel, index) => {\n const min = this.clampPercent(panel.minSize());\n const max = this.clampPercent(Math.max(panel.maxSize(), panel.minSize()));\n return clamp(requestedSizes[index] ?? panel.size() ?? fallbackSize, min, max);\n });\n const total = raw.reduce((sum, value) => sum + value, 0);\n if (total <= 0) return panels.map(() => roundSize(fallbackSize));\n return raw.map((value) => roundSize((value / total) * 100));\n }\n\n private resizePair(sizes: readonly number[], index: number, delta: number): readonly number[] {\n const states = this.panelStates();\n const current = states[index];\n const next = states[index + 1];\n if (!current || !next) return sizes;\n\n const pairTotal = (sizes[index] ?? current.size) + (sizes[index + 1] ?? next.size);\n const minCurrent = Math.max(current.minSize, pairTotal - next.maxSize);\n const maxCurrent = Math.min(current.maxSize, pairTotal - next.minSize);\n const currentSize = clamp((sizes[index] ?? current.size) + delta, minCurrent, maxCurrent);\n const nextSize = pairTotal - currentSize;\n\n return sizes.map((size, sizeIndex) =>\n sizeIndex === index\n ? roundSize(currentSize)\n : sizeIndex === index + 1\n ? roundSize(nextSize)\n : size,\n );\n }\n\n private handleBoundsFromStates(\n states: readonly AerisSplitterPanelState[],\n index: number,\n ): { readonly min: number; readonly max: number } {\n const current = states[index];\n const next = states[index + 1];\n if (!current || !next) return { min: 0, max: 0 };\n const pairTotal = current.size + next.size;\n return {\n min: Math.max(current.minSize, pairTotal - next.maxSize),\n max: Math.min(current.maxSize, pairTotal - next.minSize),\n };\n }\n\n private handleZIndex(states: readonly AerisSplitterPanelState[], index: number): number {\n const handleCount = Math.max(0, states.length - 1);\n const position = states.slice(0, index + 1).reduce((total, state) => total + state.size, 0);\n return position > 50 ? handleCount - index : index + 1;\n }\n\n private keyAmount(event: KeyboardEvent): number | 'min' | 'max' | null {\n const step = Math.max(1, this.step());\n if (event.key === 'Home') return 'min';\n if (event.key === 'End') return 'max';\n if (this.orientation() === 'horizontal') {\n if (event.key === 'ArrowLeft') return -step;\n if (event.key === 'ArrowRight') return step;\n } else {\n if (event.key === 'ArrowUp') return -step;\n if (event.key === 'ArrowDown') return step;\n }\n return null;\n }\n\n private pointerCoordinate(event: PointerEvent): number {\n return this.orientation() === 'horizontal' ? event.clientX : event.clientY;\n }\n\n private containerPixelSize(): number {\n const rect = this.root()?.nativeElement.getBoundingClientRect();\n return this.orientation() === 'horizontal' ? rect?.width ?? 0 : rect?.height ?? 0;\n }\n\n private sameSizes(left: readonly number[], right: readonly number[]): boolean {\n return left.length === right.length && left.every((value, index) => Math.abs(value - (right[index] ?? 0)) < 0.001);\n }\n\n private clampPercent(value: number): number {\n return clamp(Number.isFinite(value) ? value : 0, 0, 100);\n }\n}\n\nfunction nullableNumberAttribute(value: unknown): number | null {\n if (value === null || value === undefined || value === '') return null;\n const parsed = Number(value);\n return Number.isFinite(parsed) ? parsed : null;\n}\n\nfunction clamp(value: number, min: number, max: number): number {\n return Math.min(Math.max(value, min), max);\n}\n\nfunction roundSize(value: number): number {\n return Math.round(value * 1000) / 1000;\n}\n\nexport const AerisSplitterModule = [AerisSplitter, AerisSplitterPanel] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAoEA,IAAI,mBAAmB,GAAG,CAAC;MAad,kBAAkB,CAAA;AACZ,IAAA,OAAO,GAAG,MAAM,CAA0B,UAAU,CAAC;IACrD,UAAU,GAAG,EAAE,mBAAmB;IAE1C,IAAI,GAAG,KAAK,CAAgB,IAAI,4EAAI,SAAS,EAAE,uBAAuB,EAAA,CAAG;IACzE,OAAO,GAAG,KAAK,CAAC,CAAC,+EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;IAClD,OAAO,GAAG,KAAK,CAAC,GAAG,+EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;IACpD,SAAS,GAAG,KAAK,CAAC,IAAI,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;IACxD,SAAS,GAAG,KAAK,CAAC,EAAE;kFAAC;AACrB,IAAA,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAuB,SAAS;gFAAC;AAC7D,IAAA,OAAO,GAAG,CAAA,qBAAA,EAAwB,IAAI,CAAC,UAAU,EAAE;AAE5D,IAAA,eAAe,CAAC,YAAyB,EAAA;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa;QACvD,QACE,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,8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,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CACkE,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AA4Q7E,SAAS,uBAAuB,CAAC,KAAc,EAAA;IAC7C,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE;AAAE,QAAA,OAAO,IAAI;AACtE,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;AAC5B,IAAA,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,IAAI;AAChD;AAEA,SAAS,KAAK,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW,EAAA;AACpD,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC;AAC5C;AAEA,SAAS,SAAS,CAAC,KAAa,EAAA;IAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,IAAI;AACxC;MAEa,mBAAmB,GAAG,CAAC,aAAa,EAAE,kBAAkB;;AClfrE;;AAEG;;;;"}
1
+ {"version":3,"file":"aeris-ui-core-splitter.mjs","sources":["../../../projects/aeris-ui/splitter/aeris-splitter.ts","../../../projects/aeris-ui/splitter/aeris-ui-core-splitter.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\n\nexport type AerisSplitterOrientation = 'horizontal' | 'vertical';\nexport type AerisSplitterVariant = 'outlined' | 'filled' | 'plain';\nexport type AerisSplitterSize = 'sm' | 'md' | 'lg';\nexport type AerisSplitterDivider = 'handle' | 'line';\n\nexport interface AerisSplitterResizeEvent {\n readonly originalEvent: Event | null;\n readonly sizes: readonly number[];\n readonly previousSizes: readonly number[];\n readonly index: number;\n readonly nextIndex: number;\n}\n\ninterface AerisSplitterPanelState {\n readonly panel: AerisSplitterPanel;\n readonly index: number;\n readonly id: string;\n readonly label: string;\n readonly size: number;\n readonly minSize: number;\n readonly maxSize: number;\n readonly resizable: boolean;\n readonly content: TemplateRef<unknown>;\n}\n\ninterface AerisSplitterHandleState {\n readonly index: number;\n readonly id: string;\n readonly currentPanelId: string;\n readonly nextPanelId: string;\n readonly disabled: boolean;\n readonly active: boolean;\n readonly min: number;\n readonly max: number;\n readonly value: number;\n readonly zIndex: number;\n}\n\ninterface ResizeSession {\n readonly index: number;\n readonly pointerId: number;\n readonly startCoordinate: number;\n readonly containerSize: number;\n readonly startSizes: readonly number[];\n readonly previousSizes: readonly number[];\n readonly move: (event: PointerEvent) => void;\n readonly end: (event: PointerEvent) => void;\n}\n\nlet nextSplitterPanelId = 0;\n\n@Component({\n selector: 'aeris-splitter-panel',\n template: `\n <ng-template #content>\n <ng-content />\n </ng-template>\n `,\n host: {\n '[style.display]': '\"none\"',\n },\n})\nexport class AerisSplitterPanel {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly instanceId = ++nextSplitterPanelId;\n\n readonly size = input<number | null>(null, { transform: nullableNumberAttribute });\n readonly minSize = input(0, { transform: numberAttribute });\n readonly maxSize = input(100, { transform: numberAttribute });\n readonly resizable = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('');\n readonly content = viewChild.required<TemplateRef<unknown>>('content');\n readonly panelId = `aeris-splitter-panel-${this.instanceId}`;\n\n isDirectPanelOf(splitterHost: HTMLElement): boolean {\n const parent = this.element.nativeElement.parentElement;\n return (\n parent?.classList.contains('aeris-splitter__panel-source') === true &&\n parent.parentElement === splitterHost\n );\n }\n}\n\n@Component({\n selector: 'aeris-splitter',\n imports: [NgTemplateOutlet],\n template: `\n <div class=\"aeris-splitter__panel-source\" aria-hidden=\"true\">\n <ng-content />\n </div>\n\n <div\n #root\n class=\"aeris-splitter__root\"\n [attr.role]=\"role()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [style.block-size]=\"height() || null\"\n [style.min-block-size]=\"minHeight() || null\"\n [style.max-block-size]=\"maxHeight() || null\"\n [style.inline-size]=\"width() || null\"\n [style.max-inline-size]=\"maxWidth() || null\"\n >\n @for (state of panelStates(); track state.id; let last = $last) {\n <section\n class=\"aeris-splitter__panel\"\n [id]=\"state.id\"\n [attr.aria-label]=\"state.label || null\"\n [attr.data-resizable]=\"state.resizable || null\"\n [style.flex-grow]=\"state.size\"\n [style.flex-basis.%]=\"0\"\n [style.min-inline-size.%]=\"orientation() === 'horizontal' ? state.minSize : null\"\n [style.max-inline-size.%]=\"orientation() === 'horizontal' ? state.maxSize : null\"\n [style.min-block-size.%]=\"orientation() === 'vertical' ? state.minSize : null\"\n [style.max-block-size.%]=\"orientation() === 'vertical' ? state.maxSize : null\"\n >\n <div class=\"aeris-splitter__panel-content\">\n <ng-container [ngTemplateOutlet]=\"state.content\" />\n </div>\n </section>\n\n @if (!last) {\n <div\n #gutter\n class=\"aeris-splitter__gutter\"\n role=\"separator\"\n tabindex=\"0\"\n [id]=\"handleStates()[state.index]?.id\"\n [attr.aria-label]=\"separatorLabel()\"\n [attr.aria-controls]=\"handleStates()[state.index]?.currentPanelId + ' ' + handleStates()[state.index]?.nextPanelId\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-valuemin]=\"handleStates()[state.index]?.min\"\n [attr.aria-valuemax]=\"handleStates()[state.index]?.max\"\n [attr.aria-valuenow]=\"handleStates()[state.index]?.value\"\n [attr.aria-disabled]=\"handleStates()[state.index]?.disabled || null\"\n [attr.data-active]=\"handleStates()[state.index]?.active || null\"\n [attr.data-disabled]=\"handleStates()[state.index]?.disabled || null\"\n [style.z-index]=\"handleStates()[state.index]?.zIndex\"\n (pointerdown)=\"handlePointerDown($event, state.index)\"\n (keydown)=\"handleGutterKeydown($event, state.index)\"\n >\n <span class=\"aeris-splitter__handle\" aria-hidden=\"true\"></span>\n </div>\n }\n }\n </div>\n `,\n styleUrl: './aeris-splitter.scss',\n host: {\n class: 'aeris-splitter',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n '[attr.data-divider]': 'divider()',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-dragging]': 'activeHandle() !== null || null',\n '[attr.data-fluid]': 'fluid() || null',\n '[style.block-size]': 'height() || null',\n '[style.min-block-size]': 'minHeight() || null',\n '[style.max-block-size]': 'maxHeight() || null',\n '[style.inline-size]': 'width() || null',\n '[style.max-inline-size]': 'maxWidth() || null',\n },\n})\nexport class AerisSplitter {\n private readonly hostElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly root = viewChild<ElementRef<HTMLElement>>('root');\n\n readonly sizes = model<readonly number[]>([]);\n readonly orientation = input<AerisSplitterOrientation>('horizontal');\n readonly variant = input<AerisSplitterVariant>('outlined');\n readonly size = input<AerisSplitterSize>('md');\n readonly divider = input<AerisSplitterDivider>('handle');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly fluid = input(true, { transform: booleanAttribute });\n readonly step = input(5, { transform: numberAttribute });\n readonly height = input('');\n readonly minHeight = input('');\n readonly maxHeight = input('');\n readonly width = input('100%');\n readonly maxWidth = input('');\n readonly role = input<'group' | 'region' | null>('group');\n readonly ariaLabel = input('Resizable panels');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly separatorLabel = input('Resize panels');\n\n readonly resizeStart = output<AerisSplitterResizeEvent>();\n readonly resized = output<AerisSplitterResizeEvent>();\n readonly resizeEnd = output<AerisSplitterResizeEvent>();\n\n private readonly discoveredPanels = contentChildren(AerisSplitterPanel, {\n descendants: true,\n });\n protected readonly gutters = viewChildren<ElementRef<HTMLElement>>('gutter');\n protected readonly activeHandle = signal<number | null>(null);\n protected readonly panels = computed(() =>\n this.discoveredPanels().filter((panel) => panel.isDirectPanelOf(this.hostElement)),\n );\n protected readonly normalizedSizes = computed(() => this.normalizeSizes(this.panels(), this.sizes()));\n protected readonly panelStates = computed<readonly AerisSplitterPanelState[]>(() => {\n const sizes = this.normalizedSizes();\n return this.panels().map((panel, index) => ({\n panel,\n index,\n id: panel.panelId,\n label: panel.ariaLabel(),\n size: sizes[index] ?? 0,\n minSize: this.clampPercent(panel.minSize()),\n maxSize: this.clampPercent(Math.max(panel.maxSize(), panel.minSize())),\n resizable: panel.resizable(),\n content: panel.content(),\n }));\n });\n protected readonly handleStates = computed<readonly AerisSplitterHandleState[]>(() => {\n const states = this.panelStates();\n const activeHandle = this.activeHandle();\n return states.slice(0, -1).map((state, index) => {\n const next = states[index + 1];\n const bounds = this.handleBoundsFromStates(states, index);\n return {\n index,\n id: `aeris-splitter-gutter-${state.id}`,\n currentPanelId: state.id,\n nextPanelId: next?.id ?? '',\n disabled: this.disabled() || !state.resizable || !next?.resizable,\n active: activeHandle === index,\n min: Math.round(bounds.min),\n max: Math.round(bounds.max),\n value: Math.round(state.size),\n zIndex: this.handleZIndex(states, index),\n };\n });\n });\n\n private activeSession: ResizeSession | null = null;\n\n constructor() {\n this.destroyRef.onDestroy(() => this.removeDocumentListeners());\n }\n\n setSizes(sizes: readonly number[], originalEvent: Event | null = null): void {\n const previousSizes = this.normalizedSizes();\n const nextSizes = this.normalizeExplicitSizes(this.panels(), sizes);\n this.commitSizes(nextSizes, previousSizes, -1, originalEvent, this.resized);\n }\n\n reset(originalEvent: Event | null = null): void {\n const previousSizes = this.normalizedSizes();\n const nextSizes = this.normalizeSizes(this.panels(), []);\n this.commitSizes(nextSizes, previousSizes, -1, originalEvent, this.resized);\n }\n\n focusHandle(index: number, options?: FocusOptions): void {\n this.gutters()[index]?.nativeElement.focus(options);\n }\n\n protected handlePointerDown(event: PointerEvent, index: number): void {\n if (event.button !== 0 || this.handleStates()[index]?.disabled) return;\n const containerSize = this.containerPixelSize();\n if (containerSize <= 0) return;\n\n event.preventDefault();\n const startSizes = this.normalizedSizes();\n const session: ResizeSession = {\n index,\n pointerId: event.pointerId,\n startCoordinate: this.pointerCoordinate(event),\n containerSize,\n startSizes,\n previousSizes: startSizes,\n move: (moveEvent) => this.handlePointerMove(moveEvent),\n end: (endEvent) => this.handlePointerEnd(endEvent),\n };\n this.activeSession = session;\n this.activeHandle.set(index);\n this.document.addEventListener('pointermove', session.move);\n this.document.addEventListener('pointerup', session.end);\n this.document.addEventListener('pointercancel', session.end);\n this.resizeStart.emit(this.eventPayload(event, startSizes, startSizes, index));\n }\n\n protected handleGutterKeydown(event: KeyboardEvent, index: number): void {\n if (this.handleStates()[index]?.disabled) return;\n\n const amount = this.keyAmount(event);\n if (amount === null) return;\n\n event.preventDefault();\n const previousSizes = this.normalizedSizes();\n const nextSizes =\n amount === 'min'\n ? this.resizePair(previousSizes, index, Number.NEGATIVE_INFINITY)\n : amount === 'max'\n ? this.resizePair(previousSizes, index, Number.POSITIVE_INFINITY)\n : this.resizePair(previousSizes, index, amount);\n this.commitSizes(nextSizes, previousSizes, index, event, this.resized);\n }\n\n private handlePointerMove(event: PointerEvent): void {\n const session = this.activeSession;\n if (!session || event.pointerId !== session.pointerId) return;\n event.preventDefault();\n const delta = ((this.pointerCoordinate(event) - session.startCoordinate) / session.containerSize) * 100;\n const nextSizes = this.resizePair(session.startSizes, session.index, delta);\n this.commitSizes(nextSizes, session.previousSizes, session.index, event, this.resized);\n }\n\n private handlePointerEnd(event: PointerEvent): void {\n const session = this.activeSession;\n if (!session || event.pointerId !== session.pointerId) return;\n event.preventDefault();\n const previousSizes = session.previousSizes;\n const nextSizes = this.normalizedSizes();\n this.removeDocumentListeners();\n this.resizeEnd.emit(this.eventPayload(event, nextSizes, previousSizes, session.index));\n }\n\n private removeDocumentListeners(): void {\n const session = this.activeSession;\n if (!session) return;\n this.document.removeEventListener('pointermove', session.move);\n this.document.removeEventListener('pointerup', session.end);\n this.document.removeEventListener('pointercancel', session.end);\n this.activeSession = null;\n this.activeHandle.set(null);\n }\n\n private commitSizes(\n nextSizes: readonly number[],\n previousSizes: readonly number[],\n index: number,\n originalEvent: Event | null,\n emitter: { emit: (event: AerisSplitterResizeEvent) => void },\n ): void {\n const normalized = this.normalizeExplicitSizes(this.panels(), nextSizes);\n if (this.sameSizes(normalized, this.normalizedSizes())) return;\n this.sizes.set(normalized);\n emitter.emit(this.eventPayload(originalEvent, normalized, previousSizes, index));\n }\n\n private eventPayload(\n originalEvent: Event | null,\n sizes: readonly number[],\n previousSizes: readonly number[],\n index: number,\n ): AerisSplitterResizeEvent {\n return {\n originalEvent,\n sizes,\n previousSizes,\n index,\n nextIndex: index >= 0 ? index + 1 : -1,\n };\n }\n\n private normalizeSizes(\n panels: readonly AerisSplitterPanel[],\n requestedSizes: readonly number[],\n ): readonly number[] {\n if (panels.length === 0) return [];\n if (requestedSizes.length > 0) return this.normalizeExplicitSizes(panels, requestedSizes);\n\n const explicit = panels.map((panel) => panel.size());\n const totalExplicit = explicit.reduce<number>((total, value) => total + (value ?? 0), 0);\n const unsetCount = explicit.filter((value) => value === null).length;\n const fallbackSize = unsetCount > 0 ? Math.max(0, (100 - totalExplicit) / unsetCount) : 0;\n return this.normalizeExplicitSizes(\n panels,\n explicit.map((value) => value ?? fallbackSize),\n );\n }\n\n private normalizeExplicitSizes(\n panels: readonly AerisSplitterPanel[],\n requestedSizes: readonly number[],\n ): readonly number[] {\n if (panels.length === 0) return [];\n const fallbackSize = 100 / panels.length;\n const raw = panels.map((panel, index) => {\n const min = this.clampPercent(panel.minSize());\n const max = this.clampPercent(Math.max(panel.maxSize(), panel.minSize()));\n return clamp(requestedSizes[index] ?? panel.size() ?? fallbackSize, min, max);\n });\n const total = raw.reduce((sum, value) => sum + value, 0);\n if (total <= 0) return panels.map(() => roundSize(fallbackSize));\n return raw.map((value) => roundSize((value / total) * 100));\n }\n\n private resizePair(sizes: readonly number[], index: number, delta: number): readonly number[] {\n const states = this.panelStates();\n const current = states[index];\n const next = states[index + 1];\n if (!current || !next) return sizes;\n\n const pairTotal = (sizes[index] ?? current.size) + (sizes[index + 1] ?? next.size);\n const minCurrent = Math.max(current.minSize, pairTotal - next.maxSize);\n const maxCurrent = Math.min(current.maxSize, pairTotal - next.minSize);\n const currentSize = clamp((sizes[index] ?? current.size) + delta, minCurrent, maxCurrent);\n const nextSize = pairTotal - currentSize;\n\n return sizes.map((size, sizeIndex) =>\n sizeIndex === index\n ? roundSize(currentSize)\n : sizeIndex === index + 1\n ? roundSize(nextSize)\n : size,\n );\n }\n\n private handleBoundsFromStates(\n states: readonly AerisSplitterPanelState[],\n index: number,\n ): { readonly min: number; readonly max: number } {\n const current = states[index];\n const next = states[index + 1];\n if (!current || !next) return { min: 0, max: 0 };\n const pairTotal = current.size + next.size;\n return {\n min: Math.max(current.minSize, pairTotal - next.maxSize),\n max: Math.min(current.maxSize, pairTotal - next.minSize),\n };\n }\n\n private handleZIndex(states: readonly AerisSplitterPanelState[], index: number): number {\n const handleCount = Math.max(0, states.length - 1);\n const position = states.slice(0, index + 1).reduce((total, state) => total + state.size, 0);\n return position > 50 ? handleCount - index : index + 1;\n }\n\n private keyAmount(event: KeyboardEvent): number | 'min' | 'max' | null {\n const step = Math.max(1, this.step());\n if (event.key === 'Home') return 'min';\n if (event.key === 'End') return 'max';\n if (this.orientation() === 'horizontal') {\n if (event.key === 'ArrowLeft') return -step;\n if (event.key === 'ArrowRight') return step;\n } else {\n if (event.key === 'ArrowUp') return -step;\n if (event.key === 'ArrowDown') return step;\n }\n return null;\n }\n\n private pointerCoordinate(event: PointerEvent): number {\n return this.orientation() === 'horizontal' ? event.clientX : event.clientY;\n }\n\n private containerPixelSize(): number {\n const rect = this.root()?.nativeElement.getBoundingClientRect();\n return this.orientation() === 'horizontal' ? rect?.width ?? 0 : rect?.height ?? 0;\n }\n\n private sameSizes(left: readonly number[], right: readonly number[]): boolean {\n return left.length === right.length && left.every((value, index) => Math.abs(value - (right[index] ?? 0)) < 0.001);\n }\n\n private clampPercent(value: number): number {\n return clamp(Number.isFinite(value) ? value : 0, 0, 100);\n }\n}\n\nfunction nullableNumberAttribute(value: unknown): number | null {\n if (value === null || value === undefined || value === '') return null;\n const parsed = Number(value);\n return Number.isFinite(parsed) ? parsed : null;\n}\n\nfunction clamp(value: number, min: number, max: number): number {\n return Math.min(Math.max(value, min), max);\n}\n\nfunction roundSize(value: number): number {\n return Math.round(value * 1000) / 1000;\n}\n\nexport const AerisSplitterModule = [AerisSplitter, AerisSplitterPanel] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAoEA,IAAI,mBAAmB,GAAG,CAAC;MAad,kBAAkB,CAAA;AACZ,IAAA,OAAO,GAAG,MAAM,CAA0B,UAAU,CAAC;IACrD,UAAU,GAAG,EAAE,mBAAmB;IAE1C,IAAI,GAAG,KAAK,CAAgB,IAAI,4EAAI,SAAS,EAAE,uBAAuB,EAAA,CAAG;IACzE,OAAO,GAAG,KAAK,CAAC,CAAC,+EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;IAClD,OAAO,GAAG,KAAK,CAAC,GAAG,+EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;IACpD,SAAS,GAAG,KAAK,CAAC,IAAI,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;IACxD,SAAS,GAAG,KAAK,CAAC,EAAE;kFAAC;AACrB,IAAA,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAuB,SAAS;gFAAC;AAC7D,IAAA,OAAO,GAAG,CAAA,qBAAA,EAAwB,IAAI,CAAC,UAAU,EAAE;AAE5D,IAAA,eAAe,CAAC,YAAyB,EAAA;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,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A,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CACkE,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AA4Q7E,SAAS,uBAAuB,CAAC,KAAc,EAAA;IAC7C,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE;AAAE,QAAA,OAAO,IAAI;AACtE,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;AAC5B,IAAA,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,IAAI;AAChD;AAEA,SAAS,KAAK,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW,EAAA;AACpD,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC;AAC5C;AAEA,SAAS,SAAS,CAAC,KAAa,EAAA;IAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,IAAI;AACxC;MAEa,mBAAmB,GAAG,CAAC,aAAa,EAAE,kBAAkB;;AClfrE;;AAEG;;"}
@@ -4,19 +4,19 @@ import { inject, TemplateRef, Directive, ElementRef, input, booleanAttribute, vi
4
4
 
5
5
  class AerisStepHeaderTemplate {
6
6
  template = inject(TemplateRef);
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisStepHeaderTemplate, isStandalone: true, selector: "ng-template[aerisStepHeader]", ngImport: i0 });
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisStepHeaderTemplate, isStandalone: true, selector: "ng-template[aerisStepHeader]", ngImport: i0 });
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepHeaderTemplate, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepHeaderTemplate, decorators: [{
11
11
  type: Directive,
12
12
  args: [{ selector: 'ng-template[aerisStepHeader]' }]
13
13
  }] });
14
14
  class AerisStepIndicatorTemplate {
15
15
  template = inject(TemplateRef);
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepIndicatorTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisStepIndicatorTemplate, isStandalone: true, selector: "ng-template[aerisStepIndicator]", ngImport: i0 });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepIndicatorTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: AerisStepIndicatorTemplate, isStandalone: true, selector: "ng-template[aerisStepIndicator]", ngImport: i0 });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepIndicatorTemplate, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepIndicatorTemplate, decorators: [{
20
20
  type: Directive,
21
21
  args: [{ selector: 'ng-template[aerisStepIndicator]' }]
22
22
  }] });
@@ -45,14 +45,14 @@ class AerisStep {
45
45
  return (parent?.classList.contains('aeris-stepper__step-source') === true &&
46
46
  parent.parentElement === stepperHost);
47
47
  }
48
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStep, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: AerisStep, isStandalone: true, selector: "aeris-step", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, optional: { classPropertyName: "optional", publicName: "optional", isSignal: true, isRequired: false, transformFunction: null }, completed: { classPropertyName: "completed", publicName: "completed", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.display": "\"none\"" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisStepHeaderTemplate, isSignal: true }, { propertyName: "indicatorTemplate", first: true, predicate: AerisStepIndicatorTemplate, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStep, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.4", type: AerisStep, isStandalone: true, selector: "aeris-step", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, optional: { classPropertyName: "optional", publicName: "optional", isSignal: true, isRequired: false, transformFunction: null }, completed: { classPropertyName: "completed", publicName: "completed", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.display": "\"none\"" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisStepHeaderTemplate, isSignal: true }, { propertyName: "indicatorTemplate", first: true, predicate: AerisStepIndicatorTemplate, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
50
50
  <ng-template #content>
51
51
  <ng-content />
52
52
  </ng-template>
53
53
  `, isInline: true });
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStep, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStep, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  selector: 'aeris-step',
@@ -230,8 +230,8 @@ class AerisStepper {
230
230
  }
231
231
  return undefined;
232
232
  }
233
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
234
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: AerisStepper, isStandalone: true, selector: "aeris-stepper", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, activationMode: { classPropertyName: "activationMode", publicName: "activationMode", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, stepsOnly: { classPropertyName: "stepsOnly", publicName: "stepsOnly", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, optionalLabel: { classPropertyName: "optionalLabel", publicName: "optionalLabel", 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 }, panelTabIndex: { classPropertyName: "panelTabIndex", publicName: "panelTabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", changed: "changed", stepFocused: "stepFocused" }, host: { properties: { "attr.data-orientation": "orientation()", "attr.data-size": "size()", "attr.data-variant": "variant()", "attr.data-linear": "linear() || null", "attr.data-steps-only": "stepsOnly() || null" }, classAttribute: "aeris-stepper" }, queries: [{ propertyName: "indicatorTemplate", first: true, predicate: AerisStepIndicatorTemplate, isSignal: true }, { propertyName: "discoveredSteps", predicate: AerisStep, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "stepButtons", predicate: ["stepButton"], descendants: true, isSignal: true }], ngImport: i0, template: `
233
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
234
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: AerisStepper, isStandalone: true, selector: "aeris-stepper", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, activationMode: { classPropertyName: "activationMode", publicName: "activationMode", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, stepsOnly: { classPropertyName: "stepsOnly", publicName: "stepsOnly", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, optionalLabel: { classPropertyName: "optionalLabel", publicName: "optionalLabel", 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 }, panelTabIndex: { classPropertyName: "panelTabIndex", publicName: "panelTabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", changed: "changed", stepFocused: "stepFocused" }, host: { properties: { "attr.data-orientation": "orientation()", "attr.data-size": "size()", "attr.data-variant": "variant()", "attr.data-linear": "linear() || null", "attr.data-steps-only": "stepsOnly() || null" }, classAttribute: "aeris-stepper" }, queries: [{ propertyName: "indicatorTemplate", first: true, predicate: AerisStepIndicatorTemplate, isSignal: true }, { propertyName: "discoveredSteps", predicate: AerisStep, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "stepButtons", predicate: ["stepButton"], descendants: true, isSignal: true }], ngImport: i0, template: `
235
235
  <div class="aeris-stepper__step-source" aria-hidden="true">
236
236
  <ng-content />
237
237
  </div>
@@ -320,7 +320,7 @@ class AerisStepper {
320
320
  }
321
321
  `, isInline: true, styles: [":host{--_aeris-stepper-trigger-size: 2.25rem;--_aeris-stepper-gap: .75rem;--_aeris-stepper-font-size: .875rem;display:block;min-width:0;color:var(--aeris-stepper-color, var(--aeris-text, #222222));font:inherit}:host([data-size=sm]){--_aeris-stepper-trigger-size: 1.875rem;--_aeris-stepper-gap: .5rem;--_aeris-stepper-font-size: .8125rem}:host([data-size=lg]){--_aeris-stepper-trigger-size: 2.75rem;--_aeris-stepper-gap: 1rem;--_aeris-stepper-font-size: .9375rem}.aeris-stepper__step-source{display:none}.aeris-stepper__list{min-width:0;display:flex;align-items:stretch;gap:var(--_aeris-stepper-gap)}.aeris-stepper__item{min-width:0;flex:1 1 0;display:flex;align-items:center;gap:var(--_aeris-stepper-gap)}.aeris-stepper__trigger{min-width:0;flex:0 1 auto;display:inline-grid;grid-template-columns:var(--_aeris-stepper-trigger-size) minmax(0,1fr);align-items:center;gap:.625rem;padding:var(--aeris-stepper-trigger-padding, .375rem);border:0;border-radius:var(--aeris-stepper-radius, var(--aeris-radius-md, .6875rem));background:transparent;color:var(--aeris-stepper-muted-color, var(--aeris-text-2, #555555));font:inherit;font-size:var(--_aeris-stepper-font-size);text-align:start;cursor:pointer}.aeris-stepper__trigger:hover:not(:disabled){background:var(--aeris-stepper-hover-background, var(--aeris-interactive-hover, var(--aeris-surface-2, #f2f0ec)));color:var(--aeris-stepper-color, var(--aeris-text, #222222))}.aeris-stepper__trigger:focus-visible{outline:2px solid var(--aeris-stepper-focus, var(--aeris-focus, #3b4729));outline-offset:2px}.aeris-stepper__trigger:disabled{opacity:var(--aeris-disabled-opacity, .45);cursor:not-allowed}.aeris-stepper__indicator{width:var(--_aeris-stepper-trigger-size);height:var(--_aeris-stepper-trigger-size);display:inline-grid;place-items:center;border:1px solid var(--aeris-stepper-indicator-border, var(--aeris-border, #deddd7));border-radius:999px;background:var(--aeris-stepper-indicator-background, var(--aeris-surface, #fff));color:var(--aeris-stepper-muted-color, var(--aeris-text-2, #555555));font-size:.8125em;font-weight:800}.aeris-stepper__header{min-width:0;display:grid;gap:.125rem}.aeris-stepper__label{overflow:hidden;color:inherit;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.aeris-stepper__description,.aeris-stepper__optional{overflow:hidden;color:var(--aeris-stepper-description-color, var(--aeris-text-3, #73766f));font-size:.75em;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.aeris-stepper__connector{min-width:1.5rem;height:var(--aeris-stepper-connector-size, 1px);flex:1 1 auto;border-radius:999px;background:var(--aeris-stepper-connector, var(--aeris-border, #deddd7))}.aeris-stepper__check{position:relative;width:1rem;height:1rem}.aeris-stepper__check:before{position:absolute;top:48%;left:50%;width:.65rem;height:.35rem;border-bottom:2px solid currentColor;border-left:2px solid currentColor;content:\"\";transform:translate(-50%,-58%) rotate(-45deg)}.aeris-stepper__item[data-selected] .aeris-stepper__trigger{color:var(--aeris-stepper-active-color, var(--aeris-primary-text, #5f6f36))}.aeris-stepper__item[data-selected] .aeris-stepper__indicator{border-color:var(--aeris-stepper-active-border, var(--aeris-primary, #5f6f36));background:var(--aeris-stepper-active-background, var(--aeris-primary-soft, #eef1e4));color:var(--aeris-stepper-active-color, var(--aeris-primary-text, #5f6f36));box-shadow:0 0 0 4px color-mix(in srgb,var(--aeris-stepper-active-border, var(--aeris-primary, #5f6f36)) 16%,transparent)}.aeris-stepper__item[data-completed] .aeris-stepper__indicator{border-color:var(--aeris-stepper-complete-border, var(--aeris-success, #557345));background:var(--aeris-stepper-complete-background, color-mix(in srgb, var(--aeris-success, #557345) 14%, var(--aeris-surface, #fff)));color:var(--aeris-stepper-complete-color, var(--aeris-success, #557345))}.aeris-stepper__item[data-completed] .aeris-stepper__connector{background:var(--aeris-stepper-complete-border, var(--aeris-success, #557345))}.aeris-stepper__item[data-invalid] .aeris-stepper__indicator{border-color:var(--aeris-stepper-invalid-border, var(--aeris-danger, #c81e2a));background:var(--aeris-stepper-invalid-background, color-mix(in srgb, var(--aeris-danger, #c81e2a) 12%, var(--aeris-surface, #fff)));color:var(--aeris-stepper-invalid-color, var(--aeris-danger-text, #a31722))}:host([data-variant=contained]) .aeris-stepper__list{padding:var(--aeris-stepper-list-padding, .375rem);border:1px solid var(--aeris-stepper-border, var(--aeris-border));border-radius:calc(var(--aeris-stepper-radius, var(--aeris-radius-md, .6875rem)) + .375rem);background:var(--aeris-stepper-list-background, var(--aeris-surface, #fff))}.aeris-stepper__panel{min-width:0;margin-top:var(--aeris-stepper-panel-gap, 1.25rem);padding:var(--aeris-stepper-panel-padding, 1.125rem);border:1px solid var(--aeris-stepper-panel-border, var(--aeris-border));border-radius:var(--aeris-stepper-panel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-stepper-panel-background, var(--aeris-surface, #fff));color:var(--aeris-stepper-panel-color, var(--aeris-text-2, #555555))}.aeris-stepper__panel:focus-visible{outline:2px solid var(--aeris-stepper-focus, var(--aeris-focus, #3b4729));outline-offset:2px}:host([data-orientation=vertical]){display:grid;grid-template-columns:minmax(14rem,max-content) minmax(0,1fr);gap:var(--aeris-stepper-vertical-gap, 1.25rem)}:host([data-orientation=vertical]) .aeris-stepper__list{flex-direction:column}:host([data-orientation=vertical]) .aeris-stepper__item{align-items:stretch;flex:0 0 auto;flex-direction:column}:host([data-orientation=vertical]) .aeris-stepper__trigger{width:100%}:host([data-orientation=vertical]) .aeris-stepper__connector{width:var(--aeris-stepper-connector-size, 1px);min-width:0;min-height:1.5rem;margin-inline-start:calc(var(--_aeris-stepper-trigger-size) / 2 + .375rem)}:host([data-orientation=vertical]) .aeris-stepper__panel{margin-top:0}:host([data-steps-only][data-orientation=vertical]){display:block}@media(max-width:48rem){:host,:host([data-orientation=vertical]){display:block}.aeris-stepper__list,:host([data-orientation=vertical]) .aeris-stepper__list{flex-direction:column}.aeris-stepper__item,:host([data-orientation=vertical]) .aeris-stepper__item{align-items:stretch;flex-direction:column}.aeris-stepper__trigger{width:100%}.aeris-stepper__connector,:host([data-orientation=vertical]) .aeris-stepper__connector{width:var(--aeris-stepper-connector-size, 1px);min-width:0;min-height:1rem;margin-inline-start:calc(var(--_aeris-stepper-trigger-size) / 2 + .375rem)}.aeris-stepper__panel{margin-top:1rem}}@media(prefers-reduced-motion:reduce){.aeris-stepper__trigger,.aeris-stepper__indicator{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
322
322
  }
323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStepper, decorators: [{
323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStepper, decorators: [{
324
324
  type: Component,
325
325
  args: [{ selector: 'aeris-stepper', imports: [NgTemplateOutlet], template: `
326
326
  <div class="aeris-stepper__step-source" aria-hidden="true">
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-stepper.mjs","sources":["../../../projects/aeris-ui/stepper/aeris-stepper.ts","../../../projects/aeris-ui/stepper/aeris-ui-core-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n contentChildren,\n inject,\n input,\n model,\n output,\n viewChild,\n viewChildren,\n} from '@angular/core';\n\nexport type AerisStepperOrientation = 'horizontal' | 'vertical';\nexport type AerisStepperActivationMode = 'automatic' | 'manual';\nexport type AerisStepperSize = 'sm' | 'md' | 'lg';\nexport type AerisStepperVariant = 'line' | 'contained';\n\nexport interface AerisStepperChangeEvent {\n readonly originalEvent: Event | null;\n readonly value: string;\n readonly previousValue: string;\n readonly index: number;\n}\n\nexport interface AerisStepTemplateContext {\n readonly $implicit: boolean;\n readonly selected: boolean;\n readonly active: boolean;\n readonly completed: boolean;\n readonly invalid: boolean;\n readonly disabled: boolean;\n readonly optional: boolean;\n readonly index: number;\n readonly value: string;\n readonly label: string;\n readonly description: string;\n}\n\ninterface AerisStepState extends AerisStepTemplateContext {\n readonly step: AerisStep;\n readonly stepId: string;\n readonly panelId: string;\n readonly reachable: boolean;\n readonly content: TemplateRef<unknown>;\n readonly headerTemplate: TemplateRef<AerisStepTemplateContext> | null;\n readonly indicatorTemplate: TemplateRef<AerisStepTemplateContext> | null;\n}\n\n@Directive({ selector: 'ng-template[aerisStepHeader]' })\nexport class AerisStepHeaderTemplate {\n readonly template = inject<TemplateRef<AerisStepTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisStepIndicator]' })\nexport class AerisStepIndicatorTemplate {\n readonly template = inject<TemplateRef<AerisStepTemplateContext>>(TemplateRef);\n}\n\nlet nextStepId = 0;\n\n@Component({\n selector: 'aeris-step',\n template: `\n <ng-template #content>\n <ng-content />\n </ng-template>\n `,\n host: {\n '[style.display]': '\"none\"',\n },\n})\nexport class AerisStep {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly instanceId = nextStepId++;\n\n readonly value = input.required<string>();\n readonly label = input.required<string>();\n readonly description = input('');\n readonly optional = input(false, { transform: booleanAttribute });\n readonly completed = input(false, { transform: booleanAttribute });\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly stepId = `aeris-step-${this.instanceId}`;\n readonly panelId = `aeris-step-panel-${this.instanceId}`;\n readonly content = viewChild.required<TemplateRef<unknown>>('content');\n readonly headerTemplate = contentChild(AerisStepHeaderTemplate, {\n descendants: false,\n });\n readonly indicatorTemplate = contentChild(AerisStepIndicatorTemplate, {\n descendants: false,\n });\n\n isDirectStepOf(stepperHost: HTMLElement): boolean {\n const parent = this.element.nativeElement.parentElement;\n return (\n parent?.classList.contains('aeris-stepper__step-source') === true &&\n parent.parentElement === stepperHost\n );\n }\n}\n\n@Component({\n selector: 'aeris-stepper',\n imports: [NgTemplateOutlet],\n template: `\n <div class=\"aeris-stepper__step-source\" aria-hidden=\"true\">\n <ng-content />\n </div>\n\n <div\n class=\"aeris-stepper__list\"\n [attr.role]=\"stepsOnly() ? 'list' : 'tablist'\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-orientation]=\"stepsOnly() ? null : orientation()\"\n (keydown)=\"handleListKeydown($event)\"\n >\n @for (state of stepStates(); track state.value; let last = $last) {\n <div\n class=\"aeris-stepper__item\"\n [attr.role]=\"stepsOnly() ? 'listitem' : null\"\n [attr.data-selected]=\"state.selected || null\"\n [attr.data-completed]=\"state.completed || null\"\n [attr.data-invalid]=\"state.invalid || null\"\n [attr.data-disabled]=\"state.disabled || null\"\n [attr.data-reachable]=\"state.reachable || null\"\n >\n <button\n #stepButton\n class=\"aeris-stepper__trigger\"\n type=\"button\"\n [attr.role]=\"stepsOnly() ? null : 'tab'\"\n [id]=\"state.stepId\"\n [disabled]=\"state.disabled || !state.reachable\"\n [attr.aria-selected]=\"stepsOnly() ? null : state.selected\"\n [attr.aria-controls]=\"stepsOnly() ? null : state.panelId\"\n [attr.aria-current]=\"state.selected ? 'step' : null\"\n [attr.aria-invalid]=\"state.invalid || null\"\n [attr.tabindex]=\"state.selected ? 0 : -1\"\n (click)=\"select(state.value, $event)\"\n (focus)=\"stepFocused.emit(state.value)\"\n >\n <span class=\"aeris-stepper__indicator\" aria-hidden=\"true\">\n @if (state.indicatorTemplate; as indicatorTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"indicatorTemplate\"\n [ngTemplateOutletContext]=\"state\"\n />\n } @else if (state.completed) {\n <span class=\"aeris-stepper__check\"></span>\n } @else {\n {{ state.index + 1 }}\n }\n </span>\n <span class=\"aeris-stepper__header\">\n @if (state.headerTemplate; as headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"state\"\n />\n } @else {\n <span class=\"aeris-stepper__label\">{{ state.label }}</span>\n @if (!stepsOnly() && state.description) {\n <span class=\"aeris-stepper__description\">{{ state.description }}</span>\n }\n @if (!stepsOnly() && state.optional) {\n <span class=\"aeris-stepper__optional\">{{ optionalLabel() }}</span>\n }\n }\n </span>\n </button>\n @if (!last) {\n <span class=\"aeris-stepper__connector\" aria-hidden=\"true\"></span>\n }\n </div>\n }\n </div>\n\n @if (!stepsOnly()) {\n @if (activeState(); as state) {\n <section\n class=\"aeris-stepper__panel\"\n role=\"tabpanel\"\n [id]=\"state.panelId\"\n [attr.aria-labelledby]=\"state.stepId\"\n [attr.tabindex]=\"panelTabIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"state.content\" />\n </section>\n }\n }\n `,\n styleUrl: './aeris-stepper.scss',\n host: {\n class: 'aeris-stepper',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n '[attr.data-linear]': 'linear() || null',\n '[attr.data-steps-only]': 'stepsOnly() || null',\n },\n})\nexport class AerisStepper {\n private readonly hostElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n readonly value = model('');\n readonly orientation = input<AerisStepperOrientation>('horizontal');\n readonly activationMode = input<AerisStepperActivationMode>('automatic');\n readonly linear = input(false, { transform: booleanAttribute });\n readonly stepsOnly = input(false, { transform: booleanAttribute });\n readonly size = input<AerisStepperSize>('md');\n readonly variant = input<AerisStepperVariant>('line');\n readonly optionalLabel = input('Optional');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly panelTabIndex = input<0 | -1>(0);\n\n readonly changed = output<AerisStepperChangeEvent>();\n readonly stepFocused = output<string>();\n\n private readonly indicatorTemplate = contentChild(AerisStepIndicatorTemplate, {\n descendants: false,\n });\n private readonly discoveredSteps = contentChildren(AerisStep, {\n descendants: true,\n });\n protected readonly stepButtons = viewChildren<ElementRef<HTMLButtonElement>>('stepButton');\n protected readonly steps = computed(() =>\n this.discoveredSteps().filter((step) => step.isDirectStepOf(this.hostElement)),\n );\n protected readonly activeState = computed(() => {\n const selectedValue = this.value();\n return (\n this.stepStates().find((state) => state.selected && !state.disabled) ??\n this.stepStates().find((state) => !state.disabled)\n );\n });\n protected readonly stepStates = computed<readonly AerisStepState[]>(() => {\n const steps = this.steps();\n const selectedValue = this.value();\n const activeIndex = Math.max(\n steps.findIndex((step) => !step.disabled() && step.value() === selectedValue),\n steps.findIndex((step) => !step.disabled()),\n );\n const globalIndicator = this.indicatorTemplate()?.template ?? null;\n\n const lastReachableIndex = this.linear()\n ? Math.min(activeIndex + 1, steps.length - 1)\n : steps.length - 1;\n\n return steps.map((step, index) => {\n const selected = index === activeIndex;\n const completed = step.completed() || index < activeIndex;\n const invalid = step.invalid();\n const disabled = step.disabled();\n const reachable = !this.linear() || index <= lastReachableIndex;\n const context: AerisStepTemplateContext = {\n $implicit: selected,\n selected,\n active: selected,\n completed,\n invalid,\n disabled,\n optional: step.optional(),\n index,\n value: step.value(),\n label: step.label(),\n description: step.description(),\n };\n\n return {\n ...context,\n step,\n stepId: step.stepId,\n panelId: step.panelId,\n reachable,\n content: step.content(),\n headerTemplate: step.headerTemplate()?.template ?? null,\n indicatorTemplate: step.indicatorTemplate()?.template ?? globalIndicator,\n };\n });\n });\n\n select(value: string, originalEvent: Event | null = null): void {\n const state = this.stepStates().find((candidate) => candidate.value === value);\n if (!state || state.disabled || !state.reachable) return;\n\n const previousValue = this.activeState()?.value ?? '';\n if (previousValue === value && this.value() === value) return;\n this.value.set(value);\n this.changed.emit({\n originalEvent,\n value,\n previousValue,\n index: state.index,\n });\n }\n\n next(originalEvent: Event | null = null): void {\n const states = this.stepStates();\n const currentIndex = this.activeState()?.index ?? -1;\n const nextState = states.slice(currentIndex + 1).find((state) => !state.disabled && state.reachable);\n if (nextState) this.select(nextState.value, originalEvent);\n }\n\n previous(originalEvent: Event | null = null): void {\n const states = this.stepStates();\n const currentIndex = this.activeState()?.index ?? states.length;\n const previousState = [...states.slice(0, currentIndex)].reverse().find((state) => !state.disabled);\n if (previousState) this.select(previousState.value, originalEvent);\n }\n\n focusStep(value: string, options?: FocusOptions): void {\n const index = this.stepStates().findIndex(\n (state) => state.value === value && !state.disabled && state.reachable,\n );\n if (index < 0) return;\n this.stepButtons()[index]?.nativeElement.focus(options);\n }\n\n protected handleListKeydown(event: KeyboardEvent): void {\n if (\n this.activationMode() === 'manual' &&\n (event.key === 'Enter' || event.key === ' ')\n ) {\n event.preventDefault();\n const focused = this.focusedButtonState(event);\n if (focused) this.select(focused.value, event);\n return;\n }\n\n const direction = this.keyDirection(event.key);\n if (direction === undefined) return;\n event.preventDefault();\n\n const states = this.stepStates().filter((state) => !state.disabled && state.reachable);\n if (states.length === 0) return;\n const focused = this.focusedButtonState(event) ?? this.activeState();\n const currentIndex = Math.max(states.findIndex((state) => state.value === focused?.value), 0);\n const nextIndex =\n direction === 'first'\n ? 0\n : direction === 'last'\n ? states.length - 1\n : (currentIndex + direction + states.length) % states.length;\n const nextState = states[nextIndex];\n if (!nextState) return;\n\n if (this.activationMode() === 'automatic') this.select(nextState.value, event);\n this.focusStep(nextState.value);\n }\n\n private focusedButtonState(event: Event): AerisStepState | undefined {\n const index = this.stepButtons().findIndex((button) => button.nativeElement === event.target);\n return index >= 0 ? this.stepStates()[index] : undefined;\n }\n\n private keyDirection(key: string): -1 | 1 | 'first' | 'last' | undefined {\n if (key === 'Home') return 'first';\n if (key === 'End') return 'last';\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowLeft') ||\n (this.orientation() === 'vertical' && key === 'ArrowUp')\n ) {\n return -1;\n }\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowRight') ||\n (this.orientation() === 'vertical' && key === 'ArrowDown')\n ) {\n return 1;\n }\n return undefined;\n }\n}\n\nexport const AerisStepperModule = [\n AerisStepper,\n AerisStep,\n AerisStepHeaderTemplate,\n AerisStepIndicatorTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAuDa,uBAAuB,CAAA;AACzB,IAAA,QAAQ,GAAG,MAAM,CAAwC,WAAW,CAAC;uGADnE,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAvB,uBAAuB,EAAA,YAAA,EAAA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sources":["../../../projects/aeris-ui/stepper/aeris-stepper.ts","../../../projects/aeris-ui/stepper/aeris-ui-core-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n contentChildren,\n inject,\n input,\n model,\n output,\n viewChild,\n viewChildren,\n} from '@angular/core';\n\nexport type AerisStepperOrientation = 'horizontal' | 'vertical';\nexport type AerisStepperActivationMode = 'automatic' | 'manual';\nexport type AerisStepperSize = 'sm' | 'md' | 'lg';\nexport type AerisStepperVariant = 'line' | 'contained';\n\nexport interface AerisStepperChangeEvent {\n readonly originalEvent: Event | null;\n readonly value: string;\n readonly previousValue: string;\n readonly index: number;\n}\n\nexport interface AerisStepTemplateContext {\n readonly $implicit: boolean;\n readonly selected: boolean;\n readonly active: boolean;\n readonly completed: boolean;\n readonly invalid: boolean;\n readonly disabled: boolean;\n readonly optional: boolean;\n readonly index: number;\n readonly value: string;\n readonly label: string;\n readonly description: string;\n}\n\ninterface AerisStepState extends AerisStepTemplateContext {\n readonly step: AerisStep;\n readonly stepId: string;\n readonly panelId: string;\n readonly reachable: boolean;\n readonly content: TemplateRef<unknown>;\n readonly headerTemplate: TemplateRef<AerisStepTemplateContext> | null;\n readonly indicatorTemplate: TemplateRef<AerisStepTemplateContext> | null;\n}\n\n@Directive({ selector: 'ng-template[aerisStepHeader]' })\nexport class AerisStepHeaderTemplate {\n readonly template = inject<TemplateRef<AerisStepTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisStepIndicator]' })\nexport class AerisStepIndicatorTemplate {\n readonly template = inject<TemplateRef<AerisStepTemplateContext>>(TemplateRef);\n}\n\nlet nextStepId = 0;\n\n@Component({\n selector: 'aeris-step',\n template: `\n <ng-template #content>\n <ng-content />\n </ng-template>\n `,\n host: {\n '[style.display]': '\"none\"',\n },\n})\nexport class AerisStep {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly instanceId = nextStepId++;\n\n readonly value = input.required<string>();\n readonly label = input.required<string>();\n readonly description = input('');\n readonly optional = input(false, { transform: booleanAttribute });\n readonly completed = input(false, { transform: booleanAttribute });\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly stepId = `aeris-step-${this.instanceId}`;\n readonly panelId = `aeris-step-panel-${this.instanceId}`;\n readonly content = viewChild.required<TemplateRef<unknown>>('content');\n readonly headerTemplate = contentChild(AerisStepHeaderTemplate, {\n descendants: false,\n });\n readonly indicatorTemplate = contentChild(AerisStepIndicatorTemplate, {\n descendants: false,\n });\n\n isDirectStepOf(stepperHost: HTMLElement): boolean {\n const parent = this.element.nativeElement.parentElement;\n return (\n parent?.classList.contains('aeris-stepper__step-source') === true &&\n parent.parentElement === stepperHost\n );\n }\n}\n\n@Component({\n selector: 'aeris-stepper',\n imports: [NgTemplateOutlet],\n template: `\n <div class=\"aeris-stepper__step-source\" aria-hidden=\"true\">\n <ng-content />\n </div>\n\n <div\n class=\"aeris-stepper__list\"\n [attr.role]=\"stepsOnly() ? 'list' : 'tablist'\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-orientation]=\"stepsOnly() ? null : orientation()\"\n (keydown)=\"handleListKeydown($event)\"\n >\n @for (state of stepStates(); track state.value; let last = $last) {\n <div\n class=\"aeris-stepper__item\"\n [attr.role]=\"stepsOnly() ? 'listitem' : null\"\n [attr.data-selected]=\"state.selected || null\"\n [attr.data-completed]=\"state.completed || null\"\n [attr.data-invalid]=\"state.invalid || null\"\n [attr.data-disabled]=\"state.disabled || null\"\n [attr.data-reachable]=\"state.reachable || null\"\n >\n <button\n #stepButton\n class=\"aeris-stepper__trigger\"\n type=\"button\"\n [attr.role]=\"stepsOnly() ? null : 'tab'\"\n [id]=\"state.stepId\"\n [disabled]=\"state.disabled || !state.reachable\"\n [attr.aria-selected]=\"stepsOnly() ? null : state.selected\"\n [attr.aria-controls]=\"stepsOnly() ? null : state.panelId\"\n [attr.aria-current]=\"state.selected ? 'step' : null\"\n [attr.aria-invalid]=\"state.invalid || null\"\n [attr.tabindex]=\"state.selected ? 0 : -1\"\n (click)=\"select(state.value, $event)\"\n (focus)=\"stepFocused.emit(state.value)\"\n >\n <span class=\"aeris-stepper__indicator\" aria-hidden=\"true\">\n @if (state.indicatorTemplate; as indicatorTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"indicatorTemplate\"\n [ngTemplateOutletContext]=\"state\"\n />\n } @else if (state.completed) {\n <span class=\"aeris-stepper__check\"></span>\n } @else {\n {{ state.index + 1 }}\n }\n </span>\n <span class=\"aeris-stepper__header\">\n @if (state.headerTemplate; as headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"state\"\n />\n } @else {\n <span class=\"aeris-stepper__label\">{{ state.label }}</span>\n @if (!stepsOnly() && state.description) {\n <span class=\"aeris-stepper__description\">{{ state.description }}</span>\n }\n @if (!stepsOnly() && state.optional) {\n <span class=\"aeris-stepper__optional\">{{ optionalLabel() }}</span>\n }\n }\n </span>\n </button>\n @if (!last) {\n <span class=\"aeris-stepper__connector\" aria-hidden=\"true\"></span>\n }\n </div>\n }\n </div>\n\n @if (!stepsOnly()) {\n @if (activeState(); as state) {\n <section\n class=\"aeris-stepper__panel\"\n role=\"tabpanel\"\n [id]=\"state.panelId\"\n [attr.aria-labelledby]=\"state.stepId\"\n [attr.tabindex]=\"panelTabIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"state.content\" />\n </section>\n }\n }\n `,\n styleUrl: './aeris-stepper.scss',\n host: {\n class: 'aeris-stepper',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n '[attr.data-linear]': 'linear() || null',\n '[attr.data-steps-only]': 'stepsOnly() || null',\n },\n})\nexport class AerisStepper {\n private readonly hostElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n readonly value = model('');\n readonly orientation = input<AerisStepperOrientation>('horizontal');\n readonly activationMode = input<AerisStepperActivationMode>('automatic');\n readonly linear = input(false, { transform: booleanAttribute });\n readonly stepsOnly = input(false, { transform: booleanAttribute });\n readonly size = input<AerisStepperSize>('md');\n readonly variant = input<AerisStepperVariant>('line');\n readonly optionalLabel = input('Optional');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly panelTabIndex = input<0 | -1>(0);\n\n readonly changed = output<AerisStepperChangeEvent>();\n readonly stepFocused = output<string>();\n\n private readonly indicatorTemplate = contentChild(AerisStepIndicatorTemplate, {\n descendants: false,\n });\n private readonly discoveredSteps = contentChildren(AerisStep, {\n descendants: true,\n });\n protected readonly stepButtons = viewChildren<ElementRef<HTMLButtonElement>>('stepButton');\n protected readonly steps = computed(() =>\n this.discoveredSteps().filter((step) => step.isDirectStepOf(this.hostElement)),\n );\n protected readonly activeState = computed(() => {\n const selectedValue = this.value();\n return (\n this.stepStates().find((state) => state.selected && !state.disabled) ??\n this.stepStates().find((state) => !state.disabled)\n );\n });\n protected readonly stepStates = computed<readonly AerisStepState[]>(() => {\n const steps = this.steps();\n const selectedValue = this.value();\n const activeIndex = Math.max(\n steps.findIndex((step) => !step.disabled() && step.value() === selectedValue),\n steps.findIndex((step) => !step.disabled()),\n );\n const globalIndicator = this.indicatorTemplate()?.template ?? null;\n\n const lastReachableIndex = this.linear()\n ? Math.min(activeIndex + 1, steps.length - 1)\n : steps.length - 1;\n\n return steps.map((step, index) => {\n const selected = index === activeIndex;\n const completed = step.completed() || index < activeIndex;\n const invalid = step.invalid();\n const disabled = step.disabled();\n const reachable = !this.linear() || index <= lastReachableIndex;\n const context: AerisStepTemplateContext = {\n $implicit: selected,\n selected,\n active: selected,\n completed,\n invalid,\n disabled,\n optional: step.optional(),\n index,\n value: step.value(),\n label: step.label(),\n description: step.description(),\n };\n\n return {\n ...context,\n step,\n stepId: step.stepId,\n panelId: step.panelId,\n reachable,\n content: step.content(),\n headerTemplate: step.headerTemplate()?.template ?? null,\n indicatorTemplate: step.indicatorTemplate()?.template ?? globalIndicator,\n };\n });\n });\n\n select(value: string, originalEvent: Event | null = null): void {\n const state = this.stepStates().find((candidate) => candidate.value === value);\n if (!state || state.disabled || !state.reachable) return;\n\n const previousValue = this.activeState()?.value ?? '';\n if (previousValue === value && this.value() === value) return;\n this.value.set(value);\n this.changed.emit({\n originalEvent,\n value,\n previousValue,\n index: state.index,\n });\n }\n\n next(originalEvent: Event | null = null): void {\n const states = this.stepStates();\n const currentIndex = this.activeState()?.index ?? -1;\n const nextState = states.slice(currentIndex + 1).find((state) => !state.disabled && state.reachable);\n if (nextState) this.select(nextState.value, originalEvent);\n }\n\n previous(originalEvent: Event | null = null): void {\n const states = this.stepStates();\n const currentIndex = this.activeState()?.index ?? states.length;\n const previousState = [...states.slice(0, currentIndex)].reverse().find((state) => !state.disabled);\n if (previousState) this.select(previousState.value, originalEvent);\n }\n\n focusStep(value: string, options?: FocusOptions): void {\n const index = this.stepStates().findIndex(\n (state) => state.value === value && !state.disabled && state.reachable,\n );\n if (index < 0) return;\n this.stepButtons()[index]?.nativeElement.focus(options);\n }\n\n protected handleListKeydown(event: KeyboardEvent): void {\n if (\n this.activationMode() === 'manual' &&\n (event.key === 'Enter' || event.key === ' ')\n ) {\n event.preventDefault();\n const focused = this.focusedButtonState(event);\n if (focused) this.select(focused.value, event);\n return;\n }\n\n const direction = this.keyDirection(event.key);\n if (direction === undefined) return;\n event.preventDefault();\n\n const states = this.stepStates().filter((state) => !state.disabled && state.reachable);\n if (states.length === 0) return;\n const focused = this.focusedButtonState(event) ?? this.activeState();\n const currentIndex = Math.max(states.findIndex((state) => state.value === focused?.value), 0);\n const nextIndex =\n direction === 'first'\n ? 0\n : direction === 'last'\n ? states.length - 1\n : (currentIndex + direction + states.length) % states.length;\n const nextState = states[nextIndex];\n if (!nextState) return;\n\n if (this.activationMode() === 'automatic') this.select(nextState.value, event);\n this.focusStep(nextState.value);\n }\n\n private focusedButtonState(event: Event): AerisStepState | undefined {\n const index = this.stepButtons().findIndex((button) => button.nativeElement === event.target);\n return index >= 0 ? this.stepStates()[index] : undefined;\n }\n\n private keyDirection(key: string): -1 | 1 | 'first' | 'last' | undefined {\n if (key === 'Home') return 'first';\n if (key === 'End') return 'last';\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowLeft') ||\n (this.orientation() === 'vertical' && key === 'ArrowUp')\n ) {\n return -1;\n }\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowRight') ||\n (this.orientation() === 'vertical' && key === 'ArrowDown')\n ) {\n return 1;\n }\n return undefined;\n }\n}\n\nexport const AerisStepperModule = [\n AerisStepper,\n AerisStep,\n AerisStepHeaderTemplate,\n AerisStepIndicatorTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAuDa,uBAAuB,CAAA;AACzB,IAAA,QAAQ,GAAG,MAAM,CAAwC,WAAW,CAAC;uGADnE,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,SAAS;mBAAC,EAAE,QAAQ,EAAE,8BAA8B,EAAE;;MAM1C,0BAA0B,CAAA;AAC5B,IAAA,QAAQ,GAAG,MAAM,CAAwC,WAAW,CAAC;uGADnE,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA1B,0B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BAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,0BAA0B,CAAA,EAAA,EAAA,GAAE;AAC5E,4BAAA,WAAW,EAAE,KAAK;AACnB,yBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACkD,SAAS,CAAA,EAAA,EAAA,GAAE;AAC5D,4BAAA,WAAW,EAAE,IAAI;AAClB,yBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAC4E,YAAY,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AAsJpF,MAAM,kBAAkB,GAAG;IAChC,YAAY;IACZ,SAAS;IACT,uBAAuB;IACvB,0BAA0B;;;AClY5B;;AAEG;;"}
@@ -318,10 +318,10 @@ class AerisStyleClassDirective {
318
318
  tokens(value) {
319
319
  return value.split(/\s+/u).filter(Boolean);
320
320
  }
321
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStyleClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
322
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: AerisStyleClassDirective, isStandalone: true, selector: "[aerisStyleClass]", inputs: { target: { classPropertyName: "target", publicName: "aerisStyleClass", isSignal: true, isRequired: false, transformFunction: null }, toggleClasses: { classPropertyName: "toggleClasses", publicName: "aerisStyleClassToggle", isSignal: true, isRequired: false, transformFunction: null }, enterFromClasses: { classPropertyName: "enterFromClasses", publicName: "aerisStyleClassEnterFrom", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClasses: { classPropertyName: "enterActiveClasses", publicName: "aerisStyleClassEnterActive", isSignal: true, isRequired: false, transformFunction: null }, enterToClasses: { classPropertyName: "enterToClasses", publicName: "aerisStyleClassEnterTo", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClasses: { classPropertyName: "leaveFromClasses", publicName: "aerisStyleClassLeaveFrom", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClasses: { classPropertyName: "leaveActiveClasses", publicName: "aerisStyleClassLeaveActive", isSignal: true, isRequired: false, transformFunction: null }, leaveToClasses: { classPropertyName: "leaveToClasses", publicName: "aerisStyleClassLeaveTo", isSignal: true, isRequired: false, transformFunction: null }, initiallyVisible: { classPropertyName: "initiallyVisible", publicName: "aerisStyleClassInitiallyVisible", isSignal: true, isRequired: false, transformFunction: null }, dismissOnOutside: { classPropertyName: "dismissOnOutside", publicName: "aerisStyleClassDismissOnOutside", isSignal: true, isRequired: false, transformFunction: null }, dismissOnEscape: { classPropertyName: "dismissOnEscape", publicName: "aerisStyleClassDismissOnEscape", isSignal: true, isRequired: false, transformFunction: null }, dismissOnResize: { classPropertyName: "dismissOnResize", publicName: "aerisStyleClassDismissOnResize", isSignal: true, isRequired: false, transformFunction: null }, resizeTarget: { classPropertyName: "resizeTarget", publicName: "aerisStyleClassResizeTarget", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "aerisStyleClassDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "click": "handleTrigger($event)", "document:pointerdown": "handleOutsidePointer($event)", "document:keydown": "handleDocumentKeydown($event)" }, properties: { "attr.data-aeris-style-class-state": "state()" } }, exportAs: ["aerisStyleClass"], ngImport: i0 });
321
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStyleClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
322
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.4", type: AerisStyleClassDirective, isStandalone: true, selector: "[aerisStyleClass]", inputs: { target: { classPropertyName: "target", publicName: "aerisStyleClass", isSignal: true, isRequired: false, transformFunction: null }, toggleClasses: { classPropertyName: "toggleClasses", publicName: "aerisStyleClassToggle", isSignal: true, isRequired: false, transformFunction: null }, enterFromClasses: { classPropertyName: "enterFromClasses", publicName: "aerisStyleClassEnterFrom", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClasses: { classPropertyName: "enterActiveClasses", publicName: "aerisStyleClassEnterActive", isSignal: true, isRequired: false, transformFunction: null }, enterToClasses: { classPropertyName: "enterToClasses", publicName: "aerisStyleClassEnterTo", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClasses: { classPropertyName: "leaveFromClasses", publicName: "aerisStyleClassLeaveFrom", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClasses: { classPropertyName: "leaveActiveClasses", publicName: "aerisStyleClassLeaveActive", isSignal: true, isRequired: false, transformFunction: null }, leaveToClasses: { classPropertyName: "leaveToClasses", publicName: "aerisStyleClassLeaveTo", isSignal: true, isRequired: false, transformFunction: null }, initiallyVisible: { classPropertyName: "initiallyVisible", publicName: "aerisStyleClassInitiallyVisible", isSignal: true, isRequired: false, transformFunction: null }, dismissOnOutside: { classPropertyName: "dismissOnOutside", publicName: "aerisStyleClassDismissOnOutside", isSignal: true, isRequired: false, transformFunction: null }, dismissOnEscape: { classPropertyName: "dismissOnEscape", publicName: "aerisStyleClassDismissOnEscape", isSignal: true, isRequired: false, transformFunction: null }, dismissOnResize: { classPropertyName: "dismissOnResize", publicName: "aerisStyleClassDismissOnResize", isSignal: true, isRequired: false, transformFunction: null }, resizeTarget: { classPropertyName: "resizeTarget", publicName: "aerisStyleClassResizeTarget", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "aerisStyleClassDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "click": "handleTrigger($event)", "document:pointerdown": "handleOutsidePointer($event)", "document:keydown": "handleDocumentKeydown($event)" }, properties: { "attr.data-aeris-style-class-state": "state()" } }, exportAs: ["aerisStyleClass"], ngImport: i0 });
323
323
  }
324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisStyleClassDirective, decorators: [{
324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AerisStyleClassDirective, decorators: [{
325
325
  type: Directive,
326
326
  args: [{
327
327
  selector: '[aerisStyleClass]',