@wise/dynamic-flow-client 0.1.1 → 0.1.3

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