Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
BrowserAnimationsModule,
NbThemeModule.forRoot({ name: 'cosmic' }),
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,
DialogHasBackdropComponent,
DialogResultComponent,
DialogScrollComponent,
DialogShowcaseComponent,
DialogTemplateComponent,
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
imports: [
CommonModule,
NbDialogModule.forRoot(),
NbButtonModule,
NbInputModule,
NbCardModule,
DialogRoutingModule,
],
entryComponents: [
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
})
export class DialogModule {}
} from '@nebular/theme';
@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 {
}
DialogHasBackdropComponent,
DialogResultComponent,
DialogScrollComponent,
DialogShowcaseComponent,
DialogTemplateComponent,
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
imports: [
CommonModule,
NbDialogModule.forRoot(),
NbCardModule,
DialogRoutingModule,
],
entryComponents: [
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
})
export class DialogModule {}
DialogHasBackdropComponent,
DialogResultComponent,
DialogScrollComponent,
DialogShowcaseComponent,
DialogTemplateComponent,
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
imports: [
CommonModule,
NbDialogModule.forRoot(),
NbButtonModule,
NbInputModule,
NbCardModule,
DialogRoutingModule,
],
entryComponents: [
AutoFocusDialogComponent,
BackdropClickDialogComponent,
EscDialogComponent,
HasBackdropDialogComponent,
DialogNamePromptComponent,
ScrollDialogComponent,
ShowcaseDialogComponent,
],
})
export class DialogModule {}
useFactory: (HttpLoaderFactory),
deps: [HttpClient]
}
}),
NgbModule,
BrowserAnimationsModule,
NbThemeModule.forRoot({ name: 'dark' }),
NbLayoutModule,
NbEvaIconsModule,
NbWindowModule.forRoot({
closeOnBackdropClick: true
}),
NbSpinnerModule,
NbButtonModule,
NbIconModule,
NbDialogModule.forRoot(),
],
providers: [ElectronService],
bootstrap: [AppComponent],
entryComponents: [],
})
export class AppModule { }