@redneckz/wildless-cms-uni-blocks 0.14.637 → 0.14.639

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 (390) hide show
  1. package/bundle/api/RetailAPI/getTaskStatus.d.ts +14 -0
  2. package/bundle/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +215 -43
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  7. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  8. package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  9. package/bundle/components/CreditForm/CreditForm.d.ts +2 -2
  10. package/bundle/components/CreditForm/CreditFormContent.d.ts +5 -23
  11. package/bundle/components/CreditForm/CreditFormProgress.d.ts +1 -1
  12. package/bundle/components/CreditForm/CreditFormStatus.d.ts +16 -0
  13. package/bundle/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  14. package/bundle/components/CreditForm/CreditFormStep.d.ts +5 -6
  15. package/bundle/components/CreditForm/FailedStatusContent.d.ts +2 -0
  16. package/bundle/components/CreditForm/PendingStatusContent.d.ts +2 -0
  17. package/bundle/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  18. package/bundle/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  19. package/bundle/components/CreditForm/formStateMap.d.ts +72 -0
  20. package/bundle/components/CreditForm/getInitialFormState.d.ts +1 -63
  21. package/bundle/components/CreditForm/renderInfo.d.ts +3 -0
  22. package/bundle/components/CreditForm/renderStep.d.ts +11 -0
  23. package/{lib/components/CreditForm/useCreditFormApi.d.ts → bundle/components/CreditForm/useCreditFormAPI.d.ts} +4 -3
  24. package/bundle/hooks/useForm.d.ts +1 -1
  25. package/bundle/model/InputSectionsType.d.ts +5 -0
  26. package/dist/api/RetailAPI/getTaskStatus.d.ts +14 -0
  27. package/dist/api/RetailAPI/getTaskStatus.js +13 -0
  28. package/dist/api/RetailAPI/getTaskStatus.js.map +1 -0
  29. package/dist/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  30. package/dist/api/RetailAPI/sendSignalToProcess.js +6 -0
  31. package/dist/api/RetailAPI/sendSignalToProcess.js.map +1 -0
  32. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  33. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -3
  34. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  35. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  36. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  37. package/dist/components/CalculatorCredit/CalculatorCredit.js +3 -2
  38. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  39. package/dist/components/CreditForm/CreditForm.d.ts +2 -2
  40. package/dist/components/CreditForm/CreditForm.js +17 -6
  41. package/dist/components/CreditForm/CreditForm.js.map +1 -1
  42. package/dist/components/CreditForm/CreditFormContent.d.ts +5 -23
  43. package/dist/components/CreditForm/CreditFormProgress.d.ts +1 -1
  44. package/dist/components/CreditForm/CreditFormProgress.js +3 -3
  45. package/dist/components/CreditForm/CreditFormProgress.js.map +1 -1
  46. package/dist/components/CreditForm/CreditFormStatus.d.ts +16 -0
  47. package/dist/components/CreditForm/CreditFormStatus.js +25 -0
  48. package/dist/components/CreditForm/CreditFormStatus.js.map +1 -0
  49. package/dist/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  50. package/dist/components/CreditForm/CreditFormStatusTracker.js +42 -0
  51. package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -0
  52. package/dist/components/CreditForm/CreditFormStep.d.ts +5 -6
  53. package/dist/components/CreditForm/CreditFormStep.js +19 -19
  54. package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
  55. package/dist/components/CreditForm/FailedStatusContent.d.ts +2 -0
  56. package/dist/components/CreditForm/FailedStatusContent.js +7 -0
  57. package/dist/components/CreditForm/FailedStatusContent.js.map +1 -0
  58. package/dist/components/CreditForm/PendingStatusContent.d.ts +2 -0
  59. package/dist/components/CreditForm/PendingStatusContent.js +32 -0
  60. package/dist/components/CreditForm/PendingStatusContent.js.map +1 -0
  61. package/dist/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  62. package/dist/components/CreditForm/ReworkStatusContent.js +25 -0
  63. package/dist/components/CreditForm/ReworkStatusContent.js.map +1 -0
  64. package/dist/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  65. package/dist/components/CreditForm/SuccessStatusContent.js +32 -0
  66. package/dist/components/CreditForm/SuccessStatusContent.js.map +1 -0
  67. package/dist/components/CreditForm/creditFormStepsData.js +3 -0
  68. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  69. package/dist/components/CreditForm/formStateMap.d.ts +72 -0
  70. package/dist/components/CreditForm/formStateMap.js +81 -0
  71. package/dist/components/CreditForm/formStateMap.js.map +1 -0
  72. package/dist/components/CreditForm/getInitialFormState.d.ts +1 -63
  73. package/dist/components/CreditForm/getInitialFormState.js +14 -74
  74. package/dist/components/CreditForm/getInitialFormState.js.map +1 -1
  75. package/dist/components/CreditForm/renderInfo.d.ts +3 -0
  76. package/dist/components/CreditForm/renderInfo.js +12 -0
  77. package/dist/components/CreditForm/renderInfo.js.map +1 -0
  78. package/dist/components/CreditForm/renderInputs.js +1 -3
  79. package/dist/components/CreditForm/renderInputs.js.map +1 -1
  80. package/dist/components/CreditForm/renderStep.d.ts +11 -0
  81. package/dist/components/CreditForm/renderStep.js +11 -0
  82. package/dist/components/CreditForm/renderStep.js.map +1 -0
  83. package/{bundle/components/CreditForm/useCreditFormApi.d.ts → dist/components/CreditForm/useCreditFormAPI.d.ts} +4 -3
  84. package/dist/components/CreditForm/{useCreditFormApi.js → useCreditFormAPI.js} +7 -4
  85. package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -0
  86. package/dist/hooks/useForm.d.ts +1 -1
  87. package/dist/hooks/useForm.js +1 -0
  88. package/dist/hooks/useForm.js.map +1 -1
  89. package/dist/model/InputSectionsType.d.ts +5 -0
  90. package/dist/model/InputSectionsType.js +2 -0
  91. package/dist/model/InputSectionsType.js.map +1 -0
  92. package/lib/api/RetailAPI/getTaskStatus.d.ts +14 -0
  93. package/lib/api/RetailAPI/getTaskStatus.js +10 -0
  94. package/lib/api/RetailAPI/getTaskStatus.js.map +1 -0
  95. package/lib/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  96. package/lib/api/RetailAPI/sendSignalToProcess.js +3 -0
  97. package/lib/api/RetailAPI/sendSignalToProcess.js.map +1 -0
  98. package/lib/common.css +1 -1
  99. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  100. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -3
  101. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  102. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  103. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  104. package/lib/components/CalculatorCredit/CalculatorCredit.js +3 -2
  105. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  106. package/lib/components/CreditForm/CreditForm.d.ts +2 -2
  107. package/lib/components/CreditForm/CreditForm.js +17 -6
  108. package/lib/components/CreditForm/CreditForm.js.map +1 -1
  109. package/lib/components/CreditForm/CreditFormContent.d.ts +5 -23
  110. package/lib/components/CreditForm/CreditFormProgress.d.ts +1 -1
  111. package/lib/components/CreditForm/CreditFormProgress.js +3 -3
  112. package/lib/components/CreditForm/CreditFormProgress.js.map +1 -1
  113. package/lib/components/CreditForm/CreditFormStatus.d.ts +16 -0
  114. package/lib/components/CreditForm/CreditFormStatus.js +23 -0
  115. package/lib/components/CreditForm/CreditFormStatus.js.map +1 -0
  116. package/lib/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  117. package/lib/components/CreditForm/CreditFormStatusTracker.js +40 -0
  118. package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -0
  119. package/lib/components/CreditForm/CreditFormStep.d.ts +5 -6
  120. package/lib/components/CreditForm/CreditFormStep.js +19 -19
  121. package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
  122. package/lib/components/CreditForm/FailedStatusContent.d.ts +2 -0
  123. package/lib/components/CreditForm/FailedStatusContent.js +5 -0
  124. package/lib/components/CreditForm/FailedStatusContent.js.map +1 -0
  125. package/lib/components/CreditForm/PendingStatusContent.d.ts +2 -0
  126. package/lib/components/CreditForm/PendingStatusContent.js +30 -0
  127. package/lib/components/CreditForm/PendingStatusContent.js.map +1 -0
  128. package/lib/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  129. package/lib/components/CreditForm/ReworkStatusContent.js +23 -0
  130. package/lib/components/CreditForm/ReworkStatusContent.js.map +1 -0
  131. package/lib/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  132. package/lib/components/CreditForm/SuccessStatusContent.js +30 -0
  133. package/lib/components/CreditForm/SuccessStatusContent.js.map +1 -0
  134. package/lib/components/CreditForm/creditFormStepsData.js +3 -0
  135. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  136. package/lib/components/CreditForm/formStateMap.d.ts +72 -0
  137. package/lib/components/CreditForm/formStateMap.js +79 -0
  138. package/lib/components/CreditForm/formStateMap.js.map +1 -0
  139. package/lib/components/CreditForm/getInitialFormState.d.ts +1 -63
  140. package/lib/components/CreditForm/getInitialFormState.js +13 -73
  141. package/lib/components/CreditForm/getInitialFormState.js.map +1 -1
  142. package/lib/components/CreditForm/renderInfo.d.ts +2 -0
  143. package/lib/components/CreditForm/renderInfo.js +9 -0
  144. package/lib/components/CreditForm/renderInfo.js.map +1 -0
  145. package/lib/components/CreditForm/renderInputs.js +1 -3
  146. package/lib/components/CreditForm/renderInputs.js.map +1 -1
  147. package/lib/components/CreditForm/renderStep.d.ts +10 -0
  148. package/lib/components/CreditForm/renderStep.js +8 -0
  149. package/lib/components/CreditForm/renderStep.js.map +1 -0
  150. package/{mobile/bundle/components/CreditForm/useCreditFormApi.d.ts → lib/components/CreditForm/useCreditFormAPI.d.ts} +4 -3
  151. package/lib/components/CreditForm/{useCreditFormApi.js → useCreditFormAPI.js} +5 -2
  152. package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -0
  153. package/lib/hooks/useForm.d.ts +1 -1
  154. package/lib/hooks/useForm.js +1 -0
  155. package/lib/hooks/useForm.js.map +1 -1
  156. package/lib/model/InputSectionsType.d.ts +5 -0
  157. package/lib/model/InputSectionsType.js +2 -0
  158. package/lib/model/InputSectionsType.js.map +1 -0
  159. package/mobile/bundle/api/RetailAPI/getTaskStatus.d.ts +14 -0
  160. package/mobile/bundle/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  161. package/mobile/bundle/bundle.umd.js +219 -39
  162. package/mobile/bundle/bundle.umd.min.js +1 -1
  163. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  164. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  165. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  166. package/mobile/bundle/components/CreditForm/CreditForm.d.ts +2 -2
  167. package/mobile/bundle/components/CreditForm/CreditFormContent.d.ts +5 -23
  168. package/mobile/bundle/components/CreditForm/CreditFormProgress.d.ts +1 -1
  169. package/mobile/bundle/components/CreditForm/CreditFormStatus.d.ts +16 -0
  170. package/mobile/bundle/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  171. package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +5 -6
  172. package/mobile/bundle/components/CreditForm/FailedStatusContent.d.ts +2 -0
  173. package/mobile/bundle/components/CreditForm/PendingStatusContent.d.ts +2 -0
  174. package/mobile/bundle/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  175. package/mobile/bundle/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  176. package/mobile/bundle/components/CreditForm/formStateMap.d.ts +72 -0
  177. package/mobile/bundle/components/CreditForm/getInitialFormState.d.ts +1 -63
  178. package/mobile/bundle/components/CreditForm/renderInfo.d.ts +3 -0
  179. package/mobile/bundle/components/CreditForm/renderStep.d.ts +11 -0
  180. package/{dist/components/CreditForm/useCreditFormApi.d.ts → mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts} +4 -3
  181. package/mobile/bundle/hooks/useForm.d.ts +1 -1
  182. package/mobile/bundle/model/InputSectionsType.d.ts +5 -0
  183. package/mobile/dist/api/RetailAPI/getTaskStatus.d.ts +14 -0
  184. package/mobile/dist/api/RetailAPI/getTaskStatus.js +13 -0
  185. package/mobile/dist/api/RetailAPI/getTaskStatus.js.map +1 -0
  186. package/mobile/dist/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  187. package/mobile/dist/api/RetailAPI/sendSignalToProcess.js +6 -0
  188. package/mobile/dist/api/RetailAPI/sendSignalToProcess.js.map +1 -0
  189. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  190. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -3
  191. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  192. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  193. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  194. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +3 -2
  195. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  196. package/mobile/dist/components/CreditForm/CreditForm.d.ts +2 -2
  197. package/mobile/dist/components/CreditForm/CreditForm.js +17 -6
  198. package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
  199. package/mobile/dist/components/CreditForm/CreditFormContent.d.ts +5 -23
  200. package/mobile/dist/components/CreditForm/CreditFormProgress.d.ts +1 -1
  201. package/mobile/dist/components/CreditForm/CreditFormProgress.js +3 -3
  202. package/mobile/dist/components/CreditForm/CreditFormProgress.js.map +1 -1
  203. package/mobile/dist/components/CreditForm/CreditFormStatus.d.ts +16 -0
  204. package/mobile/dist/components/CreditForm/CreditFormStatus.js +25 -0
  205. package/mobile/dist/components/CreditForm/CreditFormStatus.js.map +1 -0
  206. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  207. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +42 -0
  208. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -0
  209. package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +5 -6
  210. package/mobile/dist/components/CreditForm/CreditFormStep.js +19 -19
  211. package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
  212. package/mobile/dist/components/CreditForm/FailedStatusContent.d.ts +2 -0
  213. package/mobile/dist/components/CreditForm/FailedStatusContent.js +7 -0
  214. package/mobile/dist/components/CreditForm/FailedStatusContent.js.map +1 -0
  215. package/mobile/dist/components/CreditForm/PendingStatusContent.d.ts +2 -0
  216. package/mobile/dist/components/CreditForm/PendingStatusContent.js +32 -0
  217. package/mobile/dist/components/CreditForm/PendingStatusContent.js.map +1 -0
  218. package/mobile/dist/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  219. package/mobile/dist/components/CreditForm/ReworkStatusContent.js +25 -0
  220. package/mobile/dist/components/CreditForm/ReworkStatusContent.js.map +1 -0
  221. package/mobile/dist/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  222. package/mobile/dist/components/CreditForm/SuccessStatusContent.js +32 -0
  223. package/mobile/dist/components/CreditForm/SuccessStatusContent.js.map +1 -0
  224. package/mobile/dist/components/CreditForm/creditFormStepsData.js +3 -0
  225. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  226. package/mobile/dist/components/CreditForm/formStateMap.d.ts +72 -0
  227. package/mobile/dist/components/CreditForm/formStateMap.js +81 -0
  228. package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -0
  229. package/mobile/dist/components/CreditForm/getInitialFormState.d.ts +1 -63
  230. package/mobile/dist/components/CreditForm/getInitialFormState.js +14 -74
  231. package/mobile/dist/components/CreditForm/getInitialFormState.js.map +1 -1
  232. package/mobile/dist/components/CreditForm/renderInfo.d.ts +3 -0
  233. package/mobile/dist/components/CreditForm/renderInfo.js +12 -0
  234. package/mobile/dist/components/CreditForm/renderInfo.js.map +1 -0
  235. package/mobile/dist/components/CreditForm/renderInputs.js +1 -3
  236. package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
  237. package/mobile/dist/components/CreditForm/renderStep.d.ts +11 -0
  238. package/mobile/dist/components/CreditForm/renderStep.js +11 -0
  239. package/mobile/dist/components/CreditForm/renderStep.js.map +1 -0
  240. package/mobile/dist/components/CreditForm/useCreditFormAPI.d.ts +13 -0
  241. package/mobile/dist/components/CreditForm/{useCreditFormApi.js → useCreditFormAPI.js} +7 -4
  242. package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -0
  243. package/mobile/dist/hooks/useForm.d.ts +1 -1
  244. package/mobile/dist/hooks/useForm.js +1 -0
  245. package/mobile/dist/hooks/useForm.js.map +1 -1
  246. package/mobile/dist/model/InputSectionsType.d.ts +5 -0
  247. package/mobile/dist/model/InputSectionsType.js +2 -0
  248. package/mobile/dist/model/InputSectionsType.js.map +1 -0
  249. package/mobile/lib/api/RetailAPI/getTaskStatus.d.ts +14 -0
  250. package/mobile/lib/api/RetailAPI/getTaskStatus.js +10 -0
  251. package/mobile/lib/api/RetailAPI/getTaskStatus.js.map +1 -0
  252. package/mobile/lib/api/RetailAPI/sendSignalToProcess.d.ts +11 -0
  253. package/mobile/lib/api/RetailAPI/sendSignalToProcess.js +3 -0
  254. package/mobile/lib/api/RetailAPI/sendSignalToProcess.js.map +1 -0
  255. package/mobile/lib/common.css +1 -1
  256. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  257. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -3
  258. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  259. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -16
  260. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +2 -0
  261. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +3 -2
  262. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  263. package/mobile/lib/components/CreditForm/CreditForm.d.ts +2 -2
  264. package/mobile/lib/components/CreditForm/CreditForm.js +17 -6
  265. package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
  266. package/mobile/lib/components/CreditForm/CreditFormContent.d.ts +5 -23
  267. package/mobile/lib/components/CreditForm/CreditFormProgress.d.ts +1 -1
  268. package/mobile/lib/components/CreditForm/CreditFormProgress.js +3 -3
  269. package/mobile/lib/components/CreditForm/CreditFormProgress.js.map +1 -1
  270. package/mobile/lib/components/CreditForm/CreditFormStatus.d.ts +16 -0
  271. package/mobile/lib/components/CreditForm/CreditFormStatus.js +23 -0
  272. package/mobile/lib/components/CreditForm/CreditFormStatus.js.map +1 -0
  273. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.d.ts +2 -0
  274. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +40 -0
  275. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -0
  276. package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +5 -6
  277. package/mobile/lib/components/CreditForm/CreditFormStep.js +19 -19
  278. package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
  279. package/mobile/lib/components/CreditForm/FailedStatusContent.d.ts +2 -0
  280. package/mobile/lib/components/CreditForm/FailedStatusContent.js +5 -0
  281. package/mobile/lib/components/CreditForm/FailedStatusContent.js.map +1 -0
  282. package/mobile/lib/components/CreditForm/PendingStatusContent.d.ts +2 -0
  283. package/mobile/lib/components/CreditForm/PendingStatusContent.js +30 -0
  284. package/mobile/lib/components/CreditForm/PendingStatusContent.js.map +1 -0
  285. package/mobile/lib/components/CreditForm/ReworkStatusContent.d.ts +2 -0
  286. package/mobile/lib/components/CreditForm/ReworkStatusContent.js +23 -0
  287. package/mobile/lib/components/CreditForm/ReworkStatusContent.js.map +1 -0
  288. package/mobile/lib/components/CreditForm/SuccessStatusContent.d.ts +2 -0
  289. package/mobile/lib/components/CreditForm/SuccessStatusContent.js +30 -0
  290. package/mobile/lib/components/CreditForm/SuccessStatusContent.js.map +1 -0
  291. package/mobile/lib/components/CreditForm/creditFormStepsData.js +3 -0
  292. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  293. package/mobile/lib/components/CreditForm/formStateMap.d.ts +72 -0
  294. package/mobile/lib/components/CreditForm/formStateMap.js +79 -0
  295. package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -0
  296. package/mobile/lib/components/CreditForm/getInitialFormState.d.ts +1 -63
  297. package/mobile/lib/components/CreditForm/getInitialFormState.js +13 -73
  298. package/mobile/lib/components/CreditForm/getInitialFormState.js.map +1 -1
  299. package/mobile/lib/components/CreditForm/renderInfo.d.ts +3 -0
  300. package/mobile/lib/components/CreditForm/renderInfo.js +9 -0
  301. package/mobile/lib/components/CreditForm/renderInfo.js.map +1 -0
  302. package/mobile/lib/components/CreditForm/renderInputs.js +1 -3
  303. package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
  304. package/mobile/lib/components/CreditForm/renderStep.d.ts +11 -0
  305. package/mobile/lib/components/CreditForm/renderStep.js +8 -0
  306. package/mobile/lib/components/CreditForm/renderStep.js.map +1 -0
  307. package/mobile/lib/components/CreditForm/useCreditFormAPI.d.ts +13 -0
  308. package/mobile/lib/components/CreditForm/{useCreditFormApi.js → useCreditFormAPI.js} +5 -2
  309. package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -0
  310. package/mobile/lib/hooks/useForm.d.ts +1 -1
  311. package/mobile/lib/hooks/useForm.js +1 -0
  312. package/mobile/lib/hooks/useForm.js.map +1 -1
  313. package/mobile/lib/model/InputSectionsType.d.ts +5 -0
  314. package/mobile/lib/model/InputSectionsType.js +2 -0
  315. package/mobile/lib/model/InputSectionsType.js.map +1 -0
  316. package/mobile/src/api/RetailAPI/getTaskStatus.ts +16 -0
  317. package/mobile/src/api/RetailAPI/sendSignalToProcess.ts +19 -0
  318. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +3 -3
  319. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -3
  320. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +3 -16
  321. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +8 -1
  322. package/mobile/src/components/CreditForm/CreditForm.tsx +38 -11
  323. package/mobile/src/components/CreditForm/CreditFormContent.ts +6 -30
  324. package/mobile/src/components/CreditForm/CreditFormProgress.tsx +5 -5
  325. package/mobile/src/components/CreditForm/CreditFormStatus.tsx +119 -0
  326. package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +47 -0
  327. package/mobile/src/components/CreditForm/CreditFormStep.tsx +39 -36
  328. package/mobile/src/components/CreditForm/FailedStatusContent.tsx +11 -0
  329. package/mobile/src/components/CreditForm/PendingStatusContent.tsx +38 -0
  330. package/mobile/src/components/CreditForm/ReworkStatusContent.tsx +32 -0
  331. package/mobile/src/components/CreditForm/SuccessStatusContent.tsx +37 -0
  332. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +3 -0
  333. package/mobile/src/components/CreditForm/formStateMap.tsx +151 -0
  334. package/mobile/src/components/CreditForm/getInitialFormState.tsx +13 -143
  335. package/mobile/src/components/CreditForm/renderInfo.tsx +10 -0
  336. package/mobile/src/components/CreditForm/renderInputs.tsx +2 -3
  337. package/mobile/src/components/CreditForm/renderStep.tsx +25 -0
  338. package/mobile/src/components/CreditForm/{useCreditFormApi.tsx → useCreditFormAPI.tsx} +14 -3
  339. package/mobile/src/hooks/useForm.ts +3 -1
  340. package/mobile/src/model/InputSectionsType.ts +6 -0
  341. package/package.json +2 -2
  342. package/src/api/RetailAPI/getTaskStatus.ts +16 -0
  343. package/src/api/RetailAPI/sendSignalToProcess.ts +19 -0
  344. package/src/components/ApplicationForm/ApplicationFormContent.ts +3 -3
  345. package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.mobile.tsx +0 -2
  346. package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.tsx +0 -2
  347. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -3
  348. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +3 -16
  349. package/src/components/CalculatorCredit/CalculatorCredit.tsx +8 -1
  350. package/src/components/CreditForm/CreditForm.tsx +38 -11
  351. package/src/components/CreditForm/CreditFormContent.ts +6 -30
  352. package/src/components/CreditForm/CreditFormProgress.tsx +5 -5
  353. package/src/components/CreditForm/CreditFormStatus.tsx +119 -0
  354. package/src/components/CreditForm/CreditFormStatusTracker.tsx +47 -0
  355. package/src/components/CreditForm/CreditFormStep.tsx +39 -36
  356. package/src/components/CreditForm/FailedStatusContent.tsx +11 -0
  357. package/src/components/CreditForm/PendingStatusContent.tsx +38 -0
  358. package/src/components/CreditForm/ReworkStatusContent.tsx +32 -0
  359. package/src/components/CreditForm/SuccessStatusContent.tsx +37 -0
  360. package/src/components/CreditForm/creditFormStepsData.tsx +3 -0
  361. package/src/components/CreditForm/formStateMap.tsx +151 -0
  362. package/src/components/CreditForm/getInitialFormState.tsx +13 -143
  363. package/src/components/CreditForm/renderInfo.tsx +10 -0
  364. package/src/components/CreditForm/renderInputs.tsx +2 -3
  365. package/src/components/CreditForm/renderStep.tsx +25 -0
  366. package/src/components/CreditForm/{useCreditFormApi.tsx → useCreditFormAPI.tsx} +14 -3
  367. package/src/hooks/useForm.ts +3 -1
  368. package/src/model/InputSectionsType.ts +6 -0
  369. package/bundle/api/FileStorage.d.ts +0 -18
  370. package/dist/api/FileStorage.d.ts +0 -18
  371. package/dist/api/FileStorage.js +0 -60
  372. package/dist/api/FileStorage.js.map +0 -1
  373. package/dist/components/CreditForm/useCreditFormApi.js.map +0 -1
  374. package/lib/api/FileStorage.d.ts +0 -18
  375. package/lib/api/FileStorage.js +0 -58
  376. package/lib/api/FileStorage.js.map +0 -1
  377. package/lib/components/CreditForm/useCreditFormApi.js.map +0 -1
  378. package/mobile/bundle/api/FileStorage.d.ts +0 -18
  379. package/mobile/dist/api/FileStorage.d.ts +0 -18
  380. package/mobile/dist/api/FileStorage.js +0 -60
  381. package/mobile/dist/api/FileStorage.js.map +0 -1
  382. package/mobile/dist/components/CreditForm/useCreditFormApi.d.ts +0 -12
  383. package/mobile/dist/components/CreditForm/useCreditFormApi.js.map +0 -1
  384. package/mobile/lib/api/FileStorage.d.ts +0 -18
  385. package/mobile/lib/api/FileStorage.js +0 -58
  386. package/mobile/lib/api/FileStorage.js.map +0 -1
  387. package/mobile/lib/components/CreditForm/useCreditFormApi.d.ts +0 -12
  388. package/mobile/lib/components/CreditForm/useCreditFormApi.js.map +0 -1
  389. package/mobile/src/api/FileStorage.ts +0 -99
  390. package/src/api/FileStorage.ts +0 -99
@@ -1,18 +0,0 @@
1
- export declare type FileId = string;
2
- export declare type ProjectId = string | number;
3
- export declare type SearchParams = Record<string, string>;
4
- export interface FileMeta {
5
- id?: FileId;
6
- path?: string;
7
- timestamp?: Date;
8
- size?: number;
9
- }
10
- export interface SearchResult {
11
- rows: FileMeta[];
12
- total: number;
13
- }
14
- export declare const FileStorage: {
15
- getById: <T>(id: FileId) => Promise<T | null>;
16
- getByName: (projectId: ProjectId, name: string) => Promise<any>;
17
- find: (projectId: ProjectId, params?: SearchParams) => Promise<SearchResult>;
18
- };
@@ -1,58 +0,0 @@
1
- import { API_BASE_URI } from './apiBaseUrl.js';
2
- const WCMS_FILE_STORAGE_API_URI = '/wcms-file-storage';
3
- const fileStorageApi = process?.env?.NEXT_PUBLIC_FILE_STORAGE_URL
4
- ? `${process.env.NEXT_PUBLIC_FILE_STORAGE_URL}/${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`
5
- : `${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`;
6
- const toFileMeta = (meta) => ({
7
- id: meta.publicId,
8
- path: meta.name || 'blank',
9
- timestamp: meta.timestamp ? new Date(meta.timestamp) : undefined,
10
- size: meta.size,
11
- });
12
- const parseNDJson = async (response) => {
13
- return (await response.text())
14
- .split('\n')
15
- .filter(Boolean)
16
- .map((_) => JSON.parse(_));
17
- };
18
- const parseTotalCount = (response) => parseInt(response.headers.get('x-total-count') || '0');
19
- const getById = async (id) => {
20
- try {
21
- return fetch(`${fileStorageApi}/${id}/file`).then(async (response) => response.json());
22
- }
23
- catch (e) {
24
- console.error(e);
25
- return null;
26
- }
27
- };
28
- const getByName = async (projectId, name) => {
29
- try {
30
- return fetch(`${fileStorageApi}/project/${projectId}/file/${encodeURIComponent(name)}`).then(async (response) => response.json());
31
- }
32
- catch (e) {
33
- console.error(e);
34
- return {};
35
- }
36
- };
37
- const find = async (projectId, params) => {
38
- const response = await fetch(`${fileStorageApi}/project/${projectId}/doc?${new URLSearchParams(params)}`);
39
- try {
40
- return {
41
- rows: (await parseNDJson(response)).map(toFileMeta),
42
- total: parseTotalCount(response),
43
- };
44
- }
45
- catch (e) {
46
- console.error(e);
47
- return {
48
- rows: [],
49
- total: 0,
50
- };
51
- }
52
- };
53
- export const FileStorage = {
54
- getById,
55
- getByName,
56
- find,
57
- };
58
- //# sourceMappingURL=FileStorage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileStorage.js","sourceRoot":"","sources":["../../src/api/FileStorage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,yBAAyB,GAAG,oBAAoB,CAAC;AA6BvD,MAAM,cAAc,GAAG,OAAO,EAAE,GAAG,EAAE,4BAA4B;IAC/D,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,IAAI,YAAY,GAAG,yBAAyB,EAAE;IAC3F,CAAC,CAA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number;
3
- export declare type SearchParams = Record<string, string>;
4
- export interface FileMeta {
5
- id?: FileId;
6
- path?: string;
7
- timestamp?: Date;
8
- size?: number;
9
- }
10
- export interface SearchResult {
11
- rows: FileMeta[];
12
- total: number;
13
- }
14
- export declare const FileStorage: {
15
- getById: <T>(id: FileId) => Promise<T | null>;
16
- getByName: (projectId: ProjectId, name: string) => Promise<any>;
17
- find: (projectId: ProjectId, params?: SearchParams) => Promise<SearchResult>;
18
- };
@@ -1,18 +0,0 @@
1
- export declare type FileId = string;
2
- export declare type ProjectId = string | number;
3
- export declare type SearchParams = Record<string, string>;
4
- export interface FileMeta {
5
- id?: FileId;
6
- path?: string;
7
- timestamp?: Date;
8
- size?: number;
9
- }
10
- export interface SearchResult {
11
- rows: FileMeta[];
12
- total: number;
13
- }
14
- export declare const FileStorage: {
15
- getById: <T>(id: FileId) => Promise<T | null>;
16
- getByName: (projectId: ProjectId, name: string) => Promise<any>;
17
- find: (projectId: ProjectId, params?: SearchParams) => Promise<SearchResult>;
18
- };
@@ -1,60 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.FileStorage = void 0;
3
- const apiBaseUrl_1 = require("./apiBaseUrl");
4
- const WCMS_FILE_STORAGE_API_URI = '/wcms-file-storage';
5
- const fileStorageApi = process?.env?.NEXT_PUBLIC_FILE_STORAGE_URL
6
- ? `${process.env.NEXT_PUBLIC_FILE_STORAGE_URL}/${apiBaseUrl_1.API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`
7
- : `${apiBaseUrl_1.API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`;
8
- const toFileMeta = (meta) => ({
9
- id: meta.publicId,
10
- path: meta.name || 'blank',
11
- timestamp: meta.timestamp ? new Date(meta.timestamp) : undefined,
12
- size: meta.size,
13
- });
14
- const parseNDJson = async (response) => {
15
- return (await response.text())
16
- .split('\n')
17
- .filter(Boolean)
18
- .map((_) => JSON.parse(_));
19
- };
20
- const parseTotalCount = (response) => parseInt(response.headers.get('x-total-count') || '0');
21
- const getById = async (id) => {
22
- try {
23
- return fetch(`${fileStorageApi}/${id}/file`).then(async (response) => response.json());
24
- }
25
- catch (e) {
26
- console.error(e);
27
- return null;
28
- }
29
- };
30
- const getByName = async (projectId, name) => {
31
- try {
32
- return fetch(`${fileStorageApi}/project/${projectId}/file/${encodeURIComponent(name)}`).then(async (response) => response.json());
33
- }
34
- catch (e) {
35
- console.error(e);
36
- return {};
37
- }
38
- };
39
- const find = async (projectId, params) => {
40
- const response = await fetch(`${fileStorageApi}/project/${projectId}/doc?${new URLSearchParams(params)}`);
41
- try {
42
- return {
43
- rows: (await parseNDJson(response)).map(toFileMeta),
44
- total: parseTotalCount(response),
45
- };
46
- }
47
- catch (e) {
48
- console.error(e);
49
- return {
50
- rows: [],
51
- total: 0,
52
- };
53
- }
54
- };
55
- exports.FileStorage = {
56
- getById,
57
- getByName,
58
- find,
59
- };
60
- //# sourceMappingURL=FileStorage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileStorage.js","sourceRoot":"","sources":["../../src/api/FileStorage.ts"],"names":[],"mappings":";;AAAA,6CAA4C;AAE5C,MAAM,yBAAyB,GAAG,oBAAoB,CAAC;AA6BvD,MAAM,cAAc,GAAG,OAAO,EAAE,GAAG,EAAE,4BAA4B;IAC/D,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,IAAI,yBAAY,GAAG,yBAAyB,EAAE;IAC3F,CAAC,CAAC,GAAG,yBAAY,GAAG,yBAAyB,EAAE,CAAC;AAElD,MAAM,UAAU,GAAG,CAAC,IAAU,EAAY,EAAE,CAAC,CAAC;IAC5C,EAAE,EAAE,IAAI,CAAC,QAAQ;IACjB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,OAAO;IAC1B,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;IAChE,IAAI,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,EAAE,SAAoB,EAAE,MAAqB,EAAyB,EAAE;IACxF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAC1B,GAAG,cAAc,YAAY,SAAS,QAAQ,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAC5E,CAAC;IAEF,IAAI;QACF,OAAO;YACL,IAAI,EAAE,CAAC,MAAM,WAAW,CAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC;YACzD,KAAK,EAAE,eAAe,CAAC,QAAQ,CAAC;SACjC,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAEjB,OAAO;YACL,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,CAAC;SACT,CAAC;KACH;AACH,CAAC,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,OAAO;IACP,SAAS;IACT,IAAI;CACL,CAAC"}
@@ -1,12 +0,0 @@
1
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
- import { type FormStateMap } from './getInitialFormState';
3
- declare type CreditFormApiProps = {
4
- inputs: FieldDef[];
5
- step: number;
6
- onNextStep: () => void;
7
- saveStep: (value: Record<string, any>) => void;
8
- };
9
- export declare const useCreditFormApi: ({ inputs, step, onNextStep, saveStep }: CreditFormApiProps) => {
10
- handleSubmit: (formData: FormStateMap[keyof FormStateMap]) => Promise<void | "OK" | "Fail">;
11
- };
12
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCreditFormApi.js","sourceRoot":"","sources":["../../../src/components/CreditForm/useCreditFormApi.tsx"],"names":[],"mappings":";;AAAA,uDAA0D;AAC1D,uEAAoE;AACpE,iEAA8D;AAC9D,kFAA+E;AAC/E,sEAAmE;AACnE,0DAAiE;AAEjE,mEAAgE;AAUzD,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAsB,EAAE,EAAE;IAC7F,MAAM,CAAC,MAAM,CAAC,GAAG,IAAA,iCAAe,EAAS,QAAQ,CAAC,CAAC;IACnD,MAAM,CAAC,SAAS,CAAC,GAAG,IAAA,iCAAe,EAAS,WAAW,CAAC,CAAC;IACzD,MAAM,CAAC,aAAa,CAAC,GAAG,IAAA,iCAAe,EAAS,eAAe,CAAC,CAAC;IAEjE,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,KAAK,EAAE,QAA0C,EAAE,EAAE;QACpF,MAAM,iBAAiB,GAAG,IAAA,iCAAe,EAAC,IAAA,uCAAkB,EAAC,MAAM,CAAC,CAAC,CAAC;QACtE,IAAI,CAAC,IAAA,+BAAmB,EAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,EAAE;YACrD,OAAO,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SACxC;QAED,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEnB,IAAI;YACF,IAAI,MAAM,IAAI,SAAS,IAAI,aAAa,EAAE;gBACxC,MAAM,IAAA,+BAAc,EAClB,IAAA,6CAAqB,EAAC;oBACpB,aAAa;oBACb,MAAM;oBACN,SAAS;oBACT,IAAI;oBACJ,QAAQ,EAAE,QAAe;iBAC1B,CAAC,CACH,CAAC;aACH;SACF;QAAC,OAAO,EAAE,EAAE;YACX,OAAO,MAAM,CAAC;SACf;QAED,UAAU,EAAE,CAAC;QAEb,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,gBAAgB,oBAqC3B"}
@@ -1,18 +0,0 @@
1
- export declare type FileId = string;
2
- export declare type ProjectId = string | number;
3
- export declare type SearchParams = Record<string, string>;
4
- export interface FileMeta {
5
- id?: FileId;
6
- path?: string;
7
- timestamp?: Date;
8
- size?: number;
9
- }
10
- export interface SearchResult {
11
- rows: FileMeta[];
12
- total: number;
13
- }
14
- export declare const FileStorage: {
15
- getById: <T>(id: FileId) => Promise<T | null>;
16
- getByName: (projectId: ProjectId, name: string) => Promise<any>;
17
- find: (projectId: ProjectId, params?: SearchParams) => Promise<SearchResult>;
18
- };
@@ -1,58 +0,0 @@
1
- import { API_BASE_URI } from './apiBaseUrl.js';
2
- const WCMS_FILE_STORAGE_API_URI = '/wcms-file-storage';
3
- const fileStorageApi = process?.env?.NEXT_PUBLIC_FILE_STORAGE_URL
4
- ? `${process.env.NEXT_PUBLIC_FILE_STORAGE_URL}/${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`
5
- : `${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`;
6
- const toFileMeta = (meta) => ({
7
- id: meta.publicId,
8
- path: meta.name || 'blank',
9
- timestamp: meta.timestamp ? new Date(meta.timestamp) : undefined,
10
- size: meta.size,
11
- });
12
- const parseNDJson = async (response) => {
13
- return (await response.text())
14
- .split('\n')
15
- .filter(Boolean)
16
- .map((_) => JSON.parse(_));
17
- };
18
- const parseTotalCount = (response) => parseInt(response.headers.get('x-total-count') || '0');
19
- const getById = async (id) => {
20
- try {
21
- return fetch(`${fileStorageApi}/${id}/file`).then(async (response) => response.json());
22
- }
23
- catch (e) {
24
- console.error(e);
25
- return null;
26
- }
27
- };
28
- const getByName = async (projectId, name) => {
29
- try {
30
- return fetch(`${fileStorageApi}/project/${projectId}/file/${encodeURIComponent(name)}`).then(async (response) => response.json());
31
- }
32
- catch (e) {
33
- console.error(e);
34
- return {};
35
- }
36
- };
37
- const find = async (projectId, params) => {
38
- const response = await fetch(`${fileStorageApi}/project/${projectId}/doc?${new URLSearchParams(params)}`);
39
- try {
40
- return {
41
- rows: (await parseNDJson(response)).map(toFileMeta),
42
- total: parseTotalCount(response),
43
- };
44
- }
45
- catch (e) {
46
- console.error(e);
47
- return {
48
- rows: [],
49
- total: 0,
50
- };
51
- }
52
- };
53
- export const FileStorage = {
54
- getById,
55
- getByName,
56
- find,
57
- };
58
- //# sourceMappingURL=FileStorage.js.map
@@ -1 +0,0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CAAC"}
@@ -1,12 +0,0 @@
1
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
- import { type FormStateMap } from './getInitialFormState';
3
- declare type CreditFormApiProps = {
4
- inputs: FieldDef[];
5
- step: number;
6
- onNextStep: () => void;
7
- saveStep: (value: Record<string, any>) => void;
8
- };
9
- export declare const useCreditFormApi: ({ inputs, step, onNextStep, saveStep }: CreditFormApiProps) => {
10
- handleSubmit: (formData: FormStateMap[keyof FormStateMap]) => Promise<void | "OK" | "Fail">;
11
- };
12
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCreditFormApi.js","sourceRoot":"","sources":["../../../src/components/CreditForm/useCreditFormApi.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAUhE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAsB,EAAE,EAAE;IAC7F,MAAM,CAAC,MAAM,CAAC,GAAG,eAAe,CAAS,QAAQ,CAAC,CAAC;IACnD,MAAM,CAAC,SAAS,CAAC,GAAG,eAAe,CAAS,WAAW,CAAC,CAAC;IACzD,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAS,eAAe,CAAC,CAAC;IAEjE,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,QAA0C,EAAE,EAAE;QACpF,MAAM,iBAAiB,GAAG,eAAe,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;QACtE,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,EAAE;YACrD,OAAO,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SACxC;QAED,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEnB,IAAI;YACF,IAAI,MAAM,IAAI,SAAS,IAAI,aAAa,EAAE;gBACxC,MAAM,cAAc,CAClB,qBAAqB,CAAC;oBACpB,aAAa;oBACb,MAAM;oBACN,SAAS;oBACT,IAAI;oBACJ,QAAQ,EAAE,QAAe;iBAC1B,CAAC,CACH,CAAC;aACH;SACF;QAAC,OAAO,EAAE,EAAE;YACX,OAAO,MAAM,CAAC;SACf;QAED,UAAU,EAAE,CAAC;QAEb,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC"}
@@ -1,99 +0,0 @@
1
- import { API_BASE_URI } from './apiBaseUrl';
2
-
3
- const WCMS_FILE_STORAGE_API_URI = '/wcms-file-storage';
4
-
5
- export type FileId = string;
6
- export type ProjectId = string | number;
7
- export type SearchParams = Record<string, string>;
8
-
9
- export interface FileMeta {
10
- id?: FileId;
11
- path?: string;
12
- timestamp?: Date;
13
- size?: number;
14
- }
15
-
16
- interface Meta {
17
- publicId: string;
18
- revision?: string | number;
19
- projectId?: string;
20
- name?: string;
21
- description?: string;
22
- size?: number;
23
- responsible?: string;
24
- timestamp?: string;
25
- }
26
-
27
- export interface SearchResult {
28
- rows: FileMeta[];
29
- total: number;
30
- }
31
-
32
- const fileStorageApi = process?.env?.NEXT_PUBLIC_FILE_STORAGE_URL
33
- ? `${process.env.NEXT_PUBLIC_FILE_STORAGE_URL}/${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`
34
- : `${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`;
35
-
36
- const toFileMeta = (meta: Meta): FileMeta => ({
37
- id: meta.publicId,
38
- path: meta.name || 'blank',
39
- timestamp: meta.timestamp ? new Date(meta.timestamp) : undefined,
40
- size: meta.size,
41
- });
42
-
43
- const parseNDJson = async <T>(response: Response): Promise<T[]> => {
44
- return (await response.text())
45
- .split('\n')
46
- .filter(Boolean)
47
- .map((_) => JSON.parse(_));
48
- };
49
-
50
- const parseTotalCount = (response: Response): number =>
51
- parseInt(response.headers.get('x-total-count') || '0');
52
-
53
- const getById = async <T>(id: FileId): Promise<T | null> => {
54
- try {
55
- return fetch(`${fileStorageApi}/${id}/file`).then(async (response) => response.json());
56
- } catch (e) {
57
- console.error(e);
58
-
59
- return null;
60
- }
61
- };
62
-
63
- const getByName = async (projectId: ProjectId, name: string) => {
64
- try {
65
- return fetch(`${fileStorageApi}/project/${projectId}/file/${encodeURIComponent(name)}`).then(
66
- async (response) => response.json(),
67
- );
68
- } catch (e) {
69
- console.error(e);
70
-
71
- return {};
72
- }
73
- };
74
-
75
- const find = async (projectId: ProjectId, params?: SearchParams): Promise<SearchResult> => {
76
- const response = await fetch(
77
- `${fileStorageApi}/project/${projectId}/doc?${new URLSearchParams(params)}`,
78
- );
79
-
80
- try {
81
- return {
82
- rows: (await parseNDJson<Meta>(response)).map(toFileMeta),
83
- total: parseTotalCount(response),
84
- };
85
- } catch (e) {
86
- console.error(e);
87
-
88
- return {
89
- rows: [],
90
- total: 0,
91
- };
92
- }
93
- };
94
-
95
- export const FileStorage = {
96
- getById,
97
- getByName,
98
- find,
99
- };
@@ -1,99 +0,0 @@
1
- import { API_BASE_URI } from './apiBaseUrl';
2
-
3
- const WCMS_FILE_STORAGE_API_URI = '/wcms-file-storage';
4
-
5
- export type FileId = string;
6
- export type ProjectId = string | number;
7
- export type SearchParams = Record<string, string>;
8
-
9
- export interface FileMeta {
10
- id?: FileId;
11
- path?: string;
12
- timestamp?: Date;
13
- size?: number;
14
- }
15
-
16
- interface Meta {
17
- publicId: string;
18
- revision?: string | number;
19
- projectId?: string;
20
- name?: string;
21
- description?: string;
22
- size?: number;
23
- responsible?: string;
24
- timestamp?: string;
25
- }
26
-
27
- export interface SearchResult {
28
- rows: FileMeta[];
29
- total: number;
30
- }
31
-
32
- const fileStorageApi = process?.env?.NEXT_PUBLIC_FILE_STORAGE_URL
33
- ? `${process.env.NEXT_PUBLIC_FILE_STORAGE_URL}/${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`
34
- : `${API_BASE_URI}${WCMS_FILE_STORAGE_API_URI}`;
35
-
36
- const toFileMeta = (meta: Meta): FileMeta => ({
37
- id: meta.publicId,
38
- path: meta.name || 'blank',
39
- timestamp: meta.timestamp ? new Date(meta.timestamp) : undefined,
40
- size: meta.size,
41
- });
42
-
43
- const parseNDJson = async <T>(response: Response): Promise<T[]> => {
44
- return (await response.text())
45
- .split('\n')
46
- .filter(Boolean)
47
- .map((_) => JSON.parse(_));
48
- };
49
-
50
- const parseTotalCount = (response: Response): number =>
51
- parseInt(response.headers.get('x-total-count') || '0');
52
-
53
- const getById = async <T>(id: FileId): Promise<T | null> => {
54
- try {
55
- return fetch(`${fileStorageApi}/${id}/file`).then(async (response) => response.json());
56
- } catch (e) {
57
- console.error(e);
58
-
59
- return null;
60
- }
61
- };
62
-
63
- const getByName = async (projectId: ProjectId, name: string) => {
64
- try {
65
- return fetch(`${fileStorageApi}/project/${projectId}/file/${encodeURIComponent(name)}`).then(
66
- async (response) => response.json(),
67
- );
68
- } catch (e) {
69
- console.error(e);
70
-
71
- return {};
72
- }
73
- };
74
-
75
- const find = async (projectId: ProjectId, params?: SearchParams): Promise<SearchResult> => {
76
- const response = await fetch(
77
- `${fileStorageApi}/project/${projectId}/doc?${new URLSearchParams(params)}`,
78
- );
79
-
80
- try {
81
- return {
82
- rows: (await parseNDJson<Meta>(response)).map(toFileMeta),
83
- total: parseTotalCount(response),
84
- };
85
- } catch (e) {
86
- console.error(e);
87
-
88
- return {
89
- rows: [],
90
- total: 0,
91
- };
92
- }
93
- };
94
-
95
- export const FileStorage = {
96
- getById,
97
- getByName,
98
- find,
99
- };