@redneckz/wildless-cms-uni-blocks 0.12.10 → 0.12.12

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 (1863) hide show
  1. package/bin/migration-scripts/0.12.9.js +30 -0
  2. package/bundle/BlockRenderer/renderBlock.d.ts +2 -4
  3. package/bundle/BlockRenderer/renderBlockList.d.ts +5 -2
  4. package/bundle/BlockRenderer/renderChildren.d.ts +5 -4
  5. package/bundle/blocks.schema.json +1 -1
  6. package/bundle/bundle.umd.js +558 -471
  7. package/bundle/bundle.umd.min.js +1 -1
  8. package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  9. package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  10. package/bundle/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  11. package/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  12. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  13. package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  14. package/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  15. package/bundle/components/Calculator/constants.d.ts +12 -0
  16. package/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  17. package/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  18. package/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  19. package/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  20. package/bundle/components/Carousel/CarouselContent.d.ts +3 -9
  21. package/bundle/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  22. package/bundle/components/Carousel/renderControlButtons.d.ts +2 -3
  23. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
  24. package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  25. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  26. package/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  27. package/bundle/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  28. package/bundle/components/Footer/Footer.d.ts +1 -4
  29. package/bundle/components/Footer/Footer.mobile.d.ts +1 -4
  30. package/bundle/components/Footer/FooterProps.d.ts +6 -0
  31. package/bundle/components/Header/Header.d.ts +1 -4
  32. package/bundle/components/Header/Header.mobile.d.ts +2 -5
  33. package/bundle/components/Header/HeaderContent.d.ts +0 -2
  34. package/bundle/components/Header/HeaderProps.d.ts +8 -0
  35. package/bundle/components/HorizontalLayout/HorizontalLayout.mobile.d.ts +5 -0
  36. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  37. package/bundle/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  38. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  39. package/bundle/hooks/useCarouselControls.d.ts +1 -1
  40. package/bundle/model/Attachment.d.ts +2 -0
  41. package/bundle/model/JSXBlock.d.ts +1 -1
  42. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  43. package/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  44. package/bundle/utils/formatBytes.d.ts +1 -0
  45. package/dist/BlockRenderer/renderBlock.d.ts +2 -4
  46. package/dist/BlockRenderer/renderBlock.js +1 -2
  47. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  48. package/dist/BlockRenderer/renderBlockList.d.ts +5 -2
  49. package/dist/BlockRenderer/renderBlockList.js +12 -7
  50. package/dist/BlockRenderer/renderBlockList.js.map +1 -1
  51. package/dist/BlockRenderer/renderChildren.d.ts +5 -4
  52. package/dist/BlockRenderer/renderChildren.js +2 -2
  53. package/dist/BlockRenderer/renderChildren.js.map +1 -1
  54. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  55. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  56. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  57. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  58. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  59. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  60. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  61. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  62. package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  63. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  64. package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  65. package/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  66. package/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  67. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  68. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +4 -0
  69. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  70. package/dist/components/Blocks.mobile.js +6 -0
  71. package/dist/components/Blocks.mobile.js.map +1 -1
  72. package/dist/components/Bonus/Bonus.js +2 -2
  73. package/dist/components/Bonus/Bonus.js.map +1 -1
  74. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  75. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  76. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  77. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
  78. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  79. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  80. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  81. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  82. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  83. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  84. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  85. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  86. package/dist/components/Calculator/Calculator.js +5 -5
  87. package/dist/components/Calculator/Calculator.js.map +1 -1
  88. package/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  89. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  90. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  91. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  92. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  93. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  94. package/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  95. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  96. package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  97. package/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  98. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  99. package/dist/components/Calculator/UnknownRate.js +1 -1
  100. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  101. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  102. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  103. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  104. package/dist/components/Calculator/constants.d.ts +12 -0
  105. package/dist/components/Calculator/constants.js +25 -1
  106. package/dist/components/Calculator/constants.js.map +1 -1
  107. package/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  108. package/dist/components/Calculator/getMonthlyPayment.js +7 -2
  109. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  110. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  111. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  112. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  113. package/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  114. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  115. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  116. package/dist/components/Calculator/rangeHelpers.js +7 -3
  117. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  118. package/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  119. package/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  120. package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  121. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  122. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  123. package/dist/components/Carousel/Carousel.js +18 -33
  124. package/dist/components/Carousel/Carousel.js.map +1 -1
  125. package/dist/components/Carousel/CarouselContent.d.ts +3 -9
  126. package/dist/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  127. package/dist/components/Carousel/CarouselScrollButtons.js +4 -4
  128. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  129. package/dist/components/Carousel/renderControlButtons.d.ts +2 -3
  130. package/dist/components/Carousel/renderControlButtons.js +3 -3
  131. package/dist/components/Carousel/renderControlButtons.js.map +1 -1
  132. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
  133. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +7 -40
  134. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  135. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -2
  136. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  137. package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  138. package/dist/components/CarouselCard/CarouselCard.js +6 -5
  139. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  140. package/dist/components/CarouselCard/constants.js +2 -2
  141. package/dist/components/CarouselCard/constants.js.map +1 -1
  142. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  143. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  144. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  145. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  146. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  147. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  148. package/dist/components/CarouselLinks/CarouselLinks.js +2 -2
  149. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  150. package/dist/components/CarouselProductCard/CarouselProductCard.js +13 -12
  151. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  152. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  153. package/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  154. package/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  155. package/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  156. package/dist/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  157. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js +4 -0
  158. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  159. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -5
  160. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  161. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  162. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  163. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -2
  164. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  165. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
  166. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  167. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  168. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  169. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  170. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  171. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  172. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  173. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
  174. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  175. package/dist/components/ComparisonTable/ComparisonTableBody.js +1 -1
  176. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  177. package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  178. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  179. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  180. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  181. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  182. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  183. package/dist/components/ComparisonTable/TableCell.js +1 -1
  184. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  185. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  186. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  187. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  188. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  189. package/dist/components/ContentPage/ContentPage.js +17 -10
  190. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  191. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  192. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  193. package/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  194. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  195. package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  196. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  197. package/dist/components/ExchangeRateTile/CurrencyTable.js +4 -3
  198. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  199. package/dist/components/ExchangeRateTile/CurrentLocation.js +3 -2
  200. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  201. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  202. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  203. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  204. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  205. package/dist/components/Footer/Contacts.js +4 -3
  206. package/dist/components/Footer/Contacts.js.map +1 -1
  207. package/dist/components/Footer/Footer.d.ts +1 -4
  208. package/dist/components/Footer/Footer.js +3 -5
  209. package/dist/components/Footer/Footer.js.map +1 -1
  210. package/dist/components/Footer/Footer.mobile.d.ts +1 -4
  211. package/dist/components/Footer/Footer.mobile.js +3 -5
  212. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  213. package/dist/components/Footer/FooterProps.d.ts +6 -0
  214. package/dist/components/Footer/FooterProps.js +2 -0
  215. package/dist/components/Footer/FooterProps.js.map +1 -0
  216. package/dist/components/GracePeriod/GracePeriod.js +2 -2
  217. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  218. package/dist/components/Header/Header.d.ts +1 -4
  219. package/dist/components/Header/Header.js +3 -9
  220. package/dist/components/Header/Header.js.map +1 -1
  221. package/dist/components/Header/Header.mobile.d.ts +2 -5
  222. package/dist/components/Header/Header.mobile.js +3 -6
  223. package/dist/components/Header/Header.mobile.js.map +1 -1
  224. package/dist/components/Header/HeaderContent.d.ts +0 -2
  225. package/dist/components/Header/HeaderProps.d.ts +8 -0
  226. package/dist/components/Header/HeaderProps.js +2 -0
  227. package/dist/components/Header/HeaderProps.js.map +1 -0
  228. package/dist/components/Header/HeaderSubMenu.js +1 -1
  229. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  230. package/dist/components/Header/HeaderTop.js +1 -1
  231. package/dist/components/Header/HeaderTop.js.map +1 -1
  232. package/dist/components/Headline/Headline.js +1 -1
  233. package/dist/components/Headline/Headline.js.map +1 -1
  234. package/dist/components/Headline/headlineVersionStyles.js +4 -4
  235. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  236. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  237. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  238. package/dist/components/HorizontalLayout/HorizontalLayout.mobile.d.ts +5 -0
  239. package/dist/components/HorizontalLayout/HorizontalLayout.mobile.js +8 -0
  240. package/dist/components/HorizontalLayout/HorizontalLayout.mobile.js.map +1 -0
  241. package/dist/components/HorizontalLayout/gapStyles.js +6 -6
  242. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  243. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  244. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  245. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  246. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  247. package/dist/components/InvestmentInfo/InvestmentInfo.js +12 -14
  248. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  249. package/dist/components/LinkDocs/LinkDocs.js +6 -2
  250. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  251. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  252. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  253. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  254. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  255. package/dist/components/MobileAppTile/renderList.js +1 -1
  256. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  257. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  258. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  259. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
  260. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  261. package/dist/components/PictureText/PictureText.js +1 -1
  262. package/dist/components/PictureText/PictureText.js.map +1 -1
  263. package/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  264. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  265. package/dist/components/Placeholder/Placeholder.js +2 -2
  266. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  267. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  268. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  269. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  270. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  271. package/dist/components/ProductTile/ProductTile.js +1 -1
  272. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  273. package/dist/components/PromoTile/PromoTile.js +1 -1
  274. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  275. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
  276. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  277. package/dist/components/RollupItem/RollupItem.js +5 -2
  278. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  279. package/dist/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  280. package/dist/components/SafeDepositRental/RadioButtons.js +13 -0
  281. package/dist/components/SafeDepositRental/RadioButtons.js.map +1 -0
  282. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  283. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  284. package/dist/components/SafeDepositRental/RentalPeriod.js +2 -1
  285. package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  286. package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  287. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  288. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  289. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  290. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  291. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  292. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  293. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  294. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
  295. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  296. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  297. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  298. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  299. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  300. package/dist/components/StepsBlock/renderStep.js +2 -2
  301. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  302. package/dist/components/Tabs/ScrollableTabs.js +0 -1
  303. package/dist/components/Tabs/ScrollableTabs.js.map +1 -1
  304. package/dist/components/Tabs/renderGroupTab.js +1 -1
  305. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  306. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  307. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  308. package/dist/components/TariffsTable/TableTileHeader.js +1 -1
  309. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  310. package/dist/components/TariffsTable/TariffsTable.js +4 -10
  311. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  312. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  313. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  314. package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  315. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  316. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  317. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  318. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  319. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  320. package/dist/components/Tile/Tile.js +1 -1
  321. package/dist/components/Tile/Tile.js.map +1 -1
  322. package/dist/components/VerticalLayout/VerticalLayout.js +4 -14
  323. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  324. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  325. package/dist/content-page-repository/transformDocument.js +3 -0
  326. package/dist/content-page-repository/transformDocument.js.map +1 -1
  327. package/dist/hooks/useCarouselControls.d.ts +1 -1
  328. package/dist/hooks/useCarouselControls.js +5 -6
  329. package/dist/hooks/useCarouselControls.js.map +1 -1
  330. package/dist/model/Attachment.d.ts +2 -0
  331. package/dist/model/JSXBlock.d.ts +1 -1
  332. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  333. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  334. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  335. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  336. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  337. package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  338. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  339. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  340. package/dist/ui-kit/BlockWrapper.js +2 -2
  341. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  342. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  343. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  344. package/dist/ui-kit/Dialog/Dialog.js +1 -1
  345. package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  346. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  347. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  348. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  349. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  350. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  351. package/dist/ui-kit/Input/Input.js +1 -1
  352. package/dist/ui-kit/Input/Input.js.map +1 -1
  353. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  354. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  355. package/dist/ui-kit/LinkButton/LinkButton.js +3 -3
  356. package/dist/ui-kit/LinkList/LinkList.js +2 -2
  357. package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  358. package/dist/ui-kit/List/List.js +4 -4
  359. package/dist/ui-kit/List/List.js.map +1 -1
  360. package/dist/ui-kit/List/ListItem.js +3 -3
  361. package/dist/ui-kit/List/ListItem.js.map +1 -1
  362. package/dist/ui-kit/LocationDialog/LocationDialog.js +4 -4
  363. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  364. package/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  365. package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  366. package/dist/ui-kit/Logo/renderTitle.js +1 -1
  367. package/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  368. package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  369. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  370. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  371. package/dist/ui-kit/Select/Select.js +1 -1
  372. package/dist/ui-kit/Select/Select.js.map +1 -1
  373. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +1 -1
  374. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  375. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  376. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  377. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  378. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
  379. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  380. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  381. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  382. package/dist/ui-kit/YandexMap/YandexMap.js +1 -1
  383. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  384. package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  385. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  386. package/dist/utils/formatBytes.d.ts +1 -0
  387. package/dist/utils/formatBytes.js +13 -0
  388. package/dist/utils/formatBytes.js.map +1 -0
  389. package/lib/BlockRenderer/renderBlock.d.ts +2 -4
  390. package/lib/BlockRenderer/renderBlock.js +1 -2
  391. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  392. package/lib/BlockRenderer/renderBlockList.d.ts +5 -2
  393. package/lib/BlockRenderer/renderBlockList.js +12 -7
  394. package/lib/BlockRenderer/renderBlockList.js.map +1 -1
  395. package/lib/BlockRenderer/renderChildren.d.ts +5 -4
  396. package/lib/BlockRenderer/renderChildren.js +2 -2
  397. package/lib/BlockRenderer/renderChildren.js.map +1 -1
  398. package/lib/common.css +1 -1
  399. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  400. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  401. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  402. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  403. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  404. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  405. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  406. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  407. package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  408. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  409. package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  410. package/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  411. package/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  412. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  413. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +2 -0
  414. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  415. package/lib/components/Blocks.mobile.js +6 -0
  416. package/lib/components/Blocks.mobile.js.map +1 -1
  417. package/lib/components/Bonus/Bonus.js +2 -2
  418. package/lib/components/Bonus/Bonus.js.map +1 -1
  419. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  420. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  421. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  422. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
  423. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  424. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  425. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  426. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  427. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  428. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  429. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  430. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  431. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
  432. package/lib/components/Calculator/Calculator.js +5 -5
  433. package/lib/components/Calculator/Calculator.js.map +1 -1
  434. package/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  435. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  436. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  437. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  438. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  439. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  440. package/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  441. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  442. package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  443. package/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  444. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  445. package/lib/components/Calculator/UnknownRate.js +1 -1
  446. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  447. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  448. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  449. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  450. package/lib/components/Calculator/constants.d.ts +12 -0
  451. package/lib/components/Calculator/constants.js +24 -0
  452. package/lib/components/Calculator/constants.js.map +1 -1
  453. package/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  454. package/lib/components/Calculator/getMonthlyPayment.js +7 -2
  455. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  456. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  457. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  458. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  459. package/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  460. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  461. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  462. package/lib/components/Calculator/rangeHelpers.js +7 -3
  463. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  464. package/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  465. package/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  466. package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  467. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  468. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  469. package/lib/components/Carousel/Carousel.js +18 -33
  470. package/lib/components/Carousel/Carousel.js.map +1 -1
  471. package/lib/components/Carousel/CarouselContent.d.ts +3 -9
  472. package/lib/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  473. package/lib/components/Carousel/CarouselScrollButtons.js +4 -4
  474. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  475. package/lib/components/Carousel/renderControlButtons.d.ts +3 -3
  476. package/lib/components/Carousel/renderControlButtons.js +3 -3
  477. package/lib/components/Carousel/renderControlButtons.js.map +1 -1
  478. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
  479. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +7 -40
  480. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  481. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -2
  482. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  483. package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  484. package/lib/components/CarouselCard/CarouselCard.js +6 -5
  485. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  486. package/lib/components/CarouselCard/constants.js +2 -2
  487. package/lib/components/CarouselCard/constants.js.map +1 -1
  488. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  489. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  490. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  491. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  492. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  493. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  494. package/lib/components/CarouselLinks/CarouselLinks.js +2 -2
  495. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  496. package/lib/components/CarouselProductCard/CarouselProductCard.js +13 -12
  497. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  498. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  499. package/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  500. package/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  501. package/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  502. package/lib/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  503. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js +2 -0
  504. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  505. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -5
  506. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  507. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -5
  508. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  509. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -2
  510. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  511. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
  512. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  513. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  514. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  515. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  516. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  517. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  518. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  519. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
  520. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  521. package/lib/components/ComparisonTable/ComparisonTableBody.js +1 -1
  522. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  523. package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  524. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  525. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  526. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  527. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  528. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  529. package/lib/components/ComparisonTable/TableCell.js +1 -1
  530. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  531. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  532. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  533. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  534. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  535. package/lib/components/ContentPage/ContentPage.js +17 -10
  536. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  537. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  538. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  539. package/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  540. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  541. package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  542. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  543. package/lib/components/ExchangeRateTile/CurrencyTable.js +4 -3
  544. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  545. package/lib/components/ExchangeRateTile/CurrentLocation.js +3 -2
  546. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  547. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  548. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  549. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +6 -0
  550. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  551. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  552. package/lib/components/Footer/Contacts.js +4 -3
  553. package/lib/components/Footer/Contacts.js.map +1 -1
  554. package/lib/components/Footer/Footer.d.ts +1 -4
  555. package/lib/components/Footer/Footer.js +3 -5
  556. package/lib/components/Footer/Footer.js.map +1 -1
  557. package/lib/components/Footer/Footer.mobile.d.ts +1 -4
  558. package/lib/components/Footer/Footer.mobile.js +3 -5
  559. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  560. package/lib/components/Footer/FooterProps.d.ts +6 -0
  561. package/lib/components/Footer/FooterProps.js +2 -0
  562. package/lib/components/Footer/FooterProps.js.map +1 -0
  563. package/lib/components/GracePeriod/GracePeriod.js +2 -2
  564. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  565. package/lib/components/Header/Header.d.ts +1 -4
  566. package/lib/components/Header/Header.fixture.d.ts +0 -1
  567. package/lib/components/Header/Header.js +3 -9
  568. package/lib/components/Header/Header.js.map +1 -1
  569. package/lib/components/Header/Header.mobile.d.ts +2 -5
  570. package/lib/components/Header/Header.mobile.js +3 -6
  571. package/lib/components/Header/Header.mobile.js.map +1 -1
  572. package/lib/components/Header/HeaderContent.d.ts +0 -2
  573. package/lib/components/Header/HeaderProps.d.ts +8 -0
  574. package/lib/components/Header/HeaderProps.js +2 -0
  575. package/lib/components/Header/HeaderProps.js.map +1 -0
  576. package/lib/components/Header/HeaderSubMenu.js +1 -1
  577. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  578. package/lib/components/Header/HeaderTop.js +1 -1
  579. package/lib/components/Header/HeaderTop.js.map +1 -1
  580. package/lib/components/Headline/Headline.js +1 -1
  581. package/lib/components/Headline/Headline.js.map +1 -1
  582. package/lib/components/Headline/headlineVersionStyles.js +4 -4
  583. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  584. package/lib/components/HorizontalLayout/HorizontalLayout.fixture.mobile.d.ts +8 -0
  585. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  586. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  587. package/lib/components/HorizontalLayout/HorizontalLayout.mobile.d.ts +5 -0
  588. package/lib/components/HorizontalLayout/HorizontalLayout.mobile.js +6 -0
  589. package/lib/components/HorizontalLayout/HorizontalLayout.mobile.js.map +1 -0
  590. package/lib/components/HorizontalLayout/gapStyles.js +6 -6
  591. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  592. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  593. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  594. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  595. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  596. package/lib/components/InvestmentInfo/InvestmentInfo.js +12 -14
  597. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  598. package/lib/components/LinkDocs/LinkDocs.js +6 -2
  599. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  600. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  601. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  602. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  603. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  604. package/lib/components/MobileAppTile/renderList.js +1 -1
  605. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  606. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  607. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  608. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
  609. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  610. package/lib/components/PictureText/PictureText.js +1 -1
  611. package/lib/components/PictureText/PictureText.js.map +1 -1
  612. package/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  613. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  614. package/lib/components/Placeholder/Placeholder.js +2 -2
  615. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  616. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  617. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  618. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  619. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  620. package/lib/components/ProductTile/ProductTile.fixture.mobile.d.ts +16 -0
  621. package/lib/components/ProductTile/ProductTile.js +1 -1
  622. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  623. package/lib/components/PromoTile/PromoTile.js +1 -1
  624. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  625. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
  626. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  627. package/lib/components/RollupItem/RollupItem.js +5 -2
  628. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  629. package/lib/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  630. package/lib/components/SafeDepositRental/RadioButtons.js +11 -0
  631. package/lib/components/SafeDepositRental/RadioButtons.js.map +1 -0
  632. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  633. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  634. package/lib/components/SafeDepositRental/RentalPeriod.js +2 -1
  635. package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  636. package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  637. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  638. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.mobile.d.ts +6 -0
  639. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  640. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  641. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  642. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  643. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  644. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  645. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
  646. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  647. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  648. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  649. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  650. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  651. package/lib/components/StepsBlock/renderStep.js +2 -2
  652. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  653. package/lib/components/Tabs/ScrollableTabs.js +0 -1
  654. package/lib/components/Tabs/ScrollableTabs.js.map +1 -1
  655. package/lib/components/Tabs/renderGroupTab.js +1 -1
  656. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  657. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  658. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  659. package/lib/components/TariffsTable/TableTileHeader.js +1 -1
  660. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  661. package/lib/components/TariffsTable/TariffsTable.js +4 -10
  662. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  663. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  664. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  665. package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  666. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  667. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  668. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  669. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  670. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  671. package/lib/components/Tile/Tile.js +1 -1
  672. package/lib/components/Tile/Tile.js.map +1 -1
  673. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +3 -3
  674. package/lib/components/VerticalLayout/VerticalLayout.js +4 -14
  675. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  676. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  677. package/lib/content-page-repository/transformDocument.js +3 -0
  678. package/lib/content-page-repository/transformDocument.js.map +1 -1
  679. package/lib/hooks/useCarouselControls.d.ts +1 -1
  680. package/lib/hooks/useCarouselControls.js +5 -6
  681. package/lib/hooks/useCarouselControls.js.map +1 -1
  682. package/lib/model/Attachment.d.ts +2 -0
  683. package/lib/model/JSXBlock.d.ts +1 -1
  684. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  685. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  686. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  687. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  688. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  689. package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  690. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  691. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  692. package/lib/ui-kit/BlockWrapper.js +2 -2
  693. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  694. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  695. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  696. package/lib/ui-kit/Dialog/Dialog.js +1 -1
  697. package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  698. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  699. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  700. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  701. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  702. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  703. package/lib/ui-kit/Input/Input.js +1 -1
  704. package/lib/ui-kit/Input/Input.js.map +1 -1
  705. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  706. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  707. package/lib/ui-kit/LinkButton/LinkButton.js +3 -3
  708. package/lib/ui-kit/LinkList/LinkList.js +2 -2
  709. package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  710. package/lib/ui-kit/List/List.js +4 -4
  711. package/lib/ui-kit/List/List.js.map +1 -1
  712. package/lib/ui-kit/List/ListItem.js +3 -3
  713. package/lib/ui-kit/List/ListItem.js.map +1 -1
  714. package/lib/ui-kit/LocationDialog/LocationDialog.js +4 -4
  715. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  716. package/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  717. package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  718. package/lib/ui-kit/Logo/renderTitle.js +1 -1
  719. package/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  720. package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  721. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  722. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  723. package/lib/ui-kit/Select/Select.js +1 -1
  724. package/lib/ui-kit/Select/Select.js.map +1 -1
  725. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +1 -1
  726. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  727. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  728. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  729. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  730. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
  731. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  732. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  733. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  734. package/lib/ui-kit/YandexMap/YandexMap.js +1 -1
  735. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  736. package/lib/ui-kit/YandexMap/renderOpenMap.d.ts +0 -1
  737. package/lib/ui-kit/YandexMap/renderSearchField.d.ts +0 -1
  738. package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  739. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  740. package/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +0 -1
  741. package/lib/utils/formatBytes.d.ts +1 -0
  742. package/lib/utils/formatBytes.js +10 -0
  743. package/lib/utils/formatBytes.js.map +1 -0
  744. package/mobile/bundle/BlockRenderer/renderBlock.d.ts +2 -4
  745. package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +5 -2
  746. package/mobile/bundle/BlockRenderer/renderChildren.d.ts +5 -4
  747. package/mobile/bundle/bundle.umd.js +1101 -243
  748. package/mobile/bundle/bundle.umd.min.js +1 -1
  749. package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  750. package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  751. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  752. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  753. package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  754. package/mobile/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  755. package/mobile/bundle/components/Calculator/constants.d.ts +12 -0
  756. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  757. package/mobile/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  758. package/mobile/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  759. package/mobile/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  760. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -9
  761. package/mobile/bundle/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  762. package/mobile/bundle/components/Carousel/renderControlButtons.d.ts +2 -3
  763. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  764. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  765. package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  766. package/mobile/bundle/components/Footer/Footer.d.ts +1 -4
  767. package/mobile/bundle/components/Footer/FooterProps.d.ts +6 -0
  768. package/mobile/bundle/components/Header/Header.d.ts +2 -5
  769. package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -2
  770. package/mobile/bundle/components/Header/HeaderProps.d.ts +8 -0
  771. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  772. package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  773. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  774. package/mobile/bundle/hooks/useCarouselControls.d.ts +1 -1
  775. package/mobile/bundle/model/Attachment.d.ts +2 -0
  776. package/mobile/bundle/model/JSXBlock.d.ts +1 -1
  777. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  778. package/mobile/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  779. package/mobile/bundle/utils/formatBytes.d.ts +1 -0
  780. package/mobile/dist/BlockRenderer/renderBlock.d.ts +2 -4
  781. package/mobile/dist/BlockRenderer/renderBlock.js +1 -2
  782. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  783. package/mobile/dist/BlockRenderer/renderBlockList.d.ts +5 -2
  784. package/mobile/dist/BlockRenderer/renderBlockList.js +12 -7
  785. package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -1
  786. package/mobile/dist/BlockRenderer/renderChildren.d.ts +5 -4
  787. package/mobile/dist/BlockRenderer/renderChildren.js +2 -2
  788. package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -1
  789. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  790. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  791. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  792. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  793. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  794. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  795. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  796. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  797. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  798. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  799. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  800. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  801. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  802. package/mobile/dist/components/Blocks.js +6 -0
  803. package/mobile/dist/components/Blocks.js.map +1 -1
  804. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  805. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  806. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  807. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  808. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  809. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  810. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  811. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  812. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  813. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  814. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  815. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  816. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  817. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  818. package/mobile/dist/components/Calculator/Calculator.js +5 -5
  819. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  820. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  821. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  822. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  823. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  824. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  825. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  826. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  827. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  828. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  829. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  830. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  831. package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
  832. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  833. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  834. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  835. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  836. package/mobile/dist/components/Calculator/constants.d.ts +12 -0
  837. package/mobile/dist/components/Calculator/constants.js +25 -1
  838. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  839. package/mobile/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  840. package/mobile/dist/components/Calculator/getMonthlyPayment.js +7 -2
  841. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  842. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  843. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  844. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  845. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  846. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  847. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  848. package/mobile/dist/components/Calculator/rangeHelpers.js +7 -3
  849. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  850. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  851. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  852. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  853. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  854. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  855. package/mobile/dist/components/Carousel/Carousel.js +18 -33
  856. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  857. package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -9
  858. package/mobile/dist/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  859. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +4 -4
  860. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  861. package/mobile/dist/components/Carousel/renderControlButtons.d.ts +2 -3
  862. package/mobile/dist/components/Carousel/renderControlButtons.js +3 -3
  863. package/mobile/dist/components/Carousel/renderControlButtons.js.map +1 -1
  864. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -2
  865. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  866. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  867. package/mobile/dist/components/CarouselCard/CarouselCard.js +6 -5
  868. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  869. package/mobile/dist/components/CarouselCard/constants.js +2 -2
  870. package/mobile/dist/components/CarouselCard/constants.js.map +1 -1
  871. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  872. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  873. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  874. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  875. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  876. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  877. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +2 -2
  878. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  879. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +13 -12
  880. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  881. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  882. package/mobile/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  883. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  884. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  885. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -5
  886. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  887. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  888. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  889. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
  890. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  891. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  892. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  893. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  894. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  895. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  896. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  897. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +1 -1
  898. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  899. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  900. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  901. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  902. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  903. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  904. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  905. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  906. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  907. package/mobile/dist/components/ContentPage/ContentPage.js +17 -10
  908. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  909. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  910. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  911. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  912. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  913. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  914. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  915. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +4 -3
  916. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  917. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +3 -2
  918. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  919. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  920. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  921. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  922. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  923. package/mobile/dist/components/Footer/Contacts.js +4 -3
  924. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  925. package/mobile/dist/components/Footer/Footer.d.ts +1 -4
  926. package/mobile/dist/components/Footer/Footer.js +3 -5
  927. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  928. package/mobile/dist/components/Footer/FooterProps.d.ts +6 -0
  929. package/mobile/dist/components/Footer/FooterProps.js +2 -0
  930. package/mobile/dist/components/Footer/FooterProps.js.map +1 -0
  931. package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
  932. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  933. package/mobile/dist/components/Header/Header.d.ts +2 -5
  934. package/mobile/dist/components/Header/Header.js +3 -6
  935. package/mobile/dist/components/Header/Header.js.map +1 -1
  936. package/mobile/dist/components/Header/HeaderContent.d.ts +0 -2
  937. package/mobile/dist/components/Header/HeaderProps.d.ts +8 -0
  938. package/mobile/dist/components/Header/HeaderProps.js +2 -0
  939. package/mobile/dist/components/Header/HeaderProps.js.map +1 -0
  940. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  941. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  942. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  943. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  944. package/mobile/dist/components/Headline/Headline.js +1 -1
  945. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  946. package/mobile/dist/components/Headline/headlineVersionStyles.js +4 -4
  947. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  948. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -8
  949. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  950. package/mobile/dist/components/HorizontalLayout/gapStyles.js +6 -6
  951. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  952. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  953. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  954. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  955. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  956. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +12 -14
  957. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  958. package/mobile/dist/components/LinkDocs/LinkDocs.js +6 -2
  959. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  960. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  961. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  962. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  963. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  964. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  965. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  966. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  967. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  968. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
  969. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  970. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  971. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  972. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  973. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  974. package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
  975. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  976. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  977. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  978. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  979. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  980. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  981. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  982. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
  983. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  984. package/mobile/dist/components/RollupItem/RollupItem.js +5 -2
  985. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  986. package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  987. package/mobile/dist/components/SafeDepositRental/RadioButtons.js +13 -0
  988. package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +1 -0
  989. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  990. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  991. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +2 -1
  992. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  993. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  994. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  995. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  996. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  997. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  998. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  999. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  1000. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1001. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
  1002. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1003. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  1004. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  1005. package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
  1006. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  1007. package/mobile/dist/components/Tabs/ScrollableTabs.js +0 -1
  1008. package/mobile/dist/components/Tabs/ScrollableTabs.js.map +1 -1
  1009. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  1010. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  1011. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  1012. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1013. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
  1014. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  1015. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  1016. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  1017. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  1018. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1019. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  1020. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1021. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  1022. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1023. package/mobile/dist/components/Tile/Tile.js +1 -1
  1024. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1025. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -14
  1026. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1027. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  1028. package/mobile/dist/content-page-repository/transformDocument.js +3 -0
  1029. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  1030. package/mobile/dist/hooks/useCarouselControls.d.ts +1 -1
  1031. package/mobile/dist/hooks/useCarouselControls.js +5 -6
  1032. package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
  1033. package/mobile/dist/model/Attachment.d.ts +2 -0
  1034. package/mobile/dist/model/JSXBlock.d.ts +1 -1
  1035. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1036. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1037. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1038. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1039. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  1040. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  1041. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1042. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  1043. package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
  1044. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1045. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  1046. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  1047. package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
  1048. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  1049. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  1050. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1051. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1052. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1053. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1054. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  1055. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  1056. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  1057. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1058. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +3 -3
  1059. package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
  1060. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  1061. package/mobile/dist/ui-kit/List/List.js +4 -4
  1062. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  1063. package/mobile/dist/ui-kit/List/ListItem.js +3 -3
  1064. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1065. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +4 -4
  1066. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1067. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  1068. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1069. package/mobile/dist/ui-kit/Logo/renderTitle.js +1 -1
  1070. package/mobile/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  1071. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  1072. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1073. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  1074. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  1075. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1076. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +1 -1
  1077. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1078. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  1079. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1080. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  1081. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
  1082. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  1083. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  1084. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1085. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +1 -1
  1086. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1087. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  1088. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  1089. package/mobile/dist/utils/formatBytes.d.ts +1 -0
  1090. package/mobile/dist/utils/formatBytes.js +13 -0
  1091. package/mobile/dist/utils/formatBytes.js.map +1 -0
  1092. package/mobile/fonts/mohave/Mohave-Regular.otf +0 -0
  1093. package/mobile/fonts/mohave/Mohave-Regular.ttf +0 -0
  1094. package/mobile/fonts/mohave/mohave.css +7 -0
  1095. package/mobile/fonts/ubuntu/ubuntu.css +67 -0
  1096. package/mobile/fonts/ubuntu/ubuntu.eot +0 -0
  1097. package/mobile/fonts/ubuntu/ubuntu.ttf +0 -0
  1098. package/mobile/fonts/ubuntu/ubuntu.woff +0 -0
  1099. package/mobile/fonts/ubuntu/ubuntu.woff2 +0 -0
  1100. package/mobile/fonts/ubuntu/ubuntubold.ttf +0 -0
  1101. package/mobile/fonts/ubuntu/ubuntubold.woff +0 -0
  1102. package/mobile/fonts/ubuntu/ubuntubold.woff2 +0 -0
  1103. package/mobile/fonts/ubuntu/ubuntubolditalic.ttf +0 -0
  1104. package/mobile/fonts/ubuntu/ubuntubolditalic.woff +0 -0
  1105. package/mobile/fonts/ubuntu/ubuntubolditalic.woff2 +0 -0
  1106. package/mobile/fonts/ubuntu/ubuntuitalic.ttf +0 -0
  1107. package/mobile/fonts/ubuntu/ubuntuitalic.woff +0 -0
  1108. package/mobile/fonts/ubuntu/ubuntuitalic.woff2 +0 -0
  1109. package/mobile/fonts/ubuntu/ubuntulight.ttf +0 -0
  1110. package/mobile/fonts/ubuntu/ubuntulight.woff +0 -0
  1111. package/mobile/fonts/ubuntu/ubuntulight.woff2 +0 -0
  1112. package/mobile/fonts/ubuntu/ubuntulightitalic.ttf +0 -0
  1113. package/mobile/fonts/ubuntu/ubuntulightitalic.woff +0 -0
  1114. package/mobile/fonts/ubuntu/ubuntulightitalic.woff2 +0 -0
  1115. package/mobile/fonts/ubuntu/ubuntumedium.ttf +0 -0
  1116. package/mobile/fonts/ubuntu/ubuntumedium.woff +0 -0
  1117. package/mobile/fonts/ubuntu/ubuntumedium.woff2 +0 -0
  1118. package/mobile/fonts/ubuntu/ubuntumediumitalic.ttf +0 -0
  1119. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff +0 -0
  1120. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff2 +0 -0
  1121. package/mobile/lib/BlockRenderer/renderBlock.d.ts +2 -4
  1122. package/mobile/lib/BlockRenderer/renderBlock.js +1 -2
  1123. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  1124. package/mobile/lib/BlockRenderer/renderBlockList.d.ts +5 -2
  1125. package/mobile/lib/BlockRenderer/renderBlockList.js +12 -7
  1126. package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -1
  1127. package/mobile/lib/BlockRenderer/renderChildren.d.ts +5 -4
  1128. package/mobile/lib/BlockRenderer/renderChildren.js +2 -2
  1129. package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -1
  1130. package/mobile/lib/common.css +1 -1
  1131. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  1132. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  1133. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  1134. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  1135. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  1136. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  1137. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  1138. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  1139. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  1140. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1141. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  1142. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  1143. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  1144. package/mobile/lib/components/Blocks.js +6 -0
  1145. package/mobile/lib/components/Blocks.js.map +1 -1
  1146. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  1147. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  1148. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  1149. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  1150. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  1151. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  1152. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  1153. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  1154. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  1155. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  1156. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  1157. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  1158. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  1159. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  1160. package/mobile/lib/components/Calculator/Calculator.js +5 -5
  1161. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  1162. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  1163. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  1164. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  1165. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  1166. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  1167. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  1168. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  1169. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  1170. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  1171. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  1172. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  1173. package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
  1174. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  1175. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  1176. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  1177. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  1178. package/mobile/lib/components/Calculator/constants.d.ts +12 -0
  1179. package/mobile/lib/components/Calculator/constants.js +24 -0
  1180. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  1181. package/mobile/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  1182. package/mobile/lib/components/Calculator/getMonthlyPayment.js +7 -2
  1183. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  1184. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  1185. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  1186. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  1187. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  1188. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  1189. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  1190. package/mobile/lib/components/Calculator/rangeHelpers.js +7 -3
  1191. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  1192. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  1193. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  1194. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  1195. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  1196. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1197. package/mobile/lib/components/Carousel/Carousel.js +18 -33
  1198. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  1199. package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -9
  1200. package/mobile/lib/components/Carousel/CarouselScrollButtons.d.ts +5 -6
  1201. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +4 -4
  1202. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  1203. package/mobile/lib/components/Carousel/renderControlButtons.d.ts +2 -3
  1204. package/mobile/lib/components/Carousel/renderControlButtons.js +3 -3
  1205. package/mobile/lib/components/Carousel/renderControlButtons.js.map +1 -1
  1206. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -2
  1207. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  1208. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  1209. package/mobile/lib/components/CarouselCard/CarouselCard.js +6 -5
  1210. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  1211. package/mobile/lib/components/CarouselCard/constants.js +2 -2
  1212. package/mobile/lib/components/CarouselCard/constants.js.map +1 -1
  1213. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  1214. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  1215. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  1216. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  1217. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  1218. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  1219. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +2 -2
  1220. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  1221. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +13 -12
  1222. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  1223. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  1224. package/mobile/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  1225. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  1226. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  1227. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -5
  1228. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  1229. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  1230. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  1231. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
  1232. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  1233. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  1234. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  1235. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  1236. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  1237. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  1238. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1239. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +1 -1
  1240. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  1241. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  1242. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  1243. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  1244. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  1245. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  1246. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1247. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  1248. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1249. package/mobile/lib/components/ContentPage/ContentPage.js +17 -10
  1250. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1251. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  1252. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  1253. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  1254. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  1255. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  1256. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  1257. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +4 -3
  1258. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  1259. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +3 -2
  1260. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  1261. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1262. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1263. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  1264. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1265. package/mobile/lib/components/Footer/Contacts.js +4 -3
  1266. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1267. package/mobile/lib/components/Footer/Footer.d.ts +1 -4
  1268. package/mobile/lib/components/Footer/Footer.js +3 -5
  1269. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1270. package/mobile/lib/components/Footer/FooterProps.d.ts +6 -0
  1271. package/mobile/lib/components/Footer/FooterProps.js +2 -0
  1272. package/mobile/lib/components/Footer/FooterProps.js.map +1 -0
  1273. package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
  1274. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1275. package/mobile/lib/components/Header/Header.d.ts +2 -5
  1276. package/mobile/lib/components/Header/Header.js +3 -6
  1277. package/mobile/lib/components/Header/Header.js.map +1 -1
  1278. package/mobile/lib/components/Header/HeaderContent.d.ts +0 -2
  1279. package/mobile/lib/components/Header/HeaderProps.d.ts +8 -0
  1280. package/mobile/lib/components/Header/HeaderProps.js +2 -0
  1281. package/mobile/lib/components/Header/HeaderProps.js.map +1 -0
  1282. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  1283. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1284. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  1285. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  1286. package/mobile/lib/components/Headline/Headline.js +1 -1
  1287. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1288. package/mobile/lib/components/Headline/headlineVersionStyles.js +4 -4
  1289. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  1290. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -8
  1291. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1292. package/mobile/lib/components/HorizontalLayout/gapStyles.js +6 -6
  1293. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  1294. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1295. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1296. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  1297. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1298. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +12 -14
  1299. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1300. package/mobile/lib/components/LinkDocs/LinkDocs.js +6 -2
  1301. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1302. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  1303. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  1304. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  1305. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  1306. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  1307. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  1308. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  1309. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  1310. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
  1311. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1312. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  1313. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1314. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  1315. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  1316. package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
  1317. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1318. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  1319. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1320. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1321. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1322. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  1323. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1324. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
  1325. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  1326. package/mobile/lib/components/RollupItem/RollupItem.js +5 -2
  1327. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1328. package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +6 -0
  1329. package/mobile/lib/components/SafeDepositRental/RadioButtons.js +11 -0
  1330. package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +1 -0
  1331. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  1332. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  1333. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +2 -1
  1334. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  1335. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  1336. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  1337. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1338. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1339. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  1340. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1341. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  1342. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1343. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
  1344. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1345. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  1346. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1347. package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
  1348. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  1349. package/mobile/lib/components/Tabs/ScrollableTabs.js +0 -1
  1350. package/mobile/lib/components/Tabs/ScrollableTabs.js.map +1 -1
  1351. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1352. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1353. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  1354. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1355. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
  1356. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  1357. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  1358. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1359. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  1360. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1361. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  1362. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1363. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  1364. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1365. package/mobile/lib/components/Tile/Tile.js +1 -1
  1366. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1367. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -14
  1368. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1369. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
  1370. package/mobile/lib/content-page-repository/transformDocument.js +3 -0
  1371. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  1372. package/mobile/lib/hooks/useCarouselControls.d.ts +1 -1
  1373. package/mobile/lib/hooks/useCarouselControls.js +5 -6
  1374. package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
  1375. package/mobile/lib/model/Attachment.d.ts +2 -0
  1376. package/mobile/lib/model/JSXBlock.d.ts +1 -1
  1377. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1378. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1379. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1380. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1381. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
  1382. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  1383. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1384. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  1385. package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
  1386. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1387. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1388. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  1389. package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
  1390. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  1391. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  1392. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1393. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1394. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1395. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1396. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  1397. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1398. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  1399. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1400. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +3 -3
  1401. package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
  1402. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  1403. package/mobile/lib/ui-kit/List/List.js +4 -4
  1404. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1405. package/mobile/lib/ui-kit/List/ListItem.js +3 -3
  1406. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1407. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +4 -4
  1408. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1409. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  1410. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1411. package/mobile/lib/ui-kit/Logo/renderTitle.js +1 -1
  1412. package/mobile/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  1413. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  1414. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1415. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  1416. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  1417. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1418. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +1 -1
  1419. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1420. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  1421. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1422. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
  1423. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
  1424. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  1425. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  1426. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1427. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +1 -1
  1428. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1429. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  1430. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  1431. package/mobile/lib/utils/formatBytes.d.ts +1 -0
  1432. package/mobile/lib/utils/formatBytes.js +10 -0
  1433. package/mobile/lib/utils/formatBytes.js.map +1 -0
  1434. package/mobile/src/BlockRenderer/renderBlock.tsx +3 -6
  1435. package/mobile/src/BlockRenderer/renderBlockList.tsx +29 -12
  1436. package/mobile/src/BlockRenderer/renderChildren.ts +7 -6
  1437. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1438. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1439. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1440. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1441. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1442. package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1443. package/mobile/src/components/Blocks.ts +6 -0
  1444. package/mobile/src/components/Bonus/Bonus.tsx +3 -3
  1445. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1446. package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +2 -1
  1447. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1448. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1449. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1450. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1451. package/mobile/src/components/Calculator/Calculator.tsx +7 -7
  1452. package/mobile/src/components/Calculator/CalculatorContent.ts +25 -1
  1453. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1454. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1455. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1456. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1457. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  1458. package/mobile/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1459. package/mobile/src/components/Calculator/constants.ts +26 -0
  1460. package/mobile/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1461. package/mobile/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1462. package/mobile/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1463. package/mobile/src/components/Calculator/rangeHelpers.ts +7 -3
  1464. package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1465. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1466. package/mobile/src/components/Carousel/Carousel.tsx +47 -45
  1467. package/mobile/src/components/Carousel/CarouselContent.ts +3 -9
  1468. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +22 -25
  1469. package/mobile/src/components/Carousel/renderControlButtons.tsx +2 -4
  1470. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -2
  1471. package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -21
  1472. package/mobile/src/components/CarouselCard/constants.ts +2 -2
  1473. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +14 -20
  1474. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +3 -4
  1475. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +3 -11
  1476. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +3 -8
  1477. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +42 -43
  1478. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1479. package/mobile/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1480. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +16 -23
  1481. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +3 -8
  1482. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -2
  1483. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  1484. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
  1485. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  1486. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +1 -1
  1487. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  1488. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +4 -9
  1489. package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1490. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +5 -5
  1491. package/mobile/src/components/ContentPage/ContentPage.tsx +69 -51
  1492. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1493. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1494. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1495. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +26 -10
  1496. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -6
  1497. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1498. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1499. package/mobile/src/components/Footer/Contacts.tsx +7 -6
  1500. package/mobile/src/components/Footer/Footer.tsx +8 -12
  1501. package/mobile/src/components/Footer/FooterProps.ts +7 -0
  1502. package/mobile/src/components/GracePeriod/GracePeriod.tsx +11 -5
  1503. package/mobile/src/components/Header/Header.tsx +5 -16
  1504. package/mobile/src/components/Header/HeaderContent.ts +0 -2
  1505. package/mobile/src/components/Header/HeaderProps.ts +9 -0
  1506. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -3
  1507. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  1508. package/mobile/src/components/Header/sitemap.wcms-resource.json +144 -0
  1509. package/mobile/src/components/Headline/Headline.tsx +1 -1
  1510. package/mobile/src/components/Headline/headlineVersionStyles.ts +4 -4
  1511. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +3 -25
  1512. package/mobile/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1513. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1514. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  1515. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +15 -24
  1516. package/mobile/src/components/LinkDocs/LinkDocs.tsx +11 -3
  1517. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1518. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1519. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  1520. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1521. package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
  1522. package/mobile/src/components/OfficeMap/OfficeMap.tsx +6 -6
  1523. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +5 -5
  1524. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1525. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1526. package/mobile/src/components/Placeholder/Placeholder.tsx +2 -2
  1527. package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1528. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  1529. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1530. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +15 -16
  1531. package/mobile/src/components/RollupItem/RollupItem.tsx +7 -4
  1532. package/mobile/src/components/SafeDepositRental/{RenderRadioButtons.tsx → RadioButtons.tsx} +8 -3
  1533. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +3 -3
  1534. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +5 -2
  1535. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +3 -3
  1536. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1537. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +10 -8
  1538. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1539. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -12
  1540. package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -5
  1541. package/mobile/src/components/StepsBlock/renderStep.tsx +7 -7
  1542. package/mobile/src/components/Tabs/ScrollableTabs.tsx +0 -1
  1543. package/mobile/src/components/Tabs/renderGroupTab.tsx +1 -1
  1544. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +1 -1
  1545. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1546. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -2
  1547. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1548. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1549. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1550. package/mobile/src/components/Tile/Tile.tsx +1 -1
  1551. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +0 -1
  1552. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +14 -35
  1553. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +0 -2
  1554. package/mobile/src/content-page-repository/transformDocument.ts +3 -0
  1555. package/mobile/src/hooks/useCarouselControls.ts +8 -7
  1556. package/mobile/src/model/Attachment.ts +2 -0
  1557. package/mobile/src/model/JSXBlock.ts +1 -1
  1558. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1559. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1560. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +5 -5
  1561. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +7 -5
  1562. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1563. package/mobile/src/ui-kit/BlockWrapper.tsx +2 -2
  1564. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1565. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1566. package/mobile/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1567. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1568. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1569. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1570. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  1571. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1572. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +3 -3
  1573. package/mobile/src/ui-kit/LinkList/LinkList.tsx +2 -2
  1574. package/mobile/src/ui-kit/List/List.tsx +4 -4
  1575. package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
  1576. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +6 -7
  1577. package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +1 -1
  1578. package/mobile/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1579. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -4
  1580. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1581. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  1582. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +3 -3
  1583. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
  1584. package/mobile/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +10 -12
  1585. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  1586. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +1 -1
  1587. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1588. package/mobile/src/utils/formatBytes.ts +12 -0
  1589. package/package.json +4 -2
  1590. package/src/BlockRenderer/renderBlock.tsx +3 -6
  1591. package/src/BlockRenderer/renderBlockList.tsx +29 -12
  1592. package/src/BlockRenderer/renderChildren.ts +7 -6
  1593. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1594. package/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1595. package/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1596. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1597. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +0 -1
  1598. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1599. package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +1 -0
  1600. package/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1601. package/src/components/Blocks.mobile.ts +6 -0
  1602. package/src/components/Bonus/Bonus.tsx +3 -3
  1603. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1604. package/src/components/BonusBenefitsBlock/renderBonusBenefits.mobile.tsx +2 -1
  1605. package/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1606. package/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1607. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1608. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1609. package/src/components/Calculator/Calculator.fixture.tsx +40 -0
  1610. package/src/components/Calculator/Calculator.tsx +7 -7
  1611. package/src/components/Calculator/CalculatorContent.ts +25 -1
  1612. package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1613. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1614. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1615. package/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1616. package/src/components/Calculator/UnknownRate.tsx +2 -2
  1617. package/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1618. package/src/components/Calculator/constants.ts +26 -0
  1619. package/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1620. package/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1621. package/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1622. package/src/components/Calculator/rangeHelpers.ts +7 -3
  1623. package/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1624. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1625. package/src/components/Carousel/Carousel.fixture.mobile.tsx +8 -53
  1626. package/src/components/Carousel/Carousel.fixture.tsx +4 -26
  1627. package/src/components/Carousel/Carousel.tsx +47 -45
  1628. package/src/components/Carousel/CarouselContent.ts +3 -9
  1629. package/src/components/Carousel/CarouselScrollButtons.tsx +22 -25
  1630. package/src/components/Carousel/renderControlButtons.tsx +2 -4
  1631. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -7
  1632. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -2
  1633. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +34 -67
  1634. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
  1635. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
  1636. package/src/components/CarouselCard/CarouselCard.tsx +15 -21
  1637. package/src/components/CarouselCard/constants.ts +2 -2
  1638. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +14 -20
  1639. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +5 -3
  1640. package/src/components/CarouselEventCard/CarouselEventCard.tsx +3 -4
  1641. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +3 -11
  1642. package/src/components/CarouselLinks/CarouselLinks.tsx +3 -8
  1643. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +7 -4
  1644. package/src/components/CarouselProductCard/CarouselProductCard.tsx +42 -43
  1645. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1646. package/src/components/CarouselProductCard/alignTextStyle.mobile.tsx +1 -0
  1647. package/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1648. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +16 -23
  1649. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +3 -8
  1650. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +24 -30
  1651. package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +1 -1
  1652. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -2
  1653. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  1654. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
  1655. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
  1656. package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  1657. package/src/components/ComparisonTable/ComparisonTableBody.tsx +1 -1
  1658. package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  1659. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +4 -9
  1660. package/src/components/ComparisonTable/HeaderCell.tsx +5 -10
  1661. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  1662. package/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1663. package/src/components/ContactsBlock/ContactsBlock.tsx +5 -5
  1664. package/src/components/ContentPage/ContentPage.tsx +69 -51
  1665. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1666. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1667. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1668. package/src/components/ExchangeRateTile/CurrencyTable.tsx +26 -10
  1669. package/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -6
  1670. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1671. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +19 -0
  1672. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1673. package/src/components/Footer/Contacts.tsx +7 -6
  1674. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -1
  1675. package/src/components/Footer/Footer.fixture.tsx +4 -17
  1676. package/src/components/Footer/Footer.mobile.tsx +8 -12
  1677. package/src/components/Footer/Footer.tsx +13 -17
  1678. package/src/components/Footer/FooterProps.ts +7 -0
  1679. package/src/components/GracePeriod/GracePeriod.tsx +11 -5
  1680. package/src/components/Header/Header.fixture.mobile.tsx +5 -2
  1681. package/src/components/Header/Header.fixture.tsx +4 -3
  1682. package/src/components/Header/Header.mobile.tsx +5 -16
  1683. package/src/components/Header/Header.tsx +11 -32
  1684. package/src/components/Header/HeaderContent.ts +0 -2
  1685. package/src/components/Header/HeaderProps.ts +9 -0
  1686. package/src/components/Header/HeaderSubMenu.tsx +3 -3
  1687. package/src/components/Header/HeaderTop.tsx +1 -1
  1688. package/src/components/Header/sitemap.wcms-resource.json +144 -0
  1689. package/src/components/Headline/Headline.tsx +1 -1
  1690. package/src/components/Headline/headlineVersionStyles.ts +4 -4
  1691. package/src/components/HorizontalLayout/HorizontalLayout.fixture.mobile.tsx +72 -0
  1692. package/src/components/HorizontalLayout/HorizontalLayout.mobile.tsx +12 -0
  1693. package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1694. package/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1695. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1696. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  1697. package/src/components/InvestmentInfo/InvestmentInfo.tsx +15 -24
  1698. package/src/components/LinkDocs/LinkDocs.tsx +11 -3
  1699. package/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1700. package/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1701. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  1702. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1703. package/src/components/MobileAppTile/renderList.tsx +1 -1
  1704. package/src/components/OfficeMap/OfficeMap.tsx +6 -6
  1705. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +5 -5
  1706. package/src/components/PictureText/PictureText.tsx +1 -1
  1707. package/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1708. package/src/components/Placeholder/Placeholder.tsx +2 -2
  1709. package/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1710. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1711. package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +214 -0
  1712. package/src/components/ProductTile/ProductTile.tsx +1 -1
  1713. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1714. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +1 -1
  1715. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -1
  1716. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +15 -16
  1717. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -19
  1718. package/src/components/RollupItem/RollupItem.tsx +7 -4
  1719. package/src/components/SafeDepositRental/{RenderRadioButtons.tsx → RadioButtons.tsx} +8 -3
  1720. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +3 -3
  1721. package/src/components/SafeDepositRental/RentalPeriod.tsx +5 -2
  1722. package/src/components/SafeDepositRental/SafeBoxCases.tsx +3 -3
  1723. package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +15 -0
  1724. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1725. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +10 -8
  1726. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1727. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -12
  1728. package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -5
  1729. package/src/components/StepsBlock/StepsBlock.tsx +20 -20
  1730. package/src/components/StepsBlock/renderStep.tsx +7 -7
  1731. package/src/components/Tabs/ScrollableTabs.tsx +0 -1
  1732. package/src/components/Tabs/renderGroupTab.tsx +1 -1
  1733. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +1 -1
  1734. package/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1735. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -2
  1736. package/src/components/TariffsTable/TariffsTable.tsx +6 -21
  1737. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1738. package/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1739. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1740. package/src/components/Tile/Tile.tsx +1 -1
  1741. package/src/components/VerticalLayout/VerticalLayout.example.json +0 -1
  1742. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +0 -3
  1743. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -10
  1744. package/src/components/VerticalLayout/VerticalLayout.tsx +14 -35
  1745. package/src/components/VerticalLayout/VerticalLayoutContent.ts +0 -2
  1746. package/src/content-page-repository/transformDocument.ts +3 -0
  1747. package/src/hooks/useCarouselControls.ts +8 -7
  1748. package/src/model/Attachment.ts +2 -0
  1749. package/src/model/JSXBlock.ts +1 -1
  1750. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1751. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1752. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +5 -5
  1753. package/src/ui-kit/BaseTile/BaseTile.tsx +7 -5
  1754. package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1755. package/src/ui-kit/BlockWrapper.tsx +2 -2
  1756. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1757. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1758. package/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1759. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1760. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1761. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1762. package/src/ui-kit/Input/Input.tsx +1 -1
  1763. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1764. package/src/ui-kit/LinkButton/LinkButton.tsx +3 -3
  1765. package/src/ui-kit/LinkList/LinkList.tsx +2 -2
  1766. package/src/ui-kit/List/List.fixture.tsx +4 -4
  1767. package/src/ui-kit/List/List.tsx +4 -4
  1768. package/src/ui-kit/List/ListItem.tsx +3 -3
  1769. package/src/ui-kit/LocationDialog/LocationDialog.tsx +6 -7
  1770. package/src/ui-kit/LocationDialog/SearchBar.tsx +1 -1
  1771. package/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1772. package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +1 -1
  1773. package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
  1774. package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -4
  1775. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1776. package/src/ui-kit/Select/Select.tsx +1 -1
  1777. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +3 -3
  1778. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
  1779. package/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +10 -12
  1780. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  1781. package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
  1782. package/src/ui-kit/YandexMap/YandexMap.tsx +1 -1
  1783. package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1784. package/src/utils/formatBytes.ts +12 -0
  1785. package/tailwind.config.cjs +13 -16
  1786. package/bundle/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1787. package/bundle/components/CarouselCard/getCardWidth.d.ts +0 -1
  1788. package/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1789. package/bundle/components/Header/HeaderBurger.d.ts +0 -9
  1790. package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1791. package/dist/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1792. package/dist/components/Calculator/renderProposalMortgage.js +0 -10
  1793. package/dist/components/Calculator/renderProposalMortgage.js.map +0 -1
  1794. package/dist/components/CarouselCard/getCardWidth.d.ts +0 -1
  1795. package/dist/components/CarouselCard/getCardWidth.js +0 -18
  1796. package/dist/components/CarouselCard/getCardWidth.js.map +0 -1
  1797. package/dist/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1798. package/dist/components/CarouselRecommendationCard/cardStyle.js +0 -4
  1799. package/dist/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
  1800. package/dist/components/Header/HeaderBurger.d.ts +0 -9
  1801. package/dist/components/Header/HeaderBurger.js +0 -17
  1802. package/dist/components/Header/HeaderBurger.js.map +0 -1
  1803. package/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1804. package/dist/components/SafeDepositRental/RenderRadioButtons.js +0 -12
  1805. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
  1806. package/lib/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1807. package/lib/components/Calculator/renderProposalMortgage.js +0 -7
  1808. package/lib/components/Calculator/renderProposalMortgage.js.map +0 -1
  1809. package/lib/components/CarouselCard/getCardWidth.d.ts +0 -1
  1810. package/lib/components/CarouselCard/getCardWidth.js +0 -15
  1811. package/lib/components/CarouselCard/getCardWidth.js.map +0 -1
  1812. package/lib/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1813. package/lib/components/CarouselRecommendationCard/cardStyle.js +0 -2
  1814. package/lib/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
  1815. package/lib/components/Header/HeaderBurger.d.ts +0 -9
  1816. package/lib/components/Header/HeaderBurger.js +0 -15
  1817. package/lib/components/Header/HeaderBurger.js.map +0 -1
  1818. package/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1819. package/lib/components/SafeDepositRental/RenderRadioButtons.js +0 -10
  1820. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
  1821. package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1822. package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +0 -1
  1823. package/mobile/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1824. package/mobile/bundle/components/Header/HeaderBurger.d.ts +0 -9
  1825. package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1826. package/mobile/dist/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1827. package/mobile/dist/components/Calculator/renderProposalMortgage.js +0 -10
  1828. package/mobile/dist/components/Calculator/renderProposalMortgage.js.map +0 -1
  1829. package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +0 -1
  1830. package/mobile/dist/components/CarouselCard/getCardWidth.js +0 -18
  1831. package/mobile/dist/components/CarouselCard/getCardWidth.js.map +0 -1
  1832. package/mobile/dist/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1833. package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js +0 -4
  1834. package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
  1835. package/mobile/dist/components/Header/HeaderBurger.d.ts +0 -9
  1836. package/mobile/dist/components/Header/HeaderBurger.js +0 -17
  1837. package/mobile/dist/components/Header/HeaderBurger.js.map +0 -1
  1838. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1839. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +0 -12
  1840. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
  1841. package/mobile/lib/components/Calculator/renderProposalMortgage.d.ts +0 -8
  1842. package/mobile/lib/components/Calculator/renderProposalMortgage.js +0 -7
  1843. package/mobile/lib/components/Calculator/renderProposalMortgage.js.map +0 -1
  1844. package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +0 -1
  1845. package/mobile/lib/components/CarouselCard/getCardWidth.js +0 -15
  1846. package/mobile/lib/components/CarouselCard/getCardWidth.js.map +0 -1
  1847. package/mobile/lib/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
  1848. package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js +0 -2
  1849. package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
  1850. package/mobile/lib/components/Header/HeaderBurger.d.ts +0 -9
  1851. package/mobile/lib/components/Header/HeaderBurger.js +0 -15
  1852. package/mobile/lib/components/Header/HeaderBurger.js.map +0 -1
  1853. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
  1854. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +0 -10
  1855. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
  1856. package/mobile/src/components/Calculator/renderProposalMortgage.tsx +0 -22
  1857. package/mobile/src/components/CarouselCard/getCardWidth.tsx +0 -16
  1858. package/mobile/src/components/CarouselRecommendationCard/cardStyle.ts +0 -2
  1859. package/mobile/src/components/Header/HeaderBurger.tsx +0 -54
  1860. package/src/components/Calculator/renderProposalMortgage.tsx +0 -22
  1861. package/src/components/CarouselCard/getCardWidth.tsx +0 -16
  1862. package/src/components/CarouselRecommendationCard/cardStyle.ts +0 -2
  1863. package/src/components/Header/HeaderBurger.tsx +0 -54
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRefinancingCalculatorRateParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/getRefinancingCalculatorRateParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qCAAqC,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AAYxG,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,EACjD,QAAQ,GAAG,EAAE,EACb,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,UAAU,GAC8B,EAAE,EAAE,CAC5C,QAAQ,EAAE,IAAI,CACZ,CAAC,GAAG,EAAE,EAAE,CACN,yCAAyC,CAAC;IACxC,GAAG;IACH,eAAe;IACf,kBAAkB;CACnB,CAAC;IACF,gBAAgB,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,GAAG,CAAC;IACvD,gBAAgB,CAAC,iBAAiB,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC;IACpE,gBAAgB,CAAC,UAAU,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,EAAE,GAAG,CAAC;IACjE,gBAAgB,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,CACjE,IAAI,qCAAqC,CAAC"}
@@ -1,6 +1,6 @@
1
+ import { min } from '../../utils/minBy.js';
1
2
  import { max } from '../../utils/maxBy.js';
2
3
  import { mergeIntervals } from '../../utils/mergeIntervals.js';
3
- import { min } from '../../utils/minBy.js';
4
4
  export const getLimitRangeByKeys = ([minKey, maxKey], limitParams, rateRows = []) => limitParams && limitParams[minKey] && limitParams[maxKey]
5
5
  ? {
6
6
  [minKey]: limitParams[minKey],
@@ -8,8 +8,12 @@ export const getLimitRangeByKeys = ([minKey, maxKey], limitParams, rateRows = []
8
8
  }
9
9
  : getRangeByKeys([minKey, maxKey], rateRows);
10
10
  export const getRangeByKeys = ([minKey, maxKey], rows = []) => ({
11
- [minKey]: rows.length ? min(rows.filter((row) => row[minKey]).map((row) => row[minKey])) : 0,
12
- [maxKey]: rows.length ? max(rows.filter((row) => row[maxKey]).map((row) => row[maxKey])) : 0,
11
+ [minKey]: rows.length
12
+ ? min(rows.filter((row) => typeof row[minKey] === 'number').map((row) => row[minKey]))
13
+ : 0,
14
+ [maxKey]: rows.length
15
+ ? max(rows.filter((row) => typeof row[minKey] === 'number').map((row) => row[maxKey]))
16
+ : 0,
13
17
  });
14
18
  export const getMergeRangesByKeys = ([minKey, maxKey], rows = []) => mergeIntervals(rows.map((row) => [row[minKey], row[maxKey]]));
15
19
  export const checkRangeByKeys = (value, [minKey, maxKey], sourceBookRow) => value >= sourceBookRow[minKey] && value <= sourceBookRow[maxKey];
@@ -1 +1 @@
1
- {"version":3,"file":"rangeHelpers.js","sourceRoot":"","sources":["../../../src/components/Calculator/rangeHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAKjC,CAAC,MAAM,EAAE,MAAM,CAAmB,EAClC,WAAe,EACf,WAAgB,EAAE,EAClB,EAAE,CACF,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC;IACvD,CAAC,CAAC;QACE,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;QAC7B,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;KAC9B;IACH,CAAC,CAAC,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG,CAK5B,CAAC,MAAM,EAAE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AAM,oBAAoB,GAAG,CAKlC,CAAC,MAAM,EAAE,MAAM,CAAmB,EAClC,OAAY,EAAE,EACd,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAK9B,KAAa,EACb,CAAC,MAAM,EAAE,MAAM,CAAmB,EAClC,aAAgB,EACP,EAAE,CAAC,KAAK,IAAI,aAAa,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { RefinancingCalculatorParamsViewSettings } from './CalculatorContent';
2
+ export interface CommonRefinancingParams {
3
+ isSalaryClient: boolean;
4
+ isInsurance: boolean;
5
+ isExtraMoney: boolean;
6
+ }
7
+ export interface RefinancingCalculatorSourceBookRateParams extends CommonRefinancingParams {
8
+ minSum: number;
9
+ maxSum: number;
10
+ minSumOld: number;
11
+ maxSumOld: number;
12
+ minSumExtra: number;
13
+ maxSumExtra: number;
14
+ minMonths: number;
15
+ maxMonths: number;
16
+ rate: number;
17
+ }
18
+ export interface RefinancingCalculatorSourceBookLimitParams extends CommonRefinancingParams {
19
+ minSum: number;
20
+ maxSum: number;
21
+ minSumOld: number;
22
+ maxSumOld: number;
23
+ minSumExtra: number;
24
+ maxSumExtra: number;
25
+ minMonths: number;
26
+ maxMonths: number;
27
+ }
28
+ export interface RefinancingCalculatorUserInputParams extends CommonRefinancingParams {
29
+ isAnnuity: boolean;
30
+ moneyValue: number;
31
+ oldMonthlyPayment: number;
32
+ moneyExtra: number;
33
+ monthsValue: number;
34
+ }
35
+ export interface RefinancingCalculatorParams extends RefinancingCalculatorSourceBookRateParams, RefinancingCalculatorUserInputParams {
36
+ monthlyPayment: number;
37
+ benefit: number;
38
+ }
39
+ export declare type RefinancingCalculatorData = {
40
+ rateRows?: RefinancingCalculatorSourceBookRateParams[];
41
+ limitRows?: RefinancingCalculatorSourceBookLimitParams[];
42
+ };
43
+ export declare const useRefinancingCalculatorParams: (userInputParams: RefinancingCalculatorUserInputParams, sourceBookDir?: string, paramsViewSettings?: RefinancingCalculatorParamsViewSettings) => RefinancingCalculatorParams;
@@ -0,0 +1,54 @@
1
+ import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
2
+ import { clamp } from '../../utils/clamp.js';
3
+ import { DEFAULT_REFINANCING_CALCULATOR_PARAMS, REFINANCING_CALC_DEFAULT_DIR } from './constants.js';
4
+ import { getLimitRangeByKeys } from './rangeHelpers.js';
5
+ import { useCalculatorParams } from './useCalculatorParams.js';
6
+ import { getRefinancingCalculatorLimitParams } from './getRefinancingCalculatorLimitParams.js';
7
+ import { getRefinancingCalculatorRateParams } from './getRefinancingCalculatorRateParams.js';
8
+ import { getMonthlyPayment } from './getMonthlyPayment.js';
9
+ export const useRefinancingCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
10
+ let { moneyValue, monthsValue, oldMonthlyPayment, moneyExtra } = userInputParams;
11
+ const data = useCalculatorParams(sourceBookDir || REFINANCING_CALC_DEFAULT_DIR);
12
+ const rateRows = data?.rateRows || [DEFAULT_REFINANCING_CALCULATOR_PARAMS];
13
+ const limitRows = data?.limitRows || [];
14
+ const sourceBookLimitParams = getRefinancingCalculatorLimitParams({
15
+ limitRows,
16
+ userInputParams,
17
+ paramsViewSettings,
18
+ });
19
+ const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], sourceBookLimitParams, rateRows);
20
+ const { minSumOld, maxSumOld } = getLimitRangeByKeys(['minSumOld', 'maxSumOld'], sourceBookLimitParams, rateRows);
21
+ const { minSumExtra, maxSumExtra } = getLimitRangeByKeys(['minSumExtra', 'maxSumExtra'], sourceBookLimitParams, rateRows);
22
+ const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], sourceBookLimitParams, rateRows);
23
+ moneyValue = clamp(moneyValue, minSum, maxSum);
24
+ oldMonthlyPayment = clamp(oldMonthlyPayment, minSumOld, maxSumOld);
25
+ moneyExtra = clamp(moneyExtra, minSumExtra, maxSumExtra);
26
+ monthsValue = clamp(monthsValue, minMonths, maxMonths);
27
+ const refinancingCalculatorSourceBookRateParams = getRefinancingCalculatorRateParams({
28
+ rateRows,
29
+ userInputParams,
30
+ paramsViewSettings,
31
+ moneyValue,
32
+ monthsValue,
33
+ oldMonthlyPayment,
34
+ moneyExtra,
35
+ });
36
+ const { rate } = refinancingCalculatorSourceBookRateParams;
37
+ const monthlyPayment = getMonthlyPayment(rate, userInputParams);
38
+ const benefit = userInputParams.oldMonthlyPayment - monthlyPayment;
39
+ return useMemo(() => ({
40
+ ...refinancingCalculatorSourceBookRateParams,
41
+ ...userInputParams,
42
+ minSum,
43
+ maxSum,
44
+ minMonths,
45
+ maxMonths,
46
+ moneyValue,
47
+ monthsValue,
48
+ oldMonthlyPayment,
49
+ moneyExtra,
50
+ monthlyPayment,
51
+ benefit,
52
+ }), [userInputParams, data]);
53
+ };
54
+ //# sourceMappingURL=useRefinancingCalculatorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useRefinancingCalculatorParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,qCAAqC,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC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;IACnE,UAAU,GAAG,KAAK,CAAC,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IACzD,WAAW,GAAG,KAAK,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAEvD,MAAM,yCAAyC,GAAG,kCAAkC,CAAC;QACnF,QAAQ;QACR,eAAe;QACf,kBAAkB;QAClB,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;KACX,CAAC,CAAC;IACH,MAAM,EAAE,IAAI,EAAE,GAAG,yCAAyC,CAAC;IAC3D,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAEhE,MAAM,OAAO,GAAG,eAAe,CAAC,iBAAiB,GAAG,cAAc,CAAC;IAEnE,OAAO,OAAO,CACZ,GAAG,EAAE,CAAC,CAAC;QACL,GAAG,yCAAyC;QAC5C,GAAG,eAAe;QAClB,MAAM;QACN,MAAM;QACN,SAAS;QACT,SAAS;QACT,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;QACV,cAAc;QACd,OAAO;KACR,CAAC,EACF,CAAC,eAAe,EAAE,IAAI,CAAC,CACxB,CAAC;AACJ,CAAC,CAAC"}
@@ -23,6 +23,6 @@ export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label
23
23
  ? getDisabledButtonClasses({ version: button?.version })
24
24
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
25
25
  const link = useLink();
26
- return (_jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-default", ...rest, children: [title ? (_jsx(Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, _jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (_jsx("button", { type: "submit", className: style('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
26
+ return (_jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (_jsx(Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, _jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (_jsx("button", { type: "submit", className: style('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
27
27
  });
28
28
  //# sourceMappingURL=CardTransfer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,UAAU,GAAG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WAAW,CAAC,EACxD,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,49 +1,36 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
3
  import { renderBlock } from '../../BlockRenderer/renderBlock.js';
5
4
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
5
+ import { useCarouselControls } from '../../hooks/useCarouselControls.js';
6
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
7
  import { SwipeListContainer } from '../../ui-kit/SwipeListControl/SwipeListContainer.js';
8
+ import { SwipeListControlDots } from '../../ui-kit/SwipeListControl/SwipeListControlDots.js';
8
9
  import { useSwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListScroll.js';
9
10
  import { style } from '../../utils/style.js';
11
+ import { CarouselScrollButtons } from './CarouselScrollButtons.js';
10
12
  import { ITEMS_GAP } from './itemsGap.js';
11
- import { renderControlButtons } from './renderControlButtons.js';
12
- export const Carousel = JSX(({ className = '', itemCount, visibleItemCount = 0, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, showDots = false, isAlignCenter = false, showArrows = true, isGap = true, ...rest }) => {
13
+ export const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, showDots, arrowsPadded = true, isGap = true, ...rest }) => {
13
14
  const { blocks: childBlocks = [] } = rest.block || {};
14
15
  const count = itemCount || childBlocks?.length;
15
- const [activeIndex, setActiveIndex] = useState(Math.floor(visibleItemCount / 2));
16
- const increaseActiveIndex = useCallback(() => setActiveIndex((_) => _ + 1), []);
17
- const decreaseActiveIndex = useCallback(() => setActiveIndex((_) => _ - 1), []);
18
- const [containerRef, scroll] = useSwipeListScroll({
16
+ const [activeIndex, { inc: increaseActiveIndex, dec: decreaseActiveIndex }] = useCarouselControls({
19
17
  itemCount: count,
20
- isCyclic,
21
- });
18
+ visibleItemCount,
19
+ }, Math.floor(visibleItemCount / 2));
20
+ const [containerRef, scroll] = useSwipeListScroll({ itemCount: count });
22
21
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
22
+ // TODO Remove
23
23
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
24
- return (_jsx(BlockWrapper, { className: className, defaultPadding: getPaddingStyle(isPadding), ...rest, children: _jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [_jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
24
+ return (_jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: _jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [_jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
25
25
  ...rest,
26
- renderProps: isBankHistoryCarousel
27
- ? (block, options) => renderBlock(block, options, {
28
- blocksLength: childBlocks?.length,
29
- activeIndex: activeIndex,
30
- })
31
- : renderBlock,
32
- }) }), renderControlButtons({
33
- showArrows,
34
- showDots,
35
- scrollButtonsProps: {
36
- scroll,
37
- arrowsPadded,
38
- isBlur,
39
- onScrollLeft: decreaseActiveIndex,
40
- onScrollRight: increaseActiveIndex,
41
- hasEdgeBlocks: isBankHistoryCarousel,
42
- activeIndex,
43
- itemCount: count,
44
- },
45
- dotsProps: { containerRef, activeIndex: dotsActiveIndex, dotCount: count },
46
- })] }) }));
26
+ renderProps: (block, options, blockIndex) => renderBlock(block, options, {
27
+ className: style('h-full min-w-80 sm:min-w-96', noCardBorder
28
+ ? ''
29
+ : 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'),
30
+ blockIndex,
31
+ isActive: activeIndex === blockIndex,
32
+ }),
33
+ }) }), _jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? (_jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })) : null] }) }));
47
34
  });
48
35
  Carousel.childrenTypes = [
49
36
  'CarouselCard',
@@ -58,6 +45,4 @@ Carousel.childrenTypes = [
58
45
  'CarouselInvestmentCard',
59
46
  'CarouselEventCard',
60
47
  ];
61
- const getPaddingStyle = (isPadding) => (isPadding ? 'p-default' : '');
62
- const getAlignStyle = (isAlignCenter) => isAlignCenter ? 'flex justify-center' : '';
63
48
  //# sourceMappingURL=Carousel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EA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AAC,CAAC,EAAE;gCACJ,CAAC,CAAC,0GAA0G,CAC/G;4BACD,UAAU;4BACV,QAAQ,EAAE,WAAW,KAAK,UAAU;yBACrC,CAAC;qBACL,CAAC,GACiB,EACrB,KAAC,qBAAqB,IACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,oBAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,eAAe,EAC5B,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAC,iBAAiB,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC"}
@@ -8,18 +8,12 @@ export declare type CarouselContent = UniBlockContent & {
8
8
  * @enumNames ["auto", "1", "2", "3", "4"]
9
9
  */
10
10
  visibleItemCount?: 0 | 1 | 2 | 3 | 4;
11
- /** @title Добавление блюра на стрелках*/
12
- isBlur?: boolean;
13
11
  /** @title Добавление отступа на стрелках */
14
12
  arrowsPadded?: boolean;
15
- /** @title Цикличность */
16
- isCyclic?: boolean;
17
- /** @title Внутренний отступ */
18
- isPadding?: boolean;
19
13
  /** @title Выравнивать по центру */
20
14
  isAlignCenter?: boolean;
21
- /** @title отображение кнопок-стрелок*/
22
- showArrows?: boolean;
23
- /** @title отсупы между карточками*/
15
+ /** @title Отступы между карточками */
24
16
  isGap?: boolean;
17
+ /** @title Не показывать контур на карточках */
18
+ noCardBorder?: boolean;
25
19
  };
@@ -1,12 +1,11 @@
1
- import { SwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListScroll';
1
+ import type { SwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListScroll';
2
2
  export interface CarouselScrollButtonsProps {
3
3
  scroll: SwipeListScroll;
4
- arrowsPadded: boolean;
5
- isBlur: boolean;
6
- onScrollLeft: () => void;
7
- onScrollRight: () => void;
8
- hasEdgeBlocks?: boolean;
9
4
  activeIndex: number;
10
5
  itemCount: number;
6
+ arrowsPadded?: boolean;
7
+ hasEdgeBlocks?: boolean;
8
+ onScrollLeft: () => void;
9
+ onScrollRight: () => void;
11
10
  }
12
11
  export declare const CarouselScrollButtons: import("@redneckz/uni-jsx").UNIComponent<CarouselScrollButtonsProps, any, any>;
@@ -4,8 +4,8 @@ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { ScrollLeftButton, ScrollRightButton } from '../../ui-kit/Button/ArrowButton.js';
5
5
  import { style } from '../../utils/style.js';
6
6
  const scrollButtonStyle = 'absolute top-[calc(50%-24px)] z-40';
7
- const blurBaseStyle = 'absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none';
8
- export const CarouselScrollButtons = JSX(({ scroll, arrowsPadded, isBlur, onScrollLeft, onScrollRight, hasEdgeBlocks, activeIndex, itemCount, }) => {
7
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
8
+ export const CarouselScrollButtons = JSX(({ scroll, activeIndex, itemCount, arrowsPadded, hasEdgeBlocks, onScrollLeft, onScrollRight, }) => {
9
9
  const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
10
10
  const canMoveLeft = hasEdgeBlocks ? activeIndex > 0 : canScrollLeft;
11
11
  const canMoveRight = hasEdgeBlocks ? activeIndex < itemCount - 1 : canScrollRight;
@@ -27,7 +27,7 @@ export const CarouselScrollButtons = JSX(({ scroll, arrowsPadded, isBlur, onScro
27
27
  onScrollRight();
28
28
  }
29
29
  }, [scrollRight, onScrollRight, hasEdgeBlocks, canScrollLeft, activeIndex, itemCount]);
30
- return (_jsxs("div", { children: [renderBlur(isBlur, scroll), canMoveLeft ? (_jsx(ScrollLeftButton, { className: style(scrollButtonStyle, arrowsPadded ? 'left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (_jsx(ScrollRightButton, { className: style(scrollButtonStyle, arrowsPadded ? 'right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
30
+ return (_jsxs("div", { children: [renderBlur(scroll), canMoveLeft ? (_jsx(ScrollLeftButton, { className: style(scrollButtonStyle, arrowsPadded ? 'left-1 @lg:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (_jsx(ScrollRightButton, { className: style(scrollButtonStyle, arrowsPadded ? 'right-1 @lg:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
31
31
  });
32
- const renderBlur = (isBlur, scroll) => isBlur ? (_jsxs("div", { children: [scroll.canScrollLeft ? (_jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white') })) : null, scroll.canScrollRight ? (_jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white') })) : null] })) : null;
32
+ const renderBlur = (scroll) => (_jsxs("div", { children: [scroll.canScrollLeft ? (_jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white') })) : null, scroll.canScrollRight ? (_jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white') })) : null] }));
33
33
  //# sourceMappingURL=CarouselScrollButtons.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselScrollButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselScrollButtons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,iBA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S,CAAC,CAAC,CAAC;IAEvF,OAAO,CACL,0BACG,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,EAC1B,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,gBAAgB,IACf,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EACvE,OAAO,EAAE,gBAAgB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,YAAY,CAAC,CAAC,CAAC,CACd,KAAC,iBAAiB,IAChB,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,EACzE,OAAO,EAAE,iBAAiB,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAe,EAAE,MAAuB,EAAE,EAAE,CAC9D,MAAM,CAAC,CAAC,CAAC,CACP,0BACG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CACtB,cAAK,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,8BAA8B,CAAC,GAAI,CACzE,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CACvB,cAAK,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,6BAA6B,CAAC,GAAI,CACxE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"CarouselScrollButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselScrollButtons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iCAAiC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CACL,0BACG,UAAU,CAAC,MAAM,CAAC,EAClB,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,gBAAgB,IACf,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClF,OAAO,EAAE,gBAAgB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,YAAY,CAAC,CAAC,CAAC,CACd,KAAC,iBAAiB,IAChB,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC,EACrF,OAAO,EAAE,iBAAiB,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAuB,EAAE,EAAE,CAAC,CAC9C,0BACG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CACtB,cAAK,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,8BAA8B,CAAC,GAAI,CACzE,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CACvB,cAAK,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,6BAA6B,CAAC,GAAI,CACxE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -1,10 +1,10 @@
1
- import { CarouselScrollButtonsProps } from './CarouselScrollButtons';
1
+ /// <reference types="react" />
2
2
  import { SwipeListControlDotsProps } from '../../ui-kit/SwipeListControl/SwipeListControlDots';
3
+ import { CarouselScrollButtonsProps } from './CarouselScrollButtons';
3
4
  interface renderControlButtonsProps {
4
- showArrows: boolean;
5
5
  showDots: boolean;
6
6
  scrollButtonsProps: CarouselScrollButtonsProps;
7
7
  dotsProps: SwipeListControlDotsProps;
8
8
  }
9
- export declare const renderControlButtons: ({ showArrows, showDots, scrollButtonsProps, dotsProps, }: renderControlButtonsProps) => (JSX.Element | null)[];
9
+ export declare const renderControlButtons: ({ showDots, scrollButtonsProps, dotsProps, }: renderControlButtonsProps) => (JSX.Element | null)[];
10
10
  export {};
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { CarouselScrollButtons } from './CarouselScrollButtons.js';
3
2
  import { SwipeListControlDots, } from '../../ui-kit/SwipeListControl/SwipeListControlDots.js';
4
- export const renderControlButtons = ({ showArrows, showDots, scrollButtonsProps, dotsProps, }) => {
3
+ import { CarouselScrollButtons } from './CarouselScrollButtons.js';
4
+ export const renderControlButtons = ({ showDots, scrollButtonsProps, dotsProps, }) => {
5
5
  return [
6
- showArrows ? _jsx(CarouselScrollButtons, { ...scrollButtonsProps }, "0") : null,
6
+ _jsx(CarouselScrollButtons, { ...scrollButtonsProps }, "0"),
7
7
  showDots ? _jsx(SwipeListControlDots, { ...dotsProps, listType: "horizontal-list" }, "1") : null,
8
8
  ];
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"renderControlButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/renderControlButtons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,qBAAqB,EAA8B,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EACL,oBAAoB,GAErB,MAAM,oDAAoD,CAAC;AAS5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,SAAS,GACiB,EAAE,EAAE;IAC9B,OAAO;QACL,UAAU,CAAC,CAAC,CAAC,KAAC,qBAAqB,OAAa,kBAAkB,IAA1B,GAAG,CAA2B,CAAC,CAAC,CAAC,IAAI;QAC7E,QAAQ,CAAC,CAAC,CAAC,KAAC,oBAAoB,OAAa,SAAS,EAAE,QAAQ,EAAC,iBAAiB,IAA7C,GAAG,CAA6C,CAAC,CAAC,CAAC,IAAI;KAC7F,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"renderControlButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/renderControlButtons.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,oBAAoB,GAErB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAA8B,MAAM,yBAAyB,CAAC;AAQ5F,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,QAAQ,EACR,kBAAkB,EAClB,SAAS,GACiB,EAAE,EAAE;IAC9B,OAAO;QACL,KAAC,qBAAqB,OAAa,kBAAkB,IAA1B,GAAG,CAA2B;QACzD,QAAQ,CAAC,CAAC,CAAC,KAAC,oBAAoB,OAAa,SAAS,EAAE,QAAQ,EAAC,iBAAiB,IAA7C,GAAG,CAA6C,CAAC,CAAC,CAAC,IAAI;KAC7F,CAAC;AACJ,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
3
3
  interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {
4
- blocksLength?: number;
5
- activeIndex?: number;
4
+ blockIndex?: number;
5
+ isActive?: boolean;
6
6
  }
7
7
  export declare const CarouselBankHistoryCard: import("@redneckz/uni-jsx").UNIComponent<CarouselBankHistoryCardProps, any, any>;
8
8
  export {};
@@ -3,44 +3,11 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { style } from '../../utils/style.js';
5
5
  import { Headline } from '../Headline/Headline.js';
6
- export const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
7
- const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
8
- const isActive = orderNumber === activeIndex;
9
- return (_jsx(BlockWrapper, { className: "flex h-[485px]", defaultPadding: "p-0", children: isActive ? (_jsx("div", { className: "relative flex items-center w-full", children: _jsx(Headline, { headlineVersion: "M", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] p-8 text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (_jsx("div", { className: "flex w-full items-center justify-center", children: _jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: _jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
10
- });
11
- const getBackgroundColor = (orderNumber) => {
12
- const division = orderNumber % 3;
13
- switch (division) {
14
- case 0:
15
- return 'bg-primary-main';
16
- case 1:
17
- return 'bg-green-light';
18
- case 2:
19
- return 'bg-yellow-light';
20
- default:
21
- return 'bg-primary-main';
22
- }
23
- };
24
- const getTextColor = (orderNumber) => {
25
- const division = orderNumber % 3;
26
- switch (division) {
27
- case 1:
28
- return 'gradient-color-text-on-yellow';
29
- case 2:
30
- return 'gradient-color-text-on-yellow';
31
- default:
32
- return 'gradient-color-text-on-green';
33
- }
34
- };
35
- const getActiveBlockPosition = (orderNumber, blocksLength) => {
36
- if (orderNumber === 0) {
37
- return 'left-9';
38
- }
39
- else if (orderNumber === blocksLength - 1) {
40
- return 'right-9';
41
- }
42
- else {
43
- return '-left-[25px]';
44
- }
45
- };
6
+ export const CarouselBankHistoryCard = JSX(({ className, title, description, blockIndex = 0, isActive, ...rest }) => (_jsx(BlockWrapper, { className: style('relative flex h-[485px]', isActive ? 'w-[440px] z-10' : 'w-[340px]', className), defaultPadding: "p-0", ...rest, children: _jsx("div", { className: style('basis-full self-center', getBackColor(blockIndex)), children: isActive ? (_jsx(Headline, { headlineVersion: "M", title: title, description: description, padding: "p-3xl", align: "text-left", className: "h-96 text-white shadow-dark-blue" })) : (_jsx("div", { className: "h-[300px] flex justify-center items-center font-mohave text-title-large tracking-[-0.03em]", children: _jsx("span", { className: getTextColor(blockIndex), children: title }) })) }) })));
7
+ const getBackColor = (blockIndex) => ['bg-primary-main', 'bg-green-light', 'bg-yellow-light'][blockIndex % 3];
8
+ const getTextColor = (blockIndex) => [
9
+ 'gradient-color-text-on-green',
10
+ 'gradient-color-text-on-yellow',
11
+ 'gradient-color-text-on-yellow',
12
+ ][blockIndex % 3];
46
13
  //# sourceMappingURL=CarouselBankHistoryCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAC,gBAAgB,EAAC,cAAc,EAAC,KAAK,YAC1D,QAAQ,CAAC,CAAC,CAAC,CACV,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,QAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,KAAK,CACd,mEAAmE,EACnE,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,EACjD,kBAAkB,CAAC,WAAW,CAAC,CAChC,GACD,GACE,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,yCAAyC,YACtD,cACE,SAAS,EAAE,KAAK,CACd,sGAAsG,EACtG,kBAAkB,CAAC,WAAW,CAAC,CAChC,YAED,eAAM,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,YAAG,KAAK,GAAQ,GACtD,GACF,CACP,GACY,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACjD,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAC3B,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC;QAC1B,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAC3B;YACE,OAAO,iBAAiB,CAAC;KAC5B;AACH,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC3C,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QACzC,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QACzC;YACE,OAAO,8BAA8B,CAAC;KACzC;AACH,CAAC,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,YAAoB,EAAE,EAAE;IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.t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;IAC/B,+BAA+B;CAChC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { style } from '../../utils/style.js';
5
4
  import { Headline } from '../Headline/Headline.js';
6
- export const CarouselBankHistoryCard = JSX(({ title, description, className }) => (_jsx(BlockWrapper, { className: style(className), defaultPadding: "p-default", children: _jsx(Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: "text-primary-text", isPadding: false }) })));
5
+ export const CarouselBankHistoryCard = JSX(({ title, description, className }) => (_jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", children: _jsx(Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: "text-primary-text", isPadding: false }) })));
7
6
  //# sourceMappingURL=CarouselBankHistoryCard.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselBankHistoryCard.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACrC,KAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,cAAc,EAAC,WAAW,YACnE,KAAC,QAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAC,mBAAmB,EAC7B,SAAS,EAAE,KAAK,GAChB,GACW,CAChB,CACF,CAAC"}
1
+ {"version":3,"file":"CarouselBankHistoryCard.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACrC,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,YACxD,KAAC,QAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAC,mBAAmB,EAC7B,SAAS,EAAE,KAAK,GAChB,GACW,CAChB,CACF,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { CarouselCardContent } from './CarouselCardContent';
2
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { CarouselCardContent } from './CarouselCardContent';
3
3
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
4
4
  }
5
5
  export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -1,13 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Headline } from '../Headline/Headline.js';
3
2
  import { JSX } from '@redneckz/uni-jsx';
4
- import { getCardWidth } from './getCardWidth.js';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
4
  import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
6
5
  import { style } from '../../utils/style.js';
6
+ import { Headline } from '../Headline/Headline.js';
7
7
  import { titleSize } from './titleSize.js';
8
- const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full sm:hidden';
9
- export const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => (_jsx("section", { className: style('flex pb-9 pl-12 sm:p-5 border-box h-full sm:max-w-[375px]', getCardWidth(className, carouselVersion), className), children: _jsxs("div", { className: "relative w-full", children: [_jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), _jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), _jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), _jsxs("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: titleSize, align: "text-left", version: version }), renderButtonsSection([button], {
10
- className: 'mt-14 sm:justify-center',
8
+ const layerBaseStyle = 'z-10 border border-solid w-full h-full';
9
+ const layerStyle = style(layerBaseStyle, 'absolute hidden sm:block border-transparent');
10
+ export const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (_jsx(BlockWrapper, { className: style('sm:pl-12 sm:pb-9', className), defaultPadding: "p-0", ...rest, children: _jsxs("div", { className: "relative", children: [_jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), _jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), _jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), _jsxs("div", { className: style(layerBaseStyle, 'relative p-10 bg-white border-green-light'), children: [_jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isPadding: false }), renderButtonsSection([button], {
11
+ className: 'mt-6xl sm:justify-center',
11
12
  isVertical: true,
12
13
  })] })] }) })));
13
14
  //# sourceMappingURL=CarouselCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"C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CAAC,MAAM,CAAC,EAAE;wBAC9B,SAAS,EAAE,0BAA0B;wBACrC,UAAU,EAAE,IAAI;qBACjB,CAAC,IACE,IACF,GACO,CAChB,CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export const cardStyleMap = {
2
- normal: 'min-w-[100%] justify-center items-center m-7 col-span-12',
3
- small: 'min-w-auto justify-center items-center m-9 col-span-4',
2
+ normal: 'min-w-full justify-center items-center m-2xl col-span-12',
3
+ small: 'min-w-auto justify-center items-center m-4xl col-span-4',
4
4
  };
5
5
  export const cardWidthMap = {
6
6
  normal: 'w-[1007px]',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,uDAAuD;CAC/D,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgC;IACvD,MAAM,EAAE,YAAY;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,yDAAyD;CACjE,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgC;IACvD,MAAM,EAAE,YAAY;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC"}
@@ -2,15 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
5
- import { Heading } from '../../ui-kit/Heading/Heading.js';
6
5
  import { Img } from '../../ui-kit/Img/Img.js';
7
- import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
8
6
  import { Text } from '../../ui-kit/Text/Text.js';
9
7
  import { style } from '../../utils/style.js';
8
+ import { Headline } from '../Headline/Headline.js';
10
9
  const cardStyleMap = {
11
10
  black: 'bg-black',
12
11
  white: 'bg-white',
13
12
  };
14
- export const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (_jsxs(BlockWrapper, { className: style('border box-border border-gray p-default sm:p-7 h-full flex flex-col justify-left', className), ...rest, children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (_jsx("div", { className: "mb-4", children: _jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: _jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (_jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
13
+ export const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (_jsxs(BlockWrapper, { className: style('flex flex-col justify-left gap-m', className), defaultPadding: "p-6xl sm:p-7", ...rest, children: [image?.src ? _jsx(Img, { className: "flex justify-center", image: image }) : null, _jsx(Headline, { title: title, description: description, headlineVersion: "XS", isPadding: false, align: "text-left" }), colors?.length ? (_jsxs("div", { className: "flex text-secondary-text", children: [_jsx("div", { className: "mr-xs", children: _jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (_jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'w-full' })] })));
15
14
  const renderColorOption = (color, i) => (_jsx("div", { role: "figure", className: `w-6 h-6 ml-1 sm:ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
16
15
  //# sourceMappingURL=CarouselCatalogCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAK1C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACjF,MAAC,YAAY,IACX,SAAS,EAAE,KAAK,CACd,kFAAkF,EAClF,SAAS,CACV,KACG,IAAI,aAEP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,YAAY,YACzD,WAAW,GACF,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,YAAY,gDAEhD,GACH,EACL,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,MAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,aACnC,KAAK,oBACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,IACtD,CAChB,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,cACE,IAAI,EAAC,QAAQ,EAEb,SAAS,EAAE,6EAA6E,YAAY,CAAC,KAAK,CAAC,EAAE,IADxG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
1
+ {"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;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AC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,MAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,aACnC,KAAK,oBACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,IACjD,CAChB,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,cACE,IAAI,EAAC,QAAQ,EAEb,SAAS,EAAE,6EAA6E,YAAY,CAAC,KAAK,CAAC,EAAE,IADxG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
@@ -5,8 +5,7 @@ import { Heading } from '../../ui-kit/Heading/Heading.js';
5
5
  import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
7
7
  import { Text } from '../../ui-kit/Text/Text.js';
8
- import { style } from '../../utils/style.js';
9
8
  export const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
10
- return (_jsx(BlockWrapper, { className: style('w-[365px]', className), defaultPadding: "p-0", ...rest, children: _jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? _jsx(Img, { image: icon }) : null, icon?.src ? _jsx(Img, { image: icon }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (_jsx("div", { className: "mb-4", children: _jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
9
+ return (_jsx(BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: _jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? _jsx(Img, { image: icon }) : null, icon?.src ? _jsx(Img, { image: icon }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mt-s ml-s mb-xs", title: title })) : null, description ? (_jsx("div", { className: "ml-s mb-m", children: _jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
11
10
  });
12
11
  //# sourceMappingURL=CarouselEventCard.js.map