@mui/x-data-grid-generator 8.0.0-beta.2 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/CHANGELOG.md +423 -96
  2. package/columns/commodities.columns.js +1 -1
  3. package/columns/employees.columns.js +1 -0
  4. package/constants/prompts.d.ts +1 -1
  5. package/constants/prompts.js +8 -4
  6. package/esm/columns/commodities.columns.js +1 -1
  7. package/esm/columns/employees.columns.js +1 -0
  8. package/esm/constants/prompts.d.ts +1 -1
  9. package/esm/constants/prompts.js +8 -4
  10. package/esm/hooks/serverUtils.js +15 -7
  11. package/esm/hooks/useDemoData.js +2 -2
  12. package/esm/hooks/useMockServer.d.ts +2 -2
  13. package/esm/hooks/useMockServer.js +64 -12
  14. package/esm/hooks/useQuery.d.ts +6 -3
  15. package/esm/index.js +1 -1
  16. package/esm/renderer/renderCountry.d.ts +1 -2
  17. package/esm/renderer/renderCountry.js +3 -0
  18. package/esm/services/prompt-resolver.d.ts +2 -2
  19. package/esm/services/prompt-resolver.js +3 -2
  20. package/hooks/serverUtils.js +15 -7
  21. package/hooks/useDemoData.js +2 -2
  22. package/hooks/useMockServer.d.ts +2 -2
  23. package/hooks/useMockServer.js +64 -12
  24. package/hooks/useQuery.d.ts +6 -3
  25. package/index.js +1 -1
  26. package/package.json +9 -18
  27. package/renderer/renderCountry.d.ts +1 -2
  28. package/renderer/renderCountry.js +3 -0
  29. package/services/prompt-resolver.d.ts +2 -2
  30. package/services/prompt-resolver.js +3 -2
  31. package/modern/columns/commodities.columns.d.ts +0 -2
  32. package/modern/columns/commodities.columns.js +0 -231
  33. package/modern/columns/employees.columns.d.ts +0 -2
  34. package/modern/columns/employees.columns.js +0 -134
  35. package/modern/columns/index.d.ts +0 -2
  36. package/modern/columns/index.js +0 -2
  37. package/modern/constants/prompts.d.ts +0 -2
  38. package/modern/constants/prompts.js +0 -49
  39. package/modern/hooks/index.d.ts +0 -8
  40. package/modern/hooks/index.js +0 -6
  41. package/modern/hooks/serverUtils.d.ts +0 -61
  42. package/modern/hooks/serverUtils.js +0 -527
  43. package/modern/hooks/useBasicDemoData.d.ts +0 -2
  44. package/modern/hooks/useBasicDemoData.js +0 -5
  45. package/modern/hooks/useDemoData.d.ts +0 -30
  46. package/modern/hooks/useDemoData.js +0 -159
  47. package/modern/hooks/useMockServer.d.ts +0 -31
  48. package/modern/hooks/useMockServer.js +0 -265
  49. package/modern/hooks/useMovieData.d.ts +0 -21
  50. package/modern/hooks/useMovieData.js +0 -500
  51. package/modern/hooks/useQuery.d.ts +0 -169
  52. package/modern/hooks/useQuery.js +0 -84
  53. package/modern/index.d.ts +0 -4
  54. package/modern/index.js +0 -11
  55. package/modern/package.json +0 -1
  56. package/modern/renderer/index.d.ts +0 -16
  57. package/modern/renderer/index.js +0 -16
  58. package/modern/renderer/renderAvatar.d.ts +0 -6
  59. package/modern/renderer/renderAvatar.js +0 -14
  60. package/modern/renderer/renderCountry.d.ts +0 -4
  61. package/modern/renderer/renderCountry.js +0 -57
  62. package/modern/renderer/renderEditCountry.d.ts +0 -4
  63. package/modern/renderer/renderEditCountry.js +0 -80
  64. package/modern/renderer/renderEditCurrency.d.ts +0 -3
  65. package/modern/renderer/renderEditCurrency.js +0 -78
  66. package/modern/renderer/renderEditIncoterm.d.ts +0 -3
  67. package/modern/renderer/renderEditIncoterm.js +0 -75
  68. package/modern/renderer/renderEditProgress.d.ts +0 -3
  69. package/modern/renderer/renderEditProgress.js +0 -109
  70. package/modern/renderer/renderEditRating.d.ts +0 -3
  71. package/modern/renderer/renderEditRating.js +0 -68
  72. package/modern/renderer/renderEditStatus.d.ts +0 -3
  73. package/modern/renderer/renderEditStatus.js +0 -98
  74. package/modern/renderer/renderEmail.d.ts +0 -3
  75. package/modern/renderer/renderEmail.js +0 -11
  76. package/modern/renderer/renderIncoterm.d.ts +0 -3
  77. package/modern/renderer/renderIncoterm.js +0 -40
  78. package/modern/renderer/renderLink.d.ts +0 -10
  79. package/modern/renderer/renderLink.js +0 -31
  80. package/modern/renderer/renderPnl.d.ts +0 -3
  81. package/modern/renderer/renderPnl.js +0 -41
  82. package/modern/renderer/renderProgress.d.ts +0 -3
  83. package/modern/renderer/renderProgress.js +0 -70
  84. package/modern/renderer/renderRating.d.ts +0 -3
  85. package/modern/renderer/renderRating.js +0 -38
  86. package/modern/renderer/renderStatus.d.ts +0 -3
  87. package/modern/renderer/renderStatus.js +0 -74
  88. package/modern/renderer/renderTotalPrice.d.ts +0 -3
  89. package/modern/renderer/renderTotalPrice.js +0 -49
  90. package/modern/services/asyncWorker.d.ts +0 -11
  91. package/modern/services/asyncWorker.js +0 -27
  92. package/modern/services/basic-data-service.d.ts +0 -13
  93. package/modern/services/basic-data-service.js +0 -37
  94. package/modern/services/gridColDefGenerator.d.ts +0 -23
  95. package/modern/services/gridColDefGenerator.js +0 -1
  96. package/modern/services/index.d.ts +0 -5
  97. package/modern/services/index.js +0 -5
  98. package/modern/services/prompt-resolver.d.ts +0 -2
  99. package/modern/services/prompt-resolver.js +0 -13
  100. package/modern/services/random-generator.d.ts +0 -49
  101. package/modern/services/random-generator.js +0 -124
  102. package/modern/services/real-data-service.d.ts +0 -8
  103. package/modern/services/real-data-service.js +0 -49
  104. package/modern/services/static-data.d.ts +0 -18
  105. package/modern/services/static-data.js +0 -1258
  106. package/modern/services/tree-data-generator.d.ts +0 -21
  107. package/modern/services/tree-data-generator.js +0 -70
  108. package/tsconfig.build.tsbuildinfo +0 -1
@@ -1,1258 +0,0 @@
1
- import { blue, green, lightBlue, orange, pink, purple, red } from '@mui/material/colors';
2
- export const COLORS = [pink[500], blue[500], orange[500], red[500], green[500], lightBlue[500], purple[500]];
3
- export const STATUS_OPTIONS = ['Open', 'PartiallyFilled', 'Filled', 'Rejected'];
4
- export const TAXCODE_OPTIONS = ['BR', '1250L', '20G', 'BC45', 'IGN179'];
5
- export const RATE_TYPE_OPTIONS = ['Fixed', 'Floating'];
6
- export const CONTRACT_TYPE_OPTIONS = ['FP', 'TM', 'CR'];
7
- export const INCOTERM_OPTIONS = ['EXW (Ex Works)', 'FAS (Free Alongside Ship)', 'FCA (Free Carrier)', 'CPT (Carriage Paid To)', 'DAP (Delivered at Place)', 'DPU (Delivered at Place Unloaded)', 'DDP (Delivered Duty Paid)'];
8
- export const COMMODITY_OPTIONS = ['Corn', 'Oats', 'Rough Rice', 'Soybeans', 'Rapeseed', 'Soybeans', 'Soybean Meal', 'Soybean Oil', 'Wheat', 'Milk', 'Cocoa', 'Coffee C', 'Cotton No.2', 'Sugar No.11', 'Sugar No.14', 'Frozen Concentrated Orange Juice', 'Adzuki bean', 'Robusta coffee'];
9
- export const CURRENCY_OPTIONS = ['USD', 'GBP', 'JPY', 'EUR', 'BRL', 'MXN', 'AUD', 'CAD', 'NZD', 'ARS', 'CHF', 'THB', 'HKD', 'TRY'];
10
- export const COUNTRY_OPTIONS = ['United States', 'United Kingdom', 'Japan', 'France', 'Brazil', 'Mexico', 'Australia', 'Canada', 'New Zealand', 'Argentina', 'Switzerland', 'Thailand', 'Hong Kong', 'Turkey'];
11
- export const COUNTRY_ISO_OPTIONS = [{
12
- value: 'AD',
13
- code: 'AD',
14
- label: 'Andorra',
15
- phone: '376'
16
- }, {
17
- value: 'AE',
18
- code: 'AE',
19
- label: 'United Arab Emirates',
20
- phone: '971'
21
- }, {
22
- value: 'AF',
23
- code: 'AF',
24
- label: 'Afghanistan',
25
- phone: '93'
26
- }, {
27
- value: 'AG',
28
- code: 'AG',
29
- label: 'Antigua and Barbuda',
30
- phone: '1-268'
31
- }, {
32
- value: 'AI',
33
- code: 'AI',
34
- label: 'Anguilla',
35
- phone: '1-264'
36
- }, {
37
- value: 'AL',
38
- code: 'AL',
39
- label: 'Albania',
40
- phone: '355'
41
- }, {
42
- value: 'AM',
43
- code: 'AM',
44
- label: 'Armenia',
45
- phone: '374'
46
- }, {
47
- value: 'AO',
48
- code: 'AO',
49
- label: 'Angola',
50
- phone: '244'
51
- }, {
52
- value: 'AQ',
53
- code: 'AQ',
54
- label: 'Antarctica',
55
- phone: '672'
56
- }, {
57
- value: 'AR',
58
- code: 'AR',
59
- label: 'Argentina',
60
- phone: '54'
61
- }, {
62
- value: 'AS',
63
- code: 'AS',
64
- label: 'American Samoa',
65
- phone: '1-684'
66
- }, {
67
- value: 'AT',
68
- code: 'AT',
69
- label: 'Austria',
70
- phone: '43'
71
- }, {
72
- value: 'AU',
73
- code: 'AU',
74
- label: 'Australia',
75
- phone: '61',
76
- suggested: true
77
- }, {
78
- value: 'AW',
79
- code: 'AW',
80
- label: 'Aruba',
81
- phone: '297'
82
- }, {
83
- value: 'AX',
84
- code: 'AX',
85
- label: 'Alland Islands',
86
- phone: '358'
87
- }, {
88
- value: 'AZ',
89
- code: 'AZ',
90
- label: 'Azerbaijan',
91
- phone: '994'
92
- }, {
93
- value: 'BA',
94
- code: 'BA',
95
- label: 'Bosnia and Herzegovina',
96
- phone: '387'
97
- }, {
98
- value: 'BB',
99
- code: 'BB',
100
- label: 'Barbados',
101
- phone: '1-246'
102
- }, {
103
- value: 'BD',
104
- code: 'BD',
105
- label: 'Bangladesh',
106
- phone: '880'
107
- }, {
108
- value: 'BE',
109
- code: 'BE',
110
- label: 'Belgium',
111
- phone: '32'
112
- }, {
113
- value: 'BF',
114
- code: 'BF',
115
- label: 'Burkina Faso',
116
- phone: '226'
117
- }, {
118
- value: 'BG',
119
- code: 'BG',
120
- label: 'Bulgaria',
121
- phone: '359'
122
- }, {
123
- value: 'BH',
124
- code: 'BH',
125
- label: 'Bahrain',
126
- phone: '973'
127
- }, {
128
- value: 'BI',
129
- code: 'BI',
130
- label: 'Burundi',
131
- phone: '257'
132
- }, {
133
- value: 'BJ',
134
- code: 'BJ',
135
- label: 'Benin',
136
- phone: '229'
137
- }, {
138
- value: 'BL',
139
- code: 'BL',
140
- label: 'Saint Barthelemy',
141
- phone: '590'
142
- }, {
143
- value: 'BM',
144
- code: 'BM',
145
- label: 'Bermuda',
146
- phone: '1-441'
147
- }, {
148
- value: 'BN',
149
- code: 'BN',
150
- label: 'Brunei Darussalam',
151
- phone: '673'
152
- }, {
153
- value: 'BO',
154
- code: 'BO',
155
- label: 'Bolivia',
156
- phone: '591'
157
- }, {
158
- value: 'BR',
159
- code: 'BR',
160
- label: 'Brazil',
161
- phone: '55'
162
- }, {
163
- value: 'BS',
164
- code: 'BS',
165
- label: 'Bahamas',
166
- phone: '1-242'
167
- }, {
168
- value: 'BT',
169
- code: 'BT',
170
- label: 'Bhutan',
171
- phone: '975'
172
- }, {
173
- value: 'BV',
174
- code: 'BV',
175
- label: 'Bouvet Island',
176
- phone: '47'
177
- }, {
178
- value: 'BW',
179
- code: 'BW',
180
- label: 'Botswana',
181
- phone: '267'
182
- }, {
183
- value: 'BY',
184
- code: 'BY',
185
- label: 'Belarus',
186
- phone: '375'
187
- }, {
188
- value: 'BZ',
189
- code: 'BZ',
190
- label: 'Belize',
191
- phone: '501'
192
- }, {
193
- value: 'CA',
194
- code: 'CA',
195
- label: 'Canada',
196
- phone: '1',
197
- suggested: true
198
- }, {
199
- value: 'CC',
200
- code: 'CC',
201
- label: 'Cocos (Keeling) Islands',
202
- phone: '61'
203
- }, {
204
- value: 'CD',
205
- code: 'CD',
206
- label: 'Congo, Democratic Republic of the',
207
- phone: '243'
208
- }, {
209
- value: 'CF',
210
- code: 'CF',
211
- label: 'Central African Republic',
212
- phone: '236'
213
- }, {
214
- value: 'CG',
215
- code: 'CG',
216
- label: 'Congo, Republic of the',
217
- phone: '242'
218
- }, {
219
- value: 'CH',
220
- code: 'CH',
221
- label: 'Switzerland',
222
- phone: '41'
223
- }, {
224
- value: 'CI',
225
- code: 'CI',
226
- label: "Cote d'Ivoire",
227
- phone: '225'
228
- }, {
229
- value: 'CK',
230
- code: 'CK',
231
- label: 'Cook Islands',
232
- phone: '682'
233
- }, {
234
- value: 'CL',
235
- code: 'CL',
236
- label: 'Chile',
237
- phone: '56'
238
- }, {
239
- value: 'CM',
240
- code: 'CM',
241
- label: 'Cameroon',
242
- phone: '237'
243
- }, {
244
- value: 'CN',
245
- code: 'CN',
246
- label: 'China',
247
- phone: '86'
248
- }, {
249
- value: 'CO',
250
- code: 'CO',
251
- label: 'Colombia',
252
- phone: '57'
253
- }, {
254
- value: 'CR',
255
- code: 'CR',
256
- label: 'Costa Rica',
257
- phone: '506'
258
- }, {
259
- value: 'CU',
260
- code: 'CU',
261
- label: 'Cuba',
262
- phone: '53'
263
- }, {
264
- value: 'CV',
265
- code: 'CV',
266
- label: 'Cape Verde',
267
- phone: '238'
268
- }, {
269
- value: 'CW',
270
- code: 'CW',
271
- label: 'Curacao',
272
- phone: '599'
273
- }, {
274
- value: 'CX',
275
- code: 'CX',
276
- label: 'Christmas Island',
277
- phone: '61'
278
- }, {
279
- value: 'CY',
280
- code: 'CY',
281
- label: 'Cyprus',
282
- phone: '357'
283
- }, {
284
- value: 'CZ',
285
- code: 'CZ',
286
- label: 'Czech Republic',
287
- phone: '420'
288
- }, {
289
- value: 'DE',
290
- code: 'DE',
291
- label: 'Germany',
292
- phone: '49',
293
- suggested: true
294
- }, {
295
- value: 'DJ',
296
- code: 'DJ',
297
- label: 'Djibouti',
298
- phone: '253'
299
- }, {
300
- value: 'DK',
301
- code: 'DK',
302
- label: 'Denmark',
303
- phone: '45'
304
- }, {
305
- value: 'DM',
306
- code: 'DM',
307
- label: 'Dominica',
308
- phone: '1-767'
309
- }, {
310
- value: 'DO',
311
- code: 'DO',
312
- label: 'Dominican Republic',
313
- phone: '1-809'
314
- }, {
315
- value: 'DZ',
316
- code: 'DZ',
317
- label: 'Algeria',
318
- phone: '213'
319
- }, {
320
- value: 'EC',
321
- code: 'EC',
322
- label: 'Ecuador',
323
- phone: '593'
324
- }, {
325
- value: 'EE',
326
- code: 'EE',
327
- label: 'Estonia',
328
- phone: '372'
329
- }, {
330
- value: 'EG',
331
- code: 'EG',
332
- label: 'Egypt',
333
- phone: '20'
334
- }, {
335
- value: 'EH',
336
- code: 'EH',
337
- label: 'Western Sahara',
338
- phone: '212'
339
- }, {
340
- value: 'ER',
341
- code: 'ER',
342
- label: 'Eritrea',
343
- phone: '291'
344
- }, {
345
- value: 'ES',
346
- code: 'ES',
347
- label: 'Spain',
348
- phone: '34'
349
- }, {
350
- value: 'ET',
351
- code: 'ET',
352
- label: 'Ethiopia',
353
- phone: '251'
354
- }, {
355
- value: 'FI',
356
- code: 'FI',
357
- label: 'Finland',
358
- phone: '358'
359
- }, {
360
- value: 'FJ',
361
- code: 'FJ',
362
- label: 'Fiji',
363
- phone: '679'
364
- }, {
365
- value: 'FK',
366
- code: 'FK',
367
- label: 'Falkland Islands (Malvinas)',
368
- phone: '500'
369
- }, {
370
- value: 'FM',
371
- code: 'FM',
372
- label: 'Micronesia, Federated States of',
373
- phone: '691'
374
- }, {
375
- value: 'FO',
376
- code: 'FO',
377
- label: 'Faroe Islands',
378
- phone: '298'
379
- }, {
380
- value: 'FR',
381
- code: 'FR',
382
- label: 'France',
383
- phone: '33',
384
- suggested: true
385
- }, {
386
- value: 'GA',
387
- code: 'GA',
388
- label: 'Gabon',
389
- phone: '241'
390
- }, {
391
- value: 'GB',
392
- code: 'GB',
393
- label: 'United Kingdom',
394
- phone: '44'
395
- }, {
396
- value: 'GD',
397
- code: 'GD',
398
- label: 'Grenada',
399
- phone: '1-473'
400
- }, {
401
- value: 'GE',
402
- code: 'GE',
403
- label: 'Georgia',
404
- phone: '995'
405
- }, {
406
- value: 'GF',
407
- code: 'GF',
408
- label: 'French Guiana',
409
- phone: '594'
410
- }, {
411
- value: 'GG',
412
- code: 'GG',
413
- label: 'Guernsey',
414
- phone: '44'
415
- }, {
416
- value: 'GH',
417
- code: 'GH',
418
- label: 'Ghana',
419
- phone: '233'
420
- }, {
421
- value: 'GI',
422
- code: 'GI',
423
- label: 'Gibraltar',
424
- phone: '350'
425
- }, {
426
- value: 'GL',
427
- code: 'GL',
428
- label: 'Greenland',
429
- phone: '299'
430
- }, {
431
- value: 'GM',
432
- code: 'GM',
433
- label: 'Gambia',
434
- phone: '220'
435
- }, {
436
- value: 'GN',
437
- code: 'GN',
438
- label: 'Guinea',
439
- phone: '224'
440
- }, {
441
- value: 'GP',
442
- code: 'GP',
443
- label: 'Guadeloupe',
444
- phone: '590'
445
- }, {
446
- value: 'GQ',
447
- code: 'GQ',
448
- label: 'Equatorial Guinea',
449
- phone: '240'
450
- }, {
451
- value: 'GR',
452
- code: 'GR',
453
- label: 'Greece',
454
- phone: '30'
455
- }, {
456
- value: 'GS',
457
- code: 'GS',
458
- label: 'South Georgia and the South Sandwich Islands',
459
- phone: '500'
460
- }, {
461
- value: 'GT',
462
- code: 'GT',
463
- label: 'Guatemala',
464
- phone: '502'
465
- }, {
466
- value: 'GU',
467
- code: 'GU',
468
- label: 'Guam',
469
- phone: '1-671'
470
- }, {
471
- value: 'GW',
472
- code: 'GW',
473
- label: 'Guinea-Bissau',
474
- phone: '245'
475
- }, {
476
- value: 'GY',
477
- code: 'GY',
478
- label: 'Guyana',
479
- phone: '592'
480
- }, {
481
- value: 'HK',
482
- code: 'HK',
483
- label: 'Hong Kong',
484
- phone: '852'
485
- }, {
486
- value: 'HM',
487
- code: 'HM',
488
- label: 'Heard Island and McDonald Islands',
489
- phone: '672'
490
- }, {
491
- value: 'HN',
492
- code: 'HN',
493
- label: 'Honduras',
494
- phone: '504'
495
- }, {
496
- value: 'HR',
497
- code: 'HR',
498
- label: 'Croatia',
499
- phone: '385'
500
- }, {
501
- value: 'HT',
502
- code: 'HT',
503
- label: 'Haiti',
504
- phone: '509'
505
- }, {
506
- value: 'HU',
507
- code: 'HU',
508
- label: 'Hungary',
509
- phone: '36'
510
- }, {
511
- value: 'ID',
512
- code: 'ID',
513
- label: 'Indonesia',
514
- phone: '62'
515
- }, {
516
- value: 'IE',
517
- code: 'IE',
518
- label: 'Ireland',
519
- phone: '353'
520
- }, {
521
- value: 'IL',
522
- code: 'IL',
523
- label: 'Israel',
524
- phone: '972'
525
- }, {
526
- value: 'IM',
527
- code: 'IM',
528
- label: 'Isle of Man',
529
- phone: '44'
530
- }, {
531
- value: 'IN',
532
- code: 'IN',
533
- label: 'India',
534
- phone: '91'
535
- }, {
536
- value: 'IO',
537
- code: 'IO',
538
- label: 'British Indian Ocean Territory',
539
- phone: '246'
540
- }, {
541
- value: 'IQ',
542
- code: 'IQ',
543
- label: 'Iraq',
544
- phone: '964'
545
- }, {
546
- value: 'IR',
547
- code: 'IR',
548
- label: 'Iran, Islamic Republic of',
549
- phone: '98'
550
- }, {
551
- value: 'IS',
552
- code: 'IS',
553
- label: 'Iceland',
554
- phone: '354'
555
- }, {
556
- value: 'IT',
557
- code: 'IT',
558
- label: 'Italy',
559
- phone: '39'
560
- }, {
561
- value: 'JE',
562
- code: 'JE',
563
- label: 'Jersey',
564
- phone: '44'
565
- }, {
566
- value: 'JM',
567
- code: 'JM',
568
- label: 'Jamaica',
569
- phone: '1-876'
570
- }, {
571
- value: 'JO',
572
- code: 'JO',
573
- label: 'Jordan',
574
- phone: '962'
575
- }, {
576
- value: 'JP',
577
- code: 'JP',
578
- label: 'Japan',
579
- phone: '81',
580
- suggested: true
581
- }, {
582
- value: 'KE',
583
- code: 'KE',
584
- label: 'Kenya',
585
- phone: '254'
586
- }, {
587
- value: 'KG',
588
- code: 'KG',
589
- label: 'Kyrgyzstan',
590
- phone: '996'
591
- }, {
592
- value: 'KH',
593
- code: 'KH',
594
- label: 'Cambodia',
595
- phone: '855'
596
- }, {
597
- value: 'KI',
598
- code: 'KI',
599
- label: 'Kiribati',
600
- phone: '686'
601
- }, {
602
- value: 'KM',
603
- code: 'KM',
604
- label: 'Comoros',
605
- phone: '269'
606
- }, {
607
- value: 'KN',
608
- code: 'KN',
609
- label: 'Saint Kitts and Nevis',
610
- phone: '1-869'
611
- }, {
612
- value: 'KP',
613
- code: 'KP',
614
- label: "Korea, Democratic People's Republic of",
615
- phone: '850'
616
- }, {
617
- value: 'KR',
618
- code: 'KR',
619
- label: 'Korea, Republic of',
620
- phone: '82'
621
- }, {
622
- value: 'KW',
623
- code: 'KW',
624
- label: 'Kuwait',
625
- phone: '965'
626
- }, {
627
- value: 'KY',
628
- code: 'KY',
629
- label: 'Cayman Islands',
630
- phone: '1-345'
631
- }, {
632
- value: 'KZ',
633
- code: 'KZ',
634
- label: 'Kazakhstan',
635
- phone: '7'
636
- }, {
637
- value: 'LA',
638
- code: 'LA',
639
- label: "Lao People's Democratic Republic",
640
- phone: '856'
641
- }, {
642
- value: 'LB',
643
- code: 'LB',
644
- label: 'Lebanon',
645
- phone: '961'
646
- }, {
647
- value: 'LC',
648
- code: 'LC',
649
- label: 'Saint Lucia',
650
- phone: '1-758'
651
- }, {
652
- value: 'LI',
653
- code: 'LI',
654
- label: 'Liechtenstein',
655
- phone: '423'
656
- }, {
657
- value: 'LK',
658
- code: 'LK',
659
- label: 'Sri Lanka',
660
- phone: '94'
661
- }, {
662
- value: 'LR',
663
- code: 'LR',
664
- label: 'Liberia',
665
- phone: '231'
666
- }, {
667
- value: 'LS',
668
- code: 'LS',
669
- label: 'Lesotho',
670
- phone: '266'
671
- }, {
672
- value: 'LT',
673
- code: 'LT',
674
- label: 'Lithuania',
675
- phone: '370'
676
- }, {
677
- value: 'LU',
678
- code: 'LU',
679
- label: 'Luxembourg',
680
- phone: '352'
681
- }, {
682
- value: 'LV',
683
- code: 'LV',
684
- label: 'Latvia',
685
- phone: '371'
686
- }, {
687
- value: 'LY',
688
- code: 'LY',
689
- label: 'Libya',
690
- phone: '218'
691
- }, {
692
- value: 'MA',
693
- code: 'MA',
694
- label: 'Morocco',
695
- phone: '212'
696
- }, {
697
- value: 'MC',
698
- code: 'MC',
699
- label: 'Monaco',
700
- phone: '377'
701
- }, {
702
- value: 'MD',
703
- code: 'MD',
704
- label: 'Moldova, Republic of',
705
- phone: '373'
706
- }, {
707
- value: 'ME',
708
- code: 'ME',
709
- label: 'Montenegro',
710
- phone: '382'
711
- }, {
712
- value: 'MF',
713
- code: 'MF',
714
- label: 'Saint Martin (French part)',
715
- phone: '590'
716
- }, {
717
- value: 'MG',
718
- code: 'MG',
719
- label: 'Madagascar',
720
- phone: '261'
721
- }, {
722
- value: 'MH',
723
- code: 'MH',
724
- label: 'Marshall Islands',
725
- phone: '692'
726
- }, {
727
- value: 'MK',
728
- code: 'MK',
729
- label: 'North Macedonia',
730
- phone: '389'
731
- }, {
732
- value: 'ML',
733
- code: 'ML',
734
- label: 'Mali',
735
- phone: '223'
736
- }, {
737
- value: 'MM',
738
- code: 'MM',
739
- label: 'Myanmar',
740
- phone: '95'
741
- }, {
742
- value: 'MN',
743
- code: 'MN',
744
- label: 'Mongolia',
745
- phone: '976'
746
- }, {
747
- value: 'MO',
748
- code: 'MO',
749
- label: 'Macao',
750
- phone: '853'
751
- }, {
752
- value: 'MP',
753
- code: 'MP',
754
- label: 'Northern Mariana Islands',
755
- phone: '1-670'
756
- }, {
757
- value: 'MQ',
758
- code: 'MQ',
759
- label: 'Martinique',
760
- phone: '596'
761
- }, {
762
- value: 'MR',
763
- code: 'MR',
764
- label: 'Mauritania',
765
- phone: '222'
766
- }, {
767
- value: 'MS',
768
- code: 'MS',
769
- label: 'Montserrat',
770
- phone: '1-664'
771
- }, {
772
- value: 'MT',
773
- code: 'MT',
774
- label: 'Malta',
775
- phone: '356'
776
- }, {
777
- value: 'MU',
778
- code: 'MU',
779
- label: 'Mauritius',
780
- phone: '230'
781
- }, {
782
- value: 'MV',
783
- code: 'MV',
784
- label: 'Maldives',
785
- phone: '960'
786
- }, {
787
- value: 'MW',
788
- code: 'MW',
789
- label: 'Malawi',
790
- phone: '265'
791
- }, {
792
- value: 'MX',
793
- code: 'MX',
794
- label: 'Mexico',
795
- phone: '52'
796
- }, {
797
- value: 'MY',
798
- code: 'MY',
799
- label: 'Malaysia',
800
- phone: '60'
801
- }, {
802
- value: 'MZ',
803
- code: 'MZ',
804
- label: 'Mozambique',
805
- phone: '258'
806
- }, {
807
- value: 'NA',
808
- code: 'NA',
809
- label: 'Namibia',
810
- phone: '264'
811
- }, {
812
- value: 'NC',
813
- code: 'NC',
814
- label: 'New Caledonia',
815
- phone: '687'
816
- }, {
817
- value: 'NE',
818
- code: 'NE',
819
- label: 'Niger',
820
- phone: '227'
821
- }, {
822
- value: 'NF',
823
- code: 'NF',
824
- label: 'Norfolk Island',
825
- phone: '672'
826
- }, {
827
- value: 'NG',
828
- code: 'NG',
829
- label: 'Nigeria',
830
- phone: '234'
831
- }, {
832
- value: 'NI',
833
- code: 'NI',
834
- label: 'Nicaragua',
835
- phone: '505'
836
- }, {
837
- value: 'NL',
838
- code: 'NL',
839
- label: 'Netherlands',
840
- phone: '31'
841
- }, {
842
- value: 'NO',
843
- code: 'NO',
844
- label: 'Norway',
845
- phone: '47'
846
- }, {
847
- value: 'NP',
848
- code: 'NP',
849
- label: 'Nepal',
850
- phone: '977'
851
- }, {
852
- value: 'NR',
853
- code: 'NR',
854
- label: 'Nauru',
855
- phone: '674'
856
- }, {
857
- value: 'NU',
858
- code: 'NU',
859
- label: 'Niue',
860
- phone: '683'
861
- }, {
862
- value: 'NZ',
863
- code: 'NZ',
864
- label: 'New Zealand',
865
- phone: '64'
866
- }, {
867
- value: 'OM',
868
- code: 'OM',
869
- label: 'Oman',
870
- phone: '968'
871
- }, {
872
- value: 'PA',
873
- code: 'PA',
874
- label: 'Panama',
875
- phone: '507'
876
- }, {
877
- value: 'PE',
878
- code: 'PE',
879
- label: 'Peru',
880
- phone: '51'
881
- }, {
882
- value: 'PF',
883
- code: 'PF',
884
- label: 'French Polynesia',
885
- phone: '689'
886
- }, {
887
- value: 'PG',
888
- code: 'PG',
889
- label: 'Papua New Guinea',
890
- phone: '675'
891
- }, {
892
- value: 'PH',
893
- code: 'PH',
894
- label: 'Philippines',
895
- phone: '63'
896
- }, {
897
- value: 'PK',
898
- code: 'PK',
899
- label: 'Pakistan',
900
- phone: '92'
901
- }, {
902
- value: 'PL',
903
- code: 'PL',
904
- label: 'Poland',
905
- phone: '48'
906
- }, {
907
- value: 'PM',
908
- code: 'PM',
909
- label: 'Saint Pierre and Miquelon',
910
- phone: '508'
911
- }, {
912
- value: 'PN',
913
- code: 'PN',
914
- label: 'Pitcairn',
915
- phone: '870'
916
- }, {
917
- value: 'PR',
918
- code: 'PR',
919
- label: 'Puerto Rico',
920
- phone: '1'
921
- }, {
922
- value: 'PS',
923
- code: 'PS',
924
- label: 'Palestine, State of',
925
- phone: '970'
926
- }, {
927
- value: 'PT',
928
- code: 'PT',
929
- label: 'Portugal',
930
- phone: '351'
931
- }, {
932
- value: 'PW',
933
- code: 'PW',
934
- label: 'Palau',
935
- phone: '680'
936
- }, {
937
- value: 'PY',
938
- code: 'PY',
939
- label: 'Paraguay',
940
- phone: '595'
941
- }, {
942
- value: 'QA',
943
- code: 'QA',
944
- label: 'Qatar',
945
- phone: '974'
946
- }, {
947
- value: 'RE',
948
- code: 'RE',
949
- label: 'Reunion',
950
- phone: '262'
951
- }, {
952
- value: 'RO',
953
- code: 'RO',
954
- label: 'Romania',
955
- phone: '40'
956
- }, {
957
- value: 'RS',
958
- code: 'RS',
959
- label: 'Serbia',
960
- phone: '381'
961
- }, {
962
- value: 'RU',
963
- code: 'RU',
964
- label: 'Russian Federation',
965
- phone: '7'
966
- }, {
967
- value: 'RW',
968
- code: 'RW',
969
- label: 'Rwanda',
970
- phone: '250'
971
- }, {
972
- value: 'SA',
973
- code: 'SA',
974
- label: 'Saudi Arabia',
975
- phone: '966'
976
- }, {
977
- value: 'SB',
978
- code: 'SB',
979
- label: 'Solomon Islands',
980
- phone: '677'
981
- }, {
982
- value: 'SC',
983
- code: 'SC',
984
- label: 'Seychelles',
985
- phone: '248'
986
- }, {
987
- value: 'SD',
988
- code: 'SD',
989
- label: 'Sudan',
990
- phone: '249'
991
- }, {
992
- value: 'SE',
993
- code: 'SE',
994
- label: 'Sweden',
995
- phone: '46'
996
- }, {
997
- value: 'SG',
998
- code: 'SG',
999
- label: 'Singapore',
1000
- phone: '65'
1001
- }, {
1002
- value: 'SH',
1003
- code: 'SH',
1004
- label: 'Saint Helena',
1005
- phone: '290'
1006
- }, {
1007
- value: 'SI',
1008
- code: 'SI',
1009
- label: 'Slovenia',
1010
- phone: '386'
1011
- }, {
1012
- value: 'SJ',
1013
- code: 'SJ',
1014
- label: 'Svalbard and Jan Mayen',
1015
- phone: '47'
1016
- }, {
1017
- value: 'SK',
1018
- code: 'SK',
1019
- label: 'Slovakia',
1020
- phone: '421'
1021
- }, {
1022
- value: 'SL',
1023
- code: 'SL',
1024
- label: 'Sierra Leone',
1025
- phone: '232'
1026
- }, {
1027
- value: 'SM',
1028
- code: 'SM',
1029
- label: 'San Marino',
1030
- phone: '378'
1031
- }, {
1032
- value: 'SN',
1033
- code: 'SN',
1034
- label: 'Senegal',
1035
- phone: '221'
1036
- }, {
1037
- value: 'SO',
1038
- code: 'SO',
1039
- label: 'Somalia',
1040
- phone: '252'
1041
- }, {
1042
- value: 'SR',
1043
- code: 'SR',
1044
- label: 'Suriname',
1045
- phone: '597'
1046
- }, {
1047
- value: 'SS',
1048
- code: 'SS',
1049
- label: 'South Sudan',
1050
- phone: '211'
1051
- }, {
1052
- value: 'ST',
1053
- code: 'ST',
1054
- label: 'Sao Tome and Principe',
1055
- phone: '239'
1056
- }, {
1057
- value: 'SV',
1058
- code: 'SV',
1059
- label: 'El Salvador',
1060
- phone: '503'
1061
- }, {
1062
- value: 'SX',
1063
- code: 'SX',
1064
- label: 'Sint Maarten (Dutch part)',
1065
- phone: '1-721'
1066
- }, {
1067
- value: 'SY',
1068
- code: 'SY',
1069
- label: 'Syrian Arab Republic',
1070
- phone: '963'
1071
- }, {
1072
- value: 'SZ',
1073
- code: 'SZ',
1074
- label: 'Swaziland',
1075
- phone: '268'
1076
- }, {
1077
- value: 'TC',
1078
- code: 'TC',
1079
- label: 'Turks and Caicos Islands',
1080
- phone: '1-649'
1081
- }, {
1082
- value: 'TD',
1083
- code: 'TD',
1084
- label: 'Chad',
1085
- phone: '235'
1086
- }, {
1087
- value: 'TF',
1088
- code: 'TF',
1089
- label: 'French Southern Territories',
1090
- phone: '262'
1091
- }, {
1092
- value: 'TG',
1093
- code: 'TG',
1094
- label: 'Togo',
1095
- phone: '228'
1096
- }, {
1097
- value: 'TH',
1098
- code: 'TH',
1099
- label: 'Thailand',
1100
- phone: '66'
1101
- }, {
1102
- value: 'TJ',
1103
- code: 'TJ',
1104
- label: 'Tajikistan',
1105
- phone: '992'
1106
- }, {
1107
- value: 'TK',
1108
- code: 'TK',
1109
- label: 'Tokelau',
1110
- phone: '690'
1111
- }, {
1112
- value: 'TL',
1113
- code: 'TL',
1114
- label: 'Timor-Leste',
1115
- phone: '670'
1116
- }, {
1117
- value: 'TM',
1118
- code: 'TM',
1119
- label: 'Turkmenistan',
1120
- phone: '993'
1121
- }, {
1122
- value: 'TN',
1123
- code: 'TN',
1124
- label: 'Tunisia',
1125
- phone: '216'
1126
- }, {
1127
- value: 'TO',
1128
- code: 'TO',
1129
- label: 'Tonga',
1130
- phone: '676'
1131
- }, {
1132
- value: 'TR',
1133
- code: 'TR',
1134
- label: 'Turkey',
1135
- phone: '90'
1136
- }, {
1137
- value: 'TT',
1138
- code: 'TT',
1139
- label: 'Trinidad and Tobago',
1140
- phone: '1-868'
1141
- }, {
1142
- value: 'TV',
1143
- code: 'TV',
1144
- label: 'Tuvalu',
1145
- phone: '688'
1146
- }, {
1147
- value: 'TW',
1148
- code: 'TW',
1149
- label: 'Taiwan, Province of China',
1150
- phone: '886'
1151
- }, {
1152
- value: 'TZ',
1153
- code: 'TZ',
1154
- label: 'United Republic of Tanzania',
1155
- phone: '255'
1156
- }, {
1157
- value: 'UA',
1158
- code: 'UA',
1159
- label: 'Ukraine',
1160
- phone: '380'
1161
- }, {
1162
- value: 'UG',
1163
- code: 'UG',
1164
- label: 'Uganda',
1165
- phone: '256'
1166
- }, {
1167
- value: 'US',
1168
- code: 'US',
1169
- label: 'United States',
1170
- phone: '1',
1171
- suggested: true
1172
- }, {
1173
- value: 'UY',
1174
- code: 'UY',
1175
- label: 'Uruguay',
1176
- phone: '598'
1177
- }, {
1178
- value: 'UZ',
1179
- code: 'UZ',
1180
- label: 'Uzbekistan',
1181
- phone: '998'
1182
- }, {
1183
- value: 'VA',
1184
- code: 'VA',
1185
- label: 'Holy See (Vatican City State)',
1186
- phone: '379'
1187
- }, {
1188
- value: 'VC',
1189
- code: 'VC',
1190
- label: 'Saint Vincent and the Grenadines',
1191
- phone: '1-784'
1192
- }, {
1193
- value: 'VE',
1194
- code: 'VE',
1195
- label: 'Venezuela',
1196
- phone: '58'
1197
- }, {
1198
- value: 'VG',
1199
- code: 'VG',
1200
- label: 'British Virgin Islands',
1201
- phone: '1-284'
1202
- }, {
1203
- value: 'VI',
1204
- code: 'VI',
1205
- label: 'US Virgin Islands',
1206
- phone: '1-340'
1207
- }, {
1208
- value: 'VN',
1209
- code: 'VN',
1210
- label: 'Vietnam',
1211
- phone: '84'
1212
- }, {
1213
- value: 'VU',
1214
- code: 'VU',
1215
- label: 'Vanuatu',
1216
- phone: '678'
1217
- }, {
1218
- value: 'WF',
1219
- code: 'WF',
1220
- label: 'Wallis and Futuna',
1221
- phone: '681'
1222
- }, {
1223
- value: 'WS',
1224
- code: 'WS',
1225
- label: 'Samoa',
1226
- phone: '685'
1227
- }, {
1228
- value: 'XK',
1229
- code: 'XK',
1230
- label: 'Kosovo',
1231
- phone: '383'
1232
- }, {
1233
- value: 'YE',
1234
- code: 'YE',
1235
- label: 'Yemen',
1236
- phone: '967'
1237
- }, {
1238
- value: 'YT',
1239
- code: 'YT',
1240
- label: 'Mayotte',
1241
- phone: '262'
1242
- }, {
1243
- value: 'ZA',
1244
- code: 'ZA',
1245
- label: 'South Africa',
1246
- phone: '27'
1247
- }, {
1248
- value: 'ZM',
1249
- code: 'ZM',
1250
- label: 'Zambia',
1251
- phone: '260'
1252
- }, {
1253
- value: 'ZW',
1254
- code: 'ZW',
1255
- label: 'Zimbabwe',
1256
- phone: '263'
1257
- }];
1258
- export const COUNTRY_ISO_OPTIONS_SORTED = [...COUNTRY_ISO_OPTIONS].sort((v1, v2) => v1.label.localeCompare(v2.label));