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

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 (294) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +178 -122
  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/Rate.js +1 -1
  58. package/dist/ui-kit/Calculator/Rate.js.map +1 -1
  59. package/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  60. package/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
  61. package/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  62. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  63. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  64. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  65. package/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
  66. package/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  67. package/dist/ui-kit/Calculator/renderPayout.js +2 -0
  68. package/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
  69. package/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  70. package/lib/common.css +1 -1
  71. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  72. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  73. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  74. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  75. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  76. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  77. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  78. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  79. package/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
  80. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  81. package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  82. package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.d.ts +1 -0
  83. package/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
  84. package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  85. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  86. package/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  87. package/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  88. package/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
  89. package/lib/components/CalculatorDeposit/normalize.js.map +1 -1
  90. package/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  91. package/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
  92. package/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  93. package/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  94. package/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  95. package/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  96. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  97. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  98. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  99. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  100. package/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  101. package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  102. package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  103. package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  104. package/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
  105. package/lib/retail/components/Fields/AddressCourierField.js +48 -0
  106. package/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
  107. package/lib/retail/inputs.d.ts +77 -76
  108. package/lib/retail/inputs.js +6 -1
  109. package/lib/retail/inputs.js.map +1 -1
  110. package/lib/retail/model/LeadFormState.d.ts +2 -2
  111. package/lib/ui-kit/Calculator/Rate.js +1 -1
  112. package/lib/ui-kit/Calculator/Rate.js.map +1 -1
  113. package/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  114. package/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
  115. package/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  116. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  117. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  118. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  119. package/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
  120. package/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  121. package/lib/ui-kit/Calculator/renderPayout.js +2 -0
  122. package/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
  123. package/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  124. package/mobile/bundle/bundle.umd.js +178 -122
  125. package/mobile/bundle/bundle.umd.min.js +1 -1
  126. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  127. package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  128. package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  129. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  130. package/mobile/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  131. package/mobile/bundle/components/CalculatorDeposit/normalize.d.ts +2 -3
  132. package/mobile/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  133. package/mobile/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  134. package/mobile/bundle/retail/components/Fields/AddressCourierField.d.ts +9 -0
  135. package/mobile/bundle/retail/inputs.d.ts +77 -76
  136. package/mobile/bundle/retail/model/LeadFormState.d.ts +2 -2
  137. package/mobile/bundle/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  138. package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  139. package/mobile/bundle/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  140. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  141. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  142. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  143. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  144. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  145. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  146. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  147. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  148. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +0 -2
  149. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  150. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  151. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +16 -7
  152. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  153. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  154. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  155. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  156. package/mobile/dist/components/CalculatorDeposit/normalize.d.ts +2 -3
  157. package/mobile/dist/components/CalculatorDeposit/normalize.js.map +1 -1
  158. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  159. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js +30 -41
  160. package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  161. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  162. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  163. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  164. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  165. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  166. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  167. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  168. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  169. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  170. package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  171. package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  172. package/mobile/dist/retail/components/Fields/AddressCourierField.d.ts +9 -0
  173. package/mobile/dist/retail/components/Fields/AddressCourierField.js +50 -0
  174. package/mobile/dist/retail/components/Fields/AddressCourierField.js.map +1 -0
  175. package/mobile/dist/retail/inputs.d.ts +77 -76
  176. package/mobile/dist/retail/inputs.js +6 -1
  177. package/mobile/dist/retail/inputs.js.map +1 -1
  178. package/mobile/dist/retail/model/LeadFormState.d.ts +2 -2
  179. package/mobile/dist/ui-kit/Calculator/Rate.js +1 -1
  180. package/mobile/dist/ui-kit/Calculator/Rate.js.map +1 -1
  181. package/mobile/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  182. package/mobile/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
  183. package/mobile/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  184. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  185. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  186. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  187. package/mobile/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
  188. package/mobile/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  189. package/mobile/dist/ui-kit/Calculator/renderPayout.js +2 -0
  190. package/mobile/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
  191. package/mobile/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  192. package/mobile/lib/common.css +1 -1
  193. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
  194. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  195. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
  196. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
  197. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
  198. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  199. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
  200. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  201. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
  202. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  203. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
  204. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
  205. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  206. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
  207. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
  208. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
  209. package/mobile/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
  210. package/mobile/lib/components/CalculatorDeposit/normalize.js.map +1 -1
  211. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
  212. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
  213. package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
  214. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
  215. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
  216. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
  217. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
  218. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  219. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  220. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  221. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
  222. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  223. package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
  224. package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
  225. package/mobile/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
  226. package/mobile/lib/retail/components/Fields/AddressCourierField.js +48 -0
  227. package/mobile/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
  228. package/mobile/lib/retail/inputs.d.ts +77 -76
  229. package/mobile/lib/retail/inputs.js +6 -1
  230. package/mobile/lib/retail/inputs.js.map +1 -1
  231. package/mobile/lib/retail/model/LeadFormState.d.ts +2 -2
  232. package/mobile/lib/ui-kit/Calculator/Rate.js +1 -1
  233. package/mobile/lib/ui-kit/Calculator/Rate.js.map +1 -1
  234. package/mobile/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
  235. package/mobile/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
  236. package/mobile/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
  237. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
  238. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  239. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  240. package/mobile/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
  241. package/mobile/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
  242. package/mobile/lib/ui-kit/Calculator/renderPayout.js +2 -0
  243. package/mobile/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
  244. package/mobile/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
  245. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
  246. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
  247. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
  248. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
  249. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
  250. package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
  251. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
  252. package/mobile/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
  253. package/mobile/src/components/CalculatorDeposit/normalize.tsx +1 -2
  254. package/mobile/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
  255. package/mobile/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
  256. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  257. package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
  258. package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
  259. package/mobile/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
  260. package/mobile/src/retail/components/Fields/AddressCourierField.tsx +74 -0
  261. package/mobile/src/retail/inputs.tsx +10 -1
  262. package/mobile/src/retail/model/LeadFormState.ts +2 -2
  263. package/mobile/src/ui-kit/Calculator/Rate.tsx +1 -1
  264. package/mobile/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
  265. package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
  266. package/mobile/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
  267. package/mobile/src/ui-kit/Calculator/renderPayout.tsx +2 -0
  268. package/mobile/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
  269. package/package.json +1 -1
  270. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
  271. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
  272. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
  273. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
  274. package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
  275. package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.tsx +12 -0
  276. package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
  277. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
  278. package/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
  279. package/src/components/CalculatorDeposit/normalize.tsx +1 -2
  280. package/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
  281. package/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
  282. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  283. package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
  284. package/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
  285. package/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
  286. package/src/retail/components/Fields/AddressCourierField.tsx +74 -0
  287. package/src/retail/inputs.tsx +10 -1
  288. package/src/retail/model/LeadFormState.ts +2 -2
  289. package/src/ui-kit/Calculator/Rate.tsx +1 -1
  290. package/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
  291. package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
  292. package/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
  293. package/src/ui-kit/Calculator/renderPayout.tsx +2 -0
  294. package/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
@@ -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
  };
@@ -1,6 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.InputRetailCardMap = exports.InputsRetailMap = exports.InputsConsentsMap = exports.InputsApplicationLeadMap = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
3
4
  const PhoneField_1 = require("../ui-kit/FormField/Fields/PhoneField");
5
+ const AddressCourierField_1 = require("./components/Fields/AddressCourierField");
4
6
  const AddressFactField_1 = require("./components/Fields/AddressFactField");
5
7
  const AddressField_1 = require("./components/Fields/AddressField");
6
8
  const AddressMatchField_1 = require("./components/Fields/AddressMatchField");
@@ -66,6 +68,9 @@ const SnilsField_1 = require("./components/Fields/SnilsField");
66
68
  const SurnameField_1 = require("./components/Fields/SurnameField");
67
69
  const TotalIncomeField_1 = require("./components/Fields/TotalIncomeField");
68
70
  const WagesField_1 = require("./components/Fields/WagesField");
71
+ const DELIVERY_CITIES_REF = {
72
+ $ref: '/wcms-resources/delivery-cities-data.json',
73
+ };
69
74
  exports.InputsApplicationLeadMap = {
70
75
  limitedBirthday: LimitedBirthdayField_1.LimitedBirthdayField,
71
76
  name: NameField_1.NameField,
@@ -140,7 +145,7 @@ exports.InputsRetailMap = {
140
145
  inn: DaDataInnField_1.DaDataInnField,
141
146
  };
142
147
  exports.InputRetailCardMap = {
143
- addressCourier: AddressField_1.AddressField,
148
+ addressCourier: (props) => ((0, jsx_runtime_1.jsx)(AddressCourierField_1.AddressCourierField, { ...props, source: DELIVERY_CITIES_REF })),
144
149
  paymentSystem: PaymentSystemField_1.PaymentSystemField,
145
150
  currency: CurrencyField_1.CurrencyField,
146
151
  cardCategory: CardCategoryField_1.CardCategoryField,
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/retail/inputs.tsx"],"names":[],"mappings":";;AAAA,sEAAmE;AACnE,2EAAwE;AACxE,mEAAgE;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;IAC3B,kBAAkB,EAAE,iDAAuB;IAC3C,GAAG,EAAE,+BAAc;CACpB,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,cAAc,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,CAC3C,uBAAC,yCAAmB,OAAK,KAAK,EAAE,MAAM,EAAE,mBAAmB,GAAI,CAChE;IACD,aAAa,EAAE,uCAAkB;IACjC,QAAQ,EAAE,6BAAa;IACvB,YAAY,EAAE,qCAAiB;IAC/B,QAAQ,EAAE,6BAAa;IACvB,YAAY,EAAE,qCAAiB;IAC/B,YAAY,EAAE,qCAAiB;IAC/B,SAAS,EAAE,+BAAc;IACzB,YAAY,EAAE,qCAAiB;CAChC,CAAC"}
@@ -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;
@@ -4,5 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
6
6
  const Text_1 = require("../Text/Text");
7
- exports.Rate = (0, uni_jsx_1.JSX)(({ rate = 0, title = 'Ставка', unit, fractionDigits = 2, depositeName, isShowDepositeName, color = 'text-secondary-text', }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", font: "font-light", color: color, children: title }), (0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex @xl:justify-center gradient-color-text", children: [(0, jsx_runtime_1.jsx)("span", { className: "font-mohave text-title-huge -mt-m tracking-[-15px]", children: (0, toLocalNumberFormat_1.toLocalNumberFormat)(fractionDigits, { fixed: true })(rate) }), unit ? (0, jsx_runtime_1.jsx)("span", { className: "text-7xl mt-5", children: unit }) : null] }), depositeName && isShowDepositeName ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-2 w-full text-left whitespace-nowrap", children: depositeName })) : null] })] })));
7
+ exports.Rate = (0, uni_jsx_1.JSX)(({ rate = 0, title = 'Ставка', unit, fractionDigits = 2, depositeName, isShowDepositeName, color = 'text-secondary-text', }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", font: "font-light", color: color, children: title }), (0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex @xl:justify-center gradient-color-text gap-xs", children: [(0, jsx_runtime_1.jsx)("span", { className: "font-mohave text-title-huge -mt-m tracking-[-15px]", children: (0, toLocalNumberFormat_1.toLocalNumberFormat)(fractionDigits, { fixed: true })(rate) }), unit ? (0, jsx_runtime_1.jsx)("span", { className: "text-7xl mt-5", children: unit }) : null] }), depositeName && isShowDepositeName ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-2 w-full text-left whitespace-nowrap", children: depositeName })) : null] })] })));
8
8
  //# sourceMappingURL=Rate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rate.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/Rate.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAAsE;AACtE,uCAAoC;AAYvB,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EACC,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,QAAQ,EAChB,IAAI,EACJ,cAAc,GAAG,CAAC,EAClB,YAAY,EACZ,kBAAkB,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E,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GACtD,EACN,IAAI,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACxD,EACL,YAAY,IAAI,kBAAkB,CAAC,CAAC,CAAC,CACpC,gCAAK,SAAS,EAAC,sDAAsD,YAAE,YAAY,GAAO,CAC3F,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC"}
@@ -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
+ };
@@ -2,7 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.getDefaultParamsMax = exports.getDefaultParamsMin = void 0;
3
3
  const getDefaultParamsMin = (rateRows) => getDefaultParams([(i, acc) => i < acc, (i, prev) => i?.maxSum > prev?.maxSum], rateRows);
4
4
  exports.getDefaultParamsMin = getDefaultParamsMin;
5
- const getDefaultParamsMax = (rateRows = [], isNewClient = false) => getDefaultParams([(i, acc) => i > acc, (i, prev) => i?.minSum < prev?.minSum], rateRows?.filter((_) => isNewClient === Boolean(_?.isNewClient)));
5
+ const getDefaultParamsMax = (rateRows = [], isNewClient = false, extraPercents = []) => {
6
+ return {
7
+ ...getDefaultParams([(i, acc) => i > acc, (i, prev) => i?.minSum < prev?.minSum], rateRows?.filter((_) => isNewClient === Boolean(_?.isNewClient))),
8
+ extraPercent: extraPercents.at(-1),
9
+ extraPercents,
10
+ };
11
+ };
6
12
  exports.getDefaultParamsMax = getDefaultParamsMax;
7
13
  const getDefaultParams = (comparators, rateRows) => {
8
14
  if (!rateRows?.length) {
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultParams.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/getDefaultParams.tsx"],"names":[],"mappings":";;AAGO,MAAM,mBAAmB,GAAG,CAAC,QAAmC,EAAE,EAAE,CACzE,gBAAgB,CACd,CAAC,CAAC,CAAS,EAAE,GAAW,EAAW,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,EACrF,QAAQ,CACT,CAAC;AAJS,QAAA,mBAAmB,uBAI5B;AACG,MAAM,mBAAmB,GAAG,CACjC,WAAgD,EAAE,EAClD,WAAW,GAAG,KAAK,EACnB,EAAE,CACF,gBAAgB,CACd,CAAC,CAAC,CAAS,EAAE,GAAW,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,EAC5E,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,KAAK,OAAO,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CACjE,CAAC;AAPS,QAAA,mBAAmB,uBAO5B;AAEJ,MAAM,gBAAgB,GAAG,CACvB,WAGC,EACD,QAAmC,EACC,EAAE;IACtC,IAAI,CAAC,QAAQ,EAAE,MAAM,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C,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;KAClF;IAED,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC"}
@@ -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;
@@ -3,6 +3,6 @@ exports.renderBinaryRadioButtonGroup = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
5
5
  const Text_1 = require("../../ui-kit/Text/Text");
6
- const renderBinaryRadioButtonGroup = ({ items, title, mobileTitle = title, orientation = 'horizontal', value, onChange, ...rest }) => ((0, jsx_runtime_1.jsxs)("div", { className: "grid gap-s whitespace-nowrap", children: [title ? ((0, jsx_runtime_1.jsx)("div", { className: "hidden @5xl:block", role: "radiogroup", "aria-label": title, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, mobileTitle ? ((0, jsx_runtime_1.jsx)("div", { className: "@5xl:hidden", role: "radiogroup", "aria-label": mobileTitle, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", font: "font-light", children: mobileTitle }) })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { orientation: orientation, items: items, value: items[value ? 0 : 1].id, onChange: (_) => onChange && onChange(_ === items[0].id), ...rest })] }));
6
+ const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, onChange, ...rest }) => ((0, jsx_runtime_1.jsxs)("div", { className: "grid gap-s whitespace-nowrap lg:sm:col-span-1 col-span-2", children: [title ? ((0, jsx_runtime_1.jsx)("div", { role: "radiogroup", "aria-label": title, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { orientation: orientation, items: items, value: items[value ? 0 : 1].id, onChange: (_) => onChange && onChange(_ === items[0].id), ...rest })] }));
7
7
  exports.renderBinaryRadioButtonGroup = renderBinaryRadioButtonGroup;
8
8
  //# sourceMappingURL=renderBinaryRadioButtonGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";;;AACA,qFAGwD;AACxD,iDAA8C;AAavC,MAAM,4BAA4B,GAAG,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,WAAW,GAAG,KAAK,EACnB,WAAW,GAAG,YAAY,EAC1B,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACqB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,8BAA8B,aAC1C,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAC,YAAY,gBAAa,KAAK,YACpE,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,aAAa,EAAC,IAAI,EAAC,YAAY,gBAAa,WAAW,YACpE,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,WAAW,GACP,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EAER,uBAAC,mCAAgB,IACf,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KACpD,IAAI,GACR,IACE,CACP,CAAC;AAjCW,QAAA,4BAA4B,gCAiCvC"}
1
+ {"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";;;AACA,qFAGwD;AACxD,iDAA8C;AAYvC,MAAM,4BAA4B,GAAG,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,WAAW,GAAG,YAAY,EAC1B,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACqB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,0DAA0D,aACtE,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,IAAI,EAAC,YAAY,gBAAa,KAAK,YACtC,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EAER,uBAAC,mCAAgB,IACf,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KACpD,IAAI,GACR,IACE,CACP,CAAC;AAzBW,QAAA,4BAA4B,gCAyBvC"}
@@ -3,6 +3,8 @@ exports.renderPaymentType = void 0;
3
3
  const renderBinaryRadioButtonGroup_1 = require("./renderBinaryRadioButtonGroup");
4
4
  const renderPaymentType = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
5
5
  ...props,
6
+ title: 'Тип платежа',
7
+ orientation: 'vertical',
6
8
  className: 'sm:flex-col',
7
9
  items: [
8
10
  { id: 'annuity', text: 'Аннуитетный' },
@@ -1 +1 @@
1
- {"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC;AARQ,QAAA,iBAAiB,qBAQzB"}
1
+ {"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,UAAU;IACvB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC;AAVQ,QAAA,iBAAiB,qBAUzB"}
@@ -3,6 +3,8 @@ exports.renderPayout = void 0;
3
3
  const renderBinaryRadioButtonGroup_1 = require("./renderBinaryRadioButtonGroup");
4
4
  const renderPayout = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
5
5
  ...props,
6
+ title: 'Выплата процентов',
7
+ orientation: 'vertical',
6
8
  items: [
7
9
  { id: 'everyMonth', text: 'Ежемесячно' },
8
10
  { id: 'atEndTerm', text: 'В конце срока' },
@@ -1 +1 @@
1
- {"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;QACxC,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,EAAE;KAC3C;CACF,CAAC,CAAC;AAPQ,QAAA,YAAY,gBAOpB"}
1
+ {"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;QACxC,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,EAAE;KAC3C;CACF,CAAC,CAAC;AATQ,QAAA,YAAY,gBASpB"}
@@ -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>;