@redneckz/wildless-cms-uni-blocks 0.14.779 → 0.14.787

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 (284) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +177 -121
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  5. package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  6. package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  7. package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  8. package/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  9. package/bundle/components/CalculatorDeposit/normalize.d.ts +2 -3
  10. package/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  11. package/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  12. package/bundle/retail/components/Fields/AddressCourierField.d.ts +9 -0
  13. package/bundle/retail/inputs.d.ts +77 -76
  14. package/bundle/retail/model/LeadFormState.d.ts +2 -2
  15. package/bundle/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  16. package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  17. package/bundle/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  18. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  19. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  20. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  21. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  22. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  23. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  24. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  25. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  26. package/dist/components/CalculatorCredit/CalculatorCredit.js +0 -2
  27. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  28. package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  29. package/dist/components/CalculatorDeposit/CalculatorDeposit.js +16 -7
  30. package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  31. package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  32. package/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  33. package/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  34. package/dist/components/CalculatorDeposit/normalize.d.ts +2 -3
  35. package/dist/components/CalculatorDeposit/normalize.js.map +1 -1
  36. package/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  37. package/dist/components/CalculatorDeposit/renderDepositParamsForm.js +30 -41
  38. package/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  39. package/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  40. package/dist/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  41. package/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  42. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  43. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  44. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  45. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  46. package/dist/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  47. package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  48. package/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  49. package/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  50. package/dist/retail/components/Fields/AddressCourierField.d.ts +9 -0
  51. package/dist/retail/components/Fields/AddressCourierField.js +50 -0
  52. package/dist/retail/components/Fields/AddressCourierField.js.map +1 -0
  53. package/dist/retail/inputs.d.ts +77 -76
  54. package/dist/retail/inputs.js +6 -1
  55. package/dist/retail/inputs.js.map +1 -1
  56. package/dist/retail/model/LeadFormState.d.ts +2 -2
  57. package/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  58. package/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
  59. package/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  60. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  61. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  62. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  63. package/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
  64. package/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  65. package/dist/ui-kit/Calculator/renderPayout.js +2 -0
  66. package/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
  67. package/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  68. package/lib/common.css +1 -1
  69. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  70. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  71. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  72. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  73. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  74. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  75. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  76. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  77. package/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
  78. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  79. package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  80. package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.d.ts +1 -0
  81. package/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
  82. package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  83. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  84. package/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  85. package/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  86. package/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
  87. package/lib/components/CalculatorDeposit/normalize.js.map +1 -1
  88. package/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  89. package/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
  90. package/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  91. package/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  92. package/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  93. package/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  94. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  95. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  96. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  97. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  98. package/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  99. package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  100. package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  101. package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  102. package/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
  103. package/lib/retail/components/Fields/AddressCourierField.js +48 -0
  104. package/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
  105. package/lib/retail/inputs.d.ts +77 -76
  106. package/lib/retail/inputs.js +6 -1
  107. package/lib/retail/inputs.js.map +1 -1
  108. package/lib/retail/model/LeadFormState.d.ts +2 -2
  109. package/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  110. package/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
  111. package/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  112. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  113. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  114. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  115. package/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
  116. package/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  117. package/lib/ui-kit/Calculator/renderPayout.js +2 -0
  118. package/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
  119. package/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  120. package/mobile/bundle/bundle.umd.js +177 -121
  121. package/mobile/bundle/bundle.umd.min.js +1 -1
  122. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  123. package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  124. package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  125. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  126. package/mobile/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  127. package/mobile/bundle/components/CalculatorDeposit/normalize.d.ts +2 -3
  128. package/mobile/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  129. package/mobile/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  130. package/mobile/bundle/retail/components/Fields/AddressCourierField.d.ts +9 -0
  131. package/mobile/bundle/retail/inputs.d.ts +77 -76
  132. package/mobile/bundle/retail/model/LeadFormState.d.ts +2 -2
  133. package/mobile/bundle/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  134. package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  135. package/mobile/bundle/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  136. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  137. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  138. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  139. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  140. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  141. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  142. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  143. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  144. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +0 -2
  145. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  146. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  147. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +16 -7
  148. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  149. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  150. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  151. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  152. package/mobile/dist/components/CalculatorDeposit/normalize.d.ts +2 -3
  153. package/mobile/dist/components/CalculatorDeposit/normalize.js.map +1 -1
  154. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  155. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js +30 -41
  156. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  157. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  158. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  159. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  160. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  161. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  162. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  163. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  164. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  165. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  166. package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  167. package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  168. package/mobile/dist/retail/components/Fields/AddressCourierField.d.ts +9 -0
  169. package/mobile/dist/retail/components/Fields/AddressCourierField.js +50 -0
  170. package/mobile/dist/retail/components/Fields/AddressCourierField.js.map +1 -0
  171. package/mobile/dist/retail/inputs.d.ts +77 -76
  172. package/mobile/dist/retail/inputs.js +6 -1
  173. package/mobile/dist/retail/inputs.js.map +1 -1
  174. package/mobile/dist/retail/model/LeadFormState.d.ts +2 -2
  175. package/mobile/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  176. package/mobile/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
  177. package/mobile/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  178. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  179. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  180. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  181. package/mobile/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
  182. package/mobile/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  183. package/mobile/dist/ui-kit/Calculator/renderPayout.js +2 -0
  184. package/mobile/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
  185. package/mobile/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  186. package/mobile/lib/common.css +1 -1
  187. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  188. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  189. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  190. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  191. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  192. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  193. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  194. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  195. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
  196. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  197. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  198. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
  199. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  200. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  201. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  202. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  203. package/mobile/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
  204. package/mobile/lib/components/CalculatorDeposit/normalize.js.map +1 -1
  205. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  206. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
  207. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  208. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  209. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  210. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  211. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  212. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  213. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  214. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  215. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  216. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  217. package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  218. package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  219. package/mobile/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
  220. package/mobile/lib/retail/components/Fields/AddressCourierField.js +48 -0
  221. package/mobile/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
  222. package/mobile/lib/retail/inputs.d.ts +77 -76
  223. package/mobile/lib/retail/inputs.js +6 -1
  224. package/mobile/lib/retail/inputs.js.map +1 -1
  225. package/mobile/lib/retail/model/LeadFormState.d.ts +2 -2
  226. package/mobile/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  227. package/mobile/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
  228. package/mobile/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  229. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  230. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  231. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  232. package/mobile/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
  233. package/mobile/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  234. package/mobile/lib/ui-kit/Calculator/renderPayout.js +2 -0
  235. package/mobile/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
  236. package/mobile/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  237. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
  238. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
  239. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
  240. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
  241. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
  242. package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
  243. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
  244. package/mobile/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
  245. package/mobile/src/components/CalculatorDeposit/normalize.tsx +1 -2
  246. package/mobile/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
  247. package/mobile/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
  248. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  249. package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
  250. package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
  251. package/mobile/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
  252. package/mobile/src/retail/components/Fields/AddressCourierField.tsx +74 -0
  253. package/mobile/src/retail/inputs.tsx +10 -1
  254. package/mobile/src/retail/model/LeadFormState.ts +2 -2
  255. package/mobile/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
  256. package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
  257. package/mobile/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
  258. package/mobile/src/ui-kit/Calculator/renderPayout.tsx +2 -0
  259. package/mobile/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
  260. package/package.json +1 -1
  261. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
  262. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
  263. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
  264. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
  265. package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
  266. package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.tsx +12 -0
  267. package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
  268. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
  269. package/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
  270. package/src/components/CalculatorDeposit/normalize.tsx +1 -2
  271. package/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
  272. package/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
  273. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  274. package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
  275. package/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
  276. package/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
  277. package/src/retail/components/Fields/AddressCourierField.tsx +74 -0
  278. package/src/retail/inputs.tsx +10 -1
  279. package/src/retail/model/LeadFormState.ts +2 -2
  280. package/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
  281. package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
  282. package/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
  283. package/src/ui-kit/Calculator/renderPayout.tsx +2 -0
  284. package/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
@@ -1,3 +1,4 @@
1
+ import { type AspectsProps } from '../../model/AspectsProps';
1
2
  import { type TextProps, type TitleProps } from '../../model/HeadlineType';
2
3
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
3
4
  import { type InputRetailSectionsType } from '../../retail/model/InputSectionsType';
@@ -9,7 +10,7 @@ export declare type ProductType = 'credit' | 'creditCard' | 'debitCard';
9
10
  /**
10
11
  * @title Форма заявки настраиваемая
11
12
  */
12
- export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputRetailSectionsType & {
13
+ export declare type ApplicationLeadFormContent = UniBlockContent & AspectsProps & TitleProps & InputRetailSectionsType & {
13
14
  /** @title Кнопка */
14
15
  button?: SubmitButtonProps;
15
16
  /** @title Номер кредитной программы */
@@ -1,11 +1,12 @@
1
+ import { type AspectsProps } from '../../model/AspectsProps';
1
2
  import { type LeadFormState } from '../../retail/model/LeadFormState';
2
3
  import { type ProductType } from './ApplicationLeadFormContent';
3
- interface ApplicationLeadApiProps {
4
+ interface ApplicationLeadApiProps extends AspectsProps {
4
5
  programId: string;
5
6
  nextStepLink: string;
6
7
  productType: ProductType;
7
8
  }
8
- export declare const useApplicationLeadApi: ({ programId, nextStepLink, productType, }: ApplicationLeadApiProps) => {
9
+ export declare const useApplicationLeadApi: ({ programId, nextStepLink, productType, data, }: ApplicationLeadApiProps) => {
9
10
  isSending: boolean;
10
11
  ok: boolean | undefined;
11
12
  handleSubmit: (formData: LeadFormState) => Promise<void>;
@@ -1,7 +1,6 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
3
- import { type CalculatorDepositContent } from './CalculatorDepositContent';
4
- import { type DepositCalculatorData } from './getDepositCalculatorParams';
3
+ import { type CalculatorDepositContent, type DepositCalculatorData } from './CalculatorDepositContent';
5
4
  export interface CalculatorDepositProps extends CalculatorDepositContent, UniBlockProps {
6
5
  className?: string;
7
6
  calcSource?: DepositCalculatorData & JSONRefObject;
@@ -1,6 +1,32 @@
1
- import { type CalcValueProps, type CommonCalculatorProps, type CommonDefaultParams } from '../../ui-kit/Calculator/CalculatorProps';
1
+ import { type CalcDefaultParamsProps, type CalcValueProps, type CommonCalculatorProps, type CommonDefaultParams } from '../../ui-kit/Calculator/CalculatorProps';
2
+ import type { LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
2
3
  import { type Option } from '../../ui-kit/Select/Option';
3
4
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
+ export interface DepositCalculatorUserInputParams extends CommonDepositParams, CalcValueProps {
6
+ }
7
+ export interface DepositCalculatorParams extends DepositCalculatorSourceBookParams, DepositCalculatorUserInputParams {
8
+ availableMonths: number[];
9
+ defaultMonth: number;
10
+ income: number;
11
+ finalSum: number;
12
+ currency?: Option;
13
+ }
14
+ export declare type LinkButtonWithTypeContent = LinkButtonContent & {
15
+ type?: string;
16
+ };
17
+ export declare type DepositCalculatorRowsData = {
18
+ currency: Option;
19
+ rates?: DepositCalculatorSourceBookParams[];
20
+ extraPercents?: Option[];
21
+ };
22
+ export declare type DepositCalculatorData = {
23
+ rows?: DepositCalculatorRowsData[];
24
+ buttons?: LinkButtonWithTypeContent[];
25
+ };
26
+ export interface DepositCalculatorSourceBookParams extends CommonDepositParams, CalcDefaultParamsProps {
27
+ currency?: Option;
28
+ extraPercent?: Option;
29
+ }
4
30
  export interface CalculatorDepositParamsViewSettings {
5
31
  /**
6
32
  * @title Выплата процентов
@@ -18,6 +44,8 @@ export interface CalculatorDepositParamsViewSettings {
18
44
  isShowWithdrawn?: boolean;
19
45
  /** @title Новый клиент */
20
46
  isShowNewClient?: boolean;
47
+ /** @title Новый клиент */
48
+ isShowExtraPercent?: boolean;
21
49
  }
22
50
  export interface CommonDepositParams {
23
51
  /** @title Возможность пополнять */
@@ -30,6 +58,8 @@ export interface CommonDepositParams {
30
58
  isRemoteRegistration?: boolean;
31
59
  /** @title Новый клиент */
32
60
  isNewClient?: boolean;
61
+ /** @title Дополнительный процент */
62
+ extraPercent?: Option;
33
63
  /** @title Валюта */
34
64
  currency?: Option;
35
65
  /** @hidden */
@@ -1,28 +1,2 @@
1
- import { type CalcDefaultParamsProps, type CalcValueProps } from '../../ui-kit/Calculator/CalculatorProps';
2
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { type Option } from '../../ui-kit/Select/Option';
4
- import { type CalculatorDepositParamsViewSettings, type CommonDepositParams } from './CalculatorDepositContent';
5
- export interface DepositCalculatorSourceBookParams extends CommonDepositParams, CalcDefaultParamsProps {
6
- currency?: Option;
7
- }
8
- export interface DepositCalculatorUserInputParams extends CommonDepositParams, CalcValueProps {
9
- }
10
- export interface DepositCalculatorParams extends DepositCalculatorSourceBookParams, DepositCalculatorUserInputParams {
11
- availableMonths: number[];
12
- defaultMonth: number;
13
- income: number;
14
- finalSum: number;
15
- currency?: Option;
16
- }
17
- export declare type TariffsButtonContent = LinkButtonContent & {
18
- type?: string;
19
- };
20
- export declare type DepositCalculatorRowsData = {
21
- currency: Option;
22
- rates: DepositCalculatorSourceBookParams[];
23
- };
24
- export declare type DepositCalculatorData = {
25
- rows?: DepositCalculatorRowsData[];
26
- buttons?: TariffsButtonContent[];
27
- };
1
+ import { type CalculatorDepositParamsViewSettings, type DepositCalculatorParams, type DepositCalculatorSourceBookParams, type DepositCalculatorUserInputParams } from './CalculatorDepositContent';
28
2
  export declare const getDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, rows?: DepositCalculatorSourceBookParams[], paramsViewSettings?: CalculatorDepositParamsViewSettings) => DepositCalculatorParams;
@@ -1,6 +1,5 @@
1
1
  import { type Option } from '../../ui-kit/Select/Option';
2
- import { type DepositParams } from './CalculatorDepositContent';
3
- import { type DepositCalculatorRowsData } from './getDepositCalculatorParams';
2
+ import { type DepositCalculatorRowsData, type DepositParams } from './CalculatorDepositContent';
4
3
  export declare const normalizeDepositParams: (rows?: DepositCalculatorRowsData[]) => (_: DepositParams) => DepositParams;
5
4
  export declare const normalizeMonthValue: (_: DepositParams, rows?: DepositCalculatorRowsData[]) => {
6
5
  monthsValue: number;
@@ -15,4 +14,4 @@ export declare const normalizeReplenishWithdrawn: (_: DepositParams) => {
15
14
  isReplenish: boolean | undefined;
16
15
  isWithdrawn: boolean | undefined;
17
16
  };
18
- export declare const getRows: (rows?: DepositCalculatorRowsData[], currencyValue?: Option) => import("./getDepositCalculatorParams").DepositCalculatorSourceBookParams[] | undefined;
17
+ export declare const getRows: (rows?: DepositCalculatorRowsData[], currencyValue?: Option) => import("./CalculatorDepositContent").DepositCalculatorSourceBookParams[] | undefined;
@@ -1,4 +1,4 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
2
- import { type CalculatorDepositParamsViewSettings } from './CalculatorDepositContent';
3
- import { type DepositCalculatorParams } from './getDepositCalculatorParams';
4
- export declare const renderDepositParamsForm: (params: DepositCalculatorParams & CalculatorDepositParamsViewSettings, field: FormFieldRegisterer<any>) => any;
2
+ import { type Option } from '../../ui-kit/Select/Option';
3
+ import { type CalculatorDepositParamsViewSettings, type DepositCalculatorParams } from './CalculatorDepositContent';
4
+ export declare const renderDepositParamsForm: (params: DepositCalculatorParams & CalculatorDepositParamsViewSettings, field: FormFieldRegisterer<any>, extraPercents?: Option[]) => any;
@@ -1,2 +1,2 @@
1
1
  import { type BinaryRadioButtonGroupProps } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup';
2
- export declare const renderRegistrationType: (props: Partial<BinaryRadioButtonGroupProps>) => any;
2
+ export declare const renderRegistrationType: (props: Partial<BinaryRadioButtonGroupProps>, isShow?: boolean) => any;
@@ -0,0 +1,9 @@
1
+ import { type JSONRefObject } from '../../../data/JSONRefObject';
2
+ import { type CustomFieldProps } from '../../../ui-kit/FormField/CustomFieldProps';
3
+ import { type UniBlockProps } from '../../../UniBlock/UniBlockProps';
4
+ export interface AddressCourierFieldProps extends CustomFieldProps, UniBlockProps {
5
+ source?: JSONRefObject & {
6
+ deliveryCities?: string[];
7
+ };
8
+ }
9
+ export declare const AddressCourierField: import("../../../UniBlock/UniBlock").UniBlockComponent<AddressCourierFieldProps>;
@@ -1,84 +1,85 @@
1
+ import { type CustomFieldProps } from '../ui-kit/FormField/CustomFieldProps';
1
2
  export declare const InputsApplicationLeadMap: {
2
- limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
3
- name: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
4
- surname: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
5
- middleName: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
6
- email: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
3
+ limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
4
+ name: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
5
+ surname: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
6
+ middleName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
7
+ email: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
7
8
  };
8
9
  export declare const InputsConsentsMap: {
9
- processPersonalDataFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
10
- consentProviderFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
11
- consentOthersFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
12
- consentInformFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
13
- consentPfrFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
14
- consentInformMaterialsFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
15
- consentPhotoFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
16
- consentFATCA: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
10
+ processPersonalDataFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
11
+ consentProviderFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
12
+ consentOthersFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
13
+ consentInformFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
14
+ consentPfrFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
15
+ consentInformMaterialsFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
16
+ consentPhotoFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
17
+ consentFATCA: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
17
18
  };
18
19
  export declare const InputsRetailMap: {
19
- organization: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
20
- organizationAddress: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
21
- organizationPhone: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
22
- organizationName: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
23
- legalForm: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
24
- generalSeniority: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
25
- lastJobExperience: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
26
- experience5Years: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
27
- jobsNumber: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
28
- beginDate: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
29
- addressFact: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
30
- addressRegistration: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
31
- addressRetail: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
32
- addressMatch: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
33
- sex: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
34
- limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
35
- birthPlace: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
36
- education: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
37
- housing: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
38
- amountWorkers: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
39
- employment: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
40
- employerActivities: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
41
- employerOrganization: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
42
- positionOrganization: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
43
- familyStatus: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
44
- familyMembers: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
45
- children: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
46
- dependents: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
47
- totalIncome: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
48
- expenses: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
49
- snils: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
50
- conscription: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
51
- armyIdFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
52
- dulSerie: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
53
- dulNumber: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
54
- dulIssueDate: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
55
- dulSubdivisionCode: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
56
- dulIssuedBy: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
57
- participantDateRegistration: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
58
- retirementIncome: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
59
- otherIncome: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
60
- wages: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
61
- mandatoryPayments: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
62
- bankruptcyFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
63
- shareholderFlg: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
64
- legalEntityName: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
65
- creditInRshbCd: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
66
- bankEmployeeCode: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
67
- partInBusiness: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
68
- regionRetail: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
69
- infoCard: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
70
- calculator: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
71
- confirmationIncome: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
72
- inn: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
20
+ organization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
21
+ organizationAddress: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
22
+ organizationPhone: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
23
+ organizationName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
24
+ legalForm: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
25
+ generalSeniority: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
26
+ lastJobExperience: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
27
+ experience5Years: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
28
+ jobsNumber: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
29
+ beginDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
30
+ addressFact: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
31
+ addressRegistration: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
32
+ addressRetail: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
33
+ addressMatch: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
34
+ sex: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
35
+ limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
36
+ birthPlace: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
37
+ education: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
38
+ housing: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
39
+ amountWorkers: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
40
+ employment: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
41
+ employerActivities: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
42
+ employerOrganization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
43
+ positionOrganization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
44
+ familyStatus: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
45
+ familyMembers: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
46
+ children: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
47
+ dependents: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
48
+ totalIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
49
+ expenses: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
50
+ snils: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
51
+ conscription: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
52
+ armyIdFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
53
+ dulSerie: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
54
+ dulNumber: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
55
+ dulIssueDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
56
+ dulSubdivisionCode: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
57
+ dulIssuedBy: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
58
+ participantDateRegistration: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
59
+ retirementIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
60
+ otherIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
61
+ wages: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
62
+ mandatoryPayments: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
63
+ bankruptcyFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
64
+ shareholderFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
65
+ legalEntityName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
66
+ creditInRshbCd: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
67
+ bankEmployeeCode: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
68
+ partInBusiness: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
69
+ regionRetail: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
70
+ infoCard: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
71
+ calculator: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
72
+ confirmationIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
73
+ inn: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
73
74
  };
74
75
  export declare const InputRetailCardMap: {
75
- addressCourier: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
76
- paymentSystem: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
77
- currency: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
78
- cardCategory: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
79
- codeWord: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
80
- methodObtain: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
81
- deliveryDate: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
82
- latinName: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
83
- latinSurname: import("@redneckz/uni-jsx").UNIComponent<import("../ui-kit/FormField/CustomFieldProps").CustomFieldProps, any, any>;
76
+ addressCourier: (props: CustomFieldProps) => any;
77
+ paymentSystem: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
78
+ currency: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
79
+ cardCategory: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
80
+ codeWord: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
81
+ methodObtain: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
82
+ deliveryDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
83
+ latinName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
84
+ latinSurname: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
84
85
  };
@@ -50,7 +50,7 @@ export interface Address {
50
50
  qcComplete?: string;
51
51
  qcHouse?: string;
52
52
  }
53
- export interface Calculator {
53
+ export interface CalculatorProps {
54
54
  moneyValue?: number;
55
55
  monthsValue?: number;
56
56
  isAnnuity?: boolean;
@@ -152,7 +152,7 @@ export interface LeadFormState extends FormRetailConsents, FormStateDeliveryType
152
152
  cardCategory?: Option;
153
153
  codeWord?: string;
154
154
  esiaAccountTypeCd?: Option;
155
- calculator?: Calculator;
155
+ calculator?: CalculatorProps;
156
156
  addressRetail?: Option;
157
157
  loanAmount?: number;
158
158
  creditPeriod?: number;
@@ -1,4 +1,13 @@
1
- import { type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/getDepositCalculatorParams';
1
+ import { type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/CalculatorDepositContent';
2
+ import { type Option } from '../Select/Option';
2
3
  import { type CalcDefaultParamsProps } from './CalculatorProps';
3
4
  export declare const getDefaultParamsMin: (rateRows?: CalcDefaultParamsProps[]) => CalcDefaultParamsProps | undefined;
4
- export declare const getDefaultParamsMax: (rateRows?: DepositCalculatorSourceBookParams[], isNewClient?: boolean) => CalcDefaultParamsProps | undefined;
5
+ export declare const getDefaultParamsMax: (rateRows?: DepositCalculatorSourceBookParams[], isNewClient?: boolean, extraPercents?: Option[]) => {
6
+ extraPercent: Option | undefined;
7
+ extraPercents: Option[];
8
+ minSum?: number | undefined;
9
+ maxSum?: number | undefined;
10
+ minMonths?: number | undefined;
11
+ maxMonths?: number | undefined;
12
+ rate?: number | undefined;
13
+ };
@@ -3,11 +3,10 @@ import { type RadioButtonItem } from '../../ui-kit/RadioButtonGroup/RadioButtonG
3
3
  export interface BinaryRadioButtonGroupProps {
4
4
  items: [truthy: RadioButtonItem, falsy: RadioButtonItem];
5
5
  title?: string;
6
- mobileTitle?: string;
7
6
  orientation?: ListOrientation;
8
7
  value?: boolean;
9
8
  className?: string;
10
9
  onChange?: (value: boolean) => void;
11
10
  disabled?: boolean;
12
11
  }
13
- export declare const renderBinaryRadioButtonGroup: ({ items, title, mobileTitle, orientation, value, onChange, ...rest }: BinaryRadioButtonGroupProps) => any;
12
+ export declare const renderBinaryRadioButtonGroup: ({ items, title, orientation, value, onChange, ...rest }: BinaryRadioButtonGroupProps) => any;
@@ -1,5 +1,5 @@
1
1
  import { type CreditCalculatorParams, type CreditCalculatorSourceBookParams } from '../../components/CalculatorCredit/CalculatorCreditContent';
2
- import { type DepositCalculatorParams, type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/getDepositCalculatorParams';
2
+ import { type DepositCalculatorParams, type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/CalculatorDepositContent';
3
3
  import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
4
4
  interface ParamsCalcProps {
5
5
  field: FormFieldRegisterer<any>;
@@ -18,7 +18,7 @@ const renderInputs_1 = require("./renderInputs");
18
18
  const renderSubmitButton_1 = require("./renderSubmitButton");
19
19
  const useApplicationLeadApi_1 = require("./useApplicationLeadApi");
20
20
  const useInitApplicationLead_1 = require("./useInitApplicationLead");
21
- exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', ...rest }) => {
21
+ exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
22
22
  const applicationFormData = (0, hooks_1.useMemo)(() => (0, applicationFormData_1.getApplicationFormData)(productType), [productType]);
23
23
  const inputs = (0, hooks_1.useMemo)(() => (applicationFormData?.flatMap((_) => _?.inputs) || []), [applicationFormData]);
24
24
  const formValidator = (0, hooks_1.useMemo)(() => (0, getObjectValidator_1.getFormValidator)(inputs, validatorObj_1.validatorObj), [inputs]);
@@ -27,6 +27,7 @@ exports.ApplicationLeadForm = (0, uni_jsx_1.JSX)(({ className, title, programId
27
27
  programId,
28
28
  nextStepLink,
29
29
  productType,
30
+ data,
30
31
  });
31
32
  const [, { field, onSubmit }] = (0, useForm_1.useForm)(initialFormState, {
32
33
  formValidator,
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,yDAAsD;AAEtD,sEAA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D,aAAa;QACb,QAAQ,EAAE,YAAY;KACvB,CAAC,CAAC;IAEH,MAAM,kBAAkB,GAAG,IAAA,qBAAS,EAAC,uCAAkB,CAAC,CAAC;IACzD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,EAAE,KAAK,SAAS,EAAE;YACpB,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;SACjC;IACH,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAET,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,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACjC,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,EAAE,WAAW,CAAC,KAJnD,WAAW,CAAC,EAAE,CAKf,CACP,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,EAAE,SAAS,CAAC,IACjC,GACe,CACzB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,yDAAsD;AAEtD,sEAAmE;AACnE,oGA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AAE;QACxD,aAAa;QACb,QAAQ,EAAE,YAAY;KACvB,CAAC,CAAC;IAEH,MAAM,kBAAkB,GAAG,IAAA,qBAAS,EAAC,uCAAkB,CAAC,CAAC;IACzD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,EAAE,KAAK,SAAS,EAAE;YACpB,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;SACjC;IACH,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAET,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,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACjC,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,EAAE,WAAW,CAAC,KAJnD,WAAW,CAAC,EAAE,CAKf,CACP,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,EAAE,SAAS,CAAC,IACjC,GACe,CACzB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { type AspectsProps } from '../../model/AspectsProps';
1
2
  import { type TextProps, type TitleProps } from '../../model/HeadlineType';
2
3
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
3
4
  import { type InputRetailSectionsType } from '../../retail/model/InputSectionsType';
@@ -9,7 +10,7 @@ export declare type ProductType = 'credit' | 'creditCard' | 'debitCard';
9
10
  /**
10
11
  * @title Форма заявки настраиваемая
11
12
  */
12
- export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputRetailSectionsType & {
13
+ export declare type ApplicationLeadFormContent = UniBlockContent & AspectsProps & TitleProps & InputRetailSectionsType & {
13
14
  /** @title Кнопка */
14
15
  button?: SubmitButtonProps;
15
16
  /** @title Номер кредитной программы */
@@ -1,11 +1,12 @@
1
+ import { type AspectsProps } from '../../model/AspectsProps';
1
2
  import { type LeadFormState } from '../../retail/model/LeadFormState';
2
3
  import { type ProductType } from './ApplicationLeadFormContent';
3
- interface ApplicationLeadApiProps {
4
+ interface ApplicationLeadApiProps extends AspectsProps {
4
5
  programId: string;
5
6
  nextStepLink: string;
6
7
  productType: ProductType;
7
8
  }
8
- export declare const useApplicationLeadApi: ({ programId, nextStepLink, productType, }: ApplicationLeadApiProps) => {
9
+ export declare const useApplicationLeadApi: ({ programId, nextStepLink, productType, data, }: ApplicationLeadApiProps) => {
9
10
  isSending: boolean;
10
11
  ok: boolean | undefined;
11
12
  handleSubmit: (formData: LeadFormState) => Promise<void>;
@@ -3,6 +3,8 @@ exports.useApplicationLeadApi = void 0;
3
3
  /* eslint-disable max-lines */
4
4
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
5
5
  const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
6
+ const handleAspects_1 = require("../../hooks/useAspects/handleAspects");
7
+ const useAspects_1 = require("../../hooks/useAspects/useAspects");
6
8
  const createDraftTask_1 = require("../../retail/api/createDraftTask");
7
9
  const createUserProfile_1 = require("../../retail/api/createUserProfile");
8
10
  const createUserTaskDebit_1 = require("../../retail/api/createUserTaskDebit");
@@ -20,10 +22,12 @@ const formatPhone_1 = require("../../utils/formatPhone");
20
22
  const consents_1 = require("./consents");
21
23
  const getLeadFormTaskData_1 = require("./getLeadFormTaskData");
22
24
  const useSaveUserData_1 = require("./useSaveUserData");
23
- const useApplicationLeadApi = ({ programId, nextStepLink, productType, }) => {
25
+ // eslint-disable-next-line max-lines-per-function
26
+ const useApplicationLeadApi = ({ programId, nextStepLink, productType, data, }) => {
24
27
  const [isSending, { setTrue: startSending, setFalse: endSending }] = (0, useBool_1.useBool)(false);
25
28
  const [ok, setOK] = (0, hooks_1.useState)();
26
29
  const saveUserData = (0, useSaveUserData_1.useSaveUserData)();
30
+ const aspects = (0, useAspects_1.useAspects)();
27
31
  const openEsiaLoginDialog = (0, useEsiaLoginDialog_1.useEsiaLoginDialog)(nextStepLink);
28
32
  const consentBkiDialog = (0, useConsentBkiDialog_1.useConsentBkiDialog)(openEsiaLoginDialog);
29
33
  const verifyPhoneDialog = (0, useDialog_1.useDialog)(VerifyPhoneDialog_1.VerifyPhoneDialog);
@@ -43,6 +47,11 @@ const useApplicationLeadApi = ({ programId, nextStepLink, productType, }) => {
43
47
  productType,
44
48
  saveUserData,
45
49
  });
50
+ (0, handleAspects_1.handleAspects)({
51
+ aspectsAttributes: data,
52
+ aspects,
53
+ ev: {},
54
+ });
46
55
  verifyPhoneDialog.close();
47
56
  if (productType === 'debitCard') {
48
57
  openEsiaLoginDialog();
@@ -1 +1 @@
1
- {"version":3,"file":"useApplicationLeadApi.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/useApplicationLeadApi.tsx"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,uDAAoE;AACpE,iEAA8D;AAC9D,sEAAmE;AACnE,0EAAuE;AACvE,8EAA2E;AAC3E,0EAAuE;AACvE,8DAA2D;AAC3D,0EAAuE;AACvE,oEAAiE;AACjE,sGAAmG;AACnG,uFAAoF;AACpF,mGAAgG;AAChG,mGAAgG;AAEhG,kFAAmF;AACnF,oEAAiE;AACjE,yDAAsD;AAEtD,yCAAsD;AACtD,+DAA4F;AAC5F,uDAAmE;AAQ5D,MAAM,qBAAqB,GAAG,CAAC,EACpC,SAAS,EACT,YAAY,EACZ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AAEF,MAAM,uBAAuB,GAAG,CAC9B,QAAuB,EACvB,WAAwB,EACT,EAAE;IACjB,MAAM,EACJ,gBAAgB,EAChB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,YAAY,GACb,GAAG,QAAQ,CAAC;IAEb,IAAI,QAA4B,CAAC;IAEjC,IAAI,WAAW,KAAK,QAAQ,EAAE;QAC5B,QAAQ,GAAG;YACT,eAAe,EAAE,gBAAgB;YACjC,aAAa,EAAE,aAAa;YAC5B,yBAAyB,EAAE,gBAAgB;SAC5C,CAAC;KACH;SAAM,IAAI,WAAW,KAAK,YAAY,EAAE;QACvC,QAAQ,GAAG;YACT,yBAAyB;YACzB,eAAe;SAChB,CAAC;KACH;SAAM;QACL,QAAQ,GAAG;YACT,YAAY;YACZ,eAAe,EAAE,gBAAgB;SAClC,CAAC;KACH;IAED,OAAO;QACL,GAAG,QAAQ;QACX,sBAAsB;QACtB,gBAAgB;QAChB,kBAAkB;QAClB,oBAAoB,EAAE,gBAAgB;QACtC,0BAA0B,EAAE,gBAAgB;KAC7C,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"useApplicationLeadApi.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/useApplicationLeadApi.tsx"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,uDAAoE;AACpE,iEAA8D;AAC9D,wEAAqE;AACrE,kEAA+D;AAE/D,sEAAmE;AACnE,0EAAuE;AACvE,8EAA2E;AAC3E,0EAAuE;AACvE,8DAA2D;AAC3D,0EAAuE;AACvE,oEAAiE;AACjE,sGAAmG;AACnG,uFAAoF;AACpF,mGAAgG;AAChG,mGAAgG;AAEhG,kFAAmF;AACnF,oEAAiE;AAEjE,yDAAsD;AAEtD,yCAAsD;AACtD,+DAA4F;AAC5F,uDAAmE;AAQnE,kDAAkD;AAC3C,MAAM,qBAAqB,GAAG,CAAC,EACpC,SAAS,EACT,YAAY,E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,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;KACzE;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;KACjB;AACH,CAAC,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAC9B,QAAuB,EACvB,WAAwB,EACT,EAAE;IACjB,MAAM,EACJ,gBAAgB,EAChB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,YAAY,GACb,GAAG,QAAQ,CAAC;IAEb,IAAI,QAA4B,CAAC;IAEjC,IAAI,WAAW,KAAK,QAAQ,EAAE;QAC5B,QAAQ,GAAG;YACT,eAAe,EAAE,gBAAgB;YACjC,aAAa,EAAE,aAAa;YAC5B,yBAAyB,EAAE,gBAAgB;SAC5C,CAAC;KACH;SAAM,IAAI,WAAW,KAAK,YAAY,EAAE;QACvC,QAAQ,GAAG;YACT,yBAAyB;YACzB,eAAe;SAChB,CAAC;KACH;SAAM;QACL,QAAQ,GAAG;YACT,YAAY;YACZ,eAAe,EAAE,gBAAgB;SAClC,CAAC;KACH;IAED,OAAO;QACL,GAAG,QAAQ;QACX,sBAAsB;QACtB,gBAAgB;QAChB,kBAAkB;QAClB,oBAAoB,EAAE,gBAAgB;QACtC,0BAA0B,EAAE,gBAAgB;KAC7C,CAAC;AACJ,CAAC,CAAC"}
@@ -40,10 +40,7 @@ exports.CalculatorBusinessDeposit = (0, UniBlock_1.UniBlock)(({ className = '',
40
40
  ...field('daysValue'),
41
41
  value: calculatorParams.daysValue,
42
42
  }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col sm:flex-row gap-y-m gap-x-5xl", children: [renderBusinessDepositParamsForm(calculatorParams, field), (0, renderPayout_1.renderPayout)({
43
- title: 'Выплата процентов',
44
- orientation: 'vertical',
45
43
  ...field('isMonthlyInterestPayment'),
46
- className: 'sm:flex-col',
47
44
  })] })] }), (0, renderRate_1.renderRate)({
48
45
  rate,
49
46
  depositeName,
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatorBusinessDeposit.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx"],"names":[],"mappings":";;;AAAA,yDAAgF;AAChF,+EAA4E;AAC5E,6EAA0E;AAC1E,+EAGkD;AAClD,6EAA0E;AAC1E,uEAAoE;AACpE,mEAAgE;AAChE,uFAAoF;AACpF,6DAA0D;AAC1D,iDAA8C;AAC9C,sDAAmD;AACnD,6CAA0C;AAC1C,kFAA+E;AAM/E,yEAIoC;AAEpC,MAAM,oBAAoB,GAAG,MAAM,CAAC;AACpC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAQpB,QAAA,yBAAyB,GAAG,IAAA,mBAAQ,EAC/C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QAC3C,UAAU,EAAE,IAAA,uCAAoB,EAAC,aAAa,EAAE,oBAAoB,CAAC;QACrE,SAAS,EAAE,IAAA,wCAAqB,EAAC,aAAa,EAAE,qBAAqB,CAAC;QACtE,aAAa,EAAE,OAAO,CAAC,aAAa,EAAE,aAAa,CAAC;QACpD,mBAAmB,EAAE,OAAO,CAAC,aAAa,EAAE,mBAAmB,CAAC;QAChE,wBAAwB,EAAE,OAAO,CAAC,aAAa,EAAE,wBAAwB,CAAC;KAC3E,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,IAAA,mDAAwB,EAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAC/E,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,gBAAgB,CAAC;IAElE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ACH,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,uEAE5C,EACP,iCAAK,SAAS,EAAC,mCAAmC,aAChD,uBAAC,mBAAQ,IACP,IAAI,EAAC,8DAAY,EACjB,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,KACjD,KAAK,CAAC,eAAe,CAAC,EAC1B,KAAK,EAAE,gBAAgB,CAAC,aAAa,GACrC,EACF,uBAAC,mBAAQ,IACP,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,EACrD,IAAI,EAAC,6FAAkB,KACnB,KAAK,CAAC,qBAAqB,CAAC,EAChC,KAAK,EAAE,gBAAgB,CAAC,mBAAmB,GAC3C,IACE,IACF,CACP,CAAC"}
1
+ {"version":3,"file":"CalculatorBusinessDeposit.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx"],"names":[],"mappings":";;;AAAA,yDAAgF;AAChF,+EAA4E;AAC5E,6EAA0E;AAC1E,+EAGkD;AAClD,6EAA0E;AAC1E,uEAAoE;AACpE,mEAAgE;AAChE,uFAAoF;AACpF,6DAA0D;AAC1D,iDAA8C;AAC9C,sDAAmD;AACnD,6CAA0C;AAC1C,kFAA+E;AAM/E,yEAIoC;AAEpC,MAAM,oBAAoB,GAAG,MAAM,CAAC;AACpC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAQpB,QAAA,yBAAyB,GAAG,IAAA,mBAAQ,EAC/C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QAC3C,UAAU,EAAE,IAAA,uCAAoB,EAAC,aAAa,EAAE,oBAAoB,CA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;iCACrC,CAAC,IACE,IACF,EACL,IAAA,uBAAU,EAAC;oBACV,IAAI;oBACJ,YAAY;oBACZ,kBAAkB;iBACnB,CAAC,EACD,IAAA,yCAAmB,EAAC;oBACnB,MAAM;oBACN,QAAQ;oBACR,OAAO;oBACP,SAAS,EAAE,CAAC,QAAkB,EAAE,cAAwB,CAAC;iBAC1D,CAAC,IACM,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,+BAA+B,GAAG,CACtC,gBAAuC,EACvC,KAA0D,EAC1D,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,uEAE5C,EACP,iCAAK,SAAS,EAAC,mCAAmC,aAChD,uBAAC,mBAAQ,IACP,IAAI,EAAC,8DAAY,EACjB,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,KACjD,KAAK,CAAC,eAAe,CAAC,EAC1B,KAAK,EAAE,gBAAgB,CAAC,aAAa,GACrC,EACF,uBAAC,mBAAQ,IACP,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,EACrD,IAAI,EAAC,6FAAkB,KACnB,KAAK,CAAC,qBAAqB,CAAC,EAChC,KAAK,EAAE,gBAAgB,CAAC,mBAAmB,GAC3C,IACE,IACF,CACP,CAAC"}
@@ -43,8 +43,6 @@ exports.CalculatorCredit = (0, UniBlock_1.UniBlock)(({ className, title, calcSou
43
43
  }, { onChange });
44
44
  const calcParams = (0, getCreditCalculatorParams_1.getCreditCalculatorParams)(userInputParams, calcSource, paramsViewSettings);
45
45
  const paymentTypeElement = (0, renderPaymentType_1.renderPaymentType)({
46
- title: 'Тип платежа',
47
- orientation: 'vertical',
48
46
  ...field('isAnnuity'),
49
47
  });
50
48
  const { onChange: setMoneyValue } = field('moneyValue');
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatorCredit.js","sourceRoot":"","sources":["../../../src/components/CalculatorCredit/Calculat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,IAAI,IACJ,CACP,CAAC"}
1
+ {"version":3,"file":"CalculatorCredit.js","sourceRoot":"","sources":["../../../src/components/CalculatorCredit/CalculatorCredit.tsx"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,uDAAwD;AAExD,yDAAgF;AAChF,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;AAS1C,2EAAwE;AACxE,uDAAoD;AAEpD,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAElC,MAAM,GAAG,GAAG;IACV,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,QAAQ;CACrB,CAAC;AAQW,QAAA,gBAAgB,GAAG,IAAA,mBAAQ,EACtC,CAAC,EACC,SAAS,EACT,KAAK,EACL,UAAU,EACV,OAAO,EACP,QAAQ,EACR,kBAAkB,EAClB,aAAa,EACb,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,IAAA,sCAAmB,EAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAEpE,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAC1C;QACE,UAAU,EAAE,IAAA,uCAAoB,EAAC,aAAa,EAAE,kBAAkB,CAAC;QACnE,WAAW,EAAE,IAAA,wCAAqB,EAAC,aAAa,EAAE,oCAAc,CAAC;QACjE,SAAS,EAAE,OAAO,CAAC,aAAa,EAAE,SAAS,CAAC;QAC5C,WAAW,EAAE,OAAO,CAAC,aAAa,EAAE,iBAAiB,CAAC;QACtD,cAA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E,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
3
- import { type CalculatorDepositContent } from './CalculatorDepositContent';
4
- import { type DepositCalculatorData } from './getDepositCalculatorParams';
3
+ import { type CalculatorDepositContent, type DepositCalculatorData } from './CalculatorDepositContent';
5
4
  export interface CalculatorDepositProps extends CalculatorDepositContent, UniBlockProps {
6
5
  className?: string;
7
6
  calcSource?: DepositCalculatorData & JSONRefObject;