@angular/cdk 20.0.0-next.0 → 20.0.0-next.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/_adev_assets/cdk_testing.json +1 -0
- package/_adev_assets/cdk_testing_protractor.json +1 -0
- package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
- package/_adev_assets/cdk_testing_testbed.json +1 -0
- package/a11y/index.d.ts +330 -1234
- package/a11y-module.d-DBHGyKoh.d.ts +314 -0
- package/a11y-prebuilt.css +1 -1
- package/accordion/index.d.ts +8 -27
- package/activedescendant-key-manager.d-Bjic5obv.d.ts +32 -0
- package/bidi/index.d.ts +3 -62
- package/bidi-module.d-IN1Vp56w.d.ts +57 -0
- package/clipboard/index.d.ts +62 -75
- package/coercion/index.d.ts +11 -33
- package/coercion/private/index.d.ts +2 -2
- package/collections/index.d.ts +14 -291
- package/data-source.d-Bblv7Zvh.d.ts +43 -0
- package/dialog/index.d.ts +217 -255
- package/drag-drop/index.d.ts +1085 -1157
- package/fesm2022/a11y-module-DpEjWNCj.mjs +951 -0
- package/fesm2022/a11y-module-DpEjWNCj.mjs.map +1 -0
- package/fesm2022/a11y.mjs +47 -2446
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -16
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +16 -0
- package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
- package/fesm2022/array-I1yfCXUO.mjs +6 -0
- package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
- package/fesm2022/bidi.mjs +17 -83
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/breakpoints-observer-DpQzdtrE.mjs +179 -0
- package/fesm2022/breakpoints-observer-DpQzdtrE.mjs.map +1 -0
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +11 -16
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs +0 -4
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs +5 -39
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +7 -476
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs +10 -0
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
- package/fesm2022/data-source-D34wiQZj.mjs +15 -0
- package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
- package/fesm2022/dialog.mjs +88 -73
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/directionality-Ck5Uc9Se.mjs +77 -0
- package/fesm2022/directionality-Ck5Uc9Se.mjs.map +1 -0
- package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +44 -0
- package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
- package/fesm2022/drag-drop.mjs +128 -65
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/element-x4z00URv.mjs +29 -0
- package/fesm2022/element-x4z00URv.mjs.map +1 -0
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs +24 -0
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
- package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +22 -0
- package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
- package/fesm2022/focus-monitor-DKFfep8Q.mjs +627 -0
- package/fesm2022/focus-monitor-DKFfep8Q.mjs.map +1 -0
- package/fesm2022/id-generator-BwB8lolC.mjs +37 -0
- package/fesm2022/id-generator-BwB8lolC.mjs.map +1 -0
- package/fesm2022/keycodes-CpHkExLC.mjs +122 -0
- package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
- package/fesm2022/keycodes.mjs +2 -124
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +12 -184
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/list-key-manager-CyOIXo8P.mjs +360 -0
- package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
- package/fesm2022/listbox.mjs +21 -20
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +86 -75
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -7
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +14 -18
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay-module-BaGhSGqO.mjs +3062 -0
- package/fesm2022/overlay-module-BaGhSGqO.mjs.map +1 -0
- package/fesm2022/overlay.mjs +27 -3019
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/passive-listeners-esHZRgIN.mjs +31 -0
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
- package/fesm2022/platform-CPg0IbDW.mjs +77 -0
- package/fesm2022/platform-CPg0IbDW.mjs.map +1 -0
- package/fesm2022/platform.mjs +12 -293
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +26 -63
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +7 -52
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +156 -0
- package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
- package/fesm2022/scrolling-BkvA05C8.mjs +99 -0
- package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +48 -48
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection-model-BCgC8uEN.mjs +221 -0
- package/fesm2022/selection-model-BCgC8uEN.mjs.map +1 -0
- package/fesm2022/shadow-dom-B0oHn41l.mjs +49 -0
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
- package/fesm2022/stepper.mjs +43 -36
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/style-loader-BDEAZOey.mjs +47 -0
- package/fesm2022/style-loader-BDEAZOey.mjs.map +1 -0
- package/fesm2022/table.mjs +170 -270
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/test-environment-CT0XxPyp.mjs +19 -0
- package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -0
- package/fesm2022/testing/selenium-webdriver.mjs +2 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +33 -74
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +27 -27
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs +360 -0
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
- package/fesm2022/tree.mjs +47 -35
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/typeahead-9ZW4Dtsf.mjs +88 -0
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
- package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs +49 -0
- package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs.map +1 -0
- package/focus-key-manager.d-BIKDy8oD.d.ts +34 -0
- package/focus-monitor.d-CvvJeQRc.d.ts +210 -0
- package/harness-environment.d-BatBdODN.d.ts +620 -0
- package/index.d.ts +2 -2
- package/keycodes/index.d.ts +124 -244
- package/layout/index.d.ts +24 -25
- package/list-key-manager.d-BlK3jyRn.d.ts +165 -0
- package/listbox/index.d.ts +92 -107
- package/menu/index.d.ts +595 -683
- package/number-property.d-CJVxXUcb.d.ts +16 -0
- package/observers/index.d.ts +38 -44
- package/observers/private/index.d.ts +3 -3
- package/overlay/_index.scss +7 -1
- package/overlay/index.d.ts +137 -981
- package/overlay-module.d-BiAhhk6g.d.ts +801 -0
- package/overlay-prebuilt.css +1 -1
- package/package.json +2 -4
- package/platform/index.d.ts +32 -88
- package/platform.d-B3vREl3q.d.ts +33 -0
- package/portal/index.d.ts +5 -264
- package/portal-directives.d-DbeNrI5D.d.ts +211 -0
- package/private/index.d.ts +3 -20
- package/schematics/index.js +1 -1
- package/schematics/index.js.map +1 -0
- package/schematics/ng-add/index.js +11 -19
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-generate/drag-drop/index.js +15 -6
- package/schematics/ng-generate/drag-drop/index.js.map +1 -0
- package/schematics/ng-generate/drag-drop/schema.js +1 -1
- package/schematics/ng-generate/drag-drop/schema.js.map +1 -0
- package/schematics/ng-update/data/attribute-selectors.js +1 -1
- package/schematics/ng-update/data/attribute-selectors.js.map +1 -0
- package/schematics/ng-update/data/class-names.js +1 -1
- package/schematics/ng-update/data/class-names.js.map +1 -0
- package/schematics/ng-update/data/constructor-checks.js +1 -1
- package/schematics/ng-update/data/constructor-checks.js.map +1 -0
- package/schematics/ng-update/data/css-selectors.js +1 -1
- package/schematics/ng-update/data/css-selectors.js.map +1 -0
- package/schematics/ng-update/data/css-tokens.js +1 -1
- package/schematics/ng-update/data/css-tokens.js.map +1 -0
- package/schematics/ng-update/data/element-selectors.js +1 -1
- package/schematics/ng-update/data/element-selectors.js.map +1 -0
- package/schematics/ng-update/data/index.js +1 -1
- package/schematics/ng-update/data/index.js.map +1 -0
- package/schematics/ng-update/data/input-names.js +1 -1
- package/schematics/ng-update/data/input-names.js.map +1 -0
- package/schematics/ng-update/data/method-call-checks.js +1 -1
- package/schematics/ng-update/data/method-call-checks.js.map +1 -0
- package/schematics/ng-update/data/output-names.js +1 -1
- package/schematics/ng-update/data/output-names.js.map +1 -0
- package/schematics/ng-update/data/property-names.js +1 -1
- package/schematics/ng-update/data/property-names.js.map +1 -0
- package/schematics/ng-update/data/symbol-removal.js +1 -1
- package/schematics/ng-update/data/symbol-removal.js.map +1 -0
- package/schematics/ng-update/devkit-file-system.js +2 -3
- package/schematics/ng-update/devkit-file-system.js.map +1 -0
- package/schematics/ng-update/devkit-migration-rule.js +13 -4
- package/schematics/ng-update/devkit-migration-rule.js.map +1 -0
- package/schematics/ng-update/devkit-migration.d.ts +2 -2
- package/schematics/ng-update/devkit-migration.js +1 -1
- package/schematics/ng-update/devkit-migration.js.map +1 -0
- package/schematics/ng-update/find-stylesheets.js +1 -1
- package/schematics/ng-update/find-stylesheets.js.map +1 -0
- package/schematics/ng-update/html-parsing/angular.js +2 -2
- package/schematics/ng-update/html-parsing/angular.js.map +1 -0
- package/schematics/ng-update/html-parsing/elements.js +3 -2
- package/schematics/ng-update/html-parsing/elements.js.map +1 -0
- package/schematics/ng-update/index.js +1 -1
- package/schematics/ng-update/index.js.map +1 -0
- package/schematics/ng-update/migrations/attribute-selectors.js +8 -5
- package/schematics/ng-update/migrations/attribute-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/class-inheritance.js +11 -8
- package/schematics/ng-update/migrations/class-inheritance.js.map +1 -0
- package/schematics/ng-update/migrations/class-names.js +15 -12
- package/schematics/ng-update/migrations/class-names.js.map +1 -0
- package/schematics/ng-update/migrations/constructor-signature.js +10 -7
- package/schematics/ng-update/migrations/constructor-signature.js.map +1 -0
- package/schematics/ng-update/migrations/css-selectors.js +8 -5
- package/schematics/ng-update/migrations/css-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/css-tokens.js +8 -5
- package/schematics/ng-update/migrations/css-tokens.js.map +1 -0
- package/schematics/ng-update/migrations/element-selectors.js +8 -5
- package/schematics/ng-update/migrations/element-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/input-names.js +8 -5
- package/schematics/ng-update/migrations/input-names.js.map +1 -0
- package/schematics/ng-update/migrations/method-call-arguments.js +8 -5
- package/schematics/ng-update/migrations/method-call-arguments.js.map +1 -0
- package/schematics/ng-update/migrations/misc-template.js +6 -3
- package/schematics/ng-update/migrations/misc-template.js.map +1 -0
- package/schematics/ng-update/migrations/output-names.js +8 -5
- package/schematics/ng-update/migrations/output-names.js.map +1 -0
- package/schematics/ng-update/migrations/property-names.js +8 -5
- package/schematics/ng-update/migrations/property-names.js.map +1 -0
- package/schematics/ng-update/migrations/symbol-removal.js +10 -6
- package/schematics/ng-update/migrations/symbol-removal.js.map +1 -0
- package/schematics/ng-update/public-api.js +1 -1
- package/schematics/ng-update/public-api.js.map +1 -0
- package/schematics/ng-update/typescript/base-types.js +1 -1
- package/schematics/ng-update/typescript/base-types.js.map +1 -0
- package/schematics/ng-update/typescript/imports.js +1 -1
- package/schematics/ng-update/typescript/imports.js.map +1 -0
- package/schematics/ng-update/typescript/literal.js +1 -1
- package/schematics/ng-update/typescript/literal.js.map +1 -0
- package/schematics/ng-update/typescript/module-specifiers.js +1 -1
- package/schematics/ng-update/typescript/module-specifiers.js.map +1 -0
- package/schematics/ng-update/upgrade-data.js +1 -1
- package/schematics/ng-update/upgrade-data.js.map +1 -0
- package/schematics/paths.js +1 -1
- package/schematics/paths.js.map +1 -0
- package/schematics/update-tool/component-resource-collector.js +3 -5
- package/schematics/update-tool/component-resource-collector.js.map +1 -0
- package/schematics/update-tool/file-system.js +1 -1
- package/schematics/update-tool/file-system.js.map +1 -0
- package/schematics/update-tool/index.js +2 -8
- package/schematics/update-tool/index.js.map +1 -0
- package/schematics/update-tool/logger.js +1 -1
- package/schematics/update-tool/logger.js.map +1 -0
- package/schematics/update-tool/migration.js +3 -10
- package/schematics/update-tool/migration.js.map +1 -0
- package/schematics/update-tool/public-api.js +1 -1
- package/schematics/update-tool/public-api.js.map +1 -0
- package/schematics/update-tool/target-version.js +1 -1
- package/schematics/update-tool/target-version.js.map +1 -0
- package/schematics/update-tool/update-recorder.js +1 -1
- package/schematics/update-tool/update-recorder.js.map +1 -0
- package/schematics/update-tool/utils/decorators.js +1 -1
- package/schematics/update-tool/utils/decorators.js.map +1 -0
- package/schematics/update-tool/utils/diagnostics.js +1 -1
- package/schematics/update-tool/utils/diagnostics.js.map +1 -0
- package/schematics/update-tool/utils/functions.js +1 -1
- package/schematics/update-tool/utils/functions.js.map +1 -0
- package/schematics/update-tool/utils/imports.js +1 -1
- package/schematics/update-tool/utils/imports.js.map +1 -0
- package/schematics/update-tool/utils/line-mappings.js +1 -1
- package/schematics/update-tool/utils/line-mappings.js.map +1 -0
- package/schematics/update-tool/utils/parse-tsconfig.js +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.js.map +1 -0
- package/schematics/update-tool/utils/property-name.js +1 -1
- package/schematics/update-tool/utils/property-name.js.map +1 -0
- package/schematics/update-tool/utils/virtual-host.js +2 -3
- package/schematics/update-tool/utils/virtual-host.js.map +1 -0
- package/schematics/update-tool/version-changes.js +1 -1
- package/schematics/update-tool/version-changes.js.map +1 -0
- package/schematics/utils/ast/ng-module-imports.js +1 -1
- package/schematics/utils/ast/ng-module-imports.js.map +1 -0
- package/schematics/utils/ast.d.ts +2 -2
- package/schematics/utils/ast.js +23 -12
- package/schematics/utils/ast.js.map +1 -0
- package/schematics/utils/build-component.js +22 -17
- package/schematics/utils/build-component.js.map +1 -0
- package/schematics/utils/get-project.d.ts +2 -2
- package/schematics/utils/get-project.js +1 -1
- package/schematics/utils/get-project.js.map +1 -0
- package/schematics/utils/html-manipulation.js +1 -1
- package/schematics/utils/html-manipulation.js.map +1 -0
- package/schematics/utils/index.js +1 -1
- package/schematics/utils/index.js.map +1 -0
- package/schematics/utils/parse5-element.js +1 -1
- package/schematics/utils/parse5-element.js.map +1 -0
- package/schematics/utils/project-index-file.d.ts +6 -3
- package/schematics/utils/project-index-file.js +30 -7
- package/schematics/utils/project-index-file.js.map +1 -0
- package/schematics/utils/project-main-file.d.ts +3 -2
- package/schematics/utils/project-main-file.js +1 -1
- package/schematics/utils/project-main-file.js.map +1 -0
- package/schematics/utils/project-style-file.d.ts +2 -2
- package/schematics/utils/project-style-file.js +1 -1
- package/schematics/utils/project-style-file.js.map +1 -0
- package/schematics/utils/project-targets.d.ts +5 -4
- package/schematics/utils/project-targets.js +15 -8
- package/schematics/utils/project-targets.js.map +1 -0
- package/schematics/utils/project-tsconfig-paths.d.ts +3 -3
- package/schematics/utils/project-tsconfig-paths.js +26 -14
- package/schematics/utils/project-tsconfig-paths.js.map +1 -0
- package/schematics/utils/schematic-options.d.ts +2 -2
- package/schematics/utils/schematic-options.js +27 -15
- package/schematics/utils/schematic-options.js.map +1 -0
- package/scrolling/index.d.ts +13 -638
- package/scrolling-module.d-DP0Qb7T9.d.ts +552 -0
- package/selection-model.d-DNgOONDg.d.ts +112 -0
- package/stepper/index.d.ts +75 -124
- package/style-loader.d-BXZfQZTF.d.ts +21 -0
- package/table/index.d.ts +292 -604
- package/testing/index.d.ts +33 -675
- package/testing/selenium-webdriver/index.d.ts +31 -20
- package/testing/testbed/index.d.ts +10 -19
- package/text-field/index.d.ts +12 -30
- package/text-field-prebuilt.css +1 -1
- package/tree/index.d.ts +208 -271
- package/tree-key-manager-strategy.d-XB6M79l-.d.ts +116 -0
- package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +33 -0
- package/view-repeater.d-BKljR8u8.d.ts +89 -0
- package/schematics/index.mjs +0 -37
- package/schematics/ng-add/index.mjs +0 -39
- package/schematics/ng-add/package-config.d.ts +0 -12
- package/schematics/ng-add/package-config.js +0 -51
- package/schematics/ng-add/package-config.mjs +0 -51
- package/schematics/ng-add/schema.mjs +0 -10
- package/schematics/ng-generate/drag-drop/index.mjs +0 -33
- package/schematics/ng-generate/drag-drop/schema.mjs +0 -10
- package/schematics/ng-update/data/attribute-selectors.mjs +0 -12
- package/schematics/ng-update/data/class-names.mjs +0 -12
- package/schematics/ng-update/data/constructor-checks.mjs +0 -17
- package/schematics/ng-update/data/css-selectors.mjs +0 -12
- package/schematics/ng-update/data/css-tokens.mjs +0 -12
- package/schematics/ng-update/data/element-selectors.mjs +0 -12
- package/schematics/ng-update/data/index.mjs +0 -35
- package/schematics/ng-update/data/input-names.mjs +0 -12
- package/schematics/ng-update/data/method-call-checks.mjs +0 -12
- package/schematics/ng-update/data/output-names.mjs +0 -12
- package/schematics/ng-update/data/property-names.mjs +0 -12
- package/schematics/ng-update/data/symbol-removal.mjs +0 -12
- package/schematics/ng-update/devkit-file-system.mjs +0 -84
- package/schematics/ng-update/devkit-migration-rule.mjs +0 -133
- package/schematics/ng-update/devkit-migration.mjs +0 -20
- package/schematics/ng-update/find-stylesheets.mjs +0 -41
- package/schematics/ng-update/html-parsing/angular.mjs +0 -51
- package/schematics/ng-update/html-parsing/elements.mjs +0 -62
- package/schematics/ng-update/index.mjs +0 -29
- package/schematics/ng-update/migrations/attribute-selectors.mjs +0 -68
- package/schematics/ng-update/migrations/class-inheritance.mjs +0 -55
- package/schematics/ng-update/migrations/class-names.mjs +0 -88
- package/schematics/ng-update/migrations/constructor-signature.mjs +0 -136
- package/schematics/ng-update/migrations/css-selectors.mjs +0 -72
- package/schematics/ng-update/migrations/css-tokens.mjs +0 -80
- package/schematics/ng-update/migrations/element-selectors.mjs +0 -63
- package/schematics/ng-update/migrations/input-names.mjs +0 -56
- package/schematics/ng-update/migrations/method-call-arguments.mjs +0 -59
- package/schematics/ng-update/migrations/misc-template.mjs +0 -22
- package/schematics/ng-update/migrations/output-names.mjs +0 -43
- package/schematics/ng-update/migrations/property-names.mjs +0 -57
- package/schematics/ng-update/migrations/symbol-removal.mjs +0 -43
- package/schematics/ng-update/public-api.mjs +0 -36
- package/schematics/ng-update/typescript/base-types.mjs +0 -23
- package/schematics/ng-update/typescript/imports.mjs +0 -53
- package/schematics/ng-update/typescript/literal.mjs +0 -32
- package/schematics/ng-update/typescript/module-specifiers.mjs +0 -35
- package/schematics/ng-update/upgrade-data.mjs +0 -40
- package/schematics/paths.mjs +0 -16
- package/schematics/schematics.externs.js +0 -0
- package/schematics/tsconfig.json +0 -29
- package/schematics/update-tool/component-resource-collector.mjs +0 -166
- package/schematics/update-tool/file-system.mjs +0 -18
- package/schematics/update-tool/index.mjs +0 -178
- package/schematics/update-tool/logger.mjs +0 -18
- package/schematics/update-tool/migration.mjs +0 -77
- package/schematics/update-tool/public-api.mjs +0 -33
- package/schematics/update-tool/target-version.mjs +0 -27
- package/schematics/update-tool/update-recorder.mjs +0 -10
- package/schematics/update-tool/update-tool.externs.js +0 -0
- package/schematics/update-tool/utils/decorators.mjs +0 -41
- package/schematics/update-tool/utils/diagnostics.mjs +0 -18
- package/schematics/update-tool/utils/functions.mjs +0 -20
- package/schematics/update-tool/utils/imports.mjs +0 -110
- package/schematics/update-tool/utils/line-mappings.mjs +0 -75
- package/schematics/update-tool/utils/parse-tsconfig.mjs +0 -45
- package/schematics/update-tool/utils/property-name.mjs +0 -27
- package/schematics/update-tool/utils/virtual-host.mjs +0 -72
- package/schematics/update-tool/version-changes.mjs +0 -38
- package/schematics/utils/ast/ng-module-imports.mjs +0 -82
- package/schematics/utils/ast.mjs +0 -68
- package/schematics/utils/build-component.mjs +0 -183
- package/schematics/utils/get-project.mjs +0 -28
- package/schematics/utils/html-manipulation.mjs +0 -91
- package/schematics/utils/index.mjs +0 -36
- package/schematics/utils/parse5-element.mjs +0 -30
- package/schematics/utils/project-index-file.mjs +0 -20
- package/schematics/utils/project-main-file.mjs +0 -25
- package/schematics/utils/project-style-file.mjs +0 -42
- package/schematics/utils/project-targets.mjs +0 -39
- package/schematics/utils/project-tsconfig-paths.mjs +0 -34
- package/schematics/utils/schematic-options.mjs +0 -77
package/fesm2022/dialog.mjs
CHANGED
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
import { FocusTrapFactory, InteractivityChecker, FocusMonitor, _IdGenerator, A11yModule } from '@angular/cdk/a11y';
|
|
2
|
-
import { OverlayRef, Overlay, OverlayContainer, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import { Platform, _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';
|
|
4
|
-
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
5
|
-
import { DOCUMENT } from '@angular/common';
|
|
6
1
|
import * as i0 from '@angular/core';
|
|
7
|
-
import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, InjectionToken, TemplateRef, Injectable, NgModule } from '@angular/core';
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import {
|
|
2
|
+
import { inject, ElementRef, NgZone, Renderer2, DOCUMENT, ChangeDetectorRef, Injector, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, InjectionToken, TemplateRef, Injectable, signal, EventEmitter, NgModule } from '@angular/core';
|
|
3
|
+
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './portal.mjs';
|
|
4
|
+
export { CdkPortal as ɵɵCdkPortal, PortalHostDirective as ɵɵPortalHostDirective, TemplatePortalDirective as ɵɵTemplatePortalDirective } from './portal.mjs';
|
|
5
|
+
import { F as FocusTrapFactory, I as InteractivityChecker, A as A11yModule } from './a11y-module-DpEjWNCj.mjs';
|
|
6
|
+
import { F as FocusMonitor } from './focus-monitor-DKFfep8Q.mjs';
|
|
7
|
+
import { P as Platform } from './platform-CPg0IbDW.mjs';
|
|
8
|
+
import { c as _getFocusedElementPierceShadowDom } from './shadow-dom-B0oHn41l.mjs';
|
|
9
|
+
import { Subject, defer } from 'rxjs';
|
|
10
|
+
import { g as ESCAPE } from './keycodes-CpHkExLC.mjs';
|
|
11
|
+
import { hasModifierKey } from './keycodes.mjs';
|
|
11
12
|
import { startWith } from 'rxjs/operators';
|
|
13
|
+
import { s as createBlockScrollStrategy, O as OverlayContainer, c as createOverlayRef, i as OverlayConfig, f as createGlobalPositionStrategy, d as OverlayRef, t as OverlayModule } from './overlay-module-BaGhSGqO.mjs';
|
|
14
|
+
import { _ as _IdGenerator } from './id-generator-BwB8lolC.mjs';
|
|
15
|
+
import { D as Directionality } from './directionality-Ck5Uc9Se.mjs';
|
|
16
|
+
import './style-loader-BDEAZOey.mjs';
|
|
17
|
+
import './private.mjs';
|
|
18
|
+
import './breakpoints-observer-DpQzdtrE.mjs';
|
|
19
|
+
import './array-I1yfCXUO.mjs';
|
|
20
|
+
import './observers.mjs';
|
|
21
|
+
import './element-x4z00URv.mjs';
|
|
22
|
+
import './fake-event-detection-DWOdFTFz.mjs';
|
|
23
|
+
import './passive-listeners-esHZRgIN.mjs';
|
|
24
|
+
import '@angular/common';
|
|
25
|
+
import './test-environment-CT0XxPyp.mjs';
|
|
26
|
+
import './css-pixel-value-C_HEqLhI.mjs';
|
|
27
|
+
import './scrolling.mjs';
|
|
28
|
+
import './scrolling-BkvA05C8.mjs';
|
|
29
|
+
import './bidi.mjs';
|
|
30
|
+
import './recycle-view-repeater-strategy-DoWdPqVw.mjs';
|
|
31
|
+
import './data-source-D34wiQZj.mjs';
|
|
12
32
|
|
|
13
33
|
/** Configuration for opening a modal dialog. */
|
|
14
34
|
class DialogConfig {
|
|
@@ -36,6 +56,8 @@ class DialogConfig {
|
|
|
36
56
|
backdropClass = '';
|
|
37
57
|
/** Whether the dialog closes with the escape key or pointer events outside the panel element. */
|
|
38
58
|
disableClose = false;
|
|
59
|
+
/** Function used to determine whether the dialog is allowed to close. */
|
|
60
|
+
closePredicate;
|
|
39
61
|
/** Width of the dialog. */
|
|
40
62
|
width = '';
|
|
41
63
|
/** Height of the dialog. */
|
|
@@ -104,6 +126,10 @@ class DialogConfig {
|
|
|
104
126
|
* browser location changes.
|
|
105
127
|
*/
|
|
106
128
|
closeOnOverlayDetachments = true;
|
|
129
|
+
/**
|
|
130
|
+
* Whether the built-in overlay animations should be disabled.
|
|
131
|
+
*/
|
|
132
|
+
disableAnimations = false;
|
|
107
133
|
/**
|
|
108
134
|
* Providers that will be exposed to the contents of the dialog. Can also
|
|
109
135
|
* be provided as a function in order to generate the providers lazily.
|
|
@@ -135,7 +161,6 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
135
161
|
_config;
|
|
136
162
|
_interactivityChecker = inject(InteractivityChecker);
|
|
137
163
|
_ngZone = inject(NgZone);
|
|
138
|
-
_overlayRef = inject(OverlayRef);
|
|
139
164
|
_focusMonitor = inject(FocusMonitor);
|
|
140
165
|
_renderer = inject(Renderer2);
|
|
141
166
|
_platform = inject(Platform);
|
|
@@ -184,7 +209,6 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
184
209
|
}
|
|
185
210
|
_contentAttached() {
|
|
186
211
|
this._initializeFocusTrap();
|
|
187
|
-
this._handleBackdropClicks();
|
|
188
212
|
this._captureInitialFocus();
|
|
189
213
|
}
|
|
190
214
|
/**
|
|
@@ -278,7 +302,7 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
278
302
|
* Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus
|
|
279
303
|
* cannot be moved then focus will go to the dialog container.
|
|
280
304
|
*/
|
|
281
|
-
_trapFocus() {
|
|
305
|
+
_trapFocus(options) {
|
|
282
306
|
if (this._isDestroyed) {
|
|
283
307
|
return;
|
|
284
308
|
}
|
|
@@ -296,23 +320,23 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
296
320
|
// if the focus isn't inside the dialog already, because it's possible that the consumer
|
|
297
321
|
// turned off `autoFocus` in order to move focus themselves.
|
|
298
322
|
if (!this._containsFocus()) {
|
|
299
|
-
element.focus();
|
|
323
|
+
element.focus(options);
|
|
300
324
|
}
|
|
301
325
|
break;
|
|
302
326
|
case true:
|
|
303
327
|
case 'first-tabbable':
|
|
304
|
-
const focusedSuccessfully = this._focusTrap?.focusInitialElement();
|
|
328
|
+
const focusedSuccessfully = this._focusTrap?.focusInitialElement(options);
|
|
305
329
|
// If we weren't able to find a focusable element in the dialog, then focus the dialog
|
|
306
330
|
// container instead.
|
|
307
331
|
if (!focusedSuccessfully) {
|
|
308
|
-
this._focusDialogContainer();
|
|
332
|
+
this._focusDialogContainer(options);
|
|
309
333
|
}
|
|
310
334
|
break;
|
|
311
335
|
case 'first-heading':
|
|
312
|
-
this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');
|
|
336
|
+
this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]', options);
|
|
313
337
|
break;
|
|
314
338
|
default:
|
|
315
|
-
this._focusByCssSelector(this._config.autoFocus);
|
|
339
|
+
this._focusByCssSelector(this._config.autoFocus, options);
|
|
316
340
|
break;
|
|
317
341
|
}
|
|
318
342
|
}, { injector: this._injector });
|
|
@@ -358,11 +382,9 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
358
382
|
}
|
|
359
383
|
}
|
|
360
384
|
/** Focuses the dialog container. */
|
|
361
|
-
_focusDialogContainer() {
|
|
385
|
+
_focusDialogContainer(options) {
|
|
362
386
|
// Note that there is no focus method when rendering on the server.
|
|
363
|
-
|
|
364
|
-
this._elementRef.nativeElement.focus();
|
|
365
|
-
}
|
|
387
|
+
this._elementRef.nativeElement.focus?.(options);
|
|
366
388
|
}
|
|
367
389
|
/** Returns whether focus is inside the dialog. */
|
|
368
390
|
_containsFocus() {
|
|
@@ -381,20 +403,10 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
381
403
|
}
|
|
382
404
|
}
|
|
383
405
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
// Clicking on the backdrop will move focus out of dialog.
|
|
387
|
-
// Recapture it if closing via the backdrop is disabled.
|
|
388
|
-
this._overlayRef.backdropClick().subscribe(() => {
|
|
389
|
-
if (this._config.disableClose) {
|
|
390
|
-
this._recaptureFocus();
|
|
391
|
-
}
|
|
392
|
-
});
|
|
393
|
-
}
|
|
394
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CdkDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
395
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: CdkDialogContainer, isStandalone: true, selector: "cdk-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.id": "_config.id || null", "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledByQueue[0]", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null" }, classAttribute: "cdk-dialog-container" }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
406
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
407
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkDialogContainer, isStandalone: true, selector: "cdk-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.id": "_config.id || null", "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledByQueue[0]", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null" }, classAttribute: "cdk-dialog-container" }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
396
408
|
}
|
|
397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDialogContainer, decorators: [{
|
|
398
410
|
type: Component,
|
|
399
411
|
args: [{ selector: 'cdk-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, imports: [CdkPortalOutlet], host: {
|
|
400
412
|
'class': 'cdk-dialog-container',
|
|
@@ -405,7 +417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
405
417
|
'[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledByQueue[0]',
|
|
406
418
|
'[attr.aria-label]': '_config.ariaLabel',
|
|
407
419
|
'[attr.aria-describedby]': '_config.ariaDescribedBy || null',
|
|
408
|
-
}, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"] }]
|
|
420
|
+
}, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"] }]
|
|
409
421
|
}], ctorParameters: () => [], propDecorators: { _portalOutlet: [{
|
|
410
422
|
type: ViewChild,
|
|
411
423
|
args: [CdkPortalOutlet, { static: true }]
|
|
@@ -458,9 +470,14 @@ class DialogRef {
|
|
|
458
470
|
}
|
|
459
471
|
});
|
|
460
472
|
this.backdropClick.subscribe(() => {
|
|
461
|
-
if (!this.disableClose) {
|
|
473
|
+
if (!this.disableClose && this._canClose()) {
|
|
462
474
|
this.close(undefined, { focusOrigin: 'mouse' });
|
|
463
475
|
}
|
|
476
|
+
else {
|
|
477
|
+
// Clicking on the backdrop will move focus out of dialog.
|
|
478
|
+
// Recapture it if closing via the backdrop is disabled.
|
|
479
|
+
this.containerInstance._recaptureFocus?.();
|
|
480
|
+
}
|
|
464
481
|
});
|
|
465
482
|
this._detachSubscription = overlayRef.detachments().subscribe(() => {
|
|
466
483
|
// Check specifically for `false`, because we want `undefined` to be treated like `true`.
|
|
@@ -475,7 +492,7 @@ class DialogRef {
|
|
|
475
492
|
* @param options Additional options to customize the closing behavior.
|
|
476
493
|
*/
|
|
477
494
|
close(result, options) {
|
|
478
|
-
if (this.
|
|
495
|
+
if (this._canClose(result)) {
|
|
479
496
|
const closedSubject = this.closed;
|
|
480
497
|
this.containerInstance._closeInteractionType = options?.focusOrigin || 'program';
|
|
481
498
|
// Drop the detach subscription first since it can be triggered by the
|
|
@@ -511,41 +528,42 @@ class DialogRef {
|
|
|
511
528
|
this.overlayRef.removePanelClass(classes);
|
|
512
529
|
return this;
|
|
513
530
|
}
|
|
531
|
+
/** Whether the dialog is allowed to close. */
|
|
532
|
+
_canClose(result) {
|
|
533
|
+
const config = this.config;
|
|
534
|
+
return (!!this.containerInstance &&
|
|
535
|
+
(!config.closePredicate || config.closePredicate(result, config, this.componentInstance)));
|
|
536
|
+
}
|
|
514
537
|
}
|
|
515
538
|
|
|
516
539
|
/** Injection token for the Dialog's ScrollStrategy. */
|
|
517
540
|
const DIALOG_SCROLL_STRATEGY = new InjectionToken('DialogScrollStrategy', {
|
|
518
541
|
providedIn: 'root',
|
|
519
542
|
factory: () => {
|
|
520
|
-
const
|
|
521
|
-
return () =>
|
|
543
|
+
const injector = inject(Injector);
|
|
544
|
+
return () => createBlockScrollStrategy(injector);
|
|
522
545
|
},
|
|
523
546
|
});
|
|
524
547
|
/** Injection token for the Dialog's Data. */
|
|
525
548
|
const DIALOG_DATA = new InjectionToken('DialogData');
|
|
526
549
|
/** Injection token that can be used to provide default options for the dialog module. */
|
|
527
550
|
const DEFAULT_DIALOG_CONFIG = new InjectionToken('DefaultDialogConfig');
|
|
528
|
-
/**
|
|
529
|
-
* @docs-private
|
|
530
|
-
* @deprecated No longer used. To be removed.
|
|
531
|
-
* @breaking-change 19.0.0
|
|
532
|
-
*/
|
|
533
|
-
function DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
|
|
534
|
-
return () => overlay.scrollStrategies.block();
|
|
535
|
-
}
|
|
536
|
-
/**
|
|
537
|
-
* @docs-private
|
|
538
|
-
* @deprecated No longer used. To be removed.
|
|
539
|
-
* @breaking-change 19.0.0
|
|
540
|
-
*/
|
|
541
|
-
const DIALOG_SCROLL_STRATEGY_PROVIDER = {
|
|
542
|
-
provide: DIALOG_SCROLL_STRATEGY,
|
|
543
|
-
deps: [Overlay],
|
|
544
|
-
useFactory: DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,
|
|
545
|
-
};
|
|
546
551
|
|
|
552
|
+
function getDirectionality(value) {
|
|
553
|
+
const valueSignal = signal(value);
|
|
554
|
+
const change = new EventEmitter();
|
|
555
|
+
return {
|
|
556
|
+
valueSignal,
|
|
557
|
+
get value() {
|
|
558
|
+
return valueSignal();
|
|
559
|
+
},
|
|
560
|
+
change,
|
|
561
|
+
ngOnDestroy() {
|
|
562
|
+
change.complete();
|
|
563
|
+
},
|
|
564
|
+
};
|
|
565
|
+
}
|
|
547
566
|
class Dialog {
|
|
548
|
-
_overlay = inject(Overlay);
|
|
549
567
|
_injector = inject(Injector);
|
|
550
568
|
_defaultOptions = inject(DEFAULT_DIALOG_CONFIG, { optional: true });
|
|
551
569
|
_parentDialog = inject(Dialog, { optional: true, skipSelf: true });
|
|
@@ -582,7 +600,7 @@ class Dialog {
|
|
|
582
600
|
throw Error(`Dialog with id "${config.id}" exists already. The dialog id must be unique.`);
|
|
583
601
|
}
|
|
584
602
|
const overlayConfig = this._getOverlayConfig(config);
|
|
585
|
-
const overlayRef = this.
|
|
603
|
+
const overlayRef = createOverlayRef(this._injector, overlayConfig);
|
|
586
604
|
const dialogRef = new DialogRef(overlayRef, config);
|
|
587
605
|
const dialogContainer = this._attachContainer(overlayRef, dialogRef, config);
|
|
588
606
|
dialogRef.containerInstance = dialogContainer;
|
|
@@ -635,7 +653,7 @@ class Dialog {
|
|
|
635
653
|
_getOverlayConfig(config) {
|
|
636
654
|
const state = new OverlayConfig({
|
|
637
655
|
positionStrategy: config.positionStrategy ||
|
|
638
|
-
|
|
656
|
+
createGlobalPositionStrategy().centerHorizontally().centerVertically(),
|
|
639
657
|
scrollStrategy: config.scrollStrategy || this._scrollStrategy(),
|
|
640
658
|
panelClass: config.panelClass,
|
|
641
659
|
hasBackdrop: config.hasBackdrop,
|
|
@@ -647,6 +665,7 @@ class Dialog {
|
|
|
647
665
|
width: config.width,
|
|
648
666
|
height: config.height,
|
|
649
667
|
disposeOnNavigation: config.closeOnNavigation,
|
|
668
|
+
disableAnimations: config.disableAnimations,
|
|
650
669
|
});
|
|
651
670
|
if (config.backdropClass) {
|
|
652
671
|
state.backdropClass = config.backdropClass;
|
|
@@ -741,7 +760,7 @@ class Dialog {
|
|
|
741
760
|
!userInjector.get(Directionality, null, { optional: true }))) {
|
|
742
761
|
providers.push({
|
|
743
762
|
provide: Directionality,
|
|
744
|
-
useValue:
|
|
763
|
+
useValue: getDirectionality(config.direction),
|
|
745
764
|
});
|
|
746
765
|
}
|
|
747
766
|
return Injector.create({ parent: userInjector || fallbackInjector, providers });
|
|
@@ -795,10 +814,10 @@ class Dialog {
|
|
|
795
814
|
const parent = this._parentDialog;
|
|
796
815
|
return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel;
|
|
797
816
|
}
|
|
798
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
799
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
817
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
818
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, providedIn: 'root' });
|
|
800
819
|
}
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, decorators: [{
|
|
802
821
|
type: Injectable,
|
|
803
822
|
args: [{ providedIn: 'root' }]
|
|
804
823
|
}], ctorParameters: () => [] });
|
|
@@ -814,18 +833,18 @@ function reverseForEach(items, callback) {
|
|
|
814
833
|
}
|
|
815
834
|
|
|
816
835
|
class DialogModule {
|
|
817
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
818
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
836
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
837
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer], exports: [
|
|
819
838
|
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
|
820
839
|
// don't have to remember to import it or be faced with an unhelpful error.
|
|
821
840
|
PortalModule,
|
|
822
841
|
CdkDialogContainer] });
|
|
823
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
842
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, providers: [Dialog], imports: [OverlayModule, PortalModule, A11yModule,
|
|
824
843
|
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
|
825
844
|
// don't have to remember to import it or be faced with an unhelpful error.
|
|
826
845
|
PortalModule] });
|
|
827
846
|
}
|
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, decorators: [{
|
|
829
848
|
type: NgModule,
|
|
830
849
|
args: [{
|
|
831
850
|
imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer],
|
|
@@ -839,9 +858,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
839
858
|
}]
|
|
840
859
|
}] });
|
|
841
860
|
|
|
842
|
-
|
|
843
|
-
* Generated bundle index. Do not edit.
|
|
844
|
-
*/
|
|
845
|
-
|
|
846
|
-
export { CdkDialogContainer, DEFAULT_DIALOG_CONFIG, DIALOG_DATA, DIALOG_SCROLL_STRATEGY, DIALOG_SCROLL_STRATEGY_PROVIDER, DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, Dialog, DialogConfig, DialogModule, DialogRef, throwDialogContentAlreadyAttachedError };
|
|
861
|
+
export { CdkDialogContainer, DEFAULT_DIALOG_CONFIG, DIALOG_DATA, DIALOG_SCROLL_STRATEGY, Dialog, DialogConfig, DialogModule, DialogRef, throwDialogContentAlreadyAttachedError, CdkPortalOutlet as ɵɵCdkPortalOutlet };
|
|
847
862
|
//# sourceMappingURL=dialog.mjs.map
|