@intl-tel-input/vue 29.0.3 → 29.0.4
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.4",
|
|
2679
2686
|
NUMBER_FORMAT: M,
|
|
2680
2687
|
NUMBER_TYPE: N,
|
|
2681
2688
|
VALIDATION_ERROR: P,
|
package/dist/IntlTelInput.js
CHANGED
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.4",
|
|
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.4"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"vue": "^3.0.0"
|