@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.
- package/dist/IntlTelInput.d.ts +13 -15
- package/dist/IntlTelInput.js +398 -346
- package/dist/IntlTelInputWithUtils.js +688 -636
- package/package.json +3 -2
package/dist/IntlTelInput.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
31
|
+
dropdownParent?: AllOptions["dropdownParent"];
|
|
33
32
|
excludeCountries?: AllOptions["excludeCountries"];
|
|
34
|
-
|
|
33
|
+
matchDropdownWidth?: AllOptions["matchDropdownWidth"];
|
|
35
34
|
formatAsYouType?: AllOptions["formatAsYouType"];
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
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
|
-
|
|
56
|
-
|
|
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
|
|
77
|
-
private
|
|
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; }; "
|
|
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;
|