@intl-tel-input/vue 29.0.3 → 29.0.5
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.
|
@@ -1729,7 +1729,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
#A() {
|
|
1731
1731
|
let { matchDropdownWidth: e, countrySelectorMode: t, countrySearch: n, uiTranslations: r, containerClass: i } = this.#e, a = t === F.FULLSCREEN, o = this.#j(), s = e ? "" : "iti--flexible-dropdown-width";
|
|
1732
|
-
this.#p = q("div", {
|
|
1732
|
+
if (this.#p = q("div", {
|
|
1733
1733
|
id: `iti-${this.#t}__country-selector`,
|
|
1734
1734
|
class: `iti__country-selector ${_.HIDE} ${s}`,
|
|
1735
1735
|
role: "dialog",
|
|
@@ -1739,7 +1739,11 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1739
1739
|
id: `iti-${this.#t}__country-listbox`,
|
|
1740
1740
|
role: "listbox",
|
|
1741
1741
|
[L.LABEL]: r.countryListAriaLabel
|
|
1742
|
-
}, this.#p), this.#F(), n && this.#V(), a
|
|
1742
|
+
}, this.#p), this.#F(), n && this.#V(), !a) {
|
|
1743
|
+
let { height: t, width: r } = this.#B();
|
|
1744
|
+
this.#s = t, n && (this.#p.style.height = `${t}px`, !e && r > 0 && (this.#p.style.width = `${r}px`));
|
|
1745
|
+
}
|
|
1746
|
+
o ? (this.#S = q("div", { class: K({
|
|
1743
1747
|
iti: !0,
|
|
1744
1748
|
"iti--detached-country-selector": !0,
|
|
1745
1749
|
"iti--fullscreen-popup": a,
|
|
@@ -1853,8 +1857,11 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1853
1857
|
this.#p.classList.remove(_.HIDE);
|
|
1854
1858
|
let n = q("div", { class: "iti iti--inline-country-selector" });
|
|
1855
1859
|
n.appendChild(this.#p), n.style.visibility = "hidden", t.appendChild(n);
|
|
1856
|
-
let r = this.#p.offsetHeight;
|
|
1857
|
-
return t.removeChild(n), n.style.visibility = "", this.#p.classList.add(_.HIDE),
|
|
1860
|
+
let r = this.#p.offsetHeight, i = this.#p.offsetWidth;
|
|
1861
|
+
return t.removeChild(n), n.style.visibility = "", this.#p.classList.add(_.HIDE), {
|
|
1862
|
+
height: r > 0 ? r : S.FALLBACK_DROPDOWN_HEIGHT,
|
|
1863
|
+
width: i
|
|
1864
|
+
};
|
|
1858
1865
|
}
|
|
1859
1866
|
#V() {
|
|
1860
1867
|
let { uiTranslations: e } = this.#e, t = this.#_.childElementCount;
|
|
@@ -2675,7 +2682,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
2675
2682
|
},
|
|
2676
2683
|
startedLoadingUtils: !1,
|
|
2677
2684
|
startedLoadingAutoCountry: !1,
|
|
2678
|
-
version: "29.0.
|
|
2685
|
+
version: "29.0.5",
|
|
2679
2686
|
NUMBER_FORMAT: M,
|
|
2680
2687
|
NUMBER_TYPE: N,
|
|
2681
2688
|
VALIDATION_ERROR: P,
|
package/dist/IntlTelInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./IntlTelInput-
|
|
1
|
+
import { n as e, t } from "./IntlTelInput-DEjmr0k0.js";
|
|
2
2
|
//#region packages/core/dist/js/utils.js
|
|
3
3
|
var n = {};
|
|
4
4
|
//#endregion
|
|
@@ -12613,7 +12613,7 @@ var n = {};
|
|
|
12613
12613
|
[
|
|
12614
12614
|
,
|
|
12615
12615
|
,
|
|
12616
|
-
"5(?:4[0-29]|6[0-
|
|
12616
|
+
"5(?:4[0-29]|6[0-4])\\d{6}|(?:55|6\\d|7[7-9])\\d{7}",
|
|
12617
12617
|
,
|
|
12618
12618
|
,
|
|
12619
12619
|
,
|
|
@@ -22058,7 +22058,7 @@ var n = {};
|
|
|
22058
22058
|
[
|
|
22059
22059
|
,
|
|
22060
22060
|
,
|
|
22061
|
-
"
|
|
22061
|
+
"[6-9]0[1-9]\\d{7}",
|
|
22062
22062
|
,
|
|
22063
22063
|
,
|
|
22064
22064
|
,
|
|
@@ -31804,7 +31804,7 @@ var n = {};
|
|
|
31804
31804
|
[
|
|
31805
31805
|
,
|
|
31806
31806
|
,
|
|
31807
|
-
"
|
|
31807
|
+
"[49]\\d{7}",
|
|
31808
31808
|
,
|
|
31809
31809
|
,
|
|
31810
31810
|
,
|
|
@@ -38261,7 +38261,7 @@ var n = {};
|
|
|
38261
38261
|
[
|
|
38262
38262
|
,
|
|
38263
38263
|
,
|
|
38264
|
-
"
|
|
38264
|
+
"[49]\\d{7}",
|
|
38265
38265
|
,
|
|
38266
38266
|
,
|
|
38267
38267
|
,
|
|
@@ -39186,7 +39186,7 @@ var n = {};
|
|
|
39186
39186
|
[
|
|
39187
39187
|
,
|
|
39188
39188
|
,
|
|
39189
|
-
"(?:(?:15|(?:3[59]|4[89]|6\\d|7[
|
|
39189
|
+
"(?:(?:15|(?:3[59]|4[89]|6\\d|7[0-35-9]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",
|
|
39190
39190
|
,
|
|
39191
39191
|
,
|
|
39192
39192
|
,
|
|
@@ -39290,21 +39290,21 @@ var n = {};
|
|
|
39290
39290
|
],
|
|
39291
39291
|
[
|
|
39292
39292
|
,
|
|
39293
|
-
"(\\d)(\\d{7})",
|
|
39293
|
+
"(\\d{2})(\\d{5,7})",
|
|
39294
39294
|
"$1 $2",
|
|
39295
|
-
["
|
|
39295
|
+
["1|28|9[2-9]"]
|
|
39296
39296
|
],
|
|
39297
39297
|
[
|
|
39298
39298
|
,
|
|
39299
|
-
"(\\d
|
|
39300
|
-
"$1 $2
|
|
39301
|
-
["[
|
|
39299
|
+
"(\\d)(\\d{7})",
|
|
39300
|
+
"$1 $2",
|
|
39301
|
+
["[267]|904"]
|
|
39302
39302
|
],
|
|
39303
39303
|
[
|
|
39304
39304
|
,
|
|
39305
|
-
"(\\d{2})(\\d{
|
|
39306
|
-
"$1 $2",
|
|
39307
|
-
["
|
|
39305
|
+
"(\\d{2})(\\d{3})(\\d{4})",
|
|
39306
|
+
"$1 $2 $3",
|
|
39307
|
+
["[346-9]"]
|
|
39308
39308
|
]
|
|
39309
39309
|
],
|
|
39310
39310
|
,
|
|
@@ -43665,7 +43665,7 @@ var n = {};
|
|
|
43665
43665
|
[
|
|
43666
43666
|
,
|
|
43667
43667
|
,
|
|
43668
|
-
"72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[
|
|
43668
|
+
"72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[016]|9[0-589])\\d{6}",
|
|
43669
43669
|
,
|
|
43670
43670
|
,
|
|
43671
43671
|
,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intl-tel-input/vue",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.5",
|
|
4
4
|
"description": "A Vue component for intl-tel-input, for entering, formatting, and validating international telephone numbers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"intl-tel-input": "^29.0.
|
|
27
|
+
"intl-tel-input": "^29.0.5"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"vue": "^3.0.0"
|