@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,5 +1,6 @@
1
1
  import { type AspectsProps } from '../../model/AspectsProps';
2
2
  import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
3
4
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
4
5
  import { type Target } from '../../model/LinkProps';
5
6
  import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
@@ -96,7 +97,7 @@ declare type additionalParamsType = hideProductDef | showProductDef;
96
97
  /**
97
98
  * @title Форма заявки настраиваемая
98
99
  */
99
- export declare type ApplicationFormContent = UniBlockContent & TitleProps & AspectsProps & {
100
+ export declare type ApplicationFormContent = UniBlockContent & TitleProps & AspectsProps & InputSectionsType & {
100
101
  /** @title Кнопка */
101
102
  button?: SubmitButtonProps;
102
103
  /**
@@ -110,8 +111,6 @@ export declare type ApplicationFormContent = UniBlockContent & TitleProps & Aspe
110
111
  target?: Target;
111
112
  };
112
113
  typeForm?: TypeFormFieldDef;
113
- /** @hidden */
114
- sections?: SectionsProps[];
115
114
  endpoint?: EndpointType;
116
115
  /** @title Дополнительные параметры формы */
117
116
  additionalParams?: additionalParamsType;
@@ -1,7 +1,7 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
2
  import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
3
4
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
4
- import { type Target } from '../../model/LinkProps';
5
5
  import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
6
6
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
7
7
  import { type FormState } from './getInitialFormState';
@@ -78,27 +78,13 @@ export declare type SectionsProps = TitleProps & {
78
78
  /**
79
79
  * @title Форма заявки настраиваемая
80
80
  */
81
- export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & {
81
+ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputSectionsType & {
82
82
  /** @title Кнопка */
83
83
  button?: SubmitButtonProps;
84
- /**
85
- * @title Условия передачи данных
86
- * @required ["text", "href"]
87
- */
88
- link?: TextProps & {
89
- /** @title URL (href) */
90
- href?: string;
91
- /** @default "" */
92
- target?: Target;
93
- };
94
84
  /** @title Номер кредитной программы */
95
85
  programId?: string;
96
86
  /** @title адресс следующей страницы заявки */
97
87
  nextStepLink?: string;
98
- typeForm?: TypeFormFieldDef;
99
- /** @hidden */
100
- sections?: SectionsProps[];
101
- endpoint?: EndpointType;
102
88
  };
103
89
  /** @hidden */
104
90
  export interface GroupedConsentsProps {
@@ -1,8 +1,10 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
+ import { type PreventableEvent } from '../../ui-kit/PreventableEvent';
2
3
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
3
4
  import { type CalculatorCreditContent, type CreditCalculatorData } from './CalculatorCreditContent';
4
5
  export interface CalculatorDepositProps extends CalculatorCreditContent, UniBlockProps {
5
6
  className?: string;
6
7
  calcSource?: CreditCalculatorData & JSONRefObject;
8
+ registerSubmit?: (submit: ((ev: PreventableEvent) => Record<string, any>) | undefined) => void;
7
9
  }
8
10
  export declare const CalculatorCredit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorDepositProps>;
@@ -1,6 +1,6 @@
1
1
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
2
  import { type CreditFormContent } from './CreditFormContent';
3
- interface CreditFormProps extends CreditFormContent, UniBlockProps {
3
+ interface CreditFormWizardProps extends CreditFormContent, UniBlockProps {
4
4
  }
5
- export declare const CreditForm: import("@redneckz/uni-jsx").UNIComponent<CreditFormProps, any, any>;
5
+ export declare const CreditForm: import("@redneckz/uni-jsx").UNIComponent<CreditFormWizardProps, any, any>;
6
6
  export {};
@@ -1,36 +1,18 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type TextProps, type TitleProps } from '../../model/HeadlineType';
3
- import { type Target } from '../../model/LinkProps';
2
+ import { type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
4
4
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- import { type EndpointType, type SectionsProps, type SubmitButtonProps } from '../ApplicationForm/ApplicationFormContent';
6
- import { type FieldDef, type TypeFormFieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
7
- import { type FormStateMap } from './getInitialFormState';
5
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
6
+ import { type FormStateMap } from './formStateMap';
8
7
  /**
9
8
  * @title Форма заявки на потребительский кредит настраиваемая
10
9
  */
11
- export declare type CreditFormContent = UniBlockContent & TitleProps & {
12
- /** @title Кнопка */
13
- button?: SubmitButtonProps;
14
- /**
15
- * @title Условия передачи данных
16
- * @required ["text", "href"]
17
- */
18
- link?: TextProps & {
19
- /** @title URL (href) */
20
- href?: string;
21
- /** @default "" */
22
- target?: Target;
23
- };
10
+ export declare type CreditFormContent = UniBlockContent & TitleProps & InputSectionsType & {
24
11
  /** @title Номер кредитной программы */
25
12
  programId?: string;
26
- typeForm?: TypeFormFieldDef;
27
- /** @hidden */
28
- sections?: SectionsProps[];
29
- endpoint?: EndpointType;
30
13
  };
31
14
  /** @hidden */
32
15
  export interface RenderInputsProps {
33
16
  inputs?: FieldDef[];
34
- typeForm?: TypeFormFieldDef | string;
35
17
  field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
36
18
  }
@@ -1,6 +1,6 @@
1
1
  export interface CreditFormProgressProps {
2
2
  step: number;
3
- totalSteps: number;
3
+ totalSteps?: number;
4
4
  stepsTitles?: string[];
5
5
  }
6
6
  export declare const CreditFormProgress: import("@redneckz/uni-jsx").UNIComponent<CreditFormProgressProps, any, any>;
@@ -0,0 +1,16 @@
1
+ import { type DescriptionProps, type LabelProps } from '../../model/HeadlineType';
2
+ import { type InfoCardProps } from '../../ui-kit/InfoCard/InfoCard';
3
+ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
4
+ declare type CreditFormStatusProps = UniBlockProps & {
5
+ title?: string;
6
+ description?: string;
7
+ interval?: number;
8
+ sectionInfoTitle?: string;
9
+ sectionInfo?: (LabelProps & DescriptionProps)[];
10
+ sectionAdditionalTitle?: string;
11
+ sectionInfoAdditional?: (LabelProps & DescriptionProps)[];
12
+ buttonText?: string;
13
+ infoCard?: InfoCardProps;
14
+ };
15
+ export declare const CreditFormStatus: import("@redneckz/uni-jsx").UNIComponent<CreditFormStatusProps, any, any>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const CreditFormStatusTracker: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -1,16 +1,15 @@
1
- import { type FormFieldRegisterer } from '../../hooks/useForm';
1
+ /// <reference types="react" />
2
2
  import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
3
3
  import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
4
- import { type FormStateMap } from './getInitialFormState';
5
- export interface StepProps {
6
- sections?: SectionsProps[];
7
- field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
8
- }
4
+ import { type StepProps } from './renderStep';
9
5
  export interface CreditFormStepProps {
10
6
  step: number;
11
7
  sections: SectionsProps[];
12
8
  inputs: FieldDef[];
13
9
  onNextStep: () => void;
14
10
  onPrevStep: () => void;
11
+ renderStep?: (props: StepProps) => JSX.Element | JSX.Element[] | undefined;
12
+ isFormFinished: boolean;
13
+ finishForm?: (bool: boolean) => void;
15
14
  }
16
15
  export declare const CreditFormStep: import("@redneckz/uni-jsx").UNIComponent<CreditFormStepProps, any, any>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const FailedStatusContent: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const PendingStatusContent: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ReworkStatusContent: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SuccessStatusContent: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,72 @@
1
+ import type { Option } from '../../ui-kit/Select/Option';
2
+ import { type Address } from '../ApplicationLeadForm/getInitialFormState';
3
+ export interface FormStateMap {
4
+ 0: {
5
+ moneyValue?: number;
6
+ monthsValue?: number;
7
+ isAnnuity?: boolean;
8
+ isInsurance?: boolean;
9
+ isSalaryClient?: boolean;
10
+ isPensionClient?: boolean;
11
+ isStateEmployee?: boolean;
12
+ };
13
+ 1: {
14
+ surname?: string;
15
+ name?: string;
16
+ middleName?: string;
17
+ sex?: string;
18
+ birthday?: Date;
19
+ birthPlace?: string;
20
+ phone?: string;
21
+ email?: string;
22
+ dulSerie?: number;
23
+ dulNumber?: number;
24
+ dulIssueDateField?: Date;
25
+ dulSubdivisionCode?: string;
26
+ dulIssuedBy?: string;
27
+ addressRegistration?: Address;
28
+ participantDateRegistration?: Date;
29
+ addressFact?: Address;
30
+ housing?: string;
31
+ };
32
+ 2: {
33
+ amountWorkers?: Option;
34
+ beginDate?: Date;
35
+ employerActivities?: Option;
36
+ employerOrganization?: Option;
37
+ employment?: Option;
38
+ experience5Years?: string;
39
+ inn?: number;
40
+ jobsNumber?: string;
41
+ lastJobExperience?: string;
42
+ legalForm?: string;
43
+ organization?: Option;
44
+ organizationAddress?: Address;
45
+ organizationName?: string;
46
+ organizationPhone?: string;
47
+ partInBusiness?: number;
48
+ positionOrganization?: Option;
49
+ };
50
+ 3: {
51
+ familyStatus?: Option;
52
+ dependents?: number;
53
+ familyMembers?: number;
54
+ mandatoryIncome?: number;
55
+ otherPayments?: number;
56
+ snils?: string;
57
+ armyIdFlg?: boolean;
58
+ };
59
+ 4: {
60
+ disablePeopleFlg?: boolean;
61
+ bankruptcyFlg?: boolean;
62
+ shareholderFlg?: boolean;
63
+ legalEntityName?: string;
64
+ creditInRshbCd?: Option;
65
+ };
66
+ 5: {
67
+ regionRetail?: string;
68
+ addressRetail?: string;
69
+ bankEmployeeCode?: string;
70
+ };
71
+ }
72
+ export declare const formStateMap: FormStateMap;
@@ -1,64 +1,2 @@
1
- import type { Option } from '../../ui-kit/Select/Option';
2
- import { type Address } from '../ApplicationLeadForm/getInitialFormState';
3
- export interface FormStateMap {
4
- 0: {
5
- surname?: string;
6
- name?: string;
7
- middleName?: string;
8
- sex?: string;
9
- birthday?: Date;
10
- birthPlace?: string;
11
- phone?: string;
12
- email?: string;
13
- dulSerie?: number;
14
- dulNumber?: number;
15
- dulIssueDateField?: Date;
16
- dulSubdivisionCode?: string;
17
- dulIssuedBy?: string;
18
- addressRegistration?: Address;
19
- addressMatch?: boolean;
20
- participantDateRegistration?: Date;
21
- addressFact?: Address;
22
- housing?: string;
23
- };
24
- 1: {
25
- amountWorkers?: Option;
26
- beginDate?: Date;
27
- employerActivities?: Option;
28
- employerOrganization?: Option;
29
- employment?: Option;
30
- experience5Years?: string;
31
- inn?: number;
32
- jobsNumber?: string;
33
- lastJobExperience?: string;
34
- legalForm?: string;
35
- organization?: Option;
36
- organizationAddress?: Address;
37
- organizationName?: string;
38
- organizationPhone?: string;
39
- partInBusiness?: number;
40
- positionOrganization?: Option;
41
- };
42
- 2: {
43
- familyStatus?: Option;
44
- dependents?: number;
45
- familyMembers?: number;
46
- mandatoryIncome?: number;
47
- otherPayments?: number;
48
- snils?: string;
49
- armyIdFlg?: boolean;
50
- };
51
- 3: {
52
- disablePeopleFlg?: boolean;
53
- bankruptcyFlg?: boolean;
54
- shareholderFlg?: boolean;
55
- legalEntityName?: string;
56
- creditInRshbCd?: Option;
57
- };
58
- 4: {
59
- regionRetail?: string;
60
- addressRetail?: string;
61
- bankEmployeeCode?: string;
62
- };
63
- }
1
+ import { type FormStateMap } from './formStateMap';
64
2
  export declare const getInitialFormState: <Step extends keyof FormStateMap>(step: Step, localStorageData: Record<string, any> | null) => FormStateMap[Step];
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
3
+ export declare const renderInfo: (inputs?: FieldDef[]) => JSX.Element[] | null;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
3
+ import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
4
+ import { type FormStateMap } from './formStateMap';
5
+ export declare type CustomSubmit = FormOperatorProps<FormStateMap[keyof FormStateMap]>['onSubmit'];
6
+ export interface StepProps {
7
+ sections?: SectionsProps[];
8
+ field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
9
+ registerSubmit?: (submit: CustomSubmit) => void;
10
+ }
11
+ export declare const renderStep: ({ sections, field }: StepProps) => JSX.Element[] | undefined;
@@ -1,12 +1,13 @@
1
1
  import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
- import { type FormStateMap } from './getInitialFormState';
2
+ import { type FormStateMap } from './formStateMap';
3
3
  declare type CreditFormApiProps = {
4
- inputs: FieldDef[];
5
4
  step: number;
5
+ inputs: FieldDef[];
6
6
  onNextStep: () => void;
7
7
  saveStep: (value: Record<string, any>) => void;
8
+ finishForm?: (bool: boolean) => void;
8
9
  };
9
- export declare const useCreditFormApi: ({ inputs, step, onNextStep, saveStep }: CreditFormApiProps) => {
10
+ export declare const useCreditFormAPI: ({ step, inputs, onNextStep, saveStep, finishForm, }: CreditFormApiProps) => {
10
11
  handleSubmit: (formData: FormStateMap[keyof FormStateMap]) => Promise<void | "OK" | "Fail">;
11
12
  };
12
13
  export {};
@@ -13,7 +13,7 @@ export interface FormOperatorProps<FormState extends Record<string, any>> {
13
13
  field: FormFieldRegisterer<FormState>;
14
14
  update: (_: FormState) => void;
15
15
  reset: () => void;
16
- onSubmit?: (ev: PreventableEvent) => void;
16
+ onSubmit?: (ev: PreventableEvent) => FormState;
17
17
  }
18
18
  export declare const useForm: <FormState extends Record<string, any>>(initialState: FormState, { resetOnSubmit, onSubmit, normalize, }?: {
19
19
  resetOnSubmit?: boolean | undefined;
@@ -0,0 +1,5 @@
1
+ import { type SectionsProps } from '../components/ApplicationForm/ApplicationFormContent';
2
+ export interface InputSectionsType {
3
+ /** @hidden */
4
+ sections?: SectionsProps[];
5
+ }
@@ -0,0 +1,14 @@
1
+ export declare enum STATUS_TYPE {
2
+ process = "IN_PROCESS",
3
+ ok = "OK",
4
+ fail = "FAILED",
5
+ rework = "REWORK"
6
+ }
7
+ interface GetTaskStatusResponse {
8
+ statusCd: STATUS_TYPE;
9
+ taskId: number;
10
+ }
11
+ export declare const getTaskStatus: (body: {
12
+ taskId: number;
13
+ }) => Promise<GetTaskStatusResponse>;
14
+ export {};
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.getTaskStatus = exports.STATUS_TYPE = void 0;
3
+ const doRequest_1 = require("./doRequest");
4
+ var STATUS_TYPE;
5
+ (function (STATUS_TYPE) {
6
+ STATUS_TYPE["process"] = "IN_PROCESS";
7
+ STATUS_TYPE["ok"] = "OK";
8
+ STATUS_TYPE["fail"] = "FAILED";
9
+ STATUS_TYPE["rework"] = "REWORK";
10
+ })(STATUS_TYPE = exports.STATUS_TYPE || (exports.STATUS_TYPE = {}));
11
+ const getTaskStatus = (body) => (0, doRequest_1.doRequest)('/user-data/getTaskStatus', 'POST', body);
12
+ exports.getTaskStatus = getTaskStatus;
13
+ //# sourceMappingURL=getTaskStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTaskStatus.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getTaskStatus.ts"],"names":[],"mappings":";;AAAA,2CAAwC;AAExC,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,qCAAsB,CAAA;IACtB,wBAAS,CAAA;IACT,8BAAe,CAAA;IACf,gCAAiB,CAAA;AACnB,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAOM,MAAM,aAAa,GAAG,CAAC,IAAwB,EAAE,EAAE,CACxD,IAAA,qBAAS,EAAwB,0BAA0B,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;AADhE,QAAA,aAAa,iBACmD"}
@@ -0,0 +1,11 @@
1
+ export declare type SignalType = 'CREATE_APPLICATION_SHORT_SIGNAL' | 'CREATE_APPLICATION_LOAN_V3_SIGNAL' | 'KILL_DRAFT_PROCESS_SIGNAL';
2
+ interface SendSignalToProcess {
3
+ signalType: SignalType;
4
+ taskId: number;
5
+ }
6
+ interface SendSignalToProcessResponse {
7
+ statusCd: string;
8
+ taskId: number;
9
+ }
10
+ export declare const sendSignalToProcess: (body: SendSignalToProcess) => Promise<SendSignalToProcessResponse>;
11
+ export {};
@@ -0,0 +1,6 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.sendSignalToProcess = void 0;
3
+ const doRequest_1 = require("./doRequest");
4
+ const sendSignalToProcess = (body) => (0, doRequest_1.doRequest)('/public-data/sendSignalToProcess', 'POST', body);
5
+ exports.sendSignalToProcess = sendSignalToProcess;
6
+ //# sourceMappingURL=sendSignalToProcess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendSignalToProcess.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/sendSignalToProcess.ts"],"names":[],"mappings":";;AAAA,2CAAwC;AAiBjC,MAAM,mBAAmB,GAAG,CAAC,IAAyB,EAAE,EAAE,CAC/D,IAAA,qBAAS,EAA8B,kCAAkC,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;AAD9E,QAAA,mBAAmB,uBAC2D"}
@@ -1,5 +1,6 @@
1
1
  import { type AspectsProps } from '../../model/AspectsProps';
2
2
  import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
3
4
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
4
5
  import { type Target } from '../../model/LinkProps';
5
6
  import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
@@ -96,7 +97,7 @@ declare type additionalParamsType = hideProductDef | showProductDef;
96
97
  /**
97
98
  * @title Форма заявки настраиваемая
98
99
  */
99
- export declare type ApplicationFormContent = UniBlockContent & TitleProps & AspectsProps & {
100
+ export declare type ApplicationFormContent = UniBlockContent & TitleProps & AspectsProps & InputSectionsType & {
100
101
  /** @title Кнопка */
101
102
  button?: SubmitButtonProps;
102
103
  /**
@@ -110,8 +111,6 @@ export declare type ApplicationFormContent = UniBlockContent & TitleProps & Aspe
110
111
  target?: Target;
111
112
  };
112
113
  typeForm?: TypeFormFieldDef;
113
- /** @hidden */
114
- sections?: SectionsProps[];
115
114
  endpoint?: EndpointType;
116
115
  /** @title Дополнительные параметры формы */
117
116
  additionalParams?: additionalParamsType;
@@ -16,12 +16,12 @@ const getInitialFormState_1 = require("./getInitialFormState");
16
16
  const renderSubmitButton_1 = require("./renderSubmitButton");
17
17
  const useApplicationLeadApi_1 = require("./useApplicationLeadApi");
18
18
  const useInitApplicationLead_1 = require("./useInitApplicationLead");
19
- exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId = '', nextStepLink = '/credit-lead', typeForm = '', sections = [], button, ...rest }) => {
19
+ exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId = '', nextStepLink = '/credit-lead', sections = [], button, ...rest }) => {
20
20
  const inputs = (sections?.flatMap((_) => _?.inputs) || []);
21
21
  const [responseType, setResponseType] = (0, hooks_1.useState)('');
22
22
  const { isLoading } = (0, useInitApplicationLead_1.useInitApplicationLead)(nextStepLink);
23
23
  const [leadForm, setLeadForm] = (0, useLocalStorage_1.useLocalStorage)('leadForm');
24
- const initialFormState = (0, getInitialFormState_1.getInitialFormState)(inputs, leadForm, typeForm);
24
+ const initialFormState = (0, getInitialFormState_1.getInitialFormState)(inputs, leadForm);
25
25
  const { handleSubmit, responseStatus } = (0, useApplicationLeadApi_1.useApplicationLeadApi)({
26
26
  inputs,
27
27
  programId,
@@ -29,7 +29,7 @@ exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId
29
29
  saveForm: setLeadForm,
30
30
  });
31
31
  if (responseStatus) {
32
- const responseTypeDialog = (0, useResponseTypeDialog_1.useResponseTypeDialog)({ responseType: responseStatus, typeForm });
32
+ const responseTypeDialog = (0, useResponseTypeDialog_1.useResponseTypeDialog)({ responseType: responseStatus });
33
33
  responseTypeDialog.open();
34
34
  }
35
35
  const [, { field, onSubmit, reset }] = (0, useForm_1.useForm)(initialFormState, { onSubmit: handleSubmit });
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uD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Q,EAAE,YAAY,EAAE,CAAC,CAAC;IAE7F,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,YAAY,KAAK,IAAI,EAAE;YACzB,eAAe,CAAC,EAAE,CAAC,CAAC;YACpB,KAAK,EAAE,CAAC;SACT;IACH,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,CACL,uBAAC,6CAAqB,IACpB,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,SAAS,CAAC,EAClD,KAAK,EAAE,KAAK,KACR,IAAI,YAER,kCAAM,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAC,oBAAoB,aACrD,SAAS,CAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,IAAI,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1C,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,iCAEE,SAAS,EAAE,IAAA,aAAK,EAAC,IAAA,oCAAiB,EAAC,CAAC,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,aAE7D,IAAA,yBAAW,EAAC,CAAC,CAAC,KAAK,CAAC,EACpB,IAAA,2BAAY,EAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,KAJtC,WAAW,CAAC,EAAE,CAKf,CACP,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,CAAC,IACtB,GACe,CACzB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
2
  import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
3
4
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
4
- import { type Target } from '../../model/LinkProps';
5
5
  import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
6
6
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
7
7
  import { type FormState } from './getInitialFormState';
@@ -78,27 +78,13 @@ export declare type SectionsProps = TitleProps & {
78
78
  /**
79
79
  * @title Форма заявки настраиваемая
80
80
  */
81
- export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & {
81
+ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputSectionsType & {
82
82
  /** @title Кнопка */
83
83
  button?: SubmitButtonProps;
84
- /**
85
- * @title Условия передачи данных
86
- * @required ["text", "href"]
87
- */
88
- link?: TextProps & {
89
- /** @title URL (href) */
90
- href?: string;
91
- /** @default "" */
92
- target?: Target;
93
- };
94
84
  /** @title Номер кредитной программы */
95
85
  programId?: string;
96
86
  /** @title адресс следующей страницы заявки */
97
87
  nextStepLink?: string;
98
- typeForm?: TypeFormFieldDef;
99
- /** @hidden */
100
- sections?: SectionsProps[];
101
- endpoint?: EndpointType;
102
88
  };
103
89
  /** @hidden */
104
90
  export interface GroupedConsentsProps {
@@ -1,8 +1,10 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
+ import { type PreventableEvent } from '../../ui-kit/PreventableEvent';
2
3
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
3
4
  import { type CalculatorCreditContent, type CreditCalculatorData } from './CalculatorCreditContent';
4
5
  export interface CalculatorDepositProps extends CalculatorCreditContent, UniBlockProps {
5
6
  className?: string;
6
7
  calcSource?: CreditCalculatorData & JSONRefObject;
8
+ registerSubmit?: (submit: ((ev: PreventableEvent) => Record<string, any>) | undefined) => void;
7
9
  }
8
10
  export declare const CalculatorCredit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorDepositProps>;
@@ -30,9 +30,9 @@ const MAP = {
30
30
  isInsurance: 'isInsurance',
31
31
  moneyValue: 'maxSum',
32
32
  };
33
- exports.CalculatorCredit = (0, UniBlock_1.UniBlock)(({ className, title, calcSource, buttons, footnote, paramsViewSettings, defaultParams, ...rest }) => {
33
+ exports.CalculatorCredit = (0, UniBlock_1.UniBlock)(({ className, title, calcSource, buttons, footnote, paramsViewSettings, defaultParams, registerSubmit, ...rest }) => {
34
34
  const defaultParamsCals = (0, getDefaultParams_1.getDefaultParamsMin)(calcSource?.rateRows);
35
- const [userInputParams, { field }] = (0, useForm_1.useForm)({
35
+ const [userInputParams, { field, onSubmit }] = (0, useForm_1.useForm)({
36
36
  moneyValue: (0, getDefaultValues_1.getMoneyDefaultValue)(defaultParams, CREDIT_DEFAULT_SUM),
37
37
  monthsValue: (0, getDefaultValues_1.getMonthsDefaultValue)(defaultParams, calculatorConstants_1.DEFAULT_MONTHS),
38
38
  isAnnuity: Boolean(defaultParams?.isAnnuity),
@@ -41,6 +41,7 @@ exports.CalculatorCredit = (0, UniBlock_1.UniBlock)(({ className, title, calcSou
41
41
  isPensionClient: Boolean(defaultParams?.isEnablePensionClient),
42
42
  isStateEmployee: Boolean(defaultParams?.isEnableStateEmployee),
43
43
  });
44
+ registerSubmit?.(onSubmit);
44
45
  const calcParams = (0, getCreditCalculatorParams_1.getCreditCalculatorParams)(userInputParams, calcSource, paramsViewSettings);
45
46
  const paymentTypeElement = (0, renderPaymentType_1.renderPaymentType)({
46
47
  title: 'Тип платежа',
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatorCredit.js","sourceRoot":"","sources":["../../../src/components/CalculatorCredit/CalculatorCredit.tsx"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,uDAAwD;AAExD,iDAAwE;AACxE,qFAA6E;AAC7E,+EAA4E;AAC5E,6EAA0E;AAC1E,6EAA0E;AAC1E,+EAA+E;AAC/E,+EAGkD;AAClD,2EAAwE;AACxE,iFAA8E;AAC9E,iFAA8E;AAC9E,uFAAoF;AACpF,uFAAoF;AACpF,6DAA0D;AAC1D,uFAAoF;AACpF,sDAAmD;AAEnD,6CAA0C;AAC1C,6CAA0C;AAQ1C,2EAAwE;AACxE,uDAAoD;AACpD,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAElC,MAAM,GAAG,GAAG;IAC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AkB,CAAC,CAAC,CAAC,CAC3B,uBAAC,mBAAQ,IACP,IAAI,EAAE,6CAA6C,KAC/C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,EAC5B,SAAS,EAAC,0CAA0C,GACpD,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAC5B,uBAAC,mBAAQ,IACP,IAAI,EAAC,6KAAiC,KAClC,KAAK,CAAC,iBAAiB,CAAC,EAC5B,KAAK,EAAE,MAAM,CAAC,eAAe,GAC7B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAC5B,uBAAC,mBAAQ,IACP,IAAI,EAAC,wNAAyC,KAC1C,KAAK,CAAC,iBAAiB,CAAC,EAC5B,KAAK,EAAE,MAAM,CAAC,eAAe,GAC7B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,uBAAC,mBAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
1
+ {"version":3,"file":"CalculatorCredit.js","sourceRoot":"","sources":["../../../src/components/CalculatorCredit/CalculatorCredit.tsx"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,uDAAwD;AAExD,iDAAwE;AACxE,qFAA6E;AAC7E,+EAA4E;AAC5E,6EAA0E;AAC1E,6EAA0E;AAC1E,+EAA+E;AAC/E,+EAGkD;AAClD,2EAAwE;AACxE,iFAA8E;AAC9E,iFAA8E;AAC9E,uFAAoF;AACpF,uFAAoF;AACpF,6DAA0D;AAC1D,uFAAoF;AAEpF,sDAAmD;AAEnD,6CAA0C;AAC1C,6CAA0C;AAQ1C,2EAAwE;AACxE,uDAAoD;AACpD,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AAEF,MAAM,sBAAsB,GAAG,CAC7B,MAAmE,EACnE,KAA+B,EAC/B,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,uBAAC,mBAAQ,IACP,IAAI,EAAE,6CAA6C,KAC/C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,EAC5B,SAAS,EAAC,0CAA0C,GACpD,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAC5B,uBAAC,mBAAQ,IACP,IAAI,EAAC,6KAAiC,KAClC,KAAK,CAAC,iBAAiB,CAAC,EAC5B,KAAK,EAAE,MAAM,CAAC,eAAe,GAC7B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAC5B,uBAAC,mBAAQ,IACP,IAAI,EAAC,wNAAyC,KAC1C,KAAK,CAAC,iBAAiB,CAAC,EAC5B,KAAK,EAAE,MAAM,CAAC,eAAe,GAC7B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,uBAAC,mBAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
2
  import { type CreditFormContent } from './CreditFormContent';
3
- interface CreditFormProps extends CreditFormContent, UniBlockProps {
3
+ interface CreditFormWizardProps extends CreditFormContent, UniBlockProps {
4
4
  }
5
- export declare const CreditForm: import("@redneckz/uni-jsx").UNIComponent<CreditFormProps, any, any>;
5
+ export declare const CreditForm: import("@redneckz/uni-jsx").UNIComponent<CreditFormWizardProps, any, any>;
6
6
  export {};