@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/fesm2022/table.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
2
2
|
import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _ViewRepeaterOperation, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';
|
|
3
3
|
export { DataSource } from '@angular/cdk/collections';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
4
|
+
import { Platform } from '@angular/cdk/platform';
|
|
5
|
+
import { ViewportRuler, ScrollingModule } from '@angular/cdk/scrolling';
|
|
7
6
|
import { DOCUMENT } from '@angular/common';
|
|
8
7
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { InjectionToken,
|
|
8
|
+
import { InjectionToken, inject, TemplateRef, Directive, booleanAttribute, Input, ContentChild, ElementRef, NgZone, Injectable, IterableDiffers, ViewContainerRef, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, ChangeDetectorRef, EventEmitter, Injector, HostAttributeToken, afterNextRender, Output, ContentChildren, ViewChild, NgModule } from '@angular/core';
|
|
10
9
|
import { Subject, BehaviorSubject, isObservable, of } from 'rxjs';
|
|
11
10
|
import { takeUntil } from 'rxjs/operators';
|
|
12
11
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
@@ -24,55 +23,55 @@ const TEXT_COLUMN_OPTIONS = new InjectionToken('text-column-options');
|
|
|
24
23
|
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
25
24
|
*/
|
|
26
25
|
class CdkCellDef {
|
|
27
|
-
constructor(
|
|
28
|
-
|
|
26
|
+
constructor() {
|
|
27
|
+
/** @docs-private */
|
|
28
|
+
this.template = inject(TemplateRef);
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkCellDef, isStandalone: true, selector: "[cdkCellDef]", ngImport: i0 }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCellDef, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: '[cdkCellDef]',
|
|
37
|
-
standalone: true,
|
|
38
37
|
}]
|
|
39
|
-
}], ctorParameters: () => [
|
|
38
|
+
}], ctorParameters: () => [] });
|
|
40
39
|
/**
|
|
41
40
|
* Header cell definition for a CDK table.
|
|
42
41
|
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
43
42
|
*/
|
|
44
43
|
class CdkHeaderCellDef {
|
|
45
|
-
constructor(
|
|
46
|
-
|
|
44
|
+
constructor() {
|
|
45
|
+
/** @docs-private */
|
|
46
|
+
this.template = inject(TemplateRef);
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
49
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
49
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkHeaderCellDef, isStandalone: true, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
|
|
52
52
|
type: Directive,
|
|
53
53
|
args: [{
|
|
54
54
|
selector: '[cdkHeaderCellDef]',
|
|
55
|
-
standalone: true,
|
|
56
55
|
}]
|
|
57
|
-
}], ctorParameters: () => [
|
|
56
|
+
}], ctorParameters: () => [] });
|
|
58
57
|
/**
|
|
59
58
|
* Footer cell definition for a CDK table.
|
|
60
59
|
* Captures the template of a column's footer cell and as well as cell-specific properties.
|
|
61
60
|
*/
|
|
62
61
|
class CdkFooterCellDef {
|
|
63
|
-
constructor(
|
|
64
|
-
|
|
62
|
+
constructor() {
|
|
63
|
+
/** @docs-private */
|
|
64
|
+
this.template = inject(TemplateRef);
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
67
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkFooterCellDef, isStandalone: true, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterCellDef, decorators: [{
|
|
70
70
|
type: Directive,
|
|
71
71
|
args: [{
|
|
72
72
|
selector: '[cdkFooterCellDef]',
|
|
73
|
-
standalone: true,
|
|
74
73
|
}]
|
|
75
|
-
}], ctorParameters: () => [
|
|
74
|
+
}], ctorParameters: () => [] });
|
|
76
75
|
/**
|
|
77
76
|
* Column definition for the CDK table.
|
|
78
77
|
* Defines a set of cells available for a table column.
|
|
@@ -109,8 +108,8 @@ class CdkColumnDef {
|
|
|
109
108
|
this._hasStickyChanged = true;
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
|
-
constructor(
|
|
113
|
-
this._table =
|
|
111
|
+
constructor() {
|
|
112
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
114
113
|
this._hasStickyChanged = false;
|
|
115
114
|
this._sticky = false;
|
|
116
115
|
this._stickyEnd = false;
|
|
@@ -150,22 +149,16 @@ class CdkColumnDef {
|
|
|
150
149
|
this._updateColumnCssClassName();
|
|
151
150
|
}
|
|
152
151
|
}
|
|
153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
154
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
153
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", type: CdkColumnDef, isStandalone: true, selector: "[cdkColumnDef]", inputs: { name: ["cdkColumnDef", "name"], sticky: ["sticky", "sticky", booleanAttribute], stickyEnd: ["stickyEnd", "stickyEnd", booleanAttribute] }, providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }], queries: [{ propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true }, { propertyName: "footerCell", first: true, predicate: CdkFooterCellDef, descendants: true }], ngImport: i0 }); }
|
|
155
154
|
}
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnDef, decorators: [{
|
|
157
156
|
type: Directive,
|
|
158
157
|
args: [{
|
|
159
158
|
selector: '[cdkColumnDef]',
|
|
160
159
|
providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
|
|
161
|
-
standalone: true,
|
|
162
160
|
}]
|
|
163
|
-
}], ctorParameters: () => [
|
|
164
|
-
type: Inject,
|
|
165
|
-
args: [CDK_TABLE]
|
|
166
|
-
}, {
|
|
167
|
-
type: Optional
|
|
168
|
-
}] }], propDecorators: { name: [{
|
|
161
|
+
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
169
162
|
type: Input,
|
|
170
163
|
args: ['cdkColumnDef']
|
|
171
164
|
}], sticky: [{
|
|
@@ -192,13 +185,13 @@ class BaseCdkCell {
|
|
|
192
185
|
}
|
|
193
186
|
/** Header cell template container that adds the right classes and role. */
|
|
194
187
|
class CdkHeaderCell extends BaseCdkCell {
|
|
195
|
-
constructor(
|
|
196
|
-
super(
|
|
188
|
+
constructor() {
|
|
189
|
+
super(inject(CdkColumnDef), inject(ElementRef));
|
|
197
190
|
}
|
|
198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
199
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
192
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkHeaderCell, isStandalone: true, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
200
193
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderCell, decorators: [{
|
|
202
195
|
type: Directive,
|
|
203
196
|
args: [{
|
|
204
197
|
selector: 'cdk-header-cell, th[cdk-header-cell]',
|
|
@@ -206,53 +199,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
206
199
|
'class': 'cdk-header-cell',
|
|
207
200
|
'role': 'columnheader',
|
|
208
201
|
},
|
|
209
|
-
standalone: true,
|
|
210
202
|
}]
|
|
211
|
-
}], ctorParameters: () => [
|
|
203
|
+
}], ctorParameters: () => [] });
|
|
212
204
|
/** Footer cell template container that adds the right classes and role. */
|
|
213
205
|
class CdkFooterCell extends BaseCdkCell {
|
|
214
|
-
constructor(
|
|
206
|
+
constructor() {
|
|
207
|
+
const columnDef = inject(CdkColumnDef);
|
|
208
|
+
const elementRef = inject(ElementRef);
|
|
215
209
|
super(columnDef, elementRef);
|
|
216
210
|
const role = columnDef._table?._getCellRole();
|
|
217
211
|
if (role) {
|
|
218
212
|
elementRef.nativeElement.setAttribute('role', role);
|
|
219
213
|
}
|
|
220
214
|
}
|
|
221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
222
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
216
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkFooterCell, isStandalone: true, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
223
217
|
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterCell, decorators: [{
|
|
225
219
|
type: Directive,
|
|
226
220
|
args: [{
|
|
227
221
|
selector: 'cdk-footer-cell, td[cdk-footer-cell]',
|
|
228
222
|
host: {
|
|
229
223
|
'class': 'cdk-footer-cell',
|
|
230
224
|
},
|
|
231
|
-
standalone: true,
|
|
232
225
|
}]
|
|
233
|
-
}], ctorParameters: () => [
|
|
226
|
+
}], ctorParameters: () => [] });
|
|
234
227
|
/** Cell template container that adds the right classes and role. */
|
|
235
228
|
class CdkCell extends BaseCdkCell {
|
|
236
|
-
constructor(
|
|
229
|
+
constructor() {
|
|
230
|
+
const columnDef = inject(CdkColumnDef);
|
|
231
|
+
const elementRef = inject(ElementRef);
|
|
237
232
|
super(columnDef, elementRef);
|
|
238
233
|
const role = columnDef._table?._getCellRole();
|
|
239
234
|
if (role) {
|
|
240
235
|
elementRef.nativeElement.setAttribute('role', role);
|
|
241
236
|
}
|
|
242
237
|
}
|
|
243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
244
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
239
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkCell, isStandalone: true, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
245
240
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCell, decorators: [{
|
|
247
242
|
type: Directive,
|
|
248
243
|
args: [{
|
|
249
244
|
selector: 'cdk-cell, td[cdk-cell]',
|
|
250
245
|
host: {
|
|
251
246
|
'class': 'cdk-cell',
|
|
252
247
|
},
|
|
253
|
-
standalone: true,
|
|
254
248
|
}]
|
|
255
|
-
}], ctorParameters: () => [
|
|
249
|
+
}], ctorParameters: () => [] });
|
|
256
250
|
|
|
257
251
|
/**
|
|
258
252
|
* @docs-private
|
|
@@ -273,7 +267,7 @@ const _COALESCED_STYLE_SCHEDULER = new InjectionToken('_COALESCED_STYLE_SCHEDULE
|
|
|
273
267
|
* @docs-private
|
|
274
268
|
*/
|
|
275
269
|
class _CoalescedStyleScheduler {
|
|
276
|
-
constructor(
|
|
270
|
+
constructor() {
|
|
277
271
|
this._currentSchedule = null;
|
|
278
272
|
this._ngZone = inject(NgZone);
|
|
279
273
|
}
|
|
@@ -317,12 +311,12 @@ class _CoalescedStyleScheduler {
|
|
|
317
311
|
this._currentSchedule = null;
|
|
318
312
|
}));
|
|
319
313
|
}
|
|
320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
321
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: _CoalescedStyleScheduler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: _CoalescedStyleScheduler }); }
|
|
322
316
|
}
|
|
323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
|
|
324
318
|
type: Injectable
|
|
325
|
-
}], ctorParameters: () => [
|
|
319
|
+
}], ctorParameters: () => [] });
|
|
326
320
|
|
|
327
321
|
/**
|
|
328
322
|
* The row template that can be used by the mat-table. Should not be used outside of the
|
|
@@ -334,10 +328,9 @@ const CDK_ROW_TEMPLATE = `<ng-container cdkCellOutlet></ng-container>`;
|
|
|
334
328
|
* for changes and notifying the table.
|
|
335
329
|
*/
|
|
336
330
|
class BaseRowDef {
|
|
337
|
-
constructor(
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
this._differs = _differs;
|
|
331
|
+
constructor() {
|
|
332
|
+
this.template = inject(TemplateRef);
|
|
333
|
+
this._differs = inject(IterableDiffers);
|
|
341
334
|
}
|
|
342
335
|
ngOnChanges(changes) {
|
|
343
336
|
// Create a new columns differ if one does not yet exist. Initialize it based on initial value
|
|
@@ -367,12 +360,12 @@ class BaseRowDef {
|
|
|
367
360
|
return column.cell.template;
|
|
368
361
|
}
|
|
369
362
|
}
|
|
370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
371
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: BaseRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
364
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: BaseRowDef, isStandalone: true, usesOnChanges: true, ngImport: i0 }); }
|
|
372
365
|
}
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: BaseRowDef, decorators: [{
|
|
374
367
|
type: Directive
|
|
375
|
-
}], ctorParameters: () => [
|
|
368
|
+
}], ctorParameters: () => [] });
|
|
376
369
|
/**
|
|
377
370
|
* Header row definition for the CDK table.
|
|
378
371
|
* Captures the header row's template and other header properties such as the columns to display.
|
|
@@ -388,9 +381,9 @@ class CdkHeaderRowDef extends BaseRowDef {
|
|
|
388
381
|
this._hasStickyChanged = true;
|
|
389
382
|
}
|
|
390
383
|
}
|
|
391
|
-
constructor(
|
|
392
|
-
super(
|
|
393
|
-
this._table =
|
|
384
|
+
constructor() {
|
|
385
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
386
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
394
387
|
this._hasStickyChanged = false;
|
|
395
388
|
this._sticky = false;
|
|
396
389
|
}
|
|
@@ -409,22 +402,16 @@ class CdkHeaderRowDef extends BaseRowDef {
|
|
|
409
402
|
resetStickyChanged() {
|
|
410
403
|
this._hasStickyChanged = false;
|
|
411
404
|
}
|
|
412
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
413
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
406
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", type: CdkHeaderRowDef, isStandalone: true, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
414
407
|
}
|
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
|
|
416
409
|
type: Directive,
|
|
417
410
|
args: [{
|
|
418
411
|
selector: '[cdkHeaderRowDef]',
|
|
419
412
|
inputs: [{ name: 'columns', alias: 'cdkHeaderRowDef' }],
|
|
420
|
-
standalone: true,
|
|
421
413
|
}]
|
|
422
|
-
}], ctorParameters: () => [
|
|
423
|
-
type: Inject,
|
|
424
|
-
args: [CDK_TABLE]
|
|
425
|
-
}, {
|
|
426
|
-
type: Optional
|
|
427
|
-
}] }], propDecorators: { sticky: [{
|
|
414
|
+
}], ctorParameters: () => [], propDecorators: { sticky: [{
|
|
428
415
|
type: Input,
|
|
429
416
|
args: [{ alias: 'cdkHeaderRowDefSticky', transform: booleanAttribute }]
|
|
430
417
|
}] } });
|
|
@@ -443,9 +430,9 @@ class CdkFooterRowDef extends BaseRowDef {
|
|
|
443
430
|
this._hasStickyChanged = true;
|
|
444
431
|
}
|
|
445
432
|
}
|
|
446
|
-
constructor(
|
|
447
|
-
super(
|
|
448
|
-
this._table =
|
|
433
|
+
constructor() {
|
|
434
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
435
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
449
436
|
this._hasStickyChanged = false;
|
|
450
437
|
this._sticky = false;
|
|
451
438
|
}
|
|
@@ -464,22 +451,16 @@ class CdkFooterRowDef extends BaseRowDef {
|
|
|
464
451
|
resetStickyChanged() {
|
|
465
452
|
this._hasStickyChanged = false;
|
|
466
453
|
}
|
|
467
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
468
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
454
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
455
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", type: CdkFooterRowDef, isStandalone: true, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
469
456
|
}
|
|
470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterRowDef, decorators: [{
|
|
471
458
|
type: Directive,
|
|
472
459
|
args: [{
|
|
473
460
|
selector: '[cdkFooterRowDef]',
|
|
474
461
|
inputs: [{ name: 'columns', alias: 'cdkFooterRowDef' }],
|
|
475
|
-
standalone: true,
|
|
476
462
|
}]
|
|
477
|
-
}], ctorParameters: () => [
|
|
478
|
-
type: Inject,
|
|
479
|
-
args: [CDK_TABLE]
|
|
480
|
-
}, {
|
|
481
|
-
type: Optional
|
|
482
|
-
}] }], propDecorators: { sticky: [{
|
|
463
|
+
}], ctorParameters: () => [], propDecorators: { sticky: [{
|
|
483
464
|
type: Input,
|
|
484
465
|
args: [{ alias: 'cdkFooterRowDefSticky', transform: booleanAttribute }]
|
|
485
466
|
}] } });
|
|
@@ -489,16 +470,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
489
470
|
* a when predicate that describes when this row should be used.
|
|
490
471
|
*/
|
|
491
472
|
class CdkRowDef extends BaseRowDef {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
super(
|
|
496
|
-
this._table =
|
|
497
|
-
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
499
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
473
|
+
constructor() {
|
|
474
|
+
// TODO(andrewseguin): Add an input for providing a switch function to determine
|
|
475
|
+
// if this template should be used.
|
|
476
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
477
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
478
|
+
}
|
|
479
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
480
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkRowDef, isStandalone: true, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
|
|
500
481
|
}
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRowDef, decorators: [{
|
|
502
483
|
type: Directive,
|
|
503
484
|
args: [{
|
|
504
485
|
selector: '[cdkRowDef]',
|
|
@@ -506,14 +487,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
506
487
|
{ name: 'columns', alias: 'cdkRowDefColumns' },
|
|
507
488
|
{ name: 'when', alias: 'cdkRowDefWhen' },
|
|
508
489
|
],
|
|
509
|
-
standalone: true,
|
|
510
490
|
}]
|
|
511
|
-
}], ctorParameters: () => [
|
|
512
|
-
type: Inject,
|
|
513
|
-
args: [CDK_TABLE]
|
|
514
|
-
}, {
|
|
515
|
-
type: Optional
|
|
516
|
-
}] }] });
|
|
491
|
+
}], ctorParameters: () => [] });
|
|
517
492
|
/**
|
|
518
493
|
* Outlet for rendering cells inside of a row or header row.
|
|
519
494
|
* @docs-private
|
|
@@ -527,8 +502,8 @@ class CdkCellOutlet {
|
|
|
527
502
|
* construct the cells with the provided context.
|
|
528
503
|
*/
|
|
529
504
|
static { this.mostRecentCellOutlet = null; }
|
|
530
|
-
constructor(
|
|
531
|
-
this._viewContainer =
|
|
505
|
+
constructor() {
|
|
506
|
+
this._viewContainer = inject(ViewContainerRef);
|
|
532
507
|
CdkCellOutlet.mostRecentCellOutlet = this;
|
|
533
508
|
}
|
|
534
509
|
ngOnDestroy() {
|
|
@@ -538,22 +513,21 @@ class CdkCellOutlet {
|
|
|
538
513
|
CdkCellOutlet.mostRecentCellOutlet = null;
|
|
539
514
|
}
|
|
540
515
|
}
|
|
541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
542
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCellOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
517
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkCellOutlet, isStandalone: true, selector: "[cdkCellOutlet]", ngImport: i0 }); }
|
|
543
518
|
}
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCellOutlet, decorators: [{
|
|
545
520
|
type: Directive,
|
|
546
521
|
args: [{
|
|
547
522
|
selector: '[cdkCellOutlet]',
|
|
548
|
-
standalone: true,
|
|
549
523
|
}]
|
|
550
|
-
}], ctorParameters: () => [
|
|
524
|
+
}], ctorParameters: () => [] });
|
|
551
525
|
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
552
526
|
class CdkHeaderRow {
|
|
553
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
554
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
528
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkHeaderRow, isStandalone: true, selector: "cdk-header-row, tr[cdk-header-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-header-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
555
529
|
}
|
|
556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkHeaderRow, decorators: [{
|
|
557
531
|
type: Component,
|
|
558
532
|
args: [{
|
|
559
533
|
selector: 'cdk-header-row, tr[cdk-header-row]',
|
|
@@ -566,16 +540,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
566
540
|
// tslint:disable-next-line:validate-decorators
|
|
567
541
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
568
542
|
encapsulation: ViewEncapsulation.None,
|
|
569
|
-
standalone: true,
|
|
570
543
|
imports: [CdkCellOutlet],
|
|
571
544
|
}]
|
|
572
545
|
}] });
|
|
573
546
|
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
574
547
|
class CdkFooterRow {
|
|
575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
549
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkFooterRow, isStandalone: true, selector: "cdk-footer-row, tr[cdk-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-footer-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
577
550
|
}
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFooterRow, decorators: [{
|
|
579
552
|
type: Component,
|
|
580
553
|
args: [{
|
|
581
554
|
selector: 'cdk-footer-row, tr[cdk-footer-row]',
|
|
@@ -588,16 +561,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
588
561
|
// tslint:disable-next-line:validate-decorators
|
|
589
562
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
590
563
|
encapsulation: ViewEncapsulation.None,
|
|
591
|
-
standalone: true,
|
|
592
564
|
imports: [CdkCellOutlet],
|
|
593
565
|
}]
|
|
594
566
|
}] });
|
|
595
567
|
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
596
568
|
class CdkRow {
|
|
597
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
598
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
570
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkRow, isStandalone: true, selector: "cdk-row, tr[cdk-row]", host: { attributes: { "role": "row" }, classAttribute: "cdk-row" }, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
599
571
|
}
|
|
600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRow, decorators: [{
|
|
601
573
|
type: Component,
|
|
602
574
|
args: [{
|
|
603
575
|
selector: 'cdk-row, tr[cdk-row]',
|
|
@@ -610,26 +582,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
610
582
|
// tslint:disable-next-line:validate-decorators
|
|
611
583
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
612
584
|
encapsulation: ViewEncapsulation.None,
|
|
613
|
-
standalone: true,
|
|
614
585
|
imports: [CdkCellOutlet],
|
|
615
586
|
}]
|
|
616
587
|
}] });
|
|
617
588
|
/** Row that can be used to display a message when no data is shown in the table. */
|
|
618
589
|
class CdkNoDataRow {
|
|
619
|
-
constructor(
|
|
620
|
-
this.templateRef =
|
|
590
|
+
constructor() {
|
|
591
|
+
this.templateRef = inject(TemplateRef);
|
|
621
592
|
this._contentClassName = 'cdk-no-data-row';
|
|
622
593
|
}
|
|
623
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
624
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
594
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkNoDataRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
595
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkNoDataRow, isStandalone: true, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
|
|
625
596
|
}
|
|
626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkNoDataRow, decorators: [{
|
|
627
598
|
type: Directive,
|
|
628
599
|
args: [{
|
|
629
600
|
selector: 'ng-template[cdkNoDataRow]',
|
|
630
|
-
standalone: true,
|
|
631
601
|
}]
|
|
632
|
-
}], ctorParameters: () => [
|
|
602
|
+
}], ctorParameters: () => [] });
|
|
633
603
|
|
|
634
604
|
/**
|
|
635
605
|
* List of all possible directions that can be used for sticky positioning.
|
|
@@ -1039,15 +1009,14 @@ const STICKY_POSITIONING_LISTENER = new InjectionToken('CDK_SPL');
|
|
|
1039
1009
|
* tables that animate rows.
|
|
1040
1010
|
*/
|
|
1041
1011
|
class CdkRecycleRows {
|
|
1042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1043
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1013
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkRecycleRows, isStandalone: true, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
1044
1014
|
}
|
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkRecycleRows, decorators: [{
|
|
1046
1016
|
type: Directive,
|
|
1047
1017
|
args: [{
|
|
1048
1018
|
selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',
|
|
1049
1019
|
providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],
|
|
1050
|
-
standalone: true,
|
|
1051
1020
|
}]
|
|
1052
1021
|
}] });
|
|
1053
1022
|
/**
|
|
@@ -1055,90 +1024,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
1055
1024
|
* @docs-private
|
|
1056
1025
|
*/
|
|
1057
1026
|
class DataRowOutlet {
|
|
1058
|
-
constructor(
|
|
1059
|
-
this.viewContainer =
|
|
1060
|
-
this.elementRef =
|
|
1027
|
+
constructor() {
|
|
1028
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1029
|
+
this.elementRef = inject(ElementRef);
|
|
1061
1030
|
const table = inject(CDK_TABLE);
|
|
1062
1031
|
table._rowOutlet = this;
|
|
1063
1032
|
table._outletAssigned();
|
|
1064
1033
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1066
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: DataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1035
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: DataRowOutlet, isStandalone: true, selector: "[rowOutlet]", ngImport: i0 }); }
|
|
1067
1036
|
}
|
|
1068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: DataRowOutlet, decorators: [{
|
|
1069
1038
|
type: Directive,
|
|
1070
1039
|
args: [{
|
|
1071
1040
|
selector: '[rowOutlet]',
|
|
1072
|
-
standalone: true,
|
|
1073
1041
|
}]
|
|
1074
|
-
}], ctorParameters: () => [
|
|
1042
|
+
}], ctorParameters: () => [] });
|
|
1075
1043
|
/**
|
|
1076
1044
|
* Provides a handle for the table to grab the view container's ng-container to insert the header.
|
|
1077
1045
|
* @docs-private
|
|
1078
1046
|
*/
|
|
1079
1047
|
class HeaderRowOutlet {
|
|
1080
|
-
constructor(
|
|
1081
|
-
this.viewContainer =
|
|
1082
|
-
this.elementRef =
|
|
1048
|
+
constructor() {
|
|
1049
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1050
|
+
this.elementRef = inject(ElementRef);
|
|
1083
1051
|
const table = inject(CDK_TABLE);
|
|
1084
1052
|
table._headerRowOutlet = this;
|
|
1085
1053
|
table._outletAssigned();
|
|
1086
1054
|
}
|
|
1087
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1088
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: HeaderRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1056
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: HeaderRowOutlet, isStandalone: true, selector: "[headerRowOutlet]", ngImport: i0 }); }
|
|
1089
1057
|
}
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: HeaderRowOutlet, decorators: [{
|
|
1091
1059
|
type: Directive,
|
|
1092
1060
|
args: [{
|
|
1093
1061
|
selector: '[headerRowOutlet]',
|
|
1094
|
-
standalone: true,
|
|
1095
1062
|
}]
|
|
1096
|
-
}], ctorParameters: () => [
|
|
1063
|
+
}], ctorParameters: () => [] });
|
|
1097
1064
|
/**
|
|
1098
1065
|
* Provides a handle for the table to grab the view container's ng-container to insert the footer.
|
|
1099
1066
|
* @docs-private
|
|
1100
1067
|
*/
|
|
1101
1068
|
class FooterRowOutlet {
|
|
1102
|
-
constructor(
|
|
1103
|
-
this.viewContainer =
|
|
1104
|
-
this.elementRef =
|
|
1069
|
+
constructor() {
|
|
1070
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1071
|
+
this.elementRef = inject(ElementRef);
|
|
1105
1072
|
const table = inject(CDK_TABLE);
|
|
1106
1073
|
table._footerRowOutlet = this;
|
|
1107
1074
|
table._outletAssigned();
|
|
1108
1075
|
}
|
|
1109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1110
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: FooterRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1077
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: FooterRowOutlet, isStandalone: true, selector: "[footerRowOutlet]", ngImport: i0 }); }
|
|
1111
1078
|
}
|
|
1112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: FooterRowOutlet, decorators: [{
|
|
1113
1080
|
type: Directive,
|
|
1114
1081
|
args: [{
|
|
1115
1082
|
selector: '[footerRowOutlet]',
|
|
1116
|
-
standalone: true,
|
|
1117
1083
|
}]
|
|
1118
|
-
}], ctorParameters: () => [
|
|
1084
|
+
}], ctorParameters: () => [] });
|
|
1119
1085
|
/**
|
|
1120
1086
|
* Provides a handle for the table to grab the view
|
|
1121
1087
|
* container's ng-container to insert the no data row.
|
|
1122
1088
|
* @docs-private
|
|
1123
1089
|
*/
|
|
1124
1090
|
class NoDataRowOutlet {
|
|
1125
|
-
constructor(
|
|
1126
|
-
this.viewContainer =
|
|
1127
|
-
this.elementRef =
|
|
1091
|
+
constructor() {
|
|
1092
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1093
|
+
this.elementRef = inject(ElementRef);
|
|
1128
1094
|
const table = inject(CDK_TABLE);
|
|
1129
1095
|
table._noDataRowOutlet = this;
|
|
1130
1096
|
table._outletAssigned();
|
|
1131
1097
|
}
|
|
1132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1133
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: NoDataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1099
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: NoDataRowOutlet, isStandalone: true, selector: "[noDataRowOutlet]", ngImport: i0 }); }
|
|
1134
1100
|
}
|
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: NoDataRowOutlet, decorators: [{
|
|
1136
1102
|
type: Directive,
|
|
1137
1103
|
args: [{
|
|
1138
1104
|
selector: '[noDataRowOutlet]',
|
|
1139
|
-
standalone: true,
|
|
1140
1105
|
}]
|
|
1141
|
-
}], ctorParameters: () => [
|
|
1106
|
+
}], ctorParameters: () => [] });
|
|
1142
1107
|
/**
|
|
1143
1108
|
* The table template that can be used by the mat-table. Should not be used outside of the
|
|
1144
1109
|
* material library.
|
|
@@ -1274,26 +1239,17 @@ class CdkTable {
|
|
|
1274
1239
|
this._forceRecalculateCellWidths = true;
|
|
1275
1240
|
this._stickyColumnStylesNeedReset = true;
|
|
1276
1241
|
}
|
|
1277
|
-
constructor(
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
this._differs = _differs;
|
|
1289
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
1290
|
-
this._elementRef = _elementRef;
|
|
1291
|
-
this._dir = _dir;
|
|
1292
|
-
this._platform = _platform;
|
|
1293
|
-
this._viewRepeater = _viewRepeater;
|
|
1294
|
-
this._coalescedStyleScheduler = _coalescedStyleScheduler;
|
|
1295
|
-
this._viewportRuler = _viewportRuler;
|
|
1296
|
-
this._stickyPositioningListener = _stickyPositioningListener;
|
|
1242
|
+
constructor() {
|
|
1243
|
+
this._differs = inject(IterableDiffers);
|
|
1244
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
1245
|
+
this._elementRef = inject(ElementRef);
|
|
1246
|
+
this._dir = inject(Directionality, { optional: true });
|
|
1247
|
+
this._platform = inject(Platform);
|
|
1248
|
+
this._viewRepeater = inject(_VIEW_REPEATER_STRATEGY);
|
|
1249
|
+
this._coalescedStyleScheduler = inject(_COALESCED_STYLE_SCHEDULER);
|
|
1250
|
+
this._viewportRuler = inject(ViewportRuler);
|
|
1251
|
+
this._stickyPositioningListener = inject(STICKY_POSITIONING_LISTENER, { optional: true, skipSelf: true });
|
|
1252
|
+
this._document = inject(DOCUMENT);
|
|
1297
1253
|
/** Subject that emits when the component has been destroyed. */
|
|
1298
1254
|
this._onDestroy = new Subject();
|
|
1299
1255
|
/**
|
|
@@ -1399,12 +1355,12 @@ class CdkTable {
|
|
|
1399
1355
|
end: Number.MAX_VALUE,
|
|
1400
1356
|
});
|
|
1401
1357
|
this._injector = inject(Injector);
|
|
1358
|
+
const role = inject(new HostAttributeToken('role'), { optional: true });
|
|
1402
1359
|
if (!role) {
|
|
1403
|
-
_elementRef.nativeElement.setAttribute('role', 'table');
|
|
1360
|
+
this._elementRef.nativeElement.setAttribute('role', 'table');
|
|
1404
1361
|
}
|
|
1405
|
-
this.
|
|
1406
|
-
this.
|
|
1407
|
-
this._isNativeHtmlTable = _elementRef.nativeElement.nodeName === 'TABLE';
|
|
1362
|
+
this._isServer = !this._platform.isBrowser;
|
|
1363
|
+
this._isNativeHtmlTable = this._elementRef.nativeElement.nodeName === 'TABLE';
|
|
1408
1364
|
}
|
|
1409
1365
|
ngOnInit() {
|
|
1410
1366
|
this._setupStickyStyler();
|
|
@@ -2053,8 +2009,8 @@ class CdkTable {
|
|
|
2053
2009
|
this._isShowingNoDataRow = shouldShow;
|
|
2054
2010
|
this._changeDetectorRef.markForCheck();
|
|
2055
2011
|
}
|
|
2056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2057
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2013
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-next.10", type: CdkTable, isStandalone: true, selector: "cdk-table, table[cdk-table]", inputs: { trackBy: "trackBy", dataSource: "dataSource", multiTemplateDataRows: ["multiTemplateDataRows", "multiTemplateDataRows", booleanAttribute], fixedLayout: ["fixedLayout", "fixedLayout", booleanAttribute] }, outputs: { contentChanged: "contentChanged" }, host: { properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
|
|
2058
2014
|
{ provide: CDK_TABLE, useExisting: CdkTable },
|
|
2059
2015
|
{ provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
|
|
2060
2016
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
@@ -2062,7 +2018,7 @@ class CdkTable {
|
|
|
2062
2018
|
{ provide: STICKY_POSITIONING_LISTENER, useValue: null },
|
|
2063
2019
|
], queries: [{ propertyName: "_noDataRow", first: true, predicate: CdkNoDataRow, descendants: true }, { propertyName: "_contentColumnDefs", predicate: CdkColumnDef, descendants: true }, { propertyName: "_contentRowDefs", predicate: CdkRowDef, descendants: true }, { propertyName: "_contentHeaderRowDefs", predicate: CdkHeaderRowDef, descendants: true }, { propertyName: "_contentFooterRowDefs", predicate: CdkFooterRowDef, descendants: true }], exportAs: ["cdkTable"], ngImport: i0, template: "\n <ng-content select=\"caption\"/>\n <ng-content select=\"colgroup, col\"/>\n\n <!--\n Unprojected content throws a hydration error so we need this to capture it.\n It gets removed on the client so it doesn't affect the layout.\n -->\n @if (_isServer) {\n <ng-content/>\n }\n\n @if (_isNativeHtmlTable) {\n <thead role=\"rowgroup\">\n <ng-container headerRowOutlet/>\n </thead>\n <tbody role=\"rowgroup\">\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n </tbody>\n <tfoot role=\"rowgroup\">\n <ng-container footerRowOutlet/>\n </tfoot>\n } @else {\n <ng-container headerRowOutlet/>\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n <ng-container footerRowOutlet/>\n }\n", isInline: true, styles: [".cdk-table-fixed-layout{table-layout:fixed}"], dependencies: [{ kind: "directive", type: HeaderRowOutlet, selector: "[headerRowOutlet]" }, { kind: "directive", type: DataRowOutlet, selector: "[rowOutlet]" }, { kind: "directive", type: NoDataRowOutlet, selector: "[noDataRowOutlet]" }, { kind: "directive", type: FooterRowOutlet, selector: "[footerRowOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2064
2020
|
}
|
|
2065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTable, decorators: [{
|
|
2066
2022
|
type: Component,
|
|
2067
2023
|
args: [{ selector: 'cdk-table, table[cdk-table]', exportAs: 'cdkTable', template: CDK_TABLE_TEMPLATE, host: {
|
|
2068
2024
|
'class': 'cdk-table',
|
|
@@ -2073,31 +2029,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
2073
2029
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
2074
2030
|
// Prevent nested tables from seeing this table's StickyPositioningListener.
|
|
2075
2031
|
{ provide: STICKY_POSITIONING_LISTENER, useValue: null },
|
|
2076
|
-
],
|
|
2077
|
-
}], ctorParameters: () => [
|
|
2078
|
-
type: Attribute,
|
|
2079
|
-
args: ['role']
|
|
2080
|
-
}] }, { type: i1.Directionality, decorators: [{
|
|
2081
|
-
type: Optional
|
|
2082
|
-
}] }, { type: undefined, decorators: [{
|
|
2083
|
-
type: Inject,
|
|
2084
|
-
args: [DOCUMENT]
|
|
2085
|
-
}] }, { type: i2.Platform }, { type: undefined, decorators: [{
|
|
2086
|
-
type: Inject,
|
|
2087
|
-
args: [_VIEW_REPEATER_STRATEGY]
|
|
2088
|
-
}] }, { type: _CoalescedStyleScheduler, decorators: [{
|
|
2089
|
-
type: Inject,
|
|
2090
|
-
args: [_COALESCED_STYLE_SCHEDULER]
|
|
2091
|
-
}] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
|
|
2092
|
-
type: Optional
|
|
2093
|
-
}, {
|
|
2094
|
-
type: SkipSelf
|
|
2095
|
-
}, {
|
|
2096
|
-
type: Inject,
|
|
2097
|
-
args: [STICKY_POSITIONING_LISTENER]
|
|
2098
|
-
}] }, { type: i0.NgZone, decorators: [{
|
|
2099
|
-
type: Optional
|
|
2100
|
-
}] }], propDecorators: { trackBy: [{
|
|
2032
|
+
], imports: [HeaderRowOutlet, DataRowOutlet, NoDataRowOutlet, FooterRowOutlet], styles: [".cdk-table-fixed-layout{table-layout:fixed}"] }]
|
|
2033
|
+
}], ctorParameters: () => [], propDecorators: { trackBy: [{
|
|
2101
2034
|
type: Input
|
|
2102
2035
|
}], dataSource: [{
|
|
2103
2036
|
type: Input
|
|
@@ -2175,16 +2108,12 @@ class CdkTextColumn {
|
|
|
2175
2108
|
// available. In that case, we defer the synchronization until "ngOnInit" fires.
|
|
2176
2109
|
this._syncColumnDefName();
|
|
2177
2110
|
}
|
|
2178
|
-
constructor(
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
// tslint:disable-next-line: lightweight-tokens
|
|
2182
|
-
_table, _options) {
|
|
2183
|
-
this._table = _table;
|
|
2184
|
-
this._options = _options;
|
|
2111
|
+
constructor() {
|
|
2112
|
+
this._table = inject(CdkTable, { optional: true });
|
|
2113
|
+
this._options = inject(TEXT_COLUMN_OPTIONS, { optional: true });
|
|
2185
2114
|
/** Alignment of the cell values. */
|
|
2186
2115
|
this.justify = 'start';
|
|
2187
|
-
this._options = _options || {};
|
|
2116
|
+
this._options = this._options || {};
|
|
2188
2117
|
}
|
|
2189
2118
|
ngOnInit() {
|
|
2190
2119
|
this._syncColumnDefName();
|
|
@@ -2232,8 +2161,8 @@ class CdkTextColumn {
|
|
|
2232
2161
|
this.columnDef.name = this.name;
|
|
2233
2162
|
}
|
|
2234
2163
|
}
|
|
2235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2236
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTextColumn, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkTextColumn, isStandalone: true, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
2237
2166
|
<ng-container cdkColumnDef>
|
|
2238
2167
|
<th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
|
|
2239
2168
|
{{headerText}}
|
|
@@ -2244,7 +2173,7 @@ class CdkTextColumn {
|
|
|
2244
2173
|
</ng-container>
|
|
2245
2174
|
`, isInline: true, dependencies: [{ kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2246
2175
|
}
|
|
2247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTextColumn, decorators: [{
|
|
2248
2177
|
type: Component,
|
|
2249
2178
|
args: [{
|
|
2250
2179
|
selector: 'cdk-text-column',
|
|
@@ -2266,17 +2195,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
2266
2195
|
// an ExpressionChangedAfterItHasBeenCheckedError).
|
|
2267
2196
|
// tslint:disable-next-line:validate-decorators
|
|
2268
2197
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
2269
|
-
standalone: true,
|
|
2270
2198
|
imports: [CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCellDef, CdkCell],
|
|
2271
2199
|
}]
|
|
2272
|
-
}], ctorParameters: () => [
|
|
2273
|
-
type: Optional
|
|
2274
|
-
}] }, { type: undefined, decorators: [{
|
|
2275
|
-
type: Optional
|
|
2276
|
-
}, {
|
|
2277
|
-
type: Inject,
|
|
2278
|
-
args: [TEXT_COLUMN_OPTIONS]
|
|
2279
|
-
}] }], propDecorators: { name: [{
|
|
2200
|
+
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
2280
2201
|
type: Input
|
|
2281
2202
|
}], headerText: [{
|
|
2282
2203
|
type: Input
|
|
@@ -2320,8 +2241,8 @@ const EXPORTED_DECLARATIONS = [
|
|
|
2320
2241
|
NoDataRowOutlet,
|
|
2321
2242
|
];
|
|
2322
2243
|
class CdkTableModule {
|
|
2323
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2324
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2245
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule, CdkTable,
|
|
2325
2246
|
CdkRowDef,
|
|
2326
2247
|
CdkCellDef,
|
|
2327
2248
|
CdkCellOutlet,
|
|
@@ -2364,9 +2285,9 @@ class CdkTableModule {
|
|
|
2364
2285
|
CdkNoDataRow,
|
|
2365
2286
|
CdkRecycleRows,
|
|
2366
2287
|
NoDataRowOutlet] }); }
|
|
2367
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2288
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule] }); }
|
|
2368
2289
|
}
|
|
2369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTableModule, decorators: [{
|
|
2370
2291
|
type: NgModule,
|
|
2371
2292
|
args: [{
|
|
2372
2293
|
exports: EXPORTED_DECLARATIONS,
|