intl-tel-input 24.3.7 → 24.5.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/README.md +13 -16
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/index.js +2 -0
- package/build/js/i18n/no/countries.js +245 -0
- package/build/js/i18n/no/index.js +5 -0
- package/build/js/i18n/no/interface.js +13 -0
- package/build/js/i18n/vi/countries.js +245 -0
- package/build/js/i18n/vi/index.js +5 -0
- package/build/js/i18n/vi/interface.js +13 -0
- package/build/js/intlTelInput.d.ts +38 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +30 -35
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +16 -16
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.d.ts +38 -0
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +29 -34
- package/react/build/IntlTelInputWithUtils.js +29 -34
- package/vue/README.md +48 -4
- package/vue/build/IntlTelInput.mjs +38 -25
- package/vue/build/IntlTelInputWithUtils.mjs +100 -92
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeModels as e2, useModel as T2, ref as _1, onMounted as L2, watch as N2, onUnmounted as E2, withDirectives as D2, openBlock as M2, createElementBlock as x2, vModelText as
|
|
1
|
+
import { mergeModels as e2, useModel as T2, ref as _1, onMounted as L2, watch as N2, onUnmounted as E2, withDirectives as D2, openBlock as M2, createElementBlock as P2, mergeProps as x2, vModelText as R2 } from "vue";
|
|
2
2
|
const $2 = [
|
|
3
3
|
[
|
|
4
4
|
"af",
|
|
@@ -1318,7 +1318,7 @@ for (let y = 0; y < $2.length; y++) {
|
|
|
1318
1318
|
nodeById: {}
|
|
1319
1319
|
};
|
|
1320
1320
|
}
|
|
1321
|
-
const
|
|
1321
|
+
const B2 = {
|
|
1322
1322
|
ad: "Andorra",
|
|
1323
1323
|
ae: "United Arab Emirates",
|
|
1324
1324
|
af: "Afghanistan",
|
|
@@ -1561,7 +1561,7 @@ const R2 = {
|
|
|
1561
1561
|
za: "South Africa",
|
|
1562
1562
|
zm: "Zambia",
|
|
1563
1563
|
zw: "Zimbabwe"
|
|
1564
|
-
},
|
|
1564
|
+
}, k2 = {
|
|
1565
1565
|
selectedCountryAriaLabel: "Selected country",
|
|
1566
1566
|
noCountrySelected: "No country selected",
|
|
1567
1567
|
countryListAriaLabel: "List of countries",
|
|
@@ -1572,10 +1572,10 @@ const R2 = {
|
|
|
1572
1572
|
// additional countries (not supported by country-list library)
|
|
1573
1573
|
ac: "Ascension Island",
|
|
1574
1574
|
xk: "Kosovo"
|
|
1575
|
-
}, s2 = { ...
|
|
1575
|
+
}, s2 = { ...B2, ...k2 };
|
|
1576
1576
|
for (let y = 0; y < H.length; y++)
|
|
1577
1577
|
H[y].name = s2[H[y].iso2];
|
|
1578
|
-
let
|
|
1578
|
+
let O2 = 0;
|
|
1579
1579
|
const r2 = {
|
|
1580
1580
|
//* Whether or not to allow the dropdown.
|
|
1581
1581
|
allowDropdown: !0,
|
|
@@ -1631,7 +1631,7 @@ const r2 = {
|
|
|
1631
1631
|
utilsScript: "",
|
|
1632
1632
|
//* The number type to enforce during validation.
|
|
1633
1633
|
validationNumberType: "MOBILE"
|
|
1634
|
-
},
|
|
1634
|
+
}, G2 = [
|
|
1635
1635
|
"800",
|
|
1636
1636
|
"822",
|
|
1637
1637
|
"833",
|
|
@@ -1653,10 +1653,10 @@ const r2 = {
|
|
|
1653
1653
|
const e = c1(y);
|
|
1654
1654
|
if (e.charAt(0) === "1") {
|
|
1655
1655
|
const i = e.substr(1, 3);
|
|
1656
|
-
return
|
|
1656
|
+
return G2.indexOf(i) !== -1;
|
|
1657
1657
|
}
|
|
1658
1658
|
return !1;
|
|
1659
|
-
},
|
|
1659
|
+
}, U2 = (y, e, i, s) => {
|
|
1660
1660
|
if (i === 0 && !s)
|
|
1661
1661
|
return 0;
|
|
1662
1662
|
let u = 0;
|
|
@@ -1674,9 +1674,9 @@ const r2 = {
|
|
|
1674
1674
|
const { instances: e } = C;
|
|
1675
1675
|
Object.values(e).forEach((i) => i[y]());
|
|
1676
1676
|
};
|
|
1677
|
-
class
|
|
1677
|
+
class F2 {
|
|
1678
1678
|
constructor(e, i = {}) {
|
|
1679
|
-
this.id =
|
|
1679
|
+
this.id = O2++, this.telInput = e, this.highlightedItem = null, this.options = Object.assign({}, r2, i), this.hadInitialPlaceholder = !!e.getAttribute("placeholder");
|
|
1680
1680
|
}
|
|
1681
1681
|
//* Can't be private as it's called from intlTelInput convenience wrapper.
|
|
1682
1682
|
_init() {
|
|
@@ -1822,10 +1822,10 @@ class U2 {
|
|
|
1822
1822
|
{ class: "iti__selected-dial-code" },
|
|
1823
1823
|
this.selectedCountry
|
|
1824
1824
|
)), e) {
|
|
1825
|
-
const
|
|
1825
|
+
const P = p ? "" : "iti--flexible-dropdown-width";
|
|
1826
1826
|
if (this.dropdownContent = N("div", {
|
|
1827
1827
|
id: `iti-${this.id}__dropdown-content`,
|
|
1828
|
-
class: `iti__dropdown-content iti__hide ${
|
|
1828
|
+
class: `iti__dropdown-content iti__hide ${P}`
|
|
1829
1829
|
}), b && (this.searchInput = N(
|
|
1830
1830
|
"input",
|
|
1831
1831
|
{
|
|
@@ -1861,13 +1861,13 @@ class U2 {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
1863
|
if (S.appendChild(this.telInput), this._updateInputPadding(), a) {
|
|
1864
|
-
const T = this.telInput.getAttribute("name") || "",
|
|
1865
|
-
|
|
1864
|
+
const T = this.telInput.getAttribute("name") || "", P = a(T);
|
|
1865
|
+
P.phone && (this.hiddenInput = N("input", {
|
|
1866
1866
|
type: "hidden",
|
|
1867
|
-
name:
|
|
1868
|
-
}), S.appendChild(this.hiddenInput)),
|
|
1867
|
+
name: P.phone
|
|
1868
|
+
}), S.appendChild(this.hiddenInput)), P.country && (this.hiddenInputCountry = N("input", {
|
|
1869
1869
|
type: "hidden",
|
|
1870
|
-
name:
|
|
1870
|
+
name: P.country
|
|
1871
1871
|
}), S.appendChild(this.hiddenInputCountry));
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
@@ -1971,7 +1971,7 @@ class U2 {
|
|
|
1971
1971
|
b || _ && !e ? p = !0 : /[^+0-9]/.test(this.telInput.value) || (p = !1);
|
|
1972
1972
|
const A = (g == null ? void 0 : g.detail) && g.detail.isSetNumber && !u;
|
|
1973
1973
|
if (i && !p && !A) {
|
|
1974
|
-
const S = this.telInput.selectionStart || 0, T = this.telInput.value.substring(0, S).replace(/[^+0-9]/g, "").length,
|
|
1974
|
+
const S = this.telInput.selectionStart || 0, T = this.telInput.value.substring(0, S).replace(/[^+0-9]/g, "").length, P = (g == null ? void 0 : g.inputType) === "deleteContentForward", O = this._formatNumberAsYouType(), J = U2(T, O, S, P);
|
|
1975
1975
|
this.telInput.value = O, this.telInput.setSelectionRange(J, J);
|
|
1976
1976
|
}
|
|
1977
1977
|
}, this.telInput.addEventListener("input", this._handleInputEvent), (e || s) && (this._handleKeydownEvent = (g) => {
|
|
@@ -1981,7 +1981,7 @@ class U2 {
|
|
|
1981
1981
|
return;
|
|
1982
1982
|
}
|
|
1983
1983
|
if (e) {
|
|
1984
|
-
const b = this.telInput.selectionStart === 0 && g.key === "+", _ = /^[0-9]$/.test(g.key), A = s ? _ : b || _, S = this._getFullNumber(), I = C.utils.getCoreNumber(S, this.selectedCountryData.iso2), T = this.maxCoreNumberLength && I.length >= this.maxCoreNumberLength,
|
|
1984
|
+
const b = this.telInput.selectionStart === 0 && g.key === "+", _ = /^[0-9]$/.test(g.key), A = s ? _ : b || _, S = this._getFullNumber(), I = C.utils.getCoreNumber(S, this.selectedCountryData.iso2), T = this.maxCoreNumberLength && I.length >= this.maxCoreNumberLength, P = this.telInput.value.substring(this.telInput.selectionStart, this.telInput.selectionEnd), O = /\d/.test(P), f1 = (this.telInput.selectionStart || 0) === this.telInput.value.length;
|
|
1985
1985
|
(!A || T && !O && f1) && g.preventDefault();
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
@@ -2439,7 +2439,7 @@ class U2 {
|
|
|
2439
2439
|
this.telInput.disabled = e, e ? this.selectedCountry.setAttribute("disabled", "true") : this.selectedCountry.removeAttribute("disabled");
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
|
-
const
|
|
2442
|
+
const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUtilsScript = !0, new Promise((e, i) => {
|
|
2443
2443
|
import_INTENTIONALLY_BROKEN(
|
|
2444
2444
|
/* webpackIgnore: true */
|
|
2445
2445
|
/* @vite-ignore */
|
|
@@ -2451,7 +2451,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2451
2451
|
});
|
|
2452
2452
|
})) : null, C = Object.assign(
|
|
2453
2453
|
(y, e) => {
|
|
2454
|
-
const i = new
|
|
2454
|
+
const i = new F2(y, e);
|
|
2455
2455
|
return i._init(), y.setAttribute("data-intl-tel-input-id", i.id.toString()), C.instances[i.id] = i, i;
|
|
2456
2456
|
},
|
|
2457
2457
|
{
|
|
@@ -2467,8 +2467,8 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2467
2467
|
},
|
|
2468
2468
|
//* A map from instance ID to instance object.
|
|
2469
2469
|
instances: {},
|
|
2470
|
-
loadUtils:
|
|
2471
|
-
version: "24.
|
|
2470
|
+
loadUtils: V2,
|
|
2471
|
+
version: "24.5.0"
|
|
2472
2472
|
}
|
|
2473
2473
|
);
|
|
2474
2474
|
(function() {
|
|
@@ -2537,7 +2537,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2537
2537
|
new A();
|
|
2538
2538
|
function S(d, t) {
|
|
2539
2539
|
switch (this.g = d, this.l = !!t.aa, this.h = t.i, this.s = t.type, this.o = !1, this.h) {
|
|
2540
|
-
case
|
|
2540
|
+
case P:
|
|
2541
2541
|
case O:
|
|
2542
2542
|
case J:
|
|
2543
2543
|
case f1:
|
|
@@ -2548,7 +2548,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2548
2548
|
}
|
|
2549
2549
|
this.j = t.defaultValue;
|
|
2550
2550
|
}
|
|
2551
|
-
var I = 1, T = 2,
|
|
2551
|
+
var I = 1, T = 2, P = 3, O = 4, J = 6, f1 = 16, o2 = 18;
|
|
2552
2552
|
function u2(d, t) {
|
|
2553
2553
|
for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
|
|
2554
2554
|
var $ = t[d];
|
|
@@ -2560,16 +2560,16 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2560
2560
|
return t.g - $.g;
|
|
2561
2561
|
}), d;
|
|
2562
2562
|
}
|
|
2563
|
-
function
|
|
2563
|
+
function x() {
|
|
2564
2564
|
this.h = {}, this.j = this.m().g, this.g = this.l = null;
|
|
2565
2565
|
}
|
|
2566
|
-
|
|
2566
|
+
x.prototype.has = function(d) {
|
|
2567
2567
|
return R(this, d.g);
|
|
2568
|
-
},
|
|
2568
|
+
}, x.prototype.get = function(d, t) {
|
|
2569
2569
|
return f(this, d.g, t);
|
|
2570
|
-
},
|
|
2570
|
+
}, x.prototype.set = function(d, t) {
|
|
2571
2571
|
E(this, d.g, t);
|
|
2572
|
-
},
|
|
2572
|
+
}, x.prototype.add = function(d, t) {
|
|
2573
2573
|
v1(this, d.g, t);
|
|
2574
2574
|
};
|
|
2575
2575
|
function I1(d, t) {
|
|
@@ -2585,7 +2585,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
|
|
2588
|
+
x.prototype.clone = function() {
|
|
2589
2589
|
var d = new this.constructor();
|
|
2590
2590
|
return d != this && (d.h = {}, d.g && (d.g = {}), I1(d, this)), d;
|
|
2591
2591
|
};
|
|
@@ -2648,7 +2648,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2648
2648
|
s1.prototype.g = function(d) {
|
|
2649
2649
|
throw new d.h(), Error("Unimplemented");
|
|
2650
2650
|
}, s1.prototype.h = function(d, t) {
|
|
2651
|
-
if (d.h == 11 || d.h == 10) return t instanceof
|
|
2651
|
+
if (d.h == 11 || d.h == 10) return t instanceof x ? t : this.g(d.s.prototype.m(), t);
|
|
2652
2652
|
if (d.h == 14) return typeof t == "string" && S1.test(t) && (d = Number(t), 0 < d) ? d : t;
|
|
2653
2653
|
if (!d.o) return t;
|
|
2654
2654
|
if (d = d.s, d === String) {
|
|
@@ -2685,19 +2685,19 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2685
2685
|
return this.h;
|
|
2686
2686
|
};
|
|
2687
2687
|
function j() {
|
|
2688
|
-
|
|
2688
|
+
x.call(this);
|
|
2689
2689
|
}
|
|
2690
|
-
i(j,
|
|
2690
|
+
i(j, x);
|
|
2691
2691
|
var w1 = null;
|
|
2692
2692
|
function w() {
|
|
2693
|
-
|
|
2693
|
+
x.call(this);
|
|
2694
2694
|
}
|
|
2695
|
-
i(w,
|
|
2695
|
+
i(w, x);
|
|
2696
2696
|
var b1 = null;
|
|
2697
2697
|
function W() {
|
|
2698
|
-
|
|
2698
|
+
x.call(this);
|
|
2699
2699
|
}
|
|
2700
|
-
i(W,
|
|
2700
|
+
i(W, x);
|
|
2701
2701
|
var A1 = null;
|
|
2702
2702
|
j.prototype.m = function() {
|
|
2703
2703
|
var d = w1;
|
|
@@ -2746,9 +2746,9 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
2746
2746
|
})), d;
|
|
2747
2747
|
}, W.m = W.prototype.m;
|
|
2748
2748
|
function V() {
|
|
2749
|
-
|
|
2749
|
+
x.call(this);
|
|
2750
2750
|
}
|
|
2751
|
-
i(V,
|
|
2751
|
+
i(V, x);
|
|
2752
2752
|
var T1 = null, a2 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
|
|
2753
2753
|
V.prototype.m = function() {
|
|
2754
2754
|
var d = T1;
|
|
@@ -3182,7 +3182,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
3182
3182
|
[
|
|
3183
3183
|
,
|
|
3184
3184
|
,
|
|
3185
|
-
"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[
|
|
3185
|
+
"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
|
|
3186
3186
|
,
|
|
3187
3187
|
,
|
|
3188
3188
|
,
|
|
@@ -3195,7 +3195,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
3195
3195
|
[
|
|
3196
3196
|
,
|
|
3197
3197
|
,
|
|
3198
|
-
"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[
|
|
3198
|
+
"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
|
|
3199
3199
|
,
|
|
3200
3200
|
,
|
|
3201
3201
|
,
|
|
@@ -4149,7 +4149,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
4149
4149
|
[
|
|
4150
4150
|
,
|
|
4151
4151
|
,
|
|
4152
|
-
"(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|
|
|
4152
|
+
"(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}",
|
|
4153
4153
|
,
|
|
4154
4154
|
,
|
|
4155
4155
|
,
|
|
@@ -4450,7 +4450,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
4450
4450
|
ET: [, [, , "(?:11|[2-579]\\d)\\d{7}", , , , , , , [9], [7]], [
|
|
4451
4451
|
,
|
|
4452
4452
|
,
|
|
4453
|
-
"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",
|
|
4453
|
+
"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",
|
|
4454
4454
|
,
|
|
4455
4455
|
,
|
|
4456
4456
|
,
|
|
@@ -4965,14 +4965,14 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
4965
4965
|
ID: [, [
|
|
4966
4966
|
,
|
|
4967
4967
|
,
|
|
4968
|
-
"
|
|
4968
|
+
"00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",
|
|
4969
4969
|
,
|
|
4970
4970
|
,
|
|
4971
4971
|
,
|
|
4972
4972
|
,
|
|
4973
4973
|
,
|
|
4974
4974
|
,
|
|
4975
|
-
[7, 8, 9, 10, 11, 12, 13],
|
|
4975
|
+
[7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17],
|
|
4976
4976
|
[5, 6]
|
|
4977
4977
|
], [
|
|
4978
4978
|
,
|
|
@@ -4986,19 +4986,19 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
4986
4986
|
,
|
|
4987
4987
|
[7, 8, 9, 10, 11],
|
|
4988
4988
|
[5, 6]
|
|
4989
|
-
], [, , "8[1-35-9]\\d{7,10}", , , , "812345678", , , [9, 10, 11, 12]], [, , "00
|
|
4989
|
+
], [, , "8[1-35-9]\\d{7,10}", , , , "812345678", , , [9, 10, 11, 12]], [, , "00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}", , , , "8001234567", , , [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]], [, , "809\\d{7}", , , , "8091234567", , , [10]], [, , "804\\d{7}", , , , "8041234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ID", 62, "00[89]", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [, "(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [
|
|
4990
4990
|
,
|
|
4991
4991
|
"(\\d{3})(\\d{5,8})",
|
|
4992
4992
|
"$1 $2",
|
|
4993
4993
|
["[2-79]"],
|
|
4994
4994
|
"(0$1)"
|
|
4995
|
-
], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{
|
|
4995
|
+
], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3 $4", ["001"]], [, "(\\d{2})(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [
|
|
4996
4996
|
,
|
|
4997
4997
|
"(\\d{2})(\\d{5,9})",
|
|
4998
4998
|
"$1 $2",
|
|
4999
4999
|
["2[124]|[36]1"],
|
|
5000
5000
|
"(0$1)"
|
|
5001
|
-
], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [, "(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "001803\\d{
|
|
5001
|
+
], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [, "(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "001803\\d{5,11}|(?:007803\\d|8071)\\d{6}", , , , , , , [10, 11, 12, 13, 14, 15, 16, 17]], [
|
|
5002
5002
|
,
|
|
5003
5003
|
,
|
|
5004
5004
|
"(?:1500|8071\\d{3})\\d{3}",
|
|
@@ -5010,37 +5010,32 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
5010
5010
|
,
|
|
5011
5011
|
[7, 10]
|
|
5012
5012
|
], , , [, , , , , , , , , [-1]]],
|
|
5013
|
-
IE: [, [, , "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", , , , , , , [7, 8, 9, 10], [5, 6]], [, , "(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}", , , , "2212345", , , , [5, 6]], [, , "8(?:22|[35-9]\\d)\\d{6}", , , , "850123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [
|
|
5013
|
+
IE: [, [, , "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", , , , , , , [7, 8, 9, 10], [5, 6]], [, , "(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}", , , , "2212345", , , , [5, 6]], [, , "8(?:22|[35-9]\\d)\\d{6}", , , , "850123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [
|
|
5014
5014
|
,
|
|
5015
5015
|
,
|
|
5016
|
-
"
|
|
5016
|
+
"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",
|
|
5017
5017
|
,
|
|
5018
5018
|
,
|
|
5019
5019
|
,
|
|
5020
|
-
"
|
|
5020
|
+
"1520123456",
|
|
5021
5021
|
,
|
|
5022
5022
|
,
|
|
5023
5023
|
[10]
|
|
5024
|
-
], [, , "700\\d{6}", , , , "700123456", , , [9]], [, , "76\\d{7}", , , , "761234567", , , [9]], "IE", 353, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], [, "(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [
|
|
5024
|
+
], [, , "18[59]0\\d{6}", , , , "1850123456", , , [10]], [, , "700\\d{6}", , , , "700123456", , , [9]], [, , "76\\d{7}", , , , "761234567", , , [9]], "IE", 353, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], [, "(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [
|
|
5025
5025
|
,
|
|
5026
|
-
"(\\d{
|
|
5026
|
+
"(\\d{3})(\\d{3})(\\d{3})",
|
|
5027
5027
|
"$1 $2 $3",
|
|
5028
|
-
["
|
|
5029
|
-
"0$1"
|
|
5030
|
-
], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], [, "(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "18[59]0\\d{6}", , , , , , , [10]], [, , "818\\d{6}", , , , "818123456", , , [9]], , , [, , "88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", , , , "8551234567", , , [10]]],
|
|
5031
|
-
IL: [, [, , "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", , , , , , , [
|
|
5032
|
-
,
|
|
5033
|
-
,
|
|
5034
|
-
|
|
5035
|
-
,
|
|
5036
|
-
,
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
,
|
|
5040
|
-
,
|
|
5041
|
-
[8, 11, 12],
|
|
5042
|
-
[7]
|
|
5043
|
-
], [, , "55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
|
|
5028
|
+
["81"],
|
|
5029
|
+
"(0$1)"
|
|
5030
|
+
], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], [, "(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "18[59]0\\d{6}", , , , , , , [10]], [, , "818\\d{6}", , , , "818123456", , , [9]], , , [, , "88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", , , , "8551234567", , , [10]]],
|
|
5031
|
+
IL: [, [, , "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", , , , , , , [
|
|
5032
|
+
7,
|
|
5033
|
+
8,
|
|
5034
|
+
9,
|
|
5035
|
+
10,
|
|
5036
|
+
11,
|
|
5037
|
+
12
|
|
5038
|
+
]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:410|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
|
|
5044
5039
|
,
|
|
5045
5040
|
,
|
|
5046
5041
|
"7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
|
|
@@ -6150,7 +6145,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
6150
6145
|
MX: [, [, , "[2-9]\\d{9}", , , , , , , [10], [7, 8]], [
|
|
6151
6146
|
,
|
|
6152
6147
|
,
|
|
6153
|
-
"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[
|
|
6148
|
+
"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",
|
|
6154
6149
|
,
|
|
6155
6150
|
,
|
|
6156
6151
|
,
|
|
@@ -6159,7 +6154,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
6159
6154
|
,
|
|
6160
6155
|
,
|
|
6161
6156
|
[7, 8]
|
|
6162
|
-
], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[
|
|
6157
|
+
], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", , , , "2221234567", , , , [7, 8]], [
|
|
6163
6158
|
,
|
|
6164
6159
|
,
|
|
6165
6160
|
"8(?:00|88)\\d{7}",
|
|
@@ -6421,7 +6416,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
6421
6416
|
NZ: [
|
|
6422
6417
|
,
|
|
6423
6418
|
[, , "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", , , , , , , [5, 6, 7, 8, 9, 10]],
|
|
6424
|
-
[, , "
|
|
6419
|
+
[, , "240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}", , , , "32345678", , , [8], [7]],
|
|
6425
6420
|
[, , "2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}", , , , "211234567", , , [8, 9, 10]],
|
|
6426
6421
|
[, , "508\\d{6,7}|80\\d{6,8}", , , , "800123456", , , [8, 9, 10]],
|
|
6427
6422
|
[, , "(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}", , , , "900123456", , , [7, 8, 9, 10]],
|
|
@@ -8060,11 +8055,11 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
8060
8055
|
function M1(d) {
|
|
8061
8056
|
return 2 > d.length ? !1 : G(I2, d);
|
|
8062
8057
|
}
|
|
8063
|
-
function
|
|
8058
|
+
function P1(d) {
|
|
8064
8059
|
return G(m2, d) ? r1(d, c2) : r1(d, g1);
|
|
8065
8060
|
}
|
|
8066
|
-
function
|
|
8067
|
-
var t =
|
|
8061
|
+
function x1(d) {
|
|
8062
|
+
var t = P1(d.toString());
|
|
8068
8063
|
B(d), d.g(t);
|
|
8069
8064
|
}
|
|
8070
8065
|
function R1(d) {
|
|
@@ -8225,9 +8220,9 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
8225
8220
|
$ != null && (l = f($, 11)), l == null && (l = "NonMatch");
|
|
8226
8221
|
var h = t.toString();
|
|
8227
8222
|
if (h.length == 0) l = 20;
|
|
8228
|
-
else if (Q.test(h)) h = h.replace(Q, ""), B(t), t.g(
|
|
8223
|
+
else if (Q.test(h)) h = h.replace(Q, ""), B(t), t.g(P1(h)), l = 1;
|
|
8229
8224
|
else {
|
|
8230
|
-
if (h = new RegExp(l),
|
|
8225
|
+
if (h = new RegExp(l), x1(t), l = t.toString(), l.search(h) == 0) {
|
|
8231
8226
|
h = l.match(h)[0].length;
|
|
8232
8227
|
var m = l.substring(h).match(N1);
|
|
8233
8228
|
m && m[1] != null && 0 < m[1].length && r1(m[1], g1) == "0" ? l = !1 : (B(t), t.g(l.substring(h)), l = !0);
|
|
@@ -8288,7 +8283,7 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
8288
8283
|
if (m = m.replace(Q, ""), h = F1(d, m, l, t, n, o), h == 0) throw y1;
|
|
8289
8284
|
} else throw y1;
|
|
8290
8285
|
}
|
|
8291
|
-
if (h != 0 ? (r = e1(h), r != $ && (l = d1(d, h, r))) : (
|
|
8286
|
+
if (h != 0 ? (r = e1(h), r != $ && (l = d1(d, h, r))) : (x1(r), t.g(r.toString()), $ != null ? (h = v(l, 10), E(
|
|
8292
8287
|
o,
|
|
8293
8288
|
1,
|
|
8294
8289
|
h
|
|
@@ -8516,12 +8511,20 @@ const F2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
|
|
|
8516
8511
|
}
|
|
8517
8512
|
}), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", h1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
|
|
8518
8513
|
})();
|
|
8519
|
-
const
|
|
8514
|
+
const K2 = window.intlTelInputUtilsTemp;
|
|
8520
8515
|
delete window.intlTelInputUtilsTemp;
|
|
8521
|
-
C.utils =
|
|
8522
|
-
const
|
|
8516
|
+
C.utils = K2;
|
|
8517
|
+
const j2 = {
|
|
8523
8518
|
__name: "IntlTelInputWithUtils",
|
|
8524
8519
|
props: /* @__PURE__ */ e2({
|
|
8520
|
+
disabled: {
|
|
8521
|
+
type: Boolean,
|
|
8522
|
+
default: !1
|
|
8523
|
+
},
|
|
8524
|
+
inputProps: {
|
|
8525
|
+
type: Object,
|
|
8526
|
+
default: () => ({})
|
|
8527
|
+
},
|
|
8525
8528
|
options: {
|
|
8526
8529
|
type: Object,
|
|
8527
8530
|
default: () => ({})
|
|
@@ -8529,9 +8532,6 @@ const H2 = {
|
|
|
8529
8532
|
value: {
|
|
8530
8533
|
type: String,
|
|
8531
8534
|
default: ""
|
|
8532
|
-
},
|
|
8533
|
-
disabled: {
|
|
8534
|
-
type: Boolean
|
|
8535
8535
|
}
|
|
8536
8536
|
}, {
|
|
8537
8537
|
modelValue: {
|
|
@@ -8540,11 +8540,19 @@ const H2 = {
|
|
|
8540
8540
|
},
|
|
8541
8541
|
modelModifiers: {}
|
|
8542
8542
|
}),
|
|
8543
|
-
emits: /* @__PURE__ */ e2([
|
|
8543
|
+
emits: /* @__PURE__ */ e2([
|
|
8544
|
+
"changeNumber",
|
|
8545
|
+
"changeCountry",
|
|
8546
|
+
"changeValidity",
|
|
8547
|
+
"changeErrorCode"
|
|
8548
|
+
], ["update:modelValue"]),
|
|
8544
8549
|
setup(y, { expose: e, emit: i }) {
|
|
8545
8550
|
const s = T2(y, "modelValue"), u = y, a = i, c = _1(), p = _1(), g = _1(!1), b = () => p.value ? u.options.strictMode ? p.value.isValidNumberPrecise() : p.value.isValidNumber() : null, _ = () => {
|
|
8546
8551
|
let I = b();
|
|
8547
|
-
g.value !== I && (g.value = I, a("changeValidity", !!I), a(
|
|
8552
|
+
g.value !== I && (g.value = I, a("changeValidity", !!I), a(
|
|
8553
|
+
"changeErrorCode",
|
|
8554
|
+
I ? null : p.value.getValidationError()
|
|
8555
|
+
));
|
|
8548
8556
|
}, A = () => {
|
|
8549
8557
|
var I;
|
|
8550
8558
|
a("changeNumber", ((I = p.value) == null ? void 0 : I.getNumber()) ?? ""), _();
|
|
@@ -8563,18 +8571,18 @@ const H2 = {
|
|
|
8563
8571
|
), E2(() => {
|
|
8564
8572
|
var I;
|
|
8565
8573
|
return (I = p.value) == null ? void 0 : I.destroy();
|
|
8566
|
-
}), e({ instance: p, input: c }), (I, T) => D2((M2(),
|
|
8574
|
+
}), e({ instance: p, input: c }), (I, T) => D2((M2(), P2("input", x2({
|
|
8567
8575
|
ref_key: "input",
|
|
8568
8576
|
ref: c,
|
|
8569
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
|
8577
|
+
"onUpdate:modelValue": T[0] || (T[0] = (P) => s.value = P),
|
|
8570
8578
|
type: "tel",
|
|
8571
8579
|
onCountrychange: S,
|
|
8572
8580
|
onInput: A
|
|
8573
|
-
}, null,
|
|
8574
|
-
[
|
|
8581
|
+
}, y.inputProps), null, 16)), [
|
|
8582
|
+
[R2, s.value]
|
|
8575
8583
|
]);
|
|
8576
8584
|
}
|
|
8577
8585
|
};
|
|
8578
8586
|
export {
|
|
8579
|
-
|
|
8587
|
+
j2 as default
|
|
8580
8588
|
};
|