ngx-mat-input-tel 21.4.2 → 21.4.3
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/.angulardoc.json +4 -0
- package/.editorconfig +13 -0
- package/.github/FUNDING.yml +13 -0
- package/.github/instructions/copilot-instructions.md +58 -0
- package/.github/workflows/ci.yml +27 -0
- package/.github/workflows/publish.yml +41 -0
- package/.github/workflows/test.yml +39 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +1 -0
- package/.prettierrc +15 -0
- package/angular.json +165 -0
- package/commitlint.config.ts +3 -0
- package/eslint.config.js +43 -0
- package/example-1.png +0 -0
- package/package.json +83 -55
- package/pnpm-workspace.yaml +18 -0
- package/projects/demo/eslint.config.js +3 -0
- package/projects/demo/karma.conf.js +31 -0
- package/projects/demo/src/app/app.html +123 -0
- package/projects/demo/src/app/app.scss +16 -0
- package/projects/demo/src/app/app.spec.ts +35 -0
- package/projects/demo/src/app/app.ts +100 -0
- package/projects/demo/src/app/dialog/dialog.html +12 -0
- package/projects/demo/src/app/dialog/dialog.ts +31 -0
- package/projects/demo/src/environments/environment.prod.ts +3 -0
- package/projects/demo/src/environments/environment.ts +3 -0
- package/projects/demo/src/favicon.ico +0 -0
- package/projects/demo/src/index.html +21 -0
- package/projects/demo/src/main.ts +16 -0
- package/projects/demo/src/styles.scss +32 -0
- package/projects/demo/tsconfig.app.json +9 -0
- package/projects/demo/tsconfig.spec.json +9 -0
- package/projects/ngx-mat-input-tel/eslint.config.js +3 -0
- package/projects/ngx-mat-input-tel/karma.conf.js +31 -0
- package/projects/ngx-mat-input-tel/ng-package.json +8 -0
- package/projects/ngx-mat-input-tel/package.json +46 -0
- package/projects/ngx-mat-input-tel/src/lib/assets/arrow_drop_down_grey600_18dp.png +0 -0
- package/projects/ngx-mat-input-tel/src/lib/assets/flags_sprite_2x.png +0 -0
- package/projects/ngx-mat-input-tel/src/lib/data/country-code.const.ts +792 -0
- package/projects/ngx-mat-input-tel/src/lib/model/country.model.ts +12 -0
- package/projects/ngx-mat-input-tel/src/lib/model/phone-number-format.model.ts +1 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.html +82 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.scss +91 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.ts +128 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-flag/ngx-mat-input-tel-flag.scss +319 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-flag/ngx-mat-input-tel-flag.ts +72 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.html +42 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.scss +122 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.spec.ts +318 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.ts +625 -0
- package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.validator.ts +35 -0
- package/projects/ngx-mat-input-tel/src/lib/remove-iso.pipe.ts +13 -0
- package/projects/ngx-mat-input-tel/src/public-api.ts +7 -0
- package/projects/ngx-mat-input-tel/src/test.ts +10 -0
- package/projects/ngx-mat-input-tel/tsconfig.lib.json +19 -0
- package/projects/ngx-mat-input-tel/tsconfig.lib.prod.json +9 -0
- package/projects/ngx-mat-input-tel/tsconfig.spec.json +8 -0
- package/tsconfig.json +28 -0
- package/fesm2022/ngx-mat-input-tel.mjs +0 -1603
- package/fesm2022/ngx-mat-input-tel.mjs.map +0 -1
- package/types/ngx-mat-input-tel.d.ts +0 -162
|
@@ -0,0 +1,792 @@
|
|
|
1
|
+
export const COUNTRIES_NAME: Record<string, string> = {
|
|
2
|
+
AF: "Afghanistan (افغانستان)",
|
|
3
|
+
AL: "Albania (Shqipëri)",
|
|
4
|
+
DZ: "Algeria (الجزائر)",
|
|
5
|
+
AS: "American Samoa",
|
|
6
|
+
AD: "Andorra",
|
|
7
|
+
AO: "Angola",
|
|
8
|
+
AI: "Anguilla",
|
|
9
|
+
AG: "Antigua and Barbuda",
|
|
10
|
+
AR: "Argentina",
|
|
11
|
+
AM: "Armenia (Հայաստան)",
|
|
12
|
+
AW: "Aruba",
|
|
13
|
+
AU: "Australia",
|
|
14
|
+
AT: "Austria (Österreich)",
|
|
15
|
+
AZ: "Azerbaijan (Azərbaycan)",
|
|
16
|
+
BS: "Bahamas",
|
|
17
|
+
BH: "Bahrain (البحرين)",
|
|
18
|
+
BD: "Bangladesh (বাংলাদেশ)",
|
|
19
|
+
BB: "Barbados",
|
|
20
|
+
BY: "Belarus (Беларусь)",
|
|
21
|
+
BE: "Belgium (België)",
|
|
22
|
+
BZ: "Belize",
|
|
23
|
+
BJ: "Benin (Bénin)",
|
|
24
|
+
BM: "Bermuda",
|
|
25
|
+
BT: "Bhutan (འབྲུག)",
|
|
26
|
+
BO: "Bolivia",
|
|
27
|
+
BA: "Bosnia and Herzegovina (Босна и Херцеговина)",
|
|
28
|
+
BW: "Botswana",
|
|
29
|
+
BR: "Brazil (Brasil)",
|
|
30
|
+
IO: "British Indian Ocean Territory",
|
|
31
|
+
VG: "British Virgin Islands",
|
|
32
|
+
BN: "Brunei",
|
|
33
|
+
BG: "Bulgaria (България)",
|
|
34
|
+
BF: "Burkina Faso",
|
|
35
|
+
BI: "Burundi (Uburundi)",
|
|
36
|
+
KH: "Cambodia (កម្ពុជា)",
|
|
37
|
+
CM: "Cameroon (Cameroun)",
|
|
38
|
+
CA: "Canada",
|
|
39
|
+
CV: "Cape Verde (Kabu Verdi)",
|
|
40
|
+
BQ: "Caribbean Netherlands",
|
|
41
|
+
KY: "Cayman Islands",
|
|
42
|
+
CF: "Central African Republic (République centrafricaine)",
|
|
43
|
+
TD: "Chad (Tchad)",
|
|
44
|
+
CL: "Chile",
|
|
45
|
+
CN: "China (中国)",
|
|
46
|
+
CX: "Christmas Island",
|
|
47
|
+
CC: "Cocos (Keeling) Islands",
|
|
48
|
+
CO: "Colombia",
|
|
49
|
+
KM: "Comoros (جزر القمر)",
|
|
50
|
+
CD: "Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)",
|
|
51
|
+
CG: "Congo (Republic) (Congo-Brazzaville)",
|
|
52
|
+
CK: "Cook Islands",
|
|
53
|
+
CR: "Costa Rica",
|
|
54
|
+
CI: "Côte d’Ivoire",
|
|
55
|
+
HR: "Croatia (Hrvatska)",
|
|
56
|
+
CU: "Cuba",
|
|
57
|
+
CW: "Curaçao",
|
|
58
|
+
CY: "Cyprus (Κύπρος)",
|
|
59
|
+
CZ: "Czech Republic (Česká republika)",
|
|
60
|
+
DK: "Denmark (Danmark)",
|
|
61
|
+
DJ: "Djibouti",
|
|
62
|
+
DM: "Dominica",
|
|
63
|
+
DO: "Dominican Republic (República Dominicana)",
|
|
64
|
+
EC: "Ecuador",
|
|
65
|
+
EG: "Egypt (مصر)",
|
|
66
|
+
SV: "El Salvador",
|
|
67
|
+
GQ: "Equatorial Guinea (Guinea Ecuatorial)",
|
|
68
|
+
ER: "Eritrea",
|
|
69
|
+
EE: "Estonia (Eesti)",
|
|
70
|
+
ET: "Ethiopia",
|
|
71
|
+
FK: "Falkland Islands (Islas Malvinas)",
|
|
72
|
+
FO: "Faroe Islands (Føroyar)",
|
|
73
|
+
FJ: "Fiji",
|
|
74
|
+
FI: "Finland (Suomi)",
|
|
75
|
+
FR: "France",
|
|
76
|
+
GF: "French Guiana (Guyane française)",
|
|
77
|
+
PF: "French Polynesia (Polynésie française)",
|
|
78
|
+
GA: "Gabon",
|
|
79
|
+
GM: "Gambia",
|
|
80
|
+
GE: "Georgia (საქართველო)",
|
|
81
|
+
DE: "Germany (Deutschland)",
|
|
82
|
+
GH: "Ghana (Gaana)",
|
|
83
|
+
GI: "Gibraltar",
|
|
84
|
+
GR: "Greece (Ελλάδα)",
|
|
85
|
+
GL: "Greenland (Kalaallit Nunaat)",
|
|
86
|
+
GD: "Grenada",
|
|
87
|
+
GP: "Guadeloupe",
|
|
88
|
+
GU: "Guam",
|
|
89
|
+
GT: "Guatemala",
|
|
90
|
+
GG: "Guernsey",
|
|
91
|
+
GN: "Guinea (Guinée)",
|
|
92
|
+
GW: "Guinea-Bissau (Guiné Bissau)",
|
|
93
|
+
GY: "Guyana",
|
|
94
|
+
HT: "Haiti",
|
|
95
|
+
HN: "Honduras",
|
|
96
|
+
HK: "Hong Kong (香港)",
|
|
97
|
+
HU: "Hungary (Magyarország)",
|
|
98
|
+
IS: "Iceland (Ísland)",
|
|
99
|
+
IN: "India (भारत)",
|
|
100
|
+
ID: "Indonesia",
|
|
101
|
+
IR: "Iran (ایران)",
|
|
102
|
+
IQ: "Iraq (العراق)",
|
|
103
|
+
IE: "Ireland",
|
|
104
|
+
IM: "Isle of Man",
|
|
105
|
+
IL: "Israel (ישראל)",
|
|
106
|
+
IT: "Italy (Italia)",
|
|
107
|
+
JM: "Jamaica",
|
|
108
|
+
JP: "Japan (日本)",
|
|
109
|
+
JE: "Jersey",
|
|
110
|
+
JO: "Jordan (الأردن)",
|
|
111
|
+
KZ: "Kazakhstan (Казахстан)",
|
|
112
|
+
KE: "Kenya",
|
|
113
|
+
KI: "Kiribati",
|
|
114
|
+
XK: "Kosovo",
|
|
115
|
+
KW: "Kuwait (الكويت)",
|
|
116
|
+
KG: "Kyrgyzstan (Кыргызстан)",
|
|
117
|
+
LA: "Laos (ລາວ)",
|
|
118
|
+
LV: "Latvia (Latvija)",
|
|
119
|
+
LB: "Lebanon (لبنان)",
|
|
120
|
+
LS: "Lesotho",
|
|
121
|
+
LR: "Liberia",
|
|
122
|
+
LY: "Libya (ليبيا)",
|
|
123
|
+
LI: "Liechtenstein",
|
|
124
|
+
LT: "Lithuania (Lietuva)",
|
|
125
|
+
LU: "Luxembourg",
|
|
126
|
+
MO: "Macau (澳門)",
|
|
127
|
+
MK: "Macedonia (FYROM) (Македонија)",
|
|
128
|
+
MG: "Madagascar (Madagasikara)",
|
|
129
|
+
MW: "Malawi",
|
|
130
|
+
MY: "Malaysia",
|
|
131
|
+
MV: "Maldives",
|
|
132
|
+
ML: "Mali",
|
|
133
|
+
MT: "Malta",
|
|
134
|
+
MH: "Marshall Islands",
|
|
135
|
+
MQ: "Martinique",
|
|
136
|
+
MR: "Mauritania (موريتانيا)",
|
|
137
|
+
MU: "Mauritius (Moris)",
|
|
138
|
+
YT: "Mayotte",
|
|
139
|
+
MX: "Mexico (México)",
|
|
140
|
+
FM: "Micronesia",
|
|
141
|
+
MD: "Moldova (Republica Moldova)",
|
|
142
|
+
MC: "Monaco",
|
|
143
|
+
MN: "Mongolia (Монгол)",
|
|
144
|
+
ME: "Montenegro (Crna Gora)",
|
|
145
|
+
MS: "Montserrat",
|
|
146
|
+
MA: "Morocco (المغرب)",
|
|
147
|
+
MZ: "Mozambique (Moçambique)",
|
|
148
|
+
MM: "Myanmar (Burma) (မြန်မာ)",
|
|
149
|
+
NA: "Namibia (Namibië)",
|
|
150
|
+
NR: "Nauru",
|
|
151
|
+
NP: "Nepal (नेपाल)",
|
|
152
|
+
NL: "Netherlands (Nederland)",
|
|
153
|
+
NC: "New Caledonia (Nouvelle-Calédonie)",
|
|
154
|
+
NZ: "New Zealand",
|
|
155
|
+
NI: "Nicaragua",
|
|
156
|
+
NE: "Niger (Nijar)",
|
|
157
|
+
NG: "Nigeria",
|
|
158
|
+
NU: "Niue",
|
|
159
|
+
NF: "Norfolk Island",
|
|
160
|
+
KP: "North Korea (조선 민주주의 인민 공화국)",
|
|
161
|
+
MP: "Northern Mariana Islands",
|
|
162
|
+
NO: "Norway (Norge)",
|
|
163
|
+
OM: "Oman (عُمان)",
|
|
164
|
+
PK: "Pakistan (پاکستان)",
|
|
165
|
+
PW: "Palau",
|
|
166
|
+
PS: "Palestine (فلسطين)",
|
|
167
|
+
PA: "Panama (Panamá)",
|
|
168
|
+
PG: "Papua New Guinea",
|
|
169
|
+
PY: "Paraguay",
|
|
170
|
+
PE: "Peru (Perú)",
|
|
171
|
+
PH: "Philippines",
|
|
172
|
+
PL: "Poland (Polska)",
|
|
173
|
+
PT: "Portugal",
|
|
174
|
+
PR: "Puerto Rico",
|
|
175
|
+
QA: "Qatar (قطر)",
|
|
176
|
+
RE: "Réunion (La Réunion)",
|
|
177
|
+
RO: "Romania (România)",
|
|
178
|
+
RU: "Russia (Россия)",
|
|
179
|
+
RW: "Rwanda",
|
|
180
|
+
BL: "Saint Barthélemy",
|
|
181
|
+
SH: "Saint Helena",
|
|
182
|
+
KN: "Saint Kitts and Nevis",
|
|
183
|
+
LC: "Saint Lucia",
|
|
184
|
+
MF: "Saint Martin (Saint-Martin (partie française))",
|
|
185
|
+
PM: "Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)",
|
|
186
|
+
VC: "Saint Vincent and the Grenadines",
|
|
187
|
+
WS: "Samoa",
|
|
188
|
+
SM: "San Marino",
|
|
189
|
+
ST: "São Tomé and Príncipe (São Tomé e Príncipe)",
|
|
190
|
+
SA: "Saudi Arabia (المملكة العربية السعودية)",
|
|
191
|
+
SN: "Senegal (Sénégal)",
|
|
192
|
+
RS: "Serbia (Србија)",
|
|
193
|
+
SC: "Seychelles",
|
|
194
|
+
SL: "Sierra Leone",
|
|
195
|
+
SG: "Singapore",
|
|
196
|
+
SX: "Sint Maarten",
|
|
197
|
+
SK: "Slovakia (Slovensko)",
|
|
198
|
+
SI: "Slovenia (Slovenija)",
|
|
199
|
+
SB: "Solomon Islands",
|
|
200
|
+
SO: "Somalia (Soomaaliya)",
|
|
201
|
+
ZA: "South Africa",
|
|
202
|
+
KR: "South Korea (대한민국)",
|
|
203
|
+
SS: "South Sudan (جنوب السودان)",
|
|
204
|
+
ES: "Spain (España)",
|
|
205
|
+
LK: "Sri Lanka (ශ්රී ලංකාව)",
|
|
206
|
+
SD: "Sudan (السودان)",
|
|
207
|
+
SR: "Suriname",
|
|
208
|
+
SJ: "Svalbard and Jan Mayen",
|
|
209
|
+
SZ: "Swaziland",
|
|
210
|
+
SE: "Sweden (Sverige)",
|
|
211
|
+
CH: "Switzerland (Schweiz)",
|
|
212
|
+
SY: "Syria (سوريا)",
|
|
213
|
+
TW: "Taiwan (台灣)",
|
|
214
|
+
TJ: "Tajikistan",
|
|
215
|
+
TZ: "Tanzania",
|
|
216
|
+
TH: "Thailand (ไทย)",
|
|
217
|
+
TL: "Timor-Leste",
|
|
218
|
+
TG: "Togo",
|
|
219
|
+
TK: "Tokelau",
|
|
220
|
+
TO: "Tonga",
|
|
221
|
+
TT: "Trinidad and Tobago",
|
|
222
|
+
TN: "Tunisia (تونس)",
|
|
223
|
+
TR: "Turkey (Türkiye)",
|
|
224
|
+
TM: "Turkmenistan",
|
|
225
|
+
TC: "Turks and Caicos Islands",
|
|
226
|
+
TV: "Tuvalu",
|
|
227
|
+
VI: "U.S. Virgin Islands",
|
|
228
|
+
UG: "Uganda",
|
|
229
|
+
UA: "Ukraine (Україна)",
|
|
230
|
+
AE: "United Arab Emirates (الإمارات العربية المتحدة)",
|
|
231
|
+
GB: "United Kingdom",
|
|
232
|
+
US: "United States",
|
|
233
|
+
UY: "Uruguay",
|
|
234
|
+
UZ: "Uzbekistan (Oʻzbekiston)",
|
|
235
|
+
VU: "Vanuatu",
|
|
236
|
+
VA: "Vatican City (Città del Vaticano)",
|
|
237
|
+
VE: "Venezuela",
|
|
238
|
+
VN: "Vietnam (Việt Nam)",
|
|
239
|
+
WF: "Wallis and Futuna (Wallis-et-Futuna)",
|
|
240
|
+
EH: "Western Sahara (الصحراء الغربية)",
|
|
241
|
+
YE: "Yemen (اليمن)",
|
|
242
|
+
ZM: "Zambia",
|
|
243
|
+
ZW: "Zimbabwe",
|
|
244
|
+
AX: "Åland Islands",
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export const COUNTRIES_CODE: Record<
|
|
248
|
+
string,
|
|
249
|
+
[string] | [string, number] | [string, number, string[]]
|
|
250
|
+
> = {
|
|
251
|
+
// 'iso2': 'dialCode', 'priority', 'areaCodes'
|
|
252
|
+
AF: ["93"],
|
|
253
|
+
AL: ["355"],
|
|
254
|
+
DZ: ["213"],
|
|
255
|
+
AS: ["1", 4, ["684"]],
|
|
256
|
+
AD: ["376"],
|
|
257
|
+
AO: ["244"],
|
|
258
|
+
AI: ["1", 4, ["264"]],
|
|
259
|
+
AG: ["1", 4, ["268"]],
|
|
260
|
+
AR: ["54"],
|
|
261
|
+
AM: ["374"],
|
|
262
|
+
AW: ["297"],
|
|
263
|
+
AU: ["61", 0],
|
|
264
|
+
AT: ["43"],
|
|
265
|
+
AZ: ["994"],
|
|
266
|
+
BS: ["1", 4, ["242"]],
|
|
267
|
+
BH: ["973"],
|
|
268
|
+
BD: ["880"],
|
|
269
|
+
BB: ["1", 4, ["246"]],
|
|
270
|
+
BY: ["375"],
|
|
271
|
+
BE: ["32"],
|
|
272
|
+
BZ: ["501"],
|
|
273
|
+
BJ: ["229"],
|
|
274
|
+
BM: ["1", 4, ["441"]],
|
|
275
|
+
BT: ["975"],
|
|
276
|
+
BO: ["591"],
|
|
277
|
+
BA: ["387"],
|
|
278
|
+
BW: ["267"],
|
|
279
|
+
BR: ["55"],
|
|
280
|
+
IO: ["246"],
|
|
281
|
+
VG: ["1", 4, ["284"]],
|
|
282
|
+
BN: ["673"],
|
|
283
|
+
BG: ["359"],
|
|
284
|
+
BF: ["226"],
|
|
285
|
+
BI: ["257"],
|
|
286
|
+
KH: ["855"],
|
|
287
|
+
CM: ["237"],
|
|
288
|
+
CA: [
|
|
289
|
+
"1",
|
|
290
|
+
1,
|
|
291
|
+
[
|
|
292
|
+
"204",
|
|
293
|
+
"226",
|
|
294
|
+
"236",
|
|
295
|
+
"249",
|
|
296
|
+
"250",
|
|
297
|
+
"289",
|
|
298
|
+
"306",
|
|
299
|
+
"343",
|
|
300
|
+
"365",
|
|
301
|
+
"387",
|
|
302
|
+
"403",
|
|
303
|
+
"416",
|
|
304
|
+
"418",
|
|
305
|
+
"431",
|
|
306
|
+
"437",
|
|
307
|
+
"438",
|
|
308
|
+
"450",
|
|
309
|
+
"506",
|
|
310
|
+
"514",
|
|
311
|
+
"519",
|
|
312
|
+
"548",
|
|
313
|
+
"579",
|
|
314
|
+
"581",
|
|
315
|
+
"587",
|
|
316
|
+
"604",
|
|
317
|
+
"613",
|
|
318
|
+
"639",
|
|
319
|
+
"647",
|
|
320
|
+
"672",
|
|
321
|
+
"705",
|
|
322
|
+
"709",
|
|
323
|
+
"742",
|
|
324
|
+
"778",
|
|
325
|
+
"780",
|
|
326
|
+
"782",
|
|
327
|
+
"807",
|
|
328
|
+
"819",
|
|
329
|
+
"825",
|
|
330
|
+
"867",
|
|
331
|
+
"873",
|
|
332
|
+
"902",
|
|
333
|
+
"905",
|
|
334
|
+
],
|
|
335
|
+
],
|
|
336
|
+
CV: ["238"],
|
|
337
|
+
BQ: ["599", 1],
|
|
338
|
+
KY: ["1", 4, ["345"]],
|
|
339
|
+
CF: ["236"],
|
|
340
|
+
TD: ["235"],
|
|
341
|
+
CL: ["56"],
|
|
342
|
+
CN: ["86"],
|
|
343
|
+
CX: ["61", 2],
|
|
344
|
+
CC: ["61", 1],
|
|
345
|
+
CO: ["57"],
|
|
346
|
+
KM: ["269"],
|
|
347
|
+
CD: ["243"],
|
|
348
|
+
CG: ["242"],
|
|
349
|
+
CK: ["682"],
|
|
350
|
+
CR: ["506"],
|
|
351
|
+
CI: ["225"],
|
|
352
|
+
HR: ["385"],
|
|
353
|
+
CU: ["53"],
|
|
354
|
+
CW: ["599", 0],
|
|
355
|
+
CY: ["357"],
|
|
356
|
+
CZ: ["420"],
|
|
357
|
+
DK: ["45"],
|
|
358
|
+
DJ: ["253"],
|
|
359
|
+
DM: ["1", 4, ["767"]],
|
|
360
|
+
DO: ["1", 2, ["809", "829", "849"]],
|
|
361
|
+
EC: ["593"],
|
|
362
|
+
EG: ["20"],
|
|
363
|
+
SV: ["503"],
|
|
364
|
+
GQ: ["240"],
|
|
365
|
+
ER: ["291"],
|
|
366
|
+
EE: ["372"],
|
|
367
|
+
ET: ["251"],
|
|
368
|
+
FK: ["500"],
|
|
369
|
+
FO: ["298"],
|
|
370
|
+
FJ: ["679"],
|
|
371
|
+
FI: ["358", 0],
|
|
372
|
+
FR: ["33"],
|
|
373
|
+
GF: ["594"],
|
|
374
|
+
PF: ["689"],
|
|
375
|
+
GA: ["241"],
|
|
376
|
+
GM: ["220"],
|
|
377
|
+
GE: ["995"],
|
|
378
|
+
DE: ["49"],
|
|
379
|
+
GH: ["233"],
|
|
380
|
+
GI: ["350"],
|
|
381
|
+
GR: ["30"],
|
|
382
|
+
GL: ["299"],
|
|
383
|
+
GD: ["1", 4, ["473"]],
|
|
384
|
+
GP: ["590", 0],
|
|
385
|
+
GU: ["1", 4, ["671"]],
|
|
386
|
+
GT: ["502"],
|
|
387
|
+
GG: ["44", 1],
|
|
388
|
+
GN: ["224"],
|
|
389
|
+
GW: ["245"],
|
|
390
|
+
GY: ["592"],
|
|
391
|
+
HT: ["509"],
|
|
392
|
+
HN: ["504"],
|
|
393
|
+
HK: ["852"],
|
|
394
|
+
HU: ["36"],
|
|
395
|
+
IS: ["354"],
|
|
396
|
+
IN: ["91"],
|
|
397
|
+
ID: ["62"],
|
|
398
|
+
IR: ["98"],
|
|
399
|
+
IQ: ["964"],
|
|
400
|
+
IE: ["353"],
|
|
401
|
+
IM: ["44", 2],
|
|
402
|
+
IL: ["972"],
|
|
403
|
+
IT: ["39", 0],
|
|
404
|
+
JM: ["1", 4, ["876", "658"]],
|
|
405
|
+
JP: ["81"],
|
|
406
|
+
JE: ["44", 3],
|
|
407
|
+
JO: ["962"],
|
|
408
|
+
KZ: ["7", 1],
|
|
409
|
+
KE: ["254"],
|
|
410
|
+
KI: ["686"],
|
|
411
|
+
XK: ["383"],
|
|
412
|
+
KW: ["965"],
|
|
413
|
+
KG: ["996"],
|
|
414
|
+
LA: ["856"],
|
|
415
|
+
LV: ["371"],
|
|
416
|
+
LB: ["961"],
|
|
417
|
+
LS: ["266"],
|
|
418
|
+
LR: ["231"],
|
|
419
|
+
LY: ["218"],
|
|
420
|
+
LI: ["423"],
|
|
421
|
+
LT: ["370"],
|
|
422
|
+
LU: ["352"],
|
|
423
|
+
MO: ["853"],
|
|
424
|
+
MK: ["389"],
|
|
425
|
+
MG: ["261"],
|
|
426
|
+
MW: ["265"],
|
|
427
|
+
MY: ["60"],
|
|
428
|
+
MV: ["960"],
|
|
429
|
+
ML: ["223"],
|
|
430
|
+
MT: ["356"],
|
|
431
|
+
MH: ["692"],
|
|
432
|
+
MQ: ["596"],
|
|
433
|
+
MR: ["222"],
|
|
434
|
+
MU: ["230"],
|
|
435
|
+
YT: ["262", 1],
|
|
436
|
+
MX: ["52"],
|
|
437
|
+
FM: ["691"],
|
|
438
|
+
MD: ["373"],
|
|
439
|
+
MC: ["377"],
|
|
440
|
+
MN: ["976"],
|
|
441
|
+
ME: ["382"],
|
|
442
|
+
MS: ["1664"],
|
|
443
|
+
MA: ["212", 0],
|
|
444
|
+
MZ: ["258"],
|
|
445
|
+
MM: ["95"],
|
|
446
|
+
NA: ["264"],
|
|
447
|
+
NR: ["674"],
|
|
448
|
+
NP: ["977"],
|
|
449
|
+
NL: ["31"],
|
|
450
|
+
NC: ["687"],
|
|
451
|
+
NZ: ["64"],
|
|
452
|
+
NI: ["505"],
|
|
453
|
+
NE: ["227"],
|
|
454
|
+
NG: ["234"],
|
|
455
|
+
NU: ["683"],
|
|
456
|
+
NF: ["672"],
|
|
457
|
+
KP: ["850"],
|
|
458
|
+
MP: ["1670"],
|
|
459
|
+
NO: ["47", 0],
|
|
460
|
+
OM: ["968"],
|
|
461
|
+
PK: ["92"],
|
|
462
|
+
PW: ["680"],
|
|
463
|
+
PS: ["970"],
|
|
464
|
+
PA: ["507"],
|
|
465
|
+
PG: ["675"],
|
|
466
|
+
PY: ["595"],
|
|
467
|
+
PE: ["51"],
|
|
468
|
+
PH: ["63"],
|
|
469
|
+
PL: ["48"],
|
|
470
|
+
PT: ["351"],
|
|
471
|
+
PR: ["1", 3, ["787", "939"]],
|
|
472
|
+
QA: ["974"],
|
|
473
|
+
RE: ["262", 0],
|
|
474
|
+
RO: ["40"],
|
|
475
|
+
RU: ["7", 0],
|
|
476
|
+
RW: ["250"],
|
|
477
|
+
BL: ["590", 1],
|
|
478
|
+
SH: ["290"],
|
|
479
|
+
KN: ["1", 4, ["869"]],
|
|
480
|
+
LC: ["1", 4, ["758"]],
|
|
481
|
+
MF: ["590", 2],
|
|
482
|
+
PM: ["508"],
|
|
483
|
+
VC: ["1784"],
|
|
484
|
+
WS: ["685"],
|
|
485
|
+
SM: ["378"],
|
|
486
|
+
ST: ["239"],
|
|
487
|
+
SA: ["966"],
|
|
488
|
+
SN: ["221"],
|
|
489
|
+
RS: ["381"],
|
|
490
|
+
SC: ["248"],
|
|
491
|
+
SL: ["232"],
|
|
492
|
+
SG: ["65"],
|
|
493
|
+
SX: ["1", 4, ["721"]],
|
|
494
|
+
SK: ["421"],
|
|
495
|
+
SI: ["386"],
|
|
496
|
+
SB: ["677"],
|
|
497
|
+
SO: ["252"],
|
|
498
|
+
ZA: ["27"],
|
|
499
|
+
KR: ["82"],
|
|
500
|
+
SS: ["211"],
|
|
501
|
+
ES: ["34"],
|
|
502
|
+
LK: ["94"],
|
|
503
|
+
SD: ["249"],
|
|
504
|
+
SR: ["597"],
|
|
505
|
+
SJ: ["47", 1],
|
|
506
|
+
SZ: ["268"],
|
|
507
|
+
SE: ["46"],
|
|
508
|
+
CH: ["41"],
|
|
509
|
+
SY: ["963"],
|
|
510
|
+
TW: ["886"],
|
|
511
|
+
TJ: ["992"],
|
|
512
|
+
TZ: ["255"],
|
|
513
|
+
TH: ["66"],
|
|
514
|
+
TL: ["670"],
|
|
515
|
+
TG: ["228"],
|
|
516
|
+
TK: ["690"],
|
|
517
|
+
TO: ["676"],
|
|
518
|
+
TT: ["1", 4, ["868"]],
|
|
519
|
+
TN: ["216"],
|
|
520
|
+
TR: ["90"],
|
|
521
|
+
TM: ["993"],
|
|
522
|
+
TC: ["1", 4, ["649"]],
|
|
523
|
+
TV: ["688"],
|
|
524
|
+
VI: ["1", 4, ["340"]],
|
|
525
|
+
UG: ["256"],
|
|
526
|
+
UA: ["380"],
|
|
527
|
+
AE: ["971"],
|
|
528
|
+
GB: ["44", 0],
|
|
529
|
+
US: ["1", 0],
|
|
530
|
+
UY: ["598"],
|
|
531
|
+
UZ: ["998"],
|
|
532
|
+
VU: ["678"],
|
|
533
|
+
VA: ["39", 1],
|
|
534
|
+
VE: ["58"],
|
|
535
|
+
VN: ["84"],
|
|
536
|
+
WF: ["681"],
|
|
537
|
+
EH: ["212", 1],
|
|
538
|
+
YE: ["967"],
|
|
539
|
+
ZM: ["260"],
|
|
540
|
+
ZW: ["263"],
|
|
541
|
+
AX: ["358", 1],
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export const EXAMPLES: any = {
|
|
545
|
+
// Examples
|
|
546
|
+
"001": "001",
|
|
547
|
+
AC: "40123",
|
|
548
|
+
AD: "312345",
|
|
549
|
+
AE: "501234567",
|
|
550
|
+
AF: "701234567",
|
|
551
|
+
AG: "2684641234",
|
|
552
|
+
AI: "2642351234",
|
|
553
|
+
AL: "662123456",
|
|
554
|
+
AM: "77123456",
|
|
555
|
+
AO: "923123456",
|
|
556
|
+
AR: "91123456789",
|
|
557
|
+
AS: "6847331234",
|
|
558
|
+
AT: "664123456",
|
|
559
|
+
AU: "412345678",
|
|
560
|
+
AW: "5601234",
|
|
561
|
+
AX: "412345678",
|
|
562
|
+
AZ: "401234567",
|
|
563
|
+
BA: "61123456",
|
|
564
|
+
BB: "2462501234",
|
|
565
|
+
BD: "1812345678",
|
|
566
|
+
BE: "470123456",
|
|
567
|
+
BF: "70123456",
|
|
568
|
+
BG: "48123456",
|
|
569
|
+
BH: "36001234",
|
|
570
|
+
BI: "79561234",
|
|
571
|
+
BJ: "90011234",
|
|
572
|
+
BL: "690001234",
|
|
573
|
+
BM: "4413701234",
|
|
574
|
+
BN: "7123456",
|
|
575
|
+
BO: "71234567",
|
|
576
|
+
BQ: "3181234",
|
|
577
|
+
BR: "11961234567",
|
|
578
|
+
BS: "2423591234",
|
|
579
|
+
BT: "17123456",
|
|
580
|
+
BW: "71123456",
|
|
581
|
+
BY: "294911911",
|
|
582
|
+
BZ: "6221234",
|
|
583
|
+
CA: "5062345678",
|
|
584
|
+
CC: "412345678",
|
|
585
|
+
CD: "991234567",
|
|
586
|
+
CF: "70012345",
|
|
587
|
+
CG: "061234567",
|
|
588
|
+
CH: "781234567",
|
|
589
|
+
CI: "01234567",
|
|
590
|
+
CK: "71234",
|
|
591
|
+
CL: "221234567",
|
|
592
|
+
CM: "671234567",
|
|
593
|
+
CN: "13123456789",
|
|
594
|
+
CO: "3211234567",
|
|
595
|
+
CR: "83123456",
|
|
596
|
+
CU: "51234567",
|
|
597
|
+
CV: "9911234",
|
|
598
|
+
CW: "95181234",
|
|
599
|
+
CX: "412345678",
|
|
600
|
+
CY: "96123456",
|
|
601
|
+
CZ: "601123456",
|
|
602
|
+
DE: "15123456789",
|
|
603
|
+
DJ: "77831001",
|
|
604
|
+
DK: "32123456",
|
|
605
|
+
DM: "7672251234",
|
|
606
|
+
DO: "8092345678",
|
|
607
|
+
DZ: "551234567",
|
|
608
|
+
EC: "991234567",
|
|
609
|
+
EE: "51234567",
|
|
610
|
+
EG: "1001234567",
|
|
611
|
+
EH: "650123456",
|
|
612
|
+
ER: "7123456",
|
|
613
|
+
ES: "612345678",
|
|
614
|
+
ET: "911234567",
|
|
615
|
+
FI: "412345678",
|
|
616
|
+
FJ: "7012345",
|
|
617
|
+
FK: "51234",
|
|
618
|
+
FM: "3501234",
|
|
619
|
+
FO: "211234",
|
|
620
|
+
FR: "612345678",
|
|
621
|
+
GA: "06031234",
|
|
622
|
+
GB: "7400123456",
|
|
623
|
+
GD: "4734031234",
|
|
624
|
+
GE: "555123456",
|
|
625
|
+
GF: "694201234",
|
|
626
|
+
GG: "7781123456",
|
|
627
|
+
GH: "231234567",
|
|
628
|
+
GI: "57123456",
|
|
629
|
+
GL: "221234",
|
|
630
|
+
GM: "3012345",
|
|
631
|
+
GN: "601123456",
|
|
632
|
+
GP: "690001234",
|
|
633
|
+
GQ: "222123456",
|
|
634
|
+
GR: "6912345678",
|
|
635
|
+
GT: "51234567",
|
|
636
|
+
GU: "6713001234",
|
|
637
|
+
GW: "955012345",
|
|
638
|
+
GY: "6091234",
|
|
639
|
+
HK: "51234567",
|
|
640
|
+
HN: "91234567",
|
|
641
|
+
HR: "921234567",
|
|
642
|
+
HT: "34101234",
|
|
643
|
+
HU: "201234567",
|
|
644
|
+
ID: "812345678",
|
|
645
|
+
IE: "850123456",
|
|
646
|
+
IL: "502345678",
|
|
647
|
+
IM: "7924123456",
|
|
648
|
+
IN: "8123456789",
|
|
649
|
+
IO: "3801234",
|
|
650
|
+
IQ: "7912345678",
|
|
651
|
+
IR: "9123456789",
|
|
652
|
+
IS: "6111234",
|
|
653
|
+
IT: "3123456789",
|
|
654
|
+
JE: "7797712345",
|
|
655
|
+
JM: "8762101234",
|
|
656
|
+
JO: "790123456",
|
|
657
|
+
JP: "9012345678",
|
|
658
|
+
KE: "712123456",
|
|
659
|
+
KG: "700123456",
|
|
660
|
+
KH: "91234567",
|
|
661
|
+
KI: "72001234",
|
|
662
|
+
KM: "3212345",
|
|
663
|
+
KN: "8697652917",
|
|
664
|
+
KP: "1921234567",
|
|
665
|
+
KR: "1000000000",
|
|
666
|
+
KW: "50012345",
|
|
667
|
+
KY: "3453231234",
|
|
668
|
+
KZ: "7710009998",
|
|
669
|
+
LA: "2023123456",
|
|
670
|
+
LB: "71123456",
|
|
671
|
+
LC: "7582845678",
|
|
672
|
+
LI: "660234567",
|
|
673
|
+
LK: "712345678",
|
|
674
|
+
LR: "770123456",
|
|
675
|
+
LS: "50123456",
|
|
676
|
+
LT: "61234567",
|
|
677
|
+
LU: "628123456",
|
|
678
|
+
LV: "21234567",
|
|
679
|
+
LY: "912345678",
|
|
680
|
+
MA: "650123456",
|
|
681
|
+
MC: "612345678",
|
|
682
|
+
MD: "62112345",
|
|
683
|
+
ME: "67622901",
|
|
684
|
+
MF: "690001234",
|
|
685
|
+
MG: "321234567",
|
|
686
|
+
MH: "2351234",
|
|
687
|
+
MK: "72345678",
|
|
688
|
+
ML: "65012345",
|
|
689
|
+
MM: "92123456",
|
|
690
|
+
MN: "88123456",
|
|
691
|
+
MO: "66123456",
|
|
692
|
+
MP: "6702345678",
|
|
693
|
+
MQ: "696201234",
|
|
694
|
+
MR: "22123456",
|
|
695
|
+
MS: "6644923456",
|
|
696
|
+
MT: "96961234",
|
|
697
|
+
MU: "52512345",
|
|
698
|
+
MV: "7712345",
|
|
699
|
+
MW: "991234567",
|
|
700
|
+
MX: "12221234567",
|
|
701
|
+
MY: "123456789",
|
|
702
|
+
MZ: "821234567",
|
|
703
|
+
NA: "811234567",
|
|
704
|
+
NC: "751234",
|
|
705
|
+
NE: "93123456",
|
|
706
|
+
NF: "381234",
|
|
707
|
+
NG: "8021234567",
|
|
708
|
+
NI: "81234567",
|
|
709
|
+
NL: "612345678",
|
|
710
|
+
NO: "40612345",
|
|
711
|
+
NP: "9841234567",
|
|
712
|
+
NR: "5551234",
|
|
713
|
+
NU: "8884012",
|
|
714
|
+
NZ: "211234567",
|
|
715
|
+
OM: "92123456",
|
|
716
|
+
PA: "61234567",
|
|
717
|
+
PE: "912345678",
|
|
718
|
+
PF: "87123456",
|
|
719
|
+
PG: "70123456",
|
|
720
|
+
PH: "9051234567",
|
|
721
|
+
PK: "3012345678",
|
|
722
|
+
PL: "512345678",
|
|
723
|
+
PM: "551234",
|
|
724
|
+
PR: "7872345678",
|
|
725
|
+
PS: "599123456",
|
|
726
|
+
PT: "912345678",
|
|
727
|
+
PW: "6201234",
|
|
728
|
+
PY: "961456789",
|
|
729
|
+
QA: "33123456",
|
|
730
|
+
RE: "692123456",
|
|
731
|
+
RO: "712034567",
|
|
732
|
+
RS: "601234567",
|
|
733
|
+
RU: "9123456789",
|
|
734
|
+
RW: "720123456",
|
|
735
|
+
SA: "512345678",
|
|
736
|
+
SB: "7421234",
|
|
737
|
+
SC: "2510123",
|
|
738
|
+
SD: "911231234",
|
|
739
|
+
SE: "701234567",
|
|
740
|
+
SG: "81234567",
|
|
741
|
+
SH: "51234",
|
|
742
|
+
SI: "31234567",
|
|
743
|
+
SJ: "41234567",
|
|
744
|
+
SK: "912123456",
|
|
745
|
+
SL: "25123456",
|
|
746
|
+
SM: "66661212",
|
|
747
|
+
SN: "701234567",
|
|
748
|
+
SO: "71123456",
|
|
749
|
+
SR: "7412345",
|
|
750
|
+
SS: "977123456",
|
|
751
|
+
ST: "9812345",
|
|
752
|
+
SV: "70123456",
|
|
753
|
+
SX: "7215205678",
|
|
754
|
+
SY: "944567890",
|
|
755
|
+
SZ: "76123456",
|
|
756
|
+
TA: "8999",
|
|
757
|
+
TC: "6492311234",
|
|
758
|
+
TD: "63012345",
|
|
759
|
+
TG: "90112345",
|
|
760
|
+
TH: "812345678",
|
|
761
|
+
TJ: "917123456",
|
|
762
|
+
TK: "7290",
|
|
763
|
+
TL: "77212345",
|
|
764
|
+
TM: "66123456",
|
|
765
|
+
TN: "20123456",
|
|
766
|
+
TO: "7715123",
|
|
767
|
+
TR: "5012345678",
|
|
768
|
+
TT: "8682911234",
|
|
769
|
+
TV: "901234",
|
|
770
|
+
TW: "912345678",
|
|
771
|
+
TZ: "621234567",
|
|
772
|
+
UA: "501234567",
|
|
773
|
+
UG: "712345678",
|
|
774
|
+
US: "2015550123",
|
|
775
|
+
UY: "94231234",
|
|
776
|
+
UZ: "912345678",
|
|
777
|
+
VA: "3123456789",
|
|
778
|
+
VC: "7844301234",
|
|
779
|
+
VE: "4121234567",
|
|
780
|
+
VG: "2843001234",
|
|
781
|
+
VI: "3406421234",
|
|
782
|
+
VN: "912345678",
|
|
783
|
+
VU: "5912345",
|
|
784
|
+
WF: "501234",
|
|
785
|
+
WS: "7212345",
|
|
786
|
+
XK: "43201234",
|
|
787
|
+
YE: "712345678",
|
|
788
|
+
YT: "639012345",
|
|
789
|
+
ZA: "711234567",
|
|
790
|
+
ZM: "955123456",
|
|
791
|
+
ZW: "712345678",
|
|
792
|
+
};
|