@intl-tel-input/angular 28.1.0 → 29.0.0

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,11 +17,10 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
17
17
  inputAttributes: Record<string, string>;
18
18
  disabled: boolean;
19
19
  readonly: boolean;
20
- allowDropdown?: AllOptions["allowDropdown"];
20
+ countrySelectorMode?: AllOptions["countrySelectorMode"];
21
21
  allowedNumberTypes?: AllOptions["allowedNumberTypes"];
22
22
  allowNumberExtensions?: AllOptions["allowNumberExtensions"];
23
23
  allowPhonewords?: AllOptions["allowPhonewords"];
24
- autoPlaceholder?: AllOptions["autoPlaceholder"];
25
24
  containerClass?: AllOptions["containerClass"];
26
25
  countryNameLocale?: AllOptions["countryNameLocale"];
27
26
  countryNameOverrides?: AllOptions["countryNameOverrides"];
@@ -29,31 +28,30 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
29
28
  countrySearch?: AllOptions["countrySearch"];
30
29
  customPlaceholder?: AllOptions["customPlaceholder"];
31
30
  dropdownAlwaysOpen?: AllOptions["dropdownAlwaysOpen"];
32
- dropdownContainer?: AllOptions["dropdownContainer"];
31
+ dropdownParent?: AllOptions["dropdownParent"];
33
32
  excludeCountries?: AllOptions["excludeCountries"];
34
- fixDropdownWidth?: AllOptions["fixDropdownWidth"];
33
+ matchDropdownWidth?: AllOptions["matchDropdownWidth"];
35
34
  formatAsYouType?: AllOptions["formatAsYouType"];
36
- formatOnDisplay?: AllOptions["formatOnDisplay"];
37
- geoIpLookup?: AllOptions["geoIpLookup"];
38
- hiddenInput?: AllOptions["hiddenInput"];
39
- i18n?: AllOptions["i18n"];
35
+ hiddenInputs?: AllOptions["hiddenInputs"];
36
+ uiTranslations?: AllOptions["uiTranslations"];
40
37
  initialCountry?: AllOptions["initialCountry"];
38
+ initialCountryLookup?: AllOptions["initialCountryLookup"];
41
39
  loadUtils?: AllOptions["loadUtils"];
42
- nationalMode?: AllOptions["nationalMode"];
40
+ numberDisplayFormat?: AllOptions["numberDisplayFormat"];
43
41
  onlyCountries?: AllOptions["onlyCountries"];
42
+ placeholderNumberPolicy?: AllOptions["placeholderNumberPolicy"];
44
43
  placeholderNumberType?: AllOptions["placeholderNumberType"];
45
44
  searchInputClass?: AllOptions["searchInputClass"];
46
45
  separateDialCode?: AllOptions["separateDialCode"];
47
46
  showFlags?: AllOptions["showFlags"];
48
47
  strictMode?: AllOptions["strictMode"];
49
48
  strictRejectAnimation?: AllOptions["strictRejectAnimation"];
50
- useFullscreenPopup?: AllOptions["useFullscreenPopup"];
51
49
  numberChange: EventEmitter<string>;
52
50
  countryChange: EventEmitter<string>;
53
51
  validityChange: EventEmitter<boolean>;
54
52
  errorCodeChange: EventEmitter<"IS_POSSIBLE" | "INVALID_COUNTRY_CODE" | "TOO_SHORT" | "TOO_LONG" | "IS_POSSIBLE_LOCAL_ONLY" | "INVALID_LENGTH" | null>;
55
- openCountryDropdown: EventEmitter<void>;
56
- closeCountryDropdown: EventEmitter<void>;
53
+ openCountrySelector: EventEmitter<void>;
54
+ closeCountrySelector: EventEmitter<void>;
57
55
  strictReject: EventEmitter<StrictRejectDetail>;
58
56
  blur: EventEmitter<FocusEvent>;
59
57
  focus: EventEmitter<FocusEvent>;
@@ -73,8 +71,8 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
73
71
  private onChange;
74
72
  private onTouched;
75
73
  private onValidatorChange;
76
- private handleOpenDropdown;
77
- private handleCloseDropdown;
74
+ private handleOpenCountrySelector;
75
+ private handleCloseCountrySelector;
78
76
  private handleStrictReject;
79
77
  ngAfterViewInit(): void;
80
78
  private buildInitOptions;
@@ -106,6 +104,6 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
106
104
  validate(_control: AbstractControl): ValidationErrors | null;
107
105
  registerOnValidatorChange(fn: () => void): void;
108
106
  static ɵfac: i0.ɵɵFactoryDeclaration<IntlTelInput, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<IntlTelInput, "intl-tel-input", never, { "initialValue": { "alias": "initialValue"; "required": false; }; "usePreciseValidation": { "alias": "usePreciseValidation"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowDropdown": { "alias": "allowDropdown"; "required": false; }; "allowedNumberTypes": { "alias": "allowedNumberTypes"; "required": false; }; "allowNumberExtensions": { "alias": "allowNumberExtensions"; "required": false; }; "allowPhonewords": { "alias": "allowPhonewords"; "required": false; }; "autoPlaceholder": { "alias": "autoPlaceholder"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "countryNameLocale": { "alias": "countryNameLocale"; "required": false; }; "countryNameOverrides": { "alias": "countryNameOverrides"; "required": false; }; "countryOrder": { "alias": "countryOrder"; "required": false; }; "countrySearch": { "alias": "countrySearch"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "dropdownAlwaysOpen": { "alias": "dropdownAlwaysOpen"; "required": false; }; "dropdownContainer": { "alias": "dropdownContainer"; "required": false; }; "excludeCountries": { "alias": "excludeCountries"; "required": false; }; "fixDropdownWidth": { "alias": "fixDropdownWidth"; "required": false; }; "formatAsYouType": { "alias": "formatAsYouType"; "required": false; }; "formatOnDisplay": { "alias": "formatOnDisplay"; "required": false; }; "geoIpLookup": { "alias": "geoIpLookup"; "required": false; }; "hiddenInput": { "alias": "hiddenInput"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "initialCountry": { "alias": "initialCountry"; "required": false; }; "loadUtils": { "alias": "loadUtils"; "required": false; }; "nationalMode": { "alias": "nationalMode"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "placeholderNumberType": { "alias": "placeholderNumberType"; "required": false; }; "searchInputClass": { "alias": "searchInputClass"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "showFlags": { "alias": "showFlags"; "required": false; }; "strictMode": { "alias": "strictMode"; "required": false; }; "strictRejectAnimation": { "alias": "strictRejectAnimation"; "required": false; }; "useFullscreenPopup": { "alias": "useFullscreenPopup"; "required": false; }; }, { "numberChange": "numberChange"; "countryChange": "countryChange"; "validityChange": "validityChange"; "errorCodeChange": "errorCodeChange"; "openCountryDropdown": "openCountryDropdown"; "closeCountryDropdown": "closeCountryDropdown"; "strictReject": "strictReject"; "blur": "blur"; "focus": "focus"; "keydown": "keydown"; "keyup": "keyup"; "paste": "paste"; "click": "click"; }, never, never, true, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<IntlTelInput, "intl-tel-input", never, { "initialValue": { "alias": "initialValue"; "required": false; }; "usePreciseValidation": { "alias": "usePreciseValidation"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "countrySelectorMode": { "alias": "countrySelectorMode"; "required": false; }; "allowedNumberTypes": { "alias": "allowedNumberTypes"; "required": false; }; "allowNumberExtensions": { "alias": "allowNumberExtensions"; "required": false; }; "allowPhonewords": { "alias": "allowPhonewords"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "countryNameLocale": { "alias": "countryNameLocale"; "required": false; }; "countryNameOverrides": { "alias": "countryNameOverrides"; "required": false; }; "countryOrder": { "alias": "countryOrder"; "required": false; }; "countrySearch": { "alias": "countrySearch"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "dropdownAlwaysOpen": { "alias": "dropdownAlwaysOpen"; "required": false; }; "dropdownParent": { "alias": "dropdownParent"; "required": false; }; "excludeCountries": { "alias": "excludeCountries"; "required": false; }; "matchDropdownWidth": { "alias": "matchDropdownWidth"; "required": false; }; "formatAsYouType": { "alias": "formatAsYouType"; "required": false; }; "hiddenInputs": { "alias": "hiddenInputs"; "required": false; }; "uiTranslations": { "alias": "uiTranslations"; "required": false; }; "initialCountry": { "alias": "initialCountry"; "required": false; }; "initialCountryLookup": { "alias": "initialCountryLookup"; "required": false; }; "loadUtils": { "alias": "loadUtils"; "required": false; }; "numberDisplayFormat": { "alias": "numberDisplayFormat"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "placeholderNumberPolicy": { "alias": "placeholderNumberPolicy"; "required": false; }; "placeholderNumberType": { "alias": "placeholderNumberType"; "required": false; }; "searchInputClass": { "alias": "searchInputClass"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "showFlags": { "alias": "showFlags"; "required": false; }; "strictMode": { "alias": "strictMode"; "required": false; }; "strictRejectAnimation": { "alias": "strictRejectAnimation"; "required": false; }; }, { "numberChange": "numberChange"; "countryChange": "countryChange"; "validityChange": "validityChange"; "errorCodeChange": "errorCodeChange"; "openCountrySelector": "openCountrySelector"; "closeCountrySelector": "closeCountrySelector"; "strictReject": "strictReject"; "blur": "blur"; "focus": "focus"; "keydown": "keydown"; "keyup": "keyup"; "paste": "paste"; "click": "click"; }, never, never, true, never>;
110
108
  }
111
109
  export default IntlTelInput;