intl-tel-input 27.2.1 → 27.3.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/CHANGELOG.md +1 -1
- package/README.md +25 -14
- package/angular/dist/IntlTelInput.d.ts +3 -1
- package/angular/dist/IntlTelInput.js +44 -7
- package/angular/dist/IntlTelInputWithUtils.js +374 -314
- package/dist/css/intlTelInput-no-assets.css +1116 -1
- package/dist/css/intlTelInput-no-assets.min.css +1 -1
- package/dist/css/intlTelInput.css +1122 -1
- package/dist/css/intlTelInput.min.css +1 -1
- package/dist/js/data.js +1 -1
- package/dist/js/data.min.js +1 -1
- package/dist/js/intlTelInput.d.ts +1 -0
- package/dist/js/intlTelInput.js +35 -6
- package/dist/js/intlTelInput.min.js +3 -3
- package/dist/js/intlTelInput.mjs +34 -5
- package/dist/js/intlTelInputWithUtils.js +365 -313
- package/dist/js/intlTelInputWithUtils.min.js +3 -3
- package/dist/js/intlTelInputWithUtils.mjs +364 -312
- package/dist/js/utils.js +50 -51
- package/package.json +3 -7
- package/react/dist/IntlTelInput.js +38 -5
- package/react/dist/IntlTelInputWithUtils.js +368 -312
- package/svelte/src/IntlTelInput.svelte +9 -2
- package/vue/dist/{IntlTelInput-CzuiSLVt.js → IntlTelInput-jw1tkqdD.js} +194 -186
- package/vue/dist/IntlTelInput.js +1 -1
- package/vue/dist/IntlTelInputWithUtils.js +35 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
See the Github Releases page for changelog: https://github.com/jackocnr/intl-tel-input/releases
|
|
2
2
|
|
|
3
|
-
Or to view a specific version, e.g. v27.
|
|
3
|
+
Or to view a specific version, e.g. v27.3.0, update the URL accordingly, e.g. https://github.com/jackocnr/intl-tel-input/releases/tag/v27.3.0
|
|
4
4
|
|
|
5
5
|
## Breaking changes
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -23,20 +23,31 @@ We provide React, Vue, Angular and Svelte (beta) components alongside the regula
|
|
|
23
23
|
We have a newly updated website, where you can find [a full set of docs](https://intl-tel-input.com/docs/integrations), a [live playground](https://intl-tel-input.com/playground/) where you can try out all of the options, as well as plenty of [examples](https://intl-tel-input.com/examples/validation-practical.html) of different setups.
|
|
24
24
|
|
|
25
25
|
## Features
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
26
|
+
|
|
27
|
+
🔍 **Fast country picking**
|
|
28
|
+
* Search by country name or dial code
|
|
29
|
+
* Full keyboard navigation
|
|
30
|
+
|
|
31
|
+
✨ **Smart defaults**
|
|
32
|
+
* Optionally auto-detect the user's country via IP lookup
|
|
33
|
+
* Example placeholders per country
|
|
34
|
+
|
|
35
|
+
📞 **Formatting & output**
|
|
36
|
+
* Formats the number as the user types
|
|
37
|
+
* Extract standard E.164 numbers to store
|
|
38
|
+
|
|
39
|
+
🛡️ **Validation**
|
|
40
|
+
* Validate numbers with specific error types
|
|
41
|
+
* Strict mode: only allow valid digits and enforce max length
|
|
42
|
+
|
|
43
|
+
🌍 **International & accessible**
|
|
44
|
+
* Translated into 40+ languages, with support for RTL and alternative numerals
|
|
45
|
+
* Screen reader-friendly ARIA markup
|
|
46
|
+
|
|
47
|
+
🎛️ **Customisable**
|
|
48
|
+
* Override CSS variables (e.g. dark mode)
|
|
49
|
+
* Optionally display the dial code next to the number
|
|
50
|
+
* Extensive initialisation options, methods, and events
|
|
40
51
|
|
|
41
52
|
## Contributing
|
|
42
53
|
See the [contributing guide](https://github.com/jackocnr/intl-tel-input/blob/master/.github/CONTRIBUTING.md) for instructions on setting up the project and making changes, and also on how to update the flag images, or how to add a new translation.
|
|
@@ -45,6 +45,7 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
|
|
|
45
45
|
separateDialCode?: AllOptions["separateDialCode"];
|
|
46
46
|
showFlags?: AllOptions["showFlags"];
|
|
47
47
|
strictMode?: AllOptions["strictMode"];
|
|
48
|
+
strictRejectAnimation?: AllOptions["strictRejectAnimation"];
|
|
48
49
|
useFullscreenPopup?: AllOptions["useFullscreenPopup"];
|
|
49
50
|
numberChange: EventEmitter<string>;
|
|
50
51
|
countryChange: EventEmitter<string>;
|
|
@@ -61,6 +62,7 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
|
|
|
61
62
|
click: EventEmitter<MouseEvent>;
|
|
62
63
|
private iti?;
|
|
63
64
|
private appliedInputAttrKeys;
|
|
65
|
+
private pluginInputClasses;
|
|
64
66
|
private lastEmittedNumber?;
|
|
65
67
|
private lastEmittedCountry?;
|
|
66
68
|
private lastEmittedValidity?;
|
|
@@ -103,6 +105,6 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
|
|
|
103
105
|
validate(_control: AbstractControl): ValidationErrors | null;
|
|
104
106
|
registerOnValidatorChange(fn: () => void): void;
|
|
105
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<IntlTelInput, never>;
|
|
106
|
-
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; }; "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; }; "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>;
|
|
108
|
+
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; }; "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
109
|
}
|
|
108
110
|
export default IntlTelInput;
|
|
@@ -1966,6 +1966,8 @@ var defaults = {
|
|
|
1966
1966
|
searchInputClass: "",
|
|
1967
1967
|
//* Display the international dial code next to the selected flag.
|
|
1968
1968
|
separateDialCode: false,
|
|
1969
|
+
//* When strictMode rejects a key (etc), play a short feedback animation
|
|
1970
|
+
strictRejectAnimation: false,
|
|
1969
1971
|
//* Show flags - for both the selected country, and in the country dropdown
|
|
1970
1972
|
showFlags: true,
|
|
1971
1973
|
//* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
|
|
@@ -2041,6 +2043,7 @@ var validateOptions = (customOptions) => {
|
|
|
2041
2043
|
case "showFlags":
|
|
2042
2044
|
case "separateDialCode":
|
|
2043
2045
|
case "strictMode":
|
|
2046
|
+
case "strictRejectAnimation":
|
|
2044
2047
|
case "useFullscreenPopup":
|
|
2045
2048
|
if (typeof value !== "boolean") {
|
|
2046
2049
|
warnOption(key, "a boolean", value);
|
|
@@ -3529,9 +3532,7 @@ var Iti = class _Iti {
|
|
|
3529
3532
|
this.#numerals = new Numerals(input.value);
|
|
3530
3533
|
this.promise = this.#createInitPromise(this.#options);
|
|
3531
3534
|
this.#countries = processAllCountries(this.#options);
|
|
3532
|
-
const { dialCodes, dialCodeMaxLength, dialCodeToIso2Map } = processDialCodes(
|
|
3533
|
-
this.#countries
|
|
3534
|
-
);
|
|
3535
|
+
const { dialCodes, dialCodeMaxLength, dialCodeToIso2Map } = processDialCodes(this.#countries);
|
|
3535
3536
|
this.#dialCodes = dialCodes;
|
|
3536
3537
|
this.#dialCodeMaxLength = dialCodeMaxLength;
|
|
3537
3538
|
this.#dialCodeToIso2Map = dialCodeToIso2Map;
|
|
@@ -3713,6 +3714,7 @@ var Iti = class _Iti {
|
|
|
3713
3714
|
#handleAndroidStrictReject(inputValue, rejectedInput) {
|
|
3714
3715
|
const newCaretPos = this.#removeJustTypedChar(inputValue);
|
|
3715
3716
|
this.#ui.telInputEl.setSelectionRange(newCaretPos, newCaretPos);
|
|
3717
|
+
this.#playStrictRejectAnimation();
|
|
3716
3718
|
this.#dispatchEvent(EVENTS.STRICT_REJECT, {
|
|
3717
3719
|
source: "key",
|
|
3718
3720
|
rejectedInput,
|
|
@@ -3772,7 +3774,13 @@ var Iti = class _Iti {
|
|
|
3772
3774
|
//* On input event: (1) Update selected country, (2) Format-as-you-type.
|
|
3773
3775
|
//* Note that this fires AFTER the input is updated.
|
|
3774
3776
|
#handleInputEvent = (e) => {
|
|
3775
|
-
const {
|
|
3777
|
+
const {
|
|
3778
|
+
strictMode,
|
|
3779
|
+
formatAsYouType,
|
|
3780
|
+
separateDialCode,
|
|
3781
|
+
allowDropdown,
|
|
3782
|
+
countrySearch
|
|
3783
|
+
} = this.#options;
|
|
3776
3784
|
const detail = e?.detail;
|
|
3777
3785
|
if (detail?.["isCountryChange"]) {
|
|
3778
3786
|
return;
|
|
@@ -3854,6 +3862,7 @@ var Iti = class _Iti {
|
|
|
3854
3862
|
const newCountry = this.#resolveCountryChangeFromNumber(newFullNumber);
|
|
3855
3863
|
const isChangingDialCode = newCountry !== null;
|
|
3856
3864
|
if (!isAllowedChar || hasExceededMaxLength && !isChangingDialCode && !isInitialPlus) {
|
|
3865
|
+
this.#playStrictRejectAnimation();
|
|
3857
3866
|
this.#dispatchEvent(EVENTS.STRICT_REJECT, {
|
|
3858
3867
|
source: "key",
|
|
3859
3868
|
rejectedInput: e.key,
|
|
@@ -3896,6 +3905,7 @@ var Iti = class _Iti {
|
|
|
3896
3905
|
coreNumber = intlTelInput.utils.getCoreNumber(newValue, iso2);
|
|
3897
3906
|
}
|
|
3898
3907
|
if (!coreNumber) {
|
|
3908
|
+
this.#playStrictRejectAnimation();
|
|
3899
3909
|
this.#dispatchEvent(EVENTS.STRICT_REJECT, {
|
|
3900
3910
|
source: "paste",
|
|
3901
3911
|
rejectedInput: pastedRaw,
|
|
@@ -3909,6 +3919,7 @@ var Iti = class _Iti {
|
|
|
3909
3919
|
newValue = newValue.slice(0, newValue.length - trimLength);
|
|
3910
3920
|
rejectReason = "max-length";
|
|
3911
3921
|
} else {
|
|
3922
|
+
this.#playStrictRejectAnimation();
|
|
3912
3923
|
this.#dispatchEvent(EVENTS.STRICT_REJECT, {
|
|
3913
3924
|
source: "paste",
|
|
3914
3925
|
rejectedInput: pastedRaw,
|
|
@@ -3923,6 +3934,9 @@ var Iti = class _Iti {
|
|
|
3923
3934
|
input.setSelectionRange(caretPos, caretPos);
|
|
3924
3935
|
input.dispatchEvent(new InputEvent("input", { bubbles: true }));
|
|
3925
3936
|
if (rejectReason) {
|
|
3937
|
+
if (pasted.length > 0 && sanitised.length === 0) {
|
|
3938
|
+
this.#playStrictRejectAnimation();
|
|
3939
|
+
}
|
|
3926
3940
|
this.#dispatchEvent(EVENTS.STRICT_REJECT, {
|
|
3927
3941
|
source: "paste",
|
|
3928
3942
|
rejectedInput: pastedRaw,
|
|
@@ -3935,6 +3949,21 @@ var Iti = class _Iti {
|
|
|
3935
3949
|
const max = Number(this.#ui.telInputEl.getAttribute("maxlength"));
|
|
3936
3950
|
return max && number.length > max ? number.substring(0, max) : number;
|
|
3937
3951
|
}
|
|
3952
|
+
//* Play the strict-reject animation (shake, or background-colour flash under prefers-reduced-motion) on the wrapper.
|
|
3953
|
+
//* Called when strictMode rejects the whole input (keystroke, or whole paste).
|
|
3954
|
+
//* Uses the wrapper (not the input) so any separateDialCode / country button move together with the input.
|
|
3955
|
+
#playStrictRejectAnimation() {
|
|
3956
|
+
if (!this.#options.strictRejectAnimation) {
|
|
3957
|
+
return;
|
|
3958
|
+
}
|
|
3959
|
+
const wrapperEl = this.#ui.telInputEl.parentElement;
|
|
3960
|
+
if (!wrapperEl) {
|
|
3961
|
+
return;
|
|
3962
|
+
}
|
|
3963
|
+
wrapperEl.classList.remove("iti__strict-reject-animation");
|
|
3964
|
+
void wrapperEl.offsetWidth;
|
|
3965
|
+
wrapperEl.classList.add("iti__strict-reject-animation");
|
|
3966
|
+
}
|
|
3938
3967
|
//* Trigger a custom event on the input (typed via ItiEventMap).
|
|
3939
3968
|
#dispatchEvent(name, detailProps = {}) {
|
|
3940
3969
|
const e = new CustomEvent(name, {
|
|
@@ -4571,7 +4600,7 @@ var intlTelInput = Object.assign(
|
|
|
4571
4600
|
attachUtils,
|
|
4572
4601
|
startedLoadingUtils: false,
|
|
4573
4602
|
startedLoadingAutoCountry: false,
|
|
4574
|
-
version: "27.
|
|
4603
|
+
version: "27.3.0"
|
|
4575
4604
|
}
|
|
4576
4605
|
);
|
|
4577
4606
|
var intlTelInput_default = intlTelInput;
|
|
@@ -4621,6 +4650,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4621
4650
|
separateDialCode;
|
|
4622
4651
|
showFlags;
|
|
4623
4652
|
strictMode;
|
|
4653
|
+
strictRejectAnimation;
|
|
4624
4654
|
useFullscreenPopup;
|
|
4625
4655
|
numberChange = new EventEmitter();
|
|
4626
4656
|
countryChange = new EventEmitter();
|
|
@@ -4637,6 +4667,8 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4637
4667
|
click = new EventEmitter();
|
|
4638
4668
|
iti;
|
|
4639
4669
|
appliedInputAttrKeys = /* @__PURE__ */ new Set();
|
|
4670
|
+
// Classes the plugin adds directly to the input (e.g. iti__tel-input)
|
|
4671
|
+
pluginInputClasses = "";
|
|
4640
4672
|
lastEmittedNumber;
|
|
4641
4673
|
lastEmittedCountry;
|
|
4642
4674
|
lastEmittedValidity;
|
|
@@ -4661,6 +4693,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4661
4693
|
};
|
|
4662
4694
|
ngAfterViewInit() {
|
|
4663
4695
|
this.iti = intlTelInput_default(this.inputRef.nativeElement, this.buildInitOptions());
|
|
4696
|
+
this.pluginInputClasses = this.inputRef.nativeElement.className;
|
|
4664
4697
|
this.inputRef.nativeElement.addEventListener("open:countrydropdown", this.handleOpenDropdown);
|
|
4665
4698
|
this.inputRef.nativeElement.addEventListener("close:countrydropdown", this.handleCloseDropdown);
|
|
4666
4699
|
this.inputRef.nativeElement.addEventListener("strict:reject", this.handleStrictReject);
|
|
@@ -4719,6 +4752,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4719
4752
|
separateDialCode: this.separateDialCode,
|
|
4720
4753
|
showFlags: this.showFlags,
|
|
4721
4754
|
strictMode: this.strictMode,
|
|
4755
|
+
strictRejectAnimation: this.strictRejectAnimation,
|
|
4722
4756
|
useFullscreenPopup: this.useFullscreenPopup
|
|
4723
4757
|
};
|
|
4724
4758
|
return Object.fromEntries(Object.entries(options).filter(([, value]) => value !== void 0));
|
|
@@ -4824,7 +4858,8 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4824
4858
|
warnInputAttr(key);
|
|
4825
4859
|
} else {
|
|
4826
4860
|
currentKeys.add(key);
|
|
4827
|
-
this.
|
|
4861
|
+
const next = key === "class" && this.pluginInputClasses ? `${this.pluginInputClasses} ${value}` : value;
|
|
4862
|
+
this.inputRef.nativeElement.setAttribute(key, next);
|
|
4828
4863
|
}
|
|
4829
4864
|
});
|
|
4830
4865
|
this.appliedInputAttrKeys.forEach((key) => {
|
|
@@ -4885,7 +4920,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4885
4920
|
let _t;
|
|
4886
4921
|
i0.\u0275\u0275queryRefresh(_t = i0.\u0275\u0275loadQuery()) && (ctx.inputRef = _t.first);
|
|
4887
4922
|
}
|
|
4888
|
-
}, inputs: { initialValue: "initialValue", usePreciseValidation: "usePreciseValidation", inputAttributes: "inputAttributes", disabled: "disabled", readonly: "readonly", allowDropdown: "allowDropdown", allowedNumberTypes: "allowedNumberTypes", allowNumberExtensions: "allowNumberExtensions", allowPhonewords: "allowPhonewords", autoPlaceholder: "autoPlaceholder", containerClass: "containerClass", countryNameLocale: "countryNameLocale", countryOrder: "countryOrder", countrySearch: "countrySearch", customPlaceholder: "customPlaceholder", dropdownAlwaysOpen: "dropdownAlwaysOpen", dropdownContainer: "dropdownContainer", excludeCountries: "excludeCountries", fixDropdownWidth: "fixDropdownWidth", formatAsYouType: "formatAsYouType", formatOnDisplay: "formatOnDisplay", geoIpLookup: "geoIpLookup", hiddenInput: "hiddenInput", i18n: "i18n", initialCountry: "initialCountry", loadUtils: "loadUtils", nationalMode: "nationalMode", onlyCountries: "onlyCountries", placeholderNumberType: "placeholderNumberType", searchInputClass: "searchInputClass", separateDialCode: "separateDialCode", showFlags: "showFlags", strictMode: "strictMode", useFullscreenPopup: "useFullscreenPopup" }, outputs: { 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" }, features: [i0.\u0275\u0275ProvidersFeature([
|
|
4923
|
+
}, inputs: { initialValue: "initialValue", usePreciseValidation: "usePreciseValidation", inputAttributes: "inputAttributes", disabled: "disabled", readonly: "readonly", allowDropdown: "allowDropdown", allowedNumberTypes: "allowedNumberTypes", allowNumberExtensions: "allowNumberExtensions", allowPhonewords: "allowPhonewords", autoPlaceholder: "autoPlaceholder", containerClass: "containerClass", countryNameLocale: "countryNameLocale", countryOrder: "countryOrder", countrySearch: "countrySearch", customPlaceholder: "customPlaceholder", dropdownAlwaysOpen: "dropdownAlwaysOpen", dropdownContainer: "dropdownContainer", excludeCountries: "excludeCountries", fixDropdownWidth: "fixDropdownWidth", formatAsYouType: "formatAsYouType", formatOnDisplay: "formatOnDisplay", geoIpLookup: "geoIpLookup", hiddenInput: "hiddenInput", i18n: "i18n", initialCountry: "initialCountry", loadUtils: "loadUtils", nationalMode: "nationalMode", onlyCountries: "onlyCountries", placeholderNumberType: "placeholderNumberType", searchInputClass: "searchInputClass", separateDialCode: "separateDialCode", showFlags: "showFlags", strictMode: "strictMode", strictRejectAnimation: "strictRejectAnimation", useFullscreenPopup: "useFullscreenPopup" }, outputs: { 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" }, features: [i0.\u0275\u0275ProvidersFeature([
|
|
4889
4924
|
{
|
|
4890
4925
|
provide: NG_VALUE_ACCESSOR,
|
|
4891
4926
|
useExisting: forwardRef(() => _IntlTelInput),
|
|
@@ -5019,6 +5054,8 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5019
5054
|
type: Input
|
|
5020
5055
|
}], strictMode: [{
|
|
5021
5056
|
type: Input
|
|
5057
|
+
}], strictRejectAnimation: [{
|
|
5058
|
+
type: Input
|
|
5022
5059
|
}], useFullscreenPopup: [{
|
|
5023
5060
|
type: Input
|
|
5024
5061
|
}], numberChange: [{
|