intl-tel-input 25.10.8 → 25.10.9
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 +5 -5
- package/angular/README.md +1 -1
- package/angular/build/IntlTelInput.js +2 -2
- package/angular/build/IntlTelInputWithUtils.js +2 -2
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput.js +3 -3
- package/build/js/intlTelInput.min.js +3 -3
- package/build/js/intlTelInputWithUtils.js +3 -3
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +2 -2
- package/react/build/IntlTelInput.js +2 -2
- package/react/build/IntlTelInputWithUtils.cjs +2 -2
- package/react/build/IntlTelInputWithUtils.js +2 -2
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +2 -2
- package/vue/build/IntlTelInputWithUtils.mjs +2 -2
package/package.json
CHANGED
package/react/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import "intl-tel-input/styles";
|
|
|
28
28
|
|
|
29
29
|
See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/react/demo/validation/ValidationApp.tsx) for a more fleshed-out example of how to handle validation.
|
|
30
30
|
|
|
31
|
-
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/reactWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` 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.10.
|
|
31
|
+
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/reactWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` 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.10.9/build/js/utils.js"`.
|
|
32
32
|
|
|
33
33
|
## Props
|
|
34
34
|
Here's a list of all of the current props you can pass to the IntlTelInput React component.
|
|
@@ -3108,7 +3108,7 @@ var Iti = class _Iti {
|
|
|
3108
3108
|
let numericChars = "";
|
|
3109
3109
|
for (let i = 0; i < number.length; i++) {
|
|
3110
3110
|
const c = number.charAt(i);
|
|
3111
|
-
if (
|
|
3111
|
+
if (/[0-9]/.test(c)) {
|
|
3112
3112
|
numericChars += c;
|
|
3113
3113
|
if (includeAreaCode) {
|
|
3114
3114
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
@@ -3397,7 +3397,7 @@ var intlTelInput = Object.assign(
|
|
|
3397
3397
|
attachUtils,
|
|
3398
3398
|
startedLoadingUtilsScript: false,
|
|
3399
3399
|
startedLoadingAutoCountry: false,
|
|
3400
|
-
version: "25.10.
|
|
3400
|
+
version: "25.10.9"
|
|
3401
3401
|
}
|
|
3402
3402
|
);
|
|
3403
3403
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -3072,7 +3072,7 @@ var Iti = class _Iti {
|
|
|
3072
3072
|
let numericChars = "";
|
|
3073
3073
|
for (let i = 0; i < number.length; i++) {
|
|
3074
3074
|
const c = number.charAt(i);
|
|
3075
|
-
if (
|
|
3075
|
+
if (/[0-9]/.test(c)) {
|
|
3076
3076
|
numericChars += c;
|
|
3077
3077
|
if (includeAreaCode) {
|
|
3078
3078
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
@@ -3361,7 +3361,7 @@ var intlTelInput = Object.assign(
|
|
|
3361
3361
|
attachUtils,
|
|
3362
3362
|
startedLoadingUtilsScript: false,
|
|
3363
3363
|
startedLoadingAutoCountry: false,
|
|
3364
|
-
version: "25.10.
|
|
3364
|
+
version: "25.10.9"
|
|
3365
3365
|
}
|
|
3366
3366
|
);
|
|
3367
3367
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -3108,7 +3108,7 @@ var Iti = class _Iti {
|
|
|
3108
3108
|
let numericChars = "";
|
|
3109
3109
|
for (let i = 0; i < number.length; i++) {
|
|
3110
3110
|
const c = number.charAt(i);
|
|
3111
|
-
if (
|
|
3111
|
+
if (/[0-9]/.test(c)) {
|
|
3112
3112
|
numericChars += c;
|
|
3113
3113
|
if (includeAreaCode) {
|
|
3114
3114
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
@@ -3397,7 +3397,7 @@ var intlTelInput = Object.assign(
|
|
|
3397
3397
|
attachUtils,
|
|
3398
3398
|
startedLoadingUtilsScript: false,
|
|
3399
3399
|
startedLoadingAutoCountry: false,
|
|
3400
|
-
version: "25.10.
|
|
3400
|
+
version: "25.10.9"
|
|
3401
3401
|
}
|
|
3402
3402
|
);
|
|
3403
3403
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -3072,7 +3072,7 @@ var Iti = class _Iti {
|
|
|
3072
3072
|
let numericChars = "";
|
|
3073
3073
|
for (let i = 0; i < number.length; i++) {
|
|
3074
3074
|
const c = number.charAt(i);
|
|
3075
|
-
if (
|
|
3075
|
+
if (/[0-9]/.test(c)) {
|
|
3076
3076
|
numericChars += c;
|
|
3077
3077
|
if (includeAreaCode) {
|
|
3078
3078
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
@@ -3361,7 +3361,7 @@ var intlTelInput = Object.assign(
|
|
|
3361
3361
|
attachUtils,
|
|
3362
3362
|
startedLoadingUtilsScript: false,
|
|
3363
3363
|
startedLoadingAutoCountry: false,
|
|
3364
|
-
version: "25.10.
|
|
3364
|
+
version: "25.10.9"
|
|
3365
3365
|
}
|
|
3366
3366
|
);
|
|
3367
3367
|
var intl_tel_input_default = intlTelInput;
|
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.10.
|
|
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.10.9/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.
|
|
@@ -2479,7 +2479,7 @@ class v {
|
|
|
2479
2479
|
let s = "";
|
|
2480
2480
|
for (let n = 0; n < t.length; n++) {
|
|
2481
2481
|
const o = t.charAt(n);
|
|
2482
|
-
if (
|
|
2482
|
+
if (/[0-9]/.test(o)) {
|
|
2483
2483
|
if (s += o, e)
|
|
2484
2484
|
this.dialCodeToIso2Map[s] && (i = t.substring(0, n + 1));
|
|
2485
2485
|
else if (this.dialCodes.has(s)) {
|
|
@@ -2675,7 +2675,7 @@ const nt = (r) => {
|
|
|
2675
2675
|
attachUtils: nt,
|
|
2676
2676
|
startedLoadingUtilsScript: !1,
|
|
2677
2677
|
startedLoadingAutoCountry: !1,
|
|
2678
|
-
version: "25.10.
|
|
2678
|
+
version: "25.10.9"
|
|
2679
2679
|
}
|
|
2680
2680
|
), at = {
|
|
2681
2681
|
__name: "IntlTelInput",
|
|
@@ -2479,7 +2479,7 @@ class c1 {
|
|
|
2479
2479
|
let s = "";
|
|
2480
2480
|
for (let u = 0; u < e.length; u++) {
|
|
2481
2481
|
const h = e.charAt(u);
|
|
2482
|
-
if (
|
|
2482
|
+
if (/[0-9]/.test(h)) {
|
|
2483
2483
|
if (s += h, $)
|
|
2484
2484
|
this.dialCodeToIso2Map[s] && (i = e.substring(0, u + 1));
|
|
2485
2485
|
else if (this.dialCodes.has(s)) {
|
|
@@ -2675,7 +2675,7 @@ const n0 = (f) => {
|
|
|
2675
2675
|
attachUtils: n0,
|
|
2676
2676
|
startedLoadingUtilsScript: !1,
|
|
2677
2677
|
startedLoadingAutoCountry: !1,
|
|
2678
|
-
version: "25.10.
|
|
2678
|
+
version: "25.10.9"
|
|
2679
2679
|
}
|
|
2680
2680
|
);
|
|
2681
2681
|
(function() {
|