@helpdice/ui 1.7.3 → 1.7.4
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/PhoneInput/index.d.ts +2 -0
- package/dist/PhoneInput/index.js +1999 -0
- package/dist/PhoneInput/phone.d.ts +11 -0
- package/dist/badge/index.js +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1409 -4
- package/dist/input/index.d.ts +1 -0
- package/dist/input/index.js +1 -0
- package/esm/PhoneInput/index.d.ts +2 -0
- package/esm/PhoneInput/index.js +2 -0
- package/esm/PhoneInput/phone.d.ts +11 -0
- package/esm/PhoneInput/phone.js +158 -0
- package/esm/badge/badge.js +4 -4
- package/esm/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/esm/input/index.d.ts +1 -0
- package/esm/input/index.js +1 -0
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -4,6 +4,8 @@ var React = require('react');
|
|
|
4
4
|
var reactDom = require('react-dom');
|
|
5
5
|
var reactDom$1 = require('@floating-ui/react-dom');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
var useTheme$1 = require('components/use-theme');
|
|
8
|
+
var styles = require('components/input/styles');
|
|
7
9
|
var reactSyntaxHighlighter = require('react-syntax-highlighter');
|
|
8
10
|
var prism = require('react-syntax-highlighter/dist/cjs/styles/prism');
|
|
9
11
|
var require$$0 = require('react-is');
|
|
@@ -12700,11 +12702,11 @@ var BadgeComponent = function BadgeComponent(_ref) {
|
|
|
12700
12702
|
dot: dot
|
|
12701
12703
|
}, className);
|
|
12702
12704
|
return /*#__PURE__*/React.createElement("span", _extends({}, props, {
|
|
12703
|
-
className: _JSXStyle.dynamic([["
|
|
12705
|
+
className: _JSXStyle.dynamic([["120113192", [bg, _color, SCALES.font(0.875), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0.25), SCALES.pr(0.5375), SCALES.pb(0.30), SCALES.pl(0.5375), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.py(0.25), SCALES.px(0.25)]]]) + " " + (props && props.className != null && props.className || classes || "")
|
|
12704
12706
|
}), !dot && children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
12705
|
-
id: "
|
|
12706
|
-
dynamic: [bg, _color, SCALES.font(0.875), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0.25), SCALES.pr(0.
|
|
12707
|
-
}, ".badge.__jsx-style-dynamic-selector{display:inline-block;border-radius:16px;font-variant:tabular-nums;line-height:1;vertical-align:middle;background-color:".concat(bg, ";color:").concat(_color, ";border:0;font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0.25), " ").concat(SCALES.pr(0.
|
|
12707
|
+
id: "120113192",
|
|
12708
|
+
dynamic: [bg, _color, SCALES.font(0.875), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0.25), SCALES.pr(0.5375), SCALES.pb(0.30), SCALES.pl(0.5375), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.py(0.25), SCALES.px(0.25)]
|
|
12709
|
+
}, ".badge.__jsx-style-dynamic-selector{display:inline-block;border-radius:16px;font-variant:tabular-nums;line-height:1;vertical-align:middle;background-color:".concat(bg, ";color:").concat(_color, ";border:0;font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0.25), " ").concat(SCALES.pr(0.5375), " ").concat(SCALES.pb(0.30), " ").concat(SCALES.pl(0.5375), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.dot.__jsx-style-dynamic-selector{padding:").concat(SCALES.py(0.25), " ").concat(SCALES.px(0.25), ";border-radius:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}")));
|
|
12708
12710
|
};
|
|
12709
12711
|
BadgeComponent.displayName = 'Badge';
|
|
12710
12712
|
var Badge = withScale(BadgeComponent);
|
|
@@ -35102,6 +35104,1407 @@ var Menu = function Menu(_ref) {
|
|
|
35102
35104
|
}) : children)));
|
|
35103
35105
|
};
|
|
35104
35106
|
|
|
35107
|
+
var countries = [
|
|
35108
|
+
{
|
|
35109
|
+
code: "AD",
|
|
35110
|
+
label: "Andorra",
|
|
35111
|
+
phone: "+376"
|
|
35112
|
+
},
|
|
35113
|
+
{
|
|
35114
|
+
code: "AE",
|
|
35115
|
+
label: "United Arab Emirates",
|
|
35116
|
+
phone: "+971"
|
|
35117
|
+
},
|
|
35118
|
+
{
|
|
35119
|
+
code: "AF",
|
|
35120
|
+
label: "Afghanistan",
|
|
35121
|
+
phone: "+93"
|
|
35122
|
+
},
|
|
35123
|
+
{
|
|
35124
|
+
code: "AG",
|
|
35125
|
+
label: "Antigua and Barbuda",
|
|
35126
|
+
phone: "+1-268"
|
|
35127
|
+
},
|
|
35128
|
+
{
|
|
35129
|
+
code: "AI",
|
|
35130
|
+
label: "Anguilla",
|
|
35131
|
+
phone: "+1-264"
|
|
35132
|
+
},
|
|
35133
|
+
{
|
|
35134
|
+
code: "AL",
|
|
35135
|
+
label: "Albania",
|
|
35136
|
+
phone: "+355"
|
|
35137
|
+
},
|
|
35138
|
+
{
|
|
35139
|
+
code: "AM",
|
|
35140
|
+
label: "Armenia",
|
|
35141
|
+
phone: "+374"
|
|
35142
|
+
},
|
|
35143
|
+
{
|
|
35144
|
+
code: "AO",
|
|
35145
|
+
label: "Angola",
|
|
35146
|
+
phone: "+244"
|
|
35147
|
+
},
|
|
35148
|
+
{
|
|
35149
|
+
code: "AQ",
|
|
35150
|
+
label: "Antarctica",
|
|
35151
|
+
phone: "+672"
|
|
35152
|
+
},
|
|
35153
|
+
{
|
|
35154
|
+
code: "AR",
|
|
35155
|
+
label: "Argentina",
|
|
35156
|
+
phone: "+54"
|
|
35157
|
+
},
|
|
35158
|
+
{
|
|
35159
|
+
code: "AS",
|
|
35160
|
+
label: "American Samoa",
|
|
35161
|
+
phone: "+1-684"
|
|
35162
|
+
},
|
|
35163
|
+
{
|
|
35164
|
+
code: "AT",
|
|
35165
|
+
label: "Austria",
|
|
35166
|
+
phone: "+43"
|
|
35167
|
+
},
|
|
35168
|
+
{
|
|
35169
|
+
code: "AU",
|
|
35170
|
+
label: "Australia",
|
|
35171
|
+
phone: "+61",
|
|
35172
|
+
suggested: true
|
|
35173
|
+
},
|
|
35174
|
+
{
|
|
35175
|
+
code: "AW",
|
|
35176
|
+
label: "Aruba",
|
|
35177
|
+
phone: "+297"
|
|
35178
|
+
},
|
|
35179
|
+
{
|
|
35180
|
+
code: "AX",
|
|
35181
|
+
label: "Alland Islands",
|
|
35182
|
+
phone: "+358"
|
|
35183
|
+
},
|
|
35184
|
+
{
|
|
35185
|
+
code: "AZ",
|
|
35186
|
+
label: "Azerbaijan",
|
|
35187
|
+
phone: "+994"
|
|
35188
|
+
},
|
|
35189
|
+
{
|
|
35190
|
+
code: "BA",
|
|
35191
|
+
label: "Bosnia and Herzegovina",
|
|
35192
|
+
phone: "+387"
|
|
35193
|
+
},
|
|
35194
|
+
{
|
|
35195
|
+
code: "BB",
|
|
35196
|
+
label: "Barbados",
|
|
35197
|
+
phone: "+1-246"
|
|
35198
|
+
},
|
|
35199
|
+
{
|
|
35200
|
+
code: "BD",
|
|
35201
|
+
label: "Bangladesh",
|
|
35202
|
+
phone: "+880"
|
|
35203
|
+
},
|
|
35204
|
+
{
|
|
35205
|
+
code: "BE",
|
|
35206
|
+
label: "Belgium",
|
|
35207
|
+
phone: "+32"
|
|
35208
|
+
},
|
|
35209
|
+
{
|
|
35210
|
+
code: "BF",
|
|
35211
|
+
label: "Burkina Faso",
|
|
35212
|
+
phone: "+226"
|
|
35213
|
+
},
|
|
35214
|
+
{
|
|
35215
|
+
code: "BG",
|
|
35216
|
+
label: "Bulgaria",
|
|
35217
|
+
phone: "+359"
|
|
35218
|
+
},
|
|
35219
|
+
{
|
|
35220
|
+
code: "BH",
|
|
35221
|
+
label: "Bahrain",
|
|
35222
|
+
phone: "+973"
|
|
35223
|
+
},
|
|
35224
|
+
{
|
|
35225
|
+
code: "BI",
|
|
35226
|
+
label: "Burundi",
|
|
35227
|
+
phone: "+257"
|
|
35228
|
+
},
|
|
35229
|
+
{
|
|
35230
|
+
code: "BJ",
|
|
35231
|
+
label: "Benin",
|
|
35232
|
+
phone: "+229"
|
|
35233
|
+
},
|
|
35234
|
+
{
|
|
35235
|
+
code: "BL",
|
|
35236
|
+
label: "Saint Barthelemy",
|
|
35237
|
+
phone: "+590"
|
|
35238
|
+
},
|
|
35239
|
+
{
|
|
35240
|
+
code: "BM",
|
|
35241
|
+
label: "Bermuda",
|
|
35242
|
+
phone: "+1-441"
|
|
35243
|
+
},
|
|
35244
|
+
{
|
|
35245
|
+
code: "BN",
|
|
35246
|
+
label: "Brunei Darussalam",
|
|
35247
|
+
phone: "+673"
|
|
35248
|
+
},
|
|
35249
|
+
{
|
|
35250
|
+
code: "BO",
|
|
35251
|
+
label: "Bolivia",
|
|
35252
|
+
phone: "+591"
|
|
35253
|
+
},
|
|
35254
|
+
{
|
|
35255
|
+
code: "BR",
|
|
35256
|
+
label: "Brazil",
|
|
35257
|
+
phone: "+55"
|
|
35258
|
+
},
|
|
35259
|
+
{
|
|
35260
|
+
code: "BS",
|
|
35261
|
+
label: "Bahamas",
|
|
35262
|
+
phone: "+1-242"
|
|
35263
|
+
},
|
|
35264
|
+
{
|
|
35265
|
+
code: "BT",
|
|
35266
|
+
label: "Bhutan",
|
|
35267
|
+
phone: "+975"
|
|
35268
|
+
},
|
|
35269
|
+
{
|
|
35270
|
+
code: "BV",
|
|
35271
|
+
label: "Bouvet Island",
|
|
35272
|
+
phone: "+47"
|
|
35273
|
+
},
|
|
35274
|
+
{
|
|
35275
|
+
code: "BW",
|
|
35276
|
+
label: "Botswana",
|
|
35277
|
+
phone: "+267"
|
|
35278
|
+
},
|
|
35279
|
+
{
|
|
35280
|
+
code: "BY",
|
|
35281
|
+
label: "Belarus",
|
|
35282
|
+
phone: "+375"
|
|
35283
|
+
},
|
|
35284
|
+
{
|
|
35285
|
+
code: "BZ",
|
|
35286
|
+
label: "Belize",
|
|
35287
|
+
phone: "+501"
|
|
35288
|
+
},
|
|
35289
|
+
{
|
|
35290
|
+
code: "CA",
|
|
35291
|
+
label: "Canada",
|
|
35292
|
+
phone: "+1",
|
|
35293
|
+
suggested: true
|
|
35294
|
+
},
|
|
35295
|
+
{
|
|
35296
|
+
code: "CC",
|
|
35297
|
+
label: "Cocos (Keeling) Islands",
|
|
35298
|
+
phone: "+61"
|
|
35299
|
+
},
|
|
35300
|
+
{
|
|
35301
|
+
code: "CD",
|
|
35302
|
+
label: "Congo, Democratic Republic of the",
|
|
35303
|
+
phone: "+243"
|
|
35304
|
+
},
|
|
35305
|
+
{
|
|
35306
|
+
code: "CF",
|
|
35307
|
+
label: "Central African Republic",
|
|
35308
|
+
phone: "+236"
|
|
35309
|
+
},
|
|
35310
|
+
{
|
|
35311
|
+
code: "CG",
|
|
35312
|
+
label: "Congo, Republic of the",
|
|
35313
|
+
phone: "+242"
|
|
35314
|
+
},
|
|
35315
|
+
{
|
|
35316
|
+
code: "CH",
|
|
35317
|
+
label: "Switzerland",
|
|
35318
|
+
phone: "+41"
|
|
35319
|
+
},
|
|
35320
|
+
{
|
|
35321
|
+
code: "CI",
|
|
35322
|
+
label: "Cote d'Ivoire",
|
|
35323
|
+
phone: "+225"
|
|
35324
|
+
},
|
|
35325
|
+
{
|
|
35326
|
+
code: "CK",
|
|
35327
|
+
label: "Cook Islands",
|
|
35328
|
+
phone: "+682"
|
|
35329
|
+
},
|
|
35330
|
+
{
|
|
35331
|
+
code: "CL",
|
|
35332
|
+
label: "Chile",
|
|
35333
|
+
phone: "+56"
|
|
35334
|
+
},
|
|
35335
|
+
{
|
|
35336
|
+
code: "CM",
|
|
35337
|
+
label: "Cameroon",
|
|
35338
|
+
phone: "+237"
|
|
35339
|
+
},
|
|
35340
|
+
{
|
|
35341
|
+
code: "CN",
|
|
35342
|
+
label: "China",
|
|
35343
|
+
phone: "+86"
|
|
35344
|
+
},
|
|
35345
|
+
{
|
|
35346
|
+
code: "CO",
|
|
35347
|
+
label: "Colombia",
|
|
35348
|
+
phone: "+57"
|
|
35349
|
+
},
|
|
35350
|
+
{
|
|
35351
|
+
code: "CR",
|
|
35352
|
+
label: "Costa Rica",
|
|
35353
|
+
phone: "+506"
|
|
35354
|
+
},
|
|
35355
|
+
{
|
|
35356
|
+
code: "CU",
|
|
35357
|
+
label: "Cuba",
|
|
35358
|
+
phone: "+53"
|
|
35359
|
+
},
|
|
35360
|
+
{
|
|
35361
|
+
code: "CV",
|
|
35362
|
+
label: "Cape Verde",
|
|
35363
|
+
phone: "+238"
|
|
35364
|
+
},
|
|
35365
|
+
{
|
|
35366
|
+
code: "CW",
|
|
35367
|
+
label: "Curacao",
|
|
35368
|
+
phone: "+599"
|
|
35369
|
+
},
|
|
35370
|
+
{
|
|
35371
|
+
code: "CX",
|
|
35372
|
+
label: "Christmas Island",
|
|
35373
|
+
phone: "+61"
|
|
35374
|
+
},
|
|
35375
|
+
{
|
|
35376
|
+
code: "CY",
|
|
35377
|
+
label: "Cyprus",
|
|
35378
|
+
phone: "+357"
|
|
35379
|
+
},
|
|
35380
|
+
{
|
|
35381
|
+
code: "CZ",
|
|
35382
|
+
label: "Czech Republic",
|
|
35383
|
+
phone: "+420"
|
|
35384
|
+
},
|
|
35385
|
+
{
|
|
35386
|
+
code: "DE",
|
|
35387
|
+
label: "Germany",
|
|
35388
|
+
phone: "+49",
|
|
35389
|
+
suggested: true
|
|
35390
|
+
},
|
|
35391
|
+
{
|
|
35392
|
+
code: "DJ",
|
|
35393
|
+
label: "Djibouti",
|
|
35394
|
+
phone: "+253"
|
|
35395
|
+
},
|
|
35396
|
+
{
|
|
35397
|
+
code: "DK",
|
|
35398
|
+
label: "Denmark",
|
|
35399
|
+
phone: "+45"
|
|
35400
|
+
},
|
|
35401
|
+
{
|
|
35402
|
+
code: "DM",
|
|
35403
|
+
label: "Dominica",
|
|
35404
|
+
phone: "+1-767"
|
|
35405
|
+
},
|
|
35406
|
+
{
|
|
35407
|
+
code: "DO",
|
|
35408
|
+
label: "Dominican Republic",
|
|
35409
|
+
phone: "+1-809"
|
|
35410
|
+
},
|
|
35411
|
+
{
|
|
35412
|
+
code: "DZ",
|
|
35413
|
+
label: "Algeria",
|
|
35414
|
+
phone: "+213"
|
|
35415
|
+
},
|
|
35416
|
+
{
|
|
35417
|
+
code: "EC",
|
|
35418
|
+
label: "Ecuador",
|
|
35419
|
+
phone: "+593"
|
|
35420
|
+
},
|
|
35421
|
+
{
|
|
35422
|
+
code: "EE",
|
|
35423
|
+
label: "Estonia",
|
|
35424
|
+
phone: "+372"
|
|
35425
|
+
},
|
|
35426
|
+
{
|
|
35427
|
+
code: "EG",
|
|
35428
|
+
label: "Egypt",
|
|
35429
|
+
phone: "+20"
|
|
35430
|
+
},
|
|
35431
|
+
{
|
|
35432
|
+
code: "EH",
|
|
35433
|
+
label: "Western Sahara",
|
|
35434
|
+
phone: "+212"
|
|
35435
|
+
},
|
|
35436
|
+
{
|
|
35437
|
+
code: "ER",
|
|
35438
|
+
label: "Eritrea",
|
|
35439
|
+
phone: "+291"
|
|
35440
|
+
},
|
|
35441
|
+
{
|
|
35442
|
+
code: "ES",
|
|
35443
|
+
label: "Spain",
|
|
35444
|
+
phone: "+34"
|
|
35445
|
+
},
|
|
35446
|
+
{
|
|
35447
|
+
code: "ET",
|
|
35448
|
+
label: "Ethiopia",
|
|
35449
|
+
phone: "+251"
|
|
35450
|
+
},
|
|
35451
|
+
{
|
|
35452
|
+
code: "FI",
|
|
35453
|
+
label: "Finland",
|
|
35454
|
+
phone: "+358"
|
|
35455
|
+
},
|
|
35456
|
+
{
|
|
35457
|
+
code: "FJ",
|
|
35458
|
+
label: "Fiji",
|
|
35459
|
+
phone: "+679"
|
|
35460
|
+
},
|
|
35461
|
+
{
|
|
35462
|
+
code: "FK",
|
|
35463
|
+
label: "Falkland Islands (Malvinas)",
|
|
35464
|
+
phone: "+500"
|
|
35465
|
+
},
|
|
35466
|
+
{
|
|
35467
|
+
code: "FM",
|
|
35468
|
+
label: "Micronesia, Federated States of",
|
|
35469
|
+
phone: "+691"
|
|
35470
|
+
},
|
|
35471
|
+
{
|
|
35472
|
+
code: "FO",
|
|
35473
|
+
label: "Faroe Islands",
|
|
35474
|
+
phone: "+298"
|
|
35475
|
+
},
|
|
35476
|
+
{
|
|
35477
|
+
code: "FR",
|
|
35478
|
+
label: "France",
|
|
35479
|
+
phone: "+33",
|
|
35480
|
+
suggested: true
|
|
35481
|
+
},
|
|
35482
|
+
{
|
|
35483
|
+
code: "GA",
|
|
35484
|
+
label: "Gabon",
|
|
35485
|
+
phone: "+241"
|
|
35486
|
+
},
|
|
35487
|
+
{
|
|
35488
|
+
code: "GB",
|
|
35489
|
+
label: "United Kingdom",
|
|
35490
|
+
phone: "+44"
|
|
35491
|
+
},
|
|
35492
|
+
{
|
|
35493
|
+
code: "GD",
|
|
35494
|
+
label: "Grenada",
|
|
35495
|
+
phone: "+1-473"
|
|
35496
|
+
},
|
|
35497
|
+
{
|
|
35498
|
+
code: "GE",
|
|
35499
|
+
label: "Georgia",
|
|
35500
|
+
phone: "+995"
|
|
35501
|
+
},
|
|
35502
|
+
{
|
|
35503
|
+
code: "GF",
|
|
35504
|
+
label: "French Guiana",
|
|
35505
|
+
phone: "+594"
|
|
35506
|
+
},
|
|
35507
|
+
{
|
|
35508
|
+
code: "GG",
|
|
35509
|
+
label: "Guernsey",
|
|
35510
|
+
phone: "+44"
|
|
35511
|
+
},
|
|
35512
|
+
{
|
|
35513
|
+
code: "GH",
|
|
35514
|
+
label: "Ghana",
|
|
35515
|
+
phone: "+233"
|
|
35516
|
+
},
|
|
35517
|
+
{
|
|
35518
|
+
code: "GI",
|
|
35519
|
+
label: "Gibraltar",
|
|
35520
|
+
phone: "+350"
|
|
35521
|
+
},
|
|
35522
|
+
{
|
|
35523
|
+
code: "GL",
|
|
35524
|
+
label: "Greenland",
|
|
35525
|
+
phone: "+299"
|
|
35526
|
+
},
|
|
35527
|
+
{
|
|
35528
|
+
code: "GM",
|
|
35529
|
+
label: "Gambia",
|
|
35530
|
+
phone: "+220"
|
|
35531
|
+
},
|
|
35532
|
+
{
|
|
35533
|
+
code: "GN",
|
|
35534
|
+
label: "Guinea",
|
|
35535
|
+
phone: "+224"
|
|
35536
|
+
},
|
|
35537
|
+
{
|
|
35538
|
+
code: "GP",
|
|
35539
|
+
label: "Guadeloupe",
|
|
35540
|
+
phone: "+590"
|
|
35541
|
+
},
|
|
35542
|
+
{
|
|
35543
|
+
code: "GQ",
|
|
35544
|
+
label: "Equatorial Guinea",
|
|
35545
|
+
phone: "+240"
|
|
35546
|
+
},
|
|
35547
|
+
{
|
|
35548
|
+
code: "GR",
|
|
35549
|
+
label: "Greece",
|
|
35550
|
+
phone: "+30"
|
|
35551
|
+
},
|
|
35552
|
+
{
|
|
35553
|
+
code: "GS",
|
|
35554
|
+
label: "South Georgia and the South Sandwich Islands",
|
|
35555
|
+
phone: "+500"
|
|
35556
|
+
},
|
|
35557
|
+
{
|
|
35558
|
+
code: "GT",
|
|
35559
|
+
label: "Guatemala",
|
|
35560
|
+
phone: "+502"
|
|
35561
|
+
},
|
|
35562
|
+
{
|
|
35563
|
+
code: "GU",
|
|
35564
|
+
label: "Guam",
|
|
35565
|
+
phone: "+1-671"
|
|
35566
|
+
},
|
|
35567
|
+
{
|
|
35568
|
+
code: "GW",
|
|
35569
|
+
label: "Guinea-Bissau",
|
|
35570
|
+
phone: "+245"
|
|
35571
|
+
},
|
|
35572
|
+
{
|
|
35573
|
+
code: "GY",
|
|
35574
|
+
label: "Guyana",
|
|
35575
|
+
phone: "+592"
|
|
35576
|
+
},
|
|
35577
|
+
{
|
|
35578
|
+
code: "HK",
|
|
35579
|
+
label: "Hong Kong",
|
|
35580
|
+
phone: "+852"
|
|
35581
|
+
},
|
|
35582
|
+
{
|
|
35583
|
+
code: "HM",
|
|
35584
|
+
label: "Heard Island and McDonald Islands",
|
|
35585
|
+
phone: "+672"
|
|
35586
|
+
},
|
|
35587
|
+
{
|
|
35588
|
+
code: "HN",
|
|
35589
|
+
label: "Honduras",
|
|
35590
|
+
phone: "+504"
|
|
35591
|
+
},
|
|
35592
|
+
{
|
|
35593
|
+
code: "HR",
|
|
35594
|
+
label: "Croatia",
|
|
35595
|
+
phone: "+385"
|
|
35596
|
+
},
|
|
35597
|
+
{
|
|
35598
|
+
code: "HT",
|
|
35599
|
+
label: "Haiti",
|
|
35600
|
+
phone: "+509"
|
|
35601
|
+
},
|
|
35602
|
+
{
|
|
35603
|
+
code: "HU",
|
|
35604
|
+
label: "Hungary",
|
|
35605
|
+
phone: "+36"
|
|
35606
|
+
},
|
|
35607
|
+
{
|
|
35608
|
+
code: "ID",
|
|
35609
|
+
label: "Indonesia",
|
|
35610
|
+
phone: "+62"
|
|
35611
|
+
},
|
|
35612
|
+
{
|
|
35613
|
+
code: "IE",
|
|
35614
|
+
label: "Ireland",
|
|
35615
|
+
phone: "+353"
|
|
35616
|
+
},
|
|
35617
|
+
{
|
|
35618
|
+
code: "IL",
|
|
35619
|
+
label: "Israel",
|
|
35620
|
+
phone: "+972"
|
|
35621
|
+
},
|
|
35622
|
+
{
|
|
35623
|
+
code: "IM",
|
|
35624
|
+
label: "Isle of Man",
|
|
35625
|
+
phone: "+44"
|
|
35626
|
+
},
|
|
35627
|
+
{
|
|
35628
|
+
code: "IN",
|
|
35629
|
+
label: "India",
|
|
35630
|
+
phone: "+91"
|
|
35631
|
+
},
|
|
35632
|
+
{
|
|
35633
|
+
code: "IO",
|
|
35634
|
+
label: "British Indian Ocean Territory",
|
|
35635
|
+
phone: "+246"
|
|
35636
|
+
},
|
|
35637
|
+
{
|
|
35638
|
+
code: "IQ",
|
|
35639
|
+
label: "Iraq",
|
|
35640
|
+
phone: "+964"
|
|
35641
|
+
},
|
|
35642
|
+
{
|
|
35643
|
+
code: "IR",
|
|
35644
|
+
label: "Iran, Islamic Republic of",
|
|
35645
|
+
phone: "+98"
|
|
35646
|
+
},
|
|
35647
|
+
{
|
|
35648
|
+
code: "IS",
|
|
35649
|
+
label: "Iceland",
|
|
35650
|
+
phone: "+354"
|
|
35651
|
+
},
|
|
35652
|
+
{
|
|
35653
|
+
code: "IT",
|
|
35654
|
+
label: "Italy",
|
|
35655
|
+
phone: "+39"
|
|
35656
|
+
},
|
|
35657
|
+
{
|
|
35658
|
+
code: "JE",
|
|
35659
|
+
label: "Jersey",
|
|
35660
|
+
phone: "+44"
|
|
35661
|
+
},
|
|
35662
|
+
{
|
|
35663
|
+
code: "JM",
|
|
35664
|
+
label: "Jamaica",
|
|
35665
|
+
phone: "+1-876"
|
|
35666
|
+
},
|
|
35667
|
+
{
|
|
35668
|
+
code: "JO",
|
|
35669
|
+
label: "Jordan",
|
|
35670
|
+
phone: "+962"
|
|
35671
|
+
},
|
|
35672
|
+
{
|
|
35673
|
+
code: "JP",
|
|
35674
|
+
label: "Japan",
|
|
35675
|
+
phone: "+81",
|
|
35676
|
+
suggested: true
|
|
35677
|
+
},
|
|
35678
|
+
{
|
|
35679
|
+
code: "KE",
|
|
35680
|
+
label: "Kenya",
|
|
35681
|
+
phone: "+254"
|
|
35682
|
+
},
|
|
35683
|
+
{
|
|
35684
|
+
code: "KG",
|
|
35685
|
+
label: "Kyrgyzstan",
|
|
35686
|
+
phone: "+996"
|
|
35687
|
+
},
|
|
35688
|
+
{
|
|
35689
|
+
code: "KH",
|
|
35690
|
+
label: "Cambodia",
|
|
35691
|
+
phone: "+855"
|
|
35692
|
+
},
|
|
35693
|
+
{
|
|
35694
|
+
code: "KI",
|
|
35695
|
+
label: "Kiribati",
|
|
35696
|
+
phone: "+686"
|
|
35697
|
+
},
|
|
35698
|
+
{
|
|
35699
|
+
code: "KM",
|
|
35700
|
+
label: "Comoros",
|
|
35701
|
+
phone: "+269"
|
|
35702
|
+
},
|
|
35703
|
+
{
|
|
35704
|
+
code: "KN",
|
|
35705
|
+
label: "Saint Kitts and Nevis",
|
|
35706
|
+
phone: "+1-869"
|
|
35707
|
+
},
|
|
35708
|
+
{
|
|
35709
|
+
code: "KP",
|
|
35710
|
+
label: "Korea, Democratic People's Republic of",
|
|
35711
|
+
phone: "+850"
|
|
35712
|
+
},
|
|
35713
|
+
{
|
|
35714
|
+
code: "KR",
|
|
35715
|
+
label: "Korea, Republic of",
|
|
35716
|
+
phone: "+82"
|
|
35717
|
+
},
|
|
35718
|
+
{
|
|
35719
|
+
code: "KW",
|
|
35720
|
+
label: "Kuwait",
|
|
35721
|
+
phone: "+965"
|
|
35722
|
+
},
|
|
35723
|
+
{
|
|
35724
|
+
code: "KY",
|
|
35725
|
+
label: "Cayman Islands",
|
|
35726
|
+
phone: "+1-345"
|
|
35727
|
+
},
|
|
35728
|
+
{
|
|
35729
|
+
code: "KZ",
|
|
35730
|
+
label: "Kazakhstan",
|
|
35731
|
+
phone: "+7"
|
|
35732
|
+
},
|
|
35733
|
+
{
|
|
35734
|
+
code: "LA",
|
|
35735
|
+
label: "Lao People's Democratic Republic",
|
|
35736
|
+
phone: "+856"
|
|
35737
|
+
},
|
|
35738
|
+
{
|
|
35739
|
+
code: "LB",
|
|
35740
|
+
label: "Lebanon",
|
|
35741
|
+
phone: "+961"
|
|
35742
|
+
},
|
|
35743
|
+
{
|
|
35744
|
+
code: "LC",
|
|
35745
|
+
label: "Saint Lucia",
|
|
35746
|
+
phone: "+1-758"
|
|
35747
|
+
},
|
|
35748
|
+
{
|
|
35749
|
+
code: "LI",
|
|
35750
|
+
label: "Liechtenstein",
|
|
35751
|
+
phone: "+423"
|
|
35752
|
+
},
|
|
35753
|
+
{
|
|
35754
|
+
code: "LK",
|
|
35755
|
+
label: "Sri Lanka",
|
|
35756
|
+
phone: "+94"
|
|
35757
|
+
},
|
|
35758
|
+
{
|
|
35759
|
+
code: "LR",
|
|
35760
|
+
label: "Liberia",
|
|
35761
|
+
phone: "+231"
|
|
35762
|
+
},
|
|
35763
|
+
{
|
|
35764
|
+
code: "LS",
|
|
35765
|
+
label: "Lesotho",
|
|
35766
|
+
phone: "+266"
|
|
35767
|
+
},
|
|
35768
|
+
{
|
|
35769
|
+
code: "LT",
|
|
35770
|
+
label: "Lithuania",
|
|
35771
|
+
phone: "+370"
|
|
35772
|
+
},
|
|
35773
|
+
{
|
|
35774
|
+
code: "LU",
|
|
35775
|
+
label: "Luxembourg",
|
|
35776
|
+
phone: "+352"
|
|
35777
|
+
},
|
|
35778
|
+
{
|
|
35779
|
+
code: "LV",
|
|
35780
|
+
label: "Latvia",
|
|
35781
|
+
phone: "+371"
|
|
35782
|
+
},
|
|
35783
|
+
{
|
|
35784
|
+
code: "LY",
|
|
35785
|
+
label: "Libya",
|
|
35786
|
+
phone: "+218"
|
|
35787
|
+
},
|
|
35788
|
+
{
|
|
35789
|
+
code: "MA",
|
|
35790
|
+
label: "Morocco",
|
|
35791
|
+
phone: "+212"
|
|
35792
|
+
},
|
|
35793
|
+
{
|
|
35794
|
+
code: "MC",
|
|
35795
|
+
label: "Monaco",
|
|
35796
|
+
phone: "+377"
|
|
35797
|
+
},
|
|
35798
|
+
{
|
|
35799
|
+
code: "MD",
|
|
35800
|
+
label: "Moldova, Republic of",
|
|
35801
|
+
phone: "+373"
|
|
35802
|
+
},
|
|
35803
|
+
{
|
|
35804
|
+
code: "ME",
|
|
35805
|
+
label: "Montenegro",
|
|
35806
|
+
phone: "+382"
|
|
35807
|
+
},
|
|
35808
|
+
{
|
|
35809
|
+
code: "MF",
|
|
35810
|
+
label: "Saint Martin (French part)",
|
|
35811
|
+
phone: "+590"
|
|
35812
|
+
},
|
|
35813
|
+
{
|
|
35814
|
+
code: "MG",
|
|
35815
|
+
label: "Madagascar",
|
|
35816
|
+
phone: "+261"
|
|
35817
|
+
},
|
|
35818
|
+
{
|
|
35819
|
+
code: "MH",
|
|
35820
|
+
label: "Marshall Islands",
|
|
35821
|
+
phone: "+692"
|
|
35822
|
+
},
|
|
35823
|
+
{
|
|
35824
|
+
code: "MK",
|
|
35825
|
+
label: "Macedonia, the Former Yugoslav Republic of",
|
|
35826
|
+
phone: "+389"
|
|
35827
|
+
},
|
|
35828
|
+
{
|
|
35829
|
+
code: "ML",
|
|
35830
|
+
label: "Mali",
|
|
35831
|
+
phone: "+223"
|
|
35832
|
+
},
|
|
35833
|
+
{
|
|
35834
|
+
code: "MM",
|
|
35835
|
+
label: "Myanmar",
|
|
35836
|
+
phone: "+95"
|
|
35837
|
+
},
|
|
35838
|
+
{
|
|
35839
|
+
code: "MN",
|
|
35840
|
+
label: "Mongolia",
|
|
35841
|
+
phone: "+976"
|
|
35842
|
+
},
|
|
35843
|
+
{
|
|
35844
|
+
code: "MO",
|
|
35845
|
+
label: "Macao",
|
|
35846
|
+
phone: "+853"
|
|
35847
|
+
},
|
|
35848
|
+
{
|
|
35849
|
+
code: "MP",
|
|
35850
|
+
label: "Northern Mariana Islands",
|
|
35851
|
+
phone: "+1-670"
|
|
35852
|
+
},
|
|
35853
|
+
{
|
|
35854
|
+
code: "MQ",
|
|
35855
|
+
label: "Martinique",
|
|
35856
|
+
phone: "+596"
|
|
35857
|
+
},
|
|
35858
|
+
{
|
|
35859
|
+
code: "MR",
|
|
35860
|
+
label: "Mauritania",
|
|
35861
|
+
phone: "+222"
|
|
35862
|
+
},
|
|
35863
|
+
{
|
|
35864
|
+
code: "MS",
|
|
35865
|
+
label: "Montserrat",
|
|
35866
|
+
phone: "+1-664"
|
|
35867
|
+
},
|
|
35868
|
+
{
|
|
35869
|
+
code: "MT",
|
|
35870
|
+
label: "Malta",
|
|
35871
|
+
phone: "+356"
|
|
35872
|
+
},
|
|
35873
|
+
{
|
|
35874
|
+
code: "MU",
|
|
35875
|
+
label: "Mauritius",
|
|
35876
|
+
phone: "+230"
|
|
35877
|
+
},
|
|
35878
|
+
{
|
|
35879
|
+
code: "MV",
|
|
35880
|
+
label: "Maldives",
|
|
35881
|
+
phone: "+960"
|
|
35882
|
+
},
|
|
35883
|
+
{
|
|
35884
|
+
code: "MW",
|
|
35885
|
+
label: "Malawi",
|
|
35886
|
+
phone: "+265"
|
|
35887
|
+
},
|
|
35888
|
+
{
|
|
35889
|
+
code: "MX",
|
|
35890
|
+
label: "Mexico",
|
|
35891
|
+
phone: "+52"
|
|
35892
|
+
},
|
|
35893
|
+
{
|
|
35894
|
+
code: "MY",
|
|
35895
|
+
label: "Malaysia",
|
|
35896
|
+
phone: "+60"
|
|
35897
|
+
},
|
|
35898
|
+
{
|
|
35899
|
+
code: "MZ",
|
|
35900
|
+
label: "Mozambique",
|
|
35901
|
+
phone: "+258"
|
|
35902
|
+
},
|
|
35903
|
+
{
|
|
35904
|
+
code: "NA",
|
|
35905
|
+
label: "Namibia",
|
|
35906
|
+
phone: "+264"
|
|
35907
|
+
},
|
|
35908
|
+
{
|
|
35909
|
+
code: "NC",
|
|
35910
|
+
label: "New Caledonia",
|
|
35911
|
+
phone: "+687"
|
|
35912
|
+
},
|
|
35913
|
+
{
|
|
35914
|
+
code: "NE",
|
|
35915
|
+
label: "Niger",
|
|
35916
|
+
phone: "+227"
|
|
35917
|
+
},
|
|
35918
|
+
{
|
|
35919
|
+
code: "NF",
|
|
35920
|
+
label: "Norfolk Island",
|
|
35921
|
+
phone: "+672"
|
|
35922
|
+
},
|
|
35923
|
+
{
|
|
35924
|
+
code: "NG",
|
|
35925
|
+
label: "Nigeria",
|
|
35926
|
+
phone: "+234"
|
|
35927
|
+
},
|
|
35928
|
+
{
|
|
35929
|
+
code: "NI",
|
|
35930
|
+
label: "Nicaragua",
|
|
35931
|
+
phone: "+505"
|
|
35932
|
+
},
|
|
35933
|
+
{
|
|
35934
|
+
code: "NL",
|
|
35935
|
+
label: "Netherlands",
|
|
35936
|
+
phone: "+31"
|
|
35937
|
+
},
|
|
35938
|
+
{
|
|
35939
|
+
code: "NO",
|
|
35940
|
+
label: "Norway",
|
|
35941
|
+
phone: "+47"
|
|
35942
|
+
},
|
|
35943
|
+
{
|
|
35944
|
+
code: "NP",
|
|
35945
|
+
label: "Nepal",
|
|
35946
|
+
phone: "+977"
|
|
35947
|
+
},
|
|
35948
|
+
{
|
|
35949
|
+
code: "NR",
|
|
35950
|
+
label: "Nauru",
|
|
35951
|
+
phone: "+674"
|
|
35952
|
+
},
|
|
35953
|
+
{
|
|
35954
|
+
code: "NU",
|
|
35955
|
+
label: "Niue",
|
|
35956
|
+
phone: "+683"
|
|
35957
|
+
},
|
|
35958
|
+
{
|
|
35959
|
+
code: "NZ",
|
|
35960
|
+
label: "New Zealand",
|
|
35961
|
+
phone: "+64"
|
|
35962
|
+
},
|
|
35963
|
+
{
|
|
35964
|
+
code: "OM",
|
|
35965
|
+
label: "Oman",
|
|
35966
|
+
phone: "+968"
|
|
35967
|
+
},
|
|
35968
|
+
{
|
|
35969
|
+
code: "PA",
|
|
35970
|
+
label: "Panama",
|
|
35971
|
+
phone: "+507"
|
|
35972
|
+
},
|
|
35973
|
+
{
|
|
35974
|
+
code: "PE",
|
|
35975
|
+
label: "Peru",
|
|
35976
|
+
phone: "+51"
|
|
35977
|
+
},
|
|
35978
|
+
{
|
|
35979
|
+
code: "PF",
|
|
35980
|
+
label: "French Polynesia",
|
|
35981
|
+
phone: "+689"
|
|
35982
|
+
},
|
|
35983
|
+
{
|
|
35984
|
+
code: "PG",
|
|
35985
|
+
label: "Papua New Guinea",
|
|
35986
|
+
phone: "+675"
|
|
35987
|
+
},
|
|
35988
|
+
{
|
|
35989
|
+
code: "PH",
|
|
35990
|
+
label: "Philippines",
|
|
35991
|
+
phone: "+63"
|
|
35992
|
+
},
|
|
35993
|
+
{
|
|
35994
|
+
code: "PK",
|
|
35995
|
+
label: "Pakistan",
|
|
35996
|
+
phone: "+92"
|
|
35997
|
+
},
|
|
35998
|
+
{
|
|
35999
|
+
code: "PL",
|
|
36000
|
+
label: "Poland",
|
|
36001
|
+
phone: "+48"
|
|
36002
|
+
},
|
|
36003
|
+
{
|
|
36004
|
+
code: "PM",
|
|
36005
|
+
label: "Saint Pierre and Miquelon",
|
|
36006
|
+
phone: "+508"
|
|
36007
|
+
},
|
|
36008
|
+
{
|
|
36009
|
+
code: "PN",
|
|
36010
|
+
label: "Pitcairn",
|
|
36011
|
+
phone: "+870"
|
|
36012
|
+
},
|
|
36013
|
+
{
|
|
36014
|
+
code: "PR",
|
|
36015
|
+
label: "Puerto Rico",
|
|
36016
|
+
phone: "+1"
|
|
36017
|
+
},
|
|
36018
|
+
{
|
|
36019
|
+
code: "PS",
|
|
36020
|
+
label: "Palestine, State of",
|
|
36021
|
+
phone: "+970"
|
|
36022
|
+
},
|
|
36023
|
+
{
|
|
36024
|
+
code: "PT",
|
|
36025
|
+
label: "Portugal",
|
|
36026
|
+
phone: "+351"
|
|
36027
|
+
},
|
|
36028
|
+
{
|
|
36029
|
+
code: "PW",
|
|
36030
|
+
label: "Palau",
|
|
36031
|
+
phone: "+680"
|
|
36032
|
+
},
|
|
36033
|
+
{
|
|
36034
|
+
code: "PY",
|
|
36035
|
+
label: "Paraguay",
|
|
36036
|
+
phone: "+595"
|
|
36037
|
+
},
|
|
36038
|
+
{
|
|
36039
|
+
code: "QA",
|
|
36040
|
+
label: "Qatar",
|
|
36041
|
+
phone: "+974"
|
|
36042
|
+
},
|
|
36043
|
+
{
|
|
36044
|
+
code: "RE",
|
|
36045
|
+
label: "Reunion",
|
|
36046
|
+
phone: "+262"
|
|
36047
|
+
},
|
|
36048
|
+
{
|
|
36049
|
+
code: "RO",
|
|
36050
|
+
label: "Romania",
|
|
36051
|
+
phone: "+40"
|
|
36052
|
+
},
|
|
36053
|
+
{
|
|
36054
|
+
code: "RS",
|
|
36055
|
+
label: "Serbia",
|
|
36056
|
+
phone: "+381"
|
|
36057
|
+
},
|
|
36058
|
+
{
|
|
36059
|
+
code: "RU",
|
|
36060
|
+
label: "Russian Federation",
|
|
36061
|
+
phone: "+7"
|
|
36062
|
+
},
|
|
36063
|
+
{
|
|
36064
|
+
code: "RW",
|
|
36065
|
+
label: "Rwanda",
|
|
36066
|
+
phone: "+250"
|
|
36067
|
+
},
|
|
36068
|
+
{
|
|
36069
|
+
code: "SA",
|
|
36070
|
+
label: "Saudi Arabia",
|
|
36071
|
+
phone: "+966"
|
|
36072
|
+
},
|
|
36073
|
+
{
|
|
36074
|
+
code: "SB",
|
|
36075
|
+
label: "Solomon Islands",
|
|
36076
|
+
phone: "+677"
|
|
36077
|
+
},
|
|
36078
|
+
{
|
|
36079
|
+
code: "SC",
|
|
36080
|
+
label: "Seychelles",
|
|
36081
|
+
phone: "+248"
|
|
36082
|
+
},
|
|
36083
|
+
{
|
|
36084
|
+
code: "SD",
|
|
36085
|
+
label: "Sudan",
|
|
36086
|
+
phone: "+249"
|
|
36087
|
+
},
|
|
36088
|
+
{
|
|
36089
|
+
code: "SE",
|
|
36090
|
+
label: "Sweden",
|
|
36091
|
+
phone: "+46"
|
|
36092
|
+
},
|
|
36093
|
+
{
|
|
36094
|
+
code: "SG",
|
|
36095
|
+
label: "Singapore",
|
|
36096
|
+
phone: "+65"
|
|
36097
|
+
},
|
|
36098
|
+
{
|
|
36099
|
+
code: "SH",
|
|
36100
|
+
label: "Saint Helena",
|
|
36101
|
+
phone: "+290"
|
|
36102
|
+
},
|
|
36103
|
+
{
|
|
36104
|
+
code: "SI",
|
|
36105
|
+
label: "Slovenia",
|
|
36106
|
+
phone: "+386"
|
|
36107
|
+
},
|
|
36108
|
+
{
|
|
36109
|
+
code: "SJ",
|
|
36110
|
+
label: "Svalbard and Jan Mayen",
|
|
36111
|
+
phone: "+47"
|
|
36112
|
+
},
|
|
36113
|
+
{
|
|
36114
|
+
code: "SK",
|
|
36115
|
+
label: "Slovakia",
|
|
36116
|
+
phone: "+421"
|
|
36117
|
+
},
|
|
36118
|
+
{
|
|
36119
|
+
code: "SL",
|
|
36120
|
+
label: "Sierra Leone",
|
|
36121
|
+
phone: "+232"
|
|
36122
|
+
},
|
|
36123
|
+
{
|
|
36124
|
+
code: "SM",
|
|
36125
|
+
label: "San Marino",
|
|
36126
|
+
phone: "+378"
|
|
36127
|
+
},
|
|
36128
|
+
{
|
|
36129
|
+
code: "SN",
|
|
36130
|
+
label: "Senegal",
|
|
36131
|
+
phone: "+221"
|
|
36132
|
+
},
|
|
36133
|
+
{
|
|
36134
|
+
code: "SO",
|
|
36135
|
+
label: "Somalia",
|
|
36136
|
+
phone: "+252"
|
|
36137
|
+
},
|
|
36138
|
+
{
|
|
36139
|
+
code: "SR",
|
|
36140
|
+
label: "Suriname",
|
|
36141
|
+
phone: "+597"
|
|
36142
|
+
},
|
|
36143
|
+
{
|
|
36144
|
+
code: "SS",
|
|
36145
|
+
label: "South Sudan",
|
|
36146
|
+
phone: "+211"
|
|
36147
|
+
},
|
|
36148
|
+
{
|
|
36149
|
+
code: "ST",
|
|
36150
|
+
label: "Sao Tome and Principe",
|
|
36151
|
+
phone: "+239"
|
|
36152
|
+
},
|
|
36153
|
+
{
|
|
36154
|
+
code: "SV",
|
|
36155
|
+
label: "El Salvador",
|
|
36156
|
+
phone: "+503"
|
|
36157
|
+
},
|
|
36158
|
+
{
|
|
36159
|
+
code: "SX",
|
|
36160
|
+
label: "Sint Maarten (Dutch part)",
|
|
36161
|
+
phone: "+1-721"
|
|
36162
|
+
},
|
|
36163
|
+
{
|
|
36164
|
+
code: "SY",
|
|
36165
|
+
label: "Syrian Arab Republic",
|
|
36166
|
+
phone: "+963"
|
|
36167
|
+
},
|
|
36168
|
+
{
|
|
36169
|
+
code: "SZ",
|
|
36170
|
+
label: "Swaziland",
|
|
36171
|
+
phone: "+268"
|
|
36172
|
+
},
|
|
36173
|
+
{
|
|
36174
|
+
code: "TC",
|
|
36175
|
+
label: "Turks and Caicos Islands",
|
|
36176
|
+
phone: "+1-649"
|
|
36177
|
+
},
|
|
36178
|
+
{
|
|
36179
|
+
code: "TD",
|
|
36180
|
+
label: "Chad",
|
|
36181
|
+
phone: "+235"
|
|
36182
|
+
},
|
|
36183
|
+
{
|
|
36184
|
+
code: "TF",
|
|
36185
|
+
label: "French Southern Territories",
|
|
36186
|
+
phone: "+262"
|
|
36187
|
+
},
|
|
36188
|
+
{
|
|
36189
|
+
code: "TG",
|
|
36190
|
+
label: "Togo",
|
|
36191
|
+
phone: "+228"
|
|
36192
|
+
},
|
|
36193
|
+
{
|
|
36194
|
+
code: "TH",
|
|
36195
|
+
label: "Thailand",
|
|
36196
|
+
phone: "+66"
|
|
36197
|
+
},
|
|
36198
|
+
{
|
|
36199
|
+
code: "TJ",
|
|
36200
|
+
label: "Tajikistan",
|
|
36201
|
+
phone: "+992"
|
|
36202
|
+
},
|
|
36203
|
+
{
|
|
36204
|
+
code: "TK",
|
|
36205
|
+
label: "Tokelau",
|
|
36206
|
+
phone: "+690"
|
|
36207
|
+
},
|
|
36208
|
+
{
|
|
36209
|
+
code: "TL",
|
|
36210
|
+
label: "Timor-Leste",
|
|
36211
|
+
phone: "+670"
|
|
36212
|
+
},
|
|
36213
|
+
{
|
|
36214
|
+
code: "TM",
|
|
36215
|
+
label: "Turkmenistan",
|
|
36216
|
+
phone: "+993"
|
|
36217
|
+
},
|
|
36218
|
+
{
|
|
36219
|
+
code: "TN",
|
|
36220
|
+
label: "Tunisia",
|
|
36221
|
+
phone: "+216"
|
|
36222
|
+
},
|
|
36223
|
+
{
|
|
36224
|
+
code: "TO",
|
|
36225
|
+
label: "Tonga",
|
|
36226
|
+
phone: "+676"
|
|
36227
|
+
},
|
|
36228
|
+
{
|
|
36229
|
+
code: "TR",
|
|
36230
|
+
label: "Turkey",
|
|
36231
|
+
phone: "+90"
|
|
36232
|
+
},
|
|
36233
|
+
{
|
|
36234
|
+
code: "TT",
|
|
36235
|
+
label: "Trinidad and Tobago",
|
|
36236
|
+
phone: "+1-868"
|
|
36237
|
+
},
|
|
36238
|
+
{
|
|
36239
|
+
code: "TV",
|
|
36240
|
+
label: "Tuvalu",
|
|
36241
|
+
phone: "+688"
|
|
36242
|
+
},
|
|
36243
|
+
{
|
|
36244
|
+
code: "TW",
|
|
36245
|
+
label: "Taiwan, Province of China",
|
|
36246
|
+
phone: "+886"
|
|
36247
|
+
},
|
|
36248
|
+
{
|
|
36249
|
+
code: "TZ",
|
|
36250
|
+
label: "United Republic of Tanzania",
|
|
36251
|
+
phone: "+255"
|
|
36252
|
+
},
|
|
36253
|
+
{
|
|
36254
|
+
code: "UA",
|
|
36255
|
+
label: "Ukraine",
|
|
36256
|
+
phone: "+380"
|
|
36257
|
+
},
|
|
36258
|
+
{
|
|
36259
|
+
code: "UG",
|
|
36260
|
+
label: "Uganda",
|
|
36261
|
+
phone: "+256"
|
|
36262
|
+
},
|
|
36263
|
+
{
|
|
36264
|
+
code: "US",
|
|
36265
|
+
label: "United States",
|
|
36266
|
+
phone: "+1",
|
|
36267
|
+
suggested: true
|
|
36268
|
+
},
|
|
36269
|
+
{
|
|
36270
|
+
code: "UY",
|
|
36271
|
+
label: "Uruguay",
|
|
36272
|
+
phone: "+598"
|
|
36273
|
+
},
|
|
36274
|
+
{
|
|
36275
|
+
code: "UZ",
|
|
36276
|
+
label: "Uzbekistan",
|
|
36277
|
+
phone: "+998"
|
|
36278
|
+
},
|
|
36279
|
+
{
|
|
36280
|
+
code: "VA",
|
|
36281
|
+
label: "Holy See (Vatican City State)",
|
|
36282
|
+
phone: "+379"
|
|
36283
|
+
},
|
|
36284
|
+
{
|
|
36285
|
+
code: "VC",
|
|
36286
|
+
label: "Saint Vincent and the Grenadines",
|
|
36287
|
+
phone: "+1-784"
|
|
36288
|
+
},
|
|
36289
|
+
{
|
|
36290
|
+
code: "VE",
|
|
36291
|
+
label: "Venezuela",
|
|
36292
|
+
phone: "+58"
|
|
36293
|
+
},
|
|
36294
|
+
{
|
|
36295
|
+
code: "VG",
|
|
36296
|
+
label: "British Virgin Islands",
|
|
36297
|
+
phone: "+1-284"
|
|
36298
|
+
},
|
|
36299
|
+
{
|
|
36300
|
+
code: "VI",
|
|
36301
|
+
label: "US Virgin Islands",
|
|
36302
|
+
phone: "+1-340"
|
|
36303
|
+
},
|
|
36304
|
+
{
|
|
36305
|
+
code: "VN",
|
|
36306
|
+
label: "Vietnam",
|
|
36307
|
+
phone: "+84"
|
|
36308
|
+
},
|
|
36309
|
+
{
|
|
36310
|
+
code: "VU",
|
|
36311
|
+
label: "Vanuatu",
|
|
36312
|
+
phone: "+678"
|
|
36313
|
+
},
|
|
36314
|
+
{
|
|
36315
|
+
code: "WF",
|
|
36316
|
+
label: "Wallis and Futuna",
|
|
36317
|
+
phone: "+681"
|
|
36318
|
+
},
|
|
36319
|
+
{
|
|
36320
|
+
code: "WS",
|
|
36321
|
+
label: "Samoa",
|
|
36322
|
+
phone: "+685"
|
|
36323
|
+
},
|
|
36324
|
+
{
|
|
36325
|
+
code: "XK",
|
|
36326
|
+
label: "Kosovo",
|
|
36327
|
+
phone: "+383"
|
|
36328
|
+
},
|
|
36329
|
+
{
|
|
36330
|
+
code: "YE",
|
|
36331
|
+
label: "Yemen",
|
|
36332
|
+
phone: "+967"
|
|
36333
|
+
},
|
|
36334
|
+
{
|
|
36335
|
+
code: "YT",
|
|
36336
|
+
label: "Mayotte",
|
|
36337
|
+
phone: "+262"
|
|
36338
|
+
},
|
|
36339
|
+
{
|
|
36340
|
+
code: "ZA",
|
|
36341
|
+
label: "South Africa",
|
|
36342
|
+
phone: "+27"
|
|
36343
|
+
},
|
|
36344
|
+
{
|
|
36345
|
+
code: "ZM",
|
|
36346
|
+
label: "Zambia",
|
|
36347
|
+
phone: "+260"
|
|
36348
|
+
},
|
|
36349
|
+
{
|
|
36350
|
+
code: "ZW",
|
|
36351
|
+
label: "Zimbabwe",
|
|
36352
|
+
phone: "+263"
|
|
36353
|
+
}
|
|
36354
|
+
];
|
|
36355
|
+
|
|
36356
|
+
var PhoneInput = function PhoneInput(_ref) {
|
|
36357
|
+
var onChange = _ref.onChange,
|
|
36358
|
+
_ref$value = _ref.value,
|
|
36359
|
+
value = _ref$value === void 0 ? '' : _ref$value,
|
|
36360
|
+
country = _ref.country,
|
|
36361
|
+
_ref$placeholder = _ref.placeholder,
|
|
36362
|
+
placeholder = _ref$placeholder === void 0 ? 'Enter phone number' : _ref$placeholder,
|
|
36363
|
+
_ref$color = _ref.color,
|
|
36364
|
+
_color = _ref$color === void 0 ? 'default' : _ref$color;
|
|
36365
|
+
var theme = useTheme$1();
|
|
36366
|
+
var defaultValue = country ? countries.findIndex(function (cn) {
|
|
36367
|
+
return cn.code == country;
|
|
36368
|
+
}) : 103;
|
|
36369
|
+
var _useState = React.useState(countries[defaultValue]),
|
|
36370
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
36371
|
+
selectedCountry = _useState2[0],
|
|
36372
|
+
setSelectedCountry = _useState2[1];
|
|
36373
|
+
var _useState3 = React.useState(value),
|
|
36374
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
36375
|
+
phoneNumber = _useState4[0],
|
|
36376
|
+
setPhoneNumber = _useState4[1];
|
|
36377
|
+
var _useState5 = React.useState(false),
|
|
36378
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
36379
|
+
isFocused = _useState6[0],
|
|
36380
|
+
setIsFocused = _useState6[1];
|
|
36381
|
+
var _useState7 = React.useState(false),
|
|
36382
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
36383
|
+
dropdownOpen = _useState8[0],
|
|
36384
|
+
setDropdownOpen = _useState8[1];
|
|
36385
|
+
var _useState9 = React.useState(''),
|
|
36386
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
36387
|
+
searchTerm = _useState0[0],
|
|
36388
|
+
setSearchTerm = _useState0[1];
|
|
36389
|
+
var dropdownRef = React.useRef(null);
|
|
36390
|
+
var _useMemo = React.useMemo(function () {
|
|
36391
|
+
return styles.getColors(theme.palette, _color);
|
|
36392
|
+
}, [theme.palette]),
|
|
36393
|
+
borderColor = _useMemo.borderColor,
|
|
36394
|
+
hoverBorder = _useMemo.hoverBorder;
|
|
36395
|
+
var handleSelectCountry = function handleSelectCountry(country) {
|
|
36396
|
+
setSelectedCountry(country);
|
|
36397
|
+
setDropdownOpen(false);
|
|
36398
|
+
setSearchTerm('');
|
|
36399
|
+
if (onChange) onChange("".concat(country.code, ":").concat(phoneNumber));
|
|
36400
|
+
};
|
|
36401
|
+
var handlePhoneChange = function handlePhoneChange(e) {
|
|
36402
|
+
var value = e.target.value.replace(/[^\d]/g, '');
|
|
36403
|
+
setPhoneNumber(value);
|
|
36404
|
+
if (onChange) onChange("".concat(selectedCountry.code).concat(value));
|
|
36405
|
+
};
|
|
36406
|
+
var handleClickOutside = function handleClickOutside(e) {
|
|
36407
|
+
if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {
|
|
36408
|
+
setDropdownOpen(false);
|
|
36409
|
+
setSearchTerm('');
|
|
36410
|
+
}
|
|
36411
|
+
};
|
|
36412
|
+
React.useEffect(function () {
|
|
36413
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
36414
|
+
return function () {
|
|
36415
|
+
return document.removeEventListener('mousedown', handleClickOutside);
|
|
36416
|
+
};
|
|
36417
|
+
}, []);
|
|
36418
|
+
var filteredCountries = countries.filter(function (c) {
|
|
36419
|
+
return "".concat(c.label, " ").concat(c.code, " ").concat(c.phone).toLowerCase().includes(searchTerm.toLowerCase());
|
|
36420
|
+
});
|
|
36421
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36422
|
+
ref: dropdownRef,
|
|
36423
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "phone-input-container ".concat(isFocused ? 'focused' : '')
|
|
36424
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36425
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "input-wrapper"
|
|
36426
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36427
|
+
onClick: function onClick() {
|
|
36428
|
+
return setDropdownOpen(!dropdownOpen);
|
|
36429
|
+
},
|
|
36430
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "dropdown-toggle"
|
|
36431
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
36432
|
+
style: {
|
|
36433
|
+
display: 'flex',
|
|
36434
|
+
alignItems: 'center',
|
|
36435
|
+
gap: 5
|
|
36436
|
+
},
|
|
36437
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36438
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
36439
|
+
loading: "lazy",
|
|
36440
|
+
width: "23",
|
|
36441
|
+
height: "23",
|
|
36442
|
+
src: "https://flagcdn.com/w20/".concat(selectedCountry.code.toLowerCase(), ".png"),
|
|
36443
|
+
srcSet: "https://flagcdn.com/w40/".concat(selectedCountry.code.toLowerCase(), ".png 2x"),
|
|
36444
|
+
alt: "Flag of ".concat(selectedCountry.label),
|
|
36445
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36446
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
36447
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36448
|
+
}, selectedCountry.phone))), /*#__PURE__*/React.createElement("input", {
|
|
36449
|
+
type: "tel",
|
|
36450
|
+
placeholder: placeholder,
|
|
36451
|
+
value: phoneNumber,
|
|
36452
|
+
onChange: handlePhoneChange,
|
|
36453
|
+
onFocus: function onFocus() {
|
|
36454
|
+
return setIsFocused(true);
|
|
36455
|
+
},
|
|
36456
|
+
onBlur: function onBlur() {
|
|
36457
|
+
return setIsFocused(false);
|
|
36458
|
+
},
|
|
36459
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "phone-input"
|
|
36460
|
+
})), dropdownOpen && /*#__PURE__*/React.createElement("div", {
|
|
36461
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "dropdown"
|
|
36462
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
36463
|
+
type: "text",
|
|
36464
|
+
placeholder: "Search country...",
|
|
36465
|
+
value: searchTerm,
|
|
36466
|
+
onChange: function onChange(e) {
|
|
36467
|
+
return setSearchTerm(e.target.value);
|
|
36468
|
+
},
|
|
36469
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "search-input"
|
|
36470
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
36471
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "country-list"
|
|
36472
|
+
}, filteredCountries.length > 0 ? filteredCountries.map(function (c) {
|
|
36473
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36474
|
+
key: c.code,
|
|
36475
|
+
onClick: function onClick() {
|
|
36476
|
+
return handleSelectCountry(c);
|
|
36477
|
+
},
|
|
36478
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "dropdown-item"
|
|
36479
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
36480
|
+
style: {
|
|
36481
|
+
display: 'flex',
|
|
36482
|
+
alignItems: 'center',
|
|
36483
|
+
gap: 5
|
|
36484
|
+
},
|
|
36485
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36486
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
36487
|
+
loading: "lazy",
|
|
36488
|
+
width: "23",
|
|
36489
|
+
height: "23",
|
|
36490
|
+
src: "https://flagcdn.com/w20/".concat(c.code.toLowerCase(), ".png"),
|
|
36491
|
+
srcSet: "https://flagcdn.com/w40/".concat(c.code.toLowerCase(), ".png 2x"),
|
|
36492
|
+
alt: "Flag of ".concat(c.label),
|
|
36493
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36494
|
+
}), c.phone, " ", /*#__PURE__*/React.createElement("span", {
|
|
36495
|
+
style: {
|
|
36496
|
+
color: 'grey'
|
|
36497
|
+
},
|
|
36498
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]])
|
|
36499
|
+
}, c.label)));
|
|
36500
|
+
}) : /*#__PURE__*/React.createElement("div", {
|
|
36501
|
+
className: _JSXStyle.dynamic([["785147617", [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']]]) + " " + "dropdown-item disabled"
|
|
36502
|
+
}, "No results"))), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
36503
|
+
id: "785147617",
|
|
36504
|
+
dynamic: [hoverBorder, borderColor, borderColor, theme.type == 'dark' ? 'black' : 'white', borderColor, borderColor, theme.type == 'dark' ? '#3a3d3d' : '#efefef']
|
|
36505
|
+
}, ".phone-input-container.__jsx-style-dynamic-selector{position:relative;max-width:400px;}.phone-input-container.focused.__jsx-style-dynamic-selector{outline:1px solid ".concat(hoverBorder, ";border-radius:6px;}.input-wrapper.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid ").concat(borderColor, ";border-radius:6px;overflow:hidden;}.dropdown-toggle.__jsx-style-dynamic-selector{padding:7px 12px;border-radius:6px 0px 0px 6px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;border-right:1px solid ").concat(borderColor, ";}.phone-input.__jsx-style-dynamic-selector{-webkit-flex:1;-ms-flex:1;flex:1;padding:5px 10px;height:35px;background-color:transparent;font-size:14px;border:none;}.phone-input.__jsx-style-dynamic-selector:focus{outline:none;}.dropdown.__jsx-style-dynamic-selector{position:absolute;top:100%;left:0;width:100%;background:").concat(theme.type == 'dark' ? 'black' : 'white', ";border:1px solid ").concat(borderColor, ";border-radius:6px;margin-top:4px;z-index:999;box-shadow:0 4px 10px rgba(0,0,0,0.1);}.search-input.__jsx-style-dynamic-selector{width:100%;padding:8px 10px;border:none;background-color:transparent;border-bottom:1px solid ").concat(borderColor, ";font-size:14px;}.search-input.__jsx-style-dynamic-selector:focus{outline:none;}.country-list.__jsx-style-dynamic-selector{max-height:200px;overflow-y:auto;}.dropdown-item.__jsx-style-dynamic-selector{padding:10px;cursor:pointer;font-size:14px;}.dropdown-item.__jsx-style-dynamic-selector:hover{background:").concat(theme.type == 'dark' ? '#3a3d3d' : '#efefef', ";}.dropdown-item.disabled.__jsx-style-dynamic-selector{color:#888;cursor:default;}")));
|
|
36506
|
+
};
|
|
36507
|
+
|
|
35105
36508
|
var _excluded$m = ["value", "max", "className", "type", "colors", "fixedTop", "fixedBottom"];
|
|
35106
36509
|
var getCurrentColor = function getCurrentColor(ratio, palette, type) {
|
|
35107
36510
|
var colors = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
@@ -57668,6 +59071,7 @@ exports.Modal = Modal;
|
|
|
57668
59071
|
exports.Note = Note;
|
|
57669
59072
|
exports.Page = Page;
|
|
57670
59073
|
exports.Pagination = Pagination;
|
|
59074
|
+
exports.PhoneInput = PhoneInput;
|
|
57671
59075
|
exports.Popover = Popover;
|
|
57672
59076
|
exports.Progress = Progress;
|
|
57673
59077
|
exports.Radio = Radio;
|
|
@@ -57694,6 +59098,7 @@ exports.User = User;
|
|
|
57694
59098
|
exports.buildStyles = buildStyles;
|
|
57695
59099
|
exports.connect = connect;
|
|
57696
59100
|
exports.getActiveElement = getActiveElement;
|
|
59101
|
+
exports.getColors = getColors$8;
|
|
57697
59102
|
exports.getIn = getIn;
|
|
57698
59103
|
exports.isEmptyArray = isEmptyArray;
|
|
57699
59104
|
exports.isEmptyChildren = isEmptyChildren;
|