@angular/cdk 17.0.2 → 17.1.0-next.1
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 +10 -10
- package/accordion/index.d.ts +3 -3
- package/bidi/index.d.ts +2 -2
- package/clipboard/index.d.ts +2 -2
- package/collections/index.d.ts +1 -1
- package/esm2022/a11y/a11y-module.mjs +3 -4
- package/esm2022/a11y/focus-monitor/focus-monitor.mjs +21 -5
- package/esm2022/a11y/focus-trap/focus-trap.mjs +3 -2
- package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +14 -7
- package/esm2022/a11y/live-announcer/live-announcer.mjs +3 -2
- package/esm2022/a11y/public-api.mjs +2 -2
- package/esm2022/accordion/accordion-item.mjs +3 -2
- package/esm2022/accordion/accordion-module.mjs +3 -3
- package/esm2022/accordion/accordion.mjs +3 -2
- package/esm2022/bidi/bidi-module.mjs +3 -3
- package/esm2022/bidi/dir.mjs +3 -2
- package/esm2022/clipboard/clipboard-module.mjs +3 -3
- package/esm2022/clipboard/copy-to-clipboard.mjs +3 -2
- package/esm2022/clipboard/pending-copy.mjs +1 -1
- package/esm2022/collections/dispose-view-repeater-strategy.mjs +5 -4
- package/esm2022/collections/recycle-view-repeater-strategy.mjs +5 -4
- package/esm2022/collections/view-repeater.mjs +13 -1
- package/esm2022/dialog/dialog-container.mjs +5 -6
- package/esm2022/dialog/dialog-module.mjs +2 -2
- package/esm2022/drag-drop/drag-drop-registry.mjs +1 -1
- package/esm2022/drag-drop/drop-list-ref.mjs +37 -23
- package/esm2022/layout/breakpoints-observer.mjs +1 -1
- package/esm2022/menu/menu-bar.mjs +5 -5
- package/esm2022/menu/menu-base.mjs +3 -2
- package/esm2022/menu/menu-item-selectable.mjs +3 -2
- package/esm2022/menu/menu-item.mjs +5 -5
- package/esm2022/menu/menu-stack.mjs +8 -1
- package/esm2022/menu/menu-trigger-base.mjs +3 -2
- package/esm2022/menu/menu.mjs +6 -6
- package/esm2022/observers/observe-content.mjs +5 -4
- package/esm2022/overlay/overlay-container.mjs +1 -1
- package/esm2022/overlay/overlay-directives.mjs +9 -3
- package/esm2022/overlay/scroll/block-scroll-strategy.mjs +1 -1
- package/esm2022/platform/features/scrolling.mjs +23 -4
- package/esm2022/portal/portal-directives.mjs +11 -7
- package/esm2022/portal/portal-injector.mjs +1 -1
- package/esm2022/scrolling/scrollable.mjs +7 -7
- package/esm2022/stepper/step-header.mjs +3 -2
- package/esm2022/stepper/step-label.mjs +3 -2
- package/esm2022/stepper/stepper-button.mjs +5 -3
- package/esm2022/stepper/stepper-module.mjs +7 -6
- package/esm2022/stepper/stepper.mjs +5 -3
- package/esm2022/table/cell.mjs +24 -11
- package/esm2022/table/row.mjs +23 -10
- package/esm2022/table/table-module.mjs +4 -5
- package/esm2022/table/table.mjs +28 -15
- package/esm2022/table/text-column.mjs +6 -5
- package/esm2022/text-field/autofill.mjs +3 -2
- package/esm2022/text-field/autosize.mjs +3 -2
- package/esm2022/text-field/text-field-module.mjs +3 -3
- package/esm2022/tree/nested-node.mjs +3 -3
- package/esm2022/tree/node.mjs +3 -2
- package/esm2022/tree/outlet.mjs +3 -2
- package/esm2022/tree/padding.mjs +7 -7
- package/esm2022/tree/toggle.mjs +7 -13
- package/esm2022/tree/tree-module.mjs +3 -3
- package/esm2022/tree/tree.mjs +8 -7
- package/esm2022/version.mjs +1 -1
- package/fesm2022/a11y.mjs +40 -16
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +6 -4
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +4 -3
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +4 -3
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +26 -14
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +5 -6
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +36 -22
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/menu.mjs +24 -14
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers.mjs +4 -3
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +8 -2
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +23 -4
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +10 -6
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +6 -6
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +18 -11
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +79 -39
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +6 -4
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/menu/index.d.ts +4 -4
- package/observers/index.d.ts +2 -2
- package/package.json +3 -3
- package/platform/index.d.ts +1 -1
- package/portal/index.d.ts +5 -5
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/update-tool/target-version.js +1 -2
- package/schematics/update-tool/target-version.mjs +1 -2
- package/stepper/index.d.ts +12 -12
- package/table/index.d.ts +28 -28
- package/text-field/index.d.ts +3 -3
- package/tree/index.d.ts +13 -15
package/fesm2022/table.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i1 from '@angular/cdk/bidi';
|
|
2
|
-
import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';
|
|
2
|
+
import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _ViewRepeaterOperation, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';
|
|
3
3
|
export { DataSource } from '@angular/cdk/collections';
|
|
4
4
|
import * as i2 from '@angular/cdk/platform';
|
|
5
5
|
import * as i3 from '@angular/cdk/scrolling';
|
|
@@ -64,11 +64,14 @@ class CdkCellDef {
|
|
|
64
64
|
this.template = template;
|
|
65
65
|
}
|
|
66
66
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
67
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCellDef, selector: "[cdkCellDef]", ngImport: i0 }); }
|
|
67
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCellDef, isStandalone: true, selector: "[cdkCellDef]", ngImport: i0 }); }
|
|
68
68
|
}
|
|
69
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCellDef, decorators: [{
|
|
70
70
|
type: Directive,
|
|
71
|
-
args: [{
|
|
71
|
+
args: [{
|
|
72
|
+
selector: '[cdkCellDef]',
|
|
73
|
+
standalone: true,
|
|
74
|
+
}]
|
|
72
75
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
73
76
|
/**
|
|
74
77
|
* Header cell definition for a CDK table.
|
|
@@ -79,11 +82,14 @@ class CdkHeaderCellDef {
|
|
|
79
82
|
this.template = template;
|
|
80
83
|
}
|
|
81
84
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
82
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
|
|
85
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderCellDef, isStandalone: true, selector: "[cdkHeaderCellDef]", ngImport: i0 }); }
|
|
83
86
|
}
|
|
84
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderCellDef, decorators: [{
|
|
85
88
|
type: Directive,
|
|
86
|
-
args: [{
|
|
89
|
+
args: [{
|
|
90
|
+
selector: '[cdkHeaderCellDef]',
|
|
91
|
+
standalone: true,
|
|
92
|
+
}]
|
|
87
93
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
88
94
|
/**
|
|
89
95
|
* Footer cell definition for a CDK table.
|
|
@@ -94,11 +100,14 @@ class CdkFooterCellDef {
|
|
|
94
100
|
this.template = template;
|
|
95
101
|
}
|
|
96
102
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
97
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterCellDef, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
|
|
103
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterCellDef, isStandalone: true, selector: "[cdkFooterCellDef]", ngImport: i0 }); }
|
|
98
104
|
}
|
|
99
105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterCellDef, decorators: [{
|
|
100
106
|
type: Directive,
|
|
101
|
-
args: [{
|
|
107
|
+
args: [{
|
|
108
|
+
selector: '[cdkFooterCellDef]',
|
|
109
|
+
standalone: true,
|
|
110
|
+
}]
|
|
102
111
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
103
112
|
// Boilerplate for applying mixins to CdkColumnDef.
|
|
104
113
|
/** @docs-private */
|
|
@@ -162,7 +171,7 @@ class CdkColumnDef extends _CdkColumnDefBase {
|
|
|
162
171
|
}
|
|
163
172
|
}
|
|
164
173
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkColumnDef, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
165
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.4", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: { sticky: "sticky", name: ["cdkColumnDef", "name"], 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 }], usesInheritance: true, ngImport: i0 }); }
|
|
174
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.4", type: CdkColumnDef, isStandalone: true, selector: "[cdkColumnDef]", inputs: { sticky: "sticky", name: ["cdkColumnDef", "name"], 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 }], usesInheritance: true, ngImport: i0 }); }
|
|
166
175
|
}
|
|
167
176
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkColumnDef, decorators: [{
|
|
168
177
|
type: Directive,
|
|
@@ -170,6 +179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
170
179
|
selector: '[cdkColumnDef]',
|
|
171
180
|
inputs: ['sticky'],
|
|
172
181
|
providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],
|
|
182
|
+
standalone: true,
|
|
173
183
|
}]
|
|
174
184
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
175
185
|
type: Inject,
|
|
@@ -204,7 +214,7 @@ class CdkHeaderCell extends BaseCdkCell {
|
|
|
204
214
|
super(columnDef, elementRef);
|
|
205
215
|
}
|
|
206
216
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
207
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
217
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderCell, isStandalone: true, selector: "cdk-header-cell, th[cdk-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "cdk-header-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
208
218
|
}
|
|
209
219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderCell, decorators: [{
|
|
210
220
|
type: Directive,
|
|
@@ -214,6 +224,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
214
224
|
'class': 'cdk-header-cell',
|
|
215
225
|
'role': 'columnheader',
|
|
216
226
|
},
|
|
227
|
+
standalone: true,
|
|
217
228
|
}]
|
|
218
229
|
}], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
|
|
219
230
|
/** Footer cell template container that adds the right classes and role. */
|
|
@@ -227,7 +238,7 @@ class CdkFooterCell extends BaseCdkCell {
|
|
|
227
238
|
}
|
|
228
239
|
}
|
|
229
240
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
230
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterCell, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
241
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterCell, isStandalone: true, selector: "cdk-footer-cell, td[cdk-footer-cell]", host: { classAttribute: "cdk-footer-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
231
242
|
}
|
|
232
243
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterCell, decorators: [{
|
|
233
244
|
type: Directive,
|
|
@@ -236,6 +247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
236
247
|
host: {
|
|
237
248
|
'class': 'cdk-footer-cell',
|
|
238
249
|
},
|
|
250
|
+
standalone: true,
|
|
239
251
|
}]
|
|
240
252
|
}], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
|
|
241
253
|
/** Cell template container that adds the right classes and role. */
|
|
@@ -249,7 +261,7 @@ class CdkCell extends BaseCdkCell {
|
|
|
249
261
|
}
|
|
250
262
|
}
|
|
251
263
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
252
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCell, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
264
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCell, isStandalone: true, selector: "cdk-cell, td[cdk-cell]", host: { classAttribute: "cdk-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
253
265
|
}
|
|
254
266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCell, decorators: [{
|
|
255
267
|
type: Directive,
|
|
@@ -258,6 +270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
258
270
|
host: {
|
|
259
271
|
'class': 'cdk-cell',
|
|
260
272
|
},
|
|
273
|
+
standalone: true,
|
|
261
274
|
}]
|
|
262
275
|
}], ctorParameters: () => [{ type: CdkColumnDef }, { type: i0.ElementRef }] });
|
|
263
276
|
|
|
@@ -410,13 +423,14 @@ class CdkHeaderRowDef extends _CdkHeaderRowDefBase {
|
|
|
410
423
|
super.ngOnChanges(changes);
|
|
411
424
|
}
|
|
412
425
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
413
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
426
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderRowDef, isStandalone: true, selector: "[cdkHeaderRowDef]", inputs: { columns: ["cdkHeaderRowDef", "columns"], sticky: ["cdkHeaderRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
414
427
|
}
|
|
415
428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderRowDef, decorators: [{
|
|
416
429
|
type: Directive,
|
|
417
430
|
args: [{
|
|
418
431
|
selector: '[cdkHeaderRowDef]',
|
|
419
432
|
inputs: ['columns: cdkHeaderRowDef', 'sticky: cdkHeaderRowDefSticky'],
|
|
433
|
+
standalone: true,
|
|
420
434
|
}]
|
|
421
435
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
|
|
422
436
|
type: Inject,
|
|
@@ -444,13 +458,14 @@ class CdkFooterRowDef extends _CdkFooterRowDefBase {
|
|
|
444
458
|
super.ngOnChanges(changes);
|
|
445
459
|
}
|
|
446
460
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
447
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterRowDef, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
461
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterRowDef, isStandalone: true, selector: "[cdkFooterRowDef]", inputs: { columns: ["cdkFooterRowDef", "columns"], sticky: ["cdkFooterRowDefSticky", "sticky"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
448
462
|
}
|
|
449
463
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterRowDef, decorators: [{
|
|
450
464
|
type: Directive,
|
|
451
465
|
args: [{
|
|
452
466
|
selector: '[cdkFooterRowDef]',
|
|
453
467
|
inputs: ['columns: cdkFooterRowDef', 'sticky: cdkFooterRowDefSticky'],
|
|
468
|
+
standalone: true,
|
|
454
469
|
}]
|
|
455
470
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
|
|
456
471
|
type: Inject,
|
|
@@ -471,13 +486,14 @@ class CdkRowDef extends BaseRowDef {
|
|
|
471
486
|
this._table = _table;
|
|
472
487
|
}
|
|
473
488
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
474
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkRowDef, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
|
|
489
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkRowDef, isStandalone: true, selector: "[cdkRowDef]", inputs: { columns: ["cdkRowDefColumns", "columns"], when: ["cdkRowDefWhen", "when"] }, usesInheritance: true, ngImport: i0 }); }
|
|
475
490
|
}
|
|
476
491
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRowDef, decorators: [{
|
|
477
492
|
type: Directive,
|
|
478
493
|
args: [{
|
|
479
494
|
selector: '[cdkRowDef]',
|
|
480
495
|
inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],
|
|
496
|
+
standalone: true,
|
|
481
497
|
}]
|
|
482
498
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{
|
|
483
499
|
type: Inject,
|
|
@@ -510,16 +526,19 @@ class CdkCellOutlet {
|
|
|
510
526
|
}
|
|
511
527
|
}
|
|
512
528
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCellOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
513
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCellOutlet, selector: "[cdkCellOutlet]", ngImport: i0 }); }
|
|
529
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkCellOutlet, isStandalone: true, selector: "[cdkCellOutlet]", ngImport: i0 }); }
|
|
514
530
|
}
|
|
515
531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkCellOutlet, decorators: [{
|
|
516
532
|
type: Directive,
|
|
517
|
-
args: [{
|
|
533
|
+
args: [{
|
|
534
|
+
selector: '[cdkCellOutlet]',
|
|
535
|
+
standalone: true,
|
|
536
|
+
}]
|
|
518
537
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
519
538
|
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
520
539
|
class CdkHeaderRow {
|
|
521
540
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
522
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: CdkHeaderRow, 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 }); }
|
|
541
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", 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 }); }
|
|
523
542
|
}
|
|
524
543
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkHeaderRow, decorators: [{
|
|
525
544
|
type: Component,
|
|
@@ -534,12 +553,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
534
553
|
// tslint:disable-next-line:validate-decorators
|
|
535
554
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
536
555
|
encapsulation: ViewEncapsulation.None,
|
|
556
|
+
standalone: true,
|
|
557
|
+
imports: [CdkCellOutlet],
|
|
537
558
|
}]
|
|
538
559
|
}] });
|
|
539
560
|
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
540
561
|
class CdkFooterRow {
|
|
541
562
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
542
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: CdkFooterRow, 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 }); }
|
|
563
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", 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 }); }
|
|
543
564
|
}
|
|
544
565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkFooterRow, decorators: [{
|
|
545
566
|
type: Component,
|
|
@@ -554,12 +575,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
554
575
|
// tslint:disable-next-line:validate-decorators
|
|
555
576
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
556
577
|
encapsulation: ViewEncapsulation.None,
|
|
578
|
+
standalone: true,
|
|
579
|
+
imports: [CdkCellOutlet],
|
|
557
580
|
}]
|
|
558
581
|
}] });
|
|
559
582
|
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
560
583
|
class CdkRow {
|
|
561
584
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
562
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: CdkRow, 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 }); }
|
|
585
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", 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 }); }
|
|
563
586
|
}
|
|
564
587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRow, decorators: [{
|
|
565
588
|
type: Component,
|
|
@@ -574,6 +597,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
574
597
|
// tslint:disable-next-line:validate-decorators
|
|
575
598
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
576
599
|
encapsulation: ViewEncapsulation.None,
|
|
600
|
+
standalone: true,
|
|
601
|
+
imports: [CdkCellOutlet],
|
|
577
602
|
}]
|
|
578
603
|
}] });
|
|
579
604
|
/** Row that can be used to display a message when no data is shown in the table. */
|
|
@@ -583,12 +608,13 @@ class CdkNoDataRow {
|
|
|
583
608
|
this._contentClassName = 'cdk-no-data-row';
|
|
584
609
|
}
|
|
585
610
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkNoDataRow, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
586
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkNoDataRow, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
|
|
611
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkNoDataRow, isStandalone: true, selector: "ng-template[cdkNoDataRow]", ngImport: i0 }); }
|
|
587
612
|
}
|
|
588
613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkNoDataRow, decorators: [{
|
|
589
614
|
type: Directive,
|
|
590
615
|
args: [{
|
|
591
616
|
selector: 'ng-template[cdkNoDataRow]',
|
|
617
|
+
standalone: true,
|
|
592
618
|
}]
|
|
593
619
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
594
620
|
|
|
@@ -999,13 +1025,14 @@ const STICKY_POSITIONING_LISTENER = new InjectionToken('CDK_SPL');
|
|
|
999
1025
|
*/
|
|
1000
1026
|
class CdkRecycleRows {
|
|
1001
1027
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1002
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkRecycleRows, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
1028
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: CdkRecycleRows, isStandalone: true, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
1003
1029
|
}
|
|
1004
1030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkRecycleRows, decorators: [{
|
|
1005
1031
|
type: Directive,
|
|
1006
1032
|
args: [{
|
|
1007
1033
|
selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',
|
|
1008
1034
|
providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],
|
|
1035
|
+
standalone: true,
|
|
1009
1036
|
}]
|
|
1010
1037
|
}] });
|
|
1011
1038
|
/**
|
|
@@ -1018,11 +1045,14 @@ class DataRowOutlet {
|
|
|
1018
1045
|
this.elementRef = elementRef;
|
|
1019
1046
|
}
|
|
1020
1047
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1021
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: DataRowOutlet, selector: "[rowOutlet]", ngImport: i0 }); }
|
|
1048
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: DataRowOutlet, isStandalone: true, selector: "[rowOutlet]", ngImport: i0 }); }
|
|
1022
1049
|
}
|
|
1023
1050
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DataRowOutlet, decorators: [{
|
|
1024
1051
|
type: Directive,
|
|
1025
|
-
args: [{
|
|
1052
|
+
args: [{
|
|
1053
|
+
selector: '[rowOutlet]',
|
|
1054
|
+
standalone: true,
|
|
1055
|
+
}]
|
|
1026
1056
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
|
|
1027
1057
|
/**
|
|
1028
1058
|
* Provides a handle for the table to grab the view container's ng-container to insert the header.
|
|
@@ -1034,11 +1064,14 @@ class HeaderRowOutlet {
|
|
|
1034
1064
|
this.elementRef = elementRef;
|
|
1035
1065
|
}
|
|
1036
1066
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: HeaderRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1037
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: HeaderRowOutlet, selector: "[headerRowOutlet]", ngImport: i0 }); }
|
|
1067
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: HeaderRowOutlet, isStandalone: true, selector: "[headerRowOutlet]", ngImport: i0 }); }
|
|
1038
1068
|
}
|
|
1039
1069
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: HeaderRowOutlet, decorators: [{
|
|
1040
1070
|
type: Directive,
|
|
1041
|
-
args: [{
|
|
1071
|
+
args: [{
|
|
1072
|
+
selector: '[headerRowOutlet]',
|
|
1073
|
+
standalone: true,
|
|
1074
|
+
}]
|
|
1042
1075
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
|
|
1043
1076
|
/**
|
|
1044
1077
|
* Provides a handle for the table to grab the view container's ng-container to insert the footer.
|
|
@@ -1050,11 +1083,14 @@ class FooterRowOutlet {
|
|
|
1050
1083
|
this.elementRef = elementRef;
|
|
1051
1084
|
}
|
|
1052
1085
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: FooterRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1053
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: FooterRowOutlet, selector: "[footerRowOutlet]", ngImport: i0 }); }
|
|
1086
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: FooterRowOutlet, isStandalone: true, selector: "[footerRowOutlet]", ngImport: i0 }); }
|
|
1054
1087
|
}
|
|
1055
1088
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: FooterRowOutlet, decorators: [{
|
|
1056
1089
|
type: Directive,
|
|
1057
|
-
args: [{
|
|
1090
|
+
args: [{
|
|
1091
|
+
selector: '[footerRowOutlet]',
|
|
1092
|
+
standalone: true,
|
|
1093
|
+
}]
|
|
1058
1094
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
|
|
1059
1095
|
/**
|
|
1060
1096
|
* Provides a handle for the table to grab the view
|
|
@@ -1067,11 +1103,14 @@ class NoDataRowOutlet {
|
|
|
1067
1103
|
this.elementRef = elementRef;
|
|
1068
1104
|
}
|
|
1069
1105
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: NoDataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1070
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: NoDataRowOutlet, selector: "[noDataRowOutlet]", ngImport: i0 }); }
|
|
1106
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: NoDataRowOutlet, isStandalone: true, selector: "[noDataRowOutlet]", ngImport: i0 }); }
|
|
1071
1107
|
}
|
|
1072
1108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: NoDataRowOutlet, decorators: [{
|
|
1073
1109
|
type: Directive,
|
|
1074
|
-
args: [{
|
|
1110
|
+
args: [{
|
|
1111
|
+
selector: '[noDataRowOutlet]',
|
|
1112
|
+
standalone: true,
|
|
1113
|
+
}]
|
|
1075
1114
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }] });
|
|
1076
1115
|
/**
|
|
1077
1116
|
* The table template that can be used by the mat-table. Should not be used outside of the
|
|
@@ -1402,7 +1441,7 @@ class CdkTable {
|
|
|
1402
1441
|
}
|
|
1403
1442
|
const viewContainer = this._rowOutlet.viewContainer;
|
|
1404
1443
|
this._viewRepeater.applyChanges(changes, viewContainer, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record.item, currentIndex), record => record.item.data, (change) => {
|
|
1405
|
-
if (change.operation ===
|
|
1444
|
+
if (change.operation === _ViewRepeaterOperation.INSERTED && change.context) {
|
|
1406
1445
|
this._renderCellTemplateForItem(change.record.item.rowDef, change.context);
|
|
1407
1446
|
}
|
|
1408
1447
|
});
|
|
@@ -1941,13 +1980,13 @@ class CdkTable {
|
|
|
1941
1980
|
this._changeDetectorRef.markForCheck();
|
|
1942
1981
|
}
|
|
1943
1982
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkTable, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: 'role', attribute: true }, { token: i1.Directionality, optional: true }, { token: DOCUMENT }, { token: i2.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1944
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.4", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: { trackBy: "trackBy", dataSource: "dataSource", multiTemplateDataRows: ["multiTemplateDataRows", "multiTemplateDataRows", booleanAttribute], fixedLayout: ["fixedLayout", "fixedLayout", booleanAttribute] }, outputs: { contentChanged: "contentChanged" }, host: { attributes: { "ngSkipHydration": "" }, properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
|
|
1983
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.4", 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: { attributes: { "ngSkipHydration": "" }, properties: { "class.cdk-table-fixed-layout": "fixedLayout" }, classAttribute: "cdk-table" }, providers: [
|
|
1945
1984
|
{ provide: CDK_TABLE, useExisting: CdkTable },
|
|
1946
1985
|
{ provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },
|
|
1947
1986
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
1948
1987
|
// Prevent nested tables from seeing this table's StickyPositioningListener.
|
|
1949
1988
|
{ provide: STICKY_POSITIONING_LISTENER, useValue: null },
|
|
1950
|
-
], 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 }], viewQueries: [{ propertyName: "_rowOutlet", first: true, predicate: DataRowOutlet, descendants: true, static: true }, { propertyName: "_headerRowOutlet", first: true, predicate: HeaderRowOutlet, descendants: true, static: true }, { propertyName: "_footerRowOutlet", first: true, predicate: FooterRowOutlet, descendants: true, static: true }, { propertyName: "_noDataRowOutlet", first: true, predicate: NoDataRowOutlet, descendants: true, static: true }], exportAs: ["cdkTable"], ngImport: i0, template: "\n <ng-content select=\"caption\"></ng-content>\n <ng-content select=\"colgroup, col\"></ng-content>\n <ng-container headerRowOutlet></ng-container>\n <ng-container rowOutlet></ng-container>\n <ng-container noDataRowOutlet></ng-container>\n <ng-container footerRowOutlet></ng-container>\n", isInline: true, styles: [".cdk-table-fixed-layout{table-layout:fixed}"], dependencies: [{ kind: "directive", type:
|
|
1989
|
+
], 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 }], viewQueries: [{ propertyName: "_rowOutlet", first: true, predicate: DataRowOutlet, descendants: true, static: true }, { propertyName: "_headerRowOutlet", first: true, predicate: HeaderRowOutlet, descendants: true, static: true }, { propertyName: "_footerRowOutlet", first: true, predicate: FooterRowOutlet, descendants: true, static: true }, { propertyName: "_noDataRowOutlet", first: true, predicate: NoDataRowOutlet, descendants: true, static: true }], exportAs: ["cdkTable"], ngImport: i0, template: "\n <ng-content select=\"caption\"></ng-content>\n <ng-content select=\"colgroup, col\"></ng-content>\n <ng-container headerRowOutlet></ng-container>\n <ng-container rowOutlet></ng-container>\n <ng-container noDataRowOutlet></ng-container>\n <ng-container footerRowOutlet></ng-container>\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 }); }
|
|
1951
1990
|
}
|
|
1952
1991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkTable, decorators: [{
|
|
1953
1992
|
type: Component,
|
|
@@ -1961,7 +2000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
1961
2000
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
1962
2001
|
// Prevent nested tables from seeing this table's StickyPositioningListener.
|
|
1963
2002
|
{ provide: STICKY_POSITIONING_LISTENER, useValue: null },
|
|
1964
|
-
], styles: [".cdk-table-fixed-layout{table-layout:fixed}"] }]
|
|
2003
|
+
], standalone: true, imports: [HeaderRowOutlet, DataRowOutlet, NoDataRowOutlet, FooterRowOutlet], styles: [".cdk-table-fixed-layout{table-layout:fixed}"] }]
|
|
1965
2004
|
}], ctorParameters: () => [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1966
2005
|
type: Attribute,
|
|
1967
2006
|
args: ['role']
|
|
@@ -2112,7 +2151,7 @@ class CdkTextColumn {
|
|
|
2112
2151
|
}
|
|
2113
2152
|
}
|
|
2114
2153
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkTextColumn, deps: [{ token: CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2115
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: CdkTextColumn, 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: `
|
|
2154
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", 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: `
|
|
2116
2155
|
<ng-container cdkColumnDef>
|
|
2117
2156
|
<th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
|
|
2118
2157
|
{{headerText}}
|
|
@@ -2121,7 +2160,7 @@ class CdkTextColumn {
|
|
|
2121
2160
|
{{dataAccessor(data, name)}}
|
|
2122
2161
|
</td>
|
|
2123
2162
|
</ng-container>
|
|
2124
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2163
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "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 }); }
|
|
2125
2164
|
}
|
|
2126
2165
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkTextColumn, decorators: [{
|
|
2127
2166
|
type: Component,
|
|
@@ -2145,6 +2184,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
2145
2184
|
// an ExpressionChangedAfterItHasBeenCheckedError).
|
|
2146
2185
|
// tslint:disable-next-line:validate-decorators
|
|
2147
2186
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
2187
|
+
standalone: true,
|
|
2188
|
+
imports: [CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCellDef, CdkCell],
|
|
2148
2189
|
}]
|
|
2149
2190
|
}], ctorParameters: () => [{ type: CdkTable, decorators: [{
|
|
2150
2191
|
type: Optional
|
|
@@ -2198,7 +2239,7 @@ const EXPORTED_DECLARATIONS = [
|
|
|
2198
2239
|
];
|
|
2199
2240
|
class CdkTableModule {
|
|
2200
2241
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2201
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: CdkTableModule,
|
|
2242
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule, CdkTable,
|
|
2202
2243
|
CdkRowDef,
|
|
2203
2244
|
CdkCellDef,
|
|
2204
2245
|
CdkCellOutlet,
|
|
@@ -2219,7 +2260,7 @@ class CdkTableModule {
|
|
|
2219
2260
|
CdkTextColumn,
|
|
2220
2261
|
CdkNoDataRow,
|
|
2221
2262
|
CdkRecycleRows,
|
|
2222
|
-
NoDataRowOutlet],
|
|
2263
|
+
NoDataRowOutlet], exports: [CdkTable,
|
|
2223
2264
|
CdkRowDef,
|
|
2224
2265
|
CdkCellDef,
|
|
2225
2266
|
CdkCellOutlet,
|
|
@@ -2247,8 +2288,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
2247
2288
|
type: NgModule,
|
|
2248
2289
|
args: [{
|
|
2249
2290
|
exports: EXPORTED_DECLARATIONS,
|
|
2250
|
-
|
|
2251
|
-
imports: [ScrollingModule],
|
|
2291
|
+
imports: [ScrollingModule, ...EXPORTED_DECLARATIONS],
|
|
2252
2292
|
}]
|
|
2253
2293
|
}] });
|
|
2254
2294
|
|