@wise/dynamic-flow-client 0.4.0-beta-d2067b.7 → 0.4.0

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