UNPKG

15.9 kBTypeScriptView Raw
1import { CdkCell } from '@angular/cdk/table';
2import { CdkCellDef } from '@angular/cdk/table';
3import { CdkColumnDef } from '@angular/cdk/table';
4import { CdkFooterCell } from '@angular/cdk/table';
5import { CdkFooterCellDef } from '@angular/cdk/table';
6import { CdkFooterRow } from '@angular/cdk/table';
7import { CdkFooterRowDef } from '@angular/cdk/table';
8import { CdkHeaderCell } from '@angular/cdk/table';
9import { CdkHeaderCellDef } from '@angular/cdk/table';
10import { CdkHeaderRow } from '@angular/cdk/table';
11import { CdkHeaderRowDef } from '@angular/cdk/table';
12import { CdkNoDataRow } from '@angular/cdk/table';
13import { CdkRow } from '@angular/cdk/table';
14import { CdkRowDef } from '@angular/cdk/table';
15import { CdkTable } from '@angular/cdk/table';
16import { CdkTextColumn } from '@angular/cdk/table';
17import * as i0 from '@angular/core';
18import * as i5 from '@angular/cdk/table';
19import * as i6 from '@angular/material/core';
20import { MatLegacyPaginator } from '@angular/material/legacy-paginator';
21import { _MatTableDataSource as _MatLegacyTableDataSource } from '@angular/material/table';
22import { MatTableDataSourcePageEvent as MatLegacyTableDataSourcePageEvent } from '@angular/material/table';
23import { MatTableDataSourcePaginator as MatLegacyTableDataSourcePaginator } from '@angular/material/table';
24
25declare namespace i1 {
26 export {
27 MatLegacyRecycleRows,
28 MatLegacyTable
29 }
30}
31
32declare namespace i2 {
33 export {
34 MatLegacyCellDef,
35 MatLegacyHeaderCellDef,
36 MatLegacyFooterCellDef,
37 MatLegacyColumnDef,
38 MatLegacyHeaderCell,
39 MatLegacyFooterCell,
40 MatLegacyCell
41 }
42}
43
44declare namespace i3 {
45 export {
46 MatLegacyHeaderRowDef,
47 MatLegacyFooterRowDef,
48 MatLegacyRowDef,
49 MatLegacyHeaderRow,
50 MatLegacyFooterRow,
51 MatLegacyRow,
52 MatLegacyNoDataRow
53 }
54}
55
56declare namespace i4 {
57 export {
58 MatLegacyTextColumn
59 }
60}
61
62/**
63 * Cell template container that adds the right classes and role.
64 * @deprecated Use `MatCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
65 * @breaking-change 17.0.0
66 */
67export declare class MatLegacyCell extends CdkCell {
68 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyCell, never>;
69 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyCell, "mat-cell, td[mat-cell]", never, {}, {}, never, never, false, never>;
70}
71
72/**
73 * Cell definition for the mat-table.
74 * Captures the template of a column's data row cell as well as cell-specific properties.
75 * @deprecated Use `MatCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
76 * @breaking-change 17.0.0
77 */
78export declare class MatLegacyCellDef extends CdkCellDef {
79 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyCellDef, never>;
80 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyCellDef, "[matCellDef]", never, {}, {}, never, never, false, never>;
81}
82
83/**
84 * Column definition for the mat-table.
85 * Defines a set of cells available for a table column.
86 * @deprecated Use `MatColumnDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
87 * @breaking-change 17.0.0
88 */
89export declare class MatLegacyColumnDef extends CdkColumnDef {
90 /** Unique name for this column. */
91 get name(): string;
92 set name(name: string);
93 /**
94 * Add "mat-column-" prefix in addition to "cdk-column-" prefix.
95 * In the future, this will only add "mat-column-" and columnCssClassName
96 * will change from type string[] to string.
97 * @docs-private
98 */
99 protected _updateColumnCssClassName(): void;
100 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyColumnDef, never>;
101 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyColumnDef, "[matColumnDef]", never, { "sticky": "sticky"; "name": "matColumnDef"; }, {}, never, never, false, never>;
102}
103
104/**
105 * Footer cell template container that adds the right classes and role.
106 * @deprecated Use `MatFooterCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
107 * @breaking-change 17.0.0
108 */
109export declare class MatLegacyFooterCell extends CdkFooterCell {
110 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyFooterCell, never>;
111 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyFooterCell, "mat-footer-cell, td[mat-footer-cell]", never, {}, {}, never, never, false, never>;
112}
113
114/**
115 * Footer cell definition for the mat-table.
116 * Captures the template of a column's footer cell and as well as cell-specific properties.
117 * @deprecated Use `MatFooterCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
118 * @breaking-change 17.0.0
119 */
120export declare class MatLegacyFooterCellDef extends CdkFooterCellDef {
121 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyFooterCellDef, never>;
122 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyFooterCellDef, "[matFooterCellDef]", never, {}, {}, never, never, false, never>;
123}
124
125/**
126 * Footer template container that contains the cell outlet. Adds the right class and role.
127 * @deprecated Use `MatFooterRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
128 * @breaking-change 17.0.0
129 */
130export declare class MatLegacyFooterRow extends CdkFooterRow {
131 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyFooterRow, never>;
132 static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyFooterRow, "mat-footer-row, tr[mat-footer-row]", ["matFooterRow"], {}, {}, never, never, false, never>;
133}
134
135/**
136 * Footer row definition for the mat-table.
137 * Captures the footer row's template and other footer properties such as the columns to display.
138 * @deprecated Use `MatFooterRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
139 * @breaking-change 17.0.0
140 */
141export declare class MatLegacyFooterRowDef extends CdkFooterRowDef {
142 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyFooterRowDef, never>;
143 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyFooterRowDef, "[matFooterRowDef]", never, { "columns": "matFooterRowDef"; "sticky": "matFooterRowDefSticky"; }, {}, never, never, false, never>;
144}
145
146/**
147 * Header cell template container that adds the right classes and role.
148 * @deprecated Use `MatHeaderCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
149 * @breaking-change 17.0.0
150 */
151export declare class MatLegacyHeaderCell extends CdkHeaderCell {
152 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyHeaderCell, never>;
153 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyHeaderCell, "mat-header-cell, th[mat-header-cell]", never, {}, {}, never, never, false, never>;
154}
155
156/**
157 * Header cell definition for the mat-table.
158 * Captures the template of a column's header cell and as well as cell-specific properties.
159 * @deprecated Use `MatHeaderCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
160 * @breaking-change 17.0.0
161 */
162export declare class MatLegacyHeaderCellDef extends CdkHeaderCellDef {
163 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyHeaderCellDef, never>;
164 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyHeaderCellDef, "[matHeaderCellDef]", never, {}, {}, never, never, false, never>;
165}
166
167/**
168 * Header template container that contains the cell outlet. Adds the right class and role.
169 * @deprecated Use `MatHeaderRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
170 * @breaking-change 17.0.0
171 */
172export declare class MatLegacyHeaderRow extends CdkHeaderRow {
173 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyHeaderRow, never>;
174 static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyHeaderRow, "mat-header-row, tr[mat-header-row]", ["matHeaderRow"], {}, {}, never, never, false, never>;
175}
176
177/**
178 * Header row definition for the mat-table.
179 * Captures the header row's template and other header properties such as the columns to display.
180 * @deprecated Use `MatHeaderRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
181 * @breaking-change 17.0.0
182 */
183export declare class MatLegacyHeaderRowDef extends CdkHeaderRowDef {
184 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyHeaderRowDef, never>;
185 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyHeaderRowDef, "[matHeaderRowDef]", never, { "columns": "matHeaderRowDef"; "sticky": "matHeaderRowDefSticky"; }, {}, never, never, false, never>;
186}
187
188/**
189 * Row that can be used to display a message when no data is shown in the table.
190 * @deprecated Use `MatNoDataRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
191 * @breaking-change 17.0.0
192 */
193export declare class MatLegacyNoDataRow extends CdkNoDataRow {
194 _contentClassName: string;
195 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyNoDataRow, never>;
196 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyNoDataRow, "ng-template[matNoDataRow]", never, {}, {}, never, never, false, never>;
197}
198
199/**
200 * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
201 * tables that animate rows.
202 * @deprecated Use `MatRecycleRows` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
203 * @breaking-change 17.0.0
204 */
205export declare class MatLegacyRecycleRows {
206 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRecycleRows, never>;
207 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyRecycleRows, "mat-table[recycleRows], table[mat-table][recycleRows]", never, {}, {}, never, never, false, never>;
208}
209
210/**
211 * Data row template container that contains the cell outlet. Adds the right class and role.
212 * @deprecated Use `MatRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
213 * @breaking-change 17.0.0
214 */
215export declare class MatLegacyRow extends CdkRow {
216 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRow, never>;
217 static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyRow, "mat-row, tr[mat-row]", ["matRow"], {}, {}, never, never, false, never>;
218}
219
220/**
221 * Data row definition for the mat-table.
222 * Captures the data row's template and other properties such as the columns to display and
223 * a when predicate that describes when this row should be used.
224 * @deprecated Use `MatRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
225 * @breaking-change 17.0.0
226 */
227export declare class MatLegacyRowDef<T> extends CdkRowDef<T> {
228 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRowDef<any>, never>;
229 static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyRowDef<any>, "[matRowDef]", never, { "columns": "matRowDefColumns"; "when": "matRowDefWhen"; }, {}, never, never, false, never>;
230}
231
232/**
233 * Wrapper for the CdkTable with Material design styles.
234 * @deprecated Use `MatTable` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
235 * @breaking-change 17.0.0
236 */
237export declare class MatLegacyTable<T> extends CdkTable<T> {
238 /** Overrides the sticky CSS class set by the `CdkTable`. */
239 protected stickyCssClass: string;
240 /** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */
241 protected needsPositionStickyOnElement: boolean;
242 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyTable<any>, never>;
243 static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col"], false, never>;
244}
245
246/**
247 * Data source that accepts a client-side data array and includes native support of filtering,
248 * sorting (using MatSort), and pagination (using paginator).
249 *
250 * Allows for sort customization by overriding sortingDataAccessor, which defines how data
251 * properties are accessed. Also allows for filter customization by overriding filterTermAccessor,
252 * which defines how row data is converted to a string for filter matching.
253 *
254 * **Note:** This class is meant to be a simple data source to help you get started. As such
255 * it isn't equipped to handle some more advanced cases like robust i18n support or server-side
256 * interactions. If your app needs to support more advanced use cases, consider implementing your
257 * own `DataSource`.
258 *
259 * @deprecated Use `MatTableDataSource` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
260 * @breaking-change 17.0.0
261 */
262export declare class MatLegacyTableDataSource<T> extends _MatLegacyTableDataSource<T, MatLegacyPaginator> {
263}
264
265export { _MatLegacyTableDataSource }
266
267export { MatLegacyTableDataSourcePageEvent }
268
269export { MatLegacyTableDataSourcePaginator }
270
271/**
272 * @deprecated Use `MatTableModule` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
273 * @breaking-change 17.0.0
274 */
275export declare class MatLegacyTableModule {
276 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyTableModule, never>;
277 static ɵmod: i0.ɵɵNgModuleDeclaration<MatLegacyTableModule, [typeof i1.MatLegacyTable, typeof i1.MatLegacyRecycleRows, typeof i2.MatLegacyHeaderCellDef, typeof i3.MatLegacyHeaderRowDef, typeof i2.MatLegacyColumnDef, typeof i2.MatLegacyCellDef, typeof i3.MatLegacyRowDef, typeof i2.MatLegacyFooterCellDef, typeof i3.MatLegacyFooterRowDef, typeof i2.MatLegacyHeaderCell, typeof i2.MatLegacyCell, typeof i2.MatLegacyFooterCell, typeof i3.MatLegacyHeaderRow, typeof i3.MatLegacyRow, typeof i3.MatLegacyFooterRow, typeof i3.MatLegacyNoDataRow, typeof i4.MatLegacyTextColumn], [typeof i5.CdkTableModule, typeof i6.MatCommonModule], [typeof i6.MatCommonModule, typeof i1.MatLegacyTable, typeof i1.MatLegacyRecycleRows, typeof i2.MatLegacyHeaderCellDef, typeof i3.MatLegacyHeaderRowDef, typeof i2.MatLegacyColumnDef, typeof i2.MatLegacyCellDef, typeof i3.MatLegacyRowDef, typeof i2.MatLegacyFooterCellDef, typeof i3.MatLegacyFooterRowDef, typeof i2.MatLegacyHeaderCell, typeof i2.MatLegacyCell, typeof i2.MatLegacyFooterCell, typeof i3.MatLegacyHeaderRow, typeof i3.MatLegacyRow, typeof i3.MatLegacyFooterRow, typeof i3.MatLegacyNoDataRow, typeof i4.MatLegacyTextColumn]>;
278 static ɵinj: i0.ɵɵInjectorDeclaration<MatLegacyTableModule>;
279}
280
281/**
282 * Column that simply shows text content for the header and row cells. Assumes that the table
283 * is using the native table implementation (`<table>`).
284 *
285 * By default, the name of this column will be the header text and data property accessor.
286 * The header text can be overridden with the `headerText` input. Cell values can be overridden with
287 * the `dataAccessor` input. Change the text justification to the start or end using the `justify`
288 * input.
289 *
290 * @deprecated Use `MatTextColumn` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
291 * @breaking-change 17.0.0
292 */
293export declare class MatLegacyTextColumn<T> extends CdkTextColumn<T> {
294 static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyTextColumn<any>, never>;
295 static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyTextColumn<any>, "mat-text-column", never, {}, {}, never, never, false, never>;
296}
297
298export { }