@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/overlay-prebuilt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
1
|
+
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.10",
|
|
4
4
|
"description": "Angular Material Component Development Kit",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -163,11 +163,9 @@
|
|
|
163
163
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
164
164
|
},
|
|
165
165
|
"dependencies": {
|
|
166
|
+
"parse5": "^7.1.2",
|
|
166
167
|
"tslib": "^2.3.0"
|
|
167
168
|
},
|
|
168
|
-
"optionalDependencies": {
|
|
169
|
-
"parse5": "^7.1.2"
|
|
170
|
-
},
|
|
171
169
|
"schematics": "./schematics/collection.json",
|
|
172
170
|
"ng-update": {
|
|
173
171
|
"migrations": "./schematics/migration.json",
|
package/platform/index.d.ts
CHANGED
|
@@ -1,94 +1,30 @@
|
|
|
1
|
+
export { P as Platform } from '../platform.d-B3vREl3q.js';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Renderer2 } from '@angular/core';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
export declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options: _ListenerOptions): () => void;
|
|
11
|
-
|
|
12
|
-
/** Gets the target of an event while accounting for Shadow DOM. */
|
|
13
|
-
export declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
|
|
4
|
+
declare class PlatformModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PlatformModule, never, never, never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PlatformModule>;
|
|
8
|
+
}
|
|
14
9
|
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
* also piercing through Shadow DOM boundaries.
|
|
18
|
-
*/
|
|
19
|
-
export declare function _getFocusedElementPierceShadowDom(): HTMLElement | null;
|
|
10
|
+
/** @returns The input types supported by this browser. */
|
|
11
|
+
declare function getSupportedInputTypes(): Set<string>;
|
|
20
12
|
|
|
21
13
|
/**
|
|
22
|
-
* Checks the
|
|
23
|
-
*
|
|
14
|
+
* Checks whether the user's browser supports passive event listeners.
|
|
15
|
+
* See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
|
|
24
16
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */
|
|
28
|
-
export declare function _getShadowRoot(element: HTMLElement): ShadowRoot | null;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/** @returns The input types supported by this browser. */
|
|
32
|
-
export declare function getSupportedInputTypes(): Set<string>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/** Gets whether the code is currently running in a test environment. */
|
|
36
|
-
export declare function _isTestEnvironment(): boolean;
|
|
37
|
-
|
|
38
|
-
/** Options when binding events manually. */
|
|
39
|
-
export declare interface _ListenerOptions {
|
|
40
|
-
capture?: boolean;
|
|
41
|
-
once?: boolean;
|
|
42
|
-
passive?: boolean;
|
|
43
|
-
}
|
|
44
|
-
|
|
17
|
+
declare function supportsPassiveEventListeners(): boolean;
|
|
45
18
|
/**
|
|
46
19
|
* Normalizes an `AddEventListener` object to something that can be passed
|
|
47
20
|
* to `addEventListener` on any browser, no matter whether it supports the
|
|
48
21
|
* `options` parameter.
|
|
49
22
|
* @param options Object to be normalized.
|
|
50
23
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Service to detect the current platform by comparing the userAgent strings and
|
|
55
|
-
* checking browser-specific global properties.
|
|
56
|
-
*/
|
|
57
|
-
export declare class Platform {
|
|
58
|
-
private _platformId;
|
|
59
|
-
/** Whether the Angular application is being rendered in the browser. */
|
|
60
|
-
isBrowser: boolean;
|
|
61
|
-
/** Whether the current browser is Microsoft Edge. */
|
|
62
|
-
EDGE: boolean;
|
|
63
|
-
/** Whether the current rendering engine is Microsoft Trident. */
|
|
64
|
-
TRIDENT: boolean;
|
|
65
|
-
/** Whether the current rendering engine is Blink. */
|
|
66
|
-
BLINK: boolean;
|
|
67
|
-
/** Whether the current rendering engine is WebKit. */
|
|
68
|
-
WEBKIT: boolean;
|
|
69
|
-
/** Whether the current platform is Apple iOS. */
|
|
70
|
-
IOS: boolean;
|
|
71
|
-
/** Whether the current browser is Firefox. */
|
|
72
|
-
FIREFOX: boolean;
|
|
73
|
-
/** Whether the current platform is Android. */
|
|
74
|
-
ANDROID: boolean;
|
|
75
|
-
/** Whether the current browser is Safari. */
|
|
76
|
-
SAFARI: boolean;
|
|
77
|
-
/** Backwards-compatible constructor. */
|
|
78
|
-
constructor(..._args: unknown[]);
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Platform, never>;
|
|
80
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export declare class PlatformModule {
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformModule, never>;
|
|
85
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PlatformModule, never, never, never>;
|
|
86
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PlatformModule>;
|
|
87
|
-
}
|
|
88
|
-
|
|
24
|
+
declare function normalizePassiveListenerOptions(options: AddEventListenerOptions): AddEventListenerOptions | boolean;
|
|
89
25
|
|
|
90
26
|
/** The possible ways the browser may handle the horizontal scroll axis in RTL languages. */
|
|
91
|
-
|
|
27
|
+
declare enum RtlScrollAxisType {
|
|
92
28
|
/**
|
|
93
29
|
* scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled
|
|
94
30
|
* all the way right.
|
|
@@ -105,19 +41,27 @@ export declare enum RtlScrollAxisType {
|
|
|
105
41
|
*/
|
|
106
42
|
INVERTED = 2
|
|
107
43
|
}
|
|
108
|
-
|
|
109
|
-
|
|
44
|
+
/** Check whether the browser supports scroll behaviors. */
|
|
45
|
+
declare function supportsScrollBehavior(): boolean;
|
|
110
46
|
/**
|
|
111
|
-
* Checks
|
|
112
|
-
*
|
|
47
|
+
* Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,
|
|
48
|
+
* Firefox & Safari are NEGATED, and IE & Edge are INVERTED.
|
|
113
49
|
*/
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/** Check whether the browser supports scroll behaviors. */
|
|
117
|
-
export declare function supportsScrollBehavior(): boolean;
|
|
118
|
-
|
|
50
|
+
declare function getRtlScrollAxisType(): RtlScrollAxisType;
|
|
119
51
|
|
|
120
52
|
/** Checks whether the user's browser support Shadow DOM. */
|
|
121
|
-
|
|
53
|
+
declare function _supportsShadowDom(): boolean;
|
|
54
|
+
/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */
|
|
55
|
+
declare function _getShadowRoot(element: HTMLElement): ShadowRoot | null;
|
|
56
|
+
/**
|
|
57
|
+
* Gets the currently-focused element on the page while
|
|
58
|
+
* also piercing through Shadow DOM boundaries.
|
|
59
|
+
*/
|
|
60
|
+
declare function _getFocusedElementPierceShadowDom(): HTMLElement | null;
|
|
61
|
+
/** Gets the target of an event while accounting for Shadow DOM. */
|
|
62
|
+
declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
|
|
63
|
+
|
|
64
|
+
/** Gets whether the code is currently running in a test environment. */
|
|
65
|
+
declare function _isTestEnvironment(): boolean;
|
|
122
66
|
|
|
123
|
-
export { }
|
|
67
|
+
export { PlatformModule, RtlScrollAxisType, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Service to detect the current platform by comparing the userAgent strings and
|
|
5
|
+
* checking browser-specific global properties.
|
|
6
|
+
*/
|
|
7
|
+
declare class Platform {
|
|
8
|
+
private _platformId;
|
|
9
|
+
/** Whether the Angular application is being rendered in the browser. */
|
|
10
|
+
isBrowser: boolean;
|
|
11
|
+
/** Whether the current browser is Microsoft Edge. */
|
|
12
|
+
EDGE: boolean;
|
|
13
|
+
/** Whether the current rendering engine is Microsoft Trident. */
|
|
14
|
+
TRIDENT: boolean;
|
|
15
|
+
/** Whether the current rendering engine is Blink. */
|
|
16
|
+
BLINK: boolean;
|
|
17
|
+
/** Whether the current rendering engine is WebKit. */
|
|
18
|
+
WEBKIT: boolean;
|
|
19
|
+
/** Whether the current platform is Apple iOS. */
|
|
20
|
+
IOS: boolean;
|
|
21
|
+
/** Whether the current browser is Firefox. */
|
|
22
|
+
FIREFOX: boolean;
|
|
23
|
+
/** Whether the current platform is Android. */
|
|
24
|
+
ANDROID: boolean;
|
|
25
|
+
/** Whether the current browser is Safari. */
|
|
26
|
+
SAFARI: boolean;
|
|
27
|
+
/** Backwards-compatible constructor. */
|
|
28
|
+
constructor(..._args: unknown[]);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Platform, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { Platform as P };
|
package/portal/index.d.ts
CHANGED
|
@@ -1,165 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import { EmbeddedViewRef } from '@angular/core';
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from '@angular/core';
|
|
7
|
-
import { Injector } from '@angular/core';
|
|
8
|
-
import { OnDestroy } from '@angular/core';
|
|
9
|
-
import { OnInit } from '@angular/core';
|
|
10
|
-
import { TemplateRef } from '@angular/core';
|
|
11
|
-
import { ViewContainerRef } from '@angular/core';
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use `BasePortalOutlet` instead.
|
|
15
|
-
* @breaking-change 9.0.0
|
|
16
|
-
*/
|
|
17
|
-
export declare abstract class BasePortalHost extends BasePortalOutlet {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Partial implementation of PortalOutlet that handles attaching
|
|
22
|
-
* ComponentPortal and TemplatePortal.
|
|
23
|
-
*/
|
|
24
|
-
export declare abstract class BasePortalOutlet implements PortalOutlet {
|
|
25
|
-
/** The portal currently attached to the host. */
|
|
26
|
-
protected _attachedPortal: Portal<any> | null;
|
|
27
|
-
/** A function that will permanently dispose this host. */
|
|
28
|
-
private _disposeFn;
|
|
29
|
-
/** Whether this host has already been permanently disposed. */
|
|
30
|
-
private _isDisposed;
|
|
31
|
-
/** Whether this host has an attached portal. */
|
|
32
|
-
hasAttached(): boolean;
|
|
33
|
-
attach<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
34
|
-
attach<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
35
|
-
attach(portal: any): any;
|
|
36
|
-
abstract attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
37
|
-
abstract attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
38
|
-
readonly attachDomPortal: null | ((portal: DomPortal) => any);
|
|
39
|
-
/** Detaches a previously attached portal. */
|
|
40
|
-
detach(): void;
|
|
41
|
-
/** Permanently dispose of this portal host. */
|
|
42
|
-
dispose(): void;
|
|
43
|
-
/** @docs-private */
|
|
44
|
-
setDisposeFn(fn: () => void): void;
|
|
45
|
-
private _invokeDisposeFn;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,
|
|
50
|
-
* the directive instance itself can be attached to a host, enabling declarative use of portals.
|
|
51
|
-
*/
|
|
52
|
-
export declare class CdkPortal extends TemplatePortal {
|
|
53
|
-
constructor(...args: unknown[]);
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortal, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be
|
|
60
|
-
* directly attached to it, enabling declarative use.
|
|
61
|
-
*
|
|
62
|
-
* Usage:
|
|
63
|
-
* `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
64
|
-
*/
|
|
65
|
-
export declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestroy {
|
|
66
|
-
private _moduleRef;
|
|
67
|
-
private _document;
|
|
68
|
-
private _viewContainerRef;
|
|
69
|
-
/** Whether the portal component is initialized. */
|
|
70
|
-
private _isInitialized;
|
|
71
|
-
/** Reference to the currently-attached component/view ref. */
|
|
72
|
-
private _attachedRef;
|
|
73
|
-
constructor(...args: unknown[]);
|
|
74
|
-
/** Portal associated with the Portal outlet. */
|
|
75
|
-
get portal(): Portal<any> | null;
|
|
76
|
-
set portal(portal: Portal<any> | null | undefined | '');
|
|
77
|
-
/** Emits when a portal is attached to the outlet. */
|
|
78
|
-
readonly attached: EventEmitter<CdkPortalOutletAttachedRef>;
|
|
79
|
-
/** Component or view reference that is attached to the portal. */
|
|
80
|
-
get attachedRef(): CdkPortalOutletAttachedRef;
|
|
81
|
-
ngOnInit(): void;
|
|
82
|
-
ngOnDestroy(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Attach the given ComponentPortal to this PortalOutlet.
|
|
85
|
-
*
|
|
86
|
-
* @param portal Portal to be attached to the portal outlet.
|
|
87
|
-
* @returns Reference to the created component.
|
|
88
|
-
*/
|
|
89
|
-
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
90
|
-
/**
|
|
91
|
-
* Attach the given TemplatePortal to this PortalHost as an embedded View.
|
|
92
|
-
* @param portal Portal to be attached.
|
|
93
|
-
* @returns Reference to the created embedded view.
|
|
94
|
-
*/
|
|
95
|
-
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
96
|
-
/**
|
|
97
|
-
* Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.
|
|
98
|
-
* @param portal Portal to be attached.
|
|
99
|
-
* @deprecated To be turned into a method.
|
|
100
|
-
* @breaking-change 10.0.0
|
|
101
|
-
*/
|
|
102
|
-
attachDomPortal: (portal: DomPortal) => void;
|
|
103
|
-
/** Gets the root node of the portal outlet. */
|
|
104
|
-
private _getRootNode;
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortalOutlet, never>;
|
|
106
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortalOutlet, "[cdkPortalOutlet]", ["cdkPortalOutlet"], { "portal": { "alias": "cdkPortalOutlet"; "required": false; }; }, { "attached": "attached"; }, never, never, true, never>;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Possible attached references to the CdkPortalOutlet.
|
|
111
|
-
*/
|
|
112
|
-
export declare type CdkPortalOutletAttachedRef = ComponentRef<any> | EmbeddedViewRef<any> | null;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* A `ComponentPortal` is a portal that instantiates some Component upon attachment.
|
|
116
|
-
*/
|
|
117
|
-
export declare class ComponentPortal<T> extends Portal<ComponentRef<T>> {
|
|
118
|
-
/** The type of the component that will be instantiated for attachment. */
|
|
119
|
-
component: ComponentType<T>;
|
|
120
|
-
/**
|
|
121
|
-
* Where the attached component should live in Angular's *logical* component tree.
|
|
122
|
-
* This is different from where the component *renders*, which is determined by the PortalOutlet.
|
|
123
|
-
* The origin is necessary when the host is outside of the Angular application context.
|
|
124
|
-
*/
|
|
125
|
-
viewContainerRef?: ViewContainerRef | null;
|
|
126
|
-
/** Injector used for the instantiation of the component. */
|
|
127
|
-
injector?: Injector | null;
|
|
128
|
-
/**
|
|
129
|
-
* List of DOM nodes that should be projected through `<ng-content>` of the attached component.
|
|
130
|
-
*/
|
|
131
|
-
projectableNodes?: Node[][] | null;
|
|
132
|
-
constructor(component: ComponentType<T>, viewContainerRef?: ViewContainerRef | null, injector?: Injector | null, projectableNodes?: Node[][] | null);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/** Interface that can be used to generically type a class. */
|
|
136
|
-
export declare interface ComponentType<T> {
|
|
137
|
-
new (...args: any[]): T;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* A `DomPortal` is a portal whose DOM element will be taken from its current position
|
|
142
|
-
* in the DOM and moved into a portal outlet, when it is attached. On detach, the content
|
|
143
|
-
* will be restored to its original position.
|
|
144
|
-
*/
|
|
145
|
-
export declare class DomPortal<T = HTMLElement> extends Portal<T> {
|
|
146
|
-
/** DOM node hosting the portal's content. */
|
|
147
|
-
readonly element: T;
|
|
148
|
-
constructor(element: T | ElementRef<T>);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @deprecated Use `DomPortalOutlet` instead.
|
|
153
|
-
* @breaking-change 9.0.0
|
|
154
|
-
*/
|
|
155
|
-
export declare class DomPortalHost extends DomPortalOutlet {
|
|
156
|
-
}
|
|
1
|
+
import { B as BasePortalOutlet, C as ComponentPortal, T as TemplatePortal, D as DomPortal } from '../portal-directives.d-DbeNrI5D.js';
|
|
2
|
+
export { c as CdkPortal, f as CdkPortalOutlet, e as CdkPortalOutletAttachedRef, a as ComponentType, P as Portal, g as PortalHostDirective, h as PortalModule, b as PortalOutlet, d as TemplatePortalDirective } from '../portal-directives.d-DbeNrI5D.js';
|
|
3
|
+
import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
|
|
157
4
|
|
|
158
5
|
/**
|
|
159
6
|
* A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular
|
|
160
7
|
* application context.
|
|
161
8
|
*/
|
|
162
|
-
|
|
9
|
+
declare class DomPortalOutlet extends BasePortalOutlet {
|
|
163
10
|
/** Element into which the content is projected. */
|
|
164
11
|
outletElement: Element;
|
|
165
12
|
private _appRef?;
|
|
@@ -201,110 +48,4 @@ export declare class DomPortalOutlet extends BasePortalOutlet {
|
|
|
201
48
|
private _getComponentRootNode;
|
|
202
49
|
}
|
|
203
50
|
|
|
204
|
-
|
|
205
|
-
* A `Portal` is something that you want to render somewhere else.
|
|
206
|
-
* It can be attach to / detached from a `PortalOutlet`.
|
|
207
|
-
*/
|
|
208
|
-
export declare abstract class Portal<T> {
|
|
209
|
-
private _attachedHost;
|
|
210
|
-
/** Attach this portal to a host. */
|
|
211
|
-
attach(host: PortalOutlet): T;
|
|
212
|
-
/** Detach this portal from its host */
|
|
213
|
-
detach(): void;
|
|
214
|
-
/** Whether this portal is attached to a host. */
|
|
215
|
-
get isAttached(): boolean;
|
|
216
|
-
/**
|
|
217
|
-
* Sets the PortalOutlet reference without performing `attach()`. This is used directly by
|
|
218
|
-
* the PortalOutlet when it is performing an `attach()` or `detach()`.
|
|
219
|
-
*/
|
|
220
|
-
setAttachedHost(host: PortalOutlet | null): void;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @deprecated Use `PortalOutlet` instead.
|
|
225
|
-
* @breaking-change 9.0.0
|
|
226
|
-
*/
|
|
227
|
-
export declare type PortalHost = PortalOutlet;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* @deprecated Use `CdkPortalOutlet` instead.
|
|
231
|
-
* @breaking-change 9.0.0
|
|
232
|
-
*/
|
|
233
|
-
export declare class PortalHostDirective extends CdkPortalOutlet {
|
|
234
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PortalHostDirective, never>;
|
|
235
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PortalHostDirective, "[cdkPortalHost], [portalHost]", ["cdkPortalHost"], { "portal": { "alias": "cdkPortalHost"; "required": false; }; }, {}, never, never, true, never>;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Custom injector to be used when providing custom
|
|
240
|
-
* injection tokens to components inside a portal.
|
|
241
|
-
* @docs-private
|
|
242
|
-
* @deprecated Use `Injector.create` instead.
|
|
243
|
-
* @breaking-change 11.0.0
|
|
244
|
-
*/
|
|
245
|
-
export declare class PortalInjector implements Injector {
|
|
246
|
-
private _parentInjector;
|
|
247
|
-
private _customTokens;
|
|
248
|
-
constructor(_parentInjector: Injector, _customTokens: WeakMap<any, any>);
|
|
249
|
-
get(token: any, notFoundValue?: any): any;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export declare class PortalModule {
|
|
253
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PortalModule, never>;
|
|
254
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PortalModule, never, [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective], [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective]>;
|
|
255
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/** A `PortalOutlet` is a space that can contain a single `Portal`. */
|
|
259
|
-
export declare interface PortalOutlet {
|
|
260
|
-
/** Attaches a portal to this outlet. */
|
|
261
|
-
attach(portal: Portal<any>): any;
|
|
262
|
-
/** Detaches the currently attached portal from this outlet. */
|
|
263
|
-
detach(): any;
|
|
264
|
-
/** Performs cleanup before the outlet is destroyed. */
|
|
265
|
-
dispose(): void;
|
|
266
|
-
/** Whether there is currently a portal attached to this outlet. */
|
|
267
|
-
hasAttached(): boolean;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).
|
|
272
|
-
*/
|
|
273
|
-
export declare class TemplatePortal<C = any> extends Portal<EmbeddedViewRef<C>> {
|
|
274
|
-
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
275
|
-
templateRef: TemplateRef<C>;
|
|
276
|
-
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
277
|
-
viewContainerRef: ViewContainerRef;
|
|
278
|
-
/** Contextual data to be passed in to the embedded view. */
|
|
279
|
-
context?: C | undefined;
|
|
280
|
-
/** The injector to use for the embedded view. */
|
|
281
|
-
injector?: Injector | undefined;
|
|
282
|
-
constructor(
|
|
283
|
-
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
284
|
-
templateRef: TemplateRef<C>,
|
|
285
|
-
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
286
|
-
viewContainerRef: ViewContainerRef,
|
|
287
|
-
/** Contextual data to be passed in to the embedded view. */
|
|
288
|
-
context?: C | undefined,
|
|
289
|
-
/** The injector to use for the embedded view. */
|
|
290
|
-
injector?: Injector | undefined);
|
|
291
|
-
get origin(): ElementRef;
|
|
292
|
-
/**
|
|
293
|
-
* Attach the portal to the provided `PortalOutlet`.
|
|
294
|
-
* When a context is provided it will override the `context` property of the `TemplatePortal`
|
|
295
|
-
* instance.
|
|
296
|
-
*/
|
|
297
|
-
attach(host: PortalOutlet, context?: C | undefined): EmbeddedViewRef<C>;
|
|
298
|
-
detach(): void;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* @deprecated Use `CdkPortal` instead.
|
|
303
|
-
* @breaking-change 9.0.0
|
|
304
|
-
*/
|
|
305
|
-
export declare class TemplatePortalDirective extends CdkPortal {
|
|
306
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplatePortalDirective, never>;
|
|
307
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplatePortalDirective, "[cdk-portal], [portal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
export { }
|
|
51
|
+
export { BasePortalOutlet, ComponentPortal, DomPortal, DomPortalOutlet, TemplatePortal };
|