intl-tel-input 25.12.4 → 25.12.6
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 +10 -30
- package/angular/README.md +23 -2
- package/angular/build/IntlTelInput.js +2 -1
- package/angular/build/IntlTelInputWithUtils.js +380 -461
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput.js +3 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +381 -462
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +89 -86
- package/package.json +1 -1
- package/react/README.md +16 -14
- package/react/build/IntlTelInput.cjs +2 -1
- package/react/build/IntlTelInput.js +2 -1
- package/react/build/IntlTelInputWithUtils.cjs +380 -461
- package/react/build/IntlTelInputWithUtils.js +380 -461
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +2 -2
- package/vue/build/IntlTelInputWithUtils.mjs +380 -462
package/vue/README.md
CHANGED
|
@@ -34,7 +34,7 @@ See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master
|
|
|
34
34
|
"vue:demo": "vite --config vue/demo/[demo variant]/vite.config.js"
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `loadUtils` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.
|
|
37
|
+
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `loadUtils` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.6/build/js/utils.js"`.
|
|
38
38
|
|
|
39
39
|
## Props
|
|
40
40
|
Here's a list of all of the current props you can pass to the IntlTelInput Vue component.
|
|
@@ -2868,7 +2868,7 @@ class U {
|
|
|
2868
2868
|
g.ARROW_DOWN,
|
|
2869
2869
|
g.ENTER,
|
|
2870
2870
|
g.ESC
|
|
2871
|
-
].includes(o.key) && (o.preventDefault(), o.stopPropagation(), o.key === g.ARROW_UP || o.key === g.ARROW_DOWN ? this._handleUpDownKey(o.key) : o.key === g.ENTER ? this._handleEnterKey() : o.key === g.ESC && this._closeDropdown()), !this.options.countrySearch && N.HIDDEN_SEARCH_CHAR.test(o.key) && (o.stopPropagation(), i && clearTimeout(i), e += o.key.toLowerCase(), this._searchForCountry(e), i = setTimeout(() => {
|
|
2871
|
+
].includes(o.key) && (o.preventDefault(), o.stopPropagation(), o.key === g.ARROW_UP || o.key === g.ARROW_DOWN ? this._handleUpDownKey(o.key) : o.key === g.ENTER ? this._handleEnterKey() : o.key === g.ESC && (this._closeDropdown(), this.ui.selectedCountry.focus())), !this.options.countrySearch && N.HIDDEN_SEARCH_CHAR.test(o.key) && (o.stopPropagation(), i && clearTimeout(i), e += o.key.toLowerCase(), this._searchForCountry(e), i = setTimeout(() => {
|
|
2872
2872
|
e = "";
|
|
2873
2873
|
}, lt.HIDDEN_SEARCH_RESET_MS));
|
|
2874
2874
|
};
|
|
@@ -3279,7 +3279,7 @@ const Lt = (l) => {
|
|
|
3279
3279
|
attachUtils: Lt,
|
|
3280
3280
|
startedLoadingUtilsScript: !1,
|
|
3281
3281
|
startedLoadingAutoCountry: !1,
|
|
3282
|
-
version: "25.12.
|
|
3282
|
+
version: "25.12.6"
|
|
3283
3283
|
}
|
|
3284
3284
|
), vt = {
|
|
3285
3285
|
__name: "IntlTelInput",
|