var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';
import { ElSharedModule } from '../../shared/shared.module';
import { ElA11yModule } from '../a11y/a11y.module';
import { ElCdkMappingModule } from './mapping';
import { ElPositionBuilderService } from './overlay-position';
import { ElOverlayContainerComponent } from './overlay-container';
import { ElOverlayService } from './overlay-service';
import { ElCdkAdapterModule } from '../adapter/adapter.module';
import { ElPositionHelper } from './position-helper';
import { ElTriggerStrategyBuilderService } from './overlay-trigger';
var ElOverlayModule = /** @class */ (function () {
    function ElOverlayModule() {
    }
    ElOverlayModule_1 = ElOverlayModule;
    ElOverlayModule.forRoot = function () {
        return {
            ngModule: ElOverlayModule_1,
            providers: [
                ElPositionBuilderService,
                ElTriggerStrategyBuilderService,
                ElOverlayService,
                ElPositionHelper
            ].concat(ElCdkMappingModule.forRoot().providers, ElCdkAdapterModule.forRoot().providers, ElA11yModule.forRoot().providers),
        };
    };
    var ElOverlayModule_1;
    ElOverlayModule = ElOverlayModule_1 = __decorate([
        NgModule({
            imports: [
                ElCdkMappingModule,
                ElSharedModule,
            ],
            declarations: [ElOverlayContainerComponent],
            exports: [
                ElCdkMappingModule,
                ElCdkAdapterModule,
                ElOverlayContainerComponent,
            ],
        })
    ], ElOverlayModule);
    return ElOverlayModule;
}());
export { ElOverlayModule };
//# sourceMappingURL=overlay.module.js.map