ecabs-components 1.1.18 → 1.1.19

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.
@@ -17,6 +17,7 @@ export interface EcabsComponentsConfig {
17
17
  errorMessages?: ErrorMessage[];
18
18
  i18n?: Ecabsi18n;
19
19
  claims?: UserClaim[];
20
+ defaultPhoneDebounceTimeMs?: number;
20
21
  }
21
22
  export interface ErrorMessage {
22
23
  type: string;
@@ -35,7 +35,7 @@ export declare class EcabsBasePhoneComponent extends _NgxMatIntlTelInputMixinBas
35
35
  enableSearch: boolean;
36
36
  searchPlaceholder: string | undefined;
37
37
  describedBy: string;
38
- debounceTimeMs: number;
38
+ debounceTimeMs: any;
39
39
  get format(): PhoneNumberFormat;
40
40
  get placeholder(): string;
41
41
  get required(): boolean;
@@ -1,19 +1,19 @@
1
- import { AfterViewInit, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, DestroyRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, UntypedFormGroup } from '@angular/forms';
3
3
  import EcabsElementBaseComponent from '../base/element-base';
4
4
  import { EcabsComponentsService } from '../base/services/ecabs-components.service';
5
- import { UnsubscribeService } from '../base/services/unsubscribe.service';
6
5
  import { EcabsBasePhoneComponent } from '../ecabs-base-phone-input/ecabs-base-phone.component';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class EcabsPhoneComponent extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit, OnDestroy, OnInit, OnChanges {
9
8
  private readonly injector;
10
9
  private readonly ecabsComponentsService;
11
- private unsubscribeService;
10
+ private readonly destroyRef;
12
11
  preferredCountries: string[];
13
12
  enablePlaceholder: boolean;
14
13
  enableSearch: boolean;
15
14
  useOnlyDisabledClass: boolean;
16
15
  required: boolean;
16
+ debounceTimeMs: any;
17
17
  onblur: EventEmitter<{
18
18
  value: string;
19
19
  }>;
@@ -23,7 +23,7 @@ export declare class EcabsPhoneComponent extends EcabsElementBaseComponent imple
23
23
  prohibitedCharacters: string[];
24
24
  get value(): any;
25
25
  set value(val: any);
26
- constructor(injector: Injector, ecabsComponentsService: EcabsComponentsService, unsubscribeService: UnsubscribeService);
26
+ constructor(injector: Injector, ecabsComponentsService: EcabsComponentsService, destroyRef: DestroyRef);
27
27
  onInput(event: KeyboardEvent): void;
28
28
  ngOnInit(): void;
29
29
  ngAfterViewInit(): void;
@@ -38,5 +38,5 @@ export declare class EcabsPhoneComponent extends EcabsElementBaseComponent imple
38
38
  onBlur(): void;
39
39
  handleErrors(): void;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPhoneComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsPhoneComponent, "ecabs-phone", never, { "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "useOnlyDisabledClass": { "alias": "useOnlyDisabledClass"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "onblur": "onblur"; }, never, never, false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsPhoneComponent, "ecabs-phone", never, { "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "useOnlyDisabledClass": { "alias": "useOnlyDisabledClass"; "required": false; }; "required": { "alias": "required"; "required": false; }; "debounceTimeMs": { "alias": "debounceTimeMs"; "required": false; }; }, { "onblur": "onblur"; }, never, never, false, never>;
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",