@redneckz/wildless-cms-uni-blocks 0.12.9 → 0.12.11

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 (1315) hide show
  1. package/bin/migration-scripts/0.12.9.js +30 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +349 -180
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  6. package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  7. package/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  8. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  9. package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  10. package/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  11. package/bundle/components/Calculator/constants.d.ts +12 -0
  12. package/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  13. package/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  14. package/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  15. package/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  16. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  17. package/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  18. package/bundle/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  19. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  20. package/bundle/model/Attachment.d.ts +2 -0
  21. package/bundle/model/ContentPageDef.d.ts +0 -2
  22. package/bundle/model/JSXBlock.d.ts +2 -2
  23. package/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
  24. package/bundle/utils/formatBytes.d.ts +1 -0
  25. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  26. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  29. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  30. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  31. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  32. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  33. package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  34. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  35. package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  36. package/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  37. package/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  38. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  39. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +4 -0
  40. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  41. package/dist/components/Bonus/Bonus.js +2 -2
  42. package/dist/components/Bonus/Bonus.js.map +1 -1
  43. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  44. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  45. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  46. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  47. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  48. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  49. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  50. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  51. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  52. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  53. package/dist/components/Calculator/Calculator.js +5 -5
  54. package/dist/components/Calculator/Calculator.js.map +1 -1
  55. package/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  56. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  57. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  58. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  59. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  60. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  61. package/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  62. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  63. package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  64. package/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  65. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  66. package/dist/components/Calculator/UnknownRate.js +1 -1
  67. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  68. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  69. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  70. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  71. package/dist/components/Calculator/constants.d.ts +12 -0
  72. package/dist/components/Calculator/constants.js +25 -1
  73. package/dist/components/Calculator/constants.js.map +1 -1
  74. package/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  75. package/dist/components/Calculator/getMonthlyPayment.js +7 -2
  76. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  77. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  78. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  79. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  80. package/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  81. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  82. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  83. package/dist/components/Calculator/rangeHelpers.js +7 -3
  84. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  85. package/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  86. package/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  87. package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  88. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  89. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  90. package/dist/components/Carousel/Carousel.js +1 -1
  91. package/dist/components/Carousel/Carousel.js.map +1 -1
  92. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  93. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  94. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  95. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  96. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  97. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  98. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  99. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  100. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  101. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  102. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  103. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  104. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  105. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  106. package/dist/components/CarouselProductCard/CarouselProductCard.js +10 -9
  107. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  108. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  109. package/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  110. package/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  111. package/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  112. package/dist/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  113. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js +4 -0
  114. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  115. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  116. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  117. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  118. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  119. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  120. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  121. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  122. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  123. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  124. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  125. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  126. package/dist/components/ComparisonTable/TableCell.js +1 -1
  127. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  128. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  129. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  130. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  131. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  132. package/dist/components/ContentPage/ContentPage.js +1 -1
  133. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  134. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  135. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  136. package/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  137. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  138. package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  139. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  140. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  141. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  142. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  143. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  144. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  145. package/dist/components/Footer/Contacts.js +4 -3
  146. package/dist/components/Footer/Contacts.js.map +1 -1
  147. package/dist/components/Footer/Footer.js +1 -1
  148. package/dist/components/Footer/Footer.js.map +1 -1
  149. package/dist/components/Footer/Footer.mobile.js +1 -1
  150. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  151. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  152. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  153. package/dist/components/Header/Header.js +1 -1
  154. package/dist/components/Header/Header.js.map +1 -1
  155. package/dist/components/Header/Header.mobile.js +1 -1
  156. package/dist/components/Header/Header.mobile.js.map +1 -1
  157. package/dist/components/Header/HeaderBurger.js +1 -1
  158. package/dist/components/Header/HeaderSubMenu.js +1 -1
  159. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  160. package/dist/components/Headline/Headline.js +1 -1
  161. package/dist/components/Headline/Headline.js.map +1 -1
  162. package/dist/components/Headline/headlineVersionStyles.js +4 -4
  163. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  164. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  165. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  166. package/dist/components/HorizontalLayout/gapStyles.js +6 -6
  167. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  168. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  169. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  170. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  171. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  172. package/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
  173. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  174. package/dist/components/LinkDocs/LinkDocs.js +6 -2
  175. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  176. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  177. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  178. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  179. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  180. package/dist/components/MobileAppTile/renderList.js +1 -1
  181. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  182. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  183. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  184. package/dist/components/PictureText/PictureText.js +1 -1
  185. package/dist/components/PictureText/PictureText.js.map +1 -1
  186. package/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  187. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  188. package/dist/components/Placeholder/Placeholder.js +2 -2
  189. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  190. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  191. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  192. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  193. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  194. package/dist/components/ProductTile/ProductTile.js +1 -1
  195. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  196. package/dist/components/PromoTile/PromoTile.js +1 -1
  197. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  198. package/dist/components/RollupItem/RollupItem.js +1 -1
  199. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  200. package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  201. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  202. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  203. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  204. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  205. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  206. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  207. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  208. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  209. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  210. package/dist/components/StepsBlock/renderStep.js +2 -2
  211. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  212. package/dist/components/Tabs/renderGroupTab.js +1 -1
  213. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  214. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  215. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  216. package/dist/components/TariffsTable/TableTileHeader.js +1 -1
  217. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  218. package/dist/components/TariffsTable/TariffsTable.js +2 -8
  219. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  220. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  221. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  222. package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  223. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  224. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  225. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  226. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  227. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  228. package/dist/components/Tile/Tile.js +1 -1
  229. package/dist/components/Tile/Tile.js.map +1 -1
  230. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  231. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  232. package/dist/content-page-repository/transformDocument.js +3 -0
  233. package/dist/content-page-repository/transformDocument.js.map +1 -1
  234. package/dist/content-page-repository/transformImg.js +1 -1
  235. package/dist/content-page-repository/transformImg.js.map +1 -1
  236. package/dist/model/Attachment.d.ts +2 -0
  237. package/dist/model/ContentPageDef.d.ts +0 -2
  238. package/dist/model/JSXBlock.d.ts +2 -2
  239. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  240. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  241. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  242. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  243. package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  244. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  245. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  246. package/dist/ui-kit/BlockWrapper.js +1 -1
  247. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  248. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  249. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  250. package/dist/ui-kit/Dialog/Dialog.js +1 -1
  251. package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  252. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  253. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  254. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  255. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  256. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  257. package/dist/ui-kit/Input/Input.js +1 -1
  258. package/dist/ui-kit/Input/Input.js.map +1 -1
  259. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  260. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  261. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  262. package/dist/ui-kit/List/List.js +4 -4
  263. package/dist/ui-kit/List/List.js.map +1 -1
  264. package/dist/ui-kit/List/ListItem.js +3 -3
  265. package/dist/ui-kit/List/ListItem.js.map +1 -1
  266. package/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
  267. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  268. package/dist/ui-kit/Logo/renderTitle.js +1 -1
  269. package/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  270. package/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
  271. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  272. package/dist/ui-kit/Select/Select.js +1 -1
  273. package/dist/ui-kit/Select/Select.js.map +1 -1
  274. package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  275. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  276. package/dist/utils/formatBytes.d.ts +1 -0
  277. package/dist/utils/formatBytes.js +13 -0
  278. package/dist/utils/formatBytes.js.map +1 -0
  279. package/lib/common.css +1 -1
  280. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  281. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  282. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  283. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  284. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  285. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  286. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  287. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  288. package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  289. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  290. package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  291. package/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  292. package/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  293. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  294. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +2 -0
  295. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  296. package/lib/components/Bonus/Bonus.js +2 -2
  297. package/lib/components/Bonus/Bonus.js.map +1 -1
  298. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  299. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  300. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  301. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  302. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  303. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  304. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  305. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  306. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  307. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  308. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
  309. package/lib/components/Calculator/Calculator.js +5 -5
  310. package/lib/components/Calculator/Calculator.js.map +1 -1
  311. package/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  312. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  313. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  314. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  315. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  316. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  317. package/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  318. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  319. package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  320. package/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  321. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  322. package/lib/components/Calculator/UnknownRate.js +1 -1
  323. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  324. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  325. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  326. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  327. package/lib/components/Calculator/constants.d.ts +12 -0
  328. package/lib/components/Calculator/constants.js +24 -0
  329. package/lib/components/Calculator/constants.js.map +1 -1
  330. package/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  331. package/lib/components/Calculator/getMonthlyPayment.js +7 -2
  332. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  333. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  334. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  335. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  336. package/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  337. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  338. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  339. package/lib/components/Calculator/rangeHelpers.js +7 -3
  340. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  341. package/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  342. package/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  343. package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  344. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  345. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  346. package/lib/components/Carousel/Carousel.js +1 -1
  347. package/lib/components/Carousel/Carousel.js.map +1 -1
  348. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  349. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  350. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  351. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  352. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  353. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  354. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  355. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  356. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  357. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  358. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  359. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  360. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  361. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  362. package/lib/components/CarouselProductCard/CarouselProductCard.js +10 -9
  363. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  364. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  365. package/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  366. package/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  367. package/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  368. package/lib/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  369. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js +2 -0
  370. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  371. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  372. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  373. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  374. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  375. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  376. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  377. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  378. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  379. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  380. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  381. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  382. package/lib/components/ComparisonTable/TableCell.js +1 -1
  383. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  384. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  385. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  386. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  387. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  388. package/lib/components/ContentPage/ContentPage.js +1 -1
  389. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  390. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  391. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  392. package/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  393. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  394. package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  395. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  396. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  397. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  398. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  399. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  400. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  401. package/lib/components/Footer/Contacts.js +4 -3
  402. package/lib/components/Footer/Contacts.js.map +1 -1
  403. package/lib/components/Footer/Footer.js +1 -1
  404. package/lib/components/Footer/Footer.js.map +1 -1
  405. package/lib/components/Footer/Footer.mobile.js +1 -1
  406. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  407. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  408. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  409. package/lib/components/Header/Header.js +1 -1
  410. package/lib/components/Header/Header.js.map +1 -1
  411. package/lib/components/Header/Header.mobile.js +1 -1
  412. package/lib/components/Header/Header.mobile.js.map +1 -1
  413. package/lib/components/Header/HeaderBurger.js +1 -1
  414. package/lib/components/Header/HeaderSubMenu.js +1 -1
  415. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  416. package/lib/components/Headline/Headline.js +1 -1
  417. package/lib/components/Headline/Headline.js.map +1 -1
  418. package/lib/components/Headline/headlineVersionStyles.js +4 -4
  419. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  420. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  421. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  422. package/lib/components/HorizontalLayout/gapStyles.js +6 -6
  423. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  424. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  425. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  426. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  427. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  428. package/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
  429. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  430. package/lib/components/LinkDocs/LinkDocs.js +6 -2
  431. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  432. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  433. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  434. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  435. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  436. package/lib/components/MobileAppTile/renderList.js +1 -1
  437. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  438. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  439. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  440. package/lib/components/PictureText/PictureText.js +1 -1
  441. package/lib/components/PictureText/PictureText.js.map +1 -1
  442. package/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  443. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  444. package/lib/components/Placeholder/Placeholder.js +2 -2
  445. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  446. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  447. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  448. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  449. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  450. package/lib/components/ProductTile/ProductTile.js +1 -1
  451. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  452. package/lib/components/PromoTile/PromoTile.js +1 -1
  453. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  454. package/lib/components/RollupItem/RollupItem.js +1 -1
  455. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  456. package/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  457. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  458. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  459. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  460. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  461. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  462. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  463. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  464. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  465. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  466. package/lib/components/StepsBlock/renderStep.js +2 -2
  467. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  468. package/lib/components/Tabs/renderGroupTab.js +1 -1
  469. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  470. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  471. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  472. package/lib/components/TariffsTable/TableTileHeader.js +1 -1
  473. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  474. package/lib/components/TariffsTable/TariffsTable.js +2 -8
  475. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  476. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  477. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  478. package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  479. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  480. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  481. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  482. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  483. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  484. package/lib/components/Tile/Tile.js +1 -1
  485. package/lib/components/Tile/Tile.js.map +1 -1
  486. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
  487. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  488. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  489. package/lib/content-page-repository/transformDocument.js +3 -0
  490. package/lib/content-page-repository/transformDocument.js.map +1 -1
  491. package/lib/content-page-repository/transformImg.js +1 -1
  492. package/lib/content-page-repository/transformImg.js.map +1 -1
  493. package/lib/model/Attachment.d.ts +2 -0
  494. package/lib/model/ContentPageDef.d.ts +0 -2
  495. package/lib/model/JSXBlock.d.ts +2 -2
  496. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  497. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  498. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  499. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  500. package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  501. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  502. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  503. package/lib/ui-kit/BlockWrapper.js +1 -1
  504. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  505. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  506. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  507. package/lib/ui-kit/Dialog/Dialog.js +1 -1
  508. package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  509. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  510. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  511. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  512. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  513. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  514. package/lib/ui-kit/Input/Input.js +1 -1
  515. package/lib/ui-kit/Input/Input.js.map +1 -1
  516. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  517. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  518. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  519. package/lib/ui-kit/List/List.js +4 -4
  520. package/lib/ui-kit/List/List.js.map +1 -1
  521. package/lib/ui-kit/List/ListItem.js +3 -3
  522. package/lib/ui-kit/List/ListItem.js.map +1 -1
  523. package/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
  524. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  525. package/lib/ui-kit/Logo/renderTitle.js +1 -1
  526. package/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  527. package/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
  528. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  529. package/lib/ui-kit/Select/Select.js +1 -1
  530. package/lib/ui-kit/Select/Select.js.map +1 -1
  531. package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  532. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  533. package/lib/utils/formatBytes.d.ts +1 -0
  534. package/lib/utils/formatBytes.js +10 -0
  535. package/lib/utils/formatBytes.js.map +1 -0
  536. package/mobile/bundle/bundle.umd.js +103 -88
  537. package/mobile/bundle/bundle.umd.min.js +1 -1
  538. package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  539. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  540. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  541. package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  542. package/mobile/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  543. package/mobile/bundle/components/Calculator/constants.d.ts +12 -0
  544. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  545. package/mobile/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  546. package/mobile/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  547. package/mobile/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  548. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  549. package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  550. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  551. package/mobile/bundle/model/Attachment.d.ts +2 -0
  552. package/mobile/bundle/model/ContentPageDef.d.ts +0 -2
  553. package/mobile/bundle/model/JSXBlock.d.ts +2 -2
  554. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
  555. package/mobile/bundle/utils/formatBytes.d.ts +1 -0
  556. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  557. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  558. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  559. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  560. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  561. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  562. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  563. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  564. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  565. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  566. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  567. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  568. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  569. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  570. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  571. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  572. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  573. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  574. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  575. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  576. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  577. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  578. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  579. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  580. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  581. package/mobile/dist/components/Calculator/Calculator.js +5 -5
  582. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  583. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  584. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  585. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  586. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  587. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  588. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  589. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  590. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  591. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  592. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  593. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  594. package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
  595. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  596. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  597. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  598. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  599. package/mobile/dist/components/Calculator/constants.d.ts +12 -0
  600. package/mobile/dist/components/Calculator/constants.js +25 -1
  601. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  602. package/mobile/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  603. package/mobile/dist/components/Calculator/getMonthlyPayment.js +7 -2
  604. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  605. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  606. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  607. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  608. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  609. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  610. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  611. package/mobile/dist/components/Calculator/rangeHelpers.js +7 -3
  612. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  613. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  614. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  615. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  616. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  617. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  618. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  619. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  620. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  621. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  622. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  623. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  624. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  625. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  626. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  627. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  628. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  629. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  630. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  631. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  632. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +10 -9
  633. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  634. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  635. package/mobile/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  636. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  637. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  638. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  639. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  640. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  641. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  642. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  643. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  644. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  645. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  646. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  647. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  648. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  649. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  650. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  651. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  652. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  653. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  654. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  655. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  656. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  657. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  658. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  659. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  660. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  661. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  662. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  663. package/mobile/dist/components/Footer/Contacts.js +4 -3
  664. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  665. package/mobile/dist/components/Footer/Footer.js +1 -1
  666. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  667. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  668. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  669. package/mobile/dist/components/Header/Header.js +1 -1
  670. package/mobile/dist/components/Header/Header.js.map +1 -1
  671. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  672. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  673. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  674. package/mobile/dist/components/Headline/Headline.js +1 -1
  675. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  676. package/mobile/dist/components/Headline/headlineVersionStyles.js +4 -4
  677. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  678. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  679. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  680. package/mobile/dist/components/HorizontalLayout/gapStyles.js +6 -6
  681. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  682. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  683. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  684. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  685. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  686. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
  687. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  688. package/mobile/dist/components/LinkDocs/LinkDocs.js +6 -2
  689. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  690. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  691. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  692. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  693. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  694. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  695. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  696. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  697. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  698. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  699. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  700. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  701. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  702. package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
  703. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  704. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  705. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  706. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  707. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  708. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  709. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  710. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  711. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  712. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  713. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  714. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  715. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  716. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  717. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  718. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  719. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  720. package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
  721. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  722. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  723. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  724. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  725. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  726. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
  727. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  728. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  729. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  730. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  731. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  732. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  733. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  734. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  735. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  736. package/mobile/dist/components/Tile/Tile.js +1 -1
  737. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  738. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  739. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  740. package/mobile/dist/content-page-repository/transformDocument.js +3 -0
  741. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  742. package/mobile/dist/content-page-repository/transformImg.js +1 -1
  743. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  744. package/mobile/dist/model/Attachment.d.ts +2 -0
  745. package/mobile/dist/model/ContentPageDef.d.ts +0 -2
  746. package/mobile/dist/model/JSXBlock.d.ts +2 -2
  747. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  748. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  749. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  750. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  751. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  752. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  753. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  754. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  755. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  756. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  757. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  758. package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
  759. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  760. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  761. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  762. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  763. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  764. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  765. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  766. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  767. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  768. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  769. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  770. package/mobile/dist/ui-kit/List/List.js +4 -4
  771. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  772. package/mobile/dist/ui-kit/List/ListItem.js +3 -3
  773. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  774. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
  775. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  776. package/mobile/dist/ui-kit/Logo/renderTitle.js +1 -1
  777. package/mobile/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  778. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
  779. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  780. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  781. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  782. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  783. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  784. package/mobile/dist/utils/formatBytes.d.ts +1 -0
  785. package/mobile/dist/utils/formatBytes.js +13 -0
  786. package/mobile/dist/utils/formatBytes.js.map +1 -0
  787. package/mobile/fonts/mohave/Mohave-Regular.otf +0 -0
  788. package/mobile/fonts/mohave/Mohave-Regular.ttf +0 -0
  789. package/mobile/fonts/mohave/mohave.css +7 -0
  790. package/mobile/fonts/ubuntu/ubuntu.css +67 -0
  791. package/mobile/fonts/ubuntu/ubuntu.eot +0 -0
  792. package/mobile/fonts/ubuntu/ubuntu.ttf +0 -0
  793. package/mobile/fonts/ubuntu/ubuntu.woff +0 -0
  794. package/mobile/fonts/ubuntu/ubuntu.woff2 +0 -0
  795. package/mobile/fonts/ubuntu/ubuntubold.ttf +0 -0
  796. package/mobile/fonts/ubuntu/ubuntubold.woff +0 -0
  797. package/mobile/fonts/ubuntu/ubuntubold.woff2 +0 -0
  798. package/mobile/fonts/ubuntu/ubuntubolditalic.ttf +0 -0
  799. package/mobile/fonts/ubuntu/ubuntubolditalic.woff +0 -0
  800. package/mobile/fonts/ubuntu/ubuntubolditalic.woff2 +0 -0
  801. package/mobile/fonts/ubuntu/ubuntuitalic.ttf +0 -0
  802. package/mobile/fonts/ubuntu/ubuntuitalic.woff +0 -0
  803. package/mobile/fonts/ubuntu/ubuntuitalic.woff2 +0 -0
  804. package/mobile/fonts/ubuntu/ubuntulight.ttf +0 -0
  805. package/mobile/fonts/ubuntu/ubuntulight.woff +0 -0
  806. package/mobile/fonts/ubuntu/ubuntulight.woff2 +0 -0
  807. package/mobile/fonts/ubuntu/ubuntulightitalic.ttf +0 -0
  808. package/mobile/fonts/ubuntu/ubuntulightitalic.woff +0 -0
  809. package/mobile/fonts/ubuntu/ubuntulightitalic.woff2 +0 -0
  810. package/mobile/fonts/ubuntu/ubuntumedium.ttf +0 -0
  811. package/mobile/fonts/ubuntu/ubuntumedium.woff +0 -0
  812. package/mobile/fonts/ubuntu/ubuntumedium.woff2 +0 -0
  813. package/mobile/fonts/ubuntu/ubuntumediumitalic.ttf +0 -0
  814. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff +0 -0
  815. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff2 +0 -0
  816. package/mobile/lib/common.css +1 -1
  817. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  818. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  819. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  820. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  821. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  822. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  823. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  824. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  825. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  826. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  827. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  828. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  829. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  830. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  831. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  832. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  833. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  834. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  835. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  836. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  837. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  838. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  839. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  840. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  841. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  842. package/mobile/lib/components/Calculator/Calculator.js +5 -5
  843. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  844. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  845. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  846. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  847. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  848. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  849. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  850. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  851. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  852. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  853. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  854. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  855. package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
  856. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  857. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  858. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  859. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  860. package/mobile/lib/components/Calculator/constants.d.ts +12 -0
  861. package/mobile/lib/components/Calculator/constants.js +24 -0
  862. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  863. package/mobile/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  864. package/mobile/lib/components/Calculator/getMonthlyPayment.js +7 -2
  865. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  866. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  867. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  868. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  869. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  870. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  871. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  872. package/mobile/lib/components/Calculator/rangeHelpers.js +7 -3
  873. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  874. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  875. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  876. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  877. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  878. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  879. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  880. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  881. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  882. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  883. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  884. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  885. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  886. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  887. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  888. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  889. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  890. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  891. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  892. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  893. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +10 -9
  894. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  895. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  896. package/mobile/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  897. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  898. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  899. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  900. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  901. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  902. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  903. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  904. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  905. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  906. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  907. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  908. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  909. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  910. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  911. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  912. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  913. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  914. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  915. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  916. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  917. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  918. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  919. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  920. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  921. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  922. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  923. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  924. package/mobile/lib/components/Footer/Contacts.js +4 -3
  925. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  926. package/mobile/lib/components/Footer/Footer.js +1 -1
  927. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  928. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  929. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  930. package/mobile/lib/components/Header/Header.js +1 -1
  931. package/mobile/lib/components/Header/Header.js.map +1 -1
  932. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  933. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  934. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  935. package/mobile/lib/components/Headline/Headline.js +1 -1
  936. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  937. package/mobile/lib/components/Headline/headlineVersionStyles.js +4 -4
  938. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  939. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  940. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  941. package/mobile/lib/components/HorizontalLayout/gapStyles.js +6 -6
  942. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  943. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  944. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  945. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  946. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  947. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
  948. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  949. package/mobile/lib/components/LinkDocs/LinkDocs.js +6 -2
  950. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  951. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  952. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  953. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  954. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  955. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  956. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  957. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  958. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  959. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  960. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  961. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  962. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  963. package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
  964. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  965. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  966. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  967. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  968. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  969. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  970. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  971. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  972. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  973. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  974. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  975. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  976. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  977. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  978. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  979. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  980. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  981. package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
  982. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  983. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  984. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  985. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  986. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  987. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
  988. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  989. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  990. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  991. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  992. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  993. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  994. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  995. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  996. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  997. package/mobile/lib/components/Tile/Tile.js +1 -1
  998. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  999. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  1000. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1001. package/mobile/lib/content-page-repository/transformDocument.js +3 -0
  1002. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  1003. package/mobile/lib/content-page-repository/transformImg.js +1 -1
  1004. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  1005. package/mobile/lib/model/Attachment.d.ts +2 -0
  1006. package/mobile/lib/model/ContentPageDef.d.ts +0 -2
  1007. package/mobile/lib/model/JSXBlock.d.ts +2 -2
  1008. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1009. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1010. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1011. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1012. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  1013. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1014. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  1015. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  1016. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1017. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1018. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  1019. package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
  1020. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  1021. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  1022. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1023. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1024. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1025. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1026. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  1027. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1028. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  1029. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1030. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1031. package/mobile/lib/ui-kit/List/List.js +4 -4
  1032. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1033. package/mobile/lib/ui-kit/List/ListItem.js +3 -3
  1034. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1035. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
  1036. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1037. package/mobile/lib/ui-kit/Logo/renderTitle.js +1 -1
  1038. package/mobile/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  1039. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
  1040. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  1041. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  1042. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1043. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  1044. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  1045. package/mobile/lib/utils/formatBytes.d.ts +1 -0
  1046. package/mobile/lib/utils/formatBytes.js +10 -0
  1047. package/mobile/lib/utils/formatBytes.js.map +1 -0
  1048. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1049. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1050. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1051. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1052. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1053. package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1054. package/mobile/src/components/Bonus/Bonus.tsx +2 -2
  1055. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1056. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1057. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1058. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1059. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1060. package/mobile/src/components/Calculator/Calculator.tsx +7 -7
  1061. package/mobile/src/components/Calculator/CalculatorContent.ts +25 -1
  1062. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1063. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1064. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1065. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1066. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  1067. package/mobile/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1068. package/mobile/src/components/Calculator/constants.ts +26 -0
  1069. package/mobile/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1070. package/mobile/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1071. package/mobile/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1072. package/mobile/src/components/Calculator/rangeHelpers.ts +7 -3
  1073. package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1074. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1075. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  1076. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1077. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  1078. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
  1079. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1080. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
  1081. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
  1082. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
  1083. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1084. package/mobile/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1085. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
  1086. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  1087. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
  1088. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +4 -9
  1089. package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1090. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1091. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
  1092. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1093. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1094. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1095. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
  1096. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
  1097. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1098. package/mobile/src/components/Footer/Contacts.tsx +7 -6
  1099. package/mobile/src/components/Footer/Footer.tsx +1 -1
  1100. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1101. package/mobile/src/components/Header/Header.tsx +1 -1
  1102. package/mobile/src/components/Header/HeaderBurger.tsx +1 -1
  1103. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -3
  1104. package/mobile/src/components/Headline/Headline.tsx +1 -1
  1105. package/mobile/src/components/Headline/headlineVersionStyles.ts +4 -4
  1106. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1107. package/mobile/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1108. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1109. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1110. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
  1111. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -1
  1112. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1113. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1114. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  1115. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1116. package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
  1117. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1118. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1119. package/mobile/src/components/PictureText/PictureText.ui.json +3 -0
  1120. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1121. package/mobile/src/components/Placeholder/Placeholder.tsx +2 -2
  1122. package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1123. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +10 -0
  1124. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  1125. package/mobile/src/components/ProductTile/ProductTile.ui.json +3 -0
  1126. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1127. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -2
  1128. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
  1129. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1130. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1131. package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -5
  1132. package/mobile/src/components/StepsBlock/renderStep.tsx +7 -7
  1133. package/mobile/src/components/Tabs/renderGroupTab.tsx +1 -1
  1134. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +1 -1
  1135. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1136. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -2
  1137. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1138. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1139. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1140. package/mobile/src/components/Tile/Tile.tsx +1 -1
  1141. package/mobile/src/components/Tile/Tile.ui.json +10 -0
  1142. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1143. package/mobile/src/content-page-repository/transformDocument.ts +3 -0
  1144. package/mobile/src/content-page-repository/transformImg.ts +1 -1
  1145. package/mobile/src/model/Attachment.ts +2 -0
  1146. package/mobile/src/model/ContentPageDef.ts +1 -4
  1147. package/mobile/src/model/JSXBlock.ts +2 -2
  1148. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1149. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1150. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  1151. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1152. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
  1153. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1154. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1155. package/mobile/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1156. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1157. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1158. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1159. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  1160. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1161. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
  1162. package/mobile/src/ui-kit/List/List.tsx +4 -4
  1163. package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
  1164. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
  1165. package/mobile/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1166. package/mobile/src/ui-kit/RichText/RichTextProps.ts +8 -6
  1167. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1168. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  1169. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1170. package/mobile/src/utils/formatBytes.ts +12 -0
  1171. package/package.json +5 -3
  1172. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1173. package/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1174. package/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1175. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1176. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +0 -1
  1177. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1178. package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +1 -0
  1179. package/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1180. package/src/components/Bonus/Bonus.tsx +2 -2
  1181. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1182. package/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1183. package/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1184. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1185. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1186. package/src/components/Calculator/Calculator.fixture.tsx +40 -0
  1187. package/src/components/Calculator/Calculator.tsx +7 -7
  1188. package/src/components/Calculator/CalculatorContent.ts +25 -1
  1189. package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1190. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1191. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1192. package/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1193. package/src/components/Calculator/UnknownRate.tsx +2 -2
  1194. package/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1195. package/src/components/Calculator/constants.ts +26 -0
  1196. package/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1197. package/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1198. package/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1199. package/src/components/Calculator/rangeHelpers.ts +7 -3
  1200. package/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1201. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1202. package/src/components/Carousel/Carousel.tsx +1 -1
  1203. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
  1204. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1205. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  1206. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
  1207. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1208. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
  1209. package/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
  1210. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -2
  1211. package/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
  1212. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1213. package/src/components/CarouselProductCard/alignTextStyle.mobile.tsx +1 -0
  1214. package/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1215. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
  1216. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -2
  1217. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  1218. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
  1219. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1220. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +4 -9
  1221. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  1222. package/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1223. package/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1224. package/src/components/ContentPage/ContentPage.tsx +1 -1
  1225. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1226. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1227. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1228. package/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
  1229. package/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
  1230. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1231. package/src/components/Footer/Contacts.tsx +7 -6
  1232. package/src/components/Footer/Footer.mobile.tsx +1 -1
  1233. package/src/components/Footer/Footer.tsx +7 -7
  1234. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1235. package/src/components/Header/Header.mobile.tsx +1 -1
  1236. package/src/components/Header/Header.tsx +4 -4
  1237. package/src/components/Header/HeaderBurger.tsx +1 -1
  1238. package/src/components/Header/HeaderSubMenu.tsx +3 -3
  1239. package/src/components/Headline/Headline.tsx +1 -1
  1240. package/src/components/Headline/headlineVersionStyles.ts +4 -4
  1241. package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1242. package/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1243. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1244. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1245. package/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
  1246. package/src/components/LinkDocs/LinkDocs.tsx +8 -1
  1247. package/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1248. package/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1249. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
  1250. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  1251. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1252. package/src/components/MobileAppTile/renderList.tsx +1 -1
  1253. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1254. package/src/components/PictureText/PictureText.tsx +1 -1
  1255. package/src/components/PictureText/PictureText.ui.json +3 -0
  1256. package/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1257. package/src/components/Placeholder/Placeholder.tsx +2 -2
  1258. package/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1259. package/src/components/ProductBlock/ProductBlock.ui.json +10 -0
  1260. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1261. package/src/components/ProductTile/ProductTile.tsx +1 -1
  1262. package/src/components/ProductTile/ProductTile.ui.json +3 -0
  1263. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1264. package/src/components/RollupItem/RollupItem.tsx +2 -2
  1265. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
  1266. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1267. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1268. package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -5
  1269. package/src/components/StepsBlock/StepsBlock.tsx +20 -20
  1270. package/src/components/StepsBlock/renderStep.tsx +7 -7
  1271. package/src/components/Tabs/renderGroupTab.tsx +1 -1
  1272. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +1 -1
  1273. package/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1274. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -2
  1275. package/src/components/TariffsTable/TariffsTable.tsx +4 -19
  1276. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1277. package/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1278. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1279. package/src/components/Tile/Tile.tsx +1 -1
  1280. package/src/components/Tile/Tile.ui.json +10 -0
  1281. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -1
  1282. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1283. package/src/content-page-repository/transformDocument.ts +3 -0
  1284. package/src/content-page-repository/transformImg.ts +1 -1
  1285. package/src/model/Attachment.ts +2 -0
  1286. package/src/model/ContentPageDef.ts +1 -4
  1287. package/src/model/JSXBlock.ts +2 -2
  1288. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1289. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1290. package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  1291. package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1292. package/src/ui-kit/BlockWrapper.tsx +1 -1
  1293. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1294. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1295. package/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1296. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1297. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1298. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1299. package/src/ui-kit/Input/Input.tsx +1 -1
  1300. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1301. package/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
  1302. package/src/ui-kit/List/List.fixture.tsx +4 -4
  1303. package/src/ui-kit/List/List.tsx +4 -4
  1304. package/src/ui-kit/List/ListItem.tsx +3 -3
  1305. package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
  1306. package/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1307. package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +1 -1
  1308. package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
  1309. package/src/ui-kit/RichText/RichTextProps.ts +8 -6
  1310. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1311. package/src/ui-kit/Select/Select.tsx +1 -1
  1312. package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
  1313. package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1314. package/src/utils/formatBytes.ts +12 -0
  1315. package/tailwind.config.cjs +15 -12
@@ -33,11 +33,11 @@ const cleanUpRegions = (regions) => regions.map((region) => ({
33
33
  const CurrentLocation = JSX(({ currentLocation, onChangeLocation }) => currentLocation ? (_jsxs("div", { className: "mb-4", children: [_jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), _jsx("button", { className: "cursor-pointer", onClick: () => {
34
34
  onChangeLocation && onChangeLocation(currentLocation);
35
35
  }, children: _jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null);
36
- const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (_jsxs("div", { className: "break-inside-avoid mb-7 w-[224px]", children: [_jsx("div", { className: "mb-2.5", children: _jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
37
- const renderRegion = (onChangeLocation) => (region) => (_jsx("div", { className: "mb-1", children: _jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
36
+ const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (_jsxs("div", { className: "break-inside-avoid mb-2xl w-[224px]", children: [_jsx("div", { className: "mb-s", children: _jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
37
+ const renderRegion = (onChangeLocation) => (region) => (_jsx("div", { className: "mb-2xs", children: _jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
38
38
  onChangeLocation && onChangeLocation(region);
39
39
  }, children: region.name || '' }) }, region.id));
40
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [_jsx("div", { className: "mb-4", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
40
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [_jsx("div", { className: "mb-m", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
41
41
  const ForeignOffice = JSX(({ icon, ...rest }) => {
42
42
  const link = useLink();
43
43
  const { text, target, href, onClick } = link(rest);
@@ -1 +1 @@
1
- {"version":3,"file":"LocationDialog.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/LocationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,O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AAC,CAAC"}
@@ -4,6 +4,6 @@ const TEXT_COLOR = {
4
4
  transparent: 'text-white',
5
5
  };
6
6
  export const renderTitle = (title, bgColor, className) => {
7
- return (_jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-2.5 font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
7
+ return (_jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-s font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
8
8
  };
9
9
  //# sourceMappingURL=renderTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderTitle.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/renderTitle.tsx"],"names":[],"mappings":";AAGA,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,OAAe,EAAE,SAAkB,EAAE,EAAE;IAC/E,OAAO,CACL,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,uBAAuB,SAAS,IAAI,EAAE,EAAE,YAC5E,KAAK,IAAI,gBAAgB,GACrB,CACR,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"renderTitle.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/renderTitle.tsx"],"names":[],"mappings":";AAGA,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,OAAe,EAAE,SAAkB,EAAE,EAAE;IAC/E,OAAO,CACL,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,qBAAqB,SAAS,IAAI,EAAE,EAAE,YAC1E,KAAK,IAAI,gBAAgB,GACrB,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1,11 +1,12 @@
1
1
  declare type HTML = string;
2
+ /**
3
+ * @title Стиль форматированного текста
4
+ * @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
5
+ */
6
+ export declare type RichVersion = '' | 'striped' | 'horizontal-separator';
2
7
  export interface RichTextProps {
3
- /** @title Текст */
8
+ /** @title Форматированный текст */
4
9
  __html?: HTML;
5
- /**
6
- * @title Стиль форматированного текста
7
- * @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
8
- */
9
- richVersion?: '' | 'striped' | 'horizontal-separator';
10
+ richVersion?: RichVersion;
10
11
  }
11
12
  export {};
@@ -7,6 +7,6 @@ export const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus
7
7
  const handleChange = useCallback((ev) => {
8
8
  onChange && onChange(ev.target?.value || '');
9
9
  }, [onChange]);
10
- return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
10
+ return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
11
11
  });
12
12
  //# sourceMappingURL=SearchInput.js.map
@@ -14,7 +14,7 @@ export const Select = JSX(({ className = '', label, options = [], value, valid =
14
14
  onChange && onChange(option);
15
15
  }, [onChange]);
16
16
  const isSelected = (option) => option.key === value?.key;
17
- return (_jsxs("div", { className: className, ref: wrapperRef, children: [label ? (_jsx("div", { className: "mb-2", children: _jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, _jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), children: [_jsxs("div", { className: style('text-l flex justify-between items-center text-primary-text cursor-pointer', getBorderStyle(isBorder, valid)), onClick: toggle, children: [_jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), _jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), name: "ArrowUpIcon", width: "16", height: "16" })] }), options?.length ? (_jsx("div", { className: style('h-0', isOpen ? '' : 'overflow-hidden'), children: _jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: options.map(renderOption(handleChange, isOpen, isSelected)) }) })) : null] })] }));
17
+ return (_jsxs("div", { className: className, ref: wrapperRef, children: [label ? (_jsx("div", { className: "mb-xs", children: _jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, _jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), children: [_jsxs("div", { className: style('text-l flex justify-between items-center text-primary-text cursor-pointer', getBorderStyle(isBorder, valid)), onClick: toggle, children: [_jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), _jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), name: "ArrowUpIcon", width: "16", height: "16" })] }), options?.length ? (_jsx("div", { className: style('h-0', isOpen ? '' : 'overflow-hidden'), children: _jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: options.map(renderOption(handleChange, isOpen, isSelected)) }) })) : null] })] }));
18
18
  });
19
19
  const renderOption = (handleChange, isOpen, isSelected) => (option, i) => (_jsxs("div", { onClick: () => {
20
20
  handleChange(option);
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAiBpC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,OAAO,GAAG,EAAE,EACZ,KAAK,EACL,KAAK,GAAG,IAAI,EACZ,QAAQ,GAAG,IAAI,EACf,WAAW,GAAG,EAAE,EAChB,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC;IACxD,MAAM,UAAU,GAAG,eAAe,CAAiB,KAAK,CAAC,CAAC;IAE1D,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,MAAc,EAAE,EAAE;QACjB,KAAK,EAAE,CAAC;QACR,QAAQ,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE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G,CAAC,CAAU,EAAU,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;AAErE,MAAM,cAAc,GAAG,CAAC,QAAiB,EAAE,KAAc,EAAE,EAAE,CAC3D,KAAK,CACH,QAAQ,CAAC,CAAC,CAAC,8CAA8C,CAAC,CAAC,CAAC,EAAE,EAC9D,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CACxC,CAAC"}
@@ -23,6 +23,6 @@ export const renderSearchField = (points, yandexMaps, updatePointsToRender) => {
23
23
  updatePointsToRender(null);
24
24
  }
25
25
  };
26
- return (_jsxs("div", { className: `${Object.values(styles).join(' ')} bg-white py-3 pl-11 pr-4 w-full`, children: [_jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), _jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
26
+ return (_jsxs("div", { className: `${Object.values(styles).join(' ')} bg-white py-s pl-5xl pr-m w-full`, children: [_jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), _jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
27
27
  };
28
28
  //# sourceMappingURL=renderSearchField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderSearchField.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderSearchField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,MAAM,GAAG;IACb,MAAM,EAAE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AAI,EACX,SAAS,EAAC,iBAAiB,GAC3B,EACF,gBACE,IAAI,EAAC,MAAM,EACX,WAAW,EAAC,6HAAyB,EACrC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAC,0CAA0C,GACpD,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const formatBytes: (bytes: number, decimals?: number) => string;
@@ -0,0 +1,10 @@
1
+ const KILO = 1024;
2
+ const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
3
+ export const formatBytes = (bytes, decimals = 2) => {
4
+ if (bytes === 0) {
5
+ return '';
6
+ }
7
+ const i = Math.floor(Math.log(bytes) / Math.log(KILO));
8
+ return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
9
+ };
10
+ //# sourceMappingURL=formatBytes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatBytes.js","sourceRoot":"","sources":["../../src/utils/formatBytes.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE;IACzD,IAAI,KAAK,KAAK,CAAC,EAAE;QACf,OAAO,EAAE,CAAC;KACX;IAED,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IAEvD,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;AACzF,CAAC,CAAC"}
@@ -38,7 +38,7 @@ export const ApplicationForm = JSX<ApplicationFormProps>((props) => {
38
38
  }, []);
39
39
 
40
40
  return (
41
- <BlockWrapper className={className} defaultPadding="p-default" {...rest}>
41
+ <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
42
42
  <div className="container max-w-[978px]">
43
43
  {title ? (
44
44
  <Heading headingType="h3" title={title} className="mb-4 sm:mb-8 sm:text-center" />
@@ -64,18 +64,18 @@ export const ApplicationFormWed = JSX<ApplicationFormsProps>((props) => {
64
64
 
65
65
  return (
66
66
  <form className="container" onSubmit={formProps.onSubmit}>
67
- <Heading headingType="h6" title="Данные организации" className="sm:text-center mb-4" />
67
+ <Heading headingType="h6" title="Данные организации" className="sm:text-center mb-m" />
68
68
  {renderWedDataOrganization(field)}
69
- <Heading headingType="h6" title="Интересующий вопрос" className="sm:text-center mb-4" />
69
+ <Heading headingType="h6" title="Интересующий вопрос" className="sm:text-center mb-m" />
70
70
  {renderQuestionsInterested(field)}
71
71
  <div className="flex flex-col border-b border-main-divider mb-5 pb-5 sm:items-center sm:flex-row sm:mb-9 sm:pb-9">
72
- {renderSubmitButton(button, 'mb-4 sm:mr-5 sm:mb-0')}
72
+ {renderSubmitButton(button, 'mb-m sm:mr-lg sm:mb-0')}
73
73
  <Footnote link={link} />
74
74
  </div>
75
75
  <Heading
76
76
  headingType="h6"
77
77
  title="Или свяжитесь с нами удобным способом"
78
- className="sm:text-center mb-4"
78
+ className="sm:text-center mb-m"
79
79
  />
80
80
  {renderContacts()}
81
81
  </form>
@@ -12,11 +12,11 @@ export const ResponseNotification = JSX<ResponseNotificationProps>(({ responseTy
12
12
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
13
13
 
14
14
  return (
15
- <div className={`flex items-center mt-5 p-5 rounded-md ${backgroundColor}`}>
15
+ <div className={`flex items-center mt-lg p-lg rounded-md space-x-m ${backgroundColor}`}>
16
16
  {responseOK ? (
17
- <Img image={{ icon: 'ResponceOKIcon' }} width="42" height="42" className="mr-4" />
17
+ <Img image={{ icon: 'ResponceOKIcon' }} width="42" height="42" />
18
18
  ) : (
19
- <Img image={{ icon: 'ResponceFailIcon' }} width="37" height="34" className="mr-4" />
19
+ <Img image={{ icon: 'ResponceFailIcon' }} width="37" height="34" />
20
20
  )}
21
21
  <div>
22
22
  <Heading
@@ -7,33 +7,33 @@ import type { WedFormState } from './WedFormState';
7
7
 
8
8
  export const renderWedDataOrganization = (field: FormFieldRegisterer<WedFormState>) => (
9
9
  <div>
10
- <div className="sm:flex sm:justify-between sm:gap-5">
10
+ <div className="sm:flex sm:justify-between sm:gap-lg">
11
11
  <div className="sm:w-1/2">
12
12
  <InputControl
13
- className="shrink-0 w-full mb-3"
13
+ className="shrink-0 w-full mb-s"
14
14
  label="Наименование организации"
15
15
  {...withValidator(field('fullName'), defaultValidator)}
16
16
  />
17
17
  </div>
18
18
  <div className="sm:w-1/2">
19
19
  <InputControl
20
- className="shrink-0 w-full mb-3"
20
+ className="shrink-0 w-full mb-s"
21
21
  label="ФИО"
22
22
  {...withValidator(field('name'), nameValidator)}
23
23
  />
24
24
  </div>
25
25
  </div>
26
- <div className="sm:flex sm:justify-between sm:gap-5 sm:mb-7">
26
+ <div className="sm:flex sm:justify-between sm:gap-lg sm:mb-2xl">
27
27
  <div className="sm:w-1/2">
28
28
  <PhoneInputControl
29
- className="shrink-0 w-full mb-3"
29
+ className="shrink-0 w-full mb-s"
30
30
  label="Телефон"
31
31
  {...withValidator(field('phone'), phoneValidator)}
32
32
  />
33
33
  </div>
34
34
  <div className="sm:w-1/2">
35
35
  <InputControl
36
- className="shrink-0 w-full mb-3"
36
+ className="shrink-0 w-full mb-s"
37
37
  label="Электронная почта"
38
38
  {...withValidator(field('mail'), defaultValidator)}
39
39
  />
@@ -17,10 +17,10 @@ interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
17
17
 
18
18
  export const BenefitsBlock = JSX<BenefitsBlockProps>(
19
19
  ({ className = '', title, benefitList, ...rest }) => (
20
- <BlockWrapper className={className} defaultPadding="p-default" {...rest}>
20
+ <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
21
21
  {title ? <Heading headingType="h3" as="h2" className="text-center" title={title} /> : null}
22
22
  {benefitList?.length ? (
23
- <div className="flex flex-wrap w-full sm:justify-center mt-m gap-xl" role="list">
23
+ <div className="flex flex-wrap w-full sm:justify-center mt-xl gap-5xl" role="list">
24
24
  {benefitList.map(renderBenefit)}
25
25
  </div>
26
26
  ) : null}
@@ -31,7 +31,7 @@ export const BenefitsBlock = JSX<BenefitsBlockProps>(
31
31
  const renderBenefit = (benefit: BenefitBlockItemProps, i: number) => (
32
32
  <div
33
33
  key={String(i)}
34
- className="flex gap-s items-center md:basis-1/2 md:max-w-[400px]"
34
+ className="flex gap-m items-center md:basis-1/2 md:max-w-[400px]"
35
35
  role="listitem"
36
36
  >
37
37
  {benefit?.icon?.icon ? (
@@ -56,7 +56,7 @@ const renderDescription = (description: DescriptionDef | undefined) => {
56
56
  const benefitType = description?.benefitType || null;
57
57
 
58
58
  return description && benefitType ? (
59
- <div className="mt-2 text-l font-light text-secondary-text group-data-secondary:text-white/80">
59
+ <div className="mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80">
60
60
  {benefitType === 'list'
61
61
  ? renderListBenefit(description as ListBenefitDef)
62
62
  : renderTextBenefit(description as TextBenefitDef)}
@@ -67,7 +67,7 @@ const renderDescription = (description: DescriptionDef | undefined) => {
67
67
  const renderTextBenefit = (description?: TextBenefitDef) => description?.name || null;
68
68
 
69
69
  const renderListBenefit = (description?: ListBenefitDef) => {
70
- const listStyleType = description?.bullets ? 'list-disc pl-6' : '';
70
+ const listStyleType = description?.bullets ? 'list-disc pl-3xl' : '';
71
71
 
72
72
  return description?.items && description.items.length > 0 ? (
73
73
  <ul className={listStyleType}>
@@ -0,0 +1 @@
1
+ export const benefitImageStyles = 'w-56 h-56 min-w-56';
@@ -14,7 +14,7 @@ export const Bonus = JSX<BonusProps>((props) => {
14
14
  const { className = '', title, description, bonusItems, ...rest } = props;
15
15
 
16
16
  return (
17
- <BlockWrapper className={className} defaultPadding="p-default" {...rest}>
17
+ <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
18
18
  <div className="container">
19
19
  <Headline className="!p-0" title={title} description={description} headlineVersion="M" />
20
20
  <div className="flex flex-wrap w-full mt-9">
@@ -26,7 +26,7 @@ export const Bonus = JSX<BonusProps>((props) => {
26
26
  >
27
27
  {_?.title ? <Text size="text-h4">{_.title}</Text> : null}
28
28
  {_?.description ? (
29
- <div className="mt-2">
29
+ <div className="mt-xs">
30
30
  <Paragraph size="text-xl" font="font-light">
31
31
  {_.description}
32
32
  </Paragraph>
@@ -1,7 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
- import { style } from '../../utils/style';
5
4
  import { Headline } from '../Headline/Headline';
6
5
  import type { BonusBenefitsBlockContent } from './BonusBenefitsBlockContent';
7
6
  import { renderBonusBenefits } from './renderBonusBenefits';
@@ -18,9 +17,9 @@ export const BonusBenefitsBlock = JSX<BenefitsBlockProps>(
18
17
  title,
19
18
  ...rest
20
19
  }) => (
21
- <BlockWrapper className={style('p-default', className)} defaultPadding="p-default" {...rest}>
20
+ <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
22
21
  <Headline
23
- className="mb-4 sm:mb-8"
22
+ className="mb-4 sm:mb-3xl"
24
23
  isPadding={false}
25
24
  title={title}
26
25
  description={subtitle}
@@ -8,8 +8,8 @@ import { BusinessCard } from './BusinessCard';
8
8
  export interface BusinessBlockProps extends BusinessBlockContent, UniBlockProps {}
9
9
 
10
10
  export const BusinessBlock = JSX<BusinessBlockProps>(({ className, title, cards, ...rest }) => (
11
- <BlockWrapper className={className} defaultPadding="p-default" {...rest}>
12
- <Heading headingType="h3" title={title} className="text-center mb-8" />
11
+ <BlockWrapper className={className} defaultPadding="p-6xl space-y-3xl" {...rest}>
12
+ <Heading headingType="h3" title={title} className="text-center" />
13
13
  <div className="flex gap-5">
14
14
  {cards?.length ? cards.map((_, i) => <BusinessCard key={String(i)} {..._} />) : null}
15
15
  </div>
@@ -9,16 +9,18 @@ export const BusinessCard = JSX<BusinessCardProps>((props) => {
9
9
  const { title, image, cardItems, button } = props;
10
10
 
11
11
  return (
12
- <div className="border-gray border p-9 w-1/2">
12
+ <div className="border-gray border p-4xl w-1/2 space-y-lg">
13
13
  {image ? (
14
14
  <div className="flex justify-center">
15
- {image?.src ? <Img className="mb-5" image={image} /> : null}
15
+ {image?.src ? <Img image={image} /> : null}
16
16
  {image?.icon ? <Img image={image} /> : null}
17
17
  </div>
18
18
  ) : null}
19
- {title ? <Heading headingType="h4" title={title} className="mb-6" /> : null}
20
- {cardItems?.length ? <ul>{cardItems.map((_, i) => renderItem(_, String(i)))}</ul> : null}
21
- {renderButtonsSection([button], { buttonClassName: 'mt-6' })}
19
+ {title ? <Heading headingType="h4" title={title} /> : null}
20
+ {cardItems?.length ? (
21
+ <ul className="space-y-s">{cardItems.map((_, i) => renderItem(_, String(i)))}</ul>
22
+ ) : null}
23
+ {renderButtonsSection([button])}
22
24
  </div>
23
25
  );
24
26
  });
@@ -27,9 +29,9 @@ const renderItem = (item: BusinessCardItemProps, key: string) => {
27
29
  const { icon, text } = item;
28
30
 
29
31
  return (
30
- <li key={key} className="flex items-center gap-3.5 mb-3 last:mb-0">
32
+ <li key={key} className="flex items-center gap-s last:mb-0">
31
33
  {icon?.icon ? (
32
- <Img image={icon} className="w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" />
34
+ <Img image={icon} className="w-12 h-12 min-w-12 p-s rounded-icon bg-main-divider" />
33
35
  ) : null}
34
36
  {icon?.src ? <Img image={icon} /> : null}
35
37
  <Text size="text-xl" font="font-light">
@@ -26,7 +26,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
26
26
 
27
27
  return (
28
28
  <section className={style('flex justify-between', className)}>
29
- <div className="w-[468px]">
29
+ <div className="w-2/5">
30
30
  {renderWantedSumInput({
31
31
  title: 'Сумма покупок в категории путешествия, ₽',
32
32
  min: minSumTravel,
@@ -55,7 +55,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
55
55
  />
56
56
  ) : null}
57
57
  </div>
58
- <div className="w-full max-w-[350px]">
58
+ <div className="w-96">
59
59
  {yearBonus >= 0 ? <CalculatorValueBlock title="Баллов за год" value={yearBonus} /> : null}
60
60
  {renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
61
61
  {renderFootnote(footnote)}
@@ -37,7 +37,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
37
37
  return (
38
38
  <section className={className}>
39
39
  <div className="flex justify-between">
40
- <div className="w-[486px]">
40
+ <div className="w-2/5">
41
41
  {renderWantedSumInput({
42
42
  title: 'Сумма вклада, ₽',
43
43
  min: calculatorParams.minSum,
@@ -73,7 +73,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
73
73
  />
74
74
  )}
75
75
 
76
- <div className="w-full max-w-[350px]">
76
+ <div className="w-96">
77
77
  <CalculatorValueBlock title="Доход по вкладу" value={income} postfix="₽" prefix="+" />
78
78
  <CalculatorValueBlock title="Сумма в конце срока" value={finalSum} postfix="₽" />
79
79
  {renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
@@ -70,9 +70,9 @@ export const Calculator = JSX<CalculatorProps>(
70
70
 
71
71
  function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
72
72
  const btnClassName = isActive
73
- ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
74
- : `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
75
- const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
73
+ ? 'h-20 w-96 p-xl border-none bg-primary-main text-white'
74
+ : `h-20 w-96 px-lg ease-in duration-300 bg-white text-primary-text`;
75
+ const btnTitleClassName = isActive ? 'text-xl mb-xs' : `text-l mb-2xs`;
76
76
  const btnDescClassName = isActive
77
77
  ? 'text-l font-light text-white'
78
78
  : `text-m font-light text-secondary-text`;
@@ -87,12 +87,12 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
87
87
  onClick={onClick}
88
88
  aria-label={tab?.title}
89
89
  className={style(
90
- 'box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]',
90
+ 'box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-20 space-x-m',
91
91
  btnClassName,
92
92
  )}
93
93
  >
94
94
  <Img
95
- className={`h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`}
95
+ className={style('h-6 w-6 min-w-6 min-h-6', iconClassName)}
96
96
  image={{
97
97
  ...tab?.icon,
98
98
  iconVersion: iconVersion ?? activeIconStyle,
@@ -115,9 +115,9 @@ function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }: TabsProp
115
115
  <div>
116
116
  <div
117
117
  style={{ transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }}
118
- className="flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000"
118
+ className="flex flex-col justify-end items-center h-32 pt-4xl box-border duration-1000"
119
119
  >
120
- <div className="w-full flex flex-nowrap items-end gap-2">
120
+ <div className="w-full flex flex-nowrap items-end gap-xs">
121
121
  {tabsNav.map((tab, i) =>
122
122
  renderNavButton({
123
123
  tab,
@@ -21,6 +21,15 @@ export interface CreditCalculatorParamsViewSettings {
21
21
  isShowInsurance?: boolean;
22
22
  }
23
23
 
24
+ export interface RefinancingCalculatorParamsViewSettings {
25
+ /** @title Получаю зарплату на счёт в Россельхозбанке */
26
+ isShowSalaryClient?: boolean;
27
+ /** @title Комплексная страховая защита */
28
+ isShowInsurance?: boolean;
29
+ /** @title Получить дополнительную сумму */
30
+ isShowExtraMoney?: boolean;
31
+ }
32
+
24
33
  export interface DepositCalculatorParamsViewSettings {
25
34
  /**
26
35
  * @title Выплата процентов
@@ -51,6 +60,11 @@ export interface BusinessDepositCalculatorProps extends CommonCalculatorProps {
51
60
  isShowDepositeName?: boolean;
52
61
  }
53
62
 
63
+ export interface RefinancingCalculatorProps extends CommonCalculatorProps {
64
+ /** @title Настройка отображения чекбоксов */
65
+ paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
66
+ }
67
+
54
68
  /**
55
69
  * ? Общий интерфейс для всех типов калькуляторов?
56
70
  * ? Используется во вложенных функциях. Может быть как то разбить это и вынести отсюда?
@@ -102,6 +116,15 @@ export type BonusCalculatorParamsDef = TitleProps &
102
116
  calcType: 'BonusCalculatorForm';
103
117
  };
104
118
 
119
+ /**
120
+ * @title Калькулятор рефинансирования
121
+ * @default {"calcType": "BonusCalculatorForm"}
122
+ */
123
+ export type RefinancingCalculatorParamsDef = TitleProps &
124
+ RefinancingCalculatorProps & {
125
+ calcType: 'RefinancingCalculatorForm';
126
+ };
127
+
105
128
  /**
106
129
  * @title Настройки калькулятора
107
130
  */
@@ -110,7 +133,8 @@ export type CalculatorBlockDef =
110
133
  | CreditCalculatorParamsDef
111
134
  | DepositCalculatorParamsDef
112
135
  | BusinessDepositCalculatorParamsDef
113
- | BonusCalculatorParamsDef;
136
+ | BonusCalculatorParamsDef
137
+ | RefinancingCalculatorParamsDef;
114
138
 
115
139
  /**
116
140
  * @title Кнопка навигации
@@ -41,7 +41,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
41
41
 
42
42
  return (
43
43
  <section className={style('flex justify-between', className)}>
44
- <div className="w-[468px]">
44
+ <div className="w-2/5">
45
45
  {renderWantedSumInput({
46
46
  title: 'Сумма кредита, ₽',
47
47
  step: 500,
@@ -57,7 +57,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
57
57
  ...field('monthsValue'),
58
58
  value: calculatorParams.monthsValue,
59
59
  })}
60
- <div className="mt-7">
60
+ <div className="mt-2xl">
61
61
  {renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)}
62
62
  </div>
63
63
  </div>
@@ -67,14 +67,14 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
67
67
  rateBlockClassName="tracking-[-25px]"
68
68
  unit="%"
69
69
  />
70
- <div className="w-full max-w-[350px]">
70
+ <div className="w-96">
71
71
  <CalculatorValueBlock
72
72
  title={'Ежемесячный платеж'}
73
73
  value={calculatorParams.monthlyPayment}
74
74
  postfix="₽"
75
75
  />
76
76
  {renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') })}
77
- {renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
77
+ {renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true })}
78
78
  {renderFootnote(footnote)}
79
79
  </div>
80
80
  </section>
@@ -41,7 +41,7 @@ export const DepositCalculatorForm = JSX<DepositCalculatorProp>(
41
41
 
42
42
  return (
43
43
  <section className={style('flex justify-between', className)}>
44
- <div className="w-[468px]">
44
+ <div className="w-2/5">
45
45
  {renderWantedSumInput({
46
46
  title: 'Сумма вклада, ₽',
47
47
  min: calculatorParams.minSum,
@@ -57,15 +57,15 @@ export const DepositCalculatorForm = JSX<DepositCalculatorProp>(
57
57
  ...field('monthsValue'),
58
58
  value: calculatorParams.monthsValue,
59
59
  })}
60
- <div className="mt-7">
60
+ <div className="mt-2xl">
61
61
  {renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)}
62
62
  </div>
63
63
  </div>
64
64
  <Rate rate={rate} rateBlockClassName="tracking-[-25px]" unit="%" />
65
- <div className="w-full max-w-[350px]">
65
+ <div className="w-96">
66
66
  <CalculatorValueBlock title="Доход по вкладу" value={income} postfix="₽" prefix="+" />
67
67
  <CalculatorValueBlock title="Сумма в конце срока" value={finalSum} postfix="₽" />
68
- {renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
68
+ {renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true })}
69
69
  {renderFootnote(footnote)}
70
70
  </div>
71
71
  </section>
@@ -77,7 +77,7 @@ const renderDepositParamsForm = (
77
77
  params: DepositCalculatorParams & DepositCalculatorParamsViewSettings,
78
78
  field: FormFieldRegisterer<any>,
79
79
  ) => (
80
- <div className="flex flex-col gap-y-7">
80
+ <div className="flex flex-col gap-y-2xl">
81
81
  {params.isShowMonthlyInterestPayment
82
82
  ? renderInterestPayment({
83
83
  title: 'Выплата процентов',
@@ -5,16 +5,19 @@ import {
5
5
  } from './BusinessDepositCalculatorForm';
6
6
  import { CreditCalculatorForm, CreditCalculatorProp } from './CreditCalculatorForm';
7
7
  import { DepositCalculatorForm, DepositCalculatorProp } from './DepositCalculatorForm';
8
+ import { RefinancingCalculatorForm, RefinancingCalculatorProp } from './RefinancingCalculatorForm';
8
9
 
9
10
  export type EmbeddableCalcProps =
10
11
  | CreditCalculatorProp
11
12
  | DepositCalculatorProp
12
13
  | BusinessDepositCalculatorProp
13
- | BonusCalculatorProps;
14
+ | BonusCalculatorProps
15
+ | RefinancingCalculatorProp;
14
16
 
15
17
  export const EmbeddableCalcBlocks = {
16
18
  CreditCalculatorForm,
17
19
  DepositCalculatorForm,
18
20
  BusinessDepositCalculatorForm,
19
21
  BonusCalculatorForm,
22
+ RefinancingCalculatorForm,
20
23
  };