intl-tel-input 17.0.13 → 17.0.14

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/composer.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jackocnr/intl-tel-input",
3
- "version": "17.0.13",
3
+ "version": "17.0.14",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
@@ -4,10 +4,10 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Country sync</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
- <link rel="stylesheet" href="../css/countrySync.css?1613236686837">
10
+ <link rel="stylesheet" href="../css/countrySync.css?1638200991544">
11
11
 
12
12
 
13
13
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -48,7 +48,7 @@ var countryData = window.intlTelInputGlobals.getCountryData(),
48
48
 
49
49
  // init plugin
50
50
  var iti = window.intlTelInput(input, {
51
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
51
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
52
52
  });
53
53
 
54
54
  // populate the country dropdown
@@ -92,7 +92,7 @@ addressDropdown.addEventListener(&#39;change&#39;, function() {
92
92
  </div>
93
93
 
94
94
  <script src="../js/prism.js"></script>
95
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
96
- <script src="./js/countrySync.js?1613236686837"></script>
95
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
96
+ <script src="./js/countrySync.js?1638200991544"></script>
97
97
  </body>
98
98
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Lookup user's country</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -38,7 +38,7 @@ window.intlTelInput(input, {
38
38
  callback(countryCode);
39
39
  });
40
40
  },
41
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
41
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
42
42
  });
43
43
  </code></pre>
44
44
 
@@ -50,7 +50,7 @@ window.intlTelInput(input, {
50
50
  </div>
51
51
 
52
52
  <script src="../js/prism.js"></script>
53
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
54
- <script src="./js/defaultCountryIp.js?1613236686837"></script>
53
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
54
+ <script src="./js/defaultCountryIp.js?1638200991544"></script>
55
55
  </body>
56
56
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Display an existing number</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -30,7 +30,7 @@
30
30
  <h2>Code</h2>
31
31
  <pre><code class="language-javascript">var input = document.querySelector(&quot;#phone&quot;);
32
32
  window.intlTelInput(input, {
33
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
33
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
34
34
  });
35
35
  </code></pre>
36
36
 
@@ -41,7 +41,7 @@ window.intlTelInput(input, {
41
41
  </div>
42
42
 
43
43
  <script src="../js/prism.js"></script>
44
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
45
- <script src="./js/displayNumber.js?1613236686837"></script>
44
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
45
+ <script src="./js/displayNumber.js?1638200991544"></script>
46
46
  </body>
47
47
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Submitting the full international number using a hidden input</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -34,7 +34,7 @@
34
34
  <pre><code class="language-javascript">var input = document.querySelector(&quot;#phone&quot;);
35
35
  window.intlTelInput(input, {
36
36
  hiddenInput: &quot;full_phone&quot;,
37
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
37
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
38
38
  });
39
39
  </code></pre>
40
40
 
@@ -48,7 +48,7 @@ window.intlTelInput(input, {
48
48
  </div>
49
49
 
50
50
  <script src="../js/prism.js"></script>
51
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
52
- <script src="./js/hiddenInput.js?1613236686837"></script>
51
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
52
+ <script src="./js/hiddenInput.js?1638200991544"></script>
53
53
  </body>
54
54
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Using the promise returned from initialisation</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -39,7 +39,7 @@
39
39
  var statusElement = document.querySelector(&quot;#status&quot;);
40
40
 
41
41
  var iti = window.intlTelInput(input, {
42
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot;,
42
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot;,
43
43
  });
44
44
  iti.promise.then(function() {
45
45
  statusElement.innerHTML = &quot;Initialised!&quot;;
@@ -60,7 +60,7 @@ iti.promise.then(function() {
60
60
  </div>
61
61
 
62
62
  <script src="../js/prism.js"></script>
63
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
64
- <script src="./js/initPromise.js?1613236686837"></script>
63
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
64
+ <script src="./js/initPromise.js?1638200991544"></script>
65
65
  </body>
66
66
  </html>
@@ -4,10 +4,10 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Validation</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
- <link rel="stylesheet" href="../css/isValidNumber.css?1613236686837">
10
+ <link rel="stylesheet" href="../css/isValidNumber.css?1638200991544">
11
11
 
12
12
 
13
13
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -41,7 +41,7 @@ var errorMap = [&quot;Invalid number&quot;, &quot;Invalid country code&quot;, &q
41
41
 
42
42
  // initialise plugin
43
43
  var iti = window.intlTelInput(input, {
44
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot;
44
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot;
45
45
  });
46
46
 
47
47
  var reset = function() {
@@ -80,7 +80,7 @@ input.addEventListener(&#39;keyup&#39;, reset);
80
80
  </div>
81
81
 
82
82
  <script src="../js/prism.js"></script>
83
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
84
- <script src="./js/isValidNumber.js?1613236686837"></script>
83
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
84
+ <script src="./js/isValidNumber.js?1638200991544"></script>
85
85
  </body>
86
86
  </html>
@@ -5,7 +5,7 @@ var countryData = window.intlTelInputGlobals.getCountryData(),
5
5
 
6
6
  // init plugin
7
7
  var iti = window.intlTelInput(input, {
8
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
8
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
9
9
  });
10
10
 
11
11
  // populate the country dropdown
@@ -7,5 +7,5 @@ window.intlTelInput(input, {
7
7
  callback(countryCode);
8
8
  });
9
9
  },
10
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
10
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
11
11
  });
@@ -1,4 +1,4 @@
1
1
  var input = document.querySelector("#phone");
2
2
  window.intlTelInput(input, {
3
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
3
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
4
4
  });
@@ -1,5 +1,5 @@
1
1
  var input = document.querySelector("#phone");
2
2
  window.intlTelInput(input, {
3
3
  hiddenInput: "full_phone",
4
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
4
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
5
5
  });
@@ -2,7 +2,7 @@ var input = document.querySelector("#phone");
2
2
  var statusElement = document.querySelector("#status");
3
3
 
4
4
  var iti = window.intlTelInput(input, {
5
- utilsScript: "../../build/js/utils.js?1613236686837",
5
+ utilsScript: "../../build/js/utils.js?1638200991544",
6
6
  });
7
7
  iti.promise.then(function() {
8
8
  statusElement.innerHTML = "Initialised!";
@@ -7,7 +7,7 @@ var errorMap = ["Invalid number", "Invalid country code", "Too short", "Too long
7
7
 
8
8
  // initialise plugin
9
9
  var iti = window.intlTelInput(input, {
10
- utilsScript: "../../build/js/utils.js?1613236686837"
10
+ utilsScript: "../../build/js/utils.js?1638200991544"
11
11
  });
12
12
 
13
13
  var reset = function() {
@@ -7,5 +7,5 @@ for (var i = 0; i < countryData.length; i++) {
7
7
  }
8
8
 
9
9
  window.intlTelInput(input, {
10
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
10
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
11
11
  });
@@ -4,10 +4,10 @@ var inputMobile = document.querySelector("#mobile");
4
4
  window.intlTelInput(inputHome, {
5
5
  initialCountry: 'gb',
6
6
  placeholderNumberType: 'FIXED_LINE',
7
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
7
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
8
8
  });
9
9
  window.intlTelInput(inputMobile, {
10
10
  initialCountry: 'gb',
11
11
  placeholderNumberType: 'MOBILE',
12
- utilsScript: "../../build/js/utils.js?1613236686837"
12
+ utilsScript: "../../build/js/utils.js?1638200991544"
13
13
  });
@@ -3,7 +3,7 @@ var input = document.querySelector("#phone"),
3
3
 
4
4
  var iti = window.intlTelInput(input, {
5
5
  nationalMode: true,
6
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
6
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
7
7
  });
8
8
 
9
9
  var handleChange = function() {
@@ -4,5 +4,5 @@ window.intlTelInput(input, {
4
4
  "ee", "fo", "fi", "fr", "de", "gi", "gr", "va", "hu", "is", "ie", "it", "lv",
5
5
  "li", "lt", "lu", "mk", "mt", "md", "mc", "me", "nl", "no", "pl", "pt", "ro",
6
6
  "ru", "sm", "rs", "sk", "si", "es", "se", "ch", "ua", "gb"],
7
- utilsScript: "../../build/js/utils.js?1613236686837" // just for formatting/placeholders etc
7
+ utilsScript: "../../build/js/utils.js?1638200991544" // just for formatting/placeholders etc
8
8
  });
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Modify country data</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -36,7 +36,7 @@ for (var i = 0; i &lt; countryData.length; i++) {
36
36
  }
37
37
 
38
38
  window.intlTelInput(input, {
39
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
39
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
40
40
  });
41
41
  </code></pre>
42
42
 
@@ -46,7 +46,7 @@ window.intlTelInput(input, {
46
46
  </div>
47
47
 
48
48
  <script src="../js/prism.js"></script>
49
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
50
- <script src="./js/modifyCountryData.js?1613236686837"></script>
49
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
50
+ <script src="./js/modifyCountryData.js?1638200991544"></script>
51
51
  </body>
52
52
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: Multiple Instances</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -36,12 +36,12 @@ var inputMobile = document.querySelector(&quot;#mobile&quot;);
36
36
  window.intlTelInput(inputHome, {
37
37
  initialCountry: &#39;gb&#39;,
38
38
  placeholderNumberType: &#39;FIXED_LINE&#39;,
39
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
39
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
40
40
  });
41
41
  window.intlTelInput(inputMobile, {
42
42
  initialCountry: &#39;gb&#39;,
43
43
  placeholderNumberType: &#39;MOBILE&#39;,
44
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot;
44
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot;
45
45
  });
46
46
  </code></pre>
47
47
 
@@ -54,7 +54,7 @@ Mobile: <input id="mobile" type="tel">
54
54
  </div>
55
55
 
56
56
  <script src="../js/prism.js"></script>
57
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
58
- <script src="./js/multipleInstances.js?1613236686837"></script>
57
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
58
+ <script src="./js/multipleInstances.js?1638200991544"></script>
59
59
  </body>
60
60
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: National Mode</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -34,7 +34,7 @@
34
34
 
35
35
  var iti = window.intlTelInput(input, {
36
36
  nationalMode: true,
37
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
37
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
38
38
  });
39
39
 
40
40
  var handleChange = function() {
@@ -57,7 +57,7 @@ input.addEventListener(&#39;keyup&#39;, handleChange);
57
57
  </div>
58
58
 
59
59
  <script src="../js/prism.js"></script>
60
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
61
- <script src="./js/nationalMode.js?1613236686837"></script>
60
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
61
+ <script src="./js/nationalMode.js?1638200991544"></script>
62
62
  </body>
63
63
  </html>
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title>Example: European countries</title>
6
6
  <link rel="stylesheet" href="../css/prism.css">
7
- <link rel="stylesheet" href="../../build/css/intlTelInput.css?1613236686837">
8
- <link rel="stylesheet" href="../../build/css/demo.css?1613236686837">
7
+ <link rel="stylesheet" href="../../build/css/intlTelInput.css?1638200991544">
8
+ <link rel="stylesheet" href="../../build/css/demo.css?1638200991544">
9
9
 
10
10
 
11
11
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -33,7 +33,7 @@ window.intlTelInput(input, {
33
33
  &quot;ee&quot;, &quot;fo&quot;, &quot;fi&quot;, &quot;fr&quot;, &quot;de&quot;, &quot;gi&quot;, &quot;gr&quot;, &quot;va&quot;, &quot;hu&quot;, &quot;is&quot;, &quot;ie&quot;, &quot;it&quot;, &quot;lv&quot;,
34
34
  &quot;li&quot;, &quot;lt&quot;, &quot;lu&quot;, &quot;mk&quot;, &quot;mt&quot;, &quot;md&quot;, &quot;mc&quot;, &quot;me&quot;, &quot;nl&quot;, &quot;no&quot;, &quot;pl&quot;, &quot;pt&quot;, &quot;ro&quot;,
35
35
  &quot;ru&quot;, &quot;sm&quot;, &quot;rs&quot;, &quot;sk&quot;, &quot;si&quot;, &quot;es&quot;, &quot;se&quot;, &quot;ch&quot;, &quot;ua&quot;, &quot;gb&quot;],
36
- utilsScript: &quot;../../build/js/utils.js?1613236686837&quot; // just for formatting/placeholders etc
36
+ utilsScript: &quot;../../build/js/utils.js?1638200991544&quot; // just for formatting/placeholders etc
37
37
  });
38
38
  </code></pre>
39
39
 
@@ -43,7 +43,7 @@ window.intlTelInput(input, {
43
43
  </div>
44
44
 
45
45
  <script src="../js/prism.js"></script>
46
- <script src="../../build/js/intlTelInput.js?1613236686837"></script>
47
- <script src="./js/onlyCountriesEurope.js?1613236686837"></script>
46
+ <script src="../../build/js/intlTelInput.js?1638200991544"></script>
47
+ <script src="./js/onlyCountriesEurope.js?1638200991544"></script>
48
48
  </body>
49
49
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "17.0.13",
3
+ "version": "17.0.14",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",