@intl-tel-input/vue 29.5.0 → 29.5.2

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.
@@ -2004,9 +2004,14 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2004
2004
  }
2005
2005
  this.#m.classList.remove(v.HIDE), this.#u.setAttribute(R.EXPANDED, "true");
2006
2006
  let r = this.#T ?? this.#y.firstElementChild;
2007
- r && this.#Q(r), n || this.#Z().focus(), this.#e.countrySelectorMode === I.FULLSCREEN && this.#w && window.visualViewport && (this.#fe(), window.visualViewport.addEventListener("resize", () => {
2008
- this.#fe(), this.#E && this.#X(this.#E);
2009
- }, { signal: this.#O.signal })), this.#p.classList.add(v.ARROW_UP), this.#$(e, t);
2007
+ if (r && this.#Q(r), n || this.#Z().focus(), this.#e.countrySelectorMode === I.FULLSCREEN && this.#w && window.visualViewport) {
2008
+ this.#fe();
2009
+ let e = () => {
2010
+ this.#fe(), this.#E && this.#X(this.#E);
2011
+ }, { signal: t } = this.#O;
2012
+ window.visualViewport.addEventListener("resize", e, { signal: t }), window.addEventListener("resize", e, { signal: t });
2013
+ }
2014
+ this.#p.classList.add(v.ARROW_UP), this.#$(e, t);
2010
2015
  }
2011
2016
  #$(e, t) {
2012
2017
  let n = this.#O.signal;
@@ -2758,7 +2763,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2758
2763
  },
2759
2764
  startedLoadingUtils: !1,
2760
2765
  startedLoadingAutoCountry: !1,
2761
- version: "29.5.0",
2766
+ version: "29.5.2",
2762
2767
  NUMBER_FORMAT: N,
2763
2768
  NUMBER_TYPE: P,
2764
2769
  VALIDATION_ERROR: F,
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-DkmDiQT_.js";
1
+ import { n as e, t } from "./IntlTelInput-mRsIzAy1.js";
2
2
  //#region packages/vue/src/index.ts
3
3
  var n = t;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-DkmDiQT_.js";
1
+ import { n as e, t } from "./IntlTelInput-mRsIzAy1.js";
2
2
  //#region packages/core/dist/js/utils.js
3
3
  var n = {};
4
4
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intl-tel-input/vue",
3
- "version": "29.5.0",
3
+ "version": "29.5.2",
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.5.0"
27
+ "intl-tel-input": "^29.5.2"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": "^3.0.0"