UNPKG

@nepwork/dashboards

Version:

Dashboards for emergencies and monitoring

36 lines 1.43 kB
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ var NbToastrModule_1; import { __decorate } from "tslib"; import { NgModule } from '@angular/core'; import { NbOverlayModule } from '../cdk/overlay/overlay.module'; import { NbSharedModule } from '../shared/shared.module'; import { NbIconModule } from '../icon/icon.module'; import { NbToastrContainerRegistry, NbToastrService } from './toastr.service'; import { NbToastComponent } from './toast.component'; import { NbToastrContainerComponent } from './toastr-container.component'; import { NB_TOASTR_CONFIG } from './toastr-config'; let NbToastrModule = NbToastrModule_1 = class NbToastrModule { static forRoot(toastrConfig = {}) { return { ngModule: NbToastrModule_1, providers: [ NbToastrService, NbToastrContainerRegistry, { provide: NB_TOASTR_CONFIG, useValue: toastrConfig }, ], }; } }; NbToastrModule = NbToastrModule_1 = __decorate([ NgModule({ imports: [NbSharedModule, NbOverlayModule, NbIconModule], declarations: [NbToastrContainerComponent, NbToastComponent], entryComponents: [NbToastrContainerComponent, NbToastComponent], }) ], NbToastrModule); export { NbToastrModule }; //# sourceMappingURL=toastr.module.js.map