You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/material/legacy-table/cell.ts
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ import {
20
20
/**
21
21
* Cell definition for the mat-table.
22
22
* Captures the template of a column's data row cell as well as cell-specific properties.
23
+
* @deprecated Use `MatCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
24
+
* @breaking-change 17.0.0
23
25
*/
24
26
@Directive({
25
27
selector: '[matCellDef]',
@@ -30,6 +32,8 @@ export class MatLegacyCellDef extends CdkCellDef {}
30
32
/**
31
33
* Header cell definition for the mat-table.
32
34
* Captures the template of a column's header cell and as well as cell-specific properties.
35
+
* @deprecated Use `MatHeaderCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
36
+
* @breaking-change 17.0.0
33
37
*/
34
38
@Directive({
35
39
selector: '[matHeaderCellDef]',
@@ -40,6 +44,8 @@ export class MatLegacyHeaderCellDef extends CdkHeaderCellDef {}
40
44
/**
41
45
* Footer cell definition for the mat-table.
42
46
* Captures the template of a column's footer cell and as well as cell-specific properties.
47
+
* @deprecated Use `MatFooterCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
48
+
* @breaking-change 17.0.0
43
49
*/
44
50
@Directive({
45
51
selector: '[matFooterCellDef]',
@@ -50,6 +56,8 @@ export class MatLegacyFooterCellDef extends CdkFooterCellDef {}
50
56
/**
51
57
* Column definition for the mat-table.
52
58
* Defines a set of cells available for a table column.
59
+
* @deprecated Use `MatColumnDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
60
+
* @breaking-change 17.0.0
53
61
*/
54
62
@Directive({
55
63
selector: '[matColumnDef]',
@@ -81,7 +89,11 @@ export class MatLegacyColumnDef extends CdkColumnDef {
81
89
}
82
90
}
83
91
84
-
/** Header cell template container that adds the right classes and role. */
92
+
/**
93
+
* Header cell template container that adds the right classes and role.
94
+
* @deprecated Use `MatHeaderCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
95
+
* @breaking-change 17.0.0
96
+
*/
85
97
@Directive({
86
98
selector: 'mat-header-cell, th[mat-header-cell]',
87
99
host: {
@@ -91,7 +103,11 @@ export class MatLegacyColumnDef extends CdkColumnDef {
/** Footer cell template container that adds the right classes and role. */
106
+
/**
107
+
* Footer cell template container that adds the right classes and role.
108
+
* @deprecated Use `MatFooterCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
109
+
* @breaking-change 17.0.0
110
+
*/
95
111
@Directive({
96
112
selector: 'mat-footer-cell, td[mat-footer-cell]',
97
113
host: {
@@ -101,7 +117,11 @@ export class MatLegacyHeaderCell extends CdkHeaderCell {}
/** Cell template container that adds the right classes and role. */
120
+
/**
121
+
* Cell template container that adds the right classes and role.
122
+
* @deprecated Use `MatCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatTableDataSourcePageEvent` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatTableDataSourcePaginator` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `_MatTableDataSource` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* Captures the header row's template and other header properties such as the columns to display.
24
+
* @deprecated Use `MatHeaderRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
25
+
* @breaking-change 17.0.0
24
26
*/
25
27
@Directive({
26
28
selector: '[matHeaderRowDef]',
@@ -32,6 +34,8 @@ export class MatLegacyHeaderRowDef extends CdkHeaderRowDef {}
32
34
/**
33
35
* Footer row definition for the mat-table.
34
36
* Captures the footer row's template and other footer properties such as the columns to display.
37
+
* @deprecated Use `MatFooterRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
38
+
* @breaking-change 17.0.0
35
39
*/
36
40
@Directive({
37
41
selector: '[matFooterRowDef]',
@@ -44,6 +48,8 @@ export class MatLegacyFooterRowDef extends CdkFooterRowDef {}
44
48
* Data row definition for the mat-table.
45
49
* Captures the data row's template and other properties such as the columns to display and
46
50
* a when predicate that describes when this row should be used.
51
+
* @deprecated Use `MatRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
52
+
* @breaking-change 17.0.0
47
53
*/
48
54
@Directive({
49
55
selector: '[matRowDef]',
@@ -52,7 +58,11 @@ export class MatLegacyFooterRowDef extends CdkFooterRowDef {}
/** Header template container that contains the cell outlet. Adds the right class and role. */
61
+
/**
62
+
* Header template container that contains the cell outlet. Adds the right class and role.
63
+
* @deprecated Use `MatHeaderRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
64
+
* @breaking-change 17.0.0
65
+
*/
56
66
@Component({
57
67
selector: 'mat-header-row, tr[mat-header-row]',
58
68
template: CDK_ROW_TEMPLATE,
@@ -69,7 +79,11 @@ export class MatLegacyRowDef<T> extends CdkRowDef<T> {}
/** Footer template container that contains the cell outlet. Adds the right class and role. */
82
+
/**
83
+
* Footer template container that contains the cell outlet. Adds the right class and role.
84
+
* @deprecated Use `MatFooterRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
85
+
* @breaking-change 17.0.0
86
+
*/
73
87
@Component({
74
88
selector: 'mat-footer-row, tr[mat-footer-row]',
75
89
template: CDK_ROW_TEMPLATE,
@@ -86,7 +100,11 @@ export class MatLegacyHeaderRow extends CdkHeaderRow {}
/** Data row template container that contains the cell outlet. Adds the right class and role. */
103
+
/**
104
+
* Data row template container that contains the cell outlet. Adds the right class and role.
105
+
* @deprecated Use `MatRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
106
+
* @breaking-change 17.0.0
107
+
*/
90
108
@Component({
91
109
selector: 'mat-row, tr[mat-row]',
92
110
template: CDK_ROW_TEMPLATE,
@@ -103,7 +121,11 @@ export class MatLegacyFooterRow extends CdkFooterRow {}
103
121
})
104
122
exportclassMatLegacyRowextendsCdkRow{}
105
123
106
-
/** Row that can be used to display a message when no data is shown in the table. */
124
+
/**
125
+
* Row that can be used to display a message when no data is shown in the table.
126
+
* @deprecated Use `MatNoDataRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-table/table-data-source.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,5 +21,8 @@ import {_MatTableDataSource} from '@angular/material/table';
21
21
* it isn't equipped to handle some more advanced cases like robust i18n support or server-side
22
22
* interactions. If your app needs to support more advanced use cases, consider implementing your
23
23
* own `DataSource`.
24
+
*
25
+
* @deprecated Use `MatTableDataSource` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatTableModule` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-table/table.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ import {
24
24
/**
25
25
* Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
26
26
* tables that animate rows.
27
+
* @deprecated Use `MatRecycleRows` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -33,6 +35,8 @@ export class MatLegacyRecycleRows {}
33
35
34
36
/**
35
37
* Wrapper for the CdkTable with Material design styles.
38
+
* @deprecated Use `MatTable` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** Harness for interacting with a standard Angular Material table cell. */
12
+
/**
13
+
* Harness for interacting with a standard Angular Material table cell.
14
+
* @deprecated Use `MatCellHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** The selector for the host element of a `MatCellHarness` instance. */
15
19
statichostSelector='.mat-cell';
@@ -24,7 +28,11 @@ export class MatLegacyCellHarness extends _MatCellHarnessBase {
24
28
}
25
29
}
26
30
27
-
/** Harness for interacting with a standard Angular Material table header cell. */
31
+
/**
32
+
* Harness for interacting with a standard Angular Material table header cell.
33
+
* @deprecated Use `MatHeaderCellHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** The selector for the host element of a `MatHeaderCellHarness` instance. */
30
38
statichostSelector='.mat-header-cell';
@@ -40,7 +48,11 @@ export class MatLegacyHeaderCellHarness extends _MatCellHarnessBase {
40
48
}
41
49
}
42
50
43
-
/** Harness for interacting with a standard Angular Material table footer cell. */
51
+
/**
52
+
* Harness for interacting with a standard Angular Material table footer cell.
53
+
* @deprecated Use `MatFooterCellHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-table/testing/public-api.ts
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,51 @@ export {
18
18
MatLegacyFooterCellHarness,
19
19
}from'./cell-harness';
20
20
export{
21
+
/**
22
+
* @deprecated Use `CellHarnessFilters` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
23
+
* @breaking-change 17.0.0
24
+
*/
21
25
CellHarnessFiltersasLegacyCellHarnessFilters,
26
+
27
+
/**
28
+
* @deprecated Use `RowHarnessFilters` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
29
+
* @breaking-change 17.0.0
30
+
*/
22
31
RowHarnessFiltersasLegacyRowHarnessFilters,
32
+
33
+
/**
34
+
* @deprecated Use `TableHarnessFilters` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
35
+
* @breaking-change 17.0.0
36
+
*/
23
37
TableHarnessFiltersasLegacyTableHarnessFilters,
38
+
39
+
/**
40
+
* @deprecated Use `MatRowHarnessColumnsText` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatTableHarnessColumnsText` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `_MatCellHarnessBase` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
53
+
* @breaking-change 17.0.0
54
+
*/
26
55
_MatCellHarnessBaseas_MatLegacyCellHarnessBase,
56
+
57
+
/**
58
+
* @deprecated Use `_MatRowHarnessBase` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
59
+
* @breaking-change 17.0.0
60
+
*/
27
61
_MatRowHarnessBaseas_MatLegacyRowHarnessBase,
62
+
63
+
/**
64
+
* @deprecated Use `_MatTableHarnessBase` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** Harness for interacting with a standard Angular Material table row. */
17
+
/**
18
+
* Harness for interacting with a standard Angular Material table row.
19
+
* @deprecated Use `MatRowHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -33,7 +37,11 @@ export class MatLegacyRowHarness extends _MatRowHarnessBase<
33
37
}
34
38
}
35
39
36
-
/** Harness for interacting with a standard Angular Material table header row. */
40
+
/**
41
+
* Harness for interacting with a standard Angular Material table header row.
42
+
* @deprecated Use `MatHeaderRowHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
@@ -53,7 +61,11 @@ export class MatLegacyHeaderRowHarness extends _MatRowHarnessBase<
53
61
}
54
62
}
55
63
56
-
/** Harness for interacting with a standard Angular Material table footer row. */
64
+
/**
65
+
* Harness for interacting with a standard Angular Material table footer row.
66
+
* @deprecated Use `MatFooterRowHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** Harness for interacting with a standard mat-table in tests. */
17
+
/**
18
+
* Harness for interacting with a standard mat-table in tests.
19
+
* @deprecated Use `MatTableHarness` from `@angular/material/table/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
0 commit comments