@redneckz/wildless-cms-uni-blocks 0.14.324 → 0.14.326

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 (584) hide show
  1. package/bin/migration-scripts/0.14.325.js +51 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +340 -337
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Calculator/CalculatorContent.d.ts +3 -110
  6. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  7. package/bundle/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  8. package/bundle/components/Calculator/renderPaymentType.d.ts +1 -1
  9. package/bundle/components/Calculator/renderRegistrationType.d.ts +1 -1
  10. package/bundle/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  11. package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  12. package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  13. package/bundle/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
  14. package/{lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts → bundle/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
  15. package/bundle/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  16. package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  17. package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  18. package/bundle/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
  19. package/bundle/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  20. package/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
  21. package/bundle/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  22. package/bundle/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  23. package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  24. package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  25. package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  26. package/bundle/components/Carousel/renderDepositResult.d.ts +10 -0
  27. package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  28. package/bundle/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  29. package/{dist/components → bundle/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
  30. package/bundle/{components/Calculator/renderInterestPayment.d.ts → ui-kit/Calculator/renderPayout.d.ts} +1 -1
  31. package/cosmos-static/icons/RustoreIcon.svg +1 -1
  32. package/cosmos-static/icons/sprites.svg +1 -1
  33. package/dist/components/Blocks.js +4 -0
  34. package/dist/components/Blocks.js.map +1 -1
  35. package/dist/components/Blocks.mobile.js +4 -0
  36. package/dist/components/Blocks.mobile.js.map +1 -1
  37. package/dist/components/Calculator/CalculatorContent.d.ts +3 -110
  38. package/dist/components/Calculator/CreditCalculatorForm.js +6 -5
  39. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  40. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  41. package/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -4
  42. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  43. package/dist/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  44. package/dist/components/Calculator/getCreditCalculatorParams.js +16 -3
  45. package/dist/components/Calculator/getCreditCalculatorParams.js.map +1 -1
  46. package/dist/components/Calculator/getCreditCalculatorRateParams.js +2 -2
  47. package/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
  48. package/dist/components/Calculator/renderPaymentType.d.ts +1 -1
  49. package/dist/components/Calculator/renderPaymentType.js +1 -1
  50. package/dist/components/Calculator/renderPaymentType.js.map +1 -1
  51. package/dist/components/Calculator/renderRegistrationType.d.ts +1 -1
  52. package/dist/components/Calculator/renderRegistrationType.js +1 -1
  53. package/dist/components/Calculator/renderRegistrationType.js.map +1 -1
  54. package/dist/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  55. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  56. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +60 -0
  57. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
  58. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  59. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
  60. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
  61. package/dist/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
  62. package/dist/components/CalculatorBusinessDeposit/renderDaysInput.js +9 -0
  63. package/dist/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
  64. package/{mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts → dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
  65. package/dist/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +25 -10
  66. package/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
  67. package/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  68. package/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
  69. package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  70. package/dist/components/CalculatorDeposit/CalculatorDeposit.js +68 -0
  71. package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
  72. package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  73. package/dist/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
  74. package/dist/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
  75. package/{lib/components/Calculator → dist/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
  76. package/{mobile/dist/components/Calculator → dist/components/CalculatorDeposit}/getDepositCalculatorParams.js +11 -3
  77. package/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
  78. package/dist/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  79. package/dist/components/CalculatorDeposit/renderPaymentType.js +13 -0
  80. package/dist/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
  81. package/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
  82. package/dist/components/CalculatorDeposit/renderRegistrationType.js +12 -0
  83. package/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
  84. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  85. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  86. package/dist/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  87. package/dist/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  88. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  89. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  90. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
  91. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  92. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +17 -20
  93. package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
  94. package/dist/components/Carousel/renderDepositResult.d.ts +10 -0
  95. package/dist/components/Carousel/renderDepositResult.js +10 -0
  96. package/dist/components/Carousel/renderDepositResult.js.map +1 -0
  97. package/dist/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  98. package/dist/ui-kit/Calculator/{CalcSourceProps.js → CalculatorProps.js} +1 -1
  99. package/dist/ui-kit/Calculator/CalculatorProps.js.map +1 -0
  100. package/dist/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  101. package/dist/ui-kit/Calculator/calculatorConstants.js +4 -1
  102. package/dist/ui-kit/Calculator/calculatorConstants.js.map +1 -1
  103. package/{lib/components → dist/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
  104. package/dist/{components → ui-kit}/Calculator/getDefaultValues.js +3 -3
  105. package/dist/ui-kit/Calculator/getDefaultValues.js.map +1 -0
  106. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  107. package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
  108. package/{mobile/dist/components/Calculator/renderInterestPayment.d.ts → dist/ui-kit/Calculator/renderPayout.d.ts} +1 -1
  109. package/{mobile/dist/components/Calculator/renderInterestPayment.js → dist/ui-kit/Calculator/renderPayout.js} +4 -4
  110. package/dist/ui-kit/Calculator/renderPayout.js.map +1 -0
  111. package/lib/common.css +1 -1
  112. package/lib/components/Blocks.js +4 -0
  113. package/lib/components/Blocks.js.map +1 -1
  114. package/lib/components/Blocks.mobile.js +4 -0
  115. package/lib/components/Blocks.mobile.js.map +1 -1
  116. package/lib/components/Calculator/Calculator.fixture.d.ts +0 -1
  117. package/lib/components/Calculator/Calculator.fixture.mobile.d.ts +0 -2
  118. package/lib/components/Calculator/CalculatorContent.d.ts +3 -110
  119. package/lib/components/Calculator/CreditCalculatorForm.js +4 -3
  120. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  121. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  122. package/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -4
  123. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  124. package/lib/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  125. package/lib/components/Calculator/getCreditCalculatorParams.js +14 -1
  126. package/lib/components/Calculator/getCreditCalculatorParams.js.map +1 -1
  127. package/lib/components/Calculator/getCreditCalculatorRateParams.js +1 -1
  128. package/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
  129. package/lib/components/Calculator/renderDaysInput.d.ts +1 -0
  130. package/lib/components/Calculator/renderPaymentType.d.ts +1 -1
  131. package/lib/components/Calculator/renderPaymentType.js +1 -1
  132. package/lib/components/Calculator/renderPaymentType.js.map +1 -1
  133. package/lib/components/Calculator/renderRegistrationType.d.ts +2 -1
  134. package/lib/components/Calculator/renderRegistrationType.js +1 -1
  135. package/lib/components/Calculator/renderRegistrationType.js.map +1 -1
  136. package/lib/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  137. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  138. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.d.ts +6 -0
  139. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.mobile.d.ts +6 -0
  140. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +58 -0
  141. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
  142. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  143. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
  144. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
  145. package/lib/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +2 -0
  146. package/lib/components/CalculatorBusinessDeposit/renderDaysInput.js +6 -0
  147. package/lib/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
  148. package/{dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts → lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
  149. package/lib/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +18 -3
  150. package/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
  151. package/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  152. package/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
  153. package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  154. package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.d.ts +6 -0
  155. package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.mobile.d.ts +6 -0
  156. package/lib/components/CalculatorDeposit/CalculatorDeposit.js +66 -0
  157. package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
  158. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  159. package/lib/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
  160. package/lib/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
  161. package/{mobile/bundle/components/Calculator → lib/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
  162. package/{mobile/lib/components/Calculator → lib/components/CalculatorDeposit}/getDepositCalculatorParams.js +9 -1
  163. package/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
  164. package/lib/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  165. package/lib/components/CalculatorDeposit/renderPaymentType.js +10 -0
  166. package/lib/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
  167. package/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +2 -0
  168. package/lib/components/CalculatorDeposit/renderRegistrationType.js +9 -0
  169. package/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
  170. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.fixture.mobile.d.ts +6 -0
  171. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  172. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  173. package/lib/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  174. package/lib/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  175. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  176. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  177. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
  178. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  179. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +8 -11
  180. package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
  181. package/lib/components/Carousel/renderDepositResult.d.ts +9 -0
  182. package/lib/components/Carousel/renderDepositResult.js +7 -0
  183. package/lib/components/Carousel/renderDepositResult.js.map +1 -0
  184. package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +1 -0
  185. package/lib/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  186. package/lib/ui-kit/Calculator/CalculatorProps.js +2 -0
  187. package/lib/ui-kit/Calculator/CalculatorProps.js.map +1 -0
  188. package/lib/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  189. package/lib/ui-kit/Calculator/calculatorConstants.js +3 -0
  190. package/lib/ui-kit/Calculator/calculatorConstants.js.map +1 -1
  191. package/{mobile/bundle/components → lib/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
  192. package/lib/{components → ui-kit}/Calculator/getDefaultValues.js +1 -1
  193. package/lib/ui-kit/Calculator/getDefaultValues.js.map +1 -0
  194. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  195. package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
  196. package/lib/ui-kit/Calculator/renderPayout.d.ts +2 -0
  197. package/lib/{components/Calculator/renderInterestPayment.js → ui-kit/Calculator/renderPayout.js} +2 -2
  198. package/lib/ui-kit/Calculator/renderPayout.js.map +1 -0
  199. package/mobile/bundle/bundle.umd.js +349 -346
  200. package/mobile/bundle/bundle.umd.min.js +1 -1
  201. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +3 -110
  202. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  203. package/mobile/bundle/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  204. package/mobile/bundle/components/Calculator/renderPaymentType.d.ts +1 -1
  205. package/mobile/bundle/components/Calculator/renderRegistrationType.d.ts +1 -1
  206. package/mobile/bundle/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  207. package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  208. package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  209. package/mobile/bundle/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
  210. package/{bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts → mobile/bundle/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
  211. package/mobile/bundle/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  212. package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  213. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  214. package/{dist/components/Calculator → mobile/bundle/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
  215. package/mobile/bundle/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  216. package/mobile/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
  217. package/mobile/bundle/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  218. package/mobile/bundle/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  219. package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  220. package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  221. package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  222. package/mobile/bundle/components/Carousel/renderDepositResult.d.ts +10 -0
  223. package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  224. package/mobile/bundle/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  225. package/{bundle/components → mobile/bundle/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
  226. package/{dist/components/Calculator/renderInterestPayment.d.ts → mobile/bundle/ui-kit/Calculator/renderPayout.d.ts} +1 -1
  227. package/mobile/dist/components/Blocks.js +4 -0
  228. package/mobile/dist/components/Blocks.js.map +1 -1
  229. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +3 -110
  230. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +6 -5
  231. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  232. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  233. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -4
  234. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  235. package/mobile/dist/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  236. package/mobile/dist/components/Calculator/getCreditCalculatorParams.js +16 -3
  237. package/mobile/dist/components/Calculator/getCreditCalculatorParams.js.map +1 -1
  238. package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js +2 -2
  239. package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
  240. package/mobile/dist/components/Calculator/renderPaymentType.d.ts +1 -1
  241. package/mobile/dist/components/Calculator/renderPaymentType.js +1 -1
  242. package/mobile/dist/components/Calculator/renderPaymentType.js.map +1 -1
  243. package/mobile/dist/components/Calculator/renderRegistrationType.d.ts +1 -1
  244. package/mobile/dist/components/Calculator/renderRegistrationType.js +1 -1
  245. package/mobile/dist/components/Calculator/renderRegistrationType.js.map +1 -1
  246. package/mobile/dist/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  247. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  248. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +60 -0
  249. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
  250. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  251. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
  252. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
  253. package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
  254. package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.js +9 -0
  255. package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
  256. package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts +26 -0
  257. package/mobile/dist/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +25 -10
  258. package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
  259. package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  260. package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
  261. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  262. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +68 -0
  263. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
  264. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  265. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
  266. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
  267. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +26 -0
  268. package/{dist/components/Calculator → mobile/dist/components/CalculatorDeposit}/getDepositCalculatorParams.js +11 -3
  269. package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
  270. package/mobile/dist/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  271. package/mobile/dist/components/CalculatorDeposit/renderPaymentType.js +13 -0
  272. package/mobile/dist/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
  273. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
  274. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js +12 -0
  275. package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
  276. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  277. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  278. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  279. package/mobile/dist/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  280. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  281. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  282. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
  283. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  284. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +17 -20
  285. package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
  286. package/mobile/dist/components/Carousel/renderDepositResult.d.ts +10 -0
  287. package/mobile/dist/components/Carousel/renderDepositResult.js +10 -0
  288. package/mobile/dist/components/Carousel/renderDepositResult.js.map +1 -0
  289. package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  290. package/mobile/dist/ui-kit/Calculator/{CalcSourceProps.js → CalculatorProps.js} +1 -1
  291. package/mobile/dist/ui-kit/Calculator/CalculatorProps.js.map +1 -0
  292. package/mobile/dist/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  293. package/mobile/dist/ui-kit/Calculator/calculatorConstants.js +4 -1
  294. package/mobile/dist/ui-kit/Calculator/calculatorConstants.js.map +1 -1
  295. package/mobile/dist/ui-kit/Calculator/getDefaultValues.d.ts +3 -0
  296. package/mobile/dist/{components → ui-kit}/Calculator/getDefaultValues.js +3 -3
  297. package/mobile/dist/ui-kit/Calculator/getDefaultValues.js.map +1 -0
  298. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  299. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
  300. package/mobile/{bundle/components/Calculator/renderInterestPayment.d.ts → dist/ui-kit/Calculator/renderPayout.d.ts} +1 -1
  301. package/{dist/components/Calculator/renderInterestPayment.js → mobile/dist/ui-kit/Calculator/renderPayout.js} +4 -4
  302. package/mobile/dist/ui-kit/Calculator/renderPayout.js.map +1 -0
  303. package/mobile/lib/common.css +1 -1
  304. package/mobile/lib/components/Blocks.js +4 -0
  305. package/mobile/lib/components/Blocks.js.map +1 -1
  306. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +3 -110
  307. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -3
  308. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  309. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
  310. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -4
  311. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  312. package/mobile/lib/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
  313. package/mobile/lib/components/Calculator/getCreditCalculatorParams.js +14 -1
  314. package/mobile/lib/components/Calculator/getCreditCalculatorParams.js.map +1 -1
  315. package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js +1 -1
  316. package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
  317. package/mobile/lib/components/Calculator/renderPaymentType.d.ts +1 -1
  318. package/mobile/lib/components/Calculator/renderPaymentType.js +1 -1
  319. package/mobile/lib/components/Calculator/renderPaymentType.js.map +1 -1
  320. package/mobile/lib/components/Calculator/renderRegistrationType.d.ts +1 -1
  321. package/mobile/lib/components/Calculator/renderRegistrationType.js +1 -1
  322. package/mobile/lib/components/Calculator/renderRegistrationType.js.map +1 -1
  323. package/mobile/lib/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
  324. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
  325. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +58 -0
  326. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
  327. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
  328. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
  329. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
  330. package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
  331. package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.js +6 -0
  332. package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
  333. package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts +26 -0
  334. package/mobile/lib/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +18 -3
  335. package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
  336. package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
  337. package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
  338. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
  339. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +66 -0
  340. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
  341. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
  342. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
  343. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
  344. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +26 -0
  345. package/{lib/components/Calculator → mobile/lib/components/CalculatorDeposit}/getDepositCalculatorParams.js +9 -1
  346. package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
  347. package/mobile/lib/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
  348. package/mobile/lib/components/CalculatorDeposit/renderPaymentType.js +10 -0
  349. package/mobile/lib/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
  350. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
  351. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js +9 -0
  352. package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
  353. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  354. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  355. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
  356. package/mobile/lib/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
  357. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
  358. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
  359. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
  360. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
  361. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +8 -11
  362. package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
  363. package/mobile/lib/components/Carousel/renderDepositResult.d.ts +10 -0
  364. package/mobile/lib/components/Carousel/renderDepositResult.js +7 -0
  365. package/mobile/lib/components/Carousel/renderDepositResult.js.map +1 -0
  366. package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
  367. package/mobile/lib/ui-kit/Calculator/CalculatorProps.js +2 -0
  368. package/mobile/lib/ui-kit/Calculator/CalculatorProps.js.map +1 -0
  369. package/mobile/lib/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
  370. package/mobile/lib/ui-kit/Calculator/calculatorConstants.js +3 -0
  371. package/mobile/lib/ui-kit/Calculator/calculatorConstants.js.map +1 -1
  372. package/mobile/lib/ui-kit/Calculator/getDefaultValues.d.ts +3 -0
  373. package/mobile/lib/{components → ui-kit}/Calculator/getDefaultValues.js +1 -1
  374. package/mobile/lib/ui-kit/Calculator/getDefaultValues.js.map +1 -0
  375. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  376. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
  377. package/mobile/lib/ui-kit/Calculator/renderPayout.d.ts +3 -0
  378. package/mobile/lib/{components/Calculator/renderInterestPayment.js → ui-kit/Calculator/renderPayout.js} +2 -2
  379. package/mobile/lib/ui-kit/Calculator/renderPayout.js.map +1 -0
  380. package/mobile/src/components/Blocks.ts +4 -0
  381. package/mobile/src/components/Calculator/CalculatorContent.ts +7 -130
  382. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -3
  383. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +1 -11
  384. package/mobile/src/components/Calculator/getCreditCalculatorParams.ts +19 -1
  385. package/mobile/src/components/Calculator/getCreditCalculatorRateParams.ts +1 -1
  386. package/mobile/src/components/Calculator/renderPaymentType.tsx +1 -1
  387. package/mobile/src/components/Calculator/renderRegistrationType.tsx +1 -1
  388. package/mobile/src/components/CalculatorBonus/CalculatorBonusContent.ts +2 -9
  389. package/{src/components/Calculator/BusinessDepositCalculatorForm.tsx → mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx} +51 -49
  390. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.ui.json +22 -0
  391. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +63 -0
  392. package/mobile/src/components/CalculatorBusinessDeposit/renderDaysInput.tsx +14 -0
  393. package/mobile/src/components/{Calculator/useBusinessDepositCalculatorParams.ts → CalculatorBusinessDeposit/useBusinessDepositParams.ts} +26 -17
  394. package/mobile/src/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.ts +5 -5
  395. package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +125 -0
  396. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +36 -0
  397. package/mobile/src/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.ts +12 -3
  398. package/mobile/src/components/CalculatorDeposit/renderPaymentType.tsx +14 -0
  399. package/mobile/src/components/CalculatorDeposit/renderRegistrationType.tsx +13 -0
  400. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +4 -6
  401. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancingContent.ts +6 -16
  402. package/mobile/src/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.ts +2 -2
  403. package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.ts +2 -2
  404. package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +2 -2
  405. package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts +10 -13
  406. package/mobile/src/components/Carousel/renderDepositResult.tsx +26 -0
  407. package/mobile/src/icons/RustoreIcon.svg +2 -3
  408. package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +25 -0
  409. package/mobile/src/ui-kit/Calculator/calculatorConstants.tsx +3 -1
  410. package/mobile/src/{components → ui-kit}/Calculator/getDefaultValues.ts +2 -2
  411. package/mobile/src/{components/Calculator/renderInterestPayment.tsx → ui-kit/Calculator/renderPayout.tsx} +1 -1
  412. package/package.json +1 -1
  413. package/src/components/Blocks.mobile.ts +4 -0
  414. package/src/components/Blocks.ts +4 -0
  415. package/src/components/Calculator/Calculator.fixture.mobile.tsx +0 -34
  416. package/src/components/Calculator/Calculator.fixture.tsx +1 -68
  417. package/src/components/Calculator/CalculatorContent.ts +7 -130
  418. package/src/components/Calculator/CreditCalculatorForm.tsx +8 -3
  419. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +1 -11
  420. package/src/components/Calculator/getCreditCalculatorParams.ts +19 -1
  421. package/src/components/Calculator/getCreditCalculatorRateParams.ts +1 -1
  422. package/src/components/Calculator/renderPaymentType.tsx +1 -1
  423. package/src/components/Calculator/renderRegistrationType.tsx +1 -1
  424. package/src/components/CalculatorBonus/CalculatorBonusContent.ts +2 -9
  425. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.mobile.tsx +39 -0
  426. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.tsx +39 -0
  427. package/{mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx → src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx} +51 -49
  428. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.ui.json +22 -0
  429. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +63 -0
  430. package/src/components/CalculatorBusinessDeposit/renderDaysInput.tsx +14 -0
  431. package/src/components/{Calculator/useBusinessDepositCalculatorParams.ts → CalculatorBusinessDeposit/useBusinessDepositParams.ts} +26 -17
  432. package/src/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.ts +5 -5
  433. package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.mobile.tsx +41 -0
  434. package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.tsx +41 -0
  435. package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +125 -0
  436. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +36 -0
  437. package/src/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.ts +12 -3
  438. package/src/components/CalculatorDeposit/renderPaymentType.tsx +14 -0
  439. package/src/components/CalculatorDeposit/renderRegistrationType.tsx +13 -0
  440. package/src/components/CalculatorRefinancing/CalculatorRefinancing.fixture.mobile.tsx +35 -0
  441. package/src/components/CalculatorRefinancing/CalculatorRefinancing.fixture.tsx +1 -1
  442. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +4 -6
  443. package/src/components/CalculatorRefinancing/CalculatorRefinancingContent.ts +6 -16
  444. package/src/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.ts +2 -2
  445. package/src/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.ts +2 -2
  446. package/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +2 -2
  447. package/src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts +10 -13
  448. package/src/components/Carousel/renderDepositResult.tsx +26 -0
  449. package/src/components/TabsLayout/TabsLayout.fixture.tsx +32 -0
  450. package/src/icons/RustoreIcon.svg +2 -3
  451. package/src/ui-kit/Calculator/CalculatorProps.ts +25 -0
  452. package/src/ui-kit/Calculator/calculatorConstants.tsx +3 -1
  453. package/src/{components → ui-kit}/Calculator/getDefaultValues.ts +2 -2
  454. package/src/{components/Calculator/renderInterestPayment.tsx → ui-kit/Calculator/renderPayout.tsx} +1 -1
  455. package/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  456. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  457. package/bundle/components/Calculator/constants.d.ts +0 -24
  458. package/bundle/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  459. package/bundle/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  460. package/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  461. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +0 -55
  462. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
  463. package/dist/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  464. package/dist/components/Calculator/DepositCalculatorForm.js +0 -69
  465. package/dist/components/Calculator/DepositCalculatorForm.js.map +0 -1
  466. package/dist/components/Calculator/constants.d.ts +0 -24
  467. package/dist/components/Calculator/constants.js +0 -52
  468. package/dist/components/Calculator/constants.js.map +0 -1
  469. package/dist/components/Calculator/getDefaultValues.js.map +0 -1
  470. package/dist/components/Calculator/getDepositCalculatorParams.js.map +0 -1
  471. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
  472. package/dist/components/Calculator/renderInterestPayment.js.map +0 -1
  473. package/dist/components/Calculator/renderMonthsInput.js.map +0 -1
  474. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
  475. package/dist/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  476. package/dist/components/Calculator/useBusinessDepositRates.js.map +0 -1
  477. package/dist/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  478. package/dist/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
  479. package/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  480. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +0 -53
  481. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
  482. package/lib/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  483. package/lib/components/Calculator/DepositCalculatorForm.js +0 -67
  484. package/lib/components/Calculator/DepositCalculatorForm.js.map +0 -1
  485. package/lib/components/Calculator/constants.d.ts +0 -24
  486. package/lib/components/Calculator/constants.js +0 -50
  487. package/lib/components/Calculator/constants.js.map +0 -1
  488. package/lib/components/Calculator/getDefaultValues.js.map +0 -1
  489. package/lib/components/Calculator/getDepositCalculatorParams.js.map +0 -1
  490. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
  491. package/lib/components/Calculator/renderInterestPayment.d.ts +0 -2
  492. package/lib/components/Calculator/renderInterestPayment.js.map +0 -1
  493. package/lib/components/Calculator/renderMonthsInput.js.map +0 -1
  494. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
  495. package/lib/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  496. package/lib/components/Calculator/useBusinessDepositRates.js.map +0 -1
  497. package/lib/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  498. package/lib/ui-kit/Calculator/CalcSourceProps.js +0 -2
  499. package/lib/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
  500. package/mobile/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  501. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  502. package/mobile/bundle/components/Calculator/constants.d.ts +0 -24
  503. package/mobile/bundle/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  504. package/mobile/bundle/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  505. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  506. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +0 -55
  507. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
  508. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  509. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +0 -69
  510. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +0 -1
  511. package/mobile/dist/components/Calculator/constants.d.ts +0 -24
  512. package/mobile/dist/components/Calculator/constants.js +0 -52
  513. package/mobile/dist/components/Calculator/constants.js.map +0 -1
  514. package/mobile/dist/components/Calculator/getDefaultValues.d.ts +0 -3
  515. package/mobile/dist/components/Calculator/getDefaultValues.js.map +0 -1
  516. package/mobile/dist/components/Calculator/getDepositCalculatorParams.d.ts +0 -26
  517. package/mobile/dist/components/Calculator/getDepositCalculatorParams.js.map +0 -1
  518. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
  519. package/mobile/dist/components/Calculator/renderInterestPayment.js.map +0 -1
  520. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +0 -1
  521. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -25
  522. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
  523. package/mobile/dist/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  524. package/mobile/dist/components/Calculator/useBusinessDepositRates.js.map +0 -1
  525. package/mobile/dist/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  526. package/mobile/dist/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
  527. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
  528. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +0 -53
  529. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
  530. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +0 -8
  531. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +0 -67
  532. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +0 -1
  533. package/mobile/lib/components/Calculator/constants.d.ts +0 -24
  534. package/mobile/lib/components/Calculator/constants.js +0 -50
  535. package/mobile/lib/components/Calculator/constants.js.map +0 -1
  536. package/mobile/lib/components/Calculator/getDefaultValues.d.ts +0 -3
  537. package/mobile/lib/components/Calculator/getDefaultValues.js.map +0 -1
  538. package/mobile/lib/components/Calculator/getDepositCalculatorParams.d.ts +0 -26
  539. package/mobile/lib/components/Calculator/getDepositCalculatorParams.js.map +0 -1
  540. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
  541. package/mobile/lib/components/Calculator/renderInterestPayment.d.ts +0 -3
  542. package/mobile/lib/components/Calculator/renderInterestPayment.js.map +0 -1
  543. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +0 -1
  544. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -25
  545. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
  546. package/mobile/lib/components/Calculator/useBusinessDepositRates.d.ts +0 -4
  547. package/mobile/lib/components/Calculator/useBusinessDepositRates.js.map +0 -1
  548. package/mobile/lib/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
  549. package/mobile/lib/ui-kit/Calculator/CalcSourceProps.js +0 -2
  550. package/mobile/lib/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
  551. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +0 -119
  552. package/mobile/src/components/Calculator/constants.ts +0 -58
  553. package/mobile/src/ui-kit/Calculator/CalcSourceProps.ts +0 -6
  554. package/src/components/Calculator/DepositCalculatorForm.tsx +0 -119
  555. package/src/components/Calculator/constants.ts +0 -58
  556. package/src/ui-kit/Calculator/CalcSourceProps.ts +0 -6
  557. /package/bundle/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  558. /package/bundle/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  559. /package/dist/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
  560. /package/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  561. /package/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
  562. /package/dist/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  563. /package/dist/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
  564. /package/lib/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
  565. /package/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  566. /package/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
  567. /package/lib/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  568. /package/lib/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
  569. /package/mobile/bundle/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  570. /package/mobile/bundle/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  571. /package/mobile/dist/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
  572. /package/mobile/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  573. /package/mobile/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
  574. /package/mobile/dist/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  575. /package/mobile/dist/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
  576. /package/mobile/lib/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
  577. /package/mobile/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
  578. /package/mobile/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
  579. /package/mobile/lib/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
  580. /package/mobile/lib/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
  581. /package/mobile/src/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.tsx +0 -0
  582. /package/mobile/src/{components → ui-kit}/Calculator/renderMonthsInput.tsx +0 -0
  583. /package/src/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.tsx +0 -0
  584. /package/src/{components → ui-kit}/Calculator/renderMonthsInput.tsx +0 -0
@@ -0,0 +1,4 @@
1
+ import { type RateParamsDef } from './CalculatorBusinessDepositContent';
2
+ import { type BusinessDepositCalculatorSourceBookParams } from './useBusinessDepositParams';
3
+ export declare type CalculatorBusinessDepositData = BusinessDepositCalculatorSourceBookParams[];
4
+ export declare function useBusinessDepositRates(rateParams?: RateParamsDef): CalculatorBusinessDepositData;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBusinessDepositRates.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/useBusinessDepositRates.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkF;AAIlF,MAAM,yBAAyB,GAAG;IAChC,EAAE,EAAE,sBAAsB;IAC1B,EAAE,EAAE,0BAA0B;CAC/B,CAAC;AAIF,SAAgB,uBAAuB,CAAC,UAA0B;IAChE,MAAM,WAAW,GAAG,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEhG,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,WAAW,CAAC,CAAC,CAAC,wBAAwB,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,EAC1D,2BAAqE,CACtE,CAAC;IAEF,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AACzC,CAAC;AATD,0DASC"}
@@ -0,0 +1,9 @@
1
+ import { type JSONRefObject } from '../../data/JSONRefObject';
2
+ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
3
+ import { type CalculatorDepositContent } from './CalculatorDepositContent';
4
+ import { type DepositCalculatorData } from './getDepositCalculatorParams';
5
+ export interface CalculatorDepositProps extends CalculatorDepositContent, UniBlockProps {
6
+ className?: string;
7
+ calcSource?: DepositCalculatorData & JSONRefObject;
8
+ }
9
+ export declare const CalculatorDeposit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorDepositProps>;
@@ -0,0 +1,68 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.CalculatorDeposit = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
5
+ const useForm_1 = require("../../hooks/useForm");
6
+ const CalculatorLayout_1 = require("../../ui-kit/Calculator/CalculatorLayout");
7
+ const CalculatorStyle_1 = require("../../ui-kit/Calculator/CalculatorStyle");
8
+ const getDefaultValues_1 = require("../../ui-kit/Calculator/getDefaultValues");
9
+ const renderMonthsInput_1 = require("../../ui-kit/Calculator/renderMonthsInput");
10
+ const renderPayout_1 = require("../../ui-kit/Calculator/renderPayout");
11
+ const renderRate_1 = require("../../ui-kit/Calculator/renderRate");
12
+ const renderWantedSumInput_1 = require("../../ui-kit/Calculator/renderWantedSumInput");
13
+ const UniBlock_1 = require("../../UniBlock/UniBlock");
14
+ const clamp_1 = require("../../utils/clamp");
15
+ const style_1 = require("../../utils/style");
16
+ const renderDepositResult_1 = require("../Carousel/renderDepositResult");
17
+ const getDepositCalculatorParams_1 = require("./getDepositCalculatorParams");
18
+ const renderRegistrationType_1 = require("./renderRegistrationType");
19
+ const DEPOSIT_DEFAULT_SUM = 20000;
20
+ exports.CalculatorDeposit = (0, UniBlock_1.UniBlock)(({ className, title, calcSource, buttons, footnote, paramsViewSettings, defaultParams, ...rest }) => {
21
+ const [userInputParams, { field }] = (0, useForm_1.useForm)({
22
+ moneyValue: (0, getDefaultValues_1.getMoneyDefaultValue)(defaultParams, DEPOSIT_DEFAULT_SUM),
23
+ monthsValue: (0, getDefaultValues_1.getMonthsDefaultValue)(defaultParams),
24
+ isMonthlyInterestPayment: Boolean(defaultParams?.isMonthlyInterestPayment),
25
+ isRemoteRegistration: Boolean(defaultParams?.isRemoteRegistration),
26
+ });
27
+ const calculatorParams = (0, getDepositCalculatorParams_1.getDepositCalculatorParams)(userInputParams, calcSource, paramsViewSettings);
28
+ const { defaultMonth, rate, income, finalSum } = calculatorParams;
29
+ const { onChange: setMonthsValue } = field('monthsValue');
30
+ const { onChange: setMoneyValue } = field('moneyValue');
31
+ (0, hooks_1.useEffect)(() => {
32
+ !userInputParams.monthsValue && setMonthsValue && setMonthsValue(defaultMonth);
33
+ }, [defaultMonth]);
34
+ (0, hooks_1.useEffect)(() => {
35
+ setMoneyValue &&
36
+ setMoneyValue((0, clamp_1.clamp)(userInputParams.moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
37
+ }, [calculatorParams.minSum, calculatorParams.maxSum]);
38
+ return ((0, jsx_runtime_1.jsx)(CalculatorLayout_1.CalculatorLayout, { className: className, title: title, ...rest, children: (0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)(CalculatorStyle_1.CalculatorStyle.wrapper, className), children: [(0, jsx_runtime_1.jsxs)("div", { className: CalculatorStyle_1.CalculatorStyle.input, children: [(0, renderWantedSumInput_1.renderWantedSumInput)({
39
+ title: 'Сумма, ₽',
40
+ min: calculatorParams.minSum,
41
+ max: calculatorParams.maxSum,
42
+ ...field('moneyValue'),
43
+ value: calculatorParams.moneyValue,
44
+ }), (0, renderMonthsInput_1.renderMonthsInput)({
45
+ title: 'Срок, месяцев',
46
+ min: calculatorParams.minMonths,
47
+ max: calculatorParams.maxMonths,
48
+ availableMonths: calculatorParams.availableMonths,
49
+ ...field('monthsValue'),
50
+ value: calculatorParams.monthsValue,
51
+ }), renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)] }), (0, renderRate_1.renderRate)({
52
+ rate,
53
+ }), (0, renderDepositResult_1.renderDepositResult)({ income, finalSum, buttons, footnotes: [footnote] })] }) }));
54
+ });
55
+ const renderDepositParamsForm = (params, field) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
56
+ ? (0, renderPayout_1.renderPayout)({
57
+ title: 'Выплата процентов',
58
+ ...field('isMonthlyInterestPayment'),
59
+ value: params.isMonthlyInterestPayment,
60
+ })
61
+ : null, params.isShowRemoteRegistration
62
+ ? (0, renderRegistrationType_1.renderRegistrationType)({
63
+ title: 'Оформление',
64
+ ...field('isRemoteRegistration'),
65
+ value: params.isRemoteRegistration,
66
+ })
67
+ : null] }));
68
+ //# sourceMappingURL=CalculatorDeposit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalculatorDeposit.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/C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EAAE,SAAS,EAAE,CAAC,QAAkB,CAAC,EAAE,CAAC,IAC5E,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAC9B,MAAqE,EACrE,KAA+B,EAC/B,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,4BAA4B;YAClC,CAAC,CAAC,IAAA,2BAAY,EAAC;gBACX,KAAK,EAAE,mBAAmB;gBAC1B,GAAG,KAAK,CAAC,0BAA0B,CAAC;gBACpC,KAAK,EAAE,MAAM,CAAC,wBAAwB;aACvC,CAAC;YACJ,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,wBAAwB;YAC9B,CAAC,CAAC,IAAA,+CAAsB,EAAC;gBACrB,KAAK,EAAE,YAAY;gBACnB,GAAG,KAAK,CAAC,sBAAsB,CAAC;gBAChC,KAAK,EAAE,MAAM,CAAC,oBAAoB;aACnC,CAAC;YACJ,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { type CommonCalculatorProps, type CommonDefaultParams } from '../../ui-kit/Calculator/CalculatorProps';
2
+ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
3
+ export interface CalculatorDepositParamsViewSettings {
4
+ /**
5
+ * @title Выплата процентов
6
+ * @default true
7
+ */
8
+ isShowMonthlyInterestPayment?: boolean;
9
+ /**
10
+ * @title Оформление
11
+ * @default true
12
+ */
13
+ isShowRemoteRegistration?: boolean;
14
+ }
15
+ export interface DepositDefaultParams extends CommonDefaultParams {
16
+ /** @title Ежемесячная выплата процентов */
17
+ isMonthlyInterestPayment?: boolean;
18
+ /** @title Дистанционное оформление */
19
+ isRemoteRegistration?: boolean;
20
+ }
21
+ /**
22
+ * @title Калькулятор бонусов
23
+ */
24
+ export declare type CalculatorDepositContent = UniBlockContent & CommonCalculatorProps & {
25
+ /** @title Настройка отображения радио */
26
+ paramsViewSettings?: CalculatorDepositParamsViewSettings;
27
+ /** @title Параметры по умолчанию */
28
+ defaultParams?: DepositDefaultParams;
29
+ };
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=CalculatorDepositContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalculatorDepositContent.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/CalculatorDepositContent.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { type DepositCalculatorParamsViewSettings } from './CalculatorContent';
1
+ import { type CalculatorDepositParamsViewSettings } from './CalculatorDepositContent';
2
2
  export interface CommonDepositParams {
3
3
  isMonthlyInterestPayment: boolean;
4
4
  isRemoteRegistration: boolean;
@@ -23,4 +23,4 @@ export interface DepositCalculatorParams extends DepositCalculatorSourceBookPara
23
23
  export declare type DepositCalculatorData = {
24
24
  rateRows?: DepositCalculatorSourceBookParams[];
25
25
  };
26
- export declare const getDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, calcSource?: DepositCalculatorData, paramsViewSettings?: DepositCalculatorParamsViewSettings) => DepositCalculatorParams;
26
+ export declare const getDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, calcSource?: DepositCalculatorData, paramsViewSettings?: CalculatorDepositParamsViewSettings) => DepositCalculatorParams;
@@ -3,7 +3,15 @@ exports.getDepositCalculatorParams = void 0;
3
3
  const rangeHelpers_1 = require("../../ui-kit/Calculator/rangeHelpers");
4
4
  const arrayByRange_1 = require("../../utils/arrayByRange");
5
5
  const mergeIntervals_1 = require("../../utils/mergeIntervals");
6
- const constants_1 = require("./constants");
6
+ const DEFAULT_DEPOSIT_CALCULATOR_PARAMS = {
7
+ minSum: 50000,
8
+ maxSum: 100000001,
9
+ minMonths: 2,
10
+ maxMonths: 10,
11
+ rate: 0,
12
+ isMonthlyInterestPayment: true,
13
+ isRemoteRegistration: true,
14
+ };
7
15
  const getDepositCalculatorParams = (userInputParams, calcSource, paramsViewSettings) => {
8
16
  const { moneyValue, monthsValue } = userInputParams;
9
17
  const defaultMonth = calcSource?.rateRows?.[0]
@@ -24,11 +32,11 @@ const getDepositCalculatorParams = (userInputParams, calcSource, paramsViewSetti
24
32
  isExclude: isExcludeRemoteRegistration,
25
33
  }) &&
26
34
  (0, rangeHelpers_1.checkRangeByKeys)(moneyValue, ['minSum', 'maxSum'], row) &&
27
- (0, rangeHelpers_1.checkRangeByKeys)(monthsValue || defaultMonth, ['minMonths', 'maxMonths'], row)) || constants_1.DEFAULT_DEPOSIT_CALCULATOR_PARAMS;
35
+ (0, rangeHelpers_1.checkRangeByKeys)(monthsValue || defaultMonth, ['minMonths', 'maxMonths'], row)) || DEFAULT_DEPOSIT_CALCULATOR_PARAMS;
28
36
  const { rate } = depositCalculatorSourceBookParams;
29
37
  const income = getDepositIncome(rate, userInputParams);
30
38
  const finalSum = moneyValue + income;
31
- const sourceBookRows = calcSource?.rateRows || [constants_1.DEFAULT_DEPOSIT_CALCULATOR_PARAMS];
39
+ const sourceBookRows = calcSource?.rateRows || [DEFAULT_DEPOSIT_CALCULATOR_PARAMS];
32
40
  return {
33
41
  ...depositCalculatorSourceBookParams,
34
42
  ...(0, rangeHelpers_1.getRangeByKeys)(['minSum', 'maxSum'], sourceBookRows),
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDepositCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/getDepositCalculatorParams.ts"],"names":[],"mappings":";;AAAA,uEAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAG5D,MAAM,iCAAiC,GAAsC;IAC3E,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,CAAC;IACP,wBAAwB,EAAE,IAAI;IAC9B,oBAAoB,EAAE,IAAI;CAC3B,CAAC;AAiCK,MAAM,0BAA0B,GAAG,CACxC,eAAiD,EACjD,UAAkC,EAClC,kBAAwD,EAC/B,EAAE;IAC3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,cAAc,GAAG,CAAC,SAAiB,EAAE,SAAiB,EAAU,EAAE,CACtE,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { type BinaryRadioButtonGroupProps } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup';
3
+ export declare const renderPaymentType: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.renderPaymentType = void 0;
3
+ const renderBinaryRadioButtonGroup_1 = require("../../ui-kit/Calculator/renderBinaryRadioButtonGroup");
4
+ const renderPaymentType = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
5
+ ...props,
6
+ radioGroupClassName: 'sm:flex-col',
7
+ items: [
8
+ { id: 'annuity', text: 'Аннуитетный' },
9
+ { id: 'differential', text: 'Дифференцированный' },
10
+ ],
11
+ });
12
+ exports.renderPaymentType = renderPaymentType;
13
+ //# sourceMappingURL=renderPaymentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/renderPaymentType.tsx"],"names":[],"mappings":";;AAAA,uGAG8D;AAEvD,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,mBAAmB,EAAE,aAAa;IAClC,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"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { type BinaryRadioButtonGroupProps } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup';
3
+ export declare const renderRegistrationType: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.renderRegistrationType = void 0;
3
+ const renderBinaryRadioButtonGroup_1 = require("../../ui-kit/Calculator/renderBinaryRadioButtonGroup");
4
+ const renderRegistrationType = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
5
+ ...props,
6
+ items: [
7
+ { id: 'remote', text: 'Дистанционно' },
8
+ { id: 'office', text: 'Офис Банка' },
9
+ ],
10
+ });
11
+ exports.renderRegistrationType = renderRegistrationType;
12
+ //# sourceMappingURL=renderRegistrationType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderRegistrationType.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/renderRegistrationType.tsx"],"names":[],"mappings":";;AAAA,uGAG8D;AAEvD,MAAM,sBAAsB,GAAG,CAAC,KAA2C,EAAE,EAAE,CACpF,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE;QACtC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE;KACrC;CACF,CAAC,CAAC;AAPQ,QAAA,sBAAsB,0BAO9B"}
@@ -6,13 +6,13 @@ const CalculatorLayout_1 = require("../../ui-kit/Calculator/CalculatorLayout");
6
6
  const CalculatorStyle_1 = require("../../ui-kit/Calculator/CalculatorStyle");
7
7
  const CalculatorValueBlock_1 = require("../../ui-kit/Calculator/CalculatorValueBlock");
8
8
  const renderFootnote_1 = require("../../ui-kit/Calculator/renderFootnote");
9
+ const renderMonthsInput_1 = require("../../ui-kit/Calculator/renderMonthsInput");
9
10
  const renderRate_1 = require("../../ui-kit/Calculator/renderRate");
10
11
  const renderWantedSumInput_1 = require("../../ui-kit/Calculator/renderWantedSumInput");
11
12
  const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
12
13
  const renderButtonsSection_1 = require("../../ui-kit/LinkButton/renderButtonsSection");
13
14
  const UniBlock_1 = require("../../UniBlock/UniBlock");
14
15
  const style_1 = require("../../utils/style");
15
- const renderMonthsInput_1 = require("../Calculator/renderMonthsInput");
16
16
  const renderPaymentType_1 = require("../Calculator/renderPaymentType");
17
17
  const getRefinancingCalculatorParams_1 = require("./getRefinancingCalculatorParams");
18
18
  const REFINANCING_OLD_DEFAULT_SUM = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";;;AACA,iDAAwE;AACxE,+EAA4E;AAC5E,6EAA0E;AAC1E,uFAAoF;AACpF,2EAAwE;AACxE,mEAAgE;AAChE,uFAAoF;AACpF,6DAA0D;AAC1D,uFAAoF;AACpF,sDAAmD;AAEnD,6CAA0C;AAC1C,uEAAoE;AACpE,uEAAoE;AAKpE,qFAI0C;AAE1C,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AACvC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAMzB,QAAA,qBAAqB,GAAG,IAAA,mBAAQ;AAC3C,kDAAkD;AAClD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACxF,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QAC3C,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,KAAK;QACrB,YAAY,EAAE,KAAK;QACnB,UAAU,EAAE,uBAAuB;QACnC,iBAAiB,EAAE,2BAA2B;QAC9C,WAA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GAAG,CAC7B,MAA6E,EAC7E,KAA+B,EAC/B,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,uBAAC,mBAAQ,IACP,IAAI,EAAC,qOAA4C,KAC7C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,GAC5B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,uBAAC,mBAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,mBAAQ,IACP,IAAI,EAAC,sKAA+B,KAChC,KAAK,CAAC,cAAc,CAAC,EACzB,KAAK,EAAE,MAAM,CAAC,YAAY,GAC1B,IACE,CACP,CAAC"}
1
+ {"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";;;AACA,iDAAwE;AACxE,+EAA4E;AAE5E,6EAA0E;AAC1E,uFAAoF;AACpF,2EAAwE;AACxE,iFAA8E;AAC9E,mEAAgE;AAChE,uFAAoF;AACpF,6DAA0D;AAC1D,uFAAoF;AACpF,sDAAmD;AAEnD,6CAA0C;AAC1C,uEAAoE;AAEpE,qFAI0C;AAE1C,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AACvC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAMzB,QAAA,qBAAqB,GAAG,IAAA,mBAAQ;AAC3C,kDAAkD;AAClD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,EAAE,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AAC,IAAI,EACR,gCAAK,SAAS,EAAC,uBAAuB,YAAE,kBAAkB,GAAO,EAChE,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACnD,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAC7B,MAAyE,EACzE,KAA+B,EAC/B,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,uBAAC,mBAAQ,IACP,IAAI,EAAC,qOAA4C,KAC7C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,GAC5B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,uBAAC,mBAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,mBAAQ,IACP,IAAI,EAAC,sKAA+B,KAChC,KAAK,CAAC,cAAc,CAAC,EACzB,KAAK,EAAE,MAAM,CAAC,YAAY,GAC1B,IACE,CACP,CAAC"}
@@ -1,7 +1,4 @@
1
- import { type Footnote } from '../../model/Footnote';
2
- import { type TitleProps } from '../../model/HeadlineType';
3
- import { type CalcSourceProps } from '../../ui-kit/Calculator/CalcSourceProps';
4
- import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
1
+ import { type CalculatorParamsViewSettingsDefault, type CommonCalculatorProps } from '../../ui-kit/Calculator/CalculatorProps';
5
2
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
6
3
  export interface CreditCalculatorParamsViewSettings {
7
4
  /** @title Получаю зарплату на счёт в Россельхозбанке */
@@ -13,16 +10,10 @@ export interface CreditCalculatorParamsViewSettings {
13
10
  /** @title Комплексная страховая защита */
14
11
  isShowInsurance?: boolean;
15
12
  }
16
- export interface RefinancingCalculatorParamsViewSettings {
17
- /** @title Получаю зарплату на счёт в Россельхозбанке */
18
- isShowSalaryClient?: boolean;
19
- /** @title Комплексная страховая защита */
20
- isShowInsurance?: boolean;
21
- }
22
13
  /**
23
14
  * @title Калькулятор рефинансирования
24
15
  */
25
- export declare type CalculatorRefinancingContent = UniBlockContent & TitleProps & Footnote & CalcSourceProps & ButtonsSectionContent & {
16
+ export declare type CalculatorRefinancingContent = UniBlockContent & CommonCalculatorProps & {
26
17
  /** @title Настройка отображения чекбоксов */
27
- paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
18
+ paramsViewSettings?: CalculatorParamsViewSettingsDefault;
28
19
  };
@@ -1,9 +1,9 @@
1
- import { type RefinancingCalculatorParamsViewSettings } from './CalculatorRefinancingContent';
1
+ import { type CalculatorParamsViewSettingsDefault } from '../../ui-kit/Calculator/CalculatorProps';
2
2
  import { type CommonRefinancingParams, type RefinancingCalculatorUserInputParams } from './getRefinancingCalculatorParams';
3
3
  interface CheckSourceBookRowProps {
4
4
  row: CommonRefinancingParams;
5
5
  userInputParams: RefinancingCalculatorUserInputParams;
6
- paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
6
+ paramsViewSettings?: CalculatorParamsViewSettingsDefault;
7
7
  }
8
8
  export declare const checkRefinancingSourceBookRowCommonParams: (props: CheckSourceBookRowProps) => boolean;
9
9
  export {};
@@ -1,9 +1,9 @@
1
- import { type RefinancingCalculatorParamsViewSettings } from './CalculatorRefinancingContent';
1
+ import { type CalculatorParamsViewSettingsDefault } from '../../ui-kit/Calculator/CalculatorProps';
2
2
  import { type RefinancingCalculatorSourceBookLimitParams, type RefinancingCalculatorUserInputParams } from './getRefinancingCalculatorParams';
3
3
  interface GetRefinancingCalculatorLimitParamsProps {
4
4
  limitRows: RefinancingCalculatorSourceBookLimitParams[];
5
5
  userInputParams: RefinancingCalculatorUserInputParams;
6
- paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
6
+ paramsViewSettings?: CalculatorParamsViewSettingsDefault;
7
7
  }
8
8
  export declare const getRefinancingCalculatorLimitParams: ({ limitRows, userInputParams, paramsViewSettings, }: GetRefinancingCalculatorLimitParamsProps) => RefinancingCalculatorSourceBookLimitParams | undefined;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- import { type RefinancingCalculatorParamsViewSettings } from './CalculatorRefinancingContent';
1
+ import { type CalculatorParamsViewSettingsDefault } from '../../ui-kit/Calculator/CalculatorProps';
2
2
  export interface CommonRefinancingParams {
3
3
  isSalaryClient: boolean;
4
4
  isInsurance: boolean;
@@ -40,4 +40,4 @@ export declare type RefinancingCalculatorData = {
40
40
  rateRows?: RefinancingCalculatorSourceBookRateParams[];
41
41
  limitRows?: RefinancingCalculatorSourceBookLimitParams[];
42
42
  };
43
- export declare const getRefinancingCalculatorParams: (userInputParams: RefinancingCalculatorUserInputParams, calcSource?: RefinancingCalculatorData, paramsViewSettings?: RefinancingCalculatorParamsViewSettings) => RefinancingCalculatorParams;
43
+ export declare const getRefinancingCalculatorParams: (userInputParams: RefinancingCalculatorUserInputParams, calcSource?: RefinancingCalculatorData, paramsViewSettings?: CalculatorParamsViewSettingsDefault) => RefinancingCalculatorParams;
@@ -1 +1 @@
1
- {"version":3,"file":"getRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts"],"names":[],"mappings":";;AAAA,iFAA8E;AAC9E,uEAA2E;AAE3E,+FAA4F;AAC5F,6FAG8C;AAmDvC,MAAM,8BAA8B,GAAG,CAC5C,eAAqD,EACrD,UAAsC,EACtC,kBAA4D,EAC/B,EAAE;IAC/B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IACnF,MAAM,QAAQ,GAAG,UAAU,EAAE,QAAQ,IAAI,CAAC,0EAAqC,CAAC,CAAC;IACjF,MAAM,SAAS,GAAG,UAAU,EAAE,SAAS,IAAI,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,IAAA,yEAAmC,EAAC;QAChE,SAAS;QACT,eAAe;QACf,kBAAkB;KACnB,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,kCAAmB,EAC5C,CAAC,QAAQ,EAAE,QAAQ,CAAC,EACpB,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAA,kCAAmB,EAClD,CAAC,WAAW,EAAE,WAAW,CAAC,EAC1B,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,yCAAyC,GAAG,IAAA,uEAAkC,EAAC;QACnF,QAAQ;QACR,eAAe;QACf,kBAAkB;QAClB,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;KACX,CAAC,CAAC;IACH,MAAM,EAAE,IAAI,EAAE,GAAG,yCAAyC,CAAC;IAC3D,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAEhE,MAAM,OAAO,GAAG,eAAe,CAAC,iBAAiB,GAAG,cAAc,CAAC;IAEnE,OAAO;QACL,GAAG,yCAAyC;QAC5C,GAAG,eAAe;QAClB,MAAM;QACN,MAAM;QACN,SAAS;QACT,SAAS;QACT,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;QACV,cAAc;QACd,OAAO;KACR,CAAC;AACJ,CAAC,CAAC;AAtDW,QAAA,8BAA8B,kCAsDzC"}
1
+ {"version":3,"file":"getRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts"],"names":[],"mappings":";;AACA,iFAA8E;AAC9E,uEAA2E;AAC3E,+FAA4F;AAC5F,6FAG8C;AAmDvC,MAAM,8BAA8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"}
@@ -1,21 +1,10 @@
1
- import { type RefinancingCalculatorParamsViewSettings } from './CalculatorRefinancingContent';
1
+ import { type CalculatorParamsViewSettingsDefault } from '../../ui-kit/Calculator/CalculatorProps';
2
2
  import { type RefinancingCalculatorSourceBookRateParams, type RefinancingCalculatorUserInputParams } from './getRefinancingCalculatorParams';
3
- export declare const DEFAULT_MIN_SUM = 10000;
4
- export declare const DEFAULT_REFINANCING_MIN_MONTHS = 13;
5
- export declare const DEFAULT_REFINANCING_MONTHS = 48;
6
- export declare const DEFAULT_MAX_MONTHS = 60;
7
- export declare const REFINANCING_DEFAULT_SUM = 700000;
8
- export declare const REFINANCING_DEFAULT_MAX_SUM = 3000000;
9
- export declare const REFINANCING_OLD_MIN_SUM = 0;
10
- export declare const REFINANCING_OLD_DEFAULT_SUM = 0;
11
- export declare const REFINANCING_OLD_MAX_SUM = 2500000;
12
- export declare const REFINANCING_EXTRA_MIN_SUM = 0;
13
- export declare const REFINANCING_EXTRA_MAX_SUM = 500000;
14
3
  export declare const DEFAULT_REFINANCING_CALCULATOR_PARAMS: RefinancingCalculatorSourceBookRateParams;
15
4
  interface GetRefinancingCalculatorRateParamsProps {
16
5
  rateRows: RefinancingCalculatorSourceBookRateParams[];
17
6
  userInputParams: RefinancingCalculatorUserInputParams;
18
- paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
7
+ paramsViewSettings?: CalculatorParamsViewSettingsDefault;
19
8
  moneyValue: number;
20
9
  monthsValue: number;
21
10
  moneyExtra: number;
@@ -1,27 +1,24 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.getRefinancingCalculatorRateParams = exports.DEFAULT_REFINANCING_CALCULATOR_PARAMS = exports.REFINANCING_EXTRA_MAX_SUM = exports.REFINANCING_EXTRA_MIN_SUM = exports.REFINANCING_OLD_MAX_SUM = exports.REFINANCING_OLD_DEFAULT_SUM = exports.REFINANCING_OLD_MIN_SUM = exports.REFINANCING_DEFAULT_MAX_SUM = exports.REFINANCING_DEFAULT_SUM = exports.DEFAULT_MAX_MONTHS = exports.DEFAULT_REFINANCING_MONTHS = exports.DEFAULT_REFINANCING_MIN_MONTHS = exports.DEFAULT_MIN_SUM = void 0;
2
+ exports.getRefinancingCalculatorRateParams = exports.DEFAULT_REFINANCING_CALCULATOR_PARAMS = void 0;
3
+ const calculatorConstants_1 = require("../../ui-kit/Calculator/calculatorConstants");
3
4
  const rangeHelpers_1 = require("../../ui-kit/Calculator/rangeHelpers");
4
5
  const checkRefinancingSourceBookRowCommonParams_1 = require("./checkRefinancingSourceBookRowCommonParams");
5
- exports.DEFAULT_MIN_SUM = 10000;
6
- exports.DEFAULT_REFINANCING_MIN_MONTHS = 13;
7
- exports.DEFAULT_REFINANCING_MONTHS = 48;
8
- exports.DEFAULT_MAX_MONTHS = 60;
9
- exports.REFINANCING_DEFAULT_SUM = 700000;
10
- exports.REFINANCING_DEFAULT_MAX_SUM = 3000000;
11
- exports.REFINANCING_OLD_MIN_SUM = 0;
12
- exports.REFINANCING_OLD_DEFAULT_SUM = 0;
13
- exports.REFINANCING_OLD_MAX_SUM = 2500000;
14
- exports.REFINANCING_EXTRA_MIN_SUM = 0;
15
- exports.REFINANCING_EXTRA_MAX_SUM = 500000;
6
+ const DEFAULT_MIN_SUM = 10000;
7
+ const DEFAULT_REFINANCING_MIN_MONTHS = 13;
8
+ const REFINANCING_DEFAULT_MAX_SUM = 3000000;
9
+ const REFINANCING_OLD_MIN_SUM = 0;
10
+ const REFINANCING_OLD_MAX_SUM = 2500000;
11
+ const REFINANCING_EXTRA_MIN_SUM = 0;
12
+ const REFINANCING_EXTRA_MAX_SUM = 500000;
16
13
  exports.DEFAULT_REFINANCING_CALCULATOR_PARAMS = {
17
- minSum: exports.DEFAULT_MIN_SUM,
18
- maxSum: exports.REFINANCING_DEFAULT_MAX_SUM,
19
- minSumOld: exports.REFINANCING_OLD_MIN_SUM,
20
- maxSumOld: exports.REFINANCING_OLD_MAX_SUM,
21
- minSumExtra: exports.REFINANCING_EXTRA_MIN_SUM,
22
- maxSumExtra: exports.REFINANCING_EXTRA_MAX_SUM,
23
- minMonths: exports.DEFAULT_REFINANCING_MIN_MONTHS,
24
- maxMonths: exports.DEFAULT_MAX_MONTHS,
14
+ minSum: DEFAULT_MIN_SUM,
15
+ maxSum: REFINANCING_DEFAULT_MAX_SUM,
16
+ minSumOld: REFINANCING_OLD_MIN_SUM,
17
+ maxSumOld: REFINANCING_OLD_MAX_SUM,
18
+ minSumExtra: REFINANCING_EXTRA_MIN_SUM,
19
+ maxSumExtra: REFINANCING_EXTRA_MAX_SUM,
20
+ minMonths: DEFAULT_REFINANCING_MIN_MONTHS,
21
+ maxMonths: calculatorConstants_1.DEFAULT_MAX_MONTHS,
25
22
  rate: 0,
26
23
  isExtraMoney: false,
27
24
  isSalaryClient: false,
@@ -1 +1 @@
1
- {"version":3,"file":"getRefinancingCalculatorRateParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts"],"names":[],"mappings":";;AAAA,uEAAwE;AAExE,2GAAwG;AAM3F,QAAA,eAAe,GAAG,KAAK,CAAC;AACxB,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,0BAA0B,GAAG,EAAE,CAAC;AAChC,QAAA,kBAAkB,GAAG,EAAE,CAAC;AACxB,QAAA,uBAAuB,GAAG,MAAM,CAAC;AACjC,QAAA,2BAA2B,GAAG,OAAO,CAAC;AACtC,QAAA,uBAAuB,GAAG,CAAC,CAAC;AAC5B,QAAA,2BAA2B,GAAG,CAAC,CAAC;AAChC,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,yBAAyB,GAAG,CAAC,CAAC;AAC9B,QAAA,yBAAyB,GAAG,MAAM,CAAC;AAEnC,QAAA,qCAAqC,GAA8C;IAC9F,MAAM,EAAE,uBAAe;IACvB,MAAM,EAAE,mCAA2B;IACnC,SAAS,EAAE,+BAAuB;IAClC,SAAS,EAAE,+BAAuB;IAClC,WAAW,EAAE,iCAAyB;IACtC,WAAW,EAAE,iCAAyB;IACtC,SAAS,EAAE,sCAA8B;IACzC,SAAS,EAAE,0BAAkB;IAC7B,IAAI,EAAE,CAAC;IACP,YAAY,EAAE,KAAK;IACnB,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;CAClB,CAAC;AAYK,MAAM,kCAAkC,GAAG,CAAC,EACjD,QAAQ,GAAG,EAAE,EACb,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,UAAU,GAC8B,EAAE,EAAE,CAC5C,QAAQ,EAAE,IAAI,CACZ,CAAC,GAAG,EAAE,EAAE,CACN,IAAA,qFAAyC,EAAC;IACxC,GAAG;IACH,eAAe;IACf,kBAAkB;CACnB,CAAC;IACF,IAAA,+BAAgB,EAAC,UAAU,GAAG,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,GAAG,CAAC;IACpE,IAAA,+BAAgB,EAAC,iBAAiB,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC;IACpE,IAAA,+BAAgB,EAAC,UAAU,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,EAAE,GAAG,CAAC;IACjE,IAAA,+BAAgB,EAAC,WAAW,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,CACjE,IAAI,6CAAqC,CAAC;AApBhC,QAAA,kCAAkC,sCAoBF"}
1
+ {"version":3,"file":"getRefinancingCalculatorRateParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts"],"names":[],"mappings":";;AAAA,qFAAiF;AAEjF,uEAAwE;AACxE,2GAAwG;AAMxG,MAAM,eAAe,GAAG,KAAK,CAAC;AAC9B,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAC1C,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAC5C,MAAM,uBAAuB,GAAG,CAAC,CAAC;AAClC,MAAM,uBA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ent';
3
+ declare type DepositResultProps = {
4
+ income?: number;
5
+ finalSum?: number;
6
+ buttons?: LinkButtonContent[];
7
+ footnotes?: string[];
8
+ };
9
+ export declare const renderDepositResult: ({ income, finalSum, buttons, footnotes, }: DepositResultProps) => JSX.Element;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.renderDepositResult = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const CalculatorStyle_1 = require("../../ui-kit/Calculator/CalculatorStyle");
5
+ const CalculatorValueBlock_1 = require("../../ui-kit/Calculator/CalculatorValueBlock");
6
+ const renderFootnote_1 = require("../../ui-kit/Calculator/renderFootnote");
7
+ const renderButtonsSection_1 = require("../../ui-kit/LinkButton/renderButtonsSection");
8
+ const renderDepositResult = ({ income, finalSum, buttons, footnotes = [], }) => ((0, jsx_runtime_1.jsxs)("div", { className: CalculatorStyle_1.CalculatorStyle.result, children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { isVertical: true }), footnotes?.map((_) => (_ ? (0, renderFootnote_1.renderFootnote)(_) : null))] }));
9
+ exports.renderDepositResult = renderDepositResult;
10
+ //# sourceMappingURL=renderDepositResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderDepositResult.js","sourceRoot":"","sources":["../../../src/components/Carousel/renderDepositResult.tsx"],"names":[],"mappings":";;;AAAA,6EAA0E;AAC1E,uFAAoF;AACpF,2EAAwE;AAExE,uFAAoF;AAS7E,MAAM,mBAAmB,GAAG,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,OAAO,EACP,SAAS,GAAG,EAAE,GACK,EAAE,EAAE,CAAC,CACxB,iCAAK,SAAS,EAAE,iCAAe,CAAC,MAAM,aACpC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,EAC1F,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,EAChF,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACnD,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAA,+BAAc,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAClD,CACP,CAAC;AAZW,QAAA,mBAAmB,uBAY9B"}
@@ -0,0 +1,21 @@
1
+ import { type JSONRefObject } from '../../data/JSONRefObject';
2
+ import { type Footnote } from '../../model/Footnote';
3
+ import { type TitleProps } from '../../model/HeadlineType';
4
+ import { type ButtonsSectionContent } from '../LinkButton/ButtonsSectionContent';
5
+ export declare type CalculatorProps = {
6
+ /** @title Данные калькулятора */
7
+ calcSource?: JSONRefObject;
8
+ };
9
+ export interface CalculatorParamsViewSettingsDefault {
10
+ /** @title Получаю зарплату на счёт в Россельхозбанке */
11
+ isShowSalaryClient?: boolean;
12
+ /** @title Комплексная страховая защита */
13
+ isShowInsurance?: boolean;
14
+ }
15
+ export interface CommonDefaultParams {
16
+ /** @title Сумма по умолчанию */
17
+ sum?: number;
18
+ /** @title Период по умолчанию */
19
+ period?: number;
20
+ }
21
+ export declare type CommonCalculatorProps = TitleProps & Footnote & ButtonsSectionContent & CalculatorProps;
@@ -1,2 +1,2 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=CalcSourceProps.js.map
2
+ //# sourceMappingURL=CalculatorProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalculatorProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorProps.ts"],"names":[],"mappings":""}
@@ -1,2 +1,5 @@
1
1
  export declare const MONTHS_IN_YEAR = 12;
2
2
  export declare const MONTHLY_INTEREST_RATE: number;
3
+ export declare const DEFAULT_MIN_MONTHS = 1;
4
+ export declare const DEFAULT_MAX_MONTHS = 60;
5
+ export declare const DEFAULT_MONTHS: number;
@@ -1,5 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR = void 0;
2
+ exports.DEFAULT_MONTHS = exports.DEFAULT_MAX_MONTHS = exports.DEFAULT_MIN_MONTHS = exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR = void 0;
3
3
  exports.MONTHS_IN_YEAR = 12;
4
4
  exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR * 100;
5
+ exports.DEFAULT_MIN_MONTHS = 1;
6
+ exports.DEFAULT_MAX_MONTHS = 60;
7
+ exports.DEFAULT_MONTHS = Math.round((exports.DEFAULT_MAX_MONTHS - exports.DEFAULT_MIN_MONTHS) / 2);
5
8
  //# sourceMappingURL=calculatorConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"calculatorConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/calculatorConstants.tsx"],"names":[],"mappings":";;AAAa,QAAA,cAAc,GAAG,EAAE,CAAC;AAEpB,QAAA,qBAAqB,GAAG,sBAAc,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"calculatorConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/calculatorConstants.tsx"],"names":[],"mappings":";;AAAa,QAAA,cAAc,GAAG,EAAE,CAAC;AACpB,QAAA,qBAAqB,GAAG,sBAAc,GAAG,GAAG,CAAC;AAC7C,QAAA,kBAAkB,GAAG,CAAC,CAAC;AACvB,QAAA,kBAAkB,GAAG,EAAE,CAAC;AACxB,QAAA,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,0BAAkB,GAAG,0BAAkB,CAAC,GAAG,CAAC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { CommonDefaultParams } from './CalculatorContent';
1
+ import { type CommonDefaultParams } from './CalculatorProps';
2
2
  export declare const getMoneyDefaultValue: (defaultParams?: CommonDefaultParams, defaultMoney?: number) => number;
3
3
  export declare const getMonthsDefaultValue: (defaultParams?: CommonDefaultParams, defaultMonth?: number) => number;
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.getMonthsDefaultValue = exports.getMoneyDefaultValue = void 0;
3
- const constants_1 = require("./constants");
3
+ const calculatorConstants_1 = require("./calculatorConstants");
4
4
  const getMoneyDefaultValue = (defaultParams, defaultMoney = 0) => defaultParams?.sum ? defaultParams.sum : defaultMoney;
5
5
  exports.getMoneyDefaultValue = getMoneyDefaultValue;
6
6
  const getMonthsDefaultValue = (defaultParams, defaultMonth = 0) => defaultParams?.period &&
7
- defaultParams.period >= constants_1.DEFAULT_MIN_MONTHS &&
8
- defaultParams.period <= constants_1.DEFAULT_MAX_MONTHS
7
+ defaultParams.period >= calculatorConstants_1.DEFAULT_MIN_MONTHS &&
8
+ defaultParams.period <= calculatorConstants_1.DEFAULT_MAX_MONTHS
9
9
  ? defaultParams.period
10
10
  : defaultMonth;
11
11
  exports.getMonthsDefaultValue = getMonthsDefaultValue;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDefaultValues.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/getDefaultValues.ts"],"names":[],"mappings":";;AAAA,+DAA+E;AAGxE,MAAM,oBAAoB,GAAG,CAAC,aAAmC,EAAE,YAAY,GAAG,CAAC,EAAE,EAAE,CAC5F,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC;AAD3C,QAAA,oBAAoB,wBACuB;AAEjD,MAAM,qBAAqB,GAAG,CAAC,aAAmC,EAAE,YAAY,GAAG,CAAC,EAAE,EAAE,CAC7F,aAAa,EAAE,MAAM;IACrB,aAAa,CAAC,MAAM,IAAI,wCAAkB;IAC1C,aAAa,CAAC,MAAM,IAAI,wCAAkB;IACxC,CAAC,CAAC,aAAa,CAAC,MAAM;IACtB,CAAC,CAAC,YAAY,CAAC;AALN,QAAA,qBAAqB,yBAKf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";;;AACA,qFAGwD;AACxD,iDAA8C;AAC9C,6CAA0C;AAYnC,MAAM,4BAA4B,GAAG,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,WAAW,GAAG,KAAK,EACnB,WAAW,GAAG,YAAY,EAC1B,KAAK,EACL,mBAAmB,EACnB,QAAQ,GACoB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,WAAW,aACvB,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,SAAS,EAAC,mBAAmB,YAChC,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,YAC1B,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,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EACpC,SAAS,EAAE,IAAA,aAAK,EAAC,sBAAsB,EAAE,mBAAmB,CAAC,EAC7D,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,GACxD,IACE,CACP,CAAC;AAjCW,QAAA,4BAA4B,gCAiCvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderMonthsInput.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderMonthsInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAGhE,MAAM,WAAW,GAAG,CAAC,CAAC;AAMf,MAAM,iBAAiB,GAAG,CAAC,EAChC,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,CAAC,EACP,eAAe,EACf,GAAG,IAAI,EACW,EAAE,EAAE,CAAC,CACvB,uBAAC,uBAAU,IACT,KAAK,EAAE,CAAC,MAAM,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EACvD,IAAI,EAAE,WAAW,KACb,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,KACpE,IAAI,GACR,CACH,CAAC;AAZW,QAAA,iBAAiB,qBAY5B;AAEF,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { type BinaryRadioButtonGroupProps } from './renderBinaryRadioButtonGroup';
3
- export declare const renderInterestPayment: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
3
+ export declare const renderPayout: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderInterestPayment = void 0;
2
+ exports.renderPayout = void 0;
3
3
  const renderBinaryRadioButtonGroup_1 = require("./renderBinaryRadioButtonGroup");
4
- const renderInterestPayment = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
4
+ const renderPayout = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
5
5
  ...props,
6
6
  items: [
7
7
  { id: 'everyMonth', text: 'Ежемесячно' },
8
8
  { id: 'atEndTerm', text: 'В конце срока' },
9
9
  ],
10
10
  });
11
- exports.renderInterestPayment = renderInterestPayment;
12
- //# sourceMappingURL=renderInterestPayment.js.map
11
+ exports.renderPayout = renderPayout;
12
+ //# sourceMappingURL=renderPayout.js.map
@@ -0,0 +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"}