Skip to content

Commit 5000fc7

Browse files
committed
refactor(material/legacy-table): rename ts symbols
1 parent e4ca4ec commit 5000fc7

File tree

2 files changed

+33
-9
lines changed

2 files changed

+33
-9
lines changed

src/material/legacy-table/public-api.ts

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,28 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
export * from './table-module';
10-
export * from './cell';
11-
export * from './table';
12-
export * from './row';
13-
export * from './table-data-source';
14-
export * from './text-column';
9+
export {MatLegacyTableModule} from './table-module';
10+
export {
11+
MatLegacyCellDef,
12+
MatLegacyHeaderCellDef,
13+
MatLegacyFooterCellDef,
14+
MatLegacyColumnDef,
15+
MatLegacyHeaderCell,
16+
MatLegacyFooterCell,
17+
MatLegacyCell,
18+
} from './cell';
19+
export {MatLegacyRecycleRows, MatLegacyTable} from './table';
20+
export {
21+
MatLegacyHeaderRowDef,
22+
MatLegacyFooterRowDef,
23+
MatLegacyRowDef,
24+
MatLegacyHeaderRow,
25+
MatLegacyFooterRow,
26+
MatLegacyRow,
27+
MatLegacyNoDataRow,
28+
} from './row';
29+
export {MatLegacyTableDataSource} from './table-data-source';
30+
export {MatLegacyTextColumn} from './text-column';
1531
export {
1632
MatTableDataSourcePageEvent as MatLegacyTableDataSourcePageEvent,
1733
MatTableDataSourcePaginator as MatLegacyTableDataSourcePaginator,

src/material/legacy-table/testing/public-api.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
export * from './table-harness';
10-
export * from './row-harness';
11-
export * from './cell-harness';
9+
export {MatLegacyTableHarness} from './table-harness';
10+
export {
11+
MatLegacyRowHarness,
12+
MatLegacyHeaderRowHarness,
13+
MatLegacyFooterRowHarness,
14+
} from './row-harness';
15+
export {
16+
MatLegacyCellHarness,
17+
MatLegacyHeaderCellHarness,
18+
MatLegacyFooterCellHarness,
19+
} from './cell-harness';
1220
export {
1321
CellHarnessFilters as LegacyCellHarnessFilters,
1422
RowHarnessFilters as LegacyRowHarnessFilters,

0 commit comments

Comments
 (0)