@redneckz/wildless-cms-uni-blocks 0.14.651 → 0.14.652

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 (605) hide show
  1. package/bundle/api/RetailAPI/getTaskStatus.d.ts +1 -1
  2. package/bundle/api/RetailAPI/updateUserTask.d.ts +4 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +928 -119
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  7. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  8. package/bundle/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  9. package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  10. package/bundle/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  11. package/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  12. package/bundle/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  13. package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  14. package/bundle/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  15. package/bundle/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  16. package/bundle/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  17. package/bundle/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  18. package/bundle/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  19. package/bundle/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  20. package/bundle/components/CreditCardForm/formStateMap.d.ts +74 -0
  21. package/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  22. package/bundle/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  23. package/bundle/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  24. package/bundle/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  25. package/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  26. package/bundle/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  27. package/bundle/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  28. package/bundle/components/CreditCardForm/renderInfo.d.ts +3 -0
  29. package/bundle/components/CreditCardForm/renderInputs.d.ts +3 -0
  30. package/bundle/components/CreditCardForm/renderStep.d.ts +13 -0
  31. package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  32. package/bundle/components/CreditForm/CreditFormStep.d.ts +1 -1
  33. package/bundle/components/CreditForm/creditFormStepsData.d.ts +1 -1
  34. package/bundle/model/InputSectionsType.d.ts +9 -1
  35. package/bundle/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  36. package/bundle/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  37. package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  38. package/dist/api/RetailAPI/getTaskStatus.d.ts +1 -1
  39. package/dist/api/RetailAPI/getTaskStatus.js.map +1 -1
  40. package/dist/api/RetailAPI/updateUserTask.d.ts +4 -0
  41. package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  42. package/dist/api/dadataHints/hintsListsOptions.js +1 -0
  43. package/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
  44. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  45. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  46. package/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
  47. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  48. package/dist/components/Blocks.js +2 -0
  49. package/dist/components/Blocks.js.map +1 -1
  50. package/dist/components/Blocks.mobile.js +2 -0
  51. package/dist/components/Blocks.mobile.js.map +1 -1
  52. package/dist/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  53. package/dist/components/CreditCardForm/CreditCardForm.js +34 -0
  54. package/dist/components/CreditCardForm/CreditCardForm.js.map +1 -0
  55. package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  56. package/dist/components/CreditCardForm/CreditCardFormContent.js +2 -0
  57. package/dist/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
  58. package/dist/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  59. package/dist/components/CreditCardForm/CreditCardFormProgress.js +11 -0
  60. package/dist/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
  61. package/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  62. package/dist/components/CreditCardForm/CreditCardFormStatus.js +25 -0
  63. package/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
  64. package/dist/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  65. package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +43 -0
  66. package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
  67. package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  68. package/dist/components/CreditCardForm/CreditCardFormStep.js +41 -0
  69. package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
  70. package/dist/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  71. package/dist/components/CreditCardForm/FailedStatusContent.js +7 -0
  72. package/dist/components/CreditCardForm/FailedStatusContent.js.map +1 -0
  73. package/dist/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  74. package/dist/components/CreditCardForm/PendingStatusContent.js +32 -0
  75. package/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -0
  76. package/dist/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  77. package/dist/components/CreditCardForm/ReworkStatusContent.js +25 -0
  78. package/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
  79. package/dist/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  80. package/dist/components/CreditCardForm/StepsNavigationButtons.js +11 -0
  81. package/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
  82. package/dist/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  83. package/dist/components/CreditCardForm/SuccessStatusContent.js +32 -0
  84. package/dist/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
  85. package/dist/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  86. package/dist/components/CreditCardForm/creditCardFormStepsData.js +310 -0
  87. package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
  88. package/dist/components/CreditCardForm/formStateMap.d.ts +74 -0
  89. package/dist/components/CreditCardForm/formStateMap.js +93 -0
  90. package/dist/components/CreditCardForm/formStateMap.js.map +1 -0
  91. package/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  92. package/dist/components/CreditCardForm/getCreditCardFormTaskData.js +54 -0
  93. package/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
  94. package/dist/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  95. package/dist/components/CreditCardForm/getFifthStepData.js +13 -0
  96. package/dist/components/CreditCardForm/getFifthStepData.js.map +1 -0
  97. package/dist/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  98. package/dist/components/CreditCardForm/getFirstStepData.js +13 -0
  99. package/dist/components/CreditCardForm/getFirstStepData.js.map +1 -0
  100. package/dist/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  101. package/dist/components/CreditCardForm/getFourthStepData.js +19 -0
  102. package/dist/components/CreditCardForm/getFourthStepData.js.map +1 -0
  103. package/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  104. package/dist/components/CreditCardForm/getInitialFormState.js +27 -0
  105. package/dist/components/CreditCardForm/getInitialFormState.js.map +1 -0
  106. package/dist/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  107. package/dist/components/CreditCardForm/getSecondStepData.js +35 -0
  108. package/dist/components/CreditCardForm/getSecondStepData.js.map +1 -0
  109. package/dist/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  110. package/dist/components/CreditCardForm/getThirdStepData.js +28 -0
  111. package/dist/components/CreditCardForm/getThirdStepData.js.map +1 -0
  112. package/dist/components/CreditCardForm/renderInfo.d.ts +3 -0
  113. package/dist/components/CreditCardForm/renderInfo.js +12 -0
  114. package/dist/components/CreditCardForm/renderInfo.js.map +1 -0
  115. package/dist/components/CreditCardForm/renderInputs.d.ts +3 -0
  116. package/dist/components/CreditCardForm/renderInputs.js +6 -0
  117. package/dist/components/CreditCardForm/renderInputs.js.map +1 -0
  118. package/dist/components/CreditCardForm/renderStep.d.ts +13 -0
  119. package/dist/components/CreditCardForm/renderStep.js +19 -0
  120. package/dist/components/CreditCardForm/renderStep.js.map +1 -0
  121. package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  122. package/dist/components/CreditCardForm/useCreditCardFormAPI.js +46 -0
  123. package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
  124. package/dist/components/CreditForm/CreditForm.js.map +1 -1
  125. package/dist/components/CreditForm/CreditFormStatusTracker.js +1 -2
  126. package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  127. package/dist/components/CreditForm/CreditFormStep.d.ts +1 -1
  128. package/dist/components/CreditForm/FailedStatusContent.js +1 -1
  129. package/dist/components/CreditForm/FailedStatusContent.js.map +1 -1
  130. package/dist/components/CreditForm/creditFormStepsData.d.ts +1 -1
  131. package/dist/components/CreditForm/getCreditFormTaskData.js +1 -1
  132. package/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
  133. package/dist/model/InputSectionsType.d.ts +9 -1
  134. package/dist/ui-kit/FormField/Fields/CurrencyField.js +6 -5
  135. package/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
  136. package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  137. package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js +9 -0
  138. package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
  139. package/dist/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  140. package/dist/ui-kit/FormField/Fields/MethodObtainField.js +13 -0
  141. package/dist/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
  142. package/dist/ui-kit/FormField/Fields/PaymentSystemField.js +6 -5
  143. package/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
  144. package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  145. package/dist/ui-kit/FormField/getField.js +5 -0
  146. package/dist/ui-kit/FormField/getField.js.map +1 -1
  147. package/dist/ui-kit/FormField/getObjectValidator.js +6 -1
  148. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  149. package/lib/api/RetailAPI/getTaskStatus.d.ts +1 -1
  150. package/lib/api/RetailAPI/getTaskStatus.js.map +1 -1
  151. package/lib/api/RetailAPI/updateUserTask.d.ts +4 -0
  152. package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  153. package/lib/api/dadataHints/hintsListsOptions.js +1 -0
  154. package/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
  155. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  156. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  157. package/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
  158. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  159. package/lib/components/Blocks.js +2 -0
  160. package/lib/components/Blocks.js.map +1 -1
  161. package/lib/components/Blocks.mobile.js +2 -0
  162. package/lib/components/Blocks.mobile.js.map +1 -1
  163. package/lib/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  164. package/lib/components/CreditCardForm/CreditCardForm.fixture.d.ts +6 -0
  165. package/lib/components/CreditCardForm/CreditCardForm.js +32 -0
  166. package/lib/components/CreditCardForm/CreditCardForm.js.map +1 -0
  167. package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  168. package/lib/components/CreditCardForm/CreditCardFormContent.js +2 -0
  169. package/lib/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
  170. package/lib/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  171. package/lib/components/CreditCardForm/CreditCardFormProgress.js +9 -0
  172. package/lib/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
  173. package/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  174. package/lib/components/CreditCardForm/CreditCardFormStatus.js +23 -0
  175. package/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
  176. package/lib/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  177. package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +41 -0
  178. package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
  179. package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  180. package/lib/components/CreditCardForm/CreditCardFormStep.js +39 -0
  181. package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
  182. package/lib/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  183. package/lib/components/CreditCardForm/FailedStatusContent.js +5 -0
  184. package/lib/components/CreditCardForm/FailedStatusContent.js.map +1 -0
  185. package/lib/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  186. package/lib/components/CreditCardForm/PendingStatusContent.js +30 -0
  187. package/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -0
  188. package/lib/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  189. package/lib/components/CreditCardForm/ReworkStatusContent.js +23 -0
  190. package/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
  191. package/lib/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  192. package/lib/components/CreditCardForm/StepsNavigationButtons.js +9 -0
  193. package/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
  194. package/lib/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  195. package/lib/components/CreditCardForm/SuccessStatusContent.js +30 -0
  196. package/lib/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
  197. package/lib/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  198. package/lib/components/CreditCardForm/creditCardFormStepsData.js +308 -0
  199. package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
  200. package/lib/components/CreditCardForm/formStateMap.d.ts +74 -0
  201. package/lib/components/CreditCardForm/formStateMap.js +91 -0
  202. package/lib/components/CreditCardForm/formStateMap.js.map +1 -0
  203. package/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  204. package/lib/components/CreditCardForm/getCreditCardFormTaskData.js +51 -0
  205. package/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
  206. package/lib/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  207. package/lib/components/CreditCardForm/getFifthStepData.js +10 -0
  208. package/lib/components/CreditCardForm/getFifthStepData.js.map +1 -0
  209. package/lib/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  210. package/lib/components/CreditCardForm/getFirstStepData.js +10 -0
  211. package/lib/components/CreditCardForm/getFirstStepData.js.map +1 -0
  212. package/lib/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  213. package/lib/components/CreditCardForm/getFourthStepData.js +16 -0
  214. package/lib/components/CreditCardForm/getFourthStepData.js.map +1 -0
  215. package/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  216. package/lib/components/CreditCardForm/getInitialFormState.js +24 -0
  217. package/lib/components/CreditCardForm/getInitialFormState.js.map +1 -0
  218. package/lib/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  219. package/lib/components/CreditCardForm/getSecondStepData.js +32 -0
  220. package/lib/components/CreditCardForm/getSecondStepData.js.map +1 -0
  221. package/lib/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  222. package/lib/components/CreditCardForm/getThirdStepData.js +25 -0
  223. package/lib/components/CreditCardForm/getThirdStepData.js.map +1 -0
  224. package/lib/components/CreditCardForm/renderInfo.d.ts +2 -0
  225. package/lib/components/CreditCardForm/renderInfo.js +9 -0
  226. package/lib/components/CreditCardForm/renderInfo.js.map +1 -0
  227. package/lib/components/CreditCardForm/renderInputs.d.ts +2 -0
  228. package/lib/components/CreditCardForm/renderInputs.js +3 -0
  229. package/lib/components/CreditCardForm/renderInputs.js.map +1 -0
  230. package/lib/components/CreditCardForm/renderStep.d.ts +12 -0
  231. package/lib/components/CreditCardForm/renderStep.js +16 -0
  232. package/lib/components/CreditCardForm/renderStep.js.map +1 -0
  233. package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  234. package/lib/components/CreditCardForm/useCreditCardFormAPI.js +43 -0
  235. package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
  236. package/lib/components/CreditForm/CreditForm.js.map +1 -1
  237. package/lib/components/CreditForm/CreditFormStatusTracker.js +1 -2
  238. package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  239. package/lib/components/CreditForm/CreditFormStep.d.ts +1 -1
  240. package/lib/components/CreditForm/FailedStatusContent.js +1 -1
  241. package/lib/components/CreditForm/FailedStatusContent.js.map +1 -1
  242. package/lib/components/CreditForm/creditFormStepsData.d.ts +1 -1
  243. package/lib/components/CreditForm/getCreditFormTaskData.js +1 -1
  244. package/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
  245. package/lib/model/InputSectionsType.d.ts +9 -1
  246. package/lib/ui-kit/FormField/Fields/CurrencyField.js +7 -6
  247. package/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
  248. package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  249. package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js +7 -0
  250. package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
  251. package/lib/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  252. package/lib/ui-kit/FormField/Fields/MethodObtainField.js +11 -0
  253. package/lib/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
  254. package/lib/ui-kit/FormField/Fields/PaymentSystemField.js +7 -6
  255. package/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
  256. package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  257. package/lib/ui-kit/FormField/getField.js +5 -0
  258. package/lib/ui-kit/FormField/getField.js.map +1 -1
  259. package/lib/ui-kit/FormField/getObjectValidator.js +6 -1
  260. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  261. package/mobile/bundle/api/RetailAPI/getTaskStatus.d.ts +1 -1
  262. package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +4 -0
  263. package/mobile/bundle/bundle.umd.js +924 -115
  264. package/mobile/bundle/bundle.umd.min.js +1 -1
  265. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  266. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  267. package/mobile/bundle/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  268. package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  269. package/mobile/bundle/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  270. package/mobile/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  271. package/mobile/bundle/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  272. package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  273. package/mobile/bundle/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  274. package/mobile/bundle/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  275. package/mobile/bundle/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  276. package/mobile/bundle/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  277. package/mobile/bundle/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  278. package/mobile/bundle/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  279. package/mobile/bundle/components/CreditCardForm/formStateMap.d.ts +74 -0
  280. package/mobile/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  281. package/mobile/bundle/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  282. package/mobile/bundle/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  283. package/mobile/bundle/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  284. package/mobile/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  285. package/mobile/bundle/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  286. package/mobile/bundle/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  287. package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +3 -0
  288. package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +3 -0
  289. package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +13 -0
  290. package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  291. package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +1 -1
  292. package/mobile/bundle/components/CreditForm/creditFormStepsData.d.ts +1 -1
  293. package/mobile/bundle/model/InputSectionsType.d.ts +9 -1
  294. package/mobile/bundle/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  295. package/mobile/bundle/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  296. package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  297. package/mobile/dist/api/RetailAPI/getTaskStatus.d.ts +1 -1
  298. package/mobile/dist/api/RetailAPI/getTaskStatus.js.map +1 -1
  299. package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +4 -0
  300. package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  301. package/mobile/dist/api/dadataHints/hintsListsOptions.js +1 -0
  302. package/mobile/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
  303. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  304. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  305. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
  306. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  307. package/mobile/dist/components/Blocks.js +2 -0
  308. package/mobile/dist/components/Blocks.js.map +1 -1
  309. package/mobile/dist/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  310. package/mobile/dist/components/CreditCardForm/CreditCardForm.js +34 -0
  311. package/mobile/dist/components/CreditCardForm/CreditCardForm.js.map +1 -0
  312. package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  313. package/mobile/dist/components/CreditCardForm/CreditCardFormContent.js +2 -0
  314. package/mobile/dist/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
  315. package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  316. package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.js +11 -0
  317. package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
  318. package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  319. package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js +25 -0
  320. package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
  321. package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  322. package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +43 -0
  323. package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
  324. package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  325. package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js +41 -0
  326. package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
  327. package/mobile/dist/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  328. package/mobile/dist/components/CreditCardForm/FailedStatusContent.js +7 -0
  329. package/mobile/dist/components/CreditCardForm/FailedStatusContent.js.map +1 -0
  330. package/mobile/dist/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  331. package/mobile/dist/components/CreditCardForm/PendingStatusContent.js +32 -0
  332. package/mobile/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -0
  333. package/mobile/dist/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  334. package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js +25 -0
  335. package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
  336. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  337. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js +11 -0
  338. package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
  339. package/mobile/dist/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  340. package/mobile/dist/components/CreditCardForm/SuccessStatusContent.js +32 -0
  341. package/mobile/dist/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
  342. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  343. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +310 -0
  344. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
  345. package/mobile/dist/components/CreditCardForm/formStateMap.d.ts +74 -0
  346. package/mobile/dist/components/CreditCardForm/formStateMap.js +93 -0
  347. package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -0
  348. package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  349. package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js +54 -0
  350. package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
  351. package/mobile/dist/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  352. package/mobile/dist/components/CreditCardForm/getFifthStepData.js +13 -0
  353. package/mobile/dist/components/CreditCardForm/getFifthStepData.js.map +1 -0
  354. package/mobile/dist/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  355. package/mobile/dist/components/CreditCardForm/getFirstStepData.js +13 -0
  356. package/mobile/dist/components/CreditCardForm/getFirstStepData.js.map +1 -0
  357. package/mobile/dist/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  358. package/mobile/dist/components/CreditCardForm/getFourthStepData.js +19 -0
  359. package/mobile/dist/components/CreditCardForm/getFourthStepData.js.map +1 -0
  360. package/mobile/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  361. package/mobile/dist/components/CreditCardForm/getInitialFormState.js +27 -0
  362. package/mobile/dist/components/CreditCardForm/getInitialFormState.js.map +1 -0
  363. package/mobile/dist/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  364. package/mobile/dist/components/CreditCardForm/getSecondStepData.js +35 -0
  365. package/mobile/dist/components/CreditCardForm/getSecondStepData.js.map +1 -0
  366. package/mobile/dist/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  367. package/mobile/dist/components/CreditCardForm/getThirdStepData.js +28 -0
  368. package/mobile/dist/components/CreditCardForm/getThirdStepData.js.map +1 -0
  369. package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +3 -0
  370. package/mobile/dist/components/CreditCardForm/renderInfo.js +12 -0
  371. package/mobile/dist/components/CreditCardForm/renderInfo.js.map +1 -0
  372. package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +3 -0
  373. package/mobile/dist/components/CreditCardForm/renderInputs.js +6 -0
  374. package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -0
  375. package/mobile/dist/components/CreditCardForm/renderStep.d.ts +13 -0
  376. package/mobile/dist/components/CreditCardForm/renderStep.js +19 -0
  377. package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -0
  378. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  379. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +46 -0
  380. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
  381. package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
  382. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +1 -2
  383. package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  384. package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +1 -1
  385. package/mobile/dist/components/CreditForm/FailedStatusContent.js +1 -1
  386. package/mobile/dist/components/CreditForm/FailedStatusContent.js.map +1 -1
  387. package/mobile/dist/components/CreditForm/creditFormStepsData.d.ts +1 -1
  388. package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +1 -1
  389. package/mobile/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
  390. package/mobile/dist/model/InputSectionsType.d.ts +9 -1
  391. package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js +6 -5
  392. package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
  393. package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  394. package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js +9 -0
  395. package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
  396. package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  397. package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.js +13 -0
  398. package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
  399. package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js +6 -5
  400. package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
  401. package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  402. package/mobile/dist/ui-kit/FormField/getField.js +5 -0
  403. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  404. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +6 -1
  405. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  406. package/mobile/lib/api/RetailAPI/getTaskStatus.d.ts +1 -1
  407. package/mobile/lib/api/RetailAPI/getTaskStatus.js.map +1 -1
  408. package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +4 -0
  409. package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  410. package/mobile/lib/api/dadataHints/hintsListsOptions.js +1 -0
  411. package/mobile/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
  412. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  413. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -0
  414. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
  415. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  416. package/mobile/lib/components/Blocks.js +2 -0
  417. package/mobile/lib/components/Blocks.js.map +1 -1
  418. package/mobile/lib/components/CreditCardForm/CreditCardForm.d.ts +6 -0
  419. package/mobile/lib/components/CreditCardForm/CreditCardForm.js +32 -0
  420. package/mobile/lib/components/CreditCardForm/CreditCardForm.js.map +1 -0
  421. package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
  422. package/mobile/lib/components/CreditCardForm/CreditCardFormContent.js +2 -0
  423. package/mobile/lib/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
  424. package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
  425. package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.js +9 -0
  426. package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
  427. package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
  428. package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js +23 -0
  429. package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
  430. package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
  431. package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +41 -0
  432. package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
  433. package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
  434. package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js +39 -0
  435. package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
  436. package/mobile/lib/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
  437. package/mobile/lib/components/CreditCardForm/FailedStatusContent.js +5 -0
  438. package/mobile/lib/components/CreditCardForm/FailedStatusContent.js.map +1 -0
  439. package/mobile/lib/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
  440. package/mobile/lib/components/CreditCardForm/PendingStatusContent.js +30 -0
  441. package/mobile/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -0
  442. package/mobile/lib/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
  443. package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js +23 -0
  444. package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
  445. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
  446. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js +9 -0
  447. package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
  448. package/mobile/lib/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
  449. package/mobile/lib/components/CreditCardForm/SuccessStatusContent.js +30 -0
  450. package/mobile/lib/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
  451. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
  452. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +308 -0
  453. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
  454. package/mobile/lib/components/CreditCardForm/formStateMap.d.ts +74 -0
  455. package/mobile/lib/components/CreditCardForm/formStateMap.js +91 -0
  456. package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -0
  457. package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
  458. package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js +51 -0
  459. package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
  460. package/mobile/lib/components/CreditCardForm/getFifthStepData.d.ts +3 -0
  461. package/mobile/lib/components/CreditCardForm/getFifthStepData.js +10 -0
  462. package/mobile/lib/components/CreditCardForm/getFifthStepData.js.map +1 -0
  463. package/mobile/lib/components/CreditCardForm/getFirstStepData.d.ts +3 -0
  464. package/mobile/lib/components/CreditCardForm/getFirstStepData.js +10 -0
  465. package/mobile/lib/components/CreditCardForm/getFirstStepData.js.map +1 -0
  466. package/mobile/lib/components/CreditCardForm/getFourthStepData.d.ts +3 -0
  467. package/mobile/lib/components/CreditCardForm/getFourthStepData.js +16 -0
  468. package/mobile/lib/components/CreditCardForm/getFourthStepData.js.map +1 -0
  469. package/mobile/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -0
  470. package/mobile/lib/components/CreditCardForm/getInitialFormState.js +24 -0
  471. package/mobile/lib/components/CreditCardForm/getInitialFormState.js.map +1 -0
  472. package/mobile/lib/components/CreditCardForm/getSecondStepData.d.ts +3 -0
  473. package/mobile/lib/components/CreditCardForm/getSecondStepData.js +32 -0
  474. package/mobile/lib/components/CreditCardForm/getSecondStepData.js.map +1 -0
  475. package/mobile/lib/components/CreditCardForm/getThirdStepData.d.ts +3 -0
  476. package/mobile/lib/components/CreditCardForm/getThirdStepData.js +25 -0
  477. package/mobile/lib/components/CreditCardForm/getThirdStepData.js.map +1 -0
  478. package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +3 -0
  479. package/mobile/lib/components/CreditCardForm/renderInfo.js +9 -0
  480. package/mobile/lib/components/CreditCardForm/renderInfo.js.map +1 -0
  481. package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +3 -0
  482. package/mobile/lib/components/CreditCardForm/renderInputs.js +3 -0
  483. package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -0
  484. package/mobile/lib/components/CreditCardForm/renderStep.d.ts +13 -0
  485. package/mobile/lib/components/CreditCardForm/renderStep.js +16 -0
  486. package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -0
  487. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
  488. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +43 -0
  489. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
  490. package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
  491. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +1 -2
  492. package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
  493. package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +1 -1
  494. package/mobile/lib/components/CreditForm/FailedStatusContent.js +1 -1
  495. package/mobile/lib/components/CreditForm/FailedStatusContent.js.map +1 -1
  496. package/mobile/lib/components/CreditForm/creditFormStepsData.d.ts +1 -1
  497. package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +1 -1
  498. package/mobile/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
  499. package/mobile/lib/model/InputSectionsType.d.ts +9 -1
  500. package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js +7 -6
  501. package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
  502. package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
  503. package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js +7 -0
  504. package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
  505. package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
  506. package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.js +11 -0
  507. package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
  508. package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js +7 -6
  509. package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
  510. package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  511. package/mobile/lib/ui-kit/FormField/getField.js +5 -0
  512. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  513. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +6 -1
  514. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  515. package/mobile/src/api/RetailAPI/getTaskStatus.ts +1 -1
  516. package/mobile/src/api/RetailAPI/updateUserTask.ts +4 -0
  517. package/mobile/src/api/dadataHints/hintsListsOptions.ts +1 -0
  518. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -11
  519. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -0
  520. package/mobile/src/components/Blocks.ts +2 -0
  521. package/mobile/src/components/CreditCardForm/CreditCardForm.tsx +69 -0
  522. package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +27 -0
  523. package/mobile/src/components/CreditCardForm/CreditCardFormProgress.tsx +27 -0
  524. package/mobile/src/components/CreditCardForm/CreditCardFormStatus.tsx +119 -0
  525. package/mobile/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +48 -0
  526. package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +66 -0
  527. package/mobile/src/components/CreditCardForm/FailedStatusContent.tsx +10 -0
  528. package/mobile/src/components/CreditCardForm/PendingStatusContent.tsx +38 -0
  529. package/mobile/src/components/CreditCardForm/ReworkStatusContent.tsx +32 -0
  530. package/mobile/src/components/CreditCardForm/StepsNavigationButtons.tsx +29 -0
  531. package/mobile/src/components/CreditCardForm/SuccessStatusContent.tsx +37 -0
  532. package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +310 -0
  533. package/mobile/src/components/CreditCardForm/formStateMap.tsx +165 -0
  534. package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +68 -0
  535. package/mobile/src/components/CreditCardForm/getFifthStepData.ts +13 -0
  536. package/mobile/src/components/CreditCardForm/getFirstStepData.tsx +13 -0
  537. package/mobile/src/components/CreditCardForm/getFourthStepData.ts +27 -0
  538. package/mobile/src/components/CreditCardForm/getInitialFormState.tsx +28 -0
  539. package/mobile/src/components/CreditCardForm/getSecondStepData.tsx +54 -0
  540. package/mobile/src/components/CreditCardForm/getThirdStepData.tsx +44 -0
  541. package/mobile/src/components/CreditCardForm/renderInfo.tsx +10 -0
  542. package/mobile/src/components/CreditCardForm/renderInputs.tsx +5 -0
  543. package/mobile/src/components/CreditCardForm/renderStep.tsx +43 -0
  544. package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +75 -0
  545. package/mobile/src/components/CreditForm/CreditForm.tsx +2 -4
  546. package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +1 -2
  547. package/mobile/src/components/CreditForm/CreditFormStep.tsx +1 -1
  548. package/mobile/src/components/CreditForm/FailedStatusContent.tsx +1 -2
  549. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +1 -1
  550. package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +1 -1
  551. package/mobile/src/model/InputSectionsType.ts +13 -1
  552. package/mobile/src/ui-kit/FormField/Fields/CurrencyField.tsx +14 -15
  553. package/mobile/src/ui-kit/FormField/Fields/DeliveryDateFiels.tsx +12 -0
  554. package/mobile/src/ui-kit/FormField/Fields/MethodObtainField.tsx +19 -0
  555. package/mobile/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
  556. package/mobile/src/ui-kit/FormField/NameFieldDef.ts +3 -0
  557. package/mobile/src/ui-kit/FormField/getField.tsx +6 -0
  558. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +6 -1
  559. package/package.json +2 -2
  560. package/src/api/RetailAPI/getTaskStatus.ts +1 -1
  561. package/src/api/RetailAPI/updateUserTask.ts +4 -0
  562. package/src/api/dadataHints/hintsListsOptions.ts +1 -0
  563. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -11
  564. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -0
  565. package/src/components/Blocks.mobile.ts +2 -0
  566. package/src/components/Blocks.ts +2 -0
  567. package/src/components/CreditCardForm/CreditCardForm.fixture.tsx +14 -0
  568. package/src/components/CreditCardForm/CreditCardForm.tsx +69 -0
  569. package/src/components/CreditCardForm/CreditCardFormContent.ts +27 -0
  570. package/src/components/CreditCardForm/CreditCardFormProgress.tsx +27 -0
  571. package/src/components/CreditCardForm/CreditCardFormStatus.tsx +119 -0
  572. package/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +48 -0
  573. package/src/components/CreditCardForm/CreditCardFormStep.tsx +66 -0
  574. package/src/components/CreditCardForm/FailedStatusContent.tsx +10 -0
  575. package/src/components/CreditCardForm/PendingStatusContent.tsx +38 -0
  576. package/src/components/CreditCardForm/ReworkStatusContent.tsx +32 -0
  577. package/src/components/CreditCardForm/StepsNavigationButtons.tsx +29 -0
  578. package/src/components/CreditCardForm/SuccessStatusContent.tsx +37 -0
  579. package/src/components/CreditCardForm/creditCardFormStepsData.tsx +310 -0
  580. package/src/components/CreditCardForm/formStateMap.tsx +165 -0
  581. package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +68 -0
  582. package/src/components/CreditCardForm/getFifthStepData.ts +13 -0
  583. package/src/components/CreditCardForm/getFirstStepData.tsx +13 -0
  584. package/src/components/CreditCardForm/getFourthStepData.ts +27 -0
  585. package/src/components/CreditCardForm/getInitialFormState.tsx +28 -0
  586. package/src/components/CreditCardForm/getSecondStepData.tsx +54 -0
  587. package/src/components/CreditCardForm/getThirdStepData.tsx +44 -0
  588. package/src/components/CreditCardForm/renderInfo.tsx +10 -0
  589. package/src/components/CreditCardForm/renderInputs.tsx +5 -0
  590. package/src/components/CreditCardForm/renderStep.tsx +43 -0
  591. package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +75 -0
  592. package/src/components/CreditForm/CreditForm.tsx +2 -4
  593. package/src/components/CreditForm/CreditFormStatusTracker.tsx +1 -2
  594. package/src/components/CreditForm/CreditFormStep.tsx +1 -1
  595. package/src/components/CreditForm/FailedStatusContent.tsx +1 -2
  596. package/src/components/CreditForm/creditFormStepsData.tsx +1 -1
  597. package/src/components/CreditForm/getCreditFormTaskData.ts +1 -1
  598. package/src/model/InputSectionsType.ts +13 -1
  599. package/src/ui-kit/FormField/Fields/CurrencyField.tsx +14 -15
  600. package/src/ui-kit/FormField/Fields/DeliveryDateFiels.tsx +12 -0
  601. package/src/ui-kit/FormField/Fields/MethodObtainField.tsx +19 -0
  602. package/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
  603. package/src/ui-kit/FormField/NameFieldDef.ts +3 -0
  604. package/src/ui-kit/FormField/getField.tsx +6 -0
  605. package/src/ui-kit/FormField/getObjectValidator.tsx +6 -1
@@ -70,15 +70,6 @@ export declare type TypeFormFieldDef = 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD
70
70
  * @enumNames ["Одна", "Две"]
71
71
  */
72
72
  export declare type FormColumnsCount = 1 | 2;
73
- /** @hidden */
74
- export declare type EndpointType = 'lead' | 'sendcorporatelead';
75
- /**
76
- * @title Секция полей ввода
77
- */
78
- export declare type SectionsProps = TitleProps & {
79
- columns?: FormColumnsCount;
80
- inputs?: FieldDef[];
81
- };
82
73
  /**
83
74
  * @title Форма заявки настраиваемая
84
75
  */
@@ -114,6 +114,13 @@ export interface FormState extends FormConsents {
114
114
  partInBusiness?: number;
115
115
  addressMatch?: boolean;
116
116
  confirmationIncome?: Option;
117
+ currency?: string;
118
+ paymentSystem?: string;
119
+ cardCategory?: {
120
+ key: '';
121
+ text: '';
122
+ };
123
+ codeWord?: string;
117
124
  esiaAccountTypeCd?: Option;
118
125
  }
119
126
  export declare const getInitialFormState: (inputs: FieldDef[], savedForm: FormState | null, typeForm?: string) => FormState;
@@ -0,0 +1,6 @@
1
+ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
+ import { type CreditCardFormContent } from './CreditCardFormContent';
3
+ interface CreditCardFormWizardProps extends CreditCardFormContent, UniBlockProps {
4
+ }
5
+ export declare const CreditCardForm: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormWizardProps, any, any>;
6
+ export {};
@@ -0,0 +1,22 @@
1
+ import { type FormFieldRegisterer } from '../../hooks/useForm';
2
+ import { type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
4
+ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
+ import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
6
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
7
+ import { type FormStateMap } from './formStateMap';
8
+ /** @hidden */
9
+ export interface RenderInputsProps {
10
+ inputs?: FieldDef[];
11
+ field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
12
+ }
13
+ export declare type CreditCardSectionsProps = SectionsProps & {
14
+ type?: 'courier' | 'office';
15
+ };
16
+ /**
17
+ * @title Форма заявки на потребительский кредит настраиваемая
18
+ */
19
+ export declare type CreditCardFormContent = UniBlockContent & TitleProps & InputSectionsType & {
20
+ /** @title Номер кредитной программы */
21
+ programId?: string;
22
+ };
@@ -0,0 +1,6 @@
1
+ export interface CreditCardFormProgressProps {
2
+ step: number;
3
+ totalSteps?: number;
4
+ stepsTitles?: string[];
5
+ }
6
+ export declare const CreditCardFormProgress: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormProgressProps, 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 CreditCardFormStatusProps = 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 CreditCardFormStatus: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormStatusProps, any, any>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const CreditCardFormStatusTracker: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,12 @@
1
+ import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
2
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
3
+ export interface CreditCardFormStepProps {
4
+ step: number;
5
+ sections: SectionsProps[];
6
+ inputs: FieldDef[];
7
+ onNextStep: () => void;
8
+ onPrevStep: () => void;
9
+ isFormFinished: boolean;
10
+ finishForm?: (bool: boolean) => void;
11
+ }
12
+ export declare const CreditCardFormStep: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormStepProps, 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,5 @@
1
+ export interface StepsNavigationButtonsProps {
2
+ step: number;
3
+ onPrevStep?: () => void;
4
+ }
5
+ export declare const StepsNavigationButtons: import("@redneckz/uni-jsx").UNIComponent<StepsNavigationButtonsProps, any, any>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SuccessStatusContent: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,2 @@
1
+ import { type CreditCardSectionsProps } from './CreditCardFormContent';
2
+ export declare const stepsSectionsMap: CreditCardSectionsProps[][];
@@ -0,0 +1,74 @@
1
+ import type { Option } from '../../ui-kit/Select/Option';
2
+ import { type Address } from '../ApplicationLeadForm/getInitialFormState';
3
+ export interface FormStateMap {
4
+ 0: {
5
+ currency?: string;
6
+ paymentSystem?: string;
7
+ cardCategory?: Option;
8
+ codeWord?: string;
9
+ };
10
+ 1: {
11
+ surname?: string;
12
+ name?: string;
13
+ middleName?: string;
14
+ sex?: string;
15
+ birthday?: Date;
16
+ birthPlace?: string;
17
+ phone?: string;
18
+ email?: string;
19
+ dulSerie?: number;
20
+ dulNumber?: number;
21
+ dulIssueDateField?: Date;
22
+ dulSubdivisionCode?: string;
23
+ dulIssuedBy?: string;
24
+ addressRegistration?: Address;
25
+ participantDateRegistration?: Date;
26
+ addressFact?: Address;
27
+ housing?: string;
28
+ methodObtain?: string;
29
+ addressCourier?: Address;
30
+ };
31
+ 2: {
32
+ amountWorkers?: Option;
33
+ beginDate?: Date;
34
+ employerActivities?: Option;
35
+ employerOrganization?: Option;
36
+ employment?: Option;
37
+ experience5Years?: string;
38
+ inn?: number;
39
+ jobsNumber?: string;
40
+ lastJobExperience?: string;
41
+ legalForm?: string;
42
+ organization?: Option;
43
+ organizationAddress?: Address;
44
+ organizationName?: string;
45
+ organizationPhone?: string;
46
+ partInBusiness?: number;
47
+ positionOrganization?: Option;
48
+ };
49
+ 3: {
50
+ familyStatus?: Option;
51
+ dependents?: number;
52
+ familyMembers?: number;
53
+ mandatoryIncome?: number;
54
+ otherPayments?: number;
55
+ snils?: string;
56
+ armyIdFlg?: boolean;
57
+ };
58
+ 4: {
59
+ disablePeopleFlg?: boolean;
60
+ bankruptcyFlg?: boolean;
61
+ shareholderFlg?: boolean;
62
+ legalEntityName?: string;
63
+ creditInRshbCd?: Option;
64
+ };
65
+ 5: {
66
+ regionRetail?: string;
67
+ addressRetail?: Address;
68
+ bankEmployeeCode?: string;
69
+ addressCoutier?: Address;
70
+ methodObtain?: 'office' | 'courier';
71
+ deliveryDate?: Date;
72
+ };
73
+ }
74
+ export declare const formStateMap: FormStateMap;
@@ -0,0 +1,11 @@
1
+ import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ declare type getCreditCardFormTaskDataProps = {
4
+ participantId: number;
5
+ taskId: number;
6
+ profileId: number;
7
+ formData: FormState;
8
+ step?: number;
9
+ };
10
+ export declare const getCreditCardFormTaskData: ({ participantId, taskId, profileId, formData, step, }: getCreditCardFormTaskDataProps) => UpdateUserTaskBody;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ export declare const getFifthStepData: (formData: FormState) => Partial<Participant>;
@@ -0,0 +1,3 @@
1
+ import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ export declare const getFirstStepData: (formData: FormState) => Partial<Participant>;
@@ -0,0 +1,3 @@
1
+ import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ export declare const getFourthStepData: (formData: FormState) => Partial<Participant>;
@@ -0,0 +1,2 @@
1
+ import { type FormStateMap } from './formStateMap';
2
+ export declare const getInitialFormState: <Step extends keyof FormStateMap>(step: Step, localStorageData: Record<string, any> | null) => FormStateMap[Step];
@@ -0,0 +1,3 @@
1
+ import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ export declare const getSecondStepData: (formData: FormState) => Partial<Participant>;
@@ -0,0 +1,3 @@
1
+ import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
3
+ export declare const getThirdStepData: (formData: FormState) => Partial<Participant>;
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ import { type RenderInputsProps } from './CreditCardFormContent';
3
+ export declare const renderInputs: ({ field, inputs }: RenderInputsProps) => (JSX.Element | null)[];
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
3
+ import { type CreditCardSectionsProps } from './CreditCardFormContent';
4
+ import { type FormStateMap } from './formStateMap';
5
+ export declare type CustomSubmit = FormOperatorProps<FormStateMap[keyof FormStateMap]>['onSubmit'];
6
+ export interface StepProps {
7
+ sections?: CreditCardSectionsProps[];
8
+ field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
9
+ registerSubmit?: (submit: CustomSubmit) => void;
10
+ isLastStep?: boolean;
11
+ methodObtain?: string;
12
+ }
13
+ export declare const renderStep: ({ sections, field, isLastStep, methodObtain }: StepProps) => JSX.Element[] | undefined;
@@ -0,0 +1,13 @@
1
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
+ import { type FormStateMap } from './formStateMap';
3
+ declare type CreditCardFormApiProps = {
4
+ step: number;
5
+ inputs: FieldDef[];
6
+ onNextStep: () => void;
7
+ saveStep: (value: Record<string, any>) => void;
8
+ finishForm?: (bool: boolean) => void;
9
+ };
10
+ export declare const useCreditCardFormAPI: ({ step, inputs, onNextStep, saveStep, finishForm, }: CreditCardFormApiProps) => {
11
+ handleSubmit: (formData: FormStateMap[keyof FormStateMap]) => Promise<void | "OK" | "Fail">;
12
+ };
13
+ export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
2
+ import { type SectionsProps } from '../../model/InputSectionsType';
3
3
  import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
4
4
  import { type StepProps } from './renderStep';
5
5
  export interface CreditFormStepProps {
@@ -1,2 +1,2 @@
1
- import { type SectionsProps } from '../ApplicationLeadForm/ApplicationLeadFormContent';
1
+ import { type SectionsProps } from '../../model/InputSectionsType';
2
2
  export declare const stepsSectionsMap: SectionsProps[][];
@@ -1,4 +1,12 @@
1
- import { type SectionsProps } from '../components/ApplicationForm/ApplicationFormContent';
1
+ import { type FieldDef, type FormColumnsCount } from '../components/ApplicationLeadForm/ApplicationLeadFormContent';
2
+ import { type TitleProps } from './HeadlineType';
3
+ /**
4
+ * @title Секция полей ввода
5
+ */
6
+ export declare type SectionsProps = TitleProps & {
7
+ columns?: FormColumnsCount;
8
+ inputs?: FieldDef[];
9
+ };
2
10
  export interface InputSectionsType {
3
11
  /** @hidden */
4
12
  sections?: SectionsProps[];
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const DeliveryDateFiels: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,4 @@
1
+ import { type RadioButtonItem } from '../../RadioButtonGroup/RadioButtonGroup';
2
+ import { type CustomFieldProps } from '../CustomFieldProps';
3
+ export declare const METHODS_OF_OBTAIN: RadioButtonItem[];
4
+ export declare const MethodObtainField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -1 +1 @@
1
- export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'mandatoryIncome' | 'otherPayments' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome';
1
+ export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'mandatoryIncome' | 'otherPayments' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'addressCourier' | 'deliveryDate' | 'methodObtain' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome';
@@ -9,6 +9,6 @@ interface GetTaskStatusResponse {
9
9
  taskId: number;
10
10
  }
11
11
  export declare const getTaskStatus: (body: {
12
- taskId: number;
12
+ taskId: number | null;
13
13
  }) => Promise<GetTaskStatusResponse>;
14
14
  export {};
@@ -1 +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"}
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,IAA+B,EAAE,EAAE,CAC/D,IAAA,qBAAS,EAAwB,0BAA0B,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;AADhE,QAAA,aAAa,iBACmD"}
@@ -84,6 +84,10 @@ export declare type Participant = {
84
84
  key: string;
85
85
  value: string;
86
86
  };
87
+ currencyCode?: string;
88
+ paymentSystemTypeCd?: string;
89
+ classCard?: Option;
90
+ codeWord?: string;
87
91
  };
88
92
  export declare type UpdateUserTaskBody = {
89
93
  sendToBank: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;AACA,2CAAwC;AA0HjC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE,CACzD,IAAA,qBAAS,EAA4B,2BAA2B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AADpE,QAAA,cAAc,kBACsD"}
1
+ {"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;AACA,2CAAwC;AA8HjC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE,CACzD,IAAA,qBAAS,EAA4B,2BAA2B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AADpE,QAAA,cAAc,kBACsD"}
@@ -53,5 +53,6 @@ exports.hintsListsOptions = {
53
53
  addressRegistration: ADDRESS_HINTS_LIST_OPTIONS,
54
54
  addressFact: ADDRESS_HINTS_LIST_OPTIONS,
55
55
  organizationAddress: ADDRESS_HINTS_LIST_OPTIONS,
56
+ addressCourier: ADDRESS_HINTS_LIST_OPTIONS,
56
57
  };
57
58
  //# sourceMappingURL=hintsListsOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hintsListsOptions.js","sourceRoot":"","sources":["../../../src/api/dadataHints/hintsListsOptions.ts"],"names":[],"mappings":";;AAEA,MAAM,uBAAuB,GAAG;IAC9B,GAAG,EAAE,aAAa;IAClB,WAAW,EAAE;QACX,KAAK,EAAE,CAAC,MAAM,CAAC;QAC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,EAAE,0BAA0B;IACvC,mBAAmB,EAAE,0BAA0B;CAChD,CAAC"}
1
+ {"version":3,"file":"hintsListsOptions.js","sourceRoot":"","sources":["../../../src/api/dadataHints/hintsListsOptions.ts"],"names":[],"mappings":";;AAEA,MAAM,uBAAuB,GAAG;IAC9B,GAAG,EAAE,aAAa;IAClB,WAAW,EAAE;QACX,KAAK,EAAE,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,SAAS;KAClB;CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG;IACjC,GAAG,EAAE,aAAa;IAClB,WAAW,EAAE;QACX,KAAK,EAAE,CAAC,SAAS,CAAC;QAClB,MAAM,EAAE,SAAS;KAClB;CACF,CAAC;AAEF,MAAM,6BAA6B,GAAG;IACpC,GAAG,EAAE,aAAa;IAClB,WAAW,EAAE;QACX,KAAK,EAAE,CAAC,YAAY,CAAC;QACrB,MAAM,EAAE,SAAS;KAClB;CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG;IAC/B,GAAG,EAAE,eAAe;CACrB,CAAC;AAEF,MAAM,+BAA+B,GAAG;IACtC,GAAG,EAAE,kBAAkB;CACxB,CAAC;AAEF,MAAM,gCAAgC,GAAG;IACvC,GAAG,EAAE,kBAAkB;IACvB,mBAAmB,EAAE,CAAC,IAAuB,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,EAAE;CAC3F,CAAC;AAEF,MAAM,oCAAoC,GAAG;IAC3C,GAAG,EAAE,eAAe;CACrB,CAAC;AAEF,MAAM,mCAAmC,GAAG;IAC1C,GAAG,EAAE,eAAe;IACpB,mBAAmB,EAAE,CAAC,IAAuB,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE;CACxE,CAAC;AAEF,MAAM,0BAA0B,GAAG;IACjC,GAAG,EAAE,iBAAiB;CACvB,CAAC;AAIW,QAAA,iBAAiB,GAAqB;IACjD,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,0BAA0B;IACnC,UAAU,EAAE,6BAA6B;IACzC,KAAK,EAAE,wBAAwB;IAC/B,kBAAkB,EAAE,gCAAgC;IACpD,WAAW,EAAE,+BAA+B;IAC5C,gBAAgB,EAAE,oCAAoC;IACtD,GAAG,EAAE,mCAAmC;IACxC,mBAAmB,EAAE,0BAA0B;IAC/C,WAAW,EAAE,0BAA0B;IACvC,mBAAmB,EAAE,0BAA0B;IAC/C,cAAc,EAAE,0BAA0B;CAC3C,CAAC"}
@@ -70,15 +70,6 @@ export declare type TypeFormFieldDef = 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD
70
70
  * @enumNames ["Одна", "Две"]
71
71
  */
72
72
  export declare type FormColumnsCount = 1 | 2;
73
- /** @hidden */
74
- export declare type EndpointType = 'lead' | 'sendcorporatelead';
75
- /**
76
- * @title Секция полей ввода
77
- */
78
- export declare type SectionsProps = TitleProps & {
79
- columns?: FormColumnsCount;
80
- inputs?: FieldDef[];
81
- };
82
73
  /**
83
74
  * @title Форма заявки настраиваемая
84
75
  */
@@ -114,6 +114,13 @@ export interface FormState extends FormConsents {
114
114
  partInBusiness?: number;
115
115
  addressMatch?: boolean;
116
116
  confirmationIncome?: Option;
117
+ currency?: string;
118
+ paymentSystem?: string;
119
+ cardCategory?: {
120
+ key: '';
121
+ text: '';
122
+ };
123
+ codeWord?: string;
117
124
  esiaAccountTypeCd?: Option;
118
125
  }
119
126
  export declare const getInitialFormState: (inputs: FieldDef[], savedForm: FormState | null, typeForm?: string) => FormState;
@@ -36,6 +36,10 @@ const initialFormState = {
36
36
  consentInformFlg: false,
37
37
  addressRegistration: '',
38
38
  participantDateRegistration: undefined,
39
+ currency: '',
40
+ paymentSystem: '',
41
+ cardCategory: { key: '', text: '' },
42
+ codeWord: '',
39
43
  };
40
44
  const getInitialFormState = (inputs, savedForm, typeForm = '') => {
41
45
  if (savedForm) {
@@ -1 +1 @@
1
- {"version":3,"file":"getInitialFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getInitialFormState.tsx"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,gEAI0C;AAC1C,iFAA+E;AAC/E,qEAAmE;AA2HnE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACpC,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,eAAe,EAAE,EAAE;IACnB,aAAa,EAAE,EAAE;IACjB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,gCAAe,CAAC,CAAC,CAAC;IACjC,WAAW,EAAE,yBAAa,CAAC,CAAC,CAAC;IAC7B,cAAc,EAAE,2BAAe,CAAC,CAAC,CAAC;IAClC,gBAAgB,EAAE,8BAAkB,CAAC,CAAC,CAAC;IACvC,QAAQ,EAAE,oBAAS,CAAC,CAAC,CAAC;IACtB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,KAAK;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,KAAK;IAClB,yBAAyB,EAAE,KAAK;IAChC,qBAAqB,EAAE,KAAK;IAC5B,sBAAsB,EAAE,KAAK;IAC7B,kBAAkB,EAAE,KAAK;IACzB,gBAAgB,EAAE,KAAK;IACvB,gBAAgB,EAAE,KAAK;IACvB,mBAAmB,EAAE,EAAE;IACvB,2BAA2B,EAAE,SAAS;CACvC,CAAC;AAEK,MAAM,mBAAmB,GAAG,CACjC,MAAkB,EAClB,SAA2B,EAC3B,QAAQ,GAAG,EAAE,EACF,EAAE;IACb,IAAI,SAAS,EAAE;QACb,MAAM,aAAa,GAAG,EAAE,GAAG,SAAS,EAAE,CAAC;QACvC,aAAa,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,aAAa,EAAE,QAAQ,IAAI,CAAC,CAAC,CAAC;QAEhE,OAAO,aAAa,CAAC;KACtB;IAED,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAClC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAChB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,CAAC,SAAS,KAAK,KAAK,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;KAC7E,CAAC,CACH,CAAC;IAEF,OAAO,EAAE,GAAG,SAAS,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,EAAE,IAAI,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC;AACvE,CAAC,CAAC;AApBW,QAAA,mBAAmB,uBAoB9B"}
1
+ {"version":3,"file":"getInitialFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getInitialFormState.tsx"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,gEAI0C;AAC1C,iFAA+E;AAC/E,qEAAmE;AA+HnE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACpC,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,eAAe,EAAE,EAAE;IACnB,aAAa,EAAE,EA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,gBAAgB,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;KAC7E,CAAC,CACH,CAAC;IAEF,OAAO,EAAE,GAAG,SAAS,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,EAAE,IAAI,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC;AACvE,CAAC,CAAC;AApBW,QAAA,mBAAmB,uBAoB9B"}
@@ -19,6 +19,7 @@ const CarouselCatalogCard_1 = require("./CarouselCatalogCard/CarouselCatalogCard
19
19
  const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
20
20
  const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
21
21
  const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
22
+ const CreditCardForm_1 = require("./CreditCardForm/CreditCardForm");
22
23
  const CreditForm_1 = require("./CreditForm/CreditForm");
23
24
  const DepositFiltration_1 = require("./DepositFiltration/DepositFiltration");
24
25
  const Depository_1 = require("./Depository/Depository");
@@ -68,6 +69,7 @@ exports.Blocks = {
68
69
  CarouselLinks: CarouselLinks_1.CarouselLinks,
69
70
  CarouselRecommendationCard: CarouselRecommendationCard_1.CarouselRecommendationCard,
70
71
  CarouselTariffsCard: CarouselTariffsCard_1.CarouselTariffsCard,
72
+ CreditCardForm: CreditCardForm_1.CreditCardForm,
71
73
  CreditForm: CreditForm_1.CreditForm,
72
74
  DepositFiltration: DepositFiltration_1.DepositFiltration,
73
75
  Depository: Depository_1.Depository,
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AAEA,4CAAyC;AACzC,uEAAoE;AACpE,mFAAgF;AAChF,yFAAsF;AACtF,iEAA8D;AAC9D,gFAA6E;AAC7E,8DAA2D;AAC3D,uEAAoE;AACpE,qGAAkG;AAClG,0EAAuE;AACvE,6EAA0E;AAC1E,yFAAsF;AACtF,8DAA2D;AAC3D,kDAA+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,mDAAwB;IACxB,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,gBAAgB,EAAhB,mCAAgB;IAChB,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,cAAc,EAAd,+BAAc;CACf,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
+ import { type CreditCardFormContent } from './CreditCardFormContent';
3
+ interface CreditCardFormWizardProps extends CreditCardFormContent, UniBlockProps {
4
+ }
5
+ export declare const CreditCardForm: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormWizardProps, any, any>;
6
+ export {};
@@ -0,0 +1,34 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.CreditCardForm = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
+ const style_1 = require("../../utils/style");
8
+ const CreditCardFormProgress_1 = require("./CreditCardFormProgress");
9
+ const CreditCardFormStep_1 = require("./CreditCardFormStep");
10
+ const creditCardFormStepsData_1 = require("./creditCardFormStepsData");
11
+ const WIZARD_STEPS = 6;
12
+ const WIZARD_TITLES = [
13
+ 'Параметры карты',
14
+ 'Персональные данные',
15
+ 'Данные о трудоустройстве',
16
+ 'Данные о доходах и расходах',
17
+ 'Дополнительные сведения',
18
+ 'Выбор способа получения',
19
+ ];
20
+ exports.CreditCardForm = (0, uni_jsx_1.JSX)(({ className, ...rest }) => {
21
+ const [step, setStep] = (0, hooks_1.useState)(0);
22
+ const handleNextStep = (0, hooks_1.useCallback)(() => {
23
+ setStep((_) => Math.min(_ + 1, WIZARD_STEPS));
24
+ }, []);
25
+ const handlePrevStep = (0, hooks_1.useCallback)(() => {
26
+ //TODO search hook - 1,
27
+ setStep((_) => Math.max(_ - 1, 0));
28
+ }, []);
29
+ const sections = (0, hooks_1.useMemo)(() => creditCardFormStepsData_1.stepsSectionsMap[step], [step]);
30
+ const inputs = (sections?.flatMap((_) => _?.inputs) || []);
31
+ const [isFormFinished, setIsFormFinished] = (0, hooks_1.useState)(false);
32
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('bg-transparent', className), defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container grid grid-cols-12", children: [isFormFinished ? null : ((0, jsx_runtime_1.jsx)(CreditCardFormProgress_1.CreditCardFormProgress, { stepsTitles: WIZARD_TITLES, step: step, totalSteps: WIZARD_STEPS })), (0, jsx_runtime_1.jsx)("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: (0, jsx_runtime_1.jsx)(CreditCardFormStep_1.CreditCardFormStep, { step: step, inputs: inputs, sections: sections, onNextStep: handleNextStep, onPrevStep: handlePrevStep, isFormFinished: isFormFinished, finishForm: setIsFormFinished }, String(step)) })] }) }));
33
+ });
34
+ //# sourceMappingURL=CreditCardForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditCardForm.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/CreditCardForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA6E;AAE7E,4DAAyD;AAEzD,6CAA0C;AAG1C,qEAAkE;AAClE,6DAA0D;AAC1D,uEAA6D;AAI7D,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,aAAa,GAAG;IACpB,iBAAiB;IACjB,qBAAqB;IACrB,0BAA0B;IAC1B,6BAA6B;IAC7B,yBAAyB;IACzB,yBAAyB;CAC1B,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,aAAG,EAA4B,CAAC,EAAE,SAAS,EAA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ACD,gCAAK,SAAS,EAAC,0CAA0C,YACvD,uBAAC,uCAAkB,IAEjB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,cAAc,EAC1B,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,iBAAiB,IAPxB,MAAM,CAAC,IAAI,CAAC,CAQjB,GACE,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type FormFieldRegisterer } from '../../hooks/useForm';
2
+ import { type TitleProps } from '../../model/HeadlineType';
3
+ import { type InputSectionsType } from '../../model/InputSectionsType';
4
+ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
+ import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
6
+ import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
7
+ import { type FormStateMap } from './formStateMap';
8
+ /** @hidden */
9
+ export interface RenderInputsProps {
10
+ inputs?: FieldDef[];
11
+ field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
12
+ }
13
+ export declare type CreditCardSectionsProps = SectionsProps & {
14
+ type?: 'courier' | 'office';
15
+ };
16
+ /**
17
+ * @title Форма заявки на потребительский кредит настраиваемая
18
+ */
19
+ export declare type CreditCardFormContent = UniBlockContent & TitleProps & InputSectionsType & {
20
+ /** @title Номер кредитной программы */
21
+ programId?: string;
22
+ };
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=CreditCardFormContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditCardFormContent.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/CreditCardFormContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface CreditCardFormProgressProps {
2
+ step: number;
3
+ totalSteps?: number;
4
+ stepsTitles?: string[];
5
+ }
6
+ export declare const CreditCardFormProgress: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormProgressProps, any, any>;
@@ -0,0 +1,11 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.CreditCardFormProgress = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const ProgressBar_1 = require("../../ui-kit/ProgressBar/ProgressBar");
7
+ exports.CreditCardFormProgress = (0, uni_jsx_1.JSX)(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
8
+ const progress = (0, hooks_1.useMemo)(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
9
+ return ((0, jsx_runtime_1.jsx)("div", { className: "py-lg px-5xl bg-white col-span-12", children: (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("span", { className: "font-bold mr-s", children: ["\u0428\u0430\u0433 ", step + 1, " \u0438\u0437 ", totalSteps, "."] }), stepsTitles[step] || null, (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, { step: progress, showPercentage: false })] }) }));
10
+ });
11
+ //# sourceMappingURL=CreditCardFormProgress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditCardFormProgress.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/CreditCardFormProgress.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAsD;AACtD,sEAAmE;AAQtD,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,EAAE,WAAW,GAAG,EAAE,EAAE,EAAE,EAAE;IACjD,MAAM,QAAQ,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAEpF,OAAO,CACL,gCAAK,SAAS,EAAC,mCAAmC,YAChD,4CACE,kCAAM,SAAS,EAAC,gBAAgB,oCACzB,IAAI,GAAG,CAAC,oBAAM,UAAU,SACxB,EACN,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,EAC1B,uBAAC,yBAAW,IAAC,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,GAAI,IAClD,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -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 CreditCardFormStatusProps = 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 CreditCardFormStatus: import("@redneckz/uni-jsx").UNIComponent<CreditCardFormStatusProps, any, any>;
16
+ export {};