@trustcomponent/trustcaptcha-angular
Version:
TrustCaptcha – Privacy-first CAPTCHA solution for Angular. GDPR-compliant, bot protection made in Europe.
17 lines (16 loc) • 1.39 kB
TypeScript
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
import type { Components } from '@trustcomponent/trustcaptcha-frontend/dist/components';
import * as i0 from "@angular/core";
export declare class TrustcaptchaComponent {
protected z: NgZone;
protected el: HTMLTrustcaptchaComponentElement;
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
static ɵfac: i0.ɵɵFactoryDeclaration<TrustcaptchaComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TrustcaptchaComponent, "trustcaptcha-component", never, { "autostart": "autostart"; "bypassToken": "bypassToken"; "customDesign": "customDesign"; "customTranslations": "customTranslations"; "framework": "framework"; "hideBranding": "hideBranding"; "invisible": "invisible"; "invisibleHint": "invisibleHint"; "language": "language"; "license": "license"; "mode": "mode"; "privacyUrl": "privacyUrl"; "sitekey": "sitekey"; "theme": "theme"; "tokenFieldName": "tokenFieldName"; "trustcaptchaApi": "trustcaptchaApi"; "width": "width"; }, {}, never, ["*"], true, never>;
}
export declare interface TrustcaptchaComponent extends Components.TrustcaptchaComponent {
captchaStarted: EventEmitter<CustomEvent<void>>;
captchaSolved: EventEmitter<CustomEvent<string>>;
captchaFailed: EventEmitter<CustomEvent<string>>;
captchaReset: EventEmitter<CustomEvent<void>>;
}