intl-tel-input 25.4.2 → 25.4.3

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.
@@ -486,14 +486,14 @@ declare module "intl-tel-input" {
486
486
  const intlTelInput: IntlTelInputInterface;
487
487
  export default intlTelInput;
488
488
  }
489
- declare module "intl-tel-input/angular.component" {
489
+ declare module "intl-tel-input/angular" {
490
490
  import intlTelInput from "intl-tel-input";
491
491
  import { Iti, SomeOptions } from "intl-tel-input";
492
- import { OnInit, OnDestroy, ElementRef, EventEmitter } from "@angular/core";
492
+ import { OnInit, OnDestroy, ElementRef, EventEmitter, AfterViewInit } from "@angular/core";
493
493
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from "@angular/forms";
494
494
  export { intlTelInput };
495
495
  export const PHONE_ERROR_MESSAGES: string[];
496
- export class IntlTelInputComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator {
496
+ class IntlTelInputComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
497
497
  inputRef: ElementRef<HTMLInputElement>;
498
498
  initialValue: string;
499
499
  usePreciseValidation: boolean;
@@ -524,6 +524,7 @@ declare module "intl-tel-input/angular.component" {
524
524
  validate(control: AbstractControl): ValidationErrors | null;
525
525
  registerOnValidatorChange(fn: () => void): void;
526
526
  }
527
+ export default IntlTelInputComponent;
527
528
  }
528
529
  declare module "intl-tel-input/utils" {
529
530
  export default utils;
@@ -533,14 +534,14 @@ declare module "intl-tel-input/intlTelInputWithUtils" {
533
534
  import intlTelInput from "intl-tel-input";
534
535
  export default intlTelInput;
535
536
  }
536
- declare module "intl-tel-input/angularWithUtils.component" {
537
+ declare module "intl-tel-input/angularWithUtils" {
537
538
  import intlTelInput from "intl-tel-input/intlTelInputWithUtils";
538
539
  import { Iti, SomeOptions } from "intl-tel-input";
539
- import { OnInit, OnDestroy, ElementRef, EventEmitter } from "@angular/core";
540
+ import { OnInit, OnDestroy, ElementRef, EventEmitter, AfterViewInit } from "@angular/core";
540
541
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from "@angular/forms";
541
542
  export { intlTelInput };
542
543
  export const PHONE_ERROR_MESSAGES: string[];
543
- export class IntlTelInputComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator {
544
+ class IntlTelInputComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
544
545
  inputRef: ElementRef<HTMLInputElement>;
545
546
  initialValue: string;
546
547
  usePreciseValidation: boolean;
@@ -571,6 +572,7 @@ declare module "intl-tel-input/angularWithUtils.component" {
571
572
  validate(control: AbstractControl): ValidationErrors | null;
572
573
  registerOnValidatorChange(fn: () => void): void;
573
574
  }
575
+ export default IntlTelInputComponent;
574
576
  }
575
577
  declare module "intl-tel-input/i18n/ar/countries" {
576
578
  import { I18n } from "intl-tel-input/i18n/types";