1 | import { AfterViewInit, EventEmitter, NgZone, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import * as i0 from "@angular/core";
|
---|
3 | import * as i1 from "@angular/common";
|
---|
4 | export declare class Captcha implements AfterViewInit, OnDestroy {
|
---|
5 | el: ElementRef;
|
---|
6 | _zone: NgZone;
|
---|
7 | cd: ChangeDetectorRef;
|
---|
8 | siteKey: string;
|
---|
9 | theme: string;
|
---|
10 | type: string;
|
---|
11 | size: string;
|
---|
12 | tabindex: number;
|
---|
13 | initCallback: string;
|
---|
14 | onResponse: EventEmitter<any>;
|
---|
15 | onExpire: EventEmitter<any>;
|
---|
16 | private _instance;
|
---|
17 | private _language;
|
---|
18 | get language(): string;
|
---|
19 | set language(language: string);
|
---|
20 | constructor(el: ElementRef, _zone: NgZone, cd: ChangeDetectorRef);
|
---|
21 | ngAfterViewInit(): void;
|
---|
22 | init(): void;
|
---|
23 | reset(): void;
|
---|
24 | getResponse(): String;
|
---|
25 | recaptchaCallback(response: string): void;
|
---|
26 | recaptchaExpiredCallback(): void;
|
---|
27 | ngOnDestroy(): void;
|
---|
28 | static ɵfac: i0.ɵɵFactoryDeclaration<Captcha, never>;
|
---|
29 | static ɵcmp: i0.ɵɵComponentDeclaration<Captcha, "p-captcha", never, { "siteKey": "siteKey"; "theme": "theme"; "type": "type"; "size": "size"; "tabindex": "tabindex"; "initCallback": "initCallback"; "language": "language"; }, { "onResponse": "onResponse"; "onExpire": "onExpire"; }, never, never>;
|
---|
30 | }
|
---|
31 | export declare class CaptchaModule {
|
---|
32 | static ɵfac: i0.ɵɵFactoryDeclaration<CaptchaModule, never>;
|
---|
33 | static ɵmod: i0.ɵɵNgModuleDeclaration<CaptchaModule, [typeof Captcha], [typeof i1.CommonModule], [typeof Captcha]>;
|
---|
34 | static ɵinj: i0.ɵɵInjectorDeclaration<CaptchaModule>;
|
---|
35 | }
|
---|