@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,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,4 +1,6 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
2
  import { PhoneField } from '../ui-kit/FormField/Fields/PhoneField.js';
3
+ import { AddressCourierField } from './components/Fields/AddressCourierField.js';
2
4
  import { AddressFactField } from './components/Fields/AddressFactField.js';
3
5
  import { AddressField } from './components/Fields/AddressField.js';
4
6
  import { AddressMatchField } from './components/Fields/AddressMatchField.js';
@@ -64,6 +66,9 @@ import { SnilsField } from './components/Fields/SnilsField.js';
64
66
  import { SurnameField } from './components/Fields/SurnameField.js';
65
67
  import { TotalIncomeField } from './components/Fields/TotalIncomeField.js';
66
68
  import { WagesField } from './components/Fields/WagesField.js';
69
+ const DELIVERY_CITIES_REF = {
70
+ $ref: '/wcms-resources/delivery-cities-data.json',
71
+ };
67
72
  export const InputsApplicationLeadMap = {
68
73
  limitedBirthday: LimitedBirthdayField,
69
74
  name: NameField,
@@ -138,7 +143,7 @@ export const InputsRetailMap = {
138
143
  inn: DaDataInnField,
139
144
  };
140
145
  export const InputRetailCardMap = {
141
- addressCourier: AddressField,
146
+ addressCourier: (props) => (_jsx(AddressCourierField, { ...props, source: DELIVERY_CITIES_REF })),
142
147
  paymentSystem: PaymentSystemField,
143
148
  currency: CurrencyField,
144
149
  cardCategory: CardCategoryField,
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/retail/inputs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,C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AAE,eAAe;IAC3B,WAAW,EAAE,gBAAgB;IAC7B,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,UAAU;IACjB,YAAY,EAAE,iBAAiB;IAC/B,SAAS,EAAE,cAAc;IACzB,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,cAAc;IACzB,YAAY,EAAE,iBAAiB;IAC/B,kBAAkB,EAAE,uBAAuB;IAC3C,WAAW,EAAE,gBAAgB;IAC7B,2BAA2B,EAAE,gCAAgC;IAC7D,gBAAgB,EAAE,qBAAqB;IACvC,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,UAAU;IACjB,iBAAiB,EAAE,sBAAsB;IACzC,aAAa,EAAE,kBAAkB;IACjC,cAAc,EAAE,mBAAmB;IACnC,eAAe,EAAE,oBAAoB;IACrC,cAAc,EAAE,mBAAmB;IACnC,gBAAgB,EAAE,oBAAoB;IACtC,cAAc,EAAE,mBAAmB;IACnC,YAAY,EAAE,iBAAiB;IAC/B,QAAQ,EAAE,aAAa;IACvB,UAAU,EAAE,eAAe;IAC3B,kBAAkB,EAAE,uBAAuB;IAC3C,GAAG,EAAE,cAAc;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,cAAc,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,CAC3C,KAAC,mBAAmB,OAAK,KAAK,EAAE,MAAM,EAAE,mBAAmB,GAAI,CAChE;IACD,aAAa,EAAE,kBAAkB;IACjC,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,iBAAiB;IAC/B,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,iBAAiB;IAC/B,YAAY,EAAE,iBAAiB;IAC/B,SAAS,EAAE,cAAc;IACzB,YAAY,EAAE,iBAAiB;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;
@@ -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
+ };
@@ -1,5 +1,11 @@
1
1
  export const getDefaultParamsMin = (rateRows) => getDefaultParams([(i, acc) => i < acc, (i, prev) => i?.maxSum > prev?.maxSum], rateRows);
2
- export const getDefaultParamsMax = (rateRows = [], isNewClient = false) => getDefaultParams([(i, acc) => i > acc, (i, prev) => i?.minSum < prev?.minSum], rateRows?.filter((_) => isNewClient === Boolean(_?.isNewClient)));
2
+ export const getDefaultParamsMax = (rateRows = [], isNewClient = false, extraPercents = []) => {
3
+ return {
4
+ ...getDefaultParams([(i, acc) => i > acc, (i, prev) => i?.minSum < prev?.minSum], rateRows?.filter((_) => isNewClient === Boolean(_?.isNewClient))),
5
+ extraPercent: extraPercents.at(-1),
6
+ extraPercents,
7
+ };
8
+ };
3
9
  const getDefaultParams = (comparators, rateRows) => {
4
10
  if (!rateRows?.length) {
5
11
  return undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultParams.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/getDefaultParams.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,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;AACJ,MAAM,CAAC,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;AAEJ,MAAM,gBAAgB,GAAG,CACvB,WAGC,EACD,QAAmC,EACC,EAAE;IACtC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC;KAClB;IACD,MAAM,KAAK,GAAG,QAAQ,EAAE,MAAM,CAC5B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QACT,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IA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,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;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { RadioButtonGroup, } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
3
3
  import { Text } from '../../ui-kit/Text/Text.js';
4
- export const renderBinaryRadioButtonGroup = ({ items, title, mobileTitle = title, orientation = 'horizontal', value, onChange, ...rest }) => (_jsxs("div", { className: "grid gap-s whitespace-nowrap", children: [title ? (_jsx("div", { className: "hidden @5xl:block", role: "radiogroup", "aria-label": title, children: _jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, mobileTitle ? (_jsx("div", { className: "@5xl:hidden", role: "radiogroup", "aria-label": mobileTitle, children: _jsx(Text, { color: "text-secondary-text", font: "font-light", children: mobileTitle }) })) : null, _jsx(RadioButtonGroup, { orientation: orientation, items: items, value: items[value ? 0 : 1].id, onChange: (_) => onChange && onChange(_ === items[0].id), ...rest })] }));
4
+ export const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, onChange, ...rest }) => (_jsxs("div", { className: "grid gap-s whitespace-nowrap lg:sm:col-span-1 col-span-2", children: [title ? (_jsx("div", { role: "radiogroup", "aria-label": title, children: _jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, _jsx(RadioButtonGroup, { orientation: orientation, items: items, value: items[value ? 0 : 1].id, onChange: (_) => onChange && onChange(_ === items[0].id), ...rest })] }));
5
5
  //# sourceMappingURL=renderBinaryRadioButtonGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,gBAAgB,GAEjB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAa9C,MAAM,CAAC,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,eAAK,SAAS,EAAC,8BAA8B,aAC1C,KAAK,CAAC,CAAC,CAAC,CACP,cAAK,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAC,YAAY,gBAAa,KAAK,YACpE,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,aAAa,EAAC,IAAI,EAAC,YAAY,gBAAa,WAAW,YACpE,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,WAAW,GACP,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EAER,KAAC,gBAAgB,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"}
1
+ {"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,gBAAgB,GAEjB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAY9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,WAAW,GAAG,YAAY,EAC1B,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACqB,EAAE,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,0DAA0D,aACtE,KAAK,CAAC,CAAC,CAAC,CACP,cAAK,IAAI,EAAC,YAAY,gBAAa,KAAK,YACtC,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EAER,KAAC,gBAAgB,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"}
@@ -1,6 +1,8 @@
1
1
  import { renderBinaryRadioButtonGroup, } from './renderBinaryRadioButtonGroup.js';
2
2
  export const renderPaymentType = (props) => renderBinaryRadioButtonGroup({
3
3
  ...props,
4
+ title: 'Тип платежа',
5
+ orientation: 'vertical',
4
6
  className: 'sm:flex-col',
5
7
  items: [
6
8
  { id: 'annuity', text: 'Аннуитетный' },
@@ -1 +1 @@
1
- {"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,4BAA4B,CAAC;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"}
1
+ {"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,4BAA4B,CAAC;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"}
@@ -1,6 +1,8 @@
1
1
  import { renderBinaryRadioButtonGroup, } from './renderBinaryRadioButtonGroup.js';
2
2
  export const renderPayout = (props) => renderBinaryRadioButtonGroup({
3
3
  ...props,
4
+ title: 'Выплата процентов',
5
+ orientation: 'vertical',
4
6
  items: [
5
7
  { id: 'everyMonth', text: 'Ежемесячно' },
6
8
  { id: 'atEndTerm', text: 'В конце срока' },
@@ -1 +1 @@
1
- {"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,4BAA4B,CAAC;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"}
1
+ {"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,4BAA4B,CAAC;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"}
@@ -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>;