Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
FacilitatorNotesComponent,
MainUsersComponent,
PrivacyPolicyComponent
],
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,
ChangePasswordComponent,
DialogOverview,
FooterComponent
],
entryComponents: [DialogOverview],
imports: [
AppRoutingModule,
BrowserAnimationsModule,
BrowserModule,
FormsModule,
FlexLayoutModule,
HttpClientModule,
MaterialModule,
MatDialogModule,
MatSnackBarModule,
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
ReactiveFormsModule,
RouterModule
],
exports: [ ],
providers: [
{ provide: RECAPTCHA_LANGUAGE, useFactory: () => window['config'].recaptcha.languageCode },
]
})
export class AppModule { }
AccountManagementComponent,
UserManagementComponent
],
providers: [
{
provide: RECAPTCHA_SETTINGS,
useValue: { siteKey: environment.recaptchaKey } as RecaptchaSettings
},
UserService
],
imports: [
CommonModule,
SharedModule,
ClipboardModule,
RouterModule.forChild(routes),
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
MatTabsModule
]
})
export class UserModule {}
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CaptchaV2Component],
imports: [RecaptchaModule.forRoot(), TranslateModule.forRoot()],
providers: [{ provide: CAPTCHA_SITE_KEY, useValue: captchaSiteKey }],
}).compileComponents();
}));
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CaptchaComponent],
imports: [RecaptchaModule.forRoot()]
})
.compileComponents();
}));
MatCardModule,
MatDividerModule,
MatFormFieldModule,
MatInputModule,
MatProgressBarModule
];
@NgModule({
imports: [
CommonModule,
FlexLayoutModule,
FormsModule,
LoginRoutingModule,
ReactiveFormsModule,
materialModules,
RecaptchaModule.forRoot(),
RecaptchaFormsModule
],
declarations: [
LoginComponent,
LoginHomeComponent,
LoginGoogleUserNotFoundComponent,
LoginComponent
],
exports: [
LoginComponent
]
})
export class LoginModule { }
SignInComponent,
CreateAccountComponent,
RequestPasswordResetComponent,
ResetPasswordComponent,
AccountManagementComponent,
ChangePasswordComponent,
DeleteAccountComponent,
ConfirmDeleteAccountDialog,
LinkEmailAndPasswordToAccountComponent,
],
imports: [
CommonModule,
CustomMaterialModule,
ReactiveFormsModule,
RouterModule.forChild(routes),
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
JsonLdModule,
],
providers: [
AuthGuard,
AuthService,
{
provide: RECAPTCHA_SETTINGS,
useValue: globalRecaptchaSettings,
},
],
entryComponents: [ConfirmDeleteAccountDialog],
})
export class AuthModule {}
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ContactUsComponent],
imports: [
FormsModule,
ReactiveFormsModule,
NgxMaskModule.forRoot(),
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
AppConfigModule,
RouterTestingModule
],
providers: [HttpClient, HttpHandler, AlertService]
}).compileComponents();
}));
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { RecaptchaModule } from 'ng-recaptcha';
import { BasicDemoComponent } from "./basic-demo.component";
@NgModule({
bootstrap: [BasicDemoComponent],
declarations: [BasicDemoComponent],
imports: [BrowserModule, RecaptchaModule.forRoot()],
})
export class DemoModule { }
platformBrowserDynamic().bootstrapModule(DemoModule);
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RecaptchaModule } from 'ng-recaptcha';
import { RecaptchaFormsModule } from 'ng-recaptcha/forms';
import { FormsDemoComponent } from "./forms-demo.component";
@NgModule({
bootstrap: [FormsDemoComponent],
declarations: [FormsDemoComponent],
imports: [
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
BrowserModule,
FormsModule,
],
})
export class DemoModule { }
platformBrowserDynamic().bootstrapModule(DemoModule);