@aeris-ui/core 22.0.0-alpha.0
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.
- package/LICENSE +21 -0
- package/README.md +189 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +412 -0
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +107 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs +754 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs +63 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-avatar.mjs +133 -0
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-badge.mjs +163 -0
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs +139 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +433 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +39 -0
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button.mjs +246 -0
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-card.mjs +134 -0
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-carousel.mjs +542 -0
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs +673 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chart.mjs +296 -0
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs +220 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chip.mjs +200 -0
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-class-names.mjs +67 -0
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1192 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +508 -0
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +818 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1010 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs +720 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1471 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dialog.mjs +574 -0
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-divider.mjs +51 -0
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-drawer.mjs +549 -0
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +333 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-editor.mjs +1548 -0
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs +965 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs +304 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-fluid.mjs +23 -0
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs +185 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +1657 -0
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-glass.mjs +35 -0
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs +113 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-inplace.mjs +243 -0
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-group.mjs +110 -0
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs +343 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-number.mjs +497 -0
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs +361 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-text.mjs +226 -0
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +208 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +835 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menu.mjs +796 -0
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menubar.mjs +729 -0
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-message.mjs +225 -0
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs +377 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs +1033 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +351 -0
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs +382 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-paginator.mjs +254 -0
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-panel.mjs +352 -0
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-password.mjs +479 -0
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs +939 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-popover.mjs +535 -0
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs +260 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +218 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs +194 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-rating.mjs +385 -0
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +211 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs +94 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1134 -0
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +47 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-slider.mjs +724 -0
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs +589 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-split-button.mjs +532 -0
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-splitter.mjs +488 -0
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-stepper.mjs +437 -0
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-style-class.mjs +344 -0
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-table.mjs +1580 -0
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tabs.mjs +438 -0
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-textarea.mjs +349 -0
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1565 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theming.mjs +150 -0
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +718 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-timeline.mjs +278 -0
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toast.mjs +422 -0
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +202 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs +136 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs +365 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs +995 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs +1600 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree.mjs +962 -0
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -0
- package/fesm2022/aeris-ui-core.mjs +360 -0
- package/fesm2022/aeris-ui-core.mjs.map +1 -0
- package/package.json +432 -0
- package/schematics/aeris-setup.schema.json +52 -0
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/schema.json +64 -0
- package/schematics/runtime/package.json +3 -0
- package/schematics/runtime/schematics/ng-add/index.js +13 -0
- package/schematics/runtime/schematics/ng-add/index.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/options.js +338 -0
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/schema.js +3 -0
- package/schematics/runtime/schematics/ng-add/schema.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/workspace.js +273 -0
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +12 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color.js +263 -0
- package/schematics/runtime/theme-builder/aeris-color.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js +245 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js +47 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +121 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +238 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +101 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +82 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +183 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme.js +322 -0
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -0
- package/schematics/runtime/theme-builder/public-api.js +17 -0
- package/schematics/runtime/theme-builder/public-api.js.map +1 -0
- package/styles/_index.scss +1 -0
- package/styles/_tokens.scss +13 -0
- package/styles/aeris.css +555 -0
- package/styles/controls.css +169 -0
- package/tools/aeris-theme.mjs +149 -0
- package/tools/aeris-theme.schema.json +143 -0
- package/types/aeris-ui-core-accordion.d.ts +101 -0
- package/types/aeris-ui-core-animate-on-scroll.d.ts +34 -0
- package/types/aeris-ui-core-auto-complete.d.ts +154 -0
- package/types/aeris-ui-core-auto-focus.d.ts +17 -0
- package/types/aeris-ui-core-avatar.d.ts +44 -0
- package/types/aeris-ui-core-badge.d.ts +48 -0
- package/types/aeris-ui-core-block-ui.d.ts +28 -0
- package/types/aeris-ui-core-breadcrumb.d.ts +104 -0
- package/types/aeris-ui-core-button-group.d.ts +17 -0
- package/types/aeris-ui-core-button.d.ts +71 -0
- package/types/aeris-ui-core-card.d.ts +43 -0
- package/types/aeris-ui-core-carousel.d.ts +126 -0
- package/types/aeris-ui-core-cascade-select.d.ts +130 -0
- package/types/aeris-ui-core-chart.d.ts +92 -0
- package/types/aeris-ui-core-checkbox.d.ts +55 -0
- package/types/aeris-ui-core-chip.d.ts +56 -0
- package/types/aeris-ui-core-class-names.d.ts +21 -0
- package/types/aeris-ui-core-color-picker.d.ts +149 -0
- package/types/aeris-ui-core-compare.d.ts +109 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +263 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +281 -0
- package/types/aeris-ui-core-context-menu.d.ts +156 -0
- package/types/aeris-ui-core-date-picker.d.ts +226 -0
- package/types/aeris-ui-core-dialog.d.ts +124 -0
- package/types/aeris-ui-core-divider.d.ts +21 -0
- package/types/aeris-ui-core-drawer.d.ts +119 -0
- package/types/aeris-ui-core-dynamic-dialog.d.ts +148 -0
- package/types/aeris-ui-core-editor.d.ts +130 -0
- package/types/aeris-ui-core-file-upload.d.ts +199 -0
- package/types/aeris-ui-core-filter-service.d.ts +54 -0
- package/types/aeris-ui-core-fluid.d.ts +10 -0
- package/types/aeris-ui-core-focus-trap.d.ts +32 -0
- package/types/aeris-ui-core-galleria.d.ts +273 -0
- package/types/aeris-ui-core-glass.d.ts +17 -0
- package/types/aeris-ui-core-icon-field.d.ts +36 -0
- package/types/aeris-ui-core-inplace.d.ts +68 -0
- package/types/aeris-ui-core-input-group.d.ts +38 -0
- package/types/aeris-ui-core-input-mask.d.ts +73 -0
- package/types/aeris-ui-core-input-number.d.ts +87 -0
- package/types/aeris-ui-core-input-otp.d.ts +88 -0
- package/types/aeris-ui-core-input-text.d.ts +63 -0
- package/types/aeris-ui-core-key-filter.d.ts +41 -0
- package/types/aeris-ui-core-mega-menu.d.ts +130 -0
- package/types/aeris-ui-core-menu.d.ts +182 -0
- package/types/aeris-ui-core-menubar.d.ts +145 -0
- package/types/aeris-ui-core-message.d.ts +65 -0
- package/types/aeris-ui-core-meter-group.d.ts +100 -0
- package/types/aeris-ui-core-multi-select.d.ts +193 -0
- package/types/aeris-ui-core-order-list.d.ts +73 -0
- package/types/aeris-ui-core-organization-chart.d.ts +85 -0
- package/types/aeris-ui-core-paginator.d.ts +39 -0
- package/types/aeris-ui-core-panel.d.ts +85 -0
- package/types/aeris-ui-core-password.d.ts +110 -0
- package/types/aeris-ui-core-pick-list.d.ts +193 -0
- package/types/aeris-ui-core-popover.d.ts +112 -0
- package/types/aeris-ui-core-progress-bar.d.ts +81 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +51 -0
- package/types/aeris-ui-core-radio-button.d.ts +51 -0
- package/types/aeris-ui-core-rating.d.ts +80 -0
- package/types/aeris-ui-core-scroll-panel.d.ts +66 -0
- package/types/aeris-ui-core-scroll-top.d.ts +29 -0
- package/types/aeris-ui-core-select.d.ts +223 -0
- package/types/aeris-ui-core-skeleton.d.ts +18 -0
- package/types/aeris-ui-core-slider.d.ts +117 -0
- package/types/aeris-ui-core-speed-dial.d.ts +119 -0
- package/types/aeris-ui-core-split-button.d.ts +122 -0
- package/types/aeris-ui-core-splitter.d.ts +113 -0
- package/types/aeris-ui-core-stepper.d.ts +99 -0
- package/types/aeris-ui-core-style-class.d.ts +73 -0
- package/types/aeris-ui-core-table.d.ts +333 -0
- package/types/aeris-ui-core-tabs.d.ts +82 -0
- package/types/aeris-ui-core-textarea.d.ts +80 -0
- package/types/aeris-ui-core-theme-builder.d.ts +499 -0
- package/types/aeris-ui-core-theming.d.ts +47 -0
- package/types/aeris-ui-core-tiered-menu.d.ts +152 -0
- package/types/aeris-ui-core-timeline.d.ts +80 -0
- package/types/aeris-ui-core-toast.d.ts +127 -0
- package/types/aeris-ui-core-toggle-switch.d.ts +52 -0
- package/types/aeris-ui-core-toolbar.d.ts +47 -0
- package/types/aeris-ui-core-tooltip.d.ts +92 -0
- package/types/aeris-ui-core-tree-select.d.ts +187 -0
- package/types/aeris-ui-core-tree-table.d.ts +311 -0
- package/types/aeris-ui-core-tree.d.ts +179 -0
- package/types/aeris-ui-core.d.ts +85 -0
|
@@ -0,0 +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;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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;MAgbU,qBAAqB,GAAG,CAAC,eAAe,EAAE,2BAA2B;;ACnsBlF;;AAEG;;;;"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, TemplateRef, Directive, input, booleanAttribute, contentChild, computed, Component } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
class AerisTimelineMarkerTemplate {
|
|
6
|
+
template = inject(TemplateRef);
|
|
7
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineMarkerTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisTimelineMarkerTemplate, isStandalone: true, selector: "ng-template[aerisTimelineMarker]", ngImport: i0 });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineMarkerTemplate, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{ selector: 'ng-template[aerisTimelineMarker]' }]
|
|
16
|
+
}] });
|
|
17
|
+
class AerisTimelineContentTemplate {
|
|
18
|
+
template = inject(TemplateRef);
|
|
19
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisTimelineContentTemplate, isStandalone: true, selector: "ng-template[aerisTimelineContent]", ngImport: i0 });
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineContentTemplate, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{ selector: 'ng-template[aerisTimelineContent]' }]
|
|
28
|
+
}] });
|
|
29
|
+
class AerisTimelineOppositeTemplate {
|
|
30
|
+
template = inject(TemplateRef);
|
|
31
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineOppositeTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisTimelineOppositeTemplate, isStandalone: true, selector: "ng-template[aerisTimelineOpposite]", ngImport: i0 });
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineOppositeTemplate, decorators: [{
|
|
38
|
+
type: Directive,
|
|
39
|
+
args: [{ selector: 'ng-template[aerisTimelineOpposite]' }]
|
|
40
|
+
}] });
|
|
41
|
+
class AerisTimelineEmptyTemplate {
|
|
42
|
+
template = inject(TemplateRef);
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineEmptyTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisTimelineEmptyTemplate, isStandalone: true, selector: "ng-template[aerisTimelineEmpty]", ngImport: i0 });
|
|
45
|
+
}
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimelineEmptyTemplate, decorators: [{
|
|
47
|
+
type: Directive,
|
|
48
|
+
args: [{ selector: 'ng-template[aerisTimelineEmpty]' }]
|
|
49
|
+
}] });
|
|
50
|
+
class AerisTimeline {
|
|
51
|
+
value = input([], /* @ts-ignore */
|
|
52
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
53
|
+
orientation = input('vertical', /* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
55
|
+
align = input('start', /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
57
|
+
activeIndex = input(-1, /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
|
|
59
|
+
reverse = input(false, { ...(ngDevMode ? { debugName: "reverse" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
60
|
+
responsive = input(true, { ...(ngDevMode ? { debugName: "responsive" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
61
|
+
ariaLabel = input('Timeline', /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
63
|
+
emptyMessage = input('No timeline events available', /* @ts-ignore */
|
|
64
|
+
...(ngDevMode ? [{ debugName: "emptyMessage" }] : /* istanbul ignore next */ []));
|
|
65
|
+
markerTemplate = contentChild((AerisTimelineMarkerTemplate), /* @ts-ignore */
|
|
66
|
+
...(ngDevMode ? [{ debugName: "markerTemplate" }] : /* istanbul ignore next */ []));
|
|
67
|
+
contentTemplate = contentChild((AerisTimelineContentTemplate), /* @ts-ignore */
|
|
68
|
+
...(ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []));
|
|
69
|
+
oppositeTemplate = contentChild((AerisTimelineOppositeTemplate), /* @ts-ignore */
|
|
70
|
+
...(ngDevMode ? [{ debugName: "oppositeTemplate" }] : /* istanbul ignore next */ []));
|
|
71
|
+
emptyTemplate = contentChild(AerisTimelineEmptyTemplate, /* @ts-ignore */
|
|
72
|
+
...(ngDevMode ? [{ debugName: "emptyTemplate" }] : /* istanbul ignore next */ []));
|
|
73
|
+
renderedItems = computed(() => {
|
|
74
|
+
const source = this.reverse() ? [...this.value()].reverse() : this.value();
|
|
75
|
+
const lastIndex = source.length - 1;
|
|
76
|
+
return source.map((item, index) => {
|
|
77
|
+
const status = item.status ?? 'neutral';
|
|
78
|
+
const state = this.progressState(index);
|
|
79
|
+
const context = {
|
|
80
|
+
$implicit: item,
|
|
81
|
+
item,
|
|
82
|
+
index,
|
|
83
|
+
first: index === 0,
|
|
84
|
+
last: index === lastIndex,
|
|
85
|
+
status,
|
|
86
|
+
state,
|
|
87
|
+
};
|
|
88
|
+
return {
|
|
89
|
+
item,
|
|
90
|
+
key: item.id ?? String(index),
|
|
91
|
+
side: this.itemSide(index),
|
|
92
|
+
status,
|
|
93
|
+
state,
|
|
94
|
+
markerColor: item.markerColor ?? null,
|
|
95
|
+
context,
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
}, /* @ts-ignore */
|
|
99
|
+
...(ngDevMode ? [{ debugName: "renderedItems" }] : /* istanbul ignore next */ []));
|
|
100
|
+
itemSide(index) {
|
|
101
|
+
const alignment = this.align();
|
|
102
|
+
if (alignment !== 'alternate')
|
|
103
|
+
return alignment;
|
|
104
|
+
return index % 2 === 0 ? 'start' : 'end';
|
|
105
|
+
}
|
|
106
|
+
progressState(index) {
|
|
107
|
+
const activeIndex = this.activeIndex();
|
|
108
|
+
if (activeIndex < 0 || index > activeIndex)
|
|
109
|
+
return 'upcoming';
|
|
110
|
+
return index === activeIndex ? 'current' : 'complete';
|
|
111
|
+
}
|
|
112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
113
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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
|
+
<div
|
|
115
|
+
class="aeris-timeline"
|
|
116
|
+
[attr.data-orientation]="orientation()"
|
|
117
|
+
[attr.data-align]="align()"
|
|
118
|
+
[attr.data-responsive]="responsive()"
|
|
119
|
+
>
|
|
120
|
+
@if (renderedItems().length) {
|
|
121
|
+
<ol class="aeris-timeline__list" [attr.aria-label]="ariaLabel()">
|
|
122
|
+
@for (entry of renderedItems(); track entry.key; let last = $last) {
|
|
123
|
+
<li
|
|
124
|
+
class="aeris-timeline__item"
|
|
125
|
+
[attr.data-side]="entry.side"
|
|
126
|
+
[attr.data-status]="entry.status"
|
|
127
|
+
[attr.data-state]="entry.state"
|
|
128
|
+
[attr.aria-current]="entry.state === 'current' ? 'step' : null"
|
|
129
|
+
[style.--aeris-timeline-marker-color]="entry.markerColor"
|
|
130
|
+
>
|
|
131
|
+
<div class="aeris-timeline__opposite">
|
|
132
|
+
@if (oppositeTemplate(); as customOpposite) {
|
|
133
|
+
<ng-container
|
|
134
|
+
[ngTemplateOutlet]="customOpposite.template"
|
|
135
|
+
[ngTemplateOutletContext]="entry.context"
|
|
136
|
+
/>
|
|
137
|
+
} @else if (entry.item.date) {
|
|
138
|
+
<time>{{ entry.item.date }}</time>
|
|
139
|
+
}
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div class="aeris-timeline__separator" aria-hidden="true">
|
|
143
|
+
<span class="aeris-timeline__marker" [attr.data-custom]="markerTemplate() ? 'true' : null">
|
|
144
|
+
@if (markerTemplate(); as customMarker) {
|
|
145
|
+
<ng-container
|
|
146
|
+
[ngTemplateOutlet]="customMarker.template"
|
|
147
|
+
[ngTemplateOutletContext]="entry.context"
|
|
148
|
+
/>
|
|
149
|
+
} @else {
|
|
150
|
+
<span class="aeris-timeline__marker-dot"></span>
|
|
151
|
+
}
|
|
152
|
+
</span>
|
|
153
|
+
@if (!last) {
|
|
154
|
+
<span class="aeris-timeline__connector"></span>
|
|
155
|
+
}
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<div class="aeris-timeline__content">
|
|
159
|
+
@if (contentTemplate(); as customContent) {
|
|
160
|
+
<ng-container
|
|
161
|
+
[ngTemplateOutlet]="customContent.template"
|
|
162
|
+
[ngTemplateOutletContext]="entry.context"
|
|
163
|
+
/>
|
|
164
|
+
} @else {
|
|
165
|
+
@if (entry.item.title) {
|
|
166
|
+
<strong>{{ entry.item.title }}</strong>
|
|
167
|
+
}
|
|
168
|
+
@if (entry.item.description) {
|
|
169
|
+
<p>{{ entry.item.description }}</p>
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
</div>
|
|
173
|
+
</li>
|
|
174
|
+
}
|
|
175
|
+
</ol>
|
|
176
|
+
} @else {
|
|
177
|
+
<div class="aeris-timeline__empty" role="status">
|
|
178
|
+
@if (emptyTemplate(); as customEmpty) {
|
|
179
|
+
<ng-container [ngTemplateOutlet]="customEmpty.template" />
|
|
180
|
+
} @else {
|
|
181
|
+
{{ emptyMessage() }}
|
|
182
|
+
}
|
|
183
|
+
</div>
|
|
184
|
+
}
|
|
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-strong, #c7c9c0));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, #879566) 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, #879566)}.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, #879566)) 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, #deddd7);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"] }] });
|
|
187
|
+
}
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTimeline, decorators: [{
|
|
189
|
+
type: Component,
|
|
190
|
+
args: [{ selector: 'aeris-timeline', imports: [NgTemplateOutlet], template: `
|
|
191
|
+
<div
|
|
192
|
+
class="aeris-timeline"
|
|
193
|
+
[attr.data-orientation]="orientation()"
|
|
194
|
+
[attr.data-align]="align()"
|
|
195
|
+
[attr.data-responsive]="responsive()"
|
|
196
|
+
>
|
|
197
|
+
@if (renderedItems().length) {
|
|
198
|
+
<ol class="aeris-timeline__list" [attr.aria-label]="ariaLabel()">
|
|
199
|
+
@for (entry of renderedItems(); track entry.key; let last = $last) {
|
|
200
|
+
<li
|
|
201
|
+
class="aeris-timeline__item"
|
|
202
|
+
[attr.data-side]="entry.side"
|
|
203
|
+
[attr.data-status]="entry.status"
|
|
204
|
+
[attr.data-state]="entry.state"
|
|
205
|
+
[attr.aria-current]="entry.state === 'current' ? 'step' : null"
|
|
206
|
+
[style.--aeris-timeline-marker-color]="entry.markerColor"
|
|
207
|
+
>
|
|
208
|
+
<div class="aeris-timeline__opposite">
|
|
209
|
+
@if (oppositeTemplate(); as customOpposite) {
|
|
210
|
+
<ng-container
|
|
211
|
+
[ngTemplateOutlet]="customOpposite.template"
|
|
212
|
+
[ngTemplateOutletContext]="entry.context"
|
|
213
|
+
/>
|
|
214
|
+
} @else if (entry.item.date) {
|
|
215
|
+
<time>{{ entry.item.date }}</time>
|
|
216
|
+
}
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<div class="aeris-timeline__separator" aria-hidden="true">
|
|
220
|
+
<span class="aeris-timeline__marker" [attr.data-custom]="markerTemplate() ? 'true' : null">
|
|
221
|
+
@if (markerTemplate(); as customMarker) {
|
|
222
|
+
<ng-container
|
|
223
|
+
[ngTemplateOutlet]="customMarker.template"
|
|
224
|
+
[ngTemplateOutletContext]="entry.context"
|
|
225
|
+
/>
|
|
226
|
+
} @else {
|
|
227
|
+
<span class="aeris-timeline__marker-dot"></span>
|
|
228
|
+
}
|
|
229
|
+
</span>
|
|
230
|
+
@if (!last) {
|
|
231
|
+
<span class="aeris-timeline__connector"></span>
|
|
232
|
+
}
|
|
233
|
+
</div>
|
|
234
|
+
|
|
235
|
+
<div class="aeris-timeline__content">
|
|
236
|
+
@if (contentTemplate(); as customContent) {
|
|
237
|
+
<ng-container
|
|
238
|
+
[ngTemplateOutlet]="customContent.template"
|
|
239
|
+
[ngTemplateOutletContext]="entry.context"
|
|
240
|
+
/>
|
|
241
|
+
} @else {
|
|
242
|
+
@if (entry.item.title) {
|
|
243
|
+
<strong>{{ entry.item.title }}</strong>
|
|
244
|
+
}
|
|
245
|
+
@if (entry.item.description) {
|
|
246
|
+
<p>{{ entry.item.description }}</p>
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
</div>
|
|
250
|
+
</li>
|
|
251
|
+
}
|
|
252
|
+
</ol>
|
|
253
|
+
} @else {
|
|
254
|
+
<div class="aeris-timeline__empty" role="status">
|
|
255
|
+
@if (emptyTemplate(); as customEmpty) {
|
|
256
|
+
<ng-container [ngTemplateOutlet]="customEmpty.template" />
|
|
257
|
+
} @else {
|
|
258
|
+
{{ emptyMessage() }}
|
|
259
|
+
}
|
|
260
|
+
</div>
|
|
261
|
+
}
|
|
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-strong, #c7c9c0));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, #879566) 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, #879566)}.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, #879566)) 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, #deddd7);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"] }]
|
|
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
|
+
const AerisTimelineModule = [
|
|
266
|
+
AerisTimeline,
|
|
267
|
+
AerisTimelineMarkerTemplate,
|
|
268
|
+
AerisTimelineContentTemplate,
|
|
269
|
+
AerisTimelineOppositeTemplate,
|
|
270
|
+
AerisTimelineEmptyTemplate,
|
|
271
|
+
];
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Generated bundle index. Do not edit.
|
|
275
|
+
*/
|
|
276
|
+
|
|
277
|
+
export { AerisTimeline, AerisTimelineContentTemplate, AerisTimelineEmptyTemplate, AerisTimelineMarkerTemplate, AerisTimelineModule, AerisTimelineOppositeTemplate };
|
|
278
|
+
//# sourceMappingURL=aeris-ui-core-timeline.mjs.map
|
|
@@ -0,0 +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,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