/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/tree/tree-module.ts
33 строки
884 B
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 {BidiModule} from '@angular/cdk/bidi'; import {NgModule} from '@angular/core'; import {CdkTreeModule} from '@angular/cdk/tree'; import {MatNestedTreeNode, MatTreeNodeDef, MatTreeNode} from './node'; import {MatTree} from './tree'; import {MatTreeNodeToggle} from './toggle'; import {MatTreeNodeOutlet} from './outlet'; import {MatTreeNodePadding} from './padding'; const MAT_TREE_DIRECTIVES = [ MatNestedTreeNode, MatTreeNodeDef, MatTreeNodePadding, MatTreeNodeToggle, MatTree, MatTreeNode, MatTreeNodeOutlet, ]; @NgModule({ imports: [CdkTreeModule, ...MAT_TREE_DIRECTIVES], exports: [BidiModule, MAT_TREE_DIRECTIVES], }) export class MatTreeModule {}