@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-dynamic-dialog.mjs","sources":["../../../projects/aeris-ui/dynamic-dialog/aeris-dynamic-dialog.ts","../../../projects/aeris-ui/dynamic-dialog/aeris-ui-core-dynamic-dialog.ts"],"sourcesContent":["import { DOCUMENT, NgComponentOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n InjectionToken,\n Injector,\n Service,\n Type,\n computed,\n createComponent,\n inject,\n input,\n linkedSignal,\n signal,\n viewChild,\n} from '@angular/core';\n\nimport {\n AerisDialog,\n type AerisDialogCloseReason,\n type AerisDialogPosition,\n type AerisDialogSize,\n type AerisDialogVisibilityChangeEvent,\n} from '@aeris-ui/core/dialog';\n\nexport interface AerisDynamicDialogConfig<TData = unknown> {\n readonly header?: string;\n readonly data?: TData;\n readonly inputValues?: Record<string, unknown>;\n readonly modal?: boolean;\n readonly backdrop?: boolean;\n readonly backdropBlur?: boolean;\n readonly backdropBlurAmount?: string;\n readonly dismissibleMask?: boolean;\n readonly closeOnEscape?: boolean;\n readonly closable?: boolean;\n readonly maximizable?: boolean;\n readonly maximized?: boolean;\n readonly draggable?: boolean;\n readonly resizable?: boolean;\n readonly blockScroll?: boolean;\n readonly focusTrap?: boolean;\n readonly restoreFocus?: boolean;\n readonly autoFocus?: boolean;\n readonly initialFocus?: string;\n readonly position?: AerisDialogPosition;\n readonly size?: AerisDialogSize;\n readonly width?: string;\n readonly minWidth?: string;\n readonly maxWidth?: string;\n readonly height?: string;\n readonly maxHeight?: string;\n readonly mobileWidth?: string;\n readonly closeAriaLabel?: string;\n readonly ariaLabel?: string;\n readonly ariaLabelledBy?: string;\n readonly ariaDescribedBy?: string;\n}\n\nexport interface AerisDynamicDialogResolvedConfig<TData = unknown> {\n readonly header: string;\n readonly data: TData | undefined;\n readonly inputValues: Record<string, unknown>;\n readonly modal: boolean;\n readonly backdrop: boolean;\n readonly backdropBlur: boolean;\n readonly backdropBlurAmount: string;\n readonly dismissibleMask: boolean;\n readonly closeOnEscape: boolean;\n readonly closable: boolean;\n readonly maximizable: boolean;\n readonly maximized: boolean;\n readonly draggable: boolean;\n readonly resizable: boolean;\n readonly blockScroll: boolean;\n readonly focusTrap: boolean;\n readonly restoreFocus: boolean;\n readonly autoFocus: boolean;\n readonly initialFocus: string;\n readonly position: AerisDialogPosition;\n readonly size: AerisDialogSize;\n readonly width: string;\n readonly minWidth: string;\n readonly maxWidth: string;\n readonly height: string;\n readonly maxHeight: string;\n readonly mobileWidth: string;\n readonly closeAriaLabel: string;\n readonly ariaLabel: string;\n readonly ariaLabelledBy: string;\n readonly ariaDescribedBy: string;\n}\n\nexport interface AerisDynamicDialogShowEvent {\n readonly originalEvent: Event | null;\n}\n\nexport interface AerisDynamicDialogCloseEvent<TResult = unknown> {\n readonly originalEvent: Event | null;\n readonly reason: AerisDialogCloseReason;\n readonly result: TResult | undefined;\n}\n\nexport interface AerisDynamicDialogSubscription {\n unsubscribe(): void;\n}\n\nexport interface AerisDynamicDialogSubscribable<T> {\n subscribe(next: (event: T) => void): AerisDynamicDialogSubscription;\n}\n\nexport const AERIS_DYNAMIC_DIALOG_CONFIG = new InjectionToken<\n AerisDynamicDialogResolvedConfig\n>('AERIS_DYNAMIC_DIALOG_CONFIG');\n\nexport const AERIS_DYNAMIC_DIALOG_DATA = new InjectionToken<unknown>(\n 'AERIS_DYNAMIC_DIALOG_DATA',\n);\n\ninterface AerisDynamicDialogRefController<TResult> {\n readonly close: (result: TResult | undefined, originalEvent: Event | null) => void;\n readonly destroy: () => void;\n readonly focus: (options?: FocusOptions) => void;\n readonly maximize: () => void;\n readonly restore: () => void;\n readonly toggleMaximized: () => void;\n}\n\nclass AerisDynamicDialogEventStream<T> implements AerisDynamicDialogSubscribable<T> {\n private readonly listeners = new Set<(event: T) => void>();\n private completed = false;\n\n subscribe(next: (event: T) => void): AerisDynamicDialogSubscription {\n if (this.completed) return { unsubscribe: () => undefined };\n this.listeners.add(next);\n return {\n unsubscribe: () => {\n this.listeners.delete(next);\n },\n };\n }\n\n next(event: T): void {\n if (this.completed) return;\n for (const listener of [...this.listeners]) listener(event);\n }\n\n complete(): void {\n this.completed = true;\n this.listeners.clear();\n }\n}\n\nexport class AerisDynamicDialogRef<TResult = unknown> {\n private readonly closedStream = new AerisDynamicDialogEventStream<\n AerisDynamicDialogCloseEvent<TResult>\n >();\n private readonly shownStream = new AerisDynamicDialogEventStream<AerisDynamicDialogShowEvent>();\n private controller: AerisDynamicDialogRefController<TResult> | null = null;\n private closedOnce = false;\n\n readonly closed: AerisDynamicDialogSubscribable<AerisDynamicDialogCloseEvent<TResult>> =\n this.closedStream;\n readonly shown: AerisDynamicDialogSubscribable<AerisDynamicDialogShowEvent> = this.shownStream;\n\n close(result?: TResult, originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.close(result, originalEvent);\n }\n\n destroy(): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.controller?.destroy();\n this.closedStream.complete();\n this.shownStream.complete();\n this.controller = null;\n }\n\n focus(options?: FocusOptions): void {\n this.controller?.focus(options);\n }\n\n maximize(): void {\n this.controller?.maximize();\n }\n\n restore(): void {\n this.controller?.restore();\n }\n\n toggleMaximized(): void {\n this.controller?.toggleMaximized();\n }\n\n attach(controller: AerisDynamicDialogRefController<TResult>): void {\n this.controller = controller;\n }\n\n notifyShown(event: AerisDynamicDialogShowEvent): void {\n if (this.closedOnce) return;\n this.shownStream.next(event);\n }\n\n notifyClosed(event: AerisDynamicDialogCloseEvent<TResult>): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.closedStream.next(event);\n this.closedStream.complete();\n this.shownStream.complete();\n this.controller = null;\n }\n}\n\n@Component({\n selector: 'aeris-dynamic-dialog-host',\n imports: [AerisDialog, NgComponentOutlet],\n template: `\n <aeris-dialog\n #dialog\n [header]=\"settings().header\"\n [modal]=\"settings().modal\"\n [backdrop]=\"settings().backdrop\"\n [backdropBlur]=\"settings().backdropBlur\"\n [backdropBlurAmount]=\"settings().backdropBlurAmount\"\n [dismissibleMask]=\"settings().dismissibleMask\"\n [closeOnEscape]=\"settings().closeOnEscape\"\n [closable]=\"settings().closable\"\n [maximizable]=\"settings().maximizable\"\n [(maximized)]=\"maximized\"\n [draggable]=\"settings().draggable\"\n [resizable]=\"settings().resizable\"\n [blockScroll]=\"settings().blockScroll\"\n [focusTrap]=\"settings().focusTrap\"\n [restoreFocus]=\"settings().restoreFocus\"\n [autoFocus]=\"settings().autoFocus\"\n [initialFocus]=\"settings().initialFocus\"\n [position]=\"settings().position\"\n [size]=\"settings().size\"\n [width]=\"settings().width\"\n [minWidth]=\"settings().minWidth\"\n [maxWidth]=\"settings().maxWidth\"\n [height]=\"settings().height\"\n [maxHeight]=\"settings().maxHeight\"\n [mobileWidth]=\"settings().mobileWidth\"\n [closeAriaLabel]=\"settings().closeAriaLabel\"\n [ariaLabel]=\"settings().ariaLabel\"\n [ariaLabelledBy]=\"settings().ariaLabelledBy\"\n [ariaDescribedBy]=\"settings().ariaDescribedBy\"\n [visible]=\"visible()\"\n (shown)=\"handleShown($event)\"\n (hidden)=\"handleHidden($event)\"\n >\n <ng-container\n [ngComponentOutlet]=\"componentType()\"\n [ngComponentOutletInputs]=\"settings().inputValues\"\n [ngComponentOutletInjector]=\"contentInjector()\"\n />\n </aeris-dialog>\n `,\n host: {\n class: 'aeris-dynamic-dialog-host',\n },\n})\nexport class AerisDynamicDialogHost {\n readonly componentType = input.required<Type<unknown>>();\n readonly contentInjector = input.required<Injector>();\n readonly config = input.required<AerisDynamicDialogResolvedConfig>();\n readonly dialogRef = input.required<AerisDynamicDialogRef>();\n\n protected readonly dialog = viewChild<AerisDialog>('dialog');\n protected readonly visible = signal(true);\n protected readonly settings = computed(() => this.config());\n protected readonly maximized = linkedSignal(() => this.settings().maximized);\n private closeResult: unknown;\n\n closeWithResult(result: unknown, originalEvent: Event | null): void {\n this.closeResult = result;\n this.dialog()?.hide(originalEvent, 'api');\n }\n\n focus(options?: FocusOptions): void {\n this.dialog()?.focus(options);\n }\n\n maximize(): void {\n this.dialog()?.maximize();\n }\n\n restore(): void {\n this.dialog()?.restore();\n }\n\n toggleMaximized(): void {\n this.dialog()?.toggleMaximized();\n }\n\n protected handleShown(event: AerisDialogVisibilityChangeEvent): void {\n queueMicrotask(() => this.dialogRef().notifyShown({ originalEvent: event.originalEvent }));\n }\n\n protected handleHidden(event: AerisDialogVisibilityChangeEvent): void {\n this.visible.set(false);\n this.dialogRef().notifyClosed({\n originalEvent: event.originalEvent,\n reason: event.reason,\n result: this.closeResult,\n });\n }\n}\n\n@Service()\nexport class AerisDynamicDialogService {\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly activeRefs = new Set<AerisDynamicDialogRef<unknown>>();\n\n open<TComponent, TData = unknown, TResult = unknown>(\n componentType: Type<TComponent>,\n config: AerisDynamicDialogConfig<TData> = {},\n ): AerisDynamicDialogRef<TResult> {\n const resolvedConfig = this.resolveConfig(config);\n const ref = new AerisDynamicDialogRef<TResult>();\n const contentInjector = Injector.create({\n parent: this.environmentInjector,\n providers: [\n { provide: AerisDynamicDialogRef, useValue: ref },\n { provide: AERIS_DYNAMIC_DIALOG_CONFIG, useValue: resolvedConfig },\n { provide: AERIS_DYNAMIC_DIALOG_DATA, useValue: resolvedConfig.data },\n ],\n });\n const hostRef = createComponent(AerisDynamicDialogHost, {\n environmentInjector: this.environmentInjector,\n });\n const cleanup = (): void => {\n if (!this.activeRefs.delete(ref as AerisDynamicDialogRef<unknown>)) return;\n this.appRef.detachView(hostRef.hostView);\n hostRef.destroy();\n };\n\n ref.attach({\n close: (result, originalEvent) => {\n hostRef.instance.closeWithResult(result, originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n destroy: cleanup,\n focus: (options) => hostRef.instance.focus(options),\n maximize: () => hostRef.instance.maximize(),\n restore: () => hostRef.instance.restore(),\n toggleMaximized: () => hostRef.instance.toggleMaximized(),\n });\n ref.closed.subscribe(() => queueMicrotask(cleanup));\n this.activeRefs.add(ref as AerisDynamicDialogRef<unknown>);\n\n hostRef.setInput('componentType', componentType);\n hostRef.setInput('contentInjector', contentInjector);\n hostRef.setInput('config', resolvedConfig);\n hostRef.setInput('dialogRef', ref);\n this.appRef.attachView(hostRef.hostView);\n this.document.body.appendChild(this.rootNode(hostRef));\n hostRef.changeDetectorRef.detectChanges();\n\n return ref;\n }\n\n closeAll(): void {\n for (const ref of [...this.activeRefs].reverse()) ref.close();\n }\n\n destroyAll(): void {\n for (const ref of [...this.activeRefs].reverse()) ref.destroy();\n }\n\n private resolveConfig<TData>(\n config: AerisDynamicDialogConfig<TData>,\n ): AerisDynamicDialogResolvedConfig<TData> {\n return {\n header: config.header ?? '',\n data: config.data,\n inputValues: config.inputValues ?? {},\n modal: config.modal ?? true,\n backdrop: config.backdrop ?? true,\n backdropBlur: config.backdropBlur ?? true,\n backdropBlurAmount: config.backdropBlurAmount ?? '',\n dismissibleMask: config.dismissibleMask ?? false,\n closeOnEscape: config.closeOnEscape ?? true,\n closable: config.closable ?? true,\n maximizable: config.maximizable ?? false,\n maximized: config.maximized ?? false,\n draggable: config.draggable ?? false,\n resizable: config.resizable ?? false,\n blockScroll: config.blockScroll ?? true,\n focusTrap: config.focusTrap ?? true,\n restoreFocus: config.restoreFocus ?? true,\n autoFocus: config.autoFocus ?? true,\n initialFocus: config.initialFocus ?? '',\n position: config.position ?? 'center',\n size: config.size ?? 'md',\n width: config.width ?? '',\n minWidth: config.minWidth ?? '',\n maxWidth: config.maxWidth ?? '',\n height: config.height ?? '',\n maxHeight: config.maxHeight ?? '',\n mobileWidth: config.mobileWidth ?? '',\n closeAriaLabel: config.closeAriaLabel ?? 'Close dialog',\n ariaLabel: config.ariaLabel ?? '',\n ariaLabelledBy: config.ariaLabelledBy ?? '',\n ariaDescribedBy: config.ariaDescribedBy ?? '',\n };\n }\n\n private rootNode(hostRef: ComponentRef<AerisDynamicDialogHost>): Node {\n const [node] = (hostRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n}\n\nexport const AerisDynamicDialogModule = [AerisDynamicDialogHost] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;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rC,YAAA,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,cAAc;AACvD,YAAA,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE;AACjC,YAAA,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,EAAE;AAC3C,YAAA,eAAe,EAAE,MAAM,CAAC,eAAe,IAAI,EAAE;SAC9C;IACH;AAEQ,IAAA,QAAQ,CAAC,OAA6C,EAAA;QAC5D,MAAM,CAAC,IAAI,CAAC,GAAI,OAAO,CAAC,QAAqC,CAAC,SAAS;AACvE,QAAA,OAAO,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;IACvE;uGAvGW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,OAAA,EAAA,CAAA;wGAAzB,yBAAyB,EAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;AA2GM,MAAM,wBAAwB,GAAG,CAAC,sBAAsB;;ACra/D;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-dynamic-dialog.mjs","names":[],"sources":["../../../projects/aeris-ui/dynamic-dialog/aeris-dynamic-dialog.ts"],"sourcesContent":["import { DOCUMENT, NgComponentOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n InjectionToken,\n Injector,\n Service,\n Type,\n computed,\n createComponent,\n inject,\n input,\n linkedSignal,\n signal,\n viewChild,\n} from '@angular/core';\n\nimport {\n AerisDialog,\n type AerisDialogCloseReason,\n type AerisDialogPosition,\n type AerisDialogSize,\n type AerisDialogVisibilityChangeEvent,\n} from '@aeris-ui/core/dialog';\nimport type { AerisAppendTo } from '@aeris-ui/core';\n\nexport interface AerisDynamicDialogConfig<TData = unknown> {\n readonly header?: string;\n readonly appendTo?: AerisAppendTo;\n readonly data?: TData;\n readonly inputValues?: Record<string, unknown>;\n readonly modal?: boolean;\n readonly backdrop?: boolean;\n readonly backdropBlur?: boolean;\n readonly backdropBlurAmount?: string;\n readonly closeOnBackdropClick?: boolean;\n readonly closeOnEscape?: boolean;\n readonly closable?: boolean;\n readonly maximizable?: boolean;\n readonly maximized?: boolean;\n readonly draggable?: boolean;\n readonly resizable?: boolean;\n readonly blockScroll?: boolean;\n readonly focusTrap?: boolean;\n readonly restoreFocus?: boolean;\n readonly autoFocus?: boolean;\n readonly initialFocus?: string;\n readonly position?: AerisDialogPosition;\n readonly size?: AerisDialogSize;\n readonly width?: string;\n readonly minWidth?: string;\n readonly maxWidth?: string;\n readonly height?: string;\n readonly maxHeight?: string;\n readonly mobileWidth?: string;\n readonly closeAriaLabel?: string;\n readonly ariaLabel?: string;\n readonly ariaLabelledBy?: string;\n readonly ariaDescribedBy?: string;\n}\n\nexport interface AerisDynamicDialogResolvedConfig<TData = unknown> {\n readonly header: string;\n readonly appendTo: AerisAppendTo;\n readonly data: TData | undefined;\n readonly inputValues: Record<string, unknown>;\n readonly modal: boolean;\n readonly backdrop: boolean;\n readonly backdropBlur: boolean;\n readonly backdropBlurAmount: string;\n readonly closeOnBackdropClick: boolean;\n readonly closeOnEscape: boolean;\n readonly closable: boolean;\n readonly maximizable: boolean;\n readonly maximized: boolean;\n readonly draggable: boolean;\n readonly resizable: boolean;\n readonly blockScroll: boolean;\n readonly focusTrap: boolean;\n readonly restoreFocus: boolean;\n readonly autoFocus: boolean;\n readonly initialFocus: string;\n readonly position: AerisDialogPosition;\n readonly size: AerisDialogSize;\n readonly width: string;\n readonly minWidth: string;\n readonly maxWidth: string;\n readonly height: string;\n readonly maxHeight: string;\n readonly mobileWidth: string;\n readonly closeAriaLabel: string;\n readonly ariaLabel: string;\n readonly ariaLabelledBy: string;\n readonly ariaDescribedBy: string;\n}\n\nexport interface AerisDynamicDialogOpenEvent {\n readonly originalEvent: Event | null;\n}\n\nexport interface AerisDynamicDialogCloseEvent<TResult = unknown> {\n readonly originalEvent: Event | null;\n readonly reason: AerisDialogCloseReason;\n readonly result: TResult | undefined;\n}\n\nexport interface AerisDynamicDialogSubscription {\n unsubscribe(): void;\n}\n\nexport interface AerisDynamicDialogSubscribable<T> {\n subscribe(next: (event: T) => void): AerisDynamicDialogSubscription;\n}\n\nexport const AERIS_DYNAMIC_DIALOG_CONFIG = new InjectionToken<AerisDynamicDialogResolvedConfig>(\n 'AERIS_DYNAMIC_DIALOG_CONFIG',\n);\n\nexport const AERIS_DYNAMIC_DIALOG_DATA = new InjectionToken<unknown>('AERIS_DYNAMIC_DIALOG_DATA');\n\ninterface AerisDynamicDialogRefController<TResult> {\n readonly close: (result: TResult | undefined, originalEvent: Event | null) => void;\n readonly destroy: () => void;\n readonly focus: (options?: FocusOptions) => void;\n readonly maximize: () => void;\n readonly restore: () => void;\n readonly toggleMaximized: () => void;\n}\n\nclass AerisDynamicDialogEventStream<T> implements AerisDynamicDialogSubscribable<T> {\n private readonly listeners = new Set<(event: T) => void>();\n private completed = false;\n\n subscribe(next: (event: T) => void): AerisDynamicDialogSubscription {\n if (this.completed) return { unsubscribe: () => undefined };\n this.listeners.add(next);\n return {\n unsubscribe: () => {\n this.listeners.delete(next);\n },\n };\n }\n\n next(event: T): void {\n if (this.completed) return;\n for (const listener of [...this.listeners]) listener(event);\n }\n\n complete(): void {\n this.completed = true;\n this.listeners.clear();\n }\n}\n\nexport class AerisDynamicDialogRef<TResult = unknown> {\n private readonly closedStream = new AerisDynamicDialogEventStream<\n AerisDynamicDialogCloseEvent<TResult>\n >();\n private readonly openedStream = new AerisDynamicDialogEventStream<AerisDynamicDialogOpenEvent>();\n private controller: AerisDynamicDialogRefController<TResult> | null = null;\n private closedOnce = false;\n\n readonly closed: AerisDynamicDialogSubscribable<AerisDynamicDialogCloseEvent<TResult>> =\n this.closedStream;\n readonly opened: AerisDynamicDialogSubscribable<AerisDynamicDialogOpenEvent> = this.openedStream;\n\n close(result?: TResult, originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.close(result, originalEvent);\n }\n\n destroy(): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.controller?.destroy();\n this.closedStream.complete();\n this.openedStream.complete();\n this.controller = null;\n }\n\n focus(options?: FocusOptions): void {\n this.controller?.focus(options);\n }\n\n maximize(): void {\n this.controller?.maximize();\n }\n\n restore(): void {\n this.controller?.restore();\n }\n\n toggleMaximized(): void {\n this.controller?.toggleMaximized();\n }\n\n attach(controller: AerisDynamicDialogRefController<TResult>): void {\n this.controller = controller;\n }\n\n notifyOpened(event: AerisDynamicDialogOpenEvent): void {\n if (this.closedOnce) return;\n this.openedStream.next(event);\n }\n\n notifyClosed(event: AerisDynamicDialogCloseEvent<TResult>): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.closedStream.next(event);\n this.closedStream.complete();\n this.openedStream.complete();\n this.controller = null;\n }\n}\n\n@Component({\n selector: 'aeris-dynamic-dialog-host',\n imports: [AerisDialog, NgComponentOutlet],\n template: `\n <aeris-dialog\n #dialog\n [appendTo]=\"settings().appendTo\"\n [header]=\"settings().header\"\n [modal]=\"settings().modal\"\n [backdrop]=\"settings().backdrop\"\n [backdropBlur]=\"settings().backdropBlur\"\n [backdropBlurAmount]=\"settings().backdropBlurAmount\"\n [closeOnBackdropClick]=\"settings().closeOnBackdropClick\"\n [closeOnEscape]=\"settings().closeOnEscape\"\n [closable]=\"settings().closable\"\n [maximizable]=\"settings().maximizable\"\n [(maximized)]=\"maximized\"\n [draggable]=\"settings().draggable\"\n [resizable]=\"settings().resizable\"\n [blockScroll]=\"settings().blockScroll\"\n [focusTrap]=\"settings().focusTrap\"\n [restoreFocus]=\"settings().restoreFocus\"\n [autoFocus]=\"settings().autoFocus\"\n [initialFocus]=\"settings().initialFocus\"\n [position]=\"settings().position\"\n [size]=\"settings().size\"\n [width]=\"settings().width\"\n [minWidth]=\"settings().minWidth\"\n [maxWidth]=\"settings().maxWidth\"\n [height]=\"settings().height\"\n [maxHeight]=\"settings().maxHeight\"\n [mobileWidth]=\"settings().mobileWidth\"\n [closeAriaLabel]=\"settings().closeAriaLabel\"\n [ariaLabel]=\"settings().ariaLabel\"\n [ariaLabelledBy]=\"settings().ariaLabelledBy\"\n [ariaDescribedBy]=\"settings().ariaDescribedBy\"\n [visible]=\"visible()\"\n (opened)=\"handleOpened($event)\"\n (closed)=\"handleHidden($event)\"\n >\n <ng-container\n [ngComponentOutlet]=\"componentType()\"\n [ngComponentOutletInputs]=\"settings().inputValues\"\n [ngComponentOutletInjector]=\"contentInjector()\"\n />\n </aeris-dialog>\n `,\n host: {\n class: 'aeris-dynamic-dialog-host',\n },\n})\nexport class AerisDynamicDialogHost {\n readonly componentType = input.required<Type<unknown>>();\n readonly contentInjector = input.required<Injector>();\n readonly config = input.required<AerisDynamicDialogResolvedConfig>();\n readonly dialogRef = input.required<AerisDynamicDialogRef>();\n\n protected readonly dialog = viewChild<AerisDialog>('dialog');\n protected readonly visible = signal(true);\n protected readonly settings = computed(() => this.config());\n protected readonly maximized = linkedSignal(() => this.settings().maximized);\n private closeResult: unknown;\n\n closeWithResult(result: unknown, originalEvent: Event | null): void {\n this.closeResult = result;\n this.dialog()?.hide(originalEvent, 'api');\n }\n\n focus(options?: FocusOptions): void {\n this.dialog()?.focus(options);\n }\n\n maximize(): void {\n this.dialog()?.maximize();\n }\n\n restore(): void {\n this.dialog()?.restore();\n }\n\n toggleMaximized(): void {\n this.dialog()?.toggleMaximized();\n }\n\n protected handleOpened(event: AerisDialogVisibilityChangeEvent): void {\n queueMicrotask(() => this.dialogRef().notifyOpened({ originalEvent: event.originalEvent }));\n }\n\n protected handleHidden(event: AerisDialogVisibilityChangeEvent): void {\n this.visible.set(false);\n this.dialogRef().notifyClosed({\n originalEvent: event.originalEvent,\n reason: event.reason,\n result: this.closeResult,\n });\n }\n}\n\n@Service()\nexport class AerisDynamicDialogService {\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly activeRefs = new Set<AerisDynamicDialogRef<unknown>>();\n\n open<TComponent, TData = unknown, TResult = unknown>(\n componentType: Type<TComponent>,\n config: AerisDynamicDialogConfig<TData> = {},\n ): AerisDynamicDialogRef<TResult> {\n const resolvedConfig = this.resolveConfig(config);\n const ref = new AerisDynamicDialogRef<TResult>();\n const contentInjector = Injector.create({\n parent: this.environmentInjector,\n providers: [\n { provide: AerisDynamicDialogRef, useValue: ref },\n { provide: AERIS_DYNAMIC_DIALOG_CONFIG, useValue: resolvedConfig },\n { provide: AERIS_DYNAMIC_DIALOG_DATA, useValue: resolvedConfig.data },\n ],\n });\n const hostRef = createComponent(AerisDynamicDialogHost, {\n environmentInjector: this.environmentInjector,\n });\n const cleanup = (): void => {\n if (!this.activeRefs.delete(ref as AerisDynamicDialogRef<unknown>)) return;\n this.appRef.detachView(hostRef.hostView);\n hostRef.destroy();\n };\n\n ref.attach({\n close: (result, originalEvent) => {\n hostRef.instance.closeWithResult(result, originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n destroy: cleanup,\n focus: (options) => hostRef.instance.focus(options),\n maximize: () => hostRef.instance.maximize(),\n restore: () => hostRef.instance.restore(),\n toggleMaximized: () => hostRef.instance.toggleMaximized(),\n });\n ref.closed.subscribe(() => queueMicrotask(cleanup));\n this.activeRefs.add(ref as AerisDynamicDialogRef<unknown>);\n\n hostRef.setInput('componentType', componentType);\n hostRef.setInput('contentInjector', contentInjector);\n hostRef.setInput('config', resolvedConfig);\n hostRef.setInput('dialogRef', ref);\n this.appRef.attachView(hostRef.hostView);\n this.document.body.appendChild(this.rootNode(hostRef));\n hostRef.changeDetectorRef.detectChanges();\n\n return ref;\n }\n\n closeAll(): void {\n for (const ref of [...this.activeRefs].reverse()) ref.close();\n }\n\n destroyAll(): void {\n for (const ref of [...this.activeRefs].reverse()) ref.destroy();\n }\n\n private resolveConfig<TData>(\n config: AerisDynamicDialogConfig<TData>,\n ): AerisDynamicDialogResolvedConfig<TData> {\n return {\n header: config.header ?? '',\n appendTo: config.appendTo,\n data: config.data,\n inputValues: config.inputValues ?? {},\n modal: config.modal ?? true,\n backdrop: config.backdrop ?? true,\n backdropBlur: config.backdropBlur ?? true,\n backdropBlurAmount: config.backdropBlurAmount ?? '',\n closeOnBackdropClick: config.closeOnBackdropClick ?? false,\n closeOnEscape: config.closeOnEscape ?? true,\n closable: config.closable ?? true,\n maximizable: config.maximizable ?? false,\n maximized: config.maximized ?? false,\n draggable: config.draggable ?? false,\n resizable: config.resizable ?? false,\n blockScroll: config.blockScroll ?? true,\n focusTrap: config.focusTrap ?? true,\n restoreFocus: config.restoreFocus ?? true,\n autoFocus: config.autoFocus ?? true,\n initialFocus: config.initialFocus ?? '',\n position: config.position ?? 'center',\n size: config.size ?? 'md',\n width: config.width ?? '',\n minWidth: config.minWidth ?? '',\n maxWidth: config.maxWidth ?? '',\n height: config.height ?? '',\n maxHeight: config.maxHeight ?? '',\n mobileWidth: config.mobileWidth ?? '',\n closeAriaLabel: config.closeAriaLabel ?? 'Close dialog',\n ariaLabel: config.ariaLabel ?? '',\n ariaLabelledBy: config.ariaLabelledBy ?? '',\n ariaDescribedBy: config.ariaDescribedBy ?? '',\n };\n }\n\n private rootNode(hostRef: ComponentRef<AerisDynamicDialogHost>): Node {\n const [node] = (hostRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n}\n\nexport const AerisDynamicDialogModule = [AerisDynamicDialogHost] as const;\n"],"mappings":";;;;AAqHA,MAAa,8BAA8B,IAAI,eAC7C,6BAA6B;AAG/B,MAAa,4BAA4B,IAAI,eAAwB,2BAA2B;AAWhG,IAAM,gCAAN,MAAmC;CAChB,4BAAY,IAAI,IAAG;CAC5B,YAAY;CAEpB,UAAU,MAAwB;EAChC,IAAI,KAAK,WAAW,OAAO,EAAE,mBAAmB,OAAS;EACzD,KAAK,UAAU,IAAI,IAAI;EACvB,OAAO,EACL,mBAAkB;G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