intl-tel-input 25.3.2 → 25.4.0

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.
@@ -2522,12 +2522,16 @@ var Iti = class {
2522
2522
  const { i18n } = this.options;
2523
2523
  const count = this.countryList.childElementCount;
2524
2524
  let searchText;
2525
- if (count === 0) {
2526
- searchText = i18n.zeroSearchResults;
2527
- } else if (count === 1) {
2528
- searchText = i18n.oneSearchResult;
2525
+ if ("searchResultsText" in i18n) {
2526
+ searchText = i18n.searchResultsText(count);
2529
2527
  } else {
2530
- searchText = i18n.multipleSearchResults.replace("${count}", count.toString());
2528
+ if (count === 0) {
2529
+ searchText = i18n.zeroSearchResults;
2530
+ } else if (count === 1) {
2531
+ searchText = i18n.oneSearchResult;
2532
+ } else {
2533
+ searchText = i18n.multipleSearchResults.replace("${count}", count.toString());
2534
+ }
2531
2535
  }
2532
2536
  this.searchResultsA11yText.textContent = searchText;
2533
2537
  }
@@ -2961,6 +2965,7 @@ var Iti = class {
2961
2965
  //********************
2962
2966
  //* Remove plugin.
2963
2967
  destroy() {
2968
+ this.telInput.iti = void 0;
2964
2969
  const { allowDropdown, separateDialCode } = this.options;
2965
2970
  if (allowDropdown) {
2966
2971
  this._closeDropdown();
@@ -3146,6 +3151,7 @@ var intlTelInput = Object.assign(
3146
3151
  iti._init();
3147
3152
  input.setAttribute("data-intl-tel-input-id", iti.id.toString());
3148
3153
  intlTelInput.instances[iti.id] = iti;
3154
+ input.iti = iti;
3149
3155
  return iti;
3150
3156
  },
3151
3157
  {
@@ -3164,7 +3170,7 @@ var intlTelInput = Object.assign(
3164
3170
  attachUtils,
3165
3171
  startedLoadingUtilsScript: false,
3166
3172
  startedLoadingAutoCountry: false,
3167
- version: "25.3.2"
3173
+ version: "25.4.0"
3168
3174
  }
3169
3175
  );
3170
3176
  var intl_tel_input_default = intlTelInput;
@@ -5438,10 +5444,13 @@ var intl_tel_input_default = intlTelInput;
5438
5444
  ,
5439
5445
  ,
5440
5446
  [10]
5441
- ], "GB", 44, "00", "0", " x", , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [
5442
- "[25]|7(?:0|6[02-9])",
5443
- "[25]|7(?:0|6(?:[03-9]|2[356]))"
5444
- ], "0$1"], [, "(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], 1, , [, , , , , , , , , [-1]], [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], , , [, , , , , , , , , [-1]]],
5447
+ ], "GB", 44, "00", "0", " x", , "0|180020", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], [
5448
+ ,
5449
+ "(\\d{2})(\\d{4})(\\d{4})",
5450
+ "$1 $2 $3",
5451
+ ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"],
5452
+ "0$1"
5453
+ ], [, "(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], 1, , [, , , , , , , , , [-1]], [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], , , [, , , , , , , , , [-1]]],
5445
5454
  GD: [, [, , "(?:473|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [
5446
5455
  ,
5447
5456
  ,
@@ -5514,7 +5523,7 @@ var intl_tel_input_default = intlTelInput;
5514
5523
  "0",
5515
5524
  ,
5516
5525
  ,
5517
- "([25-9]\\d{5})$|0",
5526
+ "([25-9]\\d{5})$|0|180020",
5518
5527
  "1481$1",
5519
5528
  ,
5520
5529
  ,
@@ -5562,42 +5571,51 @@ var intl_tel_input_default = intlTelInput;
5562
5571
  ,
5563
5572
  "221234"
5564
5573
  ], [, , "80\\d{4}", , , , "801234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "3[89]\\d{4}", , , , "381234"], "GL", 299, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5565
- GM: [, [, , "[2-9]\\d{6}", , , , , , , [7]], [, , "(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}", , , , "5661234"], [, , "556\\d{4}|(?:[23679]\\d|4[015]|5[0-489])\\d{5}", , , , "3012345"], [
5574
+ GM: [, [, , "[2-9]\\d{6}", , , , , , , [7]], [, , "(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}", , , , "5661234"], [
5566
5575
  ,
5567
5576
  ,
5577
+ "556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}",
5568
5578
  ,
5569
5579
  ,
5570
5580
  ,
5581
+ "3012345"
5582
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GM", 220, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5583
+ GN: [, [, , "722\\d{6}|(?:3|6\\d)\\d{7}", , , , , , , [8, 9]], [, , "3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", , , , "30241234", , , [8]], [, , "6[0-356]\\d{7}", , , , "601123456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
5571
5584
  ,
5572
5585
  ,
5586
+ "722\\d{6}",
5573
5587
  ,
5574
5588
  ,
5575
- [-1]
5576
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GM", 220, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5577
- GN: [
5578
5589
  ,
5579
- [, , "722\\d{6}|(?:3|6\\d)\\d{7}", , , , , , , [8, 9]],
5580
- [, , "3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", , , , "30241234", , , [8]],
5581
- [, , "6[0-356]\\d{7}", , , , "601123456", , , [9]],
5582
- [, , , , , , , , , [-1]],
5590
+ "722123456",
5591
+ ,
5592
+ ,
5593
+ [9]
5594
+ ], "GN", 224, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5595
+ GP: [
5596
+ ,
5597
+ [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]],
5598
+ [, , "590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}", , , , "590201234"],
5599
+ [, , "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", , , , "690001234"],
5600
+ [, , "80[0-5]\\d{6}", , , , "800012345"],
5583
5601
  [, , , , , , , , , [-1]],
5584
5602
  [, , , , , , , , , [-1]],
5585
5603
  [, , , , , , , , , [-1]],
5586
- [, , "722\\d{6}", , , , "722123456", , , [9]],
5587
- "GN",
5588
- 224,
5604
+ [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}", , , , "976012345"],
5605
+ "GP",
5606
+ 590,
5589
5607
  "00",
5608
+ "0",
5590
5609
  ,
5591
5610
  ,
5611
+ "0",
5592
5612
  ,
5593
5613
  ,
5594
5614
  ,
5595
- ,
5596
- ,
5597
- [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]],
5615
+ [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]],
5598
5616
  ,
5599
5617
  [, , , , , , , , , [-1]],
5600
- ,
5618
+ 1,
5601
5619
  ,
5602
5620
  [, , , , , , , , , [-1]],
5603
5621
  [, , , , , , , , , [-1]],
@@ -5605,15 +5623,6 @@ var intl_tel_input_default = intlTelInput;
5605
5623
  ,
5606
5624
  [, , , , , , , , , [-1]]
5607
5625
  ],
5608
- GP: [, [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]], [, , "590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}", , , , "590201234"], [, , "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", , , , "690001234"], [
5609
- ,
5610
- ,
5611
- "80[0-5]\\d{6}",
5612
- ,
5613
- ,
5614
- ,
5615
- "800012345"
5616
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}", , , , "976012345"], "GP", 590, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5617
5626
  GQ: [
5618
5627
  ,
5619
5628
  [, , "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", , , , , , , [9]],
@@ -5701,7 +5710,7 @@ var intl_tel_input_default = intlTelInput;
5701
5710
  ,
5702
5711
  ,
5703
5712
  "2201234"
5704
- ], [, , "(?:510|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5713
+ ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5705
5714
  HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
5706
5715
  ,
5707
5716
  ,
@@ -5903,7 +5912,7 @@ var intl_tel_input_default = intlTelInput;
5903
5912
  "0",
5904
5913
  ,
5905
5914
  ,
5906
- "([25-8]\\d{5})$|0",
5915
+ "([25-8]\\d{5})$|0|180020",
5907
5916
  "1624$1",
5908
5917
  ,
5909
5918
  ,
@@ -6120,7 +6129,7 @@ var intl_tel_input_default = intlTelInput;
6120
6129
  ,
6121
6130
  ,
6122
6131
  "7797712345"
6123
- ], [, , "80(?:07(?:35|81)|8901)\\d{4}", , , , "8007354567"], [, , "(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}", , , , "9018105678"], [, , , , , , , , , [-1]], [, , "701511\\d{4}", , , , "7015115678"], [, , "56\\d{8}", , , , "5612345678"], "JE", 44, "00", "0", , , "([0-24-8]\\d{5})$|0", "1534$1", , , , , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456"], , , [, , , , , , , , , [-1]], [
6132
+ ], [, , "80(?:07(?:35|81)|8901)\\d{4}", , , , "8007354567"], [, , "(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}", , , , "9018105678"], [, , , , , , , , , [-1]], [, , "701511\\d{4}", , , , "7015115678"], [, , "56\\d{8}", , , , "5612345678"], "JE", 44, "00", "0", , , "([0-24-8]\\d{5})$|0|180020", "1534$1", , , , , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456"], , , [, , , , , , , , , [-1]], [
6124
6133
  ,
6125
6134
  ,
6126
6135
  "(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",
@@ -9424,7 +9433,9 @@ var intl_tel_input_default = intlTelInput;
9424
9433
  return a.s.toString();
9425
9434
  }
9426
9435
  ;
9427
- const yb = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9436
+ const yb = (a) => {
9437
+ a.includes("FIXED_LINE_OR_MOBILE") ? (a.includes("MOBILE") || a.push("MOBILE"), a.includes("FIXED_LINE") || a.push("FIXED_LINE")) : (a.includes("MOBILE") || a.includes("FIXED_LINE")) && a.push("FIXED_LINE_OR_MOBILE");
9438
+ }, zb = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9428
9439
  m("intlTelInputUtilsTemp", {});
9429
9440
  m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
9430
9441
  try {
@@ -9496,7 +9507,8 @@ var intl_tel_input_default = intlTelInput;
9496
9507
  try {
9497
9508
  const d = K.g(), e = Y(d, a, b), f = cb(d, e);
9498
9509
  if (c) {
9499
- const g = c.map((h) => yb[h]);
9510
+ yb(c);
9511
+ const g = c.map((h) => zb[h]);
9500
9512
  return f && g.includes($a(d, e));
9501
9513
  }
9502
9514
  return f;
@@ -9508,8 +9520,8 @@ var intl_tel_input_default = intlTelInput;
9508
9520
  try {
9509
9521
  const d = K.g(), e = Y(d, a, b);
9510
9522
  if (c) {
9511
- c.includes("FIXED_LINE_OR_MOBILE") && (c.includes("MOBILE") || c.push("MOBILE"), c.includes("FIXED_LINE") || c.push("FIXED_LINE"));
9512
- for (let f of c) if (0 === X(d, e, yb[f])) return true;
9523
+ yb(c);
9524
+ for (let f of c) if (0 === X(d, e, zb[f])) return true;
9513
9525
  return false;
9514
9526
  }
9515
9527
  return 0 === X(d, e, -1);
@@ -9525,11 +9537,12 @@ var intl_tel_input_default = intlTelInput;
9525
9537
  }
9526
9538
  });
9527
9539
  m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
9528
- m("intlTelInputUtilsTemp.numberType", yb);
9540
+ m("intlTelInputUtilsTemp.numberType", zb);
9529
9541
  m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9530
9542
  })();
9531
- var utils = window.intlTelInputUtilsTemp;
9532
- delete window.intlTelInputUtilsTemp;
9543
+ var globalContext = typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : void 0;
9544
+ var utils = globalContext.intlTelInputUtilsTemp;
9545
+ delete globalContext.intlTelInputUtilsTemp;
9533
9546
  var utils_default = utils;
9534
9547
 
9535
9548
  // src/js/intl-tel-input/intlTelInputWithUtils.ts
@@ -2486,12 +2486,16 @@ var Iti = class {
2486
2486
  const { i18n } = this.options;
2487
2487
  const count = this.countryList.childElementCount;
2488
2488
  let searchText;
2489
- if (count === 0) {
2490
- searchText = i18n.zeroSearchResults;
2491
- } else if (count === 1) {
2492
- searchText = i18n.oneSearchResult;
2489
+ if ("searchResultsText" in i18n) {
2490
+ searchText = i18n.searchResultsText(count);
2493
2491
  } else {
2494
- searchText = i18n.multipleSearchResults.replace("${count}", count.toString());
2492
+ if (count === 0) {
2493
+ searchText = i18n.zeroSearchResults;
2494
+ } else if (count === 1) {
2495
+ searchText = i18n.oneSearchResult;
2496
+ } else {
2497
+ searchText = i18n.multipleSearchResults.replace("${count}", count.toString());
2498
+ }
2495
2499
  }
2496
2500
  this.searchResultsA11yText.textContent = searchText;
2497
2501
  }
@@ -2925,6 +2929,7 @@ var Iti = class {
2925
2929
  //********************
2926
2930
  //* Remove plugin.
2927
2931
  destroy() {
2932
+ this.telInput.iti = void 0;
2928
2933
  const { allowDropdown, separateDialCode } = this.options;
2929
2934
  if (allowDropdown) {
2930
2935
  this._closeDropdown();
@@ -3110,6 +3115,7 @@ var intlTelInput = Object.assign(
3110
3115
  iti._init();
3111
3116
  input.setAttribute("data-intl-tel-input-id", iti.id.toString());
3112
3117
  intlTelInput.instances[iti.id] = iti;
3118
+ input.iti = iti;
3113
3119
  return iti;
3114
3120
  },
3115
3121
  {
@@ -3128,7 +3134,7 @@ var intlTelInput = Object.assign(
3128
3134
  attachUtils,
3129
3135
  startedLoadingUtilsScript: false,
3130
3136
  startedLoadingAutoCountry: false,
3131
- version: "25.3.2"
3137
+ version: "25.4.0"
3132
3138
  }
3133
3139
  );
3134
3140
  var intl_tel_input_default = intlTelInput;
@@ -5402,10 +5408,13 @@ var intl_tel_input_default = intlTelInput;
5402
5408
  ,
5403
5409
  ,
5404
5410
  [10]
5405
- ], "GB", 44, "00", "0", " x", , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [
5406
- "[25]|7(?:0|6[02-9])",
5407
- "[25]|7(?:0|6(?:[03-9]|2[356]))"
5408
- ], "0$1"], [, "(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], 1, , [, , , , , , , , , [-1]], [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], , , [, , , , , , , , , [-1]]],
5411
+ ], "GB", 44, "00", "0", " x", , "0|180020", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], [
5412
+ ,
5413
+ "(\\d{2})(\\d{4})(\\d{4})",
5414
+ "$1 $2 $3",
5415
+ ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"],
5416
+ "0$1"
5417
+ ], [, "(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], 1, , [, , , , , , , , , [-1]], [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], , , [, , , , , , , , , [-1]]],
5409
5418
  GD: [, [, , "(?:473|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [
5410
5419
  ,
5411
5420
  ,
@@ -5478,7 +5487,7 @@ var intl_tel_input_default = intlTelInput;
5478
5487
  "0",
5479
5488
  ,
5480
5489
  ,
5481
- "([25-9]\\d{5})$|0",
5490
+ "([25-9]\\d{5})$|0|180020",
5482
5491
  "1481$1",
5483
5492
  ,
5484
5493
  ,
@@ -5526,42 +5535,51 @@ var intl_tel_input_default = intlTelInput;
5526
5535
  ,
5527
5536
  "221234"
5528
5537
  ], [, , "80\\d{4}", , , , "801234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "3[89]\\d{4}", , , , "381234"], "GL", 299, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5529
- GM: [, [, , "[2-9]\\d{6}", , , , , , , [7]], [, , "(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}", , , , "5661234"], [, , "556\\d{4}|(?:[23679]\\d|4[015]|5[0-489])\\d{5}", , , , "3012345"], [
5538
+ GM: [, [, , "[2-9]\\d{6}", , , , , , , [7]], [, , "(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}", , , , "5661234"], [
5530
5539
  ,
5531
5540
  ,
5541
+ "556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}",
5532
5542
  ,
5533
5543
  ,
5534
5544
  ,
5545
+ "3012345"
5546
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GM", 220, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5547
+ GN: [, [, , "722\\d{6}|(?:3|6\\d)\\d{7}", , , , , , , [8, 9]], [, , "3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", , , , "30241234", , , [8]], [, , "6[0-356]\\d{7}", , , , "601123456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
5535
5548
  ,
5536
5549
  ,
5550
+ "722\\d{6}",
5537
5551
  ,
5538
5552
  ,
5539
- [-1]
5540
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GM", 220, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5541
- GN: [
5542
5553
  ,
5543
- [, , "722\\d{6}|(?:3|6\\d)\\d{7}", , , , , , , [8, 9]],
5544
- [, , "3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", , , , "30241234", , , [8]],
5545
- [, , "6[0-356]\\d{7}", , , , "601123456", , , [9]],
5546
- [, , , , , , , , , [-1]],
5554
+ "722123456",
5555
+ ,
5556
+ ,
5557
+ [9]
5558
+ ], "GN", 224, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5559
+ GP: [
5560
+ ,
5561
+ [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]],
5562
+ [, , "590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}", , , , "590201234"],
5563
+ [, , "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", , , , "690001234"],
5564
+ [, , "80[0-5]\\d{6}", , , , "800012345"],
5547
5565
  [, , , , , , , , , [-1]],
5548
5566
  [, , , , , , , , , [-1]],
5549
5567
  [, , , , , , , , , [-1]],
5550
- [, , "722\\d{6}", , , , "722123456", , , [9]],
5551
- "GN",
5552
- 224,
5568
+ [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}", , , , "976012345"],
5569
+ "GP",
5570
+ 590,
5553
5571
  "00",
5572
+ "0",
5554
5573
  ,
5555
5574
  ,
5575
+ "0",
5556
5576
  ,
5557
5577
  ,
5558
5578
  ,
5559
- ,
5560
- ,
5561
- [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]],
5579
+ [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]],
5562
5580
  ,
5563
5581
  [, , , , , , , , , [-1]],
5564
- ,
5582
+ 1,
5565
5583
  ,
5566
5584
  [, , , , , , , , , [-1]],
5567
5585
  [, , , , , , , , , [-1]],
@@ -5569,15 +5587,6 @@ var intl_tel_input_default = intlTelInput;
5569
5587
  ,
5570
5588
  [, , , , , , , , , [-1]]
5571
5589
  ],
5572
- GP: [, [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]], [, , "590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}", , , , "590201234"], [, , "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", , , , "690001234"], [
5573
- ,
5574
- ,
5575
- "80[0-5]\\d{6}",
5576
- ,
5577
- ,
5578
- ,
5579
- "800012345"
5580
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}", , , , "976012345"], "GP", 590, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5581
5590
  GQ: [
5582
5591
  ,
5583
5592
  [, , "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", , , , , , , [9]],
@@ -5665,7 +5674,7 @@ var intl_tel_input_default = intlTelInput;
5665
5674
  ,
5666
5675
  ,
5667
5676
  "2201234"
5668
- ], [, , "(?:510|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5677
+ ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5669
5678
  HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
5670
5679
  ,
5671
5680
  ,
@@ -5867,7 +5876,7 @@ var intl_tel_input_default = intlTelInput;
5867
5876
  "0",
5868
5877
  ,
5869
5878
  ,
5870
- "([25-8]\\d{5})$|0",
5879
+ "([25-8]\\d{5})$|0|180020",
5871
5880
  "1624$1",
5872
5881
  ,
5873
5882
  ,
@@ -6084,7 +6093,7 @@ var intl_tel_input_default = intlTelInput;
6084
6093
  ,
6085
6094
  ,
6086
6095
  "7797712345"
6087
- ], [, , "80(?:07(?:35|81)|8901)\\d{4}", , , , "8007354567"], [, , "(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}", , , , "9018105678"], [, , , , , , , , , [-1]], [, , "701511\\d{4}", , , , "7015115678"], [, , "56\\d{8}", , , , "5612345678"], "JE", 44, "00", "0", , , "([0-24-8]\\d{5})$|0", "1534$1", , , , , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456"], , , [, , , , , , , , , [-1]], [
6096
+ ], [, , "80(?:07(?:35|81)|8901)\\d{4}", , , , "8007354567"], [, , "(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}", , , , "9018105678"], [, , , , , , , , , [-1]], [, , "701511\\d{4}", , , , "7015115678"], [, , "56\\d{8}", , , , "5612345678"], "JE", 44, "00", "0", , , "([0-24-8]\\d{5})$|0|180020", "1534$1", , , , , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456"], , , [, , , , , , , , , [-1]], [
6088
6097
  ,
6089
6098
  ,
6090
6099
  "(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",
@@ -9388,7 +9397,9 @@ var intl_tel_input_default = intlTelInput;
9388
9397
  return a.s.toString();
9389
9398
  }
9390
9399
  ;
9391
- const yb = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9400
+ const yb = (a) => {
9401
+ a.includes("FIXED_LINE_OR_MOBILE") ? (a.includes("MOBILE") || a.push("MOBILE"), a.includes("FIXED_LINE") || a.push("FIXED_LINE")) : (a.includes("MOBILE") || a.includes("FIXED_LINE")) && a.push("FIXED_LINE_OR_MOBILE");
9402
+ }, zb = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9392
9403
  m("intlTelInputUtilsTemp", {});
9393
9404
  m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
9394
9405
  try {
@@ -9460,7 +9471,8 @@ var intl_tel_input_default = intlTelInput;
9460
9471
  try {
9461
9472
  const d = K.g(), e = Y(d, a, b), f = cb(d, e);
9462
9473
  if (c) {
9463
- const g = c.map((h) => yb[h]);
9474
+ yb(c);
9475
+ const g = c.map((h) => zb[h]);
9464
9476
  return f && g.includes($a(d, e));
9465
9477
  }
9466
9478
  return f;
@@ -9472,8 +9484,8 @@ var intl_tel_input_default = intlTelInput;
9472
9484
  try {
9473
9485
  const d = K.g(), e = Y(d, a, b);
9474
9486
  if (c) {
9475
- c.includes("FIXED_LINE_OR_MOBILE") && (c.includes("MOBILE") || c.push("MOBILE"), c.includes("FIXED_LINE") || c.push("FIXED_LINE"));
9476
- for (let f of c) if (0 === X(d, e, yb[f])) return true;
9487
+ yb(c);
9488
+ for (let f of c) if (0 === X(d, e, zb[f])) return true;
9477
9489
  return false;
9478
9490
  }
9479
9491
  return 0 === X(d, e, -1);
@@ -9489,11 +9501,12 @@ var intl_tel_input_default = intlTelInput;
9489
9501
  }
9490
9502
  });
9491
9503
  m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
9492
- m("intlTelInputUtilsTemp.numberType", yb);
9504
+ m("intlTelInputUtilsTemp.numberType", zb);
9493
9505
  m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9494
9506
  })();
9495
- var utils = window.intlTelInputUtilsTemp;
9496
- delete window.intlTelInputUtilsTemp;
9507
+ var globalContext = typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : void 0;
9508
+ var utils = globalContext.intlTelInputUtilsTemp;
9509
+ delete globalContext.intlTelInputUtilsTemp;
9497
9510
  var utils_default = utils;
9498
9511
 
9499
9512
  // src/js/intl-tel-input/intlTelInputWithUtils.ts
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.3.2/build/js/utils.js"`.
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.4.0/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.
@@ -1,4 +1,4 @@
1
- import { mergeModels as D, useModel as x, ref as L, onMounted as E, watch as M, onUnmounted as F, withDirectives as B, openBlock as V, createElementBlock as z, mergeProps as O, vModelText as R } from "vue";
1
+ import { mergeModels as D, useModel as x, ref as L, onMounted as E, watch as M, onUnmounted as F, withDirectives as B, createElementBlock as V, openBlock as R, mergeProps as z, vModelText as O } from "vue";
2
2
  const N = [
3
3
  [
4
4
  "af",
@@ -2117,7 +2117,7 @@ class G {
2117
2117
  _updateSearchResultsText() {
2118
2118
  const { i18n: t } = this.options, e = this.countryList.childElementCount;
2119
2119
  let i;
2120
- e === 0 ? i = t.zeroSearchResults : e === 1 ? i = t.oneSearchResult : i = t.multipleSearchResults.replace("${count}", e.toString()), this.searchResultsA11yText.textContent = i;
2120
+ "searchResultsText" in t ? i = t.searchResultsText(e) : e === 0 ? i = t.zeroSearchResults : e === 1 ? i = t.oneSearchResult : i = t.multipleSearchResults.replace("${count}", e.toString()), this.searchResultsA11yText.textContent = i;
2121
2121
  }
2122
2122
  //* Highlight the next/prev item in the list (and ensure it is visible).
2123
2123
  _handleUpDownKey(t) {
@@ -2386,6 +2386,7 @@ class G {
2386
2386
  //* Remove plugin.
2387
2387
  destroy() {
2388
2388
  var n, o;
2389
+ this.telInput.iti = void 0;
2389
2390
  const { allowDropdown: t, separateDialCode: e } = this.options;
2390
2391
  if (t) {
2391
2392
  this._closeDropdown(), this.selectedCountry.removeEventListener(
@@ -2511,7 +2512,7 @@ const W = (u) => {
2511
2512
  }, l = Object.assign(
2512
2513
  (u, t) => {
2513
2514
  const e = new G(u, t);
2514
- return e._init(), u.setAttribute("data-intl-tel-input-id", e.id.toString()), l.instances[e.id] = e, e;
2515
+ return e._init(), u.setAttribute("data-intl-tel-input-id", e.id.toString()), l.instances[e.id] = e, u.iti = e, e;
2515
2516
  },
2516
2517
  {
2517
2518
  defaults: T,
@@ -2529,7 +2530,7 @@ const W = (u) => {
2529
2530
  attachUtils: W,
2530
2531
  startedLoadingUtilsScript: !1,
2531
2532
  startedLoadingAutoCountry: !1,
2532
- version: "25.3.2"
2533
+ version: "25.4.0"
2533
2534
  }
2534
2535
  ), J = {
2535
2536
  __name: "IntlTelInput",
@@ -2588,7 +2589,7 @@ const W = (u) => {
2588
2589
  ), F(() => {
2589
2590
  var h;
2590
2591
  return (h = r.value) == null ? void 0 : h.destroy();
2591
- }), t({ instance: r, input: o }), (h, m) => B((V(), z("input", O({
2592
+ }), t({ instance: r, input: o }), (h, m) => B((R(), V("input", z({
2592
2593
  ref_key: "input",
2593
2594
  ref: o,
2594
2595
  "onUpdate:modelValue": m[0] || (m[0] = (b) => i.value = b),
@@ -2596,7 +2597,7 @@ const W = (u) => {
2596
2597
  onCountrychange: p,
2597
2598
  onInput: C
2598
2599
  }, u.inputProps), null, 16)), [
2599
- [R, i.value]
2600
+ [O, i.value]
2600
2601
  ]);
2601
2602
  }
2602
2603
  };