@osovitny/anatoly 2.15.5 → 2.15.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,4 +7,5 @@ export declare class Utils {
7
7
  static downloadBlobFile(value: Blob, fileName: string): void;
8
8
  static slugify(text: string, prefix?: string, postfix?: string): string;
9
9
  static generateRandom(start: number, end: number): number;
10
+ static isObjectNullOrEmpty(obj: any): boolean;
10
11
  }
@@ -1,26 +1,26 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
- import { ReCaptcha2Component } from 'ngx-captcha';
3
+ import { ReCaptchaV3Service } from 'ngx-captcha';
4
4
  import { AppContextService } from "../../../core/services/appcontext.service";
5
5
  import { NotificationService } from "../../../core/notifications/services/notification-service";
6
6
  import { EmailsApiService } from '../../../data/services/emails-api.service';
7
7
  import { BaseEditComponent } from "../../components/base/base-edit.component";
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class ContactUsForm extends BaseEditComponent implements OnInit {
10
+ private reCaptcha;
10
11
  private fb;
11
12
  private appContext;
12
13
  private api;
13
14
  private notificationService;
14
15
  isUserSignedIn: boolean;
15
- siteKey?: string;
16
+ reCaptchaSiteKey: any;
16
17
  selectedTopic: any;
17
18
  topicList: {
18
19
  value: string;
19
20
  }[];
20
21
  showActionButtons: boolean;
21
22
  submit: EventEmitter<any>;
22
- recaptcha: ReCaptcha2Component;
23
- constructor(fb: FormBuilder, appContext: AppContextService, api: EmailsApiService, notificationService: NotificationService);
23
+ constructor(reCaptcha: ReCaptchaV3Service, fb: FormBuilder, appContext: AppContextService, api: EmailsApiService, notificationService: NotificationService);
24
24
  ngOnInit(): void;
25
25
  createFormGroup(): void;
26
26
  setContext(context: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "2.15.5",
3
+ "version": "2.15.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15.1.1",
6
6
  "@angular/core": "15.1.1"