@angular/cdk 19.0.0-next.4 → 19.0.0-next.5
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.d.ts +19 -37
- 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 +6 -9
- package/drag-drop/index.d.ts +16 -33
- package/fesm2022/a11y.mjs +81 -139
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +11 -16
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +5 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +11 -18
- 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.map +1 -1
- package/fesm2022/dialog.mjs +25 -45
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +66 -125
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +13 -18
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +7 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +10 -10
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +73 -121
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +45 -44
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +59 -99
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -40
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +113 -171
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +20 -27
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +50 -53
- 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 +44 -11
- package/overlay/index.d.ts +16 -34
- package/overlay-prebuilt.css +1 -1
- package/package.json +1 -1
- package/portal/index.d.ts +21 -18
- 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 +2 -2
- package/schematics/utils/project-targets.mjs +2 -2
- 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 +17 -37
- package/stepper/index.d.ts +9 -11
- package/table/index.d.ts +36 -51
- package/text-field/index.d.ts +5 -9
- package/tree/index.d.ts +11 -13
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,10 +23,11 @@ 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: "19.0.0-next.3", ngImport: i0, type: CdkCellDef, deps: [
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
31
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCellDef, isStandalone: true, selector: "[cdkCellDef]", ngImport: i0 }); }
|
|
32
32
|
}
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellDef, decorators: [{
|
|
@@ -36,16 +36,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
36
36
|
selector: '[cdkCellDef]',
|
|
37
37
|
standalone: true,
|
|
38
38
|
}]
|
|
39
|
-
}], ctorParameters: () => [
|
|
39
|
+
}], ctorParameters: () => [] });
|
|
40
40
|
/**
|
|
41
41
|
* Header cell definition for a CDK table.
|
|
42
42
|
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
43
43
|
*/
|
|
44
44
|
class CdkHeaderCellDef {
|
|
45
|
-
constructor(
|
|
46
|
-
|
|
45
|
+
constructor() {
|
|
46
|
+
/** @docs-private */
|
|
47
|
+
this.template = inject(TemplateRef);
|
|
47
48
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCellDef, deps: [
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
49
50
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkHeaderCellDef, isStandalone: true, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
|
|
50
51
|
}
|
|
51
52
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
|
|
@@ -54,16 +55,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
54
55
|
selector: '[cdkHeaderCellDef]',
|
|
55
56
|
standalone: true,
|
|
56
57
|
}]
|
|
57
|
-
}], ctorParameters: () => [
|
|
58
|
+
}], ctorParameters: () => [] });
|
|
58
59
|
/**
|
|
59
60
|
* Footer cell definition for a CDK table.
|
|
60
61
|
* Captures the template of a column's footer cell and as well as cell-specific properties.
|
|
61
62
|
*/
|
|
62
63
|
class CdkFooterCellDef {
|
|
63
|
-
constructor(
|
|
64
|
-
|
|
64
|
+
constructor() {
|
|
65
|
+
/** @docs-private */
|
|
66
|
+
this.template = inject(TemplateRef);
|
|
65
67
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCellDef, deps: [
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCellDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
67
69
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkFooterCellDef, isStandalone: true, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
|
|
68
70
|
}
|
|
69
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCellDef, decorators: [{
|
|
@@ -72,7 +74,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
72
74
|
selector: '[cdkFooterCellDef]',
|
|
73
75
|
standalone: true,
|
|
74
76
|
}]
|
|
75
|
-
}], ctorParameters: () => [
|
|
77
|
+
}], ctorParameters: () => [] });
|
|
76
78
|
/**
|
|
77
79
|
* Column definition for the CDK table.
|
|
78
80
|
* Defines a set of cells available for a table column.
|
|
@@ -109,8 +111,8 @@ class CdkColumnDef {
|
|
|
109
111
|
this._hasStickyChanged = true;
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
|
-
constructor(
|
|
113
|
-
this._table =
|
|
114
|
+
constructor() {
|
|
115
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
114
116
|
this._hasStickyChanged = false;
|
|
115
117
|
this._sticky = false;
|
|
116
118
|
this._stickyEnd = false;
|
|
@@ -150,7 +152,7 @@ class CdkColumnDef {
|
|
|
150
152
|
this._updateColumnCssClassName();
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnDef, deps: [
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
154
156
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", 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
157
|
}
|
|
156
158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnDef, decorators: [{
|
|
@@ -160,12 +162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
160
162
|
providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
|
|
161
163
|
standalone: true,
|
|
162
164
|
}]
|
|
163
|
-
}], ctorParameters: () => [
|
|
164
|
-
type: Inject,
|
|
165
|
-
args: [CDK_TABLE]
|
|
166
|
-
}, {
|
|
167
|
-
type: Optional
|
|
168
|
-
}] }], propDecorators: { name: [{
|
|
165
|
+
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
169
166
|
type: Input,
|
|
170
167
|
args: ['cdkColumnDef']
|
|
171
168
|
}], sticky: [{
|
|
@@ -192,10 +189,10 @@ class BaseCdkCell {
|
|
|
192
189
|
}
|
|
193
190
|
/** Header cell template container that adds the right classes and role. */
|
|
194
191
|
class CdkHeaderCell extends BaseCdkCell {
|
|
195
|
-
constructor(
|
|
196
|
-
super(
|
|
192
|
+
constructor() {
|
|
193
|
+
super(inject(CdkColumnDef), inject(ElementRef));
|
|
197
194
|
}
|
|
198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCell, deps: [
|
|
195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
199
196
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", 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
197
|
}
|
|
201
198
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderCell, decorators: [{
|
|
@@ -208,17 +205,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
208
205
|
},
|
|
209
206
|
standalone: true,
|
|
210
207
|
}]
|
|
211
|
-
}], ctorParameters: () => [
|
|
208
|
+
}], ctorParameters: () => [] });
|
|
212
209
|
/** Footer cell template container that adds the right classes and role. */
|
|
213
210
|
class CdkFooterCell extends BaseCdkCell {
|
|
214
|
-
constructor(
|
|
211
|
+
constructor() {
|
|
212
|
+
const columnDef = inject(CdkColumnDef);
|
|
213
|
+
const elementRef = inject(ElementRef);
|
|
215
214
|
super(columnDef, elementRef);
|
|
216
215
|
const role = columnDef._table?._getCellRole();
|
|
217
216
|
if (role) {
|
|
218
217
|
elementRef.nativeElement.setAttribute('role', role);
|
|
219
218
|
}
|
|
220
219
|
}
|
|
221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCell, deps: [
|
|
220
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
222
221
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkFooterCell, isStandalone: true, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
223
222
|
}
|
|
224
223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterCell, decorators: [{
|
|
@@ -230,17 +229,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
230
229
|
},
|
|
231
230
|
standalone: true,
|
|
232
231
|
}]
|
|
233
|
-
}], ctorParameters: () => [
|
|
232
|
+
}], ctorParameters: () => [] });
|
|
234
233
|
/** Cell template container that adds the right classes and role. */
|
|
235
234
|
class CdkCell extends BaseCdkCell {
|
|
236
|
-
constructor(
|
|
235
|
+
constructor() {
|
|
236
|
+
const columnDef = inject(CdkColumnDef);
|
|
237
|
+
const elementRef = inject(ElementRef);
|
|
237
238
|
super(columnDef, elementRef);
|
|
238
239
|
const role = columnDef._table?._getCellRole();
|
|
239
240
|
if (role) {
|
|
240
241
|
elementRef.nativeElement.setAttribute('role', role);
|
|
241
242
|
}
|
|
242
243
|
}
|
|
243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCell, deps: [
|
|
244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
244
245
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCell, isStandalone: true, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
245
246
|
}
|
|
246
247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCell, decorators: [{
|
|
@@ -252,7 +253,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
252
253
|
},
|
|
253
254
|
standalone: true,
|
|
254
255
|
}]
|
|
255
|
-
}], ctorParameters: () => [
|
|
256
|
+
}], ctorParameters: () => [] });
|
|
256
257
|
|
|
257
258
|
/**
|
|
258
259
|
* @docs-private
|
|
@@ -273,7 +274,7 @@ const _COALESCED_STYLE_SCHEDULER = new InjectionToken('_COALESCED_STYLE_SCHEDULE
|
|
|
273
274
|
* @docs-private
|
|
274
275
|
*/
|
|
275
276
|
class _CoalescedStyleScheduler {
|
|
276
|
-
constructor(
|
|
277
|
+
constructor() {
|
|
277
278
|
this._currentSchedule = null;
|
|
278
279
|
this._ngZone = inject(NgZone);
|
|
279
280
|
}
|
|
@@ -317,12 +318,12 @@ class _CoalescedStyleScheduler {
|
|
|
317
318
|
this._currentSchedule = null;
|
|
318
319
|
}));
|
|
319
320
|
}
|
|
320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler, deps: [
|
|
321
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
321
322
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler }); }
|
|
322
323
|
}
|
|
323
324
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
|
|
324
325
|
type: Injectable
|
|
325
|
-
}], ctorParameters: () => [
|
|
326
|
+
}], ctorParameters: () => [] });
|
|
326
327
|
|
|
327
328
|
/**
|
|
328
329
|
* The row template that can be used by the mat-table. Should not be used outside of the
|
|
@@ -334,10 +335,9 @@ const CDK_ROW_TEMPLATE = `<ng-container cdkCellOutlet></ng-container>`;
|
|
|
334
335
|
* for changes and notifying the table.
|
|
335
336
|
*/
|
|
336
337
|
class BaseRowDef {
|
|
337
|
-
constructor(
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
this._differs = _differs;
|
|
338
|
+
constructor() {
|
|
339
|
+
this.template = inject(TemplateRef);
|
|
340
|
+
this._differs = inject(IterableDiffers);
|
|
341
341
|
}
|
|
342
342
|
ngOnChanges(changes) {
|
|
343
343
|
// Create a new columns differ if one does not yet exist. Initialize it based on initial value
|
|
@@ -367,12 +367,12 @@ class BaseRowDef {
|
|
|
367
367
|
return column.cell.template;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: BaseRowDef, deps: [
|
|
370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: BaseRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
371
371
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: BaseRowDef, usesOnChanges: true, ngImport: i0 }); }
|
|
372
372
|
}
|
|
373
373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: BaseRowDef, decorators: [{
|
|
374
374
|
type: Directive
|
|
375
|
-
}], ctorParameters: () => [
|
|
375
|
+
}], ctorParameters: () => [] });
|
|
376
376
|
/**
|
|
377
377
|
* Header row definition for the CDK table.
|
|
378
378
|
* Captures the header row's template and other header properties such as the columns to display.
|
|
@@ -388,9 +388,9 @@ class CdkHeaderRowDef extends BaseRowDef {
|
|
|
388
388
|
this._hasStickyChanged = true;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
constructor(
|
|
392
|
-
super(
|
|
393
|
-
this._table =
|
|
391
|
+
constructor() {
|
|
392
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
393
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
394
394
|
this._hasStickyChanged = false;
|
|
395
395
|
this._sticky = false;
|
|
396
396
|
}
|
|
@@ -409,7 +409,7 @@ class CdkHeaderRowDef extends BaseRowDef {
|
|
|
409
409
|
resetStickyChanged() {
|
|
410
410
|
this._hasStickyChanged = false;
|
|
411
411
|
}
|
|
412
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRowDef, deps: [
|
|
412
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
413
413
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkHeaderRowDef, isStandalone: true, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
414
414
|
}
|
|
415
415
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
|
|
@@ -419,12 +419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
419
419
|
inputs: [{ name: 'columns', alias: 'cdkHeaderRowDef' }],
|
|
420
420
|
standalone: true,
|
|
421
421
|
}]
|
|
422
|
-
}], ctorParameters: () => [
|
|
423
|
-
type: Inject,
|
|
424
|
-
args: [CDK_TABLE]
|
|
425
|
-
}, {
|
|
426
|
-
type: Optional
|
|
427
|
-
}] }], propDecorators: { sticky: [{
|
|
422
|
+
}], ctorParameters: () => [], propDecorators: { sticky: [{
|
|
428
423
|
type: Input,
|
|
429
424
|
args: [{ alias: 'cdkHeaderRowDefSticky', transform: booleanAttribute }]
|
|
430
425
|
}] } });
|
|
@@ -443,9 +438,9 @@ class CdkFooterRowDef extends BaseRowDef {
|
|
|
443
438
|
this._hasStickyChanged = true;
|
|
444
439
|
}
|
|
445
440
|
}
|
|
446
|
-
constructor(
|
|
447
|
-
super(
|
|
448
|
-
this._table =
|
|
441
|
+
constructor() {
|
|
442
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
443
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
449
444
|
this._hasStickyChanged = false;
|
|
450
445
|
this._sticky = false;
|
|
451
446
|
}
|
|
@@ -464,7 +459,7 @@ class CdkFooterRowDef extends BaseRowDef {
|
|
|
464
459
|
resetStickyChanged() {
|
|
465
460
|
this._hasStickyChanged = false;
|
|
466
461
|
}
|
|
467
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRowDef, deps: [
|
|
462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
468
463
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkFooterRowDef, isStandalone: true, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky", booleanAttribute] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
469
464
|
}
|
|
470
465
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFooterRowDef, decorators: [{
|
|
@@ -474,12 +469,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
474
469
|
inputs: [{ name: 'columns', alias: 'cdkFooterRowDef' }],
|
|
475
470
|
standalone: true,
|
|
476
471
|
}]
|
|
477
|
-
}], ctorParameters: () => [
|
|
478
|
-
type: Inject,
|
|
479
|
-
args: [CDK_TABLE]
|
|
480
|
-
}, {
|
|
481
|
-
type: Optional
|
|
482
|
-
}] }], propDecorators: { sticky: [{
|
|
472
|
+
}], ctorParameters: () => [], propDecorators: { sticky: [{
|
|
483
473
|
type: Input,
|
|
484
474
|
args: [{ alias: 'cdkFooterRowDefSticky', transform: booleanAttribute }]
|
|
485
475
|
}] } });
|
|
@@ -489,13 +479,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
489
479
|
* a when predicate that describes when this row should be used.
|
|
490
480
|
*/
|
|
491
481
|
class CdkRowDef extends BaseRowDef {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
super(
|
|
496
|
-
this._table =
|
|
482
|
+
constructor() {
|
|
483
|
+
// TODO(andrewseguin): Add an input for providing a switch function to determine
|
|
484
|
+
// if this template should be used.
|
|
485
|
+
super(inject(TemplateRef), inject(IterableDiffers));
|
|
486
|
+
this._table = inject(CDK_TABLE, { optional: true });
|
|
497
487
|
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRowDef, deps: [
|
|
488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRowDef, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
499
489
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkRowDef, isStandalone: true, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
|
|
500
490
|
}
|
|
501
491
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkRowDef, decorators: [{
|
|
@@ -508,12 +498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
508
498
|
],
|
|
509
499
|
standalone: true,
|
|
510
500
|
}]
|
|
511
|
-
}], ctorParameters: () => [
|
|
512
|
-
type: Inject,
|
|
513
|
-
args: [CDK_TABLE]
|
|
514
|
-
}, {
|
|
515
|
-
type: Optional
|
|
516
|
-
}] }] });
|
|
501
|
+
}], ctorParameters: () => [] });
|
|
517
502
|
/**
|
|
518
503
|
* Outlet for rendering cells inside of a row or header row.
|
|
519
504
|
* @docs-private
|
|
@@ -527,8 +512,8 @@ class CdkCellOutlet {
|
|
|
527
512
|
* construct the cells with the provided context.
|
|
528
513
|
*/
|
|
529
514
|
static { this.mostRecentCellOutlet = null; }
|
|
530
|
-
constructor(
|
|
531
|
-
this._viewContainer =
|
|
515
|
+
constructor() {
|
|
516
|
+
this._viewContainer = inject(ViewContainerRef);
|
|
532
517
|
CdkCellOutlet.mostRecentCellOutlet = this;
|
|
533
518
|
}
|
|
534
519
|
ngOnDestroy() {
|
|
@@ -538,7 +523,7 @@ class CdkCellOutlet {
|
|
|
538
523
|
CdkCellOutlet.mostRecentCellOutlet = null;
|
|
539
524
|
}
|
|
540
525
|
}
|
|
541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellOutlet, deps: [
|
|
526
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
542
527
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkCellOutlet, isStandalone: true, selector: "[cdkCellOutlet]", ngImport: i0 }); }
|
|
543
528
|
}
|
|
544
529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkCellOutlet, decorators: [{
|
|
@@ -547,7 +532,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
547
532
|
selector: '[cdkCellOutlet]',
|
|
548
533
|
standalone: true,
|
|
549
534
|
}]
|
|
550
|
-
}], ctorParameters: () => [
|
|
535
|
+
}], ctorParameters: () => [] });
|
|
551
536
|
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
552
537
|
class CdkHeaderRow {
|
|
553
538
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -616,11 +601,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
616
601
|
}] });
|
|
617
602
|
/** Row that can be used to display a message when no data is shown in the table. */
|
|
618
603
|
class CdkNoDataRow {
|
|
619
|
-
constructor(
|
|
620
|
-
this.templateRef =
|
|
604
|
+
constructor() {
|
|
605
|
+
this.templateRef = inject(TemplateRef);
|
|
621
606
|
this._contentClassName = 'cdk-no-data-row';
|
|
622
607
|
}
|
|
623
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkNoDataRow, deps: [
|
|
608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkNoDataRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
624
609
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkNoDataRow, isStandalone: true, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
|
|
625
610
|
}
|
|
626
611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkNoDataRow, decorators: [{
|
|
@@ -629,7 +614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
629
614
|
selector: 'ng-template[cdkNoDataRow]',
|
|
630
615
|
standalone: true,
|
|
631
616
|
}]
|
|
632
|
-
}], ctorParameters: () => [
|
|
617
|
+
}], ctorParameters: () => [] });
|
|
633
618
|
|
|
634
619
|
/**
|
|
635
620
|
* List of all possible directions that can be used for sticky positioning.
|
|
@@ -1055,14 +1040,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
1055
1040
|
* @docs-private
|
|
1056
1041
|
*/
|
|
1057
1042
|
class DataRowOutlet {
|
|
1058
|
-
constructor(
|
|
1059
|
-
this.viewContainer =
|
|
1060
|
-
this.elementRef =
|
|
1043
|
+
constructor() {
|
|
1044
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1045
|
+
this.elementRef = inject(ElementRef);
|
|
1061
1046
|
const table = inject(CDK_TABLE);
|
|
1062
1047
|
table._rowOutlet = this;
|
|
1063
1048
|
table._outletAssigned();
|
|
1064
1049
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DataRowOutlet, deps: [
|
|
1050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1066
1051
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: DataRowOutlet, isStandalone: true, selector: "[rowOutlet]", ngImport: i0 }); }
|
|
1067
1052
|
}
|
|
1068
1053
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DataRowOutlet, decorators: [{
|
|
@@ -1071,20 +1056,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
1071
1056
|
selector: '[rowOutlet]',
|
|
1072
1057
|
standalone: true,
|
|
1073
1058
|
}]
|
|
1074
|
-
}], ctorParameters: () => [
|
|
1059
|
+
}], ctorParameters: () => [] });
|
|
1075
1060
|
/**
|
|
1076
1061
|
* Provides a handle for the table to grab the view container's ng-container to insert the header.
|
|
1077
1062
|
* @docs-private
|
|
1078
1063
|
*/
|
|
1079
1064
|
class HeaderRowOutlet {
|
|
1080
|
-
constructor(
|
|
1081
|
-
this.viewContainer =
|
|
1082
|
-
this.elementRef =
|
|
1065
|
+
constructor() {
|
|
1066
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1067
|
+
this.elementRef = inject(ElementRef);
|
|
1083
1068
|
const table = inject(CDK_TABLE);
|
|
1084
1069
|
table._headerRowOutlet = this;
|
|
1085
1070
|
table._outletAssigned();
|
|
1086
1071
|
}
|
|
1087
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowOutlet, deps: [
|
|
1072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1088
1073
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: HeaderRowOutlet, isStandalone: true, selector: "[headerRowOutlet]", ngImport: i0 }); }
|
|
1089
1074
|
}
|
|
1090
1075
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowOutlet, decorators: [{
|
|
@@ -1093,20 +1078,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
1093
1078
|
selector: '[headerRowOutlet]',
|
|
1094
1079
|
standalone: true,
|
|
1095
1080
|
}]
|
|
1096
|
-
}], ctorParameters: () => [
|
|
1081
|
+
}], ctorParameters: () => [] });
|
|
1097
1082
|
/**
|
|
1098
1083
|
* Provides a handle for the table to grab the view container's ng-container to insert the footer.
|
|
1099
1084
|
* @docs-private
|
|
1100
1085
|
*/
|
|
1101
1086
|
class FooterRowOutlet {
|
|
1102
|
-
constructor(
|
|
1103
|
-
this.viewContainer =
|
|
1104
|
-
this.elementRef =
|
|
1087
|
+
constructor() {
|
|
1088
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1089
|
+
this.elementRef = inject(ElementRef);
|
|
1105
1090
|
const table = inject(CDK_TABLE);
|
|
1106
1091
|
table._footerRowOutlet = this;
|
|
1107
1092
|
table._outletAssigned();
|
|
1108
1093
|
}
|
|
1109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: FooterRowOutlet, deps: [
|
|
1094
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: FooterRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1110
1095
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: FooterRowOutlet, isStandalone: true, selector: "[footerRowOutlet]", ngImport: i0 }); }
|
|
1111
1096
|
}
|
|
1112
1097
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: FooterRowOutlet, decorators: [{
|
|
@@ -1115,21 +1100,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
1115
1100
|
selector: '[footerRowOutlet]',
|
|
1116
1101
|
standalone: true,
|
|
1117
1102
|
}]
|
|
1118
|
-
}], ctorParameters: () => [
|
|
1103
|
+
}], ctorParameters: () => [] });
|
|
1119
1104
|
/**
|
|
1120
1105
|
* Provides a handle for the table to grab the view
|
|
1121
1106
|
* container's ng-container to insert the no data row.
|
|
1122
1107
|
* @docs-private
|
|
1123
1108
|
*/
|
|
1124
1109
|
class NoDataRowOutlet {
|
|
1125
|
-
constructor(
|
|
1126
|
-
this.viewContainer =
|
|
1127
|
-
this.elementRef =
|
|
1110
|
+
constructor() {
|
|
1111
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
1112
|
+
this.elementRef = inject(ElementRef);
|
|
1128
1113
|
const table = inject(CDK_TABLE);
|
|
1129
1114
|
table._noDataRowOutlet = this;
|
|
1130
1115
|
table._outletAssigned();
|
|
1131
1116
|
}
|
|
1132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: NoDataRowOutlet, deps: [
|
|
1117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: NoDataRowOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1133
1118
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: NoDataRowOutlet, isStandalone: true, selector: "[noDataRowOutlet]", ngImport: i0 }); }
|
|
1134
1119
|
}
|
|
1135
1120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: NoDataRowOutlet, decorators: [{
|
|
@@ -1138,7 +1123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
1138
1123
|
selector: '[noDataRowOutlet]',
|
|
1139
1124
|
standalone: true,
|
|
1140
1125
|
}]
|
|
1141
|
-
}], ctorParameters: () => [
|
|
1126
|
+
}], ctorParameters: () => [] });
|
|
1142
1127
|
/**
|
|
1143
1128
|
* The table template that can be used by the mat-table. Should not be used outside of the
|
|
1144
1129
|
* material library.
|
|
@@ -1274,26 +1259,17 @@ class CdkTable {
|
|
|
1274
1259
|
this._forceRecalculateCellWidths = true;
|
|
1275
1260
|
this._stickyColumnStylesNeedReset = true;
|
|
1276
1261
|
}
|
|
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;
|
|
1262
|
+
constructor() {
|
|
1263
|
+
this._differs = inject(IterableDiffers);
|
|
1264
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
1265
|
+
this._elementRef = inject(ElementRef);
|
|
1266
|
+
this._dir = inject(Directionality, { optional: true });
|
|
1267
|
+
this._platform = inject(Platform);
|
|
1268
|
+
this._viewRepeater = inject(_VIEW_REPEATER_STRATEGY);
|
|
1269
|
+
this._coalescedStyleScheduler = inject(_COALESCED_STYLE_SCHEDULER);
|
|
1270
|
+
this._viewportRuler = inject(ViewportRuler);
|
|
1271
|
+
this._stickyPositioningListener = inject(STICKY_POSITIONING_LISTENER, { optional: true, skipSelf: true });
|
|
1272
|
+
this._document = inject(DOCUMENT);
|
|
1297
1273
|
/** Subject that emits when the component has been destroyed. */
|
|
1298
1274
|
this._onDestroy = new Subject();
|
|
1299
1275
|
/**
|
|
@@ -1399,12 +1375,12 @@ class CdkTable {
|
|
|
1399
1375
|
end: Number.MAX_VALUE,
|
|
1400
1376
|
});
|
|
1401
1377
|
this._injector = inject(Injector);
|
|
1378
|
+
const role = inject(new HostAttributeToken('role'), { optional: true });
|
|
1402
1379
|
if (!role) {
|
|
1403
|
-
_elementRef.nativeElement.setAttribute('role', 'table');
|
|
1380
|
+
this._elementRef.nativeElement.setAttribute('role', 'table');
|
|
1404
1381
|
}
|
|
1405
|
-
this.
|
|
1406
|
-
this.
|
|
1407
|
-
this._isNativeHtmlTable = _elementRef.nativeElement.nodeName === 'TABLE';
|
|
1382
|
+
this._isServer = !this._platform.isBrowser;
|
|
1383
|
+
this._isNativeHtmlTable = this._elementRef.nativeElement.nodeName === 'TABLE';
|
|
1408
1384
|
}
|
|
1409
1385
|
ngOnInit() {
|
|
1410
1386
|
this._setupStickyStyler();
|
|
@@ -2053,7 +2029,7 @@ class CdkTable {
|
|
|
2053
2029
|
this._isShowingNoDataRow = shouldShow;
|
|
2054
2030
|
this._changeDetectorRef.markForCheck();
|
|
2055
2031
|
}
|
|
2056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTable, deps: [
|
|
2032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2057
2033
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-next.3", 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
2034
|
{ provide: CDK_TABLE, useExisting: CdkTable },
|
|
2059
2035
|
{ provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
|
|
@@ -2074,30 +2050,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
2074
2050
|
// Prevent nested tables from seeing this table's StickyPositioningListener.
|
|
2075
2051
|
{ provide: STICKY_POSITIONING_LISTENER, useValue: null },
|
|
2076
2052
|
], standalone: true, imports: [HeaderRowOutlet, DataRowOutlet, NoDataRowOutlet, FooterRowOutlet], styles: [".cdk-table-fixed-layout{table-layout:fixed}"] }]
|
|
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: [{
|
|
2053
|
+
}], ctorParameters: () => [], propDecorators: { trackBy: [{
|
|
2101
2054
|
type: Input
|
|
2102
2055
|
}], dataSource: [{
|
|
2103
2056
|
type: Input
|
|
@@ -2175,16 +2128,12 @@ class CdkTextColumn {
|
|
|
2175
2128
|
// available. In that case, we defer the synchronization until "ngOnInit" fires.
|
|
2176
2129
|
this._syncColumnDefName();
|
|
2177
2130
|
}
|
|
2178
|
-
constructor(
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
// tslint:disable-next-line: lightweight-tokens
|
|
2182
|
-
_table, _options) {
|
|
2183
|
-
this._table = _table;
|
|
2184
|
-
this._options = _options;
|
|
2131
|
+
constructor() {
|
|
2132
|
+
this._table = inject(CdkTable, { optional: true });
|
|
2133
|
+
this._options = inject(TEXT_COLUMN_OPTIONS, { optional: true });
|
|
2185
2134
|
/** Alignment of the cell values. */
|
|
2186
2135
|
this.justify = 'start';
|
|
2187
|
-
this._options = _options || {};
|
|
2136
|
+
this._options = this._options || {};
|
|
2188
2137
|
}
|
|
2189
2138
|
ngOnInit() {
|
|
2190
2139
|
this._syncColumnDefName();
|
|
@@ -2232,7 +2181,7 @@ class CdkTextColumn {
|
|
|
2232
2181
|
this.columnDef.name = this.name;
|
|
2233
2182
|
}
|
|
2234
2183
|
}
|
|
2235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTextColumn, deps: [
|
|
2184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkTextColumn, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2236
2185
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", 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
2186
|
<ng-container cdkColumnDef>
|
|
2238
2187
|
<th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
|
|
@@ -2269,14 +2218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
|
|
|
2269
2218
|
standalone: true,
|
|
2270
2219
|
imports: [CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCellDef, CdkCell],
|
|
2271
2220
|
}]
|
|
2272
|
-
}], ctorParameters: () => [
|
|
2273
|
-
type: Optional
|
|
2274
|
-
}] }, { type: undefined, decorators: [{
|
|
2275
|
-
type: Optional
|
|
2276
|
-
}, {
|
|
2277
|
-
type: Inject,
|
|
2278
|
-
args: [TEXT_COLUMN_OPTIONS]
|
|
2279
|
-
}] }], propDecorators: { name: [{
|
|
2221
|
+
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
2280
2222
|
type: Input
|
|
2281
2223
|
}], headerText: [{
|
|
2282
2224
|
type: Input
|