@redneckz/wildless-cms-uni-blocks 0.6.36 → 0.6.38

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 (1104) hide show
  1. package/bin/migration-scripts/0.6.32.js +6 -0
  2. package/bundle/EventBus/EventBus.d.ts +6 -5
  3. package/bundle/EventBus/EventMap.d.ts +1 -4
  4. package/bundle/ProjectSettings.d.ts +2 -0
  5. package/bundle/blocks.schema.json +1 -1
  6. package/bundle/bundle.umd.js +299 -207
  7. package/bundle/bundle.umd.min.js +1 -1
  8. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  9. package/{lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts → bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  10. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  11. package/bundle/components/Footer/FooterDataProps.d.ts +8 -3
  12. package/bundle/components/Gallery/GalleryContent.d.ts +5 -0
  13. package/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
  14. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  15. package/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  16. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  17. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  18. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  19. package/bundle/components/Tabs/LinkTab.d.ts +0 -1
  20. package/bundle/components/Tabs/Tabs.d.ts +0 -4
  21. package/bundle/components/Video/VideoContent.d.ts +1 -0
  22. package/bundle/services/BlockRouter/BlockIntersection.d.ts +2 -0
  23. package/bundle/services/BlockRouter/BlockRouter.d.ts +23 -0
  24. package/bundle/services/BlockRouter/findActiveBlock.d.ts +3 -0
  25. package/bundle/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  26. package/bundle/services/BlockRouter/useBlockRouter.d.ts +2 -0
  27. package/bundle/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  28. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  29. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  30. package/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  31. package/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  32. package/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
  33. package/bundle/ui-kit/Text/Text.d.ts +1 -26
  34. package/bundle/ui-kit/Text/TextProps.d.ts +26 -0
  35. package/bundle/utils/debounce.d.ts +5 -0
  36. package/dist/EventBus/EventBus.d.ts +6 -5
  37. package/dist/EventBus/EventBus.js +5 -3
  38. package/dist/EventBus/EventBus.js.map +1 -1
  39. package/dist/EventBus/EventMap.d.ts +1 -4
  40. package/dist/ProjectSettings.d.ts +2 -0
  41. package/dist/ProjectSettings.js +3 -0
  42. package/dist/ProjectSettings.js.map +1 -1
  43. package/dist/components/Accordion/Accordion.js +1 -1
  44. package/dist/components/Accordion/Accordion.js.map +1 -1
  45. package/dist/components/AccordionItem/AccordionItem.mobile.js +1 -1
  46. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  47. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  48. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  49. package/dist/components/Blocks.js +7 -3
  50. package/dist/components/Blocks.js.map +1 -1
  51. package/dist/components/Bonus/Bonus.js +2 -2
  52. package/dist/components/Bonus/Bonus.js.map +1 -1
  53. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  54. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  55. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  56. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  57. package/dist/components/Calculator/BonusCalculatorForm.js +4 -2
  58. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  59. package/dist/components/Calculator/CreditCalculatorForm.js +3 -1
  60. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  61. package/dist/components/Calculator/DepositCalculatorForm.js +4 -2
  62. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  63. package/dist/components/Calculator/renderProposal.js +2 -2
  64. package/dist/components/Calculator/renderProposal.js.map +1 -1
  65. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  66. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  67. package/dist/components/Carousel/Carousel.js +2 -1
  68. package/dist/components/Carousel/Carousel.js.map +1 -1
  69. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  70. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  71. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  72. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
  73. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  74. package/dist/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  75. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  76. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  77. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  78. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  79. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  80. package/dist/components/Catalog/Catalog.js +1 -1
  81. package/dist/components/Catalog/Catalog.js.map +1 -1
  82. package/dist/components/ComparisonTable/ComparisonTable.js +4 -4
  83. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  84. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  85. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  86. package/dist/components/ContentPage/ContentPage.js +2 -0
  87. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  88. package/dist/components/ContentPage/useContentPageData.js +4 -8
  89. package/dist/components/ContentPage/useContentPageData.js.map +1 -1
  90. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  91. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  92. package/dist/components/Footer/Footer.js +2 -2
  93. package/dist/components/Footer/Footer.js.map +1 -1
  94. package/dist/components/Footer/FooterDataProps.d.ts +8 -3
  95. package/dist/components/Footer/MediaButton.js +1 -1
  96. package/dist/components/Footer/MediaButton.js.map +1 -1
  97. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  98. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  99. package/dist/components/Gallery/GalleryCardInner.js +7 -2
  100. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  101. package/dist/components/Gallery/GalleryContent.d.ts +5 -0
  102. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  103. package/dist/components/GracePeriod/GracePeriod.js +2 -2
  104. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  105. package/dist/components/Header/Header.js +1 -1
  106. package/dist/components/Header/Header.js.map +1 -1
  107. package/dist/components/Header/Header.mobile.js +2 -2
  108. package/dist/components/Header/Header.mobile.js.map +1 -1
  109. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  110. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  111. package/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  112. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  113. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  114. package/dist/components/Header/HeaderTop.js +1 -1
  115. package/dist/components/Header/HeaderTop.js.map +1 -1
  116. package/dist/components/Headline/Headline.js +1 -1
  117. package/dist/components/Headline/Headline.js.map +1 -1
  118. package/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
  119. package/dist/components/ImgBlock/ImgBlock.js +11 -0
  120. package/dist/components/ImgBlock/ImgBlock.js.map +1 -0
  121. package/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  122. package/dist/components/{InvestmentGallery/InvestmentGalleryContent.js → ImgBlock/ImgBlockContent.js} +1 -1
  123. package/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
  124. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
  125. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  126. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
  127. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  128. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  129. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  130. package/dist/components/LinkList/LinkList.js +1 -1
  131. package/dist/components/LinkList/LinkList.js.map +1 -1
  132. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  133. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  134. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  135. package/dist/components/OfficeMap/useOfficeMap.js +3 -4
  136. package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  137. package/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  138. package/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
  139. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  140. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  141. package/{mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js → dist/components/ParagraphBlock/ParagraphBlockContent.js} +1 -1
  142. package/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  143. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  144. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  145. package/dist/components/ProductGallery/ProductGallery.js +9 -9
  146. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  147. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  148. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  149. package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  150. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  151. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
  152. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  153. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  154. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  155. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  156. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  157. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  158. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  159. package/dist/components/StepsBlock/StepsBlock.js +3 -5
  160. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  161. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  162. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  163. package/dist/components/Tabs/LinkTab.d.ts +0 -1
  164. package/dist/components/Tabs/LinkTab.js +2 -8
  165. package/dist/components/Tabs/LinkTab.js.map +1 -1
  166. package/dist/components/Tabs/Tabs.d.ts +0 -4
  167. package/dist/components/Tabs/Tabs.js +6 -12
  168. package/dist/components/Tabs/Tabs.js.map +1 -1
  169. package/dist/components/TariffsTable/TableTileHeader.js +1 -3
  170. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  171. package/dist/components/TariffsTable/TariffsTable.js +6 -6
  172. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  173. package/dist/components/TariffsTable/TariffsTableRow.js +3 -1
  174. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  175. package/dist/components/Video/VideoContent.d.ts +1 -0
  176. package/dist/hooks/useLink.js +11 -2
  177. package/dist/hooks/useLink.js.map +1 -1
  178. package/dist/services/BlockRouter/BlockIntersection.d.ts +2 -0
  179. package/dist/services/BlockRouter/BlockIntersection.js +2 -0
  180. package/dist/services/BlockRouter/BlockIntersection.js.map +1 -0
  181. package/dist/services/BlockRouter/BlockRouter.d.ts +23 -0
  182. package/dist/services/BlockRouter/BlockRouter.js +32 -0
  183. package/dist/services/BlockRouter/BlockRouter.js.map +1 -0
  184. package/dist/services/BlockRouter/findActiveBlock.d.ts +3 -0
  185. package/dist/services/BlockRouter/findActiveBlock.js +15 -0
  186. package/dist/services/BlockRouter/findActiveBlock.js.map +1 -0
  187. package/dist/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  188. package/dist/services/BlockRouter/useBlockIntersectionObserver.js +28 -0
  189. package/dist/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
  190. package/dist/services/BlockRouter/useBlockRouter.d.ts +2 -0
  191. package/dist/services/BlockRouter/useBlockRouter.js +8 -0
  192. package/dist/services/BlockRouter/useBlockRouter.js.map +1 -0
  193. package/dist/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  194. package/dist/services/BlockRouter/useBlockRouterProvider.js +37 -0
  195. package/dist/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
  196. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  197. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  198. package/dist/ui-kit/BlockWrapper.js +6 -20
  199. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  200. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  201. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  202. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
  203. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  204. package/dist/ui-kit/InnerTable/InnerTable.js +3 -2
  205. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  206. package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
  207. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  208. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  209. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  210. package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  211. package/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  212. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  213. package/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  214. package/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
  215. package/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  216. package/dist/ui-kit/Radio/Radio.js +1 -1
  217. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  218. package/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
  219. package/dist/ui-kit/Select/Select.js +1 -1
  220. package/dist/ui-kit/Select/Select.js.map +1 -1
  221. package/dist/ui-kit/Text/Text.d.ts +1 -26
  222. package/dist/ui-kit/Text/Text.js.map +1 -1
  223. package/dist/ui-kit/Text/TextProps.d.ts +26 -0
  224. package/dist/ui-kit/Text/TextProps.js +2 -0
  225. package/dist/ui-kit/Text/TextProps.js.map +1 -0
  226. package/dist/ui-kit/YandexMap/useYandexMaps.js +1 -1
  227. package/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
  228. package/dist/utils/adjustHref.js +3 -1
  229. package/dist/utils/adjustHref.js.map +1 -1
  230. package/dist/utils/debounce.d.ts +5 -0
  231. package/dist/utils/debounce.js +19 -0
  232. package/dist/utils/debounce.js.map +1 -0
  233. package/lib/EventBus/EventBus.d.ts +6 -5
  234. package/lib/EventBus/EventBus.js +5 -3
  235. package/lib/EventBus/EventBus.js.map +1 -1
  236. package/lib/EventBus/EventMap.d.ts +1 -4
  237. package/lib/ProjectSettings.d.ts +2 -0
  238. package/lib/ProjectSettings.js +3 -0
  239. package/lib/ProjectSettings.js.map +1 -1
  240. package/lib/common.css +1 -1
  241. package/lib/components/Accordion/Accordion.js +1 -1
  242. package/lib/components/Accordion/Accordion.js.map +1 -1
  243. package/lib/components/AccordionItem/AccordionItem.mobile.js +1 -1
  244. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  245. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  246. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  247. package/lib/components/Blocks.js +7 -3
  248. package/lib/components/Blocks.js.map +1 -1
  249. package/lib/components/Bonus/Bonus.js +2 -2
  250. package/lib/components/Bonus/Bonus.js.map +1 -1
  251. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  252. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  253. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  254. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  255. package/lib/components/Calculator/BonusCalculatorForm.js +5 -3
  256. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  257. package/lib/components/Calculator/CreditCalculatorForm.js +4 -2
  258. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  259. package/lib/components/Calculator/DepositCalculatorForm.js +5 -3
  260. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  261. package/lib/components/Calculator/renderProposal.js +2 -2
  262. package/lib/components/Calculator/renderProposal.js.map +1 -1
  263. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  264. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  265. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  266. package/lib/components/Carousel/Carousel.js +2 -1
  267. package/lib/components/Carousel/Carousel.js.map +1 -1
  268. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  269. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  270. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  271. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.d.ts +10 -0
  272. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
  273. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  274. package/{bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts → lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  275. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  276. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  277. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  278. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  279. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  280. package/lib/components/Catalog/Catalog.js +1 -1
  281. package/lib/components/Catalog/Catalog.js.map +1 -1
  282. package/lib/components/ComparisonTable/ComparisonTable.js +4 -4
  283. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  284. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  285. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  286. package/lib/components/ContentPage/ContentPage.js +2 -0
  287. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  288. package/lib/components/ContentPage/useContentPageData.js +4 -8
  289. package/lib/components/ContentPage/useContentPageData.js.map +1 -1
  290. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  291. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  292. package/lib/components/Footer/Footer.js +2 -2
  293. package/lib/components/Footer/Footer.js.map +1 -1
  294. package/lib/components/Footer/FooterDataProps.d.ts +8 -3
  295. package/lib/components/Footer/MediaButton.js +1 -1
  296. package/lib/components/Footer/MediaButton.js.map +1 -1
  297. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  298. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  299. package/lib/components/Gallery/GalleryCardInner.js +7 -2
  300. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  301. package/lib/components/Gallery/GalleryContent.d.ts +5 -0
  302. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  303. package/lib/components/GracePeriod/GracePeriod.js +2 -2
  304. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  305. package/lib/components/Header/Header.js +1 -1
  306. package/lib/components/Header/Header.js.map +1 -1
  307. package/lib/components/Header/Header.mobile.js +3 -3
  308. package/lib/components/Header/Header.mobile.js.map +1 -1
  309. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  310. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  311. package/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  312. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  313. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  314. package/lib/components/Header/HeaderTop.js +1 -1
  315. package/lib/components/Header/HeaderTop.js.map +1 -1
  316. package/lib/components/Headline/Headline.js +1 -1
  317. package/lib/components/Headline/Headline.js.map +1 -1
  318. package/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
  319. package/lib/components/{InvestmentGallery/InvestmentGallery.fixture.d.ts → ImgBlock/ImgBlock.fixture.d.ts} +0 -2
  320. package/lib/components/ImgBlock/ImgBlock.js +9 -0
  321. package/lib/components/ImgBlock/ImgBlock.js.map +1 -0
  322. package/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  323. package/lib/components/ImgBlock/ImgBlockContent.js +2 -0
  324. package/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
  325. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +7 -9
  326. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  327. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
  328. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  329. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  330. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  331. package/lib/components/LinkList/LinkList.js +1 -1
  332. package/lib/components/LinkList/LinkList.js.map +1 -1
  333. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  334. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  335. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  336. package/lib/components/OfficeMap/useOfficeMap.js +3 -4
  337. package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  338. package/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  339. package/lib/components/ParagraphBlock/ParagraphBlock.fixture.d.ts +9 -0
  340. package/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
  341. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  342. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  343. package/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  344. package/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  345. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  346. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  347. package/lib/components/ProductGallery/ProductGallery.js +10 -10
  348. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  349. package/lib/components/Recommendation/Recommendation.fixture.d.ts +3 -1
  350. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  351. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  352. package/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
  353. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  354. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
  355. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  356. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  357. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  358. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  359. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  360. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  361. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  362. package/lib/components/StepsBlock/StepsBlock.js +3 -5
  363. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  364. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  365. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  366. package/lib/components/Tabs/LinkTab.d.ts +0 -1
  367. package/lib/components/Tabs/LinkTab.js +2 -8
  368. package/lib/components/Tabs/LinkTab.js.map +1 -1
  369. package/lib/components/Tabs/Tabs.d.ts +0 -4
  370. package/lib/components/Tabs/Tabs.js +7 -13
  371. package/lib/components/Tabs/Tabs.js.map +1 -1
  372. package/lib/components/TariffsTable/TableTileHeader.js +1 -3
  373. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  374. package/lib/components/TariffsTable/TariffsTable.js +6 -6
  375. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  376. package/lib/components/TariffsTable/TariffsTableRow.js +4 -2
  377. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  378. package/lib/components/Video/VideoContent.d.ts +1 -0
  379. package/lib/hooks/useLink.js +11 -2
  380. package/lib/hooks/useLink.js.map +1 -1
  381. package/lib/services/BlockRouter/BlockIntersection.d.ts +2 -0
  382. package/lib/services/BlockRouter/BlockIntersection.js +2 -0
  383. package/lib/services/BlockRouter/BlockIntersection.js.map +1 -0
  384. package/lib/services/BlockRouter/BlockRouter.d.ts +23 -0
  385. package/lib/services/BlockRouter/BlockRouter.js +29 -0
  386. package/lib/services/BlockRouter/BlockRouter.js.map +1 -0
  387. package/lib/services/BlockRouter/findActiveBlock.d.ts +3 -0
  388. package/lib/services/BlockRouter/findActiveBlock.js +12 -0
  389. package/lib/services/BlockRouter/findActiveBlock.js.map +1 -0
  390. package/lib/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  391. package/lib/services/BlockRouter/useBlockIntersectionObserver.js +25 -0
  392. package/lib/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
  393. package/lib/services/BlockRouter/useBlockRouter.d.ts +2 -0
  394. package/lib/services/BlockRouter/useBlockRouter.js +5 -0
  395. package/lib/services/BlockRouter/useBlockRouter.js.map +1 -0
  396. package/lib/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  397. package/lib/services/BlockRouter/useBlockRouterProvider.js +34 -0
  398. package/lib/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
  399. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  400. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  401. package/lib/ui-kit/BlockWrapper.js +7 -21
  402. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  403. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  404. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  405. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
  406. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  407. package/lib/ui-kit/InnerTable/InnerTable.js +4 -3
  408. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  409. package/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
  410. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  411. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  412. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  413. package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  414. package/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  415. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  416. package/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  417. package/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
  418. package/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  419. package/lib/ui-kit/Radio/Radio.js +1 -1
  420. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  421. package/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
  422. package/lib/ui-kit/Select/Select.js +1 -1
  423. package/lib/ui-kit/Select/Select.js.map +1 -1
  424. package/lib/ui-kit/Text/Text.d.ts +1 -26
  425. package/lib/ui-kit/Text/Text.js.map +1 -1
  426. package/lib/ui-kit/Text/TextProps.d.ts +26 -0
  427. package/lib/ui-kit/Text/TextProps.js +2 -0
  428. package/lib/ui-kit/Text/TextProps.js.map +1 -0
  429. package/lib/ui-kit/YandexMap/useYandexMaps.js +1 -1
  430. package/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
  431. package/lib/utils/adjustHref.js +3 -1
  432. package/lib/utils/adjustHref.js.map +1 -1
  433. package/lib/utils/debounce.d.ts +5 -0
  434. package/lib/utils/debounce.js +16 -0
  435. package/lib/utils/debounce.js.map +1 -0
  436. package/mobile/bundle/EventBus/EventBus.d.ts +6 -5
  437. package/mobile/bundle/EventBus/EventMap.d.ts +1 -4
  438. package/mobile/bundle/ProjectSettings.d.ts +2 -0
  439. package/mobile/bundle/bundle.umd.js +147 -53
  440. package/mobile/bundle/bundle.umd.min.js +1 -1
  441. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  442. package/mobile/bundle/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  443. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  444. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +8 -3
  445. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +5 -0
  446. package/mobile/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
  447. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  448. package/mobile/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  449. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  450. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  451. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  452. package/mobile/bundle/components/Tabs/LinkTab.d.ts +0 -1
  453. package/mobile/bundle/components/Tabs/Tabs.d.ts +0 -4
  454. package/mobile/bundle/components/Video/VideoContent.d.ts +1 -0
  455. package/mobile/bundle/services/BlockRouter/BlockIntersection.d.ts +2 -0
  456. package/mobile/bundle/services/BlockRouter/BlockRouter.d.ts +23 -0
  457. package/mobile/bundle/services/BlockRouter/findActiveBlock.d.ts +3 -0
  458. package/mobile/bundle/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  459. package/mobile/bundle/services/BlockRouter/useBlockRouter.d.ts +2 -0
  460. package/mobile/bundle/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  461. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  462. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  463. package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  464. package/mobile/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  465. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
  466. package/mobile/bundle/ui-kit/Text/Text.d.ts +1 -26
  467. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +26 -0
  468. package/mobile/bundle/utils/debounce.d.ts +5 -0
  469. package/mobile/dist/EventBus/EventBus.d.ts +6 -5
  470. package/mobile/dist/EventBus/EventBus.js +5 -3
  471. package/mobile/dist/EventBus/EventBus.js.map +1 -1
  472. package/mobile/dist/EventBus/EventMap.d.ts +1 -4
  473. package/mobile/dist/ProjectSettings.d.ts +2 -0
  474. package/mobile/dist/ProjectSettings.js +3 -0
  475. package/mobile/dist/ProjectSettings.js.map +1 -1
  476. package/mobile/dist/components/AccordionItem/AccordionItem.js +1 -1
  477. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  478. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  479. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  480. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  481. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  482. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  483. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  484. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  485. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  486. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -2
  487. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  488. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -1
  489. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  490. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +4 -2
  491. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  492. package/mobile/dist/components/Calculator/renderProposal.js +2 -2
  493. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  494. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  495. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  496. package/mobile/dist/components/Carousel/Carousel.js +2 -1
  497. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  498. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  499. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  500. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  501. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
  502. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  503. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
  504. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  505. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  506. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  507. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  508. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  509. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  510. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  511. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  512. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  513. package/mobile/dist/components/ContentPage/ContentPage.js +2 -0
  514. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  515. package/mobile/dist/components/ContentPage/useContentPageData.js +4 -8
  516. package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -1
  517. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  518. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  519. package/mobile/dist/components/Footer/FooterDataProps.d.ts +8 -3
  520. package/mobile/dist/components/Footer/MediaButton.js +1 -1
  521. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  522. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  523. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  524. package/mobile/dist/components/Gallery/GalleryCardInner.js +7 -2
  525. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  526. package/mobile/dist/components/Gallery/GalleryContent.d.ts +5 -0
  527. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  528. package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
  529. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  530. package/mobile/dist/components/Header/Header.js +2 -2
  531. package/mobile/dist/components/Header/Header.js.map +1 -1
  532. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  533. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  534. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  535. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  536. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  537. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  538. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  539. package/mobile/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
  540. package/mobile/dist/components/ImgBlock/ImgBlock.js +11 -0
  541. package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -0
  542. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  543. package/mobile/dist/components/ImgBlock/ImgBlockContent.js +2 -0
  544. package/mobile/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
  545. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
  546. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  547. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
  548. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  549. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  550. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  551. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  552. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  553. package/mobile/dist/components/OfficeMap/useOfficeMap.js +3 -4
  554. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  555. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  556. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
  557. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  558. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  559. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  560. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  561. package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -9
  562. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  563. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  564. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  565. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  566. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  567. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
  568. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  569. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  570. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  571. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  572. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  573. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  574. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  575. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  576. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  577. package/mobile/dist/components/Tabs/LinkTab.d.ts +0 -1
  578. package/mobile/dist/components/Tabs/LinkTab.js +2 -8
  579. package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
  580. package/mobile/dist/components/Tabs/Tabs.d.ts +0 -4
  581. package/mobile/dist/components/Tabs/Tabs.js +6 -12
  582. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  583. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -3
  584. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  585. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -1
  586. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  587. package/mobile/dist/components/Video/VideoContent.d.ts +1 -0
  588. package/mobile/dist/hooks/useLink.js +11 -2
  589. package/mobile/dist/hooks/useLink.js.map +1 -1
  590. package/mobile/dist/services/BlockRouter/BlockIntersection.d.ts +2 -0
  591. package/mobile/dist/services/BlockRouter/BlockIntersection.js +2 -0
  592. package/mobile/dist/services/BlockRouter/BlockIntersection.js.map +1 -0
  593. package/mobile/dist/services/BlockRouter/BlockRouter.d.ts +23 -0
  594. package/mobile/dist/services/BlockRouter/BlockRouter.js +32 -0
  595. package/mobile/dist/services/BlockRouter/BlockRouter.js.map +1 -0
  596. package/mobile/dist/services/BlockRouter/findActiveBlock.d.ts +3 -0
  597. package/mobile/dist/services/BlockRouter/findActiveBlock.js +15 -0
  598. package/mobile/dist/services/BlockRouter/findActiveBlock.js.map +1 -0
  599. package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  600. package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.js +28 -0
  601. package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
  602. package/mobile/dist/services/BlockRouter/useBlockRouter.d.ts +2 -0
  603. package/mobile/dist/services/BlockRouter/useBlockRouter.js +8 -0
  604. package/mobile/dist/services/BlockRouter/useBlockRouter.js.map +1 -0
  605. package/mobile/dist/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  606. package/mobile/dist/services/BlockRouter/useBlockRouterProvider.js +37 -0
  607. package/mobile/dist/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
  608. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  609. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  610. package/mobile/dist/ui-kit/BlockWrapper.js +6 -20
  611. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  612. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  613. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  614. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +3 -2
  615. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  616. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
  617. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  618. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  619. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  620. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  621. package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  622. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  623. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  624. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
  625. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  626. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  627. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  628. package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
  629. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  630. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  631. package/mobile/dist/ui-kit/Text/Text.d.ts +1 -26
  632. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  633. package/mobile/dist/ui-kit/Text/TextProps.d.ts +26 -0
  634. package/mobile/dist/ui-kit/Text/TextProps.js +2 -0
  635. package/mobile/dist/ui-kit/Text/TextProps.js.map +1 -0
  636. package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js +1 -1
  637. package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
  638. package/mobile/dist/utils/adjustHref.js +3 -1
  639. package/mobile/dist/utils/adjustHref.js.map +1 -1
  640. package/mobile/dist/utils/debounce.d.ts +5 -0
  641. package/mobile/dist/utils/debounce.js +19 -0
  642. package/mobile/dist/utils/debounce.js.map +1 -0
  643. package/mobile/lib/EventBus/EventBus.d.ts +6 -5
  644. package/mobile/lib/EventBus/EventBus.js +5 -3
  645. package/mobile/lib/EventBus/EventBus.js.map +1 -1
  646. package/mobile/lib/EventBus/EventMap.d.ts +1 -4
  647. package/mobile/lib/ProjectSettings.d.ts +2 -0
  648. package/mobile/lib/ProjectSettings.js +3 -0
  649. package/mobile/lib/ProjectSettings.js.map +1 -1
  650. package/mobile/lib/components/AccordionItem/AccordionItem.js +1 -1
  651. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  652. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  653. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  654. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  655. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  656. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  657. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  658. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  659. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  660. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +5 -3
  661. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  662. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -2
  663. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  664. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +5 -3
  665. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  666. package/mobile/lib/components/Calculator/renderProposal.js +2 -2
  667. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  668. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  669. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  670. package/mobile/lib/components/Carousel/Carousel.js +2 -1
  671. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  672. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  673. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  674. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  675. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
  676. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  677. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
  678. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  679. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  680. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  681. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  682. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  683. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  684. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  685. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  686. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  687. package/mobile/lib/components/ContentPage/ContentPage.js +2 -0
  688. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  689. package/mobile/lib/components/ContentPage/useContentPageData.js +4 -8
  690. package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -1
  691. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  692. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  693. package/mobile/lib/components/Footer/FooterDataProps.d.ts +8 -3
  694. package/mobile/lib/components/Footer/MediaButton.js +1 -1
  695. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  696. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  697. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  698. package/mobile/lib/components/Gallery/GalleryCardInner.js +7 -2
  699. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  700. package/mobile/lib/components/Gallery/GalleryContent.d.ts +5 -0
  701. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  702. package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
  703. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  704. package/mobile/lib/components/Header/Header.js +3 -3
  705. package/mobile/lib/components/Header/Header.js.map +1 -1
  706. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  707. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  708. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  709. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  710. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  711. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  712. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  713. package/mobile/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
  714. package/mobile/lib/components/ImgBlock/ImgBlock.js +9 -0
  715. package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -0
  716. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  717. package/mobile/lib/components/ImgBlock/ImgBlockContent.js +2 -0
  718. package/mobile/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
  719. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +7 -9
  720. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  721. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
  722. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  723. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  724. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  725. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  726. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  727. package/mobile/lib/components/OfficeMap/useOfficeMap.js +3 -4
  728. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  729. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  730. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
  731. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  732. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  733. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  734. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  735. package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -10
  736. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  737. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  738. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  739. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
  740. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  741. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
  742. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  743. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  744. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  745. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  746. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  747. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  748. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  749. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  750. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  751. package/mobile/lib/components/Tabs/LinkTab.d.ts +0 -1
  752. package/mobile/lib/components/Tabs/LinkTab.js +2 -8
  753. package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
  754. package/mobile/lib/components/Tabs/Tabs.d.ts +0 -4
  755. package/mobile/lib/components/Tabs/Tabs.js +7 -13
  756. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  757. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -3
  758. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  759. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -2
  760. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  761. package/mobile/lib/components/Video/VideoContent.d.ts +1 -0
  762. package/mobile/lib/hooks/useLink.js +11 -2
  763. package/mobile/lib/hooks/useLink.js.map +1 -1
  764. package/mobile/lib/services/BlockRouter/BlockIntersection.d.ts +2 -0
  765. package/mobile/lib/services/BlockRouter/BlockIntersection.js +2 -0
  766. package/mobile/lib/services/BlockRouter/BlockIntersection.js.map +1 -0
  767. package/mobile/lib/services/BlockRouter/BlockRouter.d.ts +23 -0
  768. package/mobile/lib/services/BlockRouter/BlockRouter.js +29 -0
  769. package/mobile/lib/services/BlockRouter/BlockRouter.js.map +1 -0
  770. package/mobile/lib/services/BlockRouter/findActiveBlock.d.ts +3 -0
  771. package/mobile/lib/services/BlockRouter/findActiveBlock.js +12 -0
  772. package/mobile/lib/services/BlockRouter/findActiveBlock.js.map +1 -0
  773. package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
  774. package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.js +25 -0
  775. package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
  776. package/mobile/lib/services/BlockRouter/useBlockRouter.d.ts +2 -0
  777. package/mobile/lib/services/BlockRouter/useBlockRouter.js +5 -0
  778. package/mobile/lib/services/BlockRouter/useBlockRouter.js.map +1 -0
  779. package/mobile/lib/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
  780. package/mobile/lib/services/BlockRouter/useBlockRouterProvider.js +34 -0
  781. package/mobile/lib/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
  782. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  783. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  784. package/mobile/lib/ui-kit/BlockWrapper.js +7 -21
  785. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  786. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  787. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  788. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +4 -3
  789. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  790. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
  791. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  792. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
  793. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  794. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
  795. package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  796. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  797. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  798. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
  799. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  800. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  801. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  802. package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
  803. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  804. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  805. package/mobile/lib/ui-kit/Text/Text.d.ts +1 -26
  806. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  807. package/mobile/lib/ui-kit/Text/TextProps.d.ts +26 -0
  808. package/mobile/lib/ui-kit/Text/TextProps.js +2 -0
  809. package/mobile/lib/ui-kit/Text/TextProps.js.map +1 -0
  810. package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js +1 -1
  811. package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
  812. package/mobile/lib/utils/adjustHref.js +3 -1
  813. package/mobile/lib/utils/adjustHref.js.map +1 -1
  814. package/mobile/lib/utils/debounce.d.ts +5 -0
  815. package/mobile/lib/utils/debounce.js +16 -0
  816. package/mobile/lib/utils/debounce.js.map +1 -0
  817. package/mobile/src/EventBus/EventBus.ts +18 -14
  818. package/mobile/src/EventBus/EventMap.ts +1 -4
  819. package/mobile/src/ProjectSettings.ts +4 -0
  820. package/mobile/src/components/AccordionItem/AccordionItem.tsx +1 -1
  821. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  822. package/mobile/src/components/Bonus/Bonus.tsx +2 -4
  823. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  824. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  825. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
  826. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
  827. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -3
  828. package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
  829. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  830. package/mobile/src/components/Carousel/Carousel.tsx +2 -1
  831. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  832. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
  833. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
  834. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
  835. package/mobile/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
  836. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
  837. package/mobile/src/components/Catalog/Catalog.example.json +1 -1
  838. package/mobile/src/components/Catalog/Catalog.tsx +1 -1
  839. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  840. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -0
  841. package/mobile/src/components/ContentPage/useContentPageData.ts +4 -8
  842. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  843. package/mobile/src/components/Footer/FooterDataProps.ts +8 -3
  844. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  845. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  846. package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -2
  847. package/mobile/src/components/Gallery/GalleryContent.ts +5 -0
  848. package/mobile/src/components/Gallery/GalleryInner.tsx +0 -1
  849. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -2
  850. package/mobile/src/components/Header/Header.tsx +5 -7
  851. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  852. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  853. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -0
  854. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  855. package/mobile/src/components/ImgBlock/ImgBlock.example.json +11 -0
  856. package/mobile/src/components/ImgBlock/ImgBlock.tsx +17 -0
  857. package/mobile/src/components/ImgBlock/ImgBlock.ui.json +7 -0
  858. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +8 -0
  859. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -12
  860. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -9
  861. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  862. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  863. package/mobile/src/components/OfficeMap/useOfficeMap.ts +4 -4
  864. package/mobile/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
  865. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
  866. package/mobile/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
  867. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
  868. package/mobile/src/components/ProductGallery/ProductGallery.tsx +15 -15
  869. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
  870. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
  871. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
  872. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
  873. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
  874. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -3
  875. package/mobile/src/components/Tabs/LinkTab.tsx +2 -10
  876. package/mobile/src/components/Tabs/Tabs.tsx +11 -19
  877. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +8 -10
  878. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +12 -5
  879. package/mobile/src/components/Video/VideoContent.ts +1 -0
  880. package/mobile/src/hooks/useLink.ts +13 -2
  881. package/mobile/src/services/BlockRouter/BlockIntersection.ts +3 -0
  882. package/mobile/src/services/BlockRouter/BlockRouter.ts +51 -0
  883. package/mobile/src/services/BlockRouter/findActiveBlock.ts +20 -0
  884. package/mobile/src/services/BlockRouter/useBlockIntersectionObserver.ts +37 -0
  885. package/mobile/src/services/BlockRouter/useBlockRouter.ts +5 -0
  886. package/mobile/src/services/BlockRouter/useBlockRouterProvider.ts +49 -0
  887. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  888. package/mobile/src/ui-kit/BlockWrapper.tsx +9 -32
  889. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  890. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
  891. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
  892. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -2
  893. package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +0 -6
  894. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
  895. package/mobile/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
  896. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  897. package/mobile/src/ui-kit/Radio/RadioProps.ts +1 -1
  898. package/mobile/src/ui-kit/Select/Select.tsx +2 -3
  899. package/mobile/src/ui-kit/Text/Text.tsx +1 -63
  900. package/mobile/src/ui-kit/Text/TextProps.ts +63 -0
  901. package/mobile/src/ui-kit/YandexMap/useYandexMaps.ts +3 -1
  902. package/mobile/src/utils/adjustHref.ts +3 -1
  903. package/mobile/src/utils/debounce.ts +24 -0
  904. package/package.json +1 -1
  905. package/src/EventBus/EventBus.ts +18 -14
  906. package/src/EventBus/EventMap.ts +1 -4
  907. package/src/ProjectSettings.ts +4 -0
  908. package/src/components/Accordion/Accordion.tsx +1 -1
  909. package/src/components/AccordionItem/AccordionItem.mobile.tsx +1 -1
  910. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  911. package/src/components/Blocks.ts +7 -3
  912. package/src/components/Bonus/Bonus.tsx +2 -4
  913. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  914. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  915. package/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
  916. package/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
  917. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -3
  918. package/src/components/Calculator/renderProposal.tsx +2 -2
  919. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  920. package/src/components/Carousel/Carousel.fixture.tsx +20 -1
  921. package/src/components/Carousel/Carousel.tsx +2 -1
  922. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
  923. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  924. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
  925. package/src/components/{InvestmentGallery/InvestmentGallery.fixture.tsx → CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx} +21 -27
  926. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
  927. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
  928. package/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
  929. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -1
  930. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
  931. package/src/components/Catalog/Catalog.example.json +1 -1
  932. package/src/components/Catalog/Catalog.tsx +1 -1
  933. package/src/components/ComparisonTable/ComparisonTable.tsx +4 -4
  934. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  935. package/src/components/ContentPage/ContentPage.tsx +3 -0
  936. package/src/components/ContentPage/useContentPageData.ts +4 -8
  937. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  938. package/src/components/Footer/Footer.tsx +2 -2
  939. package/src/components/Footer/FooterDataProps.ts +8 -3
  940. package/src/components/Footer/MediaButton.tsx +1 -1
  941. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  942. package/src/components/Gallery/GalleryCardInner.tsx +8 -2
  943. package/src/components/Gallery/GalleryContent.ts +5 -0
  944. package/src/components/Gallery/GalleryInner.tsx +0 -1
  945. package/src/components/GracePeriod/GracePeriod.tsx +2 -2
  946. package/src/components/Header/Header.mobile.tsx +5 -7
  947. package/src/components/Header/Header.tsx +1 -1
  948. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  949. package/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  950. package/src/components/Header/HeaderSubMenu.tsx +1 -0
  951. package/src/components/Header/HeaderTop.tsx +1 -1
  952. package/src/components/Headline/Headline.tsx +1 -1
  953. package/src/components/ImgBlock/ImgBlock.example.json +11 -0
  954. package/src/components/ImgBlock/ImgBlock.fixture.tsx +21 -0
  955. package/src/components/ImgBlock/ImgBlock.tsx +17 -0
  956. package/src/components/ImgBlock/ImgBlock.ui.json +7 -0
  957. package/src/components/ImgBlock/ImgBlockContent.ts +8 -0
  958. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -12
  959. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -9
  960. package/src/components/LinkDocs/LinkDocs.tsx +1 -4
  961. package/src/components/LinkList/LinkList.tsx +1 -1
  962. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
  963. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  964. package/src/components/OfficeMap/useOfficeMap.ts +4 -4
  965. package/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
  966. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +45 -0
  967. package/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
  968. package/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
  969. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
  970. package/src/components/ProductBlock/ProductBlock.tsx +1 -1
  971. package/src/components/ProductGallery/ProductGallery.tsx +15 -15
  972. package/src/components/Recommendation/Recommendation.fixture.tsx +38 -1
  973. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
  974. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
  975. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
  976. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
  977. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
  978. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -3
  979. package/src/components/StepsBlock/StepsBlock.tsx +4 -7
  980. package/src/components/Tabs/LinkTab.tsx +2 -10
  981. package/src/components/Tabs/Tabs.tsx +11 -19
  982. package/src/components/TariffsTable/TableTileHeader.tsx +8 -10
  983. package/src/components/TariffsTable/TariffsTable.tsx +21 -23
  984. package/src/components/TariffsTable/TariffsTableRow.tsx +12 -5
  985. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +3 -3
  986. package/src/components/Video/VideoContent.ts +1 -0
  987. package/src/hooks/useLink.ts +13 -2
  988. package/src/services/BlockRouter/BlockIntersection.ts +3 -0
  989. package/src/services/BlockRouter/BlockRouter.ts +51 -0
  990. package/src/services/BlockRouter/findActiveBlock.ts +20 -0
  991. package/src/services/BlockRouter/useBlockIntersectionObserver.ts +37 -0
  992. package/src/services/BlockRouter/useBlockRouter.ts +5 -0
  993. package/src/services/BlockRouter/useBlockRouterProvider.ts +49 -0
  994. package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  995. package/src/ui-kit/BlockWrapper.tsx +9 -32
  996. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +1 -1
  997. package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  998. package/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
  999. package/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
  1000. package/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -2
  1001. package/src/ui-kit/InnerTable/InnerTableProps.ts +0 -6
  1002. package/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
  1003. package/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
  1004. package/src/ui-kit/Radio/Radio.tsx +1 -1
  1005. package/src/ui-kit/Radio/RadioProps.ts +1 -1
  1006. package/src/ui-kit/Select/Select.tsx +2 -3
  1007. package/src/ui-kit/Text/Text.tsx +1 -63
  1008. package/src/ui-kit/Text/TextProps.ts +63 -0
  1009. package/src/ui-kit/YandexMap/useYandexMaps.ts +3 -1
  1010. package/src/utils/adjustHref.ts +3 -1
  1011. package/src/utils/debounce.ts +24 -0
  1012. package/tailwind.config.cjs +8 -0
  1013. package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1014. package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1015. package/bundle/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1016. package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1017. package/bundle/utils/changeHashOnObserve.d.ts +0 -9
  1018. package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1019. package/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
  1020. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  1021. package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1022. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
  1023. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  1024. package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  1025. package/dist/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1026. package/dist/components/SafeDepositRental/YandexMap.js +0 -31
  1027. package/dist/components/SafeDepositRental/YandexMap.js.map +0 -1
  1028. package/dist/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1029. package/dist/components/SafeDepositRental/useYandexMaps.js +0 -12
  1030. package/dist/components/SafeDepositRental/useYandexMaps.js.map +0 -1
  1031. package/dist/utils/changeHashOnObserve.d.ts +0 -9
  1032. package/dist/utils/changeHashOnObserve.js +0 -21
  1033. package/dist/utils/changeHashOnObserve.js.map +0 -1
  1034. package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1035. package/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
  1036. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  1037. package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1038. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
  1039. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  1040. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
  1041. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  1042. package/lib/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1043. package/lib/components/SafeDepositRental/YandexMap.js +0 -29
  1044. package/lib/components/SafeDepositRental/YandexMap.js.map +0 -1
  1045. package/lib/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1046. package/lib/components/SafeDepositRental/useYandexMaps.js +0 -9
  1047. package/lib/components/SafeDepositRental/useYandexMaps.js.map +0 -1
  1048. package/lib/utils/changeHashOnObserve.d.ts +0 -9
  1049. package/lib/utils/changeHashOnObserve.js +0 -18
  1050. package/lib/utils/changeHashOnObserve.js.map +0 -1
  1051. package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1052. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1053. package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1054. package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1055. package/mobile/bundle/utils/changeHashOnObserve.d.ts +0 -9
  1056. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1057. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
  1058. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  1059. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1060. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
  1061. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  1062. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
  1063. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  1064. package/mobile/dist/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1065. package/mobile/dist/components/SafeDepositRental/YandexMap.js +0 -31
  1066. package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +0 -1
  1067. package/mobile/dist/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1068. package/mobile/dist/components/SafeDepositRental/useYandexMaps.js +0 -12
  1069. package/mobile/dist/components/SafeDepositRental/useYandexMaps.js.map +0 -1
  1070. package/mobile/dist/utils/changeHashOnObserve.d.ts +0 -9
  1071. package/mobile/dist/utils/changeHashOnObserve.js +0 -21
  1072. package/mobile/dist/utils/changeHashOnObserve.js.map +0 -1
  1073. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  1074. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
  1075. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  1076. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  1077. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
  1078. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  1079. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
  1080. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
  1081. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  1082. package/mobile/lib/components/SafeDepositRental/YandexMap.d.ts +0 -5
  1083. package/mobile/lib/components/SafeDepositRental/YandexMap.js +0 -29
  1084. package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +0 -1
  1085. package/mobile/lib/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
  1086. package/mobile/lib/components/SafeDepositRental/useYandexMaps.js +0 -9
  1087. package/mobile/lib/components/SafeDepositRental/useYandexMaps.js.map +0 -1
  1088. package/mobile/lib/utils/changeHashOnObserve.d.ts +0 -9
  1089. package/mobile/lib/utils/changeHashOnObserve.js +0 -18
  1090. package/mobile/lib/utils/changeHashOnObserve.js.map +0 -1
  1091. package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
  1092. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
  1093. package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
  1094. package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
  1095. package/mobile/src/components/SafeDepositRental/YandexMap.tsx +0 -43
  1096. package/mobile/src/components/SafeDepositRental/useYandexMaps.ts +0 -13
  1097. package/mobile/src/utils/changeHashOnObserve.ts +0 -30
  1098. package/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
  1099. package/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
  1100. package/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
  1101. package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
  1102. package/src/components/SafeDepositRental/YandexMap.tsx +0 -43
  1103. package/src/components/SafeDepositRental/useYandexMaps.ts +0 -13
  1104. package/src/utils/changeHashOnObserve.ts +0 -30
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Text/TextProps.ts"],"names":[],"mappings":""}
@@ -4,7 +4,7 @@ const useExternalNS_1 = require("../../hooks/useExternalNS");
4
4
  const ProjectSettings_1 = require("../../ProjectSettings");
5
5
  const YMAPS_NAMESPACE = 'ymaps';
6
6
  const useYandexMaps = () => {
7
- const url = `https://api-maps.yandex.ru/2.1/?apikey=${ProjectSettings_1.projectSettings.YANDEX_MAP_API_KEY}&lang=ru_RU`;
7
+ const url = `https://api-maps.yandex.ru/2.1/?apikey=${ProjectSettings_1.projectSettings.YANDEX_MAP_API_KEY || ''}&lang=ru_RU`;
8
8
  return (0, useExternalNS_1.useExternalNS)(YMAPS_NAMESPACE, url);
9
9
  };
10
10
  exports.useYandexMaps = useYandexMaps;
@@ -1 +1 @@
1
- {"version":3,"file":"useYandexMaps.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/useYandexMaps.ts"],"names":[],"mappings":";;AACA,6DAA0D;AAC1D,2DAAwD;AAExD,MAAM,eAAe,GAAG,OAAO,CAAC;AAEzB,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,MAAM,GAAG,GAAG,0CAA0C,iCAAe,CAAC,kBAAkB,aAAa,CAAC;IAEtG,OAAO,IAAA,6BAAa,EAAe,eAAe,EAAE,GAAG,CAAC,CAAC;AAC3D,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
1
+ {"version":3,"file":"useYandexMaps.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/useYandexMaps.ts"],"names":[],"mappings":";;AACA,6DAA0D;AAC1D,2DAAwD;AAExD,MAAM,eAAe,GAAG,OAAO,CAAC;AAEzB,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,MAAM,GAAG,GAAG,0CACV,iCAAe,CAAC,kBAAkB,IAAI,EACxC,aAAa,CAAC;IAEd,OAAO,IAAA,6BAAa,EAAe,eAAe,EAAE,GAAG,CAAC,CAAC;AAC3D,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB"}
@@ -1,13 +1,15 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.adjustHref = void 0;
3
+ const ProjectSettings_1 = require("../ProjectSettings");
3
4
  const url_1 = require("./url");
4
5
  const adjustHref = (href, router) => {
5
6
  if (!href) {
6
7
  return href;
7
8
  }
9
+ const hrefWithBasePath = `${ProjectSettings_1.projectSettings.BASE_PATH || ''}${href}`;
8
10
  const origin = (0, url_1.getOrigin)(router?.href);
9
11
  // Relative URL
10
- return origin ? href.replace(origin, '') || '/' : href;
12
+ return origin ? hrefWithBasePath.replace(origin, '') || '/' : hrefWithBasePath;
11
13
  };
12
14
  exports.adjustHref = adjustHref;
13
15
  //# sourceMappingURL=adjustHref.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":";;AAAA,+BAAkC;AAE3B,MAAM,UAAU,GAAG,CACxB,IAAwB,EACxB,MAA2C,EAC3C,EAAE;IACF,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,MAAM,GAAG,IAAA,eAAS,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEvC,eAAe;IACf,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
1
+ {"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":";;AAAA,wDAAqD;AACrD,+BAAkC;AAE3B,MAAM,UAAU,GAAG,CACxB,IAAwB,EACxB,MAA2C,EAC3C,EAAE;IACF,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,gBAAgB,GAAG,GAAG,iCAAe,CAAC,SAAS,IAAI,EAAE,GAAG,IAAI,EAAE,CAAC;IACrE,MAAM,MAAM,GAAG,IAAA,eAAS,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEvC,eAAe;IACf,OAAO,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC;AACjF,CAAC,CAAC;AAbW,QAAA,UAAU,cAarB"}
@@ -0,0 +1,5 @@
1
+ declare type DebouncedCallback<Args extends any[]> = ((...args: Args) => void) & {
2
+ dispose: () => void;
3
+ };
4
+ export declare const debounce: <Args extends any[]>(fn: (...args: Args) => void, delay?: number) => DebouncedCallback<Args>;
5
+ export {};
@@ -0,0 +1,19 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.debounce = void 0;
3
+ const debounce = (fn, delay = 600) => {
4
+ let timerId;
5
+ const debouncedCallback = (...args) => {
6
+ debouncedCallback.dispose();
7
+ timerId = setTimeout(() => {
8
+ fn(...args);
9
+ }, delay);
10
+ };
11
+ debouncedCallback.dispose = () => {
12
+ if (timerId) {
13
+ clearTimeout(timerId);
14
+ }
15
+ };
16
+ return debouncedCallback;
17
+ };
18
+ exports.debounce = debounce;
19
+ //# sourceMappingURL=debounce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../src/utils/debounce.ts"],"names":[],"mappings":";;AAIO,MAAM,QAAQ,GAAG,CACtB,EAA2B,EAC3B,KAAK,GAAG,GAAG,EACc,EAAE;IAC3B,IAAI,OAAsC,CAAC;IAE3C,MAAM,iBAAiB,GAA4B,CAAC,GAAG,IAAU,EAAQ,EAAE;QACzE,iBAAiB,CAAC,OAAO,EAAE,CAAC;QAC5B,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YACxB,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;QACd,CAAC,EAAE,KAAK,CAAC,CAAC;IACZ,CAAC,CAAC;IACF,iBAAiB,CAAC,OAAO,GAAG,GAAG,EAAE;QAC/B,IAAI,OAAO,EAAE;YACX,YAAY,CAAC,OAAO,CAAC,CAAC;SACvB;IACH,CAAC,CAAC;IAEF,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC;AAnBW,QAAA,QAAQ,YAmBnB"}
@@ -1,10 +1,11 @@
1
1
  import type { EventMap } from './EventMap';
2
- export declare class EventBus {
3
- static readonly inst: EventBus;
2
+ export declare type BaseEventMap = Record<string, any>;
3
+ export declare class EventBus<EM extends BaseEventMap> {
4
+ static readonly inst: EventBus<EventMap>;
4
5
  private subscribers;
5
6
  private subjectsStateMap;
6
- subscribe<T extends keyof EventMap>(type: T, listener: (event: EventMap[T]) => void): () => void;
7
+ subscribe<K extends keyof EM>(type: K, listener: (event: EM[K]) => void): () => void;
7
8
  private unsubscribe;
8
- fire<T extends keyof EventMap>(type: T, event: EventMap[T]): void;
9
- subject<T extends keyof EventMap>(type: T, event: EventMap[T]): void;
9
+ fire<K extends keyof EM>(type: K, event: EM[K]): void;
10
+ subject<K extends keyof EM>(type: K, event: EM[K]): void;
10
11
  }
@@ -3,8 +3,7 @@ export class EventBus {
3
3
  subscribers = {};
4
4
  subjectsStateMap = {};
5
5
  subscribe(type, listener) {
6
- this.subscribers[type] ||= [];
7
- this.subscribers[type]?.push(listener);
6
+ this.subscribers[type] = (this.subscribers[type] || []).concat(listener);
8
7
  const latestEvent = this.subjectsStateMap[type];
9
8
  if (latestEvent) {
10
9
  listener(latestEvent);
@@ -17,7 +16,10 @@ export class EventBus {
17
16
  this.subscribers[type] = this.subscribers[type]?.filter((s) => s !== listener);
18
17
  }
19
18
  fire(type, event) {
20
- this.subjectsStateMap[type] = event;
19
+ const isSubjectDeclared = type in this.subjectsStateMap;
20
+ if (isSubjectDeclared) {
21
+ this.subjectsStateMap[type] = event;
22
+ }
21
23
  this.subscribers[type]?.forEach((s) => s(event));
22
24
  }
23
25
  subject(type, event) {
@@ -1 +1 @@
1
- {"version":3,"file":"EventBus.js","sourceRoot":"","sources":["../../src/EventBus/EventBus.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,QAAQ;IACZ,MAAM,CAAU,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAC;IAErC,WAAW,GAAkD,EAAE,CAAC;IAChE,gBAAgB,GAAsB,EAAE,CAAC;IAEjD,SAAS,CAA2B,IAAO,EAAE,QAAsC;QACjF,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEvC,MAAM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AAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,WAAW,EAAE;YACf,QAAQ,CAAC,WAAoB,CAAC,CAAC;SAChC;QAED,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACnC,CAAC,CAAC;IACJ,CAAC;IAEO,WAAW,CAAqB,IAAO,EAAE,QAAgC;QAC/E,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC;IACjF,CAAC;IAED,IAAI,CAAqB,IAAO,EAAE,KAAY;QAC5C,MAAM,iBAAiB,GAAG,IAAI,IAAI,IAAI,CAAC,gBAAgB,CAAC;QACxD,IAAI,iBAAiB,EAAE;YACrB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;SACrC;QAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,CAAqB,IAAO,EAAE,KAAY;QAC/C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;IACtC,CAAC"}
@@ -1,7 +1,4 @@
1
- import type { AnchorClickScrollingEvent, TabActivationEvent } from '../components/Tabs/Tabs';
2
- import type { TariffsTableInnerEvent } from '../ui-kit/InnerTable/InnerTableProps';
1
+ import type { TabActivationEvent } from '../components/Tabs/Tabs';
3
2
  export interface EventMap {
4
3
  tab: TabActivationEvent;
5
- tariffInnerTable: TariffsTableInnerEvent;
6
- anchorClick: AnchorClickScrollingEvent;
7
4
  }
@@ -7,6 +7,7 @@ export interface ProjectSettings {
7
7
  SITEMAP?: string;
8
8
  FOOTER?: string;
9
9
  CDN?: string;
10
+ BASE_PATH?: string;
10
11
  YANDEX_MAP_API_KEY?: string;
11
12
  YANDEX_METRIKA_ID?: string;
12
13
  }
@@ -21,6 +22,7 @@ export declare const projectSettings: {
21
22
  readonly SITEMAP: string | undefined;
22
23
  readonly FOOTER: string | undefined;
23
24
  readonly CDN: string | undefined;
25
+ readonly BASE_PATH: string | undefined;
24
26
  readonly YANDEX_MAP_API_KEY: string | undefined;
25
27
  readonly YANDEX_METRIKA_ID: string | undefined;
26
28
  };
@@ -30,6 +30,9 @@ export const projectSettings = new (class {
30
30
  get CDN() {
31
31
  return this._.CDN;
32
32
  }
33
+ get BASE_PATH() {
34
+ return this._.BASE_PATH;
35
+ }
33
36
  get YANDEX_MAP_API_KEY() {
34
37
  return this._.YANDEX_MAP_API_KEY;
35
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":"AAaA,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB;QACnB,WAAW,EAAE,QAAQ;QACrB,iBAAiB,EAAE,KAAK;KACzB,CAAC;IAEF,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,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AAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC"}
@@ -10,7 +10,7 @@ import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
10
10
  const icons = ['PlusIcon', 'MinusIcon'];
11
11
  export const AccordionItem = JSX(({ className = '', label = '', labelIcon, isExpanded, ...rest }) => {
12
12
  const { bordered } = getParentBlockContent(rest.options, {});
13
- return (_jsx("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider ${className}`, children: _jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (_jsx(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, onClick: onToggle })) }) }));
13
+ return (_jsx("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider ${className}`, children: _jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (_jsx(FoldButton, { className: bordered ? '' : 'py-3.5 px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, onClick: onToggle })) }) }));
14
14
  });
15
15
  AccordionItem.childrenTypes = [];
16
16
  const FoldButton = JSX(({ className, icon, label, primaryIcon, onClick }) => (_jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${className}`, onClick: onClick, children: [_jsxs("div", { className: "flex group-hover:text-primary-main", children: [primaryIcon ? (_jsx(Img, { image: getIconWithVersion(primaryIcon), className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, _jsx(Text, { size: "text-m-title-xs", font: "font-medium", children: label })] }), _jsx(Img, { className: "flex-shrink-0", image: getIconWithVersion({ icon: icon }), width: "24", height: "24", asSVG: true })] })));
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAIpE,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAiC,GAAG,CAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACjE,MAAM,EAAE,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AAC,GAAG,IACF,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE,kBAAkB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACzC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC,CAAC"}
@@ -20,7 +20,7 @@ const benefitsIconStyleMap = {
20
20
  export const BenefitsBlock = JSX(({ className = '', title, benefitList, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${VersionStyleMap[version]}`, ...rest, children: [title ? (_jsx(Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? (_jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
21
21
  const renderStep = (version) => (benefit, i) => {
22
22
  const description = benefit.description;
23
- return (_jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (_jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: getIconWithVersion(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? _jsx(Img, { image: benefit.icon }) : null, _jsxs("div", { className: "ml-5", children: [benefit?.label ? (_jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription(description, version)] })] }, String(i)));
23
+ return (_jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (_jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: getIconWithVersion(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? _jsx(Img, { image: benefit.icon }) : null, _jsxs("div", { className: "ml-5", children: [benefit?.label ? (_jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription(description, version)] })] }, String(i)));
24
24
  };
25
25
  const renderDescription = (description, version) => {
26
26
  const benefitType = description?.benefitType || null;
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAgB,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAIpE,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxE,MAAC,YAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,IAAI,eAAe,CAAC,OAAO,CAAC,EAAE,KAC7G,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,6BAA6B,oBAAoB,CAAC,OAAO,CAAC,EAAE,EACvE,KAAK,EAAE,KAAK,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C,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,aAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
@@ -6,7 +6,7 @@ import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { Headline } from '../Headline/Headline.js';
7
7
  export const Bonus = JSX((props) => {
8
8
  const { className = '', title, description, bonusItems, ...rest } = props;
9
- return (_jsx(BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: _jsxs("div", { className: "container", children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), _jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
9
+ return (_jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: _jsxs("div", { className: "container", children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), _jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
10
10
  ? bonusItems.map((_, i) => {
11
11
  return (_jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: _jsxs("div", { className: "flex justify-between w-full", children: [_jsxs("div", { className: "flex flex-col justify-between mr-4", children: [_jsxs("div", { children: [_jsx("div", { className: "text-h4", children: _.title }), _jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? _jsx(ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
12
12
  ? renderBonusItemContent(_.bonusItemContent)
@@ -18,5 +18,5 @@ const renderBonusItemContent = (bonusItemContent) => (_jsx("div", { children: bo
18
18
  ? renderBonusCount(bonusItemContent)
19
19
  : renderBonusImage(bonusItemContent) }));
20
20
  const renderBonusCount = (_) => (_jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (_jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (_jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
21
- const renderBonusImage = (_) => _.image ? (_jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full`, image: _.image })) : null;
21
+ const renderBonusImage = (_) => _.image ? _jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
22
22
  //# sourceMappingURL=Bonus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAE,oCAAoC,SAAS,EAAE,KA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AAC,UAAU,CAAC,CAAC,CAAC,CACd,eAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,eAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -4,7 +4,7 @@ import { AlignText } from '../../model/AlignText.js';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { Headline } from '../Headline/Headline.js';
7
- export const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? (_jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
7
+ export const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? (_jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
8
8
  const renderBonusBenefit = ({ icon, label, description }, i) => {
9
9
  return (_jsxs("div", { className: "flex flex-col items-center text-h6", children: [description ? _jsx("span", { children: description }) : null, icon ? _jsx(Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, _jsx("div", { children: label ? _jsx("span", { children: label }) : null })] }, String(i)));
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAShD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IACX,SAAS,EAAE,2EAA2E,SAAS,EAAE,KAC7F,IAAI,aAER,KAAC,QAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,cACE,SAAS,EAAE,cAAc,SAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,a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F,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
@@ -3,5 +3,5 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Heading } from '../../ui-kit/Heading/Heading.js';
5
5
  import { BusinessCard } from './BusinessCard.js';
6
- export const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: [_jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), _jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => _jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
6
+ export const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [_jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), _jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => _jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
7
7
  //# sourceMappingURL=BusinessBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BusinessBlock.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,MAAM,CAAC,MAAM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AC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,YAAY,OAAqB,CAAC,IAAhB,MAAM,CAAC,CAAC,CAAC,CAAW,CAAC,CAAC,CAAC,CAAC,IAAI,GAChF,IACO,CAChB,CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { CalculatorValueBlock } from './CalculatorValueBlock.js';
5
5
  import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants.js';
6
6
  import { Rate } from './Rate.js';
@@ -10,7 +10,9 @@ import { renderWantedSumInput } from './renderWantedSumInput.js';
10
10
  import { useBonusCalculatorParams } from './useBonusCalculatorParams.js';
11
11
  export const BonusCalculatorForm = JSX(({ className = '', sourceBookDir = '', buttons, footnote }) => {
12
12
  const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
13
+ const handleTravelExpenseValue = useCallback((_) => setTravelExpenseValue(_), []);
13
14
  const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
15
+ const handleRestExpenseValue = useCallback((_) => setRestExpenseValue(_), []);
14
16
  const userInputParams = {
15
17
  travelExpenseValue,
16
18
  restExpenseValue,
@@ -22,13 +24,13 @@ export const BonusCalculatorForm = JSX(({ className = '', sourceBookDir = '', bu
22
24
  moneyValue: travelExpenseValue,
23
25
  step: 500,
24
26
  isShowItems: false,
25
- }, setTravelExpenseValue), renderWantedSumInput('Сумма покупок в остальных категориях, ₽', {
27
+ }, handleTravelExpenseValue), renderWantedSumInput('Сумма покупок в остальных категориях, ₽', {
26
28
  className: 'mt-7',
27
29
  minSum: minSumOther,
28
30
  maxSum: maxSumOther,
29
31
  moneyValue: restExpenseValue,
30
32
  step: 500,
31
33
  isShowItems: false,
32
- }, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
34
+ }, handleRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
33
35
  });
34
36
  //# sourceMappingURL=BonusCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBA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AAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAC,oBAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,6 @@
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 { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
5
5
  import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
6
6
  import { CalculatorValueBlock } from './CalculatorValueBlock.js';
@@ -29,7 +29,9 @@ export const CreditCalculatorForm = JSX(({ className = '', sourceBookDir, button
29
29
  const [isSalaryClient, toggleIsSalaryClient] = useState(false);
30
30
  const [isStateEmployee, toggleIsStateEmployee] = useState(false);
31
31
  const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
32
+ const handleMoneyValue = useCallback((_) => setMoneyValue(_), []);
32
33
  const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
34
+ const handleMonthsValue = useCallback((_) => setMonthsValue(_), []);
33
35
  const userInputParams = {
34
36
  isAnnuity,
35
37
  isInsurance,
@@ -39,6 +41,6 @@ export const CreditCalculatorForm = JSX(({ className = '', sourceBookDir, button
39
41
  monthsValue,
40
42
  };
41
43
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
42
- return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), _jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
44
+ return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), _jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
43
45
  });
44
46
  //# sourceMappingURL=CreditCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CA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,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  // TEMP
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
5
5
  import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
6
6
  import { CalculatorValueBlock } from './CalculatorValueBlock.js';
7
7
  import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants.js';
@@ -25,6 +25,7 @@ const depositTypeItems = [
25
25
  ];
26
26
  export const DepositCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote }) => {
27
27
  const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
28
+ const handleMoneyValue = useCallback((_) => setMoneyValue(_), []);
28
29
  const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
29
30
  const [isMonthlyInterestPayment, toggleIsMonthlyInterestPayment] = useState(false);
30
31
  const userInputParams = {
@@ -32,12 +33,13 @@ export const DepositCalculatorForm = JSX(({ className = '', sourceBookDir, butto
32
33
  monthsValue,
33
34
  isMonthlyInterestPayment,
34
35
  };
36
+ const handleMonthsValue = useCallback((_) => setMonthsValue(_), []);
35
37
  const calculatorParams = useDepositCalculatorParams(userInputParams, sourceBookDir);
36
38
  const { income, finalSum, rate } = calculatorParams;
37
39
  return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма вклада, ₽', {
38
40
  ...calculatorParams,
39
- }, setMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
41
+ }, handleMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
40
42
  ...calculatorParams,
41
- }, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, _jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
43
+ }, handleMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, _jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
42
44
  });
43
45
  //# sourceMappingURL=DepositCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAA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,aAAa,CAAC,CAAC;IACpF,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC;IAEpD,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC3B,eAAK,SAAS,EAAC,WAAW,aACvB,oBAAoB,CACnB,iBAAiB,EACjB;wBACE,GAAG,gBAAgB;qBACpB,EACD,aAAa,CACd,EACA,iBAAiB,CAChB,sBAAsB,EACtB;wBACE,GAAG,gBAAgB;qBACpB,EACD,cAAc,CACf,IACG,EACN,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,IAAI,CAAC,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EACxE,eAAK,SAAS,EAAC,sBAAsB,aAClC,MAAM,CAAC,CAAC,CAAC,CACR,KAAC,oBAAoB,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,oBAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,gBAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,wBAAwB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EACjE,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,8BAA8B,CAAC,IAAI,KAAK,WAAW,CAAC,GAChF,EACD,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"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,EAAE,wBAAwB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EACjE,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,8BAA8B,CAAC,IAAI,KAAK,WAAW,CAAC,GAChF,EACD,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
3
2
  import { Button } from '../../ui-kit/Button/Button.js';
3
+ import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
4
4
  export function renderProposal(monthlyPayment) {
5
- return (_jsxs("div", { className: "box-border ", children: [_jsx("div", { className: "text-l-light", children: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436" }), _jsxs("div", { className: "text-h3 mb-3", children: [addSpacesBetweenNumbers(Math.round(monthlyPayment)), " \u20BD"] }), _jsx(Button, { className: "mt-[50px] w-full", text: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443", version: "primary", href: "#" })] }));
5
+ return (_jsxs("div", { className: "box-border ", children: [_jsx("div", { className: "text-l-light", children: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436" }), _jsxs("div", { className: "text-h3 mb-3", children: [addSpacesBetweenNumbers(Math.round(monthlyPayment)), " \u20BD"] }), _jsx(Button, { className: "mt-12 w-full", text: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443", version: "primary", href: "#" })] }));
6
6
  }
7
7
  //# sourceMappingURL=renderProposal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderProposal.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,MAAM,UAAU,cAAc,CAAC,cAAsB;IACnD,OAAO,CACL,eAAK,SAAS,EAAC,aAAa,aAC1B,cAAK,SAAS,EAAC,cAAc,wHAAyB,EACtD,eAAK,SAAS,EAAC,cAAc,aAAE,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,eAAS,EAC3F,KAAC,MAAM,IAAC,SAAS,EAAC,kBAAkB,EAAC,IAAI,EAAC,6FAAkB,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,GAAG,IACtF,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"renderProposal.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E,MAAM,UAAU,cAAc,CAAC,cAAsB;IACnD,OAAO,CACL,eAAK,SAAS,EAAC,aAAa,aAC1B,cAAK,SAAS,EAAC,cAAc,wHAAyB,EACtD,eAAK,SAAS,EAAC,cAAc,aAAE,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,eAAS,EAC3F,KAAC,MAAM,IAAC,SAAS,EAAC,cAAc,EAAC,IAAI,EAAC,6FAAkB,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,GAAG,IAClF,CACP,CAAC;AACJ,CAAC"}
@@ -21,6 +21,6 @@ export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label
21
21
  ? getDisabledButtonClasses({ version: button?.version })
22
22
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
23
23
  const link = useLink();
24
- return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
24
+ return (_jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
25
25
  });
26
26
  //# 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,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,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,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AAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,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"}
@@ -7,7 +7,7 @@ import { SwipeListContainer } from '../../ui-kit/SwipeListControl/SwipeListConta
7
7
  import { useSwipeListScroll, } from '../../ui-kit/SwipeListControl/useSwipeListScroll.js';
8
8
  const ITEMS_GAP = 4;
9
9
  const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
10
- const scrollButtonStyle = 'absolute top-1/2 z-50';
10
+ const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
11
11
  export const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
12
12
  const { blocks: childBlocks } = rest.block || {};
13
13
  const count = itemCount || childBlocks?.length || 0;
@@ -22,6 +22,7 @@ Carousel.childrenTypes = [
22
22
  'CarouselTariffsCard',
23
23
  'CarouselLinks',
24
24
  'CarouselProgramsCard',
25
+ 'CarouselInvestmentCard',
25
26
  ];
26
27
  const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (_jsxs("div", { children: [canScrollLeft ? (_jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (_jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
27
28
  //# sourceMappingURL=Carousel.js.map
@@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CAAC,aAAa,GAAG;IACvB,cAAc;IACd,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,wBAAwB;CACzB,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,GACE,EAAE,EAAE,CAAC,CACrB,0BACG,aAAa,CAAC,CAAC,CAAC,CACf,KAAC,gBAAgB,IAAC,SAAS,EAAE,GAAG,iBAAiB,SAAS,EAAE,OAAO,EAAE,UAAU,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,iBAAiB,IAAC,SAAS,EAAE,GAAG,iBAAiB,UAAU,EAAE,OAAO,EAAE,WAAW,GAAI,CACvF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -4,8 +4,8 @@ import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
4
4
  import { Headline } from '../Headline/Headline.js';
5
5
  const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
6
6
  const CARD_WIDTH_MAP = {
7
- normal: `w-[${1007 + 48}px]`,
8
- mini: `w-[${350 + 48}px]`,
7
+ normal: 'min-w-[1007px]',
8
+ mini: 'min-w-[355px]',
9
9
  };
10
10
  export const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (_jsx("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${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 bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? _jsx("div", { className: "mt-6", children: renderButton({ button }) }) : null] })] }) })));
11
11
  //# sourceMappingURL=CarouselCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,MAAM,IAAI,GAAG,EAAE,KAAK;IAC5B,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,KAAK;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,kBAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,eAAK,SAAS,EAAC,iBAAiB,aAC9B,cAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,cAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,cAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,eAAK,SAAS,EAAC,0EAA0E,aACvF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACD,MAAM,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,MAAM,YAAE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
1
+ {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,kBAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,eAAK,SAAS,EAAC,iBAAiB,aAC9B,cAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,cAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,cAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,eAAK,SAAS,EAAC,0EAA0E,aACvF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACD,MAAM,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,MAAM,YAAE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { CarouselInvestmentCardContent } from './CarouselInvestmentCardContent';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ export interface CarouselInvestmentCardProps extends CarouselInvestmentCardContent, UniBlockProps {
4
+ }
5
+ export declare const CarouselInvestmentCard: import("@redneckz/uni-jsx").UNIComponent<CarouselInvestmentCardProps, any, any>;