@aeris-ui/core 22.0.0-alpha.3 → 22.0.0-alpha.5

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 (176) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/aeris-ui-core-accordion.mjs +14 -14
  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-auto-complete.mjs +45 -21
  6. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  7. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  8. package/fesm2022/aeris-ui-core-avatar.mjs +9 -9
  9. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  10. package/fesm2022/aeris-ui-core-badge.mjs +10 -10
  11. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  12. package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
  13. package/fesm2022/aeris-ui-core-breadcrumb.mjs +14 -14
  14. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-button-group.mjs +4 -4
  16. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  17. package/fesm2022/aeris-ui-core-button.mjs +6 -6
  18. package/fesm2022/aeris-ui-core-card.mjs +20 -20
  19. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  20. package/fesm2022/aeris-ui-core-carousel.mjs +14 -14
  21. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  22. package/fesm2022/aeris-ui-core-cascade-select.mjs +39 -15
  23. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  24. package/fesm2022/aeris-ui-core-chart.mjs +5 -5
  25. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
  27. package/fesm2022/aeris-ui-core-chip.mjs +9 -9
  28. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  29. package/fesm2022/aeris-ui-core-color-picker.mjs +24 -9
  30. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-compare.mjs +14 -14
  32. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +26 -20
  34. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-confirm-popup.mjs +41 -25
  36. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-context-menu.mjs +26 -12
  38. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  39. package/fesm2022/aeris-ui-core-date-picker.mjs +24 -8
  40. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  41. package/fesm2022/aeris-ui-core-dialog.mjs +28 -20
  42. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  44. package/fesm2022/aeris-ui-core-drawer.mjs +27 -20
  45. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  46. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +10 -7
  47. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  48. package/fesm2022/aeris-ui-core-editor.mjs +3 -3
  49. package/fesm2022/aeris-ui-core-file-upload.mjs +26 -26
  50. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  52. package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
  53. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  54. package/fesm2022/aeris-ui-core-form-field.mjs +181 -0
  55. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  56. package/fesm2022/aeris-ui-core-galleria.mjs +29 -29
  57. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  59. package/fesm2022/aeris-ui-core-icon-field.mjs +14 -14
  60. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
  62. package/fesm2022/aeris-ui-core-input-group.mjs +16 -16
  63. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  64. package/fesm2022/aeris-ui-core-input-mask.mjs +5 -5
  65. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  66. package/fesm2022/aeris-ui-core-input-number.mjs +5 -5
  67. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  68. package/fesm2022/aeris-ui-core-input-otp.mjs +8 -8
  69. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  70. package/fesm2022/aeris-ui-core-input-text.mjs +8 -8
  71. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  72. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  73. package/fesm2022/aeris-ui-core-mega-menu.mjs +17 -9
  74. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-menu.mjs +59 -23
  76. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  77. package/fesm2022/aeris-ui-core-menubar.mjs +135 -15
  78. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-message.mjs +9 -9
  80. package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
  81. package/fesm2022/aeris-ui-core-multi-select.mjs +48 -25
  82. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  83. package/fesm2022/aeris-ui-core-order-list.mjs +11 -11
  84. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-organization-chart.mjs +11 -11
  86. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  87. package/fesm2022/aeris-ui-core-paginator.mjs +45 -13
  88. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-panel.mjs +17 -17
  90. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-password.mjs +40 -18
  92. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-pick-list.mjs +11 -11
  94. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-popover.mjs +49 -25
  96. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  97. package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
  98. package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
  99. package/fesm2022/aeris-ui-core-radio-button.mjs +3 -3
  100. package/fesm2022/aeris-ui-core-rating.mjs +3 -3
  101. package/fesm2022/aeris-ui-core-scroll-panel.mjs +5 -5
  102. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
  104. package/fesm2022/aeris-ui-core-select.mjs +66 -43
  105. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  106. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  107. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  108. package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
  109. package/fesm2022/aeris-ui-core-split-button.mjs +25 -7
  110. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-splitter.mjs +8 -8
  112. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-stepper.mjs +14 -14
  114. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  115. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  116. package/fesm2022/aeris-ui-core-table.mjs +24 -20
  117. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  118. package/fesm2022/aeris-ui-core-tabs.mjs +78 -27
  119. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  120. package/fesm2022/aeris-ui-core-textarea.mjs +8 -8
  121. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  122. package/fesm2022/aeris-ui-core-theme-builder.mjs +8 -8
  123. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  124. package/fesm2022/aeris-ui-core-theming.mjs +6 -3
  125. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  126. package/fesm2022/aeris-ui-core-tiered-menu.mjs +52 -15
  127. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  128. package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
  129. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  130. package/fesm2022/aeris-ui-core-toast.mjs +12 -12
  131. package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
  132. package/fesm2022/aeris-ui-core-toolbar.mjs +20 -20
  133. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  134. package/fesm2022/aeris-ui-core-tooltip.mjs +54 -31
  135. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  136. package/fesm2022/aeris-ui-core-tree-select.mjs +48 -24
  137. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  138. package/fesm2022/aeris-ui-core-tree-table.mjs +21 -17
  139. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  140. package/fesm2022/aeris-ui-core-tree.mjs +14 -14
  141. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  142. package/fesm2022/aeris-ui-core.mjs +473 -63
  143. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  144. package/package.json +12 -8
  145. package/schematics/runtime/theme-builder/aeris-theme.js +8 -8
  146. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  147. package/styles/aeris.css +36 -21
  148. package/styles/controls.css +10 -7
  149. package/types/aeris-ui-core-auto-complete.d.ts +8 -3
  150. package/types/aeris-ui-core-cascade-select.d.ts +8 -3
  151. package/types/aeris-ui-core-color-picker.d.ts +7 -2
  152. package/types/aeris-ui-core-confirm-dialog.d.ts +5 -1
  153. package/types/aeris-ui-core-confirm-popup.d.ts +6 -1
  154. package/types/aeris-ui-core-context-menu.d.ts +6 -1
  155. package/types/aeris-ui-core-date-picker.d.ts +7 -2
  156. package/types/aeris-ui-core-dialog.d.ts +4 -1
  157. package/types/aeris-ui-core-drawer.d.ts +4 -1
  158. package/types/aeris-ui-core-dynamic-dialog.d.ts +3 -0
  159. package/types/aeris-ui-core-form-field.d.ts +65 -0
  160. package/types/aeris-ui-core-mega-menu.d.ts +4 -2
  161. package/types/aeris-ui-core-menu.d.ts +7 -2
  162. package/types/aeris-ui-core-menubar.d.ts +27 -3
  163. package/types/aeris-ui-core-multi-select.d.ts +8 -4
  164. package/types/aeris-ui-core-paginator.d.ts +9 -1
  165. package/types/aeris-ui-core-password.d.ts +6 -1
  166. package/types/aeris-ui-core-popover.d.ts +5 -2
  167. package/types/aeris-ui-core-select.d.ts +8 -4
  168. package/types/aeris-ui-core-split-button.d.ts +7 -3
  169. package/types/aeris-ui-core-table.d.ts +3 -1
  170. package/types/aeris-ui-core-tabs.d.ts +23 -5
  171. package/types/aeris-ui-core-theming.d.ts +4 -0
  172. package/types/aeris-ui-core-tiered-menu.d.ts +8 -2
  173. package/types/aeris-ui-core-tooltip.d.ts +8 -4
  174. package/types/aeris-ui-core-tree-select.d.ts +8 -3
  175. package/types/aeris-ui-core-tree-table.d.ts +3 -1
  176. package/types/aeris-ui-core.d.ts +80 -26
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-tiered-menu.mjs","sources":["../../../projects/aeris-ui/tiered-menu/aeris-tiered-menu.ts","../../../projects/aeris-ui/tiered-menu/aeris-ui-core-tiered-menu.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n DestroyRef,\n ElementRef,\n Injector,\n TemplateRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport {\n aerisInternalClampOverlayPoint,\n aerisInternalCreateFrameScheduler,\n} from '@aeris-ui/core';\n\nexport type AerisTieredMenuSize = 'sm' | 'md' | 'lg';\nexport type AerisTieredMenuCloseReason = 'api' | 'escape' | 'outside' | 'select';\n\nexport interface AerisTieredMenuItem<T = unknown> {\n readonly id?: string;\n readonly label?: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly badge?: string | number;\n readonly shortcut?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly separator?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top' | string;\n readonly rel?: string;\n readonly items?: readonly AerisTieredMenuItem<T>[];\n readonly data?: T;\n readonly command?: (event: AerisTieredMenuItemEvent<T>) => void;\n}\n\nexport interface AerisTieredMenuItemEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisTieredMenuItem<T>;\n readonly path: readonly number[];\n readonly target: Element | null;\n}\n\nexport interface AerisTieredMenuVisibilityEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisTieredMenuCloseReason;\n readonly target: Element | null;\n}\n\nexport interface AerisTieredMenuItemTemplateContext<T = unknown> {\n readonly $implicit: AerisTieredMenuItem<T>;\n readonly item: AerisTieredMenuItem<T>;\n readonly path: readonly number[];\n readonly level: number;\n readonly active: boolean;\n readonly open: boolean;\n readonly disabled: boolean;\n readonly hasSubmenu: boolean;\n}\n\nexport type AerisTieredMenuNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\ninterface AerisTieredMenuEntry<T> {\n readonly item: AerisTieredMenuItem<T>;\n readonly id: string;\n readonly path: readonly number[];\n readonly pathKey: string;\n readonly parentPathKey: string;\n readonly level: number;\n readonly href: string | null;\n readonly separator: boolean;\n readonly disabled: boolean;\n readonly active: boolean;\n readonly open: boolean;\n readonly children: readonly AerisTieredMenuEntry<T>[];\n}\n\ninterface AerisTieredMenuCoordinates {\n readonly x: number;\n readonly y: number;\n}\n\n@Directive({ selector: 'ng-template[aerisTieredMenuItem]' })\nexport class AerisTieredMenuItemTemplate<T = unknown> {\n readonly template = inject<TemplateRef<AerisTieredMenuItemTemplateContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(\n _directive: AerisTieredMenuItemTemplate<T>,\n context: unknown,\n ): context is AerisTieredMenuItemTemplateContext<T> {\n return true;\n }\n}\n\nlet nextTieredMenuId = 0;\n\n@Component({\n selector: 'aeris-tiered-menu',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #defaultItemTemplate let-item let-hasSubmenu=\"hasSubmenu\">\n @if (item.icon) {\n <span class=\"aeris-tiered-menu__icon\" aria-hidden=\"true\">{{ item.icon }}</span>\n }\n <span class=\"aeris-tiered-menu__label\">{{ item.label }}</span>\n @if (item.badge !== undefined && item.badge !== null) {\n <span class=\"aeris-tiered-menu__badge\">{{ item.badge }}</span>\n }\n @if (item.shortcut) {\n <kbd class=\"aeris-tiered-menu__shortcut\">{{ item.shortcut }}</kbd>\n }\n @if (hasSubmenu) {\n <svg class=\"aeris-tiered-menu__submenu-icon\" viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n <path d=\"m7.5 4.5 5 5.5-5 5.5\" />\n </svg>\n }\n </ng-template>\n\n <ng-template #menuList let-entries let-level=\"level\">\n <ul\n class=\"aeris-tiered-menu__list\"\n [attr.role]=\"level === 0 ? 'menubar' : 'menu'\"\n [attr.aria-orientation]=\"level === 0 ? 'vertical' : null\"\n [attr.aria-label]=\"level === 0 ? ariaLabel() || null : null\"\n [attr.aria-labelledby]=\"level === 0 ? ariaLabelledBy() || null : null\"\n [attr.data-level]=\"level\"\n >\n @for (entry of entries; track entry.id) {\n @if (entry.separator) {\n <li class=\"aeris-tiered-menu__separator\" role=\"separator\"></li>\n } @else {\n <li\n class=\"aeris-tiered-menu__item-shell\"\n role=\"none\"\n [attr.data-open]=\"entry.open || null\"\n [attr.data-active]=\"entry.active || null\"\n [attr.data-disabled]=\"entry.disabled || null\"\n >\n @if (entry.href) {\n <a\n #menuItem\n class=\"aeris-tiered-menu__item\"\n role=\"menuitem\"\n [id]=\"entry.id\"\n [attr.href]=\"entry.disabled ? null : entry.href\"\n [attr.target]=\"entry.item.target || null\"\n [attr.rel]=\"\n entry.item.rel ||\n (entry.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-disabled]=\"entry.disabled || null\"\n [attr.aria-haspopup]=\"entry.children.length ? 'menu' : null\"\n [attr.aria-expanded]=\"entry.children.length ? entry.open : null\"\n [attr.aria-controls]=\"entry.children.length ? entry.id + '-submenu' : null\"\n [attr.tabindex]=\"entry.active && !entry.disabled ? 0 : -1\"\n [attr.data-aeris-tiered-menu-path]=\"entry.pathKey\"\n [attr.data-custom-template]=\"itemTemplate() ? true : null\"\n (click)=\"activateEntry($event, entry)\"\n (focus)=\"setActivePath(entry.path)\"\n (mouseenter)=\"handleEntryPointerEnter(entry)\"\n (keydown)=\"handleItemKeydown($event, entry)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()?.template ?? defaultItemTemplate\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n </a>\n } @else {\n <button\n #menuItem\n type=\"button\"\n class=\"aeris-tiered-menu__item\"\n role=\"menuitem\"\n [id]=\"entry.id\"\n [disabled]=\"entry.disabled\"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-haspopup]=\"entry.children.length ? 'menu' : null\"\n [attr.aria-expanded]=\"entry.children.length ? entry.open : null\"\n [attr.aria-controls]=\"entry.children.length ? entry.id + '-submenu' : null\"\n [attr.tabindex]=\"entry.active && !entry.disabled ? 0 : -1\"\n [attr.data-aeris-tiered-menu-path]=\"entry.pathKey\"\n [attr.data-custom-template]=\"itemTemplate() ? true : null\"\n (click)=\"activateEntry($event, entry)\"\n (focus)=\"setActivePath(entry.path)\"\n (mouseenter)=\"handleEntryPointerEnter(entry)\"\n (keydown)=\"handleItemKeydown($event, entry)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()?.template ?? defaultItemTemplate\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n </button>\n }\n\n @if (entry.children.length && entry.open) {\n <div\n class=\"aeris-tiered-menu__submenu\"\n [id]=\"entry.id + '-submenu'\"\n [attr.data-side]=\"submenuSide()\"\n >\n <ng-container\n [ngTemplateOutlet]=\"menuList\"\n [ngTemplateOutletContext]=\"{\n $implicit: entry.children,\n level: entry.level + 1,\n }\"\n />\n </div>\n }\n </li>\n }\n }\n </ul>\n </ng-template>\n\n @if (panelVisible()) {\n <div\n #panel\n class=\"aeris-tiered-menu__panel\"\n [id]=\"id()\"\n [class]=\"panelStyleClass()\"\n [attr.data-popup]=\"popup() || null\"\n [attr.data-positioned]=\"!popup() || positioned() ? true : null\"\n [attr.data-size]=\"size()\"\n [style.left.px]=\"popup() ? coordinates().x : null\"\n [style.top.px]=\"popup() ? coordinates().y : null\"\n [style.--aeris-tiered-menu-width]=\"width() || null\"\n [style.--aeris-tiered-menu-max-width]=\"maxWidth() || null\"\n (contextmenu)=\"suppressNativeMenu($event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"menuList\"\n [ngTemplateOutletContext]=\"{ $implicit: entries(), level: 0 }\"\n />\n </div>\n }\n `,\n styleUrl: './aeris-tiered-menu.scss',\n host: {\n class: 'aeris-tiered-menu',\n '[attr.data-popup]': 'popup() || null',\n '[attr.data-open]': 'panelVisible() || null',\n },\n})\nexport class AerisTieredMenu<T = unknown> {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private readonly generatedId = `aeris-tiered-menu-${++nextTieredMenuId}`;\n private readonly activeTarget = signal<Element | null>(null);\n private readonly anchorPoint = signal<AerisTieredMenuCoordinates>({ x: 0, y: 0 });\n private scrollCleanup: (() => void) | null = null;\n\n protected readonly panel = viewChild<ElementRef<HTMLElement>>('panel');\n protected readonly menuItems = viewChildren<ElementRef<HTMLElement>>('menuItem');\n protected readonly itemTemplate = contentChild(AerisTieredMenuItemTemplate<T>, {\n descendants: false,\n });\n protected readonly activePathKey = signal('');\n protected readonly openPathKey = signal('');\n protected readonly coordinates = signal<AerisTieredMenuCoordinates>({ x: 0, y: 0 });\n protected readonly positioned = signal(false);\n protected readonly submenuSide = signal<'start' | 'end'>('end');\n protected readonly panelVisible = computed(() => !this.popup() || this.open());\n protected readonly entries = computed(() =>\n this.buildEntries(this.model(), [], 0, this.activePathKey(), this.openPathKey()),\n );\n\n readonly id = input(this.generatedId);\n readonly model = input<readonly AerisTieredMenuItem<T>[]>([]);\n readonly open = model(false);\n readonly popup = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly size = input<AerisTieredMenuSize>('md');\n readonly width = input('');\n readonly maxWidth = input('');\n readonly viewportMargin = input(8);\n readonly hideOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closeOnSelect = input(true, { transform: booleanAttribute });\n readonly autoFocus = input(true, { transform: booleanAttribute });\n readonly restoreFocus = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Tiered menu');\n readonly ariaLabelledBy = input('');\n readonly panelStyleClass = input('');\n readonly navigationHandler = input<AerisTieredMenuNavigationHandler>();\n\n readonly shown = output<AerisTieredMenuVisibilityEvent>();\n readonly hidden = output<AerisTieredMenuVisibilityEvent>();\n readonly visibilityChanged = output<AerisTieredMenuVisibilityEvent>();\n readonly itemSelected = output<AerisTieredMenuItemEvent<T>>();\n\n constructor() {\n this.destroyRef.onDestroy(() => this.stopScrollTracking());\n effect((onCleanup) => {\n if (!this.popup() || !this.open()) return;\n const document = this.host.nativeElement.ownerDocument;\n const view = document.defaultView;\n const pointerdown = (event: PointerEvent) => this.handleDocumentPointerdown(event);\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n const reposition = this.repositionFrame.schedule;\n document.addEventListener('pointerdown', pointerdown);\n document.addEventListener('keydown', keydown);\n view?.addEventListener('resize', reposition);\n onCleanup(() => {\n document.removeEventListener('pointerdown', pointerdown);\n document.removeEventListener('keydown', keydown);\n view?.removeEventListener('resize', reposition);\n this.repositionFrame.cancel();\n });\n });\n }\n\n show(event: MouseEvent | PointerEvent): void {\n if (this.disabled()) return;\n event.preventDefault();\n this.activeTarget.set(\n event.currentTarget instanceof Element ? event.currentTarget : this.host.nativeElement,\n );\n this.openAtTarget(event.currentTarget, event);\n }\n\n hide(\n originalEvent: Event | null = null,\n reason: AerisTieredMenuCloseReason = 'api',\n restoreFocus = this.restoreFocus(),\n ): void {\n this.openPathKey.set('');\n if (!this.popup() || !this.open()) return;\n this.stopScrollTracking();\n this.open.set(false);\n this.positioned.set(false);\n const event = this.visibilityEvent(false, reason, originalEvent);\n const target = this.activeTarget();\n this.hidden.emit(event);\n this.visibilityChanged.emit(event);\n this.activeTarget.set(null);\n if (restoreFocus && target instanceof HTMLElement) queueMicrotask(() => target.focus());\n }\n\n toggle(event: MouseEvent | PointerEvent): void {\n if (this.open()) this.hide(event);\n else this.show(event);\n }\n\n focus(): void {\n this.openInitialItem();\n this.focusActiveItem();\n }\n\n reposition(): void {\n if (!this.popup() || !this.open()) return;\n const panel = this.panel()?.nativeElement;\n const view = panel?.ownerDocument.defaultView;\n if (!panel || !view) return;\n\n const rect = panel.getBoundingClientRect();\n const width = rect.width || panel.offsetWidth || 240;\n const height = rect.height || panel.offsetHeight || 260;\n const anchor = this.currentAnchorPoint();\n const { x, y } = aerisInternalClampOverlayPoint(\n anchor,\n width,\n height,\n view.innerWidth,\n view.innerHeight,\n this.viewportMargin(),\n );\n this.anchorPoint.set(anchor);\n this.coordinates.set({ x, y });\n this.submenuSide.set(anchor.x > view.innerWidth / 2 ? 'start' : 'end');\n this.positioned.set(true);\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n panel.setAttribute('data-positioned', 'true');\n }\n\n protected suppressNativeMenu(event: MouseEvent): void {\n event.preventDefault();\n }\n\n protected setActivePath(path: readonly number[]): void {\n this.activePathKey.set(this.pathKey(path));\n }\n\n protected handleEntryPointerEnter(entry: AerisTieredMenuEntry<T>): void {\n if (entry.disabled || entry.separator) return;\n this.activePathKey.set(entry.pathKey);\n this.openPathKey.set(entry.children.length ? entry.pathKey : entry.parentPathKey);\n }\n\n protected activateEntry(event: MouseEvent | KeyboardEvent, entry: AerisTieredMenuEntry<T>): void {\n if (this.disabled() || entry.disabled || entry.separator) {\n event.preventDefault();\n return;\n }\n\n if (entry.children.length) {\n event.preventDefault();\n this.openPathKey.set(entry.open ? entry.parentPathKey : entry.pathKey);\n this.activePathKey.set(entry.pathKey);\n if (!entry.open) this.focusFirstChild(entry);\n return;\n }\n\n const itemEvent = {\n originalEvent: event,\n item: entry.item,\n path: entry.path,\n target: this.activeTarget(),\n };\n entry.item.command?.(itemEvent);\n this.itemSelected.emit(itemEvent);\n if (entry.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(entry.item.routerLink, event);\n }\n if (this.closeOnSelect()) this.hide(event, 'select');\n }\n\n protected handleItemKeydown(event: KeyboardEvent, entry: AerisTieredMenuEntry<T>): void {\n const openKey = this.isRtl() ? 'ArrowLeft' : 'ArrowRight';\n const closeKey = this.isRtl() ? 'ArrowRight' : 'ArrowLeft';\n\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.focusSibling(entry, 1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.focusSibling(entry, -1);\n break;\n case 'Home':\n event.preventDefault();\n this.focusEdge(entry, 'first');\n break;\n case 'End':\n event.preventDefault();\n this.focusEdge(entry, 'last');\n break;\n case openKey:\n event.preventDefault();\n if (entry.children.length) {\n this.openPathKey.set(entry.pathKey);\n this.focusFirstChild(entry);\n }\n break;\n case closeKey:\n event.preventDefault();\n this.closeSubmenu(entry);\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.activateEntry(event, entry);\n break;\n case 'Escape':\n if (!this.closeOnEscape()) return;\n event.preventDefault();\n if (entry.parentPathKey) {\n this.closeSubmenu(entry);\n } else {\n this.hide(event, 'escape');\n }\n break;\n case 'Tab':\n this.hide(event, 'outside', false);\n break;\n }\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.panelVisible() || !this.hideOnOutsideClick()) return;\n const target = event.target;\n if (target instanceof Node && this.host.nativeElement.contains(target)) return;\n this.hide(event, 'outside', false);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape' || !this.closeOnEscape()) return;\n if (!this.openPathKey() && (!this.popup() || !this.open())) return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected itemContext(entry: AerisTieredMenuEntry<T>): AerisTieredMenuItemTemplateContext<T> {\n return {\n $implicit: entry.item,\n item: entry.item,\n path: entry.path,\n level: entry.level,\n active: entry.active,\n open: entry.open,\n disabled: entry.disabled,\n hasSubmenu: entry.children.length > 0,\n };\n }\n\n private openAtTarget(target: EventTarget | null, originalEvent: Event): void {\n const element = target instanceof Element ? target : this.host.nativeElement;\n const rect = element.getBoundingClientRect();\n const y = rect.bottom + 6;\n this.anchorPoint.set({ x: rect.left, y });\n this.coordinates.set({ x: rect.left, y });\n this.positioned.set(false);\n this.open.set(true);\n this.startScrollTracking();\n this.openInitialItem();\n const event = this.visibilityEvent(true, 'api', originalEvent);\n this.shown.emit(event);\n this.visibilityChanged.emit(event);\n afterNextRender(\n () => {\n this.reposition();\n if (this.autoFocus()) this.focusActiveItem();\n },\n { injector: this.injector },\n );\n }\n\n private currentAnchorPoint(): AerisTieredMenuCoordinates {\n const target = this.activeTarget();\n if (!target) return this.anchorPoint();\n\n const rect = target.getBoundingClientRect();\n return { x: rect.left, y: rect.bottom + 6 };\n }\n\n private startScrollTracking(): void {\n if (this.scrollCleanup) return;\n const document = this.host.nativeElement.ownerDocument;\n const handleScroll = this.repositionFrame.schedule;\n document.addEventListener('scroll', handleScroll, true);\n this.scrollCleanup = (): void => {\n document.removeEventListener('scroll', handleScroll, true);\n this.repositionFrame.cancel();\n this.scrollCleanup = null;\n };\n }\n\n private stopScrollTracking(): void {\n this.scrollCleanup?.();\n }\n\n private buildEntries(\n items: readonly AerisTieredMenuItem<T>[],\n parentPath: readonly number[],\n level: number,\n activePathKey: string,\n openPathKey: string,\n ): readonly AerisTieredMenuEntry<T>[] {\n return items\n .map((item, index) => ({ item, index }))\n .filter(({ item }) => item.visible !== false)\n .map(({ item, index }) => {\n const path = [...parentPath, index];\n const key = this.pathKey(path);\n const children = this.buildEntries(\n item.items ?? [],\n path,\n level + 1,\n activePathKey,\n openPathKey,\n );\n return {\n item,\n id: item.id ?? `${this.id()}-item-${key.replace(/\\./g, '-')}`,\n path,\n pathKey: key,\n parentPathKey: this.pathKey(parentPath),\n level,\n href: this.resolveHref(item),\n separator: !!item.separator,\n disabled: !!item.disabled,\n active: activePathKey === key,\n open: openPathKey === key || openPathKey.startsWith(`${key}.`),\n children,\n };\n });\n }\n\n private openInitialItem(): void {\n this.activePathKey.set(this.firstEnabledEntry(this.entries())?.pathKey ?? '');\n }\n\n private focusSibling(entry: AerisTieredMenuEntry<T>, step: 1 | -1): void {\n const siblings = this.enabledEntriesForParent(entry.parentPathKey);\n if (!siblings.length) return;\n const current = siblings.findIndex((item) => item.pathKey === entry.pathKey);\n const next =\n current < 0\n ? step === 1\n ? 0\n : siblings.length - 1\n : (current + step + siblings.length) % siblings.length;\n this.focusEntry(siblings[next]);\n }\n\n private focusEdge(entry: AerisTieredMenuEntry<T>, edge: 'first' | 'last'): void {\n const siblings = this.enabledEntriesForParent(entry.parentPathKey);\n this.focusEntry(edge === 'first' ? siblings[0] : siblings.at(-1));\n }\n\n private focusFirstChild(entry: AerisTieredMenuEntry<T>): void {\n afterNextRender(() => this.focusEntry(this.firstEnabledEntry(entry.children)), {\n injector: this.injector,\n });\n }\n\n private closeSubmenu(entry: AerisTieredMenuEntry<T>): void {\n if (!entry.parentPathKey) return;\n const parent = this.findEntry(entry.parentPathKey);\n this.openPathKey.set(parent?.parentPathKey ?? '');\n this.focusEntry(parent);\n }\n\n private focusActiveItem(): void {\n this.focusEntry(this.findEntry(this.activePathKey()) ?? this.firstEnabledEntry(this.entries()));\n }\n\n private focusEntry(entry: AerisTieredMenuEntry<T> | undefined): void {\n if (!entry) return;\n this.activePathKey.set(entry.pathKey);\n queueMicrotask(() => {\n this.menuItems()\n .find(\n ({ nativeElement }) =>\n nativeElement.getAttribute('data-aeris-tiered-menu-path') === entry.pathKey,\n )\n ?.nativeElement.focus();\n });\n }\n\n private enabledEntriesForParent(parentPathKey: string): readonly AerisTieredMenuEntry<T>[] {\n return this.flattenEntries(this.entries()).filter(\n (entry) => entry.parentPathKey === parentPathKey && !entry.separator && !entry.disabled,\n );\n }\n\n private firstEnabledEntry(\n entries: readonly AerisTieredMenuEntry<T>[],\n ): AerisTieredMenuEntry<T> | undefined {\n return entries.find((entry) => !entry.separator && !entry.disabled);\n }\n\n private findEntry(pathKey: string): AerisTieredMenuEntry<T> | undefined {\n return this.flattenEntries(this.entries()).find((entry) => entry.pathKey === pathKey);\n }\n\n private flattenEntries(\n entries: readonly AerisTieredMenuEntry<T>[],\n ): readonly AerisTieredMenuEntry<T>[] {\n return entries.flatMap((entry) => [entry, ...this.flattenEntries(entry.children)]);\n }\n\n private visibilityEvent(\n visible: boolean,\n reason: AerisTieredMenuCloseReason,\n originalEvent: Event | null,\n ): AerisTieredMenuVisibilityEvent {\n return {\n originalEvent,\n visible,\n reason,\n target: this.activeTarget(),\n };\n }\n\n private resolveHref(item: AerisTieredMenuItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n\n private pathKey(path: readonly number[]): string {\n return path.join('.');\n }\n\n private isRtl(): boolean {\n return this.host.nativeElement.ownerDocument.documentElement.dir === 'rtl';\n }\n\n}\n\nexport const AerisTieredMenuModule = [AerisTieredMenu, AerisTieredMenuItemTemplate] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAmGa,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAAqD,WAAW,CAAC;AAE3F,IAAA,OAAO,sBAAsB,CAC3B,UAA0C,EAC1C,OAAgB,EAAA;AAEhB,QAAA,OAAO,IAAI;IACb;uGARW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kCAAkC,EAAE;;AAY3D,IAAI,gBAAgB,GAAG,CAAC;MAuJX,eAAe,CAAA;AACT,IAAA,IAAI,GAAG,MAAM,CAA0B,UAAU,CAAC;IAClD,eAAe,GAAG,iCAAiC,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;AAC5E,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,IAAA,WAAW,GAAG,CAAA,kBAAA,EAAqB,EAAE,gBAAgB,EAAE;IACvD,YAA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EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;MAgbU,qBAAqB,GAAG,CAAC,eAAe,EAAE,2BAA2B;;ACnsBlF;;AAEG;;;;"}
1
+ {"version":3,"file":"aeris-ui-core-tiered-menu.mjs","sources":["../../../projects/aeris-ui/tiered-menu/aeris-tiered-menu.ts","../../../projects/aeris-ui/tiered-menu/aeris-ui-core-tiered-menu.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n DestroyRef,\n ElementRef,\n Injector,\n TemplateRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport {\n ɵAerisAppendTo,\n aerisInternalClampOverlayPoint,\n aerisInternalCreateFrameScheduler,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\n\nexport type AerisTieredMenuSize = 'sm' | 'md' | 'lg';\nexport type AerisTieredMenuCloseReason = 'api' | 'escape' | 'outside' | 'select';\n\nexport interface AerisTieredMenuItem<T = unknown> {\n readonly id?: string;\n readonly label?: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly badge?: string | number;\n readonly shortcut?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly separator?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top' | string;\n readonly rel?: string;\n readonly items?: readonly AerisTieredMenuItem<T>[];\n readonly data?: T;\n readonly command?: (event: AerisTieredMenuItemEvent<T>) => void;\n}\n\nexport interface AerisTieredMenuItemEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisTieredMenuItem<T>;\n readonly path: readonly number[];\n readonly target: Element | null;\n}\n\nexport interface AerisTieredMenuVisibilityEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisTieredMenuCloseReason;\n readonly target: Element | null;\n}\n\nexport interface AerisTieredMenuItemTemplateContext<T = unknown> {\n readonly $implicit: AerisTieredMenuItem<T>;\n readonly item: AerisTieredMenuItem<T>;\n readonly path: readonly number[];\n readonly level: number;\n readonly active: boolean;\n readonly open: boolean;\n readonly disabled: boolean;\n readonly hasSubmenu: boolean;\n}\n\nexport type AerisTieredMenuNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\ninterface AerisTieredMenuEntry<T> {\n readonly item: AerisTieredMenuItem<T>;\n readonly id: string;\n readonly path: readonly number[];\n readonly pathKey: string;\n readonly parentPathKey: string;\n readonly level: number;\n readonly href: string | null;\n readonly separator: boolean;\n readonly disabled: boolean;\n readonly active: boolean;\n readonly open: boolean;\n readonly children: readonly AerisTieredMenuEntry<T>[];\n}\n\ninterface AerisTieredMenuCoordinates {\n readonly x: number;\n readonly y: number;\n}\n\n@Directive({ selector: 'ng-template[aerisTieredMenuItem]' })\nexport class AerisTieredMenuItemTemplate<T = unknown> {\n readonly template = inject<TemplateRef<AerisTieredMenuItemTemplateContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(\n _directive: AerisTieredMenuItemTemplate<T>,\n context: unknown,\n ): context is AerisTieredMenuItemTemplateContext<T> {\n return true;\n }\n}\n\nlet nextTieredMenuId = 0;\n\n@Component({\n selector: 'aeris-tiered-menu',\n imports: [NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n <ng-template #defaultItemTemplate let-item let-hasSubmenu=\"hasSubmenu\">\n @if (item.icon) {\n <span class=\"aeris-tiered-menu__icon\" aria-hidden=\"true\">{{ item.icon }}</span>\n }\n <span class=\"aeris-tiered-menu__label\">{{ item.label }}</span>\n @if (item.badge !== undefined && item.badge !== null) {\n <span class=\"aeris-tiered-menu__badge\">{{ item.badge }}</span>\n }\n @if (item.shortcut) {\n <kbd class=\"aeris-tiered-menu__shortcut\">{{ item.shortcut }}</kbd>\n }\n @if (hasSubmenu) {\n <svg class=\"aeris-tiered-menu__submenu-icon\" viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n <path d=\"m7.5 4.5 5 5.5-5 5.5\" />\n </svg>\n }\n </ng-template>\n\n <ng-template #menuList let-entries let-level=\"level\">\n <ul\n class=\"aeris-tiered-menu__list\"\n [attr.role]=\"level === 0 ? 'menubar' : 'menu'\"\n [attr.aria-orientation]=\"level === 0 ? 'vertical' : null\"\n [attr.aria-label]=\"level === 0 ? ariaLabel() || null : null\"\n [attr.aria-labelledby]=\"level === 0 ? ariaLabelledBy() || null : null\"\n [attr.data-level]=\"level\"\n >\n @for (entry of entries; track entry.id) {\n @if (entry.separator) {\n <li class=\"aeris-tiered-menu__separator\" role=\"separator\"></li>\n } @else {\n <li\n class=\"aeris-tiered-menu__item-shell\"\n role=\"none\"\n [attr.data-open]=\"entry.open || null\"\n [attr.data-active]=\"entry.active || null\"\n [attr.data-disabled]=\"entry.disabled || null\"\n >\n @if (entry.href) {\n <a\n #menuItem\n class=\"aeris-tiered-menu__item\"\n role=\"menuitem\"\n [id]=\"entry.id\"\n [attr.href]=\"entry.disabled ? null : entry.href\"\n [attr.target]=\"entry.item.target || null\"\n [attr.rel]=\"\n entry.item.rel ||\n (entry.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-disabled]=\"entry.disabled || null\"\n [attr.aria-haspopup]=\"entry.children.length ? 'menu' : null\"\n [attr.aria-expanded]=\"entry.children.length ? entry.open : null\"\n [attr.aria-controls]=\"entry.children.length ? entry.id + '-submenu' : null\"\n [attr.tabindex]=\"entry.active && !entry.disabled ? 0 : -1\"\n [attr.data-aeris-tiered-menu-path]=\"entry.pathKey\"\n [attr.data-custom-template]=\"itemTemplate() ? true : null\"\n (click)=\"activateEntry($event, entry)\"\n (focus)=\"setActivePath(entry.path)\"\n (mouseenter)=\"handleEntryPointerEnter(entry)\"\n (keydown)=\"handleItemKeydown($event, entry)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()?.template ?? defaultItemTemplate\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n </a>\n } @else {\n <button\n #menuItem\n type=\"button\"\n class=\"aeris-tiered-menu__item\"\n role=\"menuitem\"\n [id]=\"entry.id\"\n [disabled]=\"entry.disabled\"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-haspopup]=\"entry.children.length ? 'menu' : null\"\n [attr.aria-expanded]=\"entry.children.length ? entry.open : null\"\n [attr.aria-controls]=\"entry.children.length ? entry.id + '-submenu' : null\"\n [attr.tabindex]=\"entry.active && !entry.disabled ? 0 : -1\"\n [attr.data-aeris-tiered-menu-path]=\"entry.pathKey\"\n [attr.data-custom-template]=\"itemTemplate() ? true : null\"\n (click)=\"activateEntry($event, entry)\"\n (focus)=\"setActivePath(entry.path)\"\n (mouseenter)=\"handleEntryPointerEnter(entry)\"\n (keydown)=\"handleItemKeydown($event, entry)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemTemplate()?.template ?? defaultItemTemplate\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n </button>\n }\n\n @if (entry.children.length && entry.open) {\n <div\n class=\"aeris-tiered-menu__submenu\"\n [id]=\"entry.id + '-submenu'\"\n [attr.data-side]=\"submenuSide()\"\n >\n <ng-container\n [ngTemplateOutlet]=\"menuList\"\n [ngTemplateOutletContext]=\"{\n $implicit: entry.children,\n level: entry.level + 1,\n }\"\n />\n </div>\n }\n </li>\n }\n }\n </ul>\n </ng-template>\n\n @if (panelVisible()) {\n <div\n #panel\n class=\"aeris-tiered-menu__panel\"\n [aerisInternalAppendTo]=\"popup() ? appendTo() : 'self'\"\n [aerisInternalAppendToAnchor]=\"popup() ? portalAnchor() : null\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n [aerisInternalAppendToPositionSelf]=\"false\"\n [id]=\"id()\"\n [class]=\"panelStyleClass()\"\n [attr.data-popup]=\"popup() || null\"\n [attr.data-positioned]=\"!popup() || positioned() ? true : null\"\n [attr.data-size]=\"size()\"\n [style.left.px]=\"popup() ? coordinates().x : null\"\n [style.top.px]=\"popup() ? coordinates().y : null\"\n [style.--aeris-tiered-menu-width]=\"width() || null\"\n [style.--aeris-tiered-menu-max-width]=\"maxWidth() || null\"\n (contextmenu)=\"suppressNativeMenu($event)\"\n (mouseleave)=\"handlePanelMouseLeave()\"\n >\n <ng-container\n [ngTemplateOutlet]=\"menuList\"\n [ngTemplateOutletContext]=\"{ $implicit: entries(), level: 0 }\"\n />\n </div>\n }\n `,\n styleUrl: './aeris-tiered-menu.scss',\n host: {\n class: 'aeris-tiered-menu',\n '[attr.data-popup]': 'popup() || null',\n '[attr.data-open]': 'panelVisible() || null',\n },\n})\nexport class AerisTieredMenu<T = unknown> {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private readonly generatedId = `aeris-tiered-menu-${++nextTieredMenuId}`;\n private readonly activeTarget = signal<Element | null>(null);\n private readonly anchorPoint = signal<AerisTieredMenuCoordinates>({ x: 0, y: 0 });\n private scrollCleanup: (() => void) | null = null;\n\n protected readonly panel = viewChild<ElementRef<HTMLElement>>('panel');\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n protected readonly menuItems = viewChildren<ElementRef<HTMLElement>>('menuItem');\n protected readonly itemTemplate = contentChild(AerisTieredMenuItemTemplate<T>, {\n descendants: false,\n });\n protected readonly activePathKey = signal('');\n protected readonly openPathKey = signal('');\n protected readonly coordinates = signal<AerisTieredMenuCoordinates>({ x: 0, y: 0 });\n protected readonly positioned = signal(false);\n protected readonly submenuSide = signal<'start' | 'end'>('end');\n protected readonly panelVisible = computed(() => !this.popup() || this.open());\n protected readonly entries = computed(() =>\n this.buildEntries(this.model(), [], 0, this.activePathKey(), this.openPathKey()),\n );\n\n readonly id = input(this.generatedId);\n readonly model = input<readonly AerisTieredMenuItem<T>[]>([]);\n readonly open = model(false);\n readonly popup = input(false, { transform: booleanAttribute });\n readonly appendTo = input<AerisAppendTo>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly size = input<AerisTieredMenuSize>('md');\n readonly width = input('');\n readonly maxWidth = input('');\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly hideOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly closeOnMouseLeave = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closeOnSelect = input(true, { transform: booleanAttribute });\n readonly autoFocus = input(true, { transform: booleanAttribute });\n readonly restoreFocus = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Tiered menu');\n readonly ariaLabelledBy = input('');\n readonly panelStyleClass = input('');\n readonly navigationHandler = input<AerisTieredMenuNavigationHandler>();\n\n readonly shown = output<AerisTieredMenuVisibilityEvent>();\n readonly hidden = output<AerisTieredMenuVisibilityEvent>();\n readonly visibilityChanged = output<AerisTieredMenuVisibilityEvent>();\n readonly itemSelected = output<AerisTieredMenuItemEvent<T>>();\n\n constructor() {\n this.destroyRef.onDestroy(() => this.stopScrollTracking());\n effect((onCleanup) => {\n if (!this.popup() || !this.open()) return;\n const document = this.host.nativeElement.ownerDocument;\n const view = document.defaultView;\n const pointerdown = (event: PointerEvent) => this.handleDocumentPointerdown(event);\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n const reposition = this.repositionFrame.schedule;\n const viewport = view?.visualViewport;\n document.addEventListener('pointerdown', pointerdown);\n document.addEventListener('keydown', keydown);\n view?.addEventListener('resize', reposition);\n viewport?.addEventListener('resize', reposition);\n viewport?.addEventListener('scroll', reposition);\n onCleanup(() => {\n document.removeEventListener('pointerdown', pointerdown);\n document.removeEventListener('keydown', keydown);\n view?.removeEventListener('resize', reposition);\n viewport?.removeEventListener('resize', reposition);\n viewport?.removeEventListener('scroll', reposition);\n this.repositionFrame.cancel();\n });\n });\n }\n\n show(event: MouseEvent | PointerEvent): void {\n if (this.disabled()) return;\n event.preventDefault();\n this.activeTarget.set(\n event.currentTarget instanceof Element ? event.currentTarget : this.host.nativeElement,\n );\n this.openAtTarget(event.currentTarget, event);\n }\n\n hide(\n originalEvent: Event | null = null,\n reason: AerisTieredMenuCloseReason = 'api',\n restoreFocus = this.restoreFocus(),\n ): void {\n this.openPathKey.set('');\n if (!this.popup() || !this.open()) return;\n this.stopScrollTracking();\n this.panelPortal()?.restore();\n this.open.set(false);\n this.positioned.set(false);\n const event = this.visibilityEvent(false, reason, originalEvent);\n const target = this.activeTarget();\n this.hidden.emit(event);\n this.visibilityChanged.emit(event);\n this.activeTarget.set(null);\n if (restoreFocus && target instanceof HTMLElement) queueMicrotask(() => target.focus());\n }\n\n toggle(event: MouseEvent | PointerEvent): void {\n if (this.open()) this.hide(event);\n else this.show(event);\n }\n\n focus(): void {\n this.openInitialItem();\n this.focusActiveItem();\n }\n\n reposition(): void {\n if (!this.popup() || !this.open()) return;\n const panel = this.panel()?.nativeElement;\n const view = panel?.ownerDocument.defaultView;\n if (!panel || !view) return;\n if (panel.hasAttribute('data-aeris-append-to')) return;\n\n const rect = panel.getBoundingClientRect();\n const width = rect.width || panel.offsetWidth || 240;\n const height = rect.height || panel.offsetHeight || 260;\n const anchor = this.currentAnchorPoint();\n const viewport = view.visualViewport;\n const { x, y } = aerisInternalClampOverlayPoint(\n anchor,\n width,\n height,\n viewport?.width ?? view.innerWidth,\n viewport?.height ?? view.innerHeight,\n this.viewportMargin(),\n viewport?.offsetLeft ?? 0,\n viewport?.offsetTop ?? 0,\n );\n this.anchorPoint.set(anchor);\n this.coordinates.set({ x, y });\n this.submenuSide.set(\n anchor.x > (viewport?.offsetLeft ?? 0) + (viewport?.width ?? view.innerWidth) / 2\n ? 'start'\n : 'end',\n );\n this.positioned.set(true);\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n panel.setAttribute('data-positioned', 'true');\n }\n\n protected suppressNativeMenu(event: MouseEvent): void {\n event.preventDefault();\n }\n\n protected setActivePath(path: readonly number[]): void {\n this.activePathKey.set(this.pathKey(path));\n }\n\n protected handleEntryPointerEnter(entry: AerisTieredMenuEntry<T>): void {\n if (entry.disabled || entry.separator) return;\n this.activePathKey.set(entry.pathKey);\n this.openPathKey.set(entry.children.length ? entry.pathKey : entry.parentPathKey);\n }\n\n protected handlePanelMouseLeave(): void {\n if (this.closeOnMouseLeave()) this.openPathKey.set('');\n }\n\n protected activateEntry(event: MouseEvent | KeyboardEvent, entry: AerisTieredMenuEntry<T>): void {\n if (this.disabled() || entry.disabled || entry.separator) {\n event.preventDefault();\n return;\n }\n\n if (entry.children.length) {\n event.preventDefault();\n this.openPathKey.set(entry.open ? entry.parentPathKey : entry.pathKey);\n this.activePathKey.set(entry.pathKey);\n if (!entry.open) this.focusFirstChild(entry);\n return;\n }\n\n const itemEvent = {\n originalEvent: event,\n item: entry.item,\n path: entry.path,\n target: this.activeTarget(),\n };\n entry.item.command?.(itemEvent);\n this.itemSelected.emit(itemEvent);\n if (entry.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(entry.item.routerLink, event);\n }\n if (this.closeOnSelect()) this.hide(event, 'select');\n }\n\n protected handleItemKeydown(event: KeyboardEvent, entry: AerisTieredMenuEntry<T>): void {\n const openKey = this.isRtl() ? 'ArrowLeft' : 'ArrowRight';\n const closeKey = this.isRtl() ? 'ArrowRight' : 'ArrowLeft';\n\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.focusSibling(entry, 1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.focusSibling(entry, -1);\n break;\n case 'Home':\n event.preventDefault();\n this.focusEdge(entry, 'first');\n break;\n case 'End':\n event.preventDefault();\n this.focusEdge(entry, 'last');\n break;\n case openKey:\n event.preventDefault();\n if (entry.children.length) {\n this.openPathKey.set(entry.pathKey);\n this.focusFirstChild(entry);\n }\n break;\n case closeKey:\n event.preventDefault();\n this.closeSubmenu(entry);\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.activateEntry(event, entry);\n break;\n case 'Escape':\n if (!this.closeOnEscape()) return;\n event.preventDefault();\n if (entry.parentPathKey) {\n this.closeSubmenu(entry);\n } else {\n this.hide(event, 'escape');\n }\n break;\n case 'Tab':\n this.hide(event, 'outside', false);\n break;\n }\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.panelVisible() || !this.hideOnOutsideClick()) return;\n const target = event.target;\n const panel = this.panel()?.nativeElement;\n if (\n target instanceof Node &&\n (this.host.nativeElement.contains(target) || panel?.contains(target))\n )\n return;\n this.hide(event, 'outside', false);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape' || !this.closeOnEscape()) return;\n if (!this.openPathKey() && (!this.popup() || !this.open())) return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected itemContext(entry: AerisTieredMenuEntry<T>): AerisTieredMenuItemTemplateContext<T> {\n return {\n $implicit: entry.item,\n item: entry.item,\n path: entry.path,\n level: entry.level,\n active: entry.active,\n open: entry.open,\n disabled: entry.disabled,\n hasSubmenu: entry.children.length > 0,\n };\n }\n\n private openAtTarget(target: EventTarget | null, originalEvent: Event): void {\n const element = target instanceof Element ? target : this.host.nativeElement;\n const rect = element.getBoundingClientRect();\n const y = rect.bottom + 6;\n this.anchorPoint.set({ x: rect.left, y });\n this.coordinates.set({ x: rect.left, y });\n this.positioned.set(false);\n this.open.set(true);\n this.startScrollTracking();\n this.openInitialItem();\n const event = this.visibilityEvent(true, 'api', originalEvent);\n this.shown.emit(event);\n this.visibilityChanged.emit(event);\n afterNextRender(\n () => {\n this.reposition();\n if (this.autoFocus()) this.focusActiveItem();\n },\n { injector: this.injector },\n );\n }\n\n protected readonly portalAnchor = computed(() => {\n const target = this.activeTarget();\n return target instanceof HTMLElement ? target : this.host.nativeElement;\n });\n\n private currentAnchorPoint(): AerisTieredMenuCoordinates {\n const target = this.activeTarget();\n if (!target) return this.anchorPoint();\n\n const rect = target.getBoundingClientRect();\n return { x: rect.left, y: rect.bottom + 6 };\n }\n\n private startScrollTracking(): void {\n if (this.scrollCleanup) return;\n const document = this.host.nativeElement.ownerDocument;\n const handleScroll = this.repositionFrame.schedule;\n document.addEventListener('scroll', handleScroll, true);\n this.scrollCleanup = (): void => {\n document.removeEventListener('scroll', handleScroll, true);\n this.repositionFrame.cancel();\n this.scrollCleanup = null;\n };\n }\n\n private stopScrollTracking(): void {\n this.scrollCleanup?.();\n }\n\n private buildEntries(\n items: readonly AerisTieredMenuItem<T>[],\n parentPath: readonly number[],\n level: number,\n activePathKey: string,\n openPathKey: string,\n ): readonly AerisTieredMenuEntry<T>[] {\n return items\n .map((item, index) => ({ item, index }))\n .filter(({ item }) => item.visible !== false)\n .map(({ item, index }) => {\n const path = [...parentPath, index];\n const key = this.pathKey(path);\n const children = this.buildEntries(\n item.items ?? [],\n path,\n level + 1,\n activePathKey,\n openPathKey,\n );\n return {\n item,\n id: item.id ?? `${this.id()}-item-${key.replace(/\\./g, '-')}`,\n path,\n pathKey: key,\n parentPathKey: this.pathKey(parentPath),\n level,\n href: this.resolveHref(item),\n separator: !!item.separator,\n disabled: !!item.disabled,\n active: activePathKey === key,\n open: openPathKey === key || openPathKey.startsWith(`${key}.`),\n children,\n };\n });\n }\n\n private openInitialItem(): void {\n this.activePathKey.set(this.firstEnabledEntry(this.entries())?.pathKey ?? '');\n }\n\n private focusSibling(entry: AerisTieredMenuEntry<T>, step: 1 | -1): void {\n const siblings = this.enabledEntriesForParent(entry.parentPathKey);\n if (!siblings.length) return;\n const current = siblings.findIndex((item) => item.pathKey === entry.pathKey);\n const next =\n current < 0\n ? step === 1\n ? 0\n : siblings.length - 1\n : (current + step + siblings.length) % siblings.length;\n this.focusEntry(siblings[next]);\n }\n\n private focusEdge(entry: AerisTieredMenuEntry<T>, edge: 'first' | 'last'): void {\n const siblings = this.enabledEntriesForParent(entry.parentPathKey);\n this.focusEntry(edge === 'first' ? siblings[0] : siblings.at(-1));\n }\n\n private focusFirstChild(entry: AerisTieredMenuEntry<T>): void {\n afterNextRender(() => this.focusEntry(this.firstEnabledEntry(entry.children)), {\n injector: this.injector,\n });\n }\n\n private closeSubmenu(entry: AerisTieredMenuEntry<T>): void {\n if (!entry.parentPathKey) return;\n const parent = this.findEntry(entry.parentPathKey);\n this.openPathKey.set(parent?.parentPathKey ?? '');\n this.focusEntry(parent);\n }\n\n private focusActiveItem(): void {\n this.focusEntry(this.findEntry(this.activePathKey()) ?? this.firstEnabledEntry(this.entries()));\n }\n\n private focusEntry(entry: AerisTieredMenuEntry<T> | undefined): void {\n if (!entry) return;\n this.activePathKey.set(entry.pathKey);\n queueMicrotask(() => {\n this.menuItems()\n .find(\n ({ nativeElement }) =>\n nativeElement.getAttribute('data-aeris-tiered-menu-path') === entry.pathKey,\n )\n ?.nativeElement.focus();\n });\n }\n\n private enabledEntriesForParent(parentPathKey: string): readonly AerisTieredMenuEntry<T>[] {\n return this.flattenEntries(this.entries()).filter(\n (entry) => entry.parentPathKey === parentPathKey && !entry.separator && !entry.disabled,\n );\n }\n\n private firstEnabledEntry(\n entries: readonly AerisTieredMenuEntry<T>[],\n ): AerisTieredMenuEntry<T> | undefined {\n return entries.find((entry) => !entry.separator && !entry.disabled);\n }\n\n private findEntry(pathKey: string): AerisTieredMenuEntry<T> | undefined {\n return this.flattenEntries(this.entries()).find((entry) => entry.pathKey === pathKey);\n }\n\n private flattenEntries(\n entries: readonly AerisTieredMenuEntry<T>[],\n ): readonly AerisTieredMenuEntry<T>[] {\n return entries.flatMap((entry) => [entry, ...this.flattenEntries(entry.children)]);\n }\n\n private visibilityEvent(\n visible: boolean,\n reason: AerisTieredMenuCloseReason,\n originalEvent: Event | null,\n ): AerisTieredMenuVisibilityEvent {\n return {\n originalEvent,\n visible,\n reason,\n target: this.activeTarget(),\n };\n }\n\n private resolveHref(item: AerisTieredMenuItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n\n private pathKey(path: readonly number[]): string {\n return path.join('.');\n }\n\n private isRtl(): boolean {\n return this.host.nativeElement.ownerDocument.documentElement.dir === 'rtl';\n }\n}\n\nexport const AerisTieredMenuModule = [AerisTieredMenu, AerisTieredMenuItemTemplate] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo"],"mappings":";;;;;MAsGa,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAAqD,WAAW,CAAC;AAE3F,IAAA,OAAO,sBAAsB,CAC3B,UAA0C,EAC1C,OAAgB,EAAA;AAEhB,QAAA,OAAO,IAAI;IACb;uGARW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,SAAS;mBAAC,EAAE,QA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KAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;MA6cU,qBAAqB,GAAG,CAAC,eAAe,EAAE,2BAA2B;;ACzuBlF;;AAEG;;;;"}
@@ -7,10 +7,10 @@ class AerisTimelineMarkerTemplate {
7
7
  static ngTemplateContextGuard(_directive, context) {
8
8
  return true;
9
9
  }
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineMarkerTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisTimelineMarkerTemplate, isStandalone: true, selector: "ng-template[aerisTimelineMarker]", ngImport: i0 });
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineMarkerTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisTimelineMarkerTemplate, isStandalone: true, selector: "ng-template[aerisTimelineMarker]", ngImport: i0 });
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineMarkerTemplate, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineMarkerTemplate, decorators: [{
14
14
  type: Directive,
15
15
  args: [{ selector: 'ng-template[aerisTimelineMarker]' }]
16
16
  }] });
@@ -19,10 +19,10 @@ class AerisTimelineContentTemplate {
19
19
  static ngTemplateContextGuard(_directive, context) {
20
20
  return true;
21
21
  }
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisTimelineContentTemplate, isStandalone: true, selector: "ng-template[aerisTimelineContent]", ngImport: i0 });
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisTimelineContentTemplate, isStandalone: true, selector: "ng-template[aerisTimelineContent]", ngImport: i0 });
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineContentTemplate, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineContentTemplate, decorators: [{
26
26
  type: Directive,
27
27
  args: [{ selector: 'ng-template[aerisTimelineContent]' }]
28
28
  }] });
@@ -31,19 +31,19 @@ class AerisTimelineOppositeTemplate {
31
31
  static ngTemplateContextGuard(_directive, context) {
32
32
  return true;
33
33
  }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineOppositeTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisTimelineOppositeTemplate, isStandalone: true, selector: "ng-template[aerisTimelineOpposite]", ngImport: i0 });
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineOppositeTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisTimelineOppositeTemplate, isStandalone: true, selector: "ng-template[aerisTimelineOpposite]", ngImport: i0 });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineOppositeTemplate, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineOppositeTemplate, decorators: [{
38
38
  type: Directive,
39
39
  args: [{ selector: 'ng-template[aerisTimelineOpposite]' }]
40
40
  }] });
41
41
  class AerisTimelineEmptyTemplate {
42
42
  template = inject(TemplateRef);
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineEmptyTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
44
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisTimelineEmptyTemplate, isStandalone: true, selector: "ng-template[aerisTimelineEmpty]", ngImport: i0 });
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineEmptyTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisTimelineEmptyTemplate, isStandalone: true, selector: "ng-template[aerisTimelineEmpty]", ngImport: i0 });
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimelineEmptyTemplate, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimelineEmptyTemplate, decorators: [{
47
47
  type: Directive,
48
48
  args: [{ selector: 'ng-template[aerisTimelineEmpty]' }]
49
49
  }] });
@@ -109,8 +109,8 @@ class AerisTimeline {
109
109
  return 'upcoming';
110
110
  return index === activeIndex ? 'current' : 'complete';
111
111
  }
112
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AerisTimeline, isStandalone: true, selector: "aeris-timeline", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, reverse: { classPropertyName: "reverse", publicName: "reverse", isSignal: true, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "markerTemplate", first: true, predicate: (AerisTimelineMarkerTemplate), descendants: true, isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: (AerisTimelineContentTemplate), descendants: true, isSignal: true }, { propertyName: "oppositeTemplate", first: true, predicate: (AerisTimelineOppositeTemplate), descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: AerisTimelineEmptyTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
112
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AerisTimeline, isStandalone: true, selector: "aeris-timeline", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, reverse: { classPropertyName: "reverse", publicName: "reverse", isSignal: true, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "markerTemplate", first: true, predicate: (AerisTimelineMarkerTemplate), descendants: true, isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: (AerisTimelineContentTemplate), descendants: true, isSignal: true }, { propertyName: "oppositeTemplate", first: true, predicate: (AerisTimelineOppositeTemplate), descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: AerisTimelineEmptyTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
114
114
  <div
115
115
  class="aeris-timeline"
116
116
  [attr.data-orientation]="orientation()"
@@ -183,9 +183,9 @@ class AerisTimeline {
183
183
  </div>
184
184
  }
185
185
  </div>
186
- `, isInline: true, styles: [":host{display:block;min-width:0}.aeris-timeline{width:100%;color:var(--aeris-text, #222222)}.aeris-timeline__list{padding:0;margin:0;list-style:none}.aeris-timeline__item{min-width:0}.aeris-timeline__opposite,.aeris-timeline__content{min-width:0;padding:var(--aeris-timeline-content-padding, .125rem .875rem 1.5rem)}.aeris-timeline__opposite{color:var(--aeris-text-muted, #6d7068);font-size:.75rem;line-height:1.5}.aeris-timeline__content strong{display:block;color:var(--aeris-text, #222222);font-size:.9375rem;line-height:1.4}.aeris-timeline__content p{max-width:38rem;margin:.375rem 0 0;color:var(--aeris-text-2, #555555);font-size:.8125rem;line-height:1.65}.aeris-timeline__separator{display:flex;align-items:center}.aeris-timeline__marker{position:relative;z-index:1;width:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-marker-size, 1rem);flex:0 0 var(--aeris-timeline-marker-size, 1rem);display:grid;place-items:center;border:2px solid var(--aeris-timeline-marker-color, var(--aeris-border, #deddd7));border-radius:50%;background:var(--aeris-surface, #fff);color:var(--aeris-timeline-marker-color, var(--aeris-text-muted, #6d7068))}.aeris-timeline__marker-dot{width:.375rem;height:.375rem;border-radius:50%;background:currentColor}.aeris-timeline__marker[data-custom=true]{border:0;background:transparent}.aeris-timeline__connector{flex:1 1 auto;background:var(--aeris-timeline-connector-color, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-status=info]{--aeris-timeline-marker-color: var(--aeris-info, #58798a)}.aeris-timeline__item[data-status=success]{--aeris-timeline-marker-color: var(--aeris-success, #557345)}.aeris-timeline__item[data-status=warning]{--aeris-timeline-marker-color: var(--aeris-warning, #c38600)}.aeris-timeline__item[data-status=danger]{--aeris-timeline-marker-color: var(--aeris-danger, #c81e2a)}.aeris-timeline__item[data-state=complete]{--aeris-timeline-connector-color: color-mix(in srgb, var(--aeris-primary, #5f6f36) 58%, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-state=complete][data-status=neutral],.aeris-timeline__item[data-state=current][data-status=neutral]{--aeris-timeline-marker-color: var(--aeris-primary, #5f6f36)}.aeris-timeline__item[data-state=current] .aeris-timeline__marker{box-shadow:0 0 0 4px color-mix(in srgb,var(--aeris-timeline-marker-color, var(--aeris-primary, #5f6f36)) 18%,transparent)}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item{min-height:var(--aeris-timeline-item-min-height, 5.5rem);display:grid;grid-template-columns:minmax(0,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);align-items:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__opposite{grid-column:1;grid-row:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__separator{height:100%;grid-column:2;grid-row:1;flex-direction:column}.aeris-timeline[data-orientation=vertical] .aeris-timeline__connector{width:var(--aeris-timeline-connector-width, 2px);min-height:1.5rem}.aeris-timeline[data-orientation=vertical] .aeris-timeline__content{grid-column:3;grid-row:1}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:3;text-align:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:auto}.aeris-timeline[data-orientation=horizontal]{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__list{min-width:max-content;display:flex}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item{width:var(--aeris-timeline-horizontal-item-width, 14rem);display:grid;grid-template-rows:minmax(4.5rem,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(4.5rem,1fr);flex:0 0 var(--aeris-timeline-horizontal-item-width, 14rem)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__opposite{grid-column:1;grid-row:1;align-self:end;padding-bottom:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__separator{position:relative;display:block;grid-column:1;grid-row:2;width:100%}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__marker{position:absolute;top:50%;left:0;transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__connector{position:absolute;top:50%;right:0;left:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-connector-width, 2px);transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__content{grid-column:1;grid-row:3;padding-top:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-row:3;align-self:start;padding-top:.75rem;padding-bottom:1.5rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-row:1;align-self:end;padding-top:.125rem;padding-bottom:.75rem}.aeris-timeline__empty{min-height:9rem;display:grid;place-items:center;padding:1.5rem;border:1px dashed var(--aeris-border);border-radius:var(--aeris-radius-lg, .875rem);color:var(--aeris-text-muted, #6d7068);font-size:.8125rem;text-align:center}@media(max-width:42rem){.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item{grid-template-columns:var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__separator{grid-column:1;grid-row:1/span 2}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__opposite,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:2;grid-row:1;padding-bottom:.25rem;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__content,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:2;grid-row:2;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:0}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
186
+ `, isInline: true, styles: [":host{display:block;min-width:0}.aeris-timeline{width:100%;color:var(--aeris-text, #222222)}.aeris-timeline__list{padding:0;margin:0;list-style:none}.aeris-timeline__item{min-width:0}.aeris-timeline__opposite,.aeris-timeline__content{min-width:0;padding:var(--aeris-timeline-content-padding, .125rem .875rem 1.5rem)}.aeris-timeline__opposite{color:var(--aeris-text-muted, #6d7068);font-size:.75rem;line-height:1.5}.aeris-timeline__content strong{display:block;color:var(--aeris-text, #222222);font-size:.9375rem;line-height:1.4}.aeris-timeline__content p{max-width:38rem;margin:.375rem 0 0;color:var(--aeris-text-2, #555555);font-size:.8125rem;line-height:1.65}.aeris-timeline__separator{display:flex;align-items:center}.aeris-timeline__marker{position:relative;z-index:1;width:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-marker-size, 1rem);flex:0 0 var(--aeris-timeline-marker-size, 1rem);display:grid;place-items:center;border:2px solid var(--aeris-timeline-marker-color, var(--aeris-border, #deddd7));border-radius:50%;background:var(--aeris-surface, #fff);color:var(--aeris-timeline-marker-color, var(--aeris-text-muted, #6d7068))}.aeris-timeline__marker-dot{width:.375rem;height:.375rem;border-radius:50%;background:currentColor}.aeris-timeline__marker[data-custom=true]{border:0;background:transparent}.aeris-timeline__connector{flex:1 1 auto;background:var(--aeris-timeline-connector-color, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-status=info]{--aeris-timeline-marker-color: var(--aeris-info, #58798a)}.aeris-timeline__item[data-status=success]{--aeris-timeline-marker-color: var(--aeris-success, #557345)}.aeris-timeline__item[data-status=warning]{--aeris-timeline-marker-color: var(--aeris-warning, #c38600)}.aeris-timeline__item[data-status=danger]{--aeris-timeline-marker-color: var(--aeris-danger, #c81e2a)}.aeris-timeline__item[data-state=complete]{--aeris-timeline-connector-color: color-mix( in srgb, var(--aeris-primary, #5f6f36) 58%, var(--aeris-border, #deddd7) )}.aeris-timeline__item[data-state=complete][data-status=neutral],.aeris-timeline__item[data-state=current][data-status=neutral]{--aeris-timeline-marker-color: var(--aeris-primary, #5f6f36)}.aeris-timeline__item[data-state=current] .aeris-timeline__marker{box-shadow:0 0 0 4px color-mix(in srgb,var(--aeris-timeline-marker-color, var(--aeris-primary, #5f6f36)) 18%,transparent)}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item{min-height:var(--aeris-timeline-item-min-height, 5.5rem);display:grid;grid-template-columns:minmax(0,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);align-items:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__opposite{grid-column:1;grid-row:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__separator{height:100%;grid-column:2;grid-row:1;flex-direction:column}.aeris-timeline[data-orientation=vertical] .aeris-timeline__connector{width:var(--aeris-timeline-connector-width, 2px);min-height:1.5rem}.aeris-timeline[data-orientation=vertical] .aeris-timeline__content{grid-column:3;grid-row:1}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:3;text-align:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:auto}.aeris-timeline[data-orientation=horizontal]{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__list{min-width:max-content;display:flex}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item{width:var(--aeris-timeline-horizontal-item-width, 14rem);display:grid;grid-template-rows:minmax(4.5rem,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(4.5rem,1fr);flex:0 0 var(--aeris-timeline-horizontal-item-width, 14rem)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__opposite{grid-column:1;grid-row:1;align-self:end;padding-bottom:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__separator{position:relative;display:block;grid-column:1;grid-row:2;width:100%}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__marker{position:absolute;top:50%;left:0;transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__connector{position:absolute;top:50%;right:0;left:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-connector-width, 2px);transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__content{grid-column:1;grid-row:3;padding-top:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-row:3;align-self:start;padding-top:.75rem;padding-bottom:1.5rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-row:1;align-self:end;padding-top:.125rem;padding-bottom:.75rem}.aeris-timeline__empty{min-height:9rem;display:grid;place-items:center;padding:1.5rem;border:1px dashed var(--aeris-border);border-radius:var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem));color:var(--aeris-text-muted, #6d7068);font-size:.8125rem;text-align:center}@media(max-width:42rem){.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item{grid-template-columns:var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__separator{grid-column:1;grid-row:1/span 2}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__opposite,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:2;grid-row:1;padding-bottom:.25rem;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__content,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:2;grid-row:2;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:0}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
187
187
  }
188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisTimeline, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTimeline, decorators: [{
189
189
  type: Component,
190
190
  args: [{ selector: 'aeris-timeline', imports: [NgTemplateOutlet], template: `
191
191
  <div
@@ -260,7 +260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
260
260
  </div>
261
261
  }
262
262
  </div>
263
- `, styles: [":host{display:block;min-width:0}.aeris-timeline{width:100%;color:var(--aeris-text, #222222)}.aeris-timeline__list{padding:0;margin:0;list-style:none}.aeris-timeline__item{min-width:0}.aeris-timeline__opposite,.aeris-timeline__content{min-width:0;padding:var(--aeris-timeline-content-padding, .125rem .875rem 1.5rem)}.aeris-timeline__opposite{color:var(--aeris-text-muted, #6d7068);font-size:.75rem;line-height:1.5}.aeris-timeline__content strong{display:block;color:var(--aeris-text, #222222);font-size:.9375rem;line-height:1.4}.aeris-timeline__content p{max-width:38rem;margin:.375rem 0 0;color:var(--aeris-text-2, #555555);font-size:.8125rem;line-height:1.65}.aeris-timeline__separator{display:flex;align-items:center}.aeris-timeline__marker{position:relative;z-index:1;width:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-marker-size, 1rem);flex:0 0 var(--aeris-timeline-marker-size, 1rem);display:grid;place-items:center;border:2px solid var(--aeris-timeline-marker-color, var(--aeris-border, #deddd7));border-radius:50%;background:var(--aeris-surface, #fff);color:var(--aeris-timeline-marker-color, var(--aeris-text-muted, #6d7068))}.aeris-timeline__marker-dot{width:.375rem;height:.375rem;border-radius:50%;background:currentColor}.aeris-timeline__marker[data-custom=true]{border:0;background:transparent}.aeris-timeline__connector{flex:1 1 auto;background:var(--aeris-timeline-connector-color, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-status=info]{--aeris-timeline-marker-color: var(--aeris-info, #58798a)}.aeris-timeline__item[data-status=success]{--aeris-timeline-marker-color: var(--aeris-success, #557345)}.aeris-timeline__item[data-status=warning]{--aeris-timeline-marker-color: var(--aeris-warning, #c38600)}.aeris-timeline__item[data-status=danger]{--aeris-timeline-marker-color: var(--aeris-danger, #c81e2a)}.aeris-timeline__item[data-state=complete]{--aeris-timeline-connector-color: color-mix(in srgb, var(--aeris-primary, #5f6f36) 58%, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-state=complete][data-status=neutral],.aeris-timeline__item[data-state=current][data-status=neutral]{--aeris-timeline-marker-color: var(--aeris-primary, #5f6f36)}.aeris-timeline__item[data-state=current] .aeris-timeline__marker{box-shadow:0 0 0 4px color-mix(in srgb,var(--aeris-timeline-marker-color, var(--aeris-primary, #5f6f36)) 18%,transparent)}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item{min-height:var(--aeris-timeline-item-min-height, 5.5rem);display:grid;grid-template-columns:minmax(0,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);align-items:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__opposite{grid-column:1;grid-row:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__separator{height:100%;grid-column:2;grid-row:1;flex-direction:column}.aeris-timeline[data-orientation=vertical] .aeris-timeline__connector{width:var(--aeris-timeline-connector-width, 2px);min-height:1.5rem}.aeris-timeline[data-orientation=vertical] .aeris-timeline__content{grid-column:3;grid-row:1}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:3;text-align:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:auto}.aeris-timeline[data-orientation=horizontal]{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__list{min-width:max-content;display:flex}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item{width:var(--aeris-timeline-horizontal-item-width, 14rem);display:grid;grid-template-rows:minmax(4.5rem,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(4.5rem,1fr);flex:0 0 var(--aeris-timeline-horizontal-item-width, 14rem)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__opposite{grid-column:1;grid-row:1;align-self:end;padding-bottom:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__separator{position:relative;display:block;grid-column:1;grid-row:2;width:100%}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__marker{position:absolute;top:50%;left:0;transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__connector{position:absolute;top:50%;right:0;left:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-connector-width, 2px);transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__content{grid-column:1;grid-row:3;padding-top:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-row:3;align-self:start;padding-top:.75rem;padding-bottom:1.5rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-row:1;align-self:end;padding-top:.125rem;padding-bottom:.75rem}.aeris-timeline__empty{min-height:9rem;display:grid;place-items:center;padding:1.5rem;border:1px dashed var(--aeris-border);border-radius:var(--aeris-radius-lg, .875rem);color:var(--aeris-text-muted, #6d7068);font-size:.8125rem;text-align:center}@media(max-width:42rem){.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item{grid-template-columns:var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__separator{grid-column:1;grid-row:1/span 2}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__opposite,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:2;grid-row:1;padding-bottom:.25rem;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__content,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:2;grid-row:2;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:0}}\n"] }]
263
+ `, styles: [":host{display:block;min-width:0}.aeris-timeline{width:100%;color:var(--aeris-text, #222222)}.aeris-timeline__list{padding:0;margin:0;list-style:none}.aeris-timeline__item{min-width:0}.aeris-timeline__opposite,.aeris-timeline__content{min-width:0;padding:var(--aeris-timeline-content-padding, .125rem .875rem 1.5rem)}.aeris-timeline__opposite{color:var(--aeris-text-muted, #6d7068);font-size:.75rem;line-height:1.5}.aeris-timeline__content strong{display:block;color:var(--aeris-text, #222222);font-size:.9375rem;line-height:1.4}.aeris-timeline__content p{max-width:38rem;margin:.375rem 0 0;color:var(--aeris-text-2, #555555);font-size:.8125rem;line-height:1.65}.aeris-timeline__separator{display:flex;align-items:center}.aeris-timeline__marker{position:relative;z-index:1;width:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-marker-size, 1rem);flex:0 0 var(--aeris-timeline-marker-size, 1rem);display:grid;place-items:center;border:2px solid var(--aeris-timeline-marker-color, var(--aeris-border, #deddd7));border-radius:50%;background:var(--aeris-surface, #fff);color:var(--aeris-timeline-marker-color, var(--aeris-text-muted, #6d7068))}.aeris-timeline__marker-dot{width:.375rem;height:.375rem;border-radius:50%;background:currentColor}.aeris-timeline__marker[data-custom=true]{border:0;background:transparent}.aeris-timeline__connector{flex:1 1 auto;background:var(--aeris-timeline-connector-color, var(--aeris-border, #deddd7))}.aeris-timeline__item[data-status=info]{--aeris-timeline-marker-color: var(--aeris-info, #58798a)}.aeris-timeline__item[data-status=success]{--aeris-timeline-marker-color: var(--aeris-success, #557345)}.aeris-timeline__item[data-status=warning]{--aeris-timeline-marker-color: var(--aeris-warning, #c38600)}.aeris-timeline__item[data-status=danger]{--aeris-timeline-marker-color: var(--aeris-danger, #c81e2a)}.aeris-timeline__item[data-state=complete]{--aeris-timeline-connector-color: color-mix( in srgb, var(--aeris-primary, #5f6f36) 58%, var(--aeris-border, #deddd7) )}.aeris-timeline__item[data-state=complete][data-status=neutral],.aeris-timeline__item[data-state=current][data-status=neutral]{--aeris-timeline-marker-color: var(--aeris-primary, #5f6f36)}.aeris-timeline__item[data-state=current] .aeris-timeline__marker{box-shadow:0 0 0 4px color-mix(in srgb,var(--aeris-timeline-marker-color, var(--aeris-primary, #5f6f36)) 18%,transparent)}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item{min-height:var(--aeris-timeline-item-min-height, 5.5rem);display:grid;grid-template-columns:minmax(0,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);align-items:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__opposite{grid-column:1;grid-row:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__separator{height:100%;grid-column:2;grid-row:1;flex-direction:column}.aeris-timeline[data-orientation=vertical] .aeris-timeline__connector{width:var(--aeris-timeline-connector-width, 2px);min-height:1.5rem}.aeris-timeline[data-orientation=vertical] .aeris-timeline__content{grid-column:3;grid-row:1}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:3;text-align:start}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:1;text-align:end}.aeris-timeline[data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:auto}.aeris-timeline[data-orientation=horizontal]{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__list{min-width:max-content;display:flex}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item{width:var(--aeris-timeline-horizontal-item-width, 14rem);display:grid;grid-template-rows:minmax(4.5rem,1fr) var(--aeris-timeline-separator-size, 2rem) minmax(4.5rem,1fr);flex:0 0 var(--aeris-timeline-horizontal-item-width, 14rem)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__opposite{grid-column:1;grid-row:1;align-self:end;padding-bottom:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__separator{position:relative;display:block;grid-column:1;grid-row:2;width:100%}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__marker{position:absolute;top:50%;left:0;transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__connector{position:absolute;top:50%;right:0;left:var(--aeris-timeline-marker-size, 1rem);height:var(--aeris-timeline-connector-width, 2px);transform:translateY(-50%)}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__content{grid-column:1;grid-row:3;padding-top:.75rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-row:3;align-self:start;padding-top:.75rem;padding-bottom:1.5rem}.aeris-timeline[data-orientation=horizontal] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-row:1;align-self:end;padding-top:.125rem;padding-bottom:.75rem}.aeris-timeline__empty{min-height:9rem;display:grid;place-items:center;padding:1.5rem;border:1px dashed var(--aeris-border);border-radius:var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem));color:var(--aeris-text-muted, #6d7068);font-size:.8125rem;text-align:center}@media(max-width:42rem){.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item{grid-template-columns:var(--aeris-timeline-separator-size, 2rem) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__separator{grid-column:1;grid-row:1/span 2}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__opposite,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__opposite{grid-column:2;grid-row:1;padding-bottom:.25rem;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__content,.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content{grid-column:2;grid-row:2;text-align:start}.aeris-timeline[data-responsive=true][data-orientation=vertical] .aeris-timeline__item[data-side=end] .aeris-timeline__content p{margin-inline-start:0}}\n"] }]
264
264
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }], reverse: [{ type: i0.Input, args: [{ isSignal: true, alias: "reverse", required: false }] }], responsive: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsive", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], markerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisTimelineMarkerTemplate), { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisTimelineContentTemplate), { isSignal: true }] }], oppositeTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisTimelineOppositeTemplate), { isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisTimelineEmptyTemplate), { isSignal: true }] }] } });
265
265
  const AerisTimelineModule = [
266
266
  AerisTimeline,
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-timeline.mjs","sources":["../../../projects/aeris-ui/timeline/aeris-timeline.ts","../../../projects/aeris-ui/timeline/aeris-ui-core-timeline.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n} from '@angular/core';\n\nexport type AerisTimelineOrientation = 'vertical' | 'horizontal';\nexport type AerisTimelineAlign = 'start' | 'end' | 'alternate';\nexport type AerisTimelineStatus = 'neutral' | 'info' | 'success' | 'warning' | 'danger';\nexport type AerisTimelineProgressState = 'complete' | 'current' | 'upcoming';\n\nexport interface AerisTimelineItem<TData = unknown> {\n readonly id?: string;\n readonly title?: string;\n readonly description?: string;\n readonly date?: string;\n readonly status?: AerisTimelineStatus;\n readonly markerColor?: string;\n readonly data?: TData;\n}\n\nexport interface AerisTimelineItemContext<TData = unknown> {\n readonly $implicit: AerisTimelineItem<TData>;\n readonly item: AerisTimelineItem<TData>;\n readonly index: number;\n readonly first: boolean;\n readonly last: boolean;\n readonly status: AerisTimelineStatus;\n readonly state: AerisTimelineProgressState;\n}\n\ninterface AerisTimelineRenderedItem<TData> {\n readonly item: AerisTimelineItem<TData>;\n readonly key: string;\n readonly side: 'start' | 'end';\n readonly status: AerisTimelineStatus;\n readonly state: AerisTimelineProgressState;\n readonly markerColor: string | null;\n readonly context: AerisTimelineItemContext<TData>;\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineMarker]' })\nexport class AerisTimelineMarkerTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineMarkerTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineContent]' })\nexport class AerisTimelineContentTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineContentTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineOpposite]' })\nexport class AerisTimelineOppositeTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineOppositeTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineEmpty]' })\nexport class AerisTimelineEmptyTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-timeline',\n imports: [NgTemplateOutlet],\n template: `\n <div\n class=\"aeris-timeline\"\n [attr.data-orientation]=\"orientation()\"\n [attr.data-align]=\"align()\"\n [attr.data-responsive]=\"responsive()\"\n >\n @if (renderedItems().length) {\n <ol class=\"aeris-timeline__list\" [attr.aria-label]=\"ariaLabel()\">\n @for (entry of renderedItems(); track entry.key; let last = $last) {\n <li\n class=\"aeris-timeline__item\"\n [attr.data-side]=\"entry.side\"\n [attr.data-status]=\"entry.status\"\n [attr.data-state]=\"entry.state\"\n [attr.aria-current]=\"entry.state === 'current' ? 'step' : null\"\n [style.--aeris-timeline-marker-color]=\"entry.markerColor\"\n >\n <div class=\"aeris-timeline__opposite\">\n @if (oppositeTemplate(); as customOpposite) {\n <ng-container\n [ngTemplateOutlet]=\"customOpposite.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else if (entry.item.date) {\n <time>{{ entry.item.date }}</time>\n }\n </div>\n\n <div class=\"aeris-timeline__separator\" aria-hidden=\"true\">\n <span class=\"aeris-timeline__marker\" [attr.data-custom]=\"markerTemplate() ? 'true' : null\">\n @if (markerTemplate(); as customMarker) {\n <ng-container\n [ngTemplateOutlet]=\"customMarker.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else {\n <span class=\"aeris-timeline__marker-dot\"></span>\n }\n </span>\n @if (!last) {\n <span class=\"aeris-timeline__connector\"></span>\n }\n </div>\n\n <div class=\"aeris-timeline__content\">\n @if (contentTemplate(); as customContent) {\n <ng-container\n [ngTemplateOutlet]=\"customContent.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else {\n @if (entry.item.title) {\n <strong>{{ entry.item.title }}</strong>\n }\n @if (entry.item.description) {\n <p>{{ entry.item.description }}</p>\n }\n }\n </div>\n </li>\n }\n </ol>\n } @else {\n <div class=\"aeris-timeline__empty\" role=\"status\">\n @if (emptyTemplate(); as customEmpty) {\n <ng-container [ngTemplateOutlet]=\"customEmpty.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </div>\n }\n </div>\n `,\n styleUrl: './aeris-timeline.scss',\n})\nexport class AerisTimeline<TData = unknown> {\n readonly value = input<readonly AerisTimelineItem<TData>[]>([]);\n readonly orientation = input<AerisTimelineOrientation>('vertical');\n readonly align = input<AerisTimelineAlign>('start');\n readonly activeIndex = input(-1);\n readonly reverse = input(false, { transform: booleanAttribute });\n readonly responsive = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Timeline');\n readonly emptyMessage = input('No timeline events available');\n\n protected readonly markerTemplate = contentChild(AerisTimelineMarkerTemplate<TData>);\n protected readonly contentTemplate = contentChild(AerisTimelineContentTemplate<TData>);\n protected readonly oppositeTemplate = contentChild(AerisTimelineOppositeTemplate<TData>);\n protected readonly emptyTemplate = contentChild(AerisTimelineEmptyTemplate);\n protected readonly renderedItems = computed<readonly AerisTimelineRenderedItem<TData>[]>(() => {\n const source = this.reverse() ? [...this.value()].reverse() : this.value();\n const lastIndex = source.length - 1;\n\n return source.map((item, index) => {\n const status = item.status ?? 'neutral';\n const state = this.progressState(index);\n const context: AerisTimelineItemContext<TData> = {\n $implicit: item,\n item,\n index,\n first: index === 0,\n last: index === lastIndex,\n status,\n state,\n };\n\n return {\n item,\n key: item.id ?? String(index),\n side: this.itemSide(index),\n status,\n state,\n markerColor: item.markerColor ?? null,\n context,\n };\n });\n });\n\n private itemSide(index: number): 'start' | 'end' {\n const alignment = this.align();\n if (alignment !== 'alternate') return alignment;\n return index % 2 === 0 ? 'start' : 'end';\n }\n\n private progressState(index: number): AerisTimelineProgressState {\n const activeIndex = this.activeIndex();\n if (activeIndex < 0 || index > activeIndex) return 'upcoming';\n return index === activeIndex ? 'current' : 'complete';\n }\n}\n\nexport const AerisTimelineModule = [\n AerisTimeline,\n AerisTimelineMarkerTemplate,\n AerisTimelineContentTemplate,\n AerisTimelineOppositeTemplate,\n AerisTimelineEmptyTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAgDa,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAA+C,WAAW,CAAC;AAErF,IAAA,OAAO,sBAAsB,CAC3B,UAA8C,EAC9C,OAAgB,EAAA;AAEhB,QAAA,OAAO,IAAI;IACb;uGARW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kCAAkC,EAAE;;MAa9C,4BAA4B,CAAA;AAC9B,IAAA,QAAQ,GAAG,MAAM,CAA+C,W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AA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,2BAAkC,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACjC,4BAAmC,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,gBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAClC,6BAAoC,+FACvC,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AA2CrE,MAAM,mBAAmB,GAAG;IACjC,aAAa;IACb,2BAA2B;IAC3B,4BAA4B;IAC5B,6BAA6B;IAC7B,0BAA0B;;;ACpO5B;;AAEG;;;;"}
1
+ {"version":3,"file":"aeris-ui-core-timeline.mjs","sources":["../../../projects/aeris-ui/timeline/aeris-timeline.ts","../../../projects/aeris-ui/timeline/aeris-ui-core-timeline.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n} from '@angular/core';\n\nexport type AerisTimelineOrientation = 'vertical' | 'horizontal';\nexport type AerisTimelineAlign = 'start' | 'end' | 'alternate';\nexport type AerisTimelineStatus = 'neutral' | 'info' | 'success' | 'warning' | 'danger';\nexport type AerisTimelineProgressState = 'complete' | 'current' | 'upcoming';\n\nexport interface AerisTimelineItem<TData = unknown> {\n readonly id?: string;\n readonly title?: string;\n readonly description?: string;\n readonly date?: string;\n readonly status?: AerisTimelineStatus;\n readonly markerColor?: string;\n readonly data?: TData;\n}\n\nexport interface AerisTimelineItemContext<TData = unknown> {\n readonly $implicit: AerisTimelineItem<TData>;\n readonly item: AerisTimelineItem<TData>;\n readonly index: number;\n readonly first: boolean;\n readonly last: boolean;\n readonly status: AerisTimelineStatus;\n readonly state: AerisTimelineProgressState;\n}\n\ninterface AerisTimelineRenderedItem<TData> {\n readonly item: AerisTimelineItem<TData>;\n readonly key: string;\n readonly side: 'start' | 'end';\n readonly status: AerisTimelineStatus;\n readonly state: AerisTimelineProgressState;\n readonly markerColor: string | null;\n readonly context: AerisTimelineItemContext<TData>;\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineMarker]' })\nexport class AerisTimelineMarkerTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineMarkerTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineContent]' })\nexport class AerisTimelineContentTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineContentTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineOpposite]' })\nexport class AerisTimelineOppositeTemplate<TData = unknown> {\n readonly template = inject<TemplateRef<AerisTimelineItemContext<TData>>>(TemplateRef);\n\n static ngTemplateContextGuard<TData>(\n _directive: AerisTimelineOppositeTemplate<TData>,\n context: unknown,\n ): context is AerisTimelineItemContext<TData> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisTimelineEmpty]' })\nexport class AerisTimelineEmptyTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-timeline',\n imports: [NgTemplateOutlet],\n template: `\n <div\n class=\"aeris-timeline\"\n [attr.data-orientation]=\"orientation()\"\n [attr.data-align]=\"align()\"\n [attr.data-responsive]=\"responsive()\"\n >\n @if (renderedItems().length) {\n <ol class=\"aeris-timeline__list\" [attr.aria-label]=\"ariaLabel()\">\n @for (entry of renderedItems(); track entry.key; let last = $last) {\n <li\n class=\"aeris-timeline__item\"\n [attr.data-side]=\"entry.side\"\n [attr.data-status]=\"entry.status\"\n [attr.data-state]=\"entry.state\"\n [attr.aria-current]=\"entry.state === 'current' ? 'step' : null\"\n [style.--aeris-timeline-marker-color]=\"entry.markerColor\"\n >\n <div class=\"aeris-timeline__opposite\">\n @if (oppositeTemplate(); as customOpposite) {\n <ng-container\n [ngTemplateOutlet]=\"customOpposite.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else if (entry.item.date) {\n <time>{{ entry.item.date }}</time>\n }\n </div>\n\n <div class=\"aeris-timeline__separator\" aria-hidden=\"true\">\n <span class=\"aeris-timeline__marker\" [attr.data-custom]=\"markerTemplate() ? 'true' : null\">\n @if (markerTemplate(); as customMarker) {\n <ng-container\n [ngTemplateOutlet]=\"customMarker.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else {\n <span class=\"aeris-timeline__marker-dot\"></span>\n }\n </span>\n @if (!last) {\n <span class=\"aeris-timeline__connector\"></span>\n }\n </div>\n\n <div class=\"aeris-timeline__content\">\n @if (contentTemplate(); as customContent) {\n <ng-container\n [ngTemplateOutlet]=\"customContent.template\"\n [ngTemplateOutletContext]=\"entry.context\"\n />\n } @else {\n @if (entry.item.title) {\n <strong>{{ entry.item.title }}</strong>\n }\n @if (entry.item.description) {\n <p>{{ entry.item.description }}</p>\n }\n }\n </div>\n </li>\n }\n </ol>\n } @else {\n <div class=\"aeris-timeline__empty\" role=\"status\">\n @if (emptyTemplate(); as customEmpty) {\n <ng-container [ngTemplateOutlet]=\"customEmpty.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </div>\n }\n </div>\n `,\n styleUrl: './aeris-timeline.scss',\n})\nexport class AerisTimeline<TData = unknown> {\n readonly value = input<readonly AerisTimelineItem<TData>[]>([]);\n readonly orientation = input<AerisTimelineOrientation>('vertical');\n readonly align = input<AerisTimelineAlign>('start');\n readonly activeIndex = input(-1);\n readonly reverse = input(false, { transform: booleanAttribute });\n readonly responsive = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Timeline');\n readonly emptyMessage = input('No timeline events available');\n\n protected readonly markerTemplate = contentChild(AerisTimelineMarkerTemplate<TData>);\n protected readonly contentTemplate = contentChild(AerisTimelineContentTemplate<TData>);\n protected readonly oppositeTemplate = contentChild(AerisTimelineOppositeTemplate<TData>);\n protected readonly emptyTemplate = contentChild(AerisTimelineEmptyTemplate);\n protected readonly renderedItems = computed<readonly AerisTimelineRenderedItem<TData>[]>(() => {\n const source = this.reverse() ? [...this.value()].reverse() : this.value();\n const lastIndex = source.length - 1;\n\n return source.map((item, index) => {\n const status = item.status ?? 'neutral';\n const state = this.progressState(index);\n const context: AerisTimelineItemContext<TData> = {\n $implicit: item,\n item,\n index,\n first: index === 0,\n last: index === lastIndex,\n status,\n state,\n };\n\n return {\n item,\n key: item.id ?? String(index),\n side: this.itemSide(index),\n status,\n state,\n markerColor: item.markerColor ?? null,\n context,\n };\n });\n });\n\n private itemSide(index: number): 'start' | 'end' {\n const alignment = this.align();\n if (alignment !== 'alternate') return alignment;\n return index % 2 === 0 ? 'start' : 'end';\n }\n\n private progressState(index: number): AerisTimelineProgressState {\n const activeIndex = this.activeIndex();\n if (activeIndex < 0 || index > activeIndex) return 'upcoming';\n return index === activeIndex ? 'current' : 'complete';\n }\n}\n\nexport const AerisTimelineModule = [\n AerisTimeline,\n AerisTimelineMarkerTemplate,\n AerisTimelineContentTemplate,\n AerisTimelineOppositeTemplate,\n AerisTimelineEmptyTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAgDa,2B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ACpO5B;;AAEG;;;;"}
@@ -20,19 +20,19 @@ class AerisToastEventStream {
20
20
  }
21
21
  class AerisToastContentTemplate {
22
22
  template = inject(TemplateRef);
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisToastContentTemplate, isStandalone: true, selector: "ng-template[aerisToastContent]", ngImport: i0 });
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToastContentTemplate, isStandalone: true, selector: "ng-template[aerisToastContent]", ngImport: i0 });
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastContentTemplate, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastContentTemplate, decorators: [{
27
27
  type: Directive,
28
28
  args: [{ selector: 'ng-template[aerisToastContent]' }]
29
29
  }] });
30
30
  class AerisToastIconTemplate {
31
31
  template = inject(TemplateRef);
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AerisToastIconTemplate, isStandalone: true, selector: "ng-template[aerisToastIcon]", ngImport: i0 });
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToastIconTemplate, isStandalone: true, selector: "ng-template[aerisToastIcon]", ngImport: i0 });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastIconTemplate, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastIconTemplate, decorators: [{
36
36
  type: Directive,
37
37
  args: [{ selector: 'ng-template[aerisToastIcon]' }]
38
38
  }] });
@@ -145,10 +145,10 @@ class AerisToastService {
145
145
  createdAt: Date.now(),
146
146
  };
147
147
  }
148
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastService, deps: [], target: i0.ɵɵFactoryTarget.Service });
149
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.8", ngImport: i0, type: AerisToastService });
148
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastService, deps: [], target: i0.ɵɵFactoryTarget.Service });
149
+ static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.3", ngImport: i0, type: AerisToastService });
150
150
  }
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToastService, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToastService, decorators: [{
152
152
  type: Service
153
153
  }] });
154
154
  class AerisToast {
@@ -583,8 +583,8 @@ class AerisToast {
583
583
  return directions.includes('down');
584
584
  return directions.includes('up');
585
585
  }
586
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
587
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AerisToast, isStandalone: true, selector: "aeris-toast", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, visibleCount: { classPropertyName: "visibleCount", publicName: "visibleCount", isSignal: true, isRequired: false, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, newestOnTop: { classPropertyName: "newestOnTop", publicName: "newestOnTop", isSignal: true, isRequired: false, transformFunction: null }, pauseOnHover: { classPropertyName: "pauseOnHover", publicName: "pauseOnHover", isSignal: true, isRequired: false, transformFunction: null }, showClose: { classPropertyName: "showClose", publicName: "showClose", isSignal: true, isRequired: false, transformFunction: null }, swipeDirection: { classPropertyName: "swipeDirection", publicName: "swipeDirection", isSignal: true, isRequired: false, transformFunction: null }, swipeThreshold: { classPropertyName: "swipeThreshold", publicName: "swipeThreshold", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "attr.data-position": "position()" }, classAttribute: "aeris-toast" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: AerisToastContentTemplate, descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: AerisToastIconTemplate, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "messageElements", predicate: ["toastMessage"], descendants: true, isSignal: true }], ngImport: i0, template: `
586
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
587
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AerisToast, isStandalone: true, selector: "aeris-toast", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, visibleCount: { classPropertyName: "visibleCount", publicName: "visibleCount", isSignal: true, isRequired: false, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, newestOnTop: { classPropertyName: "newestOnTop", publicName: "newestOnTop", isSignal: true, isRequired: false, transformFunction: null }, pauseOnHover: { classPropertyName: "pauseOnHover", publicName: "pauseOnHover", isSignal: true, isRequired: false, transformFunction: null }, showClose: { classPropertyName: "showClose", publicName: "showClose", isSignal: true, isRequired: false, transformFunction: null }, swipeDirection: { classPropertyName: "swipeDirection", publicName: "swipeDirection", isSignal: true, isRequired: false, transformFunction: null }, swipeThreshold: { classPropertyName: "swipeThreshold", publicName: "swipeThreshold", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "attr.data-position": "position()" }, classAttribute: "aeris-toast" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: AerisToastContentTemplate, descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: AerisToastIconTemplate, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "messageElements", predicate: ["toastMessage"], descendants: true, isSignal: true }], ngImport: i0, template: `
588
588
  <section
589
589
  class="aeris-toast__region"
590
590
  [attr.aria-label]="hasVisibleMessages() ? ariaLabel() : null"
@@ -691,7 +691,7 @@ class AerisToast {
691
691
  </section>
692
692
  `, isInline: true, styles: [":host{display:contents}.aeris-toast__region{--_stack-gap: var(--aeris-toast-gap, .75rem);--_stack-peek: var(--aeris-toast-stack-peek, .75rem);position:fixed;z-index:var(--aeris-z-toast, 1200);isolation:isolate;width:min(var(--aeris-toast-width, 24rem),100vw - 2rem);height:0;pointer-events:none;outline:none}.aeris-toast__region[data-position^=top]{top:var(--aeris-toast-offset, 1rem)}.aeris-toast__region[data-position^=bottom]{bottom:var(--aeris-toast-offset, 1rem)}.aeris-toast__region[data-position$=left]{left:var(--aeris-toast-offset, 1rem)}.aeris-toast__region[data-position$=right]{right:var(--aeris-toast-offset, 1rem)}.aeris-toast__region[data-position$=center],.aeris-toast__region[data-position=center]{left:50%;transform:translate(-50%)}.aeris-toast__region[data-position=center]{top:50%;transform:translate(-50%,-50%)}.aeris-toast__item{--_stack-scale: max(0, 1 - (var(--aeris-toast-stack-index, 0) * .1)) ;--_stack-shrink: calc(1 - var(--_stack-scale));--_rest-y: 0px;--_active-y: var(--_rest-y);--_active-scale: var(--_stack-scale);position:absolute;inset-inline:0;z-index:calc(var(--aeris-toast-stack-size, 1) - var(--aeris-toast-stack-index, 0));box-sizing:border-box;height:var(--aeris-toast-front-height, var(--aeris-toast-height, 4.5rem));min-width:0;opacity:1;pointer-events:auto;will-change:transform;touch-action:none;-webkit-user-select:none;user-select:none;transform:translate(var(--aeris-toast-swipe-x, 0px)) translateY(calc(var(--_active-y) + var(--aeris-toast-swipe-y, 0px))) scale(var(--_active-scale));transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .5s,height .15s}.aeris-toast__item:after{position:absolute;inset-inline:0;top:100%;height:calc(var(--_stack-gap) + 1px);content:\"\"}.aeris-toast__region[data-position^=top] .aeris-toast__item,.aeris-toast__region[data-position=center] .aeris-toast__item{--_rest-y: calc( (var(--aeris-toast-stack-index, 0) * var(--_stack-peek)) + (var(--_stack-shrink) * var(--aeris-toast-front-height, 4.5rem)) );top:0;transform-origin:top center}.aeris-toast__region[data-position^=bottom] .aeris-toast__item{--_rest-y: calc( (var(--aeris-toast-stack-index, 0) * var(--_stack-peek) * -1) - (var(--_stack-shrink) * var(--aeris-toast-front-height, 4.5rem)) );bottom:0;transform-origin:bottom center}.aeris-toast__region[data-mode=stacked] .aeris-toast__item:not([data-primary]){pointer-events:none}.aeris-toast__region[data-mode=stacked] .aeris-toast__body[data-behind]{opacity:0}.aeris-toast__region[data-mode=stacked]:hover .aeris-toast__item,.aeris-toast__region[data-mode=stacked]:focus-within .aeris-toast__item,.aeris-toast__region[data-mode=expanded] .aeris-toast__item{height:var(--aeris-toast-height, 4.5rem);pointer-events:auto}.aeris-toast__region[data-position^=top][data-mode=stacked]:hover .aeris-toast__item,.aeris-toast__region[data-position^=top][data-mode=stacked]:focus-within .aeris-toast__item,.aeris-toast__region[data-position^=top][data-mode=expanded] .aeris-toast__item,.aeris-toast__region[data-position=center][data-mode=stacked]:hover .aeris-toast__item,.aeris-toast__region[data-position=center][data-mode=stacked]:focus-within .aeris-toast__item,.aeris-toast__region[data-position=center][data-mode=expanded] .aeris-toast__item{--_active-y: calc( var(--aeris-toast-height-offset, 0px) + (var(--aeris-toast-stack-index, 0) * var(--_stack-gap)) );--_active-scale: 1}.aeris-toast__region[data-position^=bottom][data-mode=stacked]:hover .aeris-toast__item,.aeris-toast__region[data-position^=bottom][data-mode=stacked]:focus-within .aeris-toast__item,.aeris-toast__region[data-position^=bottom][data-mode=expanded] .aeris-toast__item{--_active-y: calc( (var(--aeris-toast-height-offset, 0px) * -1) + (var(--aeris-toast-stack-index, 0) * var(--_stack-gap) * -1) );--_active-scale: 1}.aeris-toast__region[data-mode=stacked]:hover .aeris-toast__item .aeris-toast__body,.aeris-toast__region[data-mode=stacked]:focus-within .aeris-toast__item .aeris-toast__body,.aeris-toast__region[data-mode=expanded] .aeris-toast__item .aeris-toast__body{opacity:1}.aeris-toast__item[data-swiping]{cursor:grabbing;transition:none}.aeris-toast__item[data-swipe-dismissing][data-swipe-direction=right],.aeris-toast__item--leaving[data-swipe-direction=right]{transform:translate(calc(var(--aeris-toast-swipe-x, 0px) + 150%)) translateY(calc(var(--_active-y) + var(--aeris-toast-swipe-y, 0px))) scale(var(--_active-scale))}.aeris-toast__item[data-swipe-dismissing][data-swipe-direction=left],.aeris-toast__item--leaving[data-swipe-direction=left]{transform:translate(calc(var(--aeris-toast-swipe-x, 0px) - 150%)) translateY(calc(var(--_active-y) + var(--aeris-toast-swipe-y, 0px))) scale(var(--_active-scale))}.aeris-toast__item[data-swipe-dismissing][data-swipe-direction=down],.aeris-toast__item--leaving[data-swipe-direction=down]{transform:translate(var(--aeris-toast-swipe-x, 0px)) translateY(calc(var(--_active-y) + var(--aeris-toast-swipe-y, 0px) + 150%)) scale(var(--_active-scale))}.aeris-toast__item[data-swipe-dismissing][data-swipe-direction=up],.aeris-toast__item--leaving[data-swipe-direction=up]{transform:translate(var(--aeris-toast-swipe-x, 0px)) translateY(calc(var(--_active-y) + var(--aeris-toast-swipe-y, 0px) - 150%)) scale(var(--_active-scale))}.aeris-toast__region[data-position^=top] .aeris-toast__item--leaving:not([data-swipe-direction]){transform:translateY(-150%)}.aeris-toast__region[data-position^=bottom] .aeris-toast__item--leaving:not([data-swipe-direction]),.aeris-toast__region[data-position=center] .aeris-toast__item--leaving:not([data-swipe-direction]){transform:translateY(150%)}.aeris-toast__item--leaving{pointer-events:none}.aeris-toast__region[data-position=center] .aeris-toast__item:is([data-swipe-dismissing],.aeris-toast__item--leaving){opacity:0}@starting-style{.aeris-toast__region[data-position^=top] .aeris-toast__item{transform:translateY(-150%)}.aeris-toast__region[data-position^=bottom] .aeris-toast__item,.aeris-toast__region[data-position=center] .aeris-toast__item{transform:translateY(150%)}}.aeris-toast__message{--_accent: var(--aeris-primary, #5f6f36);--_accent-soft: color-mix(in srgb, var(--_accent) 14%, transparent);--_icon-color: var(--_accent);position:relative;box-sizing:border-box;width:100%;height:100%;min-width:0;border:1px solid var(--aeris-border);border-left:.25rem solid var(--_accent);border-radius:var(--aeris-radius-md, .75rem);background:linear-gradient(90deg,var(--_accent-soft),transparent 32%),color-mix(in srgb,var(--aeris-surface, #fff) 96%,transparent);color:var(--aeris-text, #222222);box-shadow:var(--aeris-shadow-lg, 0 18px 44px rgba(31, 35, 27, .14));overflow:hidden;pointer-events:auto;transition:box-shadow .16s ease,border-color .16s ease}.aeris-toast__body{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:flex-start;gap:.75rem;padding:.875rem .875rem .875rem 1rem;transition:opacity .25s cubic-bezier(.22,1,.36,1)}.aeris-toast__message:hover,.aeris-toast__message:focus-within{border-color:color-mix(in srgb,var(--_accent) 28%,var(--aeris-border, #deddd7));box-shadow:0 14px 34px color-mix(in srgb,var(--aeris-text, #222222) 10%,transparent)}.aeris-toast__message[data-severity=success]{--_accent: var(--aeris-success, #6f8a68)}.aeris-toast__message[data-severity=info]{--_accent: var(--aeris-info, #6b8793)}.aeris-toast__message[data-severity=warning]{--_accent: var(--aeris-warning, #c38600)}.aeris-toast__message[data-severity=error]{--_accent: var(--aeris-danger, #c81e2a)}.aeris-toast__message[data-severity=neutral],.aeris-toast__message[data-severity=secondary]{--_accent: var(--aeris-text-2, #555555)}.aeris-toast__message[data-severity=contrast]{--_accent: var(--aeris-text, #222222)}.aeris-toast__icon{width:var(--aeris-toast-icon-size, 1.25rem);height:var(--aeris-toast-icon-size, 1.25rem);display:inline-grid;place-items:center;margin-top:.0625rem;color:var(--_icon-color)}.aeris-toast__default-icon{position:relative;width:var(--aeris-toast-icon-size, 1.25rem);height:var(--aeris-toast-icon-size, 1.25rem);display:block;border:2px solid currentColor;border-radius:999px}.aeris-toast__default-icon:before,.aeris-toast__default-icon:after{position:absolute;content:\"\";background:currentColor}.aeris-toast__default-icon:before{width:.125rem;height:.4375rem;top:.5rem;left:50%;border-radius:999px;transform:translate(-50%)}.aeris-toast__default-icon:after{width:.15625rem;height:.15625rem;top:.25rem;left:50%;border-radius:999px;transform:translate(-50%)}.aeris-toast__message[data-severity=success] .aeris-toast__default-icon{border-color:transparent}.aeris-toast__message[data-severity=success] .aeris-toast__default-icon:before{width:.625rem;height:.3125rem;top:.375rem;left:.3125rem;border:0 solid currentColor;border-left-width:2px;border-bottom-width:2px;border-radius:0;background:transparent;transform:rotate(-45deg)}.aeris-toast__message[data-severity=success] .aeris-toast__default-icon:after{display:none}.aeris-toast__message[data-severity=error] .aeris-toast__default-icon:before,.aeris-toast__message[data-severity=error] .aeris-toast__default-icon:after{width:.6875rem;height:.125rem;top:50%;left:50%;border-radius:999px}.aeris-toast__message[data-severity=error] .aeris-toast__default-icon:before{transform:translate(-50%,-50%) rotate(45deg)}.aeris-toast__message[data-severity=error] .aeris-toast__default-icon:after{transform:translate(-50%,-50%) rotate(-45deg)}.aeris-toast__content{min-width:0;display:grid;gap:.2rem}.aeris-toast__summary,.aeris-toast__detail{margin:0}.aeris-toast__summary{color:var(--aeris-text, #222222);font-size:.875rem;font-weight:800;line-height:1.35}.aeris-toast__detail{color:var(--aeris-text-2, #555555);font-size:.8125rem;line-height:1.5}.aeris-toast__close{width:2rem;height:2rem;display:inline-grid;place-items:center;margin:-.25rem -.25rem 0 0;border:0;border-radius:var(--aeris-radius-sm, .5rem);background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer;transition:background-color .16s ease,color .16s ease}.aeris-toast__close:hover{background:color-mix(in srgb,var(--aeris-text, #222222) 8%,transparent);color:var(--aeris-text, #222222)}.aeris-toast__close:focus-visible{outline:2px solid var(--aeris-focus, #3b4729);outline-offset:2px}.aeris-toast__close span{width:.875rem;height:.875rem;display:block;background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-toast__overflow{position:absolute;z-index:calc(var(--aeris-toast-stack-size, 1) + 1);left:50%;min-width:1.5rem;min-height:1.5rem;display:inline-grid;place-items:center;padding:0 .35rem;border:1px solid var(--aeris-border, #deddd7);border-radius:999px;background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #555555);box-shadow:0 0 0 2px var(--aeris-surface, #fff),var(--aeris-shadow-sm, 0 1px 2px rgba(31, 35, 27, .06));font-size:.6875rem;font-weight:800;pointer-events:none;translate:-50% -50%;transition:opacity .15s ease,transform .15s ease}.aeris-toast__overflow--entering{animation:aeris-toast-overflow-enter .26s cubic-bezier(.16,1,.3,1) both}.aeris-toast__overflow--leaving{animation:aeris-toast-overflow-leave .16s ease-in both}.aeris-toast__region[data-position^=top] .aeris-toast__overflow{top:0}.aeris-toast__region[data-position^=bottom] .aeris-toast__overflow{bottom:0;translate:-50% 50%}.aeris-toast__region[data-position=center] .aeris-toast__overflow{top:0}@keyframes aeris-toast-overflow-enter{0%{opacity:0;scale:.75}to{opacity:1;scale:1}}@keyframes aeris-toast-overflow-leave{to{opacity:0;scale:.8}}@media(max-width:36rem){.aeris-toast__region{width:calc(100vw - 1rem)}.aeris-toast__region[data-position]{right:.5rem;left:.5rem;transform:none}.aeris-toast__region[data-position^=top],.aeris-toast__region[data-position=center]{top:.5rem}.aeris-toast__region[data-position^=bottom]{bottom:.5rem}}@media(prefers-reduced-motion:reduce){.aeris-toast__item--leaving,.aeris-toast__overflow--entering,.aeris-toast__overflow--leaving{animation-duration:1ms}.aeris-toast__item,.aeris-toast__message,.aeris-toast__body,.aeris-toast__overflow,.aeris-toast__icon,.aeris-toast__content,.aeris-toast__close{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
693
693
  }
694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AerisToast, decorators: [{
694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToast, decorators: [{
695
695
  type: Component,
696
696
  args: [{ selector: 'aeris-toast', imports: [NgTemplateOutlet], template: `
697
697
  <section