@aeris-ui/core 22.0.0-alpha.3 → 22.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- 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 +45 -21
- 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 +9 -9
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +10 -10
- 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-breadcrumb.mjs +14 -14
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +4 -4
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +6 -6
- package/fesm2022/aeris-ui-core-card.mjs +20 -20
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +14 -14
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +39 -15
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +5 -5
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
- package/fesm2022/aeris-ui-core-chip.mjs +9 -9
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-color-picker.mjs +24 -9
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +14 -14
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +26 -20
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +41 -25
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +26 -12
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +24 -8
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +28 -20
- 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 +27 -20
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +10 -7
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +3 -3
- package/fesm2022/aeris-ui-core-file-upload.mjs +26 -26
- 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-fluid.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +181 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +29 -29
- 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 +14 -14
- 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-input-group.mjs +16 -16
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +5 -5
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +5 -5
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +8 -8
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +8 -8
- 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-mega-menu.mjs +17 -9
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +59 -23
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +135 -15
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- 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 +48 -25
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +11 -11
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +45 -13
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +17 -17
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +40 -18
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +49 -25
- 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 +3 -3
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +5 -5
- 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-select.mjs +66 -43
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +3 -3
- package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
- package/fesm2022/aeris-ui-core-split-button.mjs +25 -7
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +8 -8
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +14 -14
- 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-table.mjs +24 -20
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +78 -27
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +8 -8
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +8 -8
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +6 -3
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +52 -15
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +12 -12
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +20 -20
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +54 -31
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +48 -24
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +21 -17
- 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 +473 -63
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +12 -8
- package/schematics/runtime/theme-builder/aeris-theme.js +8 -8
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/aeris.css +36 -21
- package/styles/controls.css +10 -7
- package/types/aeris-ui-core-auto-complete.d.ts +8 -3
- package/types/aeris-ui-core-cascade-select.d.ts +8 -3
- package/types/aeris-ui-core-color-picker.d.ts +7 -2
- package/types/aeris-ui-core-confirm-dialog.d.ts +5 -1
- package/types/aeris-ui-core-confirm-popup.d.ts +6 -1
- package/types/aeris-ui-core-context-menu.d.ts +6 -1
- package/types/aeris-ui-core-date-picker.d.ts +7 -2
- package/types/aeris-ui-core-dialog.d.ts +4 -1
- package/types/aeris-ui-core-drawer.d.ts +4 -1
- package/types/aeris-ui-core-dynamic-dialog.d.ts +3 -0
- package/types/aeris-ui-core-form-field.d.ts +65 -0
- package/types/aeris-ui-core-mega-menu.d.ts +4 -2
- package/types/aeris-ui-core-menu.d.ts +7 -2
- package/types/aeris-ui-core-menubar.d.ts +27 -3
- package/types/aeris-ui-core-multi-select.d.ts +8 -4
- package/types/aeris-ui-core-paginator.d.ts +9 -1
- package/types/aeris-ui-core-password.d.ts +6 -1
- package/types/aeris-ui-core-popover.d.ts +5 -2
- package/types/aeris-ui-core-select.d.ts +8 -4
- package/types/aeris-ui-core-split-button.d.ts +7 -3
- package/types/aeris-ui-core-table.d.ts +3 -1
- package/types/aeris-ui-core-tabs.d.ts +23 -5
- package/types/aeris-ui-core-theming.d.ts +4 -0
- package/types/aeris-ui-core-tiered-menu.d.ts +8 -2
- package/types/aeris-ui-core-tooltip.d.ts +8 -4
- package/types/aeris-ui-core-tree-select.d.ts +8 -3
- package/types/aeris-ui-core-tree-table.d.ts +3 -1
- package/types/aeris-ui-core.d.ts +80 -26
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { DOCUMENT, NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { inject, TemplateRef, Directive, DestroyRef, signal, viewChild, computed, contentChild, model, input, booleanAttribute, output, effect, Component } from '@angular/core';
|
|
4
|
-
import { ɵunregisterAerisOverlay as _unregisterAerisOverlay, ɵisTopmostAerisOverlay as _isTopmostAerisOverlay, ɵregisterAerisOverlay as _registerAerisOverlay, ɵlockAerisDocumentScroll as _lockAerisDocumentScroll, ɵunlockAerisDocumentScroll as _unlockAerisDocumentScroll, aerisInternalFocusInitialElement, aerisInternalTrapTabFocus } from '@aeris-ui/core';
|
|
4
|
+
import { ɵAerisAppendTo as _AerisAppendTo, ɵunregisterAerisOverlay as _unregisterAerisOverlay, ɵisTopmostAerisOverlay as _isTopmostAerisOverlay, ɵregisterAerisOverlay as _registerAerisOverlay, ɵlockAerisDocumentScroll as _lockAerisDocumentScroll, ɵunlockAerisDocumentScroll as _unlockAerisDocumentScroll, aerisInternalFocusInitialElement, aerisInternalTrapTabFocus } from '@aeris-ui/core';
|
|
5
5
|
|
|
6
6
|
class AerisDrawerHeaderTemplate {
|
|
7
7
|
template = inject(TemplateRef);
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
9
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisDrawerHeaderTemplate, isStandalone: true, selector: "ng-template[aerisDrawerHeader]", ngImport: i0 });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerHeaderTemplate, decorators: [{
|
|
12
12
|
type: Directive,
|
|
13
13
|
args: [{ selector: 'ng-template[aerisDrawerHeader]' }]
|
|
14
14
|
}] });
|
|
15
15
|
class AerisDrawerFooterTemplate {
|
|
16
16
|
template = inject(TemplateRef);
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
18
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisDrawerFooterTemplate, isStandalone: true, selector: "ng-template[aerisDrawerFooter]", ngImport: i0 });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerFooterTemplate, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{ selector: 'ng-template[aerisDrawerFooter]' }]
|
|
23
23
|
}] });
|
|
24
24
|
class AerisDrawerCloseIconTemplate {
|
|
25
25
|
template = inject(TemplateRef);
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
27
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerCloseIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisDrawerCloseIconTemplate, isStandalone: true, selector: "ng-template[aerisDrawerCloseIcon]", ngImport: i0 });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerCloseIconTemplate, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{ selector: 'ng-template[aerisDrawerCloseIcon]' }]
|
|
32
32
|
}] });
|
|
33
33
|
class AerisDrawerHeadlessTemplate {
|
|
34
34
|
template = inject(TemplateRef);
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
36
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerHeadlessTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: AerisDrawerHeadlessTemplate, isStandalone: true, selector: "ng-template[aerisDrawerHeadless]", ngImport: i0 });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawerHeadlessTemplate, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{ selector: 'ng-template[aerisDrawerHeadless]' }]
|
|
41
41
|
}] });
|
|
@@ -58,6 +58,8 @@ class AerisDrawer {
|
|
|
58
58
|
closeRenderTimer;
|
|
59
59
|
drawerPanel = viewChild('drawerPanel', /* @ts-ignore */
|
|
60
60
|
...(ngDevMode ? [{ debugName: "drawerPanel" }] : /* istanbul ignore next */ []));
|
|
61
|
+
overlayPortal = viewChild(_AerisAppendTo, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "overlayPortal" }] : /* istanbul ignore next */ []));
|
|
61
63
|
rendered = signal(false, /* @ts-ignore */
|
|
62
64
|
...(ngDevMode ? [{ debugName: "rendered" }] : /* istanbul ignore next */ []));
|
|
63
65
|
animationState = computed(() => (this.visible() ? 'open' : 'closed'), /* @ts-ignore */
|
|
@@ -94,6 +96,8 @@ class AerisDrawer {
|
|
|
94
96
|
...(ngDevMode ? [{ debugName: "maximized" }] : /* istanbul ignore next */ []));
|
|
95
97
|
header = input('', /* @ts-ignore */
|
|
96
98
|
...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
99
|
+
appendTo = input('body', /* @ts-ignore */
|
|
100
|
+
...(ngDevMode ? [{ debugName: "appendTo" }] : /* istanbul ignore next */ []));
|
|
97
101
|
position = input('right', /* @ts-ignore */
|
|
98
102
|
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
99
103
|
size = input('md', /* @ts-ignore */
|
|
@@ -229,6 +233,7 @@ class AerisDrawer {
|
|
|
229
233
|
this.clearRenderTimer();
|
|
230
234
|
this.closeRenderTimer = globalThis.setTimeout(() => {
|
|
231
235
|
if (!this.visible()) {
|
|
236
|
+
this.overlayPortal()?.restore();
|
|
232
237
|
this.rendered.set(false);
|
|
233
238
|
}
|
|
234
239
|
this.closeRenderTimer = undefined;
|
|
@@ -296,11 +301,12 @@ class AerisDrawer {
|
|
|
296
301
|
visibilityEvent(visible, reason, originalEvent) {
|
|
297
302
|
return { originalEvent, visible, reason };
|
|
298
303
|
}
|
|
299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
300
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
305
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AerisDrawer, isStandalone: true, selector: "aeris-drawer", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, maximized: { classPropertyName: "maximized", publicName: "maximized", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, backdropBlur: { classPropertyName: "backdropBlur", publicName: "backdropBlur", isSignal: true, isRequired: false, transformFunction: null }, backdropBlurAmount: { classPropertyName: "backdropBlurAmount", publicName: "backdropBlurAmount", isSignal: true, isRequired: false, transformFunction: null }, dismissibleMask: { classPropertyName: "dismissibleMask", publicName: "dismissibleMask", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, blockScroll: { classPropertyName: "blockScroll", publicName: "blockScroll", isSignal: true, isRequired: false, transformFunction: null }, focusTrap: { classPropertyName: "focusTrap", publicName: "focusTrap", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, initialFocus: { classPropertyName: "initialFocus", publicName: "initialFocus", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, mobileWidth: { classPropertyName: "mobileWidth", publicName: "mobileWidth", isSignal: true, isRequired: false, transformFunction: null }, mobileHeight: { classPropertyName: "mobileHeight", publicName: "mobileHeight", isSignal: true, isRequired: false, transformFunction: null }, mobileFullScreen: { classPropertyName: "mobileFullScreen", publicName: "mobileFullScreen", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", maximized: "maximizedChange", shown: "shown", hidden: "hidden", visibilityChanged: "visibilityChanged" }, host: { properties: { "attr.data-open": "visible() || null", "attr.data-block-scroll": "blockScroll() || null" }, classAttribute: "aeris-drawer" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisDrawerHeaderTemplate, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: AerisDrawerFooterTemplate, descendants: true, isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: AerisDrawerCloseIconTemplate, descendants: true, isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: AerisDrawerHeadlessTemplate, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "drawerPanel", first: true, predicate: ["drawerPanel"], descendants: true, isSignal: true }, { propertyName: "overlayPortal", first: true, predicate: _AerisAppendTo, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
301
306
|
@if (rendered()) {
|
|
302
307
|
<div
|
|
303
308
|
class="aeris-drawer__overlay"
|
|
309
|
+
[aerisInternalAppendTo]="appendTo()"
|
|
304
310
|
[attr.data-modal]="modal() || null"
|
|
305
311
|
[attr.data-backdrop]="backdrop() || null"
|
|
306
312
|
[attr.data-backdrop-blur]="backdrop() && backdropBlur() ? true : null"
|
|
@@ -410,14 +416,15 @@ class AerisDrawer {
|
|
|
410
416
|
</aside>
|
|
411
417
|
</div>
|
|
412
418
|
}
|
|
413
|
-
`, isInline: true, styles: [":host{--_aeris-drawer-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-drawer-color, var(--aeris-text, #222222));font:inherit}.aeris-drawer__overlay{position:fixed;z-index:var(--aeris-drawer-z-index, 1000);inset:0;display:grid;opacity:1;pointer-events:auto;transition:opacity .18s ease}.aeris-drawer__overlay[data-state=closed]{opacity:0;pointer-events:none}.aeris-drawer__overlay[data-backdrop]{background:var(--aeris-drawer-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-drawer__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-drawer__overlay[data-position=left]{justify-items:start}.aeris-drawer__overlay[data-position=right]{justify-items:end}.aeris-drawer__overlay[data-position=top]{align-items:start}.aeris-drawer__overlay[data-position=bottom]{align-items:end}.aeris-drawer__panel{box-sizing:border-box;width:min(var(--aeris-drawer-width, 24rem),var(--aeris-drawer-max-width, 100vw));height:100vh;height:100dvh;max-width:var(--aeris-drawer-max-width, 100vw);max-height:var(--aeris-drawer-max-height, 100vh);max-height:var(--aeris-drawer-max-height, 100dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-drawer-border, var(--aeris-border));background:var(--aeris-drawer-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-drawer-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;opacity:1;transform:translateZ(0);transition:transform .22s cubic-bezier(.2,0,0,1),opacity .18s ease;will-change:transform}.aeris-drawer__panel[data-state=closed]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=closed]{transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=closed]{transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=closed]{transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=closed]{transform:translate3d(0,100%,0)}@starting-style{.aeris-drawer__overlay[data-state=open]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=open]{opacity:0;transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=open]{opacity:0;transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=open]{opacity:0;transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=open]{opacity:0;transform:translate3d(0,100%,0)}}.aeris-drawer__panel:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:-4px}.aeris-drawer__panel[data-position=left]{border-radius:0 var(--aeris-drawer-radius, var(--aeris-radius-lg,
|
|
419
|
+
`, isInline: true, styles: [":host{--_aeris-drawer-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-drawer-color, var(--aeris-text, #222222));font:inherit}.aeris-drawer__overlay{position:fixed;z-index:var(--aeris-drawer-z-index, 1000);inset:0;display:grid;opacity:1;pointer-events:auto;transition:opacity .18s ease}.aeris-drawer__overlay[data-state=closed]{opacity:0;pointer-events:none}.aeris-drawer__overlay[data-backdrop]{background:var(--aeris-drawer-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-drawer__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-drawer__overlay[data-position=left]{justify-items:start}.aeris-drawer__overlay[data-position=right]{justify-items:end}.aeris-drawer__overlay[data-position=top]{align-items:start}.aeris-drawer__overlay[data-position=bottom]{align-items:end}.aeris-drawer__panel{box-sizing:border-box;width:min(var(--aeris-drawer-width, 24rem),var(--aeris-drawer-max-width, 100vw));height:100vh;height:100dvh;max-width:var(--aeris-drawer-max-width, 100vw);max-height:var(--aeris-drawer-max-height, 100vh);max-height:var(--aeris-drawer-max-height, 100dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-drawer-border, var(--aeris-border));background:var(--aeris-drawer-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-drawer-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;opacity:1;transform:translateZ(0);transition:transform .22s cubic-bezier(.2,0,0,1),opacity .18s ease;will-change:transform}.aeris-drawer__panel[data-state=closed]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=closed]{transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=closed]{transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=closed]{transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=closed]{transform:translate3d(0,100%,0)}@starting-style{.aeris-drawer__overlay[data-state=open]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=open]{opacity:0;transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=open]{opacity:0;transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=open]{opacity:0;transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=open]{opacity:0;transform:translate3d(0,100%,0)}}.aeris-drawer__panel:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:-4px}.aeris-drawer__panel[data-position=left]{border-radius:0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0;border-inline-start:0}.aeris-drawer__panel[data-position=right]{border-radius:var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0 0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));border-inline-end:0}.aeris-drawer__panel[data-position=top],.aeris-drawer__panel[data-position=bottom]{width:100vw;height:min(var(--aeris-drawer-height, 20rem),var(--aeris-drawer-max-height, 100vh));height:min(var(--aeris-drawer-height, 20rem),var(--aeris-drawer-max-height, 100dvh));max-width:100vw}.aeris-drawer__panel[data-position=top]{border-block-start:0;border-radius:0 0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)))}.aeris-drawer__panel[data-position=bottom]{border-block-end:0;border-radius:var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0 0}.aeris-drawer__panel[data-size=sm][data-position=left],.aeris-drawer__panel[data-size=sm][data-position=right]{--aeris-drawer-width: 18rem}.aeris-drawer__panel[data-size=lg][data-position=left],.aeris-drawer__panel[data-size=lg][data-position=right]{--aeris-drawer-width: 32rem}.aeris-drawer__panel[data-size=full][data-position=left],.aeris-drawer__panel[data-size=full][data-position=right]{--aeris-drawer-width: 100vw}.aeris-drawer__panel[data-size=sm][data-position=top],.aeris-drawer__panel[data-size=sm][data-position=bottom]{--aeris-drawer-height: 14rem}.aeris-drawer__panel[data-size=lg][data-position=top],.aeris-drawer__panel[data-size=lg][data-position=bottom]{--aeris-drawer-height: 28rem}.aeris-drawer__panel[data-size=full][data-position=top],.aeris-drawer__panel[data-size=full][data-position=bottom]{--aeris-drawer-height: 100vh;--aeris-drawer-height: 100dvh}.aeris-drawer__panel[data-size=full],.aeris-drawer__panel[data-maximized]{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;border:0;border-radius:0}.aeris-drawer__panel[data-headless]{display:block}.aeris-drawer__header,.aeris-drawer__footer{min-width:0;display:flex;align-items:center;gap:.875rem;padding:var(--aeris-drawer-header-padding, 1rem 1.125rem);background:var(--aeris-drawer-header-background, var(--aeris-surface, #fff))}.aeris-drawer__header{border-bottom:1px solid var(--aeris-drawer-border, var(--aeris-border))}.aeris-drawer__footer{justify-content:flex-end;border-top:1px solid var(--aeris-drawer-border, var(--aeris-border))}.aeris-drawer__title{min-width:0;flex:1 1 auto;color:var(--aeris-drawer-title-color, var(--aeris-text, #222222));font-size:var(--aeris-drawer-title-size, 1rem);font-weight:750;line-height:1.35}.aeris-drawer__actions{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto}.aeris-drawer__action{width:2rem;height:2rem;display:inline-grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-sm, .4375rem);background:transparent;color:var(--aeris-drawer-icon-color, var(--aeris-text-2, #555555));cursor:pointer}.aeris-drawer__action:hover{background:var(--aeris-drawer-action-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-drawer-title-color, var(--aeris-text, #222222))}.aeris-drawer__action:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:2px}.aeris-drawer__close-icon,.aeris-drawer__maximize-icon{position:relative;width:var(--_aeris-drawer-icon-size, var(--aeris-icon-size, 1rem));height:var(--_aeris-drawer-icon-size, var(--aeris-icon-size, 1rem));display:inline-block}.aeris-drawer__close-icon{background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-drawer__maximize-icon:before{position:absolute;inset:.125rem;border:1.6px solid currentColor;border-radius:.1875rem;content:\"\"}.aeris-drawer__maximize-icon[data-maximized]:before{inset:.25rem .125rem .125rem .25rem}.aeris-drawer__maximize-icon[data-maximized]:after{position:absolute;inset:.125rem .25rem .25rem .125rem;border:1.6px solid currentColor;border-radius:.1875rem;background:var(--aeris-drawer-background, var(--aeris-surface, #fff));content:\"\"}.aeris-drawer__body{min-width:0;min-height:0;padding:var(--aeris-drawer-body-padding, 1.125rem);overflow:auto;color:var(--aeris-drawer-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.6}@media(max-width:42rem){.aeris-drawer__panel[data-position=left],.aeris-drawer__panel[data-position=right]{width:min(var(--aeris-drawer-mobile-width, var(--aeris-drawer-width, 24rem)),100vw)}.aeris-drawer__panel[data-position=top],.aeris-drawer__panel[data-position=bottom]{height:min(var(--aeris-drawer-mobile-height, var(--aeris-drawer-height, 20rem)),100vh);height:min(var(--aeris-drawer-mobile-height, var(--aeris-drawer-height, 20rem)),100dvh)}.aeris-drawer__panel[data-mobile-fullscreen]{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;border:0;border-radius:0}.aeris-drawer__header,.aeris-drawer__footer{padding-inline:.875rem}.aeris-drawer__body{padding:.875rem}}@media(prefers-reduced-motion:reduce){.aeris-drawer__overlay,.aeris-drawer__panel,.aeris-drawer__action{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: _AerisAppendTo, selector: "[aerisInternalAppendTo]", inputs: ["aerisInternalAppendTo", "aerisInternalAppendToAnchor", "aerisInternalAppendToOffset", "aerisInternalAppendToMatchWidth", "aerisInternalAppendToPlacement", "aerisInternalAppendToAlignment", "aerisInternalAppendToCollisionPadding", "aerisInternalAppendToPositionSelf"], outputs: ["aerisInternalAppendToOutside"] }] });
|
|
414
420
|
}
|
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDrawer, decorators: [{
|
|
416
422
|
type: Component,
|
|
417
|
-
args: [{ selector: 'aeris-drawer', imports: [NgTemplateOutlet], template: `
|
|
423
|
+
args: [{ selector: 'aeris-drawer', imports: [NgTemplateOutlet, _AerisAppendTo], template: `
|
|
418
424
|
@if (rendered()) {
|
|
419
425
|
<div
|
|
420
426
|
class="aeris-drawer__overlay"
|
|
427
|
+
[aerisInternalAppendTo]="appendTo()"
|
|
421
428
|
[attr.data-modal]="modal() || null"
|
|
422
429
|
[attr.data-backdrop]="backdrop() || null"
|
|
423
430
|
[attr.data-backdrop-blur]="backdrop() && backdropBlur() ? true : null"
|
|
@@ -531,8 +538,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
531
538
|
class: 'aeris-drawer',
|
|
532
539
|
'[attr.data-open]': 'visible() || null',
|
|
533
540
|
'[attr.data-block-scroll]': 'blockScroll() || null',
|
|
534
|
-
}, styles: [":host{--_aeris-drawer-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-drawer-color, var(--aeris-text, #222222));font:inherit}.aeris-drawer__overlay{position:fixed;z-index:var(--aeris-drawer-z-index, 1000);inset:0;display:grid;opacity:1;pointer-events:auto;transition:opacity .18s ease}.aeris-drawer__overlay[data-state=closed]{opacity:0;pointer-events:none}.aeris-drawer__overlay[data-backdrop]{background:var(--aeris-drawer-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-drawer__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-drawer__overlay[data-position=left]{justify-items:start}.aeris-drawer__overlay[data-position=right]{justify-items:end}.aeris-drawer__overlay[data-position=top]{align-items:start}.aeris-drawer__overlay[data-position=bottom]{align-items:end}.aeris-drawer__panel{box-sizing:border-box;width:min(var(--aeris-drawer-width, 24rem),var(--aeris-drawer-max-width, 100vw));height:100vh;height:100dvh;max-width:var(--aeris-drawer-max-width, 100vw);max-height:var(--aeris-drawer-max-height, 100vh);max-height:var(--aeris-drawer-max-height, 100dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-drawer-border, var(--aeris-border));background:var(--aeris-drawer-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-drawer-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;opacity:1;transform:translateZ(0);transition:transform .22s cubic-bezier(.2,0,0,1),opacity .18s ease;will-change:transform}.aeris-drawer__panel[data-state=closed]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=closed]{transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=closed]{transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=closed]{transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=closed]{transform:translate3d(0,100%,0)}@starting-style{.aeris-drawer__overlay[data-state=open]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=open]{opacity:0;transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=open]{opacity:0;transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=open]{opacity:0;transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=open]{opacity:0;transform:translate3d(0,100%,0)}}.aeris-drawer__panel:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:-4px}.aeris-drawer__panel[data-position=left]{border-radius:0 var(--aeris-drawer-radius, var(--aeris-radius-lg,
|
|
535
|
-
}], ctorParameters: () => [], propDecorators: { drawerPanel: [{ type: i0.ViewChild, args: ['drawerPanel', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerHeaderTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerFooterTemplate), { isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerCloseIconTemplate), { isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerHeadlessTemplate), { isSignal: true }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], maximized: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximized", required: false }] }, { type: i0.Output, args: ["maximizedChange"] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], backdropBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlur", required: false }] }], backdropBlurAmount: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlurAmount", required: false }] }], dismissibleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissibleMask", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], maximizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximizable", required: false }] }], blockScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "blockScroll", required: false }] }], focusTrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusTrap", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], initialFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFocus", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], mobileWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileWidth", required: false }] }], mobileHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileHeight", required: false }] }], mobileFullScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileFullScreen", required: false }] }], closeAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeAriaLabel", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }] } });
|
|
541
|
+
}, styles: [":host{--_aeris-drawer-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-drawer-color, var(--aeris-text, #222222));font:inherit}.aeris-drawer__overlay{position:fixed;z-index:var(--aeris-drawer-z-index, 1000);inset:0;display:grid;opacity:1;pointer-events:auto;transition:opacity .18s ease}.aeris-drawer__overlay[data-state=closed]{opacity:0;pointer-events:none}.aeris-drawer__overlay[data-backdrop]{background:var(--aeris-drawer-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-drawer__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-drawer-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-drawer__overlay[data-position=left]{justify-items:start}.aeris-drawer__overlay[data-position=right]{justify-items:end}.aeris-drawer__overlay[data-position=top]{align-items:start}.aeris-drawer__overlay[data-position=bottom]{align-items:end}.aeris-drawer__panel{box-sizing:border-box;width:min(var(--aeris-drawer-width, 24rem),var(--aeris-drawer-max-width, 100vw));height:100vh;height:100dvh;max-width:var(--aeris-drawer-max-width, 100vw);max-height:var(--aeris-drawer-max-height, 100vh);max-height:var(--aeris-drawer-max-height, 100dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-drawer-border, var(--aeris-border));background:var(--aeris-drawer-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-drawer-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;opacity:1;transform:translateZ(0);transition:transform .22s cubic-bezier(.2,0,0,1),opacity .18s ease;will-change:transform}.aeris-drawer__panel[data-state=closed]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=closed]{transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=closed]{transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=closed]{transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=closed]{transform:translate3d(0,100%,0)}@starting-style{.aeris-drawer__overlay[data-state=open]{opacity:0}.aeris-drawer__panel[data-position=left][data-state=open]{opacity:0;transform:translate3d(-100%,0,0)}.aeris-drawer__panel[data-position=right][data-state=open]{opacity:0;transform:translate3d(100%,0,0)}.aeris-drawer__panel[data-position=top][data-state=open]{opacity:0;transform:translate3d(0,-100%,0)}.aeris-drawer__panel[data-position=bottom][data-state=open]{opacity:0;transform:translate3d(0,100%,0)}}.aeris-drawer__panel:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:-4px}.aeris-drawer__panel[data-position=left]{border-radius:0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0;border-inline-start:0}.aeris-drawer__panel[data-position=right]{border-radius:var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0 0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));border-inline-end:0}.aeris-drawer__panel[data-position=top],.aeris-drawer__panel[data-position=bottom]{width:100vw;height:min(var(--aeris-drawer-height, 20rem),var(--aeris-drawer-max-height, 100vh));height:min(var(--aeris-drawer-height, 20rem),var(--aeris-drawer-max-height, 100dvh));max-width:100vw}.aeris-drawer__panel[data-position=top]{border-block-start:0;border-radius:0 0 var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)))}.aeris-drawer__panel[data-position=bottom]{border-block-end:0;border-radius:var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) var(--aeris-drawer-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem))) 0 0}.aeris-drawer__panel[data-size=sm][data-position=left],.aeris-drawer__panel[data-size=sm][data-position=right]{--aeris-drawer-width: 18rem}.aeris-drawer__panel[data-size=lg][data-position=left],.aeris-drawer__panel[data-size=lg][data-position=right]{--aeris-drawer-width: 32rem}.aeris-drawer__panel[data-size=full][data-position=left],.aeris-drawer__panel[data-size=full][data-position=right]{--aeris-drawer-width: 100vw}.aeris-drawer__panel[data-size=sm][data-position=top],.aeris-drawer__panel[data-size=sm][data-position=bottom]{--aeris-drawer-height: 14rem}.aeris-drawer__panel[data-size=lg][data-position=top],.aeris-drawer__panel[data-size=lg][data-position=bottom]{--aeris-drawer-height: 28rem}.aeris-drawer__panel[data-size=full][data-position=top],.aeris-drawer__panel[data-size=full][data-position=bottom]{--aeris-drawer-height: 100vh;--aeris-drawer-height: 100dvh}.aeris-drawer__panel[data-size=full],.aeris-drawer__panel[data-maximized]{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;border:0;border-radius:0}.aeris-drawer__panel[data-headless]{display:block}.aeris-drawer__header,.aeris-drawer__footer{min-width:0;display:flex;align-items:center;gap:.875rem;padding:var(--aeris-drawer-header-padding, 1rem 1.125rem);background:var(--aeris-drawer-header-background, var(--aeris-surface, #fff))}.aeris-drawer__header{border-bottom:1px solid var(--aeris-drawer-border, var(--aeris-border))}.aeris-drawer__footer{justify-content:flex-end;border-top:1px solid var(--aeris-drawer-border, var(--aeris-border))}.aeris-drawer__title{min-width:0;flex:1 1 auto;color:var(--aeris-drawer-title-color, var(--aeris-text, #222222));font-size:var(--aeris-drawer-title-size, 1rem);font-weight:750;line-height:1.35}.aeris-drawer__actions{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto}.aeris-drawer__action{width:2rem;height:2rem;display:inline-grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-sm, .4375rem);background:transparent;color:var(--aeris-drawer-icon-color, var(--aeris-text-2, #555555));cursor:pointer}.aeris-drawer__action:hover{background:var(--aeris-drawer-action-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-drawer-title-color, var(--aeris-text, #222222))}.aeris-drawer__action:focus-visible{outline:2px solid var(--aeris-drawer-focus, var(--aeris-focus, #3b4729));outline-offset:2px}.aeris-drawer__close-icon,.aeris-drawer__maximize-icon{position:relative;width:var(--_aeris-drawer-icon-size, var(--aeris-icon-size, 1rem));height:var(--_aeris-drawer-icon-size, var(--aeris-icon-size, 1rem));display:inline-block}.aeris-drawer__close-icon{background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-drawer__maximize-icon:before{position:absolute;inset:.125rem;border:1.6px solid currentColor;border-radius:.1875rem;content:\"\"}.aeris-drawer__maximize-icon[data-maximized]:before{inset:.25rem .125rem .125rem .25rem}.aeris-drawer__maximize-icon[data-maximized]:after{position:absolute;inset:.125rem .25rem .25rem .125rem;border:1.6px solid currentColor;border-radius:.1875rem;background:var(--aeris-drawer-background, var(--aeris-surface, #fff));content:\"\"}.aeris-drawer__body{min-width:0;min-height:0;padding:var(--aeris-drawer-body-padding, 1.125rem);overflow:auto;color:var(--aeris-drawer-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.6}@media(max-width:42rem){.aeris-drawer__panel[data-position=left],.aeris-drawer__panel[data-position=right]{width:min(var(--aeris-drawer-mobile-width, var(--aeris-drawer-width, 24rem)),100vw)}.aeris-drawer__panel[data-position=top],.aeris-drawer__panel[data-position=bottom]{height:min(var(--aeris-drawer-mobile-height, var(--aeris-drawer-height, 20rem)),100vh);height:min(var(--aeris-drawer-mobile-height, var(--aeris-drawer-height, 20rem)),100dvh)}.aeris-drawer__panel[data-mobile-fullscreen]{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;border:0;border-radius:0}.aeris-drawer__header,.aeris-drawer__footer{padding-inline:.875rem}.aeris-drawer__body{padding:.875rem}}@media(prefers-reduced-motion:reduce){.aeris-drawer__overlay,.aeris-drawer__panel,.aeris-drawer__action{transition:none}}\n"] }]
|
|
542
|
+
}], ctorParameters: () => [], propDecorators: { drawerPanel: [{ type: i0.ViewChild, args: ['drawerPanel', { isSignal: true }] }], overlayPortal: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _AerisAppendTo), { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerHeaderTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerFooterTemplate), { isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerCloseIconTemplate), { isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisDrawerHeadlessTemplate), { isSignal: true }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], maximized: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximized", required: false }] }, { type: i0.Output, args: ["maximizedChange"] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], backdropBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlur", required: false }] }], backdropBlurAmount: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlurAmount", required: false }] }], dismissibleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissibleMask", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], maximizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximizable", required: false }] }], blockScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "blockScroll", required: false }] }], focusTrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusTrap", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], initialFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFocus", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], mobileWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileWidth", required: false }] }], mobileHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileHeight", required: false }] }], mobileFullScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileFullScreen", required: false }] }], closeAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeAriaLabel", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }] } });
|
|
536
543
|
const AerisDrawerModule = [
|
|
537
544
|
AerisDrawer,
|
|
538
545
|
AerisDrawerHeaderTemplate,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-drawer.mjs","sources":["../../../projects/aeris-ui/drawer/aeris-drawer.ts","../../../projects/aeris-ui/drawer/aeris-ui-core-drawer.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n aerisInternalFocusInitialElement,\n aerisInternalTrapTabFocus,\n ɵisTopmostAerisOverlay,\n ɵlockAerisDocumentScroll,\n ɵregisterAerisOverlay,\n ɵunregisterAerisOverlay,\n ɵunlockAerisDocumentScroll,\n} from '@aeris-ui/core';\n\nexport type AerisDrawerCloseReason = 'api' | 'close-button' | 'escape' | 'mask';\nexport type AerisDrawerPosition = 'left' | 'right' | 'top' | 'bottom';\nexport type AerisDrawerSize = 'sm' | 'md' | 'lg' | 'full';\n\nexport interface AerisDrawerVisibilityChangeEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisDrawerCloseReason;\n}\n\nexport interface AerisDrawerTemplateContext {\n readonly $implicit: AerisDrawer;\n readonly close: (event?: Event) => void;\n readonly position: AerisDrawerPosition;\n readonly maximized: boolean;\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerHeader]' })\nexport class AerisDrawerHeaderTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerFooter]' })\nexport class AerisDrawerFooterTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerCloseIcon]' })\nexport class AerisDrawerCloseIconTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerHeadless]' })\nexport class AerisDrawerHeadlessTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\nlet nextDrawerId = 0;\nconst DRAWER_EXIT_DURATION_MS = 220;\nconst DRAWER_FOCUS_OPTIONS = {\n includeContentEditable: true,\n checkComputedVisibility: true,\n} as const;\n\n@Component({\n selector: 'aeris-drawer',\n imports: [NgTemplateOutlet],\n template: `\n @if (rendered()) {\n <div\n class=\"aeris-drawer__overlay\"\n [attr.data-modal]=\"modal() || null\"\n [attr.data-backdrop]=\"backdrop() || null\"\n [attr.data-backdrop-blur]=\"backdrop() && backdropBlur() ? true : null\"\n [style.--aeris-drawer-backdrop-blur]=\"backdropBlurAmount() || null\"\n [attr.data-position]=\"position()\"\n [attr.data-maximized]=\"maximized() || null\"\n [attr.data-state]=\"animationState()\"\n [attr.aria-hidden]=\"visible() ? null : 'true'\"\n [attr.inert]=\"visible() ? null : ''\"\n (pointerdown)=\"handleOverlayPointerdown($event)\"\n >\n <aside\n #drawerPanel\n class=\"aeris-drawer__panel\"\n role=\"dialog\"\n tabindex=\"-1\"\n [attr.aria-modal]=\"visible() ? modal() : null\"\n [attr.aria-label]=\"visible() && ariaLabel() ? ariaLabel() : null\"\n [attr.aria-labelledby]=\"visible() ? computedAriaLabelledBy() : null\"\n [attr.aria-describedby]=\"visible() && ariaDescribedBy() ? ariaDescribedBy() : null\"\n [attr.data-position]=\"position()\"\n [attr.data-size]=\"size()\"\n [attr.data-state]=\"animationState()\"\n [attr.data-headless]=\"headlessTemplate() ? true : null\"\n [attr.data-mobile-fullscreen]=\"mobileFullScreen() || null\"\n [attr.data-maximized]=\"maximized() || null\"\n [style.--aeris-drawer-width]=\"width() || null\"\n [style.--aeris-drawer-height]=\"height() || null\"\n [style.--aeris-drawer-max-width]=\"maxWidth() || null\"\n [style.--aeris-drawer-max-height]=\"maxHeight() || null\"\n [style.--aeris-drawer-mobile-width]=\"mobileWidth() || null\"\n [style.--aeris-drawer-mobile-height]=\"mobileHeight() || null\"\n (keydown)=\"handlePanelKeydown($event)\"\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-drawer__header\">\n <div class=\"aeris-drawer__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 (maximizable() || closable()) {\n <div class=\"aeris-drawer__actions\">\n @if (maximizable()) {\n <button\n type=\"button\"\n class=\"aeris-drawer__action\"\n [attr.aria-label]=\"maximized() ? 'Restore drawer size' : 'Maximize drawer'\"\n [attr.aria-pressed]=\"maximized()\"\n (click)=\"toggleMaximized()\"\n >\n <span\n class=\"aeris-drawer__maximize-icon\"\n [attr.data-maximized]=\"maximized() || null\"\n aria-hidden=\"true\"\n ></span>\n </button>\n }\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"aeris-drawer__action aeris-drawer__close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"hide($event, 'close-button')\"\n >\n @if (closeIconTemplate(); as closeIconTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"closeIconTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <span class=\"aeris-drawer__close-icon\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n }\n </header>\n }\n\n <div class=\"aeris-drawer__body\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as footerTemplateRef) {\n <footer class=\"aeris-drawer__footer\">\n <ng-container\n [ngTemplateOutlet]=\"footerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n </footer>\n }\n }\n </aside>\n </div>\n }\n `,\n styleUrl: './aeris-drawer.scss',\n host: {\n class: 'aeris-drawer',\n '[attr.data-open]': 'visible() || null',\n '[attr.data-block-scroll]': 'blockScroll() || null',\n },\n})\nexport class AerisDrawer {\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly overlayToken = {};\n private scrollLocked = false;\n private readonly previouslyFocused = signal<HTMLElement | null>(null);\n private previousVisible = false;\n private pendingOriginalEvent: Event | null = null;\n private pendingCloseReason: AerisDrawerCloseReason = 'api';\n private closeRenderTimer: ReturnType<typeof setTimeout> | undefined;\n\n protected readonly drawerPanel = viewChild<ElementRef<HTMLElement>>('drawerPanel');\n protected readonly rendered = signal(false);\n protected readonly animationState = computed(() => (this.visible() ? 'open' : 'closed'));\n protected readonly headerTemplate = contentChild(AerisDrawerHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisDrawerFooterTemplate);\n protected readonly closeIconTemplate = contentChild(AerisDrawerCloseIconTemplate);\n protected readonly headlessTemplate = contentChild(AerisDrawerHeadlessTemplate);\n protected readonly templateContext = computed<AerisDrawerTemplateContext>(() => ({\n $implicit: this,\n close: (event?: Event) => this.hide(event ?? null, 'api'),\n position: this.position(),\n maximized: this.maximized(),\n }));\n protected readonly hasHeader = computed(\n () => !!this.header() || !!this.headerTemplate() || this.closable() || this.maximizable(),\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\n readonly visible = model(false);\n readonly maximized = model(false);\n\n readonly header = input('');\n readonly position = input<AerisDrawerPosition>('right');\n readonly size = input<AerisDrawerSize>('md');\n readonly modal = input(true, { transform: booleanAttribute });\n readonly backdrop = input(true, { transform: booleanAttribute });\n readonly backdropBlur = input(true, { transform: booleanAttribute });\n readonly backdropBlurAmount = input('');\n readonly dismissibleMask = input(false, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closable = input(true, { transform: booleanAttribute });\n readonly maximizable = input(false, { transform: booleanAttribute });\n readonly blockScroll = input(true, { 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 width = input('');\n readonly height = input('');\n readonly maxWidth = input('');\n readonly maxHeight = input('');\n readonly mobileWidth = input('');\n readonly mobileHeight = input('');\n readonly mobileFullScreen = input(false, { transform: booleanAttribute });\n readonly closeAriaLabel = input('Close drawer');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n\n readonly shown = output<AerisDrawerVisibilityChangeEvent>();\n readonly hidden = output<AerisDrawerVisibilityChangeEvent>();\n readonly visibilityChanged = output<AerisDrawerVisibilityChangeEvent>();\n\n readonly id = `aeris-drawer-${nextDrawerId++}`;\n readonly titleId = `${this.id}-title`;\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.clearRenderTimer();\n ɵunregisterAerisOverlay(this.document, this.overlayToken);\n this.unlockScroll();\n });\n\n effect(() => {\n const visible = this.visible();\n if (visible === this.previousVisible) return;\n\n if (visible) {\n this.clearRenderTimer();\n this.rendered.set(true);\n this.handleShown();\n } else {\n this.handleHidden();\n this.scheduleRenderRemoval();\n }\n this.previousVisible = visible;\n });\n\n effect((onCleanup) => {\n if (!this.visible()) return;\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n this.document.addEventListener('keydown', keydown);\n onCleanup(() => this.document.removeEventListener('keydown', keydown));\n });\n }\n\n show(originalEvent: Event | null = null): void {\n if (this.visible()) return;\n this.previouslyFocused.set(this.activeHtmlElement());\n this.pendingOriginalEvent = originalEvent;\n this.visible.set(true);\n }\n\n hide(originalEvent: Event | null = null, reason: AerisDrawerCloseReason = 'api'): void {\n if (!this.visible()) return;\n this.pendingOriginalEvent = originalEvent;\n this.pendingCloseReason = reason;\n this.visible.set(false);\n }\n\n toggle(originalEvent: Event | null = null): void {\n if (this.visible()) {\n this.hide(originalEvent);\n } else {\n this.show(originalEvent);\n }\n }\n\n focus(options?: FocusOptions): void {\n this.focusInitial(options);\n }\n\n toggleMaximized(): void {\n this.maximized.update((value) => !value);\n }\n\n maximize(): void {\n this.maximized.set(true);\n }\n\n restore(): void {\n this.maximized.set(false);\n }\n\n protected handlePanelKeydown(event: KeyboardEvent): void {\n if (!this.visible()) return;\n if (event.key !== 'Tab' || !this.focusTrap()) return;\n this.trapTab(event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (\n !this.visible() ||\n event.key !== 'Escape' ||\n !this.closeOnEscape() ||\n !ɵisTopmostAerisOverlay(this.document, this.overlayToken)\n )\n return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected handleOverlayPointerdown(event: PointerEvent): void {\n if (!this.visible()) return;\n if (!this.dismissibleMask() || event.target !== event.currentTarget) return;\n this.hide(event, 'mask');\n }\n\n private scheduleRenderRemoval(): void {\n this.clearRenderTimer();\n this.closeRenderTimer = globalThis.setTimeout(() => {\n if (!this.visible()) {\n this.rendered.set(false);\n }\n this.closeRenderTimer = undefined;\n }, DRAWER_EXIT_DURATION_MS);\n }\n\n private clearRenderTimer(): void {\n if (!this.closeRenderTimer) return;\n globalThis.clearTimeout(this.closeRenderTimer);\n this.closeRenderTimer = undefined;\n }\n\n private handleShown(): void {\n this.previouslyFocused.set(this.activeHtmlElement());\n ɵregisterAerisOverlay(this.document, this.overlayToken);\n this.lockScroll();\n const event = this.visibilityEvent(true, 'api', this.pendingOriginalEvent);\n this.pendingOriginalEvent = null;\n this.shown.emit(event);\n this.visibilityChanged.emit(event);\n if (!this.autoFocus()) return;\n queueMicrotask(() => this.focusInitial());\n }\n\n private handleHidden(): void {\n const restoreFocus = ɵisTopmostAerisOverlay(this.document, this.overlayToken);\n ɵunregisterAerisOverlay(this.document, this.overlayToken);\n this.unlockScroll();\n const event = this.visibilityEvent(false, this.pendingCloseReason, this.pendingOriginalEvent);\n this.pendingOriginalEvent = null;\n this.pendingCloseReason = 'api';\n this.hidden.emit(event);\n this.visibilityChanged.emit(event);\n if (!this.restoreFocus() || !restoreFocus) return;\n queueMicrotask(() => this.previouslyFocused()?.focus());\n }\n\n private lockScroll(): void {\n if (!this.modal() || !this.blockScroll() || this.scrollLocked) return;\n ɵlockAerisDocumentScroll(this.document);\n this.scrollLocked = true;\n }\n\n private unlockScroll(): void {\n if (!this.scrollLocked) return;\n ɵunlockAerisDocumentScroll(this.document);\n this.scrollLocked = false;\n }\n\n private focusInitial(options?: FocusOptions): void {\n const panel = this.drawerPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalFocusInitialElement(panel, this.initialFocus(), options, DRAWER_FOCUS_OPTIONS);\n }\n\n private trapTab(event: KeyboardEvent): void {\n const panel = this.drawerPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement(), DRAWER_FOCUS_OPTIONS);\n }\n\n private activeHtmlElement(): HTMLElement | null {\n const active = this.document.activeElement;\n return active instanceof HTMLElement ? active : null;\n }\n\n private visibilityEvent(\n visible: boolean,\n reason: AerisDrawerCloseReason,\n originalEvent: Event | null,\n ): AerisDrawerVisibilityChangeEvent {\n return { originalEvent, visible, reason };\n }\n}\n\nexport const AerisDrawerModule = [\n AerisDrawer,\n AerisDrawerHeaderTemplate,\n AerisDrawerFooterTemplate,\n AerisDrawerCloseIconTemplate,\n AerisDrawerHeadlessTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵunregisterAerisOverlay","ɵisTopmostAerisOverlay","ɵregisterAerisOverlay","ɵlockAerisDocumentScroll","ɵunlockAerisDocumentScroll"],"mappings":";;;;;MA8Ca,yBAAyB,CAAA;AAC3B,IAAA,QAAQ,GAAG,MAAM,CAA0C,WAAW,CAAC;uGADrE,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,gCAAgC,EAAE;;MAM5C,yBAAyB,CAAA;AAC3B,IAAA,QAAQ,GAAG,MAAM,CAA0C,WAAW,CAAC;uGADrE,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,gCAAgC,EAAE;;MAM5C,4BAA4B,CAAA;AAC9B,IAAA,QAAQ,GAAG,MAAM,CAA0C,WAAW,CAAC;uGADrE,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA5B,4BAA4B,EAAA,UAAA,E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EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AAkOzE,MAAM,iBAAiB,GAAG;IAC/B,WAAW;IACX,yBAAyB;IACzB,yBAAyB;IACzB,4BAA4B;IAC5B,2BAA2B;;;AC5b7B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-drawer.mjs","sources":["../../../projects/aeris-ui/drawer/aeris-drawer.ts","../../../projects/aeris-ui/drawer/aeris-ui-core-drawer.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport {\n ɵAerisAppendTo,\n aerisInternalFocusInitialElement,\n aerisInternalTrapTabFocus,\n ɵisTopmostAerisOverlay,\n ɵlockAerisDocumentScroll,\n ɵregisterAerisOverlay,\n ɵunregisterAerisOverlay,\n ɵunlockAerisDocumentScroll,\n type AerisAppendTo,\n} from '@aeris-ui/core';\n\nexport type AerisDrawerCloseReason = 'api' | 'close-button' | 'escape' | 'mask';\nexport type AerisDrawerPosition = 'left' | 'right' | 'top' | 'bottom';\nexport type AerisDrawerSize = 'sm' | 'md' | 'lg' | 'full';\n\nexport interface AerisDrawerVisibilityChangeEvent {\n readonly originalEvent: Event | null;\n readonly visible: boolean;\n readonly reason: AerisDrawerCloseReason;\n}\n\nexport interface AerisDrawerTemplateContext {\n readonly $implicit: AerisDrawer;\n readonly close: (event?: Event) => void;\n readonly position: AerisDrawerPosition;\n readonly maximized: boolean;\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerHeader]' })\nexport class AerisDrawerHeaderTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerFooter]' })\nexport class AerisDrawerFooterTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerCloseIcon]' })\nexport class AerisDrawerCloseIconTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisDrawerHeadless]' })\nexport class AerisDrawerHeadlessTemplate {\n readonly template = inject<TemplateRef<AerisDrawerTemplateContext>>(TemplateRef);\n}\n\nlet nextDrawerId = 0;\nconst DRAWER_EXIT_DURATION_MS = 220;\nconst DRAWER_FOCUS_OPTIONS = {\n includeContentEditable: true,\n checkComputedVisibility: true,\n} as const;\n\n@Component({\n selector: 'aeris-drawer',\n imports: [NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n @if (rendered()) {\n <div\n class=\"aeris-drawer__overlay\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [attr.data-modal]=\"modal() || null\"\n [attr.data-backdrop]=\"backdrop() || null\"\n [attr.data-backdrop-blur]=\"backdrop() && backdropBlur() ? true : null\"\n [style.--aeris-drawer-backdrop-blur]=\"backdropBlurAmount() || null\"\n [attr.data-position]=\"position()\"\n [attr.data-maximized]=\"maximized() || null\"\n [attr.data-state]=\"animationState()\"\n [attr.aria-hidden]=\"visible() ? null : 'true'\"\n [attr.inert]=\"visible() ? null : ''\"\n (pointerdown)=\"handleOverlayPointerdown($event)\"\n >\n <aside\n #drawerPanel\n class=\"aeris-drawer__panel\"\n role=\"dialog\"\n tabindex=\"-1\"\n [attr.aria-modal]=\"visible() ? modal() : null\"\n [attr.aria-label]=\"visible() && ariaLabel() ? ariaLabel() : null\"\n [attr.aria-labelledby]=\"visible() ? computedAriaLabelledBy() : null\"\n [attr.aria-describedby]=\"visible() && ariaDescribedBy() ? ariaDescribedBy() : null\"\n [attr.data-position]=\"position()\"\n [attr.data-size]=\"size()\"\n [attr.data-state]=\"animationState()\"\n [attr.data-headless]=\"headlessTemplate() ? true : null\"\n [attr.data-mobile-fullscreen]=\"mobileFullScreen() || null\"\n [attr.data-maximized]=\"maximized() || null\"\n [style.--aeris-drawer-width]=\"width() || null\"\n [style.--aeris-drawer-height]=\"height() || null\"\n [style.--aeris-drawer-max-width]=\"maxWidth() || null\"\n [style.--aeris-drawer-max-height]=\"maxHeight() || null\"\n [style.--aeris-drawer-mobile-width]=\"mobileWidth() || null\"\n [style.--aeris-drawer-mobile-height]=\"mobileHeight() || null\"\n (keydown)=\"handlePanelKeydown($event)\"\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-drawer__header\">\n <div class=\"aeris-drawer__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 (maximizable() || closable()) {\n <div class=\"aeris-drawer__actions\">\n @if (maximizable()) {\n <button\n type=\"button\"\n class=\"aeris-drawer__action\"\n [attr.aria-label]=\"maximized() ? 'Restore drawer size' : 'Maximize drawer'\"\n [attr.aria-pressed]=\"maximized()\"\n (click)=\"toggleMaximized()\"\n >\n <span\n class=\"aeris-drawer__maximize-icon\"\n [attr.data-maximized]=\"maximized() || null\"\n aria-hidden=\"true\"\n ></span>\n </button>\n }\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"aeris-drawer__action aeris-drawer__close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"hide($event, 'close-button')\"\n >\n @if (closeIconTemplate(); as closeIconTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"closeIconTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <span class=\"aeris-drawer__close-icon\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n }\n </header>\n }\n\n <div class=\"aeris-drawer__body\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as footerTemplateRef) {\n <footer class=\"aeris-drawer__footer\">\n <ng-container\n [ngTemplateOutlet]=\"footerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n </footer>\n }\n }\n </aside>\n </div>\n }\n `,\n styleUrl: './aeris-drawer.scss',\n host: {\n class: 'aeris-drawer',\n '[attr.data-open]': 'visible() || null',\n '[attr.data-block-scroll]': 'blockScroll() || null',\n },\n})\nexport class AerisDrawer {\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly overlayToken = {};\n private scrollLocked = false;\n private readonly previouslyFocused = signal<HTMLElement | null>(null);\n private previousVisible = false;\n private pendingOriginalEvent: Event | null = null;\n private pendingCloseReason: AerisDrawerCloseReason = 'api';\n private closeRenderTimer: ReturnType<typeof setTimeout> | undefined;\n\n protected readonly drawerPanel = viewChild<ElementRef<HTMLElement>>('drawerPanel');\n private readonly overlayPortal = viewChild(ɵAerisAppendTo);\n protected readonly rendered = signal(false);\n protected readonly animationState = computed(() => (this.visible() ? 'open' : 'closed'));\n protected readonly headerTemplate = contentChild(AerisDrawerHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisDrawerFooterTemplate);\n protected readonly closeIconTemplate = contentChild(AerisDrawerCloseIconTemplate);\n protected readonly headlessTemplate = contentChild(AerisDrawerHeadlessTemplate);\n protected readonly templateContext = computed<AerisDrawerTemplateContext>(() => ({\n $implicit: this,\n close: (event?: Event) => this.hide(event ?? null, 'api'),\n position: this.position(),\n maximized: this.maximized(),\n }));\n protected readonly hasHeader = computed(\n () => !!this.header() || !!this.headerTemplate() || this.closable() || this.maximizable(),\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\n readonly visible = model(false);\n readonly maximized = model(false);\n\n readonly header = input('');\n readonly appendTo = input<AerisAppendTo>('body');\n readonly position = input<AerisDrawerPosition>('right');\n readonly size = input<AerisDrawerSize>('md');\n readonly modal = input(true, { transform: booleanAttribute });\n readonly backdrop = input(true, { transform: booleanAttribute });\n readonly backdropBlur = input(true, { transform: booleanAttribute });\n readonly backdropBlurAmount = input('');\n readonly dismissibleMask = input(false, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closable = input(true, { transform: booleanAttribute });\n readonly maximizable = input(false, { transform: booleanAttribute });\n readonly blockScroll = input(true, { 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 width = input('');\n readonly height = input('');\n readonly maxWidth = input('');\n readonly maxHeight = input('');\n readonly mobileWidth = input('');\n readonly mobileHeight = input('');\n readonly mobileFullScreen = input(false, { transform: booleanAttribute });\n readonly closeAriaLabel = input('Close drawer');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n\n readonly shown = output<AerisDrawerVisibilityChangeEvent>();\n readonly hidden = output<AerisDrawerVisibilityChangeEvent>();\n readonly visibilityChanged = output<AerisDrawerVisibilityChangeEvent>();\n\n readonly id = `aeris-drawer-${nextDrawerId++}`;\n readonly titleId = `${this.id}-title`;\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.clearRenderTimer();\n ɵunregisterAerisOverlay(this.document, this.overlayToken);\n this.unlockScroll();\n });\n\n effect(() => {\n const visible = this.visible();\n if (visible === this.previousVisible) return;\n\n if (visible) {\n this.clearRenderTimer();\n this.rendered.set(true);\n this.handleShown();\n } else {\n this.handleHidden();\n this.scheduleRenderRemoval();\n }\n this.previousVisible = visible;\n });\n\n effect((onCleanup) => {\n if (!this.visible()) return;\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n this.document.addEventListener('keydown', keydown);\n onCleanup(() => this.document.removeEventListener('keydown', keydown));\n });\n }\n\n show(originalEvent: Event | null = null): void {\n if (this.visible()) return;\n this.previouslyFocused.set(this.activeHtmlElement());\n this.pendingOriginalEvent = originalEvent;\n this.visible.set(true);\n }\n\n hide(originalEvent: Event | null = null, reason: AerisDrawerCloseReason = 'api'): void {\n if (!this.visible()) return;\n this.pendingOriginalEvent = originalEvent;\n this.pendingCloseReason = reason;\n this.visible.set(false);\n }\n\n toggle(originalEvent: Event | null = null): void {\n if (this.visible()) {\n this.hide(originalEvent);\n } else {\n this.show(originalEvent);\n }\n }\n\n focus(options?: FocusOptions): void {\n this.focusInitial(options);\n }\n\n toggleMaximized(): void {\n this.maximized.update((value) => !value);\n }\n\n maximize(): void {\n this.maximized.set(true);\n }\n\n restore(): void {\n this.maximized.set(false);\n }\n\n protected handlePanelKeydown(event: KeyboardEvent): void {\n if (!this.visible()) return;\n if (event.key !== 'Tab' || !this.focusTrap()) return;\n this.trapTab(event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (\n !this.visible() ||\n event.key !== 'Escape' ||\n !this.closeOnEscape() ||\n !ɵisTopmostAerisOverlay(this.document, this.overlayToken)\n )\n return;\n event.preventDefault();\n this.hide(event, 'escape');\n }\n\n protected handleOverlayPointerdown(event: PointerEvent): void {\n if (!this.visible()) return;\n if (!this.dismissibleMask() || event.target !== event.currentTarget) return;\n this.hide(event, 'mask');\n }\n\n private scheduleRenderRemoval(): void {\n this.clearRenderTimer();\n this.closeRenderTimer = globalThis.setTimeout(() => {\n if (!this.visible()) {\n this.overlayPortal()?.restore();\n this.rendered.set(false);\n }\n this.closeRenderTimer = undefined;\n }, DRAWER_EXIT_DURATION_MS);\n }\n\n private clearRenderTimer(): void {\n if (!this.closeRenderTimer) return;\n globalThis.clearTimeout(this.closeRenderTimer);\n this.closeRenderTimer = undefined;\n }\n\n private handleShown(): void {\n this.previouslyFocused.set(this.activeHtmlElement());\n ɵregisterAerisOverlay(this.document, this.overlayToken);\n this.lockScroll();\n const event = this.visibilityEvent(true, 'api', this.pendingOriginalEvent);\n this.pendingOriginalEvent = null;\n this.shown.emit(event);\n this.visibilityChanged.emit(event);\n if (!this.autoFocus()) return;\n queueMicrotask(() => this.focusInitial());\n }\n\n private handleHidden(): void {\n const restoreFocus = ɵisTopmostAerisOverlay(this.document, this.overlayToken);\n ɵunregisterAerisOverlay(this.document, this.overlayToken);\n this.unlockScroll();\n const event = this.visibilityEvent(false, this.pendingCloseReason, this.pendingOriginalEvent);\n this.pendingOriginalEvent = null;\n this.pendingCloseReason = 'api';\n this.hidden.emit(event);\n this.visibilityChanged.emit(event);\n if (!this.restoreFocus() || !restoreFocus) return;\n queueMicrotask(() => this.previouslyFocused()?.focus());\n }\n\n private lockScroll(): void {\n if (!this.modal() || !this.blockScroll() || this.scrollLocked) return;\n ɵlockAerisDocumentScroll(this.document);\n this.scrollLocked = true;\n }\n\n private unlockScroll(): void {\n if (!this.scrollLocked) return;\n ɵunlockAerisDocumentScroll(this.document);\n this.scrollLocked = false;\n }\n\n private focusInitial(options?: FocusOptions): void {\n const panel = this.drawerPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalFocusInitialElement(panel, this.initialFocus(), options, DRAWER_FOCUS_OPTIONS);\n }\n\n private trapTab(event: KeyboardEvent): void {\n const panel = this.drawerPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement(), DRAWER_FOCUS_OPTIONS);\n }\n\n private activeHtmlElement(): HTMLElement | null {\n const active = this.document.activeElement;\n return active instanceof HTMLElement ? active : null;\n }\n\n private visibilityEvent(\n visible: boolean,\n reason: AerisDrawerCloseReason,\n originalEvent: Event | null,\n ): AerisDrawerVisibilityChangeEvent {\n return { originalEvent, visible, reason };\n }\n}\n\nexport const AerisDrawerModule = [\n AerisDrawer,\n AerisDrawerHeaderTemplate,\n AerisDrawerFooterTemplate,\n AerisDrawerCloseIconTemplate,\n AerisDrawerHeadlessTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo","ɵunregisterAerisOverlay","ɵisTopmostAerisOverlay","ɵregisterAerisOverlay","ɵlockAerisDocumentScroll","ɵunlockAerisDocumentScroll"],"mappings":";;;;;MAgDa,yBAAyB,CAAA;AAC3B,IAAA,QAAQ,GAAG,MAAM,CAA0C,WAAW,CAAC;uGADrE,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,gCAAgC,EAAE;;MAM5C,yBAAyB,CAAA;AAC3B,IAAA,QAAQ,GAAG,MAAM,CAA0C,WAAW,CAAC;uGADrE,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA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A,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AAoOzE,MAAM,iBAAiB,GAAG;IAC/B,WAAW;IACX,yBAAyB;IACzB,yBAAyB;IACzB,4BAA4B;IAC5B,2BAA2B;;;AClc7B;;AAEG;;;;"}
|
|
@@ -125,10 +125,11 @@ class AerisDynamicDialogHost {
|
|
|
125
125
|
result: this.closeResult,
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDynamicDialogHost, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.3", type: AerisDynamicDialogHost, isStandalone: true, selector: "aeris-dynamic-dialog-host", inputs: { componentType: { classPropertyName: "componentType", publicName: "componentType", isSignal: true, isRequired: true, transformFunction: null }, contentInjector: { classPropertyName: "contentInjector", publicName: "contentInjector", isSignal: true, isRequired: true, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null }, dialogRef: { classPropertyName: "dialogRef", publicName: "dialogRef", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "aeris-dynamic-dialog-host" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
130
130
|
<aeris-dialog
|
|
131
131
|
#dialog
|
|
132
|
+
[appendTo]="settings().appendTo"
|
|
132
133
|
[header]="settings().header"
|
|
133
134
|
[modal]="settings().modal"
|
|
134
135
|
[backdrop]="settings().backdrop"
|
|
@@ -168,9 +169,9 @@ class AerisDynamicDialogHost {
|
|
|
168
169
|
[ngComponentOutletInjector]="contentInjector()"
|
|
169
170
|
/>
|
|
170
171
|
</aeris-dialog>
|
|
171
|
-
`, isInline: true, dependencies: [{ kind: "component", type: AerisDialog, selector: "aeris-dialog", inputs: ["visible", "maximized", "header", "role", "modal", "backdrop", "backdropBlur", "backdropBlurAmount", "dismissibleMask", "closeOnEscape", "closable", "maximizable", "draggable", "resizable", "blockScroll", "focusTrap", "restoreFocus", "autoFocus", "initialFocus", "position", "size", "width", "minWidth", "maxWidth", "height", "maxHeight", "mobileWidth", "closeAriaLabel", "ariaLabel", "ariaLabelledBy", "ariaDescribedBy"], outputs: ["visibleChange", "maximizedChange", "shown", "hidden", "visibilityChanged"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
|
|
172
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AerisDialog, selector: "aeris-dialog", inputs: ["visible", "maximized", "header", "appendTo", "role", "modal", "backdrop", "backdropBlur", "backdropBlurAmount", "dismissibleMask", "closeOnEscape", "closable", "maximizable", "draggable", "resizable", "blockScroll", "focusTrap", "restoreFocus", "autoFocus", "initialFocus", "position", "size", "width", "minWidth", "maxWidth", "height", "maxHeight", "mobileWidth", "closeAriaLabel", "ariaLabel", "ariaLabelledBy", "ariaDescribedBy"], outputs: ["visibleChange", "maximizedChange", "shown", "hidden", "visibilityChanged"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
|
|
172
173
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDynamicDialogHost, decorators: [{
|
|
174
175
|
type: Component,
|
|
175
176
|
args: [{
|
|
176
177
|
selector: 'aeris-dynamic-dialog-host',
|
|
@@ -178,6 +179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
178
179
|
template: `
|
|
179
180
|
<aeris-dialog
|
|
180
181
|
#dialog
|
|
182
|
+
[appendTo]="settings().appendTo"
|
|
181
183
|
[header]="settings().header"
|
|
182
184
|
[modal]="settings().modal"
|
|
183
185
|
[backdrop]="settings().backdrop"
|
|
@@ -281,6 +283,7 @@ class AerisDynamicDialogService {
|
|
|
281
283
|
resolveConfig(config) {
|
|
282
284
|
return {
|
|
283
285
|
header: config.header ?? '',
|
|
286
|
+
appendTo: config.appendTo ?? 'body',
|
|
284
287
|
data: config.data,
|
|
285
288
|
inputValues: config.inputValues ?? {},
|
|
286
289
|
modal: config.modal ?? true,
|
|
@@ -317,10 +320,10 @@ class AerisDynamicDialogService {
|
|
|
317
320
|
const [node] = hostRef.hostView.rootNodes;
|
|
318
321
|
return node instanceof Node ? node : this.document.createTextNode('');
|
|
319
322
|
}
|
|
320
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
321
|
-
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.
|
|
323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDynamicDialogService, deps: [], target: i0.ɵɵFactoryTarget.Service });
|
|
324
|
+
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.3", ngImport: i0, type: AerisDynamicDialogService });
|
|
322
325
|
}
|
|
323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AerisDynamicDialogService, decorators: [{
|
|
324
327
|
type: Service
|
|
325
328
|
}] });
|
|
326
329
|
const AerisDynamicDialogModule = [AerisDynamicDialogHost];
|