@redneckz/wildless-cms-uni-blocks 0.5.13 → 0.5.15

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 (1569) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +834 -697
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/Accordion/Accordion.d.ts +2 -2
  5. package/bundle/components/Accordion/Accordion.mobile.d.ts +2 -2
  6. package/bundle/components/Accordion/AccordionContent.d.ts +0 -26
  7. package/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
  8. package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  9. package/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  10. package/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  11. package/bundle/components/BaseTile/BaseTile.d.ts +1 -1
  12. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  13. package/bundle/components/Blocks.d.ts +6 -3
  14. package/bundle/components/Blocks.mobile.d.ts +2 -1
  15. package/bundle/components/Bonus/Bonus.d.ts +1 -1
  16. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  17. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  18. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  19. package/bundle/components/Calculator/Calculator.d.ts +1 -1
  20. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  21. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  22. package/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
  23. package/bundle/components/Calculator/renderFootnote.d.ts +1 -1
  24. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  25. package/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
  26. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  27. package/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
  28. package/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
  29. package/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
  30. package/bundle/components/Catalog/Catalog.d.ts +1 -1
  31. package/bundle/components/Catalog/CatalogCard.d.ts +1 -1
  32. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  33. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  34. package/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
  35. package/bundle/components/ContentPage/ContentPage.d.ts +2 -1
  36. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  37. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  38. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  39. package/bundle/components/Footer/Contacts.d.ts +1 -1
  40. package/bundle/components/Footer/Footer.d.ts +1 -1
  41. package/bundle/components/Footer/Footer.mobile.d.ts +1 -1
  42. package/bundle/components/Footer/FooterLink.d.ts +1 -1
  43. package/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
  44. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  45. package/bundle/components/Footer/Sitemap.d.ts +2 -2
  46. package/bundle/components/Footer/SocialMedia.d.ts +1 -1
  47. package/bundle/components/Footer/SocialMedia.mobile.d.ts +1 -1
  48. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  49. package/bundle/components/Gallery/GalleryProps.d.ts +1 -1
  50. package/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
  51. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  52. package/bundle/components/Header/DropdownMenu.d.ts +1 -1
  53. package/bundle/components/Header/Header.d.ts +1 -1
  54. package/bundle/components/Header/Header.mobile.d.ts +1 -1
  55. package/bundle/components/Headline/Headline.d.ts +1 -1
  56. package/bundle/components/Headline/Headline.mobile.d.ts +1 -1
  57. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  58. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  59. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  60. package/bundle/components/LikeControl/LikeControl.d.ts +1 -1
  61. package/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
  62. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  63. package/bundle/components/LinkList/LinkList.d.ts +1 -1
  64. package/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
  65. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  66. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  67. package/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
  68. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  69. package/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
  70. package/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  71. package/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
  72. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  73. package/bundle/components/OtherProducts/OtherProducts.d.ts +2 -2
  74. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  75. package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  76. package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  77. package/bundle/components/PictureText/PictureText.d.ts +1 -1
  78. package/bundle/components/Placeholder/Placeholder.d.ts +1 -1
  79. package/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
  80. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  81. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  82. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  83. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  84. package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  85. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  86. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  87. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  88. package/bundle/components/ProductTile/ProductTile.d.ts +1 -1
  89. package/bundle/components/PromoTile/PromoTile.d.ts +1 -1
  90. package/bundle/components/Recommendation/Recommendation.d.ts +1 -1
  91. package/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
  92. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  93. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  94. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  95. package/bundle/components/Tabs/Tabs.d.ts +1 -1
  96. package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  97. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  98. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  99. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  100. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  101. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  102. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  103. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  104. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  105. package/bundle/components/TextBlock/TextBlock.d.ts +1 -1
  106. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  107. package/bundle/components/Tile/Tile.d.ts +1 -1
  108. package/bundle/hooks/useOfficeMap.d.ts +3 -0
  109. package/bundle/icons/IconName.d.ts +4 -2
  110. package/bundle/index.d.ts +1 -0
  111. package/bundle/model/BlocksRegistry.d.ts +1 -7
  112. package/bundle/model/ContentPageDef.d.ts +0 -8
  113. package/bundle/model/JSXBlock.d.ts +17 -0
  114. package/bundle/model/getParentBlockContent.d.ts +2 -0
  115. package/bundle/model/getParentBlockDef.d.ts +3 -0
  116. package/bundle/ui-kit/BlockWrapper.d.ts +1 -1
  117. package/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
  118. package/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
  119. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  120. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  121. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  122. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  123. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  124. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  125. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  126. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  127. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  128. package/cosmos-static/icons/MetroIcon.svg +1 -0
  129. package/dist/components/Accordion/Accordion.d.ts +2 -2
  130. package/dist/components/Accordion/Accordion.js +2 -5
  131. package/dist/components/Accordion/Accordion.js.map +1 -1
  132. package/dist/components/Accordion/Accordion.mobile.d.ts +2 -2
  133. package/dist/components/Accordion/Accordion.mobile.js +2 -5
  134. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  135. package/dist/components/Accordion/AccordionContent.d.ts +0 -26
  136. package/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
  137. package/dist/components/AccordionItem/AccordionItem.js +12 -0
  138. package/dist/components/AccordionItem/AccordionItem.js.map +1 -0
  139. package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  140. package/dist/components/AccordionItem/AccordionItem.mobile.js +16 -0
  141. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
  142. package/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  143. package/dist/components/AccordionItem/AccordionItemContent.js +2 -0
  144. package/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
  145. package/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  146. package/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  147. package/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
  148. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  149. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  150. package/dist/components/Blocks.d.ts +6 -3
  151. package/dist/components/Blocks.js +7 -1
  152. package/dist/components/Blocks.js.map +1 -1
  153. package/dist/components/Blocks.mobile.d.ts +2 -1
  154. package/dist/components/Blocks.mobile.js +2 -0
  155. package/dist/components/Blocks.mobile.js.map +1 -1
  156. package/dist/components/Bonus/Bonus.d.ts +1 -1
  157. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  158. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  159. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  160. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  161. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  162. package/dist/components/Calculator/Calculator.d.ts +1 -1
  163. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  164. package/dist/components/Calculator/CreditCalculatorForm.js +2 -1
  165. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  166. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  167. package/dist/components/Calculator/DepositCalculatorForm.js +2 -1
  168. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  169. package/dist/components/Calculator/renderButtonSection.d.ts +3 -1
  170. package/dist/components/Calculator/renderButtonSection.js.map +1 -1
  171. package/dist/components/Calculator/renderFootnote.d.ts +1 -1
  172. package/dist/components/Calculator/renderFootnote.js.map +1 -1
  173. package/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  174. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  175. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  176. package/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
  177. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  178. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  179. package/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
  180. package/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  181. package/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
  182. package/dist/components/Calculator/renderRealEstateValue.js +1 -1
  183. package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  184. package/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
  185. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  186. package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  187. package/dist/components/CardTransfer/CardTransfer.js +3 -3
  188. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  189. package/dist/components/Catalog/Catalog.d.ts +1 -1
  190. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  191. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  192. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  193. package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  194. package/dist/components/ContentPage/ContentPage.d.ts +2 -1
  195. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  196. package/dist/components/ContentPage/renderBlock.js +7 -6
  197. package/dist/components/ContentPage/renderBlock.js.map +1 -1
  198. package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  199. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  200. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  201. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  202. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  203. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  204. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  205. package/dist/components/Footer/Contacts.d.ts +1 -1
  206. package/dist/components/Footer/Footer.d.ts +1 -1
  207. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  208. package/dist/components/Footer/Footer.mobile.js +1 -1
  209. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  210. package/dist/components/Footer/FooterLink.d.ts +1 -1
  211. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  212. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  213. package/dist/components/Footer/Sitemap.d.ts +2 -2
  214. package/dist/components/Footer/Sitemap.js +3 -3
  215. package/dist/components/Footer/Sitemap.js.map +1 -1
  216. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  217. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  218. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  219. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  220. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  221. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  222. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  223. package/dist/components/GracePeriod/GracePeriod.js +4 -3
  224. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  225. package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  226. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  227. package/dist/components/Header/DropdownMenu.js.map +1 -1
  228. package/dist/components/Header/Header.d.ts +1 -1
  229. package/dist/components/Header/Header.js.map +1 -1
  230. package/dist/components/Header/Header.mobile.d.ts +1 -1
  231. package/dist/components/Header/Header.mobile.js +1 -1
  232. package/dist/components/Header/Header.mobile.js.map +1 -1
  233. package/dist/components/Headline/Headline.d.ts +1 -1
  234. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  235. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  236. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  237. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  238. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  239. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  240. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  241. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  242. package/dist/components/LinkList/LinkList.d.ts +1 -1
  243. package/dist/components/LinkList/LinkList.js.map +1 -1
  244. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  245. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  246. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  247. package/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
  248. package/dist/components/OfficeMap/OfficeMap.js +45 -0
  249. package/dist/components/OfficeMap/OfficeMap.js.map +1 -0
  250. package/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  251. package/dist/components/OfficeMap/OfficeMapContent.js +2 -0
  252. package/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
  253. package/dist/components/OfficeMap/YandexMap.d.ts +5 -0
  254. package/dist/components/OfficeMap/YandexMap.js +30 -0
  255. package/dist/components/OfficeMap/YandexMap.js.map +1 -0
  256. package/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  257. package/dist/components/OfficeMap/mockOfficeMap.js +82 -0
  258. package/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
  259. package/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
  260. package/dist/components/OfficeMap/renderFunctions.js +19 -0
  261. package/dist/components/OfficeMap/renderFunctions.js.map +1 -0
  262. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  263. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  264. package/dist/components/OtherProducts/OtherProducts.d.ts +2 -2
  265. package/dist/components/OtherProducts/OtherProducts.js +2 -4
  266. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  267. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  268. package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  269. package/dist/components/OtherProductsItem/OtherProductsItem.js +15 -0
  270. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
  271. package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  272. package/dist/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
  273. package/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
  274. package/dist/components/PictureText/PictureText.d.ts +1 -1
  275. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  276. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  277. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  278. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  279. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  280. package/dist/components/ProductBlock/ProductBlockInner.js +4 -1
  281. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  282. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  283. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  284. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  285. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  286. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  287. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  288. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  289. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  290. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  291. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  292. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  293. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  294. package/dist/components/Recommendation/Recommendation.js +2 -2
  295. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  296. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  297. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  298. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  299. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  300. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  301. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  302. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  303. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  304. package/dist/components/Tabs/Tabs.d.ts +1 -1
  305. package/dist/components/Tabs/renderGroupTab.js +4 -4
  306. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  307. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  308. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  309. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  310. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  311. package/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  312. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  313. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  314. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  315. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  316. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  317. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  318. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  319. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  320. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  321. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  322. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  323. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  324. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  325. package/dist/components/Tile/Tile.d.ts +1 -1
  326. package/dist/components/Tile/Tile.js +2 -2
  327. package/dist/components/Tile/Tile.js.map +1 -1
  328. package/dist/hooks/useOfficeMap.d.ts +3 -0
  329. package/dist/hooks/useOfficeMap.js +19 -0
  330. package/dist/hooks/useOfficeMap.js.map +1 -0
  331. package/dist/icons/IconName.d.ts +4 -2
  332. package/dist/icons/IconName.js +2 -0
  333. package/dist/icons/IconName.js.map +1 -1
  334. package/dist/index.d.ts +1 -0
  335. package/dist/index.js +2 -1
  336. package/dist/index.js.map +1 -1
  337. package/dist/model/BlocksRegistry.d.ts +1 -7
  338. package/dist/model/ContentPageDef.d.ts +0 -8
  339. package/dist/model/JSXBlock.d.ts +17 -0
  340. package/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
  341. package/dist/model/JSXBlock.js.map +1 -0
  342. package/dist/model/getParentBlockContent.d.ts +2 -0
  343. package/dist/model/getParentBlockContent.js +9 -0
  344. package/dist/model/getParentBlockContent.js.map +1 -0
  345. package/dist/model/getParentBlockDef.d.ts +3 -0
  346. package/dist/model/getParentBlockDef.js +8 -0
  347. package/dist/model/getParentBlockDef.js.map +1 -0
  348. package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  349. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  350. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  351. package/dist/ui-kit/BlockWrapper.js +3 -1
  352. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  353. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  354. package/dist/ui-kit/Foldable/FoldableSection.js +1 -1
  355. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  356. package/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
  357. package/dist/ui-kit/Img/getIconVersion.js +1 -1
  358. package/dist/ui-kit/Img/getIconVersion.js.map +1 -1
  359. package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  360. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  361. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  362. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  363. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  364. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  365. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  366. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  367. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  368. package/dist/ui-kit/Select/Select.js +1 -1
  369. package/dist/ui-kit/Select/Select.js.map +1 -1
  370. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  371. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  372. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  373. package/lib/common.css +1 -1
  374. package/lib/components/Accordion/Accordion.d.ts +2 -2
  375. package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
  376. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
  377. package/lib/components/Accordion/Accordion.js +2 -5
  378. package/lib/components/Accordion/Accordion.js.map +1 -1
  379. package/lib/components/Accordion/Accordion.mobile.d.ts +2 -2
  380. package/lib/components/Accordion/Accordion.mobile.js +2 -5
  381. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  382. package/lib/components/Accordion/AccordionContent.d.ts +0 -26
  383. package/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
  384. package/lib/components/AccordionItem/AccordionItem.fixture.d.ts +5 -0
  385. package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +5 -0
  386. package/lib/components/AccordionItem/AccordionItem.js +10 -0
  387. package/lib/components/AccordionItem/AccordionItem.js.map +1 -0
  388. package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  389. package/lib/components/AccordionItem/AccordionItem.mobile.js +14 -0
  390. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
  391. package/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  392. package/lib/components/AccordionItem/AccordionItemContent.js +2 -0
  393. package/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
  394. package/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  395. package/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  396. package/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
  397. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  398. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  399. package/lib/components/Blocks.d.ts +6 -3
  400. package/lib/components/Blocks.js +7 -1
  401. package/lib/components/Blocks.js.map +1 -1
  402. package/lib/components/Blocks.mobile.d.ts +2 -1
  403. package/lib/components/Blocks.mobile.js +2 -0
  404. package/lib/components/Blocks.mobile.js.map +1 -1
  405. package/lib/components/Bonus/Bonus.d.ts +1 -1
  406. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  407. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
  408. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  409. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  410. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  411. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  412. package/lib/components/Calculator/Calculator.d.ts +1 -1
  413. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  414. package/lib/components/Calculator/CreditCalculatorForm.js +2 -1
  415. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  416. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  417. package/lib/components/Calculator/DepositCalculatorForm.js +2 -1
  418. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  419. package/lib/components/Calculator/renderButtonSection.d.ts +3 -1
  420. package/lib/components/Calculator/renderButtonSection.js.map +1 -1
  421. package/lib/components/Calculator/renderFootnote.d.ts +1 -1
  422. package/lib/components/Calculator/renderFootnote.js.map +1 -1
  423. package/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  424. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  425. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  426. package/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
  427. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  428. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  429. package/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
  430. package/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  431. package/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
  432. package/lib/components/Calculator/renderRealEstateValue.js +1 -1
  433. package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  434. package/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
  435. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  436. package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  437. package/lib/components/CardTransfer/CardTransfer.js +3 -3
  438. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  439. package/lib/components/Catalog/Catalog.d.ts +1 -1
  440. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  441. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  442. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  443. package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  444. package/lib/components/ContentPage/ContentPage.d.ts +2 -1
  445. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  446. package/lib/components/ContentPage/renderBlock.js +7 -6
  447. package/lib/components/ContentPage/renderBlock.js.map +1 -1
  448. package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  449. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  450. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  451. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  452. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  453. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  454. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  455. package/lib/components/Footer/Contacts.d.ts +1 -1
  456. package/lib/components/Footer/Footer.d.ts +1 -1
  457. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  458. package/lib/components/Footer/Footer.mobile.js +1 -1
  459. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  460. package/lib/components/Footer/FooterLink.d.ts +1 -1
  461. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  462. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  463. package/lib/components/Footer/Sitemap.d.ts +2 -2
  464. package/lib/components/Footer/Sitemap.js +3 -3
  465. package/lib/components/Footer/Sitemap.js.map +1 -1
  466. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  467. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  468. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  469. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  470. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  471. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  472. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  473. package/lib/components/GracePeriod/GracePeriod.js +4 -3
  474. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  475. package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  476. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  477. package/lib/components/Header/DropdownMenu.js.map +1 -1
  478. package/lib/components/Header/Header.d.ts +1 -1
  479. package/lib/components/Header/Header.js.map +1 -1
  480. package/lib/components/Header/Header.mobile.d.ts +1 -1
  481. package/lib/components/Header/Header.mobile.js +1 -1
  482. package/lib/components/Header/Header.mobile.js.map +1 -1
  483. package/lib/components/Headline/Headline.d.ts +1 -1
  484. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  485. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  486. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  487. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  488. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  489. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  490. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  491. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  492. package/lib/components/LinkList/LinkList.d.ts +1 -1
  493. package/lib/components/LinkList/LinkList.js.map +1 -1
  494. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  495. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  496. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  497. package/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
  498. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +5 -0
  499. package/lib/components/OfficeMap/OfficeMap.js +43 -0
  500. package/lib/components/OfficeMap/OfficeMap.js.map +1 -0
  501. package/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  502. package/lib/components/OfficeMap/OfficeMapContent.js +2 -0
  503. package/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
  504. package/lib/components/OfficeMap/YandexMap.d.ts +5 -0
  505. package/lib/components/OfficeMap/YandexMap.js +28 -0
  506. package/lib/components/OfficeMap/YandexMap.js.map +1 -0
  507. package/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  508. package/lib/components/OfficeMap/mockOfficeMap.js +80 -0
  509. package/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
  510. package/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
  511. package/lib/components/OfficeMap/renderFunctions.js +14 -0
  512. package/lib/components/OfficeMap/renderFunctions.js.map +1 -0
  513. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  514. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  515. package/lib/components/OtherProducts/OtherProducts.d.ts +2 -2
  516. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +1 -0
  517. package/lib/components/OtherProducts/OtherProducts.js +2 -4
  518. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  519. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  520. package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  521. package/lib/components/OtherProductsItem/OtherProductsItem.fixture.d.ts +5 -0
  522. package/lib/components/OtherProductsItem/OtherProductsItem.js +13 -0
  523. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
  524. package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  525. package/lib/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
  526. package/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
  527. package/lib/components/PictureText/PictureText.d.ts +1 -1
  528. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  529. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  530. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  531. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  532. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  533. package/lib/components/ProductBlock/ProductBlockInner.js +4 -1
  534. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  535. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  536. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  537. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  538. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  539. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  540. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  541. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  542. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  543. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  544. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  545. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  546. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  547. package/lib/components/Recommendation/Recommendation.js +2 -2
  548. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  549. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  550. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  551. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  552. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  553. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  554. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  555. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  556. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  557. package/lib/components/Tabs/Tabs.d.ts +1 -1
  558. package/lib/components/Tabs/renderGroupTab.js +4 -4
  559. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  560. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  561. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  562. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  563. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  564. package/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  565. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  566. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  567. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  568. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  569. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  570. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  571. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  572. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  573. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  574. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  575. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  576. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  577. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  578. package/lib/components/Tile/Tile.d.ts +1 -1
  579. package/lib/components/Tile/Tile.js +2 -2
  580. package/lib/components/Tile/Tile.js.map +1 -1
  581. package/lib/hooks/useOfficeMap.d.ts +3 -0
  582. package/lib/hooks/useOfficeMap.js +16 -0
  583. package/lib/hooks/useOfficeMap.js.map +1 -0
  584. package/lib/icons/IconName.d.ts +4 -2
  585. package/lib/icons/IconName.js +2 -0
  586. package/lib/icons/IconName.js.map +1 -1
  587. package/lib/index.d.ts +1 -0
  588. package/lib/index.js +1 -0
  589. package/lib/index.js.map +1 -1
  590. package/lib/model/BlocksRegistry.d.ts +1 -7
  591. package/lib/model/ContentPageDef.d.ts +0 -8
  592. package/lib/model/JSXBlock.d.ts +17 -0
  593. package/lib/model/JSXBlock.js +2 -0
  594. package/lib/model/JSXBlock.js.map +1 -0
  595. package/lib/model/getParentBlockContent.d.ts +2 -0
  596. package/lib/model/getParentBlockContent.js +6 -0
  597. package/lib/model/getParentBlockContent.js.map +1 -0
  598. package/lib/model/getParentBlockDef.d.ts +3 -0
  599. package/lib/model/getParentBlockDef.js +5 -0
  600. package/lib/model/getParentBlockDef.js.map +1 -0
  601. package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  602. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  603. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  604. package/lib/ui-kit/BlockWrapper.js +3 -1
  605. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  606. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  607. package/lib/ui-kit/Foldable/FoldableSection.js +1 -1
  608. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  609. package/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
  610. package/lib/ui-kit/Img/getIconVersion.js +1 -1
  611. package/lib/ui-kit/Img/getIconVersion.js.map +1 -1
  612. package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  613. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  614. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  615. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  616. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  617. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  618. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  619. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  620. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  621. package/lib/ui-kit/Select/Select.js +2 -2
  622. package/lib/ui-kit/Select/Select.js.map +1 -1
  623. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  624. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  625. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  626. package/mobile/bundle/bundle.umd.js +539 -547
  627. package/mobile/bundle/bundle.umd.min.js +1 -1
  628. package/mobile/bundle/components/Accordion/Accordion.d.ts +2 -2
  629. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +0 -26
  630. package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
  631. package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  632. package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  633. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -1
  634. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  635. package/mobile/bundle/components/Blocks.d.ts +2 -1
  636. package/mobile/bundle/components/Bonus/Bonus.d.ts +1 -1
  637. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  638. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  639. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  640. package/mobile/bundle/components/Calculator/Calculator.d.ts +1 -1
  641. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  642. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  643. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
  644. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +1 -1
  645. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  646. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
  647. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  648. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
  649. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
  650. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
  651. package/mobile/bundle/components/Catalog/Catalog.d.ts +1 -1
  652. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +1 -1
  653. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  654. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
  655. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -1
  656. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  657. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  658. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  659. package/mobile/bundle/components/Footer/Contacts.d.ts +1 -1
  660. package/mobile/bundle/components/Footer/Footer.d.ts +1 -1
  661. package/mobile/bundle/components/Footer/FooterLink.d.ts +1 -1
  662. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
  663. package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
  664. package/mobile/bundle/components/Footer/SocialMedia.d.ts +1 -1
  665. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  666. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +1 -1
  667. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
  668. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  669. package/mobile/bundle/components/Header/DropdownMenu.d.ts +1 -1
  670. package/mobile/bundle/components/Header/Header.d.ts +1 -1
  671. package/mobile/bundle/components/Headline/Headline.d.ts +1 -1
  672. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  673. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  674. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  675. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +1 -1
  676. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
  677. package/mobile/bundle/components/LinkList/LinkList.d.ts +1 -1
  678. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
  679. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  680. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
  681. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  682. package/mobile/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
  683. package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  684. package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
  685. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  686. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +2 -2
  687. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  688. package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  689. package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  690. package/mobile/bundle/components/PictureText/PictureText.d.ts +1 -1
  691. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +1 -1
  692. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
  693. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  694. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  695. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  696. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  697. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  698. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +1 -1
  699. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +1 -1
  700. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +1 -1
  701. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
  702. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  703. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  704. package/mobile/bundle/components/Tabs/Tabs.d.ts +1 -1
  705. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  706. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  707. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  708. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  709. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  710. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  711. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  712. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  713. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +1 -1
  714. package/mobile/bundle/components/Tile/Tile.d.ts +1 -1
  715. package/mobile/bundle/hooks/useOfficeMap.d.ts +3 -0
  716. package/mobile/bundle/icons/IconName.d.ts +4 -2
  717. package/mobile/bundle/index.d.ts +1 -0
  718. package/mobile/bundle/model/BlocksRegistry.d.ts +1 -7
  719. package/mobile/bundle/model/ContentPageDef.d.ts +0 -8
  720. package/mobile/bundle/model/JSXBlock.d.ts +17 -0
  721. package/mobile/bundle/model/getParentBlockContent.d.ts +2 -0
  722. package/mobile/bundle/model/getParentBlockDef.d.ts +3 -0
  723. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -1
  724. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
  725. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
  726. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  727. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  728. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  729. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  730. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  731. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  732. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  733. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  734. package/mobile/dist/components/Accordion/Accordion.d.ts +2 -2
  735. package/mobile/dist/components/Accordion/Accordion.js +2 -5
  736. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  737. package/mobile/dist/components/Accordion/AccordionContent.d.ts +0 -26
  738. package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
  739. package/mobile/dist/components/AccordionItem/AccordionItem.js +16 -0
  740. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -0
  741. package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  742. package/mobile/dist/components/AccordionItem/AccordionItemContent.js +2 -0
  743. package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
  744. package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  745. package/mobile/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  746. package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
  747. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  748. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  749. package/mobile/dist/components/Blocks.d.ts +2 -1
  750. package/mobile/dist/components/Blocks.js +2 -0
  751. package/mobile/dist/components/Blocks.js.map +1 -1
  752. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  753. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  754. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  755. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  756. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  757. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  758. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  759. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  760. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -1
  761. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  762. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  763. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -1
  764. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  765. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +3 -1
  766. package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
  767. package/mobile/dist/components/Calculator/renderFootnote.d.ts +1 -1
  768. package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
  769. package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  770. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  771. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  772. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
  773. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  774. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  775. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
  776. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  777. package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
  778. package/mobile/dist/components/Calculator/renderRealEstateValue.js +1 -1
  779. package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  780. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
  781. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  782. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  783. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -3
  784. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  785. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  786. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  787. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  788. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  789. package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -1
  790. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  791. package/mobile/dist/components/ContentPage/renderBlock.js +7 -6
  792. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
  793. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  794. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  795. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  796. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  797. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  798. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  799. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  800. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  801. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  802. package/mobile/dist/components/Footer/Footer.js +1 -1
  803. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  804. package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
  805. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  806. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  807. package/mobile/dist/components/Footer/Sitemap.js +3 -3
  808. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  809. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  810. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  811. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  812. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  813. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  814. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  815. package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -3
  816. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  817. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  818. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  819. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  820. package/mobile/dist/components/Header/Header.d.ts +1 -1
  821. package/mobile/dist/components/Header/Header.js +1 -1
  822. package/mobile/dist/components/Header/Header.js.map +1 -1
  823. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  824. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  825. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  826. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  827. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  828. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  829. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  830. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  831. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  832. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  833. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  834. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
  835. package/mobile/dist/components/OfficeMap/OfficeMap.js +45 -0
  836. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -0
  837. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  838. package/mobile/dist/components/OfficeMap/OfficeMapContent.js +2 -0
  839. package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
  840. package/mobile/dist/components/OfficeMap/YandexMap.d.ts +5 -0
  841. package/mobile/dist/components/OfficeMap/YandexMap.js +30 -0
  842. package/mobile/dist/components/OfficeMap/YandexMap.js.map +1 -0
  843. package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  844. package/mobile/dist/components/OfficeMap/mockOfficeMap.js +82 -0
  845. package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
  846. package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
  847. package/mobile/dist/components/OfficeMap/renderFunctions.js +19 -0
  848. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -0
  849. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  850. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  851. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +2 -2
  852. package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -4
  853. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  854. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  855. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  856. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +15 -0
  857. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
  858. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  859. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
  860. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
  861. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  862. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  863. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  864. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  865. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  866. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  867. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  868. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  869. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  870. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  871. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  872. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  873. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  874. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  875. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  876. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  877. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  878. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  879. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  880. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  881. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  882. package/mobile/dist/components/Tabs/renderGroupTab.js +4 -4
  883. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  884. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  885. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  886. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  887. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  888. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  889. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  890. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  891. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  892. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  893. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  894. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  895. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  896. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  897. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  898. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  899. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  900. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  901. package/mobile/dist/components/Tile/Tile.js +2 -2
  902. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  903. package/mobile/dist/hooks/useOfficeMap.d.ts +3 -0
  904. package/mobile/dist/hooks/useOfficeMap.js +19 -0
  905. package/mobile/dist/hooks/useOfficeMap.js.map +1 -0
  906. package/mobile/dist/icons/IconName.d.ts +4 -2
  907. package/mobile/dist/icons/IconName.js +2 -0
  908. package/mobile/dist/icons/IconName.js.map +1 -1
  909. package/mobile/dist/index.d.ts +1 -0
  910. package/mobile/dist/index.js +2 -1
  911. package/mobile/dist/index.js.map +1 -1
  912. package/mobile/dist/model/BlocksRegistry.d.ts +1 -7
  913. package/mobile/dist/model/ContentPageDef.d.ts +0 -8
  914. package/mobile/dist/model/JSXBlock.d.ts +17 -0
  915. package/mobile/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
  916. package/mobile/dist/model/JSXBlock.js.map +1 -0
  917. package/mobile/dist/model/getParentBlockContent.d.ts +2 -0
  918. package/mobile/dist/model/getParentBlockContent.js +9 -0
  919. package/mobile/dist/model/getParentBlockContent.js.map +1 -0
  920. package/mobile/dist/model/getParentBlockDef.d.ts +3 -0
  921. package/mobile/dist/model/getParentBlockDef.js +8 -0
  922. package/mobile/dist/model/getParentBlockDef.js.map +1 -0
  923. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  924. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  925. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  926. package/mobile/dist/ui-kit/BlockWrapper.js +3 -1
  927. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  928. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  929. package/mobile/dist/ui-kit/Foldable/FoldableSection.js +1 -1
  930. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  931. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
  932. package/mobile/dist/ui-kit/Img/getIconVersion.js +1 -1
  933. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -1
  934. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  935. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  936. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  937. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  938. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  939. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  940. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  941. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  942. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  943. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  944. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  945. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  946. package/mobile/lib/components/Accordion/Accordion.d.ts +2 -2
  947. package/mobile/lib/components/Accordion/Accordion.js +2 -5
  948. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  949. package/mobile/lib/components/Accordion/AccordionContent.d.ts +0 -26
  950. package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
  951. package/mobile/lib/components/AccordionItem/AccordionItem.js +14 -0
  952. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -0
  953. package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  954. package/mobile/lib/components/AccordionItem/AccordionItemContent.js +2 -0
  955. package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
  956. package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  957. package/mobile/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  958. package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
  959. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  960. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  961. package/mobile/lib/components/Blocks.d.ts +2 -1
  962. package/mobile/lib/components/Blocks.js +2 -0
  963. package/mobile/lib/components/Blocks.js.map +1 -1
  964. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  965. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  966. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  967. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  968. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  969. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  970. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  971. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  972. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -1
  973. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  974. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  975. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -1
  976. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  977. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +3 -1
  978. package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
  979. package/mobile/lib/components/Calculator/renderFootnote.d.ts +1 -1
  980. package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
  981. package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  982. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  983. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  984. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
  985. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  986. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  987. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
  988. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  989. package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
  990. package/mobile/lib/components/Calculator/renderRealEstateValue.js +1 -1
  991. package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  992. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
  993. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  994. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  995. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -3
  996. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  997. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  998. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  999. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  1000. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  1001. package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -1
  1002. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1003. package/mobile/lib/components/ContentPage/renderBlock.js +7 -6
  1004. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
  1005. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  1006. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  1007. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1008. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1009. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  1010. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  1011. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1012. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  1013. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  1014. package/mobile/lib/components/Footer/Footer.js +1 -1
  1015. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1016. package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
  1017. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  1018. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  1019. package/mobile/lib/components/Footer/Sitemap.js +3 -3
  1020. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  1021. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  1022. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  1023. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1024. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  1025. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  1026. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  1027. package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -3
  1028. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1029. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  1030. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  1031. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1032. package/mobile/lib/components/Header/Header.d.ts +1 -1
  1033. package/mobile/lib/components/Header/Header.js +1 -1
  1034. package/mobile/lib/components/Header/Header.js.map +1 -1
  1035. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  1036. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  1037. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1038. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  1039. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  1040. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  1041. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  1042. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  1043. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1044. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  1045. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  1046. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
  1047. package/mobile/lib/components/OfficeMap/OfficeMap.js +43 -0
  1048. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -0
  1049. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  1050. package/mobile/lib/components/OfficeMap/OfficeMapContent.js +2 -0
  1051. package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
  1052. package/mobile/lib/components/OfficeMap/YandexMap.d.ts +5 -0
  1053. package/mobile/lib/components/OfficeMap/YandexMap.js +28 -0
  1054. package/mobile/lib/components/OfficeMap/YandexMap.js.map +1 -0
  1055. package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  1056. package/mobile/lib/components/OfficeMap/mockOfficeMap.js +80 -0
  1057. package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
  1058. package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
  1059. package/mobile/lib/components/OfficeMap/renderFunctions.js +14 -0
  1060. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -0
  1061. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  1062. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1063. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +2 -2
  1064. package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -4
  1065. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  1066. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -19
  1067. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
  1068. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +13 -0
  1069. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
  1070. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
  1071. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
  1072. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
  1073. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  1074. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  1075. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  1076. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  1077. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  1078. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1079. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  1080. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  1081. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  1082. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  1083. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1084. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  1085. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  1086. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  1087. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1088. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  1089. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1090. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1091. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1092. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1093. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  1094. package/mobile/lib/components/Tabs/renderGroupTab.js +4 -4
  1095. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1096. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1097. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1098. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  1099. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  1100. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  1101. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1102. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1103. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  1104. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  1105. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  1106. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  1107. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1108. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  1109. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1110. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1111. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  1112. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  1113. package/mobile/lib/components/Tile/Tile.js +2 -2
  1114. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1115. package/mobile/lib/hooks/useOfficeMap.d.ts +3 -0
  1116. package/mobile/lib/hooks/useOfficeMap.js +16 -0
  1117. package/mobile/lib/hooks/useOfficeMap.js.map +1 -0
  1118. package/mobile/lib/icons/IconName.d.ts +4 -2
  1119. package/mobile/lib/icons/IconName.js +2 -0
  1120. package/mobile/lib/icons/IconName.js.map +1 -1
  1121. package/mobile/lib/index.d.ts +1 -0
  1122. package/mobile/lib/index.js +1 -0
  1123. package/mobile/lib/index.js.map +1 -1
  1124. package/mobile/lib/model/BlocksRegistry.d.ts +1 -7
  1125. package/mobile/lib/model/ContentPageDef.d.ts +0 -8
  1126. package/mobile/lib/model/JSXBlock.d.ts +17 -0
  1127. package/mobile/lib/model/JSXBlock.js +2 -0
  1128. package/mobile/lib/model/JSXBlock.js.map +1 -0
  1129. package/mobile/lib/model/getParentBlockContent.d.ts +2 -0
  1130. package/mobile/lib/model/getParentBlockContent.js +6 -0
  1131. package/mobile/lib/model/getParentBlockContent.js.map +1 -0
  1132. package/mobile/lib/model/getParentBlockDef.d.ts +3 -0
  1133. package/mobile/lib/model/getParentBlockDef.js +5 -0
  1134. package/mobile/lib/model/getParentBlockDef.js.map +1 -0
  1135. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  1136. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1137. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  1138. package/mobile/lib/ui-kit/BlockWrapper.js +3 -1
  1139. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1140. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  1141. package/mobile/lib/ui-kit/Foldable/FoldableSection.js +1 -1
  1142. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  1143. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
  1144. package/mobile/lib/ui-kit/Img/getIconVersion.js +1 -1
  1145. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -1
  1146. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  1147. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  1148. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  1149. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  1150. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1151. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  1152. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  1153. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  1154. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1155. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1156. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  1157. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  1158. package/mobile/src/components/Accordion/Accordion.example.json +1 -63
  1159. package/mobile/src/components/Accordion/Accordion.tsx +15 -31
  1160. package/mobile/src/components/Accordion/Accordion.ui.json +1 -79
  1161. package/mobile/src/components/Accordion/AccordionContent.ts +2 -28
  1162. package/mobile/src/components/AccordionItem/AccordionItem.example.json +7 -0
  1163. package/mobile/src/components/AccordionItem/AccordionItem.tsx +73 -0
  1164. package/mobile/src/components/AccordionItem/AccordionItem.ui.json +7 -0
  1165. package/mobile/src/components/AccordionItem/AccordionItemContent.ts +15 -0
  1166. package/mobile/src/components/AccordionItem/AccordionItemProps.ts +4 -0
  1167. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  1168. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1169. package/mobile/src/components/Blocks.ts +2 -0
  1170. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  1171. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
  1172. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
  1173. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
  1174. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  1175. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  1176. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  1177. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1178. package/mobile/src/components/Calculator/renderButtonSection.tsx +3 -1
  1179. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1180. package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
  1181. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
  1182. package/mobile/src/components/Calculator/renderMonthsInput.tsx +6 -2
  1183. package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
  1184. package/mobile/src/components/Calculator/renderRealEstateValue.tsx +5 -1
  1185. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +5 -1
  1186. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -5
  1187. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1188. package/mobile/src/components/Catalog/Catalog.ui.json +11 -1
  1189. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  1190. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1191. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1192. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -1
  1193. package/mobile/src/components/ContentPage/renderBlock.tsx +15 -9
  1194. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
  1195. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  1196. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  1197. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  1198. package/mobile/src/components/Footer/Footer.tsx +2 -2
  1199. package/mobile/src/components/Footer/FooterLink.ts +1 -1
  1200. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  1201. package/mobile/src/components/Footer/Sitemap.tsx +13 -5
  1202. package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
  1203. package/mobile/src/components/Gallery/Gallery.tsx +14 -10
  1204. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  1205. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  1206. package/mobile/src/components/GracePeriod/GracePeriod.example.json +7 -7
  1207. package/mobile/src/components/GracePeriod/GracePeriod.tsx +13 -9
  1208. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -3
  1209. package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
  1210. package/mobile/src/components/Header/Header.tsx +2 -2
  1211. package/mobile/src/components/Headline/Headline.tsx +1 -1
  1212. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
  1213. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
  1214. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  1215. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1216. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  1217. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1218. package/mobile/src/components/LinkList/LinkList.tsx +3 -2
  1219. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1220. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1221. package/mobile/src/components/OfficeMap/OfficeMap.tsx +80 -0
  1222. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +38 -0
  1223. package/mobile/src/components/OfficeMap/YandexMap.tsx +41 -0
  1224. package/mobile/src/components/OfficeMap/mockOfficeMap.ts +79 -0
  1225. package/mobile/src/components/OfficeMap/renderFunctions.tsx +69 -0
  1226. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
  1227. package/mobile/src/components/OtherProducts/OtherProducts.example.json +1 -54
  1228. package/mobile/src/components/OtherProducts/OtherProducts.tsx +13 -25
  1229. package/mobile/src/components/OtherProducts/OtherProducts.ui.json +1 -76
  1230. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -20
  1231. package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +4 -0
  1232. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +47 -0
  1233. package/mobile/src/components/OtherProductsItem/OtherProductsItem.ui.json +1 -0
  1234. package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +13 -0
  1235. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1236. package/mobile/src/components/PictureText/PictureText.ui.json +10 -1
  1237. package/mobile/src/components/Placeholder/Placeholder.tsx +1 -1
  1238. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -1
  1239. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  1240. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
  1241. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  1242. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
  1243. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1244. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  1245. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1246. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  1247. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1248. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1249. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1250. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1251. package/mobile/src/components/Tabs/Tabs.tsx +1 -1
  1252. package/mobile/src/components/Tabs/renderGroupTab.tsx +5 -4
  1253. package/mobile/src/components/TariffsTable/TariffsTable.tsx +9 -2
  1254. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1255. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +16 -0
  1256. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
  1257. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1258. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1259. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
  1260. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
  1261. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  1262. package/mobile/src/components/Tile/Tile.tsx +3 -3
  1263. package/mobile/src/hooks/useOfficeMap.ts +23 -0
  1264. package/mobile/src/icons/IconName.ts +4 -4
  1265. package/mobile/src/icons/MetroIcon.svg +10 -0
  1266. package/mobile/src/index.ts +1 -0
  1267. package/mobile/src/model/BlocksRegistry.ts +1 -12
  1268. package/mobile/src/model/ContentPageDef.ts +0 -9
  1269. package/mobile/src/model/JSXBlock.ts +23 -0
  1270. package/mobile/src/model/getParentBlockContent.ts +11 -0
  1271. package/mobile/src/model/getParentBlockDef.ts +8 -0
  1272. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  1273. package/mobile/src/ui-kit/BlockWrapper.tsx +6 -2
  1274. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1275. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +1 -1
  1276. package/mobile/src/ui-kit/Img/getIconVersion.tsx +4 -2
  1277. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1278. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1279. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1280. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1281. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1282. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1283. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1284. package/mobile/src/ui-kit/Select/Select.tsx +11 -6
  1285. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  1286. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
  1287. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1288. package/package.json +3 -2
  1289. package/src/components/Accordion/Accordion.example.json +1 -63
  1290. package/src/components/Accordion/Accordion.fixture.mobile.tsx +45 -41
  1291. package/src/components/Accordion/Accordion.fixture.tsx +75 -110
  1292. package/src/components/Accordion/Accordion.mobile.tsx +15 -31
  1293. package/src/components/Accordion/Accordion.tsx +27 -42
  1294. package/src/components/Accordion/Accordion.ui.json +1 -79
  1295. package/src/components/Accordion/AccordionContent.ts +2 -28
  1296. package/src/components/AccordionItem/AccordionItem.example.json +7 -0
  1297. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +6 -0
  1298. package/src/components/AccordionItem/AccordionItem.fixture.tsx +6 -0
  1299. package/src/components/AccordionItem/AccordionItem.mobile.tsx +73 -0
  1300. package/src/components/AccordionItem/AccordionItem.tsx +48 -0
  1301. package/src/components/AccordionItem/AccordionItem.ui.json +7 -0
  1302. package/src/components/AccordionItem/AccordionItemContent.ts +15 -0
  1303. package/src/components/AccordionItem/AccordionItemProps.ts +4 -0
  1304. package/src/components/BaseTile/BaseTile.tsx +1 -1
  1305. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1306. package/src/components/Blocks.mobile.ts +2 -0
  1307. package/src/components/Blocks.ts +7 -1
  1308. package/src/components/Bonus/Bonus.tsx +1 -1
  1309. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +49 -34
  1310. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
  1311. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
  1312. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
  1313. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  1314. package/src/components/Calculator/Calculator.tsx +1 -1
  1315. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  1316. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1317. package/src/components/Calculator/renderButtonSection.tsx +3 -1
  1318. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1319. package/src/components/Calculator/renderFootnote.tsx +1 -1
  1320. package/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
  1321. package/src/components/Calculator/renderMonthsInput.tsx +6 -2
  1322. package/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
  1323. package/src/components/Calculator/renderRealEstateValue.tsx +5 -1
  1324. package/src/components/Calculator/renderWantedSumInput.tsx +5 -1
  1325. package/src/components/CardTransfer/CardTransfer.tsx +5 -5
  1326. package/src/components/Catalog/Catalog.tsx +2 -2
  1327. package/src/components/Catalog/Catalog.ui.json +11 -1
  1328. package/src/components/Catalog/CatalogCard.tsx +1 -1
  1329. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  1330. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1331. package/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1332. package/src/components/ContentPage/ContentPage.tsx +2 -1
  1333. package/src/components/ContentPage/renderBlock.tsx +15 -9
  1334. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
  1335. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  1336. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  1337. package/src/components/Footer/Contacts.tsx +1 -1
  1338. package/src/components/Footer/Footer.mobile.tsx +2 -2
  1339. package/src/components/Footer/Footer.tsx +1 -1
  1340. package/src/components/Footer/FooterLink.ts +1 -1
  1341. package/src/components/Footer/HorizontalNavigation.mobile.tsx +1 -1
  1342. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  1343. package/src/components/Footer/Sitemap.tsx +13 -5
  1344. package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
  1345. package/src/components/Footer/SocialMedia.tsx +1 -1
  1346. package/src/components/Gallery/Gallery.mobile.tsx +14 -10
  1347. package/src/components/Gallery/GalleryInner.tsx +1 -1
  1348. package/src/components/Gallery/GalleryProps.ts +1 -1
  1349. package/src/components/GracePeriod/GracePeriod.example.json +7 -7
  1350. package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
  1351. package/src/components/GracePeriod/GracePeriod.tsx +13 -9
  1352. package/src/components/GracePeriod/GracePeriodContent.ts +3 -3
  1353. package/src/components/Header/DropdownMenu.tsx +2 -2
  1354. package/src/components/Header/Header.mobile.tsx +2 -2
  1355. package/src/components/Header/Header.tsx +2 -2
  1356. package/src/components/Headline/Headline.mobile.tsx +1 -1
  1357. package/src/components/Headline/Headline.tsx +1 -1
  1358. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
  1359. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
  1360. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  1361. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1362. package/src/components/LikeControl/LikeControl.tsx +1 -1
  1363. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  1364. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1365. package/src/components/LinkList/LinkList.tsx +3 -2
  1366. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1367. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
  1368. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1369. package/src/components/OfficeMap/OfficeMap.fixture.tsx +10 -0
  1370. package/src/components/OfficeMap/OfficeMap.tsx +80 -0
  1371. package/src/components/OfficeMap/OfficeMapContent.ts +38 -0
  1372. package/src/components/OfficeMap/YandexMap.tsx +41 -0
  1373. package/src/components/OfficeMap/mockOfficeMap.ts +79 -0
  1374. package/src/components/OfficeMap/renderFunctions.tsx +69 -0
  1375. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
  1376. package/src/components/OtherProducts/OtherProducts.example.json +1 -54
  1377. package/src/components/OtherProducts/OtherProducts.fixture.tsx +77 -126
  1378. package/src/components/OtherProducts/OtherProducts.tsx +13 -25
  1379. package/src/components/OtherProducts/OtherProducts.ui.json +1 -76
  1380. package/src/components/OtherProducts/OtherProductsContent.ts +2 -20
  1381. package/src/components/OtherProductsItem/OtherProductsItem.example.json +4 -0
  1382. package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +5 -0
  1383. package/src/components/OtherProductsItem/OtherProductsItem.tsx +47 -0
  1384. package/src/components/OtherProductsItem/OtherProductsItem.ui.json +1 -0
  1385. package/src/components/OtherProductsItem/OtherProductsItemContent.ts +13 -0
  1386. package/src/components/PictureText/PictureText.tsx +1 -1
  1387. package/src/components/PictureText/PictureText.ui.json +10 -1
  1388. package/src/components/Placeholder/Placeholder.tsx +1 -1
  1389. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -1
  1390. package/src/components/ProductBlock/ProductBlock.tsx +1 -1
  1391. package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  1392. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -2
  1393. package/src/components/ProductBlock/ProductBlockInner.tsx +12 -4
  1394. package/src/components/ProductGallery/ProductGallery.mobile.tsx +1 -1
  1395. package/src/components/ProductGallery/ProductGallery.tsx +18 -5
  1396. package/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
  1397. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1398. package/src/components/ProductTile/ProductTile.tsx +2 -2
  1399. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1400. package/src/components/Recommendation/Recommendation.tsx +6 -6
  1401. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1402. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1403. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1404. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  1405. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1406. package/src/components/Tabs/Tabs.tsx +1 -1
  1407. package/src/components/Tabs/renderGroupTab.tsx +5 -4
  1408. package/src/components/TariffsTable/TariffsTable.mobile.tsx +9 -2
  1409. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1410. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1411. package/src/components/TariffsTable/TariffsTableContent.ts +16 -0
  1412. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
  1413. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1414. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1415. package/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
  1416. package/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
  1417. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
  1418. package/src/components/TextBlock/TextBlock.tsx +1 -1
  1419. package/src/components/Tile/Tile.tsx +3 -3
  1420. package/src/hooks/useOfficeMap.ts +23 -0
  1421. package/src/icons/IconName.ts +4 -1
  1422. package/src/icons/MetroIcon.svg +10 -0
  1423. package/src/index.ts +1 -0
  1424. package/src/model/BlocksRegistry.ts +1 -12
  1425. package/src/model/ContentPageDef.ts +0 -9
  1426. package/src/model/JSXBlock.ts +23 -0
  1427. package/src/model/getParentBlockContent.ts +11 -0
  1428. package/src/model/getParentBlockDef.ts +8 -0
  1429. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  1430. package/src/ui-kit/BlockWrapper.tsx +6 -2
  1431. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1432. package/src/ui-kit/Foldable/FoldableSection.tsx +1 -1
  1433. package/src/ui-kit/Img/getIconVersion.tsx +4 -2
  1434. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1435. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1436. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1437. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1438. package/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1439. package/src/ui-kit/Logo/Logo.tsx +2 -1
  1440. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1441. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  1442. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1443. package/src/ui-kit/Select/Select.tsx +11 -6
  1444. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  1445. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
  1446. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1447. package/tailwind.config.cjs +3 -0
  1448. package/bundle/components/Accordion/AccordionItem.d.ts +0 -2
  1449. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1450. package/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
  1451. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1452. package/bundle/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1453. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1454. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1455. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1456. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1457. package/dist/components/Accordion/AccordionItem.d.ts +0 -2
  1458. package/dist/components/Accordion/AccordionItem.js +0 -11
  1459. package/dist/components/Accordion/AccordionItem.js.map +0 -1
  1460. package/dist/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1461. package/dist/components/Accordion/AccordionItem.mobile.js +0 -16
  1462. package/dist/components/Accordion/AccordionItem.mobile.js.map +0 -1
  1463. package/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
  1464. package/dist/components/Accordion/AccordionItemProps.js.map +0 -1
  1465. package/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1466. package/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
  1467. package/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1468. package/dist/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1469. package/dist/components/OtherProducts/OtherProductsItem.js +0 -17
  1470. package/dist/components/OtherProducts/OtherProductsItem.js.map +0 -1
  1471. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1472. package/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1473. package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1474. package/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -25
  1475. package/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1476. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1477. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -17
  1478. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
  1479. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1480. package/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
  1481. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1482. package/lib/components/Accordion/AccordionItem.d.ts +0 -2
  1483. package/lib/components/Accordion/AccordionItem.js +0 -9
  1484. package/lib/components/Accordion/AccordionItem.js.map +0 -1
  1485. package/lib/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1486. package/lib/components/Accordion/AccordionItem.mobile.js +0 -14
  1487. package/lib/components/Accordion/AccordionItem.mobile.js.map +0 -1
  1488. package/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
  1489. package/lib/components/Accordion/AccordionItemProps.js.map +0 -1
  1490. package/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1491. package/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
  1492. package/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1493. package/lib/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1494. package/lib/components/OtherProducts/OtherProductsItem.js +0 -15
  1495. package/lib/components/OtherProducts/OtherProductsItem.js.map +0 -1
  1496. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1497. package/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
  1498. package/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1499. package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1500. package/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -23
  1501. package/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1502. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1503. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -15
  1504. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
  1505. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -8
  1506. package/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
  1507. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1508. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +0 -2
  1509. package/mobile/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
  1510. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1511. package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1512. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1513. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1514. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1515. package/mobile/dist/components/Accordion/AccordionItem.d.ts +0 -2
  1516. package/mobile/dist/components/Accordion/AccordionItem.js +0 -16
  1517. package/mobile/dist/components/Accordion/AccordionItem.js.map +0 -1
  1518. package/mobile/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
  1519. package/mobile/dist/components/Accordion/AccordionItemProps.js.map +0 -1
  1520. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1521. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
  1522. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1523. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1524. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +0 -17
  1525. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +0 -1
  1526. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1527. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1528. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1529. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -17
  1530. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1531. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1532. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
  1533. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1534. package/mobile/lib/components/Accordion/AccordionItem.d.ts +0 -2
  1535. package/mobile/lib/components/Accordion/AccordionItem.js +0 -14
  1536. package/mobile/lib/components/Accordion/AccordionItem.js.map +0 -1
  1537. package/mobile/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
  1538. package/mobile/lib/components/Accordion/AccordionItemProps.js.map +0 -1
  1539. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1540. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
  1541. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1542. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +0 -6
  1543. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +0 -15
  1544. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +0 -1
  1545. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1546. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
  1547. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1548. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1549. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -15
  1550. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1551. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1552. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
  1553. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1554. package/mobile/src/components/Accordion/AccordionItem.tsx +0 -72
  1555. package/mobile/src/components/Accordion/AccordionItemProps.ts +0 -6
  1556. package/mobile/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
  1557. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +0 -52
  1558. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
  1559. package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -15
  1560. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
  1561. package/src/components/Accordion/AccordionItem.mobile.tsx +0 -72
  1562. package/src/components/Accordion/AccordionItem.tsx +0 -52
  1563. package/src/components/Accordion/AccordionItemProps.ts +0 -6
  1564. package/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
  1565. package/src/components/OtherProducts/OtherProductsItem.tsx +0 -52
  1566. package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
  1567. package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +0 -15
  1568. package/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -23
  1569. package/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
@@ -228,8 +228,110 @@
228
228
  return JSXTmpl;
229
229
  };
230
230
 
231
- function style2className(style) {
232
- return style ? style.filter(Boolean).join(' ') : '';
231
+ class EventBus {
232
+ static inst = new EventBus();
233
+ subscribers = {};
234
+ subjectsStateMap = {};
235
+ subscribe(type, listener) {
236
+ this.subscribers[type] ||= [];
237
+ this.subscribers[type]?.push(listener);
238
+ const latestEvent = this.subjectsStateMap[type];
239
+ if (latestEvent) {
240
+ listener(latestEvent);
241
+ }
242
+ return () => {
243
+ this.unsubscribe(type, listener);
244
+ };
245
+ }
246
+ unsubscribe(type, listener) {
247
+ this.subscribers[type] = this.subscribers[type]?.filter((s) => s !== listener);
248
+ }
249
+ fire(type, event) {
250
+ this.subjectsStateMap[type] = event;
251
+ this.subscribers[type]?.forEach((s) => s(event));
252
+ }
253
+ subject(type, event) {
254
+ this.subjectsStateMap[type] = event;
255
+ }
256
+ }
257
+
258
+ const changeHashOnObserve = ({ anchor, anchorClickRef }) => (entries) => {
259
+ if (!entries?.length) {
260
+ return;
261
+ }
262
+ const [entry] = entries;
263
+ if (!entry.isIntersecting || entry.boundingClientRect.top > 150) {
264
+ return;
265
+ }
266
+ if (anchorClickRef?.current?.isScrolling && anchorClickRef.current.label === `#${anchor}`) {
267
+ EventBus.inst.fire('anchorClick', { isScrolling: false, label: undefined });
268
+ EventBus.inst.fire('tab', { type: 'link', label: anchor });
269
+ }
270
+ else if (!anchorClickRef?.current?.isScrolling) {
271
+ EventBus.inst.fire('tab', { type: 'link', label: anchor });
272
+ }
273
+ };
274
+
275
+ const IntersectionObserverTag = JSX((props) => {
276
+ const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
277
+ const intersectionObserver = useRef(null);
278
+ const ref = useCallback((element) => {
279
+ if (!element) {
280
+ return;
281
+ }
282
+ if (intersectionObserver.current) {
283
+ intersectionObserver.current.disconnect();
284
+ }
285
+ intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
286
+ intersectionObserver.current.observe(element);
287
+ }, [observerCallback, observerOptions]);
288
+ const Tag = tag;
289
+ return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
290
+ });
291
+
292
+ const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
293
+ const THRESHOLD_ARRAY_LENGTH = 18;
294
+ const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
295
+ const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
296
+ const Tag = tag;
297
+ const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
298
+ const anchorClickRef = useRef({});
299
+ const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
300
+ useEffect(() => {
301
+ const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
302
+ setShouldRenderBlock(true);
303
+ anchorClickRef.current = e;
304
+ });
305
+ const tabCleanup = EventBus.inst.subscribe('tab', (event) => {
306
+ if (event.type === 'group') {
307
+ const blockHasSettgins = labels?.length || anchor;
308
+ setShouldRenderBlock(event.label ? !blockHasSettgins || Boolean(labels?.includes(event.label)) : true);
309
+ }
310
+ else {
311
+ changeHash(event.label);
312
+ setShouldRenderBlock(true);
313
+ }
314
+ });
315
+ return () => {
316
+ anchorClickCleanup();
317
+ tabCleanup();
318
+ };
319
+ }, []);
320
+ if (!shouldRenderBlock) {
321
+ return null;
322
+ }
323
+ return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: observerCallback, observerOptions: {
324
+ threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
325
+ }, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
326
+ });
327
+ function getIntersectionThreshold(_, i) {
328
+ const value = (i + 1) / THRESHOLD_ACCURACY + THRESHOLD_ARRAY_START_VALUE;
329
+ return Math.round(value * THRESHOLD_ACCURACY) / THRESHOLD_ACCURACY;
330
+ }
331
+ function changeHash(label) {
332
+ if (label) {
333
+ globalThis.document.location.hash = label;
334
+ }
233
335
  }
234
336
 
235
337
  const HeadingClass = {
@@ -246,6 +348,43 @@
246
348
  return (jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
247
349
  });
248
350
 
351
+ const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
352
+
353
+ const Accordion = JSX(({ title, description, context, className = '', children, ...rest }) => (jsxs(BlockWrapper, { context: context, className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-light text-center", children: description }) : null, jsx(AccordionItemsList, { children: children })] })));
354
+ Accordion.childrenTypes = ['AccordionItem'];
355
+
356
+ function getParentBlockDef(ancestors, type) {
357
+ const [, ...blocks] = ancestors || [];
358
+ return blocks.reverse().find((_) => !type || type === _?.type) || {};
359
+ }
360
+
361
+ function getParentBlockContent(ancestors, defaultContent) {
362
+ const { content } = getParentBlockDef(ancestors);
363
+ return content || defaultContent;
364
+ }
365
+
366
+ const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
367
+ const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
368
+ const onToggle = useCallback(() => {
369
+ setIsUnfolded((_) => !_);
370
+ }, []);
371
+ const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
372
+ const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
373
+ return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
374
+ });
375
+
376
+ const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
377
+ const containerRef = useRef(null);
378
+ useEffect(() => {
379
+ if (containerRef.current) {
380
+ containerRef.current.style.maxHeight = isUnfolded
381
+ ? `${containerRef.current.scrollHeight}px`
382
+ : '';
383
+ }
384
+ }, [isUnfolded, children?.length]);
385
+ return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${className}`, children: children }));
386
+ });
387
+
249
388
  const svgUseStyleMap = {
250
389
  normal: 'text-primary-main',
251
390
  black: 'text-black',
@@ -268,7 +407,7 @@
268
407
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
269
408
 
270
409
  function getIconVersion$1(image) {
271
- return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
410
+ return typeof image === 'string' ? 'normal' : image?.iconVersion || 'normal';
272
411
  }
273
412
 
274
413
  const sourcesComparator = (a, b) => {
@@ -316,33 +455,13 @@
316
455
 
317
456
  const Img = JSX((props) => jsx(ImgInner, { ...props, isMobile: true }));
318
457
 
319
- const ALIGN_TEXT = {
320
- left: 'text-left',
321
- center: 'text-center',
322
- right: 'text-right',
323
- };
324
- const HEADLINE_BLOCK_STYLE_MAPS = {
325
- transparent: {
326
- background: 'bg-transparent',
327
- text: 'text-primary-text',
328
- description: 'text-primary-text',
329
- },
330
- primary: {
331
- background: 'bg-white',
332
- text: 'text-primary-text',
333
- description: 'text-primary-text',
334
- },
335
- secondary: {
336
- background: 'bg-primary-main',
337
- text: 'text-white',
338
- description: 'text-white/80',
339
- },
340
- };
341
-
342
- const Headline = JSX(({ bgColorHeadline = 'transparent', className = '', title, description, image, align = 'left', }) => {
343
- const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
344
- return (jsxs("section", { className: `px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx("p", { className: `text-m ${STYLE_MAPS.description} ${ALIGN_TEXT[align]}`, children: description })) : null, image?.src && (jsx("div", { className: "mt-2.5 mx-auto flex justify-center", children: jsx(Img, { image: image }) }))] }));
458
+ const icons = ['PlusIcon', 'MinusIcon'];
459
+ const AccordionItem = JSX(({ className = '', ancestors, label = '', labelIcon, isExpanded, children }) => {
460
+ const { bordered } = getParentBlockContent(ancestors, {});
461
+ 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: children })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, onClick: onToggle })) }) }));
345
462
  });
463
+ AccordionItem.childrenTypes = [];
464
+ 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("span", { className: "text-m-title-xs font-medium pr-2.5 flex group-hover:text-primary-main", children: [primaryIcon ? (jsx(Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })] })));
346
465
 
347
466
  // column-gap between children of SwipeListControl container
348
467
  const DEFAULT_GAP = 14;
@@ -483,518 +602,79 @@
483
602
  return (jsxs("div", { className: className, children: [jsx(SwipeListControlList, { gap: gap, padding: padding, activeIndex: activeIndex, onScroll: handleScroll, children: children }), jsx(SwipeListControlDots, { ...dotsProps })] }));
484
603
  });
485
604
 
486
- const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
487
- const { text, fileSize, ...linkProps } = doc;
488
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Img, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
489
- });
490
- const formatSuffix = (ext, fileSize) => {
491
- const prefix = ext || fileSize ? ',' : '';
492
- const extension = ext ? ` ${ext}` : '';
493
- const size = fileSize ? ` (${fileSize})` : '';
494
- return prefix + extension + size;
605
+ const iconStyleMap = {
606
+ primary: 'group-hover:brightness-0 group-hover:invert',
607
+ secondary: 'group-hover:brightness-0 group-hover:invert',
608
+ white: 'group-hover:brightness-0 group-hover:invert',
609
+ link: '',
495
610
  };
496
- const getExtFromHref = (href) => {
497
- if (!href) {
611
+
612
+ const ButtonInner = JSX((props) => {
613
+ const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
614
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
615
+ });
616
+ const getButtonStyle = (props) => {
617
+ const { className = '', version, aboveText, rounded } = props;
618
+ if (version === 'link') {
498
619
  return '';
499
620
  }
500
- const index = href.lastIndexOf('.');
501
- return index !== -1 ? href.substring(index + 1) : '';
621
+ const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-9'}`;
622
+ return [
623
+ 'group flex items-center justify-center',
624
+ isWithText(props) ? withTextStyle : 'h-12 w-12',
625
+ rounded ? 'rounded-full' : '',
626
+ className,
627
+ ].join(' ');
502
628
  };
629
+ const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
503
630
 
504
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
505
-
506
- const LinkDocsHorizontalList = JSX(({ context, hasBorder = true, documents, icon }) => {
507
- return (jsx(SwipeListControl, { context: context, className: "text-s text-primary-main mt-5", children: documents?.length
508
- ? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
509
- : null }));
631
+ const buttonStyleMap = {
632
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
633
+ secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
634
+ white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
635
+ link: 'text-primary-main',
636
+ };
637
+ const buttonDisabledStyleMap = {
638
+ primary: 'bg-secondary-dark text-secondary-text',
639
+ secondary: 'bg-secondary-light text-secondary-text',
640
+ white: 'bg-white text-primary-text',
641
+ link: '',
642
+ };
643
+ const styleButton = 'w-full text-center font-sans select-none';
644
+ const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
645
+ // It isn't a valid HTML attribute. Must be excluded from "rest"
646
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
647
+ const { appendRight, ...buttonInnerRest } = rest;
648
+ const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
649
+ if (disabled) {
650
+ return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
651
+ }
652
+ return (jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...buttonInnerRest, children: buttonInner }));
510
653
  });
511
654
 
512
- const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
513
- return (jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
514
- ? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
515
- : null }));
516
- });
655
+ const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
656
+ const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
517
657
 
518
- const LinkDocs = JSX(({ className = '', context, title, description, icon = { icon: 'DocIconMonoColor' }, documents, orientation = 'vertical', hasBorder = true, }) => {
519
- return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, context: context, align: "center" }), orientation === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
658
+ const headingStyle = (isFillGradient = false) => (isFillGradient ? 'text-white' : '');
659
+ const subtitleStyle = (isFillGradient = false) => `text-s mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
660
+ const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader", children: [icon ? (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && (jsx("div", { className: "mb-3.5", children: jsx(Img, { image: image }) })), title ? (jsx(Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? jsx("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
661
+
662
+ const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => {
663
+ const cellWrapperClasses = `box-border flex flex-col`;
664
+ const cellClasses = `h-full ${DIVIDER_CLASSES}`;
665
+ return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map(renderCellInner$1(isFillGradient, rowHeader)) }) }));
520
666
  });
667
+ const renderCellInner$1 = (isFillGradient, rowHeader) => ({ label, description }, i) => (jsxs("div", { className: "flex justify-between text-s py-3.5", children: [jsx("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), jsxs("div", { className: "basis-1/2", children: [label ? (jsx("div", { className: `text-right ${isFillGradient ? 'text-white' : ''}`, children: label })) : null, description ? (jsx("div", { className: `text-right ${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: description })) : null] })] }, String(i)));
521
668
 
522
- const VersionStyleMap = {
523
- primary: 'bg-white text-primary-text',
524
- secondary: 'bg-primary-main text-white',
525
- };
526
-
527
- const isURL = (href) => href?.includes('//');
528
- const withoutQuery = (href) => (href || '').replace(/\/?\?.*/, '');
529
- const getOrigin = (href) => {
530
- if (!href || !isURL(href)) {
531
- return undefined;
532
- }
533
- const url = href;
534
- const protoSeparator = '//';
535
- const endOfProto = url.indexOf(protoSeparator);
536
- const endOfOrigin = url.indexOf('/', endOfProto + protoSeparator.length);
537
- return endOfOrigin !== -1 ? url.substring(0, endOfOrigin) : url;
538
- };
539
- const getHash = (href) => {
540
- if (!href || !isURL(href)) {
541
- return undefined;
542
- }
543
- const hashIndex = href.indexOf('#');
544
- return hashIndex !== -1 ? href.substring(hashIndex, href.length) : undefined;
545
- };
546
- const isHash = (href) => href?.startsWith('#');
547
-
548
- var url = /*#__PURE__*/Object.freeze({
549
- __proto__: null,
550
- isURL: isURL,
551
- withoutQuery: withoutQuery,
552
- getOrigin: getOrigin,
553
- getHash: getHash,
554
- isHash: isHash
555
- });
556
-
557
- const MOBILE_URL_PATH = '/mobile';
558
- const withoutMobilePath = (href) => (href || '').replace(MOBILE_URL_PATH, '');
559
-
560
- const adjustHref = (href, router) => {
561
- if (!href) {
562
- return href;
563
- }
564
- const relativeHref = toRelativeHref(href, router) || '';
565
- const isMobilePage = router?.pathname.startsWith(MOBILE_URL_PATH);
566
- return isMobilePage && !isURL(relativeHref) ? `${MOBILE_URL_PATH}${relativeHref}` : relativeHref;
567
- };
568
- const toRelativeHref = (href, router) => {
569
- if (!href) {
570
- return href;
571
- }
572
- const origin = getOrigin(router?.href);
573
- return origin ? href.replace(origin, '') || '/' : href;
574
- };
575
-
576
- const defaultHandlerDecorator = (handler) => handler;
577
- function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
578
- const href = adjustHref(link.href, router);
579
- return {
580
- ...link,
581
- href,
582
- 'aria-label': link.text,
583
- onClick: handlerDecorator((ev) => {
584
- const isLocalHref = href && !isURL(href);
585
- const isLocalTarget = !link.target || link.target === '_self';
586
- if (isLocalHref && isLocalTarget) {
587
- ev?.preventDefault();
588
- router.push(href);
589
- }
590
- }, link),
591
- };
592
- }
593
-
594
- const iconStyleMap = {
595
- primary: 'group-hover:brightness-0 group-hover:invert',
596
- secondary: 'group-hover:brightness-0 group-hover:invert',
597
- white: 'group-hover:brightness-0 group-hover:invert',
598
- link: '',
599
- };
600
-
601
- const ButtonInner = JSX((props) => {
602
- const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
603
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
604
- });
605
- const getButtonStyle = (props) => {
606
- const { className = '', version, aboveText, rounded } = props;
607
- if (version === 'link') {
608
- return '';
609
- }
610
- const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-9'}`;
611
- return [
612
- 'group flex items-center justify-center',
613
- isWithText(props) ? withTextStyle : 'h-12 w-12',
614
- rounded ? 'rounded-full' : '',
615
- className,
616
- ].join(' ');
617
- };
618
- const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
619
-
620
- const buttonStyleMap = {
621
- primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
622
- secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
623
- white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
624
- link: 'text-primary-main',
625
- };
626
- const buttonDisabledStyleMap = {
627
- primary: 'bg-secondary-dark text-secondary-text',
628
- secondary: 'bg-secondary-light text-secondary-text',
629
- white: 'bg-white text-primary-text',
630
- link: '',
631
- };
632
- const styleButton = 'w-full text-center font-sans select-none';
633
- const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
634
- // It isn't a valid HTML attribute. Must be excluded from "rest"
635
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
636
- const { appendRight, ...buttonInnerRest } = rest;
637
- const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
638
- if (disabled) {
639
- return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
640
- }
641
- return (jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...buttonInnerRest, children: buttonInner }));
642
- });
643
-
644
- const ButtonSection = JSX(({ context, className = '', buttons }) => {
645
- const { handlerDecorator } = context;
646
- const router = context.useRouter();
647
- return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => (jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
648
- });
649
- const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
650
- const buttonProps = useLink({ router, handlerDecorator }, button);
651
- return jsx(Button, { ...button, ...buttonProps });
652
- });
653
-
654
- const LIST_DOT_STYLE_MAP$1 = {
655
- primary: 'bg-primary-text',
656
- secondary: 'bg-white',
657
- gray: 'bg-secondary-text',
658
- };
659
- const DOT_SIZE_MAP = {
660
- L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3',
661
- M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3',
662
- S: 'w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5',
663
- };
664
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
665
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block ${LIST_DOT_STYLE_MAP$1[version]} ${DOT_SIZE_MAP[size]}` })) : null, jsx("span", { children: children })] }));
666
- });
667
-
668
- const TEXT_STYLE_MAP = {
669
- primary: 'text-primary-text',
670
- secondary: 'text-white',
671
- gray: 'text-secondary-text',
672
- };
673
- const TEXT_SIZE_MAP = {
674
- S: 'text-l-light',
675
- M: 'text-h6',
676
- L: 'text-h5',
677
- };
678
- const ITEM_INDENT_MAP = {
679
- S: 'ml-2',
680
- M: 'ml-3',
681
- L: 'ml-4',
682
- };
683
- const List = JSX((props) => {
684
- const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
685
- if (!items?.length) {
686
- return null;
687
- }
688
- return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
689
- });
690
-
691
- const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
692
- return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] }));
693
- });
694
-
695
- const titleStyleMap = {
696
- primary: 'text-primary-text',
697
- secondary: 'text-white',
698
- };
699
- const descStyleMap = {
700
- primary: 'text-secondary-text',
701
- secondary: 'text-white',
702
- };
703
- const BenefitItem = JSX((props) => {
704
- const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
705
- const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
706
- const listItemAlign = description ? 'items-start' : 'items-center';
707
- const iconVersion = getIconVersion(icon, isIconWhite);
708
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
709
- });
710
- function renderBenefitIconBgStyle(version, benefitsVersion) {
711
- let bgColorStyle = 'bg-primary-main text-black';
712
- if (version === 'secondary') {
713
- bgColorStyle = 'bg-white/30 text-black';
714
- }
715
- else if (benefitsVersion === 'normal') {
716
- bgColorStyle = 'bg-secondary-light text-primary-main';
717
- }
718
- return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
719
- }
720
- const getIconVersion = (icon, isIconWhite) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
721
-
722
- const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => {
723
- return (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
724
- };
725
-
726
- const ProductBlockInner = JSX(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, }) => {
727
- return (jsxs("div", { className: `w-full ${className}`, children: [jsxs("div", { children: [label ? renderLabel(label, version) : null, jsx(Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, bgColorHeadline: version, headlineVersion: headlineVersion }), jsxs(BaseTile, { context: context, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage$1(image)] }));
728
- });
729
- function renderImage$1(image) {
730
- return image?.src ? (jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
731
- }
732
- const labelStyleMap = {
733
- primary: 'text-primary-main border-secondary-hover',
734
- secondary: 'text-white/80',
735
- };
736
- const renderLabel = (label, version) => (jsx("div", { className: `px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${labelStyleMap[version]}`, children: label }));
737
-
738
- const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
739
- const { className = '', version = 'primary' } = props;
740
- return (jsx("section", { className: `font-sans bg-white px-4 py-6 ${VersionStyleMap[version]} ${className}`, children: jsx(ProductBlockInner, { ...props }) }));
741
- });
742
-
743
- const textBlockStyleMaps = {
744
- primary: {
745
- background: 'bg-white',
746
- icon: 'bg-primary-main text-white',
747
- title: 'text-primary-text',
748
- description: 'text-secondary-text',
749
- },
750
- secondary: {
751
- background: 'bg-primary-main',
752
- icon: 'bg-white text-primary-main',
753
- title: 'text-white',
754
- description: 'text-white',
755
- },
756
- 'secondary-light': {
757
- background: 'bg-primary-main/10',
758
- icon: 'bg-primary-main text-white',
759
- title: 'text-primary-text',
760
- description: 'text-secondary-text',
761
- },
762
- };
763
- const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
764
- const textBlockStyleMap = textBlockStyleMaps[blockVersion];
765
- const listBlockVersion = blockVersion === 'secondary' ? 'secondary' : 'gray';
766
- return (jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted, version: listBlockVersion })) : null] })] }));
767
- });
768
- function renderIcon(className) {
769
- return (jsx("div", { className: "mb-3", children: jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${className}`, children: "i" }) }));
770
- }
771
- function renderImage(image) {
772
- return image?.src ? jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
773
- }
774
-
775
- const Gallery = JSX(({ context, title, description, cards = [], className, orientation = 'horizontal' }) => {
776
- const headingClassName = description ? 'mb-2' : 'mb-5';
777
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? (jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards, context)] }));
778
- });
779
- function renderCardsLayout(orientation, cards, context) {
780
- return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard) }));
781
- }
782
- function renderCard(card, key) {
783
- return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
784
- ${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
785
- }
786
- function renderButton(button) {
787
- return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
788
- }
789
- function renderDescription(card) {
790
- return (jsx("div", { className: `text-secondary-text mt-1 text-s ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
791
- }
792
- const LIST_DOT_STYLE_MAP = {
793
- primary: 'bg-primary-text',
794
- secondary: 'bg-white',
795
- gray: 'bg-secondary-text',
796
- };
797
- function renderItems(items, isDotted, version = 'primary') {
798
- return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? (jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP[version]}` })) : null, jsx("span", { className: "text-m font-medium", children: item.title }), jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
799
- }
800
-
801
- class EventBus {
802
- static inst = new EventBus();
803
- subscribers = {};
804
- subjectsStateMap = {};
805
- subscribe(type, listener) {
806
- this.subscribers[type] ||= [];
807
- this.subscribers[type]?.push(listener);
808
- const latestEvent = this.subjectsStateMap[type];
809
- if (latestEvent) {
810
- listener(latestEvent);
811
- }
812
- return () => {
813
- this.unsubscribe(type, listener);
814
- };
815
- }
816
- unsubscribe(type, listener) {
817
- this.subscribers[type] = this.subscribers[type]?.filter((s) => s !== listener);
818
- }
819
- fire(type, event) {
820
- this.subjectsStateMap[type] = event;
821
- this.subscribers[type]?.forEach((s) => s(event));
822
- }
823
- subject(type, event) {
824
- this.subjectsStateMap[type] = event;
825
- }
826
- }
827
-
828
- const changeHashOnObserve = ({ anchor, anchorClickRef }) => (entries) => {
829
- if (!entries?.length) {
830
- return;
831
- }
832
- const [entry] = entries;
833
- if (!entry.isIntersecting || entry.boundingClientRect.top > 150) {
834
- return;
835
- }
836
- if (anchorClickRef?.current?.isScrolling && anchorClickRef.current.label === `#${anchor}`) {
837
- EventBus.inst.fire('anchorClick', { isScrolling: false, label: undefined });
838
- EventBus.inst.fire('tab', { type: 'link', label: anchor });
839
- }
840
- else if (!anchorClickRef?.current?.isScrolling) {
841
- EventBus.inst.fire('tab', { type: 'link', label: anchor });
842
- }
843
- };
844
-
845
- const IntersectionObserverTag = JSX((props) => {
846
- const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
847
- const intersectionObserver = useRef(null);
848
- const ref = useCallback((element) => {
849
- if (!element) {
850
- return;
851
- }
852
- if (intersectionObserver.current) {
853
- intersectionObserver.current.disconnect();
854
- }
855
- intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
856
- intersectionObserver.current.observe(element);
857
- }, [observerCallback, observerOptions]);
858
- const Tag = tag;
859
- return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
860
- });
861
-
862
- const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
863
- const THRESHOLD_ARRAY_LENGTH = 18;
864
- const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
865
- const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
866
- const Tag = tag;
867
- const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
868
- const anchorClickRef = useRef({});
869
- const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
870
- useEffect(() => {
871
- const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
872
- anchorClickRef.current = e;
873
- });
874
- const tabCleanup = EventBus.inst.subscribe('tab', (event) => {
875
- if (event.type === 'group') {
876
- setShouldRenderBlock(!labels?.length || !event.label || labels.includes(event.label));
877
- }
878
- else {
879
- changeHash(event.label);
880
- setShouldRenderBlock(true);
881
- }
882
- });
883
- return () => {
884
- anchorClickCleanup();
885
- tabCleanup();
886
- };
887
- }, []);
888
- if (!shouldRenderBlock) {
889
- return null;
890
- }
891
- return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: observerCallback, observerOptions: {
892
- threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
893
- }, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
894
- });
895
- function getIntersectionThreshold(_, i) {
896
- const value = (i + 1) / THRESHOLD_ACCURACY + THRESHOLD_ARRAY_START_VALUE;
897
- return Math.round(value * THRESHOLD_ACCURACY) / THRESHOLD_ACCURACY;
898
- }
899
- function changeHash(label) {
900
- if (label) {
901
- globalThis.document.location.hash = label;
902
- }
903
- }
904
-
905
- const LinkList = JSX(({ className = '', documents, ...rest }) => {
906
- return (jsx(BlockWrapper, { className: `font-sans bg-white mt-[10px] ${className}`, ...rest, children: jsx("ul", { className: "flex flex-col text-s text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) }));
907
- });
908
- const renderLinkListItem = (documents) => {
909
- return documents.map((doc, i) => {
910
- const { text, ...linkProps } = doc;
911
- return (jsx("li", { className: "mb-4 list-none", children: jsx("a", { className: "hover:text-primary-main", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
912
- });
913
- };
914
-
915
- const EmbeddableBlocks = {
916
- Headline,
917
- LinkDocs,
918
- TextBlock,
919
- ProductBlock,
920
- Gallery,
921
- LinkList,
922
- };
923
-
924
- const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : [];
925
- const renderBlock$1 = ({ context, className }) => (block, i) => {
926
- if (!block) {
927
- return null;
928
- }
929
- const { style, blockListType: type, ...rest } = block;
930
- if (!type || !(type in EmbeddableBlocks)) {
931
- return null;
932
- }
933
- const classNameBlock = style2className(style);
934
- const EmbeddedBlock = EmbeddableBlocks[type];
935
- return (jsx(EmbeddedBlock, { className: `${className} ${classNameBlock}`, context: context, ...rest }, `block_${i}`));
936
- };
937
-
938
- const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
939
- const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
940
- const onToggle = useCallback(() => {
941
- setIsUnfolded((_) => !_);
942
- }, []);
943
- const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
944
- const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
945
- return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
946
- });
947
-
948
- const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
949
- const containerRef = useRef(null);
950
- useEffect(() => {
951
- if (containerRef.current) {
952
- containerRef.current.style.maxHeight = isUnfolded
953
- ? `${containerRef.current.scrollHeight}px`
954
- : '';
955
- }
956
- }, [isUnfolded]);
957
- return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${className}`, children: children }));
958
- });
959
-
960
- const icons = ['PlusIcon', 'MinusIcon'];
961
- const AccordionItem = JSX(({ label = '', labelIcon, bordered, children, hasContent = true }) => (jsx("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "flex flex-wrap group-last:last:pb-0", isUnfolded: isUnfolded, children: children })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, hasContent: hasContent, onClick: onToggle })) }) })));
962
- const FoldButton = JSX(({ className, hasContent, icon, label, primaryIcon, onClick }) => (jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
963
- ${className}
964
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: onClick, children: [jsxs("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [primaryIcon ? (jsx(Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? (jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] })));
965
- function borderedLiClass(bordered) {
966
- return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
967
- }
968
-
969
- const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
970
-
971
- const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered, ...rest }) => {
972
- return (jsxs(BlockWrapper, { context: context, className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-light text-center", children: description }) : null, accordionItems?.length ? (jsx(AccordionItemsList, { children: accordionItems.map((item, i) => (jsx(AccordionItem, { context: context, bordered: bordered, hasContent: Boolean(item.blocks?.length), ...item, children: renderBlocksList$1({ blocks: item.blocks, context, className: '!p-0 mb-5' }) }, `AccordionItem_${i}`))) })) : null] }));
973
- });
974
-
975
- const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
976
- const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
977
-
978
- const headingStyle = (isFillGradient = false) => (isFillGradient ? 'text-white' : '');
979
- const subtitleStyle = (isFillGradient = false) => `text-s mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
980
- const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader", children: [icon ? (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && (jsx("div", { className: "mb-3.5", children: jsx(Img, { image: image }) })), title ? (jsx(Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? jsx("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
981
-
982
- const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => {
983
- const cellWrapperClasses = `box-border flex flex-col`;
984
- const cellClasses = `h-full ${DIVIDER_CLASSES}`;
985
- return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map(renderCellInner$1(isFillGradient, rowHeader)) }) }));
986
- });
987
- const renderCellInner$1 = (isFillGradient, rowHeader) => ({ label, description }, i) => (jsxs("div", { className: "flex justify-between text-s py-3.5", children: [jsx("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), jsxs("div", { className: "basis-1/2", children: [label ? (jsx("div", { className: `text-right ${isFillGradient ? 'text-white' : ''}`, children: label })) : null, description ? (jsx("div", { className: `text-right ${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: description })) : null] })] }, String(i)));
988
-
989
- const TableColumn = JSX(({ header, columnData, visibleRowLength = 0, isFillGradient, showRow, onToggleColumn }) => {
990
- const columnDataView = columnData?.slice(0, showRow ? columnData.length : visibleRowLength);
991
- const gradientClassName = isFillGradient ? GRADIENT : '';
992
- const buttonVersion = isFillGradient ? 'secondary' : 'primary';
993
- return (jsxs("div", { className: `border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
994
- ? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
995
- : null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
996
- });
997
- const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
669
+ const TableColumn = JSX(({ header, columnData, visibleRowLength = 0, isFillGradient, showRow, onToggleColumn }) => {
670
+ const columnDataView = columnData?.slice(0, showRow ? columnData.length : visibleRowLength);
671
+ const gradientClassName = isFillGradient ? GRADIENT : '';
672
+ const buttonVersion = isFillGradient ? 'secondary' : 'primary';
673
+ return (jsxs("div", { className: `border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
674
+ ? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
675
+ : null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
676
+ });
677
+ const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
998
678
 
999
679
  const ComparisonTable = JSX((props) => {
1000
680
  const { className, title } = props;
@@ -1116,6 +796,16 @@
1116
796
  return jsx(SearchBarInner, { className: className, isMobile: true });
1117
797
  });
1118
798
 
799
+ const LinkList = JSX(({ className = '', documents, ...rest }) => {
800
+ return (jsx(BlockWrapper, { className: `font-sans bg-white mt-[10px] ${className}`, ...rest, children: jsx("ul", { className: "flex flex-col text-s text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) }));
801
+ });
802
+ const renderLinkListItem = (documents) => {
803
+ return documents.map((doc, i) => {
804
+ const { text, ...linkProps } = doc;
805
+ return (jsx("li", { className: "mb-4 list-none", children: jsx("a", { className: "hover:text-primary-main", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
806
+ });
807
+ };
808
+
1119
809
  const SVG_COLOR = {
1120
810
  'bg-white': 'text-primary-main',
1121
811
  transparent: 'text-white',
@@ -1124,13 +814,80 @@
1124
814
  'bg-white': 'text-black',
1125
815
  transparent: 'text-white',
1126
816
  };
1127
- const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
1128
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(Img, { image: { icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), showTitle ? (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' })) : null] }));
1129
- });
817
+ const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
818
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(Img, { image: { icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), showTitle ? (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' })) : null] }));
819
+ });
820
+
821
+ const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
822
+ return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", showTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [jsx("div", { className: "text-s font-medium mb-[3px]", children: title }), jsx("div", { className: "text-s text-secondary-text", children: description })] })] })) : null }));
823
+ });
824
+
825
+ const isURL = (href) => href?.includes('//');
826
+ const withoutQuery = (href) => (href || '').replace(/\/?\?.*/, '');
827
+ const getOrigin = (href) => {
828
+ if (!href || !isURL(href)) {
829
+ return undefined;
830
+ }
831
+ const url = href;
832
+ const protoSeparator = '//';
833
+ const endOfProto = url.indexOf(protoSeparator);
834
+ const endOfOrigin = url.indexOf('/', endOfProto + protoSeparator.length);
835
+ return endOfOrigin !== -1 ? url.substring(0, endOfOrigin) : url;
836
+ };
837
+ const getHash = (href) => {
838
+ if (!href || !isURL(href)) {
839
+ return undefined;
840
+ }
841
+ const hashIndex = href.indexOf('#');
842
+ return hashIndex !== -1 ? href.substring(hashIndex, href.length) : undefined;
843
+ };
844
+ const isHash = (href) => href?.startsWith('#');
845
+
846
+ var url = /*#__PURE__*/Object.freeze({
847
+ __proto__: null,
848
+ isURL: isURL,
849
+ withoutQuery: withoutQuery,
850
+ getOrigin: getOrigin,
851
+ getHash: getHash,
852
+ isHash: isHash
853
+ });
854
+
855
+ const MOBILE_URL_PATH = '/mobile';
856
+ const withoutMobilePath = (href) => (href || '').replace(MOBILE_URL_PATH, '');
857
+
858
+ const adjustHref = (href, router) => {
859
+ if (!href) {
860
+ return href;
861
+ }
862
+ const relativeHref = toRelativeHref(href, router) || '';
863
+ const isMobilePage = router?.pathname.startsWith(MOBILE_URL_PATH);
864
+ return isMobilePage && !isURL(relativeHref) ? `${MOBILE_URL_PATH}${relativeHref}` : relativeHref;
865
+ };
866
+ const toRelativeHref = (href, router) => {
867
+ if (!href) {
868
+ return href;
869
+ }
870
+ const origin = getOrigin(router?.href);
871
+ return origin ? href.replace(origin, '') || '/' : href;
872
+ };
1130
873
 
1131
- const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
1132
- return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", showTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [jsx("div", { className: "text-s font-medium mb-[3px]", children: title }), jsx("div", { className: "text-s text-secondary-text", children: description })] })] })) : null }));
1133
- });
874
+ const defaultHandlerDecorator = (handler) => handler;
875
+ function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
876
+ const href = adjustHref(link.href, router);
877
+ return {
878
+ ...link,
879
+ href,
880
+ 'aria-label': link.text,
881
+ onClick: handlerDecorator((ev) => {
882
+ const isLocalHref = href && !isURL(href);
883
+ const isLocalTarget = !link.target || link.target === '_self';
884
+ if (isLocalHref && isLocalTarget) {
885
+ ev?.preventDefault();
886
+ router.push(href);
887
+ }
888
+ }, link),
889
+ };
890
+ }
1134
891
 
1135
892
  const Contacts = JSX(({ className = '', items, hasButton, context }) => {
1136
893
  const router = context.useRouter();
@@ -1229,6 +986,37 @@
1229
986
  return (jsxs(Button, { version: "link", href: href, className: "flex text-s mb-4 w-6", children: [icon ? jsx(Img, { className: "pr-1", image: icon, width: "24", height: "24", asSVG: true }) : null, jsx("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
1230
987
  };
1231
988
 
989
+ const VersionStyleMap = {
990
+ primary: 'bg-white text-primary-text',
991
+ secondary: 'bg-primary-main text-white',
992
+ };
993
+
994
+ const Gallery = JSX(({ context, title, description, cards = [], className, orientation = 'horizontal' }) => {
995
+ const headingClassName = description ? 'mb-2' : 'mb-5';
996
+ return (jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? (jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards, context)] }));
997
+ });
998
+ function renderCardsLayout(orientation, cards, context) {
999
+ return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard) }));
1000
+ }
1001
+ function renderCard(card, key) {
1002
+ return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
1003
+ ${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
1004
+ }
1005
+ function renderButton(button) {
1006
+ return jsx(Button, { className: "mt-3", ...button });
1007
+ }
1008
+ function renderDescription(card) {
1009
+ return (jsx("div", { className: `text-secondary-text mt-1 text-s ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
1010
+ }
1011
+ const LIST_DOT_STYLE_MAP$1 = {
1012
+ primary: 'bg-primary-text',
1013
+ secondary: 'bg-white',
1014
+ gray: 'bg-secondary-text',
1015
+ };
1016
+ function renderItems(items, isDotted, version = 'primary') {
1017
+ return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? (jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP$1[version]}` })) : null, jsx("span", { className: "text-m font-medium", children: item.title }), jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
1018
+ }
1019
+
1232
1020
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
1233
1021
 
1234
1022
  const isHrefActive = (href, router, cmp = (targetHref, baseHref) => baseHref.startsWith(targetHref)) => {
@@ -1320,6 +1108,70 @@
1320
1108
  });
1321
1109
  const renderSubItem = (item, i) => (jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", ...item }, String(i)));
1322
1110
 
1111
+ const ALIGN_TEXT = {
1112
+ left: 'text-left',
1113
+ center: 'text-center',
1114
+ right: 'text-right',
1115
+ };
1116
+ const HEADLINE_BLOCK_STYLE_MAPS = {
1117
+ transparent: {
1118
+ background: 'bg-transparent',
1119
+ text: 'text-primary-text',
1120
+ description: 'text-primary-text',
1121
+ },
1122
+ primary: {
1123
+ background: 'bg-white',
1124
+ text: 'text-primary-text',
1125
+ description: 'text-primary-text',
1126
+ },
1127
+ secondary: {
1128
+ background: 'bg-primary-main',
1129
+ text: 'text-white',
1130
+ description: 'text-white/80',
1131
+ },
1132
+ };
1133
+
1134
+ const Headline = JSX(({ bgColorHeadline = 'transparent', className = '', title, description, image, align = 'left', }) => {
1135
+ const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
1136
+ return (jsxs("section", { className: `px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx("p", { className: `text-m ${STYLE_MAPS.description} ${ALIGN_TEXT[align]}`, children: description })) : null, image?.src && (jsx("div", { className: "mt-2.5 mx-auto flex justify-center", children: jsx(Img, { image: image }) }))] }));
1137
+ });
1138
+
1139
+ const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
1140
+ const { text, fileSize, ...linkProps } = doc;
1141
+ return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Img, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
1142
+ });
1143
+ const formatSuffix = (ext, fileSize) => {
1144
+ const prefix = ext || fileSize ? ',' : '';
1145
+ const extension = ext ? ` ${ext}` : '';
1146
+ const size = fileSize ? ` (${fileSize})` : '';
1147
+ return prefix + extension + size;
1148
+ };
1149
+ const getExtFromHref = (href) => {
1150
+ if (!href) {
1151
+ return '';
1152
+ }
1153
+ const index = href.lastIndexOf('.');
1154
+ return index !== -1 ? href.substring(index + 1) : '';
1155
+ };
1156
+
1157
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
1158
+
1159
+ const LinkDocsHorizontalList = JSX(({ context, hasBorder = true, documents, icon }) => {
1160
+ return (jsx(SwipeListControl, { context: context, className: "text-s text-primary-main mt-5", children: documents?.length
1161
+ ? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
1162
+ : null }));
1163
+ });
1164
+
1165
+ const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
1166
+ return (jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
1167
+ ? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
1168
+ : null }));
1169
+ });
1170
+
1171
+ const LinkDocs = JSX(({ className = '', context, title, description, icon = { icon: 'DocIconMonoColor' }, documents, orientation = 'vertical', hasBorder = true, }) => {
1172
+ return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, context: context, align: "center" }), orientation === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
1173
+ });
1174
+
1323
1175
  const getColSpan = (className) => {
1324
1176
  const colSpanPrefix = 'col-span-';
1325
1177
  const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
@@ -1375,6 +1227,105 @@
1375
1227
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1376
1228
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1377
1229
 
1230
+ const ButtonSection = JSX(({ context, className = '', buttons }) => {
1231
+ const { handlerDecorator } = context;
1232
+ const router = context.useRouter();
1233
+ return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => (jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
1234
+ });
1235
+ const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
1236
+ const buttonProps = useLink({ router, handlerDecorator }, button);
1237
+ return jsx(Button, { ...button, ...buttonProps });
1238
+ });
1239
+
1240
+ const LIST_DOT_STYLE_MAP = {
1241
+ primary: 'bg-primary-text',
1242
+ secondary: 'bg-white',
1243
+ gray: 'bg-secondary-text',
1244
+ };
1245
+ const DOT_SIZE_MAP = {
1246
+ L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3',
1247
+ M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3',
1248
+ S: 'w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5',
1249
+ };
1250
+ const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
1251
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` })) : null, jsx("span", { children: children })] }));
1252
+ });
1253
+
1254
+ const TEXT_STYLE_MAP = {
1255
+ primary: 'text-primary-text',
1256
+ secondary: 'text-white',
1257
+ gray: 'text-secondary-text',
1258
+ };
1259
+ const TEXT_SIZE_MAP = {
1260
+ S: 'text-l-light',
1261
+ M: 'text-h6',
1262
+ L: 'text-h5',
1263
+ };
1264
+ const ITEM_INDENT_MAP = {
1265
+ S: 'ml-2',
1266
+ M: 'ml-3',
1267
+ L: 'ml-4',
1268
+ };
1269
+ const List = JSX((props) => {
1270
+ const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
1271
+ if (!items?.length) {
1272
+ return null;
1273
+ }
1274
+ return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
1275
+ });
1276
+
1277
+ const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
1278
+ return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] }));
1279
+ });
1280
+
1281
+ const titleStyleMap = {
1282
+ primary: 'text-primary-text',
1283
+ secondary: 'text-white',
1284
+ };
1285
+ const descStyleMap = {
1286
+ primary: 'text-secondary-text',
1287
+ secondary: 'text-white',
1288
+ };
1289
+ const BenefitItem = JSX((props) => {
1290
+ const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
1291
+ const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
1292
+ const listItemAlign = description ? 'items-start' : 'items-center';
1293
+ const iconVersion = getIconVersion(isIconWhite, icon);
1294
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
1295
+ });
1296
+ function renderBenefitIconBgStyle(version, benefitsVersion) {
1297
+ let bgColorStyle = 'bg-primary-main text-black';
1298
+ if (version === 'secondary') {
1299
+ bgColorStyle = 'bg-white/30 text-black';
1300
+ }
1301
+ else if (benefitsVersion === 'normal') {
1302
+ bgColorStyle = 'bg-secondary-light text-primary-main';
1303
+ }
1304
+ return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
1305
+ }
1306
+ const getIconVersion = (isIconWhite, icon) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
1307
+
1308
+ const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => {
1309
+ return (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
1310
+ };
1311
+
1312
+ const ProductBlockInner = JSX(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, }) => {
1313
+ return (jsxs("div", { className: `w-full ${className}`, children: [jsxs("div", { children: [label ? renderLabel(label, version) : null, jsx(Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, bgColorHeadline: version, headlineVersion: headlineVersion }), jsxs(BaseTile, { context: context, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage$1(image)] }));
1314
+ });
1315
+ function renderImage$1(image) {
1316
+ return image?.src ? (jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
1317
+ }
1318
+ const labelStyleMap = {
1319
+ primary: 'text-primary-main border-secondary-hover',
1320
+ secondary: 'text-white/80',
1321
+ };
1322
+ const renderLabel = (label, version) => (jsx("div", { className: `px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${labelStyleMap[version]}`, children: label }));
1323
+
1324
+ const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
1325
+ const { className = '', version = 'primary' } = props;
1326
+ return (jsx("section", { className: `font-sans bg-white px-4 py-6 ${VersionStyleMap[version]} ${className}`, children: jsx(ProductBlockInner, { ...props }) }));
1327
+ });
1328
+
1378
1329
  const ProductGalleryBlock = JSX(({ block, context, className = '' }) => {
1379
1330
  const version = block?.version ?? 'primary';
1380
1331
  return (jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${VersionStyleMap[version]} ${className}`, role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, ...block }) }) }));
@@ -1457,8 +1408,8 @@
1457
1408
  return (jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (jsx(Img, { className: "ml-auto max-w-6 max-h-6", image: icon, width: "24px", height: "24px" })) : null] }));
1458
1409
  });
1459
1410
 
1460
- const TariffsTableTileCell = JSX(({ context, header, data }) => {
1461
- return (jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [jsx(TableTileHeader, { ...header }), data?.length ? data.map(renderCellInner(context)) : null] }));
1411
+ const TariffsTableTileCell = JSX(({ context, tile }) => {
1412
+ return (jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [jsx(TableTileHeader, { ...tile.header }), tile.data?.length ? tile.data.map(renderCellInner(context)) : null] }));
1462
1413
  });
1463
1414
  const renderCellInner = (context) => (cell, i) => (jsxs("div", { children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell(cell, context)] }, String(i)));
1464
1415
  const renderCell = (cell, context) => {
@@ -1473,9 +1424,9 @@
1473
1424
  return jsx(EmbeddableCellInner, { context: context, ...rest });
1474
1425
  };
1475
1426
 
1476
- const TariffsTableHorizontal = JSX(({ tiles, context }) => (jsx(SwipeListControl, { context: context, children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1427
+ const TariffsTableHorizontal = JSX(({ tiles, context }) => (jsx(SwipeListControl, { context: context, children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { tile: tile, context: context }, String(i)))) })));
1477
1428
 
1478
- const TariffsTableVertical = JSX(({ tiles }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1429
+ const TariffsTableVertical = JSX(({ tiles, context }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { tile: tile, context: context }, String(i)))) })));
1479
1430
 
1480
1431
  const TariffsTable = JSX(({ className, context, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', }) => {
1481
1432
  const colData = getColData(columns);
@@ -1492,8 +1443,41 @@
1492
1443
  data: colData?.[i] || [{}],
1493
1444
  }));
1494
1445
 
1446
+ const textBlockStyleMaps = {
1447
+ primary: {
1448
+ background: 'bg-white',
1449
+ icon: 'bg-primary-main text-white',
1450
+ title: 'text-primary-text',
1451
+ description: 'text-secondary-text',
1452
+ },
1453
+ secondary: {
1454
+ background: 'bg-primary-main',
1455
+ icon: 'bg-white text-primary-main',
1456
+ title: 'text-white',
1457
+ description: 'text-white',
1458
+ },
1459
+ 'secondary-light': {
1460
+ background: 'bg-primary-main/10',
1461
+ icon: 'bg-primary-main text-white',
1462
+ title: 'text-primary-text',
1463
+ description: 'text-secondary-text',
1464
+ },
1465
+ };
1466
+ const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
1467
+ const textBlockStyleMap = textBlockStyleMaps[blockVersion];
1468
+ const listBlockVersion = blockVersion === 'secondary' ? 'secondary' : 'gray';
1469
+ return (jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted, version: listBlockVersion })) : null] })] }));
1470
+ });
1471
+ function renderIcon(className) {
1472
+ return (jsx("div", { className: "mb-3", children: jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${className}`, children: "i" }) }));
1473
+ }
1474
+ function renderImage(image) {
1475
+ return image?.src ? jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
1476
+ }
1477
+
1495
1478
  const Blocks = {
1496
1479
  Accordion,
1480
+ AccordionItem,
1497
1481
  ComparisonTable,
1498
1482
  Footer,
1499
1483
  Gallery,
@@ -1510,6 +1494,10 @@
1510
1494
  Placeholder,
1511
1495
  };
1512
1496
 
1497
+ function style2className(style) {
1498
+ return style ? style.filter(Boolean).join(' ') : '';
1499
+ }
1500
+
1513
1501
  const api = LikeAPI();
1514
1502
  function useLikeService(pagePath) {
1515
1503
  const [likeCount, setLikeCount] = useState(0);
@@ -1555,24 +1543,25 @@
1555
1543
  const DEFAULT_SLOT_NAME = null;
1556
1544
  const DEFAULT_ANCESTORS = [DEFAULT_SLOT_NAME];
1557
1545
 
1546
+ const defaultChildRenderer = (_) => _;
1558
1547
  function renderBlock(block, options, ancestors = DEFAULT_ANCESTORS) {
1559
1548
  const { key, page, blockDecorator, blocksRegistry, context } = options;
1560
- const { type } = block;
1549
+ const { type, blocks: childBlocks } = block;
1561
1550
  if (!(type && type in blocksRegistry)) {
1562
1551
  console.warn(`No block with "${type}" is registered`);
1563
1552
  }
1564
1553
  const BlockComponent = type && blocksRegistry[type];
1554
+ const { renderChild = defaultChildRenderer } = BlockComponent || {};
1555
+ const renderChildBlock = (_, j) => renderChild(renderBlock(_, { ...options, key: `${options.key}-${j}` }, [...ancestors, block]), j);
1556
+ const children = childBlocks?.length ? childBlocks.map(renderChildBlock) : null;
1565
1557
  return blockDecorator({
1566
1558
  blockClassName: `scroll-mt-12 ${style2className(block.style)}`,
1567
1559
  block,
1568
1560
  ancestors,
1569
1561
  // Adjusted by decorator block and blockClassName
1570
1562
  render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
1571
- const { version, content, anchor, labels, blocks: childBlocks } = adjustedBlock;
1572
- const children = childBlocks
1573
- ? childBlocks.map((_, j) => renderBlock(_, { ...options, key: `${options.key}-${j}` }, [...ancestors, block]))
1574
- : null;
1575
- return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, version: version, context: context, page: page, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
1563
+ const { version, anchor, labels, content } = adjustedBlock;
1564
+ return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, context: context, page: page, ancestors: ancestors, version: version, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
1576
1565
  },
1577
1566
  }, key);
1578
1567
  }
@@ -1601,11 +1590,14 @@
1601
1590
  return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
1602
1591
  }
1603
1592
 
1593
+ const packageVersion = "0.5.15";
1594
+
1604
1595
  exports.Blocks = Blocks;
1605
1596
  exports.ContentPage = ContentPage;
1606
1597
  exports.DaDataAPI = DaDataAPI;
1607
1598
  exports.LikeAPI = LikeAPI;
1608
1599
  exports.joinList = joinList;
1600
+ exports.packageVersion = packageVersion;
1609
1601
  exports.projectSettings = projectSettings;
1610
1602
  exports.setup = setup;
1611
1603
  exports.setupHooks = setupHooks;