vue-tel-input 8.2.0 → 8.3.1
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/dist/vue-tel-input.js +172 -81
- package/dist/vue-tel-input.umd.cjs +1 -1
- package/package.json +2 -2
package/dist/vue-tel-input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveDirective as ke, openBlock as h, createElementBlock as p, normalizeClass as C, withDirectives as M, withKeys as I, createElementVNode as S, createCommentVNode as O, toDisplayString as _, renderSlot as
|
|
1
|
+
import { resolveDirective as ke, openBlock as h, createElementBlock as p, normalizeClass as C, withDirectives as M, withKeys as I, createElementVNode as S, createCommentVNode as O, toDisplayString as _, renderSlot as q, withModifiers as Be, vModelText as Ge, Fragment as je, renderList as Ue, vModelDynamic as He } from "vue";
|
|
2
2
|
const Ve = [
|
|
3
3
|
[
|
|
4
4
|
"Afghanistan (افغانستان)",
|
|
@@ -18,7 +18,9 @@ const Ve = [
|
|
|
18
18
|
[
|
|
19
19
|
"American Samoa",
|
|
20
20
|
"as",
|
|
21
|
-
"
|
|
21
|
+
"1",
|
|
22
|
+
5,
|
|
23
|
+
["684"]
|
|
22
24
|
],
|
|
23
25
|
[
|
|
24
26
|
"Andorra",
|
|
@@ -33,12 +35,16 @@ const Ve = [
|
|
|
33
35
|
[
|
|
34
36
|
"Anguilla",
|
|
35
37
|
"ai",
|
|
36
|
-
"
|
|
38
|
+
"1",
|
|
39
|
+
6,
|
|
40
|
+
["264"]
|
|
37
41
|
],
|
|
38
42
|
[
|
|
39
43
|
"Antigua and Barbuda",
|
|
40
44
|
"ag",
|
|
41
|
-
"
|
|
45
|
+
"1",
|
|
46
|
+
7,
|
|
47
|
+
["268"]
|
|
42
48
|
],
|
|
43
49
|
[
|
|
44
50
|
"Argentina",
|
|
@@ -55,10 +61,16 @@ const Ve = [
|
|
|
55
61
|
"aw",
|
|
56
62
|
"297"
|
|
57
63
|
],
|
|
64
|
+
[
|
|
65
|
+
"Ascension Island",
|
|
66
|
+
"ac",
|
|
67
|
+
"247"
|
|
68
|
+
],
|
|
58
69
|
[
|
|
59
70
|
"Australia",
|
|
60
71
|
"au",
|
|
61
|
-
"61"
|
|
72
|
+
"61",
|
|
73
|
+
0
|
|
62
74
|
],
|
|
63
75
|
[
|
|
64
76
|
"Austria (Österreich)",
|
|
@@ -73,7 +85,9 @@ const Ve = [
|
|
|
73
85
|
[
|
|
74
86
|
"Bahamas",
|
|
75
87
|
"bs",
|
|
76
|
-
"
|
|
88
|
+
"1",
|
|
89
|
+
8,
|
|
90
|
+
["242"]
|
|
77
91
|
],
|
|
78
92
|
[
|
|
79
93
|
"Bahrain (البحرين)",
|
|
@@ -88,7 +102,9 @@ const Ve = [
|
|
|
88
102
|
[
|
|
89
103
|
"Barbados",
|
|
90
104
|
"bb",
|
|
91
|
-
"
|
|
105
|
+
"1",
|
|
106
|
+
9,
|
|
107
|
+
["246"]
|
|
92
108
|
],
|
|
93
109
|
[
|
|
94
110
|
"Belarus (Беларусь)",
|
|
@@ -113,7 +129,9 @@ const Ve = [
|
|
|
113
129
|
[
|
|
114
130
|
"Bermuda",
|
|
115
131
|
"bm",
|
|
116
|
-
"
|
|
132
|
+
"1",
|
|
133
|
+
10,
|
|
134
|
+
["441"]
|
|
117
135
|
],
|
|
118
136
|
[
|
|
119
137
|
"Bhutan (འབྲུག)",
|
|
@@ -148,7 +166,9 @@ const Ve = [
|
|
|
148
166
|
[
|
|
149
167
|
"British Virgin Islands",
|
|
150
168
|
"vg",
|
|
151
|
-
"
|
|
169
|
+
"1",
|
|
170
|
+
11,
|
|
171
|
+
["284"]
|
|
152
172
|
],
|
|
153
173
|
[
|
|
154
174
|
"Brunei",
|
|
@@ -183,7 +203,9 @@ const Ve = [
|
|
|
183
203
|
[
|
|
184
204
|
"Canada",
|
|
185
205
|
"ca",
|
|
186
|
-
"1"
|
|
206
|
+
"1",
|
|
207
|
+
1,
|
|
208
|
+
["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]
|
|
187
209
|
],
|
|
188
210
|
[
|
|
189
211
|
"Cape Verde (Kabu Verdi)",
|
|
@@ -193,12 +215,16 @@ const Ve = [
|
|
|
193
215
|
[
|
|
194
216
|
"Caribbean Netherlands",
|
|
195
217
|
"bq",
|
|
196
|
-
"599"
|
|
218
|
+
"599",
|
|
219
|
+
1,
|
|
220
|
+
["3", "4", "7"]
|
|
197
221
|
],
|
|
198
222
|
[
|
|
199
223
|
"Cayman Islands",
|
|
200
224
|
"ky",
|
|
201
|
-
"
|
|
225
|
+
"1",
|
|
226
|
+
12,
|
|
227
|
+
["345"]
|
|
202
228
|
],
|
|
203
229
|
[
|
|
204
230
|
"Central African Republic (République centrafricaine)",
|
|
@@ -223,12 +249,16 @@ const Ve = [
|
|
|
223
249
|
[
|
|
224
250
|
"Christmas Island",
|
|
225
251
|
"cx",
|
|
226
|
-
"61"
|
|
252
|
+
"61",
|
|
253
|
+
2,
|
|
254
|
+
["89164"]
|
|
227
255
|
],
|
|
228
256
|
[
|
|
229
257
|
"Cocos (Keeling) Islands",
|
|
230
258
|
"cc",
|
|
231
|
-
"61"
|
|
259
|
+
"61",
|
|
260
|
+
1,
|
|
261
|
+
["89162"]
|
|
232
262
|
],
|
|
233
263
|
[
|
|
234
264
|
"Colombia",
|
|
@@ -241,7 +271,7 @@ const Ve = [
|
|
|
241
271
|
"269"
|
|
242
272
|
],
|
|
243
273
|
[
|
|
244
|
-
"Congo (DRC) (
|
|
274
|
+
"Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)",
|
|
245
275
|
"cd",
|
|
246
276
|
"243"
|
|
247
277
|
],
|
|
@@ -278,7 +308,8 @@ const Ve = [
|
|
|
278
308
|
[
|
|
279
309
|
"Curaçao",
|
|
280
310
|
"cw",
|
|
281
|
-
"599"
|
|
311
|
+
"599",
|
|
312
|
+
0
|
|
282
313
|
],
|
|
283
314
|
[
|
|
284
315
|
"Cyprus (Κύπρος)",
|
|
@@ -303,12 +334,16 @@ const Ve = [
|
|
|
303
334
|
[
|
|
304
335
|
"Dominica",
|
|
305
336
|
"dm",
|
|
306
|
-
"
|
|
337
|
+
"1",
|
|
338
|
+
13,
|
|
339
|
+
["767"]
|
|
307
340
|
],
|
|
308
341
|
[
|
|
309
342
|
"Dominican Republic (República Dominicana)",
|
|
310
343
|
"do",
|
|
311
|
-
"1"
|
|
344
|
+
"1",
|
|
345
|
+
2,
|
|
346
|
+
["809", "829", "849"]
|
|
312
347
|
],
|
|
313
348
|
[
|
|
314
349
|
"Ecuador",
|
|
@@ -340,6 +375,11 @@ const Ve = [
|
|
|
340
375
|
"ee",
|
|
341
376
|
"372"
|
|
342
377
|
],
|
|
378
|
+
[
|
|
379
|
+
"Eswatini",
|
|
380
|
+
"sz",
|
|
381
|
+
"268"
|
|
382
|
+
],
|
|
343
383
|
[
|
|
344
384
|
"Ethiopia",
|
|
345
385
|
"et",
|
|
@@ -363,7 +403,8 @@ const Ve = [
|
|
|
363
403
|
[
|
|
364
404
|
"Finland (Suomi)",
|
|
365
405
|
"fi",
|
|
366
|
-
"358"
|
|
406
|
+
"358",
|
|
407
|
+
0
|
|
367
408
|
],
|
|
368
409
|
[
|
|
369
410
|
"France",
|
|
@@ -423,17 +464,22 @@ const Ve = [
|
|
|
423
464
|
[
|
|
424
465
|
"Grenada",
|
|
425
466
|
"gd",
|
|
426
|
-
"
|
|
467
|
+
"1",
|
|
468
|
+
14,
|
|
469
|
+
["473"]
|
|
427
470
|
],
|
|
428
471
|
[
|
|
429
472
|
"Guadeloupe",
|
|
430
473
|
"gp",
|
|
431
|
-
"590"
|
|
474
|
+
"590",
|
|
475
|
+
0
|
|
432
476
|
],
|
|
433
477
|
[
|
|
434
478
|
"Guam",
|
|
435
479
|
"gu",
|
|
436
|
-
"
|
|
480
|
+
"1",
|
|
481
|
+
15,
|
|
482
|
+
["671"]
|
|
437
483
|
],
|
|
438
484
|
[
|
|
439
485
|
"Guatemala",
|
|
@@ -444,7 +490,8 @@ const Ve = [
|
|
|
444
490
|
"Guernsey",
|
|
445
491
|
"gg",
|
|
446
492
|
"44",
|
|
447
|
-
1
|
|
493
|
+
1,
|
|
494
|
+
["1481", "7781", "7839", "7911"]
|
|
448
495
|
],
|
|
449
496
|
[
|
|
450
497
|
"Guinea (Guinée)",
|
|
@@ -514,7 +561,9 @@ const Ve = [
|
|
|
514
561
|
[
|
|
515
562
|
"Isle of Man",
|
|
516
563
|
"im",
|
|
517
|
-
"44"
|
|
564
|
+
"44",
|
|
565
|
+
2,
|
|
566
|
+
["1624", "74576", "7524", "7924", "7624"]
|
|
518
567
|
],
|
|
519
568
|
[
|
|
520
569
|
"Israel (ישראל)",
|
|
@@ -524,12 +573,15 @@ const Ve = [
|
|
|
524
573
|
[
|
|
525
574
|
"Italy (Italia)",
|
|
526
575
|
"it",
|
|
527
|
-
"39"
|
|
576
|
+
"39",
|
|
577
|
+
0
|
|
528
578
|
],
|
|
529
579
|
[
|
|
530
580
|
"Jamaica",
|
|
531
581
|
"jm",
|
|
532
|
-
"
|
|
582
|
+
"1",
|
|
583
|
+
4,
|
|
584
|
+
["876", "658"]
|
|
533
585
|
],
|
|
534
586
|
[
|
|
535
587
|
"Japan (日本)",
|
|
@@ -539,7 +591,9 @@ const Ve = [
|
|
|
539
591
|
[
|
|
540
592
|
"Jersey",
|
|
541
593
|
"je",
|
|
542
|
-
"44"
|
|
594
|
+
"44",
|
|
595
|
+
3,
|
|
596
|
+
["1534", "7509", "7700", "7797", "7829", "7937"]
|
|
543
597
|
],
|
|
544
598
|
[
|
|
545
599
|
"Jordan (الأردن)",
|
|
@@ -549,7 +603,9 @@ const Ve = [
|
|
|
549
603
|
[
|
|
550
604
|
"Kazakhstan (Казахстан)",
|
|
551
605
|
"kz",
|
|
552
|
-
"7"
|
|
606
|
+
"7",
|
|
607
|
+
1,
|
|
608
|
+
["33", "7"]
|
|
553
609
|
],
|
|
554
610
|
[
|
|
555
611
|
"Kenya",
|
|
@@ -626,11 +682,6 @@ const Ve = [
|
|
|
626
682
|
"mo",
|
|
627
683
|
"853"
|
|
628
684
|
],
|
|
629
|
-
[
|
|
630
|
-
"Macedonia (FYROM) (Македонија)",
|
|
631
|
-
"mk",
|
|
632
|
-
"389"
|
|
633
|
-
],
|
|
634
685
|
[
|
|
635
686
|
"Madagascar (Madagasikara)",
|
|
636
687
|
"mg",
|
|
@@ -684,7 +735,9 @@ const Ve = [
|
|
|
684
735
|
[
|
|
685
736
|
"Mayotte",
|
|
686
737
|
"yt",
|
|
687
|
-
"262"
|
|
738
|
+
"262",
|
|
739
|
+
1,
|
|
740
|
+
["269", "639"]
|
|
688
741
|
],
|
|
689
742
|
[
|
|
690
743
|
"Mexico (México)",
|
|
@@ -719,12 +772,15 @@ const Ve = [
|
|
|
719
772
|
[
|
|
720
773
|
"Montserrat",
|
|
721
774
|
"ms",
|
|
722
|
-
"
|
|
775
|
+
"1",
|
|
776
|
+
16,
|
|
777
|
+
["664"]
|
|
723
778
|
],
|
|
724
779
|
[
|
|
725
780
|
"Morocco (المغرب)",
|
|
726
781
|
"ma",
|
|
727
|
-
"212"
|
|
782
|
+
"212",
|
|
783
|
+
0
|
|
728
784
|
],
|
|
729
785
|
[
|
|
730
786
|
"Mozambique (Moçambique)",
|
|
@@ -796,15 +852,23 @@ const Ve = [
|
|
|
796
852
|
"kp",
|
|
797
853
|
"850"
|
|
798
854
|
],
|
|
855
|
+
[
|
|
856
|
+
"North Macedonia (Северна Македонија)",
|
|
857
|
+
"mk",
|
|
858
|
+
"389"
|
|
859
|
+
],
|
|
799
860
|
[
|
|
800
861
|
"Northern Mariana Islands",
|
|
801
862
|
"mp",
|
|
802
|
-
"
|
|
863
|
+
"1",
|
|
864
|
+
17,
|
|
865
|
+
["670"]
|
|
803
866
|
],
|
|
804
867
|
[
|
|
805
868
|
"Norway (Norge)",
|
|
806
869
|
"no",
|
|
807
|
-
"47"
|
|
870
|
+
"47",
|
|
871
|
+
0
|
|
808
872
|
],
|
|
809
873
|
[
|
|
810
874
|
"Oman (عُمان)",
|
|
@@ -864,7 +928,9 @@ const Ve = [
|
|
|
864
928
|
[
|
|
865
929
|
"Puerto Rico",
|
|
866
930
|
"pr",
|
|
867
|
-
"1"
|
|
931
|
+
"1",
|
|
932
|
+
3,
|
|
933
|
+
["787", "939"]
|
|
868
934
|
],
|
|
869
935
|
[
|
|
870
936
|
"Qatar (قطر)",
|
|
@@ -874,7 +940,8 @@ const Ve = [
|
|
|
874
940
|
[
|
|
875
941
|
"Réunion (La Réunion)",
|
|
876
942
|
"re",
|
|
877
|
-
"262"
|
|
943
|
+
"262",
|
|
944
|
+
0
|
|
878
945
|
],
|
|
879
946
|
[
|
|
880
947
|
"Romania (România)",
|
|
@@ -884,7 +951,8 @@ const Ve = [
|
|
|
884
951
|
[
|
|
885
952
|
"Russia (Россия)",
|
|
886
953
|
"ru",
|
|
887
|
-
"7"
|
|
954
|
+
"7",
|
|
955
|
+
0
|
|
888
956
|
],
|
|
889
957
|
[
|
|
890
958
|
"Rwanda",
|
|
@@ -894,7 +962,8 @@ const Ve = [
|
|
|
894
962
|
[
|
|
895
963
|
"Saint Barthélemy",
|
|
896
964
|
"bl",
|
|
897
|
-
"590"
|
|
965
|
+
"590",
|
|
966
|
+
1
|
|
898
967
|
],
|
|
899
968
|
[
|
|
900
969
|
"Saint Helena",
|
|
@@ -904,17 +973,22 @@ const Ve = [
|
|
|
904
973
|
[
|
|
905
974
|
"Saint Kitts and Nevis",
|
|
906
975
|
"kn",
|
|
907
|
-
"
|
|
976
|
+
"1",
|
|
977
|
+
18,
|
|
978
|
+
["869"]
|
|
908
979
|
],
|
|
909
980
|
[
|
|
910
981
|
"Saint Lucia",
|
|
911
982
|
"lc",
|
|
912
|
-
"
|
|
983
|
+
"1",
|
|
984
|
+
19,
|
|
985
|
+
["758"]
|
|
913
986
|
],
|
|
914
987
|
[
|
|
915
988
|
"Saint Martin (Saint-Martin (partie française))",
|
|
916
989
|
"mf",
|
|
917
|
-
"590"
|
|
990
|
+
"590",
|
|
991
|
+
2
|
|
918
992
|
],
|
|
919
993
|
[
|
|
920
994
|
"Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)",
|
|
@@ -924,7 +998,9 @@ const Ve = [
|
|
|
924
998
|
[
|
|
925
999
|
"Saint Vincent and the Grenadines",
|
|
926
1000
|
"vc",
|
|
927
|
-
"
|
|
1001
|
+
"1",
|
|
1002
|
+
20,
|
|
1003
|
+
["784"]
|
|
928
1004
|
],
|
|
929
1005
|
[
|
|
930
1006
|
"Samoa",
|
|
@@ -974,7 +1050,9 @@ const Ve = [
|
|
|
974
1050
|
[
|
|
975
1051
|
"Sint Maarten",
|
|
976
1052
|
"sx",
|
|
977
|
-
"
|
|
1053
|
+
"1",
|
|
1054
|
+
21,
|
|
1055
|
+
["721"]
|
|
978
1056
|
],
|
|
979
1057
|
[
|
|
980
1058
|
"Slovakia (Slovensko)",
|
|
@@ -1034,12 +1112,9 @@ const Ve = [
|
|
|
1034
1112
|
[
|
|
1035
1113
|
"Svalbard and Jan Mayen",
|
|
1036
1114
|
"sj",
|
|
1037
|
-
"47"
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
"Swaziland",
|
|
1041
|
-
"sz",
|
|
1042
|
-
"268"
|
|
1115
|
+
"47",
|
|
1116
|
+
1,
|
|
1117
|
+
["79"]
|
|
1043
1118
|
],
|
|
1044
1119
|
[
|
|
1045
1120
|
"Sweden (Sverige)",
|
|
@@ -1099,7 +1174,9 @@ const Ve = [
|
|
|
1099
1174
|
[
|
|
1100
1175
|
"Trinidad and Tobago",
|
|
1101
1176
|
"tt",
|
|
1102
|
-
"
|
|
1177
|
+
"1",
|
|
1178
|
+
22,
|
|
1179
|
+
["868"]
|
|
1103
1180
|
],
|
|
1104
1181
|
[
|
|
1105
1182
|
"Tunisia (تونس)",
|
|
@@ -1119,7 +1196,9 @@ const Ve = [
|
|
|
1119
1196
|
[
|
|
1120
1197
|
"Turks and Caicos Islands",
|
|
1121
1198
|
"tc",
|
|
1122
|
-
"
|
|
1199
|
+
"1",
|
|
1200
|
+
23,
|
|
1201
|
+
["649"]
|
|
1123
1202
|
],
|
|
1124
1203
|
[
|
|
1125
1204
|
"Tuvalu",
|
|
@@ -1129,7 +1208,9 @@ const Ve = [
|
|
|
1129
1208
|
[
|
|
1130
1209
|
"U.S. Virgin Islands",
|
|
1131
1210
|
"vi",
|
|
1132
|
-
"
|
|
1211
|
+
"1",
|
|
1212
|
+
24,
|
|
1213
|
+
["340"]
|
|
1133
1214
|
],
|
|
1134
1215
|
[
|
|
1135
1216
|
"Uganda",
|
|
@@ -1149,12 +1230,14 @@ const Ve = [
|
|
|
1149
1230
|
[
|
|
1150
1231
|
"United Kingdom",
|
|
1151
1232
|
"gb",
|
|
1152
|
-
"44"
|
|
1233
|
+
"44",
|
|
1234
|
+
0
|
|
1153
1235
|
],
|
|
1154
1236
|
[
|
|
1155
1237
|
"United States",
|
|
1156
1238
|
"us",
|
|
1157
|
-
"1"
|
|
1239
|
+
"1",
|
|
1240
|
+
0
|
|
1158
1241
|
],
|
|
1159
1242
|
[
|
|
1160
1243
|
"Uruguay",
|
|
@@ -1174,7 +1257,9 @@ const Ve = [
|
|
|
1174
1257
|
[
|
|
1175
1258
|
"Vatican City (Città del Vaticano)",
|
|
1176
1259
|
"va",
|
|
1177
|
-
"39"
|
|
1260
|
+
"39",
|
|
1261
|
+
1,
|
|
1262
|
+
["06698"]
|
|
1178
1263
|
],
|
|
1179
1264
|
[
|
|
1180
1265
|
"Venezuela",
|
|
@@ -1194,7 +1279,9 @@ const Ve = [
|
|
|
1194
1279
|
[
|
|
1195
1280
|
"Western Sahara (الصحراء الغربية)",
|
|
1196
1281
|
"eh",
|
|
1197
|
-
"212"
|
|
1282
|
+
"212",
|
|
1283
|
+
1,
|
|
1284
|
+
["5288", "5289"]
|
|
1198
1285
|
],
|
|
1199
1286
|
[
|
|
1200
1287
|
"Yemen (اليمن)",
|
|
@@ -1214,12 +1301,16 @@ const Ve = [
|
|
|
1214
1301
|
[
|
|
1215
1302
|
"Åland Islands",
|
|
1216
1303
|
"ax",
|
|
1217
|
-
"358"
|
|
1304
|
+
"358",
|
|
1305
|
+
1,
|
|
1306
|
+
["18"]
|
|
1218
1307
|
]
|
|
1219
|
-
], Ke = Ve.map(([e, d, t]) => ({
|
|
1308
|
+
], Ke = Ve.map(([e, d, t, n = 0, r = null]) => ({
|
|
1220
1309
|
name: e,
|
|
1221
1310
|
iso2: d.toUpperCase(),
|
|
1222
|
-
dialCode: t
|
|
1311
|
+
dialCode: t,
|
|
1312
|
+
priority: n,
|
|
1313
|
+
areaCodes: r
|
|
1223
1314
|
}));
|
|
1224
1315
|
function We() {
|
|
1225
1316
|
return fetch("https://ip2c.org/s").then((e) => e.text()).then((e) => {
|
|
@@ -1510,10 +1601,10 @@ function Q(e, d) {
|
|
|
1510
1601
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
1511
1602
|
}
|
|
1512
1603
|
}
|
|
1513
|
-
function
|
|
1604
|
+
function Je(e, d, t) {
|
|
1514
1605
|
return d && Q(e.prototype, d), t && Q(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
1515
1606
|
}
|
|
1516
|
-
function
|
|
1607
|
+
function qe(e, d) {
|
|
1517
1608
|
if (!(e instanceof d))
|
|
1518
1609
|
throw new TypeError("Cannot call a class as a function");
|
|
1519
1610
|
}
|
|
@@ -1602,9 +1693,9 @@ var g = /* @__PURE__ */ function(e) {
|
|
|
1602
1693
|
var d = ed(t);
|
|
1603
1694
|
function t(n) {
|
|
1604
1695
|
var r;
|
|
1605
|
-
return
|
|
1696
|
+
return qe(this, t), r = d.call(this, n), Object.setPrototypeOf(Ee(r), t.prototype), r.name = r.constructor.name, r;
|
|
1606
1697
|
}
|
|
1607
|
-
return
|
|
1698
|
+
return Je(t);
|
|
1608
1699
|
}(/* @__PURE__ */ U(Error)), z = 2, nd = 17, rd = 3, f = "0-90-9٠-٩۰-۹", id = "-‐-―−ー-", $d = "//", ad = "..", od = " ", ud = "()()[]\\[\\]", sd = "~⁓∼~", x = "".concat(id).concat($d).concat(ad).concat(od).concat(ud).concat(sd), X = "++";
|
|
1609
1700
|
function ee(e, d) {
|
|
1610
1701
|
e = e.split("-"), d = d.split("-");
|
|
@@ -2350,7 +2441,7 @@ function ue(e, d) {
|
|
|
2350
2441
|
return n;
|
|
2351
2442
|
}
|
|
2352
2443
|
var jd = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
2353
|
-
function
|
|
2444
|
+
function J(e, d, t) {
|
|
2354
2445
|
if (d = d || {}, !(!e.country && !e.countryCallingCode)) {
|
|
2355
2446
|
t = new l(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
2356
2447
|
var n = d.v2 ? e.nationalNumber : e.phone;
|
|
@@ -2370,7 +2461,7 @@ function L(e, d, t) {
|
|
|
2370
2461
|
}
|
|
2371
2462
|
function Ud(e, d, t) {
|
|
2372
2463
|
if (d = d || {}, t = new l(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
|
|
2373
|
-
return
|
|
2464
|
+
return J(e, d, t.metadata) !== void 0;
|
|
2374
2465
|
var n = d.v2 ? e.nationalNumber : e.phone;
|
|
2375
2466
|
return m(n, t.nationalNumberPattern());
|
|
2376
2467
|
}
|
|
@@ -2425,11 +2516,11 @@ function Yd(e) {
|
|
|
2425
2516
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
2426
2517
|
return "tel:".concat(d).concat(t ? ";ext=" + t : "");
|
|
2427
2518
|
}
|
|
2428
|
-
function
|
|
2519
|
+
function Jd(e, d) {
|
|
2429
2520
|
var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2430
2521
|
if (t)
|
|
2431
2522
|
return (t = t.call(e)).next.bind(t);
|
|
2432
|
-
if (Array.isArray(e) || (t =
|
|
2523
|
+
if (Array.isArray(e) || (t = qd(e)) || d && e && typeof e.length == "number") {
|
|
2433
2524
|
t && (e = t);
|
|
2434
2525
|
var n = 0;
|
|
2435
2526
|
return function() {
|
|
@@ -2439,7 +2530,7 @@ function qd(e, d) {
|
|
|
2439
2530
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2440
2531
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2441
2532
|
}
|
|
2442
|
-
function
|
|
2533
|
+
function qd(e, d) {
|
|
2443
2534
|
if (e) {
|
|
2444
2535
|
if (typeof e == "string")
|
|
2445
2536
|
return se(e, d);
|
|
@@ -2526,7 +2617,7 @@ function A(e, d, t, n, r) {
|
|
|
2526
2617
|
}) : e;
|
|
2527
2618
|
}
|
|
2528
2619
|
function dt(e, d) {
|
|
2529
|
-
for (var t =
|
|
2620
|
+
for (var t = Jd(e), n; !(n = t()).done; ) {
|
|
2530
2621
|
var r = n.value;
|
|
2531
2622
|
if (r.leadingDigitsPatterns().length > 0) {
|
|
2532
2623
|
var i = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
|
|
@@ -2652,7 +2743,7 @@ var $t = /* @__PURE__ */ function() {
|
|
|
2652
2743
|
}, {
|
|
2653
2744
|
key: "getType",
|
|
2654
2745
|
value: function() {
|
|
2655
|
-
return
|
|
2746
|
+
return J(this, {
|
|
2656
2747
|
v2: !0
|
|
2657
2748
|
}, this.getMetadata());
|
|
2658
2749
|
}
|
|
@@ -2856,7 +2947,7 @@ function mt(e, d) {
|
|
|
2856
2947
|
if (r.country(o), r.leadingDigits()) {
|
|
2857
2948
|
if (e && e.search(r.leadingDigits()) === 0)
|
|
2858
2949
|
return o;
|
|
2859
|
-
} else if (
|
|
2950
|
+
} else if (J({
|
|
2860
2951
|
phone: e,
|
|
2861
2952
|
country: o
|
|
2862
2953
|
}, void 0, r.metadata))
|
|
@@ -3155,17 +3246,17 @@ function Ie(e) {
|
|
|
3155
3246
|
for (var d = 1; d < arguments.length; d++) {
|
|
3156
3247
|
var t = arguments[d] != null ? arguments[d] : {};
|
|
3157
3248
|
d % 2 ? Ne(Object(t), !0).forEach(function(n) {
|
|
3158
|
-
|
|
3249
|
+
Jt(e, n, t[n]);
|
|
3159
3250
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ne(Object(t)).forEach(function(n) {
|
|
3160
3251
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
3161
3252
|
});
|
|
3162
3253
|
}
|
|
3163
3254
|
return e;
|
|
3164
3255
|
}
|
|
3165
|
-
function
|
|
3256
|
+
function Jt(e, d, t) {
|
|
3166
3257
|
return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
|
|
3167
3258
|
}
|
|
3168
|
-
function
|
|
3259
|
+
function qt(e, d, t) {
|
|
3169
3260
|
d && d.defaultCountry && !bd(d.defaultCountry, t) && (d = Ie(Ie({}, d), {}, {
|
|
3170
3261
|
defaultCountry: void 0
|
|
3171
3262
|
}));
|
|
@@ -3178,7 +3269,7 @@ function Jt(e, d, t) {
|
|
|
3178
3269
|
}
|
|
3179
3270
|
function Qt() {
|
|
3180
3271
|
var e = Yt(arguments), d = e.text, t = e.options, n = e.metadata;
|
|
3181
|
-
return
|
|
3272
|
+
return qt(d, t, n);
|
|
3182
3273
|
}
|
|
3183
3274
|
function B() {
|
|
3184
3275
|
return Ye(Qt, arguments);
|
|
@@ -3552,7 +3643,7 @@ function l0(e, d, t, n, r, i) {
|
|
|
3552
3643
|
class: C(["vti__flag", r.activeCountryCode.toLowerCase()])
|
|
3553
3644
|
}, null, 2)) : O("", !0),
|
|
3554
3645
|
t.dropdownOptions.showDialCodeInSelection ? (h(), p("span", i0, " +" + _(i.activeCountry && i.activeCountry.dialCode), 1)) : O("", !0),
|
|
3555
|
-
|
|
3646
|
+
q(e.$slots, "arrow-icon", { open: r.open }, () => [
|
|
3556
3647
|
S("span", $0, _(r.open ? "▲" : "▼"), 1)
|
|
3557
3648
|
])
|
|
3558
3649
|
]),
|
|
@@ -3621,7 +3712,7 @@ function l0(e, d, t, n, r, i) {
|
|
|
3621
3712
|
}, null, 42, s0), [
|
|
3622
3713
|
[He, r.phone]
|
|
3623
3714
|
]),
|
|
3624
|
-
|
|
3715
|
+
q(e.$slots, "icon-right")
|
|
3625
3716
|
], 2);
|
|
3626
3717
|
}
|
|
3627
3718
|
const c0 = /* @__PURE__ */ d0(t0, [["render", l0]]), h0 = {
|