@wise/dynamic-flow-client 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (700) hide show
  1. package/build/main.js +9606 -0
  2. package/build/main.min.js +31 -0
  3. package/build/types/index.d.ts +11 -15
  4. package/build/types/types/index.d.ts +15 -0
  5. package/package.json +6 -5
  6. package/build/common/constants/DateMode.js +0 -8
  7. package/build/common/constants/DateMode.js.map +0 -1
  8. package/build/common/constants/FormControlType.js +0 -21
  9. package/build/common/constants/FormControlType.js.map +0 -1
  10. package/build/common/constants/MonthFormat.js +0 -8
  11. package/build/common/constants/MonthFormat.js.map +0 -1
  12. package/build/common/constants/SchemaType.js +0 -15
  13. package/build/common/constants/SchemaType.js.map +0 -1
  14. package/build/common/constants/Size.js +0 -11
  15. package/build/common/constants/Size.js.map +0 -1
  16. package/build/common/constants/index.js +0 -22
  17. package/build/common/constants/index.js.map +0 -1
  18. package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +0 -30
  19. package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js.map +0 -1
  20. package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +0 -20
  21. package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js.map +0 -1
  22. package/build/common/contexts/eventsContext/EventsContext.js +0 -23
  23. package/build/common/contexts/eventsContext/EventsContext.js.map +0 -1
  24. package/build/common/contexts/fetcherContexts/FetcherContexts.js +0 -30
  25. package/build/common/contexts/fetcherContexts/FetcherContexts.js.map +0 -1
  26. package/build/common/contexts/index.js +0 -21
  27. package/build/common/contexts/index.js.map +0 -1
  28. package/build/common/contexts/logContext/LogContext.js +0 -28
  29. package/build/common/contexts/logContext/LogContext.js.map +0 -1
  30. package/build/common/hooks/index.js +0 -24
  31. package/build/common/hooks/index.js.map +0 -1
  32. package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +0 -14
  33. package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js.map +0 -1
  34. package/build/common/hooks/useExternal/useExternal.js +0 -20
  35. package/build/common/hooks/useExternal/useExternal.js.map +0 -1
  36. package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +0 -63
  37. package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js.map +0 -1
  38. package/build/common/hooks/usePersistAsync/usePersistAsync.js +0 -99
  39. package/build/common/hooks/usePersistAsync/usePersistAsync.js.map +0 -1
  40. package/build/common/hooks/usePolling/usePolling.js +0 -53
  41. package/build/common/hooks/usePolling/usePolling.js.map +0 -1
  42. package/build/common/hooks/usePrevious/usePrevious.js +0 -13
  43. package/build/common/hooks/usePrevious/usePrevious.js.map +0 -1
  44. package/build/common/hooks/useStepPolling/useStepPolling.js +0 -50
  45. package/build/common/hooks/useStepPolling/useStepPolling.js.map +0 -1
  46. package/build/common/makeFetcher/index.js +0 -18
  47. package/build/common/makeFetcher/index.js.map +0 -1
  48. package/build/common/makeFetcher/makeFetcher.js +0 -24
  49. package/build/common/makeFetcher/makeFetcher.js.map +0 -1
  50. package/build/common/messages.js +0 -11
  51. package/build/common/messages.js.map +0 -1
  52. package/build/common/utils/api-utils.js +0 -20
  53. package/build/common/utils/api-utils.js.map +0 -1
  54. package/build/common/utils/date-utils.js +0 -28
  55. package/build/common/utils/date-utils.js.map +0 -1
  56. package/build/common/utils/debounce.js +0 -39
  57. package/build/common/utils/debounce.js.map +0 -1
  58. package/build/common/utils/file-utils.js +0 -39
  59. package/build/common/utils/file-utils.js.map +0 -1
  60. package/build/common/utils/id-utils.js +0 -9
  61. package/build/common/utils/id-utils.js.map +0 -1
  62. package/build/common/utils/index.js +0 -25
  63. package/build/common/utils/index.js.map +0 -1
  64. package/build/common/utils/is-equal.js +0 -26
  65. package/build/common/utils/is-equal.js.map +0 -1
  66. package/build/common/utils/schema-utils.js +0 -56
  67. package/build/common/utils/schema-utils.js.map +0 -1
  68. package/build/common/utils/step-utils.js +0 -48
  69. package/build/common/utils/step-utils.js.map +0 -1
  70. package/build/common/validators/index.js +0 -29
  71. package/build/common/validators/index.js.map +0 -1
  72. package/build/common/validators/models/model-validators.js +0 -70
  73. package/build/common/validators/models/model-validators.js.map +0 -1
  74. package/build/common/validators/models/models.utils.js +0 -118
  75. package/build/common/validators/models/models.utils.js.map +0 -1
  76. package/build/common/validators/schemas/schema-validators.js +0 -100
  77. package/build/common/validators/schemas/schema-validators.js.map +0 -1
  78. package/build/common/validators/types/type-validators.js +0 -22
  79. package/build/common/validators/types/type-validators.js.map +0 -1
  80. package/build/common/validators/validationFailures/validation-failures.js +0 -152
  81. package/build/common/validators/validationFailures/validation-failures.js.map +0 -1
  82. package/build/common/validators/validationFailures/validation-failures.utils.js +0 -50
  83. package/build/common/validators/validationFailures/validation-failures.utils.js.map +0 -1
  84. package/build/common/validators/values/value-validators.js +0 -8
  85. package/build/common/validators/values/value-validators.js.map +0 -1
  86. package/build/dynamicFlow/DynamicFlow.js +0 -251
  87. package/build/dynamicFlow/DynamicFlow.js.map +0 -1
  88. package/build/dynamicFlow/DynamicFlowStep.js +0 -26
  89. package/build/dynamicFlow/DynamicFlowStep.js.map +0 -1
  90. package/build/dynamicFlow/DynamicFlowTypes.js +0 -9
  91. package/build/dynamicFlow/DynamicFlowTypes.js.map +0 -1
  92. package/build/dynamicFlow/index.js +0 -9
  93. package/build/dynamicFlow/index.js.map +0 -1
  94. package/build/dynamicFlow/stories/DynamicFlow.story.js +0 -37
  95. package/build/dynamicFlow/stories/DynamicFlow.story.js.map +0 -1
  96. package/build/dynamicFlow/stories/EditableDynamicFlow.js +0 -55
  97. package/build/dynamicFlow/stories/EditableDynamicFlow.js.map +0 -1
  98. package/build/dynamicFlow/stories/fixtureFetcher.js +0 -61
  99. package/build/dynamicFlow/stories/fixtureFetcher.js.map +0 -1
  100. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +0 -30
  101. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js.map +0 -1
  102. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +0 -16
  103. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js.map +0 -1
  104. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +0 -19
  105. package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js.map +0 -1
  106. package/build/dynamicFlow/utils/index.js +0 -27
  107. package/build/dynamicFlow/utils/index.js.map +0 -1
  108. package/build/dynamicFlow/utils/responseParsers/response-parsers.js +0 -67
  109. package/build/dynamicFlow/utils/responseParsers/response-parsers.js.map +0 -1
  110. package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +0 -28
  111. package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js.map +0 -1
  112. package/build/dynamicFlow/utils/useDynamicFlowState.js +0 -92
  113. package/build/dynamicFlow/utils/useDynamicFlowState.js.map +0 -1
  114. package/build/dynamicFlow/utils/useLoader.js +0 -16
  115. package/build/dynamicFlow/utils/useLoader.js.map +0 -1
  116. package/build/fixtures/components/alert.js +0 -34
  117. package/build/fixtures/components/alert.js.map +0 -1
  118. package/build/fixtures/components/box.js +0 -23
  119. package/build/fixtures/components/box.js.map +0 -1
  120. package/build/fixtures/components/button.js +0 -57
  121. package/build/fixtures/components/button.js.map +0 -1
  122. package/build/fixtures/components/columns.js +0 -39
  123. package/build/fixtures/components/columns.js.map +0 -1
  124. package/build/fixtures/components/copyable.js +0 -25
  125. package/build/fixtures/components/copyable.js.map +0 -1
  126. package/build/fixtures/components/decision.js +0 -57
  127. package/build/fixtures/components/decision.js.map +0 -1
  128. package/build/fixtures/components/heading.js +0 -17
  129. package/build/fixtures/components/heading.js.map +0 -1
  130. package/build/fixtures/components/image.js +0 -26
  131. package/build/fixtures/components/image.js.map +0 -1
  132. package/build/fixtures/components/index.js +0 -33
  133. package/build/fixtures/components/index.js.map +0 -1
  134. package/build/fixtures/components/info.js +0 -36
  135. package/build/fixtures/components/info.js.map +0 -1
  136. package/build/fixtures/components/list.js +0 -37
  137. package/build/fixtures/components/list.js.map +0 -1
  138. package/build/fixtures/components/loading-indicator.js +0 -19
  139. package/build/fixtures/components/loading-indicator.js.map +0 -1
  140. package/build/fixtures/components/paragraph.js +0 -31
  141. package/build/fixtures/components/paragraph.js.map +0 -1
  142. package/build/fixtures/components/review.js +0 -63
  143. package/build/fixtures/components/review.js.map +0 -1
  144. package/build/fixtures/examples/camera-capture.js +0 -124
  145. package/build/fixtures/examples/camera-capture.js.map +0 -1
  146. package/build/fixtures/examples/index.js +0 -17
  147. package/build/fixtures/examples/index.js.map +0 -1
  148. package/build/fixtures/examples/recipient-update.js +0 -253
  149. package/build/fixtures/examples/recipient-update.js.map +0 -1
  150. package/build/fixtures/examples/recipient.js +0 -316
  151. package/build/fixtures/examples/recipient.js.map +0 -1
  152. package/build/fixtures/examples/single-file-upload.js +0 -101
  153. package/build/fixtures/examples/single-file-upload.js.map +0 -1
  154. package/build/fixtures/examples/step-validation-errors.js +0 -78
  155. package/build/fixtures/examples/step-validation-errors.js.map +0 -1
  156. package/build/fixtures/features/action-response.js +0 -32
  157. package/build/fixtures/features/action-response.js.map +0 -1
  158. package/build/fixtures/features/external.js +0 -34
  159. package/build/fixtures/features/external.js.map +0 -1
  160. package/build/fixtures/features/index.js +0 -17
  161. package/build/fixtures/features/index.js.map +0 -1
  162. package/build/fixtures/features/persist-async.js +0 -47
  163. package/build/fixtures/features/persist-async.js.map +0 -1
  164. package/build/fixtures/features/polling.js +0 -36
  165. package/build/fixtures/features/polling.js.map +0 -1
  166. package/build/fixtures/features/validation-async.js +0 -41
  167. package/build/fixtures/features/validation-async.js.map +0 -1
  168. package/build/fixtures/index.js +0 -39
  169. package/build/fixtures/index.js.map +0 -1
  170. package/build/fixtures/jsonSchemaForm/allOf.js +0 -122
  171. package/build/fixtures/jsonSchemaForm/allOf.js.map +0 -1
  172. package/build/fixtures/jsonSchemaForm/audRecipient.d.ts +0 -3
  173. package/build/fixtures/jsonSchemaForm/audRecipient.js +0 -1107
  174. package/build/fixtures/jsonSchemaForm/audRecipient.js.map +0 -1
  175. package/build/fixtures/jsonSchemaForm/currency.d.ts +0 -3
  176. package/build/fixtures/jsonSchemaForm/currency.js +0 -51
  177. package/build/fixtures/jsonSchemaForm/currency.js.map +0 -1
  178. package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.d.ts +0 -3
  179. package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +0 -40
  180. package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js.map +0 -1
  181. package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.d.ts +0 -3
  182. package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +0 -39
  183. package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js.map +0 -1
  184. package/build/fixtures/jsonSchemaForm/oneOf.d.ts +0 -3
  185. package/build/fixtures/jsonSchemaForm/oneOf.js +0 -122
  186. package/build/fixtures/jsonSchemaForm/oneOf.js.map +0 -1
  187. package/build/fixtures/jsonSchemaForm/oneOfTabs.d.ts +0 -3
  188. package/build/fixtures/jsonSchemaForm/oneOfTabs.js +0 -56
  189. package/build/fixtures/jsonSchemaForm/oneOfTabs.js.map +0 -1
  190. package/build/fixtures/jsonSchemaForm/promotedOneOf.d.ts +0 -3
  191. package/build/fixtures/jsonSchemaForm/promotedOneOf.js +0 -59
  192. package/build/fixtures/jsonSchemaForm/promotedOneOf.js.map +0 -1
  193. package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.d.ts +0 -3
  194. package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +0 -105
  195. package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js.map +0 -1
  196. package/build/fixtures/jsonSchemaForm/simple.d.ts +0 -3
  197. package/build/fixtures/jsonSchemaForm/simple.js +0 -51
  198. package/build/fixtures/jsonSchemaForm/simple.js.map +0 -1
  199. package/build/fixtures/jsonSchemaForm/uploadPersistAsync.d.ts +0 -3
  200. package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +0 -74
  201. package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js.map +0 -1
  202. package/build/fixtures/jsonSchemaForm/validationAsync.d.ts +0 -3
  203. package/build/fixtures/jsonSchemaForm/validationAsync.js +0 -26
  204. package/build/fixtures/jsonSchemaForm/validationAsync.js.map +0 -1
  205. package/build/fixtures/layouts/all.js +0 -179
  206. package/build/fixtures/layouts/all.js.map +0 -1
  207. package/build/fixtures/layouts/final-step-layout.js +0 -42
  208. package/build/fixtures/layouts/final-step-layout.js.map +0 -1
  209. package/build/fixtures/layouts/index.js +0 -19
  210. package/build/fixtures/layouts/index.js.map +0 -1
  211. package/build/fixtures/layouts/list.js +0 -36
  212. package/build/fixtures/layouts/list.js.map +0 -1
  213. package/build/fixtures/layouts/pay-in.js +0 -100
  214. package/build/fixtures/layouts/pay-in.js.map +0 -1
  215. package/build/fixtures/layouts/review.js +0 -163
  216. package/build/fixtures/layouts/review.js.map +0 -1
  217. package/build/fixtures/layouts/success.js +0 -69
  218. package/build/fixtures/layouts/success.js.map +0 -1
  219. package/build/fixtures/responses/action-response-final.js +0 -27
  220. package/build/fixtures/responses/action-response-final.js.map +0 -1
  221. package/build/fixtures/responses/action.js +0 -5
  222. package/build/fixtures/responses/action.js.map +0 -1
  223. package/build/fixtures/responses/exit.js +0 -5
  224. package/build/fixtures/responses/exit.js.map +0 -1
  225. package/build/fixtures/responses/index.js +0 -15
  226. package/build/fixtures/responses/index.js.map +0 -1
  227. package/build/fixtures/responses/recipient-update-final.js +0 -27
  228. package/build/fixtures/responses/recipient-update-final.js.map +0 -1
  229. package/build/fixtures/schemas/basic-form.js +0 -42
  230. package/build/fixtures/schemas/basic-form.js.map +0 -1
  231. package/build/fixtures/schemas/index.js +0 -15
  232. package/build/fixtures/schemas/index.js.map +0 -1
  233. package/build/fixtures/schemas/number-and-integer.js +0 -44
  234. package/build/fixtures/schemas/number-and-integer.js.map +0 -1
  235. package/build/fixtures/schemas/one-of.js +0 -223
  236. package/build/fixtures/schemas/one-of.js.map +0 -1
  237. package/build/fixtures/schemas/string-formats.js +0 -65
  238. package/build/fixtures/schemas/string-formats.js.map +0 -1
  239. package/build/fixtures/utils/image-util.js +0 -23
  240. package/build/fixtures/utils/image-util.js.map +0 -1
  241. package/build/formControl/FormControl.js +0 -214
  242. package/build/formControl/FormControl.js.map +0 -1
  243. package/build/formControl/index.js +0 -9
  244. package/build/formControl/index.js.map +0 -1
  245. package/build/formControl/utils/index.js +0 -18
  246. package/build/formControl/utils/index.js.map +0 -1
  247. package/build/formControl/utils/value-utils.js +0 -112
  248. package/build/formControl/utils/value-utils.js.map +0 -1
  249. package/build/i18n/index.js +0 -37
  250. package/build/i18n/index.js.map +0 -1
  251. package/build/index.d.ts +0 -11
  252. package/build/index.js +0 -39
  253. package/build/index.js.map +0 -1
  254. package/build/jsonSchemaForm/JsonSchemaForm.js +0 -23
  255. package/build/jsonSchemaForm/JsonSchemaForm.js.map +0 -1
  256. package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +0 -47
  257. package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js.map +0 -1
  258. package/build/jsonSchemaForm/allOfSchema/index.js +0 -9
  259. package/build/jsonSchemaForm/allOfSchema/index.js.map +0 -1
  260. package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +0 -20
  261. package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js.map +0 -1
  262. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +0 -21
  263. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js.map +0 -1
  264. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +0 -9
  265. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js.map +0 -1
  266. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +0 -87
  267. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js.map +0 -1
  268. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +0 -21
  269. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js.map +0 -1
  270. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +0 -9
  271. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js.map +0 -1
  272. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +0 -19
  273. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js.map +0 -1
  274. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +0 -39
  275. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js.map +0 -1
  276. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +0 -21
  277. package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js.map +0 -1
  278. package/build/jsonSchemaForm/arrayTypeSchema/index.js +0 -9
  279. package/build/jsonSchemaForm/arrayTypeSchema/index.js.map +0 -1
  280. package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +0 -92
  281. package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js.map +0 -1
  282. package/build/jsonSchemaForm/basicTypeSchema/index.js +0 -9
  283. package/build/jsonSchemaForm/basicTypeSchema/index.js.map +0 -1
  284. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +0 -74
  285. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js.map +0 -1
  286. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +0 -56
  287. package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js.map +0 -1
  288. package/build/jsonSchemaForm/controlFeedback/index.js +0 -9
  289. package/build/jsonSchemaForm/controlFeedback/index.js.map +0 -1
  290. package/build/jsonSchemaForm/genericSchema/GenericSchema.js +0 -119
  291. package/build/jsonSchemaForm/genericSchema/GenericSchema.js.map +0 -1
  292. package/build/jsonSchemaForm/genericSchema/index.js +0 -9
  293. package/build/jsonSchemaForm/genericSchema/index.js.map +0 -1
  294. package/build/jsonSchemaForm/help/Help.js +0 -15
  295. package/build/jsonSchemaForm/help/Help.js.map +0 -1
  296. package/build/jsonSchemaForm/help/Help.messages.js +0 -11
  297. package/build/jsonSchemaForm/help/Help.messages.js.map +0 -1
  298. package/build/jsonSchemaForm/help/index.js +0 -9
  299. package/build/jsonSchemaForm/help/index.js.map +0 -1
  300. package/build/jsonSchemaForm/index.js +0 -9
  301. package/build/jsonSchemaForm/index.js.map +0 -1
  302. package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +0 -63
  303. package/build/jsonSchemaForm/objectSchema/ObjectSchema.js.map +0 -1
  304. package/build/jsonSchemaForm/objectSchema/index.js +0 -9
  305. package/build/jsonSchemaForm/objectSchema/index.js.map +0 -1
  306. package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +0 -136
  307. package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js.map +0 -1
  308. package/build/jsonSchemaForm/oneOfSchema/index.js +0 -9
  309. package/build/jsonSchemaForm/oneOfSchema/index.js.map +0 -1
  310. package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +0 -14
  311. package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js.map +0 -1
  312. package/build/jsonSchemaForm/oneOfSchema/utils/index.js +0 -19
  313. package/build/jsonSchemaForm/oneOfSchema/utils/index.js.map +0 -1
  314. package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +0 -70
  315. package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js.map +0 -1
  316. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +0 -21
  317. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js.map +0 -1
  318. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +0 -11
  319. package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js.map +0 -1
  320. package/build/jsonSchemaForm/persistAsyncSchema/index.js +0 -9
  321. package/build/jsonSchemaForm/persistAsyncSchema/index.js.map +0 -1
  322. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +0 -120
  323. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js.map +0 -1
  324. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +0 -9
  325. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js.map +0 -1
  326. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +0 -67
  327. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js.map +0 -1
  328. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +0 -37
  329. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js.map +0 -1
  330. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +0 -9
  331. package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js.map +0 -1
  332. package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +0 -59
  333. package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js.map +0 -1
  334. package/build/jsonSchemaForm/promotedOneOfSchema/index.js +0 -9
  335. package/build/jsonSchemaForm/promotedOneOfSchema/index.js.map +0 -1
  336. package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +0 -13
  337. package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js.map +0 -1
  338. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +0 -19
  339. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js.map +0 -1
  340. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +0 -26
  341. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js.map +0 -1
  342. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +0 -24
  343. package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js.map +0 -1
  344. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +0 -59
  345. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js.map +0 -1
  346. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +0 -16
  347. package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js.map +0 -1
  348. package/build/jsonSchemaForm/readOnlySchema/index.js +0 -9
  349. package/build/jsonSchemaForm/readOnlySchema/index.js.map +0 -1
  350. package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +0 -99
  351. package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js.map +0 -1
  352. package/build/jsonSchemaForm/schemaFormControl/index.js +0 -9
  353. package/build/jsonSchemaForm/schemaFormControl/index.js.map +0 -1
  354. package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +0 -78
  355. package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js.map +0 -1
  356. package/build/jsonSchemaForm/schemaFormControl/utils/index.js +0 -18
  357. package/build/jsonSchemaForm/schemaFormControl/utils/index.js.map +0 -1
  358. package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +0 -111
  359. package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js.map +0 -1
  360. package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +0 -90
  361. package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js.map +0 -1
  362. package/build/jsonSchemaForm/validationAsyncSchema/index.js +0 -9
  363. package/build/jsonSchemaForm/validationAsyncSchema/index.js.map +0 -1
  364. package/build/layout/DynamicLayout.js +0 -53
  365. package/build/layout/DynamicLayout.js.map +0 -1
  366. package/build/layout/alert/DynamicAlert.js +0 -32
  367. package/build/layout/alert/DynamicAlert.js.map +0 -1
  368. package/build/layout/box/DynamicBox.js +0 -33
  369. package/build/layout/box/DynamicBox.js.map +0 -1
  370. package/build/layout/button/DynamicButton.js +0 -50
  371. package/build/layout/button/DynamicButton.js.map +0 -1
  372. package/build/layout/columns/DynamicColumns.js +0 -30
  373. package/build/layout/columns/DynamicColumns.js.map +0 -1
  374. package/build/layout/decision/DynamicDecision.js +0 -30
  375. package/build/layout/decision/DynamicDecision.js.map +0 -1
  376. package/build/layout/divider/DynamicDivider.js +0 -11
  377. package/build/layout/divider/DynamicDivider.js.map +0 -1
  378. package/build/layout/external/DynamicExternal.js +0 -26
  379. package/build/layout/external/DynamicExternal.js.map +0 -1
  380. package/build/layout/external/DynamicExternal.messages.js +0 -11
  381. package/build/layout/external/DynamicExternal.messages.js.map +0 -1
  382. package/build/layout/form/DynamicForm.js +0 -17
  383. package/build/layout/form/DynamicForm.js.map +0 -1
  384. package/build/layout/heading/DynamicHeading.js +0 -23
  385. package/build/layout/heading/DynamicHeading.js.map +0 -1
  386. package/build/layout/icon/DynamicIcon.js +0 -50
  387. package/build/layout/icon/DynamicIcon.js.map +0 -1
  388. package/build/layout/image/DynamicImage.js +0 -63
  389. package/build/layout/image/DynamicImage.js.map +0 -1
  390. package/build/layout/index.js +0 -41
  391. package/build/layout/index.js.map +0 -1
  392. package/build/layout/info/DynamicInfo.js +0 -10
  393. package/build/layout/info/DynamicInfo.js.map +0 -1
  394. package/build/layout/list/DynamicList.js +0 -22
  395. package/build/layout/list/DynamicList.js.map +0 -1
  396. package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +0 -13
  397. package/build/layout/loadingIndicator/DynamicLoadingIndicator.js.map +0 -1
  398. package/build/layout/paragraph/DynamicParagraph.js +0 -31
  399. package/build/layout/paragraph/DynamicParagraph.js.map +0 -1
  400. package/build/layout/paragraph/DynamicParagraph.messages.js +0 -16
  401. package/build/layout/paragraph/DynamicParagraph.messages.js.map +0 -1
  402. package/build/layout/paragraph/useSnackBarIfAvailable.js +0 -14
  403. package/build/layout/paragraph/useSnackBarIfAvailable.js.map +0 -1
  404. package/build/layout/review/DynamicReview.js +0 -24
  405. package/build/layout/review/DynamicReview.js.map +0 -1
  406. package/build/layout/utils.js +0 -34
  407. package/build/layout/utils.js.map +0 -1
  408. package/build/step/cameraStep/CameraStep.js +0 -85
  409. package/build/step/cameraStep/CameraStep.js.map +0 -1
  410. package/build/step/cameraStep/cameraCapture/CameraCapture.js +0 -71
  411. package/build/step/cameraStep/cameraCapture/CameraCapture.js.map +0 -1
  412. package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +0 -21
  413. package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js.map +0 -1
  414. package/build/step/cameraStep/cameraCapture/components/index.js +0 -19
  415. package/build/step/cameraStep/cameraCapture/components/index.js.map +0 -1
  416. package/build/step/cameraStep/cameraCapture/hooks/index.js +0 -30
  417. package/build/step/cameraStep/cameraCapture/hooks/index.js.map +0 -1
  418. package/build/step/cameraStep/cameraCapture/index.js +0 -9
  419. package/build/step/cameraStep/cameraCapture/index.js.map +0 -1
  420. package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +0 -69
  421. package/build/step/cameraStep/cameraCapture/overlay/Overlay.js.map +0 -1
  422. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +0 -14
  423. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js.map +0 -1
  424. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +0 -16
  425. package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js.map +0 -1
  426. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +0 -15
  427. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js.map +0 -1
  428. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +0 -21
  429. package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js.map +0 -1
  430. package/build/step/cameraStep/cameraCapture/screens/index.js +0 -11
  431. package/build/step/cameraStep/cameraCapture/screens/index.js.map +0 -1
  432. package/build/step/cameraStep/cameraCapture/tracking/index.js +0 -23
  433. package/build/step/cameraStep/cameraCapture/tracking/index.js.map +0 -1
  434. package/build/step/cameraStep/cameraCapture/utils/index.js +0 -52
  435. package/build/step/cameraStep/cameraCapture/utils/index.js.map +0 -1
  436. package/build/step/cameraStep/index.js +0 -9
  437. package/build/step/cameraStep/index.js.map +0 -1
  438. package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +0 -69
  439. package/build/step/externalConfirmationStep/ExternalConfirmationStep.js.map +0 -1
  440. package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +0 -26
  441. package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js.map +0 -1
  442. package/build/step/externalConfirmationStep/index.js +0 -9
  443. package/build/step/externalConfirmationStep/index.js.map +0 -1
  444. package/build/step/index.js +0 -13
  445. package/build/step/index.js.map +0 -1
  446. package/build/step/layoutStep/LayoutStep.js +0 -36
  447. package/build/step/layoutStep/LayoutStep.js.map +0 -1
  448. package/build/step/layoutStep/index.js +0 -9
  449. package/build/step/layoutStep/index.js.map +0 -1
  450. package/build/step/layoutStep/utils/index.js +0 -8
  451. package/build/step/layoutStep/utils/index.js.map +0 -1
  452. package/build/step/layoutStep/utils/inline-reference-utils.js +0 -79
  453. package/build/step/layoutStep/utils/inline-reference-utils.js.map +0 -1
  454. package/build/step/layoutStep/utils/layout-utils.js +0 -204
  455. package/build/step/layoutStep/utils/layout-utils.js.map +0 -1
  456. package/build/types/common/FormControl.js +0 -3
  457. package/build/types/common/FormControl.js.map +0 -1
  458. package/build/types/index.js +0 -43
  459. package/build/types/index.js.map +0 -1
  460. package/build/types/specification/Action.js +0 -3
  461. package/build/types/specification/Action.js.map +0 -1
  462. package/build/types/specification/FileUploadSchema.js +0 -9
  463. package/build/types/specification/FileUploadSchema.js.map +0 -1
  464. package/build/types/specification/LayoutComponent.js +0 -3
  465. package/build/types/specification/LayoutComponent.js.map +0 -1
  466. package/build/types/specification/Model.js +0 -31
  467. package/build/types/specification/Model.js.map +0 -1
  468. package/build/types/specification/PersistAsync.js +0 -3
  469. package/build/types/specification/PersistAsync.js.map +0 -1
  470. package/build/types/specification/Polling.js +0 -3
  471. package/build/types/specification/Polling.js.map +0 -1
  472. package/build/types/specification/Promotion.js +0 -3
  473. package/build/types/specification/Promotion.js.map +0 -1
  474. package/build/types/specification/Schema.js +0 -68
  475. package/build/types/specification/Schema.js.map +0 -1
  476. package/build/types/specification/Step.js +0 -7
  477. package/build/types/specification/Step.js.map +0 -1
  478. package/build/types/specification/ValidationAsync.js +0 -3
  479. package/build/types/specification/ValidationAsync.js.map +0 -1
  480. package/build/types/specification/core.js +0 -3
  481. package/build/types/specification/core.js.map +0 -1
  482. /package/build/{common → types/common}/constants/DateMode.d.ts +0 -0
  483. /package/build/{common → types/common}/constants/FormControlType.d.ts +0 -0
  484. /package/build/{common → types/common}/constants/MonthFormat.d.ts +0 -0
  485. /package/build/{common → types/common}/constants/SchemaType.d.ts +0 -0
  486. /package/build/{common → types/common}/constants/Size.d.ts +0 -0
  487. /package/build/{common → types/common}/constants/index.d.ts +0 -0
  488. /package/build/{common → types/common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +0 -0
  489. /package/build/{common → types/common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts +0 -0
  490. /package/build/{common → types/common}/contexts/eventsContext/EventsContext.d.ts +0 -0
  491. /package/build/{common → types/common}/contexts/fetcherContexts/FetcherContexts.d.ts +0 -0
  492. /package/build/{common → types/common}/contexts/index.d.ts +0 -0
  493. /package/build/{common → types/common}/contexts/logContext/LogContext.d.ts +0 -0
  494. /package/build/{common → types/common}/hooks/index.d.ts +0 -0
  495. /package/build/{common → types/common}/hooks/useDebouncedFunction/useDebouncedFunction.d.ts +0 -0
  496. /package/build/{common → types/common}/hooks/useExternal/useExternal.d.ts +0 -0
  497. /package/build/{common → types/common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts +0 -0
  498. /package/build/{common → types/common}/hooks/usePersistAsync/usePersistAsync.d.ts +0 -0
  499. /package/build/{common → types/common}/hooks/usePolling/usePolling.d.ts +0 -0
  500. /package/build/{common → types/common}/hooks/usePrevious/usePrevious.d.ts +0 -0
  501. /package/build/{common → types/common}/hooks/useStepPolling/useStepPolling.d.ts +0 -0
  502. /package/build/{common → types/common}/makeFetcher/index.d.ts +0 -0
  503. /package/build/{common → types/common}/makeFetcher/makeFetcher.d.ts +0 -0
  504. /package/build/{common → types/common}/messages.d.ts +0 -0
  505. /package/build/{common → types/common}/utils/api-utils.d.ts +0 -0
  506. /package/build/{common → types/common}/utils/date-utils.d.ts +0 -0
  507. /package/build/{common → types/common}/utils/debounce.d.ts +0 -0
  508. /package/build/{common → types/common}/utils/file-utils.d.ts +0 -0
  509. /package/build/{common → types/common}/utils/id-utils.d.ts +0 -0
  510. /package/build/{common → types/common}/utils/index.d.ts +0 -0
  511. /package/build/{common → types/common}/utils/is-equal.d.ts +0 -0
  512. /package/build/{common → types/common}/utils/schema-utils.d.ts +0 -0
  513. /package/build/{common → types/common}/utils/step-utils.d.ts +0 -0
  514. /package/build/{common → types/common}/validators/index.d.ts +0 -0
  515. /package/build/{common → types/common}/validators/models/model-validators.d.ts +0 -0
  516. /package/build/{common → types/common}/validators/models/models.utils.d.ts +0 -0
  517. /package/build/{common → types/common}/validators/schemas/schema-validators.d.ts +0 -0
  518. /package/build/{common → types/common}/validators/types/type-validators.d.ts +0 -0
  519. /package/build/{common → types/common}/validators/validationFailures/validation-failures.d.ts +0 -0
  520. /package/build/{common → types/common}/validators/validationFailures/validation-failures.utils.d.ts +0 -0
  521. /package/build/{common → types/common}/validators/values/value-validators.d.ts +0 -0
  522. /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlow.d.ts +0 -0
  523. /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlowStep.d.ts +0 -0
  524. /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlowTypes.d.ts +0 -0
  525. /package/build/{dynamicFlow → types/dynamicFlow}/index.d.ts +0 -0
  526. /package/build/{dynamicFlow → types/dynamicFlow}/stories/DynamicFlow.story.d.ts +0 -0
  527. /package/build/{dynamicFlow → types/dynamicFlow}/stories/EditableDynamicFlow.d.ts +0 -0
  528. /package/build/{dynamicFlow → types/dynamicFlow}/stories/fixtureFetcher.d.ts +0 -0
  529. /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundary.d.ts +0 -0
  530. /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundary.messages.d.ts +0 -0
  531. /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundaryAlert.d.ts +0 -0
  532. /package/build/{dynamicFlow → types/dynamicFlow}/utils/index.d.ts +0 -0
  533. /package/build/{dynamicFlow → types/dynamicFlow}/utils/responseParsers/response-parsers.d.ts +0 -0
  534. /package/build/{dynamicFlow → types/dynamicFlow}/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +0 -0
  535. /package/build/{dynamicFlow → types/dynamicFlow}/utils/useDynamicFlowState.d.ts +0 -0
  536. /package/build/{dynamicFlow → types/dynamicFlow}/utils/useLoader.d.ts +0 -0
  537. /package/build/{fixtures → types/fixtures}/components/alert.d.ts +0 -0
  538. /package/build/{fixtures → types/fixtures}/components/box.d.ts +0 -0
  539. /package/build/{fixtures → types/fixtures}/components/button.d.ts +0 -0
  540. /package/build/{fixtures → types/fixtures}/components/columns.d.ts +0 -0
  541. /package/build/{fixtures → types/fixtures}/components/copyable.d.ts +0 -0
  542. /package/build/{fixtures → types/fixtures}/components/decision.d.ts +0 -0
  543. /package/build/{fixtures → types/fixtures}/components/heading.d.ts +0 -0
  544. /package/build/{fixtures → types/fixtures}/components/image.d.ts +0 -0
  545. /package/build/{fixtures → types/fixtures}/components/index.d.ts +0 -0
  546. /package/build/{fixtures → types/fixtures}/components/info.d.ts +0 -0
  547. /package/build/{fixtures → types/fixtures}/components/list.d.ts +0 -0
  548. /package/build/{fixtures → types/fixtures}/components/loading-indicator.d.ts +0 -0
  549. /package/build/{fixtures → types/fixtures}/components/paragraph.d.ts +0 -0
  550. /package/build/{fixtures → types/fixtures}/components/review.d.ts +0 -0
  551. /package/build/{fixtures → types/fixtures}/examples/camera-capture.d.ts +0 -0
  552. /package/build/{fixtures → types/fixtures}/examples/index.d.ts +0 -0
  553. /package/build/{fixtures → types/fixtures}/examples/recipient-update.d.ts +0 -0
  554. /package/build/{fixtures → types/fixtures}/examples/recipient.d.ts +0 -0
  555. /package/build/{fixtures → types/fixtures}/examples/single-file-upload.d.ts +0 -0
  556. /package/build/{fixtures → types/fixtures}/examples/step-validation-errors.d.ts +0 -0
  557. /package/build/{fixtures → types/fixtures}/features/action-response.d.ts +0 -0
  558. /package/build/{fixtures → types/fixtures}/features/external.d.ts +0 -0
  559. /package/build/{fixtures → types/fixtures}/features/index.d.ts +0 -0
  560. /package/build/{fixtures → types/fixtures}/features/persist-async.d.ts +0 -0
  561. /package/build/{fixtures → types/fixtures}/features/polling.d.ts +0 -0
  562. /package/build/{fixtures → types/fixtures}/features/validation-async.d.ts +0 -0
  563. /package/build/{fixtures → types/fixtures}/index.d.ts +0 -0
  564. /package/build/{fixtures → types/fixtures}/jsonSchemaForm/allOf.d.ts +0 -0
  565. /package/build/{fixtures → types/fixtures}/layouts/all.d.ts +0 -0
  566. /package/build/{fixtures → types/fixtures}/layouts/final-step-layout.d.ts +0 -0
  567. /package/build/{fixtures → types/fixtures}/layouts/index.d.ts +0 -0
  568. /package/build/{fixtures → types/fixtures}/layouts/list.d.ts +0 -0
  569. /package/build/{fixtures → types/fixtures}/layouts/pay-in.d.ts +0 -0
  570. /package/build/{fixtures → types/fixtures}/layouts/review.d.ts +0 -0
  571. /package/build/{fixtures → types/fixtures}/layouts/success.d.ts +0 -0
  572. /package/build/{fixtures → types/fixtures}/responses/action-response-final.d.ts +0 -0
  573. /package/build/{fixtures → types/fixtures}/responses/action.d.ts +0 -0
  574. /package/build/{fixtures → types/fixtures}/responses/exit.d.ts +0 -0
  575. /package/build/{fixtures → types/fixtures}/responses/index.d.ts +0 -0
  576. /package/build/{fixtures → types/fixtures}/responses/recipient-update-final.d.ts +0 -0
  577. /package/build/{fixtures → types/fixtures}/schemas/basic-form.d.ts +0 -0
  578. /package/build/{fixtures → types/fixtures}/schemas/index.d.ts +0 -0
  579. /package/build/{fixtures → types/fixtures}/schemas/number-and-integer.d.ts +0 -0
  580. /package/build/{fixtures → types/fixtures}/schemas/one-of.d.ts +0 -0
  581. /package/build/{fixtures → types/fixtures}/schemas/string-formats.d.ts +0 -0
  582. /package/build/{fixtures → types/fixtures}/utils/image-util.d.ts +0 -0
  583. /package/build/{formControl → types/formControl}/FormControl.d.ts +0 -0
  584. /package/build/{formControl → types/formControl}/index.d.ts +0 -0
  585. /package/build/{formControl → types/formControl}/utils/index.d.ts +0 -0
  586. /package/build/{formControl → types/formControl}/utils/value-utils.d.ts +0 -0
  587. /package/build/{i18n → types/i18n}/index.d.ts +0 -0
  588. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/JsonSchemaForm.d.ts +0 -0
  589. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/allOfSchema/AllOfSchema.d.ts +0 -0
  590. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/allOfSchema/index.d.ts +0 -0
  591. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/ArraySchema.d.ts +0 -0
  592. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -0
  593. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/index.d.ts +0 -0
  594. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -0
  595. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.d.ts +0 -0
  596. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.d.ts +0 -0
  597. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.d.ts +0 -0
  598. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.d.ts +0 -0
  599. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.d.ts +0 -0
  600. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/index.d.ts +0 -0
  601. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/basicTypeSchema/BasicTypeSchema.d.ts +0 -0
  602. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/basicTypeSchema/index.d.ts +0 -0
  603. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/ControlFeedback.d.ts +0 -0
  604. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/ControlFeedback.messages.d.ts +0 -0
  605. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/index.d.ts +0 -0
  606. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/genericSchema/GenericSchema.d.ts +0 -0
  607. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/genericSchema/index.d.ts +0 -0
  608. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/Help.d.ts +0 -0
  609. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/Help.messages.d.ts +0 -0
  610. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/index.d.ts +0 -0
  611. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/index.d.ts +0 -0
  612. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/objectSchema/ObjectSchema.d.ts +0 -0
  613. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/objectSchema/index.d.ts +0 -0
  614. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/OneOfSchema.d.ts +0 -0
  615. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/index.d.ts +0 -0
  616. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/const-schema-utils.d.ts +0 -0
  617. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/index.d.ts +0 -0
  618. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/one-of-utils.d.ts +0 -0
  619. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -0
  620. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.messages.d.ts +0 -0
  621. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/index.d.ts +0 -0
  622. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +0 -0
  623. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/index.d.ts +0 -0
  624. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +0 -0
  625. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +0 -0
  626. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/index.d.ts +0 -0
  627. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/PromotedOneOfSchema.d.ts +0 -0
  628. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/index.d.ts +0 -0
  629. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promoted-one-of-utils.d.ts +0 -0
  630. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +0 -0
  631. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +0 -0
  632. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +0 -0
  633. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/ReadOnlySchema.d.ts +0 -0
  634. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/ReadOnlySchema.messages.d.ts +0 -0
  635. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/index.d.ts +0 -0
  636. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/SchemaFormControl.d.ts +0 -0
  637. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/index.d.ts +0 -0
  638. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/currency-utils.d.ts +0 -0
  639. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/index.d.ts +0 -0
  640. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/mapping-utils.d.ts +0 -0
  641. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -0
  642. /package/build/{jsonSchemaForm → types/jsonSchemaForm}/validationAsyncSchema/index.d.ts +0 -0
  643. /package/build/{layout → types/layout}/DynamicLayout.d.ts +0 -0
  644. /package/build/{layout → types/layout}/alert/DynamicAlert.d.ts +0 -0
  645. /package/build/{layout → types/layout}/box/DynamicBox.d.ts +0 -0
  646. /package/build/{layout → types/layout}/button/DynamicButton.d.ts +0 -0
  647. /package/build/{layout → types/layout}/columns/DynamicColumns.d.ts +0 -0
  648. /package/build/{layout → types/layout}/decision/DynamicDecision.d.ts +0 -0
  649. /package/build/{layout → types/layout}/divider/DynamicDivider.d.ts +0 -0
  650. /package/build/{layout → types/layout}/external/DynamicExternal.d.ts +0 -0
  651. /package/build/{layout → types/layout}/external/DynamicExternal.messages.d.ts +0 -0
  652. /package/build/{layout → types/layout}/form/DynamicForm.d.ts +0 -0
  653. /package/build/{layout → types/layout}/heading/DynamicHeading.d.ts +0 -0
  654. /package/build/{layout → types/layout}/icon/DynamicIcon.d.ts +0 -0
  655. /package/build/{layout → types/layout}/image/DynamicImage.d.ts +0 -0
  656. /package/build/{layout → types/layout}/index.d.ts +0 -0
  657. /package/build/{layout → types/layout}/info/DynamicInfo.d.ts +0 -0
  658. /package/build/{layout → types/layout}/list/DynamicList.d.ts +0 -0
  659. /package/build/{layout → types/layout}/loadingIndicator/DynamicLoadingIndicator.d.ts +0 -0
  660. /package/build/{layout → types/layout}/paragraph/DynamicParagraph.d.ts +0 -0
  661. /package/build/{layout → types/layout}/paragraph/DynamicParagraph.messages.d.ts +0 -0
  662. /package/build/{layout → types/layout}/paragraph/useSnackBarIfAvailable.d.ts +0 -0
  663. /package/build/{layout → types/layout}/review/DynamicReview.d.ts +0 -0
  664. /package/build/{layout → types/layout}/utils.d.ts +0 -0
  665. /package/build/{step → types/step}/cameraStep/CameraStep.d.ts +0 -0
  666. /package/build/{step → types/step}/cameraStep/cameraCapture/CameraCapture.d.ts +0 -0
  667. /package/build/{step → types/step}/cameraStep/cameraCapture/CameraCapture.messages.d.ts +0 -0
  668. /package/build/{step → types/step}/cameraStep/cameraCapture/components/index.d.ts +0 -0
  669. /package/build/{step → types/step}/cameraStep/cameraCapture/hooks/index.d.ts +0 -0
  670. /package/build/{step → types/step}/cameraStep/cameraCapture/index.d.ts +0 -0
  671. /package/build/{step → types/step}/cameraStep/cameraCapture/overlay/Overlay.d.ts +0 -0
  672. /package/build/{step → types/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.d.ts +0 -0
  673. /package/build/{step → types/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.d.ts +0 -0
  674. /package/build/{step → types/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.d.ts +0 -0
  675. /package/build/{step → types/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.d.ts +0 -0
  676. /package/build/{step → types/step}/cameraStep/cameraCapture/screens/index.d.ts +0 -0
  677. /package/build/{step → types/step}/cameraStep/cameraCapture/tracking/index.d.ts +0 -0
  678. /package/build/{step → types/step}/cameraStep/cameraCapture/utils/index.d.ts +0 -0
  679. /package/build/{step → types/step}/cameraStep/index.d.ts +0 -0
  680. /package/build/{step → types/step}/externalConfirmationStep/ExternalConfirmationStep.d.ts +0 -0
  681. /package/build/{step → types/step}/externalConfirmationStep/ExternalConfirmationStep.messages.d.ts +0 -0
  682. /package/build/{step → types/step}/externalConfirmationStep/index.d.ts +0 -0
  683. /package/build/{step → types/step}/index.d.ts +0 -0
  684. /package/build/{step → types/step}/layoutStep/LayoutStep.d.ts +0 -0
  685. /package/build/{step → types/step}/layoutStep/index.d.ts +0 -0
  686. /package/build/{step → types/step}/layoutStep/utils/index.d.ts +0 -0
  687. /package/build/{step → types/step}/layoutStep/utils/inline-reference-utils.d.ts +0 -0
  688. /package/build/{step → types/step}/layoutStep/utils/layout-utils.d.ts +0 -0
  689. /package/build/types/{common → types/common}/FormControl.d.ts +0 -0
  690. /package/build/types/{specification → types/specification}/Action.d.ts +0 -0
  691. /package/build/types/{specification → types/specification}/FileUploadSchema.d.ts +0 -0
  692. /package/build/types/{specification → types/specification}/LayoutComponent.d.ts +0 -0
  693. /package/build/types/{specification → types/specification}/Model.d.ts +0 -0
  694. /package/build/types/{specification → types/specification}/PersistAsync.d.ts +0 -0
  695. /package/build/types/{specification → types/specification}/Polling.d.ts +0 -0
  696. /package/build/types/{specification → types/specification}/Promotion.d.ts +0 -0
  697. /package/build/types/{specification → types/specification}/Schema.d.ts +0 -0
  698. /package/build/types/{specification → types/specification}/Step.d.ts +0 -0
  699. /package/build/types/{specification → types/specification}/ValidationAsync.d.ts +0 -0
  700. /package/build/types/{specification → types/specification}/core.d.ts +0 -0
@@ -1,69 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const jsx_runtime_1 = require("react/jsx-runtime");
4
- /* eslint-disable fp/no-mutation */
5
- const react_1 = require("react");
6
- const debounce_1 = require("../../../../common/utils/debounce");
7
- const captureButtonHeight = 92;
8
- const reviewButtonsHeight = 120;
9
- const imageHeight = 40;
10
- const titleHeight = 32;
11
- const instructionsHeight = 48;
12
- const reviewInstructionsHeight = 40;
13
- const overlayMaxWidth = 800;
14
- const Overlay = ({ overlay, outline, imageUrl, title, instructions, reviewInstructions, }) => {
15
- const svgReference = (0, react_1.useRef)(null);
16
- /*
17
- SVG doesn't always rerender when screen orientation changes,
18
- so need to force rerender
19
- */
20
- (0, react_1.useEffect)(() => {
21
- const listener = (0, debounce_1.debounce)(() => {
22
- var _a;
23
- if ((_a = svgReference.current) === null || _a === void 0 ? void 0 : _a.innerHTML) {
24
- const reference = svgReference.current;
25
- reference.innerHTML += '';
26
- }
27
- }, 100);
28
- window.addEventListener('resize', listener);
29
- return () => window.removeEventListener('resize', listener);
30
- });
31
- let helperBoxHeight = (imageUrl ? imageHeight : 0) +
32
- (title ? titleHeight : 0) +
33
- (instructions ? instructionsHeight : 0);
34
- let helperBox = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [imageUrl && (0, jsx_runtime_1.jsx)("img", { className: "camera-capture-img", src: imageUrl, alt: "" }), title && (0, jsx_runtime_1.jsx)("h4", Object.assign({ className: "camera-capture-title" }, { children: title })), instructions && (0, jsx_runtime_1.jsx)("small", Object.assign({ className: "camera-capture-instructions" }, { children: instructions }))] }));
35
- const frameBottomMargin = captureButtonHeight + helperBoxHeight;
36
- /*
37
- frameBottomMargin needs to stay the same for the review page so that
38
- the overlay position does not change! Basically if it is the review step
39
- and there is a 'reviewInstructions' specified, the overlay position stays
40
- the same, but the helperBox height and content changes to adjust for the
41
- large review buttons and smaller height required by 'reviewInstructionsHeight'
42
- */
43
- if (reviewInstructions) {
44
- helperBoxHeight = frameBottomMargin - reviewButtonsHeight;
45
- helperBox = (0, jsx_runtime_1.jsx)("small", Object.assign({ className: "camera-capture-instructions" }, { children: reviewInstructions }));
46
- const frameWithReviewInstructionsMinBottomMargin = reviewButtonsHeight + reviewInstructionsHeight;
47
- if (frameBottomMargin < frameWithReviewInstructionsMinBottomMargin) {
48
- helperBox = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
49
- }
50
- }
51
- const framePosition = {
52
- x: '50%',
53
- y: '5%',
54
- width: `min(90%, ${overlayMaxWidth}px)`,
55
- height: `calc(90% - ${frameBottomMargin}px)`,
56
- style: { transform: `translateX(max(-45%, -${overlayMaxWidth / 2}px))` },
57
- };
58
- const helperBoxPosition = {
59
- style: {
60
- left: '5%',
61
- top: `calc(100% - ${frameBottomMargin}px - 5%)`,
62
- height: `calc(${helperBoxHeight}px + 5%)`,
63
- width: '90%',
64
- },
65
- };
66
- return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ ref: svgReference, xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("mask", Object.assign({ id: "mask" }, { children: [(0, jsx_runtime_1.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, jsx_runtime_1.jsx)("image", Object.assign({ href: overlay }, framePosition))] })) }), overlay && (0, jsx_runtime_1.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), outline && (0, jsx_runtime_1.jsx)("image", Object.assign({ href: outline }, framePosition)), (0, jsx_runtime_1.jsx)("foreignObject", Object.assign({ width: "100%", height: "100%" }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "camera-capture-text-and-image-container" }, helperBoxPosition, { children: helperBox })) }))] })));
67
- };
68
- exports.default = Overlay;
69
- //# sourceMappingURL=Overlay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Overlay.js","sourceRoot":"","sources":["../../../../../src/step/cameraStep/cameraCapture/overlay/Overlay.tsx"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,iCAA0C;AAE1C,gEAA6D;AAE7D,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,eAAe,GAAG,GAAG,CAAC;AAW5B,MAAM,OAAO,GAAG,CAAC,EACf,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,kBAAkB,GACZ,EAAE,EAAE;IACV,MAAM,YAAY,GAAG,IAAA,cAAM,EAAg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var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_intl_1 = require("react-intl");
8
- const CameraNotSupported_messages_1 = __importDefault(require("./CameraNotSupported.messages"));
9
- const CameraNotSupported = () => {
10
- const intl = (0, react_intl_1.useIntl)();
11
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ id: "camera-not-supported" }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "container p-t-5" }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "row" }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "col-md-6 col-md-offset-3" }, { children: [(0, jsx_runtime_1.jsx)("h2", Object.assign({ className: "text-xs-center m-b-3" }, { children: intl.formatMessage(CameraNotSupported_messages_1.default.title) })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "text-xs-center m-b-5" }, { children: intl.formatMessage(CameraNotSupported_messages_1.default.paragraph) }))] })) })) })) })));
12
- };
13
- exports.default = CameraNotSupported;
14
- //# sourceMappingURL=CameraNotSupported.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CameraNotSupported.js","sourceRoot":"","sources":["../../../../../../src/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAqC;AAErC,gGAAqD;AAErD,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC9B,MAAM,IAAI,GAAG,IAAA,oBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,8CAAK,EAAE,EAAC,sBAAsB,gBAC5B,8CAAK,SAAS,EAAC,iBAAiB,gBAC9B,8CAAK,SAAS,EAAC,KAAK,gBAClB,+CAAK,SAAS,EAAC,0BAA0B,iBACvC,6CAAI,SAAS,EAAC,sBAAsB,gBAAE,IAAI,CAAC,aAAa,CAAC,qCAAQ,CAAC,KAAK,CAAC,IAAM,EAC9E,4CAAG,SAAS,EAAC,sBAAsB,gBAAE,IAAI,CAAC,aAAa,CAAC,qCAAQ,CAAC,SAAS,CAAC,IAAK,KAC5E,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const react_intl_1 = require("react-intl");
4
- exports.default = (0, react_intl_1.defineMessages)({
5
- title: {
6
- id: 'dynamicFlows.CameraCapture.CameraNotSupported.title',
7
- defaultMessage: 'Camera not supported',
8
- description: 'Title of standalone page prompting that camera is not available on users browser',
9
- },
10
- paragraph: {
11
- id: 'dynamicFlows.CameraCapture.CameraNotSupported.paragraph',
12
- defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.",
13
- description: "Further text of standalone page prompting that camera is not available on user's browser",
14
- },
15
- });
16
- //# sourceMappingURL=CameraNotSupported.messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CameraNotSupported.messages.js","sourceRoot":"","sources":["../../../../../../src/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.ts"],"names":[],"mappings":";;AAAA,2CAA4C;AAE5C,kBAAe,IAAA,2BAAc,EAAC;IAC5B,KAAK,EAAE;QACL,EAAE,EAAE,qDAAqD;QACzD,cAAc,EAAE,sBAAsB;QACtC,WAAW,EAAE,kFAAkF;KAChG;IACD,SAAS,EAAE;QACT,EAAE,EAAE,yDAAyD;QAC7D,cAAc,EACZ,0HAA0H;QAC5H,WAAW,EACT,0FAA0F;KAC7F;CACF,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const components_1 = require("@transferwise/components");
8
- const react_intl_1 = require("react-intl");
9
- const NoCameraAccess_messages_1 = __importDefault(require("./NoCameraAccess.messages"));
10
- const NoCameraAccess = ({ onAction }) => {
11
- const intl = (0, react_intl_1.useIntl)();
12
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ id: "no-camera-access" }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "container p-t-5" }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "row" }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "col-md-6 col-md-offset-3" }, { children: [(0, jsx_runtime_1.jsx)("h2", Object.assign({ className: "text-xs-center m-b-3" }, { children: intl.formatMessage(NoCameraAccess_messages_1.default.title) })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "text-xs-center m-b-5" }, { children: intl.formatMessage(NoCameraAccess_messages_1.default.paragraph) })), (0, jsx_runtime_1.jsx)(components_1.Button, Object.assign({ block: true, onClick: onAction }, { children: intl.formatMessage(NoCameraAccess_messages_1.default.action) }))] })) })) })) })));
13
- };
14
- exports.default = NoCameraAccess;
15
- //# sourceMappingURL=NoCameraAccess.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoCameraAccess.js","sourceRoot":"","sources":["../../../../../../src/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.tsx"],"names":[],"mappings":";;;;;;AAAA,yDAAkD;AAClD,2CAAqC;AAErC,wFAAiD;AAIjD,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAS,EAAE,EAAE;IAC7C,MAAM,IAAI,GAAG,IAAA,oBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,8CAAK,EAAE,EAAC,kBAAkB,gBACxB,8CAAK,SAAS,EAAC,iBAAiB,gBAC9B,8CAAK,SAAS,EAAC,KAAK,gBAClB,+CAAK,SAAS,EAAC,0BAA0B,iBACvC,6CAAI,SAAS,EAAC,sBAAsB,gBAAE,IAAI,CAAC,aAAa,CAAC,iCAAQ,CAAC,KAAK,CAAC,IAAM,EAC9E,4CAAG,SAAS,EAAC,sBAAsB,gBAAE,IAAI,CAAC,aAAa,CAAC,iCAAQ,CAAC,SAAS,CAAC,IAAK,EAChF,uBAAC,mBAAM,kBAAC,KAAK,QAAC,OAAO,EAAE,QAAQ,gBAC5B,IAAI,CAAC,aAAa,CAAC,iCAAQ,CAAC,MAAM,CAAC,IAC7B,KACL,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,cAAc,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const react_intl_1 = require("react-intl");
4
- exports.default = (0, react_intl_1.defineMessages)({
5
- title: {
6
- id: 'dynamicFlows.CameraCapture.NoCameraAccess.title',
7
- defaultMessage: "We can't access your camera",
8
- description: 'Title of standalone page prompting missing camera permissions',
9
- },
10
- paragraph: {
11
- id: 'dynamicFlows.CameraCapture.NoCameraAccess.paragraph',
12
- defaultMessage: "Enable camera access in your browser's settings to get going again.",
13
- description: 'Further text of standalone page prompting missing camera permissions',
14
- },
15
- action: {
16
- id: 'dynamicFlows.CameraCapture.NoCameraAccess.action',
17
- defaultMessage: 'Enable camera access',
18
- description: 'Action to ask for camera permissions again',
19
- },
20
- });
21
- //# sourceMappingURL=NoCameraAccess.messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoCameraAccess.messages.js","sourceRoot":"","sources":["../../../../../../src/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.ts"],"names":[],"mappings":";;AAAA,2CAA4C;AAE5C,kBAAe,IAAA,2BAAc,EAAC;IAC5B,KAAK,EAAE;QACL,EAAE,EAAE,iDAAiD;QACrD,cAAc,EAAE,6BAA6B;QAC7C,WAAW,EAAE,+DAA+D;KAC7E;IACD,SAAS,EAAE;QACT,EAAE,EAAE,qDAAqD;QACzD,cAAc,EAAE,qEAAqE;QACrF,WAAW,EAAE,sEAAsE;KACpF;IACD,MAAM,EAAE;QACN,EAAE,EAAE,kDAAkD;QACtD,cAAc,EAAE,sBAAsB;QACtC,WAAW,EAAE,4CAA4C;KAC1D;CACF,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CameraNotSupported = exports.NoCameraAccess = void 0;
7
- var NoCameraAccess_1 = require("./NoCameraAccess/NoCameraAccess");
8
- Object.defineProperty(exports, "NoCameraAccess", { enumerable: true, get: function () { return __importDefault(NoCameraAccess_1).default; } });
9
- var CameraNotSupported_1 = require("./CameraNotSupported/CameraNotSupported");
10
- Object.defineProperty(exports, "CameraNotSupported", { enumerable: true, get: function () { return __importDefault(CameraNotSupported_1).default; } });
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/step/cameraStep/cameraCapture/screens/index.ts"],"names":[],"mappings":";;;;;;AAAA,kEAA4E;AAAnE,iIAAA,OAAO,OAAkB;AAClC,8EAAwF;AAA/E,yIAAA,OAAO,OAAsB"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.trackCameraNotSupported = exports.trackCameraFeedStarted = exports.trackCameraPermissionDenied = void 0;
4
- const utils_1 = require("../utils");
5
- const trackCameraPermissionDenied = (onEvent) => onEvent === null || onEvent === void 0 ? void 0 : onEvent('Dynamic Flow - Camera Permission Denied', {});
6
- exports.trackCameraPermissionDenied = trackCameraPermissionDenied;
7
- const trackCameraFeedStarted = async (onEvent, props, stream) => onEvent === null || onEvent === void 0 ? void 0 : onEvent('Dynamic Flow - Camera Feed Started', await getCameraStartedProperties(props, stream));
8
- exports.trackCameraFeedStarted = trackCameraFeedStarted;
9
- const trackCameraNotSupported = (onEvent, error) => onEvent === null || onEvent === void 0 ? void 0 : onEvent('Dynamic Flow - Camera Not Supported', { Error: error });
10
- exports.trackCameraNotSupported = trackCameraNotSupported;
11
- const getCameraStartedProperties = async (props, videoStream) => {
12
- var _a;
13
- const videoTrack = (0, utils_1.getVideoTrack)(videoStream);
14
- const capabilities = (0, utils_1.getVideoCapabilities)(videoStream);
15
- const settings = (_a = videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.getSettings) === null || _a === void 0 ? void 0 : _a.call(videoTrack);
16
- return Object.assign(Object.assign({}, (videoTrack && {
17
- 'Available Video Devices (by label)': await (0, utils_1.getAvailableVideoDeviceLabels)(),
18
- 'Active Video Device (by label)': await (0, utils_1.getActiveVideoDeviceLabel)(videoStream),
19
- 'Camera Capabilities': capabilities,
20
- 'Camera Settings': settings,
21
- })), { 'Camera Direction (Asked)': props === null || props === void 0 ? void 0 : props.direction });
22
- };
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/step/cameraStep/cameraCapture/tracking/index.ts"],"names":[],"mappings":";;;AAEA,oCAKkB;AAEX,MAAM,2BAA2B,GAAG,CAAC,OAAiC,EAAE,EAAE,CAC/E,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,yCAAyC,EAAE,EAAE,CAAC,CAAC;AAD9C,QAAA,2BAA2B,+BACmB;AAEpD,MAAM,sBAAsB,GAAG,KAAK,EACzC,OAAiC,EACjC,KAAsC,EACtC,MAAmB,EACnB,EAAE,CACF,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,oCAAoC,EAAE,MAAM,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AALtF,QAAA,sBAAsB,0BAKgE;AAE5F,MAAM,uBAAuB,GAAG,CACrC,OAAiC,EACjC,KAA4B,EAC5B,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,qCAAqC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;AAH3D,QAAA,uBAAuB,2BAGoC;AAExE,MAAM,0BAA0B,GAAG,KAAK,EACtC,KAAsC,EACtC,WAAwB,EACxB,EAAE;;IACF,MAAM,UAAU,GAAiC,IAAA,qBAAa,EAAC,WAAW,CAAC,CAAC;IAC5E,MAAM,YAAY,GAAuC,IAAA,4BAAoB,EAAC,WAAW,CAAC,CAAC;IAC3F,MAAM,QAAQ,GAAmC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,WAAW,0DAAI,CAAC;IAE7E,uCACK,CAAC,UAAU,IAAI;QAChB,oCAAoC,EAAE,MAAM,IAAA,qCAA6B,GAAE;QAC3E,gCAAgC,EAAE,MAAM,IAAA,iCAAyB,EAAC,WAAW,CAAC;QAE9E,qBAAqB,EAAE,YAAY;QACnC,iBAAiB,EAAE,QAAQ;KAC5B,CAAC,KACF,0BAA0B,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,IAC5C;AACJ,CAAC,CAAC"}
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getVideoCapabilities = exports.getVideoTrack = exports.getActiveVideoDeviceLabel = exports.getAvailableVideoDeviceLabels = exports.getAvailableVideoDevices = exports.generateCanvasFromVideo = exports.isMainBackCamera = exports.isSelfieCamera = void 0;
4
- const isSelfieCamera = (stream) => {
5
- var _a;
6
- const { facingMode } = ((_a = (0, exports.getVideoTrack)(stream)) === null || _a === void 0 ? void 0 : _a.getSettings()) || {};
7
- // facingMode === undefined for desktop users
8
- return facingMode === 'user' || facingMode === undefined;
9
- };
10
- exports.isSelfieCamera = isSelfieCamera;
11
- const isMainBackCamera = (deviceInfo) => !!((deviceInfo === null || deviceInfo === void 0 ? void 0 : deviceInfo.label) || '').match(/camera2? 0/g);
12
- exports.isMainBackCamera = isMainBackCamera;
13
- const generateCanvasFromVideo = async (video) => {
14
- const canvas = document.createElement('canvas');
15
- if (video) {
16
- canvas.setAttribute('height', `${video.videoHeight}`);
17
- canvas.setAttribute('width', `${video.videoWidth}`);
18
- const context = canvas === null || canvas === void 0 ? void 0 : canvas.getContext('2d');
19
- if (context) {
20
- // Timeout is needed for intermittent iOS issue
21
- await new Promise((resolve) => setTimeout(resolve, 100));
22
- context.drawImage(video, 0, 0, canvas.width, canvas.height);
23
- }
24
- }
25
- return canvas;
26
- };
27
- exports.generateCanvasFromVideo = generateCanvasFromVideo;
28
- const getAvailableVideoDevices = async () => {
29
- var _a, _b;
30
- return ((await ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.enumerateDevices) === null || _b === void 0 ? void 0 : _b.call(_a))) || []).filter((deviceInfo) => deviceInfo.kind === 'videoinput');
31
- };
32
- exports.getAvailableVideoDevices = getAvailableVideoDevices;
33
- const getAvailableVideoDeviceLabels = async () => {
34
- var _a, _b;
35
- return ((await ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.enumerateDevices) === null || _b === void 0 ? void 0 : _b.call(_a))) || [])
36
- .filter((deviceInfo) => deviceInfo.kind === 'videoinput')
37
- .map((deviceInfo) => deviceInfo.label);
38
- };
39
- exports.getAvailableVideoDeviceLabels = getAvailableVideoDeviceLabels;
40
- const getActiveVideoDeviceLabel = async (videoStream) => {
41
- var _a, _b, _c;
42
- const capabilities = (0, exports.getVideoCapabilities)(videoStream);
43
- return (_c = ((await ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.enumerateDevices) === null || _b === void 0 ? void 0 : _b.call(_a))) || [])
44
- .filter((deviceInfo) => deviceInfo.kind === 'videoinput')
45
- .find((deviceInfo) => deviceInfo.deviceId === (capabilities === null || capabilities === void 0 ? void 0 : capabilities.deviceId))) === null || _c === void 0 ? void 0 : _c.label;
46
- };
47
- exports.getActiveVideoDeviceLabel = getActiveVideoDeviceLabel;
48
- const getVideoTrack = (videoStream) => { var _a; return (((_a = videoStream === null || videoStream === void 0 ? void 0 : videoStream.getVideoTracks) === null || _a === void 0 ? void 0 : _a.call(videoStream)) || [])[0]; };
49
- exports.getVideoTrack = getVideoTrack;
50
- const getVideoCapabilities = (videoStream) => { var _a, _b; return (_b = (_a = (0, exports.getVideoTrack)(videoStream)) === null || _a === void 0 ? void 0 : _a.getCapabilities) === null || _b === void 0 ? void 0 : _b.call(_a); };
51
- exports.getVideoCapabilities = getVideoCapabilities;
52
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/step/cameraStep/cameraCapture/utils/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,cAAc,GAAG,CAAC,MAAmB,EAAE,EAAE;;IACpD,MAAM,EAAE,UAAU,EAAE,GAAG,CAAA,MAAA,IAAA,qBAAa,EAAC,MAAM,CAAC,0CAAE,WAAW,EAAE,KAAI,EAAE,CAAC;IAClE,6CAA6C;IAC7C,OAAO,UAAU,KAAK,MAAM,IAAI,UAAU,KAAK,SAAS,CAAC;AAC3D,CAAC,CAAC;AAJW,QAAA,cAAc,kBAIzB;AAEK,MAAM,gBAAgB,GAAG,CAAC,UAA4B,EAAE,EAAE,CAC/D,CAAC,CAAC,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,KAAI,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AADtC,QAAA,gBAAgB,oBACsB;AAE5C,MAAM,uBAAuB,GAAG,KAAK,EAC1C,KAA8B,EACF,EAAE;IAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhD,IAAI,KAAK,EAAE;QACT,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,CA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,MAAM,YAAY,GAAG,IAAA,4BAAoB,EAAC,WAAW,CAAC,CAAC;IAEvD,OAAO,MAAA,CAAC,CAAC,MAAM,CAAA,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,0CAAE,gBAAgB,kDAAI,CAAA,CAAC,IAAI,EAAE,CAAC;SACjE,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,KAAK,YAAY,CAAC;SACxD,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,MAAK,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,CAAA,CAAC,0CAAE,KAAK,CAAC;AACjF,CAAC,CAAC;AANW,QAAA,yBAAyB,6BAMpC;AAEK,MAAM,aAAa,GAAG,CAAC,WAAwB,EAAgC,EAAE,WACtF,OAAA,CAAC,CAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,cAAc,2DAAI,KAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA,EAAA,CAAC;AADhC,QAAA,aAAa,iBACmB;AAEtC,MAAM,oBAAoB,GAAG,CAClC,WAAwB,EACY,EAAE,eAAC,OAAA,MAAA,MAAA,IAAA,qBAAa,EAAC,WAAW,CAAC,0CAAE,eAAe,kDAAI,CAAA,EAAA,CAAC;AAF5E,QAAA,oBAAoB,wBAEwD"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.default = void 0;
7
- var CameraStep_1 = require("./CameraStep");
8
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(CameraStep_1).default; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/step/cameraStep/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuC;AAA9B,sHAAA,OAAO,OAAA"}
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_intl_1 = require("react-intl");
8
- const layout_1 = require("../../layout");
9
- const ExternalConfirmationStep_messages_1 = __importDefault(require("./ExternalConfirmationStep.messages"));
10
- // eslint-disable-next-line @typescript-eslint/no-empty-function
11
- const noop = () => { };
12
- const ExternalConfirmationStep = ({ url, onClose }) => {
13
- const { formatMessage } = (0, react_intl_1.useIntl)();
14
- return ((0, jsx_runtime_1.jsx)(layout_1.DynamicLayout, { components: [
15
- {
16
- type: 'box',
17
- width: 'lg',
18
- components: [
19
- {
20
- type: 'heading',
21
- text: formatMessage(ExternalConfirmationStep_messages_1.default.title),
22
- size: 'lg',
23
- align: 'center',
24
- margin: 'xl',
25
- },
26
- {
27
- type: 'info',
28
- markdown: formatMessage(ExternalConfirmationStep_messages_1.default.description, { origin: getOrigin(url) }),
29
- align: 'center',
30
- margin: 'xl',
31
- },
32
- {
33
- type: 'box',
34
- width: 'md',
35
- components: [
36
- {
37
- type: 'button',
38
- action: { title: formatMessage(ExternalConfirmationStep_messages_1.default.open), type: 'primary', url, exit: true },
39
- },
40
- {
41
- type: 'button',
42
- action: {
43
- title: formatMessage(ExternalConfirmationStep_messages_1.default.cancel),
44
- type: 'link',
45
- url: '',
46
- exit: true,
47
- },
48
- },
49
- ],
50
- },
51
- ],
52
- },
53
- ], submitted: false, onAction: (action) => {
54
- if (action.url) {
55
- window.open(action.url, '_blank');
56
- }
57
- onClose();
58
- }, onModelChange: noop, onPersistAsync: noop }));
59
- };
60
- exports.default = ExternalConfirmationStep;
61
- function getOrigin(url) {
62
- try {
63
- return new URL(url).origin;
64
- }
65
- catch (_a) {
66
- return url;
67
- }
68
- }
69
- //# sourceMappingURL=ExternalConfirmationStep.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExternalConfirmationStep.js","sourceRoot":"","sources":["../../../src/step/externalConfirmationStep/ExternalConfirmationStep.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAqC;AAErC,yCAA6C;AAE7C,4GAA2D;AAE3D,gEAAgE;AAChE,MAAM,IAAI,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAItB,MAAM,wBAAwB,GAAG,CAAC,EAAE,GAAG,EAAE,OAAO,EAAS,EAAE,EAAE;IAC3D,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,oBAAO,GAAE,CAAC;IACpC,OAAO,CACL,uBAAC,sBAAa,IACZ,UAAU,EAAE;YACV;gBACE,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,IAAI;gBACX,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,aAAa,CAAC,2CAAQ,CAAC,KAAK,CAAC;wBACnC,IAAI,EAAE,IAAI;wBACV,KAAK,EAAE,QAAQ;wBACf,MAAM,EAAE,IAAI;qBACb;oBACD;wBACE,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,aAAa,CAAC,2CAAQ,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;wBACzE,KAAK,EAAE,QAAQ;wBACf,MAAM,EAAE,IAAI;qBACb;oBACD;wBACE,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,IAAI;wBACX,UAAU,EAAE;4BACV;gCACE,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,2CAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE;6BAClF;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,KAAK,EAAE,aAAa,CAAC,2CAAQ,CAAC,MAAM,CAAC;oCACrC,IAAI,EAAE,MAAM;oCACZ,GAAG,EAAE,EAAE;oCACP,IAAI,EAAE,IAAI;iCACX;6BACF;yBACF;qBACF;iBACF;aACF;SACF,EACD,SAAS,EAAE,KAAK,EAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE;YACnB,IAAI,MAAM,CAAC,GAAG,EAAE;gBACd,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;aACnC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,EACD,aAAa,EAAE,IAAI,EACnB,cAAc,EAAE,IAAI,GACpB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC;AAExC,SAAS,SAAS,CAAC,GAAW;IAC5B,IAAI;QACF,OAAO,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;KAC5B;IAAC,WAAM;QACN,OAAO,GAAG,CAAC;KACZ;AACH,CAAC"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const react_intl_1 = require("react-intl");
4
- exports.default = (0, react_intl_1.defineMessages)({
5
- title: {
6
- id: 'dynamicFlows.ExternalConfirmation.title',
7
- defaultMessage: 'Please confirm',
8
- description: 'Heading for the confirmation screen.',
9
- },
10
- description: {
11
- id: 'dynamicFlows.ExternalConfirmation.description',
12
- defaultMessage: 'Please confirm you want to open **{origin}** in a new browser tab.',
13
- description: 'Description for the confirmation screen.',
14
- },
15
- open: {
16
- id: 'dynamicFlows.ExternalConfirmation.open',
17
- defaultMessage: 'Open in new tab',
18
- description: 'Button text confirming opening a new browser tab.',
19
- },
20
- cancel: {
21
- id: 'dynamicFlows.ExternalConfirmation.cancel',
22
- defaultMessage: 'Cancel',
23
- description: 'Button text rejecting opening a new browser tab.',
24
- },
25
- });
26
- //# sourceMappingURL=ExternalConfirmationStep.messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExternalConfirmationStep.messages.js","sourceRoot":"","sources":["../../../src/step/externalConfirmationStep/ExternalConfirmationStep.messages.ts"],"names":[],"mappings":";;AAAA,2CAA4C;AAE5C,kBAAe,IAAA,2BAAc,EAAC;IAC5B,KAAK,EAAE;QACL,EAAE,EAAE,yCAAyC;QAC7C,cAAc,EAAE,gBAAgB;QAChC,WAAW,EAAE,sCAAsC;KACpD;IACD,WAAW,EAAE;QACX,EAAE,EAAE,+CAA+C;QACnD,cAAc,EAAE,oEAAoE;QACpF,WAAW,EAAE,0CAA0C;KACxD;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,wCAAwC;QAC5C,cAAc,EAAE,iBAAiB;QACjC,WAAW,EAAE,mDAAmD;KACjE;IACD,MAAM,EAAE;QACN,EAAE,EAAE,0CAA0C;QAC9C,cAAc,EAAE,QAAQ;QACxB,WAAW,EAAE,kDAAkD;KAChE;CACF,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.default = void 0;
7
- var ExternalConfirmationStep_1 = require("./ExternalConfirmationStep");
8
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(ExternalConfirmationStep_1).default; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/step/externalConfirmationStep/index.ts"],"names":[],"mappings":";;;;;;AAAA,uEAAqD;AAA5C,oIAAA,OAAO,OAAA"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ExternalConfirmationStep = exports.CameraStep = exports.LayoutStep = void 0;
7
- var layoutStep_1 = require("./layoutStep");
8
- Object.defineProperty(exports, "LayoutStep", { enumerable: true, get: function () { return __importDefault(layoutStep_1).default; } });
9
- var cameraStep_1 = require("./cameraStep");
10
- Object.defineProperty(exports, "CameraStep", { enumerable: true, get: function () { return __importDefault(cameraStep_1).default; } });
11
- var externalConfirmationStep_1 = require("./externalConfirmationStep");
12
- Object.defineProperty(exports, "ExternalConfirmationStep", { enumerable: true, get: function () { return __importDefault(externalConfirmationStep_1).default; } });
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/step/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,uEAAiF;AAAxE,qJAAA,OAAO,OAA4B"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const jsx_runtime_1 = require("react/jsx-runtime");
4
- const contexts_1 = require("../../common/contexts");
5
- const hooks_1 = require("../../common/hooks");
6
- const validators_1 = require("../../common/validators");
7
- const layout_1 = require("../../layout");
8
- const utils_1 = require("./utils");
9
- const getComponents = (step, options) => {
10
- var _a;
11
- if (!step || (0, validators_1.isEmpty)(step) || (!step.layout && !step.type)) {
12
- return [];
13
- }
14
- const layout = (0, utils_1.convertStepToLayout)(step, options);
15
- return (0, utils_1.inlineReferences)({
16
- layout,
17
- schemas: step.schemas || [],
18
- actions: step.actions || [],
19
- model: (_a = step.model) !== null && _a !== void 0 ? _a : null,
20
- });
21
- };
22
- const LayoutStep = (props) => {
23
- const { stepSpecification, stepLayoutOptions, submitted, model, formErrors, onModelChange } = props;
24
- const components = getComponents(stepSpecification, stepLayoutOptions);
25
- const { loading, registerPersistAsyncPromise } = (0, contexts_1.useDynamicFlow)();
26
- const onEvent = (0, contexts_1.useEventDispatcher)();
27
- const onAction = !loading
28
- ? props.onAction
29
- : () => {
30
- onEvent('Dynamic Flow - onAction supressed', { reason: 'LayoutStep - loading state' });
31
- };
32
- (0, hooks_1.useStepPolling)(stepSpecification.polling, onAction);
33
- return ((0, jsx_runtime_1.jsx)(layout_1.DynamicLayout, { components: components, submitted: submitted, model: model, errors: formErrors, onAction: onAction, onModelChange: onModelChange, onPersistAsync: registerPersistAsyncPromise }));
34
- };
35
- exports.default = LayoutStep;
36
- //# sourceMappingURL=LayoutStep.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LayoutStep.js","sourceRoot":"","sources":["../../../src/step/layoutStep/LayoutStep.tsx"],"names":[],"mappings":";;;AAAA,oDAA2E;AAC3E,8CAAoD;AACpD,wDAAkD;AAClD,yCAA6C;AAI7C,mCAAgE;AAGhE,MAAM,aAAa,GAAG,CAAC,IAAU,EAAE,OAA0B,EAAE,EAAE;;IAC/D,IAAI,CAAC,IAAI,IAAI,IAAA,oBAAO,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QAC1D,OAAO,EAAE,CAAC;KACX;IAED,MAAM,MAAM,GAAG,IAAA,2BAAmB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAElD,OAAO,IAAA,wBAAgB,EAAC;QACtB,MAAM;QACN,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,EAAE;QAC3B,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,EAAE;QAC3B,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,IAAI;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC;AAUF,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IAC5C,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,GACzF,KAAK,CAAC;IAER,MAAM,UAAU,GAAG,aAAa,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC;IAEvE,MAAM,EAAE,OAAO,EAAE,2BAA2B,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAC;IAElE,MAAM,OAAO,GAAG,IAAA,6BAAkB,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,CAAC,OAAO;QACvB,CAAC,CAAC,KAAK,CAAC,QAAQ;QAChB,CAAC,CAAC,GAAG,EAAE;YACH,OAAO,CAAC,mCAAmC,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE,CAAC,CAAC;QACzF,CAAC,CAAC;IAEN,IAAA,sBAAc,EAAC,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAEpD,OAAO,CACL,uBAAC,sBAAa,IACZ,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,2BAA2B,GAC3C,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.default = void 0;
7
- var LayoutStep_1 = require("./LayoutStep");
8
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(LayoutStep_1).default; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/step/layoutStep/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuC;AAA9B,sHAAA,OAAO,OAAA"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inlineReferences = exports.convertStepToLayout = void 0;
4
- var layout_utils_1 = require("./layout-utils");
5
- Object.defineProperty(exports, "convertStepToLayout", { enumerable: true, get: function () { return layout_utils_1.convertStepToLayout; } });
6
- var inline_reference_utils_1 = require("./inline-reference-utils");
7
- Object.defineProperty(exports, "inlineReferences", { enumerable: true, get: function () { return inline_reference_utils_1.inlineReferences; } });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/step/layoutStep/utils/index.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AAA5C,mHAAA,mBAAmB,OAAA;AAC5B,mEAA4D;AAAnD,0HAAA,gBAAgB,OAAA"}
@@ -1,79 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inlineReferences = void 0;
4
- const layout_utils_1 = require("./layout-utils");
5
- function inlineReferences({ layout, schemas, actions, model, }) {
6
- if (!layout) {
7
- return [];
8
- }
9
- if (!schemas) {
10
- return layout;
11
- }
12
- return layout.map((component) => {
13
- if (component.type === 'form') {
14
- return inlineFormSchema({ formComponent: component, schemas });
15
- }
16
- if (component.type === 'decision') {
17
- return inlineDecisionActions({ decisionComponent: component, actions });
18
- }
19
- if (component.type === 'button') {
20
- return inlineAction({ actionComponent: component, actions });
21
- }
22
- if (component.type === 'box') {
23
- return inlineBoxReferences({ boxComponent: component, schemas, actions, model });
24
- }
25
- if (component.type === 'columns') {
26
- return inlineColumnsReferences({ columnsComponent: component, schemas, actions, model });
27
- }
28
- return component;
29
- });
30
- }
31
- exports.inlineReferences = inlineReferences;
32
- function inlineFormSchema({ formComponent, schemas, }) {
33
- if (isReference(formComponent.schema) && formComponent.schema.$ref) {
34
- return Object.assign(Object.assign({}, formComponent), { schema: getSchemaById(schemas, formComponent.schema.$ref) });
35
- }
36
- return Object.assign({}, formComponent);
37
- }
38
- function inlineDecisionActions({ decisionComponent, actions, }) {
39
- var _a;
40
- const newOptions = (_a = decisionComponent === null || decisionComponent === void 0 ? void 0 : decisionComponent.options) === null || _a === void 0 ? void 0 : _a.map((option) => {
41
- return option.action && isReference(option.action)
42
- ? Object.assign(Object.assign({}, option), { action: getActionById(actions, option.action.$ref) }) : option;
43
- });
44
- return Object.assign(Object.assign({}, decisionComponent), { options: newOptions });
45
- }
46
- function inlineAction({ actionComponent, actions, }) {
47
- var _a;
48
- if (actionComponent.action &&
49
- isReference(actionComponent.action) &&
50
- ((_a = actionComponent.action) === null || _a === void 0 ? void 0 : _a.$ref)) {
51
- const newAction = getActionById(actions, actionComponent.action.$ref);
52
- return (0, layout_utils_1.convertStepActionToDynamicAction)(newAction);
53
- }
54
- return actionComponent;
55
- }
56
- function inlineBoxReferences({ boxComponent, schemas, actions, model, }) {
57
- return Object.assign(Object.assign({}, boxComponent), { components: inlineReferences({ layout: boxComponent.components, schemas, actions, model }) });
58
- }
59
- function inlineColumnsReferences({ columnsComponent, schemas, actions, model, }) {
60
- return Object.assign(Object.assign({}, columnsComponent), { left: inlineReferences({ layout: columnsComponent.left, schemas, actions, model }), right: inlineReferences({ layout: columnsComponent.right, schemas, actions, model }) });
61
- }
62
- function getSchemaById(schemas, id) {
63
- const schema = schemas.find((schema) => schema.$id === id);
64
- if (!schema) {
65
- throw new Error(`Fatal Error. Schema not found. $id ${id}`);
66
- }
67
- return schema;
68
- }
69
- function getActionById(actions, id) {
70
- const action = actions.find((action) => action.$id === id);
71
- if (!action) {
72
- throw new Error(`Fatal Error. Action not found. $id ${id}`);
73
- }
74
- return action;
75
- }
76
- function isReference(block) {
77
- return Object.prototype.hasOwnProperty.call(block, '$ref');
78
- }
79
- //# sourceMappingURL=inline-reference-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inline-reference-utils.js","sourceRoot":"","sources":["../../../../src/step/layoutStep/utils/inline-reference-utils.ts"],"names":[],"mappings":";;;AAaA,iDAAkE;AAElE,SAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,OAAO,EACP,OAAO,EACP,KAAK,GAMN;IACC,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,EAAE,CAAC;KACX;IACD,IAAI,CAAC,OAAO,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