Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
NbLayoutModule,
NbEvaIconsModule,
NbSidebarModule.forRoot(), // NbSidebarModule.forRoot(), //if this is your app.module
NbButtonModule,
NbActionsModule,
NbSearchModule,
NbIconModule,
NbMenuModule.forRoot(),
NbTooltipModule,
NbCardModule,
NbInputModule,
NbCheckboxModule,
NbSelectModule,
NbDialogModule.forRoot(),
NgxMaskModule.forRoot(),
NbToastrModule.forRoot(),
ReactiveFormsModule,
NbAlertModule,
FormlyModule.forRoot(),
NbDatepickerModule.forRoot(),
FormlyBootstrapModule,
Ng2FittextModule,
NgBootstrapFormValidationModule.forRoot(),
],
providers: [
ElectronService,
NbMenuService,
NbDialogService,
AccountsService,
NbDatepickerDirective,
{
provide: ErrorHandler,
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
AppRoutingModule,
ThemeModule.forRoot(),
NbSidebarModule.forRoot(),
NbMenuModule.forRoot(),
NbDatepickerModule.forRoot(),
NbDialogModule.forRoot(),
NbWindowModule.forRoot(),
NbToastrModule.forRoot(),
NbChatModule.forRoot({
messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
}),
CoreModule.forRoot(),
],
bootstrap: [AppComponent],
providers: [
{ provide: APP_BASE_HREF, useValue: '/' },
],
})
export class AppModule {
}
@NgModule({
declarations: [
ToastrDestroyByClickComponent,
ToastrDurationComponent,
ToastrIconComponent,
ToastrPositionsComponent,
ToastrPreventDuplicatesComponent,
ToastrPreventDuplicatesBehaviourComponent,
ToastrShowcaseComponent,
ToastrStatusesComponent,
ToastrLimitComponent,
],
imports: [
CommonModule,
FormsModule,
NbToastrModule.forRoot(),
NbButtonModule,
NbRadioModule,
NbCardModule,
ToastrRoutingModule,
],
})
export class ToastrModule {}
import { ToastrPreventDuplicatesComponent } from './toastr-prevent-duplicates.component';
import { ToastrShowcaseComponent } from './toastr-showcase.component';
import { ToastrStatusesComponent } from './toastr-statuses.component';
@NgModule({
declarations: [
ToastrDestroyByClickComponent,
ToastrDurationComponent,
ToastrIconComponent,
ToastrPositionsComponent,
ToastrPreventDuplicatesComponent,
ToastrShowcaseComponent,
ToastrStatusesComponent,
],
imports: [
NbToastrModule.forRoot(),
NbButtonModule,
ToastrRoutingModule,
],
})
export class ToastrModule {}