@nepwork/dashboards
Version:
Dashboards for emergencies and monitoring
42 lines • 1.45 kB
JavaScript
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
var NbDialogModule_1;
import { __decorate } from "tslib";
import { NgModule } from '@angular/core';
import { NbSharedModule } from '../shared/shared.module';
import { NbOverlayModule } from '../cdk/overlay/overlay.module';
import { NbDialogService } from './dialog.service';
import { NbDialogContainerComponent } from './dialog-container';
import { NB_DIALOG_CONFIG } from './dialog-config';
let NbDialogModule = NbDialogModule_1 = class NbDialogModule {
static forRoot(dialogConfig = {}) {
return {
ngModule: NbDialogModule_1,
providers: [
NbDialogService,
{ provide: NB_DIALOG_CONFIG, useValue: dialogConfig },
],
};
}
static forChild(dialogConfig = {}) {
return {
ngModule: NbDialogModule_1,
providers: [
NbDialogService,
{ provide: NB_DIALOG_CONFIG, useValue: dialogConfig },
],
};
}
};
NbDialogModule = NbDialogModule_1 = __decorate([
NgModule({
imports: [NbSharedModule, NbOverlayModule],
declarations: [NbDialogContainerComponent],
entryComponents: [NbDialogContainerComponent],
})
], NbDialogModule);
export { NbDialogModule };
//# sourceMappingURL=dialog.module.js.map