[angular-18]: Replace re-captcha with re-captcha-2. Need to be updated in every project.
This commit is contained in:
parent
6e7f450cf2
commit
f4b9104ae1
|
@ -2,7 +2,7 @@ import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';
|
||||||
import {FormGroup} from '@angular/forms';
|
import {FormGroup} from '@angular/forms';
|
||||||
import {EnvProperties} from "../utils/properties/env-properties";
|
import {EnvProperties} from "../utils/properties/env-properties";
|
||||||
import {properties} from "../../../environments/environment";
|
import {properties} from "../../../environments/environment";
|
||||||
import {RecaptchaComponent} from "ng-recaptcha";
|
import {RecaptchaComponent} from "ng-recaptcha-2";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'contact-us',
|
selector: 'contact-us',
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {RouterModule} from '@angular/router';
|
||||||
import {ContactUsComponent} from './contact-us.component';
|
import {ContactUsComponent} from './contact-us.component';
|
||||||
import {ReactiveFormsModule} from "@angular/forms";
|
import {ReactiveFormsModule} from "@angular/forms";
|
||||||
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
||||||
import {RecaptchaModule} from "ng-recaptcha";
|
import {RecaptchaModule} from "ng-recaptcha-2";
|
||||||
import {SafeHtmlPipeModule} from "../utils/pipes/safeHTMLPipe.module";
|
import {SafeHtmlPipeModule} from "../utils/pipes/safeHTMLPipe.module";
|
||||||
import {LoadingModule} from "../utils/loading/loading.module";
|
import {LoadingModule} from "../utils/loading/loading.module";
|
||||||
import {InputModule} from "../sharedComponents/input/input.module";
|
import {InputModule} from "../sharedComponents/input/input.module";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {LandingHeaderModule} from "../landing-utils/landing-header/landing-heade
|
||||||
import {ReactiveFormsModule} from "@angular/forms";
|
import {ReactiveFormsModule} from "@angular/forms";
|
||||||
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
||||||
import {EmailService} from "../../utils/email/email.service";
|
import {EmailService} from "../../utils/email/email.service";
|
||||||
import {RecaptchaModule} from "ng-recaptcha";
|
import {RecaptchaModule} from "ng-recaptcha-2";
|
||||||
import {IconsModule} from "../../utils/icons/icons.module";
|
import {IconsModule} from "../../utils/icons/icons.module";
|
||||||
import {InputModule} from "../../sharedComponents/input/input.module";
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {CommonModule} from "@angular/common";
|
import {CommonModule} from "@angular/common";
|
||||||
import {NgModule} from "@angular/core";
|
import {NgModule} from "@angular/core";
|
||||||
import {FormsModule} from "@angular/forms";
|
import {FormsModule} from "@angular/forms";
|
||||||
import {RecaptchaModule} from "ng-recaptcha";
|
import {RecaptchaModule} from "ng-recaptcha-2";
|
||||||
import {SdgSelectionModule} from "../../../sdg/sdg-selection/sdg-selection.module";
|
import {SdgSelectionModule} from "../../../sdg/sdg-selection/sdg-selection.module";
|
||||||
import {FosSelectionModule} from "../../../fos/fos-selection/fos-selection.module";
|
import {FosSelectionModule} from "../../../fos/fos-selection/fos-selection.module";
|
||||||
import {InputModule} from "../../../sharedComponents/input/input.module";
|
import {InputModule} from "../../../sharedComponents/input/input.module";
|
||||||
|
|
|
@ -31,7 +31,7 @@ import {IconsService} from "../../utils/icons/icons.service";
|
||||||
import {cite, fire, graph, landmark, link, link_to, quotes, rocket, versions} from "../../utils/icons/icons";
|
import {cite, fire, graph, landmark, link, link_to, quotes, rocket, versions} from "../../utils/icons/icons";
|
||||||
import {InputModule} from "../../sharedComponents/input/input.module";
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
||||||
import {EGIDataTransferModule} from "../../utils/dataTransfer/transferData.module";
|
import {EGIDataTransferModule} from "../../utils/dataTransfer/transferData.module";
|
||||||
import {RecaptchaModule} from 'ng-recaptcha';
|
import {RecaptchaModule} from 'ng-recaptcha-2';
|
||||||
import {SdgFosSuggestModule} from '../landing-utils/sdg-fos-suggest/sdg-fos-suggest.module';
|
import {SdgFosSuggestModule} from '../landing-utils/sdg-fos-suggest/sdg-fos-suggest.module';
|
||||||
import {FullScreenModalModule} from "../../utils/modal/full-screen-modal/full-screen-modal.module";
|
import {FullScreenModalModule} from "../../utils/modal/full-screen-modal/full-screen-modal.module";
|
||||||
import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module';
|
import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module';
|
||||||
|
|
Loading…
Reference in New Issue