@intl-tel-input/vue 29.2.3 → 29.4.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vue component for intl-tel-input
|
|
2
2
|
|
|
3
|
-
For entering, formatting, and validating international telephone numbers.
|
|
3
|
+
For entering, formatting, and validating international telephone numbers. Requires Vue 3.
|
|
4
4
|
|
|
5
5
|
[Explore docs »](https://intl-tel-input.com/docs/vue-component)
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ For entering, formatting, and validating international telephone numbers.
|
|
|
14
14
|
|
|
15
15
|
Check out the [website](https://intl-tel-input.com), where you can find [a full set of docs](https://intl-tel-input.com/docs/vue-component), 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/vue-component/validation) of different setups.
|
|
16
16
|
|
|
17
|
+
Browser support: same as the core library — see the [FAQ](https://intl-tel-input.com/docs/faq#which-browsers-are-supported) for minimum versions.
|
|
18
|
+
|
|
17
19
|
## Running the demos locally
|
|
18
20
|
|
|
19
21
|
1. Initialise the submodules: `git submodule update --init --recursive`
|
|
@@ -1350,6 +1350,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1350
1350
|
excludeCountries: null,
|
|
1351
1351
|
matchDropdownWidth: !0,
|
|
1352
1352
|
formatAsYouType: !0,
|
|
1353
|
+
fullscreenParent: null,
|
|
1353
1354
|
hiddenInputs: null,
|
|
1354
1355
|
uiTranslations: {},
|
|
1355
1356
|
initialCountry: "",
|
|
@@ -1465,8 +1466,9 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1465
1466
|
t[n] = r;
|
|
1466
1467
|
break;
|
|
1467
1468
|
case "dropdownParent":
|
|
1469
|
+
case "fullscreenParent":
|
|
1468
1470
|
if (r !== null && !ae(r)) {
|
|
1469
|
-
W(
|
|
1471
|
+
W(n, "an HTMLElement or null", r);
|
|
1470
1472
|
break;
|
|
1471
1473
|
}
|
|
1472
1474
|
t[n] = r;
|
|
@@ -1789,7 +1791,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1789
1791
|
id: `iti-${this.#t}__country-listbox`,
|
|
1790
1792
|
role: "listbox",
|
|
1791
1793
|
[R.LABEL]: r.countryListAriaLabel
|
|
1792
|
-
}, this.#m), this.#L(), n && this.#U(), o) {
|
|
1794
|
+
}, this.#m), n || this.#v.setAttribute("tabindex", "0"), this.#L(), n && this.#U(), o) {
|
|
1793
1795
|
let e = pe({
|
|
1794
1796
|
iti: !0,
|
|
1795
1797
|
"iti--detached-country-selector": !0,
|
|
@@ -1801,8 +1803,8 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1801
1803
|
} else this.#l.appendChild(this.#m);
|
|
1802
1804
|
}
|
|
1803
1805
|
#N() {
|
|
1804
|
-
let { countrySelectorMode: e, dropdownParent: t } = this.#e;
|
|
1805
|
-
return e === I.FULLSCREEN ? document.body : e === I.DROPDOWN ? t : null;
|
|
1806
|
+
let { countrySelectorMode: e, dropdownParent: t, fullscreenParent: n } = this.#e;
|
|
1807
|
+
return e === I.FULLSCREEN ? n ?? document.body : e === I.DROPDOWN ? t : null;
|
|
1806
1808
|
}
|
|
1807
1809
|
#P() {
|
|
1808
1810
|
let { uiTranslations: e, searchInputClass: t } = this.#e, n = K("div", { class: this.#k("searchWrapper", "iti__search-input-wrapper") }, this.#m);
|
|
@@ -1858,7 +1860,6 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1858
1860
|
let r = this.#i[n], i = K("li", {
|
|
1859
1861
|
id: `iti-${this.#t}__item-${r.iso2}`,
|
|
1860
1862
|
class: t,
|
|
1861
|
-
tabindex: "-1",
|
|
1862
1863
|
role: "option",
|
|
1863
1864
|
[R.SELECTED]: "false"
|
|
1864
1865
|
});
|
|
@@ -1919,7 +1920,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1919
1920
|
let n = xe.toAscii(e);
|
|
1920
1921
|
t = ye(this.#i, this.#a, n);
|
|
1921
1922
|
}
|
|
1922
|
-
this.#
|
|
1923
|
+
this.#oe(t);
|
|
1923
1924
|
}
|
|
1924
1925
|
prefillSearchWithPlus() {
|
|
1925
1926
|
this.#g.value = "+", this.#g.focus(), this.#W("");
|
|
@@ -1940,13 +1941,14 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1940
1941
|
let t = this.#v, n = t.getBoundingClientRect(), r = e.getBoundingClientRect(), i = r.top - n.top + t.scrollTop;
|
|
1941
1942
|
r.top < n.top ? t.scrollTop = i : r.bottom > n.bottom && (t.scrollTop = i - n.height + r.height);
|
|
1942
1943
|
}
|
|
1943
|
-
#Y(
|
|
1944
|
+
#Y() {
|
|
1945
|
+
return this.#e.countrySearch ? this.#g : this.#v;
|
|
1946
|
+
}
|
|
1947
|
+
#X(e, t = !0) {
|
|
1944
1948
|
if (this.#T?.classList.remove(v.HIGHLIGHT), e) {
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
}
|
|
1949
|
-
t && this.#J(e), this.#T = e;
|
|
1949
|
+
e.classList.add(v.HIGHLIGHT);
|
|
1950
|
+
let n = e.getAttribute("id") || "";
|
|
1951
|
+
this.#Y().setAttribute(R.ACTIVE_DESCENDANT, n), t && this.#J(e), this.#T = e;
|
|
1950
1952
|
} else this.#T = null;
|
|
1951
1953
|
}
|
|
1952
1954
|
bindHiddenInputSubmitListener(e, t, n) {
|
|
@@ -1972,124 +1974,124 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
1972
1974
|
}, { signal: e });
|
|
1973
1975
|
}
|
|
1974
1976
|
openCountrySelector(e, t) {
|
|
1975
|
-
let {
|
|
1976
|
-
if (this.#D = new AbortController(), this.#e.countrySelectorMode !== I.FULLSCREEN && this.#V(), this.ensureDropdownWidthSet(), this.#C) this.#
|
|
1977
|
+
let { dropdownAlwaysOpen: n } = this.#e;
|
|
1978
|
+
if (this.#D = new AbortController(), this.#e.countrySelectorMode !== I.FULLSCREEN && this.#V(), this.ensureDropdownWidthSet(), this.#C) this.#ce();
|
|
1977
1979
|
else {
|
|
1978
|
-
let e = this.#
|
|
1980
|
+
let e = this.#se(), t = this.telInputEl.offsetHeight + C.DROPDOWN_MARGIN;
|
|
1979
1981
|
e ? this.#m.style.top = `${t}px` : this.#m.style.bottom = `${t}px`;
|
|
1980
1982
|
}
|
|
1981
1983
|
this.#m.classList.remove(v.HIDE), this.#u.setAttribute(R.EXPANDED, "true");
|
|
1982
|
-
let
|
|
1983
|
-
|
|
1984
|
-
this.#
|
|
1985
|
-
}, { signal: this.#D.signal }), this.#p.classList.add(v.ARROW_UP), this.#
|
|
1984
|
+
let r = this.#w ?? this.#v.firstElementChild;
|
|
1985
|
+
r && this.#X(r), n || this.#Y().focus(), this.#e.countrySelectorMode === I.FULLSCREEN && this.#C && window.visualViewport && (this.#ue(), window.visualViewport.addEventListener("resize", () => {
|
|
1986
|
+
this.#ue(), this.#T && this.#J(this.#T);
|
|
1987
|
+
}, { signal: this.#D.signal })), this.#p.classList.add(v.ARROW_UP), this.#Z(e, t);
|
|
1986
1988
|
}
|
|
1987
|
-
#
|
|
1989
|
+
#Z(e, t) {
|
|
1988
1990
|
let n = this.#D.signal;
|
|
1989
|
-
this.#
|
|
1991
|
+
this.#Q(n), this.#$(n, e), this.#e.dropdownAlwaysOpen || this.#ee(n, t), this.#te(n, e, t), this.#e.countrySearch && this.#ne(n), this.#e.countrySelectorMode === I.DROPDOWN && this.#e.dropdownParent && !Se && document.addEventListener("scroll", t, {
|
|
1990
1992
|
signal: n,
|
|
1991
1993
|
capture: !0,
|
|
1992
1994
|
passive: !0
|
|
1993
1995
|
});
|
|
1994
1996
|
}
|
|
1995
|
-
#
|
|
1997
|
+
#Q(e) {
|
|
1996
1998
|
this.#v.addEventListener("mouseover", (e) => {
|
|
1997
1999
|
let t = e.target?.closest(`.${v.COUNTRY_ITEM}`);
|
|
1998
|
-
t && this.#
|
|
2000
|
+
t && this.#X(t, !1);
|
|
1999
2001
|
}, { signal: e });
|
|
2000
2002
|
}
|
|
2001
|
-
|
|
2003
|
+
#$(e, t) {
|
|
2002
2004
|
this.#v.addEventListener("click", (e) => {
|
|
2003
2005
|
let n = e.target?.closest(`.${v.COUNTRY_ITEM}`);
|
|
2004
2006
|
n && t(n);
|
|
2005
2007
|
}, { signal: e });
|
|
2006
2008
|
}
|
|
2007
|
-
|
|
2009
|
+
#ee(e, t) {
|
|
2008
2010
|
setTimeout(() => {
|
|
2009
2011
|
document.documentElement.addEventListener("click", (e) => {
|
|
2010
2012
|
this.#m.contains(e.target) || t();
|
|
2011
2013
|
}, { signal: e });
|
|
2012
2014
|
}, 0);
|
|
2013
2015
|
}
|
|
2014
|
-
#
|
|
2016
|
+
#te(e, t, n) {
|
|
2015
2017
|
let r = "", i = null, a = (e) => {
|
|
2016
2018
|
[
|
|
2017
2019
|
y.ARROW_UP,
|
|
2018
2020
|
y.ARROW_DOWN,
|
|
2019
2021
|
y.ENTER,
|
|
2020
2022
|
y.ESC
|
|
2021
|
-
].includes(e.key) && (e.preventDefault(), e.stopPropagation(), e.key === y.ARROW_UP || e.key === y.ARROW_DOWN ? this.#
|
|
2023
|
+
].includes(e.key) && (e.preventDefault(), e.stopPropagation(), e.key === y.ARROW_UP || e.key === y.ARROW_DOWN ? this.#ie(e.key) : e.key === y.ENTER && !e.isComposing ? t(this.#T) : e.key === y.ESC && (n(), this.#u.focus())), !this.#e.countrySearch && x.HIDDEN_SEARCH_CHAR.test(e.key) && (e.stopPropagation(), i && clearTimeout(i), r += e.key.toLowerCase(), this.#re(r), i = setTimeout(() => {
|
|
2022
2024
|
r = "";
|
|
2023
2025
|
}, S.HIDDEN_SEARCH_RESET_MS));
|
|
2024
2026
|
};
|
|
2025
|
-
this.#u?.addEventListener("keydown", a, { signal: e }), this.#m?.addEventListener("keydown", a, { signal: e })
|
|
2027
|
+
this.#u?.addEventListener("keydown", a, { signal: e }), this.#m?.addEventListener("keydown", a, { signal: e }), this.#C && this.#m?.addEventListener("keydown", (e) => {
|
|
2028
|
+
e.key === y.TAB && (e.preventDefault(), n(), (e.shiftKey ? this.#u : this.telInputEl).focus());
|
|
2029
|
+
}, { signal: e });
|
|
2026
2030
|
}
|
|
2027
|
-
#
|
|
2031
|
+
#ne(e) {
|
|
2028
2032
|
this.#g.addEventListener("input", () => this.#K(), { signal: e }), this.#_.addEventListener("click", () => this.#q(), { signal: e });
|
|
2029
2033
|
}
|
|
2030
|
-
#
|
|
2034
|
+
#re(e) {
|
|
2031
2035
|
let t = be(this.#i, this.#a, e);
|
|
2032
2036
|
if (t) {
|
|
2033
2037
|
let e = this.#E.get(t.iso2);
|
|
2034
|
-
this.#
|
|
2038
|
+
this.#X(e);
|
|
2035
2039
|
}
|
|
2036
2040
|
}
|
|
2037
|
-
#
|
|
2041
|
+
#ie(e) {
|
|
2038
2042
|
let t = e === y.ARROW_UP ? this.#T?.previousElementSibling : this.#T?.nextElementSibling;
|
|
2039
|
-
!t && this.#v.childElementCount > 1 && (t = e === y.ARROW_UP ? this.#v.lastElementChild : this.#v.firstElementChild), t && this.#
|
|
2043
|
+
!t && this.#v.childElementCount > 1 && (t = e === y.ARROW_UP ? this.#v.lastElementChild : this.#v.firstElementChild), t && this.#X(t);
|
|
2040
2044
|
}
|
|
2041
|
-
#
|
|
2045
|
+
#ae(e) {
|
|
2042
2046
|
if (this.#w && this.#w.dataset[L.ISO2] !== e && (this.#w.setAttribute(R.SELECTED, "false"), this.#w.querySelector(".iti__country-check")?.remove(), this.#w = null), e && !this.#w) {
|
|
2043
2047
|
let t = this.#v.querySelector(`[data-iso2="${e}"]`);
|
|
2044
2048
|
t && (t.setAttribute(R.SELECTED, "true"), K("span", {
|
|
2045
2049
|
class: this.#k("countryCheck", "iti__country-check"),
|
|
2046
2050
|
[R.HIDDEN]: "true"
|
|
2047
|
-
}, t).appendChild(_e()), this.#w = t, this.#e.dropdownAlwaysOpen && this.#
|
|
2051
|
+
}, t).appendChild(_e()), this.#w = t, this.#e.dropdownAlwaysOpen && this.#X(t));
|
|
2048
2052
|
}
|
|
2049
2053
|
}
|
|
2050
|
-
#
|
|
2054
|
+
#oe(e) {
|
|
2051
2055
|
this.#v.replaceChildren();
|
|
2052
2056
|
let t = !0;
|
|
2053
2057
|
for (let n of e) {
|
|
2054
2058
|
let e = this.#E.get(n.iso2);
|
|
2055
|
-
e && (this.#v.appendChild(e), t &&= (this.#
|
|
2059
|
+
e && (this.#v.appendChild(e), t &&= (this.#X(e, !1), !1));
|
|
2056
2060
|
}
|
|
2057
|
-
t ? (this.#
|
|
2061
|
+
t ? (this.#X(null), this.#x && this.#x.classList.remove(v.HIDE)) : this.#x && this.#x.classList.add(v.HIDE), this.#v.scrollTop = 0, this.#U();
|
|
2058
2062
|
}
|
|
2059
2063
|
closeCountrySelector() {
|
|
2060
2064
|
let { countrySearch: e } = this.#e;
|
|
2061
|
-
this.#D.abort(), this.#D = null, this.#m.classList.add(v.HIDE), this.#u.setAttribute(R.EXPANDED, "false"),
|
|
2065
|
+
this.#D.abort(), this.#D = null, this.#m.classList.add(v.HIDE), this.#u.setAttribute(R.EXPANDED, "false"), this.#Y().removeAttribute(R.ACTIVE_DESCENDANT), e && (this.#g.value = "", this.#G(), this.#T &&= (this.#T.classList.remove(v.HIGHLIGHT), null)), this.#p.classList.remove(v.ARROW_UP), this.#C ? (this.#C.remove(), this.#C.style.top = "", this.#C.style.bottom = "", this.#C.style.height = "", this.#C.style.paddingLeft = "", this.#C.style.paddingRight = "") : (this.#m.style.top = "", this.#m.style.bottom = "");
|
|
2062
2066
|
}
|
|
2063
|
-
#
|
|
2067
|
+
#se() {
|
|
2064
2068
|
if (this.#e.dropdownAlwaysOpen) return !0;
|
|
2065
2069
|
let e = this.telInputEl.getBoundingClientRect(), t = e.top, n = window.innerHeight - e.bottom;
|
|
2066
2070
|
return n >= this.#s || n >= t;
|
|
2067
2071
|
}
|
|
2068
|
-
#
|
|
2072
|
+
#ce() {
|
|
2069
2073
|
let e = this.#e.countrySelectorMode === I.FULLSCREEN, t = this.#N();
|
|
2070
2074
|
if (e) {
|
|
2071
2075
|
if (window.innerWidth >= C.NARROW_VIEWPORT_WIDTH) {
|
|
2072
2076
|
let e = this.telInputEl.getBoundingClientRect();
|
|
2073
2077
|
this.#C.style.paddingLeft = `${e.left}px`, this.#C.style.paddingRight = `${window.innerWidth - e.right}px`;
|
|
2074
2078
|
}
|
|
2075
|
-
} else this.#
|
|
2079
|
+
} else this.#le();
|
|
2076
2080
|
if (!e && !Se) {
|
|
2077
2081
|
let e = this.telInputEl.getBoundingClientRect();
|
|
2078
|
-
this.#C.style.left = `${e.left}px`, this.#
|
|
2082
|
+
this.#C.style.left = `${e.left}px`, this.#se() ? this.#C.style.top = `${e.bottom + C.DROPDOWN_MARGIN}px` : (this.#C.style.top = "unset", this.#C.style.bottom = `${window.innerHeight - e.top + C.DROPDOWN_MARGIN}px`);
|
|
2079
2083
|
}
|
|
2080
2084
|
t.appendChild(this.#C);
|
|
2081
2085
|
}
|
|
2082
|
-
#
|
|
2086
|
+
#le() {
|
|
2083
2087
|
if (this.#c) return;
|
|
2084
2088
|
this.#c = !0;
|
|
2085
2089
|
let e = `--iti-anchor-${this.#t}`, t = getComputedStyle(this.telInputEl).anchorName;
|
|
2086
2090
|
this.telInputEl.style.anchorName = t && t !== "none" ? `${t}, ${e}` : e, this.#C.style.positionAnchor = e;
|
|
2087
2091
|
}
|
|
2088
|
-
#
|
|
2092
|
+
#ue() {
|
|
2089
2093
|
let e = window.visualViewport;
|
|
2090
|
-
|
|
2091
|
-
let t = window.innerHeight - e.height;
|
|
2092
|
-
this.#C.style.bottom = `${t}px`;
|
|
2094
|
+
!e || !this.#C || (this.#C.style.height = `${e.height}px`);
|
|
2093
2095
|
}
|
|
2094
2096
|
isCountrySelectorOpen() {
|
|
2095
2097
|
return !this.#m.classList.contains(v.HIDE);
|
|
@@ -2113,7 +2115,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
2113
2115
|
}
|
|
2114
2116
|
setSelectedCountry(e) {
|
|
2115
2117
|
let { countrySelectorMode: t, showFlags: n, separateDialCode: r, uiTranslations: i } = this.#e, a = e?.name, o = e?.dialCode, s = e?.iso2 ?? "";
|
|
2116
|
-
if (t !== I.OFF && this.#
|
|
2118
|
+
if (t !== I.OFF && this.#ae(s), this.#u) {
|
|
2117
2119
|
let e = this.#k("selectedFlag", s && n ? `${v.FLAG} iti__${s}` : `${v.FLAG} ${v.GLOBE}`), t, r, c = null;
|
|
2118
2120
|
s ? (r = a, t = i.selectedCountryAriaLabel.replace("${countryName}", a).replace("${dialCode}", `+${o}`), n || (c = J())) : (r = i.noCountrySelected, t = i.noCountrySelected, c = J()), this.#d.className = e, this.#u.setAttribute("title", r), this.#u.setAttribute(R.LABEL, t), c ? this.#d.replaceChildren(c) : this.#d.replaceChildren();
|
|
2119
2121
|
}
|
|
@@ -2730,7 +2732,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
2730
2732
|
},
|
|
2731
2733
|
startedLoadingUtils: !1,
|
|
2732
2734
|
startedLoadingAutoCountry: !1,
|
|
2733
|
-
version: "29.
|
|
2735
|
+
version: "29.4.0",
|
|
2734
2736
|
NUMBER_FORMAT: N,
|
|
2735
2737
|
NUMBER_TYPE: P,
|
|
2736
2738
|
VALIDATION_ERROR: F,
|
|
@@ -2771,6 +2773,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
|
|
|
2771
2773
|
excludeCountries: {},
|
|
2772
2774
|
matchDropdownWidth: { type: Boolean },
|
|
2773
2775
|
formatAsYouType: { type: Boolean },
|
|
2776
|
+
fullscreenParent: {},
|
|
2774
2777
|
hiddenInputs: {},
|
|
2775
2778
|
uiTranslations: {},
|
|
2776
2779
|
initialCountry: {},
|
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-igGypu_6.js";
|
|
2
2
|
//#region packages/core/dist/js/utils.js
|
|
3
3
|
var n = {};
|
|
4
4
|
//#endregion
|
|
@@ -4504,7 +4504,7 @@ var n = {};
|
|
|
4504
4504
|
[
|
|
4505
4505
|
,
|
|
4506
4506
|
,
|
|
4507
|
-
"96(?:0[1-69]|1[0-479]|2[278]|3[13-9]|4[
|
|
4507
|
+
"96(?:0[1-69]|1[0-479]|2[278]|3[13-9]|4[0-47-9]|54|6[69]|7[78]|88)\\d{6}",
|
|
4508
4508
|
,
|
|
4509
4509
|
,
|
|
4510
4510
|
,
|
|
@@ -16738,7 +16738,7 @@ var n = {};
|
|
|
16738
16738
|
[
|
|
16739
16739
|
,
|
|
16740
16740
|
,
|
|
16741
|
-
"
|
|
16741
|
+
"(?:4(?:[23]\\d\\d|4(?:1[024679]|(?:4(?:[237-9]\\d|4[14-9])|8[0-389]\\d)\\d|5(?:5(?:3\\d|4[0-7])|[67]\\d\\d)))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-389]\\d\\d)\\d{3}|44[6-9]\\d{4}",
|
|
16742
16742
|
,
|
|
16743
16743
|
,
|
|
16744
16744
|
,
|
|
@@ -18263,7 +18263,7 @@ var n = {};
|
|
|
18263
18263
|
[
|
|
18264
18264
|
,
|
|
18265
18265
|
,
|
|
18266
|
-
"(?:4(?:(?:
|
|
18266
|
+
"(?:4(?:0(?:6[0-3]|9[3-6])|24[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|7(?:0(?:7[1-8]|8[0-8])|10[1-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",
|
|
18267
18267
|
,
|
|
18268
18268
|
,
|
|
18269
18269
|
,
|
|
@@ -18378,7 +18378,7 @@ var n = {};
|
|
|
18378
18378
|
[
|
|
18379
18379
|
,
|
|
18380
18380
|
,
|
|
18381
|
-
"7(?:1(?:0[
|
|
18381
|
+
"7(?:1(?:0[08]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",
|
|
18382
18382
|
,
|
|
18383
18383
|
,
|
|
18384
18384
|
,
|
|
@@ -20139,7 +20139,7 @@ var n = {};
|
|
|
20139
20139
|
[
|
|
20140
20140
|
,
|
|
20141
20141
|
,
|
|
20142
|
-
"(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-
|
|
20142
|
+
"(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-6])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|90)|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",
|
|
20143
20143
|
,
|
|
20144
20144
|
,
|
|
20145
20145
|
,
|
|
@@ -20156,7 +20156,7 @@ var n = {};
|
|
|
20156
20156
|
[
|
|
20157
20157
|
,
|
|
20158
20158
|
,
|
|
20159
|
-
"(?:6(?:1279|828[01489])|7(?:887[02-9]|
|
|
20159
|
+
"(?:6(?:1279|828[01489])|7(?:887[02-9]|9313)|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:(?:12|[2-4]1|5[17]|6[13]|80)[0189]|7(?:1[0189]|86))|7(?:1(?:2[0189]|9[0-5])|3(?:2[5-8]|[34][017-9]|9[016-9])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:731|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|4[0189]|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-5])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:[024]\\d|3[05-8]|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[07-9])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}",
|
|
20160
20160
|
,
|
|
20161
20161
|
,
|
|
20162
20162
|
,
|
|
@@ -20275,9 +20275,9 @@ var n = {};
|
|
|
20275
20275
|
"(\\d{2})(\\d{4})(\\d{4})",
|
|
20276
20276
|
"$1 $2 $3",
|
|
20277
20277
|
[
|
|
20278
|
-
"11|2[02]|33|4[04]|79[1-
|
|
20279
|
-
"11|2[02]|33|4[04]|79
|
|
20280
|
-
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])
|
|
20278
|
+
"11|2[02]|33|4[04]|79[1-6]|80[2-46]",
|
|
20279
|
+
"11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])",
|
|
20280
|
+
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"
|
|
20281
20281
|
],
|
|
20282
20282
|
"0$1",
|
|
20283
20283
|
,
|
|
@@ -20380,9 +20380,9 @@ var n = {};
|
|
|
20380
20380
|
"(\\d{2})(\\d{4})(\\d{4})",
|
|
20381
20381
|
"$1 $2 $3",
|
|
20382
20382
|
[
|
|
20383
|
-
"11|2[02]|33|4[04]|79[1-
|
|
20384
|
-
"11|2[02]|33|4[04]|79
|
|
20385
|
-
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])
|
|
20383
|
+
"11|2[02]|33|4[04]|79[1-6]|80[2-46]",
|
|
20384
|
+
"11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])",
|
|
20385
|
+
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"
|
|
20386
20386
|
],
|
|
20387
20387
|
"0$1",
|
|
20388
20388
|
,
|
|
@@ -21860,7 +21860,7 @@ var n = {};
|
|
|
21860
21860
|
[
|
|
21861
21861
|
,
|
|
21862
21862
|
,
|
|
21863
|
-
"(?:427|7(?:[78][0-25-9]
|
|
21863
|
+
"(?:427|7(?:11|[29]\\d|[78][0-25-9]))\\d{6}",
|
|
21864
21864
|
,
|
|
21865
21865
|
,
|
|
21866
21866
|
,
|
|
@@ -32916,7 +32916,7 @@ var n = {};
|
|
|
32916
32916
|
[
|
|
32917
32917
|
,
|
|
32918
32918
|
,
|
|
32919
|
-
"(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[
|
|
32919
|
+
"(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[235-8]|9\\d))\\d{4}",
|
|
32920
32920
|
,
|
|
32921
32921
|
,
|
|
32922
32922
|
,
|
|
@@ -33486,7 +33486,7 @@ var n = {};
|
|
|
33486
33486
|
[
|
|
33487
33487
|
,
|
|
33488
33488
|
,
|
|
33489
|
-
"(?:7\\d|8[1-
|
|
33489
|
+
"(?:7\\d|8[1-58])\\d{6}",
|
|
33490
33490
|
,
|
|
33491
33491
|
,
|
|
33492
33492
|
,
|
|
@@ -33569,7 +33569,7 @@ var n = {};
|
|
|
33569
33569
|
,
|
|
33570
33570
|
"(\\d{3})(\\d{4})",
|
|
33571
33571
|
"$1 $2",
|
|
33572
|
-
["18|[2-69]|85"]
|
|
33572
|
+
["18|[2-69]|85[02-46-9]"]
|
|
33573
33573
|
], [
|
|
33574
33574
|
,
|
|
33575
33575
|
"(\\d{4})(\\d{4})",
|
|
@@ -34897,7 +34897,7 @@ var n = {};
|
|
|
34897
34897
|
[
|
|
34898
34898
|
,
|
|
34899
34899
|
,
|
|
34900
|
-
"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[
|
|
34900
|
+
"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[1-37]))\\d{5}",
|
|
34901
34901
|
,
|
|
34902
34902
|
,
|
|
34903
34903
|
,
|
|
@@ -39012,7 +39012,7 @@ var n = {};
|
|
|
39012
39012
|
[
|
|
39013
39013
|
,
|
|
39014
39014
|
,
|
|
39015
|
-
"3(?:
|
|
39015
|
+
"3(?:[026]\\d|3[89])\\d{6}",
|
|
39016
39016
|
,
|
|
39017
39017
|
,
|
|
39018
39018
|
,
|
|
@@ -39069,7 +39069,7 @@ var n = {};
|
|
|
39069
39069
|
[
|
|
39070
39070
|
,
|
|
39071
39071
|
,
|
|
39072
|
-
"(?:
|
|
39072
|
+
"(?:39|93)\\d{7}",
|
|
39073
39073
|
,
|
|
39074
39074
|
,
|
|
39075
39075
|
,
|
|
@@ -42471,7 +42471,7 @@ var n = {};
|
|
|
42471
42471
|
[
|
|
42472
42472
|
,
|
|
42473
42473
|
,
|
|
42474
|
-
"5(?:61(?:011|61\\d)|82[2-
|
|
42474
|
+
"5(?:61(?:011|61\\d)|82[2-5]\\d\\d)\\d{4}|5(?:[03-5]\\d|1[06]|24|6[24]|7[245]|9[46])\\d{7}",
|
|
42475
42475
|
,
|
|
42476
42476
|
,
|
|
42477
42477
|
,
|
|
@@ -43288,7 +43288,7 @@ var n = {};
|
|
|
43288
43288
|
[
|
|
43289
43289
|
,
|
|
43290
43290
|
,
|
|
43291
|
-
"(?:6[
|
|
43291
|
+
"(?:6[0-35-9]|7\\d)\\d{7}",
|
|
43292
43292
|
,
|
|
43293
43293
|
,
|
|
43294
43294
|
,
|
|
@@ -46963,7 +46963,7 @@ var n = {};
|
|
|
46963
46963
|
[
|
|
46964
46964
|
,
|
|
46965
46965
|
,
|
|
46966
|
-
"
|
|
46966
|
+
"(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[2-689]\\d{6}",
|
|
46967
46967
|
,
|
|
46968
46968
|
,
|
|
46969
46969
|
,
|
|
@@ -46971,27 +46971,34 @@ var n = {};
|
|
|
46971
46971
|
,
|
|
46972
46972
|
,
|
|
46973
46973
|
[
|
|
46974
|
-
5,
|
|
46975
|
-
6,
|
|
46976
46974
|
7,
|
|
46977
|
-
8,
|
|
46978
46975
|
9,
|
|
46979
46976
|
10
|
|
46980
46977
|
],
|
|
46981
|
-
[
|
|
46978
|
+
[
|
|
46979
|
+
3,
|
|
46980
|
+
4,
|
|
46981
|
+
5,
|
|
46982
|
+
6
|
|
46983
|
+
]
|
|
46982
46984
|
],
|
|
46983
46985
|
[
|
|
46984
46986
|
,
|
|
46985
46987
|
,
|
|
46986
|
-
"(?:
|
|
46988
|
+
"(?:2(?:(?:(?:02[014]|72[03])\\d|48)\\d|2(?:[278]\\d|92)|583)|(?:37[56]|6[78]21\\d)\\d|5(?:483|525\\d\\d))\\d{3}|(?:2(?:0\\d|7[1-7])|(?:55|6[78])\\d)\\d{4}|(?:13|2(?:(?:42|9\\d)\\d|[56]20)|3(?:123|92\\d)|(?:4|542)\\d|6(?:[16]21|52[013])|8(?:[1349]28|523)|9[2-9])\\d{5}",
|
|
46987
46989
|
,
|
|
46988
46990
|
,
|
|
46989
46991
|
,
|
|
46990
46992
|
"1312345",
|
|
46991
46993
|
,
|
|
46992
46994
|
,
|
|
46993
|
-
,
|
|
46994
|
-
[
|
|
46995
|
+
[7, 9],
|
|
46996
|
+
[
|
|
46997
|
+
3,
|
|
46998
|
+
4,
|
|
46999
|
+
5,
|
|
47000
|
+
6
|
|
47001
|
+
]
|
|
46995
47002
|
],
|
|
46996
47003
|
[
|
|
46997
47004
|
,
|
|
@@ -47076,11 +47083,18 @@ var n = {};
|
|
|
47076
47083
|
,
|
|
47077
47084
|
,
|
|
47078
47085
|
[
|
|
47086
|
+
[
|
|
47087
|
+
,
|
|
47088
|
+
"(\\d{2})(\\d{3,5})",
|
|
47089
|
+
"$1 $2",
|
|
47090
|
+
["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],
|
|
47091
|
+
"0$1"
|
|
47092
|
+
],
|
|
47079
47093
|
[
|
|
47080
47094
|
,
|
|
47081
47095
|
"(\\d{3})(\\d{3,5})",
|
|
47082
47096
|
"$1 $2",
|
|
47083
|
-
["2(?:0[45]|
|
|
47097
|
+
["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],
|
|
47084
47098
|
"0$1"
|
|
47085
47099
|
],
|
|
47086
47100
|
[
|
|
@@ -47099,51 +47113,44 @@ var n = {};
|
|
|
47099
47113
|
],
|
|
47100
47114
|
[
|
|
47101
47115
|
,
|
|
47102
|
-
"(\\d{
|
|
47116
|
+
"(\\d{4})(\\d{3,5})",
|
|
47103
47117
|
"$1 $2",
|
|
47104
|
-
["
|
|
47105
|
-
"(0$1)"
|
|
47106
|
-
],
|
|
47107
|
-
[
|
|
47108
|
-
,
|
|
47109
|
-
"(\\d{2})(\\d{3})(\\d{4})",
|
|
47110
|
-
"$1 $2 $3",
|
|
47111
|
-
["7"],
|
|
47118
|
+
["548"],
|
|
47112
47119
|
"0$1"
|
|
47113
47120
|
],
|
|
47114
47121
|
[
|
|
47115
47122
|
,
|
|
47116
|
-
"(\\d{
|
|
47123
|
+
"(\\d{2})(\\d{3})(\\d{3,4})",
|
|
47117
47124
|
"$1 $2 $3",
|
|
47118
|
-
["
|
|
47125
|
+
["29[013-9]"],
|
|
47119
47126
|
"0$1"
|
|
47120
47127
|
],
|
|
47121
47128
|
[
|
|
47122
47129
|
,
|
|
47123
|
-
"(\\d{
|
|
47130
|
+
"(\\d{2})(\\d{7})",
|
|
47124
47131
|
"$1 $2",
|
|
47125
|
-
["8"],
|
|
47126
|
-
"0$1"
|
|
47132
|
+
["[256]|39|8[13-59]"],
|
|
47133
|
+
"(0$1)"
|
|
47127
47134
|
],
|
|
47128
47135
|
[
|
|
47129
47136
|
,
|
|
47130
|
-
"(\\d{2})(\\d{3
|
|
47131
|
-
"$1 $2",
|
|
47132
|
-
["
|
|
47137
|
+
"(\\d{2})(\\d{3})(\\d{4})",
|
|
47138
|
+
"$1 $2 $3",
|
|
47139
|
+
["7"],
|
|
47133
47140
|
"0$1"
|
|
47134
47141
|
],
|
|
47135
47142
|
[
|
|
47136
47143
|
,
|
|
47137
|
-
"(\\d{
|
|
47144
|
+
"(\\d{3})(\\d{3})(\\d{3,4})",
|
|
47138
47145
|
"$1 $2 $3",
|
|
47139
|
-
["
|
|
47146
|
+
["3"],
|
|
47140
47147
|
"0$1"
|
|
47141
47148
|
],
|
|
47142
47149
|
[
|
|
47143
47150
|
,
|
|
47144
|
-
"(\\d{4})(\\d{
|
|
47151
|
+
"(\\d{4})(\\d{6})",
|
|
47145
47152
|
"$1 $2",
|
|
47146
|
-
["
|
|
47153
|
+
["8"],
|
|
47147
47154
|
"0$1"
|
|
47148
47155
|
]
|
|
47149
47156
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intl-tel-input/vue",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.4.0",
|
|
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.
|
|
27
|
+
"intl-tel-input": "^29.4.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"vue": "^3.0.0"
|