@semantic-components/re-captcha
Version:
**@semantic-components/re-captcha** is an Angular library designed to simplify the integration of Google reCAPTCHA into your Angular applications. It supports reCAPTCHA v2 and v3, providing an easy-to-use API and seamless setup for enhancing your app's se
15 lines (14 loc) • 918 B
TypeScript
import { ControlValueAccessor } from '@angular/forms';
import { ScReCaptchaBase } from './re-captcha-base';
import * as i0 from "@angular/core";
export declare class ScCheckboxReCaptcha extends ScReCaptchaBase implements ControlValueAccessor {
private readonly host;
readonly theme: import("@angular/core").InputSignal<"dark" | "light">;
readonly size: import("@angular/core").InputSignal<"normal" | "compact">;
render(): void;
private isFirstRun;
constructor();
updateRecaptchaTheme(newTheme: 'dark' | 'light'): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ScCheckboxReCaptcha, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ScCheckboxReCaptcha, "div[sc-checkbox-re-captcha]", ["scCheckboxReCaptcha"], { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}