@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,314 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgZone, Injector, OnDestroy, AfterContentInit, OnChanges, DoCheck, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
|
+
import { ObserversModule } from './observers/index.js';
|
|
4
|
+
import { C as CdkMonitorFocus } from './focus-monitor.d-CvvJeQRc.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Configuration for the isFocusable method.
|
|
8
|
+
*/
|
|
9
|
+
declare class IsFocusableConfig {
|
|
10
|
+
/**
|
|
11
|
+
* Whether to count an element as focusable even if it is not currently visible.
|
|
12
|
+
*/
|
|
13
|
+
ignoreVisibility: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Utility for checking the interactivity of an element, such as whether it is focusable or
|
|
17
|
+
* tabbable.
|
|
18
|
+
*/
|
|
19
|
+
declare class InteractivityChecker {
|
|
20
|
+
private _platform;
|
|
21
|
+
constructor(...args: unknown[]);
|
|
22
|
+
/**
|
|
23
|
+
* Gets whether an element is disabled.
|
|
24
|
+
*
|
|
25
|
+
* @param element Element to be checked.
|
|
26
|
+
* @returns Whether the element is disabled.
|
|
27
|
+
*/
|
|
28
|
+
isDisabled(element: HTMLElement): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Gets whether an element is visible for the purposes of interactivity.
|
|
31
|
+
*
|
|
32
|
+
* This will capture states like `display: none` and `visibility: hidden`, but not things like
|
|
33
|
+
* being clipped by an `overflow: hidden` parent or being outside the viewport.
|
|
34
|
+
*
|
|
35
|
+
* @returns Whether the element is visible.
|
|
36
|
+
*/
|
|
37
|
+
isVisible(element: HTMLElement): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Gets whether an element can be reached via Tab key.
|
|
40
|
+
* Assumes that the element has already been checked with isFocusable.
|
|
41
|
+
*
|
|
42
|
+
* @param element Element to be checked.
|
|
43
|
+
* @returns Whether the element is tabbable.
|
|
44
|
+
*/
|
|
45
|
+
isTabbable(element: HTMLElement): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Gets whether an element can be focused by the user.
|
|
48
|
+
*
|
|
49
|
+
* @param element Element to be checked.
|
|
50
|
+
* @param config The config object with options to customize this method's behavior
|
|
51
|
+
* @returns Whether the element is focusable.
|
|
52
|
+
*/
|
|
53
|
+
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
|
|
55
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractivityChecker>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Class that allows for trapping focus within a DOM element.
|
|
60
|
+
*
|
|
61
|
+
* This class currently uses a relatively simple approach to focus trapping.
|
|
62
|
+
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
|
63
|
+
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.
|
|
64
|
+
*/
|
|
65
|
+
declare class FocusTrap {
|
|
66
|
+
readonly _element: HTMLElement;
|
|
67
|
+
private _checker;
|
|
68
|
+
readonly _ngZone: NgZone;
|
|
69
|
+
readonly _document: Document;
|
|
70
|
+
/** @breaking-change 20.0.0 param to become required */
|
|
71
|
+
readonly _injector?: Injector | undefined;
|
|
72
|
+
private _startAnchor;
|
|
73
|
+
private _endAnchor;
|
|
74
|
+
private _hasAttached;
|
|
75
|
+
protected startAnchorListener: () => boolean;
|
|
76
|
+
protected endAnchorListener: () => boolean;
|
|
77
|
+
/** Whether the focus trap is active. */
|
|
78
|
+
get enabled(): boolean;
|
|
79
|
+
set enabled(value: boolean);
|
|
80
|
+
protected _enabled: boolean;
|
|
81
|
+
constructor(_element: HTMLElement, _checker: InteractivityChecker, _ngZone: NgZone, _document: Document, deferAnchors?: boolean,
|
|
82
|
+
/** @breaking-change 20.0.0 param to become required */
|
|
83
|
+
_injector?: Injector | undefined);
|
|
84
|
+
/** Destroys the focus trap by cleaning up the anchors. */
|
|
85
|
+
destroy(): void;
|
|
86
|
+
/**
|
|
87
|
+
* Inserts the anchors into the DOM. This is usually done automatically
|
|
88
|
+
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
|
89
|
+
* @returns Whether the focus trap managed to attach successfully. This may not be the case
|
|
90
|
+
* if the target element isn't currently in the DOM.
|
|
91
|
+
*/
|
|
92
|
+
attachAnchors(): boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Waits for the zone to stabilize, then focuses the first tabbable element.
|
|
95
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
|
96
|
+
* on whether focus was moved successfully.
|
|
97
|
+
*/
|
|
98
|
+
focusInitialElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Waits for the zone to stabilize, then focuses
|
|
101
|
+
* the first tabbable element within the focus trap region.
|
|
102
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
|
103
|
+
* on whether focus was moved successfully.
|
|
104
|
+
*/
|
|
105
|
+
focusFirstTabbableElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Waits for the zone to stabilize, then focuses
|
|
108
|
+
* the last tabbable element within the focus trap region.
|
|
109
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
|
110
|
+
* on whether focus was moved successfully.
|
|
111
|
+
*/
|
|
112
|
+
focusLastTabbableElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Get the specified boundary element of the trapped region.
|
|
115
|
+
* @param bound The boundary to get (start or end of trapped region).
|
|
116
|
+
* @returns The boundary element.
|
|
117
|
+
*/
|
|
118
|
+
private _getRegionBoundary;
|
|
119
|
+
/**
|
|
120
|
+
* Focuses the element that should be focused when the focus trap is initialized.
|
|
121
|
+
* @returns Whether focus was moved successfully.
|
|
122
|
+
*/
|
|
123
|
+
focusInitialElement(options?: FocusOptions): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Focuses the first tabbable element within the focus trap region.
|
|
126
|
+
* @returns Whether focus was moved successfully.
|
|
127
|
+
*/
|
|
128
|
+
focusFirstTabbableElement(options?: FocusOptions): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Focuses the last tabbable element within the focus trap region.
|
|
131
|
+
* @returns Whether focus was moved successfully.
|
|
132
|
+
*/
|
|
133
|
+
focusLastTabbableElement(options?: FocusOptions): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Checks whether the focus trap has successfully been attached.
|
|
136
|
+
*/
|
|
137
|
+
hasAttached(): boolean;
|
|
138
|
+
/** Get the first tabbable element from a DOM subtree (inclusive). */
|
|
139
|
+
private _getFirstTabbableElement;
|
|
140
|
+
/** Get the last tabbable element from a DOM subtree (inclusive). */
|
|
141
|
+
private _getLastTabbableElement;
|
|
142
|
+
/** Creates an anchor element. */
|
|
143
|
+
private _createAnchor;
|
|
144
|
+
/**
|
|
145
|
+
* Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.
|
|
146
|
+
* @param isEnabled Whether the focus trap is enabled.
|
|
147
|
+
* @param anchor Anchor on which to toggle the tabindex.
|
|
148
|
+
*/
|
|
149
|
+
private _toggleAnchorTabIndex;
|
|
150
|
+
/**
|
|
151
|
+
* Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.
|
|
152
|
+
* @param enabled: Whether the anchors should trap Tab.
|
|
153
|
+
*/
|
|
154
|
+
protected toggleAnchors(enabled: boolean): void;
|
|
155
|
+
/** Executes a function when the zone is stable. */
|
|
156
|
+
private _executeOnStable;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Factory that allows easy instantiation of focus traps.
|
|
160
|
+
*/
|
|
161
|
+
declare class FocusTrapFactory {
|
|
162
|
+
private _checker;
|
|
163
|
+
private _ngZone;
|
|
164
|
+
private _document;
|
|
165
|
+
private _injector;
|
|
166
|
+
constructor(...args: unknown[]);
|
|
167
|
+
/**
|
|
168
|
+
* Creates a focus-trapped region around the given element.
|
|
169
|
+
* @param element The element around which focus will be trapped.
|
|
170
|
+
* @param deferCaptureElements Defers the creation of focus-capturing elements to be done
|
|
171
|
+
* manually by the user.
|
|
172
|
+
* @returns The created focus trap instance.
|
|
173
|
+
*/
|
|
174
|
+
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
|
|
175
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
|
|
176
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapFactory>;
|
|
177
|
+
}
|
|
178
|
+
/** Directive for trapping focus within a region. */
|
|
179
|
+
declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
|
|
180
|
+
private _elementRef;
|
|
181
|
+
private _focusTrapFactory;
|
|
182
|
+
/** Underlying FocusTrap instance. */
|
|
183
|
+
focusTrap: FocusTrap;
|
|
184
|
+
/** Previously focused element to restore focus to upon destroy when using autoCapture. */
|
|
185
|
+
private _previouslyFocusedElement;
|
|
186
|
+
/** Whether the focus trap is active. */
|
|
187
|
+
get enabled(): boolean;
|
|
188
|
+
set enabled(value: boolean);
|
|
189
|
+
/**
|
|
190
|
+
* Whether the directive should automatically move focus into the trapped region upon
|
|
191
|
+
* initialization and return focus to the previous activeElement upon destruction.
|
|
192
|
+
*/
|
|
193
|
+
autoCapture: boolean;
|
|
194
|
+
constructor(...args: unknown[]);
|
|
195
|
+
ngOnDestroy(): void;
|
|
196
|
+
ngAfterContentInit(): void;
|
|
197
|
+
ngDoCheck(): void;
|
|
198
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
199
|
+
private _captureFocus;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocus, never>;
|
|
201
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { "enabled": { "alias": "cdkTrapFocus"; "required": false; }; "autoCapture": { "alias": "cdkTrapFocusAutoCapture"; "required": false; }; }, {}, never, never, true, never>;
|
|
202
|
+
static ngAcceptInputType_enabled: unknown;
|
|
203
|
+
static ngAcceptInputType_autoCapture: unknown;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Possible politeness levels. */
|
|
207
|
+
type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
|
|
208
|
+
declare const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;
|
|
209
|
+
/**
|
|
210
|
+
* @docs-private
|
|
211
|
+
* @deprecated No longer used, will be removed.
|
|
212
|
+
* @breaking-change 21.0.0
|
|
213
|
+
*/
|
|
214
|
+
declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
|
|
215
|
+
/** Object that can be used to configure the default options for the LiveAnnouncer. */
|
|
216
|
+
interface LiveAnnouncerDefaultOptions {
|
|
217
|
+
/** Default politeness for the announcements. */
|
|
218
|
+
politeness?: AriaLivePoliteness;
|
|
219
|
+
/** Default duration for the announcement messages. */
|
|
220
|
+
duration?: number;
|
|
221
|
+
}
|
|
222
|
+
/** Injection token that can be used to configure the default options for the LiveAnnouncer. */
|
|
223
|
+
declare const LIVE_ANNOUNCER_DEFAULT_OPTIONS: InjectionToken<LiveAnnouncerDefaultOptions>;
|
|
224
|
+
|
|
225
|
+
declare class LiveAnnouncer implements OnDestroy {
|
|
226
|
+
private _ngZone;
|
|
227
|
+
private _defaultOptions;
|
|
228
|
+
private _liveElement;
|
|
229
|
+
private _document;
|
|
230
|
+
private _previousTimeout;
|
|
231
|
+
private _currentPromise;
|
|
232
|
+
private _currentResolve;
|
|
233
|
+
constructor(...args: unknown[]);
|
|
234
|
+
/**
|
|
235
|
+
* Announces a message to screen readers.
|
|
236
|
+
* @param message Message to be announced to the screen reader.
|
|
237
|
+
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
238
|
+
*/
|
|
239
|
+
announce(message: string): Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* Announces a message to screen readers.
|
|
242
|
+
* @param message Message to be announced to the screen reader.
|
|
243
|
+
* @param politeness The politeness of the announcer element.
|
|
244
|
+
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
245
|
+
*/
|
|
246
|
+
announce(message: string, politeness?: AriaLivePoliteness): Promise<void>;
|
|
247
|
+
/**
|
|
248
|
+
* Announces a message to screen readers.
|
|
249
|
+
* @param message Message to be announced to the screen reader.
|
|
250
|
+
* @param duration Time in milliseconds after which to clear out the announcer element. Note
|
|
251
|
+
* that this takes effect after the message has been added to the DOM, which can be up to
|
|
252
|
+
* 100ms after `announce` has been called.
|
|
253
|
+
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
254
|
+
*/
|
|
255
|
+
announce(message: string, duration?: number): Promise<void>;
|
|
256
|
+
/**
|
|
257
|
+
* Announces a message to screen readers.
|
|
258
|
+
* @param message Message to be announced to the screen reader.
|
|
259
|
+
* @param politeness The politeness of the announcer element.
|
|
260
|
+
* @param duration Time in milliseconds after which to clear out the announcer element. Note
|
|
261
|
+
* that this takes effect after the message has been added to the DOM, which can be up to
|
|
262
|
+
* 100ms after `announce` has been called.
|
|
263
|
+
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
264
|
+
*/
|
|
265
|
+
announce(message: string, politeness?: AriaLivePoliteness, duration?: number): Promise<void>;
|
|
266
|
+
/**
|
|
267
|
+
* Clears the current text from the announcer element. Can be used to prevent
|
|
268
|
+
* screen readers from reading the text out again while the user is going
|
|
269
|
+
* through the page landmarks.
|
|
270
|
+
*/
|
|
271
|
+
clear(): void;
|
|
272
|
+
ngOnDestroy(): void;
|
|
273
|
+
private _createLiveElement;
|
|
274
|
+
/**
|
|
275
|
+
* Some browsers won't expose the accessibility node of the live announcer element if there is an
|
|
276
|
+
* `aria-modal` and the live announcer is outside of it. This method works around the issue by
|
|
277
|
+
* pointing the `aria-owns` of all modals to the live announcer element.
|
|
278
|
+
*/
|
|
279
|
+
private _exposeAnnouncerToModals;
|
|
280
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, never>;
|
|
281
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LiveAnnouncer>;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility
|
|
285
|
+
* with a wider range of browsers and screen readers.
|
|
286
|
+
*/
|
|
287
|
+
declare class CdkAriaLive implements OnDestroy {
|
|
288
|
+
private _elementRef;
|
|
289
|
+
private _liveAnnouncer;
|
|
290
|
+
private _contentObserver;
|
|
291
|
+
private _ngZone;
|
|
292
|
+
/** The aria-live politeness level to use when announcing messages. */
|
|
293
|
+
get politeness(): AriaLivePoliteness;
|
|
294
|
+
set politeness(value: AriaLivePoliteness);
|
|
295
|
+
private _politeness;
|
|
296
|
+
/** Time in milliseconds after which to clear out the announcer element. */
|
|
297
|
+
duration: number;
|
|
298
|
+
private _previousAnnouncedText?;
|
|
299
|
+
private _subscription;
|
|
300
|
+
constructor(...args: unknown[]);
|
|
301
|
+
ngOnDestroy(): void;
|
|
302
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
|
|
303
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": { "alias": "cdkAriaLive"; "required": false; }; "duration": { "alias": "cdkAriaLiveDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare class A11yModule {
|
|
307
|
+
constructor();
|
|
308
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<A11yModule, never>;
|
|
309
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<A11yModule, never, [typeof ObserversModule, typeof CdkAriaLive, typeof CdkTrapFocus, typeof CdkMonitorFocus], [typeof CdkAriaLive, typeof CdkTrapFocus, typeof CdkMonitorFocus]>;
|
|
310
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<A11yModule>;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export { A11yModule as A, CdkTrapFocus as C, FocusTrapFactory as F, InteractivityChecker as I, LiveAnnouncer as L, FocusTrap as a, IsFocusableConfig as b, CdkAriaLive as c, LIVE_ANNOUNCER_ELEMENT_TOKEN as e, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY as f, LIVE_ANNOUNCER_DEFAULT_OPTIONS as h };
|
|
314
|
+
export type { AriaLivePoliteness as d, LiveAnnouncerDefaultOptions as g };
|
package/a11y-prebuilt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
1
|
+
.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
package/accordion/index.d.ts
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
import {
|
|
5
|
-
import { OnDestroy } from '@angular/core';
|
|
6
|
-
import { OnInit } from '@angular/core';
|
|
7
|
-
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnDestroy, OnChanges, SimpleChanges, OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { U as UniqueSelectionDispatcher } from '../unique-selection-dispatcher.d-DSFqf1MM.js';
|
|
8
4
|
import { Subject } from 'rxjs';
|
|
9
|
-
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
10
5
|
|
|
11
6
|
/**
|
|
12
7
|
* Injection token that can be used to reference instances of `CdkAccordion`. It serves
|
|
13
8
|
* as alternative token to the actual `CdkAccordion` class which could cause unnecessary
|
|
14
9
|
* retention of the class and its directive metadata.
|
|
15
10
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const CDK_ACCORDION: InjectionToken<CdkAccordion>;
|
|
18
12
|
/**
|
|
19
13
|
* Directive whose purpose is to manage the expanded state of CdkAccordionItem children.
|
|
20
14
|
*/
|
|
21
|
-
|
|
15
|
+
declare class CdkAccordion implements OnDestroy, OnChanges {
|
|
22
16
|
/** Emits when the state of the accordion changes */
|
|
23
17
|
readonly _stateChanges: Subject<SimpleChanges>;
|
|
24
18
|
/** Stream that emits true/false when openAll/closeAll is triggered. */
|
|
@@ -42,7 +36,7 @@ export declare class CdkAccordion implements OnDestroy, OnChanges {
|
|
|
42
36
|
* A basic directive expected to be extended and decorated as a component. Sets up all
|
|
43
37
|
* events and attributes needed to be managed by a CdkAccordion parent.
|
|
44
38
|
*/
|
|
45
|
-
|
|
39
|
+
declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
46
40
|
accordion: CdkAccordion;
|
|
47
41
|
private _changeDetectorRef;
|
|
48
42
|
protected _expansionDispatcher: UniqueSelectionDispatcher;
|
|
@@ -87,23 +81,10 @@ export declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
|
87
81
|
static ngAcceptInputType_disabled: unknown;
|
|
88
82
|
}
|
|
89
83
|
|
|
90
|
-
|
|
84
|
+
declare class CdkAccordionModule {
|
|
91
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionModule, never>;
|
|
92
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkAccordionModule, never, [typeof
|
|
86
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkAccordionModule, never, [typeof CdkAccordion, typeof CdkAccordionItem], [typeof CdkAccordion, typeof CdkAccordionItem]>;
|
|
93
87
|
static ɵinj: i0.ɵɵInjectorDeclaration<CdkAccordionModule>;
|
|
94
88
|
}
|
|
95
89
|
|
|
96
|
-
|
|
97
|
-
export {
|
|
98
|
-
CDK_ACCORDION,
|
|
99
|
-
CdkAccordion
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
declare namespace i2 {
|
|
104
|
-
export {
|
|
105
|
-
CdkAccordionItem
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export { }
|
|
90
|
+
export { CDK_ACCORDION, CdkAccordion, CdkAccordionItem, CdkAccordionModule };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { L as ListKeyManagerOption, a as ListKeyManager } from './list-key-manager.d-BlK3jyRn.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This is the interface for highlightable items (used by the ActiveDescendantKeyManager).
|
|
5
|
+
* Each item must know how to style itself as active or inactive and whether or not it is
|
|
6
|
+
* currently disabled.
|
|
7
|
+
*/
|
|
8
|
+
interface Highlightable extends ListKeyManagerOption {
|
|
9
|
+
/** Applies the styles for an active item to this item. */
|
|
10
|
+
setActiveStyles(): void;
|
|
11
|
+
/** Applies the styles for an inactive item to this item. */
|
|
12
|
+
setInactiveStyles(): void;
|
|
13
|
+
}
|
|
14
|
+
declare class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {
|
|
15
|
+
/**
|
|
16
|
+
* Sets the active item to the item at the specified index and adds the
|
|
17
|
+
* active styles to the newly active item. Also removes active styles
|
|
18
|
+
* from the previously active item.
|
|
19
|
+
* @param index Index of the item to be set as active.
|
|
20
|
+
*/
|
|
21
|
+
setActiveItem(index: number): void;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the active item to the item to the specified one and adds the
|
|
24
|
+
* active styles to the it. Also removes active styles from the
|
|
25
|
+
* previously active item.
|
|
26
|
+
* @param item Item to be set as active.
|
|
27
|
+
*/
|
|
28
|
+
setActiveItem(item: T): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { ActiveDescendantKeyManager as A };
|
|
32
|
+
export type { Highlightable as H };
|
package/bidi/index.d.ts
CHANGED
|
@@ -1,41 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
1
|
+
export { B as BidiModule, b as Dir, a as Direction, D as Directionality } from '../bidi-module.d-IN1Vp56w.js';
|
|
4
2
|
import { InjectionToken } from '@angular/core';
|
|
5
|
-
import { OnDestroy } from '@angular/core';
|
|
6
|
-
|
|
7
|
-
export declare class BidiModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BidiModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BidiModule, never, [typeof i1.Dir], [typeof i1.Dir]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BidiModule>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Directive to listen for changes of direction of part of the DOM.
|
|
15
|
-
*
|
|
16
|
-
* Provides itself as Directionality such that descendant directives only need to ever inject
|
|
17
|
-
* Directionality to get the closest direction.
|
|
18
|
-
*/
|
|
19
|
-
export declare class Dir implements Directionality, AfterContentInit, OnDestroy {
|
|
20
|
-
/** Normalized direction that accounts for invalid/unsupported values. */
|
|
21
|
-
private _dir;
|
|
22
|
-
/** Whether the `value` has been set to its initial value. */
|
|
23
|
-
private _isInitialized;
|
|
24
|
-
/** Direction as passed in by the consumer. */
|
|
25
|
-
_rawDir: string;
|
|
26
|
-
/** Event emitted when the direction changes. */
|
|
27
|
-
readonly change: EventEmitter<Direction>;
|
|
28
|
-
/** @docs-private */
|
|
29
|
-
get dir(): Direction;
|
|
30
|
-
set dir(value: Direction | 'auto');
|
|
31
|
-
/** Current layout direction of the element. */
|
|
32
|
-
get value(): Direction;
|
|
33
|
-
/** Initialize once default value has been set. */
|
|
34
|
-
ngAfterContentInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Dir, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Dir, "[dir]", ["dir"], { "dir": { "alias": "dir"; "required": false; }; }, { "change": "dirChange"; }, never, never, true, never>;
|
|
38
|
-
}
|
|
39
3
|
|
|
40
4
|
/**
|
|
41
5
|
* Injection token used to inject the document into Directionality.
|
|
@@ -52,29 +16,6 @@ export declare class Dir implements Directionality, AfterContentInit, OnDestroy
|
|
|
52
16
|
*
|
|
53
17
|
* @docs-private
|
|
54
18
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export declare type Direction = 'ltr' | 'rtl';
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* The directionality (LTR / RTL) context for the application (or a subtree of it).
|
|
61
|
-
* Exposes the current direction and a stream of direction changes.
|
|
62
|
-
*/
|
|
63
|
-
export declare class Directionality implements OnDestroy {
|
|
64
|
-
/** The current 'ltr' or 'rtl' value. */
|
|
65
|
-
readonly value: Direction;
|
|
66
|
-
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
67
|
-
readonly change: EventEmitter<Direction>;
|
|
68
|
-
constructor(...args: unknown[]);
|
|
69
|
-
ngOnDestroy(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
71
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare namespace i1 {
|
|
75
|
-
export {
|
|
76
|
-
Dir
|
|
77
|
-
}
|
|
78
|
-
}
|
|
19
|
+
declare const DIR_DOCUMENT: InjectionToken<Document>;
|
|
79
20
|
|
|
80
|
-
export { }
|
|
21
|
+
export { DIR_DOCUMENT };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, EventEmitter, AfterContentInit } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type Direction = 'ltr' | 'rtl';
|
|
5
|
+
/**
|
|
6
|
+
* The directionality (LTR / RTL) context for the application (or a subtree of it).
|
|
7
|
+
* Exposes the current direction and a stream of direction changes.
|
|
8
|
+
*/
|
|
9
|
+
declare class Directionality implements OnDestroy {
|
|
10
|
+
/** The current 'ltr' or 'rtl' value. */
|
|
11
|
+
get value(): Direction;
|
|
12
|
+
/**
|
|
13
|
+
* The current 'ltr' or 'rtl' value.
|
|
14
|
+
*/
|
|
15
|
+
readonly valueSignal: i0.WritableSignal<Direction>;
|
|
16
|
+
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
17
|
+
readonly change: EventEmitter<Direction>;
|
|
18
|
+
constructor(...args: unknown[]);
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Directive to listen for changes of direction of part of the DOM.
|
|
26
|
+
*
|
|
27
|
+
* Provides itself as Directionality such that descendant directives only need to ever inject
|
|
28
|
+
* Directionality to get the closest direction.
|
|
29
|
+
*/
|
|
30
|
+
declare class Dir implements Directionality, AfterContentInit, OnDestroy {
|
|
31
|
+
/** Whether the `value` has been set to its initial value. */
|
|
32
|
+
private _isInitialized;
|
|
33
|
+
/** Direction as passed in by the consumer. */
|
|
34
|
+
_rawDir: string;
|
|
35
|
+
/** Event emitted when the direction changes. */
|
|
36
|
+
readonly change: EventEmitter<Direction>;
|
|
37
|
+
/** @docs-private */
|
|
38
|
+
get dir(): Direction;
|
|
39
|
+
set dir(value: Direction | 'auto');
|
|
40
|
+
/** Current layout direction of the element. */
|
|
41
|
+
get value(): Direction;
|
|
42
|
+
readonly valueSignal: i0.WritableSignal<Direction>;
|
|
43
|
+
/** Initialize once default value has been set. */
|
|
44
|
+
ngAfterContentInit(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Dir, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Dir, "[dir]", ["dir"], { "dir": { "alias": "dir"; "required": false; }; }, { "change": "dirChange"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class BidiModule {
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BidiModule, never>;
|
|
52
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BidiModule, never, [typeof Dir], [typeof Dir]>;
|
|
53
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BidiModule>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { BidiModule as B, Directionality as D, Dir as b };
|
|
57
|
+
export type { Direction as a };
|