ngx-captcha
Advanced tools
Comparing version 12.0.2 to 13.0.0
@@ -7,3 +7,3 @@ [![npm version](https://badge.fury.io/js/ngx-captcha.svg)](https://badge.fury.io/js/ngx-captcha) | ||
Google reCaptcha implementation for Angular 13. | ||
Google reCaptcha implementation for Angular 14. | ||
@@ -78,6 +78,2 @@ Features: | ||
[useGlobalDomain]="false" | ||
[size]="size" | ||
[hl]="lang" | ||
[theme]="theme" | ||
[type]="type" | ||
formControlName="recaptcha"> | ||
@@ -120,5 +116,2 @@ </ngx-recaptcha2> | ||
(success)="handleSuccess($event)" | ||
[useGlobalDomain]="false" | ||
[type]="type" | ||
[badge]="badge" | ||
[ngModel]="recaptcha" | ||
@@ -125,0 +118,0 @@ [ngModelOptions]="{ standalone: true }"> |
@@ -20,3 +20,3 @@ import { AfterViewChecked, AfterViewInit, ElementRef, EventEmitter, Injector, NgZone, OnChanges, Renderer2, SimpleChanges } from "@angular/core"; | ||
*/ | ||
siteKey: string; | ||
siteKey?: string; | ||
/** | ||
@@ -34,3 +34,3 @@ * Indicates if global domain 'recaptcha.net' should be used instead of default domain ('google.com') | ||
*/ | ||
hl: string; | ||
hl?: string; | ||
/** | ||
@@ -184,4 +184,4 @@ * Tab index | ||
static ɵfac: i0.ɵɵFactoryDeclaration<BaseReCaptchaComponentDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseReCaptchaComponentDirective, never, never, { "siteKey": "siteKey"; "useGlobalDomain": "useGlobalDomain"; "useEnterprise": "useEnterprise"; "type": "type"; "hl": "hl"; "tabIndex": "tabIndex"; }, { "success": "success"; "load": "load"; "reset": "reset"; "ready": "ready"; "error": "error"; "expire": "expire"; }, never, never, false>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseReCaptchaComponentDirective, never, never, { "siteKey": "siteKey"; "useGlobalDomain": "useGlobalDomain"; "useEnterprise": "useEnterprise"; "type": "type"; "hl": "hl"; "tabIndex": "tabIndex"; }, { "success": "success"; "load": "load"; "reset": "reset"; "ready": "ready"; "error": "error"; "expire": "expire"; }, never, never, false, never>; | ||
} | ||
//# sourceMappingURL=base-re-captcha-component.directive.d.ts.map |
@@ -23,7 +23,3 @@ import { ElementRef, Injector, NgZone, OnChanges, Renderer2, SimpleChanges } from '@angular/core'; | ||
badge: 'bottomright' | 'bottomleft' | 'inline'; | ||
/** | ||
* Language code. Auto-detects the user's language if unspecified. | ||
*/ | ||
hl: string; | ||
captchaWrapperElem: ElementRef; | ||
captchaWrapperElem?: ElementRef; | ||
protected recaptchaType: ReCaptchaType; | ||
@@ -42,4 +38,4 @@ constructor(renderer: Renderer2, zone: NgZone, injector: Injector, scriptService: ScriptService); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InvisibleReCaptchaComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<InvisibleReCaptchaComponent, "ngx-invisible-recaptcha", never, { "theme": "theme"; "badge": "badge"; "hl": "hl"; }, {}, never, never, false>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<InvisibleReCaptchaComponent, "ngx-invisible-recaptcha", never, { "theme": "theme"; "badge": "badge"; }, {}, never, never, false, never>; | ||
} | ||
//# sourceMappingURL=invisible-recaptcha.component.d.ts.map |
@@ -27,7 +27,3 @@ import { ElementRef, Injector, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core'; | ||
size: 'compact' | 'normal'; | ||
/** | ||
* Language code. Auto-detects the user's language if unspecified. | ||
*/ | ||
hl: string; | ||
captchaWrapperElem: ElementRef; | ||
captchaWrapperElem?: ElementRef; | ||
protected recaptchaType: ReCaptchaType; | ||
@@ -47,4 +43,4 @@ constructor(renderer: Renderer2, zone: NgZone, injector: Injector, scriptService: ScriptService); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ReCaptcha2Component, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ReCaptcha2Component, "ngx-recaptcha2", never, { "theme": "theme"; "size": "size"; "hl": "hl"; }, {}, never, never, false>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ReCaptcha2Component, "ngx-recaptcha2", never, { "theme": "theme"; "size": "size"; }, {}, never, never, false, never>; | ||
} | ||
//# sourceMappingURL=recaptcha-2.component.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { NgZone } from '@angular/core'; | ||
import { ScriptService } from './script.service'; | ||
import { RecaptchaConfiguration } from '../models/recaptcha-configuration'; | ||
import { NgZone } from "@angular/core"; | ||
import { ScriptService } from "./script.service"; | ||
import { RecaptchaConfiguration } from "../models/recaptcha-configuration"; | ||
import * as i0 from "@angular/core"; | ||
@@ -5,0 +5,0 @@ export declare class ReCaptchaV3Service { |
{ | ||
"name": "ngx-captcha", | ||
"version": "12.0.2", | ||
"version": "13.0.0", | ||
"license": "MIT", | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/common": "^13.0.0 || ^14.0.0", | ||
"@angular/core": "^13.0.0 || ^14.0.0" | ||
"@angular/common": ">= 15.0.0", | ||
"@angular/core": ">= 15.0.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "module": "fesm2015/ngx-captcha.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
339286
48
3021