@angular/cdk 20.0.0-next.2 → 20.0.0-next.4
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/dialog/index.d.ts +8 -3
- package/drag-drop/index.d.ts +2 -1
- package/fesm2022/{a11y-module-e6996d20.mjs → a11y-module-b228dc71.mjs} +29 -29
- package/fesm2022/{a11y-module-e6996d20.mjs.map → a11y-module-b228dc71.mjs.map} +1 -1
- package/fesm2022/a11y.mjs +20 -20
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/{array-ee3b4bab.mjs → array-88e1bec3.mjs} +1 -1
- package/fesm2022/array-88e1bec3.mjs.map +1 -0
- package/fesm2022/{bidi-module-0726b65c.mjs → bidi-module-e73b8776.mjs} +9 -9
- package/fesm2022/{bidi-module-0726b65c.mjs.map → bidi-module-e73b8776.mjs.map} +1 -1
- package/fesm2022/bidi.mjs +2 -2
- package/fesm2022/{breakpoints-observer-d4584b66.mjs → breakpoints-observer-9432a91b.mjs} +9 -9
- package/fesm2022/{breakpoints-observer-d4584b66.mjs.map → breakpoints-observer-9432a91b.mjs.map} +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/coercion.mjs +3 -3
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +1 -1
- package/fesm2022/{css-pixel-value-286c9a60.mjs → css-pixel-value-447bbfe8.mjs} +1 -1
- package/fesm2022/css-pixel-value-447bbfe8.mjs.map +1 -0
- package/fesm2022/dialog.mjs +32 -26
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-7ea26429.mjs → directionality-ea6ab987.mjs} +4 -4
- package/fesm2022/{directionality-7ea26429.mjs.map → directionality-ea6ab987.mjs.map} +1 -1
- package/fesm2022/drag-drop.mjs +40 -39
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-705567fe.mjs → element-08c51fcd.mjs} +1 -1
- package/fesm2022/element-08c51fcd.mjs.map +1 -0
- package/fesm2022/{focus-monitor-cebaa0d1.mjs → focus-monitor-69f9c0f9.mjs} +12 -12
- package/fesm2022/{focus-monitor-cebaa0d1.mjs.map → focus-monitor-69f9c0f9.mjs.map} +1 -1
- package/fesm2022/{id-generator-fba495fb.mjs → id-generator-ec45a122.mjs} +4 -4
- package/fesm2022/{id-generator-fba495fb.mjs.map → id-generator-ec45a122.mjs.map} +1 -1
- package/fesm2022/layout.mjs +7 -7
- package/fesm2022/listbox.mjs +14 -14
- package/fesm2022/menu.mjs +64 -62
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{observe-content-d2a6b5a0.mjs → observe-content-459e1d12.mjs} +15 -15
- package/fesm2022/{observe-content-d2a6b5a0.mjs.map → observe-content-459e1d12.mjs.map} +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers.mjs +2 -2
- package/fesm2022/{overlay-module-863b82c9.mjs → overlay-module-6e7b742f.mjs} +47 -45
- package/fesm2022/overlay-module-6e7b742f.mjs.map +1 -0
- package/fesm2022/overlay.mjs +15 -15
- package/fesm2022/{platform-1be098b0.mjs → platform-2be6a529.mjs} +4 -4
- package/fesm2022/{platform-1be098b0.mjs.map → platform-2be6a529.mjs.map} +1 -1
- package/fesm2022/platform.mjs +5 -5
- package/fesm2022/{portal-directives-c88fea11.mjs → portal-directives-9cd98881.mjs} +18 -18
- package/fesm2022/{portal-directives-c88fea11.mjs.map → portal-directives-9cd98881.mjs.map} +1 -1
- package/fesm2022/portal.mjs +1 -1
- package/fesm2022/private.mjs +2 -2
- package/fesm2022/{scrolling-module-aa9eeac5.mjs → scrolling-module-72941c9f.mjs} +41 -41
- package/fesm2022/{scrolling-module-aa9eeac5.mjs.map → scrolling-module-72941c9f.mjs.map} +1 -1
- package/fesm2022/scrolling.mjs +5 -5
- package/fesm2022/stepper.mjs +25 -25
- package/fesm2022/{style-loader-e14dc585.mjs → style-loader-9fc0a4d2.mjs} +4 -4
- package/fesm2022/{style-loader-e14dc585.mjs.map → style-loader-9fc0a4d2.mjs.map} +1 -1
- package/fesm2022/table.mjs +81 -81
- package/fesm2022/testing/selenium-webdriver.mjs +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +1 -1
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/text-field.mjs +19 -19
- package/fesm2022/{text-filtering-b60ba8a2.mjs → text-filtering-0c6de6d6.mjs} +1 -1
- package/fesm2022/text-filtering-0c6de6d6.mjs.map +1 -0
- package/fesm2022/tree.mjs +41 -28
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{unique-selection-dispatcher-1d6f91d8.mjs → unique-selection-dispatcher-d0d5176e.mjs} +4 -4
- package/fesm2022/{unique-selection-dispatcher-1d6f91d8.mjs.map → unique-selection-dispatcher-d0d5176e.mjs.map} +1 -1
- package/fesm2022/{visually-hidden-83aea4a0.mjs → visually-hidden-a6df546a.mjs} +4 -4
- package/fesm2022/{visually-hidden-83aea4a0.mjs.map → visually-hidden-a6df546a.mjs.map} +1 -1
- package/menu/index.d.ts +3 -3
- package/overlay/index.d.ts +6 -6
- package/{overlay-module.d-5d06db8a.d.ts → overlay-module.d-46197115.d.ts} +4 -2
- package/package.json +2 -4
- package/portal/index.d.ts +2 -2
- package/{portal-directives.d-d345bd53.d.ts → portal-directives.d-fefec9d6.d.ts} +1 -1
- package/schematics/index.js +1 -1
- package/schematics/index.js.map +1 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/package-config.js +1 -1
- package/schematics/ng-add/package-config.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.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 +1 -1
- 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.js +22 -11
- package/schematics/utils/ast.js.map +1 -0
- package/schematics/utils/build-component.js +16 -11
- package/schematics/utils/build-component.js.map +1 -0
- 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.js +2 -2
- package/schematics/utils/project-index-file.js.map +1 -0
- 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.js +1 -1
- package/schematics/utils/project-style-file.js.map +1 -0
- package/schematics/utils/project-targets.js +4 -3
- package/schematics/utils/project-targets.js.map +1 -0
- package/schematics/utils/project-tsconfig-paths.js +25 -13
- package/schematics/utils/project-tsconfig-paths.js.map +1 -0
- package/schematics/utils/schematic-options.js +26 -14
- package/schematics/utils/schematic-options.js.map +1 -0
- package/scrolling/index.d.ts +2 -2
- package/{scrolling-module.d-a08a462d.d.ts → scrolling-module.d-e4f8e471.d.ts} +1 -1
- package/table/index.d.ts +1 -1
- package/tree/index.d.ts +2 -0
- package/fesm2022/array-ee3b4bab.mjs.map +0 -1
- package/fesm2022/css-pixel-value-286c9a60.mjs.map +0 -1
- package/fesm2022/element-705567fe.mjs.map +0 -1
- package/fesm2022/overlay-module-863b82c9.mjs.map +0 -1
- package/fesm2022/text-filtering-b60ba8a2.mjs.map +0 -1
- package/schematics/index.mjs +0 -37
- package/schematics/ng-add/index.mjs +0 -39
- 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
|
@@ -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cAAc,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,cAAc,GAAG,IAAI;aACxB,WAAW,CAAC,YAAY,CAAC;aACzB,WAAW,CAAC,IAAI,CAAC,kBAAmB,CAAC,QAAS,CAAC,SAAS,GAAG,CAAC,EAAE,WAAW,SAAS,GAAG,CAAC,CAAC;QAC1F,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAED,wCAAwC;AACxC,SAAS,mBAAmB,CAAC,OAAe,EAAE,WAAmB;IAC/D,MAAM,QAAQ,GAAG,IAAA,cAAS,EAAC,WAAW,EAAE,EAAC,sBAAsB,EAAE,IAAI,EAAC,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE3C,OAAO,SAAS,CAAC,MAAM,EAAE,CAAC;QACxB,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,EAAa,CAAC;QAE1C,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,OAAO,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -33,4 +33,4 @@ __exportStar(require("./project-style-file"), exports);
|
|
|
33
33
|
__exportStar(require("./project-targets"), exports);
|
|
34
34
|
__exportStar(require("./project-tsconfig-paths"), exports);
|
|
35
35
|
__exportStar(require("./schematic-options"), exports);
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,wCAAsB;AACtB,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,sDAAoC;AACpC,mDAAiC;AACjC,uDAAqC;AACrC,sDAAoC;AACpC,uDAAqC;AACrC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC"}
|
|
@@ -27,4 +27,4 @@ function getChildElementIndentation(element) {
|
|
|
27
27
|
// one column in order to have a proper zero-based offset for the indentation.
|
|
28
28
|
return startColumns - 1;
|
|
29
29
|
}
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=parse5-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse5-element.js","sourceRoot":"","sources":["parse5-element.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAWH,gEAqBC;AA9BD,2DAA+D;AAQ/D,iFAAiF;AACjF,SAAgB,0BAA0B,CAAC,OAAgB;IACzD,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAE,IAAgB,CAAC,OAAO,CAAmB,CAAC;IAElG,IAAI,CAAC,YAAY,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QACtF,MAAM,IAAI,gCAAmB,CAC3B,yDAAyD;YACvD,2EAA2E,CAC9E,CAAC;IACJ,CAAC;IAED,MAAM,YAAY,GAAG,YAAY;QAC/B,CAAC,CAAC,+EAA+E;YAC/E,2DAA2D;YAC3D,YAAY,CAAC,kBAAmB,CAAC,QAAQ;QAC3C,CAAC,CAAC,2FAA2F;YAC3F,iBAAiB;YACjB,OAAO,CAAC,kBAAmB,CAAC,QAAQ,GAAG,CAAC,CAAC;IAE7C,yFAAyF;IACzF,8EAA8E;IAC9E,OAAO,YAAY,GAAG,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -12,9 +12,9 @@ const project_targets_1 = require("./project-targets");
|
|
|
12
12
|
/** Gets the path of the index file in the given project. */
|
|
13
13
|
function getProjectIndexFiles(project) {
|
|
14
14
|
const paths = (0, project_targets_1.getProjectBuildTargets)(project)
|
|
15
|
-
.filter(t => t.options
|
|
15
|
+
.filter(t => { var _a; return (_a = t.options) === null || _a === void 0 ? void 0 : _a['index']; })
|
|
16
16
|
.map(t => t.options['index']);
|
|
17
17
|
// Use a set to remove duplicate index files referenced in multiple build targets of a project.
|
|
18
18
|
return Array.from(new Set(paths));
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=project-index-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-index-file.js","sourceRoot":"","sources":["project-index-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAMH,oDAOC;AAVD,uDAAyD;AAEzD,4DAA4D;AAC5D,SAAgB,oBAAoB,CAAC,OAAqC;IACxE,MAAM,KAAK,GAAG,IAAA,wCAAsB,EAAC,OAAO,CAAC;SAC1C,MAAM,CAAC,CAAC,CAAC,EAAE,WAAC,OAAA,MAAA,CAAC,CAAC,OAAO,0CAAG,OAAO,CAAC,CAAA,EAAA,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAQ,CAAC,OAAO,CAAS,CAAC,CAAC;IAEzC,+FAA+F;IAC/F,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -22,4 +22,4 @@ function getProjectMainFile(project) {
|
|
|
22
22
|
}
|
|
23
23
|
return mainPath;
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=project-main-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-main-file.js","sourceRoot":"","sources":["project-main-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,gDAeC;AAnBD,2DAA+D;AAC/D,uDAA0D;AAE1D,oFAAoF;AACpF,SAAgB,kBAAkB,CAAC,OAAqC;IACtE,MAAM,YAAY,GAAG,IAAA,yCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAE/D,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,QAAQ,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,YAAY,CAAC,MAAM,CAAC,CAAqB,CAAC;IAEvF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,gCAAmB,CAC3B,qDAAqD;YACnD,qBAAqB,OAAO,CAAC,UAAU,GAAG,CAC7C,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -39,4 +39,4 @@ function getProjectStyleFile(project, extension) {
|
|
|
39
39
|
}
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=project-style-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-style-file.js","sourceRoot":"","sources":["project-style-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,kDAiCC;AA9CD,+CAAwE;AACxE,uDAA0D;AAE1D,oFAAoF;AACpF,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAEpD,yFAAyF;AACzF,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAE5C;;;GAGG;AACH,SAAgB,mBAAmB,CACjC,OAAqC,EACrC,SAAkB;IAElB,MAAM,YAAY,GAAG,IAAA,yCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/D,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAE3C,IAAI,WAAW,IAAI,IAAA,kBAAW,EAAC,WAAW,CAAC,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;QAClE,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAqB,CAAC,KAAK,CAAC,CAAC,CAAC;QAEhG,8FAA8F;QAC9F,2FAA2F;QAC3F,MAAM,oBAAoB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC9C,SAAS,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,SAAS,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9E,CAAC;QAEF,IAAI,oBAAoB,EAAE,CAAC;YACzB,OAAO,IAAA,gBAAS,EAAC,oBAAoB,CAAC,CAAC;QACzC,CAAC;QAED,2FAA2F;QAC3F,2FAA2F;QAC3F,kBAAkB;QAClB,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC3C,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC5E,CAAC;QAEF,IAAI,iBAAiB,EAAE,CAAC;YACtB,OAAO,IAAA,gBAAS,EAAC,iBAAiB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -13,7 +13,8 @@ exports.getProjectTestTargets = getProjectTestTargets;
|
|
|
13
13
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
14
14
|
/** Resolves the architect options for the build target of the given project. */
|
|
15
15
|
function getProjectTargetOptions(project, buildTarget) {
|
|
16
|
-
|
|
16
|
+
var _a, _b;
|
|
17
|
+
const options = (_b = (_a = project.targets) === null || _a === void 0 ? void 0 : _a.get(buildTarget)) === null || _b === void 0 ? void 0 : _b.options;
|
|
17
18
|
if (!options) {
|
|
18
19
|
throw new schematics_1.SchematicsException(`Cannot determine project target configuration for: ${buildTarget}.`);
|
|
19
20
|
}
|
|
@@ -33,7 +34,7 @@ function getProjectTestTargets(project) {
|
|
|
33
34
|
/** Gets all targets from the given project that pass a predicate check. */
|
|
34
35
|
function getTargetsByBuilderName(project, predicate) {
|
|
35
36
|
return Array.from(project.targets.keys())
|
|
36
|
-
.filter(name => predicate(project.targets.get(name)
|
|
37
|
+
.filter(name => { var _a; return predicate((_a = project.targets.get(name)) === null || _a === void 0 ? void 0 : _a.builder); })
|
|
37
38
|
.map(name => project.targets.get(name));
|
|
38
39
|
}
|
|
39
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=project-targets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-targets.js","sourceRoot":"","sources":["project-targets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAMH,0DAaC;AAGD,wDAWC;AAGD,sDAOC;AAxCD,2DAA+D;AAE/D,gFAAgF;AAChF,SAAgB,uBAAuB,CACrC,OAAqC,EACrC,WAAmB;;IAEnB,MAAM,OAAO,GAAG,MAAA,MAAA,OAAO,CAAC,OAAO,0CAAE,GAAG,CAAC,WAAW,CAAC,0CAAE,OAAO,CAAC;IAE3D,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,gCAAmB,CAC3B,sDAAsD,WAAW,GAAG,CACrE,CAAC;IACJ,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,uEAAuE;AACvE,SAAgB,sBAAsB,CACpC,OAAqC;IAErC,OAAO,uBAAuB,CAC5B,OAAO,EACP,OAAO,CAAC,EAAE,CACR,OAAO,KAAK,2CAA2C;QACvD,OAAO,KAAK,uCAAuC;QACnD,OAAO,KAAK,+CAA+C;QAC3D,OAAO,KAAK,4BAA4B,CAC3C,CAAC;AACJ,CAAC;AAED,yEAAyE;AACzE,SAAgB,qBAAqB,CACnC,OAAqC;IAErC,OAAO,uBAAuB,CAC5B,OAAO,EACP,OAAO,CAAC,EAAE,CAAC,OAAO,KAAK,qCAAqC,CAC7D,CAAC;AACJ,CAAC;AAED,2EAA2E;AAC3E,SAAS,uBAAuB,CAC9B,OAAqC,EACrC,SAAgD;IAEhD,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;SACtC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,SAAS,CAAC,MAAA,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,OAAO,CAAC,CAAA,EAAA,CAAC;SAC7D,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -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.getTargetTsconfigPath = getTargetTsconfigPath;
|
|
11
20
|
exports.getWorkspaceConfigGracefully = getWorkspaceConfigGracefully;
|
|
@@ -15,20 +24,23 @@ const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
|
15
24
|
const defaultWorkspaceConfigPaths = ['/angular.json', '/.angular.json'];
|
|
16
25
|
/** Gets the tsconfig path from the given target within the specified project. */
|
|
17
26
|
function getTargetTsconfigPath(project, targetName) {
|
|
18
|
-
|
|
27
|
+
var _a, _b, _c;
|
|
28
|
+
const tsconfig = (_c = (_b = (_a = project.targets) === null || _a === void 0 ? void 0 : _a.get(targetName)) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c['tsConfig'];
|
|
19
29
|
return tsconfig ? (0, core_1.normalize)(tsconfig) : null;
|
|
20
30
|
}
|
|
21
31
|
/** Resolve the workspace configuration of the specified tree gracefully. */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
function getWorkspaceConfigGracefully(tree) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const path = defaultWorkspaceConfigPaths.find(filePath => tree.exists(filePath));
|
|
35
|
+
if (!path) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
return (0, workspace_1.getWorkspace)(tree, path);
|
|
40
|
+
}
|
|
41
|
+
catch (_a) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
33
45
|
}
|
|
34
|
-
//# sourceMappingURL=
|
|
46
|
+
//# sourceMappingURL=project-tsconfig-paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-tsconfig-paths.js","sourceRoot":"","sources":["project-tsconfig-paths.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;AAWH,sDAMC;AAGD,oEAcC;AAhCD,+CAA2D;AAE3D,qEAAmE;AAGnE,qEAAqE;AACrE,MAAM,2BAA2B,GAAG,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAExE,iFAAiF;AACjF,SAAgB,qBAAqB,CACnC,OAAqC,EACrC,UAAkB;;IAElB,MAAM,QAAQ,GAAG,MAAA,MAAA,MAAA,OAAO,CAAC,OAAO,0CAAE,GAAG,CAAC,UAAU,CAAC,0CAAE,OAAO,0CAAG,UAAU,CAAC,CAAC;IACzE,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAA,gBAAS,EAAC,QAAkB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC;AAED,4EAA4E;AAC5E,SAAsB,4BAA4B,CAChD,IAAU;;QAEV,MAAM,IAAI,GAAG,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEjF,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC;YACH,OAAO,IAAA,wBAAY,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClC,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -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.getDefaultComponentOptions = getDefaultComponentOptions;
|
|
11
20
|
exports.isStandaloneSchematic = isStandaloneSchematic;
|
|
@@ -41,19 +50,22 @@ function getDefaultComponentOptions(project) {
|
|
|
41
50
|
};
|
|
42
51
|
}
|
|
43
52
|
/** Determines whether the schematic is configured to be standalone. */
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
function isStandaloneSchematic(host, options) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
var _a;
|
|
56
|
+
if (options.standalone != null) {
|
|
57
|
+
return options.standalone;
|
|
58
|
+
}
|
|
59
|
+
// If the `--standalone` flag isn't passed and there isn't a default, infer based on the project.
|
|
60
|
+
const workspace = yield (0, workspace_1.getWorkspace)(host);
|
|
61
|
+
const project = (0, get_project_1.getProjectFromWorkspace)(workspace, options.project);
|
|
62
|
+
// Legacy projects might not have a `build` target, but they're likely
|
|
63
|
+
// not on an Angular version that supports standalone either.
|
|
64
|
+
if (!((_a = project.targets) === null || _a === void 0 ? void 0 : _a.has('build'))) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return (0, ng_ast_utils_1.isStandaloneApp)(host, (0, project_main_file_1.getProjectMainFile)(project));
|
|
68
|
+
});
|
|
57
69
|
}
|
|
58
70
|
/**
|
|
59
71
|
* Gets the default value for the specified option. The default options will be determined
|
|
@@ -74,4 +86,4 @@ function getDefaultComponentOption(project, optionNames, fallbackValue) {
|
|
|
74
86
|
}
|
|
75
87
|
return fallbackValue;
|
|
76
88
|
}
|
|
77
|
-
//# sourceMappingURL=
|
|
89
|
+
//# sourceMappingURL=schematic-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schematic-options.js","sourceRoot":"","sources":["schematic-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ACtE,6DAA6D;QAC7D,IAAI,CAAC,CAAA,MAAA,OAAO,CAAC,OAAO,0CAAE,GAAG,CAAC,OAAO,CAAC,CAAA,EAAE,CAAC;YACnC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,IAAA,8BAAe,EAAC,IAAI,EAAE,IAAA,sCAAkB,EAAC,OAAO,CAAC,CAAC,CAAC;IAC5D,CAAC;CAAA;AAED;;;;GAIG;AACH,SAAS,yBAAyB,CAChC,OAAqC,EACrC,WAAqB,EACrB,aAAgB;IAEhB,MAAM,gBAAgB,GAAG,IAAA,mBAAY,EAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC;QAC7E,CAAC,CAAE,OAAO,CAAC,UAAU,CAAC,YAAY,CAAgB;QAClD,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,gBAAgB,GAAG,gBAAgB;QACvC,CAAC,CAAE,gBAAgB,CAAC,+BAA+B,CAAuB;QAC1E,CAAC,CAAC,IAAI,CAAC;IAET,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;QACrC,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;YAC7D,OAAO,gBAAgB,CAAC,UAAU,CAAiB,CAAC;QACtD,CAAC;IACH,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"}
|
package/scrolling/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as CdkFixedSizeVirtualScroll, C as CdkScrollable, a as CdkScrollableModule,
|
|
1
|
+
export { c as CdkFixedSizeVirtualScroll, C as CdkScrollable, a as CdkScrollableModule, d as CdkVirtualForOf, r as CdkVirtualForOfContext, t as CdkVirtualScrollRepeater, e as CdkVirtualScrollViewport, v as CdkVirtualScrollable, g as CdkVirtualScrollableElement, f as CdkVirtualScrollableWindow, D as DEFAULT_SCROLL_TIME, E as ExtendedScrollToOptions, F as FixedSizeVirtualScrollStrategy, b as ScrollDispatcher, S as ScrollingModule, u as VIRTUAL_SCROLLABLE, V as VIRTUAL_SCROLL_STRATEGY, s as VirtualScrollStrategy, k as _Bottom, o as _End, l as _Left, m as _Right, n as _Start, j as _Top, h as _Without, p as _XAxis, i as _XOR, q as _YAxis, _ as _fixedSizeVirtualScrollStrategyFactory } from '../scrolling-module.d-e4f8e471.js';
|
|
2
2
|
export { D as DEFAULT_RESIZE_TIME, V as ViewportRuler, a as ViewportScrollPosition } from '../viewport-ruler.d-f3d3e82f.js';
|
|
3
|
+
export { b as ɵɵDir } from '../bidi-module.d-f8648621.js';
|
|
3
4
|
import '@angular/core';
|
|
4
|
-
import '../bidi-module.d-f8648621.js';
|
|
5
5
|
import 'rxjs';
|
|
6
6
|
import '../data-source.d-7cab2c9d.js';
|
|
7
7
|
import '../number-property.d-ce316715.js';
|
|
@@ -548,4 +548,4 @@ declare class ScrollingModule {
|
|
|
548
548
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
export { CdkScrollable as C, DEFAULT_SCROLL_TIME as D, type ExtendedScrollToOptions as E, FixedSizeVirtualScrollStrategy as F, ScrollingModule as S, VIRTUAL_SCROLL_STRATEGY as V, _fixedSizeVirtualScrollStrategyFactory as _, CdkScrollableModule as a, ScrollDispatcher as b, CdkFixedSizeVirtualScroll as c,
|
|
551
|
+
export { CdkScrollable as C, DEFAULT_SCROLL_TIME as D, type ExtendedScrollToOptions as E, FixedSizeVirtualScrollStrategy as F, ScrollingModule as S, VIRTUAL_SCROLL_STRATEGY as V, _fixedSizeVirtualScrollStrategyFactory as _, CdkScrollableModule as a, ScrollDispatcher as b, CdkFixedSizeVirtualScroll as c, CdkVirtualForOf as d, CdkVirtualScrollViewport as e, CdkVirtualScrollableWindow as f, CdkVirtualScrollableElement as g, type _Without as h, type _XOR as i, type _Top as j, type _Bottom as k, type _Left as l, type _Right as m, type _Start as n, type _End as o, type _XAxis as p, type _YAxis as q, type CdkVirtualForOfContext as r, type VirtualScrollStrategy as s, type CdkVirtualScrollRepeater as t, VIRTUAL_SCROLLABLE as u, CdkVirtualScrollable as v };
|
package/table/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
|
|
|
5
5
|
import { D as DataSource, C as CollectionViewer } from '../data-source.d-7cab2c9d.js';
|
|
6
6
|
export { D as DataSource } from '../data-source.d-7cab2c9d.js';
|
|
7
7
|
import { a as _ViewRepeater } from '../view-repeater.d-79039e1f.js';
|
|
8
|
-
import { S as ScrollingModule } from '../scrolling-module.d-
|
|
8
|
+
import { S as ScrollingModule } from '../scrolling-module.d-e4f8e471.js';
|
|
9
9
|
import '../number-property.d-ce316715.js';
|
|
10
10
|
|
|
11
11
|
/**
|
package/tree/index.d.ts
CHANGED
|
@@ -471,6 +471,8 @@ declare class CdkTree<T, K = T> implements AfterContentChecked, AfterContentInit
|
|
|
471
471
|
private _calculateParents;
|
|
472
472
|
/** Invokes a callback with all node expansion keys. */
|
|
473
473
|
private _forEachExpansionKey;
|
|
474
|
+
/** Clears the maps we use to store parents, level & aria-sets in. */
|
|
475
|
+
private _clearPreviousCache;
|
|
474
476
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTree<any, any>, never>;
|
|
475
477
|
static ɵcmp: i0.ɵɵComponentDeclaration<CdkTree<any, any>, "cdk-tree", ["cdkTree"], { "dataSource": { "alias": "dataSource"; "required": false; }; "treeControl": { "alias": "treeControl"; "required": false; }; "levelAccessor": { "alias": "levelAccessor"; "required": false; }; "childrenAccessor": { "alias": "childrenAccessor"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "expansionKey": { "alias": "expansionKey"; "required": false; }; }, {}, ["_nodeDefs"], never, true, never>;
|
|
476
478
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"array-ee3b4bab.mjs","sources":["../../../../../../src/cdk/coercion/array.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/** Wraps the provided value in an array, unless the provided value is an array. */\nexport function coerceArray<T>(value: T | T[]): T[];\nexport function coerceArray<T>(value: T | readonly T[]): readonly T[];\nexport function coerceArray<T>(value: T | T[]): T[] {\n return Array.isArray(value) ? value : [value];\n}\n"],"names":[],"mappings":"AAWM,SAAU,WAAW,CAAI,KAAc,EAAA;AAC3C,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC,CAAA;AAC/C;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css-pixel-value-286c9a60.mjs","sources":["../../../../../../src/cdk/coercion/css-pixel-value.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/** Coerces a value to a CSS pixel value. */\nexport function coerceCssPixelValue(value: any): string {\n if (value == null) {\n return '';\n }\n\n return typeof value === 'string' ? value : `${value}px`;\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,mBAAmB,CAAC,KAAU,EAAA;AAC5C,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,QAAA,OAAO,EAAE,CAAA;KACX;AAEA,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,CAAG,EAAA,KAAK,IAAI,CAAA;AACzD;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"element-705567fe.mjs","sources":["../../../../../../src/cdk/coercion/number-property.ts","../../../../../../src/cdk/coercion/element.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Type describing the allowed values for a number input\n * @docs-private\n */\nexport type NumberInput = string | number | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a number. */\nexport function coerceNumberProperty(value: any): number;\nexport function coerceNumberProperty<D>(value: any, fallback: D): number | D;\nexport function coerceNumberProperty(value: any, fallbackValue = 0) {\n if (_isNumberValue(value)) {\n return Number(value);\n }\n return arguments.length === 2 ? fallbackValue : 0;\n}\n\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nexport function _isNumberValue(value: any): boolean {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value as any)) && !isNaN(Number(value));\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {ElementRef} from '@angular/core';\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nexport function coerceElement<T>(elementOrRef: ElementRef<T> | T): T {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n"],"names":[],"mappings":";;SAiBgB,oBAAoB,CAAC,KAAU,EAAE,aAAa,GAAG,CAAC,EAAA;AAChE,IAAA,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE;AACzB,QAAA,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;KACtB;AACA,IAAA,OAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,aAAa,GAAG,CAAC,CAAA;AACnD,CAAA;AAEA;;;AAGG;AACG,SAAU,cAAc,CAAC,KAAU,EAAA;;;;AAIvC,IAAA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,KAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;AAClE;;ACvBA;;;AAGG;AACG,SAAU,aAAa,CAAI,YAA+B,EAAA;AAC9D,IAAA,OAAO,YAAY,YAAY,UAAU,GAAG,YAAY,CAAC,aAAa,GAAG,YAAY,CAAA;AACvF;;;;"}
|