@nepwork/dashboards
Version:
Dashboards for emergencies and monitoring
44 lines • 1.63 kB
JavaScript
var NbWindowModule_1;
import { __decorate } from "tslib";
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NbOverlayModule } from '../cdk/overlay/overlay.module';
import { NbCardModule } from '../card/card.module';
import { NbIconModule } from '../icon/icon.module';
import { NbButtonModule } from '../button/button.module';
import { NbWindowService } from './window.service';
import { NbWindowsContainerComponent } from './windows-container.component';
import { NbWindowComponent } from './window.component';
import { NB_WINDOW_CONFIG } from './window.options';
let NbWindowModule = NbWindowModule_1 = class NbWindowModule {
static forRoot(defaultConfig) {
return {
ngModule: NbWindowModule_1,
providers: [
NbWindowService,
{ provide: NB_WINDOW_CONFIG, useValue: defaultConfig },
],
};
}
static forChild(defaultConfig) {
return {
ngModule: NbWindowModule_1,
providers: [
NbWindowService,
{ provide: NB_WINDOW_CONFIG, useValue: defaultConfig },
],
};
}
};
NbWindowModule = NbWindowModule_1 = __decorate([
NgModule({
imports: [CommonModule, NbOverlayModule, NbCardModule, NbIconModule, NbButtonModule],
declarations: [
NbWindowsContainerComponent,
NbWindowComponent,
],
entryComponents: [NbWindowsContainerComponent, NbWindowComponent],
})
], NbWindowModule);
export { NbWindowModule };
//# sourceMappingURL=window.module.js.map