/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/table/table-module.ts
65 строк
1 KB
Kristiyan Kostadinov
fix(material/core): remove MatCommonModule (#31813)
04 сен 2025, 15:24
Не верифицирован
04 сен 2025, 15:24
c832533
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NgModule} from '@angular/core'; import {MatRecycleRows, MatTable} from './table'; import {BidiModule} from '@angular/cdk/bidi'; import {CdkTableModule} from '@angular/cdk/table'; import { MatCell, MatCellDef, MatColumnDef, MatFooterCell, MatFooterCellDef, MatHeaderCell, MatHeaderCellDef, } from './cell'; import { MatFooterRow, MatFooterRowDef, MatHeaderRow, MatHeaderRowDef, MatRow, MatRowDef, MatNoDataRow, } from './row'; import {MatTextColumn} from './text-column'; const EXPORTED_DECLARATIONS = [ // Table MatTable, MatRecycleRows, // Template defs MatHeaderCellDef, MatHeaderRowDef, MatColumnDef, MatCellDef, MatRowDef, MatFooterCellDef, MatFooterRowDef, // Cell directives MatHeaderCell, MatCell, MatFooterCell, // Row directives MatHeaderRow, MatRow, MatFooterRow, MatNoDataRow, MatTextColumn, ]; @NgModule({ imports: [CdkTableModule, ...EXPORTED_DECLARATIONS], exports: [BidiModule, EXPORTED_DECLARATIONS], }) export class MatTableModule {}