@wise/dynamic-flow-client 3.5.0-experimental-63c768d → 3.5.1-experimental-ccbce45

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 (345) hide show
  1. package/build/common/errorBoundary/ErrorBoundaryAlert.js +1 -1
  2. package/build/common/httpClientContext/HttpClientContext.js +2 -13
  3. package/build/common/makeHttpClient/makeHttpClient.spec.js +10 -10
  4. package/build/common/messages/external-confirmation.messages.js +5 -5
  5. package/build/common/messages/generic-error.messages.js +4 -4
  6. package/build/common/messages/help.messages.js +2 -2
  7. package/build/common/messages/multi-file-upload.messages.js +4 -4
  8. package/build/common/messages/multi-select.messages.js +2 -2
  9. package/build/common/messages/paragraph.messages.js +3 -3
  10. package/build/common/messages/repeatable.messages.js +5 -5
  11. package/build/common/messages/validation.array.messages.js +3 -3
  12. package/build/common/messages/validation.messages.js +11 -11
  13. package/build/i18n/index.js +1 -1
  14. package/build/legacy/common/constants/DateMode.js +1 -1
  15. package/build/legacy/common/constants/FormControlType.js +1 -1
  16. package/build/legacy/common/constants/MonthFormat.js +1 -1
  17. package/build/legacy/common/constants/Size.js +1 -1
  18. package/build/legacy/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +3 -14
  19. package/build/legacy/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +3 -1
  20. package/build/legacy/common/contexts/eventsContext/EventsContext.js +2 -2
  21. package/build/legacy/common/contexts/eventsContext/EventsContext.spec.js +1 -12
  22. package/build/legacy/common/contexts/featureContext/FeatureContext.js +1 -12
  23. package/build/legacy/common/contexts/featureContext/FeatureContext.spec.js +4 -15
  24. package/build/legacy/common/contexts/logContext/LogContext.js +2 -2
  25. package/build/legacy/common/contexts/logContext/LogContext.spec.js +1 -12
  26. package/build/legacy/common/hooks/useExternal/useExternal.spec.js +6 -6
  27. package/build/legacy/common/hooks/useExternalStepPolling/useExternalStepPolling.js +3 -2
  28. package/build/legacy/common/hooks/usePersistAsync/usePersistAsync.js +1 -1
  29. package/build/legacy/common/hooks/usePolling/usePolling.js +4 -2
  30. package/build/legacy/common/hooks/useStepPolling/useStepPolling.js +5 -3
  31. package/build/legacy/common/hooks/useStepPolling/useStepPolling.spec.js +4 -4
  32. package/build/legacy/common/messages.js +2 -2
  33. package/build/legacy/common/utils/file-utils.spec.js +4 -4
  34. package/build/legacy/common/utils/mobile-utils.spec.js +1 -1
  35. package/build/legacy/common/utils/schema-utils.js +2 -2
  36. package/build/legacy/common/validators/models/model-utils.spec.js +7 -7
  37. package/build/legacy/common/validators/models/model-validators.js +2 -2
  38. package/build/legacy/common/validators/models/model-validators.spec.js +54 -54
  39. package/build/legacy/common/validators/schemas/schema-validators.js +1 -1
  40. package/build/legacy/common/validators/schemas/schema-validators.spec.js +20 -20
  41. package/build/legacy/common/validators/validationFailures/validation-failures.js +2 -2
  42. package/build/legacy/common/validators/validationFailures/validation-failures.spec.js +11 -11
  43. package/build/legacy/dynamicFlow/BackButton.js +2 -2
  44. package/build/legacy/dynamicFlow/DynamicFlow.js +5 -5
  45. package/build/legacy/dynamicFlow/stories/dev-tools/DynamicFlow.story.js +7 -7
  46. package/build/legacy/dynamicFlow/stories/dev-tools/ErrorResponses.story.js +18 -18
  47. package/build/legacy/dynamicFlow/stories/dev-tools/Examples.story.js +1 -1
  48. package/build/legacy/dynamicFlow/stories/dev-tools/Features.story.js +1 -1
  49. package/build/legacy/dynamicFlow/stories/dev-tools/JsonSchemaForm.story.js +5 -5
  50. package/build/legacy/dynamicFlow/stories/dev-tools/RefreshOnChange.story.js +24 -24
  51. package/build/legacy/dynamicFlow/stories/dev-tools/SearchFeature.story.js +10 -21
  52. package/build/legacy/dynamicFlow/stories/dev-tools/ServerTest.story.js +4 -4
  53. package/build/legacy/dynamicFlow/stories/dev-tools/Upload.story.js +19 -19
  54. package/build/legacy/dynamicFlow/stories/dev-tools/ValidationAsync.story.js +18 -18
  55. package/build/legacy/dynamicFlow/stories/examples/ObjectConst.story.js +25 -25
  56. package/build/legacy/dynamicFlow/tests/Actions.spec.js +6 -6
  57. package/build/legacy/dynamicFlow/tests/AllOfSchema.spec.js +17 -17
  58. package/build/legacy/dynamicFlow/tests/AutocompleteHints.spec.js +6 -6
  59. package/build/legacy/dynamicFlow/tests/DynamicFlow.BackButton.spec.js +11 -11
  60. package/build/legacy/dynamicFlow/tests/DynamicFlow.search.spec.js +13 -13
  61. package/build/legacy/dynamicFlow/tests/DynamicFlow.spec.js +48 -48
  62. package/build/legacy/dynamicFlow/tests/DynamicImage.spec.js +4 -4
  63. package/build/legacy/dynamicFlow/tests/DynamicInstructions.spec.js +3 -3
  64. package/build/legacy/dynamicFlow/tests/HiddenSchemas.spec.js +24 -24
  65. package/build/legacy/dynamicFlow/tests/ModalLayout.spec.js +20 -20
  66. package/build/legacy/dynamicFlow/tests/MultiSelect.spec.js +21 -21
  67. package/build/legacy/dynamicFlow/tests/MultipleFileUploadSchema.spec.js +24 -24
  68. package/build/legacy/dynamicFlow/tests/ObjectSchema.spec.js +16 -16
  69. package/build/legacy/dynamicFlow/tests/OneOfSchema.spec.js +77 -77
  70. package/build/legacy/dynamicFlow/tests/PersistAsync.blob-schema.spec.js +19 -19
  71. package/build/legacy/dynamicFlow/tests/PersistAsync.string-schema.spec.js +10 -10
  72. package/build/legacy/dynamicFlow/tests/RefreshStepOnChange.debouncing.spec.js +19 -19
  73. package/build/legacy/dynamicFlow/tests/RefreshStepOnChange.spec.js +46 -46
  74. package/build/legacy/dynamicFlow/tests/RepeatableSchema.spec.js +62 -62
  75. package/build/legacy/dynamicFlow/tests/StepModel.spec.js +6 -6
  76. package/build/legacy/dynamicFlow/tests/ValidationAsync.spec.js +13 -13
  77. package/build/legacy/dynamicFlow/utils/responseParsers/response-parsers.spec.js +13 -13
  78. package/build/legacy/dynamicFlow/utils/useDynamicFlowState.js +4 -4
  79. package/build/legacy/formControl/FormControl.js +9 -9
  80. package/build/legacy/formControl/Select.spec.js +3 -3
  81. package/build/legacy/formControl/utils/getAutocompleteString.js +1 -1
  82. package/build/legacy/formControl/utils/value-utils.js +1 -1
  83. package/build/legacy/jsonSchemaForm/JsonSchemaForm.end-to-end.spec.js +66 -66
  84. package/build/legacy/jsonSchemaForm/JsonSchemaForm.js +1 -1
  85. package/build/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.js +5 -5
  86. package/build/legacy/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +1 -1
  87. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +1 -1
  88. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multiSelectSchema/MultiSelectSchema.js +6 -17
  89. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +3 -3
  90. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +1 -1
  91. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.js +7 -7
  92. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchemaStep.js +6 -6
  93. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/utils/summary-utils.js +7 -7
  94. package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/utils/summary-utils.spec.js +190 -190
  95. package/build/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +8 -19
  96. package/build/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.js +14 -14
  97. package/build/legacy/jsonSchemaForm/genericSchema/GenericSchema.rtl.spec.js +2 -2
  98. package/build/legacy/jsonSchemaForm/help/Help.js +1 -12
  99. package/build/legacy/jsonSchemaForm/objectSchema/ObjectSchema.js +4 -4
  100. package/build/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.js +12 -12
  101. package/build/legacy/jsonSchemaForm/oneOfSchema/utils.js +6 -6
  102. package/build/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +1 -1
  103. package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +2 -2
  104. package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +4 -4
  105. package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +2 -2
  106. package/build/legacy/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +2 -2
  107. package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +1 -12
  108. package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +1 -1
  109. package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +3 -3
  110. package/build/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +1 -1
  111. package/build/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +3 -3
  112. package/build/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +6 -6
  113. package/build/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.spec.js +12 -12
  114. package/build/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +10 -10
  115. package/build/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.spec.js +23 -23
  116. package/build/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +2 -2
  117. package/build/legacy/layout/DynamicLayout.js +1 -1
  118. package/build/legacy/layout/box/DynamicBox.js +2 -13
  119. package/build/legacy/layout/button/DynamicButton.js +1 -12
  120. package/build/legacy/layout/button/DynamicButton.spec.js +13 -24
  121. package/build/legacy/layout/button/utils.js +3 -3
  122. package/build/legacy/layout/button/utils.spec.js +6 -6
  123. package/build/legacy/layout/columns/DynamicColumns.js +4 -15
  124. package/build/legacy/layout/decision/DynamicDecision.js +1 -12
  125. package/build/legacy/layout/external/DynamicExternal.js +1 -1
  126. package/build/legacy/layout/external/DynamicExternal.messages.js +2 -2
  127. package/build/legacy/layout/form/DynamicForm.js +2 -2
  128. package/build/legacy/layout/heading/DynamicHeading.js +8 -19
  129. package/build/legacy/layout/image/DynamicImage.js +5 -4
  130. package/build/legacy/layout/instructions/DynamicInstructions.js +1 -12
  131. package/build/legacy/layout/list/DynamicStatusList.js +3 -3
  132. package/build/legacy/layout/list/DynamicStatusList.spec.js +9 -9
  133. package/build/legacy/layout/loadingIndicator/DynamicLoadingIndicator.js +1 -1
  134. package/build/legacy/layout/markdown/DynamicMarkdown.js +2 -13
  135. package/build/legacy/layout/markdown/DynamicMarkdown.spec.js +4 -4
  136. package/build/legacy/layout/modal/DynamicModal.js +2 -2
  137. package/build/legacy/layout/paragraph/DynamicParagraph.js +5 -16
  138. package/build/legacy/layout/review/DynamicReview.js +3 -14
  139. package/build/legacy/layout/review/DynamicReview.spec.js +6 -6
  140. package/build/legacy/layout/search/DynamicSearch.js +2 -13
  141. package/build/legacy/layout/search/SearchInput.js +1 -12
  142. package/build/legacy/layout/search/SearchResults.js +3 -14
  143. package/build/legacy/layout/search/useSearch.js +4 -4
  144. package/build/legacy/layout/utils/getNavigationOptionMedia.js +2 -13
  145. package/build/legacy/step/cameraStep/CameraStep.js +1 -1
  146. package/build/legacy/step/cameraStep/cameraCapture/CameraCapture.js +6 -6
  147. package/build/legacy/step/cameraStep/cameraCapture/CameraCapture.messages.js +12 -12
  148. package/build/legacy/step/cameraStep/cameraCapture/CameraCapture.spec.js +13 -13
  149. package/build/legacy/step/cameraStep/cameraCapture/components/bottomBar/BottomBar.js +3 -14
  150. package/build/legacy/step/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.js +1 -12
  151. package/build/legacy/step/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.messages.js +2 -2
  152. package/build/legacy/step/cameraStep/cameraCapture/hooks/useFullScreenOrientationLock.js +6 -4
  153. package/build/legacy/step/cameraStep/cameraCapture/hooks/useVideoConstraints.js +1 -1
  154. package/build/legacy/step/cameraStep/cameraCapture/overlay/Overlay.js +6 -6
  155. package/build/legacy/step/cameraStep/cameraCapture/screens/cameraErrorScreen/CameraErrorScreen.js +1 -12
  156. package/build/legacy/step/cameraStep/cameraCapture/tracking/index.js +1 -1
  157. package/build/legacy/step/externalConfirmationStep/ExternalConfirmationStep.js +7 -7
  158. package/build/legacy/step/layoutStep/LayoutStep.js +1 -1
  159. package/build/legacy/step/layoutStep/utils/inline-reference-utils.js +3 -3
  160. package/build/legacy/step/layoutStep/utils/layout-utils.js +12 -12
  161. package/build/legacy/test-utils/DynamicFlowProviders.js +1 -12
  162. package/build/legacy/test-utils/legacy-utils.js +4 -4
  163. package/build/legacy/test-utils/log-utils.js +1 -1
  164. package/build/revamp/DynamicFlowCore.js +5 -5
  165. package/build/revamp/DynamicFlowWise.js +1 -1
  166. package/build/revamp/DynamicFlowWise.spec.js +11 -11
  167. package/build/revamp/domain/components/AllOfComponent.js +1 -1
  168. package/build/revamp/domain/components/BooleanInputComponent.js +2 -2
  169. package/build/revamp/domain/components/ConstComponent.js +1 -1
  170. package/build/revamp/domain/components/DateInputComponent.js +2 -2
  171. package/build/revamp/domain/components/IntegerInputComponent.js +2 -2
  172. package/build/revamp/domain/components/NumberInputComponent.js +2 -2
  173. package/build/revamp/domain/components/ObjectComponent.js +1 -1
  174. package/build/revamp/domain/components/SelectInputComponent.js +2 -2
  175. package/build/revamp/domain/components/StepDomainComponent.js +1 -1
  176. package/build/revamp/domain/components/TextInputComponent.js +2 -2
  177. package/build/revamp/domain/components/UploadInputComponent.js +1 -1
  178. package/build/revamp/domain/components/repeatableComponent/RepeatableComponent.js +1 -1
  179. package/build/revamp/domain/components/repeatableComponent/RepeatableComponent.spec.js +1 -1
  180. package/build/revamp/domain/components/searchComponent/SearchComponent.js +4 -3
  181. package/build/revamp/domain/components/searchComponent/SearchComponent.spec.js +13 -13
  182. package/build/revamp/domain/components/utils/isPartialLocalValueMatch.spec.js +7 -7
  183. package/build/revamp/domain/features/persistAsync/getComponentPersistAsync.js +4 -4
  184. package/build/revamp/domain/features/persistAsync/getComponentPersistAsync.spec.js +1 -1
  185. package/build/revamp/domain/features/persistAsync/getInitialPersistedState.js +1 -1
  186. package/build/revamp/domain/features/persistAsync/getPerformPersistAsync.spec.js +17 -17
  187. package/build/revamp/domain/features/search/getPerformSearchFunction.js +3 -3
  188. package/build/revamp/domain/features/search/getPerformSearchFunction.spec.js +18 -18
  189. package/build/revamp/domain/features/summary/summary-utils.js +2 -2
  190. package/build/revamp/domain/features/summary/summary-utils.spec.js +27 -27
  191. package/build/revamp/domain/features/utils/http-utils.js +1 -1
  192. package/build/revamp/domain/features/validation/spec-utils.js +1 -1
  193. package/build/revamp/domain/features/validation/validation-functions.spec.js +4 -4
  194. package/build/revamp/domain/features/validation/value-checks.spec.js +4 -4
  195. package/build/revamp/domain/features/validationAsync/getComponentValidationAsync.js +4 -3
  196. package/build/revamp/domain/features/validationAsync/getComponentValidationAsync.spec.js +1 -1
  197. package/build/revamp/domain/features/validationAsync/getInitialValidationState.js +1 -1
  198. package/build/revamp/domain/features/validationAsync/getPerformValidationAsync.js +1 -1
  199. package/build/revamp/domain/features/validationAsync/getPerformValidationAsync.spec.js +17 -17
  200. package/build/revamp/domain/mappers/layout/alertLayoutToComponent.js +1 -1
  201. package/build/revamp/domain/mappers/layout/boxLayoutToComponents.js +1 -1
  202. package/build/revamp/domain/mappers/layout/buttonLayoutToComponent.js +1 -1
  203. package/build/revamp/domain/mappers/layout/columnsLayoutToComponent.js +1 -1
  204. package/build/revamp/domain/mappers/layout/decisionLayoutToComponent.js +1 -1
  205. package/build/revamp/domain/mappers/layout/formLayoutToComponent.js +2 -2
  206. package/build/revamp/domain/mappers/layout/headingLayoutToComponent.js +1 -1
  207. package/build/revamp/domain/mappers/layout/imageLayoutToComponent.js +1 -1
  208. package/build/revamp/domain/mappers/layout/infoLayoutToComponent.js +1 -1
  209. package/build/revamp/domain/mappers/layout/instructionsLayoutToComponent.js +2 -2
  210. package/build/revamp/domain/mappers/layout/listLayoutToComponent.js +2 -2
  211. package/build/revamp/domain/mappers/layout/markdownLayoutToComponent.js +1 -1
  212. package/build/revamp/domain/mappers/layout/modalLayoutToComponent.js +2 -2
  213. package/build/revamp/domain/mappers/layout/paragraphLayoutToComponent.js +1 -1
  214. package/build/revamp/domain/mappers/layout/reviewLayoutToComponent.js +3 -3
  215. package/build/revamp/domain/mappers/layout/searchLayoutToComponent.js +1 -1
  216. package/build/revamp/domain/mappers/layout/statusListLayoutToComponent.js +1 -1
  217. package/build/revamp/domain/mappers/mapSchemaToComponent.js +1 -1
  218. package/build/revamp/domain/mappers/mapSchemaToComponent.spec.js +22 -22
  219. package/build/revamp/domain/mappers/mapStepToComponent.js +3 -3
  220. package/build/revamp/domain/mappers/mapStepToComponent.spec.js +12 -12
  221. package/build/revamp/domain/mappers/schema/allOfSchemaToComponent.js +1 -1
  222. package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToRepeatableComponent.js +2 -2
  223. package/build/revamp/domain/mappers/schema/booleanSchemaToComponent.js +1 -1
  224. package/build/revamp/domain/mappers/schema/constSchemaToComponent.js +2 -2
  225. package/build/revamp/domain/mappers/schema/integerSchemaToComponent.js +1 -1
  226. package/build/revamp/domain/mappers/schema/numberSchemaToComponent.js +1 -1
  227. package/build/revamp/domain/mappers/schema/objectSchemaToComponent/objectSchemaToComponent.js +1 -1
  228. package/build/revamp/domain/mappers/schema/objectSchemaToComponent/objectSchemaToComponent.spec.js +21 -21
  229. package/build/revamp/domain/mappers/schema/oneOfSchemaToComponent/oneOfSchemaToComponent.js +4 -4
  230. package/build/revamp/domain/mappers/schema/oneOfSchemaToComponent/oneOfSchemaToComponent.spec.js +48 -48
  231. package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToComponent.spec.js +21 -21
  232. package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToDateInputComponent.js +1 -1
  233. package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToTextInputComponent.js +1 -1
  234. package/build/revamp/domain/mappers/schema/utils/getPersistAsyncInitialState.js +1 -1
  235. package/build/revamp/domain/mappers/schema/utils/getValidationAsyncInitialState.js +1 -1
  236. package/build/revamp/domain/mappers/utils/getAutocompleteString.js +1 -1
  237. package/build/revamp/domain/mappers/utils/legacy-utils.js +2 -2
  238. package/build/revamp/flow/executeRefresh.js +2 -2
  239. package/build/revamp/flow/executeSubmission.js +1 -1
  240. package/build/revamp/renderers/CoreContainerRenderer.js +1 -1
  241. package/build/revamp/renderers/getRenderFunction.js +3 -3
  242. package/build/revamp/renderers/getSchemaErrorMessageFunction.js +12 -12
  243. package/build/revamp/renderers/mappers/allOfComponentToProps.js +1 -1
  244. package/build/revamp/renderers/mappers/buttonComponentToProps.js +1 -1
  245. package/build/revamp/renderers/mappers/containerComponentToProps.js +1 -1
  246. package/build/revamp/renderers/mappers/headingComponentToProps.js +1 -1
  247. package/build/revamp/renderers/mappers/hiddenComponentToProps.js +1 -1
  248. package/build/revamp/renderers/mappers/imageComponentToProps.js +1 -1
  249. package/build/revamp/renderers/mappers/instructionsComponentToProps.js +1 -1
  250. package/build/revamp/renderers/mappers/loadingIndicatorComponentToProps.js +1 -1
  251. package/build/revamp/renderers/mappers/markdownComponentToProps.js +1 -1
  252. package/build/revamp/renderers/mappers/modalComponentToProps.js +1 -1
  253. package/build/revamp/renderers/mappers/multiUploadInputComponentToProps.js +1 -1
  254. package/build/revamp/renderers/mappers/objectComponentToProps.js +1 -1
  255. package/build/revamp/renderers/mappers/paragraphComponentToProps.js +1 -1
  256. package/build/revamp/renderers/mappers/repeatableComponentToProps.js +2 -2
  257. package/build/revamp/renderers/mappers/reviewComponentToProps.js +1 -1
  258. package/build/revamp/renderers/mappers/searchComponentToProps.js +2 -2
  259. package/build/revamp/renderers/mappers/statusListComponentToProps.js +1 -1
  260. package/build/revamp/renderers/mappers/utils/inputComponentToProps.js +1 -1
  261. package/build/revamp/renderers/step/ExternalConfirmationDialog.js +2 -13
  262. package/build/revamp/renderers/step/StepRenderer.js +2 -13
  263. package/build/revamp/renderers/stepComponentToProps.js +1 -1
  264. package/build/revamp/stories/dev-tools/DynamicFlowRevamp.story.js +53 -53
  265. package/build/revamp/stories/dev-tools/EditableStep.story.js +7 -7
  266. package/build/revamp/stories/dev-tools/ErrorHandling.story.js +17 -17
  267. package/build/revamp/stories/dev-tools/External.story.js +6 -6
  268. package/build/revamp/stories/dev-tools/OneOf.Inititalisation.story.js +14 -14
  269. package/build/revamp/stories/dev-tools/PersistAsync.story.js +16 -16
  270. package/build/revamp/stories/dev-tools/RefreshOnChange.story.js +41 -41
  271. package/build/revamp/stories/dev-tools/RefreshOnChange.with.PersistAsync.story.js +210 -210
  272. package/build/revamp/stories/dev-tools/ServerTest.story.js +4 -4
  273. package/build/revamp/stories/dev-tools/Upload.story.js +18 -18
  274. package/build/revamp/stories/dev-tools/ValidationAsync.story.js +18 -18
  275. package/build/revamp/stories/examples/ObjectConst.story.js +25 -25
  276. package/build/revamp/stories/examples/OneOfInitialisation.story.js +10 -10
  277. package/build/revamp/stories/utils/fixtureHttpClient.js +1 -1
  278. package/build/revamp/stories/utils/mockSearchHandler.js +8 -8
  279. package/build/revamp/stories/visual-tests/VisualTests.story.js +1 -1
  280. package/build/revamp/test-utils/step-utils.js +1 -1
  281. package/build/revamp/tests/ImageRenderer.spec.js +3 -3
  282. package/build/revamp/tests/InitialAction.spec.js +9 -9
  283. package/build/revamp/tests/InitialStep.spec.js +3 -3
  284. package/build/revamp/tests/Logging.spec.js +5 -5
  285. package/build/revamp/tests/OneOfInitialisation.spec.js +73 -73
  286. package/build/revamp/tests/RefreshOnChange.ResponseHandling.spec.js +19 -19
  287. package/build/revamp/tests/RefreshOnChange.with.Tabs.spec.js +57 -57
  288. package/build/revamp/tests/RefreshOnChangePreserve.spec.js +13 -13
  289. package/build/revamp/tests/Submission.ResponseHandling.spec.js +38 -38
  290. package/build/revamp/tests/Submission.spec.js +23 -23
  291. package/build/revamp/tests/legacy/HiddenSchemas.spec.js +24 -24
  292. package/build/revamp/tests/legacy/MultipleFileUploadSchema.spec.js +27 -27
  293. package/build/revamp/tests/legacy/PersistAsync.blob-schema.spec.js +18 -18
  294. package/build/revamp/tests/legacy/PersistAsync.string-schema.spec.js +8 -8
  295. package/build/revamp/tests/legacy/RefreshStepOnChange.debouncing.spec.js +15 -14
  296. package/build/revamp/tests/legacy/RefreshStepOnChange.spec.js +50 -50
  297. package/build/revamp/tests/legacy/ValidationAsync.spec.js +14 -14
  298. package/build/revamp/tests/legacy/useExternal.spec.js +6 -6
  299. package/build/revamp/utils/component-utils.spec.js +43 -43
  300. package/build/revamp/utils/findComponent.spec.js +14 -14
  301. package/build/revamp/utils/type-utils.js +1 -1
  302. package/build/revamp/wise/renderers/AlertRenderer.js +1 -1
  303. package/build/revamp/wise/renderers/BooleanInputRenderer.js +2 -2
  304. package/build/revamp/wise/renderers/BoxRenderer.js +4 -15
  305. package/build/revamp/wise/renderers/ButtonRenderer.js +2 -13
  306. package/build/revamp/wise/renderers/ColumnsRenderer.js +4 -15
  307. package/build/revamp/wise/renderers/DateInputRenderer.js +2 -2
  308. package/build/revamp/wise/renderers/DecisionRenderer.js +3 -14
  309. package/build/revamp/wise/renderers/DividerRenderer.js +1 -1
  310. package/build/revamp/wise/renderers/FormRenderer.js +2 -13
  311. package/build/revamp/wise/renderers/FormSectionRenderer.js +1 -1
  312. package/build/revamp/wise/renderers/HeadingRenderer.js +7 -7
  313. package/build/revamp/wise/renderers/ImageRenderer.js +5 -4
  314. package/build/revamp/wise/renderers/InstructionsRenderer.js +2 -13
  315. package/build/revamp/wise/renderers/IntegerInputRenderer.js +3 -3
  316. package/build/revamp/wise/renderers/LoadingIndicatorRenderer.js +1 -1
  317. package/build/revamp/wise/renderers/MarkdownRenderer.js +2 -13
  318. package/build/revamp/wise/renderers/ModalRenderer.js +2 -2
  319. package/build/revamp/wise/renderers/MultiUploadInputRenderer.js +3 -14
  320. package/build/revamp/wise/renderers/NumberInputRenderer.js +3 -3
  321. package/build/revamp/wise/renderers/ParagraphRenderer.js +5 -4
  322. package/build/revamp/wise/renderers/RepeatableRenderer.js +5 -5
  323. package/build/revamp/wise/renderers/ReviewRenderer.js +5 -16
  324. package/build/revamp/wise/renderers/SearchRenderer.js +5 -5
  325. package/build/revamp/wise/renderers/SelectInputRenderer/OptionMedia.js +2 -13
  326. package/build/revamp/wise/renderers/SelectInputRenderer/RadioInputRendererComponent.js +3 -14
  327. package/build/revamp/wise/renderers/SelectInputRenderer/SelectInputRenderer.js +1 -1
  328. package/build/revamp/wise/renderers/SelectInputRenderer/SelectInputRendererComponent.js +4 -4
  329. package/build/revamp/wise/renderers/SelectInputRenderer/SelectTriggerMedia.js +2 -13
  330. package/build/revamp/wise/renderers/SelectInputRenderer/TabInputRendererComponent.js +3 -14
  331. package/build/revamp/wise/renderers/StatusListRenderer.js +3 -14
  332. package/build/revamp/wise/renderers/TextInputRenderer.js +2 -2
  333. package/build/revamp/wise/renderers/UploadInputRenderer.js +6 -6
  334. package/build/revamp/wise/renderers/components/FieldInput.js +1 -12
  335. package/build/revamp/wise/renderers/components/Help.js +1 -12
  336. package/build/revamp/wise/renderers/components/UploadFieldInput.js +3 -14
  337. package/build/revamp/wise/renderers/components/icon/NavigationOptionMedia.js +2 -13
  338. package/build/test-utils/NeptuneProviders.js +1 -1
  339. package/build/types/common/messages/multi-file-upload.messages.d.ts +9 -9
  340. package/build/types/legacy/common/utils/mobile-utils.d.ts +1 -1
  341. package/build/types/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.d.ts +6 -6
  342. package/build/types/legacy/layout/external/DynamicExternal.messages.d.ts +3 -3
  343. package/build/types/revamp/domain/components/MultiUploadInputComponent.d.ts +1 -1
  344. package/build/types/revamp/domain/components/UploadInputComponent.d.ts +1 -1
  345. package/package.json +3 -3
@@ -54,14 +54,14 @@ var httpClient = getMockHttpClient({
54
54
  '/refresh': getRespondWithDelay(500),
55
55
  '/persist': function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
56
56
  return [2 /*return*/, respondWith({ cardToken: 'X_njjb1uoi0j4jrqgr1pn69mtqrb' })];
57
- }); }); }
57
+ }); }); },
58
58
  });
59
59
  export default {
60
60
  component: DynamicFlowWise,
61
61
  title: 'Revamp/Features/Refresh On Change with Persist Async',
62
62
  parameters: {
63
- chromatic: { disableSnapshot: true }
64
- }
63
+ chromatic: { disableSnapshot: true },
64
+ },
65
65
  };
66
66
  export function RefreshOnChange() {
67
67
  return renderWithStep(initialStep);
@@ -82,7 +82,7 @@ var initialStep = {
82
82
  url: '/v2/contacts',
83
83
  type: 'primary',
84
84
  method: 'POST',
85
- $id: 'submit'
85
+ $id: 'submit',
86
86
  },
87
87
  ],
88
88
  schemas: [
@@ -102,27 +102,27 @@ var initialStep = {
102
102
  analyticsId: 'EUR',
103
103
  icon: { name: 'flag-eur', type: 'icon' },
104
104
  description: 'Euro',
105
- "const": 'EUR'
105
+ const: 'EUR',
106
106
  },
107
107
  {
108
108
  title: 'GBP',
109
109
  analyticsId: 'GBP',
110
110
  icon: { name: 'flag-gbp', type: 'icon' },
111
111
  description: 'British pound',
112
- "const": 'GBP'
112
+ const: 'GBP',
113
113
  },
114
114
  {
115
115
  title: 'USD',
116
116
  analyticsId: 'USD',
117
117
  icon: { name: 'flag-usd', type: 'icon' },
118
118
  description: 'United States dollar',
119
- "const": 'USD'
119
+ const: 'USD',
120
120
  },
121
121
  ],
122
- "default": 'USD'
123
- }
122
+ default: 'USD',
123
+ },
124
124
  },
125
- required: ['currency', 'legalEntityType']
125
+ required: ['currency', 'legalEntityType'],
126
126
  },
127
127
  {
128
128
  title: 'Bank details',
@@ -141,17 +141,17 @@ var initialStep = {
141
141
  properties: {
142
142
  fullName: {
143
143
  title: 'Full name of the account holder',
144
- type: 'string'
145
- }
144
+ type: 'string',
145
+ },
146
146
  },
147
- required: ['fullName']
147
+ required: ['fullName'],
148
148
  },
149
149
  ownedByCustomer: {
150
150
  title: 'My own account',
151
151
  type: 'boolean',
152
152
  analyticsId: 'My own account',
153
153
  hidden: true,
154
- "const": false
154
+ const: false,
155
155
  },
156
156
  details: {
157
157
  type: 'object',
@@ -162,25 +162,25 @@ var initialStep = {
162
162
  type: 'string',
163
163
  placeholder: '020123456',
164
164
  refreshFormOnChange: true,
165
- format: 'numeric'
165
+ format: 'numeric',
166
166
  },
167
167
  accountNumber: {
168
168
  title: 'Account number',
169
169
  type: 'string',
170
170
  placeholder: '12345678',
171
171
  refreshFormOnChange: true,
172
- format: 'numeric'
172
+ format: 'numeric',
173
173
  },
174
174
  accountType: {
175
175
  title: 'Account type',
176
176
  type: 'string',
177
177
  oneOf: [
178
- { title: 'Checking', "const": 'CHECKING' },
179
- { title: 'Savings', "const": 'SAVINGS' },
180
- ]
181
- }
178
+ { title: 'Checking', const: 'CHECKING' },
179
+ { title: 'Savings', const: 'SAVINGS' },
180
+ ],
181
+ },
182
182
  },
183
- required: ['abartn', 'accountNumber', 'accountType']
183
+ required: ['abartn', 'accountNumber', 'accountType'],
184
184
  },
185
185
  address: {
186
186
  title: 'Recipient address',
@@ -192,35 +192,35 @@ var initialStep = {
192
192
  type: 'string',
193
193
  placeholder: 'Choose a country',
194
194
  oneOf: [
195
- { title: 'United States', "const": 'US' },
196
- { title: 'United Kingdom', "const": 'GB' },
195
+ { title: 'United States', const: 'US' },
196
+ { title: 'United Kingdom', const: 'GB' },
197
197
  ],
198
- refreshFormOnChange: true
198
+ refreshFormOnChange: true,
199
199
  },
200
200
  city: {
201
201
  title: 'City',
202
- type: 'string'
202
+ type: 'string',
203
203
  },
204
204
  firstLine: {
205
205
  title: 'Recipient address',
206
- type: 'string'
206
+ type: 'string',
207
207
  },
208
208
  postCode: {
209
209
  title: 'Post code',
210
- type: 'string'
211
- }
210
+ type: 'string',
211
+ },
212
212
  },
213
- required: ['country', 'city', 'firstLine', 'postCode']
213
+ required: ['country', 'city', 'firstLine', 'postCode'],
214
214
  },
215
215
  type: {
216
216
  title: 'Type',
217
217
  type: 'string',
218
218
  analyticsId: 'Type',
219
219
  hidden: true,
220
- "const": 'Aba'
221
- }
220
+ const: 'Aba',
221
+ },
222
222
  },
223
- required: ['type', 'address', 'name', 'details']
223
+ required: ['type', 'address', 'name', 'details'],
224
224
  },
225
225
  {
226
226
  title: 'Wire',
@@ -235,17 +235,17 @@ var initialStep = {
235
235
  properties: {
236
236
  fullName: {
237
237
  title: 'Full name of the account holder',
238
- type: 'string'
239
- }
238
+ type: 'string',
239
+ },
240
240
  },
241
- required: ['fullName']
241
+ required: ['fullName'],
242
242
  },
243
243
  ownedByCustomer: {
244
244
  title: 'My own account',
245
245
  type: 'boolean',
246
246
  analyticsId: 'My own account',
247
247
  hidden: true,
248
- "const": false
248
+ const: false,
249
249
  },
250
250
  details: {
251
251
  type: 'object',
@@ -254,24 +254,24 @@ var initialStep = {
254
254
  abartn: {
255
255
  title: 'Fedwire routing number',
256
256
  type: 'string',
257
- placeholder: '020123456'
257
+ placeholder: '020123456',
258
258
  },
259
259
  accountNumber: {
260
260
  title: 'Account number',
261
261
  type: 'string',
262
262
  placeholder: '12345678',
263
- format: 'numeric'
263
+ format: 'numeric',
264
264
  },
265
265
  accountType: {
266
266
  title: 'Account type',
267
267
  type: 'string',
268
268
  oneOf: [
269
- { title: 'Checking', "const": 'CHECKING' },
270
- { title: 'Savings', "const": 'SAVINGS' },
271
- ]
272
- }
269
+ { title: 'Checking', const: 'CHECKING' },
270
+ { title: 'Savings', const: 'SAVINGS' },
271
+ ],
272
+ },
273
273
  },
274
- required: ['abartn', 'accountNumber', 'accountType']
274
+ required: ['abartn', 'accountNumber', 'accountType'],
275
275
  },
276
276
  address: {
277
277
  title: 'Recipient address',
@@ -283,35 +283,35 @@ var initialStep = {
283
283
  type: 'string',
284
284
  placeholder: 'Choose a country',
285
285
  oneOf: [
286
- { title: 'United States', "const": 'US' },
287
- { title: 'United Kingdom', "const": 'GB' },
286
+ { title: 'United States', const: 'US' },
287
+ { title: 'United Kingdom', const: 'GB' },
288
288
  ],
289
- refreshFormOnChange: true
289
+ refreshFormOnChange: true,
290
290
  },
291
291
  city: {
292
292
  title: 'City',
293
- type: 'string'
293
+ type: 'string',
294
294
  },
295
295
  firstLine: {
296
296
  title: 'Recipient address',
297
- type: 'string'
297
+ type: 'string',
298
298
  },
299
299
  postCode: {
300
300
  title: 'Post code',
301
- type: 'string'
302
- }
301
+ type: 'string',
302
+ },
303
303
  },
304
- required: ['country', 'city', 'firstLine', 'postCode']
304
+ required: ['country', 'city', 'firstLine', 'postCode'],
305
305
  },
306
306
  type: {
307
307
  title: 'Type',
308
308
  type: 'string',
309
309
  analyticsId: 'Type',
310
310
  hidden: true,
311
- "const": 'FedWireLocal'
312
- }
311
+ const: 'FedWireLocal',
312
+ },
313
313
  },
314
- required: ['type', 'address', 'name', 'details']
314
+ required: ['type', 'address', 'name', 'details'],
315
315
  },
316
316
  {
317
317
  title: 'SWIFT',
@@ -326,17 +326,17 @@ var initialStep = {
326
326
  properties: {
327
327
  fullName: {
328
328
  title: 'Full name of the account holder',
329
- type: 'string'
330
- }
329
+ type: 'string',
330
+ },
331
331
  },
332
- required: ['fullName']
332
+ required: ['fullName'],
333
333
  },
334
334
  ownedByCustomer: {
335
335
  title: 'My own account',
336
336
  type: 'boolean',
337
337
  analyticsId: 'My own account',
338
338
  hidden: true,
339
- "const": false
339
+ const: false,
340
340
  },
341
341
  details: {
342
342
  type: 'object',
@@ -345,14 +345,14 @@ var initialStep = {
345
345
  bic: {
346
346
  title: 'SWIFT / BIC code',
347
347
  type: 'string',
348
- placeholder: 'BUKBGB22'
348
+ placeholder: 'BUKBGB22',
349
349
  },
350
350
  accountNumber: {
351
351
  title: 'IBAN / Account number',
352
- type: 'string'
353
- }
352
+ type: 'string',
353
+ },
354
354
  },
355
- required: ['bic', 'accountNumber']
355
+ required: ['bic', 'accountNumber'],
356
356
  },
357
357
  address: {
358
358
  title: 'Recipient address',
@@ -364,35 +364,35 @@ var initialStep = {
364
364
  type: 'string',
365
365
  placeholder: 'Choose a country',
366
366
  oneOf: [
367
- { title: 'United States', "const": 'US' },
368
- { title: 'United Kingdom', "const": 'GB' },
367
+ { title: 'United States', const: 'US' },
368
+ { title: 'United Kingdom', const: 'GB' },
369
369
  ],
370
- refreshFormOnChange: true
370
+ refreshFormOnChange: true,
371
371
  },
372
372
  city: {
373
373
  title: 'City',
374
- type: 'string'
374
+ type: 'string',
375
375
  },
376
376
  firstLine: {
377
377
  title: 'Recipient address',
378
- type: 'string'
378
+ type: 'string',
379
379
  },
380
380
  postCode: {
381
381
  title: 'Post code',
382
- type: 'string'
383
- }
382
+ type: 'string',
383
+ },
384
384
  },
385
- required: ['country', 'city', 'firstLine', 'postCode']
385
+ required: ['country', 'city', 'firstLine', 'postCode'],
386
386
  },
387
387
  type: {
388
388
  title: 'Type',
389
389
  type: 'string',
390
390
  analyticsId: 'Type',
391
391
  hidden: true,
392
- "const": 'SwiftCode'
393
- }
392
+ const: 'SwiftCode',
393
+ },
394
394
  },
395
- required: ['type', 'address', 'name', 'details']
395
+ required: ['type', 'address', 'name', 'details'],
396
396
  },
397
397
  {
398
398
  title: 'US card',
@@ -400,7 +400,7 @@ var initialStep = {
400
400
  analyticsId: 'Card',
401
401
  image: {
402
402
  url: 'https://wise.com/public-resources/assets/recipients/unionpay.png',
403
- type: 'image'
403
+ type: 'image',
404
404
  },
405
405
  displayOrder: ['name', 'ownedByCustomer', 'details', 'address', 'type'],
406
406
  properties: {
@@ -410,17 +410,17 @@ var initialStep = {
410
410
  properties: {
411
411
  fullName: {
412
412
  title: 'Full name of the account holder',
413
- type: 'string'
414
- }
413
+ type: 'string',
414
+ },
415
415
  },
416
- required: ['fullName']
416
+ required: ['fullName'],
417
417
  },
418
418
  ownedByCustomer: {
419
419
  title: 'My own account',
420
420
  type: 'boolean',
421
421
  analyticsId: 'My own account',
422
422
  hidden: true,
423
- "const": false
423
+ const: false,
424
424
  },
425
425
  details: {
426
426
  type: 'object',
@@ -431,14 +431,14 @@ var initialStep = {
431
431
  type: 'string',
432
432
  hidden: true,
433
433
  placeholder: '08',
434
- format: 'numeric'
434
+ format: 'numeric',
435
435
  },
436
436
  expiryYear: {
437
437
  title: 'Expiry year',
438
438
  type: 'string',
439
439
  hidden: true,
440
440
  placeholder: '2022',
441
- format: 'numeric'
441
+ format: 'numeric',
442
442
  },
443
443
  cardToken: {
444
444
  title: 'Card token',
@@ -453,12 +453,12 @@ var initialStep = {
453
453
  title: 'Card number',
454
454
  type: 'string',
455
455
  placeholder: '1234567890123456',
456
- format: 'numeric'
457
- }
458
- }
459
- }
456
+ format: 'numeric',
457
+ },
458
+ },
459
+ },
460
460
  },
461
- required: ['cardToken']
461
+ required: ['cardToken'],
462
462
  },
463
463
  address: {
464
464
  title: 'Recipient address',
@@ -470,38 +470,38 @@ var initialStep = {
470
470
  type: 'string',
471
471
  placeholder: 'Choose a country',
472
472
  oneOf: [
473
- { title: 'United States', "const": 'US' },
474
- { title: 'United Kingdom', "const": 'GB' },
473
+ { title: 'United States', const: 'US' },
474
+ { title: 'United Kingdom', const: 'GB' },
475
475
  ],
476
- refreshFormOnChange: true
476
+ refreshFormOnChange: true,
477
477
  },
478
478
  city: {
479
479
  title: 'City',
480
- type: 'string'
480
+ type: 'string',
481
481
  },
482
482
  firstLine: {
483
483
  title: 'Recipient address',
484
- type: 'string'
485
- }
484
+ type: 'string',
485
+ },
486
486
  },
487
- required: ['country', 'city', 'firstLine']
487
+ required: ['country', 'city', 'firstLine'],
488
488
  },
489
489
  type: {
490
490
  title: 'Type',
491
491
  type: 'string',
492
492
  analyticsId: 'Type',
493
493
  hidden: true,
494
- "const": 'Card'
495
- }
494
+ const: 'Card',
495
+ },
496
496
  },
497
- required: ['type', 'address', 'name', 'details']
497
+ required: ['type', 'address', 'name', 'details'],
498
498
  },
499
499
  ],
500
500
  control: 'tab',
501
- placeholder: 'Please select where you are sending to'
501
+ placeholder: 'Please select where you are sending to',
502
502
  },
503
503
  ],
504
- $id: 'form'
504
+ $id: 'form',
505
505
  },
506
506
  ],
507
507
  refreshFormUrl: '/refresh',
@@ -511,9 +511,9 @@ var initialStep = {
511
511
  legalEntityType: 'PERSON',
512
512
  name: {},
513
513
  currency: 'USD',
514
- details: {}
514
+ details: {},
515
515
  },
516
- layout: [{ schemaId: 'form', type: 'form' }]
516
+ layout: [{ schemaId: 'form', type: 'form' }],
517
517
  };
518
518
  var refreshedStep = {
519
519
  key: 'account',
@@ -532,7 +532,7 @@ var refreshedStep = {
532
532
  type: 'number',
533
533
  analyticsId: 'Profile ID (optional)',
534
534
  hidden: true,
535
- "const": 14518756
535
+ const: 14518756,
536
536
  },
537
537
  currency: {
538
538
  title: 'Currency',
@@ -544,34 +544,34 @@ var refreshedStep = {
544
544
  analyticsId: 'EUR',
545
545
  icon: { name: 'flag-eur', type: 'icon' },
546
546
  description: 'Euro',
547
- "const": 'EUR'
547
+ const: 'EUR',
548
548
  },
549
549
  {
550
550
  title: 'GBP',
551
551
  analyticsId: 'GBP',
552
552
  icon: { name: 'flag-gbp', type: 'icon' },
553
553
  description: 'British pound',
554
- "const": 'GBP'
554
+ const: 'GBP',
555
555
  },
556
556
  {
557
557
  title: 'USD',
558
558
  analyticsId: 'USD',
559
559
  icon: { name: 'flag-usd', type: 'icon' },
560
560
  description: 'United States dollar',
561
- "const": 'USD'
561
+ const: 'USD',
562
562
  },
563
563
  ],
564
- "default": 'USD'
564
+ default: 'USD',
565
565
  },
566
566
  legalEntityType: {
567
567
  title: 'Select recipient type',
568
568
  type: 'string',
569
569
  analyticsId: 'Select recipient type',
570
570
  hidden: true,
571
- "const": 'PERSON'
572
- }
571
+ const: 'PERSON',
572
+ },
573
573
  },
574
- required: ['currency', 'legalEntityType']
574
+ required: ['currency', 'legalEntityType'],
575
575
  },
576
576
  {
577
577
  title: 'Bank details',
@@ -590,17 +590,17 @@ var refreshedStep = {
590
590
  properties: {
591
591
  fullName: {
592
592
  title: 'Full name of the account holder',
593
- type: 'string'
594
- }
593
+ type: 'string',
594
+ },
595
595
  },
596
- required: ['fullName']
596
+ required: ['fullName'],
597
597
  },
598
598
  ownedByCustomer: {
599
599
  title: 'My own account',
600
600
  type: 'boolean',
601
601
  analyticsId: 'My own account',
602
602
  hidden: true,
603
- "const": false
603
+ const: false,
604
604
  },
605
605
  details: {
606
606
  type: 'object',
@@ -610,24 +610,24 @@ var refreshedStep = {
610
610
  title: 'ACH routing number',
611
611
  type: 'string',
612
612
  placeholder: '020123456',
613
- format: 'numeric'
613
+ format: 'numeric',
614
614
  },
615
615
  accountNumber: {
616
616
  title: 'Account number',
617
617
  type: 'string',
618
618
  placeholder: '12345678',
619
- format: 'numeric'
619
+ format: 'numeric',
620
620
  },
621
621
  accountType: {
622
622
  title: 'Account type',
623
623
  type: 'string',
624
624
  oneOf: [
625
- { title: 'Checking', "const": 'CHECKING' },
626
- { title: 'Savings', "const": 'SAVINGS' },
627
- ]
628
- }
625
+ { title: 'Checking', const: 'CHECKING' },
626
+ { title: 'Savings', const: 'SAVINGS' },
627
+ ],
628
+ },
629
629
  },
630
- required: ['abartn', 'accountNumber', 'accountType']
630
+ required: ['abartn', 'accountNumber', 'accountType'],
631
631
  },
632
632
  address: {
633
633
  title: 'Recipient address',
@@ -639,43 +639,43 @@ var refreshedStep = {
639
639
  type: 'string',
640
640
  placeholder: 'Choose a country',
641
641
  oneOf: [
642
- { title: 'United States', "const": 'US' },
643
- { title: 'United Kingdom', "const": 'GB' },
642
+ { title: 'United States', const: 'US' },
643
+ { title: 'United Kingdom', const: 'GB' },
644
644
  ],
645
- refreshFormOnChange: true
645
+ refreshFormOnChange: true,
646
646
  },
647
647
  city: {
648
648
  title: 'City',
649
- type: 'string'
649
+ type: 'string',
650
650
  },
651
651
  firstLine: {
652
652
  title: 'Recipient address',
653
- type: 'string'
653
+ type: 'string',
654
654
  },
655
655
  state: {
656
656
  title: 'State',
657
657
  type: 'string',
658
658
  oneOf: [
659
- { title: 'Alabama', "const": 'AL' },
660
- { title: 'Alaska', "const": 'AK' },
661
- ]
659
+ { title: 'Alabama', const: 'AL' },
660
+ { title: 'Alaska', const: 'AK' },
661
+ ],
662
662
  },
663
663
  postCode: {
664
664
  title: 'ZIP code',
665
- type: 'string'
666
- }
665
+ type: 'string',
666
+ },
667
667
  },
668
- required: ['country', 'city', 'firstLine', 'state', 'postCode']
668
+ required: ['country', 'city', 'firstLine', 'state', 'postCode'],
669
669
  },
670
670
  type: {
671
671
  title: 'Type',
672
672
  type: 'string',
673
673
  analyticsId: 'Type',
674
674
  hidden: true,
675
- "const": 'Aba'
676
- }
675
+ const: 'Aba',
676
+ },
677
677
  },
678
- required: ['type', 'address', 'name', 'details']
678
+ required: ['type', 'address', 'name', 'details'],
679
679
  },
680
680
  {
681
681
  title: 'Wire',
@@ -690,17 +690,17 @@ var refreshedStep = {
690
690
  properties: {
691
691
  fullName: {
692
692
  title: 'Full name of the account holder',
693
- type: 'string'
694
- }
693
+ type: 'string',
694
+ },
695
695
  },
696
- required: ['fullName']
696
+ required: ['fullName'],
697
697
  },
698
698
  ownedByCustomer: {
699
699
  title: 'My own account',
700
700
  type: 'boolean',
701
701
  analyticsId: 'My own account',
702
702
  hidden: true,
703
- "const": false
703
+ const: false,
704
704
  },
705
705
  details: {
706
706
  type: 'object',
@@ -710,24 +710,24 @@ var refreshedStep = {
710
710
  title: 'Fedwire routing number',
711
711
  type: 'string',
712
712
  placeholder: '020123456',
713
- format: 'numeric'
713
+ format: 'numeric',
714
714
  },
715
715
  accountNumber: {
716
716
  title: 'Account number',
717
717
  type: 'string',
718
718
  placeholder: '12345678',
719
- format: 'numeric'
719
+ format: 'numeric',
720
720
  },
721
721
  accountType: {
722
722
  title: 'Account type',
723
723
  type: 'string',
724
724
  oneOf: [
725
- { title: 'Checking', "const": 'CHECKING' },
726
- { title: 'Savings', "const": 'SAVINGS' },
727
- ]
728
- }
725
+ { title: 'Checking', const: 'CHECKING' },
726
+ { title: 'Savings', const: 'SAVINGS' },
727
+ ],
728
+ },
729
729
  },
730
- required: ['abartn', 'accountNumber', 'accountType']
730
+ required: ['abartn', 'accountNumber', 'accountType'],
731
731
  },
732
732
  address: {
733
733
  title: 'Recipient address',
@@ -739,44 +739,44 @@ var refreshedStep = {
739
739
  type: 'string',
740
740
  placeholder: 'Choose a country',
741
741
  oneOf: [
742
- { title: 'United States', "const": 'US' },
743
- { title: 'United Kingdom', "const": 'GB' },
742
+ { title: 'United States', const: 'US' },
743
+ { title: 'United Kingdom', const: 'GB' },
744
744
  ],
745
- refreshFormOnChange: true
745
+ refreshFormOnChange: true,
746
746
  },
747
747
  city: {
748
748
  title: 'City',
749
- type: 'string'
749
+ type: 'string',
750
750
  },
751
751
  firstLine: {
752
752
  title: 'Recipient address',
753
- type: 'string'
753
+ type: 'string',
754
754
  },
755
755
  state: {
756
756
  title: 'State',
757
757
  type: 'string',
758
758
  oneOf: [
759
- { title: 'Alabama', "const": 'AL' },
760
- { title: 'Alaska', "const": 'AK' },
761
- { title: 'Arizona', "const": 'AZ' },
762
- ]
759
+ { title: 'Alabama', const: 'AL' },
760
+ { title: 'Alaska', const: 'AK' },
761
+ { title: 'Arizona', const: 'AZ' },
762
+ ],
763
763
  },
764
764
  postCode: {
765
765
  title: 'ZIP code',
766
- type: 'string'
767
- }
766
+ type: 'string',
767
+ },
768
768
  },
769
- required: ['country', 'city', 'firstLine', 'state', 'postCode']
769
+ required: ['country', 'city', 'firstLine', 'state', 'postCode'],
770
770
  },
771
771
  type: {
772
772
  title: 'Type',
773
773
  type: 'string',
774
774
  analyticsId: 'Type',
775
775
  hidden: true,
776
- "const": 'FedWireLocal'
777
- }
776
+ const: 'FedWireLocal',
777
+ },
778
778
  },
779
- required: ['type', 'address', 'name', 'details']
779
+ required: ['type', 'address', 'name', 'details'],
780
780
  },
781
781
  {
782
782
  title: 'SWIFT',
@@ -791,17 +791,17 @@ var refreshedStep = {
791
791
  properties: {
792
792
  fullName: {
793
793
  title: 'Full name of the account holder',
794
- type: 'string'
795
- }
794
+ type: 'string',
795
+ },
796
796
  },
797
- required: ['fullName']
797
+ required: ['fullName'],
798
798
  },
799
799
  ownedByCustomer: {
800
800
  title: 'My own account',
801
801
  type: 'boolean',
802
802
  analyticsId: 'My own account',
803
803
  hidden: true,
804
- "const": false
804
+ const: false,
805
805
  },
806
806
  details: {
807
807
  type: 'object',
@@ -810,14 +810,14 @@ var refreshedStep = {
810
810
  bic: {
811
811
  title: 'SWIFT / BIC code',
812
812
  type: 'string',
813
- placeholder: 'BUKBGB22'
813
+ placeholder: 'BUKBGB22',
814
814
  },
815
815
  accountNumber: {
816
816
  title: 'IBAN / Account number',
817
- type: 'string'
818
- }
817
+ type: 'string',
818
+ },
819
819
  },
820
- required: ['bic', 'accountNumber']
820
+ required: ['bic', 'accountNumber'],
821
821
  },
822
822
  address: {
823
823
  title: 'Recipient address',
@@ -829,43 +829,43 @@ var refreshedStep = {
829
829
  type: 'string',
830
830
  placeholder: 'Choose a country',
831
831
  oneOf: [
832
- { title: 'United States', "const": 'US' },
833
- { title: 'United Kingdom', "const": 'GB' },
832
+ { title: 'United States', const: 'US' },
833
+ { title: 'United Kingdom', const: 'GB' },
834
834
  ],
835
- refreshFormOnChange: true
835
+ refreshFormOnChange: true,
836
836
  },
837
837
  city: {
838
838
  title: 'City',
839
- type: 'string'
839
+ type: 'string',
840
840
  },
841
841
  firstLine: {
842
842
  title: 'Recipient address',
843
- type: 'string'
843
+ type: 'string',
844
844
  },
845
845
  state: {
846
846
  title: 'State',
847
847
  type: 'string',
848
848
  oneOf: [
849
- { title: 'Alabama', "const": 'AL' },
850
- { title: 'Alaska', "const": 'AK' },
851
- ]
849
+ { title: 'Alabama', const: 'AL' },
850
+ { title: 'Alaska', const: 'AK' },
851
+ ],
852
852
  },
853
853
  postCode: {
854
854
  title: 'ZIP code',
855
- type: 'string'
856
- }
855
+ type: 'string',
856
+ },
857
857
  },
858
- required: ['country', 'city', 'firstLine', 'state', 'postCode']
858
+ required: ['country', 'city', 'firstLine', 'state', 'postCode'],
859
859
  },
860
860
  type: {
861
861
  title: 'Type',
862
862
  type: 'string',
863
863
  analyticsId: 'Type',
864
864
  hidden: true,
865
- "const": 'SwiftCode'
866
- }
865
+ const: 'SwiftCode',
866
+ },
867
867
  },
868
- required: ['type', 'address', 'name', 'details']
868
+ required: ['type', 'address', 'name', 'details'],
869
869
  },
870
870
  {
871
871
  title: 'US card',
@@ -873,7 +873,7 @@ var refreshedStep = {
873
873
  analyticsId: 'Card',
874
874
  image: {
875
875
  url: 'https://wise.com/public-resources/assets/recipients/unionpay.png',
876
- type: 'image'
876
+ type: 'image',
877
877
  },
878
878
  displayOrder: ['name', 'ownedByCustomer', 'details', 'address', 'type'],
879
879
  properties: {
@@ -883,17 +883,17 @@ var refreshedStep = {
883
883
  properties: {
884
884
  fullName: {
885
885
  title: 'Full name of the account holder',
886
- type: 'string'
887
- }
886
+ type: 'string',
887
+ },
888
888
  },
889
- required: ['fullName']
889
+ required: ['fullName'],
890
890
  },
891
891
  ownedByCustomer: {
892
892
  title: 'My own account',
893
893
  type: 'boolean',
894
894
  analyticsId: 'My own account',
895
895
  hidden: true,
896
- "const": false
896
+ const: false,
897
897
  },
898
898
  details: {
899
899
  type: 'object',
@@ -904,14 +904,14 @@ var refreshedStep = {
904
904
  type: 'string',
905
905
  hidden: true,
906
906
  placeholder: '08',
907
- format: 'numeric'
907
+ format: 'numeric',
908
908
  },
909
909
  expiryYear: {
910
910
  title: 'Expiry year',
911
911
  type: 'string',
912
912
  hidden: true,
913
913
  placeholder: '2022',
914
- format: 'numeric'
914
+ format: 'numeric',
915
915
  },
916
916
  cardToken: {
917
917
  title: 'Card token',
@@ -926,12 +926,12 @@ var refreshedStep = {
926
926
  title: 'Card number',
927
927
  type: 'string',
928
928
  placeholder: '1234567890123456',
929
- format: 'numeric'
930
- }
931
- }
932
- }
929
+ format: 'numeric',
930
+ },
931
+ },
932
+ },
933
933
  },
934
- required: ['cardToken']
934
+ required: ['cardToken'],
935
935
  },
936
936
  address: {
937
937
  title: 'Recipient address',
@@ -943,50 +943,50 @@ var refreshedStep = {
943
943
  type: 'string',
944
944
  placeholder: 'Choose a country',
945
945
  oneOf: [
946
- { title: 'United States', "const": 'US' },
947
- { title: 'United Kingdom', "const": 'GB' },
946
+ { title: 'United States', const: 'US' },
947
+ { title: 'United Kingdom', const: 'GB' },
948
948
  ],
949
- refreshFormOnChange: true
949
+ refreshFormOnChange: true,
950
950
  },
951
951
  city: {
952
952
  title: 'City',
953
- type: 'string'
953
+ type: 'string',
954
954
  },
955
955
  firstLine: {
956
956
  title: 'Recipient address',
957
- type: 'string'
957
+ type: 'string',
958
958
  },
959
959
  state: {
960
960
  title: 'State',
961
961
  type: 'string',
962
962
  oneOf: [
963
- { title: 'Alabama', "const": 'AL' },
964
- { title: 'Alaska', "const": 'AK' },
965
- ]
963
+ { title: 'Alabama', const: 'AL' },
964
+ { title: 'Alaska', const: 'AK' },
965
+ ],
966
966
  },
967
967
  postCode: {
968
968
  title: 'ZIP code',
969
- type: 'string'
970
- }
969
+ type: 'string',
970
+ },
971
971
  },
972
- required: ['country', 'city', 'firstLine', 'state', 'postCode']
972
+ required: ['country', 'city', 'firstLine', 'state', 'postCode'],
973
973
  },
974
974
  type: {
975
975
  title: 'Type',
976
976
  type: 'string',
977
977
  analyticsId: 'Type',
978
978
  hidden: true,
979
- "const": 'Card'
980
- }
979
+ const: 'Card',
980
+ },
981
981
  },
982
- required: ['type', 'address', 'name', 'details']
982
+ required: ['type', 'address', 'name', 'details'],
983
983
  },
984
984
  ],
985
985
  control: 'tab',
986
- placeholder: 'Please select where you are sending to'
986
+ placeholder: 'Please select where you are sending to',
987
987
  },
988
988
  ],
989
- $id: 'form'
989
+ $id: 'form',
990
990
  },
991
991
  ],
992
992
  refreshFormUrl: '/refresh',
@@ -998,7 +998,7 @@ var refreshedStep = {
998
998
  name: {},
999
999
  currency: 'USD',
1000
1000
  details: { cardToken: 'X_njjb1uoi0j4jrqgr1pn69mtqrb' },
1001
- type: 'Card'
1001
+ type: 'Card',
1002
1002
  },
1003
- layout: [{ schemaId: 'form', type: 'form' }]
1003
+ layout: [{ schemaId: 'form', type: 'form' }],
1004
1004
  };