@aeris-ui/core 22.0.0-alpha.11 → 22.0.0-alpha.13
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/README.md +3 -3
- package/fesm2022/aeris-ui-core-accordion.mjs +14 -14
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +21 -20
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
- package/fesm2022/aeris-ui-core-button-forms.mjs +3 -3
- package/fesm2022/aeris-ui-core-button-group.mjs +6 -6
- package/fesm2022/aeris-ui-core-button.mjs +9 -9
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
- package/fesm2022/aeris-ui-core-cascade-select.mjs +17 -14
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +3 -3
- package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
- package/fesm2022/aeris-ui-core-chip.mjs +12 -12
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-code-block.mjs +3 -3
- package/fesm2022/aeris-ui-core-color-picker.mjs +6 -4
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +18 -18
- package/fesm2022/aeris-ui-core-compare.mjs +12 -12
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +53 -26
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +54 -27
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +7 -7
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs} +4 -4
- package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs.map} +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +528 -151
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +16 -16
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-drawer.mjs +16 -16
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +27 -14
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +5 -5
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
- package/fesm2022/aeris-ui-core-galleria.mjs +35 -35
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
- package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
- package/fesm2022/aeris-ui-core-input-group.mjs +15 -15
- package/fesm2022/aeris-ui-core-input-mask.mjs +3 -3
- package/fesm2022/aeris-ui-core-input-number.mjs +3 -3
- package/fesm2022/aeris-ui-core-input-otp.mjs +19 -8
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +6 -6
- package/fesm2022/aeris-ui-core-kbd.mjs +9 -9
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-listbox.mjs +15 -15
- package/fesm2022/aeris-ui-core-mega-menu.mjs +6 -6
- package/fesm2022/aeris-ui-core-menu.mjs +16 -16
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +12 -12
- package/fesm2022/aeris-ui-core-message.mjs +9 -9
- package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
- package/fesm2022/aeris-ui-core-multi-select.mjs +36 -24
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +25 -25
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
- package/fesm2022/aeris-ui-core-organization-chart.mjs +117 -50
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +7 -5
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +15 -15
- package/fesm2022/aeris-ui-core-password.mjs +13 -13
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
- package/fesm2022/aeris-ui-core-popover.mjs +16 -16
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
- package/fesm2022/aeris-ui-core-radio-button.mjs +3 -3
- package/fesm2022/aeris-ui-core-rating.mjs +15 -5
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
- package/fesm2022/aeris-ui-core-select-native.mjs +3 -3
- package/fesm2022/aeris-ui-core-select.mjs +41 -39
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +24 -24
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +23 -12
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
- package/fesm2022/aeris-ui-core-split-button.mjs +7 -7
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
- package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +21 -21
- package/fesm2022/aeris-ui-core-tabs.mjs +12 -12
- package/fesm2022/aeris-ui-core-textarea.mjs +6 -6
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +3 -3
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +7 -7
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
- package/fesm2022/aeris-ui-core-toast.mjs +69 -46
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +30 -30
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +37 -26
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +18 -18
- package/fesm2022/aeris-ui-core-tree.mjs +12 -12
- package/fesm2022/aeris-ui-core.mjs +40 -17
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/aeris-ui-core-code-block.d.ts +0 -4
- package/types/aeris-ui-core-confirm-dialog.d.ts +2 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +2 -0
- package/types/aeris-ui-core-date-picker.d.ts +5 -44
- package/types/aeris-ui-core-drawer.d.ts +0 -6
- package/types/aeris-ui-core-dynamic-dialog.d.ts +1 -0
- package/types/aeris-ui-core-organization-chart.d.ts +6 -2
- package/types/aeris-ui-core-toast.d.ts +4 -2
- package/types/aeris-ui-core-tree-select.d.ts +1 -0
- package/types/aeris-ui-core.d.ts +4 -3
|
@@ -214,7 +214,7 @@ var AerisPopoverHeaderTemplate = class AerisPopoverHeaderTemplate {
|
|
|
214
214
|
template = inject(TemplateRef);
|
|
215
215
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
216
216
|
minVersion: "12.0.0",
|
|
217
|
-
version: "22.2.
|
|
217
|
+
version: "22.2.4",
|
|
218
218
|
ngImport: i0,
|
|
219
219
|
type: AerisPopoverHeaderTemplate,
|
|
220
220
|
deps: [],
|
|
@@ -222,7 +222,7 @@ var AerisPopoverHeaderTemplate = class AerisPopoverHeaderTemplate {
|
|
|
222
222
|
});
|
|
223
223
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
224
224
|
minVersion: "14.0.0",
|
|
225
|
-
version: "22.2.
|
|
225
|
+
version: "22.2.4",
|
|
226
226
|
type: AerisPopoverHeaderTemplate,
|
|
227
227
|
isStandalone: true,
|
|
228
228
|
selector: "ng-template[aerisPopoverHeader]",
|
|
@@ -231,7 +231,7 @@ var AerisPopoverHeaderTemplate = class AerisPopoverHeaderTemplate {
|
|
|
231
231
|
};
|
|
232
232
|
i0.ɵɵngDeclareClassMetadata({
|
|
233
233
|
minVersion: "12.0.0",
|
|
234
|
-
version: "22.2.
|
|
234
|
+
version: "22.2.4",
|
|
235
235
|
ngImport: i0,
|
|
236
236
|
type: AerisPopoverHeaderTemplate,
|
|
237
237
|
decorators: [{
|
|
@@ -243,7 +243,7 @@ var AerisPopoverFooterTemplate = class AerisPopoverFooterTemplate {
|
|
|
243
243
|
template = inject(TemplateRef);
|
|
244
244
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
245
245
|
minVersion: "12.0.0",
|
|
246
|
-
version: "22.2.
|
|
246
|
+
version: "22.2.4",
|
|
247
247
|
ngImport: i0,
|
|
248
248
|
type: AerisPopoverFooterTemplate,
|
|
249
249
|
deps: [],
|
|
@@ -251,7 +251,7 @@ var AerisPopoverFooterTemplate = class AerisPopoverFooterTemplate {
|
|
|
251
251
|
});
|
|
252
252
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
253
253
|
minVersion: "14.0.0",
|
|
254
|
-
version: "22.2.
|
|
254
|
+
version: "22.2.4",
|
|
255
255
|
type: AerisPopoverFooterTemplate,
|
|
256
256
|
isStandalone: true,
|
|
257
257
|
selector: "ng-template[aerisPopoverFooter]",
|
|
@@ -260,7 +260,7 @@ var AerisPopoverFooterTemplate = class AerisPopoverFooterTemplate {
|
|
|
260
260
|
};
|
|
261
261
|
i0.ɵɵngDeclareClassMetadata({
|
|
262
262
|
minVersion: "12.0.0",
|
|
263
|
-
version: "22.2.
|
|
263
|
+
version: "22.2.4",
|
|
264
264
|
ngImport: i0,
|
|
265
265
|
type: AerisPopoverFooterTemplate,
|
|
266
266
|
decorators: [{
|
|
@@ -272,7 +272,7 @@ var AerisPopoverCloseIconTemplate = class AerisPopoverCloseIconTemplate {
|
|
|
272
272
|
template = inject(TemplateRef);
|
|
273
273
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
274
274
|
minVersion: "12.0.0",
|
|
275
|
-
version: "22.2.
|
|
275
|
+
version: "22.2.4",
|
|
276
276
|
ngImport: i0,
|
|
277
277
|
type: AerisPopoverCloseIconTemplate,
|
|
278
278
|
deps: [],
|
|
@@ -280,7 +280,7 @@ var AerisPopoverCloseIconTemplate = class AerisPopoverCloseIconTemplate {
|
|
|
280
280
|
});
|
|
281
281
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
282
282
|
minVersion: "14.0.0",
|
|
283
|
-
version: "22.2.
|
|
283
|
+
version: "22.2.4",
|
|
284
284
|
type: AerisPopoverCloseIconTemplate,
|
|
285
285
|
isStandalone: true,
|
|
286
286
|
selector: "ng-template[aerisPopoverCloseIcon]",
|
|
@@ -289,7 +289,7 @@ var AerisPopoverCloseIconTemplate = class AerisPopoverCloseIconTemplate {
|
|
|
289
289
|
};
|
|
290
290
|
i0.ɵɵngDeclareClassMetadata({
|
|
291
291
|
minVersion: "12.0.0",
|
|
292
|
-
version: "22.2.
|
|
292
|
+
version: "22.2.4",
|
|
293
293
|
ngImport: i0,
|
|
294
294
|
type: AerisPopoverCloseIconTemplate,
|
|
295
295
|
decorators: [{
|
|
@@ -301,7 +301,7 @@ var AerisPopoverHeadlessTemplate = class AerisPopoverHeadlessTemplate {
|
|
|
301
301
|
template = inject(TemplateRef);
|
|
302
302
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
303
303
|
minVersion: "12.0.0",
|
|
304
|
-
version: "22.2.
|
|
304
|
+
version: "22.2.4",
|
|
305
305
|
ngImport: i0,
|
|
306
306
|
type: AerisPopoverHeadlessTemplate,
|
|
307
307
|
deps: [],
|
|
@@ -309,7 +309,7 @@ var AerisPopoverHeadlessTemplate = class AerisPopoverHeadlessTemplate {
|
|
|
309
309
|
});
|
|
310
310
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
311
311
|
minVersion: "14.0.0",
|
|
312
|
-
version: "22.2.
|
|
312
|
+
version: "22.2.4",
|
|
313
313
|
type: AerisPopoverHeadlessTemplate,
|
|
314
314
|
isStandalone: true,
|
|
315
315
|
selector: "ng-template[aerisPopoverHeadless]",
|
|
@@ -318,7 +318,7 @@ var AerisPopoverHeadlessTemplate = class AerisPopoverHeadlessTemplate {
|
|
|
318
318
|
};
|
|
319
319
|
i0.ɵɵngDeclareClassMetadata({
|
|
320
320
|
minVersion: "12.0.0",
|
|
321
|
-
version: "22.2.
|
|
321
|
+
version: "22.2.4",
|
|
322
322
|
ngImport: i0,
|
|
323
323
|
type: AerisPopoverHeadlessTemplate,
|
|
324
324
|
decorators: [{
|
|
@@ -741,7 +741,7 @@ var AerisPopover = class AerisPopover {
|
|
|
741
741
|
}
|
|
742
742
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
743
743
|
minVersion: "12.0.0",
|
|
744
|
-
version: "22.2.
|
|
744
|
+
version: "22.2.4",
|
|
745
745
|
ngImport: i0,
|
|
746
746
|
type: AerisPopover,
|
|
747
747
|
deps: [],
|
|
@@ -749,7 +749,7 @@ var AerisPopover = class AerisPopover {
|
|
|
749
749
|
});
|
|
750
750
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
751
751
|
minVersion: "17.0.0",
|
|
752
|
-
version: "22.2.
|
|
752
|
+
version: "22.2.4",
|
|
753
753
|
type: AerisPopover,
|
|
754
754
|
isStandalone: true,
|
|
755
755
|
selector: "aeris-popover",
|
|
@@ -1122,14 +1122,14 @@ var AerisPopover = class AerisPopover {
|
|
|
1122
1122
|
"aerisInternalAppendToPositionSelf",
|
|
1123
1123
|
"aerisInternalAppendToDismiss"
|
|
1124
1124
|
],
|
|
1125
|
-
outputs: ["aerisInternalAppendToOutside"]
|
|
1125
|
+
outputs: ["aerisInternalAppendToOutside", "aerisInternalAppendToFocusOut"]
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
1128
|
});
|
|
1129
1129
|
};
|
|
1130
1130
|
i0.ɵɵngDeclareClassMetadata({
|
|
1131
1131
|
minVersion: "12.0.0",
|
|
1132
|
-
version: "22.2.
|
|
1132
|
+
version: "22.2.4",
|
|
1133
1133
|
ngImport: i0,
|
|
1134
1134
|
type: AerisPopover,
|
|
1135
1135
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-popover.mjs","names":[],"sources":["../../../projects/aeris-ui/popover/aeris-hover-interaction.ts","../../../projects/aeris-ui/popover/aeris-popover.ts"],"sourcesContent":["/** @internal Preview interaction only: callers retain visibility, semantics, portals and focus policy. */\nexport interface AerisInternalHoverOptions {\n readonly document: Document;\n readonly trigger: () => HTMLElement | null;\n readonly content: () => HTMLElement | null;\n readonly isOpen: () => boolean;\n readonly open: () => void;\n readonly close: () => void;\n readonly openDelay: () => number;\n readonly closeDelay: () => number;\n /** Include owned portaled descendants without querying unrelated overlays. */\n readonly ownsTarget?: (target: EventTarget | null) => boolean;\n}\n\ntype Point = { readonly x: number; readonly y: number };\ntype Bounds = Pick<DOMRect, 'left' | 'right' | 'top' | 'bottom'>;\ntype Region = 'trigger' | 'content';\n\n/** @internal Physical geometry works unchanged for flipped placements and RTL. */\nexport function aerisInternalWithinHoverBridge(\n point: Point,\n origin: Point,\n bounds: Bounds,\n): boolean {\n const padding = 6;\n if (Math.abs(point.x - origin.x) <= padding && Math.abs(point.y - origin.y) <= padding)\n return true;\n const left = bounds.left - padding;\n const right = bounds.right + padding;\n const top = bounds.top - padding;\n const bottom = bounds.bottom + padding;\n if (point.x >= left && point.x <= right && point.y >= top && point.y <= bottom) return true;\n const corners = [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom },\n ];\n return corners.some((corner, index) => {\n const next = corners[(index + 1) % corners.length];\n if (!next || Math.abs(cross(origin, corner, next)) < 0.001) return false;\n const signs = [\n cross(point, origin, corner),\n cross(point, corner, next),\n cross(point, next, origin),\n ];\n return signs.every((value) => value >= -0.001) || signs.every((value) => value <= 0.001);\n });\n}\n\nfunction cross(point: Point, a: Point, b: Point): number {\n return (a.x - point.x) * (b.y - point.y) - (a.y - point.y) * (b.x - point.x);\n}\n\n/**\n * @internal No automatic event binding to triggers or focus stealing. The owning\n * popover forwards its region events and suppresses pending work when visibility closes.\n * Touch hover is ignored: activate() belongs on an explicit preview action, not a link.\n */\nexport function aerisInternalCreateHoverInteraction(options: AerisInternalHoverOptions) {\n const pointer = { trigger: false, content: false };\n let focused = false;\n let suppressed = false;\n let destroyed = false;\n let pointerFocus = false;\n let openTimer: ReturnType<typeof setTimeout> | null = null;\n let closeTimer: ReturnType<typeof setTimeout> | null = null;\n let stopTransit: (() => void) | null = null;\n const owns = (target: EventTarget | null): boolean => {\n if (options.ownsTarget?.(target)) return true;\n if (!target || !('nodeType' in target)) return false;\n return !!(\n options.trigger()?.contains(target as Node) || options.content()?.contains(target as Node)\n );\n };\n const occupied = () => focused || pointer.trigger || pointer.content;\n const cancelTimers = () => {\n if (openTimer !== null) clearTimeout(openTimer);\n if (closeTimer !== null) clearTimeout(closeTimer);\n openTimer = closeTimer = null;\n };\n const clearTransit = () => {\n stopTransit?.();\n stopTransit = null;\n };\n const requestOpen = (immediate = false) => {\n cancelTimers();\n clearTransit();\n if (destroyed || suppressed || options.isOpen()) return;\n const open = () => {\n openTimer = null;\n if (!destroyed && !suppressed && occupied() && !options.isOpen()) options.open();\n };\n const delay = immediate ? 0 : finiteDelay(options.openDelay());\n if (delay) openTimer = setTimeout(open, delay);\n else open();\n };\n const requestClose = () => {\n cancelTimers();\n if (!occupied()) suppressed = false;\n if (destroyed || occupied() || stopTransit || !options.isOpen()) return;\n const close = () => {\n closeTimer = null;\n if (!destroyed && !occupied() && options.isOpen()) options.close();\n };\n const delay = finiteDelay(options.closeDelay());\n if (delay) closeTimer = setTimeout(close, delay);\n else close();\n };\n const endTransit = () => {\n clearTransit();\n requestClose();\n };\n const beginTransit = (event: PointerEvent, destination: HTMLElement) => {\n clearTransit();\n const origin = { x: event.clientX, y: event.clientY };\n const bounds = destination.getBoundingClientRect();\n const move = (next: PointerEvent) => {\n if (next.pointerId !== event.pointerId) return;\n if (owns(next.target)) {\n clearTransit();\n return;\n }\n if (!aerisInternalWithinHoverBridge({ x: next.clientX, y: next.clientY }, origin, bounds))\n endTransit();\n };\n const cancel = (next: PointerEvent) => {\n if (next.pointerId === event.pointerId) endTransit();\n };\n // Transit is bounded: a stationary pointer in the gap cannot hold the preview open forever.\n const timer = setTimeout(endTransit, 300);\n const view = options.document.defaultView;\n const viewport = view?.visualViewport;\n options.document.addEventListener('pointermove', move, true);\n options.document.addEventListener('pointercancel', cancel, true);\n options.document.addEventListener('scroll', endTransit, true);\n view?.addEventListener('resize', endTransit);\n view?.addEventListener('blur', endTransit);\n viewport?.addEventListener('scroll', endTransit);\n viewport?.addEventListener('resize', endTransit);\n stopTransit = () => {\n clearTimeout(timer);\n options.document.removeEventListener('pointermove', move, true);\n options.document.removeEventListener('pointercancel', cancel, true);\n options.document.removeEventListener('scroll', endTransit, true);\n view?.removeEventListener('resize', endTransit);\n view?.removeEventListener('blur', endTransit);\n viewport?.removeEventListener('scroll', endTransit);\n viewport?.removeEventListener('resize', endTransit);\n };\n };\n const reset = () => {\n cancelTimers();\n clearTransit();\n pointer.trigger = pointer.content = focused = suppressed = pointerFocus = false;\n };\n const suppress = () => {\n cancelTimers();\n clearTransit();\n suppressed = occupied();\n };\n return {\n suppress,\n /** Forward pointerdown so focus preceding an explicit activation cannot open then toggle shut. */\n pointerDown(): void {\n if (!destroyed) pointerFocus = true;\n },\n pointerEnter(region: Region, event: PointerEvent): void {\n if (destroyed || event.pointerType === 'touch') return;\n pointer[region] = true;\n requestOpen();\n },\n pointerLeave(region: Region, event: PointerEvent): void {\n if (destroyed || event.pointerType === 'touch') return;\n pointer[region] = false;\n cancelTimers();\n clearTransit();\n if (owns(event.relatedTarget)) return;\n if (!pointer.trigger && !pointer.content) suppressed = false;\n const destination = region === 'trigger' ? options.content() : options.trigger();\n if (!occupied() && options.isOpen() && destination?.isConnected)\n beginTransit(event, destination);\n else requestClose();\n },\n focusIn(): void {\n if (destroyed) return;\n focused = true;\n if (!pointerFocus) requestOpen(true);\n },\n focusOut(relatedTarget: EventTarget | null): void {\n if (destroyed || owns(relatedTarget)) return;\n focused = false;\n pointerFocus = false;\n // A fresh keyboard focus cycle is new intent even if a mouse still hovers the trigger.\n suppressed = false;\n requestClose();\n },\n /** Invoke only for an explicit action; never prevent the trigger's normal navigation. */\n activate(): void {\n if (destroyed) return;\n pointerFocus = false;\n cancelTimers();\n clearTransit();\n if (options.isOpen()) {\n suppressed = occupied();\n options.close();\n } else {\n suppressed = false;\n options.open();\n }\n },\n dismiss(): void {\n if (destroyed) return;\n suppress();\n if (options.isOpen()) options.close();\n },\n reset,\n destroy(): void {\n reset();\n destroyed = true;\n },\n };\n}\n\nfunction finiteDelay(value: number): number {\n return Number.isFinite(value) ? Math.max(0, value) : 0;\n}\n","import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n DestroyRef,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n ɵAerisIcon,\n ɵAerisAppendTo,\n aerisInternalFocusInitialElement,\n aerisInternalFocusableElements,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n aerisInternalTrapTabFocus,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\nimport { aerisInternalCreateHoverInteraction } from './aeris-hover-interaction';\n\nexport type AerisPopoverPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';\nexport type AerisPopoverAlignment = 'start' | 'center' | 'end';\nexport type AerisPopoverTrigger = 'manual' | 'hover';\nexport type AerisPopoverCloseReason = 'api' | 'close-button' | 'escape' | 'outside' | 'interaction';\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: [ɵAerisIcon, NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n @if (visible()) {\n <div\n class=\"aeris-popover__layer\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n aerisInternalAppendToDefault=\"body\"\n [attr.data-positioned]=\"positioned() || null\"\n >\n <section\n #popoverPanel\n class=\"aeris-popover__panel\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-modal]=\"(trigger() === 'manual' && 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 (pointerenter)=\"handleHoverEnter($event)\"\n (pointerleave)=\"handleHoverLeave($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 (resolvedCloseIconTemplate(); as closeIconTemplateRef) {\n <span\n class=\"aeris-popover__close-icon\"\n aria-hidden=\"true\"\n data-aeris-custom-icon\n ><ng-container\n [ngTemplateOutlet]=\"closeIconTemplateRef\"\n [ngTemplateOutletContext]=\"templateContext()\"\n /></span>\n } @else {\n <span\n aerisInternalIcon=\"close\"\n class=\"aeris-popover__close-icon\"\n aria-hidden=\"true\"\n ></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 readonly closeIconTemplate = input<TemplateRef<AerisPopoverTemplateContext>>();\n protected readonly resolvedCloseIconTemplate = computed(\n () => this.closeIconTemplate() ?? this.projectedCloseIconTemplate()?.template,\n );\n protected readonly dismissOverlay = (): boolean => {\n if (!this.closeOnEscape()) return false;\n this.hide(null, 'escape');\n return true;\n };\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private destroyed = false;\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 private pendingRestoreHoverFocus = false;\n private hoverContentFocused = false;\n private readonly hoverInteraction = aerisInternalCreateHoverInteraction({\n document: this.document,\n trigger: () => {\n const target = this.localTarget();\n return target instanceof HTMLElement ? target : null;\n },\n content: () => this.popoverPanel()?.nativeElement ?? null,\n isOpen: () => this.visible(),\n open: () => this.show(),\n close: () => this.hide(null, 'interaction'),\n openDelay: () => this.openDelay(),\n closeDelay: () => this.closeDelay(),\n ownsTarget: (target) => this.ownsHoverTarget(target),\n });\n\n protected readonly popoverPanel = viewChild<ElementRef<HTMLElement>>('popoverPanel');\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n protected readonly headerTemplate = contentChild(AerisPopoverHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisPopoverFooterTemplate);\n private readonly projectedCloseIconTemplate = 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 appendTo = input<AerisAppendTo>();\n readonly target = input<AerisPopoverTarget>(null);\n readonly trigger = input<AerisPopoverTrigger>('manual');\n readonly openDelay = input(200);\n readonly closeDelay = input(150);\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<number | AerisOverlayCollisionPadding>(8);\n readonly closeOnOutsideClick = 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 opened = output<AerisPopoverVisibilityChangeEvent>();\n readonly closed = output<AerisPopoverVisibilityChangeEvent>();\n\n readonly popoverId = `aeris-popover-${nextPopoverId++}`;\n readonly titleId = `${this.popoverId}-title`;\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.destroyed = true;\n this.hoverInteraction.destroy();\n this.repositionFrame.cancel();\n this.updateTriggerAttributes(false);\n });\n effect((onCleanup) => {\n const mode = this.trigger();\n const target = this.resolveTarget(this.target());\n if (mode !== 'hover' || !target) return;\n const enter = (event: PointerEvent) => this.hoverInteraction.pointerEnter('trigger', event);\n const leave = (event: PointerEvent) => this.hoverInteraction.pointerLeave('trigger', event);\n const down = (event: PointerEvent) => {\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.pointerDown();\n };\n const focusIn = (event: FocusEvent) => {\n this.hoverContentFocused =\n this.ownsHoverTarget(event.target) &&\n event.target instanceof Node &&\n !target.contains(event.target);\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.focusIn();\n };\n const focusOut = (event: FocusEvent) => {\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.focusOut(event.relatedTarget);\n };\n const click = (event: MouseEvent) => {\n // Never intercept navigation or add activation to a link. Use a separate button instead.\n if (event.defaultPrevented || !(event.target instanceof Element)) return;\n if (event.target.closest('a[href]')) return;\n if (target instanceof HTMLButtonElement || target.getAttribute('role') === 'button')\n this.hoverInteraction.activate();\n };\n const keydown = (event: KeyboardEvent) => {\n if (event.key === 'Tab' && !event.shiftKey && this.visible() && !event.defaultPrevented) {\n const panel = this.popoverPanel()?.nativeElement;\n if (panel && this.panelPortal()?.isTopmost()) {\n event.preventDefault();\n this.focusInitial();\n }\n }\n };\n target.addEventListener('pointerenter', enter as EventListener);\n target.addEventListener('pointerleave', leave as EventListener);\n target.addEventListener('click', click as EventListener);\n target.addEventListener('keydown', keydown as EventListener);\n this.document.addEventListener('pointerdown', down, true);\n this.document.addEventListener('focusin', focusIn);\n this.document.addEventListener('focusout', focusOut);\n onCleanup(() => {\n target.removeEventListener('pointerenter', enter as EventListener);\n target.removeEventListener('pointerleave', leave as EventListener);\n target.removeEventListener('click', click as EventListener);\n target.removeEventListener('keydown', keydown as EventListener);\n this.document.removeEventListener('pointerdown', down, true);\n this.document.removeEventListener('focusin', focusIn);\n this.document.removeEventListener('focusout', focusOut);\n this.hoverInteraction.reset();\n this.hoverContentFocused = false;\n untracked(() => this.hide());\n });\n });\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 const viewport = view?.visualViewport;\n this.document.addEventListener('scroll', reposition, true);\n this.document.addEventListener('keydown', keydown);\n this.document.addEventListener('pointerdown', pointerdown);\n view?.addEventListener('resize', reposition);\n view?.addEventListener('scroll', reposition);\n viewport?.addEventListener('scroll', reposition);\n viewport?.addEventListener('resize', reposition);\n onCleanup(() => {\n this.document.removeEventListener('scroll', reposition, true);\n this.document.removeEventListener('keydown', keydown);\n this.document.removeEventListener('pointerdown', pointerdown);\n view?.removeEventListener('resize', reposition);\n view?.removeEventListener('scroll', reposition);\n viewport?.removeEventListener('scroll', reposition);\n viewport?.removeEventListener('resize', 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 const retargeting = this.visible() && this.activeTarget() !== resolvedTarget;\n if (retargeting) this.updateTriggerAttributes(false);\n this.activeTarget.set(resolvedTarget);\n if (retargeting) {\n this.updateTriggerAttributes(true);\n this.repositionFrame.schedule();\n }\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 this.hoverInteraction.suppress();\n if (!this.visible()) return;\n this.pendingRestoreHoverFocus =\n reason !== 'outside' &&\n reason !== 'interaction' &&\n (reason === 'escape' || this.hoverContentFocused);\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 viewport = view.visualViewport;\n const { placement, x, y } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: this.placement(),\n alignment: this.alignment(),\n direction: view.getComputedStyle(target).direction === 'rtl' ? 'rtl' : 'ltr',\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 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 (this.trigger() === 'hover') {\n const panel = this.popoverPanel()?.nativeElement;\n if (\n event.key === 'Tab' &&\n event.shiftKey &&\n !event.defaultPrevented &&\n panel &&\n this.panelPortal()?.isTopmost() &&\n (this.document.activeElement === panel ||\n this.document.activeElement === aerisInternalFocusableElements(panel)[0])\n ) {\n event.preventDefault();\n const target = this.activeTarget();\n if (target instanceof HTMLElement) target.focus();\n }\n return;\n }\n if (\n event.defaultPrevented ||\n event.key !== 'Tab' ||\n !this.focusTrap() ||\n !this.panelPortal()?.isTopmost()\n )\n return;\n this.trapTab(event);\n }\n\n protected handleHoverEnter(event: PointerEvent): void {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerEnter('content', event);\n }\n\n protected handleHoverLeave(event: PointerEvent): void {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerLeave('content', event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (\n !this.visible() ||\n event.defaultPrevented ||\n event.key !== 'Escape' ||\n !this.closeOnEscape() ||\n !this.panelPortal()?.isTopmost()\n )\n return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.visible() || !this.closeOnOutsideClick() || !this.panelPortal()?.isTopmost()) 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.opened.emit(event);\n queueMicrotask(() => {\n if (this.destroyed || !this.visible()) return;\n this.reposition();\n if (this.trigger() === 'manual' && this.autoFocus()) this.focusInitial();\n });\n }\n\n private handleHidden(): void {\n this.panelPortal()?.restore();\n const target = this.activeTarget();\n const shouldRestoreFocus =\n this.restoreFocus() &&\n (this.trigger() === 'manual' ||\n this.pendingRestoreHoverFocus ||\n (this.pendingCloseReason === 'api' && this.hoverContentFocused) ||\n this.pendingCloseReason === 'escape');\n this.hoverInteraction.suppress();\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.pendingRestoreHoverFocus = false;\n this.hoverContentFocused = false;\n this.activeTarget.set(null);\n this.closed.emit(event);\n\n if (shouldRestoreFocus && target instanceof HTMLElement) {\n queueMicrotask(() => {\n if (!this.destroyed && !this.visible() && target.isConnected) {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerDown();\n target.focus();\n if (this.trigger() === 'hover') this.hoverInteraction.suppress();\n }\n });\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 private ownsHoverTarget(target: EventTarget | null): boolean {\n if (!(target instanceof Node)) return false;\n const roots: Element[] = [];\n const trigger = this.localTarget();\n const panel = this.popoverPanel()?.nativeElement;\n if (trigger) roots.push(trigger);\n if (panel) roots.push(panel);\n const visited = new Set<Element>();\n // Follow only controls owned by this popover, including their portaled descendants.\n for (const root of roots) {\n if (visited.has(root)) continue;\n visited.add(root);\n if (root.contains(target)) return true;\n for (const controller of [root, ...root.querySelectorAll('[aria-controls]')]) {\n for (const id of controller.getAttribute('aria-controls')?.split(/\\s+/) ?? []) {\n const owned = this.document.getElementById(id);\n if (owned && !visited.has(owned)) roots.push(owned);\n }\n }\n }\n return false;\n }\n}\n\nexport const AerisPopoverModule = [\n AerisPopover,\n AerisPopoverHeaderTemplate,\n AerisPopoverFooterTemplate,\n AerisPopoverCloseIconTemplate,\n AerisPopoverHeadlessTemplate,\n] as const;\n"],"mappings":";;;;AAmBA,SAAgB,+BACd,OACA,QACA,QAAc;CAEd,MAAM,UAAU;CAChB,IAAI,KAAK,IAAI,MAAM,IAAI,OAAO,CAAC,KAAK,WAAW,KAAK,IAAI,MAAM,IAAI,OAAO,CAAC,KAAK,SAC7E,OAAO;CACT,MAAM,OAAO,OAAO,OAAO;CAC3B,MAAM,QAAQ,OAAO,QAAQ;CAC7B,MAAM,MAAM,OAAO,MAAM;CACzB,MAAM,SAAS,OAAO,SAAS;CAC/B,IAAI,MAAM,KAAK,QAAQ,MAAM,KAAK,SAAS,MAAM,KAAK,OAAO,MAAM,KAAK,QAAQ,OAAO;CACvF,MAAM,UAAU;EACd;GAAE,GAAG;GAAM,GAAG;EAAG;EACjB;GAAE,GAAG;GAA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AAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAqcjF,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;AACQ"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-popover.mjs","names":[],"sources":["../../../projects/aeris-ui/popover/aeris-hover-interaction.ts","../../../projects/aeris-ui/popover/aeris-popover.ts"],"sourcesContent":["/** @internal Preview interaction only: callers retain visibility, semantics, portals and focus policy. */\nexport interface AerisInternalHoverOptions {\n readonly document: Document;\n readonly trigger: () => HTMLElement | null;\n readonly content: () => HTMLElement | null;\n readonly isOpen: () => boolean;\n readonly open: () => void;\n readonly close: () => void;\n readonly openDelay: () => number;\n readonly closeDelay: () => number;\n /** Include owned portaled descendants without querying unrelated overlays. */\n readonly ownsTarget?: (target: EventTarget | null) => boolean;\n}\n\ntype Point = { readonly x: number; readonly y: number };\ntype Bounds = Pick<DOMRect, 'left' | 'right' | 'top' | 'bottom'>;\ntype Region = 'trigger' | 'content';\n\n/** @internal Physical geometry works unchanged for flipped placements and RTL. */\nexport function aerisInternalWithinHoverBridge(\n point: Point,\n origin: Point,\n bounds: Bounds,\n): boolean {\n const padding = 6;\n if (Math.abs(point.x - origin.x) <= padding && Math.abs(point.y - origin.y) <= padding)\n return true;\n const left = bounds.left - padding;\n const right = bounds.right + padding;\n const top = bounds.top - padding;\n const bottom = bounds.bottom + padding;\n if (point.x >= left && point.x <= right && point.y >= top && point.y <= bottom) return true;\n const corners = [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom },\n ];\n return corners.some((corner, index) => {\n const next = corners[(index + 1) % corners.length];\n if (!next || Math.abs(cross(origin, corner, next)) < 0.001) return false;\n const signs = [\n cross(point, origin, corner),\n cross(point, corner, next),\n cross(point, next, origin),\n ];\n return signs.every((value) => value >= -0.001) || signs.every((value) => value <= 0.001);\n });\n}\n\nfunction cross(point: Point, a: Point, b: Point): number {\n return (a.x - point.x) * (b.y - point.y) - (a.y - point.y) * (b.x - point.x);\n}\n\n/**\n * @internal No automatic event binding to triggers or focus stealing. The owning\n * popover forwards its region events and suppresses pending work when visibility closes.\n * Touch hover is ignored: activate() belongs on an explicit preview action, not a link.\n */\nexport function aerisInternalCreateHoverInteraction(options: AerisInternalHoverOptions) {\n const pointer = { trigger: false, content: false };\n let focused = false;\n let suppressed = false;\n let destroyed = false;\n let pointerFocus = false;\n let openTimer: ReturnType<typeof setTimeout> | null = null;\n let closeTimer: ReturnType<typeof setTimeout> | null = null;\n let stopTransit: (() => void) | null = null;\n const owns = (target: EventTarget | null): boolean => {\n if (options.ownsTarget?.(target)) return true;\n if (!target || !('nodeType' in target)) return false;\n return !!(\n options.trigger()?.contains(target as Node) || options.content()?.contains(target as Node)\n );\n };\n const occupied = () => focused || pointer.trigger || pointer.content;\n const cancelTimers = () => {\n if (openTimer !== null) clearTimeout(openTimer);\n if (closeTimer !== null) clearTimeout(closeTimer);\n openTimer = closeTimer = null;\n };\n const clearTransit = () => {\n stopTransit?.();\n stopTransit = null;\n };\n const requestOpen = (immediate = false) => {\n cancelTimers();\n clearTransit();\n if (destroyed || suppressed || options.isOpen()) return;\n const open = () => {\n openTimer = null;\n if (!destroyed && !suppressed && occupied() && !options.isOpen()) options.open();\n };\n const delay = immediate ? 0 : finiteDelay(options.openDelay());\n if (delay) openTimer = setTimeout(open, delay);\n else open();\n };\n const requestClose = () => {\n cancelTimers();\n if (!occupied()) suppressed = false;\n if (destroyed || occupied() || stopTransit || !options.isOpen()) return;\n const close = () => {\n closeTimer = null;\n if (!destroyed && !occupied() && options.isOpen()) options.close();\n };\n const delay = finiteDelay(options.closeDelay());\n if (delay) closeTimer = setTimeout(close, delay);\n else close();\n };\n const endTransit = () => {\n clearTransit();\n requestClose();\n };\n const beginTransit = (event: PointerEvent, destination: HTMLElement) => {\n clearTransit();\n const origin = { x: event.clientX, y: event.clientY };\n const bounds = destination.getBoundingClientRect();\n const move = (next: PointerEvent) => {\n if (next.pointerId !== event.pointerId) return;\n if (owns(next.target)) {\n clearTransit();\n return;\n }\n if (!aerisInternalWithinHoverBridge({ x: next.clientX, y: next.clientY }, origin, bounds))\n endTransit();\n };\n const cancel = (next: PointerEvent) => {\n if (next.pointerId === event.pointerId) endTransit();\n };\n // Transit is bounded: a stationary pointer in the gap cannot hold the preview open forever.\n const timer = setTimeout(endTransit, 300);\n const view = options.document.defaultView;\n const viewport = view?.visualViewport;\n options.document.addEventListener('pointermove', move, true);\n options.document.addEventListener('pointercancel', cancel, true);\n options.document.addEventListener('scroll', endTransit, true);\n view?.addEventListener('resize', endTransit);\n view?.addEventListener('blur', endTransit);\n viewport?.addEventListener('scroll', endTransit);\n viewport?.addEventListener('resize', endTransit);\n stopTransit = () => {\n clearTimeout(timer);\n options.document.removeEventListener('pointermove', move, true);\n options.document.removeEventListener('pointercancel', cancel, true);\n options.document.removeEventListener('scroll', endTransit, true);\n view?.removeEventListener('resize', endTransit);\n view?.removeEventListener('blur', endTransit);\n viewport?.removeEventListener('scroll', endTransit);\n viewport?.removeEventListener('resize', endTransit);\n };\n };\n const reset = () => {\n cancelTimers();\n clearTransit();\n pointer.trigger = pointer.content = focused = suppressed = pointerFocus = false;\n };\n const suppress = () => {\n cancelTimers();\n clearTransit();\n suppressed = occupied();\n };\n return {\n suppress,\n /** Forward pointerdown so focus preceding an explicit activation cannot open then toggle shut. */\n pointerDown(): void {\n if (!destroyed) pointerFocus = true;\n },\n pointerEnter(region: Region, event: PointerEvent): void {\n if (destroyed || event.pointerType === 'touch') return;\n pointer[region] = true;\n requestOpen();\n },\n pointerLeave(region: Region, event: PointerEvent): void {\n if (destroyed || event.pointerType === 'touch') return;\n pointer[region] = false;\n cancelTimers();\n clearTransit();\n if (owns(event.relatedTarget)) return;\n if (!pointer.trigger && !pointer.content) suppressed = false;\n const destination = region === 'trigger' ? options.content() : options.trigger();\n if (!occupied() && options.isOpen() && destination?.isConnected)\n beginTransit(event, destination);\n else requestClose();\n },\n focusIn(): void {\n if (destroyed) return;\n focused = true;\n if (!pointerFocus) requestOpen(true);\n },\n focusOut(relatedTarget: EventTarget | null): void {\n if (destroyed || owns(relatedTarget)) return;\n focused = false;\n pointerFocus = false;\n // A fresh keyboard focus cycle is new intent even if a mouse still hovers the trigger.\n suppressed = false;\n requestClose();\n },\n /** Invoke only for an explicit action; never prevent the trigger's normal navigation. */\n activate(): void {\n if (destroyed) return;\n pointerFocus = false;\n cancelTimers();\n clearTransit();\n if (options.isOpen()) {\n suppressed = occupied();\n options.close();\n } else {\n suppressed = false;\n options.open();\n }\n },\n dismiss(): void {\n if (destroyed) return;\n suppress();\n if (options.isOpen()) options.close();\n },\n reset,\n destroy(): void {\n reset();\n destroyed = true;\n },\n };\n}\n\nfunction finiteDelay(value: number): number {\n return Number.isFinite(value) ? Math.max(0, value) : 0;\n}\n","import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n DestroyRef,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n ɵAerisIcon,\n ɵAerisAppendTo,\n aerisInternalFocusInitialElement,\n aerisInternalFocusableElements,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n aerisInternalTrapTabFocus,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\nimport { aerisInternalCreateHoverInteraction } from './aeris-hover-interaction';\n\nexport type AerisPopoverPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';\nexport type AerisPopoverAlignment = 'start' | 'center' | 'end';\nexport type AerisPopoverTrigger = 'manual' | 'hover';\nexport type AerisPopoverCloseReason = 'api' | 'close-button' | 'escape' | 'outside' | 'interaction';\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: [ɵAerisIcon, NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n @if (visible()) {\n <div\n class=\"aeris-popover__layer\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n aerisInternalAppendToDefault=\"body\"\n [attr.data-positioned]=\"positioned() || null\"\n >\n <section\n #popoverPanel\n class=\"aeris-popover__panel\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-modal]=\"(trigger() === 'manual' && 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 (pointerenter)=\"handleHoverEnter($event)\"\n (pointerleave)=\"handleHoverLeave($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 (resolvedCloseIconTemplate(); as closeIconTemplateRef) {\n <span\n class=\"aeris-popover__close-icon\"\n aria-hidden=\"true\"\n data-aeris-custom-icon\n ><ng-container\n [ngTemplateOutlet]=\"closeIconTemplateRef\"\n [ngTemplateOutletContext]=\"templateContext()\"\n /></span>\n } @else {\n <span\n aerisInternalIcon=\"close\"\n class=\"aeris-popover__close-icon\"\n aria-hidden=\"true\"\n ></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 readonly closeIconTemplate = input<TemplateRef<AerisPopoverTemplateContext>>();\n protected readonly resolvedCloseIconTemplate = computed(\n () => this.closeIconTemplate() ?? this.projectedCloseIconTemplate()?.template,\n );\n protected readonly dismissOverlay = (): boolean => {\n if (!this.closeOnEscape()) return false;\n this.hide(null, 'escape');\n return true;\n };\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private destroyed = false;\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 private pendingRestoreHoverFocus = false;\n private hoverContentFocused = false;\n private readonly hoverInteraction = aerisInternalCreateHoverInteraction({\n document: this.document,\n trigger: () => {\n const target = this.localTarget();\n return target instanceof HTMLElement ? target : null;\n },\n content: () => this.popoverPanel()?.nativeElement ?? null,\n isOpen: () => this.visible(),\n open: () => this.show(),\n close: () => this.hide(null, 'interaction'),\n openDelay: () => this.openDelay(),\n closeDelay: () => this.closeDelay(),\n ownsTarget: (target) => this.ownsHoverTarget(target),\n });\n\n protected readonly popoverPanel = viewChild<ElementRef<HTMLElement>>('popoverPanel');\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n protected readonly headerTemplate = contentChild(AerisPopoverHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisPopoverFooterTemplate);\n private readonly projectedCloseIconTemplate = 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 appendTo = input<AerisAppendTo>();\n readonly target = input<AerisPopoverTarget>(null);\n readonly trigger = input<AerisPopoverTrigger>('manual');\n readonly openDelay = input(200);\n readonly closeDelay = input(150);\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<number | AerisOverlayCollisionPadding>(8);\n readonly closeOnOutsideClick = 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 opened = output<AerisPopoverVisibilityChangeEvent>();\n readonly closed = output<AerisPopoverVisibilityChangeEvent>();\n\n readonly popoverId = `aeris-popover-${nextPopoverId++}`;\n readonly titleId = `${this.popoverId}-title`;\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.destroyed = true;\n this.hoverInteraction.destroy();\n this.repositionFrame.cancel();\n this.updateTriggerAttributes(false);\n });\n effect((onCleanup) => {\n const mode = this.trigger();\n const target = this.resolveTarget(this.target());\n if (mode !== 'hover' || !target) return;\n const enter = (event: PointerEvent) => this.hoverInteraction.pointerEnter('trigger', event);\n const leave = (event: PointerEvent) => this.hoverInteraction.pointerLeave('trigger', event);\n const down = (event: PointerEvent) => {\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.pointerDown();\n };\n const focusIn = (event: FocusEvent) => {\n this.hoverContentFocused =\n this.ownsHoverTarget(event.target) &&\n event.target instanceof Node &&\n !target.contains(event.target);\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.focusIn();\n };\n const focusOut = (event: FocusEvent) => {\n if (this.ownsHoverTarget(event.target)) this.hoverInteraction.focusOut(event.relatedTarget);\n };\n const click = (event: MouseEvent) => {\n // Never intercept navigation or add activation to a link. Use a separate button instead.\n if (event.defaultPrevented || !(event.target instanceof Element)) return;\n if (event.target.closest('a[href]')) return;\n if (target instanceof HTMLButtonElement || target.getAttribute('role') === 'button')\n this.hoverInteraction.activate();\n };\n const keydown = (event: KeyboardEvent) => {\n if (event.key === 'Tab' && !event.shiftKey && this.visible() && !event.defaultPrevented) {\n const panel = this.popoverPanel()?.nativeElement;\n if (panel && this.panelPortal()?.isTopmost()) {\n event.preventDefault();\n this.focusInitial();\n }\n }\n };\n target.addEventListener('pointerenter', enter as EventListener);\n target.addEventListener('pointerleave', leave as EventListener);\n target.addEventListener('click', click as EventListener);\n target.addEventListener('keydown', keydown as EventListener);\n this.document.addEventListener('pointerdown', down, true);\n this.document.addEventListener('focusin', focusIn);\n this.document.addEventListener('focusout', focusOut);\n onCleanup(() => {\n target.removeEventListener('pointerenter', enter as EventListener);\n target.removeEventListener('pointerleave', leave as EventListener);\n target.removeEventListener('click', click as EventListener);\n target.removeEventListener('keydown', keydown as EventListener);\n this.document.removeEventListener('pointerdown', down, true);\n this.document.removeEventListener('focusin', focusIn);\n this.document.removeEventListener('focusout', focusOut);\n this.hoverInteraction.reset();\n this.hoverContentFocused = false;\n untracked(() => this.hide());\n });\n });\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 const viewport = view?.visualViewport;\n this.document.addEventListener('scroll', reposition, true);\n this.document.addEventListener('keydown', keydown);\n this.document.addEventListener('pointerdown', pointerdown);\n view?.addEventListener('resize', reposition);\n view?.addEventListener('scroll', reposition);\n viewport?.addEventListener('scroll', reposition);\n viewport?.addEventListener('resize', reposition);\n onCleanup(() => {\n this.document.removeEventListener('scroll', reposition, true);\n this.document.removeEventListener('keydown', keydown);\n this.document.removeEventListener('pointerdown', pointerdown);\n view?.removeEventListener('resize', reposition);\n view?.removeEventListener('scroll', reposition);\n viewport?.removeEventListener('scroll', reposition);\n viewport?.removeEventListener('resize', 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 const retargeting = this.visible() && this.activeTarget() !== resolvedTarget;\n if (retargeting) this.updateTriggerAttributes(false);\n this.activeTarget.set(resolvedTarget);\n if (retargeting) {\n this.updateTriggerAttributes(true);\n this.repositionFrame.schedule();\n }\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 this.hoverInteraction.suppress();\n if (!this.visible()) return;\n this.pendingRestoreHoverFocus =\n reason !== 'outside' &&\n reason !== 'interaction' &&\n (reason === 'escape' || this.hoverContentFocused);\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 viewport = view.visualViewport;\n const { placement, x, y } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: this.placement(),\n alignment: this.alignment(),\n direction: view.getComputedStyle(target).direction === 'rtl' ? 'rtl' : 'ltr',\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 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 (this.trigger() === 'hover') {\n const panel = this.popoverPanel()?.nativeElement;\n if (\n event.key === 'Tab' &&\n event.shiftKey &&\n !event.defaultPrevented &&\n panel &&\n this.panelPortal()?.isTopmost() &&\n (this.document.activeElement === panel ||\n this.document.activeElement === aerisInternalFocusableElements(panel)[0])\n ) {\n event.preventDefault();\n const target = this.activeTarget();\n if (target instanceof HTMLElement) target.focus();\n }\n return;\n }\n if (\n event.defaultPrevented ||\n event.key !== 'Tab' ||\n !this.focusTrap() ||\n !this.panelPortal()?.isTopmost()\n )\n return;\n this.trapTab(event);\n }\n\n protected handleHoverEnter(event: PointerEvent): void {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerEnter('content', event);\n }\n\n protected handleHoverLeave(event: PointerEvent): void {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerLeave('content', event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (\n !this.visible() ||\n event.defaultPrevented ||\n event.key !== 'Escape' ||\n !this.closeOnEscape() ||\n !this.panelPortal()?.isTopmost()\n )\n return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.visible() || !this.closeOnOutsideClick() || !this.panelPortal()?.isTopmost()) 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.opened.emit(event);\n queueMicrotask(() => {\n if (this.destroyed || !this.visible()) return;\n this.reposition();\n if (this.trigger() === 'manual' && this.autoFocus()) this.focusInitial();\n });\n }\n\n private handleHidden(): void {\n this.panelPortal()?.restore();\n const target = this.activeTarget();\n const shouldRestoreFocus =\n this.restoreFocus() &&\n (this.trigger() === 'manual' ||\n this.pendingRestoreHoverFocus ||\n (this.pendingCloseReason === 'api' && this.hoverContentFocused) ||\n this.pendingCloseReason === 'escape');\n this.hoverInteraction.suppress();\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.pendingRestoreHoverFocus = false;\n this.hoverContentFocused = false;\n this.activeTarget.set(null);\n this.closed.emit(event);\n\n if (shouldRestoreFocus && target instanceof HTMLElement) {\n queueMicrotask(() => {\n if (!this.destroyed && !this.visible() && target.isConnected) {\n if (this.trigger() === 'hover') this.hoverInteraction.pointerDown();\n target.focus();\n if (this.trigger() === 'hover') this.hoverInteraction.suppress();\n }\n });\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 private ownsHoverTarget(target: EventTarget | null): boolean {\n if (!(target instanceof Node)) return false;\n const roots: Element[] = [];\n const trigger = this.localTarget();\n const panel = this.popoverPanel()?.nativeElement;\n if (trigger) roots.push(trigger);\n if (panel) roots.push(panel);\n const visited = new Set<Element>();\n // Follow only controls owned by this popover, including their portaled descendants.\n for (const root of roots) {\n if (visited.has(root)) continue;\n visited.add(root);\n if (root.contains(target)) return true;\n for (const controller of [root, ...root.querySelectorAll('[aria-controls]')]) {\n for (const id of controller.getAttribute('aria-controls')?.split(/\\s+/) ?? []) {\n const owned = this.document.getElementById(id);\n if (owned && !visited.has(owned)) roots.push(owned);\n }\n }\n }\n return false;\n }\n}\n\nexport const AerisPopoverModule = [\n AerisPopover,\n AerisPopoverHeaderTemplate,\n AerisPopoverFooterTemplate,\n AerisPopoverCloseIconTemplate,\n AerisPopoverHeadlessTemplate,\n] as const;\n"],"mappings":";;;;AAmBA,SAAgB,+BACd,OACA,QACA,QAAc;CAEd,MAAM,UAAU;CAChB,IAAI,KAAK,IAAI,MAAM,IAAI,OAAO,CAAC,KAAK,WAAW,KAAK,IAAI,MAAM,IAAI,OAAO,CAAC,KAAK,SAC7E,OAAO;CACT,MAAM,OAAO,OAAO,OAAO;CAC3B,MAAM,QAAQ,OAAO,QAAQ;CAC7B,MAAM,MAAM,OAAO,MAAM;CACzB,MAAM,SAAS,OAAO,SAA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gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAqcjF,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;AACQ"}
|
|
@@ -5,7 +5,7 @@ var AerisProgressBarValueTemplate = class AerisProgressBarValueTemplate {
|
|
|
5
5
|
template = inject(TemplateRef);
|
|
6
6
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7
7
|
minVersion: "12.0.0",
|
|
8
|
-
version: "22.2.
|
|
8
|
+
version: "22.2.4",
|
|
9
9
|
ngImport: i0,
|
|
10
10
|
type: AerisProgressBarValueTemplate,
|
|
11
11
|
deps: [],
|
|
@@ -13,7 +13,7 @@ var AerisProgressBarValueTemplate = class AerisProgressBarValueTemplate {
|
|
|
13
13
|
});
|
|
14
14
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
15
15
|
minVersion: "14.0.0",
|
|
16
|
-
version: "22.2.
|
|
16
|
+
version: "22.2.4",
|
|
17
17
|
type: AerisProgressBarValueTemplate,
|
|
18
18
|
isStandalone: true,
|
|
19
19
|
selector: "ng-template[aerisProgressBarValue]",
|
|
@@ -22,7 +22,7 @@ var AerisProgressBarValueTemplate = class AerisProgressBarValueTemplate {
|
|
|
22
22
|
};
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({
|
|
24
24
|
minVersion: "12.0.0",
|
|
25
|
-
version: "22.2.
|
|
25
|
+
version: "22.2.4",
|
|
26
26
|
ngImport: i0,
|
|
27
27
|
type: AerisProgressBarValueTemplate,
|
|
28
28
|
decorators: [{
|
|
@@ -34,7 +34,7 @@ var AerisProgressBarStepTemplate = class AerisProgressBarStepTemplate {
|
|
|
34
34
|
template = inject(TemplateRef);
|
|
35
35
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
36
36
|
minVersion: "12.0.0",
|
|
37
|
-
version: "22.2.
|
|
37
|
+
version: "22.2.4",
|
|
38
38
|
ngImport: i0,
|
|
39
39
|
type: AerisProgressBarStepTemplate,
|
|
40
40
|
deps: [],
|
|
@@ -42,7 +42,7 @@ var AerisProgressBarStepTemplate = class AerisProgressBarStepTemplate {
|
|
|
42
42
|
});
|
|
43
43
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
44
44
|
minVersion: "14.0.0",
|
|
45
|
-
version: "22.2.
|
|
45
|
+
version: "22.2.4",
|
|
46
46
|
type: AerisProgressBarStepTemplate,
|
|
47
47
|
isStandalone: true,
|
|
48
48
|
selector: "ng-template[aerisProgressBarStep]",
|
|
@@ -51,7 +51,7 @@ var AerisProgressBarStepTemplate = class AerisProgressBarStepTemplate {
|
|
|
51
51
|
};
|
|
52
52
|
i0.ɵɵngDeclareClassMetadata({
|
|
53
53
|
minVersion: "12.0.0",
|
|
54
|
-
version: "22.2.
|
|
54
|
+
version: "22.2.4",
|
|
55
55
|
ngImport: i0,
|
|
56
56
|
type: AerisProgressBarStepTemplate,
|
|
57
57
|
decorators: [{
|
|
@@ -177,7 +177,7 @@ var AerisProgressBar = class AerisProgressBar {
|
|
|
177
177
|
}
|
|
178
178
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
179
179
|
minVersion: "12.0.0",
|
|
180
|
-
version: "22.2.
|
|
180
|
+
version: "22.2.4",
|
|
181
181
|
ngImport: i0,
|
|
182
182
|
type: AerisProgressBar,
|
|
183
183
|
deps: [],
|
|
@@ -185,7 +185,7 @@ var AerisProgressBar = class AerisProgressBar {
|
|
|
185
185
|
});
|
|
186
186
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
187
187
|
minVersion: "17.0.0",
|
|
188
|
-
version: "22.2.
|
|
188
|
+
version: "22.2.4",
|
|
189
189
|
type: AerisProgressBar,
|
|
190
190
|
isStandalone: true,
|
|
191
191
|
selector: "aeris-progress-bar",
|
|
@@ -430,7 +430,7 @@ var AerisProgressBar = class AerisProgressBar {
|
|
|
430
430
|
};
|
|
431
431
|
i0.ɵɵngDeclareClassMetadata({
|
|
432
432
|
minVersion: "12.0.0",
|
|
433
|
-
version: "22.2.
|
|
433
|
+
version: "22.2.4",
|
|
434
434
|
ngImport: i0,
|
|
435
435
|
type: AerisProgressBar,
|
|
436
436
|
decorators: [{
|
|
@@ -5,7 +5,7 @@ var AerisProgressSpinnerValueTemplate = class AerisProgressSpinnerValueTemplate
|
|
|
5
5
|
template = inject(TemplateRef);
|
|
6
6
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7
7
|
minVersion: "12.0.0",
|
|
8
|
-
version: "22.2.
|
|
8
|
+
version: "22.2.4",
|
|
9
9
|
ngImport: i0,
|
|
10
10
|
type: AerisProgressSpinnerValueTemplate,
|
|
11
11
|
deps: [],
|
|
@@ -13,7 +13,7 @@ var AerisProgressSpinnerValueTemplate = class AerisProgressSpinnerValueTemplate
|
|
|
13
13
|
});
|
|
14
14
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
15
15
|
minVersion: "14.0.0",
|
|
16
|
-
version: "22.2.
|
|
16
|
+
version: "22.2.4",
|
|
17
17
|
type: AerisProgressSpinnerValueTemplate,
|
|
18
18
|
isStandalone: true,
|
|
19
19
|
selector: "ng-template[aerisProgressSpinnerValue]",
|
|
@@ -22,7 +22,7 @@ var AerisProgressSpinnerValueTemplate = class AerisProgressSpinnerValueTemplate
|
|
|
22
22
|
};
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({
|
|
24
24
|
minVersion: "12.0.0",
|
|
25
|
-
version: "22.2.
|
|
25
|
+
version: "22.2.4",
|
|
26
26
|
ngImport: i0,
|
|
27
27
|
type: AerisProgressSpinnerValueTemplate,
|
|
28
28
|
decorators: [{
|
|
@@ -121,7 +121,7 @@ var AerisProgressSpinner = class AerisProgressSpinner {
|
|
|
121
121
|
}
|
|
122
122
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
123
123
|
minVersion: "12.0.0",
|
|
124
|
-
version: "22.2.
|
|
124
|
+
version: "22.2.4",
|
|
125
125
|
ngImport: i0,
|
|
126
126
|
type: AerisProgressSpinner,
|
|
127
127
|
deps: [],
|
|
@@ -129,7 +129,7 @@ var AerisProgressSpinner = class AerisProgressSpinner {
|
|
|
129
129
|
});
|
|
130
130
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
131
131
|
minVersion: "17.0.0",
|
|
132
|
-
version: "22.2.
|
|
132
|
+
version: "22.2.4",
|
|
133
133
|
type: AerisProgressSpinner,
|
|
134
134
|
isStandalone: true,
|
|
135
135
|
selector: "aeris-progress-spinner",
|
|
@@ -318,7 +318,7 @@ var AerisProgressSpinner = class AerisProgressSpinner {
|
|
|
318
318
|
};
|
|
319
319
|
i0.ɵɵngDeclareClassMetadata({
|
|
320
320
|
minVersion: "12.0.0",
|
|
321
|
-
version: "22.2.
|
|
321
|
+
version: "22.2.4",
|
|
322
322
|
ngImport: i0,
|
|
323
323
|
type: AerisProgressSpinner,
|
|
324
324
|
decorators: [{
|
|
@@ -86,7 +86,7 @@ var AerisRadioButton = class AerisRadioButton {
|
|
|
86
86
|
}
|
|
87
87
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
88
88
|
minVersion: "12.0.0",
|
|
89
|
-
version: "22.2.
|
|
89
|
+
version: "22.2.4",
|
|
90
90
|
ngImport: i0,
|
|
91
91
|
type: AerisRadioButton,
|
|
92
92
|
deps: [],
|
|
@@ -94,7 +94,7 @@ var AerisRadioButton = class AerisRadioButton {
|
|
|
94
94
|
});
|
|
95
95
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
96
96
|
minVersion: "17.0.0",
|
|
97
|
-
version: "22.2.
|
|
97
|
+
version: "22.2.4",
|
|
98
98
|
type: AerisRadioButton,
|
|
99
99
|
isStandalone: true,
|
|
100
100
|
selector: "aeris-radio-button",
|
|
@@ -318,7 +318,7 @@ var AerisRadioButton = class AerisRadioButton {
|
|
|
318
318
|
};
|
|
319
319
|
i0.ɵɵngDeclareClassMetadata({
|
|
320
320
|
minVersion: "12.0.0",
|
|
321
|
-
version: "22.2.
|
|
321
|
+
version: "22.2.4",
|
|
322
322
|
ngImport: i0,
|
|
323
323
|
type: AerisRadioButton,
|
|
324
324
|
decorators: [{
|
|
@@ -170,7 +170,7 @@ var AerisRating = class AerisRating {
|
|
|
170
170
|
}
|
|
171
171
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
172
172
|
minVersion: "12.0.0",
|
|
173
|
-
version: "22.2.
|
|
173
|
+
version: "22.2.4",
|
|
174
174
|
ngImport: i0,
|
|
175
175
|
type: AerisRating,
|
|
176
176
|
deps: [],
|
|
@@ -178,7 +178,7 @@ var AerisRating = class AerisRating {
|
|
|
178
178
|
});
|
|
179
179
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
180
180
|
minVersion: "17.0.0",
|
|
181
|
-
version: "22.2.
|
|
181
|
+
version: "22.2.4",
|
|
182
182
|
type: AerisRating,
|
|
183
183
|
isStandalone: true,
|
|
184
184
|
selector: "aeris-rating",
|
|
@@ -326,7 +326,12 @@ var AerisRating = class AerisRating {
|
|
|
326
326
|
[style.--aeris-rating-max]="maxStars()"
|
|
327
327
|
>
|
|
328
328
|
@if (name()) {
|
|
329
|
-
<input
|
|
329
|
+
<input
|
|
330
|
+
type="hidden"
|
|
331
|
+
[name]="name()"
|
|
332
|
+
[value]="normalizedValue()"
|
|
333
|
+
[disabled]="effectiveDisabled()"
|
|
334
|
+
/>
|
|
330
335
|
}
|
|
331
336
|
|
|
332
337
|
<button
|
|
@@ -412,7 +417,7 @@ var AerisRating = class AerisRating {
|
|
|
412
417
|
};
|
|
413
418
|
i0.ɵɵngDeclareClassMetadata({
|
|
414
419
|
minVersion: "12.0.0",
|
|
415
|
-
version: "22.2.
|
|
420
|
+
version: "22.2.4",
|
|
416
421
|
ngImport: i0,
|
|
417
422
|
type: AerisRating,
|
|
418
423
|
decorators: [{
|
|
@@ -430,7 +435,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
430
435
|
[style.--aeris-rating-max]="maxStars()"
|
|
431
436
|
>
|
|
432
437
|
@if (name()) {
|
|
433
|
-
<input
|
|
438
|
+
<input
|
|
439
|
+
type="hidden"
|
|
440
|
+
[name]="name()"
|
|
441
|
+
[value]="normalizedValue()"
|
|
442
|
+
[disabled]="effectiveDisabled()"
|
|
443
|
+
/>
|
|
434
444
|
}
|
|
435
445
|
|
|
436
446
|
<button
|