Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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,
{
Sentry.init({
dsn: "https://2083a18ff4264ba2a86704ee8d8bc445@sentry.io/1678583",
release: version
});
*/
@NgModule({
declarations: [AppComponent],
imports: [
AppRoutingModule,
CoreModule,
SharedModule,
RouterModule,
BrowserModule,
NgbModule,
NgxMaskModule.forRoot()
],
providers: [{ provide: ErrorHandler, useClass: SentryErrorHandler }],
bootstrap: [AppComponent]
})
export class AppModule {}
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ContactUsComponent],
imports: [
FormsModule,
ReactiveFormsModule,
NgxMaskModule.forRoot(),
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
AppConfigModule,
RouterTestingModule
],
providers: [HttpClient, HttpHandler, AlertService]
}).compileComponents();
}));
{ path: 'changelog', loadChildren: () => import('./pages/changelog/changelog.module').then(m => m.ChangeLogPageModule) },
{ path: '', redirectTo: '/landing', pathMatch: 'full' },
{ path: '**', redirectTo: '/landing' }
];
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
DocumentationComponentsModule,
WrappersModule,
UpgradeModule,
BsDropdownModule.forRoot(),
ButtonsModule.forRoot(),
TypeaheadModule.forRoot(),
NgxMaskModule.forRoot(),
ModalModule.forRoot(),
RouterModule.forRoot(appRoutes, { useHash: true, initialNavigation: false })
],
providers: [
PersistentDataService,
{ provide: DOCUMENTATION_TOKEN, useValue: DocumentationType.Keppel },
{
provide: '$rootScope',
useFactory: (injector: Injector) => injector.get('$rootScope'),
deps: ['$injector']
},
{
provide: '$state',
useFactory: (injector: Injector) => injector.get('$state'),
deps: ['$injector']
}
declarations: [
AutenticacaoComponent,
CadastroClienteComponent,
LoginAgenciaComponent
],
imports: [
CommonModule,
AutenticacaoRoutingModule,
MatToolbarModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
MatInputModule,
MatDatepickerModule,
NgxMaskModule.forRoot(),
MatProgressBarModule,
MatDividerModule,
ReactiveFormsModule,
MatSnackBarModule
],
exports: [],
providers: [
ClientesService,
AgenciaService
],
})
export class AutenticacaoModule { }
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
NotifierModule,
NgxMaskModule.forRoot(),
I18nModule,
MatInputModule,
MatButtonModule,
MatIconModule,
MatTooltipModule,
MatFormFieldModule,
MatCardModule,
MatSelectModule,
Ng5SliderModule,
MatGridListModule,
MatCheckboxModule,
FormsModule,
NetworkModule,
HttpClientTestingModule,
MatProgressSpinnerModule,
MatProgressBarModule,
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
NotifierModule,
NgxMaskModule.forRoot(),
I18nModule,
MatInputModule,
MatButtonModule,
MatIconModule,
MatFormFieldModule,
MatCardModule,
MatSelectModule,
Ng5SliderModule,
MatGridListModule,
MatCheckboxModule,
FormsModule,
NetworkModule,
HttpClientTestingModule,
MatProgressSpinnerModule,
MatProgressBarModule,
MatTooltipModule,
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
FormsModule,
ReactiveFormsModule,
AppConfigModule,
Ng2SmartTableModule,
NgbModule.forRoot(),
NgbModalModule,
ImageUploadModule,
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
Ng2ImgMaxModule,
NgxMaskModule.forRoot(),
InputSearchModule,
BrowserAnimationsModule,
ToastrModule.forRoot()
],
providers: [
AuthGuardUser,
BookService,
CategoryService,
AuthenticationService,
ContactUsService,
GoogleAnalyticsService,
AddressService,
UserService,
ConfirmationDialogService,
{ provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true },
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [AccountComponent],
imports: [FormsModule, ReactiveFormsModule, NgxMaskModule.forRoot(), RouterTestingModule, AppConfigModule],
providers: [UserService, AddressService, HttpClient, HttpHandler]
}).compileComponents();
}));
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [AppComponent],
imports: [
AppRoutingModule,
CoreModule,
SharedModule,
RouterModule,
BrowserModule,
NgbModule,
NgxMaskModule.forRoot()
],
providers: [{ provide: ErrorHandler, useClass: SentryErrorHandler }]
}).compileComponents();
}));