/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/list/list-module.ts
66 строк
2 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 {MatPseudoCheckboxModule, MatRippleModule} from '../core'; import {MatDividerModule, MatDivider} from '../divider'; import {MatActionList} from './action-list'; import {MatList, MatListItem} from './list'; import {MatListOption} from './list-option'; import {MatListSubheaderCssMatStyler} from './subheader'; import { MatListItemLine, MatListItemTitle, MatListItemMeta, MatListItemAvatar, MatListItemIcon, } from './list-item-sections'; import {MatNavList} from './nav-list'; import {MatSelectionList} from './selection-list'; import {ObserversModule} from '@angular/cdk/observers'; import {BidiModule} from '@angular/cdk/bidi'; // Export required to fix compiler confusion about import module paths export {MatDivider}; @NgModule({ imports: [ ObserversModule, MatRippleModule, MatPseudoCheckboxModule, MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListSubheaderCssMatStyler, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemTitle, MatListItemMeta, ], exports: [ BidiModule, MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListItemAvatar, MatListItemIcon, MatListSubheaderCssMatStyler, MatDividerModule, MatListItemLine, MatListItemTitle, MatListItemMeta, ], }) export class MatListModule {}