@aeris-ui/core 22.0.0-alpha.8 → 22.0.0-alpha.9
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 +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1171 -428
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +205 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +547 -177
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +730 -110
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +690 -353
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +915 -423
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +432 -135
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1313 -683
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +819 -310
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1392 -551
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1447 -744
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +900 -450
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1656 -863
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1066 -355
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1002 -326
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +402 -249
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +934 -572
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1313 -511
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +672 -170
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +1987 -797
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -106
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -114
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +650 -248
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +902 -334
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +667 -253
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +618 -152
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +601 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1032 -495
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +960 -491
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +587 -196
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1550 -552
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +518 -202
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +455 -177
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +329 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +894 -247
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +892 -386
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +545 -177
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +386 -119
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +502 -225
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +204 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1794 -643
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +868 -404
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +800 -329
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +880 -270
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +1984 -865
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +686 -324
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +846 -212
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1256 -1423
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -147
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +885 -465
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +855 -615
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +390 -127
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +623 -345
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1356 -601
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2001 -942
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1103 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +861 -842
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/aeris-ui-core-accordion.d.ts +166 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +71 -31
- package/types/aeris-ui-core-auto-complete.d.ts +326 -149
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -47
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +162 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -64
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +197 -117
- package/types/aeris-ui-core-cascade-select.d.ts +252 -131
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -55
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-color-picker.d.ts +347 -150
- package/types/aeris-ui-core-compare.d.ts +224 -101
- package/types/aeris-ui-core-confirm-dialog.d.ts +441 -249
- package/types/aeris-ui-core-confirm-popup.d.ts +440 -268
- package/types/aeris-ui-core-context-menu.d.ts +262 -150
- package/types/aeris-ui-core-date-picker.d.ts +488 -226
- package/types/aeris-ui-core-dialog.d.ts +288 -121
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -116
- package/types/aeris-ui-core-dynamic-dialog.d.ts +157 -140
- package/types/aeris-ui-core-editor.d.ts +243 -124
- package/types/aeris-ui-core-file-upload.d.ts +366 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +158 -62
- package/types/aeris-ui-core-galleria.d.ts +589 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -34
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -35
- package/types/aeris-ui-core-input-mask.d.ts +194 -71
- package/types/aeris-ui-core-input-number.d.ts +272 -90
- package/types/aeris-ui-core-input-otp.d.ts +190 -82
- package/types/aeris-ui-core-input-text.d.ts +185 -62
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +174 -123
- package/types/aeris-ui-core-menu.d.ts +275 -172
- package/types/aeris-ui-core-menubar.d.ts +272 -160
- package/types/aeris-ui-core-message.d.ts +132 -61
- package/types/aeris-ui-core-meter-group.d.ts +162 -90
- package/types/aeris-ui-core-multi-select.d.ts +435 -187
- package/types/aeris-ui-core-order-list.d.ts +143 -66
- package/types/aeris-ui-core-organization-chart.d.ts +132 -77
- package/types/aeris-ui-core-paginator.d.ts +92 -46
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +257 -108
- package/types/aeris-ui-core-pick-list.d.ts +373 -179
- package/types/aeris-ui-core-popover.d.ts +218 -107
- package/types/aeris-ui-core-progress-bar.d.ts +156 -74
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -51
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +64 -29
- package/types/aeris-ui-core-select.d.ts +474 -226
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -116
- package/types/aeris-ui-core-speed-dial.d.ts +240 -112
- package/types/aeris-ui-core-split-button.d.ts +264 -121
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +183 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +595 -308
- package/types/aeris-ui-core-tabs.d.ts +163 -90
- package/types/aeris-ui-core-textarea.d.ts +261 -81
- package/types/aeris-ui-core-theme-builder.d.ts +463 -475
- package/types/aeris-ui-core-theming.d.ts +42 -49
- package/types/aeris-ui-core-tiered-menu.d.ts +249 -147
- package/types/aeris-ui-core-timeline.d.ts +108 -71
- package/types/aeris-ui-core-toast.d.ts +219 -155
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -52
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -92
- package/types/aeris-ui-core-tree-select.d.ts +359 -179
- package/types/aeris-ui-core-tree-table.d.ts +565 -290
- package/types/aeris-ui-core-tree.d.ts +269 -165
- package/types/aeris-ui-core.d.ts +161 -125
|
@@ -1,339 +1,708 @@
|
|
|
1
|
-
import { DOCUMENT, NgTemplateOutlet } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, DestroyRef, Directive, TemplateRef, booleanAttribute, computed, contentChild, effect, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { aerisInternalFocusInitialElement, aerisInternalTrapTabFocus, ɵAerisAppendTo, ɵisTopmostAerisOverlay, ɵlockAerisDocumentScroll, ɵregisterAerisOverlay, ɵunlockAerisDocumentScroll, ɵunregisterAerisOverlay } from "@aeris-ui/core";
|
|
5
|
+
var AerisDialogHeaderTemplate = class AerisDialogHeaderTemplate {
|
|
6
|
+
template = inject(TemplateRef);
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8
|
+
minVersion: "12.0.0",
|
|
9
|
+
version: "22.2.1",
|
|
10
|
+
ngImport: i0,
|
|
11
|
+
type: AerisDialogHeaderTemplate,
|
|
12
|
+
deps: [],
|
|
13
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
14
|
+
});
|
|
15
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
16
|
+
minVersion: "14.0.0",
|
|
17
|
+
version: "22.2.1",
|
|
18
|
+
type: AerisDialogHeaderTemplate,
|
|
19
|
+
isStandalone: true,
|
|
20
|
+
selector: "ng-template[aerisDialogHeader]",
|
|
21
|
+
ngImport: i0
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
25
|
+
minVersion: "12.0.0",
|
|
26
|
+
version: "22.2.1",
|
|
27
|
+
ngImport: i0,
|
|
28
|
+
type: AerisDialogHeaderTemplate,
|
|
29
|
+
decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{ selector: "ng-template[aerisDialogHeader]" }]
|
|
32
|
+
}]
|
|
33
|
+
});
|
|
34
|
+
var AerisDialogFooterTemplate = class AerisDialogFooterTemplate {
|
|
35
|
+
template = inject(TemplateRef);
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
37
|
+
minVersion: "12.0.0",
|
|
38
|
+
version: "22.2.1",
|
|
39
|
+
ngImport: i0,
|
|
40
|
+
type: AerisDialogFooterTemplate,
|
|
41
|
+
deps: [],
|
|
42
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
43
|
+
});
|
|
44
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
45
|
+
minVersion: "14.0.0",
|
|
46
|
+
version: "22.2.1",
|
|
47
|
+
type: AerisDialogFooterTemplate,
|
|
48
|
+
isStandalone: true,
|
|
49
|
+
selector: "ng-template[aerisDialogFooter]",
|
|
50
|
+
ngImport: i0
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
54
|
+
minVersion: "12.0.0",
|
|
55
|
+
version: "22.2.1",
|
|
56
|
+
ngImport: i0,
|
|
57
|
+
type: AerisDialogFooterTemplate,
|
|
58
|
+
decorators: [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{ selector: "ng-template[aerisDialogFooter]" }]
|
|
61
|
+
}]
|
|
62
|
+
});
|
|
63
|
+
var AerisDialogCloseIconTemplate = class AerisDialogCloseIconTemplate {
|
|
64
|
+
template = inject(TemplateRef);
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
66
|
+
minVersion: "12.0.0",
|
|
67
|
+
version: "22.2.1",
|
|
68
|
+
ngImport: i0,
|
|
69
|
+
type: AerisDialogCloseIconTemplate,
|
|
70
|
+
deps: [],
|
|
71
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
72
|
+
});
|
|
73
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
74
|
+
minVersion: "14.0.0",
|
|
75
|
+
version: "22.2.1",
|
|
76
|
+
type: AerisDialogCloseIconTemplate,
|
|
77
|
+
isStandalone: true,
|
|
78
|
+
selector: "ng-template[aerisDialogCloseIcon]",
|
|
79
|
+
ngImport: i0
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
83
|
+
minVersion: "12.0.0",
|
|
84
|
+
version: "22.2.1",
|
|
85
|
+
ngImport: i0,
|
|
86
|
+
type: AerisDialogCloseIconTemplate,
|
|
87
|
+
decorators: [{
|
|
88
|
+
type: Directive,
|
|
89
|
+
args: [{ selector: "ng-template[aerisDialogCloseIcon]" }]
|
|
90
|
+
}]
|
|
91
|
+
});
|
|
92
|
+
var AerisDialogHeadlessTemplate = class AerisDialogHeadlessTemplate {
|
|
93
|
+
template = inject(TemplateRef);
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
95
|
+
minVersion: "12.0.0",
|
|
96
|
+
version: "22.2.1",
|
|
97
|
+
ngImport: i0,
|
|
98
|
+
type: AerisDialogHeadlessTemplate,
|
|
99
|
+
deps: [],
|
|
100
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
101
|
+
});
|
|
102
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
103
|
+
minVersion: "14.0.0",
|
|
104
|
+
version: "22.2.1",
|
|
105
|
+
type: AerisDialogHeadlessTemplate,
|
|
106
|
+
isStandalone: true,
|
|
107
|
+
selector: "ng-template[aerisDialogHeadless]",
|
|
108
|
+
ngImport: i0
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
112
|
+
minVersion: "12.0.0",
|
|
113
|
+
version: "22.2.1",
|
|
114
|
+
ngImport: i0,
|
|
115
|
+
type: AerisDialogHeadlessTemplate,
|
|
116
|
+
decorators: [{
|
|
117
|
+
type: Directive,
|
|
118
|
+
args: [{ selector: "ng-template[aerisDialogHeadless]" }]
|
|
119
|
+
}]
|
|
120
|
+
});
|
|
42
121
|
let nextDialogId = 0;
|
|
43
122
|
const DIALOG_FOCUS_OPTIONS = {
|
|
44
|
-
|
|
45
|
-
|
|
123
|
+
includeContentEditable: true,
|
|
124
|
+
checkComputedVisibility: true
|
|
46
125
|
};
|
|
47
|
-
class AerisDialog {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
126
|
+
var AerisDialog = class AerisDialog {
|
|
127
|
+
document = inject(DOCUMENT);
|
|
128
|
+
destroyRef = inject(DestroyRef);
|
|
129
|
+
overlayToken = {};
|
|
130
|
+
scrollLocked = false;
|
|
131
|
+
previouslyFocused = signal(null, ...ngDevMode ? [{ debugName: "previouslyFocused" }] : /* istanbul ignore next */ []);
|
|
132
|
+
dragging = signal(null, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
|
|
133
|
+
previousVisible = false;
|
|
134
|
+
pendingOriginalEvent = null;
|
|
135
|
+
pendingCloseReason = "api";
|
|
136
|
+
dialogPanel = viewChild("dialogPanel", ...ngDevMode ? [{ debugName: "dialogPanel" }] : /* istanbul ignore next */ []);
|
|
137
|
+
overlayPortal = viewChild(ɵAerisAppendTo, ...ngDevMode ? [{ debugName: "overlayPortal" }] : /* istanbul ignore next */ []);
|
|
138
|
+
headerTemplate = contentChild(AerisDialogHeaderTemplate, ...ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []);
|
|
139
|
+
footerTemplate = contentChild(AerisDialogFooterTemplate, ...ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []);
|
|
140
|
+
closeIconTemplate = contentChild(AerisDialogCloseIconTemplate, ...ngDevMode ? [{ debugName: "closeIconTemplate" }] : /* istanbul ignore next */ []);
|
|
141
|
+
headlessTemplate = contentChild(AerisDialogHeadlessTemplate, ...ngDevMode ? [{ debugName: "headlessTemplate" }] : /* istanbul ignore next */ []);
|
|
142
|
+
dragOffset = signal({
|
|
143
|
+
x: 0,
|
|
144
|
+
y: 0
|
|
145
|
+
}, ...ngDevMode ? [{ debugName: "dragOffset" }] : /* istanbul ignore next */ []);
|
|
146
|
+
templateContext = computed(() => ({
|
|
147
|
+
$implicit: this,
|
|
148
|
+
close: (event) => this.hide(event ?? null, "api"),
|
|
149
|
+
maximized: this.maximized()
|
|
150
|
+
}), ...ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []);
|
|
151
|
+
hasHeader = computed(() => !!this.header() || !!this.headerTemplate() || this.closable() || this.maximizable(), ...ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []);
|
|
152
|
+
computedAriaLabelledBy = computed(() => {
|
|
153
|
+
const labelledBy = this.ariaLabelledBy();
|
|
154
|
+
if (labelledBy) return labelledBy;
|
|
155
|
+
if (this.ariaLabel()) return null;
|
|
156
|
+
return this.hasHeader() && !this.headlessTemplate() ? this.titleId : null;
|
|
157
|
+
}, ...ngDevMode ? [{ debugName: "computedAriaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
158
|
+
visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
159
|
+
maximized = model(false, ...ngDevMode ? [{ debugName: "maximized" }] : /* istanbul ignore next */ []);
|
|
160
|
+
header = input("", ...ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []);
|
|
161
|
+
appendTo = input(...ngDevMode ? [void 0, { debugName: "appendTo" }] : /* istanbul ignore next */ []);
|
|
162
|
+
role = input("dialog", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
163
|
+
modal = input(true, {
|
|
164
|
+
...ngDevMode ? { debugName: "modal" } : /* istanbul ignore next */ {},
|
|
165
|
+
transform: booleanAttribute
|
|
166
|
+
});
|
|
167
|
+
backdrop = input(true, {
|
|
168
|
+
...ngDevMode ? { debugName: "backdrop" } : /* istanbul ignore next */ {},
|
|
169
|
+
transform: booleanAttribute
|
|
170
|
+
});
|
|
171
|
+
backdropBlur = input(true, {
|
|
172
|
+
...ngDevMode ? { debugName: "backdropBlur" } : /* istanbul ignore next */ {},
|
|
173
|
+
transform: booleanAttribute
|
|
174
|
+
});
|
|
175
|
+
backdropBlurAmount = input("", ...ngDevMode ? [{ debugName: "backdropBlurAmount" }] : /* istanbul ignore next */ []);
|
|
176
|
+
closeOnBackdropClick = input(false, {
|
|
177
|
+
...ngDevMode ? { debugName: "closeOnBackdropClick" } : /* istanbul ignore next */ {},
|
|
178
|
+
transform: booleanAttribute
|
|
179
|
+
});
|
|
180
|
+
closeOnEscape = input(true, {
|
|
181
|
+
...ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {},
|
|
182
|
+
transform: booleanAttribute
|
|
183
|
+
});
|
|
184
|
+
closable = input(true, {
|
|
185
|
+
...ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {},
|
|
186
|
+
transform: booleanAttribute
|
|
187
|
+
});
|
|
188
|
+
maximizable = input(false, {
|
|
189
|
+
...ngDevMode ? { debugName: "maximizable" } : /* istanbul ignore next */ {},
|
|
190
|
+
transform: booleanAttribute
|
|
191
|
+
});
|
|
192
|
+
draggable = input(false, {
|
|
193
|
+
...ngDevMode ? { debugName: "draggable" } : /* istanbul ignore next */ {},
|
|
194
|
+
transform: booleanAttribute
|
|
195
|
+
});
|
|
196
|
+
resizable = input(false, {
|
|
197
|
+
...ngDevMode ? { debugName: "resizable" } : /* istanbul ignore next */ {},
|
|
198
|
+
transform: booleanAttribute
|
|
199
|
+
});
|
|
200
|
+
blockScroll = input(true, {
|
|
201
|
+
...ngDevMode ? { debugName: "blockScroll" } : /* istanbul ignore next */ {},
|
|
202
|
+
transform: booleanAttribute
|
|
203
|
+
});
|
|
204
|
+
focusTrap = input(true, {
|
|
205
|
+
...ngDevMode ? { debugName: "focusTrap" } : /* istanbul ignore next */ {},
|
|
206
|
+
transform: booleanAttribute
|
|
207
|
+
});
|
|
208
|
+
restoreFocus = input(true, {
|
|
209
|
+
...ngDevMode ? { debugName: "restoreFocus" } : /* istanbul ignore next */ {},
|
|
210
|
+
transform: booleanAttribute
|
|
211
|
+
});
|
|
212
|
+
autoFocus = input(true, {
|
|
213
|
+
...ngDevMode ? { debugName: "autoFocus" } : /* istanbul ignore next */ {},
|
|
214
|
+
transform: booleanAttribute
|
|
215
|
+
});
|
|
216
|
+
initialFocus = input("", ...ngDevMode ? [{ debugName: "initialFocus" }] : /* istanbul ignore next */ []);
|
|
217
|
+
position = input("center", ...ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []);
|
|
218
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
219
|
+
width = input("", ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
|
|
220
|
+
minWidth = input("", ...ngDevMode ? [{ debugName: "minWidth" }] : /* istanbul ignore next */ []);
|
|
221
|
+
maxWidth = input("", ...ngDevMode ? [{ debugName: "maxWidth" }] : /* istanbul ignore next */ []);
|
|
222
|
+
height = input("", ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
223
|
+
maxHeight = input("", ...ngDevMode ? [{ debugName: "maxHeight" }] : /* istanbul ignore next */ []);
|
|
224
|
+
mobileWidth = input("", ...ngDevMode ? [{ debugName: "mobileWidth" }] : /* istanbul ignore next */ []);
|
|
225
|
+
footerLayout = input("responsive", ...ngDevMode ? [{ debugName: "footerLayout" }] : /* istanbul ignore next */ []);
|
|
226
|
+
closeAriaLabel = input("Close dialog", ...ngDevMode ? [{ debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []);
|
|
227
|
+
ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
228
|
+
ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
229
|
+
ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
|
|
230
|
+
opened = output();
|
|
231
|
+
closed = output();
|
|
232
|
+
id = `aeris-dialog-${nextDialogId++}`;
|
|
233
|
+
titleId = `${this.id}-title`;
|
|
234
|
+
constructor() {
|
|
235
|
+
this.destroyRef.onDestroy(() => {
|
|
236
|
+
this.stopDrag();
|
|
237
|
+
ɵunregisterAerisOverlay(this.document, this.overlayToken);
|
|
238
|
+
this.unlockScroll();
|
|
239
|
+
});
|
|
240
|
+
effect(() => {
|
|
241
|
+
const visible = this.visible();
|
|
242
|
+
if (visible === this.previousVisible) return;
|
|
243
|
+
if (visible) this.handleShown();
|
|
244
|
+
else this.handleHidden();
|
|
245
|
+
this.previousVisible = visible;
|
|
246
|
+
});
|
|
247
|
+
effect((onCleanup) => {
|
|
248
|
+
if (!this.visible()) return;
|
|
249
|
+
const keydown = (event) => this.handleDocumentKeydown(event);
|
|
250
|
+
this.document.addEventListener("keydown", keydown);
|
|
251
|
+
onCleanup(() => this.document.removeEventListener("keydown", keydown));
|
|
252
|
+
});
|
|
253
|
+
effect((onCleanup) => {
|
|
254
|
+
if (!this.dragging()) return;
|
|
255
|
+
const pointermove = (event) => this.handleDocumentPointermove(event);
|
|
256
|
+
const stop = () => this.stopDrag();
|
|
257
|
+
this.document.addEventListener("pointermove", pointermove);
|
|
258
|
+
this.document.addEventListener("pointerup", stop);
|
|
259
|
+
this.document.addEventListener("pointercancel", stop);
|
|
260
|
+
onCleanup(() => {
|
|
261
|
+
this.document.removeEventListener("pointermove", pointermove);
|
|
262
|
+
this.document.removeEventListener("pointerup", stop);
|
|
263
|
+
this.document.removeEventListener("pointercancel", stop);
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
show(originalEvent = null) {
|
|
268
|
+
if (this.visible()) return;
|
|
269
|
+
const eventTarget = originalEvent?.currentTarget;
|
|
270
|
+
this.previouslyFocused.set(eventTarget instanceof HTMLElement ? eventTarget : this.activeHtmlElement());
|
|
271
|
+
this.pendingOriginalEvent = originalEvent;
|
|
272
|
+
this.visible.set(true);
|
|
273
|
+
}
|
|
274
|
+
hide(originalEvent = null, reason = "api") {
|
|
275
|
+
if (!this.visible()) return;
|
|
276
|
+
this.pendingOriginalEvent = originalEvent;
|
|
277
|
+
this.pendingCloseReason = reason;
|
|
278
|
+
this.overlayPortal()?.restore();
|
|
279
|
+
this.visible.set(false);
|
|
280
|
+
}
|
|
281
|
+
toggle(originalEvent = null) {
|
|
282
|
+
if (this.visible()) this.hide(originalEvent);
|
|
283
|
+
else this.show(originalEvent);
|
|
284
|
+
}
|
|
285
|
+
focus(options) {
|
|
286
|
+
this.focusInitial(options);
|
|
287
|
+
}
|
|
288
|
+
toggleMaximized() {
|
|
289
|
+
this.maximized.update((value) => !value);
|
|
290
|
+
if (this.maximized()) this.dragOffset.set({
|
|
291
|
+
x: 0,
|
|
292
|
+
y: 0
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
maximize() {
|
|
296
|
+
this.maximized.set(true);
|
|
297
|
+
this.dragOffset.set({
|
|
298
|
+
x: 0,
|
|
299
|
+
y: 0
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
restore() {
|
|
303
|
+
this.maximized.set(false);
|
|
304
|
+
}
|
|
305
|
+
handlePanelKeydown(event) {
|
|
306
|
+
if (event.key !== "Tab" || !this.focusTrap()) return;
|
|
307
|
+
this.trapTab(event);
|
|
308
|
+
}
|
|
309
|
+
handleDocumentKeydown(event) {
|
|
310
|
+
if (!this.visible() || event.key !== "Escape" || !this.closeOnEscape() || !ɵisTopmostAerisOverlay(this.document, this.overlayToken)) return;
|
|
311
|
+
event.preventDefault();
|
|
312
|
+
this.hide(event, "escape");
|
|
313
|
+
}
|
|
314
|
+
handleOverlayClick(event) {
|
|
315
|
+
if (event.target !== event.currentTarget) return;
|
|
316
|
+
event.preventDefault();
|
|
317
|
+
event.stopPropagation();
|
|
318
|
+
if (!this.closeOnBackdropClick()) return;
|
|
319
|
+
this.hide(event, "mask");
|
|
320
|
+
}
|
|
321
|
+
startDrag(event) {
|
|
322
|
+
if (!this.draggable() || this.maximized()) return;
|
|
323
|
+
if (event.target?.closest("button, a, input, select, textarea")) return;
|
|
324
|
+
event.preventDefault();
|
|
325
|
+
const current = this.dragOffset();
|
|
326
|
+
this.dragging.set({
|
|
327
|
+
startX: event.clientX,
|
|
328
|
+
startY: event.clientY,
|
|
329
|
+
originX: current.x,
|
|
330
|
+
originY: current.y
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
handleDocumentPointermove(event) {
|
|
334
|
+
const drag = this.dragging();
|
|
335
|
+
if (!drag) return;
|
|
336
|
+
event.preventDefault();
|
|
337
|
+
this.dragOffset.set({
|
|
338
|
+
x: drag.originX + event.clientX - drag.startX,
|
|
339
|
+
y: drag.originY + event.clientY - drag.startY
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
stopDrag() {
|
|
343
|
+
this.dragging.set(null);
|
|
344
|
+
}
|
|
345
|
+
handleShown() {
|
|
346
|
+
if (!this.previouslyFocused()) this.previouslyFocused.set(this.activeHtmlElement());
|
|
347
|
+
ɵregisterAerisOverlay(this.document, this.overlayToken);
|
|
348
|
+
this.lockScroll();
|
|
349
|
+
const event = this.visibilityEvent(true, "api", this.pendingOriginalEvent);
|
|
350
|
+
this.pendingOriginalEvent = null;
|
|
351
|
+
this.opened.emit(event);
|
|
352
|
+
if (!this.autoFocus()) return;
|
|
353
|
+
queueMicrotask(() => this.focusInitial());
|
|
354
|
+
}
|
|
355
|
+
handleHidden() {
|
|
356
|
+
this.overlayPortal()?.restore();
|
|
357
|
+
const restoreFocus = ɵisTopmostAerisOverlay(this.document, this.overlayToken);
|
|
358
|
+
this.stopDrag();
|
|
359
|
+
ɵunregisterAerisOverlay(this.document, this.overlayToken);
|
|
360
|
+
this.unlockScroll();
|
|
361
|
+
const event = this.visibilityEvent(false, this.pendingCloseReason, this.pendingOriginalEvent);
|
|
362
|
+
this.pendingOriginalEvent = null;
|
|
363
|
+
this.pendingCloseReason = "api";
|
|
364
|
+
this.closed.emit(event);
|
|
365
|
+
const previouslyFocused = this.previouslyFocused();
|
|
366
|
+
this.previouslyFocused.set(null);
|
|
367
|
+
if (!this.restoreFocus() || !restoreFocus) return;
|
|
368
|
+
queueMicrotask(() => previouslyFocused?.focus());
|
|
369
|
+
}
|
|
370
|
+
lockScroll() {
|
|
371
|
+
if (!this.modal() || !this.blockScroll() || this.scrollLocked) return;
|
|
372
|
+
ɵlockAerisDocumentScroll(this.document);
|
|
373
|
+
this.scrollLocked = true;
|
|
374
|
+
}
|
|
375
|
+
unlockScroll() {
|
|
376
|
+
if (!this.scrollLocked) return;
|
|
377
|
+
ɵunlockAerisDocumentScroll(this.document);
|
|
378
|
+
this.scrollLocked = false;
|
|
379
|
+
}
|
|
380
|
+
focusInitial(options) {
|
|
381
|
+
const panel = this.dialogPanel()?.nativeElement;
|
|
382
|
+
if (!panel) return;
|
|
383
|
+
aerisInternalFocusInitialElement(panel, this.initialFocus(), options, DIALOG_FOCUS_OPTIONS);
|
|
384
|
+
}
|
|
385
|
+
trapTab(event) {
|
|
386
|
+
const panel = this.dialogPanel()?.nativeElement;
|
|
387
|
+
if (!panel) return;
|
|
388
|
+
aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement(), DIALOG_FOCUS_OPTIONS);
|
|
389
|
+
}
|
|
390
|
+
activeHtmlElement() {
|
|
391
|
+
const active = this.document.activeElement;
|
|
392
|
+
return active instanceof HTMLElement ? active : null;
|
|
393
|
+
}
|
|
394
|
+
visibilityEvent(visible, reason, originalEvent) {
|
|
395
|
+
return {
|
|
396
|
+
originalEvent,
|
|
397
|
+
visible,
|
|
398
|
+
reason
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
402
|
+
minVersion: "12.0.0",
|
|
403
|
+
version: "22.2.1",
|
|
404
|
+
ngImport: i0,
|
|
405
|
+
type: AerisDialog,
|
|
406
|
+
deps: [],
|
|
407
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
408
|
+
});
|
|
409
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
410
|
+
minVersion: "17.0.0",
|
|
411
|
+
version: "22.2.1",
|
|
412
|
+
type: AerisDialog,
|
|
413
|
+
isStandalone: true,
|
|
414
|
+
selector: "aeris-dialog",
|
|
415
|
+
inputs: {
|
|
416
|
+
visible: {
|
|
417
|
+
classPropertyName: "visible",
|
|
418
|
+
publicName: "visible",
|
|
419
|
+
isSignal: true,
|
|
420
|
+
isRequired: false,
|
|
421
|
+
transformFunction: null
|
|
422
|
+
},
|
|
423
|
+
maximized: {
|
|
424
|
+
classPropertyName: "maximized",
|
|
425
|
+
publicName: "maximized",
|
|
426
|
+
isSignal: true,
|
|
427
|
+
isRequired: false,
|
|
428
|
+
transformFunction: null
|
|
429
|
+
},
|
|
430
|
+
header: {
|
|
431
|
+
classPropertyName: "header",
|
|
432
|
+
publicName: "header",
|
|
433
|
+
isSignal: true,
|
|
434
|
+
isRequired: false,
|
|
435
|
+
transformFunction: null
|
|
436
|
+
},
|
|
437
|
+
appendTo: {
|
|
438
|
+
classPropertyName: "appendTo",
|
|
439
|
+
publicName: "appendTo",
|
|
440
|
+
isSignal: true,
|
|
441
|
+
isRequired: false,
|
|
442
|
+
transformFunction: null
|
|
443
|
+
},
|
|
444
|
+
role: {
|
|
445
|
+
classPropertyName: "role",
|
|
446
|
+
publicName: "role",
|
|
447
|
+
isSignal: true,
|
|
448
|
+
isRequired: false,
|
|
449
|
+
transformFunction: null
|
|
450
|
+
},
|
|
451
|
+
modal: {
|
|
452
|
+
classPropertyName: "modal",
|
|
453
|
+
publicName: "modal",
|
|
454
|
+
isSignal: true,
|
|
455
|
+
isRequired: false,
|
|
456
|
+
transformFunction: null
|
|
457
|
+
},
|
|
458
|
+
backdrop: {
|
|
459
|
+
classPropertyName: "backdrop",
|
|
460
|
+
publicName: "backdrop",
|
|
461
|
+
isSignal: true,
|
|
462
|
+
isRequired: false,
|
|
463
|
+
transformFunction: null
|
|
464
|
+
},
|
|
465
|
+
backdropBlur: {
|
|
466
|
+
classPropertyName: "backdropBlur",
|
|
467
|
+
publicName: "backdropBlur",
|
|
468
|
+
isSignal: true,
|
|
469
|
+
isRequired: false,
|
|
470
|
+
transformFunction: null
|
|
471
|
+
},
|
|
472
|
+
backdropBlurAmount: {
|
|
473
|
+
classPropertyName: "backdropBlurAmount",
|
|
474
|
+
publicName: "backdropBlurAmount",
|
|
475
|
+
isSignal: true,
|
|
476
|
+
isRequired: false,
|
|
477
|
+
transformFunction: null
|
|
478
|
+
},
|
|
479
|
+
closeOnBackdropClick: {
|
|
480
|
+
classPropertyName: "closeOnBackdropClick",
|
|
481
|
+
publicName: "closeOnBackdropClick",
|
|
482
|
+
isSignal: true,
|
|
483
|
+
isRequired: false,
|
|
484
|
+
transformFunction: null
|
|
485
|
+
},
|
|
486
|
+
closeOnEscape: {
|
|
487
|
+
classPropertyName: "closeOnEscape",
|
|
488
|
+
publicName: "closeOnEscape",
|
|
489
|
+
isSignal: true,
|
|
490
|
+
isRequired: false,
|
|
491
|
+
transformFunction: null
|
|
492
|
+
},
|
|
493
|
+
closable: {
|
|
494
|
+
classPropertyName: "closable",
|
|
495
|
+
publicName: "closable",
|
|
496
|
+
isSignal: true,
|
|
497
|
+
isRequired: false,
|
|
498
|
+
transformFunction: null
|
|
499
|
+
},
|
|
500
|
+
maximizable: {
|
|
501
|
+
classPropertyName: "maximizable",
|
|
502
|
+
publicName: "maximizable",
|
|
503
|
+
isSignal: true,
|
|
504
|
+
isRequired: false,
|
|
505
|
+
transformFunction: null
|
|
506
|
+
},
|
|
507
|
+
draggable: {
|
|
508
|
+
classPropertyName: "draggable",
|
|
509
|
+
publicName: "draggable",
|
|
510
|
+
isSignal: true,
|
|
511
|
+
isRequired: false,
|
|
512
|
+
transformFunction: null
|
|
513
|
+
},
|
|
514
|
+
resizable: {
|
|
515
|
+
classPropertyName: "resizable",
|
|
516
|
+
publicName: "resizable",
|
|
517
|
+
isSignal: true,
|
|
518
|
+
isRequired: false,
|
|
519
|
+
transformFunction: null
|
|
520
|
+
},
|
|
521
|
+
blockScroll: {
|
|
522
|
+
classPropertyName: "blockScroll",
|
|
523
|
+
publicName: "blockScroll",
|
|
524
|
+
isSignal: true,
|
|
525
|
+
isRequired: false,
|
|
526
|
+
transformFunction: null
|
|
527
|
+
},
|
|
528
|
+
focusTrap: {
|
|
529
|
+
classPropertyName: "focusTrap",
|
|
530
|
+
publicName: "focusTrap",
|
|
531
|
+
isSignal: true,
|
|
532
|
+
isRequired: false,
|
|
533
|
+
transformFunction: null
|
|
534
|
+
},
|
|
535
|
+
restoreFocus: {
|
|
536
|
+
classPropertyName: "restoreFocus",
|
|
537
|
+
publicName: "restoreFocus",
|
|
538
|
+
isSignal: true,
|
|
539
|
+
isRequired: false,
|
|
540
|
+
transformFunction: null
|
|
541
|
+
},
|
|
542
|
+
autoFocus: {
|
|
543
|
+
classPropertyName: "autoFocus",
|
|
544
|
+
publicName: "autoFocus",
|
|
545
|
+
isSignal: true,
|
|
546
|
+
isRequired: false,
|
|
547
|
+
transformFunction: null
|
|
548
|
+
},
|
|
549
|
+
initialFocus: {
|
|
550
|
+
classPropertyName: "initialFocus",
|
|
551
|
+
publicName: "initialFocus",
|
|
552
|
+
isSignal: true,
|
|
553
|
+
isRequired: false,
|
|
554
|
+
transformFunction: null
|
|
555
|
+
},
|
|
556
|
+
position: {
|
|
557
|
+
classPropertyName: "position",
|
|
558
|
+
publicName: "position",
|
|
559
|
+
isSignal: true,
|
|
560
|
+
isRequired: false,
|
|
561
|
+
transformFunction: null
|
|
562
|
+
},
|
|
563
|
+
size: {
|
|
564
|
+
classPropertyName: "size",
|
|
565
|
+
publicName: "size",
|
|
566
|
+
isSignal: true,
|
|
567
|
+
isRequired: false,
|
|
568
|
+
transformFunction: null
|
|
569
|
+
},
|
|
570
|
+
width: {
|
|
571
|
+
classPropertyName: "width",
|
|
572
|
+
publicName: "width",
|
|
573
|
+
isSignal: true,
|
|
574
|
+
isRequired: false,
|
|
575
|
+
transformFunction: null
|
|
576
|
+
},
|
|
577
|
+
minWidth: {
|
|
578
|
+
classPropertyName: "minWidth",
|
|
579
|
+
publicName: "minWidth",
|
|
580
|
+
isSignal: true,
|
|
581
|
+
isRequired: false,
|
|
582
|
+
transformFunction: null
|
|
583
|
+
},
|
|
584
|
+
maxWidth: {
|
|
585
|
+
classPropertyName: "maxWidth",
|
|
586
|
+
publicName: "maxWidth",
|
|
587
|
+
isSignal: true,
|
|
588
|
+
isRequired: false,
|
|
589
|
+
transformFunction: null
|
|
590
|
+
},
|
|
591
|
+
height: {
|
|
592
|
+
classPropertyName: "height",
|
|
593
|
+
publicName: "height",
|
|
594
|
+
isSignal: true,
|
|
595
|
+
isRequired: false,
|
|
596
|
+
transformFunction: null
|
|
597
|
+
},
|
|
598
|
+
maxHeight: {
|
|
599
|
+
classPropertyName: "maxHeight",
|
|
600
|
+
publicName: "maxHeight",
|
|
601
|
+
isSignal: true,
|
|
602
|
+
isRequired: false,
|
|
603
|
+
transformFunction: null
|
|
604
|
+
},
|
|
605
|
+
mobileWidth: {
|
|
606
|
+
classPropertyName: "mobileWidth",
|
|
607
|
+
publicName: "mobileWidth",
|
|
608
|
+
isSignal: true,
|
|
609
|
+
isRequired: false,
|
|
610
|
+
transformFunction: null
|
|
611
|
+
},
|
|
612
|
+
footerLayout: {
|
|
613
|
+
classPropertyName: "footerLayout",
|
|
614
|
+
publicName: "footerLayout",
|
|
615
|
+
isSignal: true,
|
|
616
|
+
isRequired: false,
|
|
617
|
+
transformFunction: null
|
|
618
|
+
},
|
|
619
|
+
closeAriaLabel: {
|
|
620
|
+
classPropertyName: "closeAriaLabel",
|
|
621
|
+
publicName: "closeAriaLabel",
|
|
622
|
+
isSignal: true,
|
|
623
|
+
isRequired: false,
|
|
624
|
+
transformFunction: null
|
|
625
|
+
},
|
|
626
|
+
ariaLabel: {
|
|
627
|
+
classPropertyName: "ariaLabel",
|
|
628
|
+
publicName: "ariaLabel",
|
|
629
|
+
isSignal: true,
|
|
630
|
+
isRequired: false,
|
|
631
|
+
transformFunction: null
|
|
632
|
+
},
|
|
633
|
+
ariaLabelledBy: {
|
|
634
|
+
classPropertyName: "ariaLabelledBy",
|
|
635
|
+
publicName: "ariaLabelledBy",
|
|
636
|
+
isSignal: true,
|
|
637
|
+
isRequired: false,
|
|
638
|
+
transformFunction: null
|
|
639
|
+
},
|
|
640
|
+
ariaDescribedBy: {
|
|
641
|
+
classPropertyName: "ariaDescribedBy",
|
|
642
|
+
publicName: "ariaDescribedBy",
|
|
643
|
+
isSignal: true,
|
|
644
|
+
isRequired: false,
|
|
645
|
+
transformFunction: null
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
outputs: {
|
|
649
|
+
visible: "visibleChange",
|
|
650
|
+
maximized: "maximizedChange",
|
|
651
|
+
opened: "opened",
|
|
652
|
+
closed: "closed"
|
|
653
|
+
},
|
|
654
|
+
host: {
|
|
655
|
+
properties: {
|
|
656
|
+
"attr.data-open": "visible() || null",
|
|
657
|
+
"attr.data-block-scroll": "blockScroll() || null"
|
|
658
|
+
},
|
|
659
|
+
classAttribute: "aeris-dialog"
|
|
660
|
+
},
|
|
661
|
+
queries: [
|
|
662
|
+
{
|
|
663
|
+
propertyName: "headerTemplate",
|
|
664
|
+
first: true,
|
|
665
|
+
predicate: AerisDialogHeaderTemplate,
|
|
666
|
+
descendants: true,
|
|
667
|
+
isSignal: true
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
propertyName: "footerTemplate",
|
|
671
|
+
first: true,
|
|
672
|
+
predicate: AerisDialogFooterTemplate,
|
|
673
|
+
descendants: true,
|
|
674
|
+
isSignal: true
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
propertyName: "closeIconTemplate",
|
|
678
|
+
first: true,
|
|
679
|
+
predicate: AerisDialogCloseIconTemplate,
|
|
680
|
+
descendants: true,
|
|
681
|
+
isSignal: true
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
propertyName: "headlessTemplate",
|
|
685
|
+
first: true,
|
|
686
|
+
predicate: AerisDialogHeadlessTemplate,
|
|
687
|
+
descendants: true,
|
|
688
|
+
isSignal: true
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
viewQueries: [{
|
|
692
|
+
propertyName: "dialogPanel",
|
|
693
|
+
first: true,
|
|
694
|
+
predicate: ["dialogPanel"],
|
|
695
|
+
descendants: true,
|
|
696
|
+
isSignal: true
|
|
697
|
+
}, {
|
|
698
|
+
propertyName: "overlayPortal",
|
|
699
|
+
first: true,
|
|
700
|
+
predicate: ɵAerisAppendTo,
|
|
701
|
+
descendants: true,
|
|
702
|
+
isSignal: true
|
|
703
|
+
}],
|
|
704
|
+
ngImport: i0,
|
|
705
|
+
template: `
|
|
337
706
|
@if (visible()) {
|
|
338
707
|
<div
|
|
339
708
|
class="aeris-dialog__overlay"
|
|
@@ -449,11 +818,48 @@ class AerisDialog {
|
|
|
449
818
|
</section>
|
|
450
819
|
</div>
|
|
451
820
|
}
|
|
452
|
-
`,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
821
|
+
`,
|
|
822
|
+
isInline: true,
|
|
823
|
+
styles: [":host{--_aeris-dialog-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-dialog-color, var(--aeris-text, #222222));font:inherit}.aeris-dialog__overlay{position:fixed;z-index:var(--aeris-dialog-z-index, 1000);inset:0;display:grid;place-items:center;padding:calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-top, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-right, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-bottom, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-left, 0px));pointer-events:auto}.aeris-dialog__overlay[data-backdrop]{background:var(--aeris-dialog-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-dialog__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-dialog-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-dialog-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-dialog__overlay[data-position=top]{align-items:start}.aeris-dialog__overlay[data-position=bottom]{align-items:end}.aeris-dialog__overlay[data-position=left]{justify-items:start}.aeris-dialog__overlay[data-position=right]{justify-items:end}.aeris-dialog__overlay[data-position=top-left]{place-items:start}.aeris-dialog__overlay[data-position=top-right]{align-items:start;justify-items:end}.aeris-dialog__overlay[data-position=bottom-left]{align-items:end;justify-items:start}.aeris-dialog__overlay[data-position=bottom-right]{place-items:end}.aeris-dialog__panel{box-sizing:border-box;width:min(var(--aeris-dialog-width, 32rem),100%);min-width:min(var(--aeris-dialog-min-width, 0px),100%);max-width:min(var(--aeris-dialog-max-width, calc(100vw - 2.5rem) ),100%);height:var(--aeris-dialog-height, auto);max-height:min(var(--aeris-dialog-max-height, calc(100vh - 2.5rem) ),100%);max-height:min(var(--aeris-dialog-max-height, calc(100dvh - 2.5rem) ),100%);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-dialog-border, var(--aeris-border));border-radius:var(--aeris-dialog-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-dialog-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-dialog-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;transform:translate(var(--aeris-dialog-drag-x, 0),var(--aeris-dialog-drag-y, 0))}.aeris-dialog__panel:focus-visible{outline:2px solid var(--aeris-dialog-focus, var(--aeris-focus, #2c432c));outline-offset:3px}.aeris-dialog__panel[data-size=sm]{--aeris-dialog-width: 24rem}.aeris-dialog__panel[data-size=lg]{--aeris-dialog-width: 44rem}.aeris-dialog__panel[data-size=xl]{--aeris-dialog-width: 60rem}.aeris-dialog__panel[data-size=fullscreen],.aeris-dialog__overlay[data-maximized] .aeris-dialog__panel{width:calc(100vw - 2rem);max-width:calc(100vw - 2rem);height:calc(100vh - 2rem);height:calc(100dvh - 2rem);max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);transform:none}.aeris-dialog__panel[data-headless]{display:block}.aeris-dialog__panel[data-resizable]{min-width:min(18rem,100vw - 2.5rem);min-height:12rem;resize:both}.aeris-dialog__header,.aeris-dialog__footer{min-width:0;display:flex;align-items:center;gap:.875rem;padding:var(--aeris-dialog-header-padding, 1rem 1.125rem);background:var(--aeris-dialog-header-background, var(--aeris-surface, #fff))}.aeris-dialog__header{border-bottom:1px solid var(--aeris-dialog-border, var(--aeris-border))}.aeris-dialog__header[data-draggable]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.aeris-dialog__footer{justify-content:flex-end;border-top:1px solid var(--aeris-dialog-border, var(--aeris-border))}.aeris-dialog__footer[data-footer-layout=responsive],.aeris-dialog__footer[data-footer-layout=wrap]{flex-wrap:wrap}.aeris-dialog__footer[data-footer-layout=stack]{flex-direction:column;align-items:stretch}.aeris-dialog__title{min-width:0;flex:1 1 auto;color:var(--aeris-dialog-title-color, var(--aeris-text, #222222));font-size:var(--aeris-dialog-title-size, 1rem);font-weight:750;line-height:1.35}.aeris-dialog__actions{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto}.aeris-dialog__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-dialog-icon-color, var(--aeris-text-2, #555555));cursor:pointer}.aeris-dialog__action:hover{background:var(--aeris-dialog-action-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-dialog-title-color, var(--aeris-text, #222222))}.aeris-dialog__action:focus-visible{outline:2px solid var(--aeris-dialog-focus, var(--aeris-focus, #2c432c));outline-offset:2px}.aeris-dialog__close-icon,.aeris-dialog__maximize-icon{position:relative;width:var(--_aeris-dialog-icon-size, var(--aeris-icon-size, 1rem));height:var(--_aeris-dialog-icon-size, var(--aeris-icon-size, 1rem));display:inline-block}.aeris-dialog__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-dialog__maximize-icon:before{position:absolute;inset:.125rem;border:1.6px solid currentColor;border-radius:.1875rem;content:\"\"}.aeris-dialog__maximize-icon[data-maximized]:before{inset:.25rem .125rem .125rem .25rem}.aeris-dialog__maximize-icon[data-maximized]:after{position:absolute;inset:.125rem .25rem .25rem .125rem;border:1.6px solid currentColor;border-radius:.1875rem;background:var(--aeris-dialog-background, var(--aeris-surface, #fff));content:\"\"}.aeris-dialog__body{min-width:0;min-height:0;padding:var(--aeris-dialog-body-padding, 1.125rem);overflow:auto;color:var(--aeris-dialog-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.6}@media(max-width:42rem){.aeris-dialog__overlay{padding:calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-top, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-right, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-bottom, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-left, 0px))}.aeris-dialog__panel{width:var(--aeris-dialog-mobile-width, calc(100vw - 1.5rem) );max-width:min(var(--aeris-dialog-mobile-width, calc(100vw - 1.5rem) ),100vw - 1.5rem);max-height:calc(100vh - 1.5rem);max-height:calc(100dvh - 1.5rem);border-radius:var(--aeris-dialog-mobile-radius, var(--aeris-radius-md, .6875rem))}.aeris-dialog__panel[data-size=fullscreen]{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border-radius:0}.aeris-dialog__header,.aeris-dialog__footer{padding-inline:.875rem}.aeris-dialog__footer[data-footer-layout=responsive]{flex-direction:column;align-items:stretch}.aeris-dialog__body{padding:.875rem}}@media(prefers-reduced-motion:reduce){.aeris-dialog__panel,.aeris-dialog__action{transition:none}}\n"],
|
|
824
|
+
dependencies: [{
|
|
825
|
+
kind: "directive",
|
|
826
|
+
type: NgTemplateOutlet,
|
|
827
|
+
selector: "[ngTemplateOutlet]",
|
|
828
|
+
inputs: [
|
|
829
|
+
"ngTemplateOutletContext",
|
|
830
|
+
"ngTemplateOutlet",
|
|
831
|
+
"ngTemplateOutletInjector"
|
|
832
|
+
]
|
|
833
|
+
}, {
|
|
834
|
+
kind: "directive",
|
|
835
|
+
type: ɵAerisAppendTo,
|
|
836
|
+
selector: "[aerisInternalAppendTo]",
|
|
837
|
+
inputs: [
|
|
838
|
+
"aerisInternalAppendTo",
|
|
839
|
+
"aerisInternalAppendToDefault",
|
|
840
|
+
"aerisInternalAppendToAnchor",
|
|
841
|
+
"aerisInternalAppendToOffset",
|
|
842
|
+
"aerisInternalAppendToMatchWidth",
|
|
843
|
+
"aerisInternalAppendToPlacement",
|
|
844
|
+
"aerisInternalAppendToAlignment",
|
|
845
|
+
"aerisInternalAppendToCollisionPadding",
|
|
846
|
+
"aerisInternalAppendToPositionSelf"
|
|
847
|
+
],
|
|
848
|
+
outputs: ["aerisInternalAppendToOutside"]
|
|
849
|
+
}]
|
|
850
|
+
});
|
|
851
|
+
};
|
|
852
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
853
|
+
minVersion: "12.0.0",
|
|
854
|
+
version: "22.2.1",
|
|
855
|
+
ngImport: i0,
|
|
856
|
+
type: AerisDialog,
|
|
857
|
+
decorators: [{
|
|
858
|
+
type: Component,
|
|
859
|
+
args: [{
|
|
860
|
+
selector: "aeris-dialog",
|
|
861
|
+
imports: [NgTemplateOutlet, ɵAerisAppendTo],
|
|
862
|
+
template: `
|
|
457
863
|
@if (visible()) {
|
|
458
864
|
<div
|
|
459
865
|
class="aeris-dialog__overlay"
|
|
@@ -569,23 +975,328 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
569
975
|
</section>
|
|
570
976
|
</div>
|
|
571
977
|
}
|
|
572
|
-
`,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
978
|
+
`,
|
|
979
|
+
host: {
|
|
980
|
+
class: "aeris-dialog",
|
|
981
|
+
"[attr.data-open]": "visible() || null",
|
|
982
|
+
"[attr.data-block-scroll]": "blockScroll() || null"
|
|
983
|
+
},
|
|
984
|
+
styles: [":host{--_aeris-dialog-icon-size: var(--aeris-icon-size, 1rem);display:contents;color:var(--aeris-dialog-color, var(--aeris-text, #222222));font:inherit}.aeris-dialog__overlay{position:fixed;z-index:var(--aeris-dialog-z-index, 1000);inset:0;display:grid;place-items:center;padding:calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-top, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-right, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-bottom, 0px)) calc(var(--aeris-dialog-viewport-padding, 1.25rem) + var(--aeris-safe-area-left, 0px));pointer-events:auto}.aeris-dialog__overlay[data-backdrop]{background:var(--aeris-dialog-mask-background, color-mix(in srgb, #10130e 46%, transparent))}.aeris-dialog__overlay[data-backdrop][data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-dialog-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-dialog-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-dialog__overlay[data-position=top]{align-items:start}.aeris-dialog__overlay[data-position=bottom]{align-items:end}.aeris-dialog__overlay[data-position=left]{justify-items:start}.aeris-dialog__overlay[data-position=right]{justify-items:end}.aeris-dialog__overlay[data-position=top-left]{place-items:start}.aeris-dialog__overlay[data-position=top-right]{align-items:start;justify-items:end}.aeris-dialog__overlay[data-position=bottom-left]{align-items:end;justify-items:start}.aeris-dialog__overlay[data-position=bottom-right]{place-items:end}.aeris-dialog__panel{box-sizing:border-box;width:min(var(--aeris-dialog-width, 32rem),100%);min-width:min(var(--aeris-dialog-min-width, 0px),100%);max-width:min(var(--aeris-dialog-max-width, calc(100vw - 2.5rem) ),100%);height:var(--aeris-dialog-height, auto);max-height:min(var(--aeris-dialog-max-height, calc(100vh - 2.5rem) ),100%);max-height:min(var(--aeris-dialog-max-height, calc(100dvh - 2.5rem) ),100%);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--aeris-dialog-border, var(--aeris-border));border-radius:var(--aeris-dialog-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-dialog-background, var(--aeris-surface, #fff));color:inherit;box-shadow:var(--aeris-dialog-shadow, 0 1.25rem 3.25rem rgba(31, 35, 27, .22));overflow:hidden;transform:translate(var(--aeris-dialog-drag-x, 0),var(--aeris-dialog-drag-y, 0))}.aeris-dialog__panel:focus-visible{outline:2px solid var(--aeris-dialog-focus, var(--aeris-focus, #2c432c));outline-offset:3px}.aeris-dialog__panel[data-size=sm]{--aeris-dialog-width: 24rem}.aeris-dialog__panel[data-size=lg]{--aeris-dialog-width: 44rem}.aeris-dialog__panel[data-size=xl]{--aeris-dialog-width: 60rem}.aeris-dialog__panel[data-size=fullscreen],.aeris-dialog__overlay[data-maximized] .aeris-dialog__panel{width:calc(100vw - 2rem);max-width:calc(100vw - 2rem);height:calc(100vh - 2rem);height:calc(100dvh - 2rem);max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);transform:none}.aeris-dialog__panel[data-headless]{display:block}.aeris-dialog__panel[data-resizable]{min-width:min(18rem,100vw - 2.5rem);min-height:12rem;resize:both}.aeris-dialog__header,.aeris-dialog__footer{min-width:0;display:flex;align-items:center;gap:.875rem;padding:var(--aeris-dialog-header-padding, 1rem 1.125rem);background:var(--aeris-dialog-header-background, var(--aeris-surface, #fff))}.aeris-dialog__header{border-bottom:1px solid var(--aeris-dialog-border, var(--aeris-border))}.aeris-dialog__header[data-draggable]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.aeris-dialog__footer{justify-content:flex-end;border-top:1px solid var(--aeris-dialog-border, var(--aeris-border))}.aeris-dialog__footer[data-footer-layout=responsive],.aeris-dialog__footer[data-footer-layout=wrap]{flex-wrap:wrap}.aeris-dialog__footer[data-footer-layout=stack]{flex-direction:column;align-items:stretch}.aeris-dialog__title{min-width:0;flex:1 1 auto;color:var(--aeris-dialog-title-color, var(--aeris-text, #222222));font-size:var(--aeris-dialog-title-size, 1rem);font-weight:750;line-height:1.35}.aeris-dialog__actions{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto}.aeris-dialog__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-dialog-icon-color, var(--aeris-text-2, #555555));cursor:pointer}.aeris-dialog__action:hover{background:var(--aeris-dialog-action-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-dialog-title-color, var(--aeris-text, #222222))}.aeris-dialog__action:focus-visible{outline:2px solid var(--aeris-dialog-focus, var(--aeris-focus, #2c432c));outline-offset:2px}.aeris-dialog__close-icon,.aeris-dialog__maximize-icon{position:relative;width:var(--_aeris-dialog-icon-size, var(--aeris-icon-size, 1rem));height:var(--_aeris-dialog-icon-size, var(--aeris-icon-size, 1rem));display:inline-block}.aeris-dialog__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-dialog__maximize-icon:before{position:absolute;inset:.125rem;border:1.6px solid currentColor;border-radius:.1875rem;content:\"\"}.aeris-dialog__maximize-icon[data-maximized]:before{inset:.25rem .125rem .125rem .25rem}.aeris-dialog__maximize-icon[data-maximized]:after{position:absolute;inset:.125rem .25rem .25rem .125rem;border:1.6px solid currentColor;border-radius:.1875rem;background:var(--aeris-dialog-background, var(--aeris-surface, #fff));content:\"\"}.aeris-dialog__body{min-width:0;min-height:0;padding:var(--aeris-dialog-body-padding, 1.125rem);overflow:auto;color:var(--aeris-dialog-body-color, var(--aeris-text-2, #555555));font-size:.875rem;line-height:1.6}@media(max-width:42rem){.aeris-dialog__overlay{padding:calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-top, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-right, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-bottom, 0px)) calc(var(--aeris-dialog-mobile-viewport-padding, .75rem) + var(--aeris-safe-area-left, 0px))}.aeris-dialog__panel{width:var(--aeris-dialog-mobile-width, calc(100vw - 1.5rem) );max-width:min(var(--aeris-dialog-mobile-width, calc(100vw - 1.5rem) ),100vw - 1.5rem);max-height:calc(100vh - 1.5rem);max-height:calc(100dvh - 1.5rem);border-radius:var(--aeris-dialog-mobile-radius, var(--aeris-radius-md, .6875rem))}.aeris-dialog__panel[data-size=fullscreen]{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border-radius:0}.aeris-dialog__header,.aeris-dialog__footer{padding-inline:.875rem}.aeris-dialog__footer[data-footer-layout=responsive]{flex-direction:column;align-items:stretch}.aeris-dialog__body{padding:.875rem}}@media(prefers-reduced-motion:reduce){.aeris-dialog__panel,.aeris-dialog__action{transition:none}}\n"]
|
|
985
|
+
}]
|
|
986
|
+
}],
|
|
987
|
+
ctorParameters: () => [],
|
|
988
|
+
propDecorators: {
|
|
989
|
+
dialogPanel: [{
|
|
990
|
+
type: i0.ViewChild,
|
|
991
|
+
args: ["dialogPanel", { isSignal: true }]
|
|
992
|
+
}],
|
|
993
|
+
overlayPortal: [{
|
|
994
|
+
type: i0.ViewChild,
|
|
995
|
+
args: [i0.forwardRef(() => ɵAerisAppendTo), { isSignal: true }]
|
|
996
|
+
}],
|
|
997
|
+
headerTemplate: [{
|
|
998
|
+
type: i0.ContentChild,
|
|
999
|
+
args: [i0.forwardRef(() => AerisDialogHeaderTemplate), { isSignal: true }]
|
|
1000
|
+
}],
|
|
1001
|
+
footerTemplate: [{
|
|
1002
|
+
type: i0.ContentChild,
|
|
1003
|
+
args: [i0.forwardRef(() => AerisDialogFooterTemplate), { isSignal: true }]
|
|
1004
|
+
}],
|
|
1005
|
+
closeIconTemplate: [{
|
|
1006
|
+
type: i0.ContentChild,
|
|
1007
|
+
args: [i0.forwardRef(() => AerisDialogCloseIconTemplate), { isSignal: true }]
|
|
1008
|
+
}],
|
|
1009
|
+
headlessTemplate: [{
|
|
1010
|
+
type: i0.ContentChild,
|
|
1011
|
+
args: [i0.forwardRef(() => AerisDialogHeadlessTemplate), { isSignal: true }]
|
|
1012
|
+
}],
|
|
1013
|
+
visible: [{
|
|
1014
|
+
type: i0.Input,
|
|
1015
|
+
args: [{
|
|
1016
|
+
isSignal: true,
|
|
1017
|
+
alias: "visible",
|
|
1018
|
+
required: false
|
|
1019
|
+
}]
|
|
1020
|
+
}, {
|
|
1021
|
+
type: i0.Output,
|
|
1022
|
+
args: ["visibleChange"]
|
|
1023
|
+
}],
|
|
1024
|
+
maximized: [{
|
|
1025
|
+
type: i0.Input,
|
|
1026
|
+
args: [{
|
|
1027
|
+
isSignal: true,
|
|
1028
|
+
alias: "maximized",
|
|
1029
|
+
required: false
|
|
1030
|
+
}]
|
|
1031
|
+
}, {
|
|
1032
|
+
type: i0.Output,
|
|
1033
|
+
args: ["maximizedChange"]
|
|
1034
|
+
}],
|
|
1035
|
+
header: [{
|
|
1036
|
+
type: i0.Input,
|
|
1037
|
+
args: [{
|
|
1038
|
+
isSignal: true,
|
|
1039
|
+
alias: "header",
|
|
1040
|
+
required: false
|
|
1041
|
+
}]
|
|
1042
|
+
}],
|
|
1043
|
+
appendTo: [{
|
|
1044
|
+
type: i0.Input,
|
|
1045
|
+
args: [{
|
|
1046
|
+
isSignal: true,
|
|
1047
|
+
alias: "appendTo",
|
|
1048
|
+
required: false
|
|
1049
|
+
}]
|
|
1050
|
+
}],
|
|
1051
|
+
role: [{
|
|
1052
|
+
type: i0.Input,
|
|
1053
|
+
args: [{
|
|
1054
|
+
isSignal: true,
|
|
1055
|
+
alias: "role",
|
|
1056
|
+
required: false
|
|
1057
|
+
}]
|
|
1058
|
+
}],
|
|
1059
|
+
modal: [{
|
|
1060
|
+
type: i0.Input,
|
|
1061
|
+
args: [{
|
|
1062
|
+
isSignal: true,
|
|
1063
|
+
alias: "modal",
|
|
1064
|
+
required: false
|
|
1065
|
+
}]
|
|
1066
|
+
}],
|
|
1067
|
+
backdrop: [{
|
|
1068
|
+
type: i0.Input,
|
|
1069
|
+
args: [{
|
|
1070
|
+
isSignal: true,
|
|
1071
|
+
alias: "backdrop",
|
|
1072
|
+
required: false
|
|
1073
|
+
}]
|
|
1074
|
+
}],
|
|
1075
|
+
backdropBlur: [{
|
|
1076
|
+
type: i0.Input,
|
|
1077
|
+
args: [{
|
|
1078
|
+
isSignal: true,
|
|
1079
|
+
alias: "backdropBlur",
|
|
1080
|
+
required: false
|
|
1081
|
+
}]
|
|
1082
|
+
}],
|
|
1083
|
+
backdropBlurAmount: [{
|
|
1084
|
+
type: i0.Input,
|
|
1085
|
+
args: [{
|
|
1086
|
+
isSignal: true,
|
|
1087
|
+
alias: "backdropBlurAmount",
|
|
1088
|
+
required: false
|
|
1089
|
+
}]
|
|
1090
|
+
}],
|
|
1091
|
+
closeOnBackdropClick: [{
|
|
1092
|
+
type: i0.Input,
|
|
1093
|
+
args: [{
|
|
1094
|
+
isSignal: true,
|
|
1095
|
+
alias: "closeOnBackdropClick",
|
|
1096
|
+
required: false
|
|
1097
|
+
}]
|
|
1098
|
+
}],
|
|
1099
|
+
closeOnEscape: [{
|
|
1100
|
+
type: i0.Input,
|
|
1101
|
+
args: [{
|
|
1102
|
+
isSignal: true,
|
|
1103
|
+
alias: "closeOnEscape",
|
|
1104
|
+
required: false
|
|
1105
|
+
}]
|
|
1106
|
+
}],
|
|
1107
|
+
closable: [{
|
|
1108
|
+
type: i0.Input,
|
|
1109
|
+
args: [{
|
|
1110
|
+
isSignal: true,
|
|
1111
|
+
alias: "closable",
|
|
1112
|
+
required: false
|
|
1113
|
+
}]
|
|
1114
|
+
}],
|
|
1115
|
+
maximizable: [{
|
|
1116
|
+
type: i0.Input,
|
|
1117
|
+
args: [{
|
|
1118
|
+
isSignal: true,
|
|
1119
|
+
alias: "maximizable",
|
|
1120
|
+
required: false
|
|
1121
|
+
}]
|
|
1122
|
+
}],
|
|
1123
|
+
draggable: [{
|
|
1124
|
+
type: i0.Input,
|
|
1125
|
+
args: [{
|
|
1126
|
+
isSignal: true,
|
|
1127
|
+
alias: "draggable",
|
|
1128
|
+
required: false
|
|
1129
|
+
}]
|
|
1130
|
+
}],
|
|
1131
|
+
resizable: [{
|
|
1132
|
+
type: i0.Input,
|
|
1133
|
+
args: [{
|
|
1134
|
+
isSignal: true,
|
|
1135
|
+
alias: "resizable",
|
|
1136
|
+
required: false
|
|
1137
|
+
}]
|
|
1138
|
+
}],
|
|
1139
|
+
blockScroll: [{
|
|
1140
|
+
type: i0.Input,
|
|
1141
|
+
args: [{
|
|
1142
|
+
isSignal: true,
|
|
1143
|
+
alias: "blockScroll",
|
|
1144
|
+
required: false
|
|
1145
|
+
}]
|
|
1146
|
+
}],
|
|
1147
|
+
focusTrap: [{
|
|
1148
|
+
type: i0.Input,
|
|
1149
|
+
args: [{
|
|
1150
|
+
isSignal: true,
|
|
1151
|
+
alias: "focusTrap",
|
|
1152
|
+
required: false
|
|
1153
|
+
}]
|
|
1154
|
+
}],
|
|
1155
|
+
restoreFocus: [{
|
|
1156
|
+
type: i0.Input,
|
|
1157
|
+
args: [{
|
|
1158
|
+
isSignal: true,
|
|
1159
|
+
alias: "restoreFocus",
|
|
1160
|
+
required: false
|
|
1161
|
+
}]
|
|
1162
|
+
}],
|
|
1163
|
+
autoFocus: [{
|
|
1164
|
+
type: i0.Input,
|
|
1165
|
+
args: [{
|
|
1166
|
+
isSignal: true,
|
|
1167
|
+
alias: "autoFocus",
|
|
1168
|
+
required: false
|
|
1169
|
+
}]
|
|
1170
|
+
}],
|
|
1171
|
+
initialFocus: [{
|
|
1172
|
+
type: i0.Input,
|
|
1173
|
+
args: [{
|
|
1174
|
+
isSignal: true,
|
|
1175
|
+
alias: "initialFocus",
|
|
1176
|
+
required: false
|
|
1177
|
+
}]
|
|
1178
|
+
}],
|
|
1179
|
+
position: [{
|
|
1180
|
+
type: i0.Input,
|
|
1181
|
+
args: [{
|
|
1182
|
+
isSignal: true,
|
|
1183
|
+
alias: "position",
|
|
1184
|
+
required: false
|
|
1185
|
+
}]
|
|
1186
|
+
}],
|
|
1187
|
+
size: [{
|
|
1188
|
+
type: i0.Input,
|
|
1189
|
+
args: [{
|
|
1190
|
+
isSignal: true,
|
|
1191
|
+
alias: "size",
|
|
1192
|
+
required: false
|
|
1193
|
+
}]
|
|
1194
|
+
}],
|
|
1195
|
+
width: [{
|
|
1196
|
+
type: i0.Input,
|
|
1197
|
+
args: [{
|
|
1198
|
+
isSignal: true,
|
|
1199
|
+
alias: "width",
|
|
1200
|
+
required: false
|
|
1201
|
+
}]
|
|
1202
|
+
}],
|
|
1203
|
+
minWidth: [{
|
|
1204
|
+
type: i0.Input,
|
|
1205
|
+
args: [{
|
|
1206
|
+
isSignal: true,
|
|
1207
|
+
alias: "minWidth",
|
|
1208
|
+
required: false
|
|
1209
|
+
}]
|
|
1210
|
+
}],
|
|
1211
|
+
maxWidth: [{
|
|
1212
|
+
type: i0.Input,
|
|
1213
|
+
args: [{
|
|
1214
|
+
isSignal: true,
|
|
1215
|
+
alias: "maxWidth",
|
|
1216
|
+
required: false
|
|
1217
|
+
}]
|
|
1218
|
+
}],
|
|
1219
|
+
height: [{
|
|
1220
|
+
type: i0.Input,
|
|
1221
|
+
args: [{
|
|
1222
|
+
isSignal: true,
|
|
1223
|
+
alias: "height",
|
|
1224
|
+
required: false
|
|
1225
|
+
}]
|
|
1226
|
+
}],
|
|
1227
|
+
maxHeight: [{
|
|
1228
|
+
type: i0.Input,
|
|
1229
|
+
args: [{
|
|
1230
|
+
isSignal: true,
|
|
1231
|
+
alias: "maxHeight",
|
|
1232
|
+
required: false
|
|
1233
|
+
}]
|
|
1234
|
+
}],
|
|
1235
|
+
mobileWidth: [{
|
|
1236
|
+
type: i0.Input,
|
|
1237
|
+
args: [{
|
|
1238
|
+
isSignal: true,
|
|
1239
|
+
alias: "mobileWidth",
|
|
1240
|
+
required: false
|
|
1241
|
+
}]
|
|
1242
|
+
}],
|
|
1243
|
+
footerLayout: [{
|
|
1244
|
+
type: i0.Input,
|
|
1245
|
+
args: [{
|
|
1246
|
+
isSignal: true,
|
|
1247
|
+
alias: "footerLayout",
|
|
1248
|
+
required: false
|
|
1249
|
+
}]
|
|
1250
|
+
}],
|
|
1251
|
+
closeAriaLabel: [{
|
|
1252
|
+
type: i0.Input,
|
|
1253
|
+
args: [{
|
|
1254
|
+
isSignal: true,
|
|
1255
|
+
alias: "closeAriaLabel",
|
|
1256
|
+
required: false
|
|
1257
|
+
}]
|
|
1258
|
+
}],
|
|
1259
|
+
ariaLabel: [{
|
|
1260
|
+
type: i0.Input,
|
|
1261
|
+
args: [{
|
|
1262
|
+
isSignal: true,
|
|
1263
|
+
alias: "ariaLabel",
|
|
1264
|
+
required: false
|
|
1265
|
+
}]
|
|
1266
|
+
}],
|
|
1267
|
+
ariaLabelledBy: [{
|
|
1268
|
+
type: i0.Input,
|
|
1269
|
+
args: [{
|
|
1270
|
+
isSignal: true,
|
|
1271
|
+
alias: "ariaLabelledBy",
|
|
1272
|
+
required: false
|
|
1273
|
+
}]
|
|
1274
|
+
}],
|
|
1275
|
+
ariaDescribedBy: [{
|
|
1276
|
+
type: i0.Input,
|
|
1277
|
+
args: [{
|
|
1278
|
+
isSignal: true,
|
|
1279
|
+
alias: "ariaDescribedBy",
|
|
1280
|
+
required: false
|
|
1281
|
+
}]
|
|
1282
|
+
}],
|
|
1283
|
+
opened: [{
|
|
1284
|
+
type: i0.Output,
|
|
1285
|
+
args: ["opened"]
|
|
1286
|
+
}],
|
|
1287
|
+
closed: [{
|
|
1288
|
+
type: i0.Output,
|
|
1289
|
+
args: ["closed"]
|
|
1290
|
+
}]
|
|
1291
|
+
}
|
|
1292
|
+
});
|
|
578
1293
|
const AerisDialogModule = [
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
1294
|
+
AerisDialog,
|
|
1295
|
+
AerisDialogHeaderTemplate,
|
|
1296
|
+
AerisDialogFooterTemplate,
|
|
1297
|
+
AerisDialogCloseIconTemplate,
|
|
1298
|
+
AerisDialogHeadlessTemplate
|
|
584
1299
|
];
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* Generated bundle index. Do not edit.
|
|
588
|
-
*/
|
|
589
|
-
|
|
590
1300
|
export { AerisDialog, AerisDialogCloseIconTemplate, AerisDialogFooterTemplate, AerisDialogHeaderTemplate, AerisDialogHeadlessTemplate, AerisDialogModule };
|
|
591
|
-
|
|
1301
|
+
|
|
1302
|
+
//# sourceMappingURL=aeris-ui-core-dialog.mjs.map
|