/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/dialog/dialog-module.ts
36 строк
964 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 {DialogModule} from '@angular/cdk/dialog'; import {OverlayModule} from '@angular/cdk/overlay'; import {PortalModule} from '@angular/cdk/portal'; import {NgModule} from '@angular/core'; import {MatDialog} from './dialog'; import {MatDialogContainer} from './dialog-container'; import { MatDialogActions, MatDialogClose, MatDialogContent, MatDialogTitle, } from './dialog-content-directives'; const DIRECTIVES = [ MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent, ]; @NgModule({ imports: [DialogModule, OverlayModule, PortalModule, ...DIRECTIVES], exports: [BidiModule, ...DIRECTIVES], providers: [MatDialog], }) export class MatDialogModule {}