intl-tel-input 19.2.8 → 19.2.11
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/Gruntfile.js +2 -2
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput-jquery.js +2 -2
- package/build/js/intlTelInput-jquery.min.js +2 -2
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/composer.json +1 -1
- package/grunt/shell.js +2 -2
- package/package.json +3 -3
- package/react/build/IntlTelInput.cjs.js +1 -1
- package/react/build/IntlTelInput.cjs.js.map +3 -3
- package/react/build/IntlTelInput.esm.js +1 -1
- package/react/build/IntlTelInput.esm.js.map +3 -3
- package/react/demo/simple-bundle.js +7 -2
- package/react/demo/validation-bundle.js +7 -2
|
@@ -24614,7 +24614,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24614
24614
|
var e = new Event(t, { bubbles: true, cancelable: true });
|
|
24615
24615
|
this.telInput.dispatchEvent(e);
|
|
24616
24616
|
} }, { key: "_showDropdown", value: function() {
|
|
24617
|
-
this.options.fixDropdownWidth && (this.dropdownContent.style.width = "".concat(this.telInput.offsetWidth, "px")), this.dropdownContent.classList.remove("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), this.options.countrySearch
|
|
24617
|
+
if (this.options.fixDropdownWidth && (this.dropdownContent.style.width = "".concat(this.telInput.offsetWidth, "px")), this.dropdownContent.classList.remove("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), this.options.countrySearch) {
|
|
24618
|
+
var t = this.countryList.firstElementChild;
|
|
24619
|
+
t && this._highlightListItem(t, false), this.searchInput.focus();
|
|
24620
|
+
} else
|
|
24621
|
+
this.activeItem && (this._highlightListItem(this.activeItem, false), this._scrollTo(this.activeItem, true));
|
|
24622
|
+
this._bindDropdownListeners(), this.dropdownArrow.classList.add("iti__arrow--up"), this._trigger("open:countrydropdown");
|
|
24618
24623
|
} }, { key: "_toggleClass", value: function(t, e, i) {
|
|
24619
24624
|
i && !t.classList.contains(e) ? t.classList.add(e) : !i && t.classList.contains(e) && t.classList.remove(e);
|
|
24620
24625
|
} }, { key: "_setDropdownPosition", value: function() {
|
|
@@ -24888,7 +24893,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24888
24893
|
R(s);
|
|
24889
24894
|
}
|
|
24890
24895
|
return null;
|
|
24891
|
-
}, L.defaults = G, L.version = "19.2.
|
|
24896
|
+
}, L.defaults = G, L.version = "19.2.11", function(s, n) {
|
|
24892
24897
|
var t = new Y(s, n);
|
|
24893
24898
|
return t._init(), s.setAttribute("data-intl-tel-input-id", t.id), window.intlTelInputGlobals.instances[t.id] = t, t;
|
|
24894
24899
|
};
|
|
@@ -24614,7 +24614,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24614
24614
|
var e = new Event(t, { bubbles: true, cancelable: true });
|
|
24615
24615
|
this.telInput.dispatchEvent(e);
|
|
24616
24616
|
} }, { key: "_showDropdown", value: function() {
|
|
24617
|
-
this.options.fixDropdownWidth && (this.dropdownContent.style.width = "".concat(this.telInput.offsetWidth, "px")), this.dropdownContent.classList.remove("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), this.options.countrySearch
|
|
24617
|
+
if (this.options.fixDropdownWidth && (this.dropdownContent.style.width = "".concat(this.telInput.offsetWidth, "px")), this.dropdownContent.classList.remove("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), this.options.countrySearch) {
|
|
24618
|
+
var t = this.countryList.firstElementChild;
|
|
24619
|
+
t && this._highlightListItem(t, false), this.searchInput.focus();
|
|
24620
|
+
} else
|
|
24621
|
+
this.activeItem && (this._highlightListItem(this.activeItem, false), this._scrollTo(this.activeItem, true));
|
|
24622
|
+
this._bindDropdownListeners(), this.dropdownArrow.classList.add("iti__arrow--up"), this._trigger("open:countrydropdown");
|
|
24618
24623
|
} }, { key: "_toggleClass", value: function(t, e, i) {
|
|
24619
24624
|
i && !t.classList.contains(e) ? t.classList.add(e) : !i && t.classList.contains(e) && t.classList.remove(e);
|
|
24620
24625
|
} }, { key: "_setDropdownPosition", value: function() {
|
|
@@ -24888,7 +24893,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24888
24893
|
R(s);
|
|
24889
24894
|
}
|
|
24890
24895
|
return null;
|
|
24891
|
-
}, L.defaults = G, L.version = "19.2.
|
|
24896
|
+
}, L.defaults = G, L.version = "19.2.11", function(s, n) {
|
|
24892
24897
|
var t = new Y(s, n);
|
|
24893
24898
|
return t._init(), s.setAttribute("data-intl-tel-input-id", t.id), window.intlTelInputGlobals.instances[t.id] = t, t;
|
|
24894
24899
|
};
|