@aeris-ui/core 22.0.0-alpha.5 → 22.0.0-alpha.7
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 +2 -2
- package/fesm2022/aeris-ui-core-accordion.mjs +12 -12
- 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-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +80 -72
- 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-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +38 -56
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +61 -55
- 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-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +24 -21
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +9 -9
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +28 -40
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +21 -25
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +45 -43
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +43 -39
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +14 -17
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +321 -319
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +44 -35
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +39 -34
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +23 -23
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +22 -19
- 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-file-upload.mjs.map +1 -1
- 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-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +31 -26
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +30 -30
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +22 -17
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +25 -20
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +25 -24
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +113 -46
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +28 -28
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +32 -31
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +6 -6
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +23 -26
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +17 -17
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +12 -12
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +52 -60
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +9 -9
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +4 -4
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +15 -15
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +54 -48
- 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-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +27 -28
- 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-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +24 -21
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +12 -14
- 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-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +105 -89
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +42 -52
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +46 -22
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +38 -37
- 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-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +28 -22
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +12 -12
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +37 -35
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +4 -4
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +14 -17
- 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-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +59 -37
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +24 -21
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +18 -18
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +13 -19
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +110 -82
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +25 -19
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +14 -14
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +215 -55
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +1 -1
- package/styles/aeris.css +56 -0
- package/styles/controls.css +9 -2
- package/types/aeris-ui-core-auto-complete.d.ts +7 -4
- package/types/aeris-ui-core-badge.d.ts +4 -3
- package/types/aeris-ui-core-button.d.ts +13 -16
- package/types/aeris-ui-core-cascade-select.d.ts +7 -3
- package/types/aeris-ui-core-checkbox.d.ts +5 -4
- package/types/aeris-ui-core-color-picker.d.ts +5 -4
- package/types/aeris-ui-core-compare.d.ts +3 -4
- package/types/aeris-ui-core-confirm-dialog.d.ts +13 -13
- package/types/aeris-ui-core-confirm-popup.d.ts +13 -13
- package/types/aeris-ui-core-context-menu.d.ts +4 -5
- package/types/aeris-ui-core-date-picker.d.ts +7 -4
- package/types/aeris-ui-core-dialog.d.ts +8 -7
- package/types/aeris-ui-core-drawer.d.ts +8 -7
- package/types/aeris-ui-core-dynamic-dialog.d.ts +9 -9
- package/types/aeris-ui-core-editor.d.ts +5 -4
- package/types/aeris-ui-core-filter-service.d.ts +1 -1
- package/types/aeris-ui-core-form-field.d.ts +6 -4
- package/types/aeris-ui-core-galleria.d.ts +2 -2
- package/types/aeris-ui-core-icon-field.d.ts +3 -1
- package/types/aeris-ui-core-input-group.d.ts +22 -20
- package/types/aeris-ui-core-input-mask.d.ts +5 -4
- package/types/aeris-ui-core-input-number.d.ts +7 -4
- package/types/aeris-ui-core-input-otp.d.ts +5 -4
- package/types/aeris-ui-core-input-text.d.ts +7 -5
- package/types/aeris-ui-core-menu.d.ts +4 -5
- package/types/aeris-ui-core-menubar.d.ts +5 -4
- package/types/aeris-ui-core-message.d.ts +3 -2
- package/types/aeris-ui-core-multi-select.d.ts +7 -4
- package/types/aeris-ui-core-password.d.ts +5 -4
- package/types/aeris-ui-core-popover.d.ts +4 -5
- package/types/aeris-ui-core-radio-button.d.ts +5 -4
- package/types/aeris-ui-core-rating.d.ts +3 -4
- package/types/aeris-ui-core-select.d.ts +9 -4
- package/types/aeris-ui-core-slider.d.ts +5 -4
- package/types/aeris-ui-core-speed-dial.d.ts +4 -4
- package/types/aeris-ui-core-split-button.d.ts +10 -12
- package/types/aeris-ui-core-table.d.ts +3 -1
- package/types/aeris-ui-core-textarea.d.ts +8 -5
- package/types/aeris-ui-core-theme-builder.d.ts +1 -1
- package/types/aeris-ui-core-theming.d.ts +1 -1
- package/types/aeris-ui-core-tiered-menu.d.ts +4 -5
- package/types/aeris-ui-core-toast.d.ts +6 -3
- package/types/aeris-ui-core-toggle-switch.d.ts +5 -4
- package/types/aeris-ui-core-tooltip.d.ts +3 -3
- package/types/aeris-ui-core-tree-select.d.ts +7 -4
- package/types/aeris-ui-core-tree-table.d.ts +3 -1
- package/types/aeris-ui-core.d.ts +20 -4
|
@@ -2,6 +2,10 @@ import { DOCUMENT } from '@angular/common';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken, inject, DestroyRef, ElementRef, Renderer2, input, output, effect, Directive } from '@angular/core';
|
|
4
4
|
|
|
5
|
+
function aerisInternalDisplayInvalid(invalid, touched) {
|
|
6
|
+
return invalid && (touched ?? true);
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
function aerisInternalClampOverlayPoint(point, width, height, viewportWidth, viewportHeight, margin, viewportLeft = 0, viewportTop = 0) {
|
|
6
10
|
const padding = normalizePadding(margin);
|
|
7
11
|
return {
|
|
@@ -13,11 +17,19 @@ function aerisInternalPositionAnchoredOverlay(options) {
|
|
|
13
17
|
const bounds = resolveBounds(options);
|
|
14
18
|
const placement = resolvePlacement(options, bounds);
|
|
15
19
|
const point = rawPosition(placement, options);
|
|
20
|
+
const clampedPoint = aerisInternalClampOverlayPoint(point, options.width, options.height, bounds.right - bounds.left, bounds.bottom - bounds.top, 0, bounds.left, bounds.top);
|
|
16
21
|
return {
|
|
17
22
|
placement,
|
|
18
|
-
...
|
|
23
|
+
...(options.tetherToAnchor
|
|
24
|
+
? tetheredPoint(placement, point, clampedPoint)
|
|
25
|
+
: clampedPoint),
|
|
19
26
|
};
|
|
20
27
|
}
|
|
28
|
+
function tetheredPoint(placement, point, clampedPoint) {
|
|
29
|
+
return placement === 'top' || placement === 'bottom'
|
|
30
|
+
? { x: clampedPoint.x, y: point.y }
|
|
31
|
+
: { x: point.x, y: clampedPoint.y };
|
|
32
|
+
}
|
|
21
33
|
function resolvePlacement(options, bounds) {
|
|
22
34
|
const spaces = {
|
|
23
35
|
bottom: bounds.bottom - options.target.bottom - options.offset,
|
|
@@ -26,7 +38,7 @@ function resolvePlacement(options, bounds) {
|
|
|
26
38
|
left: options.target.left - bounds.left - options.offset,
|
|
27
39
|
};
|
|
28
40
|
const preferred = options.placement === 'auto' ? 'bottom' : options.placement;
|
|
29
|
-
const candidates = placementCandidates(preferred);
|
|
41
|
+
const candidates = placementCandidates(preferred, options.tetherToAnchor ?? false);
|
|
30
42
|
const fitting = candidates.find((placement) => spaces[placement] >=
|
|
31
43
|
(placement === 'top' || placement === 'bottom' ? options.height : options.width));
|
|
32
44
|
return (fitting ??
|
|
@@ -55,7 +67,16 @@ function normalizePadding(padding) {
|
|
|
55
67
|
left: Math.max(0, padding.left ?? 0),
|
|
56
68
|
};
|
|
57
69
|
}
|
|
58
|
-
function placementCandidates(preferred) {
|
|
70
|
+
function placementCandidates(preferred, preserveAxis) {
|
|
71
|
+
if (preserveAxis) {
|
|
72
|
+
if (preferred === 'top')
|
|
73
|
+
return ['top', 'bottom'];
|
|
74
|
+
if (preferred === 'bottom')
|
|
75
|
+
return ['bottom', 'top'];
|
|
76
|
+
if (preferred === 'right')
|
|
77
|
+
return ['right', 'left'];
|
|
78
|
+
return ['left', 'right'];
|
|
79
|
+
}
|
|
59
80
|
switch (preferred) {
|
|
60
81
|
case 'top':
|
|
61
82
|
return ['top', 'bottom', 'right', 'left'];
|
|
@@ -96,7 +117,7 @@ function clamp(value, minimum, maximum) {
|
|
|
96
117
|
|
|
97
118
|
let nextAppendToZIndex = 1100;
|
|
98
119
|
const positionedTargets = new WeakMap();
|
|
99
|
-
const AERIS_OVERLAY_APPEND_TO = new InjectionToken('AERIS_OVERLAY_APPEND_TO', { factory: () =>
|
|
120
|
+
const AERIS_OVERLAY_APPEND_TO = new InjectionToken('AERIS_OVERLAY_APPEND_TO', { factory: () => undefined });
|
|
100
121
|
function aerisInternalResolveAppendTo(appendTo, document) {
|
|
101
122
|
if (!appendTo || appendTo === 'self')
|
|
102
123
|
return 'self';
|
|
@@ -117,8 +138,13 @@ class ɵAerisAppendTo {
|
|
|
117
138
|
originCaptured = false;
|
|
118
139
|
originParent = null;
|
|
119
140
|
originNextSibling = null;
|
|
141
|
+
restoringToOrigin = false;
|
|
142
|
+
unconstrainedPanelWidth = 0;
|
|
143
|
+
unconstrainedPanelHeight = 0;
|
|
120
144
|
aerisInternalAppendTo = input(/* @ts-ignore */
|
|
121
145
|
...(ngDevMode ? [undefined, { debugName: "aerisInternalAppendTo" }] : /* istanbul ignore next */ []));
|
|
146
|
+
aerisInternalAppendToDefault = input('self', /* @ts-ignore */
|
|
147
|
+
...(ngDevMode ? [{ debugName: "aerisInternalAppendToDefault" }] : /* istanbul ignore next */ []));
|
|
122
148
|
aerisInternalAppendToAnchor = input(null, /* @ts-ignore */
|
|
123
149
|
...(ngDevMode ? [{ debugName: "aerisInternalAppendToAnchor" }] : /* istanbul ignore next */ []));
|
|
124
150
|
aerisInternalAppendToOffset = input(7, /* @ts-ignore */
|
|
@@ -136,16 +162,22 @@ class ɵAerisAppendTo {
|
|
|
136
162
|
aerisInternalAppendToOutside = output();
|
|
137
163
|
constructor() {
|
|
138
164
|
effect((onCleanup) => {
|
|
139
|
-
const target = aerisInternalResolveAppendTo(this.aerisInternalAppendTo() ?? this.defaultAppendTo, this.document);
|
|
165
|
+
const target = aerisInternalResolveAppendTo(this.aerisInternalAppendTo() ?? this.defaultAppendTo ?? this.aerisInternalAppendToDefault(), this.document);
|
|
140
166
|
const anchor = this.aerisInternalAppendToAnchor();
|
|
167
|
+
const automaticallyPortaled = this.aerisInternalAppendTo() === undefined &&
|
|
168
|
+
target === 'self' &&
|
|
169
|
+
!!anchor &&
|
|
170
|
+
this.hasClippingAncestor(anchor);
|
|
171
|
+
const effectiveTarget = automaticallyPortaled ? this.document.body : target;
|
|
141
172
|
this.captureOrigin();
|
|
142
|
-
if (
|
|
173
|
+
if (effectiveTarget === 'self')
|
|
143
174
|
this.restoreToOrigin();
|
|
144
|
-
if (
|
|
175
|
+
if (effectiveTarget === 'self' && (!anchor || !this.aerisInternalAppendToPositionSelf())) {
|
|
145
176
|
this.element.removeAttribute('data-aeris-append-to');
|
|
177
|
+
this.element.removeAttribute('data-aeris-auto-portaled');
|
|
146
178
|
return;
|
|
147
179
|
}
|
|
148
|
-
const positioningTarget =
|
|
180
|
+
const positioningTarget = effectiveTarget === 'self' ? this.element.parentElement : effectiveTarget;
|
|
149
181
|
if (!positioningTarget)
|
|
150
182
|
return;
|
|
151
183
|
const inheritedStyles = this.preserveInheritedStyles();
|
|
@@ -167,14 +199,21 @@ class ɵAerisAppendTo {
|
|
|
167
199
|
'z-index',
|
|
168
200
|
]);
|
|
169
201
|
const targetPosition = this.ensurePositionedTarget(positioningTarget);
|
|
170
|
-
if (
|
|
171
|
-
this.renderer.appendChild(
|
|
202
|
+
if (effectiveTarget !== 'self') {
|
|
203
|
+
this.renderer.appendChild(effectiveTarget, this.element);
|
|
172
204
|
this.applyInheritedStyles(inheritedStyles);
|
|
173
|
-
this.renderer.setAttribute(this.element, 'data-aeris-append-to',
|
|
205
|
+
this.renderer.setAttribute(this.element, 'data-aeris-append-to', effectiveTarget === this.document.body ? 'body' : 'target');
|
|
206
|
+
if (automaticallyPortaled) {
|
|
207
|
+
this.renderer.setAttribute(this.element, 'data-aeris-auto-portaled', 'true');
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
this.element.removeAttribute('data-aeris-auto-portaled');
|
|
211
|
+
}
|
|
174
212
|
this.bringToFront();
|
|
175
213
|
}
|
|
176
214
|
else {
|
|
177
215
|
this.element.removeAttribute('data-aeris-append-to');
|
|
216
|
+
this.element.removeAttribute('data-aeris-auto-portaled');
|
|
178
217
|
}
|
|
179
218
|
const reposition = () => this.schedulePosition(anchor, positioningTarget);
|
|
180
219
|
const pointerdown = (event) => {
|
|
@@ -214,7 +253,8 @@ class ɵAerisAppendTo {
|
|
|
214
253
|
this.restoreInheritedStyles(inheritedStyles);
|
|
215
254
|
targetPosition.restore();
|
|
216
255
|
this.element.removeAttribute('data-aeris-append-to');
|
|
217
|
-
|
|
256
|
+
this.element.removeAttribute('data-aeris-auto-portaled');
|
|
257
|
+
if (effectiveTarget !== 'self')
|
|
218
258
|
this.element.remove();
|
|
219
259
|
});
|
|
220
260
|
});
|
|
@@ -227,9 +267,8 @@ class ɵAerisAppendTo {
|
|
|
227
267
|
this.restoreToOrigin();
|
|
228
268
|
}
|
|
229
269
|
schedulePosition(anchor, target) {
|
|
230
|
-
if (!anchor)
|
|
270
|
+
if (!anchor || this.frame !== null)
|
|
231
271
|
return;
|
|
232
|
-
this.cancelFrame();
|
|
233
272
|
const view = this.document.defaultView;
|
|
234
273
|
if (!view)
|
|
235
274
|
return;
|
|
@@ -262,45 +301,42 @@ class ɵAerisAppendTo {
|
|
|
262
301
|
(collisionPadding.top ?? 0) -
|
|
263
302
|
(collisionPadding.bottom ?? 0));
|
|
264
303
|
let panelRect = this.element.getBoundingClientRect();
|
|
265
|
-
|
|
304
|
+
const wasWidthConstrained = this.element.hasAttribute('data-viewport-constrained-width');
|
|
305
|
+
const naturalWidth = wasWidthConstrained
|
|
306
|
+
? Math.max(this.unconstrainedPanelWidth, this.element.scrollWidth)
|
|
307
|
+
: panelRect.width;
|
|
308
|
+
this.unconstrainedPanelWidth = naturalWidth;
|
|
309
|
+
if (naturalWidth > availableWidth && availableWidth > 0) {
|
|
266
310
|
this.element.style.maxWidth = `${availableWidth}px`;
|
|
267
311
|
this.element.style.overflowX = 'auto';
|
|
268
312
|
this.element.style.overscrollBehavior = 'contain';
|
|
269
313
|
this.element.setAttribute('data-viewport-constrained-width', 'true');
|
|
270
314
|
panelRect = this.element.getBoundingClientRect();
|
|
271
315
|
}
|
|
272
|
-
else if (
|
|
316
|
+
else if (wasWidthConstrained) {
|
|
273
317
|
this.element.style.removeProperty('max-width');
|
|
274
318
|
this.element.style.removeProperty('overflow-x');
|
|
275
319
|
this.element.removeAttribute('data-viewport-constrained-width');
|
|
276
320
|
panelRect = this.element.getBoundingClientRect();
|
|
277
321
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
this.element.
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
panelRect = this.element.getBoundingClientRect();
|
|
284
|
-
}
|
|
285
|
-
else if (this.element.hasAttribute('data-viewport-constrained')) {
|
|
286
|
-
this.element.style.removeProperty('max-height');
|
|
287
|
-
this.element.style.removeProperty('overflow-y');
|
|
288
|
-
this.element.style.removeProperty('overscroll-behavior');
|
|
289
|
-
this.element.removeAttribute('data-viewport-constrained');
|
|
290
|
-
panelRect = this.element.getBoundingClientRect();
|
|
291
|
-
}
|
|
322
|
+
const wasHeightConstrained = this.element.hasAttribute('data-viewport-constrained');
|
|
323
|
+
const naturalHeight = wasHeightConstrained
|
|
324
|
+
? Math.max(this.unconstrainedPanelHeight, this.element.scrollHeight)
|
|
325
|
+
: panelRect.height;
|
|
326
|
+
this.unconstrainedPanelHeight = naturalHeight;
|
|
292
327
|
const direction = view.getComputedStyle(anchor).direction;
|
|
293
328
|
const configuredAlignment = this.aerisInternalAppendToAlignment();
|
|
294
|
-
const
|
|
329
|
+
const alignment = configuredAlignment === 'auto'
|
|
330
|
+
? direction === 'rtl'
|
|
331
|
+
? 'end'
|
|
332
|
+
: 'start'
|
|
333
|
+
: configuredAlignment;
|
|
334
|
+
const position = (height = panelRect.height || this.element.offsetHeight) => aerisInternalPositionAnchoredOverlay({
|
|
295
335
|
target: anchorRect,
|
|
296
336
|
width: panelRect.width || this.element.offsetWidth || anchorRect.width,
|
|
297
|
-
height
|
|
337
|
+
height,
|
|
298
338
|
placement: this.aerisInternalAppendToPlacement(),
|
|
299
|
-
alignment
|
|
300
|
-
? direction === 'rtl'
|
|
301
|
-
? 'end'
|
|
302
|
-
: 'start'
|
|
303
|
-
: configuredAlignment,
|
|
339
|
+
alignment,
|
|
304
340
|
offset: this.aerisInternalAppendToOffset(),
|
|
305
341
|
margin: 8,
|
|
306
342
|
viewportWidth: viewport?.width ?? view.innerWidth,
|
|
@@ -308,7 +344,38 @@ class ɵAerisAppendTo {
|
|
|
308
344
|
viewportLeft,
|
|
309
345
|
viewportTop,
|
|
310
346
|
collisionPadding,
|
|
347
|
+
tetherToAnchor: true,
|
|
311
348
|
});
|
|
349
|
+
let point = position(naturalHeight);
|
|
350
|
+
const viewportBounds = {
|
|
351
|
+
top: viewportTop + (collisionPadding.top ?? 0),
|
|
352
|
+
bottom: viewportTop + (viewport?.height ?? view.innerHeight) - (collisionPadding.bottom ?? 0),
|
|
353
|
+
};
|
|
354
|
+
const anchorIntersectsViewport = anchorRect.bottom > viewportBounds.top && anchorRect.top < viewportBounds.bottom;
|
|
355
|
+
const placementHeight = anchorIntersectsViewport && point.placement === 'bottom'
|
|
356
|
+
? viewportBounds.bottom - anchorRect.bottom - this.aerisInternalAppendToOffset()
|
|
357
|
+
: anchorIntersectsViewport && point.placement === 'top'
|
|
358
|
+
? anchorRect.top - viewportBounds.top - this.aerisInternalAppendToOffset()
|
|
359
|
+
: availableHeight;
|
|
360
|
+
const constrainedHeight = Math.max(0, Math.min(availableHeight, placementHeight));
|
|
361
|
+
if (naturalHeight > constrainedHeight && constrainedHeight > 0) {
|
|
362
|
+
this.element.style.maxHeight = `${Math.floor(constrainedHeight)}px`;
|
|
363
|
+
this.element.style.overflowY = 'auto';
|
|
364
|
+
this.element.style.overscrollBehavior = 'contain';
|
|
365
|
+
this.element.setAttribute('data-viewport-constrained', 'true');
|
|
366
|
+
panelRect = this.element.getBoundingClientRect();
|
|
367
|
+
}
|
|
368
|
+
else if (wasHeightConstrained) {
|
|
369
|
+
this.element.style.removeProperty('max-height');
|
|
370
|
+
this.element.style.removeProperty('overflow-y');
|
|
371
|
+
this.element.removeAttribute('data-viewport-constrained');
|
|
372
|
+
panelRect = this.element.getBoundingClientRect();
|
|
373
|
+
}
|
|
374
|
+
point = position();
|
|
375
|
+
if (!this.element.hasAttribute('data-viewport-constrained') &&
|
|
376
|
+
!this.element.hasAttribute('data-viewport-constrained-width')) {
|
|
377
|
+
this.element.style.removeProperty('overscroll-behavior');
|
|
378
|
+
}
|
|
312
379
|
if (target === this.document.body) {
|
|
313
380
|
this.element.style.left = `${point.x}px`;
|
|
314
381
|
this.element.style.top = `${point.y}px`;
|
|
@@ -424,6 +491,26 @@ class ɵAerisAppendTo {
|
|
|
424
491
|
target.style.position = entry.previous;
|
|
425
492
|
positionedTargets.delete(target);
|
|
426
493
|
}
|
|
494
|
+
hasClippingAncestor(anchor) {
|
|
495
|
+
const view = this.document.defaultView;
|
|
496
|
+
if (!view)
|
|
497
|
+
return false;
|
|
498
|
+
let ancestor = anchor.parentElement;
|
|
499
|
+
while (ancestor &&
|
|
500
|
+
ancestor !== this.document.body &&
|
|
501
|
+
ancestor !== this.document.documentElement) {
|
|
502
|
+
const style = view.getComputedStyle(ancestor);
|
|
503
|
+
if (isClippingOverflow(style.overflow) ||
|
|
504
|
+
isClippingOverflow(style.overflowX) ||
|
|
505
|
+
isClippingOverflow(style.overflowY) ||
|
|
506
|
+
hasPaintContainment(style.contain) ||
|
|
507
|
+
(style.clipPath && style.clipPath !== 'none')) {
|
|
508
|
+
return true;
|
|
509
|
+
}
|
|
510
|
+
ancestor = ancestor.parentElement;
|
|
511
|
+
}
|
|
512
|
+
return false;
|
|
513
|
+
}
|
|
427
514
|
cancelFrame() {
|
|
428
515
|
if (this.frame === null)
|
|
429
516
|
return;
|
|
@@ -438,17 +525,26 @@ class ɵAerisAppendTo {
|
|
|
438
525
|
this.originNextSibling = this.element.nextSibling;
|
|
439
526
|
}
|
|
440
527
|
restoreToOrigin() {
|
|
441
|
-
if (
|
|
528
|
+
if (this.restoringToOrigin ||
|
|
529
|
+
!this.originParent ||
|
|
530
|
+
this.element.parentNode === this.originParent)
|
|
442
531
|
return;
|
|
443
|
-
|
|
532
|
+
// Reparenting a focused panel can synchronously dispatch blur/focusout and close it again.
|
|
533
|
+
this.restoringToOrigin = true;
|
|
534
|
+
try {
|
|
535
|
+
this.renderer.insertBefore(this.originParent, this.element, this.originNextSibling?.parentNode === this.originParent ? this.originNextSibling : null);
|
|
536
|
+
}
|
|
537
|
+
finally {
|
|
538
|
+
this.restoringToOrigin = false;
|
|
539
|
+
}
|
|
444
540
|
}
|
|
445
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
446
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
541
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ɵAerisAppendTo, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
542
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: ɵAerisAppendTo, isStandalone: true, selector: "[aerisInternalAppendTo]", inputs: { aerisInternalAppendTo: { classPropertyName: "aerisInternalAppendTo", publicName: "aerisInternalAppendTo", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToDefault: { classPropertyName: "aerisInternalAppendToDefault", publicName: "aerisInternalAppendToDefault", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToAnchor: { classPropertyName: "aerisInternalAppendToAnchor", publicName: "aerisInternalAppendToAnchor", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToOffset: { classPropertyName: "aerisInternalAppendToOffset", publicName: "aerisInternalAppendToOffset", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToMatchWidth: { classPropertyName: "aerisInternalAppendToMatchWidth", publicName: "aerisInternalAppendToMatchWidth", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToPlacement: { classPropertyName: "aerisInternalAppendToPlacement", publicName: "aerisInternalAppendToPlacement", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToAlignment: { classPropertyName: "aerisInternalAppendToAlignment", publicName: "aerisInternalAppendToAlignment", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToCollisionPadding: { classPropertyName: "aerisInternalAppendToCollisionPadding", publicName: "aerisInternalAppendToCollisionPadding", isSignal: true, isRequired: false, transformFunction: null }, aerisInternalAppendToPositionSelf: { classPropertyName: "aerisInternalAppendToPositionSelf", publicName: "aerisInternalAppendToPositionSelf", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { aerisInternalAppendToOutside: "aerisInternalAppendToOutside" }, ngImport: i0 });
|
|
447
543
|
}
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ɵAerisAppendTo, decorators: [{
|
|
449
545
|
type: Directive,
|
|
450
546
|
args: [{ selector: '[aerisInternalAppendTo]' }]
|
|
451
|
-
}], ctorParameters: () => [], propDecorators: { aerisInternalAppendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendTo", required: false }] }], aerisInternalAppendToAnchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToAnchor", required: false }] }], aerisInternalAppendToOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToOffset", required: false }] }], aerisInternalAppendToMatchWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToMatchWidth", required: false }] }], aerisInternalAppendToPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToPlacement", required: false }] }], aerisInternalAppendToAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToAlignment", required: false }] }], aerisInternalAppendToCollisionPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToCollisionPadding", required: false }] }], aerisInternalAppendToPositionSelf: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToPositionSelf", required: false }] }], aerisInternalAppendToOutside: [{ type: i0.Output, args: ["aerisInternalAppendToOutside"] }] } });
|
|
547
|
+
}], ctorParameters: () => [], propDecorators: { aerisInternalAppendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendTo", required: false }] }], aerisInternalAppendToDefault: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToDefault", required: false }] }], aerisInternalAppendToAnchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToAnchor", required: false }] }], aerisInternalAppendToOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToOffset", required: false }] }], aerisInternalAppendToMatchWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToMatchWidth", required: false }] }], aerisInternalAppendToPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToPlacement", required: false }] }], aerisInternalAppendToAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToAlignment", required: false }] }], aerisInternalAppendToCollisionPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToCollisionPadding", required: false }] }], aerisInternalAppendToPositionSelf: [{ type: i0.Input, args: [{ isSignal: true, alias: "aerisInternalAppendToPositionSelf", required: false }] }], aerisInternalAppendToOutside: [{ type: i0.Output, args: ["aerisInternalAppendToOutside"] }] } });
|
|
452
548
|
function elementRefNativeElement(value) {
|
|
453
549
|
if ('nativeElement' in value)
|
|
454
550
|
return value.nativeElement;
|
|
@@ -468,6 +564,15 @@ function isHtmlElement(value) {
|
|
|
468
564
|
function isDomNode(value) {
|
|
469
565
|
return typeof value === 'object' && value !== null && 'nodeType' in value;
|
|
470
566
|
}
|
|
567
|
+
function isClippingOverflow(value) {
|
|
568
|
+
return /^(auto|clip|hidden|overlay|scroll)$/.test(value.trim());
|
|
569
|
+
}
|
|
570
|
+
function hasPaintContainment(value) {
|
|
571
|
+
return value
|
|
572
|
+
.trim()
|
|
573
|
+
.split(/\s+/)
|
|
574
|
+
.some((token) => token === 'paint' || token === 'content' || token === 'strict');
|
|
575
|
+
}
|
|
471
576
|
|
|
472
577
|
function filterSelectOptions(options, query, fields, matchMode, locale) {
|
|
473
578
|
const normalizedQuery = query.trim().toLocaleLowerCase(locale);
|
|
@@ -618,26 +723,60 @@ function ɵunlockAerisDocumentScroll(document) {
|
|
|
618
723
|
|
|
619
724
|
const BASE_FOCUSABLE_SELECTORS = [
|
|
620
725
|
'a[href]',
|
|
621
|
-
'
|
|
622
|
-
'
|
|
623
|
-
'
|
|
624
|
-
'
|
|
625
|
-
'
|
|
726
|
+
'area[href]',
|
|
727
|
+
'button',
|
|
728
|
+
'input',
|
|
729
|
+
'select',
|
|
730
|
+
'textarea',
|
|
731
|
+
'iframe',
|
|
732
|
+
'object',
|
|
733
|
+
'embed',
|
|
734
|
+
'audio[controls]',
|
|
735
|
+
'video[controls]',
|
|
736
|
+
'summary',
|
|
737
|
+
'[tabindex]',
|
|
626
738
|
];
|
|
627
739
|
function aerisInternalIsFocusable(element, options = {}) {
|
|
628
|
-
if (!element ||
|
|
740
|
+
if (!element ||
|
|
741
|
+
element.tabIndex < 0 ||
|
|
742
|
+
element.matches(':disabled') ||
|
|
743
|
+
element.hidden ||
|
|
744
|
+
element.inert ||
|
|
745
|
+
element.closest('[hidden], [inert], [aria-hidden="true"]')) {
|
|
629
746
|
return false;
|
|
630
747
|
}
|
|
748
|
+
if (element instanceof HTMLInputElement && element.type === 'hidden')
|
|
749
|
+
return false;
|
|
750
|
+
const closedDetails = element.closest('details:not([open])');
|
|
751
|
+
if (closedDetails) {
|
|
752
|
+
const summary = Array.from(closedDetails.children).find((child) => child instanceof HTMLElement && child.tagName === 'SUMMARY');
|
|
753
|
+
if (!summary?.contains(element))
|
|
754
|
+
return false;
|
|
755
|
+
}
|
|
631
756
|
if (!options.checkComputedVisibility)
|
|
632
757
|
return true;
|
|
633
|
-
const
|
|
634
|
-
|
|
758
|
+
const view = element.ownerDocument.defaultView;
|
|
759
|
+
for (let current = element; current; current = current.parentElement) {
|
|
760
|
+
const style = view?.getComputedStyle(current);
|
|
761
|
+
if (style?.visibility === 'hidden' ||
|
|
762
|
+
style?.visibility === 'collapse' ||
|
|
763
|
+
style?.display === 'none') {
|
|
764
|
+
return false;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
return true;
|
|
635
768
|
}
|
|
636
769
|
function aerisInternalFocusableElements(root, options = {}) {
|
|
637
770
|
const selectors = options.includeContentEditable
|
|
638
|
-
? [...BASE_FOCUSABLE_SELECTORS, '[contenteditable="
|
|
771
|
+
? [...BASE_FOCUSABLE_SELECTORS, '[contenteditable]:not([contenteditable="false"])']
|
|
639
772
|
: BASE_FOCUSABLE_SELECTORS;
|
|
640
|
-
return Array.from(root.querySelectorAll(selectors.join(',')))
|
|
773
|
+
return Array.from(root.querySelectorAll(selectors.join(',')))
|
|
774
|
+
.filter((element) => aerisInternalIsFocusable(element, options))
|
|
775
|
+
.sort((left, right) => {
|
|
776
|
+
const leftOrder = left.tabIndex > 0 ? left.tabIndex : Number.MAX_SAFE_INTEGER;
|
|
777
|
+
const rightOrder = right.tabIndex > 0 ? right.tabIndex : Number.MAX_SAFE_INTEGER;
|
|
778
|
+
return leftOrder - rightOrder;
|
|
779
|
+
});
|
|
641
780
|
}
|
|
642
781
|
function aerisInternalFocusInitialElement(root, selector, focusOptions, options = {}) {
|
|
643
782
|
let requested = null;
|
|
@@ -673,6 +812,27 @@ function aerisInternalTrapTabFocus(event, root, activeElement, options = {}) {
|
|
|
673
812
|
}
|
|
674
813
|
}
|
|
675
814
|
|
|
815
|
+
function aerisInternalColumnSeparatorValues(widths, minColumnWidth) {
|
|
816
|
+
const percentages = widths.map((width) => width?.trim().endsWith('%') ? Number.parseFloat(width) : Number.NaN);
|
|
817
|
+
if (percentages.every(Number.isFinite)) {
|
|
818
|
+
let position = 0;
|
|
819
|
+
return percentages.slice(0, -1).map((width) => {
|
|
820
|
+
position += width;
|
|
821
|
+
return { min: 0, max: 100, now: Math.min(100, Math.max(0, position)) };
|
|
822
|
+
});
|
|
823
|
+
}
|
|
824
|
+
const pixels = widths.map(aerisInternalColumnWidthPixels);
|
|
825
|
+
const total = pixels.reduce((sum, width) => sum + width, 0);
|
|
826
|
+
let position = 0;
|
|
827
|
+
return pixels.slice(0, -1).map((width, index) => {
|
|
828
|
+
position += width;
|
|
829
|
+
return {
|
|
830
|
+
min: minColumnWidth * (index + 1),
|
|
831
|
+
max: Math.max(minColumnWidth * (index + 1), total - minColumnWidth * (pixels.length - index - 1)),
|
|
832
|
+
now: position,
|
|
833
|
+
};
|
|
834
|
+
});
|
|
835
|
+
}
|
|
676
836
|
function aerisInternalPixelWidth(width) {
|
|
677
837
|
return `${Math.round(width * 100) / 100}px`;
|
|
678
838
|
}
|
|
@@ -760,11 +920,11 @@ function aerisInternalCreateFrameScheduler(callback) {
|
|
|
760
920
|
};
|
|
761
921
|
}
|
|
762
922
|
|
|
763
|
-
const AERIS_UI_VERSION = '22.0.0-alpha.
|
|
923
|
+
const AERIS_UI_VERSION = '22.0.0-alpha.7';
|
|
764
924
|
|
|
765
925
|
/**
|
|
766
926
|
* Generated bundle index. Do not edit.
|
|
767
927
|
*/
|
|
768
928
|
|
|
769
|
-
export { AERIS_OVERLAY_APPEND_TO, AERIS_UI_VERSION, aerisInternalApplyMeasuredColumnWidths, aerisInternalClampColumnResizeDelta, aerisInternalClampOverlayPoint, aerisInternalColumnResizeDirection, aerisInternalColumnWidthPixels, aerisInternalCreateFrameScheduler, aerisInternalFocusInitialElement, aerisInternalFocusableElements, aerisInternalIsFocusable, aerisInternalListenForColumnResize, aerisInternalMeasureColumnWidths, aerisInternalPixelWidth, aerisInternalPositionAnchoredOverlay, aerisInternalSetColumnPairWidths, aerisInternalTrapTabFocus, boundarySelectValue, filterSelectOptions, groupSelectOptions, nextEnabledSelectValue, selectVirtualRange, ɵAerisAppendTo, aerisInternalResolveAppendTo as ɵaerisResolveAppendTo, ɵisTopmostAerisOverlay, ɵlockAerisDocumentScroll, ɵregisterAerisOverlay, ɵunlockAerisDocumentScroll, ɵunregisterAerisOverlay };
|
|
929
|
+
export { AERIS_OVERLAY_APPEND_TO, AERIS_UI_VERSION, aerisInternalApplyMeasuredColumnWidths, aerisInternalClampColumnResizeDelta, aerisInternalClampOverlayPoint, aerisInternalColumnResizeDirection, aerisInternalColumnSeparatorValues, aerisInternalColumnWidthPixels, aerisInternalCreateFrameScheduler, aerisInternalFocusInitialElement, aerisInternalFocusableElements, aerisInternalIsFocusable, aerisInternalListenForColumnResize, aerisInternalMeasureColumnWidths, aerisInternalPixelWidth, aerisInternalPositionAnchoredOverlay, aerisInternalSetColumnPairWidths, aerisInternalTrapTabFocus, boundarySelectValue, filterSelectOptions, groupSelectOptions, nextEnabledSelectValue, selectVirtualRange, ɵAerisAppendTo, aerisInternalDisplayInvalid as ɵaerisDisplayInvalid, aerisInternalResolveAppendTo as ɵaerisResolveAppendTo, ɵisTopmostAerisOverlay, ɵlockAerisDocumentScroll, ɵregisterAerisOverlay, ɵunlockAerisDocumentScroll, ɵunregisterAerisOverlay };
|
|
770
930
|
//# sourceMappingURL=aeris-ui-core.mjs.map
|