ngx-dial-input 2.0.4 → 2.0.6
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/esm2020/data/countries.mjs +1203 -51
- package/fesm2015/ngx-dial-input.mjs +1417 -266
- package/fesm2015/ngx-dial-input.mjs.map +1 -1
- package/fesm2020/ngx-dial-input.mjs +1417 -266
- package/fesm2020/ngx-dial-input.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ const countries = [
|
|
|
14
14
|
dialCode: '+507',
|
|
15
15
|
format: '+507 ##-###-####',
|
|
16
16
|
flag: 'https://flagcdn.com/w40/pa.png',
|
|
17
|
-
phoneLength: 8
|
|
17
|
+
phoneLength: 8
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
name: 'Pakistan',
|
|
@@ -1096,24 +1096,6 @@ const countries = [
|
|
|
1096
1096
|
flag: 'https://flagcdn.com/w40/bm.png',
|
|
1097
1097
|
phoneLength: 10
|
|
1098
1098
|
},
|
|
1099
|
-
{
|
|
1100
|
-
name: 'Saint Barthélemy',
|
|
1101
|
-
native: 'Saint-Barthélemy',
|
|
1102
|
-
iso2: 'bl',
|
|
1103
|
-
dialCode: '+590',
|
|
1104
|
-
format: '+590 ## ## ## ##',
|
|
1105
|
-
flag: 'https://flagcdn.com/w40/bl.png',
|
|
1106
|
-
phoneLength: 9
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
name: 'Saint Martin (French part)',
|
|
1110
|
-
native: 'Saint-Martin (partie française)',
|
|
1111
|
-
iso2: 'mf',
|
|
1112
|
-
dialCode: '+590',
|
|
1113
|
-
format: '+590 ## ## ## ##',
|
|
1114
|
-
flag: 'https://flagcdn.com/w40/mf.png',
|
|
1115
|
-
phoneLength: 9
|
|
1116
|
-
},
|
|
1117
1099
|
{
|
|
1118
1100
|
name: 'Guadeloupe',
|
|
1119
1101
|
native: 'Guadeloupe',
|
|
@@ -1130,7 +1112,7 @@ const countries = [
|
|
|
1130
1112
|
dialCode: '+596',
|
|
1131
1113
|
format: '+596 ## ## ## ##',
|
|
1132
1114
|
flag: 'https://flagcdn.com/w40/mq.png',
|
|
1133
|
-
phoneLength: 9
|
|
1115
|
+
phoneLength: 9
|
|
1134
1116
|
},
|
|
1135
1117
|
{
|
|
1136
1118
|
name: 'Réunion',
|
|
@@ -1139,7 +1121,7 @@ const countries = [
|
|
|
1139
1121
|
dialCode: '+262',
|
|
1140
1122
|
format: '+262 ## ## ## ##',
|
|
1141
1123
|
flag: 'https://flagcdn.com/w40/re.png',
|
|
1142
|
-
phoneLength: 9
|
|
1124
|
+
phoneLength: 9
|
|
1143
1125
|
},
|
|
1144
1126
|
{
|
|
1145
1127
|
name: 'Mayotte',
|
|
@@ -1148,7 +1130,7 @@ const countries = [
|
|
|
1148
1130
|
dialCode: '+262',
|
|
1149
1131
|
format: '+262 ## ## ## ##',
|
|
1150
1132
|
flag: 'https://flagcdn.com/w40/yt.png',
|
|
1151
|
-
phoneLength: 9
|
|
1133
|
+
phoneLength: 9
|
|
1152
1134
|
},
|
|
1153
1135
|
{
|
|
1154
1136
|
name: 'French Guiana',
|
|
@@ -1157,16 +1139,7 @@ const countries = [
|
|
|
1157
1139
|
dialCode: '+594',
|
|
1158
1140
|
format: '+594 ## ## ## ##',
|
|
1159
1141
|
flag: 'https://flagcdn.com/w40/gf.png',
|
|
1160
|
-
phoneLength: 9
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
name: 'Wallis and Futuna',
|
|
1164
|
-
native: 'Uvea o Futuna',
|
|
1165
|
-
iso2: 'wf',
|
|
1166
|
-
dialCode: '+681',
|
|
1167
|
-
format: '+681 ## ## ##',
|
|
1168
|
-
flag: 'https://flagcdn.com/w40/wf.png',
|
|
1169
|
-
phoneLength: 6 // Mobile: 6 digits (e.g., +681 72 34 56)
|
|
1142
|
+
phoneLength: 9
|
|
1170
1143
|
},
|
|
1171
1144
|
{
|
|
1172
1145
|
name: 'New Caledonia',
|
|
@@ -1175,7 +1148,7 @@ const countries = [
|
|
|
1175
1148
|
dialCode: '+687',
|
|
1176
1149
|
format: '+687 ## ## ##',
|
|
1177
1150
|
flag: 'https://flagcdn.com/w40/nc.png',
|
|
1178
|
-
phoneLength: 6
|
|
1151
|
+
phoneLength: 6
|
|
1179
1152
|
},
|
|
1180
1153
|
{
|
|
1181
1154
|
name: 'French Polynesia',
|
|
@@ -1184,7 +1157,7 @@ const countries = [
|
|
|
1184
1157
|
dialCode: '+689',
|
|
1185
1158
|
format: '+689 ## ## ##',
|
|
1186
1159
|
flag: 'https://flagcdn.com/w40/pf.png',
|
|
1187
|
-
phoneLength: 6
|
|
1160
|
+
phoneLength: 6
|
|
1188
1161
|
},
|
|
1189
1162
|
{
|
|
1190
1163
|
name: 'Cook Islands',
|
|
@@ -1193,7 +1166,7 @@ const countries = [
|
|
|
1193
1166
|
dialCode: '+682',
|
|
1194
1167
|
format: '+682 ## ###',
|
|
1195
1168
|
flag: 'https://flagcdn.com/w40/ck.png',
|
|
1196
|
-
phoneLength: 5
|
|
1169
|
+
phoneLength: 5
|
|
1197
1170
|
},
|
|
1198
1171
|
{
|
|
1199
1172
|
name: 'Niue',
|
|
@@ -1202,7 +1175,7 @@ const countries = [
|
|
|
1202
1175
|
dialCode: '+683',
|
|
1203
1176
|
format: '+683 ## ###',
|
|
1204
1177
|
flag: 'https://flagcdn.com/w40/nu.png',
|
|
1205
|
-
phoneLength: 4
|
|
1178
|
+
phoneLength: 4
|
|
1206
1179
|
},
|
|
1207
1180
|
{
|
|
1208
1181
|
name: 'Tokelau',
|
|
@@ -1211,7 +1184,7 @@ const countries = [
|
|
|
1211
1184
|
dialCode: '+690',
|
|
1212
1185
|
format: '+690 ## ###',
|
|
1213
1186
|
flag: 'https://flagcdn.com/w40/tk.png',
|
|
1214
|
-
phoneLength: 4
|
|
1187
|
+
phoneLength: 4
|
|
1215
1188
|
},
|
|
1216
1189
|
{
|
|
1217
1190
|
name: 'Canada',
|
|
@@ -1220,7 +1193,7 @@ const countries = [
|
|
|
1220
1193
|
dialCode: '+1',
|
|
1221
1194
|
format: '+1 ### ### ####',
|
|
1222
1195
|
flag: 'https://flagcdn.com/w40/ca.png',
|
|
1223
|
-
phoneLength: 10
|
|
1196
|
+
phoneLength: 10
|
|
1224
1197
|
},
|
|
1225
1198
|
{
|
|
1226
1199
|
name: 'Costa Rica',
|
|
@@ -1229,7 +1202,7 @@ const countries = [
|
|
|
1229
1202
|
dialCode: '+506',
|
|
1230
1203
|
format: '+506 ###-####',
|
|
1231
1204
|
flag: 'https://flagcdn.com/w40/cr.png',
|
|
1232
|
-
phoneLength: 8
|
|
1205
|
+
phoneLength: 8
|
|
1233
1206
|
},
|
|
1234
1207
|
{
|
|
1235
1208
|
name: 'El Salvador',
|
|
@@ -1238,7 +1211,7 @@ const countries = [
|
|
|
1238
1211
|
dialCode: '+503',
|
|
1239
1212
|
format: '+503 ##-###-####',
|
|
1240
1213
|
flag: 'https://flagcdn.com/w40/sv.png',
|
|
1241
|
-
phoneLength: 8
|
|
1214
|
+
phoneLength: 8
|
|
1242
1215
|
},
|
|
1243
1216
|
{
|
|
1244
1217
|
name: 'Guatemala',
|
|
@@ -1247,7 +1220,7 @@ const countries = [
|
|
|
1247
1220
|
dialCode: '+502',
|
|
1248
1221
|
format: '+502 ##-###-####',
|
|
1249
1222
|
flag: 'https://flagcdn.com/w40/gt.png',
|
|
1250
|
-
phoneLength: 8
|
|
1223
|
+
phoneLength: 8
|
|
1251
1224
|
},
|
|
1252
1225
|
{
|
|
1253
1226
|
name: 'Honduras',
|
|
@@ -1256,7 +1229,7 @@ const countries = [
|
|
|
1256
1229
|
dialCode: '+504',
|
|
1257
1230
|
format: '+504 ##-###-####',
|
|
1258
1231
|
flag: 'https://flagcdn.com/w40/hn.png',
|
|
1259
|
-
phoneLength: 8
|
|
1232
|
+
phoneLength: 8
|
|
1260
1233
|
},
|
|
1261
1234
|
{
|
|
1262
1235
|
name: 'Nicaragua',
|
|
@@ -1265,7 +1238,7 @@ const countries = [
|
|
|
1265
1238
|
dialCode: '+505',
|
|
1266
1239
|
format: '+505 ##-###-####',
|
|
1267
1240
|
flag: 'https://flagcdn.com/w40/ni.png',
|
|
1268
|
-
phoneLength: 8
|
|
1241
|
+
phoneLength: 8
|
|
1269
1242
|
},
|
|
1270
1243
|
{
|
|
1271
1244
|
name: 'Belize',
|
|
@@ -1274,7 +1247,7 @@ const countries = [
|
|
|
1274
1247
|
dialCode: '+501',
|
|
1275
1248
|
format: '+501 ###-####',
|
|
1276
1249
|
flag: 'https://flagcdn.com/w40/bz.png',
|
|
1277
|
-
phoneLength: 7
|
|
1250
|
+
phoneLength: 7
|
|
1278
1251
|
},
|
|
1279
1252
|
{
|
|
1280
1253
|
name: 'Curaçao',
|
|
@@ -1283,7 +1256,7 @@ const countries = [
|
|
|
1283
1256
|
dialCode: '+599',
|
|
1284
1257
|
format: '+599 9 ### ####',
|
|
1285
1258
|
flag: 'https://flagcdn.com/w40/cw.png',
|
|
1286
|
-
phoneLength: 7
|
|
1259
|
+
phoneLength: 7
|
|
1287
1260
|
},
|
|
1288
1261
|
{
|
|
1289
1262
|
name: 'Sint Maarten (Dutch part)',
|
|
@@ -1292,7 +1265,7 @@ const countries = [
|
|
|
1292
1265
|
dialCode: '+1 721',
|
|
1293
1266
|
format: '+1 721 ### ####',
|
|
1294
1267
|
flag: 'https://flagcdn.com/w40/sx.png',
|
|
1295
|
-
phoneLength: 10
|
|
1268
|
+
phoneLength: 10
|
|
1296
1269
|
},
|
|
1297
1270
|
{
|
|
1298
1271
|
name: 'Aruba',
|
|
@@ -1301,7 +1274,7 @@ const countries = [
|
|
|
1301
1274
|
dialCode: '+297',
|
|
1302
1275
|
format: '+297 ### ####',
|
|
1303
1276
|
flag: 'https://flagcdn.com/w40/aw.png',
|
|
1304
|
-
phoneLength: 7
|
|
1277
|
+
phoneLength: 7
|
|
1305
1278
|
},
|
|
1306
1279
|
{
|
|
1307
1280
|
name: 'Bonaire, Sint Eustatius and Saba',
|
|
@@ -1310,7 +1283,7 @@ const countries = [
|
|
|
1310
1283
|
dialCode: '+599 7',
|
|
1311
1284
|
format: '+599 7 ### ####',
|
|
1312
1285
|
flag: 'https://flagcdn.com/w40/bq.png',
|
|
1313
|
-
phoneLength: 7
|
|
1286
|
+
phoneLength: 7
|
|
1314
1287
|
},
|
|
1315
1288
|
{
|
|
1316
1289
|
name: 'Sint Eustatius',
|
|
@@ -1319,7 +1292,7 @@ const countries = [
|
|
|
1319
1292
|
dialCode: '+599 3',
|
|
1320
1293
|
format: '+599 3 ### ####',
|
|
1321
1294
|
flag: 'https://flagcdn.com/w40/bq.png',
|
|
1322
|
-
phoneLength: 7
|
|
1295
|
+
phoneLength: 7
|
|
1323
1296
|
},
|
|
1324
1297
|
{
|
|
1325
1298
|
name: 'Saba',
|
|
@@ -1328,7 +1301,7 @@ const countries = [
|
|
|
1328
1301
|
dialCode: '+599 4',
|
|
1329
1302
|
format: '+599 4 ### ####',
|
|
1330
1303
|
flag: 'https://flagcdn.com/w40/bq.png',
|
|
1331
|
-
phoneLength: 7
|
|
1304
|
+
phoneLength: 7
|
|
1332
1305
|
},
|
|
1333
1306
|
{
|
|
1334
1307
|
name: 'Greece',
|
|
@@ -1338,221 +1311,1400 @@ const countries = [
|
|
|
1338
1311
|
flag: 'https://flagcdn.com/w40/gr.png',
|
|
1339
1312
|
format: '+30 ### ### ####',
|
|
1340
1313
|
phoneLength: 10
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
name: 'Cyprus',
|
|
1317
|
+
native: 'Κύπρος',
|
|
1318
|
+
iso2: 'cy',
|
|
1319
|
+
dialCode: '+357',
|
|
1320
|
+
format: '+357 ## ### ####',
|
|
1321
|
+
flag: 'https://flagcdn.com/w40/cy.png',
|
|
1322
|
+
phoneLength: 8
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
name: 'Malta',
|
|
1326
|
+
native: 'Malta',
|
|
1327
|
+
iso2: 'mt',
|
|
1328
|
+
dialCode: '+356',
|
|
1329
|
+
format: '+356 #### ####',
|
|
1330
|
+
flag: 'https://flagcdn.com/w40/mt.png',
|
|
1331
|
+
phoneLength: 8
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
name: 'Iceland',
|
|
1335
|
+
native: 'Ísland',
|
|
1336
|
+
iso2: 'is',
|
|
1337
|
+
dialCode: '+354',
|
|
1338
|
+
format: '+354 ### ####',
|
|
1339
|
+
flag: 'https://flagcdn.com/w40/is.png',
|
|
1340
|
+
phoneLength: 7
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
name: 'Luxembourg',
|
|
1344
|
+
native: 'Lëtzebuerg',
|
|
1345
|
+
iso2: 'lu',
|
|
1346
|
+
dialCode: '+352',
|
|
1347
|
+
format: '+352 #### #####',
|
|
1348
|
+
flag: 'https://flagcdn.com/w40/lu.png',
|
|
1349
|
+
phoneLength: 8
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: 'Monaco',
|
|
1353
|
+
native: 'Monaco',
|
|
1354
|
+
iso2: 'mc',
|
|
1355
|
+
dialCode: '+377',
|
|
1356
|
+
format: '+377 ## ## ## ##',
|
|
1357
|
+
flag: 'https://flagcdn.com/w40/mc.png',
|
|
1358
|
+
phoneLength: 8
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
name: 'Liechtenstein',
|
|
1362
|
+
native: 'Liechtenstein',
|
|
1363
|
+
iso2: 'li',
|
|
1364
|
+
dialCode: '+423',
|
|
1365
|
+
format: '+423 ### ####',
|
|
1366
|
+
flag: 'https://flagcdn.com/w40/li.png',
|
|
1367
|
+
phoneLength: 7
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
name: 'San Marino',
|
|
1371
|
+
native: 'San Marino',
|
|
1372
|
+
iso2: 'sm',
|
|
1373
|
+
dialCode: '+378',
|
|
1374
|
+
format: '+378 ### #####',
|
|
1375
|
+
flag: 'https://flagcdn.com/w40/sm.png',
|
|
1376
|
+
phoneLength: 8
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
name: 'Vatican City',
|
|
1380
|
+
native: 'Città del Vaticano',
|
|
1381
|
+
iso2: 'va',
|
|
1382
|
+
dialCode: '+379',
|
|
1383
|
+
format: '+379 ### #####',
|
|
1384
|
+
flag: 'https://flagcdn.com/w40/va.png',
|
|
1385
|
+
phoneLength: 8
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
name: 'Andorra',
|
|
1389
|
+
native: 'Andorra',
|
|
1390
|
+
iso2: 'ad',
|
|
1391
|
+
dialCode: '+376',
|
|
1392
|
+
format: '+376 ### ###',
|
|
1393
|
+
flag: 'https://flagcdn.com/w40/ad.png',
|
|
1394
|
+
phoneLength: 6
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
name: 'Maldives',
|
|
1398
|
+
native: 'Maldives',
|
|
1399
|
+
iso2: 'mv',
|
|
1400
|
+
dialCode: '+960',
|
|
1401
|
+
format: '+960 ## ###',
|
|
1402
|
+
flag: 'https://flagcdn.com/w40/mv.png',
|
|
1403
|
+
phoneLength: 7
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
name: 'Sri Lanka',
|
|
1407
|
+
native: 'ශ්රී ලංකාව',
|
|
1408
|
+
iso2: 'lk',
|
|
1409
|
+
dialCode: '+94',
|
|
1410
|
+
format: '+94 ## ### ####',
|
|
1411
|
+
flag: 'https://flagcdn.com/w40/lk.png',
|
|
1412
|
+
phoneLength: 9
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
name: 'Nepal',
|
|
1416
|
+
native: 'नेपाल',
|
|
1417
|
+
iso2: 'np',
|
|
1418
|
+
dialCode: '+977',
|
|
1419
|
+
format: '+977 ## ### ####',
|
|
1420
|
+
flag: 'https://flagcdn.com/w40/np.png',
|
|
1421
|
+
phoneLength: 10
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
name: 'Bhutan',
|
|
1425
|
+
native: 'འབྲུག',
|
|
1426
|
+
iso2: 'bt',
|
|
1427
|
+
dialCode: '+975',
|
|
1428
|
+
format: '+975 ## ### ###',
|
|
1429
|
+
flag: 'https://flagcdn.com/w40/bt.png',
|
|
1430
|
+
phoneLength: 8
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
name: 'Malawi',
|
|
1434
|
+
native: 'Malawi',
|
|
1435
|
+
iso2: 'mw',
|
|
1436
|
+
dialCode: '+265',
|
|
1437
|
+
format: '+265 ## ### ###',
|
|
1438
|
+
flag: 'https://flagcdn.com/w40/mw.png',
|
|
1439
|
+
phoneLength: 9
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
name: 'Zambia',
|
|
1443
|
+
native: 'Zambia',
|
|
1444
|
+
iso2: 'zm',
|
|
1445
|
+
dialCode: '+260',
|
|
1446
|
+
format: '+260 ## ### ####',
|
|
1447
|
+
flag: 'https://flagcdn.com/w40/zm.png',
|
|
1448
|
+
phoneLength: 9
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
name: 'Botswana',
|
|
1452
|
+
native: 'Botswana',
|
|
1453
|
+
iso2: 'bw',
|
|
1454
|
+
dialCode: '+267',
|
|
1455
|
+
format: '+267 ## ### ###',
|
|
1456
|
+
flag: 'https://flagcdn.com/w40/bw.png',
|
|
1457
|
+
phoneLength: 8
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
name: 'Namibia',
|
|
1461
|
+
native: 'Namibia',
|
|
1462
|
+
iso2: 'na',
|
|
1463
|
+
dialCode: '+264',
|
|
1464
|
+
format: '+264 ## ### ###',
|
|
1465
|
+
flag: 'https://flagcdn.com/w40/na.png',
|
|
1466
|
+
phoneLength: 9
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
name: 'Lesotho',
|
|
1470
|
+
native: 'Lesotho',
|
|
1471
|
+
iso2: 'ls',
|
|
1472
|
+
dialCode: '+266',
|
|
1473
|
+
format: '+266 ## ### ###',
|
|
1474
|
+
flag: 'https://flagcdn.com/w40/ls.png',
|
|
1475
|
+
phoneLength: 8
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
name: 'Mozambique',
|
|
1479
|
+
native: 'Moçambique',
|
|
1480
|
+
iso2: 'mz',
|
|
1481
|
+
dialCode: '+258',
|
|
1482
|
+
format: '+258 ## ### ####',
|
|
1483
|
+
flag: 'https://flagcdn.com/w40/mz.png',
|
|
1484
|
+
phoneLength: 9
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: 'Madagascar',
|
|
1488
|
+
native: 'Madagasikara',
|
|
1489
|
+
iso2: 'mg',
|
|
1490
|
+
dialCode: '+261',
|
|
1491
|
+
format: '+261 ## ## ### ##',
|
|
1492
|
+
flag: 'https://flagcdn.com/w40/mg.png',
|
|
1493
|
+
phoneLength: 9
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
name: 'Comoros',
|
|
1497
|
+
native: 'Komori',
|
|
1498
|
+
iso2: 'km',
|
|
1499
|
+
dialCode: '+269',
|
|
1500
|
+
format: '+269 ## ## ##',
|
|
1501
|
+
flag: 'https://flagcdn.com/w40/km.png',
|
|
1502
|
+
phoneLength: 6
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
name: 'Tique',
|
|
1506
|
+
native: 'Tique',
|
|
1507
|
+
iso2: 'yt',
|
|
1508
|
+
dialCode: '+262',
|
|
1509
|
+
format: '+262 ## ## ## ##',
|
|
1510
|
+
flag: 'https://flagcdn.com/w40/yt.png',
|
|
1511
|
+
phoneLength: 9
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
name: 'Seychelles',
|
|
1515
|
+
native: 'Seychelles',
|
|
1516
|
+
iso2: 'sc',
|
|
1517
|
+
dialCode: '+248',
|
|
1518
|
+
format: '+248 ## ###',
|
|
1519
|
+
flag: 'https://flagcdn.com/w40/sc.png',
|
|
1520
|
+
phoneLength: 7
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
name: 'Mauritius',
|
|
1524
|
+
native: 'Maurice',
|
|
1525
|
+
iso2: 'mu',
|
|
1526
|
+
dialCode: '+230',
|
|
1527
|
+
format: '+230 ## ### ###',
|
|
1528
|
+
flag: 'https://flagcdn.com/w40/mu.png',
|
|
1529
|
+
phoneLength: 8
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
name: 'Rwanda',
|
|
1533
|
+
native: 'Rwanda',
|
|
1534
|
+
iso2: 'rw',
|
|
1535
|
+
dialCode: '+250',
|
|
1536
|
+
format: '+250 ## ### ###',
|
|
1537
|
+
flag: 'https://flagcdn.com/w40/rw.png',
|
|
1538
|
+
phoneLength: 9
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
name: 'Burundi',
|
|
1542
|
+
native: 'Burundi',
|
|
1543
|
+
iso2: 'bi',
|
|
1544
|
+
dialCode: '+257',
|
|
1545
|
+
format: '+257 ## ### ###',
|
|
1546
|
+
flag: 'https://flagcdn.com/w40/bi.png',
|
|
1547
|
+
phoneLength: 8
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
name: 'Cape Verde',
|
|
1551
|
+
native: 'Cabo Verde',
|
|
1552
|
+
iso2: 'cv',
|
|
1553
|
+
dialCode: '+238',
|
|
1554
|
+
format: '+238 ### ####',
|
|
1555
|
+
flag: 'https://flagcdn.com/w40/cv.png',
|
|
1556
|
+
phoneLength: 7
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
name: 'São Tomé and Príncipe',
|
|
1560
|
+
native: 'São Tomé e Príncipe',
|
|
1561
|
+
iso2: 'st',
|
|
1562
|
+
dialCode: '+239',
|
|
1563
|
+
format: '+239 ## #####',
|
|
1564
|
+
flag: 'https://flagcdn.com/w40/st.png',
|
|
1565
|
+
phoneLength: 7
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
name: 'Liberia',
|
|
1569
|
+
native: 'Liberia',
|
|
1570
|
+
iso2: 'lr',
|
|
1571
|
+
dialCode: '+231',
|
|
1572
|
+
format: '+231 ## ### ###',
|
|
1573
|
+
flag: 'https://flagcdn.com/w40/lr.png',
|
|
1574
|
+
phoneLength: 8
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
name: 'Sierra Leone',
|
|
1578
|
+
native: 'Sierra Leone',
|
|
1579
|
+
iso2: 'sl',
|
|
1580
|
+
dialCode: '+232',
|
|
1581
|
+
format: '+232 ## ######',
|
|
1582
|
+
flag: 'https://flagcdn.com/w40/sl.png',
|
|
1583
|
+
phoneLength: 8
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
name: 'Guinea',
|
|
1587
|
+
native: 'Guinée',
|
|
1588
|
+
iso2: 'gn',
|
|
1589
|
+
dialCode: '+224',
|
|
1590
|
+
format: '+224 ### ######',
|
|
1591
|
+
flag: 'https://flagcdn.com/w40/gn.png',
|
|
1592
|
+
phoneLength: 9
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
name: 'Guinea-Bissau',
|
|
1596
|
+
native: 'Guiné-Bissau',
|
|
1597
|
+
iso2: 'gw',
|
|
1598
|
+
dialCode: '+245',
|
|
1599
|
+
format: '+245 ### ####',
|
|
1600
|
+
flag: 'https://flagcdn.com/w40/gw.png',
|
|
1601
|
+
phoneLength: 7
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
name: 'Equatorial Guinea',
|
|
1605
|
+
native: 'Guinea Ecuatorial',
|
|
1606
|
+
iso2: 'gq',
|
|
1607
|
+
dialCode: '+240',
|
|
1608
|
+
format: '+240 ## ### ####',
|
|
1609
|
+
flag: 'https://flagcdn.com/w40/gq.png',
|
|
1610
|
+
phoneLength: 9
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
name: 'Gabon',
|
|
1614
|
+
native: 'Gabon',
|
|
1615
|
+
iso2: 'ga',
|
|
1616
|
+
dialCode: '+241',
|
|
1617
|
+
format: '+241 # ## ## ##',
|
|
1618
|
+
flag: 'https://flagcdn.com/w40/ga.png',
|
|
1619
|
+
phoneLength: 7
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
name: 'Central African Republic',
|
|
1623
|
+
native: 'République centrafricaine',
|
|
1624
|
+
iso2: 'cf',
|
|
1625
|
+
dialCode: '+236',
|
|
1626
|
+
format: '+236 ## ## ####',
|
|
1627
|
+
flag: 'https://flagcdn.com/w40/cf.png',
|
|
1628
|
+
phoneLength: 8
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
name: 'Republic of the Congo',
|
|
1632
|
+
native: 'Congo-Brazzaville',
|
|
1633
|
+
iso2: 'cg',
|
|
1634
|
+
dialCode: '+242',
|
|
1635
|
+
format: '+242 ## ### ###',
|
|
1636
|
+
flag: 'https://flagcdn.com/w40/cg.png',
|
|
1637
|
+
phoneLength: 9
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
name: 'Democratic Republic of the Congo',
|
|
1641
|
+
native: 'Congo-Kinshasa',
|
|
1642
|
+
iso2: 'cd',
|
|
1643
|
+
dialCode: '+243',
|
|
1644
|
+
format: '+243 ## ### ####',
|
|
1645
|
+
flag: 'https://flagcdn.com/w40/cd.png',
|
|
1646
|
+
phoneLength: 9
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
name: 'Cameroon',
|
|
1650
|
+
native: 'Cameroun',
|
|
1651
|
+
iso2: 'cm',
|
|
1652
|
+
dialCode: '+237',
|
|
1653
|
+
format: '+237 #### ####',
|
|
1654
|
+
flag: 'https://flagcdn.com/w40/cm.png',
|
|
1655
|
+
phoneLength: 8
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
name: 'Chad',
|
|
1659
|
+
native: 'Tchad',
|
|
1660
|
+
iso2: 'td',
|
|
1661
|
+
dialCode: '+235',
|
|
1662
|
+
format: '+235 ## ## ## ##',
|
|
1663
|
+
flag: 'https://flagcdn.com/w40/td.png',
|
|
1664
|
+
phoneLength: 8
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: 'Niger',
|
|
1668
|
+
native: 'Niger',
|
|
1669
|
+
iso2: 'ne',
|
|
1670
|
+
dialCode: '+227',
|
|
1671
|
+
format: '+227 ## ## ####',
|
|
1672
|
+
flag: 'https://flagcdn.com/w40/ne.png',
|
|
1673
|
+
phoneLength: 8
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
name: 'Mali',
|
|
1677
|
+
native: 'Mali',
|
|
1678
|
+
iso2: 'ml',
|
|
1679
|
+
dialCode: '+223',
|
|
1680
|
+
format: '+223 ## ## ####',
|
|
1681
|
+
flag: 'https://flagcdn.com/w40/ml.png',
|
|
1682
|
+
phoneLength: 8
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
name: 'Burkina Faso',
|
|
1686
|
+
native: 'Burkina Faso',
|
|
1687
|
+
iso2: 'bf',
|
|
1688
|
+
dialCode: '+226',
|
|
1689
|
+
format: '+226 ## ## ####',
|
|
1690
|
+
flag: 'https://flagcdn.com/w40/bf.png',
|
|
1691
|
+
phoneLength: 8
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
name: 'Togo',
|
|
1695
|
+
native: 'Togo',
|
|
1696
|
+
iso2: 'tg',
|
|
1697
|
+
dialCode: '+228',
|
|
1698
|
+
format: '+228 ## ### ###',
|
|
1699
|
+
flag: 'https://flagcdn.com/w40/tg.png',
|
|
1700
|
+
phoneLength: 8
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
name: 'Benin',
|
|
1704
|
+
native: 'Bénin',
|
|
1705
|
+
iso2: 'bj',
|
|
1706
|
+
dialCode: '+229',
|
|
1707
|
+
format: '+229 ## ## ####',
|
|
1708
|
+
flag: 'https://flagcdn.com/w40/bj.png',
|
|
1709
|
+
phoneLength: 8
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
name: 'Ivory Coast',
|
|
1713
|
+
native: "Côte d'Ivoire",
|
|
1714
|
+
iso2: 'ci',
|
|
1715
|
+
dialCode: '+225',
|
|
1716
|
+
format: '+225 ## ### ###',
|
|
1717
|
+
flag: 'https://flagcdn.com/w40/ci.png',
|
|
1718
|
+
phoneLength: 8
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
name: 'Gambia',
|
|
1722
|
+
native: 'Gambia',
|
|
1723
|
+
iso2: 'gm',
|
|
1724
|
+
dialCode: '+220',
|
|
1725
|
+
format: '+220 ### ####',
|
|
1726
|
+
flag: 'https://flagcdn.com/w40/gm.png',
|
|
1727
|
+
phoneLength: 7
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
name: 'Mauritania',
|
|
1731
|
+
native: 'Mauritanie',
|
|
1732
|
+
iso2: 'mr',
|
|
1733
|
+
dialCode: '+222',
|
|
1734
|
+
format: '+222 ## ## ## ##',
|
|
1735
|
+
flag: 'https://flagcdn.com/w40/mr.png',
|
|
1736
|
+
phoneLength: 8
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
name: 'East Timor',
|
|
1740
|
+
native: 'Timor-Leste',
|
|
1741
|
+
iso2: 'tl',
|
|
1742
|
+
dialCode: '+670',
|
|
1743
|
+
format: '+670 ### ####',
|
|
1744
|
+
flag: 'https://flagcdn.com/w40/tl.png',
|
|
1745
|
+
phoneLength: 7
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
name: 'Palestine',
|
|
1749
|
+
native: 'فلسطين',
|
|
1750
|
+
iso2: 'ps',
|
|
1751
|
+
dialCode: '+970',
|
|
1752
|
+
format: '+970 ## ### ####',
|
|
1753
|
+
flag: 'https://flagcdn.com/w40/ps.png',
|
|
1754
|
+
phoneLength: 9
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
name: 'Lebanon',
|
|
1758
|
+
native: 'لبنان',
|
|
1759
|
+
iso2: 'lb',
|
|
1760
|
+
dialCode: '+961',
|
|
1761
|
+
format: '+961 ## ### ###',
|
|
1762
|
+
flag: 'https://flagcdn.com/w40/lb.png',
|
|
1763
|
+
phoneLength: 8
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
name: 'Syria',
|
|
1767
|
+
native: 'سوريا',
|
|
1768
|
+
iso2: 'sy',
|
|
1769
|
+
dialCode: '+963',
|
|
1770
|
+
format: '+963 ## ######',
|
|
1771
|
+
flag: 'https://flagcdn.com/w40/sy.png',
|
|
1772
|
+
phoneLength: 8
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
name: 'Jordan',
|
|
1776
|
+
native: 'الأردن',
|
|
1777
|
+
iso2: 'jo',
|
|
1778
|
+
dialCode: '+962',
|
|
1779
|
+
format: '+962 # #### ####',
|
|
1780
|
+
flag: 'https://flagcdn.com/w40/jo.png',
|
|
1781
|
+
phoneLength: 9
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
name: 'Yemen',
|
|
1785
|
+
native: 'اليمن',
|
|
1786
|
+
iso2: 'ye',
|
|
1787
|
+
dialCode: '+967',
|
|
1788
|
+
format: '+967 ### ### ###',
|
|
1789
|
+
flag: 'https://flagcdn.com/w40/ye.png',
|
|
1790
|
+
phoneLength: 9
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
name: 'Oman',
|
|
1794
|
+
native: 'عُمان',
|
|
1795
|
+
iso2: 'om',
|
|
1796
|
+
dialCode: '+968',
|
|
1797
|
+
format: '+968 ## ### ###',
|
|
1798
|
+
flag: 'https://flagcdn.com/w40/om.png',
|
|
1799
|
+
phoneLength: 8
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
name: 'Qatar',
|
|
1803
|
+
native: 'قطر',
|
|
1804
|
+
iso2: 'qa',
|
|
1805
|
+
dialCode: '+974',
|
|
1806
|
+
format: '+974 #### ####',
|
|
1807
|
+
flag: 'https://flagcdn.com/w40/qa.png',
|
|
1808
|
+
phoneLength: 8
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
name: 'Kuwait',
|
|
1812
|
+
native: 'الكويت',
|
|
1813
|
+
iso2: 'kw',
|
|
1814
|
+
dialCode: '+965',
|
|
1815
|
+
format: '+965 #### ####',
|
|
1816
|
+
flag: 'https://flagcdn.com/w40/kw.png',
|
|
1817
|
+
phoneLength: 8
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
name: 'Bahrain',
|
|
1821
|
+
native: 'البحرين',
|
|
1822
|
+
iso2: 'bh',
|
|
1823
|
+
dialCode: '+973',
|
|
1824
|
+
format: '+973 #### ####',
|
|
1825
|
+
flag: 'https://flagcdn.com/w40/bh.png',
|
|
1826
|
+
phoneLength: 8
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
name: 'Israel',
|
|
1830
|
+
native: 'ישראל',
|
|
1831
|
+
iso2: 'il',
|
|
1832
|
+
dialCode: '+972',
|
|
1833
|
+
format: '+972 ## ### ####',
|
|
1834
|
+
flag: 'https://flagcdn.com/w40/il.png',
|
|
1835
|
+
phoneLength: 9
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
name: 'united Arab Emirates',
|
|
1839
|
+
native: 'الإمارات العربية المتحدة',
|
|
1840
|
+
iso2: 'ae',
|
|
1841
|
+
dialCode: '+971',
|
|
1842
|
+
format: '+971 ## ### ####',
|
|
1843
|
+
flag: 'https://flagcdn.com/w40/ae.png',
|
|
1844
|
+
phoneLength: 9
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
name: 'Afghanistan',
|
|
1848
|
+
native: 'افغانستان',
|
|
1849
|
+
iso2: 'af',
|
|
1850
|
+
dialCode: '+93',
|
|
1851
|
+
format: '+93 ## ### ####',
|
|
1852
|
+
flag: 'https://flagcdn.com/w40/af.png',
|
|
1853
|
+
phoneLength: 9
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
name: 'bolivia',
|
|
1857
|
+
native: 'Bolivia',
|
|
1858
|
+
iso2: 'bo',
|
|
1859
|
+
dialCode: '+591',
|
|
1860
|
+
format: '+591 # ### ####',
|
|
1861
|
+
flag: 'https://flagcdn.com/w40/bo.png',
|
|
1862
|
+
phoneLength: 8
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
name: 'Paraguay',
|
|
1866
|
+
native: 'Paraguay',
|
|
1867
|
+
iso2: 'py',
|
|
1868
|
+
dialCode: '+595',
|
|
1869
|
+
format: '+595 ## ### ####',
|
|
1870
|
+
flag: 'https://flagcdn.com/w40/py.png',
|
|
1871
|
+
phoneLength: 9
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
name: 'Ecuador',
|
|
1875
|
+
native: 'Ecuador',
|
|
1876
|
+
iso2: 'ec',
|
|
1877
|
+
dialCode: '+593',
|
|
1878
|
+
format: '+593 ## ### ####',
|
|
1879
|
+
flag: 'https://flagcdn.com/w40/ec.png',
|
|
1880
|
+
phoneLength: 9
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
name: 'Guyana',
|
|
1884
|
+
native: 'Guyana',
|
|
1885
|
+
iso2: 'gy',
|
|
1886
|
+
dialCode: '+592',
|
|
1887
|
+
format: '+592 ### ####',
|
|
1888
|
+
flag: 'https://flagcdn.com/w40/gy.png',
|
|
1889
|
+
phoneLength: 7
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
name: 'Suriname',
|
|
1893
|
+
native: 'Suriname',
|
|
1894
|
+
iso2: 'sr',
|
|
1895
|
+
dialCode: '+597',
|
|
1896
|
+
format: '+597 ### ####',
|
|
1897
|
+
flag: 'https://flagcdn.com/w40/sr.png',
|
|
1898
|
+
phoneLength: 7
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
name: 'French Southern and Antarctic Lands',
|
|
1902
|
+
native: 'Terres australes et antarctiques françaises',
|
|
1903
|
+
iso2: 'tf',
|
|
1904
|
+
dialCode: '+262',
|
|
1905
|
+
format: '+262 ## ## ## ##',
|
|
1906
|
+
flag: 'https://flagcdn.com/w40/tf.png',
|
|
1907
|
+
phoneLength: 9
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
name: 'Saint Pierre and Miquelon',
|
|
1911
|
+
native: 'Saint-Pierre-et-Miquelon',
|
|
1912
|
+
iso2: 'pm',
|
|
1913
|
+
dialCode: '+508',
|
|
1914
|
+
format: '+508 ## ## ##',
|
|
1915
|
+
flag: 'https://flagcdn.com/w40/pm.png',
|
|
1916
|
+
phoneLength: 6
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
name: 'Antarctica',
|
|
1920
|
+
native: 'Antarctica',
|
|
1921
|
+
iso2: 'aq',
|
|
1922
|
+
dialCode: '+672',
|
|
1923
|
+
format: '+672 ### ####',
|
|
1924
|
+
flag: 'https://flagcdn.com/w40/aq.png',
|
|
1925
|
+
phoneLength: 7
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
name: 'Bouvet Island',
|
|
1929
|
+
native: 'Bouvetøya',
|
|
1930
|
+
iso2: 'bv',
|
|
1931
|
+
dialCode: '+47',
|
|
1932
|
+
format: '+47 ## ## ## ##',
|
|
1933
|
+
flag: 'https://flagcdn.com/w40/bv.png',
|
|
1934
|
+
phoneLength: 8
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
name: 'Svalbard and Jan Mayen',
|
|
1938
|
+
native: 'Svalbard og Jan Mayen',
|
|
1939
|
+
iso2: 'sj',
|
|
1940
|
+
dialCode: '+47',
|
|
1941
|
+
format: '+47 ## ## ## ##',
|
|
1942
|
+
flag: 'https://flagcdn.com/w40/sj.png',
|
|
1943
|
+
phoneLength: 8
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
name: 'Faroe Islands',
|
|
1947
|
+
native: 'Føroyar',
|
|
1948
|
+
iso2: 'fo',
|
|
1949
|
+
dialCode: '+298',
|
|
1950
|
+
format: '+298 ## ## ##',
|
|
1951
|
+
flag: 'https://flagcdn.com/w40/fo.png',
|
|
1952
|
+
phoneLength: 6
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
name: 'British Indian Ocean Territory',
|
|
1956
|
+
native: 'British Indian Ocean Territory',
|
|
1957
|
+
iso2: 'io',
|
|
1958
|
+
dialCode: '+246',
|
|
1959
|
+
format: '+246 ### ####',
|
|
1960
|
+
flag: 'https://flagcdn.com/w40/io.png',
|
|
1961
|
+
phoneLength: 7
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
name: 'Brunei Darussalam',
|
|
1965
|
+
native: 'Brunei Darussalam',
|
|
1966
|
+
iso2: 'bn',
|
|
1967
|
+
dialCode: '+673',
|
|
1968
|
+
format: '+673 #### ####',
|
|
1969
|
+
flag: 'https://flagcdn.com/w40/bn.png',
|
|
1970
|
+
phoneLength: 8
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
name: 'Cayman Islands',
|
|
1974
|
+
native: 'Cayman Islands',
|
|
1975
|
+
iso2: 'ky',
|
|
1976
|
+
dialCode: '+1 345',
|
|
1977
|
+
format: '+1 345 ### ####',
|
|
1978
|
+
flag: 'https://flagcdn.com/w40/ky.png',
|
|
1979
|
+
phoneLength: 10
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
name: 'Christmas Island',
|
|
1983
|
+
native: 'Christmas Island',
|
|
1984
|
+
iso2: 'cx',
|
|
1985
|
+
dialCode: '+61',
|
|
1986
|
+
format: '+61 # #### ####',
|
|
1987
|
+
flag: 'https://flagcdn.com/w40/cx.png',
|
|
1988
|
+
phoneLength: 9
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
name: 'Cocos (Keeling) Islands',
|
|
1992
|
+
native: 'Cocos (Keeling) Islands',
|
|
1993
|
+
iso2: 'cc',
|
|
1994
|
+
dialCode: '+61',
|
|
1995
|
+
format: '+61 # #### ####',
|
|
1996
|
+
flag: 'https://flagcdn.com/w40/cc.png',
|
|
1997
|
+
phoneLength: 9
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
name: 'COMOROS ISLANDS',
|
|
2001
|
+
native: 'Comoros',
|
|
2002
|
+
iso2: 'km',
|
|
2003
|
+
dialCode: '+269',
|
|
2004
|
+
format: '+269 ## ## ##',
|
|
2005
|
+
flag: 'https://flagcdn.com/w40/km.png',
|
|
2006
|
+
phoneLength: 6
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
name: 'Congo Kinshasa',
|
|
2010
|
+
native: 'Congo-Kinshasa',
|
|
2011
|
+
iso2: 'cd',
|
|
2012
|
+
dialCode: '+243',
|
|
2013
|
+
format: '+243 ## ### ####',
|
|
2014
|
+
flag: 'https://flagcdn.com/w40/cd.png',
|
|
2015
|
+
phoneLength: 9
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
name: 'COTE D IVOIRE',
|
|
2019
|
+
native: "Côte d'Ivoire",
|
|
2020
|
+
iso2: 'ci',
|
|
2021
|
+
dialCode: '+225',
|
|
2022
|
+
format: '+225 ## ### ###',
|
|
2023
|
+
flag: 'https://flagcdn.com/w40/ci.png',
|
|
2024
|
+
phoneLength: 8
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
name: 'Djibouti',
|
|
2028
|
+
native: 'Djibouti',
|
|
2029
|
+
iso2: 'dj',
|
|
2030
|
+
dialCode: '+253',
|
|
2031
|
+
format: '+253 ## ## ## ##',
|
|
2032
|
+
flag: 'https://flagcdn.com/w40/dj.png',
|
|
2033
|
+
phoneLength: 8
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
name: 'England',
|
|
2037
|
+
native: 'England',
|
|
2038
|
+
iso2: 'gb',
|
|
2039
|
+
dialCode: '+44',
|
|
2040
|
+
format: '+44 #### ### ###',
|
|
2041
|
+
flag: 'https://flagcdn.com/w40/gb.png',
|
|
2042
|
+
phoneLength: 10
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
name: 'Wales',
|
|
2046
|
+
native: 'Wales',
|
|
2047
|
+
iso2: 'gb',
|
|
2048
|
+
dialCode: '+44',
|
|
2049
|
+
format: '+44 #### ### ###',
|
|
2050
|
+
flag: 'https://flagcdn.com/w40/gb.png',
|
|
2051
|
+
phoneLength: 10
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
name: 'Scotland',
|
|
2055
|
+
native: 'Scotland',
|
|
2056
|
+
iso2: 'gb',
|
|
2057
|
+
dialCode: '+44',
|
|
2058
|
+
format: '+44 #### ### ###',
|
|
2059
|
+
flag: 'https://flagcdn.com/w40/gb.png',
|
|
2060
|
+
phoneLength: 10
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: 'Northern Ireland',
|
|
2064
|
+
native: 'Northern Ireland',
|
|
2065
|
+
iso2: 'gb',
|
|
2066
|
+
dialCode: '+44',
|
|
2067
|
+
format: '+44 #### ### ###',
|
|
2068
|
+
flag: 'https://flagcdn.com/w40/gb.png',
|
|
2069
|
+
phoneLength: 10
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
name: 'Vatican City',
|
|
2073
|
+
native: 'Città del Vaticano',
|
|
2074
|
+
iso2: 'va',
|
|
2075
|
+
dialCode: '+379',
|
|
2076
|
+
format: '+379 ### #####',
|
|
2077
|
+
flag: 'https://flagcdn.com/w40/va.png',
|
|
2078
|
+
phoneLength: 8
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
name: 'Saint Helena, Ascension and Tristan da Cunha',
|
|
2082
|
+
native: 'Saint Helena, Ascension and Tristan da Cunha',
|
|
2083
|
+
iso2: 'sh',
|
|
2084
|
+
dialCode: '+290',
|
|
2085
|
+
format: '+290 ## ####',
|
|
2086
|
+
flag: 'https://flagcdn.com/w40/sh.png',
|
|
2087
|
+
phoneLength: 6
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
name: 'Eritrea',
|
|
2091
|
+
native: 'ኤርትራ',
|
|
2092
|
+
iso2: 'er',
|
|
2093
|
+
dialCode: '+291',
|
|
2094
|
+
format: '+291 ## ### ###',
|
|
2095
|
+
flag: 'https://flagcdn.com/w40/er.png',
|
|
2096
|
+
phoneLength: 8
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
name: 'South Sudan',
|
|
2100
|
+
native: 'South Sudan',
|
|
2101
|
+
iso2: 'ss',
|
|
2102
|
+
dialCode: '+211',
|
|
2103
|
+
format: '+211 ## ### ####',
|
|
2104
|
+
flag: 'https://flagcdn.com/w40/ss.png',
|
|
2105
|
+
phoneLength: 9
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
name: 'Sao Tome and Principe',
|
|
2109
|
+
native: 'São Tomé e Príncipe',
|
|
2110
|
+
iso2: 'st',
|
|
2111
|
+
dialCode: '+239',
|
|
2112
|
+
format: '+239 ## #####',
|
|
2113
|
+
flag: 'https://flagcdn.com/w40/st.png',
|
|
2114
|
+
phoneLength: 7
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
name: 'Federated States of Micronesia',
|
|
2118
|
+
native: 'Micronesia',
|
|
2119
|
+
iso2: 'fm',
|
|
2120
|
+
dialCode: '+691',
|
|
2121
|
+
format: '+691 ### ####',
|
|
2122
|
+
flag: 'https://flagcdn.com/w40/fm.png',
|
|
2123
|
+
phoneLength: 7
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
name: 'Falkland Islands Malvinas',
|
|
2127
|
+
native: 'Falkland Islands (Malvinas)',
|
|
2128
|
+
iso2: 'fk',
|
|
2129
|
+
dialCode: '+500',
|
|
2130
|
+
format: '+500 ####',
|
|
2131
|
+
flag: 'https://flagcdn.com/w40/fk.png',
|
|
2132
|
+
phoneLength: 4
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
name: 'French Southern Territories',
|
|
2136
|
+
native: 'Terres australes françaises',
|
|
2137
|
+
iso2: 'tf',
|
|
2138
|
+
dialCode: '+262',
|
|
2139
|
+
format: '+262 ## ## ## ##',
|
|
2140
|
+
flag: 'https://flagcdn.com/w40/tf.png',
|
|
2141
|
+
phoneLength: 9
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
name: 'Heard Island and McDonald Islands',
|
|
2145
|
+
native: 'Heard Island and McDonald Islands',
|
|
2146
|
+
iso2: 'hm',
|
|
2147
|
+
dialCode: '+672',
|
|
2148
|
+
format: '+672 ### ####',
|
|
2149
|
+
flag: 'https://flagcdn.com/w40/hm.png',
|
|
2150
|
+
phoneLength: 7
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
name: 'Jersey',
|
|
2154
|
+
native: 'Jersey',
|
|
2155
|
+
iso2: 'je',
|
|
2156
|
+
dialCode: '+44',
|
|
2157
|
+
format: '+44 #### ### ###',
|
|
2158
|
+
flag: 'https://flagcdn.com/w40/je.png',
|
|
2159
|
+
phoneLength: 10
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
name: 'Guernsey',
|
|
2163
|
+
native: 'Guernsey',
|
|
2164
|
+
iso2: 'gg',
|
|
2165
|
+
dialCode: '+44',
|
|
2166
|
+
format: '+44 #### ### ###',
|
|
2167
|
+
flag: 'https://flagcdn.com/w40/gg.png',
|
|
2168
|
+
phoneLength: 10
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
name: 'Gibraltar',
|
|
2172
|
+
native: 'Gibraltar',
|
|
2173
|
+
iso2: 'gi',
|
|
2174
|
+
dialCode: '+350',
|
|
2175
|
+
format: '+350 #### ####',
|
|
2176
|
+
flag: 'https://flagcdn.com/w40/gi.png',
|
|
2177
|
+
phoneLength: 8
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
name: 'Holy See Vatican City State',
|
|
2181
|
+
native: 'Città del Vaticano',
|
|
2182
|
+
iso2: 'va',
|
|
2183
|
+
dialCode: '+379',
|
|
2184
|
+
format: '+379 ### #####',
|
|
2185
|
+
flag: 'https://flagcdn.com/w40/va.png',
|
|
2186
|
+
phoneLength: 8
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
name: 'Hong Kong SAR China',
|
|
2190
|
+
native: '香港',
|
|
2191
|
+
iso2: 'hk',
|
|
2192
|
+
dialCode: '+852',
|
|
2193
|
+
format: '+852 #### ####',
|
|
2194
|
+
flag: 'https://flagcdn.com/w40/hk.png',
|
|
2195
|
+
phoneLength: 8
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
name: 'Macao SAR China',
|
|
2199
|
+
native: '澳門',
|
|
2200
|
+
iso2: 'mo',
|
|
2201
|
+
dialCode: '+853',
|
|
2202
|
+
format: '+853 #### ####',
|
|
2203
|
+
flag: 'https://flagcdn.com/w40/mo.png',
|
|
2204
|
+
phoneLength: 8
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
name: 'Taiwan',
|
|
2208
|
+
native: '台灣',
|
|
2209
|
+
iso2: 'tw',
|
|
2210
|
+
dialCode: '+886',
|
|
2211
|
+
format: '+886 ## ### ####',
|
|
2212
|
+
flag: 'https://flagcdn.com/w40/tw.png',
|
|
2213
|
+
phoneLength: 9
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
name: 'Czechia',
|
|
2217
|
+
native: 'Česko',
|
|
2218
|
+
iso2: 'cz',
|
|
2219
|
+
dialCode: '+420',
|
|
2220
|
+
format: '+420 ### ### ###',
|
|
2221
|
+
flag: 'https://flagcdn.com/w40/cz.png',
|
|
2222
|
+
phoneLength: 9
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
name: 'Iran',
|
|
2226
|
+
native: 'ایران',
|
|
2227
|
+
iso2: 'ir',
|
|
2228
|
+
dialCode: '+98',
|
|
2229
|
+
format: '+98 ## ### ####',
|
|
2230
|
+
flag: 'https://flagcdn.com/w40/ir.png',
|
|
2231
|
+
phoneLength: 10
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
name: 'Isle of Man',
|
|
2235
|
+
native: 'Isle of Man',
|
|
2236
|
+
iso2: 'im',
|
|
2237
|
+
dialCode: '+44',
|
|
2238
|
+
format: '+44 #### ######',
|
|
2239
|
+
flag: 'https://flagcdn.com/w40/im.png',
|
|
2240
|
+
phoneLength: 10
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
name: 'Korea North',
|
|
2244
|
+
native: '조선민주주의인민공화국',
|
|
2245
|
+
iso2: 'kp',
|
|
2246
|
+
dialCode: '+850',
|
|
2247
|
+
format: '+850 ### ####',
|
|
2248
|
+
flag: 'https://flagcdn.com/w40/kp.png',
|
|
2249
|
+
phoneLength: 8
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
name: 'Libya',
|
|
2253
|
+
native: 'ليبيا',
|
|
2254
|
+
iso2: 'ly',
|
|
2255
|
+
dialCode: '+218',
|
|
2256
|
+
format: '+218 ##-###-###',
|
|
2257
|
+
flag: 'https://flagcdn.com/w40/ly.png',
|
|
2258
|
+
phoneLength: 9
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
name: 'Montenegro',
|
|
2262
|
+
native: 'Црна Гора',
|
|
2263
|
+
iso2: 'me',
|
|
2264
|
+
dialCode: '+382',
|
|
2265
|
+
format: '+382 ## ### ###',
|
|
2266
|
+
flag: 'https://flagcdn.com/w40/me.png',
|
|
2267
|
+
phoneLength: 8
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
name: 'Netherlands',
|
|
2271
|
+
native: 'Nederland',
|
|
2272
|
+
iso2: 'nl',
|
|
2273
|
+
dialCode: '+31',
|
|
2274
|
+
format: '+31 ## ### ####',
|
|
2275
|
+
flag: 'https://flagcdn.com/w40/nl.png',
|
|
2276
|
+
phoneLength: 9
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
name: 'Netherlands Antilles',
|
|
2280
|
+
native: 'Nederlandse Antillen',
|
|
2281
|
+
iso2: 'an',
|
|
2282
|
+
dialCode: '+599',
|
|
2283
|
+
format: '+599 ### ####',
|
|
2284
|
+
flag: 'https://flagcdn.com/w40/an.png',
|
|
2285
|
+
phoneLength: 7
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
name: 'Norfolk Island',
|
|
2289
|
+
native: 'Norfolk Island',
|
|
2290
|
+
iso2: 'nf',
|
|
2291
|
+
dialCode: '+672',
|
|
2292
|
+
format: '+672 3 ## ###',
|
|
2293
|
+
flag: 'https://flagcdn.com/w40/nf.png',
|
|
2294
|
+
phoneLength: 6
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
name: 'Pitcairn',
|
|
2298
|
+
native: 'Pitcairn Islands',
|
|
2299
|
+
iso2: 'pn',
|
|
2300
|
+
dialCode: '+64',
|
|
2301
|
+
format: '+64 ### ### ###',
|
|
2302
|
+
flag: 'https://flagcdn.com/w40/pn.png',
|
|
2303
|
+
phoneLength: 9
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
name: 'Poland',
|
|
2307
|
+
native: 'Polska',
|
|
2308
|
+
iso2: 'pl',
|
|
2309
|
+
dialCode: '+48',
|
|
2310
|
+
format: '+48 ## ### ####',
|
|
2311
|
+
flag: 'https://flagcdn.com/w40/pl.png',
|
|
2312
|
+
phoneLength: 9
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
name: 'REPUBLIC OF CHINA',
|
|
2316
|
+
native: '中華民國',
|
|
2317
|
+
iso2: 'tw',
|
|
2318
|
+
dialCode: '+886',
|
|
2319
|
+
format: '+886 # #### ####',
|
|
2320
|
+
flag: 'https://flagcdn.com/w40/tw.png',
|
|
2321
|
+
phoneLength: 9
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
name: 'Republic of Macedonia',
|
|
2325
|
+
native: 'Македонија',
|
|
2326
|
+
iso2: 'mk',
|
|
2327
|
+
dialCode: '+389',
|
|
2328
|
+
format: '+389 ## ### ###',
|
|
2329
|
+
flag: 'https://flagcdn.com/w40/mk.png',
|
|
2330
|
+
phoneLength: 8
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
name: 'Saint Barthelemy',
|
|
2334
|
+
native: 'Saint-Barthélemy',
|
|
2335
|
+
iso2: 'bl',
|
|
2336
|
+
dialCode: '+590',
|
|
2337
|
+
format: '+590 ### ## ## ##',
|
|
2338
|
+
flag: 'https://flagcdn.com/w40/bl.png',
|
|
2339
|
+
phoneLength: 9
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
name: 'Saint Martin French part',
|
|
2343
|
+
native: 'Saint-Martin',
|
|
2344
|
+
iso2: 'mf',
|
|
2345
|
+
dialCode: '+590',
|
|
2346
|
+
format: '+590 ### ## ## ##',
|
|
2347
|
+
flag: 'https://flagcdn.com/w40/mf.png',
|
|
2348
|
+
phoneLength: 9
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
name: 'Saint Vincent and Grenadines',
|
|
2352
|
+
native: 'Saint Vincent and the Grenadines',
|
|
2353
|
+
iso2: 'vc',
|
|
2354
|
+
dialCode: '+1-784',
|
|
2355
|
+
format: '+1 784 ### ####',
|
|
2356
|
+
flag: 'https://flagcdn.com/w40/vc.png',
|
|
2357
|
+
phoneLength: 10
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
name: 'Senegal',
|
|
2361
|
+
native: 'Sénégal',
|
|
2362
|
+
iso2: 'sn',
|
|
2363
|
+
dialCode: '+221',
|
|
2364
|
+
format: '+221 ## ### ####',
|
|
2365
|
+
flag: 'https://flagcdn.com/w40/sn.png',
|
|
2366
|
+
phoneLength: 9
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
name: 'Somalia',
|
|
2370
|
+
native: 'Soomaaliya',
|
|
2371
|
+
iso2: 'so',
|
|
2372
|
+
dialCode: '+252',
|
|
2373
|
+
format: '+252 ## ### ###',
|
|
2374
|
+
flag: 'https://flagcdn.com/w40/so.png',
|
|
2375
|
+
phoneLength: 8
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
name: 'South Georgia and the South Sandwich Islands',
|
|
2379
|
+
native: 'South Georgia and the South Sandwich Islands',
|
|
2380
|
+
iso2: 'gs',
|
|
2381
|
+
dialCode: '+500',
|
|
2382
|
+
format: '+500 ####',
|
|
2383
|
+
flag: 'https://flagcdn.com/w40/gs.png',
|
|
2384
|
+
phoneLength: 4
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
name: 'ST. KITTS & NEVIS',
|
|
2388
|
+
native: 'Saint Kitts and Nevis',
|
|
2389
|
+
iso2: 'kn',
|
|
2390
|
+
dialCode: '+1-869',
|
|
2391
|
+
format: '+1 869 ### ####',
|
|
2392
|
+
flag: 'https://flagcdn.com/w40/kn.png',
|
|
2393
|
+
phoneLength: 10
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
name: 'Swaziland',
|
|
2397
|
+
native: 'Eswatini',
|
|
2398
|
+
iso2: 'sz',
|
|
2399
|
+
dialCode: '+268',
|
|
2400
|
+
format: '+268 ## ## ####',
|
|
2401
|
+
flag: 'https://flagcdn.com/w40/sz.png',
|
|
2402
|
+
phoneLength: 8
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
name: 'Timor Leste',
|
|
2406
|
+
native: 'Timor-Leste',
|
|
2407
|
+
iso2: 'tl',
|
|
2408
|
+
dialCode: '+670',
|
|
2409
|
+
format: '+670 ### ####',
|
|
2410
|
+
flag: 'https://flagcdn.com/w40/tl.png',
|
|
2411
|
+
phoneLength: 7
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
name: 'Tunisia',
|
|
2415
|
+
native: 'تونس',
|
|
2416
|
+
iso2: 'tn',
|
|
2417
|
+
dialCode: '+216',
|
|
2418
|
+
format: '+216 ## ### ###',
|
|
2419
|
+
flag: 'https://flagcdn.com/w40/tn.png',
|
|
2420
|
+
phoneLength: 8
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
name: 'Uruguay',
|
|
2424
|
+
native: 'Uruguay',
|
|
2425
|
+
iso2: 'uy',
|
|
2426
|
+
dialCode: '+598',
|
|
2427
|
+
format: '+598 # ### ####',
|
|
2428
|
+
flag: 'https://flagcdn.com/w40/uy.png',
|
|
2429
|
+
phoneLength: 8
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
name: 'US Minor Outlying Islands',
|
|
2433
|
+
native: 'United States Minor Outlying Islands',
|
|
2434
|
+
iso2: 'um',
|
|
2435
|
+
dialCode: '+1',
|
|
2436
|
+
format: '+1 (###) ###-####',
|
|
2437
|
+
flag: 'https://flagcdn.com/w40/um.png',
|
|
2438
|
+
phoneLength: 10
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
name: 'Wallis and Futuna Islands',
|
|
2442
|
+
native: 'Wallis et Futuna',
|
|
2443
|
+
iso2: 'wf',
|
|
2444
|
+
dialCode: '+681',
|
|
2445
|
+
format: '+681 ## ####',
|
|
2446
|
+
flag: 'https://flagcdn.com/w40/wf.png',
|
|
2447
|
+
phoneLength: 6
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
name: 'Western Sahara',
|
|
2451
|
+
native: 'الصحراء الغربية',
|
|
2452
|
+
iso2: 'eh',
|
|
2453
|
+
dialCode: '+212',
|
|
2454
|
+
format: '+212 ## ######',
|
|
2455
|
+
flag: 'https://flagcdn.com/w40/eh.png',
|
|
2456
|
+
phoneLength: 8
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
name: 'Yugoslavia',
|
|
2460
|
+
native: 'Југославија',
|
|
2461
|
+
iso2: 'yu',
|
|
2462
|
+
dialCode: '+381',
|
|
2463
|
+
format: '+381 ## ### ####',
|
|
2464
|
+
flag: 'https://flagcdn.com/w40/yu.png',
|
|
2465
|
+
phoneLength: 9
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
name: 'Zaire',
|
|
2469
|
+
native: 'Zaïre',
|
|
2470
|
+
iso2: 'zr',
|
|
2471
|
+
dialCode: '+243',
|
|
2472
|
+
format: '+243 ## ### ####',
|
|
2473
|
+
flag: 'https://flagcdn.com/w40/cd.png',
|
|
2474
|
+
phoneLength: 9
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
name: 'Zanzibar',
|
|
2478
|
+
native: 'Zanzibar',
|
|
2479
|
+
iso2: 'tz',
|
|
2480
|
+
dialCode: '+255',
|
|
2481
|
+
format: '+255 ## ### ####',
|
|
2482
|
+
flag: 'https://flagcdn.com/w40/tz.png',
|
|
2483
|
+
phoneLength: 9
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
name: 'Åland Islands',
|
|
2487
|
+
native: 'Åland',
|
|
2488
|
+
iso2: 'ax',
|
|
2489
|
+
dialCode: '+358',
|
|
2490
|
+
format: '+358 ## ### ####',
|
|
2491
|
+
flag: 'https://flagcdn.com/w40/ax.png',
|
|
2492
|
+
phoneLength: 9
|
|
2493
|
+
}
|
|
2494
|
+
];
|
|
2495
|
+
|
|
2496
|
+
class PhoneInputComponent {
|
|
2497
|
+
constructor(eRef) {
|
|
2498
|
+
this.eRef = eRef;
|
|
2499
|
+
this.countriesList = [...countries].sort((a, b) => a.name.localeCompare(b.name));
|
|
2500
|
+
this.searchTerm = '';
|
|
2501
|
+
this.defaultCountry = '';
|
|
2502
|
+
this.placeholder = '';
|
|
2503
|
+
this.searchEnabled = true;
|
|
2504
|
+
this.numberFormat = 'international';
|
|
2505
|
+
this.setFirstCountry = '';
|
|
2506
|
+
this.phoneChange = new EventEmitter();
|
|
2507
|
+
this.phoneNumber = '';
|
|
2508
|
+
this.isInvalid = false;
|
|
2509
|
+
this.dropdownOpen = false;
|
|
2510
|
+
this.animating = false;
|
|
2511
|
+
this.selectedCountry = countries[0];
|
|
2512
|
+
this.onChange = () => { };
|
|
2513
|
+
this.onTouched = () => { };
|
|
2514
|
+
}
|
|
2515
|
+
ngOnInit() {
|
|
2516
|
+
if (this.defaultCountry) {
|
|
2517
|
+
const match = countries.find(c => c.iso2 === this.defaultCountry.toLowerCase());
|
|
2518
|
+
if (match)
|
|
2519
|
+
this.selectedCountry = match;
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
handleClickOutside(event) {
|
|
2523
|
+
if (!this.eRef.nativeElement.contains(event.target)) {
|
|
2524
|
+
this.dropdownOpen = false;
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
onAnimationDone(event) {
|
|
2528
|
+
if (!this.dropdownOpen) {
|
|
2529
|
+
this.animating = false;
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
toggleDropdown() {
|
|
2533
|
+
this.dropdownOpen = !this.dropdownOpen;
|
|
2534
|
+
this.animating = true;
|
|
2535
|
+
}
|
|
2536
|
+
onClickOutside(event) {
|
|
2537
|
+
if (!this.eRef.nativeElement.contains(event.target)) {
|
|
2538
|
+
this.dropdownOpen = false;
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
onSearchChange() {
|
|
2542
|
+
const term = this.searchTerm.toLowerCase();
|
|
2543
|
+
this.countriesList = countries
|
|
2544
|
+
.filter(c => c.name.toLowerCase().includes(term) ||
|
|
2545
|
+
(c.native?.toLowerCase().includes(term)))
|
|
2546
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
2547
|
+
}
|
|
2548
|
+
selectCountry(country) {
|
|
2549
|
+
this.selectedCountry = country;
|
|
2550
|
+
this.searchTerm = '';
|
|
2551
|
+
this.countriesList = countries;
|
|
2552
|
+
this.dropdownOpen = false;
|
|
2553
|
+
this.emitPhoneChange();
|
|
2554
|
+
}
|
|
2555
|
+
onPhoneInput() {
|
|
2556
|
+
this.emitPhoneChange();
|
|
2557
|
+
}
|
|
2558
|
+
emitPhoneChange() {
|
|
2559
|
+
const raw = this.phoneNumber || '';
|
|
2560
|
+
const digitsOnly = raw.replace(/\D/g, '');
|
|
2561
|
+
const hyphenCount = (raw.match(/-/g) || []).length;
|
|
2562
|
+
const spaceCount = (raw.match(/ /g) || []).length;
|
|
2563
|
+
const totalChars = this.phoneNumber.length;
|
|
2564
|
+
const maxAllowedLength = this.selectedCountry?.phoneLength + hyphenCount + spaceCount;
|
|
2565
|
+
if (digitsOnly.length !== this.selectedCountry?.phoneLength) {
|
|
2566
|
+
this.isInvalid = true;
|
|
2567
|
+
}
|
|
2568
|
+
else if (totalChars > maxAllowedLength) {
|
|
2569
|
+
this.isInvalid = true;
|
|
2570
|
+
}
|
|
2571
|
+
else {
|
|
2572
|
+
this.isInvalid = false;
|
|
2573
|
+
}
|
|
2574
|
+
const fullPhone = this.selectedCountry.dialCode + raw;
|
|
2575
|
+
const structuredValue = {
|
|
2576
|
+
e164Number: fullPhone,
|
|
2577
|
+
nationalNumber: raw,
|
|
2578
|
+
dialCode: this.selectedCountry.dialCode,
|
|
2579
|
+
countryCode: this.selectedCountry.iso2,
|
|
2580
|
+
isValid: !this.isInvalid,
|
|
2581
|
+
};
|
|
2582
|
+
this.onChange(structuredValue);
|
|
2583
|
+
this.phoneChange.emit(structuredValue);
|
|
2584
|
+
}
|
|
2585
|
+
writeValue(value) {
|
|
2586
|
+
if (value && value.dialCode && value.countryCode) {
|
|
2587
|
+
const match = countries.find(c => c.dialCode === value.dialCode && c.iso2 === value.countryCode);
|
|
2588
|
+
if (match) {
|
|
2589
|
+
this.selectedCountry = match;
|
|
2590
|
+
}
|
|
2591
|
+
else {
|
|
2592
|
+
this.selectedCountry = countries[0];
|
|
2593
|
+
}
|
|
2594
|
+
this.phoneNumber = value.nationalNumber || '';
|
|
2595
|
+
}
|
|
2596
|
+
else {
|
|
2597
|
+
this.selectedCountry = countries[0];
|
|
2598
|
+
this.phoneNumber = '';
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
registerOnChange(fn) {
|
|
2602
|
+
this.onChange = fn;
|
|
2603
|
+
}
|
|
2604
|
+
registerOnTouched(fn) {
|
|
2605
|
+
this.onTouched = fn;
|
|
2606
|
+
}
|
|
2607
|
+
allowPhoneCharacters(event) {
|
|
2608
|
+
const allowedChars = [' ', '-'];
|
|
2609
|
+
const charCode = event.charCode;
|
|
2610
|
+
// Allow digits 0–9
|
|
2611
|
+
if (charCode >= 48 && charCode <= 57)
|
|
2612
|
+
return;
|
|
2613
|
+
// Allow hyphen and space
|
|
2614
|
+
if (allowedChars.includes(event.key))
|
|
2615
|
+
return;
|
|
2616
|
+
event.preventDefault();
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
PhoneInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PhoneInputComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2620
|
+
PhoneInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PhoneInputComponent, selector: "phone-input", inputs: { defaultCountry: "defaultCountry", placeholder: "placeholder", searchEnabled: "searchEnabled", numberFormat: "numberFormat", setFirstCountry: "setFirstCountry" }, outputs: { phoneChange: "phoneChange" }, host: { listeners: { "document:click": "handleClickOutside($event)" } }, providers: [{
|
|
2621
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2622
|
+
useExisting: forwardRef(() => PhoneInputComponent),
|
|
2623
|
+
multi: true
|
|
2624
|
+
}], ngImport: i0, template: `<div class="phone-input-wrapper">
|
|
2625
|
+
<div class="input-container">
|
|
2626
|
+
<!-- Country Selector (20%) -->
|
|
2627
|
+
<div class="country-select" (click)="toggleDropdown()" (blur)="toggleDropdown()">
|
|
2628
|
+
<img [src]="selectedCountry.flag" width="20" />
|
|
2629
|
+
<span>{{selectedCountry.dialCode}}</span>
|
|
2630
|
+
<span class="arrow-down">▾</span>
|
|
2631
|
+
</div>
|
|
2632
|
+
|
|
2633
|
+
<!-- Phone Input (80%) -->
|
|
2634
|
+
<input
|
|
2635
|
+
type="tel"
|
|
2636
|
+
pattern="[0-9\\s\\-]*"
|
|
2637
|
+
inputmode="numeric"
|
|
2638
|
+
class="phone-input"
|
|
2639
|
+
[placeholder]="placeholder"
|
|
2640
|
+
[(ngModel)]="phoneNumber"
|
|
2641
|
+
[ngClass]="{ 'error-border': isInvalid }"
|
|
2642
|
+
(input)="onPhoneInput()"
|
|
2643
|
+
(keypress)="allowPhoneCharacters($event)"
|
|
2644
|
+
/>
|
|
2645
|
+
</div>
|
|
2646
|
+
|
|
2647
|
+
<!-- Dropdown Content (full width below) -->
|
|
2648
|
+
<div
|
|
2649
|
+
class="dropdown-content"
|
|
2650
|
+
[@dropdownAnimation]="dropdownOpen ? 'open' : 'closed'"
|
|
2651
|
+
*ngIf="dropdownOpen || animating"
|
|
2652
|
+
(@dropdownAnimation.done)="onAnimationDone($event)" >
|
|
2653
|
+
<input
|
|
2654
|
+
*ngIf="searchEnabled"
|
|
2655
|
+
type="text"
|
|
2656
|
+
class="search-box"
|
|
2657
|
+
placeholder="Search Country"
|
|
2658
|
+
[(ngModel)]="searchTerm"
|
|
2659
|
+
(input)="onSearchChange()"
|
|
2660
|
+
/>
|
|
2661
|
+
<div class="country-list">
|
|
2662
|
+
<div
|
|
2663
|
+
class="country-option"
|
|
2664
|
+
*ngFor="let country of countriesList"
|
|
2665
|
+
(click)="selectCountry(country)"
|
|
2666
|
+
>
|
|
2667
|
+
<img [src]="country.flag" width="20" />
|
|
2668
|
+
<span class="country-name">{{ country.name }} ({{ country.native }})</span>
|
|
2669
|
+
<span class="dial-code">{{ country.dialCode }}</span>
|
|
2670
|
+
</div>
|
|
2671
|
+
</div>
|
|
2672
|
+
</div>
|
|
2673
|
+
</div>
|
|
2674
|
+
|
|
2675
|
+
`, isInline: true, styles: [".phone-input-wrapper{position:relative;font-family:Arial,sans-serif}.input-container{display:flex;width:100%;padding-bottom:3px}.country-select{width:24%;display:flex;align-items:center;justify-content:space-between;border:1px solid #ccc;border-right:none;border-radius:4px 0 0 4px;padding:8px;cursor:pointer;background-color:#f8f8f8}.country-select img{margin-right:5px}.arrow-down{font-size:13px;color:#666}.arrow-down:after{display:none}.phone-input{width:80%;padding:8px 12px;border:1px solid #ccc;border-radius:0 4px 4px 0;outline:none}.dropdown-content{position:absolute;top:100%;left:0;width:100%;background:white;border:1px solid #ccc;border-radius:0 0 4px 4px;box-shadow:0 2px 4px #0000001a;z-index:1000;margin-top:-1px}.search-box{width:100%;padding:8px 12px;border:none;border-bottom:1px solid #eee;outline:none}.country-list{max-height:200px;overflow-y:auto}.country-option{display:flex;align-items:center;padding:8px 12px;cursor:pointer}.country-option:hover{background-color:#f5f5f5}.country-option img{margin-right:5px}.country-name{flex-grow:1}.dial-code{color:#666;font-size:.9em}input.error-border{border-color:red}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], animations: [
|
|
2676
|
+
trigger('dropdownAnimation', [
|
|
2677
|
+
state('open', style({
|
|
2678
|
+
opacity: 1,
|
|
2679
|
+
transform: 'scaleY(1)',
|
|
2680
|
+
height: '*',
|
|
2681
|
+
padding: '*'
|
|
2682
|
+
})),
|
|
2683
|
+
state('closed', style({
|
|
2684
|
+
opacity: 0,
|
|
2685
|
+
transform: 'scaleY(0)',
|
|
2686
|
+
height: '0px',
|
|
2687
|
+
padding: '0px'
|
|
2688
|
+
})),
|
|
2689
|
+
transition('closed => open', [
|
|
2690
|
+
animate('200ms ease-out')
|
|
2691
|
+
]),
|
|
2692
|
+
transition('open => closed', [
|
|
2693
|
+
animate('150ms ease-in')
|
|
2694
|
+
])
|
|
2695
|
+
])
|
|
2696
|
+
] });
|
|
2697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PhoneInputComponent, decorators: [{
|
|
2698
|
+
type: Component,
|
|
2699
|
+
args: [{ selector: 'phone-input', animations: [
|
|
2700
|
+
trigger('dropdownAnimation', [
|
|
2701
|
+
state('open', style({
|
|
2702
|
+
opacity: 1,
|
|
2703
|
+
transform: 'scaleY(1)',
|
|
2704
|
+
height: '*',
|
|
2705
|
+
padding: '*'
|
|
2706
|
+
})),
|
|
2707
|
+
state('closed', style({
|
|
1556
2708
|
opacity: 0,
|
|
1557
2709
|
transform: 'scaleY(0)',
|
|
1558
2710
|
height: '0px',
|
|
@@ -1667,4 +2819,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1667
2819
|
|
|
1668
2820
|
export { PhoneInputComponent, PhoneInputModule };
|
|
1669
2821
|
//# sourceMappingURL=ngx-dial-input.mjs.map
|
|
1670
|
-
//# sourceMappingURL=ngx-dial-input.mjs.map
|