import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MemberStoreModule } from './member-store.module';
import { MemberRESTModule } from './member-rest.module';

import { COMPONENTS } from './component';
import { SERVICES } from './service';
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
import { QRCodeModule } from 'angularx-qrcode';
import { CaptchaModule } from 'primeng/captcha';
import { RecaptchaModule } from 'angular-google-recaptcha';

@NgModule({
  imports: [
    CommonModule,
    RouterModule,
    FormsModule,
    ReactiveFormsModule,
    MemberStoreModule,
    MemberRESTModule,
    PrimeNGModules,
    QRCodeModule,
    RecaptchaModule.forRoot({
      siteKey: '6Ldld1gUAAAAAKBn115dpJcFpsI4G0ZTCcmP29iA',
    }),
  ],
  declarations: [
    COMPONENTS,
  ],
  exports: [
    COMPONENTS,
  ],
  providers: [
    SERVICES,
  ],
})
export class MemberModule { }
