@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
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ComponentRef, ViewContainerRef, Injector, EmbeddedViewRef, TemplateRef, ElementRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/** Interface that can be used to generically type a class. */
|
|
5
|
+
interface ComponentType<T> {
|
|
6
|
+
new (...args: any[]): T;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A `Portal` is something that you want to render somewhere else.
|
|
10
|
+
* It can be attach to / detached from a `PortalOutlet`.
|
|
11
|
+
*/
|
|
12
|
+
declare abstract class Portal<T> {
|
|
13
|
+
private _attachedHost;
|
|
14
|
+
/** Attach this portal to a host. */
|
|
15
|
+
attach(host: PortalOutlet): T;
|
|
16
|
+
/** Detach this portal from its host */
|
|
17
|
+
detach(): void;
|
|
18
|
+
/** Whether this portal is attached to a host. */
|
|
19
|
+
get isAttached(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the PortalOutlet reference without performing `attach()`. This is used directly by
|
|
22
|
+
* the PortalOutlet when it is performing an `attach()` or `detach()`.
|
|
23
|
+
*/
|
|
24
|
+
setAttachedHost(host: PortalOutlet | null): void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A `ComponentPortal` is a portal that instantiates some Component upon attachment.
|
|
28
|
+
*/
|
|
29
|
+
declare class ComponentPortal<T> extends Portal<ComponentRef<T>> {
|
|
30
|
+
/** The type of the component that will be instantiated for attachment. */
|
|
31
|
+
component: ComponentType<T>;
|
|
32
|
+
/**
|
|
33
|
+
* Where the attached component should live in Angular's *logical* component tree.
|
|
34
|
+
* This is different from where the component *renders*, which is determined by the PortalOutlet.
|
|
35
|
+
* The origin is necessary when the host is outside of the Angular application context.
|
|
36
|
+
*/
|
|
37
|
+
viewContainerRef?: ViewContainerRef | null;
|
|
38
|
+
/** Injector used for the instantiation of the component. */
|
|
39
|
+
injector?: Injector | null;
|
|
40
|
+
/**
|
|
41
|
+
* List of DOM nodes that should be projected through `<ng-content>` of the attached component.
|
|
42
|
+
*/
|
|
43
|
+
projectableNodes?: Node[][] | null;
|
|
44
|
+
constructor(component: ComponentType<T>, viewContainerRef?: ViewContainerRef | null, injector?: Injector | null, projectableNodes?: Node[][] | null);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).
|
|
48
|
+
*/
|
|
49
|
+
declare class TemplatePortal<C = any> extends Portal<EmbeddedViewRef<C>> {
|
|
50
|
+
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
51
|
+
templateRef: TemplateRef<C>;
|
|
52
|
+
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
53
|
+
viewContainerRef: ViewContainerRef;
|
|
54
|
+
/** Contextual data to be passed in to the embedded view. */
|
|
55
|
+
context?: C | undefined;
|
|
56
|
+
/** The injector to use for the embedded view. */
|
|
57
|
+
injector?: Injector | undefined;
|
|
58
|
+
constructor(
|
|
59
|
+
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
60
|
+
templateRef: TemplateRef<C>,
|
|
61
|
+
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
62
|
+
viewContainerRef: ViewContainerRef,
|
|
63
|
+
/** Contextual data to be passed in to the embedded view. */
|
|
64
|
+
context?: C | undefined,
|
|
65
|
+
/** The injector to use for the embedded view. */
|
|
66
|
+
injector?: Injector | undefined);
|
|
67
|
+
get origin(): ElementRef;
|
|
68
|
+
/**
|
|
69
|
+
* Attach the portal to the provided `PortalOutlet`.
|
|
70
|
+
* When a context is provided it will override the `context` property of the `TemplatePortal`
|
|
71
|
+
* instance.
|
|
72
|
+
*/
|
|
73
|
+
attach(host: PortalOutlet, context?: C | undefined): EmbeddedViewRef<C>;
|
|
74
|
+
detach(): void;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A `DomPortal` is a portal whose DOM element will be taken from its current position
|
|
78
|
+
* in the DOM and moved into a portal outlet, when it is attached. On detach, the content
|
|
79
|
+
* will be restored to its original position.
|
|
80
|
+
*/
|
|
81
|
+
declare class DomPortal<T = HTMLElement> extends Portal<T> {
|
|
82
|
+
/** DOM node hosting the portal's content. */
|
|
83
|
+
readonly element: T;
|
|
84
|
+
constructor(element: T | ElementRef<T>);
|
|
85
|
+
}
|
|
86
|
+
/** A `PortalOutlet` is a space that can contain a single `Portal`. */
|
|
87
|
+
interface PortalOutlet {
|
|
88
|
+
/** Attaches a portal to this outlet. */
|
|
89
|
+
attach(portal: Portal<any>): any;
|
|
90
|
+
/** Detaches the currently attached portal from this outlet. */
|
|
91
|
+
detach(): any;
|
|
92
|
+
/** Performs cleanup before the outlet is destroyed. */
|
|
93
|
+
dispose(): void;
|
|
94
|
+
/** Whether there is currently a portal attached to this outlet. */
|
|
95
|
+
hasAttached(): boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Partial implementation of PortalOutlet that handles attaching
|
|
99
|
+
* ComponentPortal and TemplatePortal.
|
|
100
|
+
*/
|
|
101
|
+
declare abstract class BasePortalOutlet implements PortalOutlet {
|
|
102
|
+
/** The portal currently attached to the host. */
|
|
103
|
+
protected _attachedPortal: Portal<any> | null;
|
|
104
|
+
/** A function that will permanently dispose this host. */
|
|
105
|
+
private _disposeFn;
|
|
106
|
+
/** Whether this host has already been permanently disposed. */
|
|
107
|
+
private _isDisposed;
|
|
108
|
+
/** Whether this host has an attached portal. */
|
|
109
|
+
hasAttached(): boolean;
|
|
110
|
+
attach<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
111
|
+
attach<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
112
|
+
attach(portal: any): any;
|
|
113
|
+
abstract attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
114
|
+
abstract attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
115
|
+
readonly attachDomPortal: null | ((portal: DomPortal) => any);
|
|
116
|
+
/** Detaches a previously attached portal. */
|
|
117
|
+
detach(): void;
|
|
118
|
+
/** Permanently dispose of this portal host. */
|
|
119
|
+
dispose(): void;
|
|
120
|
+
/** @docs-private */
|
|
121
|
+
setDisposeFn(fn: () => void): void;
|
|
122
|
+
private _invokeDisposeFn;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,
|
|
127
|
+
* the directive instance itself can be attached to a host, enabling declarative use of portals.
|
|
128
|
+
*/
|
|
129
|
+
declare class CdkPortal extends TemplatePortal {
|
|
130
|
+
constructor(...args: unknown[]);
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortal, never>;
|
|
132
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @deprecated Use `CdkPortal` instead.
|
|
136
|
+
* @breaking-change 9.0.0
|
|
137
|
+
*/
|
|
138
|
+
declare class TemplatePortalDirective extends CdkPortal {
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplatePortalDirective, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplatePortalDirective, "[cdk-portal], [portal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Possible attached references to the CdkPortalOutlet.
|
|
144
|
+
*/
|
|
145
|
+
type CdkPortalOutletAttachedRef = ComponentRef<any> | EmbeddedViewRef<any> | null;
|
|
146
|
+
/**
|
|
147
|
+
* Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be
|
|
148
|
+
* directly attached to it, enabling declarative use.
|
|
149
|
+
*
|
|
150
|
+
* Usage:
|
|
151
|
+
* `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
152
|
+
*/
|
|
153
|
+
declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestroy {
|
|
154
|
+
private _moduleRef;
|
|
155
|
+
private _document;
|
|
156
|
+
private _viewContainerRef;
|
|
157
|
+
/** Whether the portal component is initialized. */
|
|
158
|
+
private _isInitialized;
|
|
159
|
+
/** Reference to the currently-attached component/view ref. */
|
|
160
|
+
private _attachedRef;
|
|
161
|
+
constructor(...args: unknown[]);
|
|
162
|
+
/** Portal associated with the Portal outlet. */
|
|
163
|
+
get portal(): Portal<any> | null;
|
|
164
|
+
set portal(portal: Portal<any> | null | undefined | '');
|
|
165
|
+
/** Emits when a portal is attached to the outlet. */
|
|
166
|
+
readonly attached: EventEmitter<CdkPortalOutletAttachedRef>;
|
|
167
|
+
/** Component or view reference that is attached to the portal. */
|
|
168
|
+
get attachedRef(): CdkPortalOutletAttachedRef;
|
|
169
|
+
ngOnInit(): void;
|
|
170
|
+
ngOnDestroy(): void;
|
|
171
|
+
/**
|
|
172
|
+
* Attach the given ComponentPortal to this PortalOutlet.
|
|
173
|
+
*
|
|
174
|
+
* @param portal Portal to be attached to the portal outlet.
|
|
175
|
+
* @returns Reference to the created component.
|
|
176
|
+
*/
|
|
177
|
+
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
178
|
+
/**
|
|
179
|
+
* Attach the given TemplatePortal to this PortalHost as an embedded View.
|
|
180
|
+
* @param portal Portal to be attached.
|
|
181
|
+
* @returns Reference to the created embedded view.
|
|
182
|
+
*/
|
|
183
|
+
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
184
|
+
/**
|
|
185
|
+
* Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.
|
|
186
|
+
* @param portal Portal to be attached.
|
|
187
|
+
* @deprecated To be turned into a method.
|
|
188
|
+
* @breaking-change 10.0.0
|
|
189
|
+
*/
|
|
190
|
+
attachDomPortal: (portal: DomPortal) => void;
|
|
191
|
+
/** Gets the root node of the portal outlet. */
|
|
192
|
+
private _getRootNode;
|
|
193
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortalOutlet, never>;
|
|
194
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortalOutlet, "[cdkPortalOutlet]", ["cdkPortalOutlet"], { "portal": { "alias": "cdkPortalOutlet"; "required": false; }; }, { "attached": "attached"; }, never, never, true, never>;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @deprecated Use `CdkPortalOutlet` instead.
|
|
198
|
+
* @breaking-change 9.0.0
|
|
199
|
+
*/
|
|
200
|
+
declare class PortalHostDirective extends CdkPortalOutlet {
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortalHostDirective, never>;
|
|
202
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PortalHostDirective, "[cdkPortalHost], [portalHost]", ["cdkPortalHost"], { "portal": { "alias": "cdkPortalHost"; "required": false; }; }, {}, never, never, true, never>;
|
|
203
|
+
}
|
|
204
|
+
declare class PortalModule {
|
|
205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortalModule, never>;
|
|
206
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PortalModule, never, [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective], [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective]>;
|
|
207
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export { BasePortalOutlet as B, ComponentPortal as C, DomPortal as D, Portal as P, TemplatePortal as T, CdkPortal as c, TemplatePortalDirective as d, CdkPortalOutlet as f, PortalHostDirective as g, PortalModule as h };
|
|
211
|
+
export type { ComponentType as a, PortalOutlet as b, CdkPortalOutletAttachedRef as e };
|
package/private/index.d.ts
CHANGED
|
@@ -1,30 +1,13 @@
|
|
|
1
|
+
export { _ as _CdkPrivateStyleLoader } from '../style-loader.d-BXZfQZTF.js';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Type } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Service that loads structural styles dynamically
|
|
6
|
-
* and ensures that they're only loaded once per app.
|
|
7
|
-
*/
|
|
8
|
-
export declare class _CdkPrivateStyleLoader {
|
|
9
|
-
private _appRef;
|
|
10
|
-
private _injector;
|
|
11
|
-
private _environmentInjector;
|
|
12
|
-
/**
|
|
13
|
-
* Loads a set of styles.
|
|
14
|
-
* @param loader Component which will be instantiated to load the styles.
|
|
15
|
-
*/
|
|
16
|
-
load(loader: Type<unknown>): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_CdkPrivateStyleLoader, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<_CdkPrivateStyleLoader>;
|
|
19
|
-
}
|
|
20
3
|
|
|
21
4
|
/**
|
|
22
5
|
* Component used to load the .cdk-visually-hidden styles.
|
|
23
6
|
* @docs-private
|
|
24
7
|
*/
|
|
25
|
-
|
|
8
|
+
declare class _VisuallyHiddenLoader {
|
|
26
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<_VisuallyHiddenLoader, never>;
|
|
27
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<_VisuallyHiddenLoader, "ng-component", ["cdkVisuallyHidden"], {}, {}, never, never, true, never>;
|
|
28
11
|
}
|
|
29
12
|
|
|
30
|
-
export { }
|
|
13
|
+
export { _VisuallyHiddenLoader };
|
package/schematics/index.js
CHANGED
|
@@ -34,4 +34,4 @@ __exportStar(require("@schematics/angular/utility/ng-ast-utils"), exports);
|
|
|
34
34
|
// in the CDK "package.json" as optional dependency.
|
|
35
35
|
const parse5 = require("parse5");
|
|
36
36
|
exports.parse5 = parse5;
|
|
37
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,yDAAuC;AACvC,2DAAyC;AAEzC,iGAAiG;AACjG,wEAAsD;AACtD,2EAAyD;AAEzD,+EAA+E;AAC/E,gFAAgF;AAChF,kFAAkF;AAClF,oDAAoD;AACpD,iCAAiC;AACzB,wBAAM"}
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.default = default_1;
|
|
11
|
-
const
|
|
12
|
-
const package_config_1 = require("./package-config");
|
|
11
|
+
const utility_1 = require("@schematics/angular/utility");
|
|
13
12
|
/**
|
|
14
13
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
15
14
|
* automatically executed if developers run `ng add @angular/cdk`.
|
|
@@ -19,21 +18,14 @@ const package_config_1 = require("./package-config");
|
|
|
19
18
|
* this ensures that there will be no error that says that the CDK does not support `ng add`.
|
|
20
19
|
*/
|
|
21
20
|
function default_1() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~20.0.0-next.0`);
|
|
33
|
-
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
|
-
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
|
-
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
36
|
-
}
|
|
37
|
-
};
|
|
21
|
+
// The CLI inserts `@angular/cdk` into the `package.json` before this schematic runs. This
|
|
22
|
+
// means that we do not need to insert the CDK into `package.json` files again. In some cases
|
|
23
|
+
// though, it could happen that this schematic runs outside of the CLI `ng add` command, or
|
|
24
|
+
// the CDK is only listed as a dev dependency. If that is the case, we insert a version based
|
|
25
|
+
// on the current build version (substituted version placeholder).
|
|
26
|
+
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
27
|
+
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
28
|
+
// dependencies in new CLI projects.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~20.0.0-next.10`, { existing: utility_1.ExistingBehavior.Skip });
|
|
38
30
|
}
|
|
39
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAaH,4BAWC;AArBD,yDAA4E;AAE5E;;;;;;;GAOG;AACH;IACE,0FAA0F;IAC1F,6FAA6F;IAC7F,2FAA2F;IAC3F,6FAA6F;IAC7F,kEAAkE;IAElE,sFAAsF;IACtF,oFAAoF;IACpF,oCAAoC;IACpC,OAAO,IAAA,uBAAa,EAAC,cAAc,EAAE,oBAAoB,EAAE,EAAC,QAAQ,EAAE,0BAAgB,CAAC,IAAI,EAAC,CAAC,CAAC;AAChG,CAAC"}
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -6,6 +6,15 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
10
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
11
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
12
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
13
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
14
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
15
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
16
|
+
});
|
|
17
|
+
};
|
|
9
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
19
|
exports.default = default_1;
|
|
11
20
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
@@ -13,7 +22,7 @@ const utils_1 = require("../../utils");
|
|
|
13
22
|
/** Scaffolds a new Angular component that uses the Drag and Drop module. */
|
|
14
23
|
function default_1(options) {
|
|
15
24
|
return (0, schematics_1.chain)([
|
|
16
|
-
(0, utils_1.buildComponent)({
|
|
25
|
+
(0, utils_1.buildComponent)(Object.assign({}, options), {
|
|
17
26
|
template: './__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template',
|
|
18
27
|
stylesheet: './__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template',
|
|
19
28
|
}),
|
|
@@ -22,12 +31,12 @@ function default_1(options) {
|
|
|
22
31
|
}
|
|
23
32
|
/** Adds the required modules to the main module of the CLI project. */
|
|
24
33
|
function addDragDropModulesToModule(options) {
|
|
25
|
-
return
|
|
26
|
-
const isStandalone =
|
|
34
|
+
return (host) => __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
const isStandalone = yield (0, utils_1.isStandaloneSchematic)(host, options);
|
|
27
36
|
if (!isStandalone) {
|
|
28
|
-
const modulePath =
|
|
37
|
+
const modulePath = yield (0, utils_1.findModuleFromOptions)(host, options);
|
|
29
38
|
(0, utils_1.addModuleImportToModule)(host, modulePath, 'DragDropModule', '@angular/cdk/drag-drop');
|
|
30
39
|
}
|
|
31
|
-
};
|
|
40
|
+
});
|
|
32
41
|
}
|
|
33
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;AAYH,4BAaC;AAvBD,2DAAmE;AACnE,uCAKqB;AAGrB,4EAA4E;AAC5E,mBAAyB,OAAe;IACtC,OAAO,IAAA,kBAAK,EAAC;QACX,IAAA,sBAAc,oBACR,OAAO,GACX;YACE,QAAQ,EACN,kFAAkF;YACpF,UAAU,EACR,uFAAuF;SAC1F,CACF;QACD,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAA,iBAAI,GAAE,CAAC,CAAC,CAAC,0BAA0B,CAAC,OAAO,CAAC;KAClE,CAAC,CAAC;AACL,CAAC;AAED,uEAAuE;AACvE,SAAS,0BAA0B,CAAC,OAAe;IACjD,OAAO,CAAO,IAAU,EAAE,EAAE;QAC1B,MAAM,YAAY,GAAG,MAAM,IAAA,6BAAqB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAEhE,IAAI,CAAC,YAAY,EAAE,CAAC;YAClB,MAAM,UAAU,GAAG,MAAM,IAAA,6BAAqB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YAC9D,IAAA,+BAAuB,EAAC,IAAI,EAAE,UAAW,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;QACzF,CAAC;IACH,CAAC,CAAA,CAAC;AACJ,CAAC"}
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.attributeSelectors = void 0;
|
|
11
11
|
exports.attributeSelectors = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=attribute-selectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-selectors.js","sourceRoot":"","sources":["attribute-selectors.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAWU,QAAA,kBAAkB,GAAiD,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.classNames = void 0;
|
|
11
11
|
exports.classNames = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=class-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"class-names.js","sourceRoot":"","sources":["class-names.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAWU,QAAA,UAAU,GAAyC,EAAE,CAAC"}
|
|
@@ -14,4 +14,4 @@ exports.constructorChecks = void 0;
|
|
|
14
14
|
* automatically through type checking.
|
|
15
15
|
*/
|
|
16
16
|
exports.constructorChecks = {};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=constructor-checks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constructor-checks.js","sourceRoot":"","sources":["constructor-checks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAMH;;;;GAIG;AACU,QAAA,iBAAiB,GAAiD,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.cssSelectors = void 0;
|
|
11
11
|
exports.cssSelectors = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=css-selectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-selectors.js","sourceRoot":"","sources":["css-selectors.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAuBU,QAAA,YAAY,GAA2C,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.cssTokens = void 0;
|
|
11
11
|
exports.cssTokens = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=css-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-tokens.js","sourceRoot":"","sources":["css-tokens.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAuBU,QAAA,SAAS,GAAwC,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.elementSelectors = void 0;
|
|
11
11
|
exports.elementSelectors = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=element-selectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-selectors.js","sourceRoot":"","sources":["element-selectors.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAWU,QAAA,gBAAgB,GAA+C,EAAE,CAAC"}
|
|
@@ -32,4 +32,4 @@ __exportStar(require("./method-call-checks"), exports);
|
|
|
32
32
|
__exportStar(require("./output-names"), exports);
|
|
33
33
|
__exportStar(require("./property-names"), exports);
|
|
34
34
|
__exportStar(require("./symbol-removal"), exports);
|
|
35
|
-
//# sourceMappingURL=
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,wDAAsC;AACtC,gDAA8B;AAC9B,uDAAqC;AACrC,kDAAgC;AAChC,+CAA6B;AAC7B,sDAAoC;AACpC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.inputNames = void 0;
|
|
11
11
|
exports.inputNames = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=input-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-names.js","sourceRoot":"","sources":["input-names.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAkBU,QAAA,UAAU,GAAyC,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.methodCallChecks = void 0;
|
|
11
11
|
exports.methodCallChecks = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=method-call-checks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method-call-checks.js","sourceRoot":"","sources":["method-call-checks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAUU,QAAA,gBAAgB,GAA0C,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.outputNames = void 0;
|
|
11
11
|
exports.outputNames = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=output-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-names.js","sourceRoot":"","sources":["output-names.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAkBU,QAAA,WAAW,GAA0C,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.propertyNames = void 0;
|
|
11
11
|
exports.propertyNames = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=property-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-names.js","sourceRoot":"","sources":["property-names.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAgBU,QAAA,aAAa,GAA4C,EAAE,CAAC"}
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.symbolRemoval = void 0;
|
|
11
11
|
exports.symbolRemoval = {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=symbol-removal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"symbol-removal.js","sourceRoot":"","sources":["symbol-removal.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAeU,QAAA,aAAa,GAA6C,EAAE,CAAC"}
|
|
@@ -17,11 +17,10 @@ const path = require("path");
|
|
|
17
17
|
* Angular CLI.
|
|
18
18
|
*/
|
|
19
19
|
class DevkitFileSystem extends file_system_1.FileSystem {
|
|
20
|
-
_tree;
|
|
21
|
-
_updateRecorderCache = new Map();
|
|
22
20
|
constructor(_tree) {
|
|
23
21
|
super();
|
|
24
22
|
this._tree = _tree;
|
|
23
|
+
this._updateRecorderCache = new Map();
|
|
25
24
|
}
|
|
26
25
|
resolve(...segments) {
|
|
27
26
|
// Note: We use `posix.resolve` as the devkit paths are using posix separators.
|
|
@@ -81,4 +80,4 @@ class DevkitFileSystem extends file_system_1.FileSystem {
|
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
exports.DevkitFileSystem = DevkitFileSystem;
|
|
84
|
-
//# sourceMappingURL=
|
|
83
|
+
//# sourceMappingURL=devkit-file-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devkit-file-system.js","sourceRoot":"","sources":["devkit-file-system.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,+CAAqD;AAErD,4DAAsE;AACtE,6BAA6B;AAE7B;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,wBAAU;IAG9C,YAAoB,KAAW;QAC7B,KAAK,EAAE,CAAC;QADU,UAAK,GAAL,KAAK,CAAM;QAFvB,yBAAoB,GAAG,IAAI,GAAG,EAA0B,CAAC;IAIjE,CAAC;IAED,OAAO,CAAC,GAAG,QAAkB;QAC3B,+EAA+E;QAC/E,OAAO,IAAA,gBAAS,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC,CAAC,CAAC;IACxE,CAAC;IAED,IAAI,CAAC,QAAc;QACjB,IAAI,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC;QAClD,CAAC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAClD,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAClD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,WAAW;QACT,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC;IACpC,CAAC;IAED,UAAU,CAAC,QAAc;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC;IAED,eAAe,CAAC,OAAa;QAC3B,sEAAsE;QACtE,qEAAqE;QACrE,uEAAuE;QACvE,IAAI,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,uEAAuE;YACvE,yEAAyE;YACzE,oEAAoE;YACpE,uEAAuE;YACvE,sEAAsE;YACtE,8DAA8D;YAC9D,IAAK,CAAS,CAAC,WAAW,CAAC,IAAI,KAAK,0BAA0B,EAAE,CAAC;gBAC/D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,CAAC,QAAc,EAAE,OAAe;QACvC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,QAAc,EAAE,OAAe;QACpC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,QAAc;QACnB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC9B,CAAC;IAED,IAAI,CAAC,QAAc;QACjB,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACpD,CAAC;IAED,aAAa,CAAC,OAAa;QACzB,MAAM,EAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3E,OAAO,EAAC,WAAW,EAAE,KAAK,EAAC,CAAC;IAC9B,CAAC;CACF;AAvED,4CAuEC"}
|