/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/overlay/overlay-module.ts
35 строк
1 KB
Kristiyan Kostadinov
refactor(cdk/overlay): remove unnecessary providers
03 сен 2025, 09:51
03 сен 2025, 09:51
1b5f334
Код
Авторство
О чём код?
/** * @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 '../bidi'; import {PortalModule} from '../portal'; import {ScrollingModule} from '../scrolling'; import {NgModule} from '@angular/core'; import {Overlay} from './overlay'; import {CdkConnectedOverlay, CdkOverlayOrigin} from './overlay-directives'; @NgModule({ imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule], providers: [Overlay], }) export class OverlayModule {} // Re-export needed by the Angular compiler. // See: https://github.com/angular/components/issues/30663. // Note: These exports need to be stable and shouldn't be renamed unnecessarily because // consuming libraries might have references to them in their own partial compilation output. export { CdkScrollableModule as ɵɵCdkScrollableModule, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, } from '../scrolling'; export {Dir as ɵɵDir} from '../bidi';