[angular-18 | DONE | CHANGED] update to recaptcha-2

This commit is contained in:
Alex Martzios 2024-09-24 11:52:43 +03:00
parent 142105f19a
commit d70517747f
5 changed files with 9 additions and 7 deletions

View File

@ -295,5 +295,8 @@
} }
} }
} }
},
"cli": {
"analytics": false
} }
} }

View File

@ -38,7 +38,7 @@
"core-js": "^2.5.4", "core-js": "^2.5.4",
"express": "^4.15.2", "express": "^4.15.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"ng-recaptcha": "^13.2.1", "ng-recaptcha-2": "^14.0.0",
"rxjs": "^6.5.1", "rxjs": "^6.5.1",
"ts-md5": "^1.2.0", "ts-md5": "^1.2.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
@ -65,6 +65,7 @@
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.6.0", "karma-jasmine-html-reporter": "^1.6.0",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"replace-in-file": "^8.2.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"typescript": "~5.4.0" "typescript": "~5.4.0"
} }

View File

@ -5,7 +5,6 @@ import {RouterModule} from '@angular/router';
import {ContactComponent} from './contact.component'; import {ContactComponent} from './contact.component';
import {ContactRoutingModule} from "./contact-routing.module"; import {ContactRoutingModule} from "./contact-routing.module";
import {EmailService} from "../openaireLibrary/utils/email/email.service"; import {EmailService} from "../openaireLibrary/utils/email/email.service";
import {RecaptchaModule} from "ng-recaptcha";
import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module";
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service"; import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
import {HelperModule} from "../openaireLibrary/utils/helper/helper.module"; import {HelperModule} from "../openaireLibrary/utils/helper/helper.module";
@ -19,7 +18,7 @@ import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumb
@NgModule({ @NgModule({
imports: [ imports: [
ContactRoutingModule, CommonModule, RouterModule, ContactRoutingModule, CommonModule, RouterModule,
AlertModalModule, RecaptchaModule, HelperModule, AlertModalModule, HelperModule,
Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule
], ],
declarations: [ declarations: [

View File

@ -5,7 +5,6 @@ import {RouterModule} from '@angular/router';
import {GetStartedComponent} from './get-started.component'; import {GetStartedComponent} from './get-started.component';
import {GetStartedRoutingModule} from "./get-started-routing.module"; import {GetStartedRoutingModule} from "./get-started-routing.module";
import {EmailService} from "../openaireLibrary/utils/email/email.service"; import {EmailService} from "../openaireLibrary/utils/email/email.service";
import {RecaptchaModule} from "ng-recaptcha";
import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module";
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service"; import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
import {HelperModule} from "../openaireLibrary/utils/helper/helper.module"; import {HelperModule} from "../openaireLibrary/utils/helper/helper.module";
@ -21,7 +20,7 @@ import {IconsModule} from '../openaireLibrary/utils/icons/icons.module';
@NgModule({ @NgModule({
imports: [ imports: [
GetStartedRoutingModule, CommonModule, RouterModule, GetStartedRoutingModule, CommonModule, RouterModule,
AlertModalModule, RecaptchaModule, HelperModule, AlertModalModule, HelperModule,
Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule, LoadingModule, Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule, LoadingModule,
IconsModule IconsModule
], ],

@ -1 +1 @@
Subproject commit ace2fca2e91eacd00cb7e2fcac4efa711d77a246 Subproject commit f4b9104ae17c8d6df0371c6bf01393528c491299