invisible-recaptcha.component.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { ElementRef, Injector, NgZone, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
  2. import { ReCaptchaType } from '../models/recaptcha-type.enum';
  3. import { ScriptService } from '../services/script.service';
  4. import { BaseReCaptchaComponentDirective } from './base-re-captcha-component.directive';
  5. import * as i0 from "@angular/core";
  6. export declare class InvisibleReCaptchaComponent extends BaseReCaptchaComponentDirective implements OnChanges {
  7. protected renderer: Renderer2;
  8. protected zone: NgZone;
  9. protected injector: Injector;
  10. protected scriptService: ScriptService;
  11. /**
  12. * This size representing invisible captcha
  13. */
  14. protected readonly size = "invisible";
  15. /**
  16. * Theme
  17. */
  18. theme: 'dark' | 'light';
  19. /**
  20. * Badge
  21. */
  22. badge: 'bottomright' | 'bottomleft' | 'inline';
  23. captchaWrapperElem?: ElementRef;
  24. protected recaptchaType: ReCaptchaType;
  25. constructor(renderer: Renderer2, zone: NgZone, injector: Injector, scriptService: ScriptService);
  26. ngOnChanges(changes: SimpleChanges): void;
  27. /**
  28. * Programatically invoke the reCAPTCHA check. Used if the invisible reCAPTCHA is on a div instead of a button.
  29. */
  30. execute(): void;
  31. protected captchaSpecificSetup(): void;
  32. /**
  33. * Gets reCaptcha properties
  34. */
  35. protected getCaptchaProperties(): any;
  36. static ɵfac: i0.ɵɵFactoryDeclaration<InvisibleReCaptchaComponent, never>;
  37. static ɵcmp: i0.ɵɵComponentDeclaration<InvisibleReCaptchaComponent, "ngx-invisible-recaptcha", never, { "theme": "theme"; "badge": "badge"; }, {}, never, never, false, never>;
  38. }
  39. //# sourceMappingURL=invisible-recaptcha.component.d.ts.map