@wise/dynamic-flow-client 0.4.0 → 0.4.2

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 (233) hide show
  1. package/build/common/constants/DateMode.js +2 -2
  2. package/build/common/constants/FormControlType.js +2 -2
  3. package/build/common/constants/MonthFormat.js +2 -2
  4. package/build/common/constants/SchemaType.js +2 -2
  5. package/build/common/constants/Size.js +2 -2
  6. package/build/common/constants/index.js +1 -1
  7. package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +15 -27
  8. package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +11 -9
  9. package/build/common/contexts/eventsContext/EventsContext.js +11 -28
  10. package/build/common/contexts/fetcherContexts/FetcherContexts.js +14 -27
  11. package/build/common/contexts/index.js +1 -1
  12. package/build/common/contexts/logContext/LogContext.js +12 -30
  13. package/build/common/hooks/index.js +1 -1
  14. package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +3 -3
  15. package/build/common/hooks/useExternal/useExternal.js +8 -8
  16. package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +20 -31
  17. package/build/common/hooks/usePersistAsync/usePersistAsync.js +60 -139
  18. package/build/common/hooks/usePolling/usePolling.js +20 -21
  19. package/build/common/hooks/usePrevious/usePrevious.js +5 -5
  20. package/build/common/hooks/useStepPolling/useStepPolling.js +15 -14
  21. package/build/common/makeFetcher/index.js +1 -1
  22. package/build/common/makeFetcher/makeFetcher.js +10 -24
  23. package/build/common/messages.js +5 -5
  24. package/build/common/utils/api-utils.js +3 -4
  25. package/build/common/utils/date-utils.js +11 -11
  26. package/build/common/utils/debounce.js +11 -15
  27. package/build/common/utils/file-utils.js +12 -25
  28. package/build/common/utils/id-utils.js +4 -5
  29. package/build/common/utils/index.js +1 -1
  30. package/build/common/utils/is-equal.js +8 -8
  31. package/build/common/utils/schema-utils.js +6 -6
  32. package/build/common/utils/step-utils.js +14 -14
  33. package/build/common/validators/index.js +7 -7
  34. package/build/common/validators/models/model-validators.js +8 -8
  35. package/build/common/validators/models/models.utils.js +29 -42
  36. package/build/common/validators/schemas/schema-validators.js +11 -13
  37. package/build/common/validators/types/type-validators.js +9 -13
  38. package/build/common/validators/validationFailures/validation-failures.js +14 -14
  39. package/build/common/validators/validationFailures/validation-failures.utils.js +5 -7
  40. package/build/common/validators/values/value-validators.js +4 -6
  41. package/build/dynamicFlow/DynamicFlow.js +185 -307
  42. package/build/dynamicFlow/DynamicFlowStep.js +12 -23
  43. package/build/dynamicFlow/DynamicFlowTypes.js +1 -1
  44. package/build/dynamicFlow/index.js +6 -14
  45. package/build/dynamicFlow/stories/DynamicFlow.story.js +20 -20
  46. package/build/dynamicFlow/stories/EditableDynamicFlow.js +20 -33
  47. package/build/dynamicFlow/stories/fixtureFetcher.js +46 -104
  48. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +22 -40
  49. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +6 -6
  50. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +10 -11
  51. package/build/dynamicFlow/utils/index.js +5 -2
  52. package/build/dynamicFlow/utils/responseParsers/response-parsers.js +53 -118
  53. package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +9 -9
  54. package/build/dynamicFlow/utils/useDynamicFlowState.js +51 -74
  55. package/build/dynamicFlow/utils/useLoader.js +9 -20
  56. package/build/fixtures/components/alert.js +8 -8
  57. package/build/fixtures/components/box.js +7 -7
  58. package/build/fixtures/components/button.js +25 -36
  59. package/build/fixtures/components/columns.js +10 -10
  60. package/build/fixtures/components/copyable.js +6 -6
  61. package/build/fixtures/components/decision.js +15 -15
  62. package/build/fixtures/components/heading.js +7 -7
  63. package/build/fixtures/components/image.js +10 -10
  64. package/build/fixtures/components/index.js +17 -25
  65. package/build/fixtures/components/info.js +22 -6
  66. package/build/fixtures/components/list.js +8 -8
  67. package/build/fixtures/components/loading-indicator.js +5 -5
  68. package/build/fixtures/components/paragraph.js +9 -9
  69. package/build/fixtures/components/review.js +11 -11
  70. package/build/fixtures/examples/camera-capture.js +29 -29
  71. package/build/fixtures/examples/index.js +9 -17
  72. package/build/fixtures/examples/recipient-update.js +69 -69
  73. package/build/fixtures/examples/recipient.js +63 -63
  74. package/build/fixtures/examples/single-file-upload.js +21 -21
  75. package/build/fixtures/examples/step-validation-errors.js +21 -21
  76. package/build/fixtures/features/action-response.js +8 -8
  77. package/build/fixtures/features/external.js +8 -8
  78. package/build/fixtures/features/index.js +9 -17
  79. package/build/fixtures/features/persist-async.js +11 -11
  80. package/build/fixtures/features/polling.js +9 -9
  81. package/build/fixtures/features/validation-async.js +10 -10
  82. package/build/fixtures/index.js +11 -22
  83. package/build/fixtures/jsonSchemaForm/allOf.js +30 -30
  84. package/build/fixtures/jsonSchemaForm/audRecipient.js +271 -271
  85. package/build/fixtures/jsonSchemaForm/currency.js +12 -12
  86. package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +11 -11
  87. package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +11 -11
  88. package/build/fixtures/jsonSchemaForm/oneOf.js +27 -27
  89. package/build/fixtures/jsonSchemaForm/oneOfTabs.js +16 -16
  90. package/build/fixtures/jsonSchemaForm/promotedOneOf.js +17 -17
  91. package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +30 -30
  92. package/build/fixtures/jsonSchemaForm/simple.js +16 -16
  93. package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +19 -19
  94. package/build/fixtures/jsonSchemaForm/validationAsync.js +8 -8
  95. package/build/fixtures/layouts/all.js +37 -37
  96. package/build/fixtures/layouts/final-step-layout.js +9 -9
  97. package/build/fixtures/layouts/index.js +10 -18
  98. package/build/fixtures/layouts/list.js +10 -10
  99. package/build/fixtures/layouts/pay-in.js +23 -23
  100. package/build/fixtures/layouts/review.js +38 -38
  101. package/build/fixtures/layouts/success.js +15 -15
  102. package/build/fixtures/responses/action-response-final.js +8 -8
  103. package/build/fixtures/responses/action.js +3 -3
  104. package/build/fixtures/responses/exit.js +3 -3
  105. package/build/fixtures/responses/index.js +8 -16
  106. package/build/fixtures/responses/recipient-update-final.js +8 -8
  107. package/build/fixtures/schemas/basic-form.js +11 -11
  108. package/build/fixtures/schemas/index.js +8 -16
  109. package/build/fixtures/schemas/number-and-integer.js +11 -11
  110. package/build/fixtures/schemas/one-of.js +43 -46
  111. package/build/fixtures/schemas/string-formats.js +15 -15
  112. package/build/fixtures/utils/image-util.js +8 -8
  113. package/build/formControl/FormControl.js +118 -148
  114. package/build/formControl/index.js +6 -14
  115. package/build/formControl/utils/index.js +1 -1
  116. package/build/formControl/utils/value-utils.js +18 -23
  117. package/build/i18n/index.js +31 -31
  118. package/build/index.js +13 -10
  119. package/build/jsonSchemaForm/JsonSchemaForm.js +12 -24
  120. package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +24 -37
  121. package/build/jsonSchemaForm/allOfSchema/index.js +6 -14
  122. package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +9 -20
  123. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +9 -20
  124. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +6 -14
  125. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +56 -115
  126. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +7 -7
  127. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +6 -14
  128. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +1 -1
  129. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +19 -71
  130. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +10 -11
  131. package/build/jsonSchemaForm/arrayTypeSchema/index.js +6 -14
  132. package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +45 -62
  133. package/build/jsonSchemaForm/basicTypeSchema/index.js +6 -14
  134. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +39 -50
  135. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +18 -18
  136. package/build/jsonSchemaForm/controlFeedback/index.js +6 -14
  137. package/build/jsonSchemaForm/genericSchema/GenericSchema.js +52 -61
  138. package/build/jsonSchemaForm/genericSchema/index.js +6 -14
  139. package/build/jsonSchemaForm/help/Help.js +9 -9
  140. package/build/jsonSchemaForm/help/Help.messages.js +5 -5
  141. package/build/jsonSchemaForm/help/index.js +6 -14
  142. package/build/jsonSchemaForm/index.js +6 -14
  143. package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +28 -49
  144. package/build/jsonSchemaForm/objectSchema/index.js +6 -14
  145. package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +54 -74
  146. package/build/jsonSchemaForm/oneOfSchema/index.js +6 -14
  147. package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +3 -3
  148. package/build/jsonSchemaForm/oneOfSchema/utils/index.js +1 -1
  149. package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +19 -20
  150. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +11 -22
  151. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +5 -5
  152. package/build/jsonSchemaForm/persistAsyncSchema/index.js +6 -14
  153. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +73 -127
  154. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +6 -14
  155. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +45 -110
  156. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +17 -17
  157. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +6 -14
  158. package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +28 -47
  159. package/build/jsonSchemaForm/promotedOneOfSchema/index.js +6 -14
  160. package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +4 -4
  161. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +13 -24
  162. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +11 -22
  163. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +12 -23
  164. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +24 -26
  165. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +6 -6
  166. package/build/jsonSchemaForm/readOnlySchema/index.js +6 -14
  167. package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +26 -39
  168. package/build/jsonSchemaForm/schemaFormControl/index.js +6 -14
  169. package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +5 -5
  170. package/build/jsonSchemaForm/schemaFormControl/utils/index.js +1 -1
  171. package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +30 -47
  172. package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +57 -119
  173. package/build/jsonSchemaForm/validationAsyncSchema/index.js +6 -14
  174. package/build/layout/DynamicLayout.js +10 -21
  175. package/build/layout/alert/DynamicAlert.js +9 -9
  176. package/build/layout/box/DynamicBox.js +12 -23
  177. package/build/layout/button/DynamicButton.js +16 -27
  178. package/build/layout/columns/DynamicColumns.js +13 -24
  179. package/build/layout/decision/DynamicDecision.js +16 -27
  180. package/build/layout/divider/DynamicDivider.js +7 -8
  181. package/build/layout/external/DynamicExternal.js +16 -28
  182. package/build/layout/external/DynamicExternal.messages.js +5 -5
  183. package/build/layout/form/DynamicForm.js +10 -21
  184. package/build/layout/heading/DynamicHeading.js +12 -23
  185. package/build/layout/icon/DynamicIcon.js +9 -10
  186. package/build/layout/image/DynamicImage.js +43 -93
  187. package/build/layout/index.js +21 -29
  188. package/build/layout/info/DynamicInfo.js +7 -19
  189. package/build/layout/list/DynamicList.js +14 -26
  190. package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +8 -9
  191. package/build/layout/paragraph/DynamicParagraph.js +19 -37
  192. package/build/layout/paragraph/DynamicParagraph.messages.js +6 -6
  193. package/build/layout/paragraph/useSnackBarIfAvailable.js +4 -4
  194. package/build/layout/review/DynamicReview.js +14 -26
  195. package/build/layout/utils.js +4 -6
  196. package/build/step/cameraStep/CameraStep.js +42 -88
  197. package/build/step/cameraStep/cameraCapture/CameraCapture.js +48 -105
  198. package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +7 -7
  199. package/build/step/cameraStep/cameraCapture/components/index.js +10 -28
  200. package/build/step/cameraStep/cameraCapture/hooks/index.js +17 -72
  201. package/build/step/cameraStep/cameraCapture/index.js +6 -14
  202. package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +33 -45
  203. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +8 -19
  204. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +6 -6
  205. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +9 -21
  206. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +7 -7
  207. package/build/step/cameraStep/cameraCapture/screens/index.js +6 -14
  208. package/build/step/cameraStep/cameraCapture/tracking/index.js +17 -99
  209. package/build/step/cameraStep/cameraCapture/utils/index.js +33 -96
  210. package/build/step/cameraStep/index.js +6 -14
  211. package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +20 -21
  212. package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +8 -8
  213. package/build/step/externalConfirmationStep/index.js +6 -14
  214. package/build/step/index.js +7 -15
  215. package/build/step/layoutStep/LayoutStep.js +19 -19
  216. package/build/step/layoutStep/index.js +6 -14
  217. package/build/step/layoutStep/utils/index.js +3 -14
  218. package/build/step/layoutStep/utils/inline-reference-utils.js +29 -46
  219. package/build/step/layoutStep/utils/layout-utils.js +34 -53
  220. package/build/types/common/FormControl.js +1 -1
  221. package/build/types/index.js +13 -13
  222. package/build/types/specification/Action.js +1 -1
  223. package/build/types/specification/FileUploadSchema.js +1 -1
  224. package/build/types/specification/LayoutComponent.js +1 -1
  225. package/build/types/specification/Model.js +9 -17
  226. package/build/types/specification/PersistAsync.js +1 -1
  227. package/build/types/specification/Polling.js +1 -1
  228. package/build/types/specification/Promotion.js +1 -1
  229. package/build/types/specification/Schema.js +8 -8
  230. package/build/types/specification/Step.js +3 -5
  231. package/build/types/specification/ValidationAsync.js +1 -1
  232. package/build/types/specification/core.js +1 -1
  233. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- exports.__esModule = true;
3
- var schema = {
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema = {
4
4
  allOf: [
5
5
  {
6
6
  type: 'object',
@@ -9,7 +9,7 @@ var schema = {
9
9
  currency: {
10
10
  title: 'Currency',
11
11
  type: 'string',
12
- "const": 'AUD'
12
+ const: 'AUD',
13
13
  },
14
14
  legalEntityType: {
15
15
  title: 'Recipient type',
@@ -17,29 +17,29 @@ var schema = {
17
17
  oneOf: [
18
18
  {
19
19
  title: 'Person',
20
- "const": 'PERSON'
20
+ const: 'PERSON',
21
21
  },
22
22
  {
23
23
  title: 'Business',
24
- "const": 'INSTITUTION'
24
+ const: 'INSTITUTION',
25
25
  },
26
26
  ],
27
27
  validationMessages: {
28
- required: 'Please specify the type of recipient.'
28
+ required: 'Please specify the type of recipient.',
29
29
  },
30
- refreshFormOnChange: true
30
+ refreshFormOnChange: true,
31
31
  },
32
32
  email: {
33
33
  title: 'E-mail',
34
34
  type: 'string',
35
35
  control: 'text',
36
36
  validationMessages: {
37
- pattern: 'The email address is invalid.'
37
+ pattern: 'The email address is invalid.',
38
38
  },
39
- pattern: '^[^\\s]+@[^\\s]+\\.[^\\s]+$'
40
- }
39
+ pattern: '^[^\\s]+@[^\\s]+\\.[^\\s]+$',
40
+ },
41
41
  },
42
- required: ['currency', 'legalEntityType']
42
+ required: ['currency', 'legalEntityType'],
43
43
  },
44
44
  {
45
45
  type: 'object',
@@ -49,7 +49,7 @@ var schema = {
49
49
  title: 'profileId',
50
50
  type: 'string',
51
51
  control: 'text',
52
- hidden: true
52
+ hidden: true,
53
53
  },
54
54
  name: {
55
55
  type: 'object',
@@ -61,13 +61,13 @@ var schema = {
61
61
  control: 'text',
62
62
  validationMessages: {
63
63
  minLength: 'Name needs to be between 3 and 35 characters long, and contain both first and last name.',
64
- maxLength: 'Recipient name cannot be longer than 35 characters.'
64
+ maxLength: 'Recipient name cannot be longer than 35 characters.',
65
65
  },
66
66
  minLength: 3,
67
- maxLength: 35
68
- }
67
+ maxLength: 35,
68
+ },
69
69
  },
70
- required: ['fullName']
70
+ required: ['fullName'],
71
71
  },
72
72
  details: {
73
73
  type: 'object',
@@ -79,12 +79,12 @@ var schema = {
79
79
  control: 'text',
80
80
  validationMessages: {
81
81
  pattern: 'Please enter BSB number as 6 digits without a dash.',
82
- required: 'Please enter a BSB number'
82
+ required: 'Please enter a BSB number',
83
83
  },
84
84
  pattern: '^\\d{3}\\-?\\d{3}$',
85
85
  minLength: 6,
86
86
  maxLength: 7,
87
- width: 'md'
87
+ width: 'md',
88
88
  },
89
89
  accountNumber: {
90
90
  title: 'Account number',
@@ -94,28 +94,28 @@ var schema = {
94
94
  minLength: 'Account number is too short. Please enter a valid account number.',
95
95
  maxLength: 'Account number is too large. Please enter a valid account number.',
96
96
  pattern: 'Please enter a valid account number of between 4 and 9 digits.',
97
- required: 'Please enter an account number.'
97
+ required: 'Please enter an account number.',
98
98
  },
99
99
  pattern: '^\\d{4,9}$',
100
100
  minLength: 4,
101
101
  maxLength: 9,
102
- width: 'md'
103
- }
102
+ width: 'md',
103
+ },
104
104
  },
105
- required: ['bsbCode', 'accountNumber']
105
+ required: ['bsbCode', 'accountNumber'],
106
106
  },
107
107
  ownedByCustomer: {
108
108
  title: 'I own this account',
109
109
  placeholder: 'Owner',
110
- type: 'boolean'
110
+ type: 'boolean',
111
111
  },
112
112
  type: {
113
113
  title: 'Type',
114
114
  type: 'string',
115
- "const": 'AustralianLocal'
116
- }
115
+ const: 'AustralianLocal',
116
+ },
117
117
  },
118
- required: ['type', 'address', 'name', 'details']
118
+ required: ['type', 'address', 'name', 'details'],
119
119
  },
120
120
  {
121
121
  type: 'object',
@@ -132,945 +132,945 @@ var schema = {
132
132
  oneOf: [
133
133
  {
134
134
  title: 'Albania',
135
- "const": 'AL'
135
+ const: 'AL',
136
136
  },
137
137
  {
138
138
  title: 'Algeria',
139
- "const": 'DZ'
139
+ const: 'DZ',
140
140
  },
141
141
  {
142
142
  title: 'American Samoa',
143
- "const": 'AS'
143
+ const: 'AS',
144
144
  },
145
145
  {
146
146
  title: 'Andorra',
147
- "const": 'AD'
147
+ const: 'AD',
148
148
  },
149
149
  {
150
150
  title: 'Angola',
151
- "const": 'AO'
151
+ const: 'AO',
152
152
  },
153
153
  {
154
154
  title: 'Anguilla',
155
- "const": 'AI'
155
+ const: 'AI',
156
156
  },
157
157
  {
158
158
  title: 'Antarctica',
159
- "const": 'AQ'
159
+ const: 'AQ',
160
160
  },
161
161
  {
162
162
  title: 'Antigua and Barbuda',
163
- "const": 'AG'
163
+ const: 'AG',
164
164
  },
165
165
  {
166
166
  title: 'Argentina',
167
- "const": 'AR'
167
+ const: 'AR',
168
168
  },
169
169
  {
170
170
  title: 'Armenia',
171
- "const": 'AM'
171
+ const: 'AM',
172
172
  },
173
173
  {
174
174
  title: 'Aruba',
175
- "const": 'AW'
175
+ const: 'AW',
176
176
  },
177
177
  {
178
178
  title: 'Australia',
179
- "const": 'AU'
179
+ const: 'AU',
180
180
  },
181
181
  {
182
182
  title: 'Austria',
183
- "const": 'AT'
183
+ const: 'AT',
184
184
  },
185
185
  {
186
186
  title: 'Azerbaijan',
187
- "const": 'AZ'
187
+ const: 'AZ',
188
188
  },
189
189
  {
190
190
  title: 'Bahamas',
191
- "const": 'BS'
191
+ const: 'BS',
192
192
  },
193
193
  {
194
194
  title: 'Bahrain',
195
- "const": 'BH'
195
+ const: 'BH',
196
196
  },
197
197
  {
198
198
  title: 'Bangladesh',
199
- "const": 'BD'
199
+ const: 'BD',
200
200
  },
201
201
  {
202
202
  title: 'Barbados',
203
- "const": 'BB'
203
+ const: 'BB',
204
204
  },
205
205
  {
206
206
  title: 'Belarus',
207
- "const": 'BY'
207
+ const: 'BY',
208
208
  },
209
209
  {
210
210
  title: 'Belgium',
211
- "const": 'BE'
211
+ const: 'BE',
212
212
  },
213
213
  {
214
214
  title: 'Belize',
215
- "const": 'BZ'
215
+ const: 'BZ',
216
216
  },
217
217
  {
218
218
  title: 'Benin',
219
- "const": 'BJ'
219
+ const: 'BJ',
220
220
  },
221
221
  {
222
222
  title: 'Bermuda',
223
- "const": 'BM'
223
+ const: 'BM',
224
224
  },
225
225
  {
226
226
  title: 'Bhutan',
227
- "const": 'BT'
227
+ const: 'BT',
228
228
  },
229
229
  {
230
230
  title: 'Bolivia',
231
- "const": 'BO'
231
+ const: 'BO',
232
232
  },
233
233
  {
234
234
  title: 'Bonaire',
235
- "const": 'BQ'
235
+ const: 'BQ',
236
236
  },
237
237
  {
238
238
  title: 'Bosnia and Herzegovina',
239
- "const": 'BA'
239
+ const: 'BA',
240
240
  },
241
241
  {
242
242
  title: 'Botswana',
243
- "const": 'BW'
243
+ const: 'BW',
244
244
  },
245
245
  {
246
246
  title: 'Bouvet Island',
247
- "const": 'BV'
247
+ const: 'BV',
248
248
  },
249
249
  {
250
250
  title: 'Brazil',
251
- "const": 'BR'
251
+ const: 'BR',
252
252
  },
253
253
  {
254
254
  title: 'British Indian Ocean Territory',
255
- "const": 'IO'
255
+ const: 'IO',
256
256
  },
257
257
  {
258
258
  title: 'British Virgin Islands',
259
- "const": 'VG'
259
+ const: 'VG',
260
260
  },
261
261
  {
262
262
  title: 'Brunei Darussalam',
263
- "const": 'BN'
263
+ const: 'BN',
264
264
  },
265
265
  {
266
266
  title: 'Bulgaria',
267
- "const": 'BG'
267
+ const: 'BG',
268
268
  },
269
269
  {
270
270
  title: 'Burkina Faso',
271
- "const": 'BF'
271
+ const: 'BF',
272
272
  },
273
273
  {
274
274
  title: 'Burundi',
275
- "const": 'BI'
275
+ const: 'BI',
276
276
  },
277
277
  {
278
278
  title: 'Cambodia',
279
- "const": 'KH'
279
+ const: 'KH',
280
280
  },
281
281
  {
282
282
  title: 'Cameroon',
283
- "const": 'CM'
283
+ const: 'CM',
284
284
  },
285
285
  {
286
286
  title: 'Canada',
287
- "const": 'CA'
287
+ const: 'CA',
288
288
  },
289
289
  {
290
290
  title: 'Cape Verde',
291
- "const": 'CV'
291
+ const: 'CV',
292
292
  },
293
293
  {
294
294
  title: 'Cayman Islands',
295
- "const": 'KY'
295
+ const: 'KY',
296
296
  },
297
297
  {
298
298
  title: 'Central African Republic',
299
- "const": 'CF'
299
+ const: 'CF',
300
300
  },
301
301
  {
302
302
  title: 'Chad',
303
- "const": 'TD'
303
+ const: 'TD',
304
304
  },
305
305
  {
306
306
  title: 'Chile',
307
- "const": 'CL'
307
+ const: 'CL',
308
308
  },
309
309
  {
310
310
  title: 'China',
311
- "const": 'CN'
311
+ const: 'CN',
312
312
  },
313
313
  {
314
314
  title: 'Christmas Island',
315
- "const": 'CX'
315
+ const: 'CX',
316
316
  },
317
317
  {
318
318
  title: 'Cocos (Keeling) Islands',
319
- "const": 'CC'
319
+ const: 'CC',
320
320
  },
321
321
  {
322
322
  title: 'Colombia',
323
- "const": 'CO'
323
+ const: 'CO',
324
324
  },
325
325
  {
326
326
  title: 'Comoros',
327
- "const": 'KM'
327
+ const: 'KM',
328
328
  },
329
329
  {
330
330
  title: 'Congo',
331
- "const": 'CG'
331
+ const: 'CG',
332
332
  },
333
333
  {
334
334
  title: 'Congo, the Democratic Republic of the',
335
- "const": 'CD'
335
+ const: 'CD',
336
336
  },
337
337
  {
338
338
  title: 'Cook Islands',
339
- "const": 'CK'
339
+ const: 'CK',
340
340
  },
341
341
  {
342
342
  title: 'Costa Rica',
343
- "const": 'CR'
343
+ const: 'CR',
344
344
  },
345
345
  {
346
346
  title: 'Croatia',
347
- "const": 'HR'
347
+ const: 'HR',
348
348
  },
349
349
  {
350
350
  title: 'Curaçao',
351
- "const": 'CW'
351
+ const: 'CW',
352
352
  },
353
353
  {
354
354
  title: 'Cyprus',
355
- "const": 'CY'
355
+ const: 'CY',
356
356
  },
357
357
  {
358
358
  title: 'Czech Republic',
359
- "const": 'CZ'
359
+ const: 'CZ',
360
360
  },
361
361
  {
362
362
  title: "Côte d''''Ivoire",
363
- "const": 'CI'
363
+ const: 'CI',
364
364
  },
365
365
  {
366
366
  title: 'Denmark',
367
- "const": 'DK'
367
+ const: 'DK',
368
368
  },
369
369
  {
370
370
  title: 'Djibouti',
371
- "const": 'DJ'
371
+ const: 'DJ',
372
372
  },
373
373
  {
374
374
  title: 'Dominica',
375
- "const": 'DM'
375
+ const: 'DM',
376
376
  },
377
377
  {
378
378
  title: 'Dominican Republic',
379
- "const": 'DO'
379
+ const: 'DO',
380
380
  },
381
381
  {
382
382
  title: 'Ecuador',
383
- "const": 'EC'
383
+ const: 'EC',
384
384
  },
385
385
  {
386
386
  title: 'Egypt',
387
- "const": 'EG'
387
+ const: 'EG',
388
388
  },
389
389
  {
390
390
  title: 'El Salvador',
391
- "const": 'SV'
391
+ const: 'SV',
392
392
  },
393
393
  {
394
394
  title: 'Equatorial Guinea',
395
- "const": 'GQ'
395
+ const: 'GQ',
396
396
  },
397
397
  {
398
398
  title: 'Estonia',
399
- "const": 'EE'
399
+ const: 'EE',
400
400
  },
401
401
  {
402
402
  title: 'Ethiopia',
403
- "const": 'ET'
403
+ const: 'ET',
404
404
  },
405
405
  {
406
406
  title: 'Falkland Islands',
407
- "const": 'FK'
407
+ const: 'FK',
408
408
  },
409
409
  {
410
410
  title: 'Faroe Islands',
411
- "const": 'FO'
411
+ const: 'FO',
412
412
  },
413
413
  {
414
414
  title: 'Fiji',
415
- "const": 'FJ'
415
+ const: 'FJ',
416
416
  },
417
417
  {
418
418
  title: 'Finland',
419
- "const": 'FI'
419
+ const: 'FI',
420
420
  },
421
421
  {
422
422
  title: 'France',
423
- "const": 'FR'
423
+ const: 'FR',
424
424
  },
425
425
  {
426
426
  title: 'French Guiana',
427
- "const": 'GF'
427
+ const: 'GF',
428
428
  },
429
429
  {
430
430
  title: 'French Polynesia',
431
- "const": 'PF'
431
+ const: 'PF',
432
432
  },
433
433
  {
434
434
  title: 'French Southern Territories',
435
- "const": 'TF'
435
+ const: 'TF',
436
436
  },
437
437
  {
438
438
  title: 'Gabon',
439
- "const": 'GA'
439
+ const: 'GA',
440
440
  },
441
441
  {
442
442
  title: 'Gambia',
443
- "const": 'GM'
443
+ const: 'GM',
444
444
  },
445
445
  {
446
446
  title: 'Georgia',
447
- "const": 'GE'
447
+ const: 'GE',
448
448
  },
449
449
  {
450
450
  title: 'Germany',
451
- "const": 'DE'
451
+ const: 'DE',
452
452
  },
453
453
  {
454
454
  title: 'Ghana',
455
- "const": 'GH'
455
+ const: 'GH',
456
456
  },
457
457
  {
458
458
  title: 'Gibraltar',
459
- "const": 'GI'
459
+ const: 'GI',
460
460
  },
461
461
  {
462
462
  title: 'Greece',
463
- "const": 'GR'
463
+ const: 'GR',
464
464
  },
465
465
  {
466
466
  title: 'Greenland',
467
- "const": 'GL'
467
+ const: 'GL',
468
468
  },
469
469
  {
470
470
  title: 'Grenada',
471
- "const": 'GD'
471
+ const: 'GD',
472
472
  },
473
473
  {
474
474
  title: 'Guadeloupe',
475
- "const": 'GP'
475
+ const: 'GP',
476
476
  },
477
477
  {
478
478
  title: 'Guatemala',
479
- "const": 'GT'
479
+ const: 'GT',
480
480
  },
481
481
  {
482
482
  title: 'Guernsey',
483
- "const": 'GG'
483
+ const: 'GG',
484
484
  },
485
485
  {
486
486
  title: 'Guinea',
487
- "const": 'GN'
487
+ const: 'GN',
488
488
  },
489
489
  {
490
490
  title: 'Guinea-Bissau',
491
- "const": 'GW'
491
+ const: 'GW',
492
492
  },
493
493
  {
494
494
  title: 'Guyana',
495
- "const": 'GY'
495
+ const: 'GY',
496
496
  },
497
497
  {
498
498
  title: 'Haiti',
499
- "const": 'HT'
499
+ const: 'HT',
500
500
  },
501
501
  {
502
502
  title: 'Honduras',
503
- "const": 'HN'
503
+ const: 'HN',
504
504
  },
505
505
  {
506
506
  title: 'Hong Kong',
507
- "const": 'HK'
507
+ const: 'HK',
508
508
  },
509
509
  {
510
510
  title: 'Hungary',
511
- "const": 'HU'
511
+ const: 'HU',
512
512
  },
513
513
  {
514
514
  title: 'Iceland',
515
- "const": 'IS'
515
+ const: 'IS',
516
516
  },
517
517
  {
518
518
  title: 'India',
519
- "const": 'IN'
519
+ const: 'IN',
520
520
  },
521
521
  {
522
522
  title: 'Indonesia',
523
- "const": 'ID'
523
+ const: 'ID',
524
524
  },
525
525
  {
526
526
  title: 'Ireland',
527
- "const": 'IE'
527
+ const: 'IE',
528
528
  },
529
529
  {
530
530
  title: 'Isle of Man',
531
- "const": 'IM'
531
+ const: 'IM',
532
532
  },
533
533
  {
534
534
  title: 'Israel',
535
- "const": 'IL'
535
+ const: 'IL',
536
536
  },
537
537
  {
538
538
  title: 'Italy',
539
- "const": 'IT'
539
+ const: 'IT',
540
540
  },
541
541
  {
542
542
  title: 'Jamaica',
543
- "const": 'JM'
543
+ const: 'JM',
544
544
  },
545
545
  {
546
546
  title: 'Japan',
547
- "const": 'JP'
547
+ const: 'JP',
548
548
  },
549
549
  {
550
550
  title: 'Jersey',
551
- "const": 'JE'
551
+ const: 'JE',
552
552
  },
553
553
  {
554
554
  title: 'Jordan',
555
- "const": 'JO'
555
+ const: 'JO',
556
556
  },
557
557
  {
558
558
  title: 'Kazakhstan',
559
- "const": 'KZ'
559
+ const: 'KZ',
560
560
  },
561
561
  {
562
562
  title: 'Kenya',
563
- "const": 'KE'
563
+ const: 'KE',
564
564
  },
565
565
  {
566
566
  title: 'Kiribati',
567
- "const": 'KI'
567
+ const: 'KI',
568
568
  },
569
569
  {
570
570
  title: 'Kosovo',
571
- "const": 'XK'
571
+ const: 'XK',
572
572
  },
573
573
  {
574
574
  title: 'Kuwait',
575
- "const": 'KW'
575
+ const: 'KW',
576
576
  },
577
577
  {
578
578
  title: 'Kyrgyzstan',
579
- "const": 'KG'
579
+ const: 'KG',
580
580
  },
581
581
  {
582
582
  title: 'Laos',
583
- "const": 'LA'
583
+ const: 'LA',
584
584
  },
585
585
  {
586
586
  title: 'Latvia',
587
- "const": 'LV'
587
+ const: 'LV',
588
588
  },
589
589
  {
590
590
  title: 'Lebanon',
591
- "const": 'LB'
591
+ const: 'LB',
592
592
  },
593
593
  {
594
594
  title: 'Lesotho',
595
- "const": 'LS'
595
+ const: 'LS',
596
596
  },
597
597
  {
598
598
  title: 'Liberia',
599
- "const": 'LR'
599
+ const: 'LR',
600
600
  },
601
601
  {
602
602
  title: 'Liechtenstein',
603
- "const": 'LI'
603
+ const: 'LI',
604
604
  },
605
605
  {
606
606
  title: 'Lithuania',
607
- "const": 'LT'
607
+ const: 'LT',
608
608
  },
609
609
  {
610
610
  title: 'Luxembourg',
611
- "const": 'LU'
611
+ const: 'LU',
612
612
  },
613
613
  {
614
614
  title: 'Macao',
615
- "const": 'MO'
615
+ const: 'MO',
616
616
  },
617
617
  {
618
618
  title: 'Macedonia, Former Yugoslav Republic of',
619
- "const": 'MK'
619
+ const: 'MK',
620
620
  },
621
621
  {
622
622
  title: 'Madagascar',
623
- "const": 'MG'
623
+ const: 'MG',
624
624
  },
625
625
  {
626
626
  title: 'Malawi',
627
- "const": 'MW'
627
+ const: 'MW',
628
628
  },
629
629
  {
630
630
  title: 'Malaysia',
631
- "const": 'MY'
631
+ const: 'MY',
632
632
  },
633
633
  {
634
634
  title: 'Maldives',
635
- "const": 'MV'
635
+ const: 'MV',
636
636
  },
637
637
  {
638
638
  title: 'Mali',
639
- "const": 'ML'
639
+ const: 'ML',
640
640
  },
641
641
  {
642
642
  title: 'Malta',
643
- "const": 'MT'
643
+ const: 'MT',
644
644
  },
645
645
  {
646
646
  title: 'Marshall Islands',
647
- "const": 'MH'
647
+ const: 'MH',
648
648
  },
649
649
  {
650
650
  title: 'Martinique',
651
- "const": 'MQ'
651
+ const: 'MQ',
652
652
  },
653
653
  {
654
654
  title: 'Mauritania',
655
- "const": 'MR'
655
+ const: 'MR',
656
656
  },
657
657
  {
658
658
  title: 'Mauritius',
659
- "const": 'MU'
659
+ const: 'MU',
660
660
  },
661
661
  {
662
662
  title: 'Mayotte',
663
- "const": 'YT'
663
+ const: 'YT',
664
664
  },
665
665
  {
666
666
  title: 'Mexico',
667
- "const": 'MX'
667
+ const: 'MX',
668
668
  },
669
669
  {
670
670
  title: 'Micronesia, Federated States of',
671
- "const": 'FM'
671
+ const: 'FM',
672
672
  },
673
673
  {
674
674
  title: 'Moldova',
675
- "const": 'MD'
675
+ const: 'MD',
676
676
  },
677
677
  {
678
678
  title: 'Monaco',
679
- "const": 'MC'
679
+ const: 'MC',
680
680
  },
681
681
  {
682
682
  title: 'Mongolia',
683
- "const": 'MN'
683
+ const: 'MN',
684
684
  },
685
685
  {
686
686
  title: 'Montenegro',
687
- "const": 'ME'
687
+ const: 'ME',
688
688
  },
689
689
  {
690
690
  title: 'Montserrat',
691
- "const": 'MS'
691
+ const: 'MS',
692
692
  },
693
693
  {
694
694
  title: 'Morocco',
695
- "const": 'MA'
695
+ const: 'MA',
696
696
  },
697
697
  {
698
698
  title: 'Mozambique',
699
- "const": 'MZ'
699
+ const: 'MZ',
700
700
  },
701
701
  {
702
702
  title: 'Myanmar',
703
- "const": 'MM'
703
+ const: 'MM',
704
704
  },
705
705
  {
706
706
  title: 'Namibia',
707
- "const": 'NA'
707
+ const: 'NA',
708
708
  },
709
709
  {
710
710
  title: 'Nauru',
711
- "const": 'NR'
711
+ const: 'NR',
712
712
  },
713
713
  {
714
714
  title: 'Nepal',
715
- "const": 'NP'
715
+ const: 'NP',
716
716
  },
717
717
  {
718
718
  title: 'Netherlands',
719
- "const": 'NL'
719
+ const: 'NL',
720
720
  },
721
721
  {
722
722
  title: 'New Caledonia',
723
- "const": 'NC'
723
+ const: 'NC',
724
724
  },
725
725
  {
726
726
  title: 'New Zealand',
727
- "const": 'NZ'
727
+ const: 'NZ',
728
728
  },
729
729
  {
730
730
  title: 'Nicaragua',
731
- "const": 'NI'
731
+ const: 'NI',
732
732
  },
733
733
  {
734
734
  title: 'Niger',
735
- "const": 'NE'
735
+ const: 'NE',
736
736
  },
737
737
  {
738
738
  title: 'Nigeria',
739
- "const": 'NG'
739
+ const: 'NG',
740
740
  },
741
741
  {
742
742
  title: 'Niue',
743
- "const": 'NU'
743
+ const: 'NU',
744
744
  },
745
745
  {
746
746
  title: 'Norfolk Island',
747
- "const": 'NF'
747
+ const: 'NF',
748
748
  },
749
749
  {
750
750
  title: 'Norway',
751
- "const": 'NO'
751
+ const: 'NO',
752
752
  },
753
753
  {
754
754
  title: 'Oman',
755
- "const": 'OM'
755
+ const: 'OM',
756
756
  },
757
757
  {
758
758
  title: 'Pakistan',
759
- "const": 'PK'
759
+ const: 'PK',
760
760
  },
761
761
  {
762
762
  title: 'Palau',
763
- "const": 'PW'
763
+ const: 'PW',
764
764
  },
765
765
  {
766
766
  title: 'Palestine',
767
- "const": 'PS'
767
+ const: 'PS',
768
768
  },
769
769
  {
770
770
  title: 'Panama',
771
- "const": 'PA'
771
+ const: 'PA',
772
772
  },
773
773
  {
774
774
  title: 'Papua New Guinea',
775
- "const": 'PG'
775
+ const: 'PG',
776
776
  },
777
777
  {
778
778
  title: 'Paraguay',
779
- "const": 'PY'
779
+ const: 'PY',
780
780
  },
781
781
  {
782
782
  title: 'Peru',
783
- "const": 'PE'
783
+ const: 'PE',
784
784
  },
785
785
  {
786
786
  title: 'Philippines',
787
- "const": 'PH'
787
+ const: 'PH',
788
788
  },
789
789
  {
790
790
  title: 'Pitcairn Islands',
791
- "const": 'PN'
791
+ const: 'PN',
792
792
  },
793
793
  {
794
794
  title: 'Poland',
795
- "const": 'PL'
795
+ const: 'PL',
796
796
  },
797
797
  {
798
798
  title: 'Portugal',
799
- "const": 'PT'
799
+ const: 'PT',
800
800
  },
801
801
  {
802
802
  title: 'Puerto Rico',
803
- "const": 'PR'
803
+ const: 'PR',
804
804
  },
805
805
  {
806
806
  title: 'Qatar',
807
- "const": 'QA'
807
+ const: 'QA',
808
808
  },
809
809
  {
810
810
  title: 'Romania',
811
- "const": 'RO'
811
+ const: 'RO',
812
812
  },
813
813
  {
814
814
  title: 'Russian Federation',
815
- "const": 'RU'
815
+ const: 'RU',
816
816
  },
817
817
  {
818
818
  title: 'Rwanda',
819
- "const": 'RW'
819
+ const: 'RW',
820
820
  },
821
821
  {
822
822
  title: 'Réunion',
823
- "const": 'RE'
823
+ const: 'RE',
824
824
  },
825
825
  {
826
826
  title: 'Saint Barthélemy',
827
- "const": 'BL'
827
+ const: 'BL',
828
828
  },
829
829
  {
830
830
  title: 'Saint Helena',
831
- "const": 'SH'
831
+ const: 'SH',
832
832
  },
833
833
  {
834
834
  title: 'Saint Kitts and Nevis',
835
- "const": 'KN'
835
+ const: 'KN',
836
836
  },
837
837
  {
838
838
  title: 'Saint Lucia',
839
- "const": 'LC'
839
+ const: 'LC',
840
840
  },
841
841
  {
842
842
  title: 'Saint Martin (French part)',
843
- "const": 'MF'
843
+ const: 'MF',
844
844
  },
845
845
  {
846
846
  title: 'Saint Pierre and Miquelon',
847
- "const": 'PM'
847
+ const: 'PM',
848
848
  },
849
849
  {
850
850
  title: 'Saint Vincent and the Grenadines',
851
- "const": 'VC'
851
+ const: 'VC',
852
852
  },
853
853
  {
854
854
  title: 'Samoa',
855
- "const": 'WS'
855
+ const: 'WS',
856
856
  },
857
857
  {
858
858
  title: 'San Marino',
859
- "const": 'SM'
859
+ const: 'SM',
860
860
  },
861
861
  {
862
862
  title: 'Sao Tome and Principe',
863
- "const": 'ST'
863
+ const: 'ST',
864
864
  },
865
865
  {
866
866
  title: 'Saudi Arabia',
867
- "const": 'SA'
867
+ const: 'SA',
868
868
  },
869
869
  {
870
870
  title: 'Senegal',
871
- "const": 'SN'
871
+ const: 'SN',
872
872
  },
873
873
  {
874
874
  title: 'Serbia',
875
- "const": 'RS'
875
+ const: 'RS',
876
876
  },
877
877
  {
878
878
  title: 'Seychelles',
879
- "const": 'SC'
879
+ const: 'SC',
880
880
  },
881
881
  {
882
882
  title: 'Sierra Leone',
883
- "const": 'SL'
883
+ const: 'SL',
884
884
  },
885
885
  {
886
886
  title: 'Singapore',
887
- "const": 'SG'
887
+ const: 'SG',
888
888
  },
889
889
  {
890
890
  title: 'Sint Maarten (Dutch part)',
891
- "const": 'SX'
891
+ const: 'SX',
892
892
  },
893
893
  {
894
894
  title: 'Slovakia',
895
- "const": 'SK'
895
+ const: 'SK',
896
896
  },
897
897
  {
898
898
  title: 'Slovenia',
899
- "const": 'SI'
899
+ const: 'SI',
900
900
  },
901
901
  {
902
902
  title: 'Solomon Islands',
903
- "const": 'SB'
903
+ const: 'SB',
904
904
  },
905
905
  {
906
906
  title: 'Somalia',
907
- "const": 'SO'
907
+ const: 'SO',
908
908
  },
909
909
  {
910
910
  title: 'South Africa',
911
- "const": 'ZA'
911
+ const: 'ZA',
912
912
  },
913
913
  {
914
914
  title: 'South Georgia and the South Sandwich Islands',
915
- "const": 'GS'
915
+ const: 'GS',
916
916
  },
917
917
  {
918
918
  title: 'South Korea',
919
- "const": 'KR'
919
+ const: 'KR',
920
920
  },
921
921
  {
922
922
  title: 'South Sudan',
923
- "const": 'SS'
923
+ const: 'SS',
924
924
  },
925
925
  {
926
926
  title: 'Spain',
927
- "const": 'ES'
927
+ const: 'ES',
928
928
  },
929
929
  {
930
930
  title: 'Sri Lanka',
931
- "const": 'LK'
931
+ const: 'LK',
932
932
  },
933
933
  {
934
934
  title: 'Sudan',
935
- "const": 'SD'
935
+ const: 'SD',
936
936
  },
937
937
  {
938
938
  title: 'Suriname',
939
- "const": 'SR'
939
+ const: 'SR',
940
940
  },
941
941
  {
942
942
  title: 'Swaziland',
943
- "const": 'SZ'
943
+ const: 'SZ',
944
944
  },
945
945
  {
946
946
  title: 'Sweden',
947
- "const": 'SE'
947
+ const: 'SE',
948
948
  },
949
949
  {
950
950
  title: 'Switzerland',
951
- "const": 'CH'
951
+ const: 'CH',
952
952
  },
953
953
  {
954
954
  title: 'Taiwan',
955
- "const": 'TW'
955
+ const: 'TW',
956
956
  },
957
957
  {
958
958
  title: 'Tajikistan',
959
- "const": 'TJ'
959
+ const: 'TJ',
960
960
  },
961
961
  {
962
962
  title: 'Tanzania',
963
- "const": 'TZ'
963
+ const: 'TZ',
964
964
  },
965
965
  {
966
966
  title: 'Thailand',
967
- "const": 'TH'
967
+ const: 'TH',
968
968
  },
969
969
  {
970
970
  title: 'Timor-Leste',
971
- "const": 'TL'
971
+ const: 'TL',
972
972
  },
973
973
  {
974
974
  title: 'Togo',
975
- "const": 'TG'
975
+ const: 'TG',
976
976
  },
977
977
  {
978
978
  title: 'Tokelau',
979
- "const": 'TK'
979
+ const: 'TK',
980
980
  },
981
981
  {
982
982
  title: 'Tonga',
983
- "const": 'TO'
983
+ const: 'TO',
984
984
  },
985
985
  {
986
986
  title: 'Trinidad and Tobago',
987
- "const": 'TT'
987
+ const: 'TT',
988
988
  },
989
989
  {
990
990
  title: 'Tunisia',
991
- "const": 'TN'
991
+ const: 'TN',
992
992
  },
993
993
  {
994
994
  title: 'Turkey',
995
- "const": 'TR'
995
+ const: 'TR',
996
996
  },
997
997
  {
998
998
  title: 'Turkmenistan',
999
- "const": 'TM'
999
+ const: 'TM',
1000
1000
  },
1001
1001
  {
1002
1002
  title: 'Turks and Caicos Islands',
1003
- "const": 'TC'
1003
+ const: 'TC',
1004
1004
  },
1005
1005
  {
1006
1006
  title: 'Tuvalu',
1007
- "const": 'TV'
1007
+ const: 'TV',
1008
1008
  },
1009
1009
  {
1010
1010
  title: 'Uganda',
1011
- "const": 'UG'
1011
+ const: 'UG',
1012
1012
  },
1013
1013
  {
1014
1014
  title: 'Ukraine',
1015
- "const": 'UA'
1015
+ const: 'UA',
1016
1016
  },
1017
1017
  {
1018
1018
  title: 'United Arab Emirates',
1019
- "const": 'AE'
1019
+ const: 'AE',
1020
1020
  },
1021
1021
  {
1022
1022
  title: 'United Kingdom',
1023
- "const": 'GB'
1023
+ const: 'GB',
1024
1024
  },
1025
1025
  {
1026
1026
  title: 'United States',
1027
- "const": 'US'
1027
+ const: 'US',
1028
1028
  },
1029
1029
  {
1030
1030
  title: 'Uruguay',
1031
- "const": 'UY'
1031
+ const: 'UY',
1032
1032
  },
1033
1033
  {
1034
1034
  title: 'Uzbekistan',
1035
- "const": 'UZ'
1035
+ const: 'UZ',
1036
1036
  },
1037
1037
  {
1038
1038
  title: 'Vanuatu',
1039
- "const": 'VU'
1039
+ const: 'VU',
1040
1040
  },
1041
1041
  {
1042
1042
  title: 'Vatican City',
1043
- "const": 'VA'
1043
+ const: 'VA',
1044
1044
  },
1045
1045
  {
1046
1046
  title: 'Vietnam',
1047
- "const": 'VN'
1047
+ const: 'VN',
1048
1048
  },
1049
1049
  {
1050
1050
  title: 'Wallis and Futuna',
1051
- "const": 'WF'
1051
+ const: 'WF',
1052
1052
  },
1053
1053
  {
1054
1054
  title: 'Western Sahara',
1055
- "const": 'EH'
1055
+ const: 'EH',
1056
1056
  },
1057
1057
  {
1058
1058
  title: 'Zambia',
1059
- "const": 'ZM'
1059
+ const: 'ZM',
1060
1060
  },
1061
1061
  {
1062
1062
  title: 'Zimbabwe',
1063
- "const": 'ZW'
1063
+ const: 'ZW',
1064
1064
  },
1065
1065
  {
1066
1066
  title: 'Åland Islands',
1067
- "const": 'AX'
1067
+ const: 'AX',
1068
1068
  },
1069
1069
  ],
1070
1070
  validationMessages: {
1071
- required: 'Please select a country.'
1071
+ required: 'Please select a country.',
1072
1072
  },
1073
- refreshFormOnChange: true
1073
+ refreshFormOnChange: true,
1074
1074
  },
1075
1075
  firstLine: {
1076
1076
  title: 'Street address',
@@ -1078,7 +1078,7 @@ var schema = {
1078
1078
  control: 'text',
1079
1079
  pattern: '^.{1,255}$',
1080
1080
  minLength: 1,
1081
- maxLength: 255
1081
+ maxLength: 255,
1082
1082
  },
1083
1083
  city: {
1084
1084
  title: 'City',
@@ -1087,20 +1087,20 @@ var schema = {
1087
1087
  pattern: '^.{1,255}$',
1088
1088
  minLength: 1,
1089
1089
  maxLength: 255,
1090
- width: 'md'
1090
+ width: 'md',
1091
1091
  },
1092
1092
  postCode: {
1093
1093
  title: 'Post Code',
1094
1094
  type: 'string',
1095
1095
  control: 'text',
1096
1096
  maxLength: 32,
1097
- width: 'md'
1098
- }
1097
+ width: 'md',
1098
+ },
1099
1099
  },
1100
- required: ['firstLine', 'city', 'country', 'postCode']
1101
- }
1102
- }
1100
+ required: ['firstLine', 'city', 'country', 'postCode'],
1101
+ },
1102
+ },
1103
1103
  },
1104
- ]
1104
+ ],
1105
1105
  };
1106
- exports["default"] = schema;
1106
+ exports.default = schema;