@aeris-ui/core 22.0.0-alpha.0 → 22.0.0-alpha.10
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 +14 -3
- 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 +1228 -446
- 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 +209 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +581 -189
- 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 +741 -139
- 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 +773 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1171 -521
- 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 +440 -140
- 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-code-block.mjs +637 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1340 -700
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +823 -318
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1404 -555
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1471 -740
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +918 -443
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1942 -1123
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1079 -346
- 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 +1015 -322
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +410 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +967 -587
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1379 -522
- 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 +688 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +2446 -1117
- 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 -98
- 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 -107
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +658 -255
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +926 -291
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +625 -158
- 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 +613 -382
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1062 -472
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +994 -393
- 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 +623 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1598 -561
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +592 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +485 -199
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +428 -123
- 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 +925 -249
- 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 +912 -375
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +549 -176
- 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 +394 -124
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +506 -231
- 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 +226 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1845 -648
- 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 +884 -430
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +861 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +955 -266
- 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 +2034 -869
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +789 -279
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +856 -219
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1284 -1399
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -144
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +909 -441
- 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 +1076 -384
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
- 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 +625 -330
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1453 -621
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2019 -940
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1107 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +985 -316
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +20 -8
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/runtime/schematics/ng-add/options.js +4 -4
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +6 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +10 -4
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +28 -5
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +2 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +22 -8
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +12 -4
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +7 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +49 -33
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +412 -125
- package/styles/controls.css +61 -29
- package/tools/aeris-theme.mjs +2 -2
- package/tools/aeris-theme.schema.json +5 -2
- package/types/aeris-ui-core-accordion.d.ts +167 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
- package/types/aeris-ui-core-auto-complete.d.ts +327 -140
- 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 -46
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +201 -117
- package/types/aeris-ui-core-cascade-select.d.ts +257 -123
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -54
- 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-code-block.d.ts +188 -0
- package/types/aeris-ui-core-color-picker.d.ts +348 -143
- package/types/aeris-ui-core-compare.d.ts +224 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +442 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +264 -146
- package/types/aeris-ui-core-date-picker.d.ts +489 -217
- package/types/aeris-ui-core-dialog.d.ts +288 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +158 -137
- package/types/aeris-ui-core-editor.d.ts +250 -123
- package/types/aeris-ui-core-file-upload.d.ts +367 -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 +163 -0
- package/types/aeris-ui-core-galleria.d.ts +588 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -32
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +194 -69
- package/types/aeris-ui-core-input-number.d.ts +272 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +185 -60
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +175 -121
- package/types/aeris-ui-core-menu.d.ts +277 -168
- package/types/aeris-ui-core-menubar.d.ts +273 -135
- package/types/aeris-ui-core-message.d.ts +132 -60
- package/types/aeris-ui-core-meter-group.d.ts +163 -90
- package/types/aeris-ui-core-multi-select.d.ts +439 -180
- package/types/aeris-ui-core-order-list.d.ts +144 -66
- package/types/aeris-ui-core-organization-chart.d.ts +133 -77
- package/types/aeris-ui-core-paginator.d.ts +93 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +258 -102
- package/types/aeris-ui-core-pick-list.d.ts +374 -179
- package/types/aeris-ui-core-popover.d.ts +219 -105
- package/types/aeris-ui-core-progress-bar.d.ts +157 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -50
- 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 +66 -29
- package/types/aeris-ui-core-select.d.ts +475 -217
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -115
- package/types/aeris-ui-core-speed-dial.d.ts +241 -111
- package/types/aeris-ui-core-split-button.d.ts +267 -113
- package/types/aeris-ui-core-splitter.d.ts +225 -106
- package/types/aeris-ui-core-stepper.d.ts +184 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +596 -304
- package/types/aeris-ui-core-tabs.d.ts +181 -76
- package/types/aeris-ui-core-textarea.d.ts +261 -78
- package/types/aeris-ui-core-theme-builder.d.ts +472 -450
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +251 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +225 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +364 -171
- package/types/aeris-ui-core-tree-table.d.ts +566 -286
- package/types/aeris-ui-core-tree.d.ts +270 -165
- package/types/aeris-ui-core.d.ts +197 -72
|
@@ -1,140 +1,175 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { AerisDialog } from
|
|
5
|
-
|
|
6
|
-
const
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
1
|
+
import { DOCUMENT, NgComponentOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ApplicationRef, Component, EnvironmentInjector, InjectionToken, Injector, Service, computed, createComponent, inject, input, linkedSignal, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { AerisDialog } from "@aeris-ui/core/dialog";
|
|
5
|
+
const AERIS_DYNAMIC_DIALOG_CONFIG = new InjectionToken("AERIS_DYNAMIC_DIALOG_CONFIG");
|
|
6
|
+
const AERIS_DYNAMIC_DIALOG_DATA = new InjectionToken("AERIS_DYNAMIC_DIALOG_DATA");
|
|
7
|
+
var AerisDynamicDialogEventStream = class {
|
|
8
|
+
listeners = /* @__PURE__ */ new Set();
|
|
9
|
+
completed = false;
|
|
10
|
+
subscribe(next) {
|
|
11
|
+
if (this.completed) return { unsubscribe: () => void 0 };
|
|
12
|
+
this.listeners.add(next);
|
|
13
|
+
return { unsubscribe: () => {
|
|
14
|
+
this.listeners.delete(next);
|
|
15
|
+
} };
|
|
16
|
+
}
|
|
17
|
+
next(event) {
|
|
18
|
+
if (this.completed) return;
|
|
19
|
+
for (const listener of [...this.listeners]) listener(event);
|
|
20
|
+
}
|
|
21
|
+
complete() {
|
|
22
|
+
this.completed = true;
|
|
23
|
+
this.listeners.clear();
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
var AerisDynamicDialogRef = class {
|
|
27
|
+
closedStream = new AerisDynamicDialogEventStream();
|
|
28
|
+
openedStream = new AerisDynamicDialogEventStream();
|
|
29
|
+
controller = null;
|
|
30
|
+
closedOnce = false;
|
|
31
|
+
closed = this.closedStream;
|
|
32
|
+
opened = this.openedStream;
|
|
33
|
+
close(result, originalEvent = null) {
|
|
34
|
+
if (this.closedOnce) return;
|
|
35
|
+
this.controller?.close(result, originalEvent);
|
|
36
|
+
}
|
|
37
|
+
destroy() {
|
|
38
|
+
if (this.closedOnce) return;
|
|
39
|
+
this.closedOnce = true;
|
|
40
|
+
this.controller?.destroy();
|
|
41
|
+
this.closedStream.complete();
|
|
42
|
+
this.openedStream.complete();
|
|
43
|
+
this.controller = null;
|
|
44
|
+
}
|
|
45
|
+
focus(options) {
|
|
46
|
+
this.controller?.focus(options);
|
|
47
|
+
}
|
|
48
|
+
maximize() {
|
|
49
|
+
this.controller?.maximize();
|
|
50
|
+
}
|
|
51
|
+
restore() {
|
|
52
|
+
this.controller?.restore();
|
|
53
|
+
}
|
|
54
|
+
toggleMaximized() {
|
|
55
|
+
this.controller?.toggleMaximized();
|
|
56
|
+
}
|
|
57
|
+
attach(controller) {
|
|
58
|
+
this.controller = controller;
|
|
59
|
+
}
|
|
60
|
+
notifyOpened(event) {
|
|
61
|
+
if (this.closedOnce) return;
|
|
62
|
+
this.openedStream.next(event);
|
|
63
|
+
}
|
|
64
|
+
notifyClosed(event) {
|
|
65
|
+
if (this.closedOnce) return;
|
|
66
|
+
this.closedOnce = true;
|
|
67
|
+
this.closedStream.next(event);
|
|
68
|
+
this.closedStream.complete();
|
|
69
|
+
this.openedStream.complete();
|
|
70
|
+
this.controller = null;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
var AerisDynamicDialogHost = class AerisDynamicDialogHost {
|
|
74
|
+
componentType = input.required(...ngDevMode ? [{ debugName: "componentType" }] : /* istanbul ignore next */ []);
|
|
75
|
+
contentInjector = input.required(...ngDevMode ? [{ debugName: "contentInjector" }] : /* istanbul ignore next */ []);
|
|
76
|
+
config = input.required(...ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []);
|
|
77
|
+
dialogRef = input.required(...ngDevMode ? [{ debugName: "dialogRef" }] : /* istanbul ignore next */ []);
|
|
78
|
+
dialog = viewChild("dialog", ...ngDevMode ? [{ debugName: "dialog" }] : /* istanbul ignore next */ []);
|
|
79
|
+
visible = signal(true, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
80
|
+
settings = computed(() => this.config(), ...ngDevMode ? [{ debugName: "settings" }] : /* istanbul ignore next */ []);
|
|
81
|
+
maximized = linkedSignal(() => this.settings().maximized, ...ngDevMode ? [{ debugName: "maximized" }] : /* istanbul ignore next */ []);
|
|
82
|
+
closeResult;
|
|
83
|
+
closeWithResult(result, originalEvent) {
|
|
84
|
+
this.closeResult = result;
|
|
85
|
+
this.dialog()?.hide(originalEvent, "api");
|
|
86
|
+
}
|
|
87
|
+
focus(options) {
|
|
88
|
+
this.dialog()?.focus(options);
|
|
89
|
+
}
|
|
90
|
+
maximize() {
|
|
91
|
+
this.dialog()?.maximize();
|
|
92
|
+
}
|
|
93
|
+
restore() {
|
|
94
|
+
this.dialog()?.restore();
|
|
95
|
+
}
|
|
96
|
+
toggleMaximized() {
|
|
97
|
+
this.dialog()?.toggleMaximized();
|
|
98
|
+
}
|
|
99
|
+
handleOpened(event) {
|
|
100
|
+
queueMicrotask(() => this.dialogRef().notifyOpened({ originalEvent: event.originalEvent }));
|
|
101
|
+
}
|
|
102
|
+
handleHidden(event) {
|
|
103
|
+
this.visible.set(false);
|
|
104
|
+
this.dialogRef().notifyClosed({
|
|
105
|
+
originalEvent: event.originalEvent,
|
|
106
|
+
reason: event.reason,
|
|
107
|
+
result: this.closeResult
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
111
|
+
minVersion: "12.0.0",
|
|
112
|
+
version: "22.2.2",
|
|
113
|
+
ngImport: i0,
|
|
114
|
+
type: AerisDynamicDialogHost,
|
|
115
|
+
deps: [],
|
|
116
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
117
|
+
});
|
|
118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
119
|
+
minVersion: "17.2.0",
|
|
120
|
+
version: "22.2.2",
|
|
121
|
+
type: AerisDynamicDialogHost,
|
|
122
|
+
isStandalone: true,
|
|
123
|
+
selector: "aeris-dynamic-dialog-host",
|
|
124
|
+
inputs: {
|
|
125
|
+
componentType: {
|
|
126
|
+
classPropertyName: "componentType",
|
|
127
|
+
publicName: "componentType",
|
|
128
|
+
isSignal: true,
|
|
129
|
+
isRequired: true,
|
|
130
|
+
transformFunction: null
|
|
131
|
+
},
|
|
132
|
+
contentInjector: {
|
|
133
|
+
classPropertyName: "contentInjector",
|
|
134
|
+
publicName: "contentInjector",
|
|
135
|
+
isSignal: true,
|
|
136
|
+
isRequired: true,
|
|
137
|
+
transformFunction: null
|
|
138
|
+
},
|
|
139
|
+
config: {
|
|
140
|
+
classPropertyName: "config",
|
|
141
|
+
publicName: "config",
|
|
142
|
+
isSignal: true,
|
|
143
|
+
isRequired: true,
|
|
144
|
+
transformFunction: null
|
|
145
|
+
},
|
|
146
|
+
dialogRef: {
|
|
147
|
+
classPropertyName: "dialogRef",
|
|
148
|
+
publicName: "dialogRef",
|
|
149
|
+
isSignal: true,
|
|
150
|
+
isRequired: true,
|
|
151
|
+
transformFunction: null
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
host: { classAttribute: "aeris-dynamic-dialog-host" },
|
|
155
|
+
viewQueries: [{
|
|
156
|
+
propertyName: "dialog",
|
|
157
|
+
first: true,
|
|
158
|
+
predicate: ["dialog"],
|
|
159
|
+
descendants: true,
|
|
160
|
+
isSignal: true
|
|
161
|
+
}],
|
|
162
|
+
ngImport: i0,
|
|
163
|
+
template: `
|
|
130
164
|
<aeris-dialog
|
|
131
165
|
#dialog
|
|
166
|
+
[appendTo]="settings().appendTo"
|
|
132
167
|
[header]="settings().header"
|
|
133
168
|
[modal]="settings().modal"
|
|
134
169
|
[backdrop]="settings().backdrop"
|
|
135
170
|
[backdropBlur]="settings().backdropBlur"
|
|
136
171
|
[backdropBlurAmount]="settings().backdropBlurAmount"
|
|
137
|
-
[
|
|
172
|
+
[closeOnBackdropClick]="settings().closeOnBackdropClick"
|
|
138
173
|
[closeOnEscape]="settings().closeOnEscape"
|
|
139
174
|
[closable]="settings().closable"
|
|
140
175
|
[maximizable]="settings().maximizable"
|
|
@@ -159,8 +194,8 @@ class AerisDynamicDialogHost {
|
|
|
159
194
|
[ariaLabelledBy]="settings().ariaLabelledBy"
|
|
160
195
|
[ariaDescribedBy]="settings().ariaDescribedBy"
|
|
161
196
|
[visible]="visible()"
|
|
162
|
-
(
|
|
163
|
-
(
|
|
197
|
+
(opened)="handleOpened($event)"
|
|
198
|
+
(closed)="handleHidden($event)"
|
|
164
199
|
>
|
|
165
200
|
<ng-container
|
|
166
201
|
[ngComponentOutlet]="componentType()"
|
|
@@ -168,22 +203,89 @@ class AerisDynamicDialogHost {
|
|
|
168
203
|
[ngComponentOutletInjector]="contentInjector()"
|
|
169
204
|
/>
|
|
170
205
|
</aeris-dialog>
|
|
171
|
-
`,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
206
|
+
`,
|
|
207
|
+
isInline: true,
|
|
208
|
+
dependencies: [{
|
|
209
|
+
kind: "component",
|
|
210
|
+
type: AerisDialog,
|
|
211
|
+
selector: "aeris-dialog",
|
|
212
|
+
inputs: [
|
|
213
|
+
"visible",
|
|
214
|
+
"maximized",
|
|
215
|
+
"header",
|
|
216
|
+
"appendTo",
|
|
217
|
+
"role",
|
|
218
|
+
"modal",
|
|
219
|
+
"backdrop",
|
|
220
|
+
"backdropBlur",
|
|
221
|
+
"backdropBlurAmount",
|
|
222
|
+
"closeOnBackdropClick",
|
|
223
|
+
"closeOnEscape",
|
|
224
|
+
"closable",
|
|
225
|
+
"maximizable",
|
|
226
|
+
"draggable",
|
|
227
|
+
"resizable",
|
|
228
|
+
"blockScroll",
|
|
229
|
+
"focusTrap",
|
|
230
|
+
"restoreFocus",
|
|
231
|
+
"autoFocus",
|
|
232
|
+
"initialFocus",
|
|
233
|
+
"position",
|
|
234
|
+
"size",
|
|
235
|
+
"width",
|
|
236
|
+
"minWidth",
|
|
237
|
+
"maxWidth",
|
|
238
|
+
"height",
|
|
239
|
+
"maxHeight",
|
|
240
|
+
"mobileWidth",
|
|
241
|
+
"footerLayout",
|
|
242
|
+
"closeAriaLabel",
|
|
243
|
+
"ariaLabel",
|
|
244
|
+
"ariaLabelledBy",
|
|
245
|
+
"ariaDescribedBy"
|
|
246
|
+
],
|
|
247
|
+
outputs: [
|
|
248
|
+
"visibleChange",
|
|
249
|
+
"maximizedChange",
|
|
250
|
+
"opened",
|
|
251
|
+
"closed"
|
|
252
|
+
]
|
|
253
|
+
}, {
|
|
254
|
+
kind: "directive",
|
|
255
|
+
type: NgComponentOutlet,
|
|
256
|
+
selector: "[ngComponentOutlet]",
|
|
257
|
+
inputs: [
|
|
258
|
+
"ngComponentOutlet",
|
|
259
|
+
"ngComponentOutletInputs",
|
|
260
|
+
"ngComponentOutletInjector",
|
|
261
|
+
"ngComponentOutletEnvironmentInjector",
|
|
262
|
+
"ngComponentOutletContent",
|
|
263
|
+
"ngComponentOutletNgModule"
|
|
264
|
+
],
|
|
265
|
+
exportAs: ["ngComponentOutlet"]
|
|
266
|
+
}]
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
270
|
+
minVersion: "12.0.0",
|
|
271
|
+
version: "22.2.2",
|
|
272
|
+
ngImport: i0,
|
|
273
|
+
type: AerisDynamicDialogHost,
|
|
274
|
+
decorators: [{
|
|
275
|
+
type: Component,
|
|
276
|
+
args: [{
|
|
277
|
+
selector: "aeris-dynamic-dialog-host",
|
|
278
|
+
imports: [AerisDialog, NgComponentOutlet],
|
|
279
|
+
template: `
|
|
179
280
|
<aeris-dialog
|
|
180
281
|
#dialog
|
|
282
|
+
[appendTo]="settings().appendTo"
|
|
181
283
|
[header]="settings().header"
|
|
182
284
|
[modal]="settings().modal"
|
|
183
285
|
[backdrop]="settings().backdrop"
|
|
184
286
|
[backdropBlur]="settings().backdropBlur"
|
|
185
287
|
[backdropBlurAmount]="settings().backdropBlurAmount"
|
|
186
|
-
[
|
|
288
|
+
[closeOnBackdropClick]="settings().closeOnBackdropClick"
|
|
187
289
|
[closeOnEscape]="settings().closeOnEscape"
|
|
188
290
|
[closable]="settings().closable"
|
|
189
291
|
[maximizable]="settings().maximizable"
|
|
@@ -208,8 +310,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
208
310
|
[ariaLabelledBy]="settings().ariaLabelledBy"
|
|
209
311
|
[ariaDescribedBy]="settings().ariaDescribedBy"
|
|
210
312
|
[visible]="visible()"
|
|
211
|
-
(
|
|
212
|
-
(
|
|
313
|
+
(opened)="handleOpened($event)"
|
|
314
|
+
(closed)="handleHidden($event)"
|
|
213
315
|
>
|
|
214
316
|
<ng-container
|
|
215
317
|
[ngComponentOutlet]="componentType()"
|
|
@@ -218,116 +320,170 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
218
320
|
/>
|
|
219
321
|
</aeris-dialog>
|
|
220
322
|
`,
|
|
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
|
-
|
|
323
|
+
host: { class: "aeris-dynamic-dialog-host" }
|
|
324
|
+
}]
|
|
325
|
+
}],
|
|
326
|
+
propDecorators: {
|
|
327
|
+
componentType: [{
|
|
328
|
+
type: i0.Input,
|
|
329
|
+
args: [{
|
|
330
|
+
isSignal: true,
|
|
331
|
+
alias: "componentType",
|
|
332
|
+
required: true
|
|
333
|
+
}]
|
|
334
|
+
}],
|
|
335
|
+
contentInjector: [{
|
|
336
|
+
type: i0.Input,
|
|
337
|
+
args: [{
|
|
338
|
+
isSignal: true,
|
|
339
|
+
alias: "contentInjector",
|
|
340
|
+
required: true
|
|
341
|
+
}]
|
|
342
|
+
}],
|
|
343
|
+
config: [{
|
|
344
|
+
type: i0.Input,
|
|
345
|
+
args: [{
|
|
346
|
+
isSignal: true,
|
|
347
|
+
alias: "config",
|
|
348
|
+
required: true
|
|
349
|
+
}]
|
|
350
|
+
}],
|
|
351
|
+
dialogRef: [{
|
|
352
|
+
type: i0.Input,
|
|
353
|
+
args: [{
|
|
354
|
+
isSignal: true,
|
|
355
|
+
alias: "dialogRef",
|
|
356
|
+
required: true
|
|
357
|
+
}]
|
|
358
|
+
}],
|
|
359
|
+
dialog: [{
|
|
360
|
+
type: i0.ViewChild,
|
|
361
|
+
args: ["dialog", { isSignal: true }]
|
|
362
|
+
}]
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
var AerisDynamicDialogService = class AerisDynamicDialogService {
|
|
366
|
+
appRef = inject(ApplicationRef);
|
|
367
|
+
document = inject(DOCUMENT);
|
|
368
|
+
environmentInjector = inject(EnvironmentInjector);
|
|
369
|
+
activeRefs = /* @__PURE__ */ new Set();
|
|
370
|
+
open(componentType, config = {}) {
|
|
371
|
+
const resolvedConfig = this.resolveConfig(config);
|
|
372
|
+
const ref = new AerisDynamicDialogRef();
|
|
373
|
+
const contentInjector = Injector.create({
|
|
374
|
+
parent: this.environmentInjector,
|
|
375
|
+
providers: [
|
|
376
|
+
{
|
|
377
|
+
provide: AerisDynamicDialogRef,
|
|
378
|
+
useValue: ref
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
provide: AERIS_DYNAMIC_DIALOG_CONFIG,
|
|
382
|
+
useValue: resolvedConfig
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
provide: AERIS_DYNAMIC_DIALOG_DATA,
|
|
386
|
+
useValue: resolvedConfig.data
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
});
|
|
390
|
+
const hostRef = createComponent(AerisDynamicDialogHost, { environmentInjector: this.environmentInjector });
|
|
391
|
+
const cleanup = () => {
|
|
392
|
+
if (!this.activeRefs.delete(ref)) return;
|
|
393
|
+
this.appRef.detachView(hostRef.hostView);
|
|
394
|
+
hostRef.destroy();
|
|
395
|
+
};
|
|
396
|
+
ref.attach({
|
|
397
|
+
close: (result, originalEvent) => {
|
|
398
|
+
hostRef.instance.closeWithResult(result, originalEvent);
|
|
399
|
+
hostRef.changeDetectorRef.detectChanges();
|
|
400
|
+
},
|
|
401
|
+
destroy: cleanup,
|
|
402
|
+
focus: (options) => hostRef.instance.focus(options),
|
|
403
|
+
maximize: () => hostRef.instance.maximize(),
|
|
404
|
+
restore: () => hostRef.instance.restore(),
|
|
405
|
+
toggleMaximized: () => hostRef.instance.toggleMaximized()
|
|
406
|
+
});
|
|
407
|
+
ref.closed.subscribe(() => queueMicrotask(cleanup));
|
|
408
|
+
this.activeRefs.add(ref);
|
|
409
|
+
hostRef.setInput("componentType", componentType);
|
|
410
|
+
hostRef.setInput("contentInjector", contentInjector);
|
|
411
|
+
hostRef.setInput("config", resolvedConfig);
|
|
412
|
+
hostRef.setInput("dialogRef", ref);
|
|
413
|
+
this.appRef.attachView(hostRef.hostView);
|
|
414
|
+
this.document.body.appendChild(this.rootNode(hostRef));
|
|
415
|
+
hostRef.changeDetectorRef.detectChanges();
|
|
416
|
+
return ref;
|
|
417
|
+
}
|
|
418
|
+
closeAll() {
|
|
419
|
+
for (const ref of [...this.activeRefs].reverse()) ref.close();
|
|
420
|
+
}
|
|
421
|
+
destroyAll() {
|
|
422
|
+
for (const ref of [...this.activeRefs].reverse()) ref.destroy();
|
|
423
|
+
}
|
|
424
|
+
resolveConfig(config) {
|
|
425
|
+
return {
|
|
426
|
+
header: config.header ?? "",
|
|
427
|
+
appendTo: config.appendTo,
|
|
428
|
+
data: config.data,
|
|
429
|
+
inputValues: config.inputValues ?? {},
|
|
430
|
+
modal: config.modal ?? true,
|
|
431
|
+
backdrop: config.backdrop ?? true,
|
|
432
|
+
backdropBlur: config.backdropBlur ?? true,
|
|
433
|
+
backdropBlurAmount: config.backdropBlurAmount ?? "",
|
|
434
|
+
closeOnBackdropClick: config.closeOnBackdropClick ?? false,
|
|
435
|
+
closeOnEscape: config.closeOnEscape ?? true,
|
|
436
|
+
closable: config.closable ?? true,
|
|
437
|
+
maximizable: config.maximizable ?? false,
|
|
438
|
+
maximized: config.maximized ?? false,
|
|
439
|
+
draggable: config.draggable ?? false,
|
|
440
|
+
resizable: config.resizable ?? false,
|
|
441
|
+
blockScroll: config.blockScroll ?? true,
|
|
442
|
+
focusTrap: config.focusTrap ?? true,
|
|
443
|
+
restoreFocus: config.restoreFocus ?? true,
|
|
444
|
+
autoFocus: config.autoFocus ?? true,
|
|
445
|
+
initialFocus: config.initialFocus ?? "",
|
|
446
|
+
position: config.position ?? "center",
|
|
447
|
+
size: config.size ?? "md",
|
|
448
|
+
width: config.width ?? "",
|
|
449
|
+
minWidth: config.minWidth ?? "",
|
|
450
|
+
maxWidth: config.maxWidth ?? "",
|
|
451
|
+
height: config.height ?? "",
|
|
452
|
+
maxHeight: config.maxHeight ?? "",
|
|
453
|
+
mobileWidth: config.mobileWidth ?? "",
|
|
454
|
+
closeAriaLabel: config.closeAriaLabel ?? "Close dialog",
|
|
455
|
+
ariaLabel: config.ariaLabel ?? "",
|
|
456
|
+
ariaLabelledBy: config.ariaLabelledBy ?? "",
|
|
457
|
+
ariaDescribedBy: config.ariaDescribedBy ?? ""
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
rootNode(hostRef) {
|
|
461
|
+
const [node] = hostRef.hostView.rootNodes;
|
|
462
|
+
return node instanceof Node ? node : this.document.createTextNode("");
|
|
463
|
+
}
|
|
464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
465
|
+
minVersion: "12.0.0",
|
|
466
|
+
version: "22.2.2",
|
|
467
|
+
ngImport: i0,
|
|
468
|
+
type: AerisDynamicDialogService,
|
|
469
|
+
deps: [],
|
|
470
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
471
|
+
});
|
|
472
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
473
|
+
minVersion: "22.0.0",
|
|
474
|
+
version: "22.2.2",
|
|
475
|
+
ngImport: i0,
|
|
476
|
+
type: AerisDynamicDialogService
|
|
477
|
+
});
|
|
478
|
+
};
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
480
|
+
minVersion: "12.0.0",
|
|
481
|
+
version: "22.2.2",
|
|
482
|
+
ngImport: i0,
|
|
483
|
+
type: AerisDynamicDialogService,
|
|
484
|
+
decorators: [{ type: Service }]
|
|
485
|
+
});
|
|
326
486
|
const AerisDynamicDialogModule = [AerisDynamicDialogHost];
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Generated bundle index. Do not edit.
|
|
330
|
-
*/
|
|
331
|
-
|
|
332
487
|
export { AERIS_DYNAMIC_DIALOG_CONFIG, AERIS_DYNAMIC_DIALOG_DATA, AerisDynamicDialogHost, AerisDynamicDialogModule, AerisDynamicDialogRef, AerisDynamicDialogService };
|
|
333
|
-
|
|
488
|
+
|
|
489
|
+
//# sourceMappingURL=aeris-ui-core-dynamic-dialog.mjs.map
|