@aeris-ui/core 22.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +189 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +412 -0
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +107 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs +754 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs +63 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-avatar.mjs +133 -0
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-badge.mjs +163 -0
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs +139 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +433 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +39 -0
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button.mjs +246 -0
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-card.mjs +134 -0
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-carousel.mjs +542 -0
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs +673 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chart.mjs +296 -0
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs +220 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chip.mjs +200 -0
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-class-names.mjs +67 -0
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1192 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +508 -0
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +818 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1010 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs +720 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1471 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dialog.mjs +574 -0
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-divider.mjs +51 -0
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-drawer.mjs +549 -0
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +333 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-editor.mjs +1548 -0
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs +965 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs +304 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-fluid.mjs +23 -0
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs +185 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +1657 -0
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-glass.mjs +35 -0
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs +113 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-inplace.mjs +243 -0
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-group.mjs +110 -0
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs +343 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-number.mjs +497 -0
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs +361 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-text.mjs +226 -0
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +208 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +835 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menu.mjs +796 -0
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menubar.mjs +729 -0
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-message.mjs +225 -0
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs +377 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs +1033 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +351 -0
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs +382 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-paginator.mjs +254 -0
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-panel.mjs +352 -0
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-password.mjs +479 -0
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs +939 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-popover.mjs +535 -0
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs +260 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +218 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs +194 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-rating.mjs +385 -0
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +211 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs +94 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1134 -0
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +47 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-slider.mjs +724 -0
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs +589 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-split-button.mjs +532 -0
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-splitter.mjs +488 -0
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-stepper.mjs +437 -0
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-style-class.mjs +344 -0
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-table.mjs +1580 -0
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tabs.mjs +438 -0
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-textarea.mjs +349 -0
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1565 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theming.mjs +150 -0
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +718 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-timeline.mjs +278 -0
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toast.mjs +422 -0
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +202 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs +136 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs +365 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs +995 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs +1600 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree.mjs +962 -0
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -0
- package/fesm2022/aeris-ui-core.mjs +360 -0
- package/fesm2022/aeris-ui-core.mjs.map +1 -0
- package/package.json +432 -0
- package/schematics/aeris-setup.schema.json +52 -0
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/schema.json +64 -0
- package/schematics/runtime/package.json +3 -0
- package/schematics/runtime/schematics/ng-add/index.js +13 -0
- package/schematics/runtime/schematics/ng-add/index.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/options.js +338 -0
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/schema.js +3 -0
- package/schematics/runtime/schematics/ng-add/schema.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/workspace.js +273 -0
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +12 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color.js +263 -0
- package/schematics/runtime/theme-builder/aeris-color.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js +245 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js +47 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +121 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +238 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +101 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +82 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +183 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme.js +322 -0
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -0
- package/schematics/runtime/theme-builder/public-api.js +17 -0
- package/schematics/runtime/theme-builder/public-api.js.map +1 -0
- package/styles/_index.scss +1 -0
- package/styles/_tokens.scss +13 -0
- package/styles/aeris.css +555 -0
- package/styles/controls.css +169 -0
- package/tools/aeris-theme.mjs +149 -0
- package/tools/aeris-theme.schema.json +143 -0
- package/types/aeris-ui-core-accordion.d.ts +101 -0
- package/types/aeris-ui-core-animate-on-scroll.d.ts +34 -0
- package/types/aeris-ui-core-auto-complete.d.ts +154 -0
- package/types/aeris-ui-core-auto-focus.d.ts +17 -0
- package/types/aeris-ui-core-avatar.d.ts +44 -0
- package/types/aeris-ui-core-badge.d.ts +48 -0
- package/types/aeris-ui-core-block-ui.d.ts +28 -0
- package/types/aeris-ui-core-breadcrumb.d.ts +104 -0
- package/types/aeris-ui-core-button-group.d.ts +17 -0
- package/types/aeris-ui-core-button.d.ts +71 -0
- package/types/aeris-ui-core-card.d.ts +43 -0
- package/types/aeris-ui-core-carousel.d.ts +126 -0
- package/types/aeris-ui-core-cascade-select.d.ts +130 -0
- package/types/aeris-ui-core-chart.d.ts +92 -0
- package/types/aeris-ui-core-checkbox.d.ts +55 -0
- package/types/aeris-ui-core-chip.d.ts +56 -0
- package/types/aeris-ui-core-class-names.d.ts +21 -0
- package/types/aeris-ui-core-color-picker.d.ts +149 -0
- package/types/aeris-ui-core-compare.d.ts +109 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +263 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +281 -0
- package/types/aeris-ui-core-context-menu.d.ts +156 -0
- package/types/aeris-ui-core-date-picker.d.ts +226 -0
- package/types/aeris-ui-core-dialog.d.ts +124 -0
- package/types/aeris-ui-core-divider.d.ts +21 -0
- package/types/aeris-ui-core-drawer.d.ts +119 -0
- package/types/aeris-ui-core-dynamic-dialog.d.ts +148 -0
- package/types/aeris-ui-core-editor.d.ts +130 -0
- package/types/aeris-ui-core-file-upload.d.ts +199 -0
- package/types/aeris-ui-core-filter-service.d.ts +54 -0
- package/types/aeris-ui-core-fluid.d.ts +10 -0
- package/types/aeris-ui-core-focus-trap.d.ts +32 -0
- package/types/aeris-ui-core-galleria.d.ts +273 -0
- package/types/aeris-ui-core-glass.d.ts +17 -0
- package/types/aeris-ui-core-icon-field.d.ts +36 -0
- package/types/aeris-ui-core-inplace.d.ts +68 -0
- package/types/aeris-ui-core-input-group.d.ts +38 -0
- package/types/aeris-ui-core-input-mask.d.ts +73 -0
- package/types/aeris-ui-core-input-number.d.ts +87 -0
- package/types/aeris-ui-core-input-otp.d.ts +88 -0
- package/types/aeris-ui-core-input-text.d.ts +63 -0
- package/types/aeris-ui-core-key-filter.d.ts +41 -0
- package/types/aeris-ui-core-mega-menu.d.ts +130 -0
- package/types/aeris-ui-core-menu.d.ts +182 -0
- package/types/aeris-ui-core-menubar.d.ts +145 -0
- package/types/aeris-ui-core-message.d.ts +65 -0
- package/types/aeris-ui-core-meter-group.d.ts +100 -0
- package/types/aeris-ui-core-multi-select.d.ts +193 -0
- package/types/aeris-ui-core-order-list.d.ts +73 -0
- package/types/aeris-ui-core-organization-chart.d.ts +85 -0
- package/types/aeris-ui-core-paginator.d.ts +39 -0
- package/types/aeris-ui-core-panel.d.ts +85 -0
- package/types/aeris-ui-core-password.d.ts +110 -0
- package/types/aeris-ui-core-pick-list.d.ts +193 -0
- package/types/aeris-ui-core-popover.d.ts +112 -0
- package/types/aeris-ui-core-progress-bar.d.ts +81 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +51 -0
- package/types/aeris-ui-core-radio-button.d.ts +51 -0
- package/types/aeris-ui-core-rating.d.ts +80 -0
- package/types/aeris-ui-core-scroll-panel.d.ts +66 -0
- package/types/aeris-ui-core-scroll-top.d.ts +29 -0
- package/types/aeris-ui-core-select.d.ts +223 -0
- package/types/aeris-ui-core-skeleton.d.ts +18 -0
- package/types/aeris-ui-core-slider.d.ts +117 -0
- package/types/aeris-ui-core-speed-dial.d.ts +119 -0
- package/types/aeris-ui-core-split-button.d.ts +122 -0
- package/types/aeris-ui-core-splitter.d.ts +113 -0
- package/types/aeris-ui-core-stepper.d.ts +99 -0
- package/types/aeris-ui-core-style-class.d.ts +73 -0
- package/types/aeris-ui-core-table.d.ts +333 -0
- package/types/aeris-ui-core-tabs.d.ts +82 -0
- package/types/aeris-ui-core-textarea.d.ts +80 -0
- package/types/aeris-ui-core-theme-builder.d.ts +499 -0
- package/types/aeris-ui-core-theming.d.ts +47 -0
- package/types/aeris-ui-core-tiered-menu.d.ts +152 -0
- package/types/aeris-ui-core-timeline.d.ts +80 -0
- package/types/aeris-ui-core-toast.d.ts +127 -0
- package/types/aeris-ui-core-toggle-switch.d.ts +52 -0
- package/types/aeris-ui-core-toolbar.d.ts +47 -0
- package/types/aeris-ui-core-tooltip.d.ts +92 -0
- package/types/aeris-ui-core-tree-select.d.ts +187 -0
- package/types/aeris-ui-core-tree-table.d.ts +311 -0
- package/types/aeris-ui-core-tree.d.ts +179 -0
- package/types/aeris-ui-core.d.ts +85 -0
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
import { DOCUMENT, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, TemplateRef, Directive, signal, viewChild, contentChild, computed, model, input, booleanAttribute, output, effect, Component } from '@angular/core';
|
|
4
|
+
import { aerisInternalCreateFrameScheduler, aerisInternalPositionAnchoredOverlay, aerisInternalFocusInitialElement, aerisInternalTrapTabFocus } from '@aeris-ui/core';
|
|
5
|
+
|
|
6
|
+
class AerisPopoverHeaderTemplate {
|
|
7
|
+
template = inject(TemplateRef);
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPopoverHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPopoverHeader]", ngImport: i0 });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverHeaderTemplate, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{ selector: 'ng-template[aerisPopoverHeader]' }]
|
|
14
|
+
}] });
|
|
15
|
+
class AerisPopoverFooterTemplate {
|
|
16
|
+
template = inject(TemplateRef);
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPopoverFooterTemplate, isStandalone: true, selector: "ng-template[aerisPopoverFooter]", ngImport: i0 });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverFooterTemplate, decorators: [{
|
|
21
|
+
type: Directive,
|
|
22
|
+
args: [{ selector: 'ng-template[aerisPopoverFooter]' }]
|
|
23
|
+
}] });
|
|
24
|
+
class AerisPopoverCloseIconTemplate {
|
|
25
|
+
template = inject(TemplateRef);
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverCloseIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPopoverCloseIconTemplate, isStandalone: true, selector: "ng-template[aerisPopoverCloseIcon]", ngImport: i0 });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverCloseIconTemplate, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{ selector: 'ng-template[aerisPopoverCloseIcon]' }]
|
|
32
|
+
}] });
|
|
33
|
+
class AerisPopoverHeadlessTemplate {
|
|
34
|
+
template = inject(TemplateRef);
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverHeadlessTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisPopoverHeadlessTemplate, isStandalone: true, selector: "ng-template[aerisPopoverHeadless]", ngImport: i0 });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopoverHeadlessTemplate, decorators: [{
|
|
39
|
+
type: Directive,
|
|
40
|
+
args: [{ selector: 'ng-template[aerisPopoverHeadless]' }]
|
|
41
|
+
}] });
|
|
42
|
+
let nextPopoverId = 0;
|
|
43
|
+
class AerisPopover {
|
|
44
|
+
repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());
|
|
45
|
+
document = inject(DOCUMENT);
|
|
46
|
+
activeTarget = signal(null, /* @ts-ignore */
|
|
47
|
+
...(ngDevMode ? [{ debugName: "activeTarget" }] : /* istanbul ignore next */ []));
|
|
48
|
+
triggerAttributes = signal(null, /* @ts-ignore */
|
|
49
|
+
...(ngDevMode ? [{ debugName: "triggerAttributes" }] : /* istanbul ignore next */ []));
|
|
50
|
+
previousVisible = false;
|
|
51
|
+
pendingOriginalEvent = null;
|
|
52
|
+
pendingCloseReason = 'api';
|
|
53
|
+
popoverPanel = viewChild('popoverPanel', /* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [{ debugName: "popoverPanel" }] : /* istanbul ignore next */ []));
|
|
55
|
+
headerTemplate = contentChild(AerisPopoverHeaderTemplate, /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []));
|
|
57
|
+
footerTemplate = contentChild(AerisPopoverFooterTemplate, /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []));
|
|
59
|
+
closeIconTemplate = contentChild(AerisPopoverCloseIconTemplate, /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "closeIconTemplate" }] : /* istanbul ignore next */ []));
|
|
61
|
+
headlessTemplate = contentChild(AerisPopoverHeadlessTemplate, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "headlessTemplate" }] : /* istanbul ignore next */ []));
|
|
63
|
+
positioned = signal(false, /* @ts-ignore */
|
|
64
|
+
...(ngDevMode ? [{ debugName: "positioned" }] : /* istanbul ignore next */ []));
|
|
65
|
+
actualPlacement = signal('bottom', /* @ts-ignore */
|
|
66
|
+
...(ngDevMode ? [{ debugName: "actualPlacement" }] : /* istanbul ignore next */ []));
|
|
67
|
+
coordinates = signal({ x: 0, y: 0 }, /* @ts-ignore */
|
|
68
|
+
...(ngDevMode ? [{ debugName: "coordinates" }] : /* istanbul ignore next */ []));
|
|
69
|
+
hasHeader = computed(() => !!this.header() || !!this.headerTemplate() || this.closable(), /* @ts-ignore */
|
|
70
|
+
...(ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []));
|
|
71
|
+
computedAriaLabelledBy = computed(() => {
|
|
72
|
+
const labelledBy = this.ariaLabelledBy();
|
|
73
|
+
if (labelledBy)
|
|
74
|
+
return labelledBy;
|
|
75
|
+
if (this.ariaLabel())
|
|
76
|
+
return null;
|
|
77
|
+
return this.hasHeader() && !this.headlessTemplate() ? this.titleId : null;
|
|
78
|
+
}, /* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [{ debugName: "computedAriaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
80
|
+
templateContext = computed(() => ({
|
|
81
|
+
$implicit: this,
|
|
82
|
+
close: (event) => this.hide(event ?? null),
|
|
83
|
+
placement: this.actualPlacement(),
|
|
84
|
+
target: this.activeTarget(),
|
|
85
|
+
}), /* @ts-ignore */
|
|
86
|
+
...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
|
|
87
|
+
visible = model(false, /* @ts-ignore */
|
|
88
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
89
|
+
target = input(null, /* @ts-ignore */
|
|
90
|
+
...(ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []));
|
|
91
|
+
header = input('', /* @ts-ignore */
|
|
92
|
+
...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
93
|
+
placement = input('auto', /* @ts-ignore */
|
|
94
|
+
...(ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []));
|
|
95
|
+
alignment = input('center', /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "alignment" }] : /* istanbul ignore next */ []));
|
|
97
|
+
width = input('', /* @ts-ignore */
|
|
98
|
+
...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
|
|
99
|
+
maxWidth = input('', /* @ts-ignore */
|
|
100
|
+
...(ngDevMode ? [{ debugName: "maxWidth" }] : /* istanbul ignore next */ []));
|
|
101
|
+
offset = input(10, /* @ts-ignore */
|
|
102
|
+
...(ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []));
|
|
103
|
+
viewportMargin = input(8, /* @ts-ignore */
|
|
104
|
+
...(ngDevMode ? [{ debugName: "viewportMargin" }] : /* istanbul ignore next */ []));
|
|
105
|
+
dismissible = input(true, { ...(ngDevMode ? { debugName: "dismissible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
106
|
+
closeOnEscape = input(true, { ...(ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
107
|
+
closable = input(false, { ...(ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
108
|
+
focusTrap = input(true, { ...(ngDevMode ? { debugName: "focusTrap" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
109
|
+
restoreFocus = input(true, { ...(ngDevMode ? { debugName: "restoreFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
110
|
+
autoFocus = input(true, { ...(ngDevMode ? { debugName: "autoFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
111
|
+
initialFocus = input('', /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "initialFocus" }] : /* istanbul ignore next */ []));
|
|
113
|
+
showArrow = input(true, { ...(ngDevMode ? { debugName: "showArrow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
114
|
+
closeAriaLabel = input('Close popover', /* @ts-ignore */
|
|
115
|
+
...(ngDevMode ? [{ debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []));
|
|
116
|
+
ariaLabel = input('', /* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
118
|
+
ariaLabelledBy = input('', /* @ts-ignore */
|
|
119
|
+
...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
120
|
+
ariaDescribedBy = input('', /* @ts-ignore */
|
|
121
|
+
...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []));
|
|
122
|
+
shown = output();
|
|
123
|
+
hidden = output();
|
|
124
|
+
visibilityChanged = output();
|
|
125
|
+
popoverId = `aeris-popover-${nextPopoverId++}`;
|
|
126
|
+
titleId = `${this.popoverId}-title`;
|
|
127
|
+
constructor() {
|
|
128
|
+
effect(() => {
|
|
129
|
+
const visible = this.visible();
|
|
130
|
+
if (visible === this.previousVisible)
|
|
131
|
+
return;
|
|
132
|
+
if (visible) {
|
|
133
|
+
this.handleShown();
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
this.handleHidden();
|
|
137
|
+
}
|
|
138
|
+
this.previousVisible = visible;
|
|
139
|
+
});
|
|
140
|
+
effect((onCleanup) => {
|
|
141
|
+
if (!this.visible())
|
|
142
|
+
return;
|
|
143
|
+
const keydown = (event) => this.handleDocumentKeydown(event);
|
|
144
|
+
const pointerdown = (event) => this.handleDocumentPointerdown(event);
|
|
145
|
+
const reposition = this.repositionFrame.schedule;
|
|
146
|
+
const view = this.document.defaultView;
|
|
147
|
+
this.document.addEventListener('keydown', keydown);
|
|
148
|
+
this.document.addEventListener('pointerdown', pointerdown);
|
|
149
|
+
view?.addEventListener('resize', reposition);
|
|
150
|
+
view?.addEventListener('scroll', reposition);
|
|
151
|
+
onCleanup(() => {
|
|
152
|
+
this.document.removeEventListener('keydown', keydown);
|
|
153
|
+
this.document.removeEventListener('pointerdown', pointerdown);
|
|
154
|
+
view?.removeEventListener('resize', reposition);
|
|
155
|
+
view?.removeEventListener('scroll', reposition);
|
|
156
|
+
this.repositionFrame.cancel();
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
show(target = null, originalEvent = null) {
|
|
161
|
+
const resolvedTarget = this.resolveTarget(target) ?? this.localTarget();
|
|
162
|
+
if (!resolvedTarget) {
|
|
163
|
+
throw new Error('AerisPopover requires a target Element or trigger Event.');
|
|
164
|
+
}
|
|
165
|
+
this.activeTarget.set(resolvedTarget);
|
|
166
|
+
this.pendingOriginalEvent = originalEvent ?? (target instanceof Event ? target : null);
|
|
167
|
+
this.visible.set(true);
|
|
168
|
+
}
|
|
169
|
+
hide(originalEvent = null, reason = 'api') {
|
|
170
|
+
if (!this.visible())
|
|
171
|
+
return;
|
|
172
|
+
this.pendingOriginalEvent = originalEvent;
|
|
173
|
+
this.pendingCloseReason = reason;
|
|
174
|
+
this.visible.set(false);
|
|
175
|
+
}
|
|
176
|
+
toggle(target = null, originalEvent = null) {
|
|
177
|
+
if (this.visible()) {
|
|
178
|
+
this.hide(originalEvent ?? (target instanceof Event ? target : null));
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
this.show(target, originalEvent);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
focus(options) {
|
|
185
|
+
this.focusInitial(options);
|
|
186
|
+
}
|
|
187
|
+
reposition() {
|
|
188
|
+
if (!this.visible())
|
|
189
|
+
return;
|
|
190
|
+
const panel = this.popoverPanel()?.nativeElement;
|
|
191
|
+
const target = this.activeTarget();
|
|
192
|
+
const view = target?.ownerDocument.defaultView;
|
|
193
|
+
if (!panel || !target || !view)
|
|
194
|
+
return;
|
|
195
|
+
const targetRect = target.getBoundingClientRect();
|
|
196
|
+
const panelRect = panel.getBoundingClientRect();
|
|
197
|
+
const width = panelRect.width || panel.offsetWidth || 320;
|
|
198
|
+
const height = panelRect.height || panel.offsetHeight || 160;
|
|
199
|
+
const { placement, x, y } = aerisInternalPositionAnchoredOverlay({
|
|
200
|
+
target: targetRect,
|
|
201
|
+
width,
|
|
202
|
+
height,
|
|
203
|
+
placement: this.placement(),
|
|
204
|
+
alignment: this.alignment(),
|
|
205
|
+
offset: this.offset(),
|
|
206
|
+
margin: this.viewportMargin(),
|
|
207
|
+
viewportWidth: view.innerWidth,
|
|
208
|
+
viewportHeight: view.innerHeight,
|
|
209
|
+
});
|
|
210
|
+
this.actualPlacement.set(placement);
|
|
211
|
+
this.coordinates.set({ x, y });
|
|
212
|
+
this.positioned.set(true);
|
|
213
|
+
panel.style.left = `${x}px`;
|
|
214
|
+
panel.style.top = `${y}px`;
|
|
215
|
+
panel.setAttribute('data-placement', placement);
|
|
216
|
+
panel.parentElement?.setAttribute('data-positioned', 'true');
|
|
217
|
+
}
|
|
218
|
+
handlePanelKeydown(event) {
|
|
219
|
+
if (event.key !== 'Tab' || !this.focusTrap())
|
|
220
|
+
return;
|
|
221
|
+
this.trapTab(event);
|
|
222
|
+
}
|
|
223
|
+
handleDocumentKeydown(event) {
|
|
224
|
+
if (!this.visible() || event.key !== 'Escape' || !this.closeOnEscape())
|
|
225
|
+
return;
|
|
226
|
+
event.preventDefault();
|
|
227
|
+
this.hide(event, 'escape');
|
|
228
|
+
}
|
|
229
|
+
handleDocumentPointerdown(event) {
|
|
230
|
+
if (!this.visible() || !this.dismissible())
|
|
231
|
+
return;
|
|
232
|
+
const target = event.target;
|
|
233
|
+
if (!(target instanceof Node))
|
|
234
|
+
return;
|
|
235
|
+
const panel = this.popoverPanel()?.nativeElement;
|
|
236
|
+
const activeTarget = this.activeTarget();
|
|
237
|
+
if (panel?.contains(target) || activeTarget?.contains(target))
|
|
238
|
+
return;
|
|
239
|
+
this.hide(event, 'outside');
|
|
240
|
+
}
|
|
241
|
+
handleShown() {
|
|
242
|
+
if (!this.activeTarget()) {
|
|
243
|
+
const target = this.localTarget();
|
|
244
|
+
if (!target) {
|
|
245
|
+
this.visible.set(false);
|
|
246
|
+
throw new Error('AerisPopover requires a target Element or trigger Event.');
|
|
247
|
+
}
|
|
248
|
+
this.activeTarget.set(target);
|
|
249
|
+
}
|
|
250
|
+
const target = this.activeTarget();
|
|
251
|
+
this.positioned.set(false);
|
|
252
|
+
this.updateTriggerAttributes(true);
|
|
253
|
+
const event = this.visibilityEvent(true, 'api', this.pendingOriginalEvent, target);
|
|
254
|
+
this.pendingOriginalEvent = null;
|
|
255
|
+
this.shown.emit(event);
|
|
256
|
+
this.visibilityChanged.emit(event);
|
|
257
|
+
queueMicrotask(() => {
|
|
258
|
+
this.reposition();
|
|
259
|
+
if (this.autoFocus())
|
|
260
|
+
this.focusInitial();
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
handleHidden() {
|
|
264
|
+
const target = this.activeTarget();
|
|
265
|
+
const shouldRestoreFocus = this.restoreFocus();
|
|
266
|
+
const event = this.visibilityEvent(false, this.pendingCloseReason, this.pendingOriginalEvent, target);
|
|
267
|
+
this.updateTriggerAttributes(false);
|
|
268
|
+
this.positioned.set(false);
|
|
269
|
+
this.pendingOriginalEvent = null;
|
|
270
|
+
this.pendingCloseReason = 'api';
|
|
271
|
+
this.activeTarget.set(null);
|
|
272
|
+
this.hidden.emit(event);
|
|
273
|
+
this.visibilityChanged.emit(event);
|
|
274
|
+
if (shouldRestoreFocus && target instanceof HTMLElement) {
|
|
275
|
+
queueMicrotask(() => target.focus());
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
visibilityEvent(visible, reason, originalEvent, target) {
|
|
279
|
+
return {
|
|
280
|
+
originalEvent,
|
|
281
|
+
visible,
|
|
282
|
+
reason,
|
|
283
|
+
target,
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
updateTriggerAttributes(open) {
|
|
287
|
+
const target = this.activeTarget();
|
|
288
|
+
if (!target)
|
|
289
|
+
return;
|
|
290
|
+
if (open) {
|
|
291
|
+
this.triggerAttributes.set({
|
|
292
|
+
target,
|
|
293
|
+
expanded: target.getAttribute('aria-expanded'),
|
|
294
|
+
controls: target.getAttribute('aria-controls'),
|
|
295
|
+
haspopup: target.getAttribute('aria-haspopup'),
|
|
296
|
+
});
|
|
297
|
+
target.setAttribute('aria-haspopup', 'dialog');
|
|
298
|
+
target.setAttribute('aria-expanded', 'true');
|
|
299
|
+
target.setAttribute('aria-controls', this.popoverId);
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
const previous = this.triggerAttributes();
|
|
303
|
+
if (!previous)
|
|
304
|
+
return;
|
|
305
|
+
if (previous.expanded === null) {
|
|
306
|
+
previous.target.removeAttribute('aria-expanded');
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
previous.target.setAttribute('aria-expanded', previous.expanded);
|
|
310
|
+
}
|
|
311
|
+
if (previous.controls === null) {
|
|
312
|
+
previous.target.removeAttribute('aria-controls');
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
315
|
+
previous.target.setAttribute('aria-controls', previous.controls);
|
|
316
|
+
}
|
|
317
|
+
if (previous.haspopup === null) {
|
|
318
|
+
previous.target.removeAttribute('aria-haspopup');
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
previous.target.setAttribute('aria-haspopup', previous.haspopup);
|
|
322
|
+
}
|
|
323
|
+
this.triggerAttributes.set(null);
|
|
324
|
+
}
|
|
325
|
+
focusInitial(options) {
|
|
326
|
+
const panel = this.popoverPanel()?.nativeElement;
|
|
327
|
+
if (!panel)
|
|
328
|
+
return;
|
|
329
|
+
aerisInternalFocusInitialElement(panel, this.initialFocus(), options);
|
|
330
|
+
}
|
|
331
|
+
trapTab(event) {
|
|
332
|
+
const panel = this.popoverPanel()?.nativeElement;
|
|
333
|
+
if (!panel)
|
|
334
|
+
return;
|
|
335
|
+
aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement());
|
|
336
|
+
}
|
|
337
|
+
activeHtmlElement() {
|
|
338
|
+
const active = this.activeTarget()?.ownerDocument.activeElement;
|
|
339
|
+
return active instanceof HTMLElement ? active : null;
|
|
340
|
+
}
|
|
341
|
+
localTarget() {
|
|
342
|
+
return this.resolveTarget(this.target());
|
|
343
|
+
}
|
|
344
|
+
resolveTarget(target) {
|
|
345
|
+
if (target instanceof Element)
|
|
346
|
+
return target;
|
|
347
|
+
if (target instanceof Event) {
|
|
348
|
+
return this.resolveTarget(target.currentTarget ?? target.target);
|
|
349
|
+
}
|
|
350
|
+
return target instanceof Element ? target : null;
|
|
351
|
+
}
|
|
352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopover, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisPopover, isStandalone: true, selector: "aeris-popover", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "viewportMargin", isSignal: true, isRequired: false, transformFunction: null }, dismissible: { classPropertyName: "dismissible", publicName: "dismissible", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, focusTrap: { classPropertyName: "focusTrap", publicName: "focusTrap", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, initialFocus: { classPropertyName: "initialFocus", publicName: "initialFocus", isSignal: true, isRequired: false, transformFunction: null }, showArrow: { classPropertyName: "showArrow", publicName: "showArrow", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", 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 } }, outputs: { visible: "visibleChange", shown: "shown", hidden: "hidden", visibilityChanged: "visibilityChanged" }, host: { properties: { "attr.data-open": "visible() || null" }, classAttribute: "aeris-popover" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisPopoverHeaderTemplate, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: AerisPopoverFooterTemplate, descendants: true, isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: AerisPopoverCloseIconTemplate, descendants: true, isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: AerisPopoverHeadlessTemplate, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "popoverPanel", first: true, predicate: ["popoverPanel"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
354
|
+
@if (visible()) {
|
|
355
|
+
<div class="aeris-popover__layer" [attr.data-positioned]="positioned() || null">
|
|
356
|
+
<section
|
|
357
|
+
#popoverPanel
|
|
358
|
+
class="aeris-popover__panel"
|
|
359
|
+
role="dialog"
|
|
360
|
+
tabindex="-1"
|
|
361
|
+
[id]="popoverId"
|
|
362
|
+
[attr.aria-modal]="focusTrap() || null"
|
|
363
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
364
|
+
[attr.aria-labelledby]="computedAriaLabelledBy()"
|
|
365
|
+
[attr.aria-describedby]="ariaDescribedBy() || null"
|
|
366
|
+
[attr.data-placement]="actualPlacement()"
|
|
367
|
+
[attr.data-headless]="headlessTemplate() ? true : null"
|
|
368
|
+
[style.left.px]="coordinates().x"
|
|
369
|
+
[style.top.px]="coordinates().y"
|
|
370
|
+
[style.--aeris-popover-width]="width() || null"
|
|
371
|
+
[style.--aeris-popover-max-width]="maxWidth() || null"
|
|
372
|
+
(keydown)="handlePanelKeydown($event)"
|
|
373
|
+
>
|
|
374
|
+
@if (showArrow()) {
|
|
375
|
+
<span class="aeris-popover__arrow" aria-hidden="true"></span>
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@if (headlessTemplate(); as headlessTemplateRef) {
|
|
379
|
+
<ng-container
|
|
380
|
+
[ngTemplateOutlet]="headlessTemplateRef.template"
|
|
381
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
382
|
+
/>
|
|
383
|
+
} @else {
|
|
384
|
+
@if (hasHeader()) {
|
|
385
|
+
<header class="aeris-popover__header">
|
|
386
|
+
<div class="aeris-popover__title" [id]="titleId">
|
|
387
|
+
@if (headerTemplate(); as headerTemplateRef) {
|
|
388
|
+
<ng-container
|
|
389
|
+
[ngTemplateOutlet]="headerTemplateRef.template"
|
|
390
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
391
|
+
/>
|
|
392
|
+
} @else {
|
|
393
|
+
{{ header() }}
|
|
394
|
+
}
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
@if (closable()) {
|
|
398
|
+
<button
|
|
399
|
+
type="button"
|
|
400
|
+
class="aeris-popover__close"
|
|
401
|
+
[attr.aria-label]="closeAriaLabel()"
|
|
402
|
+
(click)="hide($event, 'close-button')"
|
|
403
|
+
>
|
|
404
|
+
@if (closeIconTemplate(); as closeIconTemplateRef) {
|
|
405
|
+
<ng-container
|
|
406
|
+
[ngTemplateOutlet]="closeIconTemplateRef.template"
|
|
407
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
408
|
+
/>
|
|
409
|
+
} @else {
|
|
410
|
+
<span class="aeris-popover__close-icon" aria-hidden="true"></span>
|
|
411
|
+
}
|
|
412
|
+
</button>
|
|
413
|
+
}
|
|
414
|
+
</header>
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
<div class="aeris-popover__body">
|
|
418
|
+
<ng-content />
|
|
419
|
+
</div>
|
|
420
|
+
|
|
421
|
+
@if (footerTemplate(); as footerTemplateRef) {
|
|
422
|
+
<footer class="aeris-popover__footer">
|
|
423
|
+
<ng-container
|
|
424
|
+
[ngTemplateOutlet]="footerTemplateRef.template"
|
|
425
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
426
|
+
/>
|
|
427
|
+
</footer>
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
</section>
|
|
431
|
+
</div>
|
|
432
|
+
}
|
|
433
|
+
`, isInline: true, styles: [":host{--_aeris-popover-shadow: 0 18px 50px color-mix(in srgb, var(--aeris-text, #222222) 20%, transparent);display:contents}.aeris-popover__layer{position:fixed;z-index:var(--aeris-popover-z-index, 1030);inset:0;pointer-events:none}.aeris-popover__panel{position:fixed;width:var(--aeris-popover-width, min(22rem, 100vw - 1rem));max-width:var(--aeris-popover-max-width, calc(100vw - 1rem) );display:grid;gap:0;border:1px solid var(--aeris-popover-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-popover-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-popover-background, var(--aeris-surface, #fff));color:var(--aeris-popover-color, var(--aeris-text, #222222));box-shadow:var(--aeris-popover-shadow, var(--_aeris-popover-shadow));opacity:0;pointer-events:auto;transform:translateY(.25rem) scale(.98);transform-origin:var(--_aeris-popover-origin, top center);transition:opacity .13s ease,transform .13s ease}.aeris-popover__layer[data-positioned=true] .aeris-popover__panel{opacity:1;transform:translateY(0) scale(1)}.aeris-popover__panel:focus{outline:none}.aeris-popover__panel:focus-visible{outline:2px solid var(--aeris-popover-focus, var(--aeris-focus, #536437));outline-offset:2px}.aeris-popover__panel[data-placement=top]{--_aeris-popover-origin: bottom center}.aeris-popover__panel[data-placement=right]{--_aeris-popover-origin: left center}.aeris-popover__panel[data-placement=bottom]{--_aeris-popover-origin: top center}.aeris-popover__panel[data-placement=left]{--_aeris-popover-origin: right center}.aeris-popover__arrow{position:absolute;width:.75rem;height:.75rem;border:inherit;border-right:0;border-bottom:0;background:inherit}.aeris-popover__panel[data-placement=bottom] .aeris-popover__arrow{top:-.41rem;left:calc(50% - .375rem);transform:rotate(45deg)}.aeris-popover__panel[data-placement=top] .aeris-popover__arrow{bottom:-.41rem;left:calc(50% - .375rem);transform:rotate(225deg)}.aeris-popover__panel[data-placement=right] .aeris-popover__arrow{top:calc(50% - .375rem);left:-.41rem;transform:rotate(-45deg)}.aeris-popover__panel[data-placement=left] .aeris-popover__arrow{top:calc(50% - .375rem);right:-.41rem;transform:rotate(135deg)}.aeris-popover__header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:var(--aeris-popover-header-padding, .875rem 1rem 0)}.aeris-popover__title{min-width:0;color:var(--aeris-popover-title-color, var(--aeris-text, #222222));font-size:.9375rem;font-weight:800;line-height:1.25}.aeris-popover__close{width:2rem;height:2rem;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid transparent;border-radius:var(--aeris-radius-sm, .4375rem);background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-popover__close:hover{border-color:var(--aeris-border, #deddd7);background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-popover__close:focus-visible{outline:2px solid var(--aeris-popover-focus, var(--aeris-focus, #536437));outline-offset:2px}.aeris-popover__close-icon{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-popover__body{min-width:0;padding:var(--aeris-popover-body-padding, 1rem);color:var(--aeris-popover-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.55}.aeris-popover__header+.aeris-popover__body{padding-top:.75rem}.aeris-popover__footer{padding:var(--aeris-popover-footer-padding, 0 1rem 1rem)}.aeris-popover__panel[data-headless=true]{padding:var(--aeris-popover-headless-padding, 1rem)}@media(prefers-reduced-motion:reduce){.aeris-popover__panel{transition:none}}@media(max-width:34rem){.aeris-popover__panel{width:min(var(--aeris-popover-width, 22rem),100vw - 1rem)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
434
|
+
}
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPopover, decorators: [{
|
|
436
|
+
type: Component,
|
|
437
|
+
args: [{ selector: 'aeris-popover', imports: [NgTemplateOutlet], template: `
|
|
438
|
+
@if (visible()) {
|
|
439
|
+
<div class="aeris-popover__layer" [attr.data-positioned]="positioned() || null">
|
|
440
|
+
<section
|
|
441
|
+
#popoverPanel
|
|
442
|
+
class="aeris-popover__panel"
|
|
443
|
+
role="dialog"
|
|
444
|
+
tabindex="-1"
|
|
445
|
+
[id]="popoverId"
|
|
446
|
+
[attr.aria-modal]="focusTrap() || null"
|
|
447
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
448
|
+
[attr.aria-labelledby]="computedAriaLabelledBy()"
|
|
449
|
+
[attr.aria-describedby]="ariaDescribedBy() || null"
|
|
450
|
+
[attr.data-placement]="actualPlacement()"
|
|
451
|
+
[attr.data-headless]="headlessTemplate() ? true : null"
|
|
452
|
+
[style.left.px]="coordinates().x"
|
|
453
|
+
[style.top.px]="coordinates().y"
|
|
454
|
+
[style.--aeris-popover-width]="width() || null"
|
|
455
|
+
[style.--aeris-popover-max-width]="maxWidth() || null"
|
|
456
|
+
(keydown)="handlePanelKeydown($event)"
|
|
457
|
+
>
|
|
458
|
+
@if (showArrow()) {
|
|
459
|
+
<span class="aeris-popover__arrow" aria-hidden="true"></span>
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
@if (headlessTemplate(); as headlessTemplateRef) {
|
|
463
|
+
<ng-container
|
|
464
|
+
[ngTemplateOutlet]="headlessTemplateRef.template"
|
|
465
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
466
|
+
/>
|
|
467
|
+
} @else {
|
|
468
|
+
@if (hasHeader()) {
|
|
469
|
+
<header class="aeris-popover__header">
|
|
470
|
+
<div class="aeris-popover__title" [id]="titleId">
|
|
471
|
+
@if (headerTemplate(); as headerTemplateRef) {
|
|
472
|
+
<ng-container
|
|
473
|
+
[ngTemplateOutlet]="headerTemplateRef.template"
|
|
474
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
475
|
+
/>
|
|
476
|
+
} @else {
|
|
477
|
+
{{ header() }}
|
|
478
|
+
}
|
|
479
|
+
</div>
|
|
480
|
+
|
|
481
|
+
@if (closable()) {
|
|
482
|
+
<button
|
|
483
|
+
type="button"
|
|
484
|
+
class="aeris-popover__close"
|
|
485
|
+
[attr.aria-label]="closeAriaLabel()"
|
|
486
|
+
(click)="hide($event, 'close-button')"
|
|
487
|
+
>
|
|
488
|
+
@if (closeIconTemplate(); as closeIconTemplateRef) {
|
|
489
|
+
<ng-container
|
|
490
|
+
[ngTemplateOutlet]="closeIconTemplateRef.template"
|
|
491
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
492
|
+
/>
|
|
493
|
+
} @else {
|
|
494
|
+
<span class="aeris-popover__close-icon" aria-hidden="true"></span>
|
|
495
|
+
}
|
|
496
|
+
</button>
|
|
497
|
+
}
|
|
498
|
+
</header>
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
<div class="aeris-popover__body">
|
|
502
|
+
<ng-content />
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
@if (footerTemplate(); as footerTemplateRef) {
|
|
506
|
+
<footer class="aeris-popover__footer">
|
|
507
|
+
<ng-container
|
|
508
|
+
[ngTemplateOutlet]="footerTemplateRef.template"
|
|
509
|
+
[ngTemplateOutletContext]="templateContext()"
|
|
510
|
+
/>
|
|
511
|
+
</footer>
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
</section>
|
|
515
|
+
</div>
|
|
516
|
+
}
|
|
517
|
+
`, host: {
|
|
518
|
+
class: 'aeris-popover',
|
|
519
|
+
'[attr.data-open]': 'visible() || null',
|
|
520
|
+
}, styles: [":host{--_aeris-popover-shadow: 0 18px 50px color-mix(in srgb, var(--aeris-text, #222222) 20%, transparent);display:contents}.aeris-popover__layer{position:fixed;z-index:var(--aeris-popover-z-index, 1030);inset:0;pointer-events:none}.aeris-popover__panel{position:fixed;width:var(--aeris-popover-width, min(22rem, 100vw - 1rem));max-width:var(--aeris-popover-max-width, calc(100vw - 1rem) );display:grid;gap:0;border:1px solid var(--aeris-popover-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-popover-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-popover-background, var(--aeris-surface, #fff));color:var(--aeris-popover-color, var(--aeris-text, #222222));box-shadow:var(--aeris-popover-shadow, var(--_aeris-popover-shadow));opacity:0;pointer-events:auto;transform:translateY(.25rem) scale(.98);transform-origin:var(--_aeris-popover-origin, top center);transition:opacity .13s ease,transform .13s ease}.aeris-popover__layer[data-positioned=true] .aeris-popover__panel{opacity:1;transform:translateY(0) scale(1)}.aeris-popover__panel:focus{outline:none}.aeris-popover__panel:focus-visible{outline:2px solid var(--aeris-popover-focus, var(--aeris-focus, #536437));outline-offset:2px}.aeris-popover__panel[data-placement=top]{--_aeris-popover-origin: bottom center}.aeris-popover__panel[data-placement=right]{--_aeris-popover-origin: left center}.aeris-popover__panel[data-placement=bottom]{--_aeris-popover-origin: top center}.aeris-popover__panel[data-placement=left]{--_aeris-popover-origin: right center}.aeris-popover__arrow{position:absolute;width:.75rem;height:.75rem;border:inherit;border-right:0;border-bottom:0;background:inherit}.aeris-popover__panel[data-placement=bottom] .aeris-popover__arrow{top:-.41rem;left:calc(50% - .375rem);transform:rotate(45deg)}.aeris-popover__panel[data-placement=top] .aeris-popover__arrow{bottom:-.41rem;left:calc(50% - .375rem);transform:rotate(225deg)}.aeris-popover__panel[data-placement=right] .aeris-popover__arrow{top:calc(50% - .375rem);left:-.41rem;transform:rotate(-45deg)}.aeris-popover__panel[data-placement=left] .aeris-popover__arrow{top:calc(50% - .375rem);right:-.41rem;transform:rotate(135deg)}.aeris-popover__header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:var(--aeris-popover-header-padding, .875rem 1rem 0)}.aeris-popover__title{min-width:0;color:var(--aeris-popover-title-color, var(--aeris-text, #222222));font-size:.9375rem;font-weight:800;line-height:1.25}.aeris-popover__close{width:2rem;height:2rem;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid transparent;border-radius:var(--aeris-radius-sm, .4375rem);background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-popover__close:hover{border-color:var(--aeris-border, #deddd7);background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-popover__close:focus-visible{outline:2px solid var(--aeris-popover-focus, var(--aeris-focus, #536437));outline-offset:2px}.aeris-popover__close-icon{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-popover__body{min-width:0;padding:var(--aeris-popover-body-padding, 1rem);color:var(--aeris-popover-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.55}.aeris-popover__header+.aeris-popover__body{padding-top:.75rem}.aeris-popover__footer{padding:var(--aeris-popover-footer-padding, 0 1rem 1rem)}.aeris-popover__panel[data-headless=true]{padding:var(--aeris-popover-headless-padding, 1rem)}@media(prefers-reduced-motion:reduce){.aeris-popover__panel{transition:none}}@media(max-width:34rem){.aeris-popover__panel{width:min(var(--aeris-popover-width, 22rem),100vw - 1rem)}}\n"] }]
|
|
521
|
+
}], ctorParameters: () => [], propDecorators: { popoverPanel: [{ type: i0.ViewChild, args: ['popoverPanel', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPopoverHeaderTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPopoverFooterTemplate), { isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPopoverCloseIconTemplate), { isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPopoverHeadlessTemplate), { isSignal: true }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], alignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignment", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], offset: [{ type: i0.Input, args: [{ isSignal: true, alias: "offset", required: false }] }], viewportMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewportMargin", required: false }] }], dismissible: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissible", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], focusTrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusTrap", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], initialFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFocus", required: false }] }], showArrow: [{ type: i0.Input, args: [{ isSignal: true, alias: "showArrow", required: false }] }], closeAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeAriaLabel", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }] } });
|
|
522
|
+
const AerisPopoverModule = [
|
|
523
|
+
AerisPopover,
|
|
524
|
+
AerisPopoverHeaderTemplate,
|
|
525
|
+
AerisPopoverFooterTemplate,
|
|
526
|
+
AerisPopoverCloseIconTemplate,
|
|
527
|
+
AerisPopoverHeadlessTemplate,
|
|
528
|
+
];
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Generated bundle index. Do not edit.
|
|
532
|
+
*/
|
|
533
|
+
|
|
534
|
+
export { AerisPopover, AerisPopoverCloseIconTemplate, AerisPopoverFooterTemplate, AerisPopoverHeaderTemplate, AerisPopoverHeadlessTemplate, AerisPopoverModule };
|
|
535
|
+
//# sourceMappingURL=aeris-ui-core-popover.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-popover.mjs","sources":["../../../projects/aeris-ui/popover/aeris-popover.ts","../../../projects/aeris-ui/popover/aeris-ui-core-popover.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n aerisInternalFocusInitialElement,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n aerisInternalTrapTabFocus,\n} from '@aeris-ui/core';\n\nexport type AerisPopoverPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';\nexport type AerisPopoverAlignment = 'start' | 'center' | 'end';\nexport type AerisPopoverCloseReason = 'api' | 'close-button' | 'escape' | 'outside';\nexport type AerisPopoverTarget = Element | EventTarget | Event | null | undefined;\n\nexport interface AerisPopoverVisibilityChangeEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisPopoverCloseReason;\n readonly target: Element | null;\n}\n\nexport interface AerisPopoverTemplateContext {\n readonly $implicit: AerisPopover;\n readonly close: (event?: Event) => void;\n readonly placement: Exclude<AerisPopoverPlacement, 'auto'>;\n readonly target: Element | null;\n}\n\n@Directive({ selector: 'ng-template[aerisPopoverHeader]' })\nexport class AerisPopoverHeaderTemplate {\n readonly template = inject<TemplateRef<AerisPopoverTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPopoverFooter]' })\nexport class AerisPopoverFooterTemplate {\n readonly template = inject<TemplateRef<AerisPopoverTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPopoverCloseIcon]' })\nexport class AerisPopoverCloseIconTemplate {\n readonly template = inject<TemplateRef<AerisPopoverTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPopoverHeadless]' })\nexport class AerisPopoverHeadlessTemplate {\n readonly template = inject<TemplateRef<AerisPopoverTemplateContext>>(TemplateRef);\n}\n\nlet nextPopoverId = 0;\n\n@Component({\n selector: 'aeris-popover',\n imports: [NgTemplateOutlet],\n template: `\n @if (visible()) {\n <div class=\"aeris-popover__layer\" [attr.data-positioned]=\"positioned() || null\">\n <section\n #popoverPanel\n class=\"aeris-popover__panel\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-modal]=\"focusTrap() || null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"computedAriaLabelledBy()\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [attr.data-placement]=\"actualPlacement()\"\n [attr.data-headless]=\"headlessTemplate() ? true : null\"\n [style.left.px]=\"coordinates().x\"\n [style.top.px]=\"coordinates().y\"\n [style.--aeris-popover-width]=\"width() || null\"\n [style.--aeris-popover-max-width]=\"maxWidth() || null\"\n (keydown)=\"handlePanelKeydown($event)\"\n >\n @if (showArrow()) {\n <span class=\"aeris-popover__arrow\" aria-hidden=\"true\"></span>\n }\n\n @if (headlessTemplate(); as headlessTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"headlessTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n @if (hasHeader()) {\n <header class=\"aeris-popover__header\">\n <div class=\"aeris-popover__title\" [id]=\"titleId\">\n @if (headerTemplate(); as headerTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"headerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n {{ header() }}\n }\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"aeris-popover__close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"hide($event, 'close-button')\"\n >\n @if (closeIconTemplate(); as closeIconTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"closeIconTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <span class=\"aeris-popover__close-icon\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </header>\n }\n\n <div class=\"aeris-popover__body\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as footerTemplateRef) {\n <footer class=\"aeris-popover__footer\">\n <ng-container\n [ngTemplateOutlet]=\"footerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n </footer>\n }\n }\n </section>\n </div>\n }\n `,\n styleUrl: './aeris-popover.scss',\n host: {\n class: 'aeris-popover',\n '[attr.data-open]': 'visible() || null',\n },\n})\nexport class AerisPopover {\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly document = inject(DOCUMENT);\n private readonly activeTarget = signal<Element | null>(null);\n private readonly triggerAttributes = signal<{\n readonly target: Element;\n readonly expanded: string | null;\n readonly controls: string | null;\n readonly haspopup: string | null;\n } | null>(null);\n private previousVisible = false;\n private pendingOriginalEvent: Event | null = null;\n private pendingCloseReason: AerisPopoverCloseReason = 'api';\n\n protected readonly popoverPanel = viewChild<ElementRef<HTMLElement>>('popoverPanel');\n protected readonly headerTemplate = contentChild(AerisPopoverHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisPopoverFooterTemplate);\n protected readonly closeIconTemplate = contentChild(AerisPopoverCloseIconTemplate);\n protected readonly headlessTemplate = contentChild(AerisPopoverHeadlessTemplate);\n protected readonly positioned = signal(false);\n protected readonly actualPlacement = signal<Exclude<AerisPopoverPlacement, 'auto'>>('bottom');\n protected readonly coordinates = signal({ x: 0, y: 0 });\n protected readonly hasHeader = computed(\n () => !!this.header() || !!this.headerTemplate() || this.closable(),\n );\n protected readonly computedAriaLabelledBy = computed(() => {\n const labelledBy = this.ariaLabelledBy();\n if (labelledBy) return labelledBy;\n if (this.ariaLabel()) return null;\n return this.hasHeader() && !this.headlessTemplate() ? this.titleId : null;\n });\n protected readonly templateContext = computed<AerisPopoverTemplateContext>(() => ({\n $implicit: this,\n close: (event?: Event) => this.hide(event ?? null),\n placement: this.actualPlacement(),\n target: this.activeTarget(),\n }));\n\n readonly visible = model(false);\n readonly target = input<AerisPopoverTarget>(null);\n readonly header = input('');\n readonly placement = input<AerisPopoverPlacement>('auto');\n readonly alignment = input<AerisPopoverAlignment>('center');\n readonly width = input('');\n readonly maxWidth = input('');\n readonly offset = input(10);\n readonly viewportMargin = input(8);\n readonly dismissible = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closable = input(false, { transform: booleanAttribute });\n readonly focusTrap = input(true, { transform: booleanAttribute });\n readonly restoreFocus = input(true, { transform: booleanAttribute });\n readonly autoFocus = input(true, { transform: booleanAttribute });\n readonly initialFocus = input('');\n readonly showArrow = input(true, { transform: booleanAttribute });\n readonly closeAriaLabel = input('Close popover');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n\n readonly shown = output<AerisPopoverVisibilityChangeEvent>();\n readonly hidden = output<AerisPopoverVisibilityChangeEvent>();\n readonly visibilityChanged = output<AerisPopoverVisibilityChangeEvent>();\n\n readonly popoverId = `aeris-popover-${nextPopoverId++}`;\n readonly titleId = `${this.popoverId}-title`;\n\n constructor() {\n effect(() => {\n const visible = this.visible();\n if (visible === this.previousVisible) return;\n\n if (visible) {\n this.handleShown();\n } else {\n this.handleHidden();\n }\n this.previousVisible = visible;\n });\n\n effect((onCleanup) => {\n if (!this.visible()) return;\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n const pointerdown = (event: PointerEvent) => this.handleDocumentPointerdown(event);\n const reposition = this.repositionFrame.schedule;\n const view = this.document.defaultView;\n this.document.addEventListener('keydown', keydown);\n this.document.addEventListener('pointerdown', pointerdown);\n view?.addEventListener('resize', reposition);\n view?.addEventListener('scroll', reposition);\n onCleanup(() => {\n this.document.removeEventListener('keydown', keydown);\n this.document.removeEventListener('pointerdown', pointerdown);\n view?.removeEventListener('resize', reposition);\n view?.removeEventListener('scroll', reposition);\n this.repositionFrame.cancel();\n });\n });\n }\n\n show(target: AerisPopoverTarget = null, originalEvent: Event | null = null): void {\n const resolvedTarget = this.resolveTarget(target) ?? this.localTarget();\n if (!resolvedTarget) {\n throw new Error('AerisPopover requires a target Element or trigger Event.');\n }\n\n this.activeTarget.set(resolvedTarget);\n this.pendingOriginalEvent = originalEvent ?? (target instanceof Event ? target : null);\n this.visible.set(true);\n }\n\n hide(originalEvent: Event | null = null, reason: AerisPopoverCloseReason = 'api'): void {\n if (!this.visible()) return;\n this.pendingOriginalEvent = originalEvent;\n this.pendingCloseReason = reason;\n this.visible.set(false);\n }\n\n toggle(target: AerisPopoverTarget = null, originalEvent: Event | null = null): void {\n if (this.visible()) {\n this.hide(originalEvent ?? (target instanceof Event ? target : null));\n } else {\n this.show(target, originalEvent);\n }\n }\n\n focus(options?: FocusOptions): void {\n this.focusInitial(options);\n }\n\n reposition(): void {\n if (!this.visible()) return;\n const panel = this.popoverPanel()?.nativeElement;\n const target = this.activeTarget();\n const view = target?.ownerDocument.defaultView;\n if (!panel || !target || !view) return;\n\n const targetRect = target.getBoundingClientRect();\n const panelRect = panel.getBoundingClientRect();\n const width = panelRect.width || panel.offsetWidth || 320;\n const height = panelRect.height || panel.offsetHeight || 160;\n const { placement, x, y } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: this.placement(),\n alignment: this.alignment(),\n offset: this.offset(),\n margin: this.viewportMargin(),\n viewportWidth: view.innerWidth,\n viewportHeight: view.innerHeight,\n });\n\n this.actualPlacement.set(placement);\n this.coordinates.set({ x, y });\n this.positioned.set(true);\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n panel.setAttribute('data-placement', placement);\n panel.parentElement?.setAttribute('data-positioned', 'true');\n }\n\n protected handlePanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Tab' || !this.focusTrap()) return;\n this.trapTab(event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (!this.visible() || event.key !== 'Escape' || !this.closeOnEscape()) return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.visible() || !this.dismissible()) return;\n const target = event.target;\n if (!(target instanceof Node)) return;\n const panel = this.popoverPanel()?.nativeElement;\n const activeTarget = this.activeTarget();\n if (panel?.contains(target) || activeTarget?.contains(target)) return;\n this.hide(event, 'outside');\n }\n\n private handleShown(): void {\n if (!this.activeTarget()) {\n const target = this.localTarget();\n if (!target) {\n this.visible.set(false);\n throw new Error('AerisPopover requires a target Element or trigger Event.');\n }\n this.activeTarget.set(target);\n }\n\n const target = this.activeTarget();\n this.positioned.set(false);\n this.updateTriggerAttributes(true);\n const event = this.visibilityEvent(true, 'api', this.pendingOriginalEvent, target);\n this.pendingOriginalEvent = null;\n this.shown.emit(event);\n this.visibilityChanged.emit(event);\n queueMicrotask(() => {\n this.reposition();\n if (this.autoFocus()) this.focusInitial();\n });\n }\n\n private handleHidden(): void {\n const target = this.activeTarget();\n const shouldRestoreFocus = this.restoreFocus();\n const event = this.visibilityEvent(\n false,\n this.pendingCloseReason,\n this.pendingOriginalEvent,\n target,\n );\n this.updateTriggerAttributes(false);\n this.positioned.set(false);\n this.pendingOriginalEvent = null;\n this.pendingCloseReason = 'api';\n this.activeTarget.set(null);\n this.hidden.emit(event);\n this.visibilityChanged.emit(event);\n\n if (shouldRestoreFocus && target instanceof HTMLElement) {\n queueMicrotask(() => target.focus());\n }\n }\n\n private visibilityEvent(\n visible: boolean,\n reason: AerisPopoverCloseReason,\n originalEvent: Event | null,\n target: Element | null,\n ): AerisPopoverVisibilityChangeEvent {\n return {\n originalEvent,\n visible,\n reason,\n target,\n };\n }\n\n private updateTriggerAttributes(open: boolean): void {\n const target = this.activeTarget();\n if (!target) return;\n\n if (open) {\n this.triggerAttributes.set({\n target,\n expanded: target.getAttribute('aria-expanded'),\n controls: target.getAttribute('aria-controls'),\n haspopup: target.getAttribute('aria-haspopup'),\n });\n target.setAttribute('aria-haspopup', 'dialog');\n target.setAttribute('aria-expanded', 'true');\n target.setAttribute('aria-controls', this.popoverId);\n return;\n }\n\n const previous = this.triggerAttributes();\n if (!previous) return;\n if (previous.expanded === null) {\n previous.target.removeAttribute('aria-expanded');\n } else {\n previous.target.setAttribute('aria-expanded', previous.expanded);\n }\n if (previous.controls === null) {\n previous.target.removeAttribute('aria-controls');\n } else {\n previous.target.setAttribute('aria-controls', previous.controls);\n }\n if (previous.haspopup === null) {\n previous.target.removeAttribute('aria-haspopup');\n } else {\n previous.target.setAttribute('aria-haspopup', previous.haspopup);\n }\n this.triggerAttributes.set(null);\n }\n\n private focusInitial(options?: FocusOptions): void {\n const panel = this.popoverPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalFocusInitialElement(panel, this.initialFocus(), options);\n }\n\n private trapTab(event: KeyboardEvent): void {\n const panel = this.popoverPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement());\n }\n\n private activeHtmlElement(): HTMLElement | null {\n const active = this.activeTarget()?.ownerDocument.activeElement;\n return active instanceof HTMLElement ? active : null;\n }\n\n private localTarget(): Element | null {\n return this.resolveTarget(this.target());\n }\n\n private resolveTarget(target: AerisPopoverTarget): Element | null {\n if (target instanceof Element) return target;\n if (target instanceof Event) {\n return this.resolveTarget(target.currentTarget ?? target.target);\n }\n return target instanceof Element ? target : null;\n }\n}\n\nexport const AerisPopoverModule = [\n AerisPopover,\n AerisPopoverHeaderTemplate,\n AerisPopoverFooterTemplate,\n AerisPopoverCloseIconTemplate,\n AerisPopoverHeadlessTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MA4Ca,0BAA0B,CAAA;AAC5B,IAAA,QAAQ,GAAG,MAAM,CAA2C,WAAW,CAAC;uGADtE,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,SAAS;mBAAC,EAAE,QAAQ,EAAE,iCAAiC,EAAE;;MAM7C,0BAA0B,CAAA;AAC5B,IAAA,QAAQ,GAAG,MAAM,CAA2C,WAAW,CAAC;uGADtE,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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