@angular/cdk 19.0.0-next.0 → 19.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/a11y/_index.scss +12 -54
- package/a11y/index.d.ts +24 -38
- package/accordion/index.d.ts +5 -4
- package/bidi/index.d.ts +2 -2
- package/clipboard/index.d.ts +3 -4
- package/dialog/index.d.ts +12 -12
- package/drag-drop/index.d.ts +17 -37
- package/fesm2022/a11y.mjs +134 -181
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +20 -27
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +14 -19
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +19 -27
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +36 -56
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +107 -181
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +21 -26
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +17 -13
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +49 -61
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +21 -22
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +120 -149
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +11 -14
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +60 -63
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +65 -0
- package/fesm2022/private.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +90 -132
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +69 -63
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +171 -250
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +3 -2
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +46 -40
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +90 -80
- package/fesm2022/tree.mjs.map +1 -1
- package/layout/index.d.ts +5 -7
- package/observers/index.d.ts +2 -2
- package/overlay/_index.scss +56 -21
- package/overlay/index.d.ts +24 -36
- package/overlay-prebuilt.css +1 -1
- package/package.json +5 -55
- package/platform/index.d.ts +2 -1
- package/portal/index.d.ts +22 -19
- package/private/index.d.ts +30 -0
- package/schematics/index.d.ts +1 -1
- package/schematics/index.js +2 -2
- package/schematics/index.mjs +2 -2
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.d.ts +1 -1
- package/schematics/ng-add/package-config.js +2 -2
- package/schematics/ng-add/package-config.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.js +2 -2
- package/schematics/ng-add/schema.mjs +2 -2
- package/schematics/ng-generate/drag-drop/index.d.ts +1 -1
- package/schematics/ng-generate/drag-drop/index.js +2 -2
- package/schematics/ng-generate/drag-drop/index.mjs +2 -2
- package/schematics/ng-generate/drag-drop/schema.d.ts +1 -1
- package/schematics/ng-generate/drag-drop/schema.js +2 -2
- package/schematics/ng-generate/drag-drop/schema.mjs +2 -2
- package/schematics/ng-update/data/attribute-selectors.d.ts +1 -1
- package/schematics/ng-update/data/attribute-selectors.js +2 -2
- package/schematics/ng-update/data/attribute-selectors.mjs +2 -2
- package/schematics/ng-update/data/class-names.d.ts +1 -1
- package/schematics/ng-update/data/class-names.js +2 -2
- package/schematics/ng-update/data/class-names.mjs +2 -2
- package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
- package/schematics/ng-update/data/constructor-checks.js +2 -2
- package/schematics/ng-update/data/constructor-checks.mjs +2 -2
- package/schematics/ng-update/data/css-selectors.d.ts +1 -1
- package/schematics/ng-update/data/css-selectors.js +2 -2
- package/schematics/ng-update/data/css-selectors.mjs +2 -2
- package/schematics/ng-update/data/css-tokens.d.ts +1 -1
- package/schematics/ng-update/data/css-tokens.js +2 -2
- package/schematics/ng-update/data/css-tokens.mjs +2 -2
- package/schematics/ng-update/data/element-selectors.d.ts +1 -1
- package/schematics/ng-update/data/element-selectors.js +2 -2
- package/schematics/ng-update/data/element-selectors.mjs +2 -2
- package/schematics/ng-update/data/index.d.ts +1 -1
- package/schematics/ng-update/data/index.js +2 -2
- package/schematics/ng-update/data/index.mjs +2 -2
- package/schematics/ng-update/data/input-names.d.ts +1 -1
- package/schematics/ng-update/data/input-names.js +2 -2
- package/schematics/ng-update/data/input-names.mjs +2 -2
- package/schematics/ng-update/data/method-call-checks.d.ts +1 -1
- package/schematics/ng-update/data/method-call-checks.js +2 -2
- package/schematics/ng-update/data/method-call-checks.mjs +2 -2
- package/schematics/ng-update/data/output-names.d.ts +1 -1
- package/schematics/ng-update/data/output-names.js +2 -2
- package/schematics/ng-update/data/output-names.mjs +2 -2
- package/schematics/ng-update/data/property-names.d.ts +1 -1
- package/schematics/ng-update/data/property-names.js +2 -2
- package/schematics/ng-update/data/property-names.mjs +2 -2
- package/schematics/ng-update/data/symbol-removal.d.ts +1 -1
- package/schematics/ng-update/data/symbol-removal.js +2 -2
- package/schematics/ng-update/data/symbol-removal.mjs +2 -2
- package/schematics/ng-update/devkit-file-system.d.ts +1 -1
- package/schematics/ng-update/devkit-file-system.js +2 -2
- package/schematics/ng-update/devkit-file-system.mjs +2 -2
- package/schematics/ng-update/devkit-migration-rule.d.ts +1 -1
- package/schematics/ng-update/devkit-migration-rule.js +2 -2
- package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
- package/schematics/ng-update/devkit-migration.d.ts +1 -1
- package/schematics/ng-update/devkit-migration.js +2 -2
- package/schematics/ng-update/devkit-migration.mjs +2 -2
- package/schematics/ng-update/find-stylesheets.d.ts +1 -1
- package/schematics/ng-update/find-stylesheets.js +2 -2
- package/schematics/ng-update/find-stylesheets.mjs +2 -2
- package/schematics/ng-update/html-parsing/angular.d.ts +1 -1
- package/schematics/ng-update/html-parsing/angular.js +2 -2
- package/schematics/ng-update/html-parsing/angular.mjs +2 -2
- package/schematics/ng-update/html-parsing/elements.d.ts +1 -1
- package/schematics/ng-update/html-parsing/elements.js +2 -2
- package/schematics/ng-update/html-parsing/elements.mjs +2 -2
- package/schematics/ng-update/index.d.ts +1 -1
- package/schematics/ng-update/index.js +2 -2
- package/schematics/ng-update/index.mjs +2 -2
- package/schematics/ng-update/migrations/attribute-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/attribute-selectors.js +2 -2
- package/schematics/ng-update/migrations/attribute-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/class-inheritance.d.ts +1 -1
- package/schematics/ng-update/migrations/class-inheritance.js +2 -2
- package/schematics/ng-update/migrations/class-inheritance.mjs +2 -2
- package/schematics/ng-update/migrations/class-names.d.ts +1 -1
- package/schematics/ng-update/migrations/class-names.js +2 -2
- package/schematics/ng-update/migrations/class-names.mjs +2 -2
- package/schematics/ng-update/migrations/constructor-signature.d.ts +1 -1
- package/schematics/ng-update/migrations/constructor-signature.js +2 -2
- package/schematics/ng-update/migrations/constructor-signature.mjs +2 -2
- package/schematics/ng-update/migrations/css-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/css-selectors.js +2 -2
- package/schematics/ng-update/migrations/css-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/css-tokens.d.ts +1 -1
- package/schematics/ng-update/migrations/css-tokens.js +2 -2
- package/schematics/ng-update/migrations/css-tokens.mjs +2 -2
- package/schematics/ng-update/migrations/element-selectors.d.ts +1 -1
- package/schematics/ng-update/migrations/element-selectors.js +2 -2
- package/schematics/ng-update/migrations/element-selectors.mjs +2 -2
- package/schematics/ng-update/migrations/input-names.d.ts +1 -1
- package/schematics/ng-update/migrations/input-names.js +2 -2
- package/schematics/ng-update/migrations/input-names.mjs +2 -2
- package/schematics/ng-update/migrations/method-call-arguments.d.ts +1 -1
- package/schematics/ng-update/migrations/method-call-arguments.js +2 -2
- package/schematics/ng-update/migrations/method-call-arguments.mjs +2 -2
- package/schematics/ng-update/migrations/misc-template.d.ts +1 -1
- package/schematics/ng-update/migrations/misc-template.js +2 -2
- package/schematics/ng-update/migrations/misc-template.mjs +2 -2
- package/schematics/ng-update/migrations/output-names.d.ts +1 -1
- package/schematics/ng-update/migrations/output-names.js +2 -2
- package/schematics/ng-update/migrations/output-names.mjs +2 -2
- package/schematics/ng-update/migrations/property-names.d.ts +1 -1
- package/schematics/ng-update/migrations/property-names.js +2 -2
- package/schematics/ng-update/migrations/property-names.mjs +2 -2
- package/schematics/ng-update/migrations/symbol-removal.d.ts +1 -1
- package/schematics/ng-update/migrations/symbol-removal.js +2 -2
- package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
- package/schematics/ng-update/public-api.d.ts +1 -1
- package/schematics/ng-update/public-api.js +2 -2
- package/schematics/ng-update/public-api.mjs +2 -2
- package/schematics/ng-update/typescript/base-types.d.ts +1 -1
- package/schematics/ng-update/typescript/base-types.js +2 -2
- package/schematics/ng-update/typescript/base-types.mjs +2 -2
- package/schematics/ng-update/typescript/imports.d.ts +1 -1
- package/schematics/ng-update/typescript/imports.js +2 -2
- package/schematics/ng-update/typescript/imports.mjs +2 -2
- package/schematics/ng-update/typescript/literal.d.ts +1 -1
- package/schematics/ng-update/typescript/literal.js +2 -2
- package/schematics/ng-update/typescript/literal.mjs +2 -2
- package/schematics/ng-update/typescript/module-specifiers.d.ts +1 -1
- package/schematics/ng-update/typescript/module-specifiers.js +2 -2
- package/schematics/ng-update/typescript/module-specifiers.mjs +2 -2
- package/schematics/ng-update/upgrade-data.d.ts +1 -1
- package/schematics/ng-update/upgrade-data.js +2 -2
- package/schematics/ng-update/upgrade-data.mjs +2 -2
- package/schematics/paths.d.ts +1 -1
- package/schematics/paths.js +2 -2
- package/schematics/paths.mjs +2 -2
- package/schematics/update-tool/component-resource-collector.d.ts +1 -1
- package/schematics/update-tool/component-resource-collector.js +2 -2
- package/schematics/update-tool/component-resource-collector.mjs +2 -2
- package/schematics/update-tool/file-system.d.ts +1 -1
- package/schematics/update-tool/file-system.js +2 -2
- package/schematics/update-tool/file-system.mjs +2 -2
- package/schematics/update-tool/index.d.ts +1 -1
- package/schematics/update-tool/index.js +2 -2
- package/schematics/update-tool/index.mjs +2 -2
- package/schematics/update-tool/logger.d.ts +1 -1
- package/schematics/update-tool/logger.js +2 -2
- package/schematics/update-tool/logger.mjs +2 -2
- package/schematics/update-tool/migration.d.ts +1 -1
- package/schematics/update-tool/migration.js +2 -2
- package/schematics/update-tool/migration.mjs +2 -2
- package/schematics/update-tool/public-api.d.ts +1 -1
- package/schematics/update-tool/public-api.js +2 -2
- package/schematics/update-tool/public-api.mjs +2 -2
- package/schematics/update-tool/target-version.d.ts +1 -1
- package/schematics/update-tool/target-version.js +2 -2
- package/schematics/update-tool/target-version.mjs +2 -2
- package/schematics/update-tool/update-recorder.d.ts +1 -1
- package/schematics/update-tool/update-recorder.js +2 -2
- package/schematics/update-tool/update-recorder.mjs +2 -2
- package/schematics/update-tool/utils/decorators.d.ts +1 -1
- package/schematics/update-tool/utils/decorators.js +2 -2
- package/schematics/update-tool/utils/decorators.mjs +2 -2
- package/schematics/update-tool/utils/diagnostics.d.ts +1 -1
- package/schematics/update-tool/utils/diagnostics.js +2 -2
- package/schematics/update-tool/utils/diagnostics.mjs +2 -2
- package/schematics/update-tool/utils/functions.d.ts +1 -1
- package/schematics/update-tool/utils/functions.js +2 -2
- package/schematics/update-tool/utils/functions.mjs +2 -2
- package/schematics/update-tool/utils/imports.d.ts +1 -1
- package/schematics/update-tool/utils/imports.js +2 -2
- package/schematics/update-tool/utils/imports.mjs +2 -2
- package/schematics/update-tool/utils/line-mappings.d.ts +1 -1
- package/schematics/update-tool/utils/line-mappings.js +2 -2
- package/schematics/update-tool/utils/line-mappings.mjs +2 -2
- package/schematics/update-tool/utils/parse-tsconfig.d.ts +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
- package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
- package/schematics/update-tool/utils/property-name.d.ts +1 -1
- package/schematics/update-tool/utils/property-name.js +2 -2
- package/schematics/update-tool/utils/property-name.mjs +2 -2
- package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
- package/schematics/update-tool/utils/virtual-host.js +2 -2
- package/schematics/update-tool/utils/virtual-host.mjs +2 -2
- package/schematics/update-tool/version-changes.d.ts +1 -1
- package/schematics/update-tool/version-changes.js +2 -2
- package/schematics/update-tool/version-changes.mjs +2 -2
- package/schematics/utils/ast/ng-module-imports.d.ts +1 -1
- package/schematics/utils/ast/ng-module-imports.js +2 -2
- package/schematics/utils/ast/ng-module-imports.mjs +2 -2
- package/schematics/utils/ast.d.ts +1 -1
- package/schematics/utils/ast.js +2 -2
- package/schematics/utils/ast.mjs +2 -2
- package/schematics/utils/build-component.d.ts +1 -1
- package/schematics/utils/build-component.js +2 -2
- package/schematics/utils/build-component.mjs +2 -2
- package/schematics/utils/get-project.d.ts +1 -1
- package/schematics/utils/get-project.js +2 -2
- package/schematics/utils/get-project.mjs +2 -2
- package/schematics/utils/html-manipulation.d.ts +1 -1
- package/schematics/utils/html-manipulation.js +2 -2
- package/schematics/utils/html-manipulation.mjs +2 -2
- package/schematics/utils/index.d.ts +1 -1
- package/schematics/utils/index.js +2 -2
- package/schematics/utils/index.mjs +2 -2
- package/schematics/utils/parse5-element.d.ts +1 -1
- package/schematics/utils/parse5-element.js +2 -2
- package/schematics/utils/parse5-element.mjs +2 -2
- package/schematics/utils/project-index-file.d.ts +1 -1
- package/schematics/utils/project-index-file.js +2 -2
- package/schematics/utils/project-index-file.mjs +2 -2
- package/schematics/utils/project-main-file.d.ts +1 -1
- package/schematics/utils/project-main-file.js +2 -2
- package/schematics/utils/project-main-file.mjs +2 -2
- package/schematics/utils/project-style-file.d.ts +1 -1
- package/schematics/utils/project-style-file.js +2 -2
- package/schematics/utils/project-style-file.mjs +2 -2
- package/schematics/utils/project-targets.d.ts +1 -1
- package/schematics/utils/project-targets.js +4 -3
- package/schematics/utils/project-targets.mjs +4 -3
- package/schematics/utils/project-tsconfig-paths.d.ts +1 -1
- package/schematics/utils/project-tsconfig-paths.js +2 -2
- package/schematics/utils/project-tsconfig-paths.mjs +2 -2
- package/schematics/utils/schematic-options.d.ts +1 -1
- package/schematics/utils/schematic-options.js +2 -2
- package/schematics/utils/schematic-options.mjs +2 -2
- package/scrolling/index.d.ts +19 -38
- package/stepper/index.d.ts +16 -69
- package/table/index.d.ts +41 -56
- package/text-field/index.d.ts +6 -9
- package/tree/index.d.ts +17 -16
- package/esm2022/a11y/a11y-module.mjs +0 -31
- package/esm2022/a11y/a11y_public_index.mjs +0 -5
- package/esm2022/a11y/aria-describer/aria-describer.mjs +0 -232
- package/esm2022/a11y/aria-describer/aria-reference.mjs +0 -47
- package/esm2022/a11y/fake-event-detection.mjs +0 -29
- package/esm2022/a11y/focus-monitor/focus-monitor.mjs +0 -468
- package/esm2022/a11y/focus-trap/configurable-focus-trap-config.mjs +0 -9
- package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +0 -54
- package/esm2022/a11y/focus-trap/configurable-focus-trap.mjs +0 -51
- package/esm2022/a11y/focus-trap/event-listener-inert-strategy.mjs +0 -61
- package/esm2022/a11y/focus-trap/focus-trap-inert-strategy.mjs +0 -11
- package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +0 -53
- package/esm2022/a11y/focus-trap/focus-trap.mjs +0 -396
- package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +0 -116
- package/esm2022/a11y/index.mjs +0 -9
- package/esm2022/a11y/input-modality/input-modality-detector.mjs +0 -176
- package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +0 -238
- package/esm2022/a11y/key-manager/activedescendant-key-manager.mjs +0 -20
- package/esm2022/a11y/key-manager/focus-key-manager.mjs +0 -29
- package/esm2022/a11y/key-manager/list-key-manager.mjs +0 -357
- package/esm2022/a11y/key-manager/noop-tree-key-manager.mjs +0 -94
- package/esm2022/a11y/key-manager/tree-key-manager-strategy.mjs +0 -9
- package/esm2022/a11y/key-manager/tree-key-manager.mjs +0 -345
- package/esm2022/a11y/key-manager/typeahead.mjs +0 -91
- package/esm2022/a11y/live-announcer/live-announcer-tokens.mjs +0 -19
- package/esm2022/a11y/live-announcer/live-announcer.mjs +0 -210
- package/esm2022/a11y/public-api.mjs +0 -30
- package/esm2022/accordion/accordion-item.mjs +0 -162
- package/esm2022/accordion/accordion-module.mjs +0 -24
- package/esm2022/accordion/accordion.mjs +0 -65
- package/esm2022/accordion/accordion_public_index.mjs +0 -5
- package/esm2022/accordion/index.mjs +0 -9
- package/esm2022/accordion/public-api.mjs +0 -11
- package/esm2022/bidi/bidi-module.mjs +0 -23
- package/esm2022/bidi/bidi_public_index.mjs +0 -5
- package/esm2022/bidi/dir-document-token.mjs +0 -33
- package/esm2022/bidi/dir.mjs +0 -70
- package/esm2022/bidi/directionality.mjs +0 -52
- package/esm2022/bidi/index.mjs +0 -9
- package/esm2022/bidi/public-api.mjs +0 -12
- package/esm2022/clipboard/clipboard-module.mjs +0 -23
- package/esm2022/clipboard/clipboard.mjs +0 -53
- package/esm2022/clipboard/clipboard_public_index.mjs +0 -5
- package/esm2022/clipboard/copy-to-clipboard.mjs +0 -100
- package/esm2022/clipboard/index.mjs +0 -9
- package/esm2022/clipboard/pending-copy.mjs +0 -71
- package/esm2022/clipboard/public-api.mjs +0 -12
- package/esm2022/coercion/array.mjs +0 -11
- package/esm2022/coercion/boolean-property.mjs +0 -12
- package/esm2022/coercion/css-pixel-value.mjs +0 -15
- package/esm2022/coercion/element.mjs +0 -16
- package/esm2022/coercion/index.mjs +0 -9
- package/esm2022/coercion/number-property.mjs +0 -24
- package/esm2022/coercion/private/index.mjs +0 -9
- package/esm2022/coercion/private/observable.mjs +0 -19
- package/esm2022/coercion/private/private_public_index.mjs +0 -5
- package/esm2022/coercion/public-api.mjs +0 -14
- package/esm2022/coercion/string-array.mjs +0 -38
- package/esm2022/collections/array-data-source.mjs +0 -21
- package/esm2022/collections/collection-viewer.mjs +0 -9
- package/esm2022/collections/collections_public_index.mjs +0 -5
- package/esm2022/collections/data-source.mjs +0 -19
- package/esm2022/collections/dispose-view-repeater-strategy.mjs +0 -48
- package/esm2022/collections/index.mjs +0 -9
- package/esm2022/collections/public-api.mjs +0 -17
- package/esm2022/collections/recycle-view-repeater-strategy.mjs +0 -129
- package/esm2022/collections/selection-model.mjs +0 -225
- package/esm2022/collections/tree-adapter.mjs +0 -9
- package/esm2022/collections/unique-selection-dispatcher.mjs +0 -55
- package/esm2022/collections/view-repeater.mjs +0 -26
- package/esm2022/dialog/dialog-config.mjs +0 -70
- package/esm2022/dialog/dialog-container.mjs +0 -308
- package/esm2022/dialog/dialog-injectors.mjs +0 -40
- package/esm2022/dialog/dialog-module.mjs +0 -40
- package/esm2022/dialog/dialog-ref.mjs +0 -85
- package/esm2022/dialog/dialog.mjs +0 -303
- package/esm2022/dialog/dialog_public_index.mjs +0 -5
- package/esm2022/dialog/index.mjs +0 -9
- package/esm2022/dialog/public-api.mjs +0 -14
- package/esm2022/drag-drop/directives/assertions.mjs +0 -18
- package/esm2022/drag-drop/directives/config.mjs +0 -14
- package/esm2022/drag-drop/directives/drag-handle.mjs +0 -68
- package/esm2022/drag-drop/directives/drag-placeholder.mjs +0 -43
- package/esm2022/drag-drop/directives/drag-preview.mjs +0 -48
- package/esm2022/drag-drop/directives/drag.mjs +0 -520
- package/esm2022/drag-drop/directives/drop-list-group.mjs +0 -47
- package/esm2022/drag-drop/directives/drop-list.mjs +0 -352
- package/esm2022/drag-drop/dom/clone-node.mjs +0 -65
- package/esm2022/drag-drop/dom/dom-rect.mjs +0 -64
- package/esm2022/drag-drop/dom/parent-position-tracker.mjs +0 -76
- package/esm2022/drag-drop/dom/root-node.mjs +0 -21
- package/esm2022/drag-drop/dom/styling.mjs +0 -89
- package/esm2022/drag-drop/dom/transition-duration.mjs +0 -36
- package/esm2022/drag-drop/drag-drop-module.mjs +0 -49
- package/esm2022/drag-drop/drag-drop-registry.mjs +0 -266
- package/esm2022/drag-drop/drag-drop.mjs +0 -57
- package/esm2022/drag-drop/drag-drop_public_index.mjs +0 -5
- package/esm2022/drag-drop/drag-events.mjs +0 -9
- package/esm2022/drag-drop/drag-parent.mjs +0 -16
- package/esm2022/drag-drop/drag-ref.mjs +0 -1097
- package/esm2022/drag-drop/drag-utils.mjs +0 -60
- package/esm2022/drag-drop/drop-list-ref.mjs +0 -672
- package/esm2022/drag-drop/index.mjs +0 -9
- package/esm2022/drag-drop/preview-ref.mjs +0 -117
- package/esm2022/drag-drop/public-api.mjs +0 -23
- package/esm2022/drag-drop/sorting/drop-list-sort-strategy.mjs +0 -9
- package/esm2022/drag-drop/sorting/mixed-sort-strategy.mjs +0 -246
- package/esm2022/drag-drop/sorting/single-axis-sort-strategy.mjs +0 -343
- package/esm2022/index.mjs +0 -9
- package/esm2022/keycodes/index.mjs +0 -9
- package/esm2022/keycodes/keycodes.mjs +0 -127
- package/esm2022/keycodes/keycodes_public_index.mjs +0 -5
- package/esm2022/keycodes/modifiers.mjs +0 -18
- package/esm2022/keycodes/public-api.mjs +0 -10
- package/esm2022/layout/breakpoints-observer.mjs +0 -105
- package/esm2022/layout/breakpoints.mjs +0 -29
- package/esm2022/layout/index.mjs +0 -9
- package/esm2022/layout/layout-module.mjs +0 -19
- package/esm2022/layout/layout_public_index.mjs +0 -5
- package/esm2022/layout/media-matcher.mjs +0 -94
- package/esm2022/layout/public-api.mjs +0 -12
- package/esm2022/listbox/index.mjs +0 -9
- package/esm2022/listbox/listbox-module.mjs +0 -24
- package/esm2022/listbox/listbox.mjs +0 -888
- package/esm2022/listbox/listbox_public_index.mjs +0 -5
- package/esm2022/listbox/public-api.mjs +0 -10
- package/esm2022/menu/context-menu-trigger.mjs +0 -221
- package/esm2022/menu/event-detection.mjs +0 -28
- package/esm2022/menu/index.mjs +0 -9
- package/esm2022/menu/menu-aim.mjs +0 -204
- package/esm2022/menu/menu-bar.mjs +0 -134
- package/esm2022/menu/menu-base.mjs +0 -192
- package/esm2022/menu/menu-errors.mjs +0 -22
- package/esm2022/menu/menu-group.mjs +0 -31
- package/esm2022/menu/menu-interface.mjs +0 -11
- package/esm2022/menu/menu-item-checkbox.mjs +0 -50
- package/esm2022/menu/menu-item-radio.mjs +0 -72
- package/esm2022/menu/menu-item-selectable.mjs +0 -36
- package/esm2022/menu/menu-item.mjs +0 -270
- package/esm2022/menu/menu-module.mjs +0 -60
- package/esm2022/menu/menu-stack.mjs +0 -163
- package/esm2022/menu/menu-trigger-base.mjs +0 -119
- package/esm2022/menu/menu-trigger.mjs +0 -313
- package/esm2022/menu/menu.mjs +0 -135
- package/esm2022/menu/menu_public_index.mjs +0 -5
- package/esm2022/menu/pointer-focus-tracker.mjs +0 -51
- package/esm2022/menu/public-api.mjs +0 -24
- package/esm2022/observers/index.mjs +0 -9
- package/esm2022/observers/observe-content.mjs +0 -216
- package/esm2022/observers/observers_public_index.mjs +0 -5
- package/esm2022/observers/private/index.mjs +0 -9
- package/esm2022/observers/private/private_public_index.mjs +0 -5
- package/esm2022/observers/private/shared-resize-observer.mjs +0 -125
- package/esm2022/observers/public-api.mjs +0 -9
- package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +0 -52
- package/esm2022/overlay/dispatchers/index.mjs +0 -10
- package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +0 -81
- package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +0 -151
- package/esm2022/overlay/fullscreen-overlay-container.mjs +0 -94
- package/esm2022/overlay/index.mjs +0 -9
- package/esm2022/overlay/overlay-config.mjs +0 -45
- package/esm2022/overlay/overlay-container.mjs +0 -81
- package/esm2022/overlay/overlay-directives.mjs +0 -432
- package/esm2022/overlay/overlay-module.mjs +0 -28
- package/esm2022/overlay/overlay-ref.mjs +0 -437
- package/esm2022/overlay/overlay.mjs +0 -126
- package/esm2022/overlay/overlay_public_index.mjs +0 -5
- package/esm2022/overlay/position/connected-position.mjs +0 -88
- package/esm2022/overlay/position/flexible-connected-position-strategy.mjs +0 -1002
- package/esm2022/overlay/position/global-position-strategy.mjs +0 -237
- package/esm2022/overlay/position/overlay-position-builder.mjs +0 -50
- package/esm2022/overlay/position/position-strategy.mjs +0 -9
- package/esm2022/overlay/position/scroll-clip.mjs +0 -40
- package/esm2022/overlay/public-api.mjs +0 -22
- package/esm2022/overlay/scroll/block-scroll-strategy.mjs +0 -80
- package/esm2022/overlay/scroll/close-scroll-strategy.mjs +0 -65
- package/esm2022/overlay/scroll/index.mjs +0 -14
- package/esm2022/overlay/scroll/noop-scroll-strategy.mjs +0 -17
- package/esm2022/overlay/scroll/reposition-scroll-strategy.mjs +0 -61
- package/esm2022/overlay/scroll/scroll-strategy-options.mjs +0 -55
- package/esm2022/overlay/scroll/scroll-strategy.mjs +0 -14
- package/esm2022/platform/features/input-types.mjs +0 -59
- package/esm2022/platform/features/passive-listeners.mjs +0 -36
- package/esm2022/platform/features/scrolling.mjs +0 -104
- package/esm2022/platform/features/shadow-dom.mjs +0 -54
- package/esm2022/platform/features/test-environment.mjs +0 -24
- package/esm2022/platform/index.mjs +0 -9
- package/esm2022/platform/platform-module.mjs +0 -19
- package/esm2022/platform/platform.mjs +0 -85
- package/esm2022/platform/platform_public_index.mjs +0 -5
- package/esm2022/platform/public-api.mjs +0 -15
- package/esm2022/portal/dom-portal-outlet.mjs +0 -158
- package/esm2022/portal/index.mjs +0 -9
- package/esm2022/portal/portal-directives.mjs +0 -251
- package/esm2022/portal/portal-errors.mjs +0 -51
- package/esm2022/portal/portal-injector.mjs +0 -28
- package/esm2022/portal/portal.mjs +0 -189
- package/esm2022/portal/portal_public_index.mjs +0 -5
- package/esm2022/portal/public-api.mjs +0 -12
- package/esm2022/public-api.mjs +0 -9
- package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +0 -218
- package/esm2022/scrolling/index.mjs +0 -9
- package/esm2022/scrolling/public-api.mjs +0 -20
- package/esm2022/scrolling/scroll-dispatcher.mjs +0 -163
- package/esm2022/scrolling/scrollable.mjs +0 -177
- package/esm2022/scrolling/scrolling-module.mjs +0 -69
- package/esm2022/scrolling/scrolling_public_index.mjs +0 -5
- package/esm2022/scrolling/viewport-ruler.mjs +0 -146
- package/esm2022/scrolling/virtual-for-of.mjs +0 -299
- package/esm2022/scrolling/virtual-scroll-repeater.mjs +0 -9
- package/esm2022/scrolling/virtual-scroll-strategy.mjs +0 -11
- package/esm2022/scrolling/virtual-scroll-viewport.mjs +0 -445
- package/esm2022/scrolling/virtual-scrollable-element.mjs +0 -42
- package/esm2022/scrolling/virtual-scrollable-window.mjs +0 -41
- package/esm2022/scrolling/virtual-scrollable.mjs +0 -40
- package/esm2022/stepper/index.mjs +0 -9
- package/esm2022/stepper/public-api.mjs +0 -13
- package/esm2022/stepper/step-header.mjs +0 -31
- package/esm2022/stepper/step-label.mjs +0 -24
- package/esm2022/stepper/stepper-button.mjs +0 -58
- package/esm2022/stepper/stepper-module.mjs +0 -41
- package/esm2022/stepper/stepper.mjs +0 -452
- package/esm2022/stepper/stepper_public_index.mjs +0 -5
- package/esm2022/table/can-stick.mjs +0 -46
- package/esm2022/table/cell.mjs +0 -245
- package/esm2022/table/coalesced-style-scheduler.mjs +0 -79
- package/esm2022/table/index.mjs +0 -9
- package/esm2022/table/public-api.mjs +0 -20
- package/esm2022/table/row.mjs +0 -317
- package/esm2022/table/sticky-position-listener.mjs +0 -11
- package/esm2022/table/sticky-styler.mjs +0 -347
- package/esm2022/table/table-errors.mjs +0 -67
- package/esm2022/table/table-module.mjs +0 -93
- package/esm2022/table/table.mjs +0 -1148
- package/esm2022/table/table_public_index.mjs +0 -5
- package/esm2022/table/text-column.mjs +0 -154
- package/esm2022/table/tokens.mjs +0 -16
- package/esm2022/testing/change-detection.mjs +0 -102
- package/esm2022/testing/component-harness.mjs +0 -328
- package/esm2022/testing/element-dimensions.mjs +0 -9
- package/esm2022/testing/harness-environment.mjs +0 -220
- package/esm2022/testing/index.mjs +0 -9
- package/esm2022/testing/public-api.mjs +0 -15
- package/esm2022/testing/selenium-webdriver/index.mjs +0 -9
- package/esm2022/testing/selenium-webdriver/public-api.mjs +0 -10
- package/esm2022/testing/selenium-webdriver/selenium-web-driver-element.mjs +0 -216
- package/esm2022/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +0 -88
- package/esm2022/testing/selenium-webdriver/selenium-webdriver-keys.mjs +0 -64
- package/esm2022/testing/test-element-errors.mjs +0 -15
- package/esm2022/testing/test-element.mjs +0 -49
- package/esm2022/testing/testbed/fake-events/dispatch-events.mjs +0 -53
- package/esm2022/testing/testbed/fake-events/element-focus.mjs +0 -39
- package/esm2022/testing/testbed/fake-events/event-objects.mjs +0 -127
- package/esm2022/testing/testbed/fake-events/index.mjs +0 -14
- package/esm2022/testing/testbed/fake-events/type-in-element.mjs +0 -97
- package/esm2022/testing/testbed/index.mjs +0 -9
- package/esm2022/testing/testbed/public-api.mjs +0 -10
- package/esm2022/testing/testbed/task-state-zone-interceptor.mjs +0 -82
- package/esm2022/testing/testbed/testbed-harness-environment.mjs +0 -165
- package/esm2022/testing/testbed/unit-test-element.mjs +0 -258
- package/esm2022/testing/text-filtering.mjs +0 -21
- package/esm2022/text-field/autofill.mjs +0 -114
- package/esm2022/text-field/autosize.mjs +0 -309
- package/esm2022/text-field/index.mjs +0 -9
- package/esm2022/text-field/public-api.mjs +0 -11
- package/esm2022/text-field/text-field-module.mjs +0 -24
- package/esm2022/text-field/text-field_public_index.mjs +0 -5
- package/esm2022/tree/control/base-tree-control.mjs +0 -62
- package/esm2022/tree/control/flat-tree-control.mjs +0 -57
- package/esm2022/tree/control/nested-tree-control.mjs +0 -67
- package/esm2022/tree/control/tree-control.mjs +0 -2
- package/esm2022/tree/index.mjs +0 -9
- package/esm2022/tree/nested-node.mjs +0 -103
- package/esm2022/tree/node.mjs +0 -36
- package/esm2022/tree/outlet.mjs +0 -40
- package/esm2022/tree/padding.mjs +0 -129
- package/esm2022/tree/public-api.mjs +0 -20
- package/esm2022/tree/toggle.mjs +0 -51
- package/esm2022/tree/tree-errors.mjs +0 -44
- package/esm2022/tree/tree-module.mjs +0 -49
- package/esm2022/tree/tree.mjs +0 -1123
- package/esm2022/tree/tree_public_index.mjs +0 -5
- package/esm2022/version.mjs +0 -11
package/a11y/_index.scss
CHANGED
|
@@ -40,63 +40,21 @@
|
|
|
40
40
|
@include a11y-visually-hidden;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
///
|
|
44
|
-
/// is non-empty.
|
|
45
|
-
/// @param {String} selector-context The selector under which to nest the mixin's content.
|
|
46
|
-
@mixin _optionally-nest-content($selector-context) {
|
|
47
|
-
@if ($selector-context == '') {
|
|
48
|
-
@content;
|
|
49
|
-
}
|
|
50
|
-
@else {
|
|
51
|
-
#{$selector-context} {
|
|
52
|
-
@content;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/// Applies styles for users in high contrast mode. Note that this only applies
|
|
58
|
-
/// to Microsoft browsers. Chrome can be included by checking for the `html[hc]`
|
|
59
|
-
/// attribute, however Chrome handles high contrast differently.
|
|
43
|
+
/// Applies styles for users in high contrast mode.
|
|
60
44
|
///
|
|
61
|
-
/// @param {String} target Type of high contrast setting to target.
|
|
62
|
-
///
|
|
63
|
-
/// @param {String} encapsulation
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
@
|
|
68
|
-
|
|
45
|
+
/// @param {String} target Type of high contrast setting to target. Can be `active` or `none`.
|
|
46
|
+
/// Defaults to `active`.
|
|
47
|
+
/// @param {String} encapsulation No longer used and will be removed.
|
|
48
|
+
@mixin high-contrast($target: active, $encapsulation: null) {
|
|
49
|
+
// Historically we used to support `black-on-white` and `white-on-black` so we
|
|
50
|
+
// allow them here anyway. They'll be coerced to `active` below.
|
|
51
|
+
@if ($target != 'active' and $target != 'none' and $target != 'black-on-white' and
|
|
52
|
+
$target != 'white-on-black') {
|
|
69
53
|
@error 'Unknown cdk-high-contrast value "#{$target}" provided. ' +
|
|
70
|
-
'Allowed values are "active"
|
|
54
|
+
'Allowed values are "active" and "none"';
|
|
71
55
|
}
|
|
72
56
|
|
|
73
|
-
@
|
|
74
|
-
@
|
|
75
|
-
'Allowed values are "on", "off", and "any"';
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// If the selector context has multiple parts, such as `.section, .region`, just doing
|
|
79
|
-
// `.cdk-high-contrast-xxx #{&}` will only apply the parent selector to the first part of the
|
|
80
|
-
// context. We address this by nesting the selector context under .cdk-high-contrast.
|
|
81
|
-
@at-root {
|
|
82
|
-
$selector-context: #{&};
|
|
83
|
-
|
|
84
|
-
@if ($encapsulation != 'on') {
|
|
85
|
-
// Note that if this selector is updated, the same change has to be made inside
|
|
86
|
-
// `_overlay.scss` which can't depend on this mixin due to some infrastructure limitations.
|
|
87
|
-
.cdk-high-contrast-#{$target} {
|
|
88
|
-
@include _optionally-nest-content($selector-context) {
|
|
89
|
-
@content;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@if ($encapsulation != 'off') {
|
|
95
|
-
.cdk-high-contrast-#{$target} :host {
|
|
96
|
-
@include _optionally-nest-content($selector-context) {
|
|
97
|
-
@content;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
57
|
+
@media (forced-colors: #{if($target == none, none, active)}) {
|
|
58
|
+
@content;
|
|
101
59
|
}
|
|
102
60
|
}
|
package/a11y/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { ContentObserver } from '@angular/cdk/observers';
|
|
4
3
|
import { DoCheck } from '@angular/core';
|
|
5
4
|
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { EventEmitter } from '@angular/core';
|
|
@@ -12,14 +11,13 @@ import { NgZone } from '@angular/core';
|
|
|
12
11
|
import { Observable } from 'rxjs';
|
|
13
12
|
import { OnChanges } from '@angular/core';
|
|
14
13
|
import { OnDestroy } from '@angular/core';
|
|
15
|
-
import { Platform } from '@angular/cdk/platform';
|
|
16
14
|
import { QueryList } from '@angular/core';
|
|
17
15
|
import { Signal } from '@angular/core';
|
|
18
16
|
import { SimpleChanges } from '@angular/core';
|
|
19
17
|
import { Subject } from 'rxjs';
|
|
20
18
|
|
|
21
19
|
export declare class A11yModule {
|
|
22
|
-
constructor(
|
|
20
|
+
constructor();
|
|
23
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<A11yModule, never>;
|
|
24
22
|
static ɵmod: i0.ɵɵNgModuleDeclaration<A11yModule, never, [typeof i1.ObserversModule, typeof i2.CdkAriaLive, typeof i3.CdkTrapFocus, typeof i4.CdkMonitorFocus], [typeof i2.CdkAriaLive, typeof i3.CdkTrapFocus, typeof i4.CdkMonitorFocus]>;
|
|
25
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<A11yModule>;
|
|
@@ -55,11 +53,7 @@ export declare function addAriaReferencedId(el: Element, attr: `aria-${string}`,
|
|
|
55
53
|
* content.
|
|
56
54
|
*/
|
|
57
55
|
export declare class AriaDescriber implements OnDestroy {
|
|
58
|
-
|
|
59
|
-
* @deprecated To be turned into a required parameter.
|
|
60
|
-
* @breaking-change 14.0.0
|
|
61
|
-
*/
|
|
62
|
-
private _platform?;
|
|
56
|
+
private _platform;
|
|
63
57
|
private _document;
|
|
64
58
|
/** Map of all registered message elements that have been placed into the document. */
|
|
65
59
|
private _messageRegistry;
|
|
@@ -67,12 +61,7 @@ export declare class AriaDescriber implements OnDestroy {
|
|
|
67
61
|
private _messagesContainer;
|
|
68
62
|
/** Unique ID for the service. */
|
|
69
63
|
private readonly _id;
|
|
70
|
-
constructor(
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated To be turned into a required parameter.
|
|
73
|
-
* @breaking-change 14.0.0
|
|
74
|
-
*/
|
|
75
|
-
_platform?: Platform | undefined);
|
|
64
|
+
constructor(...args: unknown[]);
|
|
76
65
|
/**
|
|
77
66
|
* Adds to the host element an aria-describedby reference to a hidden element that contains
|
|
78
67
|
* the message. If the same message has already been registered, then it will reuse the created
|
|
@@ -154,7 +143,7 @@ export declare class CdkAriaLive implements OnDestroy {
|
|
|
154
143
|
duration: number;
|
|
155
144
|
private _previousAnnouncedText?;
|
|
156
145
|
private _subscription;
|
|
157
|
-
constructor(
|
|
146
|
+
constructor(...args: unknown[]);
|
|
158
147
|
ngOnDestroy(): void;
|
|
159
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
|
|
160
149
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": { "alias": "cdkAriaLive"; "required": false; }; "duration": { "alias": "cdkAriaLiveDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -175,7 +164,7 @@ export declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
|
|
|
175
164
|
private _monitorSubscription;
|
|
176
165
|
private _focusOrigin;
|
|
177
166
|
readonly cdkFocusChange: EventEmitter<FocusOrigin>;
|
|
178
|
-
constructor(
|
|
167
|
+
constructor(...args: unknown[]);
|
|
179
168
|
get focusOrigin(): FocusOrigin;
|
|
180
169
|
ngAfterViewInit(): void;
|
|
181
170
|
ngOnDestroy(): void;
|
|
@@ -199,12 +188,7 @@ export declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChan
|
|
|
199
188
|
* initialization and return focus to the previous activeElement upon destruction.
|
|
200
189
|
*/
|
|
201
190
|
autoCapture: boolean;
|
|
202
|
-
constructor(
|
|
203
|
-
/**
|
|
204
|
-
* @deprecated No longer being used. To be removed.
|
|
205
|
-
* @breaking-change 13.0.0
|
|
206
|
-
*/
|
|
207
|
-
_document: any);
|
|
191
|
+
constructor(...args: unknown[]);
|
|
208
192
|
ngOnDestroy(): void;
|
|
209
193
|
ngAfterContentInit(): void;
|
|
210
194
|
ngDoCheck(): void;
|
|
@@ -256,7 +240,7 @@ export declare class ConfigurableFocusTrapFactory {
|
|
|
256
240
|
private _document;
|
|
257
241
|
private _inertStrategy;
|
|
258
242
|
private readonly _injector;
|
|
259
|
-
constructor(
|
|
243
|
+
constructor(...args: unknown[]);
|
|
260
244
|
/**
|
|
261
245
|
* Creates a focus-trapped region around the given element.
|
|
262
246
|
* @param element The element around which focus will be trapped.
|
|
@@ -269,7 +253,7 @@ export declare class ConfigurableFocusTrapFactory {
|
|
|
269
253
|
* @breaking-change 11.0.0
|
|
270
254
|
*/
|
|
271
255
|
create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
|
|
272
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory,
|
|
256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, never>;
|
|
273
257
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurableFocusTrapFactory>;
|
|
274
258
|
}
|
|
275
259
|
|
|
@@ -372,12 +356,10 @@ export declare class FocusMonitor implements OnDestroy {
|
|
|
372
356
|
*/
|
|
373
357
|
private _windowFocusListener;
|
|
374
358
|
/** Used to reference correct document/window */
|
|
375
|
-
protected _document?: Document;
|
|
359
|
+
protected _document?: Document | null | undefined;
|
|
376
360
|
/** Subject for stopping our InputModalityDetector subscription. */
|
|
377
361
|
private readonly _stopInputModalityDetector;
|
|
378
|
-
constructor(
|
|
379
|
-
/** @breaking-change 11.0.0 make document required */
|
|
380
|
-
document: any | null, options: FocusMonitorOptions | null);
|
|
362
|
+
constructor(...args: unknown[]);
|
|
381
363
|
/**
|
|
382
364
|
* Event listener for `focus` and 'blur' events on the document.
|
|
383
365
|
* Needs to be an arrow function in order to preserve the context when it gets bound.
|
|
@@ -481,7 +463,7 @@ export declare class FocusMonitor implements OnDestroy {
|
|
|
481
463
|
* @param focusEventTarget Target currently receiving focus.
|
|
482
464
|
*/
|
|
483
465
|
private _isLastInteractionFromInputLabel;
|
|
484
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor,
|
|
466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor, never>;
|
|
485
467
|
static ɵprov: i0.ɵɵInjectableDeclaration<FocusMonitor>;
|
|
486
468
|
}
|
|
487
469
|
|
|
@@ -626,7 +608,7 @@ export declare class FocusTrapFactory {
|
|
|
626
608
|
private _ngZone;
|
|
627
609
|
private _document;
|
|
628
610
|
private _injector;
|
|
629
|
-
constructor(
|
|
611
|
+
constructor(...args: unknown[]);
|
|
630
612
|
/**
|
|
631
613
|
* Creates a focus-trapped region around the given element.
|
|
632
614
|
* @param element The element around which focus will be trapped.
|
|
@@ -700,7 +682,7 @@ export declare class HighContrastModeDetector implements OnDestroy {
|
|
|
700
682
|
private _hasCheckedHighContrastMode;
|
|
701
683
|
private _document;
|
|
702
684
|
private _breakpointSubscription;
|
|
703
|
-
constructor(
|
|
685
|
+
constructor(...args: unknown[]);
|
|
704
686
|
/** Gets the current high-contrast-mode for the page. */
|
|
705
687
|
getHighContrastMode(): HighContrastMode;
|
|
706
688
|
ngOnDestroy(): void;
|
|
@@ -829,9 +811,9 @@ export declare class InputModalityDetector implements OnDestroy {
|
|
|
829
811
|
* gets bound.
|
|
830
812
|
*/
|
|
831
813
|
private _onTouchstart;
|
|
832
|
-
constructor(
|
|
814
|
+
constructor(...args: unknown[]);
|
|
833
815
|
ngOnDestroy(): void;
|
|
834
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector,
|
|
816
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityDetector, never>;
|
|
835
817
|
static ɵprov: i0.ɵɵInjectableDeclaration<InputModalityDetector>;
|
|
836
818
|
}
|
|
837
819
|
|
|
@@ -847,7 +829,7 @@ export declare interface InputModalityDetectorOptions {
|
|
|
847
829
|
*/
|
|
848
830
|
export declare class InteractivityChecker {
|
|
849
831
|
private _platform;
|
|
850
|
-
constructor(
|
|
832
|
+
constructor(...args: unknown[]);
|
|
851
833
|
/**
|
|
852
834
|
* Gets whether an element is disabled.
|
|
853
835
|
*
|
|
@@ -1073,13 +1055,13 @@ export declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
|
|
|
1073
1055
|
|
|
1074
1056
|
export declare class LiveAnnouncer implements OnDestroy {
|
|
1075
1057
|
private _ngZone;
|
|
1076
|
-
private _defaultOptions
|
|
1058
|
+
private _defaultOptions;
|
|
1077
1059
|
private _liveElement;
|
|
1078
1060
|
private _document;
|
|
1079
1061
|
private _previousTimeout;
|
|
1080
1062
|
private _currentPromise;
|
|
1081
1063
|
private _currentResolve;
|
|
1082
|
-
constructor(
|
|
1064
|
+
constructor(...args: unknown[]);
|
|
1083
1065
|
/**
|
|
1084
1066
|
* Announces a message to screen readers.
|
|
1085
1067
|
* @param message Message to be announced to the screen reader.
|
|
@@ -1126,7 +1108,7 @@ export declare class LiveAnnouncer implements OnDestroy {
|
|
|
1126
1108
|
* pointing the `aria-owns` of all modals to the live announcer element.
|
|
1127
1109
|
*/
|
|
1128
1110
|
private _exposeAnnouncerToModals;
|
|
1129
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer,
|
|
1111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, never>;
|
|
1130
1112
|
static ɵprov: i0.ɵɵInjectableDeclaration<LiveAnnouncer>;
|
|
1131
1113
|
}
|
|
1132
1114
|
|
|
@@ -1279,7 +1261,7 @@ export declare class TreeKeyManager<T extends TreeKeyManagerItem> implements Tre
|
|
|
1279
1261
|
private _typeahead?;
|
|
1280
1262
|
private _typeaheadSubscription;
|
|
1281
1263
|
private _hasInitialFocused;
|
|
1282
|
-
private
|
|
1264
|
+
private _initializeFocus;
|
|
1283
1265
|
/**
|
|
1284
1266
|
*
|
|
1285
1267
|
* @param items List of TreeKeyManager options. Can be synchronous or asynchronous.
|
|
@@ -1371,6 +1353,10 @@ export declare interface TreeKeyManagerItem {
|
|
|
1371
1353
|
* Unfocus the item. This should remove the focus state.
|
|
1372
1354
|
*/
|
|
1373
1355
|
unfocus(): void;
|
|
1356
|
+
/**
|
|
1357
|
+
* Sets the item to be focusable without actually focusing it.
|
|
1358
|
+
*/
|
|
1359
|
+
makeFocusable?(): void;
|
|
1374
1360
|
}
|
|
1375
1361
|
|
|
1376
1362
|
/**
|
package/accordion/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import { InjectionToken } from '@angular/core';
|
|
5
4
|
import { OnChanges } from '@angular/core';
|
|
6
5
|
import { OnDestroy } from '@angular/core';
|
|
6
|
+
import { OnInit } from '@angular/core';
|
|
7
7
|
import { SimpleChanges } from '@angular/core';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
@@ -42,7 +42,7 @@ export declare class CdkAccordion implements OnDestroy, OnChanges {
|
|
|
42
42
|
* A basic directive expected to be extended and decorated as a component. Sets up all
|
|
43
43
|
* events and attributes needed to be managed by a CdkAccordion parent.
|
|
44
44
|
*/
|
|
45
|
-
export declare class CdkAccordionItem implements OnDestroy {
|
|
45
|
+
export declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
46
46
|
accordion: CdkAccordion;
|
|
47
47
|
private _changeDetectorRef;
|
|
48
48
|
protected _expansionDispatcher: UniqueSelectionDispatcher;
|
|
@@ -70,7 +70,8 @@ export declare class CdkAccordionItem implements OnDestroy {
|
|
|
70
70
|
disabled: boolean;
|
|
71
71
|
/** Unregister function for _expansionDispatcher. */
|
|
72
72
|
private _removeUniqueSelectionListener;
|
|
73
|
-
constructor(
|
|
73
|
+
constructor(...args: unknown[]);
|
|
74
|
+
ngOnInit(): void;
|
|
74
75
|
/** Emits an event for the accordion item being destroyed. */
|
|
75
76
|
ngOnDestroy(): void;
|
|
76
77
|
/** Toggles the expanded state of the accordion item. */
|
|
@@ -80,7 +81,7 @@ export declare class CdkAccordionItem implements OnDestroy {
|
|
|
80
81
|
/** Sets the expanded state of the accordion item to true. */
|
|
81
82
|
open(): void;
|
|
82
83
|
private _subscribeToOpenCloseAllActions;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem,
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem, never>;
|
|
84
85
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; "destroyed": "destroyed"; "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
85
86
|
static ngAcceptInputType_expanded: unknown;
|
|
86
87
|
static ngAcceptInputType_disabled: unknown;
|
package/bidi/index.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ export declare class Directionality implements OnDestroy {
|
|
|
65
65
|
readonly value: Direction;
|
|
66
66
|
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
67
67
|
readonly change: EventEmitter<Direction>;
|
|
68
|
-
constructor(
|
|
68
|
+
constructor(...args: unknown[]);
|
|
69
69
|
ngOnDestroy(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality,
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
71
71
|
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
72
72
|
}
|
|
73
73
|
|
package/clipboard/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken } from '@angular/core';
|
|
4
|
-
import { NgZone } from '@angular/core';
|
|
5
4
|
import { OnDestroy } from '@angular/core';
|
|
6
5
|
|
|
7
6
|
/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */
|
|
@@ -32,11 +31,11 @@ export declare class CdkCopyToClipboard implements OnDestroy {
|
|
|
32
31
|
private _destroyed;
|
|
33
32
|
/** Timeout for the current copy attempt. */
|
|
34
33
|
private _currentTimeout;
|
|
35
|
-
constructor(
|
|
34
|
+
constructor(...args: unknown[]);
|
|
36
35
|
/** Copies the current text to the clipboard. */
|
|
37
36
|
copy(attempts?: number): void;
|
|
38
37
|
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard,
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard, never>;
|
|
40
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": { "alias": "cdkCopyToClipboard"; "required": false; }; "attempts": { "alias": "cdkCopyToClipboardAttempts"; "required": false; }; }, { "copied": "cdkCopyToClipboardCopied"; }, never, never, true, never>;
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -51,7 +50,7 @@ export declare interface CdkCopyToClipboardConfig {
|
|
|
51
50
|
*/
|
|
52
51
|
declare class Clipboard_2 {
|
|
53
52
|
private readonly _document;
|
|
54
|
-
constructor(
|
|
53
|
+
constructor(...args: unknown[]);
|
|
55
54
|
/**
|
|
56
55
|
* Copies the provided text into the user's clipboard.
|
|
57
56
|
*
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BasePortalOutlet } from '@angular/cdk/portal';
|
|
2
2
|
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
|
3
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
4
|
-
import { ComponentFactoryResolver } from '@angular/core';
|
|
5
4
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
6
5
|
import { ComponentRef } from '@angular/core';
|
|
7
6
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
@@ -9,7 +8,6 @@ import { Direction } from '@angular/cdk/bidi';
|
|
|
9
8
|
import { DomPortal } from '@angular/cdk/portal';
|
|
10
9
|
import { ElementRef } from '@angular/core';
|
|
11
10
|
import { EmbeddedViewRef } from '@angular/core';
|
|
12
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
13
11
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
14
12
|
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
15
13
|
import * as i0 from '@angular/core';
|
|
@@ -18,12 +16,10 @@ import * as i2 from '@angular/cdk/portal';
|
|
|
18
16
|
import * as i3 from '@angular/cdk/a11y';
|
|
19
17
|
import { InjectionToken } from '@angular/core';
|
|
20
18
|
import { Injector } from '@angular/core';
|
|
21
|
-
import { InteractivityChecker } from '@angular/cdk/a11y';
|
|
22
19
|
import { NgZone } from '@angular/core';
|
|
23
20
|
import { Observable } from 'rxjs';
|
|
24
21
|
import { OnDestroy } from '@angular/core';
|
|
25
22
|
import { Overlay } from '@angular/cdk/overlay';
|
|
26
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
27
23
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
28
24
|
import { PositionStrategy } from '@angular/cdk/overlay';
|
|
29
25
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
@@ -42,13 +38,13 @@ export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-headi
|
|
|
42
38
|
* @docs-private
|
|
43
39
|
*/
|
|
44
40
|
export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> extends BasePortalOutlet implements OnDestroy {
|
|
45
|
-
protected _elementRef: ElementRef
|
|
41
|
+
protected _elementRef: ElementRef<any>;
|
|
46
42
|
protected _focusTrapFactory: FocusTrapFactory;
|
|
47
43
|
readonly _config: C;
|
|
48
44
|
private _interactivityChecker;
|
|
49
45
|
protected _ngZone: NgZone;
|
|
50
46
|
private _overlayRef;
|
|
51
|
-
private _focusMonitor
|
|
47
|
+
private _focusMonitor;
|
|
52
48
|
private _platform;
|
|
53
49
|
protected _document: Document;
|
|
54
50
|
/** The portal outlet inside of this container into which the dialog content will be loaded. */
|
|
@@ -73,7 +69,7 @@ export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> e
|
|
|
73
69
|
protected readonly _changeDetectorRef: ChangeDetectorRef;
|
|
74
70
|
private _injector;
|
|
75
71
|
private _isDestroyed;
|
|
76
|
-
constructor(
|
|
72
|
+
constructor(...args: unknown[]);
|
|
77
73
|
_addAriaLabelledBy(id: string): void;
|
|
78
74
|
_removeAriaLabelledBy(id: string): void;
|
|
79
75
|
protected _contentAttached(): void;
|
|
@@ -128,7 +124,7 @@ export declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> e
|
|
|
128
124
|
private _initializeFocusTrap;
|
|
129
125
|
/** Sets up the listener that handles clicks on the dialog backdrop. */
|
|
130
126
|
private _handleBackdropClicks;
|
|
131
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDialogContainer<any>,
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDialogContainer<any>, never>;
|
|
132
128
|
static ɵcmp: i0.ɵɵComponentDeclaration<CdkDialogContainer<any>, "cdk-dialog-container", never, {}, {}, never, never, true, never>;
|
|
133
129
|
}
|
|
134
130
|
|
|
@@ -155,7 +151,7 @@ export declare class Dialog implements OnDestroy {
|
|
|
155
151
|
* Will emit on subscribe if there are no open dialogs to begin with.
|
|
156
152
|
*/
|
|
157
153
|
readonly afterAllClosed: Observable<void>;
|
|
158
|
-
constructor(
|
|
154
|
+
constructor(...args: unknown[]);
|
|
159
155
|
/**
|
|
160
156
|
* Opens a modal dialog containing the given component.
|
|
161
157
|
* @param component Type of the component to load into the dialog.
|
|
@@ -223,7 +219,7 @@ export declare class Dialog implements OnDestroy {
|
|
|
223
219
|
/** Hides all of the content that isn't an overlay from assistive technology. */
|
|
224
220
|
private _hideNonDialogContentFromAssistiveTechnology;
|
|
225
221
|
private _getAfterAllClosed;
|
|
226
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog,
|
|
222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
|
227
223
|
static ɵprov: i0.ɵɵInjectableDeclaration<Dialog>;
|
|
228
224
|
}
|
|
229
225
|
|
|
@@ -347,8 +343,12 @@ export declare class DialogConfig<D = unknown, R = unknown, C extends BasePortal
|
|
|
347
343
|
* browser location changes.
|
|
348
344
|
*/
|
|
349
345
|
closeOnOverlayDetachments?: boolean;
|
|
350
|
-
/**
|
|
351
|
-
|
|
346
|
+
/**
|
|
347
|
+
* Alternate `ComponentFactoryResolver` to use when resolving the associated component.
|
|
348
|
+
* @deprecated No longer used. Will be removed.
|
|
349
|
+
* @breaking-change 20.0.0
|
|
350
|
+
*/
|
|
351
|
+
componentFactoryResolver?: unknown;
|
|
352
352
|
/**
|
|
353
353
|
* Providers that will be exposed to the contents of the dialog. Can also
|
|
354
354
|
* be provided as a function in order to generate the providers lazily.
|
package/drag-drop/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
3
2
|
import { Direction } from '@angular/cdk/bidi';
|
|
4
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
5
3
|
import { ElementRef } from '@angular/core';
|
|
6
4
|
import { EventEmitter } from '@angular/core';
|
|
7
5
|
import * as i0 from '@angular/core';
|
|
@@ -12,7 +10,6 @@ import { NumberInput } from '@angular/cdk/coercion';
|
|
|
12
10
|
import { Observable } from 'rxjs';
|
|
13
11
|
import { OnChanges } from '@angular/core';
|
|
14
12
|
import { OnDestroy } from '@angular/core';
|
|
15
|
-
import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
16
13
|
import { SimpleChanges } from '@angular/core';
|
|
17
14
|
import { Subject } from 'rxjs';
|
|
18
15
|
import { TemplateRef } from '@angular/core';
|
|
@@ -70,16 +67,14 @@ export declare const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<unknow
|
|
|
70
67
|
|
|
71
68
|
/** Element that can be moved inside a CdkDropList container. */
|
|
72
69
|
export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
|
|
73
|
-
/** Element that the draggable is attached to. */
|
|
74
70
|
element: ElementRef<HTMLElement>;
|
|
75
|
-
|
|
76
|
-
dropContainer: CdkDropList;
|
|
71
|
+
dropContainer: CdkDropList<any>;
|
|
77
72
|
private _ngZone;
|
|
78
73
|
private _viewContainerRef;
|
|
79
74
|
private _dir;
|
|
80
75
|
private _changeDetectorRef;
|
|
81
|
-
private _selfHandle
|
|
82
|
-
private _parentDrag
|
|
76
|
+
private _selfHandle;
|
|
77
|
+
private _parentDrag;
|
|
83
78
|
private readonly _destroyed;
|
|
84
79
|
private static _dragInstances;
|
|
85
80
|
private _handles;
|
|
@@ -164,16 +159,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
|
|
|
164
159
|
*/
|
|
165
160
|
readonly moved: Observable<CdkDragMove<T>>;
|
|
166
161
|
private _injector;
|
|
167
|
-
constructor(
|
|
168
|
-
/** Element that the draggable is attached to. */
|
|
169
|
-
element: ElementRef<HTMLElement>,
|
|
170
|
-
/** Droppable container that the draggable is a part of. */
|
|
171
|
-
dropContainer: CdkDropList,
|
|
172
|
-
/**
|
|
173
|
-
* @deprecated `_document` parameter no longer being used and will be removed.
|
|
174
|
-
* @breaking-change 12.0.0
|
|
175
|
-
*/
|
|
176
|
-
_document: any, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, config: DragDropConfig, _dir: Directionality, dragDrop: DragDrop, _changeDetectorRef: ChangeDetectorRef, _selfHandle?: CdkDragHandle | undefined, _parentDrag?: CdkDrag | undefined);
|
|
162
|
+
constructor(...args: unknown[]);
|
|
177
163
|
/**
|
|
178
164
|
* Returns the element that is being used as a placeholder
|
|
179
165
|
* while the current element is being dragged.
|
|
@@ -213,7 +199,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
|
|
|
213
199
|
private _assignDefaults;
|
|
214
200
|
/** Sets up the listener that syncs the handles with the drag ref. */
|
|
215
201
|
private _setupHandlesListener;
|
|
216
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDrag<any>,
|
|
202
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDrag<any>, never>;
|
|
217
203
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDrag<any>, "[cdkDrag]", ["cdkDrag"], { "data": { "alias": "cdkDragData"; "required": false; }; "lockAxis": { "alias": "cdkDragLockAxis"; "required": false; }; "rootElementSelector": { "alias": "cdkDragRootElement"; "required": false; }; "boundaryElement": { "alias": "cdkDragBoundary"; "required": false; }; "dragStartDelay": { "alias": "cdkDragStartDelay"; "required": false; }; "freeDragPosition": { "alias": "cdkDragFreeDragPosition"; "required": false; }; "disabled": { "alias": "cdkDragDisabled"; "required": false; }; "constrainPosition": { "alias": "cdkDragConstrainPosition"; "required": false; }; "previewClass": { "alias": "cdkDragPreviewClass"; "required": false; }; "previewContainer": { "alias": "cdkDragPreviewContainer"; "required": false; }; "scale": { "alias": "cdkDragScale"; "required": false; }; }, { "started": "cdkDragStarted"; "released": "cdkDragReleased"; "ended": "cdkDragEnded"; "entered": "cdkDragEntered"; "exited": "cdkDragExited"; "dropped": "cdkDragDropped"; "moved": "cdkDragMoved"; }, never, never, true, never>;
|
|
218
204
|
static ngAcceptInputType_disabled: unknown;
|
|
219
205
|
static ngAcceptInputType_scale: unknown;
|
|
@@ -289,16 +275,16 @@ export declare interface CdkDragExit<T = any, I = T> {
|
|
|
289
275
|
/** Handle that can be used to drag a CdkDrag instance. */
|
|
290
276
|
export declare class CdkDragHandle implements OnDestroy {
|
|
291
277
|
element: ElementRef<HTMLElement>;
|
|
292
|
-
private _parentDrag
|
|
278
|
+
private _parentDrag;
|
|
293
279
|
/** Emits when the state of the handle has changed. */
|
|
294
280
|
readonly _stateChanges: Subject<CdkDragHandle>;
|
|
295
281
|
/** Whether starting to drag through this handle is disabled. */
|
|
296
282
|
get disabled(): boolean;
|
|
297
283
|
set disabled(value: boolean);
|
|
298
284
|
private _disabled;
|
|
299
|
-
constructor(
|
|
285
|
+
constructor(...args: unknown[]);
|
|
300
286
|
ngOnDestroy(): void;
|
|
301
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle,
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle, never>;
|
|
302
288
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragHandle, "[cdkDragHandle]", never, { "disabled": { "alias": "cdkDragHandleDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
303
289
|
static ngAcceptInputType_disabled: unknown;
|
|
304
290
|
}
|
|
@@ -340,7 +326,7 @@ export declare class CdkDragPlaceholder<T = any> implements OnDestroy {
|
|
|
340
326
|
private _drag;
|
|
341
327
|
/** Context data to be added to the placeholder template instance. */
|
|
342
328
|
data: T;
|
|
343
|
-
constructor(
|
|
329
|
+
constructor(...args: unknown[]);
|
|
344
330
|
ngOnDestroy(): void;
|
|
345
331
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPlaceholder<any>, never>;
|
|
346
332
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPlaceholder<any>, "ng-template[cdkDragPlaceholder]", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -357,7 +343,7 @@ export declare class CdkDragPreview<T = any> implements OnDestroy {
|
|
|
357
343
|
data: T;
|
|
358
344
|
/** Whether the preview should preserve the same size as the item that is being dragged. */
|
|
359
345
|
matchSize: boolean;
|
|
360
|
-
constructor(
|
|
346
|
+
constructor(...args: unknown[]);
|
|
361
347
|
ngOnDestroy(): void;
|
|
362
348
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPreview<any>, never>;
|
|
363
349
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPreview<any>, "ng-template[cdkDragPreview]", never, { "data": { "alias": "data"; "required": false; }; "matchSize": { "alias": "matchSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -394,12 +380,11 @@ export declare interface CdkDragStart<T = any> {
|
|
|
394
380
|
|
|
395
381
|
/** Container that wraps a set of draggable items. */
|
|
396
382
|
export declare class CdkDropList<T = any> implements OnDestroy {
|
|
397
|
-
/** Element that the drop list is attached to. */
|
|
398
383
|
element: ElementRef<HTMLElement>;
|
|
399
384
|
private _changeDetectorRef;
|
|
400
385
|
private _scrollDispatcher;
|
|
401
|
-
private _dir
|
|
402
|
-
private _group
|
|
386
|
+
private _dir;
|
|
387
|
+
private _group;
|
|
403
388
|
/** Emits when the list has been destroyed. */
|
|
404
389
|
private readonly _destroyed;
|
|
405
390
|
/** Whether the element's scrollable parents have been resolved. */
|
|
@@ -478,9 +463,7 @@ export declare class CdkDropList<T = any> implements OnDestroy {
|
|
|
478
463
|
* and then we sort them based on their position in the DOM.
|
|
479
464
|
*/
|
|
480
465
|
private _unsortedItems;
|
|
481
|
-
constructor(
|
|
482
|
-
/** Element that the drop list is attached to. */
|
|
483
|
-
element: ElementRef<HTMLElement>, dragDrop: DragDrop, _changeDetectorRef: ChangeDetectorRef, _scrollDispatcher: ScrollDispatcher, _dir?: Directionality | undefined, _group?: CdkDropListGroup<CdkDropList> | undefined, config?: DragDropConfig);
|
|
466
|
+
constructor(...args: unknown[]);
|
|
484
467
|
/** Registers an items with the drop list. */
|
|
485
468
|
addItem(item: CdkDrag): void;
|
|
486
469
|
/** Removes an item from the drop list. */
|
|
@@ -496,7 +479,7 @@ export declare class CdkDropList<T = any> implements OnDestroy {
|
|
|
496
479
|
private _assignDefaults;
|
|
497
480
|
/** Syncs up the registered drag items with underlying drop list ref. */
|
|
498
481
|
private _syncItemsWithRef;
|
|
499
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropList<any>,
|
|
482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropList<any>, never>;
|
|
500
483
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDropList<any>, "[cdkDropList], cdk-drop-list", ["cdkDropList"], { "connectedTo": { "alias": "cdkDropListConnectedTo"; "required": false; }; "data": { "alias": "cdkDropListData"; "required": false; }; "orientation": { "alias": "cdkDropListOrientation"; "required": false; }; "id": { "alias": "id"; "required": false; }; "lockAxis": { "alias": "cdkDropListLockAxis"; "required": false; }; "disabled": { "alias": "cdkDropListDisabled"; "required": false; }; "sortingDisabled": { "alias": "cdkDropListSortingDisabled"; "required": false; }; "enterPredicate": { "alias": "cdkDropListEnterPredicate"; "required": false; }; "sortPredicate": { "alias": "cdkDropListSortPredicate"; "required": false; }; "autoScrollDisabled": { "alias": "cdkDropListAutoScrollDisabled"; "required": false; }; "autoScrollStep": { "alias": "cdkDropListAutoScrollStep"; "required": false; }; "elementContainerSelector": { "alias": "cdkDropListElementContainer"; "required": false; }; }, { "dropped": "cdkDropListDropped"; "entered": "cdkDropListEntered"; "exited": "cdkDropListExited"; "sorted": "cdkDropListSorted"; }, never, never, true, never>;
|
|
501
484
|
static ngAcceptInputType_disabled: unknown;
|
|
502
485
|
static ngAcceptInputType_sortingDisabled: unknown;
|
|
@@ -545,7 +528,7 @@ export declare class DragDrop {
|
|
|
545
528
|
private _ngZone;
|
|
546
529
|
private _viewportRuler;
|
|
547
530
|
private _dragDropRegistry;
|
|
548
|
-
constructor(
|
|
531
|
+
constructor(...args: unknown[]);
|
|
549
532
|
/**
|
|
550
533
|
* Turns an element into a draggable item.
|
|
551
534
|
* @param element Element to which to attach the dragging functionality.
|
|
@@ -594,8 +577,7 @@ export declare class DragDropModule {
|
|
|
594
577
|
export declare class DragDropRegistry<_ = unknown, __ = unknown> implements OnDestroy {
|
|
595
578
|
private _ngZone;
|
|
596
579
|
private _document;
|
|
597
|
-
private
|
|
598
|
-
private _environmentInjector;
|
|
580
|
+
private _styleLoader;
|
|
599
581
|
/** Registered drop container instances. */
|
|
600
582
|
private _dropInstances;
|
|
601
583
|
/** Registered drag item instances. */
|
|
@@ -625,7 +607,7 @@ export declare class DragDropRegistry<_ = unknown, __ = unknown> implements OnDe
|
|
|
625
607
|
* @breaking-change 13.0.0
|
|
626
608
|
*/
|
|
627
609
|
readonly scroll: Subject<Event>;
|
|
628
|
-
constructor(
|
|
610
|
+
constructor(...args: unknown[]);
|
|
629
611
|
/** Adds a drop container to the registry. */
|
|
630
612
|
registerDropContainer(drop: DropListRef): void;
|
|
631
613
|
/** Adds a drag item instance to the registry. */
|
|
@@ -662,8 +644,6 @@ export declare class DragDropRegistry<_ = unknown, __ = unknown> implements OnDe
|
|
|
662
644
|
private _persistentTouchmoveListener;
|
|
663
645
|
/** Clears out the global event listeners from the `document`. */
|
|
664
646
|
private _clearGlobalListeners;
|
|
665
|
-
/** Loads the CSS resets needed for the module to work correctly. */
|
|
666
|
-
private _loadResets;
|
|
667
647
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropRegistry<any, any>, never>;
|
|
668
648
|
static ɵprov: i0.ɵɵInjectableDeclaration<DragDropRegistry<any, any>>;
|
|
669
649
|
}
|