@aeris-ui/core 22.0.0-alpha.4 → 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 (134) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/aeris-ui-core-accordion.mjs +12 -12
  3. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  4. package/fesm2022/aeris-ui-core-auto-complete.mjs +21 -17
  5. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  6. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  7. package/fesm2022/aeris-ui-core-avatar.mjs +9 -9
  8. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  9. package/fesm2022/aeris-ui-core-badge.mjs +10 -10
  10. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  11. package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
  12. package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
  13. package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
  14. package/fesm2022/aeris-ui-core-button.mjs +6 -6
  15. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  16. package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
  17. package/fesm2022/aeris-ui-core-cascade-select.mjs +15 -11
  18. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-chart.mjs +3 -3
  20. package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
  21. package/fesm2022/aeris-ui-core-chip.mjs +9 -9
  22. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  23. package/fesm2022/aeris-ui-core-color-picker.mjs +9 -5
  24. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  25. package/fesm2022/aeris-ui-core-compare.mjs +12 -12
  26. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +18 -18
  27. package/fesm2022/aeris-ui-core-confirm-popup.mjs +19 -19
  28. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  29. package/fesm2022/aeris-ui-core-context-menu.mjs +15 -8
  30. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-date-picker.mjs +9 -5
  32. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-dialog.mjs +17 -17
  34. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  36. package/fesm2022/aeris-ui-core-drawer.mjs +16 -16
  37. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  38. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +6 -6
  39. package/fesm2022/aeris-ui-core-editor.mjs +3 -3
  40. package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
  41. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  42. package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
  43. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  44. package/fesm2022/aeris-ui-core-form-field.mjs +181 -0
  45. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  46. package/fesm2022/aeris-ui-core-galleria.mjs +27 -27
  47. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  48. package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
  49. package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
  50. package/fesm2022/aeris-ui-core-input-group.mjs +15 -15
  51. package/fesm2022/aeris-ui-core-input-mask.mjs +3 -3
  52. package/fesm2022/aeris-ui-core-input-number.mjs +3 -3
  53. package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
  54. package/fesm2022/aeris-ui-core-input-text.mjs +6 -6
  55. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  56. package/fesm2022/aeris-ui-core-mega-menu.mjs +15 -7
  57. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-menu.mjs +38 -18
  59. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  60. package/fesm2022/aeris-ui-core-menubar.mjs +135 -15
  61. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  62. package/fesm2022/aeris-ui-core-message.mjs +9 -9
  63. package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
  64. package/fesm2022/aeris-ui-core-multi-select.mjs +24 -20
  65. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  66. package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
  67. package/fesm2022/aeris-ui-core-organization-chart.mjs +9 -9
  68. package/fesm2022/aeris-ui-core-paginator.mjs +9 -5
  69. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  70. package/fesm2022/aeris-ui-core-panel.mjs +15 -15
  71. package/fesm2022/aeris-ui-core-password.mjs +18 -14
  72. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
  74. package/fesm2022/aeris-ui-core-popover.mjs +30 -19
  75. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  76. package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
  77. package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
  78. package/fesm2022/aeris-ui-core-radio-button.mjs +3 -3
  79. package/fesm2022/aeris-ui-core-rating.mjs +3 -3
  80. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  81. package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
  82. package/fesm2022/aeris-ui-core-select.mjs +42 -38
  83. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  84. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  85. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  86. package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
  87. package/fesm2022/aeris-ui-core-split-button.mjs +9 -5
  88. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
  90. package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
  91. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  92. package/fesm2022/aeris-ui-core-table.mjs +19 -19
  93. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  94. package/fesm2022/aeris-ui-core-tabs.mjs +76 -25
  95. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  96. package/fesm2022/aeris-ui-core-textarea.mjs +6 -6
  97. package/fesm2022/aeris-ui-core-theming.mjs +3 -3
  98. package/fesm2022/aeris-ui-core-tiered-menu.mjs +29 -10
  99. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  100. package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
  101. package/fesm2022/aeris-ui-core-toast.mjs +12 -12
  102. package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
  103. package/fesm2022/aeris-ui-core-toolbar.mjs +18 -18
  104. package/fesm2022/aeris-ui-core-tooltip.mjs +29 -30
  105. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  106. package/fesm2022/aeris-ui-core-tree-select.mjs +24 -20
  107. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  108. package/fesm2022/aeris-ui-core-tree-table.mjs +16 -16
  109. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  110. package/fesm2022/aeris-ui-core-tree.mjs +12 -12
  111. package/fesm2022/aeris-ui-core.mjs +165 -42
  112. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  113. package/package.json +6 -2
  114. package/styles/aeris.css +7 -0
  115. package/types/aeris-ui-core-auto-complete.d.ts +3 -2
  116. package/types/aeris-ui-core-cascade-select.d.ts +3 -2
  117. package/types/aeris-ui-core-color-picker.d.ts +3 -2
  118. package/types/aeris-ui-core-context-menu.d.ts +3 -1
  119. package/types/aeris-ui-core-date-picker.d.ts +3 -2
  120. package/types/aeris-ui-core-form-field.d.ts +65 -0
  121. package/types/aeris-ui-core-mega-menu.d.ts +4 -2
  122. package/types/aeris-ui-core-menu.d.ts +3 -2
  123. package/types/aeris-ui-core-menubar.d.ts +27 -3
  124. package/types/aeris-ui-core-multi-select.d.ts +3 -2
  125. package/types/aeris-ui-core-paginator.d.ts +3 -2
  126. package/types/aeris-ui-core-password.d.ts +3 -2
  127. package/types/aeris-ui-core-popover.d.ts +2 -2
  128. package/types/aeris-ui-core-select.d.ts +3 -2
  129. package/types/aeris-ui-core-split-button.d.ts +3 -2
  130. package/types/aeris-ui-core-tabs.d.ts +23 -5
  131. package/types/aeris-ui-core-tiered-menu.d.ts +5 -3
  132. package/types/aeris-ui-core-tooltip.d.ts +2 -4
  133. package/types/aeris-ui-core-tree-select.d.ts +3 -2
  134. package/types/aeris-ui-core.d.ts +40 -26
@@ -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.1.1", ngImport: i0, type: AerisToastContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", 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.1.1", 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.1.1", ngImport: i0, type: AerisToastIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", 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.1.1", 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.1.1", ngImport: i0, type: AerisToastService, deps: [], target: i0.ɵɵFactoryTarget.Service });
149
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.1", 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.1.1", 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.1.1", ngImport: i0, type: AerisToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
587
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", 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.1.1", 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
@@ -93,8 +93,8 @@ class AerisToggleSwitch {
93
93
  this.checkedInput.emit(checked);
94
94
  this.onChange(checked);
95
95
  }
96
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToggleSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component });
97
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: AerisToggleSwitch, isStandalone: true, selector: "aeris-toggle-switch", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", checkedInput: "checkedInput", changed: "changed", focused: "focused", blurred: "blurred", touch: "touch" }, host: { properties: { "attr.data-checked": "checked() || null", "attr.data-disabled": "effectiveDisabled() || null" } }, providers: [
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToggleSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component });
97
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AerisToggleSwitch, isStandalone: true, selector: "aeris-toggle-switch", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", checkedInput: "checkedInput", changed: "changed", focused: "focused", blurred: "blurred", touch: "touch" }, host: { properties: { "attr.data-checked": "checked() || null", "attr.data-disabled": "effectiveDisabled() || null" } }, providers: [
98
98
  {
99
99
  provide: NG_VALUE_ACCESSOR,
100
100
  useExisting: forwardRef(() => AerisToggleSwitch),
@@ -141,7 +141,7 @@ class AerisToggleSwitch {
141
141
  </label>
142
142
  `, isInline: true, styles: [":host{display:inline-block;max-width:100%;color:var(--aeris-toggle-switch-label-color, var(--aeris-text-2, #555555));font:inherit;vertical-align:middle}.aeris-toggle-switch{--_track-width: 40px;--_track-height: 22px;--_thumb-size: 16px;--_track-padding: 2px;--_gap: .625rem;display:inline-flex;align-items:center;gap:var(--_gap);max-width:100%;min-height:2rem;color:inherit;font:inherit;font-size:.875rem;line-height:1.45;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.aeris-toggle-switch[data-label-position=start]{flex-direction:row-reverse}.aeris-toggle-switch__input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.aeris-toggle-switch__control{position:relative;box-sizing:border-box;width:var(--_track-width);height:var(--_track-height);flex:0 0 auto;border:1px solid var(--aeris-toggle-switch-border, var(--aeris-text-3, #686b63));border-radius:999px;background:var(--aeris-toggle-switch-background, var(--aeris-surface-3, #deddd7));box-shadow:var(--aeris-toggle-switch-shadow, none);transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.aeris-toggle-switch__thumb{position:absolute;top:var(--_track-padding);left:var(--_track-padding);box-sizing:border-box;width:var(--_thumb-size);height:var(--_thumb-size);border:1px solid var(--aeris-toggle-switch-thumb-border, var(--aeris-text-3, #686b63));border-radius:50%;background:var(--aeris-toggle-switch-thumb, var(--aeris-surface, #fff));box-shadow:0 1px 3px #181d1647;transform:translate(0);transition:transform .18s cubic-bezier(.2,.8,.2,1)}.aeris-toggle-switch:hover:not([data-disabled]) .aeris-toggle-switch__control{border-color:var(--aeris-toggle-switch-hover-border, var(--aeris-primary, #768653))}.aeris-toggle-switch__input:checked+.aeris-toggle-switch__control{border-color:var(--aeris-toggle-switch-checked-background, var(--aeris-primary, #768653));background:var(--aeris-toggle-switch-checked-background, var(--aeris-primary, #768653))}.aeris-toggle-switch__input:checked+.aeris-toggle-switch__control .aeris-toggle-switch__thumb{border-color:color-mix(in srgb,var(--aeris-toggle-switch-checked-background, var(--aeris-primary, #768653)) 56%,var(--aeris-toggle-switch-thumb, var(--aeris-surface, #fff)));transform:translate(calc(var(--_track-width) - var(--_thumb-size) - var(--_track-padding) * 2 - 2px))}.aeris-toggle-switch__input:focus-visible+.aeris-toggle-switch__control{outline:3px solid var(--aeris-toggle-switch-focus-ring, color-mix(in srgb, var(--aeris-focus, var(--aeris-primary, #3b4729)) 44%, transparent));outline-offset:2px}.aeris-toggle-switch[data-invalid] .aeris-toggle-switch__control{border-color:var(--aeris-danger, #c81e2a)}.aeris-toggle-switch[data-invalid] .aeris-toggle-switch__input:focus-visible+.aeris-toggle-switch__control{outline-color:color-mix(in srgb,var(--aeris-danger, #c81e2a) 42%,transparent)}.aeris-toggle-switch[data-disabled]{cursor:not-allowed;opacity:var(--aeris-disabled-opacity, .5)}.aeris-toggle-switch__label{min-width:0}.aeris-toggle-switch[data-size=xs]{--_track-width: 30px;--_track-height: 18px;--_thumb-size: 12px;--_track-padding: 2px;--_gap: .4375rem;min-height:1.5rem;font-size:.75rem}.aeris-toggle-switch[data-size=sm]{--_track-width: 34px;--_track-height: 20px;--_thumb-size: 14px;--_track-padding: 2px;--_gap: .5rem;min-height:1.75rem;font-size:.8125rem}.aeris-toggle-switch[data-size=lg]{--_track-width: 46px;--_track-height: 26px;--_thumb-size: 20px;--_track-padding: 2px;--_gap: .6875rem;min-height:2.25rem;font-size:.9375rem}@media(prefers-reduced-motion:reduce){.aeris-toggle-switch__control,.aeris-toggle-switch__thumb{transition:none}}\n"] });
143
143
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToggleSwitch, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToggleSwitch, decorators: [{
145
145
  type: Component,
146
146
  args: [{ selector: 'aeris-toggle-switch', template: `
147
147
  <label
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { Directive, input, booleanAttribute, ViewEncapsulation, Component } from '@angular/core';
3
3
 
4
4
  class AerisToolbarStart {
5
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarStart, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisToolbarStart, isStandalone: true, selector: "[aerisToolbarStart]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--start" }, ngImport: i0 });
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarStart, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToolbarStart, isStandalone: true, selector: "[aerisToolbarStart]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--start" }, ngImport: i0 });
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarStart, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarStart, decorators: [{
9
9
  type: Directive,
10
10
  args: [{
11
11
  selector: '[aerisToolbarStart]',
@@ -13,10 +13,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
13
13
  }]
14
14
  }] });
15
15
  class AerisToolbarCenter {
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarCenter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisToolbarCenter, isStandalone: true, selector: "[aerisToolbarCenter]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--center" }, ngImport: i0 });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarCenter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToolbarCenter, isStandalone: true, selector: "[aerisToolbarCenter]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--center" }, ngImport: i0 });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarCenter, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarCenter, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  selector: '[aerisToolbarCenter]',
@@ -24,10 +24,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
24
24
  }]
25
25
  }] });
26
26
  class AerisToolbarEnd {
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarEnd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisToolbarEnd, isStandalone: true, selector: "[aerisToolbarEnd]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--end" }, ngImport: i0 });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarEnd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
28
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToolbarEnd, isStandalone: true, selector: "[aerisToolbarEnd]", host: { classAttribute: "aeris-toolbar__section aeris-toolbar__section--end" }, ngImport: i0 });
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarEnd, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarEnd, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
33
  selector: '[aerisToolbarEnd]',
@@ -35,10 +35,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
35
35
  }]
36
36
  }] });
37
37
  class AerisToolbarGroup {
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
39
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisToolbarGroup, isStandalone: true, selector: "[aerisToolbarGroup]", host: { classAttribute: "aeris-toolbar__group" }, ngImport: i0 });
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToolbarGroup, isStandalone: true, selector: "[aerisToolbarGroup]", host: { classAttribute: "aeris-toolbar__group" }, ngImport: i0 });
40
40
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarGroup, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarGroup, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
44
  selector: '[aerisToolbarGroup]',
@@ -46,10 +46,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
46
46
  }]
47
47
  }] });
48
48
  class AerisToolbarSpacer {
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarSpacer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
50
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: AerisToolbarSpacer, isStandalone: true, selector: "[aerisToolbarSpacer]", host: { attributes: { "aria-hidden": "true" }, classAttribute: "aeris-toolbar__spacer" }, ngImport: i0 });
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarSpacer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
50
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisToolbarSpacer, isStandalone: true, selector: "[aerisToolbarSpacer]", host: { attributes: { "aria-hidden": "true" }, classAttribute: "aeris-toolbar__spacer" }, ngImport: i0 });
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbarSpacer, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbarSpacer, decorators: [{
53
53
  type: Directive,
54
54
  args: [{
55
55
  selector: '[aerisToolbarSpacer]',
@@ -81,8 +81,8 @@ class AerisToolbar {
81
81
  ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
82
82
  ariaDescribedBy = input('', /* @ts-ignore */
83
83
  ...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []));
84
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
85
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: AerisToolbar, isStandalone: true, selector: "aeris-toolbar", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id() || null", "attr.role": "role()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "ariaLabelledBy() || null", "attr.aria-describedby": "ariaDescribedBy() || null", "attr.aria-orientation": "role() === \"toolbar\" ? orientation() : null", "attr.aria-disabled": "disabled() || null", "attr.inert": "disabled() ? \"\" : null", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-orientation": "orientation()", "attr.data-align": "align()", "attr.data-wrap": "wrap()", "attr.data-fluid": "fluid() || null", "attr.data-disabled": "disabled() || null" }, classAttribute: "aeris-toolbar" }, ngImport: i0, template: `
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
85
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: AerisToolbar, isStandalone: true, selector: "aeris-toolbar", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id() || null", "attr.role": "role()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "ariaLabelledBy() || null", "attr.aria-describedby": "ariaDescribedBy() || null", "attr.aria-orientation": "role() === \"toolbar\" ? orientation() : null", "attr.aria-disabled": "disabled() || null", "attr.inert": "disabled() ? \"\" : null", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-orientation": "orientation()", "attr.data-align": "align()", "attr.data-wrap": "wrap()", "attr.data-fluid": "fluid() || null", "attr.data-disabled": "disabled() || null" }, classAttribute: "aeris-toolbar" }, ngImport: i0, template: `
86
86
  <div class="aeris-toolbar__content">
87
87
  <ng-content select="[aerisToolbarStart]" />
88
88
  <ng-content select="[aerisToolbarCenter]" />
@@ -91,7 +91,7 @@ class AerisToolbar {
91
91
  </div>
92
92
  `, isInline: true, styles: ["aeris-toolbar{display:block;min-inline-size:0}.aeris-toolbar{--_padding-block: var(--aeris-toolbar-padding-block, .75rem);--_padding-inline: var(--aeris-toolbar-padding-inline, .875rem);--_gap: var(--aeris-toolbar-gap, .75rem);--_section-gap: var(--aeris-toolbar-section-gap, .5rem);border:var(--aeris-toolbar-border-width, 1px) solid var(--aeris-toolbar-border, var(--aeris-border));border-radius:var(--aeris-toolbar-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-toolbar-background, var(--aeris-surface, #fff));color:var(--aeris-toolbar-color, var(--aeris-text, #222222));box-shadow:var(--aeris-toolbar-shadow, none)}.aeris-toolbar[data-fluid=true]{inline-size:100%}.aeris-toolbar[data-size=sm]{--_padding-block: var(--aeris-toolbar-padding-block-sm, .5625rem);--_padding-inline: var(--aeris-toolbar-padding-inline-sm, .625rem);--_gap: var(--aeris-toolbar-gap-sm, .5rem);--_section-gap: var(--aeris-toolbar-section-gap-sm, .375rem)}.aeris-toolbar[data-size=lg]{--_padding-block: var(--aeris-toolbar-padding-block-lg, 1rem);--_padding-inline: var(--aeris-toolbar-padding-inline-lg, 1.125rem);--_gap: var(--aeris-toolbar-gap-lg, 1rem);--_section-gap: var(--aeris-toolbar-section-gap-lg, .625rem)}.aeris-toolbar[data-variant=filled]{border-color:var(--aeris-toolbar-filled-border, transparent);background:var(--aeris-toolbar-filled-background, color-mix(in srgb, var(--aeris-surface-2, #f2f0ec) 76%, var(--aeris-surface, #fff)))}.aeris-toolbar[data-variant=elevated]{border-color:var(--aeris-toolbar-elevated-border, transparent);box-shadow:var(--aeris-toolbar-elevated-shadow, 0 .75rem 2rem color-mix(in srgb, var(--aeris-text, #222222) 10%, transparent))}.aeris-toolbar[data-variant=plain]{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-toolbar__content{display:flex;align-items:center;gap:var(--_gap);min-block-size:var(--aeris-toolbar-min-height, 3.25rem);min-inline-size:0;padding:var(--_padding-block) var(--_padding-inline)}.aeris-toolbar[data-wrap=true] .aeris-toolbar__content{flex-wrap:wrap}.aeris-toolbar[data-wrap=false] .aeris-toolbar__content{flex-wrap:nowrap;overflow-x:auto;scrollbar-color:var(--aeris-border, #deddd7) transparent;scrollbar-width:thin}.aeris-toolbar[data-wrap=false] .aeris-toolbar__content::-webkit-scrollbar{width:.75rem;height:.75rem}.aeris-toolbar[data-wrap=false] .aeris-toolbar__content::-webkit-scrollbar-track,.aeris-toolbar[data-wrap=false] .aeris-toolbar__content::-webkit-scrollbar-corner{background:transparent}.aeris-toolbar[data-wrap=false] .aeris-toolbar__content::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-border, #deddd7);background-clip:content-box}.aeris-toolbar[data-align=start] .aeris-toolbar__content{align-items:flex-start}.aeris-toolbar[data-align=end] .aeris-toolbar__content{align-items:flex-end}.aeris-toolbar[data-align=stretch] .aeris-toolbar__content{align-items:stretch}.aeris-toolbar__section,.aeris-toolbar__group{display:inline-flex;align-items:center;gap:var(--_section-gap);min-inline-size:0}.aeris-toolbar__section{flex-wrap:wrap}.aeris-toolbar[data-wrap=false] .aeris-toolbar__section{flex-wrap:nowrap}.aeris-toolbar__section--start{flex:1 1 0;justify-content:flex-start}.aeris-toolbar__section--center{flex:0 1 auto;justify-content:center}.aeris-toolbar__section--end{flex:1 1 0;justify-content:flex-end}.aeris-toolbar__group{flex:0 0 auto}.aeris-toolbar__spacer{flex:1 1 auto;min-inline-size:var(--aeris-toolbar-spacer-min-size, 1rem)}.aeris-toolbar[data-orientation=vertical]{inline-size:max-content;max-inline-size:100%}.aeris-toolbar[data-orientation=vertical] .aeris-toolbar__content,.aeris-toolbar[data-orientation=vertical] .aeris-toolbar__section,.aeris-toolbar[data-orientation=vertical] .aeris-toolbar__group{align-items:stretch;flex-direction:column}.aeris-toolbar[data-orientation=vertical] .aeris-toolbar__section{flex:0 0 auto;justify-content:flex-start}.aeris-toolbar[data-orientation=vertical] .aeris-toolbar__spacer{min-block-size:var(--aeris-toolbar-spacer-min-size, 1rem);min-inline-size:0}.aeris-toolbar[data-disabled=true]{opacity:var(--aeris-toolbar-disabled-opacity, .62)}@media(max-width:42rem){.aeris-toolbar[data-orientation=horizontal][data-wrap=true] .aeris-toolbar__section{flex:1 1 100%;justify-content:flex-start}.aeris-toolbar[data-orientation=horizontal][data-wrap=true] .aeris-toolbar__section--center{justify-content:center}.aeris-toolbar[data-orientation=horizontal][data-wrap=true] .aeris-toolbar__section--end{justify-content:flex-start}}\n"], encapsulation: i0.ViewEncapsulation.None });
93
93
  }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisToolbar, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisToolbar, decorators: [{
95
95
  type: Component,
96
96
  args: [{ selector: 'aeris-toolbar', template: `
97
97
  <div class="aeris-toolbar__content">
@@ -1,7 +1,7 @@
1
1
  import { NgTemplateOutlet, DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { signal, computed, Component, inject, ElementRef, ApplicationRef, DestroyRef, EnvironmentInjector, input, booleanAttribute, output, TemplateRef, createComponent, Directive } from '@angular/core';
4
- import { aerisInternalCreateFrameScheduler, AERIS_OVERLAY_APPEND_TO, ɵaerisResolveAppendTo as _aerisResolveAppendTo } from '@aeris-ui/core';
4
+ import { aerisInternalCreateFrameScheduler, AERIS_OVERLAY_APPEND_TO, ɵaerisResolveAppendTo as _aerisResolveAppendTo, aerisInternalPositionAnchoredOverlay } from '@aeris-ui/core';
5
5
 
6
6
  let nextTooltipId = 0;
7
7
  class AerisTooltipOverlay {
@@ -27,8 +27,8 @@ class AerisTooltipOverlay {
27
27
  $implicit: this.text(),
28
28
  }), /* @ts-ignore */
29
29
  ...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
30
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisTooltipOverlay, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: AerisTooltipOverlay, isStandalone: true, selector: "aeris-tooltip-overlay", ngImport: i0, template: `
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTooltipOverlay, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AerisTooltipOverlay, isStandalone: true, selector: "aeris-tooltip-overlay", ngImport: i0, template: `
32
32
  <div
33
33
  [class]="panelClass()"
34
34
  role="tooltip"
@@ -51,7 +51,7 @@ class AerisTooltipOverlay {
51
51
  </div>
52
52
  `, isInline: true, styles: [":host{display:contents}.aeris-tooltip__panel{position:fixed;z-index:var(--aeris-tooltip-z-index, 1060);max-width:var(--aeris-tooltip-max-width, 18rem);padding:var(--aeris-tooltip-padding, .45rem .625rem);border-radius:var(--aeris-tooltip-radius, var(--aeris-radius-sm, .4375rem));background:var(--aeris-tooltip-background, var(--aeris-text, #222222));color:var(--aeris-tooltip-color, var(--aeris-surface, #fff));box-shadow:var(--aeris-tooltip-shadow, 0 12px 32px color-mix(in srgb, var(--aeris-text, #222222) 20%, transparent));font-size:var(--aeris-tooltip-font-size, .75rem);font-weight:650;line-height:1.4;pointer-events:none;white-space:normal}.aeris-tooltip__panel[data-interactive=true]{pointer-events:auto}.aeris-tooltip__arrow{position:absolute;width:.5rem;height:.5rem;background:inherit;transform:rotate(45deg)}.aeris-tooltip__panel[data-position=top] .aeris-tooltip__arrow{bottom:-.25rem;left:calc(50% - .25rem)}.aeris-tooltip__panel[data-position=bottom] .aeris-tooltip__arrow{top:-.25rem;left:calc(50% - .25rem)}.aeris-tooltip__panel[data-position=left] .aeris-tooltip__arrow{top:calc(50% - .25rem);right:-.25rem}.aeris-tooltip__panel[data-position=right] .aeris-tooltip__arrow{top:calc(50% - .25rem);left:-.25rem}@media(prefers-reduced-motion:reduce){.aeris-tooltip__panel{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisTooltipOverlay, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTooltipOverlay, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: 'aeris-tooltip-overlay', imports: [NgTemplateOutlet], template: `
57
57
  <div
@@ -244,15 +244,21 @@ class AerisTooltip {
244
244
  }
245
245
  bindPositionTracking() {
246
246
  const view = this.document.defaultView;
247
+ const viewport = view?.visualViewport;
247
248
  this.document.addEventListener('scroll', this.repositionFrame.schedule, true);
248
249
  view?.addEventListener('scroll', this.repositionFrame.schedule);
249
250
  view?.addEventListener('resize', this.repositionFrame.schedule);
251
+ viewport?.addEventListener('scroll', this.repositionFrame.schedule);
252
+ viewport?.addEventListener('resize', this.repositionFrame.schedule);
250
253
  }
251
254
  unbindPositionTracking() {
252
255
  const view = this.document.defaultView;
256
+ const viewport = view?.visualViewport;
253
257
  this.document.removeEventListener('scroll', this.repositionFrame.schedule, true);
254
258
  view?.removeEventListener('scroll', this.repositionFrame.schedule);
255
259
  view?.removeEventListener('resize', this.repositionFrame.schedule);
260
+ viewport?.removeEventListener('scroll', this.repositionFrame.schedule);
261
+ viewport?.removeEventListener('resize', this.repositionFrame.schedule);
256
262
  this.repositionFrame.cancel();
257
263
  }
258
264
  reposition() {
@@ -267,13 +273,22 @@ class AerisTooltip {
267
273
  const panelRect = panel.getBoundingClientRect();
268
274
  const width = panelRect.width || panel.offsetWidth || 160;
269
275
  const height = panelRect.height || panel.offsetHeight || 38;
270
- const offset = this.offset();
271
- const margin = this.viewportMargin();
272
- const raw = this.rawPosition(this.position(), targetRect, width, height, offset);
273
- const maxX = view.innerWidth - width - margin;
274
- const maxY = view.innerHeight - height - margin;
275
- const x = this.clamp(raw.x, margin, Math.max(margin, maxX));
276
- const y = this.clamp(raw.y, margin, Math.max(margin, maxY));
276
+ const viewport = view.visualViewport;
277
+ const { x, y, placement } = aerisInternalPositionAnchoredOverlay({
278
+ target: targetRect,
279
+ width,
280
+ height,
281
+ placement: this.position(),
282
+ alignment: 'center',
283
+ offset: this.offset(),
284
+ margin: 0,
285
+ collisionPadding: this.viewportMargin(),
286
+ viewportWidth: viewport?.width ?? view.innerWidth,
287
+ viewportHeight: viewport?.height ?? view.innerHeight,
288
+ viewportLeft: viewport?.offsetLeft ?? 0,
289
+ viewportTop: viewport?.offsetTop ?? 0,
290
+ });
291
+ overlay.instance.position.set(placement);
277
292
  overlay.instance.coordinates.set({ x, y });
278
293
  overlay.changeDetectorRef.detectChanges();
279
294
  panel.style.left = `${x}px`;
@@ -289,22 +304,6 @@ class AerisTooltip {
289
304
  panel.addEventListener('pointerleave', this.handleOverlayPointerLeave);
290
305
  this.overlayPanel = panel;
291
306
  }
292
- rawPosition(position, targetRect, width, height, offset) {
293
- switch (position) {
294
- case 'bottom':
295
- return { x: targetRect.left + targetRect.width / 2 - width / 2, y: targetRect.bottom + offset };
296
- case 'left':
297
- return { x: targetRect.left - width - offset, y: targetRect.top + targetRect.height / 2 - height / 2 };
298
- case 'right':
299
- return { x: targetRect.right + offset, y: targetRect.top + targetRect.height / 2 - height / 2 };
300
- case 'top':
301
- default:
302
- return { x: targetRect.left + targetRect.width / 2 - width / 2, y: targetRect.top - height - offset };
303
- }
304
- }
305
- clamp(value, min, max) {
306
- return Math.min(Math.max(value, min), max);
307
- }
308
307
  hasContent() {
309
308
  const content = this.content();
310
309
  return content instanceof TemplateRef || String(content ?? '').trim().length > 0;
@@ -362,10 +361,10 @@ class AerisTooltip {
362
361
  if (!this.autoHide())
363
362
  this.hide(event, 'pointerleave');
364
363
  };
365
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive });
366
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: AerisTooltip, isStandalone: true, selector: "[aerisTooltip]", inputs: { content: { classPropertyName: "content", publicName: "aerisTooltip", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "aerisTooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, event: { classPropertyName: "event", publicName: "aerisTooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "aerisTooltipShowDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "aerisTooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "aerisTooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "aerisTooltipAutoHide", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "aerisTooltipOffset", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "aerisTooltipViewportMargin", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "aerisTooltipMaxWidth", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "aerisTooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "aerisTooltipAppendTo", isSignal: true, isRequired: false, transformFunction: null }, truncatedOnly: { classPropertyName: "truncatedOnly", publicName: "aerisTooltipTruncatedOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "aerisTooltipShown", hidden: "aerisTooltipHidden" }, host: { listeners: { "pointerenter": "handlePointerEnter($event)", "pointerleave": "handlePointerLeave($event)", "focusin": "handleFocusIn($event)", "focusout": "handleFocusOut($event)", "keydown.escape": "handleEscape($event)" } }, exportAs: ["aerisTooltip"], ngImport: i0 });
364
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive });
365
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: AerisTooltip, isStandalone: true, selector: "[aerisTooltip]", inputs: { content: { classPropertyName: "content", publicName: "aerisTooltip", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "aerisTooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, event: { classPropertyName: "event", publicName: "aerisTooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "aerisTooltipShowDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "aerisTooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "aerisTooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "aerisTooltipAutoHide", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "aerisTooltipOffset", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "aerisTooltipViewportMargin", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "aerisTooltipMaxWidth", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "aerisTooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "aerisTooltipAppendTo", isSignal: true, isRequired: false, transformFunction: null }, truncatedOnly: { classPropertyName: "truncatedOnly", publicName: "aerisTooltipTruncatedOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "aerisTooltipShown", hidden: "aerisTooltipHidden" }, host: { listeners: { "pointerenter": "handlePointerEnter($event)", "pointerleave": "handlePointerLeave($event)", "focusin": "handleFocusIn($event)", "focusout": "handleFocusOut($event)", "keydown.escape": "handleEscape($event)" } }, exportAs: ["aerisTooltip"], ngImport: i0 });
367
366
  }
368
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AerisTooltip, decorators: [{
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisTooltip, decorators: [{
369
368
  type: Directive,
370
369
  args: [{
371
370
  selector: '[aerisTooltip]',
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-tooltip.mjs","sources":["../../../projects/aeris-ui/tooltip/aeris-tooltip.ts","../../../projects/aeris-ui/tooltip/aeris-ui-core-tooltip.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n DestroyRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n TemplateRef,\n booleanAttribute,\n computed,\n createComponent,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport {\n AERIS_OVERLAY_APPEND_TO,\n aerisInternalCreateFrameScheduler,\n ɵaerisResolveAppendTo,\n type AerisAppendTo,\n} from '@aeris-ui/core';\n\nexport type AerisTooltipPosition = 'top' | 'right' | 'bottom' | 'left';\nexport type AerisTooltipEvent = 'hover' | 'focus' | 'both';\nexport type AerisTooltipContent = string | TemplateRef<AerisTooltipTemplateContext> | null | undefined;\nexport type AerisTooltipCloseReason = 'api' | 'escape' | 'blur' | 'pointerleave' | 'disabled';\n\nexport interface AerisTooltipTemplateContext {\n readonly $implicit: string;\n}\n\nexport interface AerisTooltipVisibilityEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisTooltipCloseReason | 'show';\n}\n\nlet nextTooltipId = 0;\n\n@Component({\n selector: 'aeris-tooltip-overlay',\n imports: [NgTemplateOutlet],\n template: `\n <div\n [class]=\"panelClass()\"\n role=\"tooltip\"\n [id]=\"id()\"\n [attr.data-position]=\"position()\"\n [attr.data-interactive]=\"interactive() || null\"\n [style.left.px]=\"coordinates().x\"\n [style.top.px]=\"coordinates().y\"\n [style.--aeris-tooltip-max-width]=\"maxWidth() || null\"\n >\n <span class=\"aeris-tooltip__arrow\" aria-hidden=\"true\"></span>\n @if (templateContent(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n {{ text() }}\n }\n </div>\n `,\n styleUrl: './aeris-tooltip.scss',\n})\nexport class AerisTooltipOverlay {\n readonly id = signal('');\n readonly text = signal('');\n readonly templateContent = signal<TemplateRef<AerisTooltipTemplateContext> | null>(null);\n readonly position = signal<AerisTooltipPosition>('top');\n readonly coordinates = signal({ x: 0, y: 0 });\n readonly interactive = signal(false);\n readonly maxWidth = signal('');\n readonly styleClass = signal('');\n protected readonly panelClass = computed(() =>\n ['aeris-tooltip__panel', this.styleClass()].filter(Boolean).join(' '),\n );\n protected readonly templateContext = computed<AerisTooltipTemplateContext>(() => ({\n $implicit: this.text(),\n }));\n}\n\n@Directive({\n selector: '[aerisTooltip]',\n exportAs: 'aerisTooltip',\n host: {\n '(pointerenter)': 'handlePointerEnter($event)',\n '(pointerleave)': 'handlePointerLeave($event)',\n '(focusin)': 'handleFocusIn($event)',\n '(focusout)': 'handleFocusOut($event)',\n '(keydown.escape)': 'handleEscape($event)',\n },\n})\nexport class AerisTooltip {\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly defaultAppendTo = inject(AERIS_OVERLAY_APPEND_TO);\n private overlayRef: ComponentRef<AerisTooltipOverlay> | null = null;\n private showTimer: ReturnType<typeof setTimeout> | null = null;\n private hideTimer: ReturnType<typeof setTimeout> | null = null;\n private overlayPanel: HTMLElement | null = null;\n private overlayPointerInside = false;\n private visible = false;\n private readonly tooltipId = `aeris-tooltip-${nextTooltipId++}`;\n\n readonly content = input<AerisTooltipContent>('', { alias: 'aerisTooltip' });\n readonly position = input<AerisTooltipPosition>('top', { alias: 'aerisTooltipPosition' });\n readonly event = input<AerisTooltipEvent>('both', { alias: 'aerisTooltipEvent' });\n readonly showDelay = input(0, { alias: 'aerisTooltipShowDelay' });\n readonly hideDelay = input(0, { alias: 'aerisTooltipHideDelay' });\n readonly disabled = input(false, { alias: 'aerisTooltipDisabled', transform: booleanAttribute });\n readonly autoHide = input(true, { alias: 'aerisTooltipAutoHide', transform: booleanAttribute });\n readonly offset = input(8, { alias: 'aerisTooltipOffset' });\n readonly viewportMargin = input(6, { alias: 'aerisTooltipViewportMargin' });\n readonly maxWidth = input('', { alias: 'aerisTooltipMaxWidth' });\n readonly styleClass = input('', { alias: 'aerisTooltipStyleClass' });\n readonly appendTo = input<AerisAppendTo>(undefined, { alias: 'aerisTooltipAppendTo' });\n readonly truncatedOnly = input(false, {\n alias: 'aerisTooltipTruncatedOnly',\n transform: booleanAttribute,\n });\n\n readonly shown = output<AerisTooltipVisibilityEvent>({ alias: 'aerisTooltipShown' });\n readonly hidden = output<AerisTooltipVisibilityEvent>({ alias: 'aerisTooltipHidden' });\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.clearShowTimer();\n this.clearHideTimer();\n this.unbindPositionTracking();\n this.removeTooltipDescription();\n this.destroyOverlay();\n });\n }\n\n show(originalEvent: Event | null = null): void {\n if (this.disabled() || !this.hasContent() || !this.canShowForSize()) {\n this.hide(originalEvent, 'disabled');\n return;\n }\n\n this.clearHideTimer();\n this.clearShowTimer();\n const delay = Math.max(0, this.showDelay());\n if (delay > 0) {\n this.showTimer = setTimeout(() => this.open(originalEvent), delay);\n } else {\n this.open(originalEvent);\n }\n }\n\n hide(\n originalEvent: Event | null = null,\n reason: AerisTooltipCloseReason = 'api',\n ): void {\n this.clearShowTimer();\n this.clearHideTimer();\n const delay = Math.max(0, this.hideDelay());\n if (delay > 0) {\n this.hideTimer = setTimeout(() => this.close(originalEvent, reason), delay);\n } else {\n this.close(originalEvent, reason);\n }\n }\n\n protected handlePointerEnter(event: PointerEvent): void {\n if (this.event() === 'focus') return;\n this.show(event);\n }\n\n protected handlePointerLeave(event: PointerEvent): void {\n if (this.event() === 'focus') return;\n if (!this.autoHide() && this.overlayPointerInside) return;\n this.hide(event, 'pointerleave');\n }\n\n protected handleFocusIn(event: FocusEvent): void {\n if (this.event() === 'hover') return;\n this.show(event);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n if (this.event() === 'hover') return;\n this.hide(event, 'blur');\n }\n\n protected handleEscape(event: Event): void {\n if (!this.visible) return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n private open(originalEvent: Event | null): void {\n if (this.disabled() || !this.hasContent() || !this.canShowForSize()) return;\n const overlay = this.ensureOverlay();\n const content = this.content();\n\n overlay.instance.id.set(this.tooltipId);\n overlay.instance.position.set(this.position());\n overlay.instance.interactive.set(!this.autoHide());\n overlay.instance.maxWidth.set(this.maxWidth());\n overlay.instance.styleClass.set(this.styleClass());\n if (content instanceof TemplateRef) {\n overlay.instance.templateContent.set(content);\n overlay.instance.text.set('');\n } else {\n overlay.instance.templateContent.set(null);\n overlay.instance.text.set(String(content ?? ''));\n }\n\n overlay.changeDetectorRef.detectChanges();\n this.bindOverlayPanel(overlay);\n this.reposition();\n this.addTooltipDescription();\n\n if (!this.visible) {\n this.visible = true;\n this.shown.emit({ originalEvent, visible: true, reason: 'show' });\n }\n }\n\n private close(originalEvent: Event | null, reason: AerisTooltipCloseReason): void {\n if (!this.overlayRef && !this.visible) return;\n this.removeTooltipDescription();\n this.destroyOverlay();\n if (!this.visible) return;\n this.visible = false;\n this.hidden.emit({ originalEvent, visible: false, reason });\n }\n\n private ensureOverlay(): ComponentRef<AerisTooltipOverlay> {\n if (this.overlayRef) return this.overlayRef;\n\n const overlayRef = createComponent(AerisTooltipOverlay, {\n environmentInjector: this.environmentInjector,\n });\n this.overlayRef = overlayRef;\n this.appRef.attachView(overlayRef.hostView);\n const target = ɵaerisResolveAppendTo(\n this.appendTo() ?? this.defaultAppendTo,\n this.document,\n );\n // A tooltip directive can be hosted by void or interactive elements such as inputs and\n // buttons. Appending generated content inside those hosts is invalid or not rendered, so\n // Tooltip's natural `self` layer is the document body. Explicit DOM targets remain supported.\n (target === 'self' ? this.document.body : target).appendChild(this.rootNode(overlayRef));\n const element = this.rootElement(overlayRef);\n element.addEventListener('pointerenter', this.handleOverlayPointerEnter);\n element.addEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.bindPositionTracking();\n return overlayRef;\n }\n\n private destroyOverlay(): void {\n const overlayRef = this.overlayRef;\n if (!overlayRef) return;\n this.unbindPositionTracking();\n const element = this.rootElement(overlayRef);\n element.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n element.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel?.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n this.overlayPanel?.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel = null;\n this.appRef.detachView(overlayRef.hostView);\n overlayRef.destroy();\n this.overlayRef = null;\n this.overlayPointerInside = false;\n }\n\n private bindPositionTracking(): void {\n const view = this.document.defaultView;\n this.document.addEventListener('scroll', this.repositionFrame.schedule, true);\n view?.addEventListener('scroll', this.repositionFrame.schedule);\n view?.addEventListener('resize', this.repositionFrame.schedule);\n }\n\n private unbindPositionTracking(): void {\n const view = this.document.defaultView;\n this.document.removeEventListener('scroll', this.repositionFrame.schedule, true);\n view?.removeEventListener('scroll', this.repositionFrame.schedule);\n view?.removeEventListener('resize', this.repositionFrame.schedule);\n this.repositionFrame.cancel();\n }\n\n private reposition(): void {\n const overlay = this.overlayRef;\n if (!overlay) return;\n const panel = this.rootElement(overlay).querySelector<HTMLElement>('.aeris-tooltip__panel');\n const view = this.document.defaultView;\n if (!panel || !view) return;\n\n const targetRect = this.host.nativeElement.getBoundingClientRect();\n const panelRect = panel.getBoundingClientRect();\n const width = panelRect.width || panel.offsetWidth || 160;\n const height = panelRect.height || panel.offsetHeight || 38;\n const offset = this.offset();\n const margin = this.viewportMargin();\n const raw = this.rawPosition(this.position(), targetRect, width, height, offset);\n const maxX = view.innerWidth - width - margin;\n const maxY = view.innerHeight - height - margin;\n const x = this.clamp(raw.x, margin, Math.max(margin, maxX));\n const y = this.clamp(raw.y, margin, Math.max(margin, maxY));\n\n overlay.instance.coordinates.set({ x, y });\n overlay.changeDetectorRef.detectChanges();\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n }\n\n private bindOverlayPanel(overlayRef: ComponentRef<AerisTooltipOverlay>): void {\n const panel = this.rootElement(overlayRef).querySelector<HTMLElement>('.aeris-tooltip__panel');\n if (!panel || panel === this.overlayPanel) return;\n\n this.overlayPanel?.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n this.overlayPanel?.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n panel.addEventListener('pointerenter', this.handleOverlayPointerEnter);\n panel.addEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel = panel;\n }\n\n private rawPosition(\n position: AerisTooltipPosition,\n targetRect: DOMRect,\n width: number,\n height: number,\n offset: number,\n ): { readonly x: number; readonly y: number } {\n switch (position) {\n case 'bottom':\n return { x: targetRect.left + targetRect.width / 2 - width / 2, y: targetRect.bottom + offset };\n case 'left':\n return { x: targetRect.left - width - offset, y: targetRect.top + targetRect.height / 2 - height / 2 };\n case 'right':\n return { x: targetRect.right + offset, y: targetRect.top + targetRect.height / 2 - height / 2 };\n case 'top':\n default:\n return { x: targetRect.left + targetRect.width / 2 - width / 2, y: targetRect.top - height - offset };\n }\n }\n\n private clamp(value: number, min: number, max: number): number {\n return Math.min(Math.max(value, min), max);\n }\n\n private hasContent(): boolean {\n const content = this.content();\n return content instanceof TemplateRef || String(content ?? '').trim().length > 0;\n }\n\n private canShowForSize(): boolean {\n if (!this.truncatedOnly()) return true;\n const element = this.host.nativeElement;\n return element.scrollWidth > element.clientWidth || element.scrollHeight > element.clientHeight;\n }\n\n private addTooltipDescription(): void {\n const host = this.host.nativeElement;\n const ids = new Set((host.getAttribute('aria-describedby') ?? '').split(/\\s+/u).filter(Boolean));\n ids.add(this.tooltipId);\n host.setAttribute('aria-describedby', [...ids].join(' '));\n }\n\n private removeTooltipDescription(): void {\n const host = this.host.nativeElement;\n const ids = (host.getAttribute('aria-describedby') ?? '')\n .split(/\\s+/u)\n .filter((id) => id && id !== this.tooltipId);\n if (ids.length) {\n host.setAttribute('aria-describedby', ids.join(' '));\n } else {\n host.removeAttribute('aria-describedby');\n }\n }\n\n private clearShowTimer(): void {\n if (!this.showTimer) return;\n clearTimeout(this.showTimer);\n this.showTimer = null;\n }\n\n private clearHideTimer(): void {\n if (!this.hideTimer) return;\n clearTimeout(this.hideTimer);\n this.hideTimer = null;\n }\n\n private rootNode(overlayRef: ComponentRef<AerisTooltipOverlay>): Node {\n const [node] = (overlayRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n\n private rootElement(overlayRef: ComponentRef<AerisTooltipOverlay>): HTMLElement {\n const node = this.rootNode(overlayRef);\n return node instanceof HTMLElement ? node : this.document.body;\n }\n\n private readonly handleOverlayPointerEnter = (): void => {\n this.overlayPointerInside = true;\n this.clearHideTimer();\n };\n\n private readonly handleOverlayPointerLeave = (event: Event): void => {\n this.overlayPointerInside = false;\n if (!this.autoHide()) this.hide(event, 'pointerleave');\n };\n}\n\nexport const AerisTooltipModule = [AerisTooltip] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵaerisResolveAppendTo"],"mappings":";;;;;AAyCA,IAAI,aAAa,GAAG,CAAC;MA6BR,mBAAmB,CAAA;IACrB,EAAE,GAAG,MAAM,CAAC,EAAE;2EAAC;IACf,IAAI,GAAG,MAAM,CAAC,EAAE;6EAAC;IACjB,eAAe,GAAG,MAAM,CAAkD,IAAI;wFAAC;IAC/E,QAAQ,GAAG,MAAM,CAAuB,KAAK;iFAAC;IAC9C,WAAW,GAAG,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;oFAAC;IACpC,WAAW,GAAG,MAAM,CAAC,KAAK;oFAAC;IAC3B,QAAQ,GAAG,MAAM,CAAC,EAAE;iFAAC;IACrB,UAAU,GAAG,MAAM,CAAC,EAAE;mFAAC;IACb,UAAU,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AAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,oBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,SAAA,EAAA,uBAAA,EAAA,UAAA,EAAA,wBAAA,EAAA,gBAAA,EAAA,sBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAXxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,IAAI,EAAE;AACJ,wBAAA,gBAAgB,EAAE,4BAA4B;AAC9C,wBAAA,gBAAgB,EAAE,4BAA4B;AAC9C,wBAAA,WAAW,EAAE,uBAAuB;AACpC,wBAAA,YAAY,EAAE,wBAAwB;AACtC,wBAAA,kBAAkB,EAAE,sBAAsB;AAC3C,qBAAA;AACF,iBAAA;;AA+TM,MAAM,kBAAkB,GAAG,CAAC,YAAY;;ACha/C;;AAEG;;;;"}
1
+ {"version":3,"file":"aeris-ui-core-tooltip.mjs","sources":["../../../projects/aeris-ui/tooltip/aeris-tooltip.ts","../../../projects/aeris-ui/tooltip/aeris-ui-core-tooltip.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n DestroyRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n TemplateRef,\n booleanAttribute,\n computed,\n createComponent,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport {\n AERIS_OVERLAY_APPEND_TO,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n ɵaerisResolveAppendTo,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\n\nexport type AerisTooltipPosition = 'top' | 'right' | 'bottom' | 'left';\nexport type AerisTooltipEvent = 'hover' | 'focus' | 'both';\nexport type AerisTooltipContent = string | TemplateRef<AerisTooltipTemplateContext> | null | undefined;\nexport type AerisTooltipCloseReason = 'api' | 'escape' | 'blur' | 'pointerleave' | 'disabled';\n\nexport interface AerisTooltipTemplateContext {\n readonly $implicit: string;\n}\n\nexport interface AerisTooltipVisibilityEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisTooltipCloseReason | 'show';\n}\n\nlet nextTooltipId = 0;\n\n@Component({\n selector: 'aeris-tooltip-overlay',\n imports: [NgTemplateOutlet],\n template: `\n <div\n [class]=\"panelClass()\"\n role=\"tooltip\"\n [id]=\"id()\"\n [attr.data-position]=\"position()\"\n [attr.data-interactive]=\"interactive() || null\"\n [style.left.px]=\"coordinates().x\"\n [style.top.px]=\"coordinates().y\"\n [style.--aeris-tooltip-max-width]=\"maxWidth() || null\"\n >\n <span class=\"aeris-tooltip__arrow\" aria-hidden=\"true\"></span>\n @if (templateContent(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n {{ text() }}\n }\n </div>\n `,\n styleUrl: './aeris-tooltip.scss',\n})\nexport class AerisTooltipOverlay {\n readonly id = signal('');\n readonly text = signal('');\n readonly templateContent = signal<TemplateRef<AerisTooltipTemplateContext> | null>(null);\n readonly position = signal<AerisTooltipPosition>('top');\n readonly coordinates = signal({ x: 0, y: 0 });\n readonly interactive = signal(false);\n readonly maxWidth = signal('');\n readonly styleClass = signal('');\n protected readonly panelClass = computed(() =>\n ['aeris-tooltip__panel', this.styleClass()].filter(Boolean).join(' '),\n );\n protected readonly templateContext = computed<AerisTooltipTemplateContext>(() => ({\n $implicit: this.text(),\n }));\n}\n\n@Directive({\n selector: '[aerisTooltip]',\n exportAs: 'aerisTooltip',\n host: {\n '(pointerenter)': 'handlePointerEnter($event)',\n '(pointerleave)': 'handlePointerLeave($event)',\n '(focusin)': 'handleFocusIn($event)',\n '(focusout)': 'handleFocusOut($event)',\n '(keydown.escape)': 'handleEscape($event)',\n },\n})\nexport class AerisTooltip {\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly defaultAppendTo = inject(AERIS_OVERLAY_APPEND_TO);\n private overlayRef: ComponentRef<AerisTooltipOverlay> | null = null;\n private showTimer: ReturnType<typeof setTimeout> | null = null;\n private hideTimer: ReturnType<typeof setTimeout> | null = null;\n private overlayPanel: HTMLElement | null = null;\n private overlayPointerInside = false;\n private visible = false;\n private readonly tooltipId = `aeris-tooltip-${nextTooltipId++}`;\n\n readonly content = input<AerisTooltipContent>('', { alias: 'aerisTooltip' });\n readonly position = input<AerisTooltipPosition>('top', { alias: 'aerisTooltipPosition' });\n readonly event = input<AerisTooltipEvent>('both', { alias: 'aerisTooltipEvent' });\n readonly showDelay = input(0, { alias: 'aerisTooltipShowDelay' });\n readonly hideDelay = input(0, { alias: 'aerisTooltipHideDelay' });\n readonly disabled = input(false, { alias: 'aerisTooltipDisabled', transform: booleanAttribute });\n readonly autoHide = input(true, { alias: 'aerisTooltipAutoHide', transform: booleanAttribute });\n readonly offset = input(8, { alias: 'aerisTooltipOffset' });\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(6, {\n alias: 'aerisTooltipViewportMargin',\n });\n readonly maxWidth = input('', { alias: 'aerisTooltipMaxWidth' });\n readonly styleClass = input('', { alias: 'aerisTooltipStyleClass' });\n readonly appendTo = input<AerisAppendTo>(undefined, { alias: 'aerisTooltipAppendTo' });\n readonly truncatedOnly = input(false, {\n alias: 'aerisTooltipTruncatedOnly',\n transform: booleanAttribute,\n });\n\n readonly shown = output<AerisTooltipVisibilityEvent>({ alias: 'aerisTooltipShown' });\n readonly hidden = output<AerisTooltipVisibilityEvent>({ alias: 'aerisTooltipHidden' });\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.clearShowTimer();\n this.clearHideTimer();\n this.unbindPositionTracking();\n this.removeTooltipDescription();\n this.destroyOverlay();\n });\n }\n\n show(originalEvent: Event | null = null): void {\n if (this.disabled() || !this.hasContent() || !this.canShowForSize()) {\n this.hide(originalEvent, 'disabled');\n return;\n }\n\n this.clearHideTimer();\n this.clearShowTimer();\n const delay = Math.max(0, this.showDelay());\n if (delay > 0) {\n this.showTimer = setTimeout(() => this.open(originalEvent), delay);\n } else {\n this.open(originalEvent);\n }\n }\n\n hide(\n originalEvent: Event | null = null,\n reason: AerisTooltipCloseReason = 'api',\n ): void {\n this.clearShowTimer();\n this.clearHideTimer();\n const delay = Math.max(0, this.hideDelay());\n if (delay > 0) {\n this.hideTimer = setTimeout(() => this.close(originalEvent, reason), delay);\n } else {\n this.close(originalEvent, reason);\n }\n }\n\n protected handlePointerEnter(event: PointerEvent): void {\n if (this.event() === 'focus') return;\n this.show(event);\n }\n\n protected handlePointerLeave(event: PointerEvent): void {\n if (this.event() === 'focus') return;\n if (!this.autoHide() && this.overlayPointerInside) return;\n this.hide(event, 'pointerleave');\n }\n\n protected handleFocusIn(event: FocusEvent): void {\n if (this.event() === 'hover') return;\n this.show(event);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n if (this.event() === 'hover') return;\n this.hide(event, 'blur');\n }\n\n protected handleEscape(event: Event): void {\n if (!this.visible) return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n private open(originalEvent: Event | null): void {\n if (this.disabled() || !this.hasContent() || !this.canShowForSize()) return;\n const overlay = this.ensureOverlay();\n const content = this.content();\n\n overlay.instance.id.set(this.tooltipId);\n overlay.instance.position.set(this.position());\n overlay.instance.interactive.set(!this.autoHide());\n overlay.instance.maxWidth.set(this.maxWidth());\n overlay.instance.styleClass.set(this.styleClass());\n if (content instanceof TemplateRef) {\n overlay.instance.templateContent.set(content);\n overlay.instance.text.set('');\n } else {\n overlay.instance.templateContent.set(null);\n overlay.instance.text.set(String(content ?? ''));\n }\n\n overlay.changeDetectorRef.detectChanges();\n this.bindOverlayPanel(overlay);\n this.reposition();\n this.addTooltipDescription();\n\n if (!this.visible) {\n this.visible = true;\n this.shown.emit({ originalEvent, visible: true, reason: 'show' });\n }\n }\n\n private close(originalEvent: Event | null, reason: AerisTooltipCloseReason): void {\n if (!this.overlayRef && !this.visible) return;\n this.removeTooltipDescription();\n this.destroyOverlay();\n if (!this.visible) return;\n this.visible = false;\n this.hidden.emit({ originalEvent, visible: false, reason });\n }\n\n private ensureOverlay(): ComponentRef<AerisTooltipOverlay> {\n if (this.overlayRef) return this.overlayRef;\n\n const overlayRef = createComponent(AerisTooltipOverlay, {\n environmentInjector: this.environmentInjector,\n });\n this.overlayRef = overlayRef;\n this.appRef.attachView(overlayRef.hostView);\n const target = ɵaerisResolveAppendTo(\n this.appendTo() ?? this.defaultAppendTo,\n this.document,\n );\n // A tooltip directive can be hosted by void or interactive elements such as inputs and\n // buttons. Appending generated content inside those hosts is invalid or not rendered, so\n // Tooltip's natural `self` layer is the document body. Explicit DOM targets remain supported.\n (target === 'self' ? this.document.body : target).appendChild(this.rootNode(overlayRef));\n const element = this.rootElement(overlayRef);\n element.addEventListener('pointerenter', this.handleOverlayPointerEnter);\n element.addEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.bindPositionTracking();\n return overlayRef;\n }\n\n private destroyOverlay(): void {\n const overlayRef = this.overlayRef;\n if (!overlayRef) return;\n this.unbindPositionTracking();\n const element = this.rootElement(overlayRef);\n element.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n element.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel?.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n this.overlayPanel?.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel = null;\n this.appRef.detachView(overlayRef.hostView);\n overlayRef.destroy();\n this.overlayRef = null;\n this.overlayPointerInside = false;\n }\n\n private bindPositionTracking(): void {\n const view = this.document.defaultView;\n const viewport = view?.visualViewport;\n this.document.addEventListener('scroll', this.repositionFrame.schedule, true);\n view?.addEventListener('scroll', this.repositionFrame.schedule);\n view?.addEventListener('resize', this.repositionFrame.schedule);\n viewport?.addEventListener('scroll', this.repositionFrame.schedule);\n viewport?.addEventListener('resize', this.repositionFrame.schedule);\n }\n\n private unbindPositionTracking(): void {\n const view = this.document.defaultView;\n const viewport = view?.visualViewport;\n this.document.removeEventListener('scroll', this.repositionFrame.schedule, true);\n view?.removeEventListener('scroll', this.repositionFrame.schedule);\n view?.removeEventListener('resize', this.repositionFrame.schedule);\n viewport?.removeEventListener('scroll', this.repositionFrame.schedule);\n viewport?.removeEventListener('resize', this.repositionFrame.schedule);\n this.repositionFrame.cancel();\n }\n\n private reposition(): void {\n const overlay = this.overlayRef;\n if (!overlay) return;\n const panel = this.rootElement(overlay).querySelector<HTMLElement>('.aeris-tooltip__panel');\n const view = this.document.defaultView;\n if (!panel || !view) return;\n\n const targetRect = this.host.nativeElement.getBoundingClientRect();\n const panelRect = panel.getBoundingClientRect();\n const width = panelRect.width || panel.offsetWidth || 160;\n const height = panelRect.height || panel.offsetHeight || 38;\n const viewport = view.visualViewport;\n const { x, y, placement } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: this.position(),\n alignment: 'center',\n offset: this.offset(),\n margin: 0,\n collisionPadding: this.viewportMargin(),\n viewportWidth: viewport?.width ?? view.innerWidth,\n viewportHeight: viewport?.height ?? view.innerHeight,\n viewportLeft: viewport?.offsetLeft ?? 0,\n viewportTop: viewport?.offsetTop ?? 0,\n });\n\n overlay.instance.position.set(placement);\n overlay.instance.coordinates.set({ x, y });\n overlay.changeDetectorRef.detectChanges();\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n }\n\n private bindOverlayPanel(overlayRef: ComponentRef<AerisTooltipOverlay>): void {\n const panel = this.rootElement(overlayRef).querySelector<HTMLElement>('.aeris-tooltip__panel');\n if (!panel || panel === this.overlayPanel) return;\n\n this.overlayPanel?.removeEventListener('pointerenter', this.handleOverlayPointerEnter);\n this.overlayPanel?.removeEventListener('pointerleave', this.handleOverlayPointerLeave);\n panel.addEventListener('pointerenter', this.handleOverlayPointerEnter);\n panel.addEventListener('pointerleave', this.handleOverlayPointerLeave);\n this.overlayPanel = panel;\n }\n\n private hasContent(): boolean {\n const content = this.content();\n return content instanceof TemplateRef || String(content ?? '').trim().length > 0;\n }\n\n private canShowForSize(): boolean {\n if (!this.truncatedOnly()) return true;\n const element = this.host.nativeElement;\n return element.scrollWidth > element.clientWidth || element.scrollHeight > element.clientHeight;\n }\n\n private addTooltipDescription(): void {\n const host = this.host.nativeElement;\n const ids = new Set((host.getAttribute('aria-describedby') ?? '').split(/\\s+/u).filter(Boolean));\n ids.add(this.tooltipId);\n host.setAttribute('aria-describedby', [...ids].join(' '));\n }\n\n private removeTooltipDescription(): void {\n const host = this.host.nativeElement;\n const ids = (host.getAttribute('aria-describedby') ?? '')\n .split(/\\s+/u)\n .filter((id) => id && id !== this.tooltipId);\n if (ids.length) {\n host.setAttribute('aria-describedby', ids.join(' '));\n } else {\n host.removeAttribute('aria-describedby');\n }\n }\n\n private clearShowTimer(): void {\n if (!this.showTimer) return;\n clearTimeout(this.showTimer);\n this.showTimer = null;\n }\n\n private clearHideTimer(): void {\n if (!this.hideTimer) return;\n clearTimeout(this.hideTimer);\n this.hideTimer = null;\n }\n\n private rootNode(overlayRef: ComponentRef<AerisTooltipOverlay>): Node {\n const [node] = (overlayRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n\n private rootElement(overlayRef: ComponentRef<AerisTooltipOverlay>): HTMLElement {\n const node = this.rootNode(overlayRef);\n return node instanceof HTMLElement ? node : this.document.body;\n }\n\n private readonly handleOverlayPointerEnter = (): void => {\n this.overlayPointerInside = true;\n this.clearHideTimer();\n };\n\n private readonly handleOverlayPointerLeave = (event: Event): void => {\n this.overlayPointerInside = false;\n if (!this.autoHide()) this.hide(event, 'pointerleave');\n };\n}\n\nexport const AerisTooltipModule = [AerisTooltip] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵaerisResolveAppendTo"],"mappings":";;;;;AA2CA,IAAI,aAAa,GAAG,CAAC;MA6BR,mBAAmB,CAAA;IACrB,EAAE,GAAG,MAAM,CAAC,EAAE;2EAAC;IACf,IAAI,GAAG,MAAM,CAAC,EAAE;6EAAC;IACjB,eAAe,GAAG,MAAM,CAAkD,IAAI;wFAAC;IAC/E,QAAQ,GAAG,MAAM,CAAuB,KAAK;iFAAC;IAC9C,WAAW,GAAG,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;oFAAC;IACpC,WAAW,GAAG,MAAM,CAAC,KAAK;oFAAC;IAC3B,QAAQ,GAAG,MAAM,CAAC,EAAE;iFAAC;IACrB,UAAU,GAAG,MAAM,CAAC,EAAE;mFAAC;IACb,UAAU,GAAG,QAAQ,CAAC,MACvC,CAAC,sBAAsB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;mFACtE;AACkB,IAAA,eAAe,GAAG,QAAQ,CAA8B,OAAO;AAChF,QAAA,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE;KACvB,CAAC;wFAAC;uGAdQ,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAA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