q2-tecton-elements 1.12.0-alpha.0 → 1.13.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 (234) hide show
  1. package/dist/cjs/click-elsewhere.cjs.entry.js +5 -7
  2. package/dist/cjs/{icons-4595ee47.js → icons-08ffe5c9.js} +394 -384
  3. package/dist/cjs/{index-c2e53804.js → index-7febb200.js} +112 -65
  4. package/dist/cjs/{index-a55d3c34.js → index-dd823ee6.js} +27 -14
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/q2-avatar.cjs.entry.js +2 -2
  7. package/dist/cjs/q2-badge.cjs.entry.js +43 -0
  8. package/dist/cjs/q2-btn_2.cjs.entry.js +13 -13
  9. package/dist/cjs/q2-calendar.cjs.entry.js +53 -59
  10. package/dist/cjs/q2-card.cjs.entry.js +127 -0
  11. package/dist/cjs/q2-carousel-pane.cjs.entry.js +5 -5
  12. package/dist/cjs/q2-carousel.cjs.entry.js +318 -106
  13. package/dist/cjs/q2-checkbox-group.cjs.entry.js +6 -3
  14. package/dist/cjs/q2-checkbox.cjs.entry.js +18 -10
  15. package/dist/cjs/q2-dropdown-item.cjs.entry.js +7 -7
  16. package/dist/cjs/q2-dropdown.cjs.entry.js +8 -17
  17. package/dist/cjs/q2-editable-field.cjs.entry.js +5 -8
  18. package/dist/cjs/q2-icon.cjs.entry.js +3 -3
  19. package/dist/cjs/q2-input.cjs.entry.js +439 -437
  20. package/dist/cjs/q2-loading-element.cjs.entry.js +3 -3
  21. package/dist/cjs/q2-loc.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-message.cjs.entry.js +5 -5
  23. package/dist/cjs/q2-optgroup.cjs.entry.js +3 -3
  24. package/dist/cjs/q2-option-list.cjs.entry.js +359 -0
  25. package/dist/cjs/q2-option.cjs.entry.js +3 -11
  26. package/dist/cjs/q2-pagination.cjs.entry.js +116 -0
  27. package/dist/cjs/q2-pill.cjs.entry.js +137 -0
  28. package/dist/cjs/q2-radio-group.cjs.entry.js +43 -18
  29. package/dist/cjs/q2-radio.cjs.entry.js +21 -4
  30. package/dist/cjs/q2-section.cjs.entry.js +5 -7
  31. package/dist/cjs/q2-select.cjs.entry.js +23 -26
  32. package/dist/cjs/q2-stepper-pane.cjs.entry.js +42 -4
  33. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +278 -0
  34. package/dist/cjs/q2-stepper.cjs.entry.js +10 -12
  35. package/dist/cjs/q2-tab-container.cjs.entry.js +12 -8
  36. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-tag.cjs.entry.js +94 -0
  38. package/dist/cjs/q2-tecton-elements.cjs.js +3 -3
  39. package/dist/cjs/q2-textarea.cjs.entry.js +8 -8
  40. package/dist/cjs/{shapes-086c0365.js → shapes-305746b5.js} +9 -16
  41. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -5
  42. package/dist/collection/collection-manifest.json +10 -3
  43. package/dist/collection/components/click-elsewhere/index.js +4 -6
  44. package/dist/collection/components/q2-badge/index.js +148 -0
  45. package/dist/collection/components/q2-badge/styles.css +134 -0
  46. package/dist/collection/components/q2-btn/index.js +14 -14
  47. package/dist/collection/components/q2-btn/styles.css +1 -1
  48. package/dist/collection/components/q2-calendar/helpers.js +22 -20
  49. package/dist/collection/components/q2-calendar/index.js +44 -37
  50. package/dist/collection/components/q2-calendar/validation.js +4 -2
  51. package/dist/collection/components/q2-card/index.js +347 -0
  52. package/dist/collection/components/q2-card/styles.css +177 -0
  53. package/dist/collection/components/q2-carousel/index.js +11 -16
  54. package/dist/collection/components/q2-carousel/styles.css +3 -3
  55. package/dist/collection/components/q2-carousel-pane/index.js +2 -2
  56. package/dist/collection/components/q2-carousel-pane/styles.css +8 -3
  57. package/dist/collection/components/q2-checkbox/index.js +37 -12
  58. package/dist/collection/components/q2-checkbox-group/index.js +22 -1
  59. package/dist/collection/components/q2-dropdown/index.js +6 -15
  60. package/dist/collection/components/q2-dropdown-item/index.js +5 -5
  61. package/dist/collection/components/q2-editable-field/index.js +3 -6
  62. package/dist/collection/components/q2-icon/icons.js +393 -383
  63. package/dist/collection/components/q2-input/formatting/credit-card.js +15 -13
  64. package/dist/collection/components/q2-input/formatting/currency.js +162 -162
  65. package/dist/collection/components/q2-input/formatting/date.js +1 -1
  66. package/dist/collection/components/q2-input/formatting/generic.js +7 -8
  67. package/dist/collection/components/q2-input/formatting/number.js +6 -9
  68. package/dist/collection/components/q2-input/formatting/numeric.js +5 -5
  69. package/dist/collection/components/q2-input/formatting/phone.js +215 -215
  70. package/dist/collection/components/q2-input/formatting/postal.js +1 -1
  71. package/dist/collection/components/q2-input/index.js +81 -25
  72. package/dist/collection/components/q2-input/styles.css +19 -14
  73. package/dist/collection/components/q2-loading/index.js +4 -4
  74. package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js +1 -1
  75. package/dist/collection/components/q2-loading/skeleton/shapes.js +8 -15
  76. package/dist/collection/components/q2-message/index.js +3 -3
  77. package/dist/collection/components/q2-optgroup/index.js +1 -1
  78. package/dist/collection/components/q2-option/index.js +19 -25
  79. package/dist/collection/components/q2-option/styles.css +5 -0
  80. package/dist/collection/components/q2-option-list/index.js +648 -0
  81. package/dist/collection/components/q2-option-list/styles.css +128 -0
  82. package/dist/collection/components/q2-pagination/index.js +275 -0
  83. package/dist/collection/components/q2-pagination/styles.css +120 -0
  84. package/dist/collection/components/q2-pill/index.js +324 -0
  85. package/dist/collection/components/q2-pill/styles.css +229 -0
  86. package/dist/collection/components/q2-radio/index.js +38 -1
  87. package/dist/collection/components/q2-radio-group/index.js +66 -24
  88. package/dist/collection/components/q2-section/index.js +5 -7
  89. package/dist/collection/components/q2-select/index.js +40 -25
  90. package/dist/collection/components/q2-stepper/index.js +8 -10
  91. package/dist/collection/components/q2-stepper/styles.css +5 -5
  92. package/dist/collection/components/q2-stepper-pane/index.js +133 -5
  93. package/dist/collection/components/q2-stepper-vertical/index.js +346 -0
  94. package/dist/collection/components/q2-stepper-vertical/styles.css +273 -0
  95. package/dist/collection/components/q2-tab-container/index.js +11 -7
  96. package/dist/collection/components/q2-tag/index.js +200 -0
  97. package/dist/collection/components/q2-tag/styles.css +141 -0
  98. package/dist/collection/components/q2-textarea/index.js +6 -6
  99. package/dist/collection/components/tecton-tab-pane/index.js +3 -10
  100. package/dist/collection/utils/index.js +25 -13
  101. package/dist/esm/click-elsewhere.entry.js +5 -7
  102. package/dist/esm/{icons-3ee662ea.js → icons-b1e11526.js} +394 -384
  103. package/dist/esm/{index-ec6660af.js → index-0ff8de52.js} +27 -15
  104. package/dist/esm/{index-be8376c0.js → index-dbfb3ecc.js} +112 -65
  105. package/dist/esm/loader.js +3 -3
  106. package/dist/esm/polyfills/css-shim.js +1 -1
  107. package/dist/esm/q2-avatar.entry.js +2 -2
  108. package/dist/esm/q2-badge.entry.js +39 -0
  109. package/dist/esm/q2-btn_2.entry.js +13 -13
  110. package/dist/esm/q2-calendar.entry.js +53 -59
  111. package/dist/esm/q2-card.entry.js +123 -0
  112. package/dist/esm/q2-carousel-pane.entry.js +5 -5
  113. package/dist/esm/q2-carousel.entry.js +318 -106
  114. package/dist/esm/q2-checkbox-group.entry.js +6 -3
  115. package/dist/esm/q2-checkbox.entry.js +18 -10
  116. package/dist/esm/q2-dropdown-item.entry.js +7 -7
  117. package/dist/esm/q2-dropdown.entry.js +8 -17
  118. package/dist/esm/q2-editable-field.entry.js +5 -8
  119. package/dist/esm/q2-icon.entry.js +3 -3
  120. package/dist/esm/q2-input.entry.js +439 -437
  121. package/dist/esm/q2-loading-element.entry.js +3 -3
  122. package/dist/esm/q2-loc.entry.js +2 -2
  123. package/dist/esm/q2-message.entry.js +5 -5
  124. package/dist/esm/q2-optgroup.entry.js +3 -3
  125. package/dist/esm/q2-option-list.entry.js +355 -0
  126. package/dist/esm/q2-option.entry.js +3 -11
  127. package/dist/esm/q2-pagination.entry.js +112 -0
  128. package/dist/esm/q2-pill.entry.js +133 -0
  129. package/dist/esm/q2-radio-group.entry.js +43 -18
  130. package/dist/esm/q2-radio.entry.js +21 -4
  131. package/dist/esm/q2-section.entry.js +5 -7
  132. package/dist/esm/q2-select.entry.js +23 -26
  133. package/dist/esm/q2-stepper-pane.entry.js +42 -4
  134. package/dist/esm/q2-stepper-vertical.entry.js +274 -0
  135. package/dist/esm/q2-stepper.entry.js +10 -12
  136. package/dist/esm/q2-tab-container.entry.js +12 -8
  137. package/dist/esm/q2-tab-pane.entry.js +1 -1
  138. package/dist/esm/q2-tag.entry.js +90 -0
  139. package/dist/esm/q2-tecton-elements.js +3 -3
  140. package/dist/esm/q2-textarea.entry.js +8 -8
  141. package/dist/esm/{shapes-81c11dfe.js → shapes-cff4e1f0.js} +9 -16
  142. package/dist/esm/tecton-tab-pane.entry.js +2 -5
  143. package/dist/loader/index.d.ts +0 -1
  144. package/dist/q2-tecton-elements/{p-75e87cca.entry.js → p-00e8f782.entry.js} +1 -1
  145. package/dist/q2-tecton-elements/p-0900bec1.entry.js +1 -0
  146. package/dist/q2-tecton-elements/p-10264ecb.entry.js +1 -0
  147. package/dist/q2-tecton-elements/p-123cdfb9.entry.js +1 -0
  148. package/dist/q2-tecton-elements/{p-fbf7c5e6.entry.js → p-1305ec5f.entry.js} +1 -1
  149. package/dist/q2-tecton-elements/p-148391d6.entry.js +1 -0
  150. package/dist/q2-tecton-elements/p-1dfaee64.entry.js +1 -0
  151. package/dist/q2-tecton-elements/{p-32ad664c.entry.js → p-221abbf6.entry.js} +1 -1
  152. package/dist/q2-tecton-elements/{p-c90a6016.js → p-255b2b4c.js} +1 -1
  153. package/dist/q2-tecton-elements/p-27736b6b.entry.js +1 -0
  154. package/dist/q2-tecton-elements/p-2846ab94.entry.js +1 -0
  155. package/dist/q2-tecton-elements/p-2bc1de01.entry.js +1 -0
  156. package/dist/q2-tecton-elements/{p-8ea2c4f7.entry.js → p-2c15414c.entry.js} +1 -1
  157. package/dist/q2-tecton-elements/p-2caa89fd.js +1 -0
  158. package/dist/q2-tecton-elements/p-327cca41.entry.js +1 -0
  159. package/dist/q2-tecton-elements/p-3a420dbf.entry.js +1 -0
  160. package/dist/q2-tecton-elements/p-3abcb09d.entry.js +1 -0
  161. package/dist/q2-tecton-elements/p-3fe98e3e.entry.js +1 -0
  162. package/dist/q2-tecton-elements/{p-bb2e110a.entry.js → p-430a979b.entry.js} +1 -1
  163. package/dist/q2-tecton-elements/{p-7e6fc65d.entry.js → p-45eb7739.entry.js} +1 -1
  164. package/dist/q2-tecton-elements/{p-750bcd33.entry.js → p-49b2abc4.entry.js} +1 -1
  165. package/dist/q2-tecton-elements/{p-9b50c3c3.entry.js → p-4ab30466.entry.js} +1 -1
  166. package/dist/q2-tecton-elements/p-50e218c7.entry.js +1 -0
  167. package/dist/q2-tecton-elements/p-5bbf2bfe.entry.js +1 -0
  168. package/dist/q2-tecton-elements/{p-ac859fcc.entry.js → p-6fec9235.entry.js} +1 -1
  169. package/dist/q2-tecton-elements/p-824aebd9.js +1 -0
  170. package/dist/q2-tecton-elements/p-a4ae89cc.entry.js +1 -0
  171. package/dist/q2-tecton-elements/{p-50967020.entry.js → p-a5562aaa.entry.js} +1 -1
  172. package/dist/q2-tecton-elements/p-ae4fed23.entry.js +1 -0
  173. package/dist/q2-tecton-elements/p-b2302cd3.entry.js +1 -0
  174. package/dist/q2-tecton-elements/p-c20cbb2d.entry.js +1 -0
  175. package/dist/q2-tecton-elements/p-ca7a3380.entry.js +1 -0
  176. package/dist/q2-tecton-elements/{p-a6f8d09a.entry.js → p-d33e152c.entry.js} +1 -1
  177. package/dist/q2-tecton-elements/{p-9024859f.entry.js → p-d5218cd6.entry.js} +1 -1
  178. package/dist/q2-tecton-elements/p-d52b435e.entry.js +1 -0
  179. package/dist/q2-tecton-elements/p-dd02cf8d.js +1 -0
  180. package/dist/q2-tecton-elements/{p-07a5d703.entry.js → p-e0e7ae8b.entry.js} +1 -1
  181. package/dist/q2-tecton-elements/{p-7e030e92.entry.js → p-ede12fc1.entry.js} +1 -1
  182. package/dist/q2-tecton-elements/{p-df182f61.entry.js → p-fdfbe75b.entry.js} +1 -1
  183. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  184. package/dist/test/elements/q2-tag-test.js +151 -0
  185. package/dist/test/helpers.js +20 -9
  186. package/dist/types/components/q2-badge/index.d.ts +13 -0
  187. package/dist/types/components/q2-btn/index.d.ts +3 -3
  188. package/dist/types/components/q2-calendar/helpers.d.ts +1 -0
  189. package/dist/types/components/q2-calendar/index.d.ts +2 -1
  190. package/dist/types/components/q2-calendar/validation.d.ts +1 -1
  191. package/dist/types/components/q2-card/index.d.ts +35 -0
  192. package/dist/types/components/q2-checkbox/index.d.ts +3 -1
  193. package/dist/types/components/q2-checkbox-group/index.d.ts +1 -0
  194. package/dist/types/components/q2-dropdown/index.d.ts +1 -1
  195. package/dist/types/components/q2-editable-field/index.d.ts +1 -1
  196. package/dist/types/components/q2-input/formatting/credit-card.d.ts +1 -3
  197. package/dist/types/components/q2-input/index.d.ts +5 -2
  198. package/dist/types/components/q2-option/index.d.ts +2 -3
  199. package/dist/types/components/q2-option-list/index.d.ts +62 -0
  200. package/dist/types/components/q2-pagination/index.d.ts +30 -0
  201. package/dist/types/components/q2-pill/index.d.ts +39 -0
  202. package/dist/types/components/q2-radio/index.d.ts +4 -1
  203. package/dist/types/components/q2-radio-group/index.d.ts +5 -1
  204. package/dist/types/components/q2-select/index.d.ts +2 -1
  205. package/dist/types/components/q2-stepper/index.d.ts +1 -1
  206. package/dist/types/components/q2-stepper-pane/index.d.ts +16 -1
  207. package/dist/types/components/q2-stepper-vertical/index.d.ts +52 -0
  208. package/dist/types/components/q2-tab-container/index.d.ts +1 -1
  209. package/dist/types/components/q2-tag/index.d.ts +28 -0
  210. package/dist/types/components/tecton-tab-pane/index.d.ts +2 -2
  211. package/dist/types/components.d.ts +235 -11
  212. package/dist/types/global.d.ts +1 -0
  213. package/dist/types/stencil-public-runtime.d.ts +6 -4
  214. package/dist/types/util.d.ts +2 -10
  215. package/dist/types/utils/index.d.ts +1 -0
  216. package/dist/types/workspace/workspace/Tecton_tecton-production_master/packages/q2-tecton-elements/.stencil/test/elements/q2-tag-test.d.ts +1 -0
  217. package/dist/types/workspace/workspace/{_production_release_1.11.0-alpha → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +6 -3
  218. package/package.json +13 -13
  219. package/dist/q2-tecton-elements/p-06fff43d.entry.js +0 -1
  220. package/dist/q2-tecton-elements/p-080839ed.js +0 -1
  221. package/dist/q2-tecton-elements/p-29a37091.entry.js +0 -1
  222. package/dist/q2-tecton-elements/p-37aba2a4.js +0 -1
  223. package/dist/q2-tecton-elements/p-4cd00f1a.js +0 -1
  224. package/dist/q2-tecton-elements/p-6702eb4d.entry.js +0 -1
  225. package/dist/q2-tecton-elements/p-768e3a5d.entry.js +0 -1
  226. package/dist/q2-tecton-elements/p-843b1ee9.entry.js +0 -1
  227. package/dist/q2-tecton-elements/p-943c7745.entry.js +0 -1
  228. package/dist/q2-tecton-elements/p-95a73559.entry.js +0 -1
  229. package/dist/q2-tecton-elements/p-9a977ee6.entry.js +0 -1
  230. package/dist/q2-tecton-elements/p-b281c349.entry.js +0 -1
  231. package/dist/q2-tecton-elements/p-c5e55b9f.entry.js +0 -1
  232. package/dist/q2-tecton-elements/p-ccbe9158.entry.js +0 -1
  233. package/dist/q2-tecton-elements/p-db6f90ac.entry.js +0 -1
  234. package/dist/q2-tecton-elements/p-fa6eea5c.entry.js +0 -1
@@ -2,52 +2,52 @@ import formatValue from './generic';
2
2
  export const phoneNumberFormats = {
3
3
  AF: {
4
4
  mask: '(##) #######',
5
- prefix: '+93 '
5
+ prefix: '+93 ',
6
6
  },
7
7
  AL: {
8
8
  mask: '#######',
9
- prefix: '+355 '
9
+ prefix: '+355 ',
10
10
  },
11
11
  DZ: {
12
12
  mask: '(##) ###-###',
13
- prefix: '+213 '
13
+ prefix: '+213 ',
14
14
  },
15
15
  // AS
16
16
  AD: {
17
17
  mask: '(#) #####',
18
- prefix: '+376 '
18
+ prefix: '+376 ',
19
19
  },
20
20
  AO: {
21
21
  mask: '#########',
22
- prefix: '+244 '
22
+ prefix: '+244 ',
23
23
  },
24
24
  AI: {
25
25
  mask: '(###) ###-####',
26
- prefix: '+1 '
26
+ prefix: '+1 ',
27
27
  },
28
28
  AG: {
29
29
  mask: '(###) ###-####',
30
- prefix: '+1 '
30
+ prefix: '+1 ',
31
31
  },
32
32
  AR: {
33
33
  mask: '##########',
34
- prefix: '+54 '
34
+ prefix: '+54 ',
35
35
  },
36
36
  AM: {
37
37
  mask: '########',
38
- prefix: '+375 '
38
+ prefix: '+375 ',
39
39
  },
40
40
  AQ: {
41
41
  mask: '##-####',
42
- prefix: '+672 '
42
+ prefix: '+672 ',
43
43
  },
44
44
  AW: {
45
45
  mask: '###-####',
46
- prefix: '+297 '
46
+ prefix: '+297 ',
47
47
  },
48
48
  AU: {
49
49
  mask: '(##) ####-####',
50
- prefix: '+61 '
50
+ prefix: '+61 ',
51
51
  },
52
52
  /* AT: {
53
53
  mask:'####?????????',
@@ -55,7 +55,7 @@ export const phoneNumberFormats = {
55
55
  }, */
56
56
  AT: {
57
57
  mask: '#############',
58
- prefix: '+43 '
58
+ prefix: '+43 ',
59
59
  },
60
60
  /* AZ: {
61
61
  mask:'########?',
@@ -63,15 +63,15 @@ export const phoneNumberFormats = {
63
63
  }, */
64
64
  AZ: {
65
65
  mask: '#########',
66
- prefix: '+994 '
66
+ prefix: '+994 ',
67
67
  },
68
68
  BS: {
69
69
  mask: '(###) ###-####',
70
- prefix: '+1 '
70
+ prefix: '+1 ',
71
71
  },
72
72
  BH: {
73
73
  mask: '####-####',
74
- prefix: '+973 '
74
+ prefix: '+973 ',
75
75
  },
76
76
  /* BD: {
77
77
  mask:'#######??',
@@ -79,43 +79,43 @@ export const phoneNumberFormats = {
79
79
  }, */
80
80
  BD: {
81
81
  mask: '#########',
82
- prefix: '+880 '
82
+ prefix: '+880 ',
83
83
  },
84
84
  BB: {
85
85
  mask: '(###) ###-####',
86
- prefix: '+1 '
86
+ prefix: '+1 ',
87
87
  },
88
88
  BY: {
89
89
  mask: '#########',
90
- prefix: '+375 '
90
+ prefix: '+375 ',
91
91
  },
92
92
  BE: {
93
93
  mask: '########??',
94
- prefix: '+32 '
94
+ prefix: '+32 ',
95
95
  },
96
96
  BZ: {
97
97
  mask: '#######',
98
- prefix: '+501 '
98
+ prefix: '+501 ',
99
99
  },
100
100
  BJ: {
101
101
  mask: '(##) ###-###',
102
- prefix: '+229 '
102
+ prefix: '+229 ',
103
103
  },
104
104
  BM: {
105
105
  mask: '(###) ###-####',
106
- prefix: '+1 '
106
+ prefix: '+1 ',
107
107
  },
108
108
  BT: {
109
109
  mask: '(#) ###-###',
110
- prefix: '+975 '
110
+ prefix: '+975 ',
111
111
  },
112
112
  BO: {
113
113
  mask: '(#) ###-####',
114
- prefix: '+591 '
114
+ prefix: '+591 ',
115
115
  },
116
116
  BA: {
117
117
  mask: '(##) ##-##-##',
118
- prefix: '+387 '
118
+ prefix: '+387 ',
119
119
  },
120
120
  /* BW: {
121
121
  mask:'#######?',
@@ -123,55 +123,55 @@ export const phoneNumberFormats = {
123
123
  }, */
124
124
  BW: {
125
125
  mask: '########',
126
- prefix: '+267 '
126
+ prefix: '+267 ',
127
127
  },
128
128
  BR: {
129
129
  mask: '(##) ####-####',
130
- prefix: '+55 '
130
+ prefix: '+55 ',
131
131
  },
132
132
  BN: {
133
133
  mask: '###-####',
134
- prefix: '+673 '
134
+ prefix: '+673 ',
135
135
  },
136
136
  BG: {
137
137
  mask: '#######?',
138
- prefix: '+359 '
138
+ prefix: '+359 ',
139
139
  },
140
140
  BF: {
141
141
  mask: '##-##-##-##',
142
- prefix: '+226 '
142
+ prefix: '+226 ',
143
143
  },
144
144
  BI: {
145
145
  mask: '####-####',
146
- prefix: '+257 '
146
+ prefix: '+257 ',
147
147
  },
148
148
  KH: {
149
149
  mask: '(##) ######',
150
- prefix: '+855 '
150
+ prefix: '+855 ',
151
151
  },
152
152
  CM: {
153
153
  mask: '####-####',
154
- prefix: '+237 '
154
+ prefix: '+237 ',
155
155
  },
156
156
  CA: {
157
157
  mask: '(###) ###-####',
158
- prefix: '+1 '
158
+ prefix: '+1 ',
159
159
  },
160
160
  CV: {
161
161
  mask: '###-####',
162
- prefix: '+238 '
162
+ prefix: '+238 ',
163
163
  },
164
164
  KY: {
165
165
  mask: '(###) ###-####',
166
- prefix: '+1 '
166
+ prefix: '+1 ',
167
167
  },
168
168
  CF: {
169
169
  mask: '###-###',
170
- prefix: '+236 '
170
+ prefix: '+236 ',
171
171
  },
172
172
  TD: {
173
173
  mask: '###-##-##',
174
- prefix: '+235 '
174
+ prefix: '+235 ',
175
175
  },
176
176
  /* CL: {
177
177
  mask:'########?',
@@ -179,7 +179,7 @@ export const phoneNumberFormats = {
179
179
  }, */
180
180
  CL: {
181
181
  mask: '#########',
182
- prefix: '+56 '
182
+ prefix: '+56 ',
183
183
  },
184
184
  /* CN: {
185
185
  mask:'########???',
@@ -187,7 +187,7 @@ export const phoneNumberFormats = {
187
187
  }, */
188
188
  CN: {
189
189
  mask: '###########',
190
- prefix: '+86 '
190
+ prefix: '+86 ',
191
191
  },
192
192
  /* CO: {
193
193
  mask:'########??',
@@ -195,32 +195,32 @@ export const phoneNumberFormats = {
195
195
  }, */
196
196
  CO: {
197
197
  mask: '##########',
198
- prefix: '57 '
198
+ prefix: '57 ',
199
199
  },
200
200
  KM: {
201
201
  mask: '###-####',
202
- prefix: '+269 '
202
+ prefix: '+269 ',
203
203
  },
204
204
  CD: {
205
205
  mask: '###-####',
206
- prefix: '+243 '
206
+ prefix: '+243 ',
207
207
  },
208
208
  CG: {
209
209
  mask: '###-####',
210
- prefix: '+242 '
210
+ prefix: '+242 ',
211
211
  },
212
212
  // CK
213
213
  CR: {
214
214
  mask: '####-####',
215
- prefix: '+506 '
215
+ prefix: '+506 ',
216
216
  },
217
217
  CI: {
218
218
  mask: '####-####',
219
- prefix: '+225 '
219
+ prefix: '+225 ',
220
220
  },
221
221
  HR: {
222
222
  mask: '########?',
223
- prefix: '+385 '
223
+ prefix: '+385 ',
224
224
  },
225
225
  /* CU: {
226
226
  mask:'#####?ID:?????',
@@ -228,39 +228,39 @@ export const phoneNumberFormats = {
228
228
  }, */
229
229
  CU: {
230
230
  mask: '###########',
231
- prefix: '+53 '
231
+ prefix: '+53 ',
232
232
  },
233
233
  CY: {
234
234
  mask: '####-####',
235
- prefix: '+357 '
235
+ prefix: '+357 ',
236
236
  },
237
237
  CZ: {
238
238
  mask: '#########',
239
- prefix: '+420 '
239
+ prefix: '+420 ',
240
240
  },
241
241
  DK: {
242
242
  mask: '####-####',
243
- prefix: '+45 '
243
+ prefix: '+45 ',
244
244
  },
245
245
  DJ: {
246
246
  mask: '##-##-##-##',
247
- prefix: '+253 '
247
+ prefix: '+253 ',
248
248
  },
249
249
  DM: {
250
250
  mask: '(###) ###-####',
251
- prefix: '+1 '
251
+ prefix: '+1 ',
252
252
  },
253
253
  DO: {
254
254
  mask: '(###) ###-####',
255
- prefix: '+1 '
255
+ prefix: '+1 ',
256
256
  },
257
257
  TL: {
258
258
  mask: '###-####',
259
- prefix: '+670 '
259
+ prefix: '+670 ',
260
260
  },
261
261
  EC: {
262
262
  mask: '(##) ###-####',
263
- prefix: '+593 '
263
+ prefix: '+593 ',
264
264
  },
265
265
  /* EG: {
266
266
  mask:'########??',
@@ -268,36 +268,36 @@ export const phoneNumberFormats = {
268
268
  }, */
269
269
  EG: {
270
270
  mask: '##########',
271
- prefix: '+20 '
271
+ prefix: '+20 ',
272
272
  },
273
273
  SV: {
274
274
  mask: '####-####',
275
- prefix: '+503 '
275
+ prefix: '+503 ',
276
276
  },
277
277
  GQ: {
278
278
  mask: '##-####',
279
- prefix: '+240 '
279
+ prefix: '+240 ',
280
280
  },
281
- //ER:
281
+ // ER:
282
282
  EE: {
283
283
  mask: '#######?',
284
- prefix: '+372 '
284
+ prefix: '+372 ',
285
285
  },
286
286
  ET: {
287
287
  mask: '(##) ###-####',
288
- prefix: '+251 '
288
+ prefix: '+251 ',
289
289
  },
290
290
  FK: {
291
291
  mask: '#####',
292
- prefix: '+500 '
292
+ prefix: '+500 ',
293
293
  },
294
294
  FO: {
295
295
  mask: '######',
296
- prefix: '+298 '
296
+ prefix: '+298 ',
297
297
  },
298
298
  FJ: {
299
299
  mask: '###-####',
300
- prefix: '+679 '
300
+ prefix: '+679 ',
301
301
  },
302
302
  /* FI: {
303
303
  mask:'#####???????',
@@ -305,11 +305,11 @@ export const phoneNumberFormats = {
305
305
  }, */
306
306
  FI: {
307
307
  mask: '############',
308
- prefix: '+358 '
308
+ prefix: '+358 ',
309
309
  },
310
310
  FR: {
311
311
  mask: '#########',
312
- prefix: '+33 '
312
+ prefix: '+33 ',
313
313
  },
314
314
  /* GF: {
315
315
  mask:'#########?',
@@ -317,23 +317,23 @@ export const phoneNumberFormats = {
317
317
  }, */
318
318
  GF: {
319
319
  mask: '##########',
320
- prefix: '+594 '
320
+ prefix: '+594 ',
321
321
  },
322
322
  PF: {
323
323
  mask: '######',
324
- prefix: '+689 '
324
+ prefix: '+689 ',
325
325
  },
326
326
  GA: {
327
327
  mask: '######?',
328
- prefix: '+241 '
328
+ prefix: '+241 ',
329
329
  },
330
330
  GM: {
331
331
  mask: '###-####',
332
- prefix: '+220 '
332
+ prefix: '+220 ',
333
333
  },
334
334
  GE: {
335
335
  mask: '########',
336
- prefix: '+995 '
336
+ prefix: '+995 ',
337
337
  },
338
338
  /* DE: {
339
339
  mask:'######?????',
@@ -341,7 +341,7 @@ export const phoneNumberFormats = {
341
341
  }, */
342
342
  DE: {
343
343
  mask: '###########',
344
- prefix: '+49 '
344
+ prefix: '+49 ',
345
345
  },
346
346
  /* GH: {
347
347
  mask:'########?',
@@ -349,63 +349,63 @@ export const phoneNumberFormats = {
349
349
  }, */
350
350
  GH: {
351
351
  mask: '#########',
352
- prefix: '+233 '
352
+ prefix: '+233 ',
353
353
  },
354
354
  GI: {
355
355
  mask: '####-####',
356
- prefix: '+350 '
356
+ prefix: '+350 ',
357
357
  },
358
358
  GR: {
359
359
  mask: '##########',
360
- prefix: '+30 '
360
+ prefix: '+30 ',
361
361
  },
362
362
  GL: {
363
363
  mask: '###-###',
364
- prefix: '+299 '
364
+ prefix: '+299 ',
365
365
  },
366
366
  GD: {
367
367
  mask: '(###) ###-####',
368
- prefix: '+1 '
368
+ prefix: '+1 ',
369
369
  },
370
370
  GP: {
371
371
  mask: '##########',
372
- prefix: '+590 '
372
+ prefix: '+590 ',
373
373
  },
374
374
  GU: {
375
375
  mask: '(###) ###-####',
376
- prefix: '+1 '
376
+ prefix: '+1 ',
377
377
  },
378
378
  GT: {
379
379
  mask: '####-####',
380
- prefix: '+502 '
380
+ prefix: '+502 ',
381
381
  },
382
382
  GN: {
383
383
  mask: '####-####',
384
- prefix: '+224 '
384
+ prefix: '+224 ',
385
385
  },
386
386
  GW: {
387
387
  mask: '###-####',
388
- prefix: '+245 '
388
+ prefix: '+245 ',
389
389
  },
390
390
  GY: {
391
391
  mask: '(###) ####',
392
- prefix: '+592 '
392
+ prefix: '+592 ',
393
393
  },
394
394
  HK: {
395
395
  mask: '####-####',
396
- prefix: '+852 '
396
+ prefix: '+852 ',
397
397
  },
398
398
  HN: {
399
399
  mask: '########',
400
- prefix: '+504 '
400
+ prefix: '+504 ',
401
401
  },
402
402
  HT: {
403
403
  mask: '####-####',
404
- prefix: '+509 '
404
+ prefix: '+509 ',
405
405
  },
406
406
  HU: {
407
407
  mask: '########??',
408
- prefix: '+36 '
408
+ prefix: '+36 ',
409
409
  },
410
410
  /* IS: {
411
411
  mask:'#######??',
@@ -413,11 +413,11 @@ export const phoneNumberFormats = {
413
413
  }, */
414
414
  IS: {
415
415
  mask: '#########',
416
- prefix: '+354 '
416
+ prefix: '+354 ',
417
417
  },
418
418
  IN: {
419
419
  mask: '##########',
420
- prefix: '+91 '
420
+ prefix: '+91 ',
421
421
  },
422
422
  /* ID: {
423
423
  mask:'#######???',
@@ -425,11 +425,11 @@ export const phoneNumberFormats = {
425
425
  }, */
426
426
  ID: {
427
427
  mask: '##########',
428
- prefix: '+62 '
428
+ prefix: '+62 ',
429
429
  },
430
430
  IR: {
431
431
  mask: '##########',
432
- prefix: '+98 '
432
+ prefix: '+98 ',
433
433
  },
434
434
  /* IQ: {
435
435
  mask:'########??',
@@ -437,7 +437,7 @@ export const phoneNumberFormats = {
437
437
  }, */
438
438
  IQ: {
439
439
  mask: '##########',
440
- prefix: '+964 '
440
+ prefix: '+964 ',
441
441
  },
442
442
  /* IE: {
443
443
  mask:'#######??',
@@ -445,7 +445,7 @@ export const phoneNumberFormats = {
445
445
  }, */
446
446
  IE: {
447
447
  mask: '#########',
448
- prefix: '+353 '
448
+ prefix: '+353 ',
449
449
  },
450
450
  /* IL: {
451
451
  mask:'########?',
@@ -453,7 +453,7 @@ export const phoneNumberFormats = {
453
453
  }, */
454
454
  IL: {
455
455
  mask: '#########',
456
- prefix: '+972 '
456
+ prefix: '+972 ',
457
457
  },
458
458
  /* IT: {
459
459
  mask:'######????',
@@ -461,15 +461,15 @@ export const phoneNumberFormats = {
461
461
  }, */
462
462
  IT: {
463
463
  mask: '##########',
464
- prefix: '+39 '
464
+ prefix: '+39 ',
465
465
  },
466
466
  JM: {
467
467
  mask: '(###) ###-####',
468
- prefix: '+1 '
468
+ prefix: '+1 ',
469
469
  },
470
470
  JP: {
471
471
  mask: '#########',
472
- prefix: '+81 '
472
+ prefix: '+81 ',
473
473
  },
474
474
  /* JO: {
475
475
  mask:'#######??',
@@ -477,11 +477,11 @@ export const phoneNumberFormats = {
477
477
  }, */
478
478
  JO: {
479
479
  mask: '#########',
480
- prefix: '+962 '
480
+ prefix: '+962 ',
481
481
  },
482
482
  KZ: {
483
483
  mask: '(###) ####-###',
484
- prefix: '+7 '
484
+ prefix: '+7 ',
485
485
  },
486
486
  /* KE: {
487
487
  mask:'######????',
@@ -489,44 +489,44 @@ export const phoneNumberFormats = {
489
489
  }, */
490
490
  KE: {
491
491
  mask: '##########',
492
- prefix: '+254 '
492
+ prefix: '+254 ',
493
493
  },
494
494
  KI: {
495
495
  mask: '##-###',
496
- prefix: '+686 '
496
+ prefix: '+686 ',
497
497
  },
498
- //kp
498
+ // kp
499
499
  /* KR: {
500
500
  mask:'####??????',
501
501
  prefix: ''
502
502
  }, */
503
503
  KR: {
504
504
  mask: '##########',
505
- prefix: '+82 '
505
+ prefix: '+82 ',
506
506
  },
507
507
  KW: {
508
508
  mask: '####-####',
509
- prefix: '+965 '
509
+ prefix: '+965 ',
510
510
  },
511
511
  KG: {
512
512
  mask: '#########',
513
- prefix: '+996 '
513
+ prefix: '+996 ',
514
514
  },
515
515
  LA: {
516
516
  mask: '########?',
517
- prefix: '+856 '
517
+ prefix: '+856 ',
518
518
  },
519
519
  LV: {
520
520
  mask: '####-####',
521
- prefix: '+371 '
521
+ prefix: '+371 ',
522
522
  },
523
523
  LB: {
524
524
  mask: '#######?',
525
- prefix: '+961 '
525
+ prefix: '+961 ',
526
526
  },
527
527
  LS: {
528
528
  mask: '##-###-###',
529
- prefix: '+266 '
529
+ prefix: '+266 ',
530
530
  },
531
531
  // LR
532
532
  /* LY: {
@@ -535,15 +535,15 @@ export const phoneNumberFormats = {
535
535
  }, */
536
536
  LY: {
537
537
  mask: '########?',
538
- prefix: '+218 '
538
+ prefix: '+218 ',
539
539
  },
540
540
  LI: {
541
541
  mask: '###-####',
542
- prefix: '+423 '
542
+ prefix: '+423 ',
543
543
  },
544
544
  LT: {
545
545
  mask: '########',
546
- prefix: '+370 '
546
+ prefix: '+370 ',
547
547
  },
548
548
  /* LU: {
549
549
  mask:'#####??????',
@@ -551,19 +551,19 @@ export const phoneNumberFormats = {
551
551
  }, */
552
552
  LU: {
553
553
  mask: '###########',
554
- prefix: '+352 '
554
+ prefix: '+352 ',
555
555
  },
556
556
  MO: {
557
557
  mask: '####-####',
558
- prefix: '+853 '
558
+ prefix: '+853 ',
559
559
  },
560
560
  MK: {
561
561
  mask: '########',
562
- prefix: '+389 '
562
+ prefix: '+389 ',
563
563
  },
564
564
  MG: {
565
565
  mask: '##-##-###-##',
566
- prefix: '+261 '
566
+ prefix: '+261 ',
567
567
  },
568
568
  /* MW: {
569
569
  mask:'#######??',
@@ -571,7 +571,7 @@ export const phoneNumberFormats = {
571
571
  }, */
572
572
  MW: {
573
573
  mask: '#########',
574
- prefix: '+265 '
574
+ prefix: '+265 ',
575
575
  },
576
576
  /* MY: {
577
577
  mask:'#######???',
@@ -579,46 +579,46 @@ export const phoneNumberFormats = {
579
579
  }, */
580
580
  MY: {
581
581
  mask: '##########',
582
- prefix: '+60 '
582
+ prefix: '+60 ',
583
583
  },
584
584
  MV: {
585
585
  mask: '###-####',
586
- prefix: '+960 '
586
+ prefix: '+960 ',
587
587
  },
588
588
  ML: {
589
589
  mask: '####-####',
590
- prefix: '+223 '
590
+ prefix: '+223 ',
591
591
  },
592
592
  MT: {
593
593
  mask: '##-##-##-##',
594
- prefix: '+356 '
594
+ prefix: '+356 ',
595
595
  },
596
596
  MH: {
597
597
  mask: '###-####',
598
- prefix: '+692 '
598
+ prefix: '+692 ',
599
599
  },
600
600
  MQ: {
601
601
  mask: '###-######',
602
- prefix: '+596 '
602
+ prefix: '+596 ',
603
603
  },
604
604
  // MR
605
605
  MU: {
606
606
  mask: '###-####',
607
- prefix: '+230 '
607
+ prefix: '+230 ',
608
608
  },
609
609
  // YT
610
610
  MX: {
611
611
  mask: '(###) ###-####',
612
- prefix: '+52 '
612
+ prefix: '+52 ',
613
613
  },
614
614
  // FM
615
615
  MD: {
616
616
  mask: '########',
617
- prefix: '+373 '
617
+ prefix: '+373 ',
618
618
  },
619
619
  MC: {
620
620
  mask: '####-####',
621
- prefix: '+377 '
621
+ prefix: '+377 ',
622
622
  },
623
623
  /* MN: {
624
624
  mask:'######?????',
@@ -626,15 +626,15 @@ export const phoneNumberFormats = {
626
626
  }, */
627
627
  MN: {
628
628
  mask: '###########',
629
- prefix: '+976 '
629
+ prefix: '+976 ',
630
630
  },
631
631
  MS: {
632
632
  mask: '(###) ###-####',
633
- prefix: '+1 '
633
+ prefix: '+1 ',
634
634
  },
635
635
  MA: {
636
636
  mask: '##-###-####',
637
- prefix: '+212 '
637
+ prefix: '+212 ',
638
638
  },
639
639
  /* MZ: {
640
640
  mask:'########?',
@@ -642,7 +642,7 @@ export const phoneNumberFormats = {
642
642
  }, */
643
643
  MZ: {
644
644
  mask: '#########',
645
- prefix: '+258 '
645
+ prefix: '+258 ',
646
646
  },
647
647
  /* MM: {
648
648
  mask:'#######?',
@@ -650,7 +650,7 @@ export const phoneNumberFormats = {
650
650
  }, */
651
651
  MM: {
652
652
  mask: '########',
653
- prefix: '+95 '
653
+ prefix: '+95 ',
654
654
  },
655
655
  /* NA: {
656
656
  mask:'######????',
@@ -658,7 +658,7 @@ export const phoneNumberFormats = {
658
658
  }, */
659
659
  NA: {
660
660
  mask: '##########',
661
- prefix: '+264 '
661
+ prefix: '+264 ',
662
662
  },
663
663
  // NR
664
664
  /* NP: {
@@ -667,11 +667,11 @@ export const phoneNumberFormats = {
667
667
  }, */
668
668
  NP: {
669
669
  mask: '##########',
670
- prefix: '+977 '
670
+ prefix: '+977 ',
671
671
  },
672
672
  NL: {
673
673
  mask: '#########',
674
- prefix: '+31 '
674
+ prefix: '+31 ',
675
675
  },
676
676
  /* AN: {
677
677
  mask:'#######?',
@@ -679,11 +679,11 @@ export const phoneNumberFormats = {
679
679
  }, */
680
680
  AN: {
681
681
  mask: '########',
682
- prefix: '+599 '
682
+ prefix: '+599 ',
683
683
  },
684
684
  NC: {
685
685
  mask: '###-###',
686
- prefix: '+687 '
686
+ prefix: '+687 ',
687
687
  },
688
688
  /* NZ: {
689
689
  mask:'########??',
@@ -691,15 +691,15 @@ export const phoneNumberFormats = {
691
691
  }, */
692
692
  NZ: {
693
693
  mask: '##########',
694
- prefix: '+64 '
694
+ prefix: '+64 ',
695
695
  },
696
696
  NI: {
697
697
  mask: '####-####',
698
- prefix: '+505 '
698
+ prefix: '+505 ',
699
699
  },
700
700
  NE: {
701
701
  mask: '##-###-###',
702
- prefix: '+227 '
702
+ prefix: '+227 ',
703
703
  },
704
704
  /* NG: {
705
705
  mask:'########??',
@@ -707,20 +707,20 @@ export const phoneNumberFormats = {
707
707
  }, */
708
708
  NG: {
709
709
  mask: '##########',
710
- prefix: '+234 '
710
+ prefix: '+234 ',
711
711
  },
712
712
  // NU
713
713
  MP: {
714
714
  mask: '(###) ###-####',
715
- prefix: '+1 '
715
+ prefix: '+1 ',
716
716
  },
717
717
  NO: {
718
718
  mask: '####-####',
719
- prefix: '+47 '
719
+ prefix: '+47 ',
720
720
  },
721
721
  OM: {
722
722
  mask: '####-####',
723
- prefix: '+968 '
723
+ prefix: '+968 ',
724
724
  },
725
725
  /* PK: {
726
726
  mask:'#########?',
@@ -728,11 +728,11 @@ export const phoneNumberFormats = {
728
728
  }, */
729
729
  PK: {
730
730
  mask: '##########',
731
- prefix: '+92 '
731
+ prefix: '+92 ',
732
732
  },
733
733
  PW: {
734
734
  mask: '###-####',
735
- prefix: '+680 '
735
+ prefix: '+680 ',
736
736
  },
737
737
  /* PA: {
738
738
  mask:'#######?',
@@ -740,7 +740,7 @@ export const phoneNumberFormats = {
740
740
  }, */
741
741
  PA: {
742
742
  mask: '########',
743
- prefix: '+507 '
743
+ prefix: '+507 ',
744
744
  },
745
745
  /* PG: {
746
746
  mask:'#######?',
@@ -748,7 +748,7 @@ export const phoneNumberFormats = {
748
748
  }, */
749
749
  PG: {
750
750
  mask: '########',
751
- prefix: '+675 '
751
+ prefix: '+675 ',
752
752
  },
753
753
  // PY
754
754
  /* PE: {
@@ -757,7 +757,7 @@ export const phoneNumberFormats = {
757
757
  }, */
758
758
  PE: {
759
759
  mask: '###########',
760
- prefix: '+51 '
760
+ prefix: '+51 ',
761
761
  },
762
762
  /* PH: {
763
763
  mask:'########??',
@@ -765,62 +765,62 @@ export const phoneNumberFormats = {
765
765
  }, */
766
766
  PH: {
767
767
  mask: '##########',
768
- prefix: '+63 '
768
+ prefix: '+63 ',
769
769
  },
770
770
  PL: {
771
771
  mask: '#########',
772
- prefix: '+48 '
772
+ prefix: '+48 ',
773
773
  },
774
774
  PT: {
775
775
  mask: '#-####-####',
776
- prefix: '+351 '
776
+ prefix: '+351 ',
777
777
  },
778
778
  PR: {
779
779
  mask: '(###) ###-####',
780
- prefix: '+1 '
780
+ prefix: '+1 ',
781
781
  },
782
782
  QA: {
783
783
  mask: '###-####',
784
- prefix: '+974 '
784
+ prefix: '+974 ',
785
785
  },
786
786
  RE: {
787
787
  mask: '###-###-###',
788
- prefix: '+262 '
788
+ prefix: '+262 ',
789
789
  },
790
790
  RO: {
791
791
  mask: '#########',
792
- prefix: '+40 '
792
+ prefix: '+40 ',
793
793
  },
794
794
  RU: {
795
795
  mask: '##########',
796
- prefix: '+7 '
796
+ prefix: '+7 ',
797
797
  },
798
798
  RW: {
799
799
  mask: '###-###-###',
800
- prefix: '+250 '
800
+ prefix: '+250 ',
801
801
  },
802
802
  SH: {
803
803
  mask: '#-###',
804
- prefix: '+290 '
804
+ prefix: '+290 ',
805
805
  },
806
806
  // PM
807
807
  KN: {
808
808
  mask: '(###) ###-####',
809
- prefix: '+1 '
809
+ prefix: '+1 ',
810
810
  },
811
811
  LC: {
812
812
  mask: '(###) ###-####',
813
- prefix: '+1 '
813
+ prefix: '+1 ',
814
814
  },
815
815
  VC: {
816
816
  mask: '(###) ###-####',
817
- prefix: '+1 '
817
+ prefix: '+1 ',
818
818
  },
819
819
  // WS
820
820
  // SM
821
821
  ST: {
822
822
  mask: '##-####',
823
- prefix: '+239 '
823
+ prefix: '+239 ',
824
824
  },
825
825
  /* SA: {
826
826
  mask:'########?',
@@ -828,60 +828,60 @@ export const phoneNumberFormats = {
828
828
  }, */
829
829
  SA: {
830
830
  mask: '#########',
831
- prefix: '+966 '
831
+ prefix: '+966 ',
832
832
  },
833
833
  SN: {
834
834
  mask: '##-###-####',
835
- prefix: '+221 '
835
+ prefix: '+221 ',
836
836
  },
837
837
  SC: {
838
838
  mask: '###-###',
839
- prefix: '+248 '
839
+ prefix: '+248 ',
840
840
  },
841
841
  SL: {
842
842
  mask: '(##) ###-###',
843
- prefix: '+232 '
843
+ prefix: '+232 ',
844
844
  },
845
845
  SG: {
846
846
  mask: '####-####',
847
- prefix: '+65 '
847
+ prefix: '+65 ',
848
848
  },
849
849
  SK: {
850
850
  mask: '#########',
851
- prefix: '+421 '
851
+ prefix: '+421 ',
852
852
  },
853
853
  SI: {
854
854
  mask: '########',
855
- prefix: '+386 '
855
+ prefix: '+386 ',
856
856
  },
857
857
  SB: {
858
858
  mask: '##-###',
859
- prefix: '+677 '
859
+ prefix: '+677 ',
860
860
  },
861
861
  // SO
862
862
  ZA: {
863
863
  mask: '(##) ###-####',
864
- prefix: '+27 '
864
+ prefix: '+27 ',
865
865
  },
866
866
  ES: {
867
867
  mask: '###-###-###',
868
- prefix: '+34 '
868
+ prefix: '+34 ',
869
869
  },
870
870
  LK: {
871
871
  mask: '(##) ###-####',
872
- prefix: '+94 '
872
+ prefix: '+94 ',
873
873
  },
874
874
  SD: {
875
875
  mask: '##-###-####',
876
- prefix: '+249 '
876
+ prefix: '+249 ',
877
877
  },
878
878
  SR: {
879
879
  mask: '######?',
880
- prefix: '+597 '
880
+ prefix: '+597 ',
881
881
  },
882
882
  SZ: {
883
883
  mask: '###-####',
884
- prefix: '+268 '
884
+ prefix: '+268 ',
885
885
  },
886
886
  /* SE: {
887
887
  mask:'######?????',
@@ -889,11 +889,11 @@ export const phoneNumberFormats = {
889
889
  }, */
890
890
  SE: {
891
891
  mask: '###########',
892
- prefix: '+46 '
892
+ prefix: '+46 ',
893
893
  },
894
894
  CH: {
895
895
  mask: '(##) ###-####',
896
- prefix: '+41 '
896
+ prefix: '+41 ',
897
897
  },
898
898
  /* SY: {
899
899
  mask:'########?',
@@ -901,15 +901,15 @@ export const phoneNumberFormats = {
901
901
  }, */
902
902
  SY: {
903
903
  mask: '#########',
904
- prefix: '+963 '
904
+ prefix: '+963 ',
905
905
  },
906
906
  TJ: {
907
907
  mask: '#########',
908
- prefix: '+992 '
908
+ prefix: '+992 ',
909
909
  },
910
910
  TZ: {
911
911
  mask: '#########',
912
- prefix: '+255 '
912
+ prefix: '+255 ',
913
913
  },
914
914
  /* TH: {
915
915
  mask:'########?',
@@ -917,42 +917,42 @@ export const phoneNumberFormats = {
917
917
  }, */
918
918
  TH: {
919
919
  mask: '#########',
920
- prefix: '+66 '
920
+ prefix: '+66 ',
921
921
  },
922
922
  TG: {
923
923
  mask: '###-####',
924
- prefix: '+228 '
924
+ prefix: '+228 ',
925
925
  },
926
926
  // TK
927
927
  // TO
928
928
  TT: {
929
929
  mask: '(###) ###-####',
930
- prefix: '+1 '
930
+ prefix: '+1 ',
931
931
  },
932
932
  TN: {
933
933
  mask: '##-###-###',
934
- prefix: '+216 '
934
+ prefix: '+216 ',
935
935
  },
936
936
  TR: {
937
937
  mask: '(###) ###-####',
938
- prefix: '+90 '
938
+ prefix: '+90 ',
939
939
  },
940
940
  TM: {
941
941
  mask: '########',
942
- prefix: '+993 '
942
+ prefix: '+993 ',
943
943
  },
944
944
  TC: {
945
945
  mask: '(###) ###-####',
946
- prefix: '+1 '
946
+ prefix: '+1 ',
947
947
  },
948
948
  // TV
949
949
  UG: {
950
950
  mask: '#########',
951
- prefix: '+256 '
951
+ prefix: '+256 ',
952
952
  },
953
953
  UA: {
954
954
  mask: '(##) ###-####',
955
- prefix: '+380 '
955
+ prefix: '+380 ',
956
956
  },
957
957
  /* AE: {
958
958
  mask:'########?',
@@ -960,7 +960,7 @@ export const phoneNumberFormats = {
960
960
  }, */
961
961
  AE: {
962
962
  mask: '#########',
963
- prefix: '+971 '
963
+ prefix: '+971 ',
964
964
  },
965
965
  /* GB: {
966
966
  mask:'##########???',
@@ -968,33 +968,33 @@ export const phoneNumberFormats = {
968
968
  }, */
969
969
  GB: {
970
970
  mask: '#############',
971
- prefix: '+44 '
971
+ prefix: '+44 ',
972
972
  },
973
973
  UY: {
974
974
  mask: '########?',
975
- prefix: '+598 '
975
+ prefix: '+598 ',
976
976
  },
977
977
  UZ: {
978
978
  mask: '(##) ###-####',
979
- prefix: '+998 '
979
+ prefix: '+998 ',
980
980
  },
981
981
  // VU
982
982
  // VA
983
983
  VE: {
984
984
  mask: '(###) ###-####',
985
- prefix: '+58 '
985
+ prefix: '+58 ',
986
986
  },
987
987
  VN: {
988
988
  mask: '#######????',
989
- prefix: '+84 '
989
+ prefix: '+84 ',
990
990
  },
991
991
  VG: {
992
992
  mask: '(###) ###-####',
993
- prefix: '+1 '
993
+ prefix: '+1 ',
994
994
  },
995
995
  VI: {
996
996
  mask: '(###) ###-####',
997
- prefix: '+1 '
997
+ prefix: '+1 ',
998
998
  },
999
999
  // WF
1000
1000
  /* YE: {
@@ -1003,12 +1003,12 @@ export const phoneNumberFormats = {
1003
1003
  }, */
1004
1004
  YE: {
1005
1005
  mask: '#########',
1006
- prefix: '+967 '
1006
+ prefix: '+967 ',
1007
1007
  },
1008
1008
  // YU
1009
1009
  ZM: {
1010
1010
  mask: '#########',
1011
- prefix: '+260 '
1011
+ prefix: '+260 ',
1012
1012
  },
1013
1013
  /* ZW: {
1014
1014
  mask:'####?????',
@@ -1016,15 +1016,15 @@ export const phoneNumberFormats = {
1016
1016
  }, */
1017
1017
  ZW: {
1018
1018
  mask: '#########',
1019
- prefix: '+263 '
1019
+ prefix: '+263 ',
1020
1020
  },
1021
1021
  AC: {
1022
1022
  mask: '####',
1023
- prefix: '+247 '
1023
+ prefix: '+247 ',
1024
1024
  },
1025
1025
  ME: {
1026
1026
  mask: '(##) ###-####',
1027
- prefix: '+382 '
1027
+ prefix: '+382 ',
1028
1028
  },
1029
1029
  /* PS: {
1030
1030
  mask:'########?',
@@ -1032,7 +1032,7 @@ export const phoneNumberFormats = {
1032
1032
  }, */
1033
1033
  PS: {
1034
1034
  mask: '#########',
1035
- prefix: '+970 '
1035
+ prefix: '+970 ',
1036
1036
  },
1037
1037
  /* RS: {
1038
1038
  mask:'#######??',
@@ -1040,7 +1040,7 @@ export const phoneNumberFormats = {
1040
1040
  }, */
1041
1041
  RS: {
1042
1042
  mask: '#########',
1043
- prefix: '+381 '
1043
+ prefix: '+381 ',
1044
1044
  },
1045
1045
  /* TW: {
1046
1046
  mask:'########?',
@@ -1048,22 +1048,22 @@ export const phoneNumberFormats = {
1048
1048
  }, */
1049
1049
  TW: {
1050
1050
  mask: '#########',
1051
- prefix: '+886 '
1051
+ prefix: '+886 ',
1052
1052
  },
1053
1053
  CW: {
1054
1054
  mask: '#-###-####',
1055
- prefix: '+599 '
1055
+ prefix: '+599 ',
1056
1056
  },
1057
1057
  US: {
1058
1058
  mask: '(###) ###-####',
1059
- prefix: ''
1060
- }
1059
+ prefix: '',
1060
+ },
1061
1061
  };
1062
1062
  export default function formatPhoneNumber(value, isoCode = 'US') {
1063
- const { mask, prefix } = phoneNumberFormats[isoCode] || phoneNumberFormats['US'];
1063
+ const { mask, prefix } = phoneNumberFormats[isoCode] || phoneNumberFormats.US;
1064
1064
  const options = {
1065
- prefix
1065
+ prefix,
1066
1066
  };
1067
- let val = value || '';
1067
+ const val = value || '';
1068
1068
  return formatValue(val, mask, options);
1069
1069
  }