@rh-support/components 2.0.12 → 2.0.13

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 (57) hide show
  1. package/lib/cjs/DropDownList/SearchableList.d.ts +1 -0
  2. package/lib/cjs/DropDownList/SearchableList.d.ts.map +1 -1
  3. package/lib/cjs/DropDownList/SearchableList.js +4 -2
  4. package/lib/cjs/DropDownList/dropdownList.css +1 -1
  5. package/lib/cjs/DropDownList/types.d.ts +1 -0
  6. package/lib/cjs/DropDownList/types.d.ts.map +1 -1
  7. package/lib/cjs/InlineEdit/InlineEdit.d.ts +1 -0
  8. package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +1 -1
  9. package/lib/cjs/InlineEdit/InlineEdit.js +2 -2
  10. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +1 -0
  11. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  12. package/lib/cjs/InlineEdit/NewInlineEdit.js +2 -2
  13. package/lib/cjs/InlineEdit/inlineEdit.css +4 -0
  14. package/lib/cjs/InlineEdit/newInlineEdit.css +4 -0
  15. package/lib/cjs/PhoneInput/CountryData.d.ts +3 -0
  16. package/lib/cjs/PhoneInput/CountryData.d.ts.map +1 -0
  17. package/lib/cjs/PhoneInput/CountryData.js +590 -0
  18. package/lib/cjs/PhoneInput/PhoneInput.d.ts +16 -0
  19. package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +1 -0
  20. package/lib/cjs/PhoneInput/PhoneInput.js +204 -0
  21. package/lib/cjs/PhoneInput/PhoneInput.scss +757 -0
  22. package/lib/cjs/PhoneInput/flags.png +0 -0
  23. package/lib/cjs/PhoneInput/index.d.ts +2 -0
  24. package/lib/cjs/PhoneInput/index.d.ts.map +1 -0
  25. package/lib/cjs/PhoneInput/index.js +13 -0
  26. package/lib/cjs/index.d.ts +1 -0
  27. package/lib/cjs/index.d.ts.map +1 -1
  28. package/lib/cjs/index.js +1 -0
  29. package/lib/esm/DropDownList/SearchableList.d.ts +1 -0
  30. package/lib/esm/DropDownList/SearchableList.d.ts.map +1 -1
  31. package/lib/esm/DropDownList/SearchableList.js +4 -2
  32. package/lib/esm/DropDownList/dropdownList.css +1 -1
  33. package/lib/esm/DropDownList/types.d.ts +1 -0
  34. package/lib/esm/DropDownList/types.d.ts.map +1 -1
  35. package/lib/esm/InlineEdit/InlineEdit.d.ts +1 -0
  36. package/lib/esm/InlineEdit/InlineEdit.d.ts.map +1 -1
  37. package/lib/esm/InlineEdit/InlineEdit.js +2 -2
  38. package/lib/esm/InlineEdit/NewInlineEdit.d.ts +1 -0
  39. package/lib/esm/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  40. package/lib/esm/InlineEdit/NewInlineEdit.js +2 -2
  41. package/lib/esm/InlineEdit/inlineEdit.css +4 -0
  42. package/lib/esm/InlineEdit/newInlineEdit.css +4 -0
  43. package/lib/esm/PhoneInput/CountryData.d.ts +3 -0
  44. package/lib/esm/PhoneInput/CountryData.d.ts.map +1 -0
  45. package/lib/esm/PhoneInput/CountryData.js +588 -0
  46. package/lib/esm/PhoneInput/PhoneInput.d.ts +16 -0
  47. package/lib/esm/PhoneInput/PhoneInput.d.ts.map +1 -0
  48. package/lib/esm/PhoneInput/PhoneInput.js +178 -0
  49. package/lib/esm/PhoneInput/PhoneInput.scss +757 -0
  50. package/lib/esm/PhoneInput/flags.png +0 -0
  51. package/lib/esm/PhoneInput/index.d.ts +2 -0
  52. package/lib/esm/PhoneInput/index.d.ts.map +1 -0
  53. package/lib/esm/PhoneInput/index.js +1 -0
  54. package/lib/esm/index.d.ts +1 -0
  55. package/lib/esm/index.d.ts.map +1 -1
  56. package/lib/esm/index.js +1 -0
  57. package/package.json +8 -5
@@ -0,0 +1,588 @@
1
+ // Country model:
2
+ // [
3
+ // Country name,
4
+ // Regions,
5
+ // iso2 code,
6
+ // International dial code,
7
+ // Format (if available),
8
+ // Order priority (if >1 country with same dial code),
9
+ // Area codes (if >1 country with same dial code)
10
+ // ]
11
+ //
12
+ // Regions:
13
+ // ['america', 'europe', 'asia', 'oceania', 'africa']
14
+ //
15
+ // Sub-regions:
16
+ // ['north-america', 'south-america', 'central-america', 'carribean',
17
+ // 'eu-union', 'ex-ussr', 'ex-yugos', 'baltic', 'middle-east', 'north-africa']
18
+ const CountryData = [
19
+ ['Afghanistan', ['asia'], 'af', '93'],
20
+ ['Albania', ['europe'], 'al', '355'],
21
+ ['Algeria', ['africa', 'north-africa'], 'dz', '213'],
22
+ ['Andorra', ['europe'], 'ad', '376'],
23
+ ['Angola', ['africa'], 'ao', '244'],
24
+ ['Antigua and Barbuda', ['america', 'carribean'], 'ag', '1268'],
25
+ [
26
+ 'Argentina',
27
+ ['america', 'south-america'],
28
+ 'ar',
29
+ '54',
30
+ '(..) ........',
31
+ 0,
32
+ [
33
+ '11',
34
+ '221',
35
+ '223',
36
+ '261',
37
+ '264',
38
+ '2652',
39
+ '280',
40
+ '2905',
41
+ '291',
42
+ '2920',
43
+ '2966',
44
+ '299',
45
+ '341',
46
+ '342',
47
+ '343',
48
+ '351',
49
+ '376',
50
+ '379',
51
+ '381',
52
+ '3833',
53
+ '385',
54
+ '387',
55
+ '388',
56
+ ],
57
+ ],
58
+ ['Armenia', ['asia', 'ex-ussr'], 'am', '374', '.. ......'],
59
+ ['Aruba', ['america', 'carribean'], 'aw', '297'],
60
+ [
61
+ 'Australia',
62
+ ['oceania'],
63
+ 'au',
64
+ '61',
65
+ '(..) .... ....',
66
+ 0,
67
+ ['2', '3', '4', '7', '8', '02', '03', '04', '07', '08'],
68
+ ],
69
+ ['Austria', ['europe', 'eu-union'], 'at', '43'],
70
+ ['Azerbaijan', ['asia', 'ex-ussr'], 'az', '994', '(..) ... .. ..'],
71
+ ['Bahamas', ['america', 'carribean'], 'bs', '1242'],
72
+ ['Bahrain', ['middle-east'], 'bh', '973'],
73
+ ['Bangladesh', ['asia'], 'bd', '880'],
74
+ ['Barbados', ['america', 'carribean'], 'bb', '1246'],
75
+ ['Belarus', ['europe', 'ex-ussr'], 'by', '375', '(..) ... .. ..'],
76
+ ['Belgium', ['europe', 'eu-union'], 'be', '32', '... .. .. ..'],
77
+ ['Belize', ['america', 'central-america'], 'bz', '501'],
78
+ ['Benin', ['africa'], 'bj', '229'],
79
+ ['Bhutan', ['asia'], 'bt', '975'],
80
+ ['Bolivia', ['america', 'south-america'], 'bo', '591'],
81
+ ['Bosnia and Herzegovina', ['europe', 'ex-yugos'], 'ba', '387'],
82
+ ['Botswana', ['africa'], 'bw', '267'],
83
+ ['Brazil', ['america', 'south-america'], 'br', '55', '(..) .........'],
84
+ ['British Indian Ocean Territory', ['asia'], 'io', '246'],
85
+ ['Brunei', ['asia'], 'bn', '673'],
86
+ ['Bulgaria', ['europe', 'eu-union'], 'bg', '359'],
87
+ ['Burkina Faso', ['africa'], 'bf', '226'],
88
+ ['Burundi', ['africa'], 'bi', '257'],
89
+ ['Cambodia', ['asia'], 'kh', '855'],
90
+ ['Cameroon', ['africa'], 'cm', '237'],
91
+ [
92
+ 'Canada',
93
+ ['america', 'north-america'],
94
+ 'ca',
95
+ '1',
96
+ '(...) ...-....',
97
+ 1,
98
+ [
99
+ '204',
100
+ '226',
101
+ '236',
102
+ '249',
103
+ '250',
104
+ '289',
105
+ '306',
106
+ '343',
107
+ '365',
108
+ '387',
109
+ '403',
110
+ '416',
111
+ '418',
112
+ '431',
113
+ '437',
114
+ '438',
115
+ '450',
116
+ '506',
117
+ '514',
118
+ '519',
119
+ '548',
120
+ '579',
121
+ '581',
122
+ '587',
123
+ '604',
124
+ '613',
125
+ '639',
126
+ '647',
127
+ '672',
128
+ '705',
129
+ '709',
130
+ '742',
131
+ '778',
132
+ '780',
133
+ '782',
134
+ '807',
135
+ '819',
136
+ '825',
137
+ '867',
138
+ '873',
139
+ '902',
140
+ '905',
141
+ ],
142
+ ],
143
+ ['Cape Verde', ['africa'], 'cv', '238'],
144
+ ['Caribbean Netherlands', ['america', 'carribean'], 'bq', '599', '', 1],
145
+ ['Central African Republic', ['africa'], 'cf', '236'],
146
+ ['Chad', ['africa'], 'td', '235'],
147
+ ['Chile', ['america', 'south-america'], 'cl', '56'],
148
+ ['China', ['asia'], 'cn', '86', '..-.........'],
149
+ ['Colombia', ['america', 'south-america'], 'co', '57', '... ... ....'],
150
+ ['Comoros', ['africa'], 'km', '269'],
151
+ ['Congo', ['africa'], 'cd', '243'],
152
+ ['Congo', ['africa'], 'cg', '242'],
153
+ ['Costa Rica', ['america', 'central-america'], 'cr', '506', '....-....'],
154
+ ['Côte d’Ivoire', ['africa'], 'ci', '225', '.. .. .. ..'],
155
+ ['Croatia', ['europe', 'eu-union', 'ex-yugos'], 'hr', '385'],
156
+ ['Cuba', ['america', 'carribean'], 'cu', '53'],
157
+ ['Curaçao', ['america', 'carribean'], 'cw', '599', '', 0],
158
+ ['Cyprus', ['europe', 'eu-union'], 'cy', '357', '.. ......'],
159
+ ['Czech Republic', ['europe', 'eu-union'], 'cz', '420', '... ... ...'],
160
+ ['Denmark', ['europe', 'eu-union', 'baltic'], 'dk', '45', '.. .. .. ..'],
161
+ ['Djibouti', ['africa'], 'dj', '253'],
162
+ ['Dominica', ['america', 'carribean'], 'dm', '1767'],
163
+ ['Dominican Republic', ['america', 'carribean'], 'do', '1', '', 2, ['809', '829', '849']],
164
+ ['Ecuador', ['america', 'south-america'], 'ec', '593'],
165
+ ['Egypt', ['africa', 'north-africa'], 'eg', '20'],
166
+ ['El Salvador', ['america', 'central-america'], 'sv', '503', '....-....'],
167
+ ['Equatorial Guinea', ['africa'], 'gq', '240'],
168
+ ['Eritrea', ['africa'], 'er', '291'],
169
+ ['Estonia', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'ee', '372', '.... ......'],
170
+ ['Ethiopia', ['africa'], 'et', '251'],
171
+ ['Fiji', ['oceania'], 'fj', '679'],
172
+ ['Finland', ['europe', 'eu-union', 'baltic'], 'fi', '358', '.. ... .. ..'],
173
+ ['France', ['europe', 'eu-union'], 'fr', '33', '. .. .. .. ..'],
174
+ ['French Guiana', ['america', 'south-america'], 'gf', '594'],
175
+ ['French Polynesia', ['oceania'], 'pf', '689'],
176
+ ['Gabon', ['africa'], 'ga', '241'],
177
+ ['Gambia', ['africa'], 'gm', '220'],
178
+ ['Georgia', ['asia', 'ex-ussr'], 'ge', '995'],
179
+ ['Germany', ['europe', 'eu-union', 'baltic'], 'de', '49', '.... ........'],
180
+ ['Ghana', ['africa'], 'gh', '233'],
181
+ ['Greece', ['europe', 'eu-union'], 'gr', '30'],
182
+ ['Grenada', ['america', 'carribean'], 'gd', '1473'],
183
+ ['Guadeloupe', ['america', 'carribean'], 'gp', '590', '', 0],
184
+ ['Guam', ['oceania'], 'gu', '1671'],
185
+ ['Guatemala', ['america', 'central-america'], 'gt', '502', '....-....'],
186
+ ['Guinea', ['africa'], 'gn', '224'],
187
+ ['Guinea-Bissau', ['africa'], 'gw', '245'],
188
+ ['Guyana', ['america', 'south-america'], 'gy', '592'],
189
+ ['Haiti', ['america', 'carribean'], 'ht', '509', '....-....'],
190
+ ['Honduras', ['america', 'central-america'], 'hn', '504'],
191
+ ['Hong Kong', ['asia'], 'hk', '852', '.... ....'],
192
+ ['Hungary', ['europe', 'eu-union'], 'hu', '36'],
193
+ ['Iceland', ['europe'], 'is', '354', '... ....'],
194
+ ['India', ['asia'], 'in', '91', '.....-.....'],
195
+ ['Indonesia', ['asia'], 'id', '62'],
196
+ ['Iran', ['middle-east'], 'ir', '98', '... ... ....'],
197
+ ['Iraq', ['middle-east'], 'iq', '964'],
198
+ ['Ireland', ['europe', 'eu-union'], 'ie', '353', '.. .......'],
199
+ ['Israel', ['middle-east'], 'il', '972', '... ... ....'],
200
+ ['Italy', ['europe', 'eu-union'], 'it', '39', '... .......', 0],
201
+ ['Jamaica', ['america', 'carribean'], 'jm', '1876'],
202
+ ['Japan', ['asia'], 'jp', '81', '.. .... ....'],
203
+ ['Jordan', ['middle-east'], 'jo', '962'],
204
+ [
205
+ 'Kazakhstan',
206
+ ['asia', 'ex-ussr'],
207
+ 'kz',
208
+ '7',
209
+ '... ...-..-..',
210
+ 1,
211
+ ['310', '311', '312', '313', '315', '318', '321', '324', '325', '326', '327', '336', '7172', '73622'],
212
+ ],
213
+ ['Kenya', ['africa'], 'ke', '254'],
214
+ ['Kiribati', ['oceania'], 'ki', '686'],
215
+ ['Kosovo', ['europe', 'ex-yugos'], 'xk', '383'],
216
+ ['Kuwait', ['middle-east'], 'kw', '965'],
217
+ ['Kyrgyzstan', ['asia', 'ex-ussr'], 'kg', '996', '... ... ...'],
218
+ ['Laos', ['asia'], 'la', '856'],
219
+ ['Latvia', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'lv', '371', '.. ... ...'],
220
+ ['Lebanon', ['middle-east'], 'lb', '961'],
221
+ ['Lesotho', ['africa'], 'ls', '266'],
222
+ ['Liberia', ['africa'], 'lr', '231'],
223
+ ['Libya', ['africa', 'north-africa'], 'ly', '218'],
224
+ ['Liechtenstein', ['europe'], 'li', '423'],
225
+ ['Lithuania', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'lt', '370'],
226
+ ['Luxembourg', ['europe', 'eu-union'], 'lu', '352'],
227
+ ['Macau', ['asia'], 'mo', '853'],
228
+ ['Macedonia', ['europe', 'ex-yugos'], 'mk', '389'],
229
+ ['Madagascar', ['africa'], 'mg', '261'],
230
+ ['Malawi', ['africa'], 'mw', '265'],
231
+ ['Malaysia', ['asia'], 'my', '60', '..-....-....'],
232
+ ['Maldives', ['asia'], 'mv', '960'],
233
+ ['Mali', ['africa'], 'ml', '223'],
234
+ ['Malta', ['europe', 'eu-union'], 'mt', '356'],
235
+ ['Marshall Islands', ['oceania'], 'mh', '692'],
236
+ ['Martinique', ['america', 'carribean'], 'mq', '596'],
237
+ ['Mauritania', ['africa'], 'mr', '222'],
238
+ ['Mauritius', ['africa'], 'mu', '230'],
239
+ [
240
+ 'Mexico',
241
+ ['america', 'central-america'],
242
+ 'mx',
243
+ '52',
244
+ '... ... ....',
245
+ 0,
246
+ ['55', '81', '33', '656', '664', '998', '774', '229'],
247
+ ],
248
+ ['Micronesia', ['oceania'], 'fm', '691'],
249
+ ['Moldova', ['europe'], 'md', '373', '(..) ..-..-..'],
250
+ ['Monaco', ['europe'], 'mc', '377'],
251
+ ['Mongolia', ['asia'], 'mn', '976'],
252
+ ['Montenegro', ['europe', 'ex-yugos'], 'me', '382'],
253
+ ['Morocco', ['africa', 'north-africa'], 'ma', '212'],
254
+ ['Mozambique', ['africa'], 'mz', '258'],
255
+ ['Myanmar', ['asia'], 'mm', '95'],
256
+ ['Namibia', ['africa'], 'na', '264'],
257
+ ['Nauru', ['africa'], 'nr', '674'],
258
+ ['Nepal', ['asia'], 'np', '977'],
259
+ ['Netherlands', ['europe', 'eu-union'], 'nl', '31', '.. ........'],
260
+ ['New Caledonia', ['oceania'], 'nc', '687'],
261
+ ['New Zealand', ['oceania'], 'nz', '64', '...-...-....'],
262
+ ['Nicaragua', ['america', 'central-america'], 'ni', '505'],
263
+ ['Niger', ['africa'], 'ne', '227'],
264
+ ['Nigeria', ['africa'], 'ng', '234'],
265
+ ['North Korea', ['asia'], 'kp', '850'],
266
+ ['Norway', ['europe', 'baltic'], 'no', '47', '... .. ...'],
267
+ ['Oman', ['middle-east'], 'om', '968'],
268
+ ['Pakistan', ['asia'], 'pk', '92', '...-.......'],
269
+ ['Palau', ['oceania'], 'pw', '680'],
270
+ ['Palestine', ['middle-east'], 'ps', '970'],
271
+ ['Panama', ['america', 'central-america'], 'pa', '507'],
272
+ ['Papua New Guinea', ['oceania'], 'pg', '675'],
273
+ ['Paraguay', ['america', 'south-america'], 'py', '595'],
274
+ ['Peru', ['america', 'south-america'], 'pe', '51'],
275
+ ['Philippines', ['asia'], 'ph', '63', '.... .......'],
276
+ ['Poland', ['europe', 'eu-union', 'baltic'], 'pl', '48', '...-...-...'],
277
+ ['Portugal', ['europe', 'eu-union'], 'pt', '351'],
278
+ ['Puerto Rico', ['america', 'carribean'], 'pr', '1', '', 3, ['787', '939']],
279
+ ['Qatar', ['middle-east'], 'qa', '974'],
280
+ ['Réunion', ['africa'], 're', '262'],
281
+ ['Romania', ['europe', 'eu-union'], 'ro', '40'],
282
+ ['Russia', ['europe', 'asia', 'ex-ussr', 'baltic'], 'ru', '7', '(...) ...-..-..', 0],
283
+ ['Rwanda', ['africa'], 'rw', '250'],
284
+ ['Saint Kitts and Nevis', ['america', 'carribean'], 'kn', '1869'],
285
+ ['Saint Lucia', ['america', 'carribean'], 'lc', '1758'],
286
+ ['Saint Vincent and the Grenadines', ['america', 'carribean'], 'vc', '1784'],
287
+ ['Samoa', ['oceania'], 'ws', '685'],
288
+ ['San Marino', ['europe'], 'sm', '378'],
289
+ ['São Tomé and Príncipe', ['africa'], 'st', '239'],
290
+ ['Saudi Arabia', ['middle-east'], 'sa', '966'],
291
+ ['Senegal', ['africa'], 'sn', '221'],
292
+ ['Serbia', ['europe', 'ex-yugos'], 'rs', '381'],
293
+ ['Seychelles', ['africa'], 'sc', '248'],
294
+ ['Sierra Leone', ['africa'], 'sl', '232'],
295
+ ['Singapore', ['asia'], 'sg', '65', '....-....'],
296
+ ['Slovakia', ['europe', 'eu-union'], 'sk', '421'],
297
+ ['Slovenia', ['europe', 'eu-union', 'ex-yugos'], 'si', '386'],
298
+ ['Solomon Islands', ['oceania'], 'sb', '677'],
299
+ ['Somalia', ['africa'], 'so', '252'],
300
+ ['South Africa', ['africa'], 'za', '27'],
301
+ ['South Korea', ['asia'], 'kr', '82', '... .... ....'],
302
+ ['South Sudan', ['africa', 'north-africa'], 'ss', '211'],
303
+ ['Spain', ['europe', 'eu-union'], 'es', '34', '... ... ...'],
304
+ ['Sri Lanka', ['asia'], 'lk', '94'],
305
+ ['Sudan', ['africa'], 'sd', '249'],
306
+ ['Suriname', ['america', 'south-america'], 'sr', '597'],
307
+ ['Swaziland', ['africa'], 'sz', '268'],
308
+ ['Sweden', ['europe', 'eu-union', 'baltic'], 'se', '46', '(...) ...-...'],
309
+ ['Switzerland', ['europe'], 'ch', '41', '.. ... .. ..'],
310
+ ['Syria', ['middle-east'], 'sy', '963'],
311
+ ['Taiwan', ['asia'], 'tw', '886'],
312
+ ['Tajikistan', ['asia', 'ex-ussr'], 'tj', '992'],
313
+ ['Tanzania', ['africa'], 'tz', '255'],
314
+ ['Thailand', ['asia'], 'th', '66'],
315
+ ['Timor-Leste', ['asia'], 'tl', '670'],
316
+ ['Togo', ['africa'], 'tg', '228'],
317
+ ['Tonga', ['oceania'], 'to', '676'],
318
+ ['Trinidad and Tobago', ['america', 'carribean'], 'tt', '1868'],
319
+ ['Tunisia', ['africa', 'north-africa'], 'tn', '216'],
320
+ ['Turkey', ['europe'], 'tr', '90', '... ... .. ..'],
321
+ ['Turkmenistan', ['asia', 'ex-ussr'], 'tm', '993'],
322
+ ['Tuvalu', ['asia'], 'tv', '688'],
323
+ ['Uganda', ['africa'], 'ug', '256'],
324
+ ['Ukraine', ['europe', 'ex-ussr'], 'ua', '380', '(..) ... .. ..'],
325
+ ['United Arab Emirates', ['middle-east'], 'ae', '971'],
326
+ ['United Kingdom', ['europe', 'eu-union'], 'gb', '44', '.... ......'],
327
+ [
328
+ 'United States',
329
+ ['america', 'north-america'],
330
+ 'us',
331
+ '1',
332
+ '(...) ...-....',
333
+ 0,
334
+ [
335
+ '907',
336
+ '205',
337
+ '251',
338
+ '256',
339
+ '334',
340
+ '479',
341
+ '501',
342
+ '870',
343
+ '480',
344
+ '520',
345
+ '602',
346
+ '623',
347
+ '928',
348
+ '209',
349
+ '213',
350
+ '310',
351
+ '323',
352
+ '408',
353
+ '415',
354
+ '510',
355
+ '530',
356
+ '559',
357
+ '562',
358
+ '619',
359
+ '626',
360
+ '650',
361
+ '661',
362
+ '707',
363
+ '714',
364
+ '760',
365
+ '805',
366
+ '818',
367
+ '831',
368
+ '858',
369
+ '909',
370
+ '916',
371
+ '925',
372
+ '949',
373
+ '951',
374
+ '303',
375
+ '719',
376
+ '970',
377
+ '203',
378
+ '860',
379
+ '202',
380
+ '302',
381
+ '239',
382
+ '305',
383
+ '321',
384
+ '352',
385
+ '386',
386
+ '407',
387
+ '561',
388
+ '727',
389
+ '772',
390
+ '813',
391
+ '850',
392
+ '863',
393
+ '904',
394
+ '941',
395
+ '954',
396
+ '229',
397
+ '404',
398
+ '478',
399
+ '706',
400
+ '770',
401
+ '912',
402
+ '808',
403
+ '319',
404
+ '515',
405
+ '563',
406
+ '641',
407
+ '712',
408
+ '208',
409
+ '217',
410
+ '309',
411
+ '312',
412
+ '618',
413
+ '630',
414
+ '708',
415
+ '773',
416
+ '815',
417
+ '847',
418
+ '219',
419
+ '260',
420
+ '317',
421
+ '574',
422
+ '765',
423
+ '812',
424
+ '316',
425
+ '620',
426
+ '785',
427
+ '913',
428
+ '270',
429
+ '502',
430
+ '606',
431
+ '859',
432
+ '225',
433
+ '318',
434
+ '337',
435
+ '504',
436
+ '985',
437
+ '413',
438
+ '508',
439
+ '617',
440
+ '781',
441
+ '978',
442
+ '301',
443
+ '410',
444
+ '207',
445
+ '231',
446
+ '248',
447
+ '269',
448
+ '313',
449
+ '517',
450
+ '586',
451
+ '616',
452
+ '734',
453
+ '810',
454
+ '906',
455
+ '989',
456
+ '218',
457
+ '320',
458
+ '507',
459
+ '612',
460
+ '651',
461
+ '763',
462
+ '952',
463
+ '314',
464
+ '417',
465
+ '573',
466
+ '636',
467
+ '660',
468
+ '816',
469
+ '228',
470
+ '601',
471
+ '662',
472
+ '406',
473
+ '252',
474
+ '336',
475
+ '704',
476
+ '828',
477
+ '910',
478
+ '919',
479
+ '701',
480
+ '308',
481
+ '402',
482
+ '603',
483
+ '201',
484
+ '609',
485
+ '732',
486
+ '856',
487
+ '908',
488
+ '973',
489
+ '505',
490
+ '575',
491
+ '702',
492
+ '775',
493
+ '212',
494
+ '315',
495
+ '516',
496
+ '518',
497
+ '585',
498
+ '607',
499
+ '631',
500
+ '716',
501
+ '718',
502
+ '845',
503
+ '914',
504
+ '216',
505
+ '330',
506
+ '419',
507
+ '440',
508
+ '513',
509
+ '614',
510
+ '740',
511
+ '937',
512
+ '405',
513
+ '580',
514
+ '918',
515
+ '503',
516
+ '541',
517
+ '215',
518
+ '412',
519
+ '570',
520
+ '610',
521
+ '717',
522
+ '724',
523
+ '814',
524
+ '401',
525
+ '803',
526
+ '843',
527
+ '864',
528
+ '605',
529
+ '423',
530
+ '615',
531
+ '731',
532
+ '865',
533
+ '901',
534
+ '931',
535
+ '210',
536
+ '214',
537
+ '254',
538
+ '281',
539
+ '325',
540
+ '361',
541
+ '409',
542
+ '432',
543
+ '512',
544
+ '713',
545
+ '806',
546
+ '817',
547
+ '830',
548
+ '903',
549
+ '915',
550
+ '936',
551
+ '940',
552
+ '956',
553
+ '972',
554
+ '979',
555
+ '435',
556
+ '801',
557
+ '276',
558
+ '434',
559
+ '540',
560
+ '703',
561
+ '757',
562
+ '804',
563
+ '802',
564
+ '206',
565
+ '253',
566
+ '360',
567
+ '425',
568
+ '509',
569
+ '262',
570
+ '414',
571
+ '608',
572
+ '715',
573
+ '920',
574
+ '304',
575
+ '307',
576
+ ],
577
+ ],
578
+ ['Uruguay', ['america', 'south-america'], 'uy', '598'],
579
+ ['Uzbekistan', ['asia', 'ex-ussr'], 'uz', '998', '.. ... .. ..'],
580
+ ['Vanuatu', ['oceania'], 'vu', '678'],
581
+ ['Vatican City', ['europe'], 'va', '39', '.. .... ....', 1],
582
+ ['Venezuela', ['america', 'south-america'], 've', '58'],
583
+ ['Vietnam', ['asia'], 'vn', '84'],
584
+ ['Yemen', ['middle-east'], 'ye', '967'],
585
+ ['Zambia', ['africa'], 'zm', '260'],
586
+ ['Zimbabwe', ['africa'], 'zw', '263'],
587
+ ];
588
+ export default CountryData;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import './PhoneInput.scss';
3
+ interface IProps {
4
+ phoneValue: string;
5
+ countryCode?: string;
6
+ onPhoneValueChange: (string: any) => void;
7
+ validations?: 'default' | 'success' | 'warning' | 'error' | undefined;
8
+ onCountryCodeChange?: (string: any) => void;
9
+ invalid?: boolean;
10
+ setInvalid?: (boolean: any) => void;
11
+ isLoading?: boolean;
12
+ isDisabled?: boolean;
13
+ }
14
+ export declare function PhoneInput(props: IProps): JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=PhoneInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../src/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":";AAAA,OAAO,mBAAmB,CAAC;AAU3B,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACtE,mBAAmB,CAAC,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAsOvC"}