@redneckz/wildless-cms-uni-blocks 0.8.15 → 0.8.17

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 (650) hide show
  1. package/bin/migration-scripts/0.8.8.js +118 -0
  2. package/bundle/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  3. package/bundle/BlockRenderer/renderBlockList.d.ts +2 -2
  4. package/bundle/BlockRenderer/renderChildren.d.ts +2 -2
  5. package/bundle/ProjectSettings.d.ts +2 -0
  6. package/bundle/blocks.schema.json +1 -1
  7. package/bundle/bundle.umd.js +78 -151
  8. package/bundle/bundle.umd.min.js +1 -1
  9. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  10. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  11. package/bundle/components/CarouselCard/constants.d.ts +3 -3
  12. package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  13. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  14. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  15. package/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
  16. package/bundle/components/Header/HeaderContent.d.ts +0 -6
  17. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  18. package/bundle/components/Header/useChatBot.d.ts +1 -2
  19. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  20. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  21. package/bundle/model/AlignType.d.ts +10 -0
  22. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  23. package/dist/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  24. package/dist/BlockRenderer/renderBlock.js +2 -2
  25. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  26. package/dist/BlockRenderer/renderBlockList.d.ts +2 -2
  27. package/dist/BlockRenderer/renderBlockList.js +1 -1
  28. package/dist/BlockRenderer/renderChildren.d.ts +2 -2
  29. package/dist/BlockRenderer/renderChildren.js +2 -2
  30. package/dist/ProjectSettings.d.ts +2 -0
  31. package/dist/ProjectSettings.js +3 -0
  32. package/dist/ProjectSettings.js.map +1 -1
  33. package/dist/components/Blocks.js +2 -6
  34. package/dist/components/Blocks.js.map +1 -1
  35. package/dist/components/Blocks.mobile.js +0 -2
  36. package/dist/components/Blocks.mobile.js.map +1 -1
  37. package/dist/components/Carousel/Carousel.js +10 -18
  38. package/dist/components/Carousel/Carousel.js.map +1 -1
  39. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  40. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +3 -1
  41. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  42. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  43. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  44. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  45. package/dist/components/CarouselCard/constants.d.ts +3 -3
  46. package/dist/components/CarouselCard/constants.js +2 -2
  47. package/dist/components/CarouselCard/constants.js.map +1 -1
  48. package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  49. package/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
  50. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  51. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  52. package/dist/components/{Catalog/CatalogContent.js → CarouselEventCard/CarouselEventCardContent.js} +1 -1
  53. package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  54. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  55. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  56. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  57. package/dist/components/Footer/MediaButton.js +13 -10
  58. package/dist/components/Footer/MediaButton.js.map +1 -1
  59. package/dist/components/Header/Header.js +2 -2
  60. package/dist/components/Header/Header.js.map +1 -1
  61. package/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
  62. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  63. package/dist/components/Header/HeaderContent.d.ts +0 -6
  64. package/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  65. package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  66. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  67. package/dist/components/Header/useChatBot.d.ts +1 -2
  68. package/dist/components/Header/useChatBot.js.map +1 -1
  69. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  70. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  71. package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  72. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  73. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  74. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  75. package/dist/components/Tabs/Tabs.js +1 -1
  76. package/dist/components/Tabs/Tabs.js.map +1 -1
  77. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  78. package/dist/components/VerticalLayout/VerticalLayout.js +2 -1
  79. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  80. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  81. package/dist/components/Video/Video.js +6 -1
  82. package/dist/components/Video/Video.js.map +1 -1
  83. package/dist/hooks/useLink.js +1 -1
  84. package/dist/hooks/useLink.js.map +1 -1
  85. package/dist/model/AlignType.d.ts +10 -0
  86. package/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  87. package/dist/services/sitemap/isTopItemActive.js +1 -3
  88. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  89. package/dist/ui-kit/Img/ImgAsPicture.js +3 -9
  90. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  91. package/dist/wlc.json +3 -1
  92. package/lib/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  93. package/lib/BlockRenderer/renderBlock.js +2 -2
  94. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  95. package/lib/BlockRenderer/renderBlockList.d.ts +2 -2
  96. package/lib/BlockRenderer/renderBlockList.js +1 -1
  97. package/lib/BlockRenderer/renderChildren.d.ts +2 -2
  98. package/lib/BlockRenderer/renderChildren.js +2 -2
  99. package/lib/ProjectSettings.d.ts +2 -0
  100. package/lib/ProjectSettings.js +3 -0
  101. package/lib/ProjectSettings.js.map +1 -1
  102. package/lib/common.css +1 -1
  103. package/lib/components/Blocks.js +2 -6
  104. package/lib/components/Blocks.js.map +1 -1
  105. package/lib/components/Blocks.mobile.js +0 -2
  106. package/lib/components/Blocks.mobile.js.map +1 -1
  107. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  108. package/lib/components/Carousel/Carousel.js +10 -18
  109. package/lib/components/Carousel/Carousel.js.map +1 -1
  110. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  111. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +3 -1
  112. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  113. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  114. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  115. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  116. package/lib/components/CarouselCard/constants.d.ts +3 -3
  117. package/lib/components/CarouselCard/constants.js +2 -2
  118. package/lib/components/CarouselCard/constants.js.map +1 -1
  119. package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  120. package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +7 -0
  121. package/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
  122. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  123. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  124. package/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  125. package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  126. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  127. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  128. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  129. package/lib/components/Footer/MediaButton.js +13 -10
  130. package/lib/components/Footer/MediaButton.js.map +1 -1
  131. package/lib/components/Header/Header.js +2 -2
  132. package/lib/components/Header/Header.js.map +1 -1
  133. package/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
  134. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  135. package/lib/components/Header/HeaderContent.d.ts +0 -6
  136. package/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  137. package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  138. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  139. package/lib/components/Header/useChatBot.d.ts +1 -2
  140. package/lib/components/Header/useChatBot.js.map +1 -1
  141. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  142. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  143. package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  144. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  145. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  146. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  147. package/lib/components/Tabs/Tabs.js +1 -1
  148. package/lib/components/Tabs/Tabs.js.map +1 -1
  149. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  150. package/lib/components/VerticalLayout/VerticalLayout.js +2 -1
  151. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  152. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  153. package/lib/components/Video/Video.js +6 -1
  154. package/lib/components/Video/Video.js.map +1 -1
  155. package/lib/hooks/useLink.js +1 -1
  156. package/lib/hooks/useLink.js.map +1 -1
  157. package/lib/model/AlignType.d.ts +10 -0
  158. package/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  159. package/lib/services/sitemap/isTopItemActive.js +1 -3
  160. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  161. package/lib/ui-kit/Img/ImgAsPicture.js +3 -9
  162. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  163. package/lib/wlc.json +3 -1
  164. package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  165. package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +2 -2
  166. package/mobile/bundle/BlockRenderer/renderChildren.d.ts +2 -2
  167. package/mobile/bundle/ProjectSettings.d.ts +2 -0
  168. package/mobile/bundle/bundle.umd.js +28 -57
  169. package/mobile/bundle/bundle.umd.min.js +1 -1
  170. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  171. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  172. package/mobile/bundle/components/CarouselCard/constants.d.ts +3 -3
  173. package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  174. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  175. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  176. package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
  177. package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -6
  178. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  179. package/mobile/bundle/components/Header/useChatBot.d.ts +1 -2
  180. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  181. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  182. package/mobile/bundle/model/AlignType.d.ts +10 -0
  183. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
  184. package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  185. package/mobile/dist/BlockRenderer/renderBlock.js +2 -2
  186. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  187. package/mobile/dist/BlockRenderer/renderBlockList.d.ts +2 -2
  188. package/mobile/dist/BlockRenderer/renderBlockList.js +1 -1
  189. package/mobile/dist/BlockRenderer/renderChildren.d.ts +2 -2
  190. package/mobile/dist/BlockRenderer/renderChildren.js +2 -2
  191. package/mobile/dist/ProjectSettings.d.ts +2 -0
  192. package/mobile/dist/ProjectSettings.js +3 -0
  193. package/mobile/dist/ProjectSettings.js.map +1 -1
  194. package/mobile/dist/components/Blocks.js +0 -2
  195. package/mobile/dist/components/Blocks.js.map +1 -1
  196. package/mobile/dist/components/Carousel/Carousel.js +10 -18
  197. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  198. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  199. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +3 -1
  200. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  201. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  202. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  203. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  204. package/mobile/dist/components/CarouselCard/constants.d.ts +3 -3
  205. package/mobile/dist/components/CarouselCard/constants.js +2 -2
  206. package/mobile/dist/components/CarouselCard/constants.js.map +1 -1
  207. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  208. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
  209. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  210. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  211. package/{dist/components/Gallery/GalleryContent.js → mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js} +1 -1
  212. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  213. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  214. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  215. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  216. package/mobile/dist/components/Footer/MediaButton.js +13 -10
  217. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  218. package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
  219. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  220. package/mobile/dist/components/Header/HeaderContent.d.ts +0 -6
  221. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  222. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  223. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  224. package/mobile/dist/components/Header/useChatBot.d.ts +1 -2
  225. package/mobile/dist/components/Header/useChatBot.js.map +1 -1
  226. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  227. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  228. package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
  229. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  230. package/mobile/dist/components/Tabs/Tabs.js +1 -1
  231. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  232. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  233. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +2 -1
  234. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  235. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  236. package/mobile/dist/components/Video/Video.js +6 -1
  237. package/mobile/dist/components/Video/Video.js.map +1 -1
  238. package/mobile/dist/hooks/useLink.js +1 -1
  239. package/mobile/dist/hooks/useLink.js.map +1 -1
  240. package/mobile/dist/model/AlignType.d.ts +10 -0
  241. package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -2
  242. package/mobile/dist/services/sitemap/isTopItemActive.js +1 -3
  243. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  244. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +3 -9
  245. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  246. package/mobile/dist/wlc.json +3 -1
  247. package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +1 -0
  248. package/mobile/lib/BlockRenderer/renderBlock.js +2 -2
  249. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  250. package/mobile/lib/BlockRenderer/renderBlockList.d.ts +2 -2
  251. package/mobile/lib/BlockRenderer/renderBlockList.js +1 -1
  252. package/mobile/lib/BlockRenderer/renderChildren.d.ts +2 -2
  253. package/mobile/lib/BlockRenderer/renderChildren.js +2 -2
  254. package/mobile/lib/ProjectSettings.d.ts +2 -0
  255. package/mobile/lib/ProjectSettings.js +3 -0
  256. package/mobile/lib/ProjectSettings.js.map +1 -1
  257. package/mobile/lib/components/Blocks.js +0 -2
  258. package/mobile/lib/components/Blocks.js.map +1 -1
  259. package/mobile/lib/components/Carousel/Carousel.js +10 -18
  260. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  261. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -2
  262. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +3 -1
  263. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  264. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  265. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  266. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  267. package/mobile/lib/components/CarouselCard/constants.d.ts +3 -3
  268. package/mobile/lib/components/CarouselCard/constants.js +2 -2
  269. package/mobile/lib/components/CarouselCard/constants.js.map +1 -1
  270. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
  271. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
  272. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
  273. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
  274. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
  275. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
  276. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
  277. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  278. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
  279. package/mobile/lib/components/Footer/MediaButton.js +13 -10
  280. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  281. package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
  282. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  283. package/mobile/lib/components/Header/HeaderContent.d.ts +0 -6
  284. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
  285. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  286. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  287. package/mobile/lib/components/Header/useChatBot.d.ts +1 -2
  288. package/mobile/lib/components/Header/useChatBot.js.map +1 -1
  289. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  290. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  291. package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
  292. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  293. package/mobile/lib/components/Tabs/Tabs.js +1 -1
  294. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  295. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  296. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +2 -1
  297. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  298. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
  299. package/mobile/lib/components/Video/Video.js +6 -1
  300. package/mobile/lib/components/Video/Video.js.map +1 -1
  301. package/mobile/lib/hooks/useLink.js +1 -1
  302. package/mobile/lib/hooks/useLink.js.map +1 -1
  303. package/mobile/lib/model/AlignType.d.ts +10 -0
  304. package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -2
  305. package/mobile/lib/services/sitemap/isTopItemActive.js +1 -3
  306. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  307. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +3 -9
  308. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  309. package/mobile/lib/wlc.json +3 -1
  310. package/mobile/src/BlockRenderer/BlockRendererOptions.ts +1 -0
  311. package/mobile/src/BlockRenderer/renderBlock.tsx +2 -0
  312. package/mobile/src/BlockRenderer/renderBlockList.tsx +3 -3
  313. package/mobile/src/BlockRenderer/renderChildren.ts +3 -3
  314. package/mobile/src/ProjectSettings.ts +4 -0
  315. package/mobile/src/components/Blocks.ts +0 -2
  316. package/mobile/src/components/Carousel/Carousel.tsx +10 -19
  317. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +5 -3
  318. package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -4
  319. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  320. package/mobile/src/components/CarouselCard/constants.ts +5 -5
  321. package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
  322. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
  323. package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
  324. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
  325. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
  326. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
  327. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
  328. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
  329. package/mobile/src/components/Footer/MediaButton.tsx +19 -14
  330. package/mobile/src/components/Header/HeaderChatBotButton.tsx +1 -4
  331. package/mobile/src/components/Header/HeaderContent.ts +0 -7
  332. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
  333. package/mobile/src/components/Header/useChatBot.ts +2 -3
  334. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
  335. package/mobile/src/components/ProductGallery/ProductGallery.example.json +2 -3
  336. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  337. package/mobile/src/components/Tabs/Tabs.tsx +1 -1
  338. package/mobile/src/components/TariffsTable/TariffsTable.example.json +3 -0
  339. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  340. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
  341. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
  342. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
  343. package/mobile/src/components/Video/Video.tsx +22 -16
  344. package/mobile/src/hooks/useLink.ts +1 -1
  345. package/mobile/src/model/AlignType.ts +11 -0
  346. package/mobile/src/services/sitemap/isTopItemActive.ts +2 -7
  347. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +4 -10
  348. package/mobile/src/wlc.json +3 -1
  349. package/package.json +1 -1
  350. package/src/BlockRenderer/BlockRendererOptions.ts +1 -0
  351. package/src/BlockRenderer/renderBlock.tsx +2 -0
  352. package/src/BlockRenderer/renderBlockList.tsx +3 -3
  353. package/src/BlockRenderer/renderChildren.ts +3 -3
  354. package/src/ProjectSettings.ts +4 -0
  355. package/src/components/Accordion/Accordion.fixture.tsx +0 -12
  356. package/src/components/Blocks.mobile.ts +0 -2
  357. package/src/components/Blocks.ts +2 -6
  358. package/src/components/Carousel/Carousel.fixture.tsx +19 -0
  359. package/src/components/Carousel/Carousel.tsx +10 -19
  360. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +5 -3
  361. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
  362. package/src/components/CarouselCard/CarouselCard.tsx +4 -4
  363. package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  364. package/src/components/CarouselCard/constants.ts +5 -5
  365. package/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
  366. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +21 -0
  367. package/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
  368. package/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
  369. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
  370. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
  371. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +8 -3
  372. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
  373. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
  374. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
  375. package/src/components/Footer/MediaButton.tsx +19 -14
  376. package/src/components/Header/Header.fixture.tsx +3 -3
  377. package/src/components/Header/Header.tsx +0 -2
  378. package/src/components/Header/HeaderChatBotButton.tsx +1 -4
  379. package/src/components/Header/HeaderContent.ts +0 -7
  380. package/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
  381. package/src/components/Header/useChatBot.ts +2 -3
  382. package/src/components/OtherProducts/OtherProducts.fixture.tsx +0 -18
  383. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  384. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
  385. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  386. package/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
  387. package/src/components/ProductGallery/ProductGallery.example.json +2 -3
  388. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  389. package/src/components/Tabs/Tabs.tsx +1 -1
  390. package/src/components/TariffsTable/TariffsTable.example.json +3 -0
  391. package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  392. package/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
  393. package/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
  394. package/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
  395. package/src/components/Video/Video.tsx +22 -16
  396. package/src/hooks/useLink.ts +1 -1
  397. package/src/model/AlignType.ts +11 -0
  398. package/src/services/sitemap/isTopItemActive.ts +2 -7
  399. package/src/ui-kit/Img/ImgAsPicture.tsx +4 -10
  400. package/src/wlc.json +3 -1
  401. package/bundle/components/Catalog/Catalog.d.ts +0 -5
  402. package/bundle/components/Catalog/CatalogCard.d.ts +0 -7
  403. package/bundle/components/Catalog/CatalogContent.d.ts +0 -27
  404. package/bundle/components/Gallery/Gallery.d.ts +0 -2
  405. package/bundle/components/Gallery/Gallery.mobile.d.ts +0 -2
  406. package/bundle/components/Gallery/GalleryCardInner.d.ts +0 -2
  407. package/bundle/components/Gallery/GalleryContainer.d.ts +0 -11
  408. package/bundle/components/Gallery/GalleryContent.d.ts +0 -71
  409. package/bundle/components/Gallery/GalleryInner.d.ts +0 -7
  410. package/bundle/components/Gallery/GalleryProps.d.ts +0 -4
  411. package/bundle/components/Gallery/constants.d.ts +0 -4
  412. package/bundle/components/MiniGallery/MiniGallery.d.ts +0 -5
  413. package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  414. package/bundle/model/CarouselCardVersion.d.ts +0 -1
  415. package/bundle/model/GalleryVersion.d.ts +0 -1
  416. package/dist/components/Catalog/Catalog.d.ts +0 -5
  417. package/dist/components/Catalog/Catalog.js +0 -24
  418. package/dist/components/Catalog/Catalog.js.map +0 -1
  419. package/dist/components/Catalog/CatalogCard.d.ts +0 -7
  420. package/dist/components/Catalog/CatalogCard.js +0 -14
  421. package/dist/components/Catalog/CatalogCard.js.map +0 -1
  422. package/dist/components/Catalog/CatalogContent.d.ts +0 -27
  423. package/dist/components/Catalog/CatalogContent.js.map +0 -1
  424. package/dist/components/Gallery/Gallery.d.ts +0 -2
  425. package/dist/components/Gallery/Gallery.js +0 -7
  426. package/dist/components/Gallery/Gallery.js.map +0 -1
  427. package/dist/components/Gallery/Gallery.mobile.d.ts +0 -2
  428. package/dist/components/Gallery/Gallery.mobile.js +0 -35
  429. package/dist/components/Gallery/Gallery.mobile.js.map +0 -1
  430. package/dist/components/Gallery/GalleryCardInner.d.ts +0 -2
  431. package/dist/components/Gallery/GalleryCardInner.js +0 -20
  432. package/dist/components/Gallery/GalleryCardInner.js.map +0 -1
  433. package/dist/components/Gallery/GalleryContainer.d.ts +0 -11
  434. package/dist/components/Gallery/GalleryContainer.js +0 -15
  435. package/dist/components/Gallery/GalleryContainer.js.map +0 -1
  436. package/dist/components/Gallery/GalleryContent.d.ts +0 -71
  437. package/dist/components/Gallery/GalleryContent.js.map +0 -1
  438. package/dist/components/Gallery/GalleryInner.d.ts +0 -7
  439. package/dist/components/Gallery/GalleryInner.js +0 -23
  440. package/dist/components/Gallery/GalleryInner.js.map +0 -1
  441. package/dist/components/Gallery/GalleryProps.d.ts +0 -4
  442. package/dist/components/Gallery/GalleryProps.js +0 -2
  443. package/dist/components/Gallery/GalleryProps.js.map +0 -1
  444. package/dist/components/Gallery/constants.d.ts +0 -4
  445. package/dist/components/Gallery/constants.js +0 -15
  446. package/dist/components/Gallery/constants.js.map +0 -1
  447. package/dist/components/MiniGallery/MiniGallery.d.ts +0 -5
  448. package/dist/components/MiniGallery/MiniGallery.js +0 -7
  449. package/dist/components/MiniGallery/MiniGallery.js.map +0 -1
  450. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  451. package/dist/components/MiniGallery/MiniGalleryContent.js +0 -2
  452. package/dist/components/MiniGallery/MiniGalleryContent.js.map +0 -1
  453. package/dist/model/CarouselCardVersion.d.ts +0 -1
  454. package/dist/model/CarouselCardVersion.js +0 -2
  455. package/dist/model/CarouselCardVersion.js.map +0 -1
  456. package/dist/model/GalleryVersion.d.ts +0 -1
  457. package/dist/model/GalleryVersion.js +0 -2
  458. package/dist/model/GalleryVersion.js.map +0 -1
  459. package/lib/components/Catalog/Catalog.d.ts +0 -5
  460. package/lib/components/Catalog/Catalog.fixture.d.ts +0 -8
  461. package/lib/components/Catalog/Catalog.js +0 -22
  462. package/lib/components/Catalog/Catalog.js.map +0 -1
  463. package/lib/components/Catalog/CatalogCard.d.ts +0 -7
  464. package/lib/components/Catalog/CatalogCard.js +0 -12
  465. package/lib/components/Catalog/CatalogCard.js.map +0 -1
  466. package/lib/components/Catalog/CatalogContent.d.ts +0 -27
  467. package/lib/components/Catalog/CatalogContent.js +0 -2
  468. package/lib/components/Catalog/CatalogContent.js.map +0 -1
  469. package/lib/components/Gallery/Gallery.d.ts +0 -2
  470. package/lib/components/Gallery/Gallery.fixture.d.ts +0 -12
  471. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +0 -7
  472. package/lib/components/Gallery/Gallery.js +0 -5
  473. package/lib/components/Gallery/Gallery.js.map +0 -1
  474. package/lib/components/Gallery/Gallery.mobile.d.ts +0 -2
  475. package/lib/components/Gallery/Gallery.mobile.js +0 -33
  476. package/lib/components/Gallery/Gallery.mobile.js.map +0 -1
  477. package/lib/components/Gallery/GalleryCardInner.d.ts +0 -2
  478. package/lib/components/Gallery/GalleryCardInner.js +0 -18
  479. package/lib/components/Gallery/GalleryCardInner.js.map +0 -1
  480. package/lib/components/Gallery/GalleryContainer.d.ts +0 -11
  481. package/lib/components/Gallery/GalleryContainer.js +0 -13
  482. package/lib/components/Gallery/GalleryContainer.js.map +0 -1
  483. package/lib/components/Gallery/GalleryContent.d.ts +0 -71
  484. package/lib/components/Gallery/GalleryContent.js +0 -2
  485. package/lib/components/Gallery/GalleryContent.js.map +0 -1
  486. package/lib/components/Gallery/GalleryInner.d.ts +0 -7
  487. package/lib/components/Gallery/GalleryInner.js +0 -21
  488. package/lib/components/Gallery/GalleryInner.js.map +0 -1
  489. package/lib/components/Gallery/GalleryProps.d.ts +0 -4
  490. package/lib/components/Gallery/GalleryProps.js +0 -2
  491. package/lib/components/Gallery/GalleryProps.js.map +0 -1
  492. package/lib/components/Gallery/constants.d.ts +0 -4
  493. package/lib/components/Gallery/constants.js +0 -13
  494. package/lib/components/Gallery/constants.js.map +0 -1
  495. package/lib/components/MiniGallery/MiniGallery.d.ts +0 -5
  496. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +0 -11
  497. package/lib/components/MiniGallery/MiniGallery.js +0 -5
  498. package/lib/components/MiniGallery/MiniGallery.js.map +0 -1
  499. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  500. package/lib/components/MiniGallery/MiniGalleryContent.js +0 -2
  501. package/lib/components/MiniGallery/MiniGalleryContent.js.map +0 -1
  502. package/lib/model/CarouselCardVersion.d.ts +0 -1
  503. package/lib/model/CarouselCardVersion.js +0 -2
  504. package/lib/model/CarouselCardVersion.js.map +0 -1
  505. package/lib/model/GalleryVersion.d.ts +0 -1
  506. package/lib/model/GalleryVersion.js +0 -2
  507. package/lib/model/GalleryVersion.js.map +0 -1
  508. package/mobile/bundle/components/Catalog/Catalog.d.ts +0 -5
  509. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +0 -7
  510. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +0 -27
  511. package/mobile/bundle/components/Gallery/Gallery.d.ts +0 -2
  512. package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +0 -2
  513. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +0 -11
  514. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +0 -71
  515. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +0 -7
  516. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +0 -4
  517. package/mobile/bundle/components/Gallery/constants.d.ts +0 -4
  518. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +0 -5
  519. package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  520. package/mobile/bundle/model/CarouselCardVersion.d.ts +0 -1
  521. package/mobile/bundle/model/GalleryVersion.d.ts +0 -1
  522. package/mobile/dist/components/Catalog/Catalog.d.ts +0 -5
  523. package/mobile/dist/components/Catalog/Catalog.js +0 -24
  524. package/mobile/dist/components/Catalog/Catalog.js.map +0 -1
  525. package/mobile/dist/components/Catalog/CatalogCard.d.ts +0 -7
  526. package/mobile/dist/components/Catalog/CatalogCard.js +0 -14
  527. package/mobile/dist/components/Catalog/CatalogCard.js.map +0 -1
  528. package/mobile/dist/components/Catalog/CatalogContent.d.ts +0 -27
  529. package/mobile/dist/components/Catalog/CatalogContent.js +0 -2
  530. package/mobile/dist/components/Catalog/CatalogContent.js.map +0 -1
  531. package/mobile/dist/components/Gallery/Gallery.d.ts +0 -2
  532. package/mobile/dist/components/Gallery/Gallery.js +0 -35
  533. package/mobile/dist/components/Gallery/Gallery.js.map +0 -1
  534. package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +0 -2
  535. package/mobile/dist/components/Gallery/GalleryCardInner.js +0 -20
  536. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +0 -1
  537. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +0 -11
  538. package/mobile/dist/components/Gallery/GalleryContainer.js +0 -15
  539. package/mobile/dist/components/Gallery/GalleryContainer.js.map +0 -1
  540. package/mobile/dist/components/Gallery/GalleryContent.d.ts +0 -71
  541. package/mobile/dist/components/Gallery/GalleryContent.js +0 -2
  542. package/mobile/dist/components/Gallery/GalleryContent.js.map +0 -1
  543. package/mobile/dist/components/Gallery/GalleryInner.d.ts +0 -7
  544. package/mobile/dist/components/Gallery/GalleryInner.js +0 -23
  545. package/mobile/dist/components/Gallery/GalleryInner.js.map +0 -1
  546. package/mobile/dist/components/Gallery/GalleryProps.d.ts +0 -4
  547. package/mobile/dist/components/Gallery/GalleryProps.js +0 -2
  548. package/mobile/dist/components/Gallery/GalleryProps.js.map +0 -1
  549. package/mobile/dist/components/Gallery/constants.d.ts +0 -4
  550. package/mobile/dist/components/Gallery/constants.js +0 -15
  551. package/mobile/dist/components/Gallery/constants.js.map +0 -1
  552. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +0 -5
  553. package/mobile/dist/components/MiniGallery/MiniGallery.js +0 -7
  554. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +0 -1
  555. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  556. package/mobile/dist/components/MiniGallery/MiniGalleryContent.js +0 -2
  557. package/mobile/dist/components/MiniGallery/MiniGalleryContent.js.map +0 -1
  558. package/mobile/dist/model/CarouselCardVersion.d.ts +0 -1
  559. package/mobile/dist/model/CarouselCardVersion.js +0 -2
  560. package/mobile/dist/model/CarouselCardVersion.js.map +0 -1
  561. package/mobile/dist/model/GalleryVersion.d.ts +0 -1
  562. package/mobile/dist/model/GalleryVersion.js +0 -2
  563. package/mobile/dist/model/GalleryVersion.js.map +0 -1
  564. package/mobile/lib/components/Catalog/Catalog.d.ts +0 -5
  565. package/mobile/lib/components/Catalog/Catalog.js +0 -22
  566. package/mobile/lib/components/Catalog/Catalog.js.map +0 -1
  567. package/mobile/lib/components/Catalog/CatalogCard.d.ts +0 -7
  568. package/mobile/lib/components/Catalog/CatalogCard.js +0 -12
  569. package/mobile/lib/components/Catalog/CatalogCard.js.map +0 -1
  570. package/mobile/lib/components/Catalog/CatalogContent.d.ts +0 -27
  571. package/mobile/lib/components/Catalog/CatalogContent.js +0 -2
  572. package/mobile/lib/components/Catalog/CatalogContent.js.map +0 -1
  573. package/mobile/lib/components/Gallery/Gallery.d.ts +0 -2
  574. package/mobile/lib/components/Gallery/Gallery.js +0 -33
  575. package/mobile/lib/components/Gallery/Gallery.js.map +0 -1
  576. package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +0 -2
  577. package/mobile/lib/components/Gallery/GalleryCardInner.js +0 -18
  578. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +0 -1
  579. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +0 -11
  580. package/mobile/lib/components/Gallery/GalleryContainer.js +0 -13
  581. package/mobile/lib/components/Gallery/GalleryContainer.js.map +0 -1
  582. package/mobile/lib/components/Gallery/GalleryContent.d.ts +0 -71
  583. package/mobile/lib/components/Gallery/GalleryContent.js +0 -2
  584. package/mobile/lib/components/Gallery/GalleryContent.js.map +0 -1
  585. package/mobile/lib/components/Gallery/GalleryInner.d.ts +0 -7
  586. package/mobile/lib/components/Gallery/GalleryInner.js +0 -21
  587. package/mobile/lib/components/Gallery/GalleryInner.js.map +0 -1
  588. package/mobile/lib/components/Gallery/GalleryProps.d.ts +0 -4
  589. package/mobile/lib/components/Gallery/GalleryProps.js +0 -2
  590. package/mobile/lib/components/Gallery/GalleryProps.js.map +0 -1
  591. package/mobile/lib/components/Gallery/constants.d.ts +0 -4
  592. package/mobile/lib/components/Gallery/constants.js +0 -13
  593. package/mobile/lib/components/Gallery/constants.js.map +0 -1
  594. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +0 -5
  595. package/mobile/lib/components/MiniGallery/MiniGallery.js +0 -5
  596. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +0 -1
  597. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +0 -12
  598. package/mobile/lib/components/MiniGallery/MiniGalleryContent.js +0 -2
  599. package/mobile/lib/components/MiniGallery/MiniGalleryContent.js.map +0 -1
  600. package/mobile/lib/model/CarouselCardVersion.d.ts +0 -1
  601. package/mobile/lib/model/CarouselCardVersion.js +0 -2
  602. package/mobile/lib/model/CarouselCardVersion.js.map +0 -1
  603. package/mobile/lib/model/GalleryVersion.d.ts +0 -1
  604. package/mobile/lib/model/GalleryVersion.js +0 -2
  605. package/mobile/lib/model/GalleryVersion.js.map +0 -1
  606. package/mobile/src/components/Catalog/Catalog.example.json +0 -59
  607. package/mobile/src/components/Catalog/Catalog.tsx +0 -49
  608. package/mobile/src/components/Catalog/Catalog.ui.json +0 -11
  609. package/mobile/src/components/Catalog/CatalogCard.tsx +0 -47
  610. package/mobile/src/components/Catalog/CatalogContent.ts +0 -29
  611. package/mobile/src/components/Gallery/Gallery.example.json +0 -66
  612. package/mobile/src/components/Gallery/Gallery.tsx +0 -113
  613. package/mobile/src/components/Gallery/Gallery.ui.json +0 -22
  614. package/mobile/src/components/Gallery/GalleryCardInner.tsx +0 -78
  615. package/mobile/src/components/Gallery/GalleryContainer.tsx +0 -61
  616. package/mobile/src/components/Gallery/GalleryContent.ts +0 -74
  617. package/mobile/src/components/Gallery/GalleryInner.tsx +0 -50
  618. package/mobile/src/components/Gallery/GalleryProps.ts +0 -4
  619. package/mobile/src/components/Gallery/constants.ts +0 -16
  620. package/mobile/src/components/MiniGallery/MiniGallery.example.json +0 -56
  621. package/mobile/src/components/MiniGallery/MiniGallery.tsx +0 -10
  622. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +0 -19
  623. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +0 -13
  624. package/mobile/src/model/CarouselCardVersion.ts +0 -1
  625. package/mobile/src/model/GalleryVersion.ts +0 -1
  626. package/src/components/Catalog/Catalog.example.json +0 -59
  627. package/src/components/Catalog/Catalog.fixture.tsx +0 -50
  628. package/src/components/Catalog/Catalog.tsx +0 -49
  629. package/src/components/Catalog/Catalog.ui.json +0 -11
  630. package/src/components/Catalog/CatalogCard.tsx +0 -47
  631. package/src/components/Catalog/CatalogContent.ts +0 -29
  632. package/src/components/Gallery/Gallery.example.json +0 -66
  633. package/src/components/Gallery/Gallery.fixture.mobile.tsx +0 -83
  634. package/src/components/Gallery/Gallery.fixture.tsx +0 -225
  635. package/src/components/Gallery/Gallery.mobile.tsx +0 -113
  636. package/src/components/Gallery/Gallery.tsx +0 -7
  637. package/src/components/Gallery/Gallery.ui.json +0 -22
  638. package/src/components/Gallery/GalleryCardInner.tsx +0 -78
  639. package/src/components/Gallery/GalleryContainer.tsx +0 -61
  640. package/src/components/Gallery/GalleryContent.ts +0 -74
  641. package/src/components/Gallery/GalleryInner.tsx +0 -50
  642. package/src/components/Gallery/GalleryProps.ts +0 -4
  643. package/src/components/Gallery/constants.ts +0 -16
  644. package/src/components/MiniGallery/MiniGallery.example.json +0 -56
  645. package/src/components/MiniGallery/MiniGallery.fixture.tsx +0 -154
  646. package/src/components/MiniGallery/MiniGallery.tsx +0 -10
  647. package/src/components/MiniGallery/MiniGallery.ui.json +0 -19
  648. package/src/components/MiniGallery/MiniGalleryContent.ts +0 -13
  649. package/src/model/CarouselCardVersion.ts +0 -1
  650. package/src/model/GalleryVersion.ts +0 -1
@@ -80,6 +80,9 @@
80
80
  get FOOTER() {
81
81
  return this._.FOOTER;
82
82
  }
83
+ get CHAT_BOT() {
84
+ return this._.CHAT_BOT;
85
+ }
83
86
  get CDN() {
84
87
  return appendSlash(this._.CDN);
85
88
  }
@@ -245,7 +248,7 @@
245
248
  const DEFAULT_ANCESTORS = [];
246
249
  const defaultStyle = 'col-span-12';
247
250
  function renderBlock(block, options) {
248
- const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', } = options;
251
+ const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', extraProps = {}, } = options;
249
252
  const { type } = block;
250
253
  if (!(type && type in blocksRegistry)) {
251
254
  console.warn(`No block with "${type}" is registered`);
@@ -259,13 +262,13 @@
259
262
  // Adjusted by decorator block and blockClassName
260
263
  render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
261
264
  const { content } = adjustedBlock;
262
- return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content }, key)) : null;
265
+ return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content, ...extraProps }, key)) : null;
263
266
  },
264
267
  }, key);
265
268
  }
266
269
 
267
270
  const EMPTY_ANCESTORS = [];
268
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, renderChild = renderBlock, ...options }) => (blocks || []).map((_, j) => renderChild(_, {
271
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, renderProps = renderBlock, ...options }) => (blocks || []).map((_, j) => renderProps(_, {
269
272
  ...options,
270
273
  key: `${key ? key : _.type}-${j}`,
271
274
  ancestors: options.parent
@@ -273,12 +276,12 @@
273
276
  : ancestors,
274
277
  }));
275
278
 
276
- function renderChildren({ children, block, options, renderChild, }) {
279
+ function renderChildren({ children, block, options, renderProps, }) {
277
280
  if (children) {
278
281
  return children;
279
282
  }
280
283
  return block && options
281
- ? renderBlocksList(block.blocks, { ...options, parent: block, renderChild })
284
+ ? renderBlocksList(block.blocks, { ...options, parent: block, renderProps })
282
285
  : null;
283
286
  }
284
287
 
@@ -483,9 +486,9 @@
483
486
  ? image.sources
484
487
  .filter((_) => _?.src)
485
488
  .sort(sourcesComparator)
486
- .map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrcset(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
489
+ .map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
487
490
  : null, image?.src
488
- ? renderImg({ ...image, src: adjustSrcset(router, pathPrefix)(image.src) }, imageClassName, isMobile)
491
+ ? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName, isMobile)
489
492
  : null] }));
490
493
  });
491
494
  const renderImg = (image, imageClassName = '', isMobile = false) => {
@@ -498,13 +501,7 @@
498
501
  const imgStyle = isMobile ? 'm-auto' : 'm-0';
499
502
  return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
500
503
  };
501
- const adjustSrcset = (router, pathPrefix) => (srcset) => srcset
502
- ?.split(/\s*,\s*/)
503
- .map((src) => src.trim())
504
- .filter(Boolean)
505
- .map((src) => (isURL(src) ? src : joinPath(pathPrefix, src)))
506
- .map(adjustHref(router))
507
- .join(', ');
504
+ const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
508
505
  const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
509
506
 
510
507
  const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
@@ -658,7 +655,7 @@
658
655
  handlerDecorator._impl = impl;
659
656
  };
660
657
 
661
- function useLink(isRemote) {
658
+ function useLink(isRemote = false) {
662
659
  const router = useRouter();
663
660
  return (props) => ({
664
661
  ...props,
@@ -1095,9 +1092,9 @@
1095
1092
  const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep$1) })) : null] })));
1096
1093
  const renderStep$1 = (benefit, i) => {
1097
1094
  const description = benefit.description;
1098
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$5(description)] })] }, String(i)));
1095
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$4(description)] })] }, String(i)));
1099
1096
  };
1100
- const renderDescription$5 = (description) => {
1097
+ const renderDescription$4 = (description) => {
1101
1098
  const benefitType = description?.benefitType || null;
1102
1099
  return description && benefitType ? (jsx("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
1103
1100
  ? renderListBenefit(description)
@@ -1912,7 +1909,7 @@
1912
1909
  const renderBlur = (isBlur, scroll) => (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white') }), jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white') })] })) : null;
1913
1910
 
1914
1911
  const ITEMS_GAP = 4;
1915
- const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, ...rest }) => {
1912
+ const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, options, ...rest }) => {
1916
1913
  const { blocks: childBlocks } = rest.block || {};
1917
1914
  const count = itemCount || childBlocks?.length || 0;
1918
1915
  const [activeIndex, setActiveIndex] = useState(Math.floor((visibleItemCount || 0) / 2));
@@ -1926,9 +1923,15 @@
1926
1923
  return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
1927
1924
  ? renderChildren({
1928
1925
  ...rest,
1929
- block: { ...rest.block, blocks: buildBlocks(childBlocks, activeIndex) },
1926
+ options: {
1927
+ ...options,
1928
+ extraProps: {
1929
+ blocksLength: childBlocks?.length,
1930
+ activeIndex: activeIndex,
1931
+ },
1932
+ },
1930
1933
  })
1931
- : renderChildren(rest) }), jsx(CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }) }));
1934
+ : renderChildren({ ...rest, options }) }), jsx(CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }) }));
1932
1935
  });
1933
1936
  Carousel.childrenTypes = [
1934
1937
  'CarouselCard',
@@ -1940,25 +1943,13 @@
1940
1943
  'CarouselRecommendationCard',
1941
1944
  'CarouselTariffsCard',
1942
1945
  'CarouselInvestmentCard',
1946
+ 'CarouselEventCard',
1943
1947
  ];
1944
- const buildBlocks = (blocks, activeIndex) => {
1945
- return blocks && blocks[0]?.type === 'CarouselBankHistoryCard'
1946
- ? blocks.map((_, i) => {
1947
- return {
1948
- ..._,
1949
- content: {
1950
- ..._.content,
1951
- orderNumber: i,
1952
- isActive: activeIndex === i,
1953
- blocksLength: blocks.length,
1954
- },
1955
- };
1956
- })
1957
- : blocks;
1958
- };
1959
1948
  const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
1960
1949
 
1961
- const CarouselBankHistoryCard = JSX(({ title, description, isActive, orderNumber = 0, blocksLength = 0 }) => {
1950
+ const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options, ...rest }) => {
1951
+ const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
1952
+ const isActive = orderNumber === activeIndex;
1962
1953
  return (jsx(BlockWrapper, { className: "flex h-[485px]", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
1963
1954
  });
1964
1955
  const getBackgroundColor = (orderNumber) => {
@@ -2000,16 +1991,23 @@
2000
1991
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
2001
1992
  const CARD_WIDTH_MAP = {
2002
1993
  normal: 'min-w-[970px]',
2003
- mini: 'min-w-[355px]',
1994
+ small: 'min-w-[355px]',
2004
1995
  };
2005
1996
  const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box h-full ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), renderButtonsSection([button], { className: 'mt-14' })] })] }) })));
2006
1997
 
2007
- const cardStyleMap$2 = {
1998
+ const cardStyleMap = {
2008
1999
  black: 'bg-black',
2009
2000
  white: 'bg-white',
2010
2001
  };
2011
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] h-full flex flex-col justify-left ${className}`, ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2012
- const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
2002
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] h-full flex flex-col justify-left ${className}`, ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2003
+ const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2004
+
2005
+ const getIconWithVersion = (icon, version = 'primary') => ({
2006
+ ...icon,
2007
+ iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
2008
+ });
2009
+
2010
+ const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col w-[365px]', className), ...rest, children: jsxs("a", { href: href, target: target, role: "link", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-s", color: "text-secondary-text", children: description }) })) : null] }) })));
2013
2011
 
2014
2012
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (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] })] })));
2015
2013
 
@@ -2075,18 +2073,13 @@
2075
2073
  const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2076
2074
 
2077
2075
  const CarouselProductCard = JSX(({ className = '', title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'text-center', ...rest }) => {
2078
- return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6', 'box-border border-solid border border-gray', align, className), version: version, ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$1(items, isDotted, version), renderAdditionalDescription$2(additionalDescription)] }), renderButtonsSection([button], { buttonClassName: 'mt-6 w-full' })] }));
2079
- });
2080
- const renderImage$4 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
2081
- const renderCardTitle$1 = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2082
- const renderDescription$4 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2083
- const renderAdditionalDescription$2 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
2084
- const renderItems$1 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2085
-
2086
- const getIconWithVersion = (icon, version = 'primary') => ({
2087
- ...icon,
2088
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
2076
+ return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6', 'box-border border-solid border border-gray', align, className), version: version, ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$3(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), renderItems(items, isDotted, version), renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], { buttonClassName: 'mt-6 w-full' })] }));
2089
2077
  });
2078
+ const renderImage$3 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
2079
+ const renderCardTitle = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2080
+ const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2081
+ const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
2082
+ const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2090
2083
 
2091
2084
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], ...rest }) => (jsxs(BlockWrapper, { className: `border border-gray flex min-w-[536px] ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) }) : null] })] })));
2092
2085
  const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
@@ -2094,32 +2087,32 @@
2094
2087
  const ICONS_MAP = [
2095
2088
  {
2096
2089
  origins: ['t.me', 'telegram.org'],
2097
- icon: { icon: 'TelegramIcon' },
2090
+ iconMapped: { icon: 'TelegramIcon' },
2098
2091
  label: 'Телеграм',
2099
2092
  },
2100
2093
  {
2101
2094
  origins: ['vk.com'],
2102
- icon: { icon: 'VKIcon' },
2095
+ iconMapped: { icon: 'VKIcon' },
2103
2096
  label: 'ВКонтакте',
2104
2097
  },
2105
2098
  {
2106
2099
  origins: ['ok.ru'],
2107
- icon: { icon: 'OkIcon' },
2100
+ iconMapped: { icon: 'OkIcon' },
2108
2101
  label: 'Одноклассники',
2109
2102
  },
2110
2103
  {
2111
2104
  origins: ['apps.apple.com'],
2112
- icon: { icon: 'AppleIcon' },
2105
+ iconMapped: { icon: 'AppleIcon' },
2113
2106
  label: 'App Store',
2114
2107
  },
2115
2108
  {
2116
2109
  origins: ['play.google.com'],
2117
- icon: { icon: 'PlayMarketIcon' },
2110
+ iconMapped: { icon: 'PlayMarketIcon' },
2118
2111
  label: 'Google Play',
2119
2112
  },
2120
2113
  {
2121
2114
  origins: ['youtube.com'],
2122
- icon: { icon: 'YoutubeIcon' },
2115
+ iconMapped: { icon: 'YoutubeIcon' },
2123
2116
  label: 'Youtube',
2124
2117
  },
2125
2118
  ];
@@ -2127,20 +2120,23 @@
2127
2120
  default: 'w-14 h-14',
2128
2121
  small: 'w-12 h-12',
2129
2122
  };
2130
- const MediaButton = JSX(({ iconVersion = 'color', buttonSize = 'default', rounded = false, ...rest }) => {
2123
+ const MediaButton = JSX(({ iconVersion = 'color', buttonSize = 'default', rounded = false, icon, ...rest }) => {
2131
2124
  const { href, version } = rest;
2132
- const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2133
- const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
2125
+ const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2126
+ const iconCustom = icon ?? iconMapped;
2127
+ const iconWithVersion = iconCustom
2128
+ ? { ...getIconWithVersion(iconCustom), iconVersion }
2129
+ : undefined;
2134
2130
  return (jsx(Button, { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonSizeStyles[buttonSize]), "aria-label": label, target: "_blank", rel: "noopener noreferrer", version: version, ...rest, children: iconWithVersion ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null }));
2135
2131
  });
2136
2132
 
2137
2133
  const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, version: _.version, ..._ }, String(index)))) }), jsx(Text, { size: "text-s-light", color: "text-secondary-text", children: children })] })));
2138
2134
 
2139
- const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
2135
+ const CarouselRecommendationCard = JSX(({ className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
2140
2136
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
2141
2137
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2142
2138
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2143
- return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] h-full text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? (jsx("span", { className: "mb-2 group-data-gray:text-secondary-text group-data-gray:max-w-[265px]", children: description })) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, renderButtonsSection([button], { className: 'pt-2 mt-16' })] }) }) }));
2139
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] h-full text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? (jsx("span", { className: "mb-2 group-data-gray:text-secondary-text group-data-gray:max-w-[265px]", children: description })) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null] }) }) }));
2144
2140
  });
2145
2141
 
2146
2142
  const VISIBLE_CELLS_COUNT = 1;
@@ -2156,28 +2152,6 @@
2156
2152
  const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
2157
2153
  const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2158
2154
 
2159
- const cardStyleMap$1 = {
2160
- black: 'bg-black',
2161
- white: 'bg-white',
2162
- };
2163
- const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2164
- const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
2165
-
2166
- const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
2167
- const CARD_VIEW_COUNT$1 = 3;
2168
- const CARD_SHIFT$1 = 430;
2169
- const Catalog = JSX(({ cards = [], className = '', title, description, ...rest }) => {
2170
- const [activeIndex, controls] = useCarouselControls({
2171
- itemCount: cards?.length,
2172
- visibleItemCount: CARD_VIEW_COUNT$1,
2173
- });
2174
- return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
2175
- ...controls,
2176
- btnClass: ['left-8', 'right-8'],
2177
- className: 'top-1/2 z-10 mt-6',
2178
- }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} left-0 bg-opacity-from-white` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} right-0 bg-opacity-to-white` })] }));
2179
- });
2180
-
2181
2155
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
2182
2156
  const BORDER_CLASSES = 'border-gray border-solid border';
2183
2157
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
@@ -2452,7 +2426,7 @@
2452
2426
  'bg-white': 'text-primary-main',
2453
2427
  transparent: 'text-white',
2454
2428
  };
2455
- const renderImage$3 = (bgColor, image, size) => {
2429
+ const renderImage$2 = (bgColor, image, size) => {
2456
2430
  return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/", asSVG: true })) : (jsx(ImgInner, { image: {
2457
2431
  icon: image?.icon || 'LogoIcon',
2458
2432
  iconVersion: ICON_VERSION_MAP[bgColor],
@@ -2468,7 +2442,7 @@
2468
2442
  };
2469
2443
 
2470
2444
  const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
2471
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$3(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$3(children || logo?.title, bgColor) : null] }));
2445
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$2(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$3(children || logo?.title, bgColor) : null] }));
2472
2446
  });
2473
2447
 
2474
2448
  const useSearch = () => {
@@ -2554,50 +2528,6 @@
2554
2528
  return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 ${className}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2555
2529
  });
2556
2530
 
2557
- const galleryLengthForScrollMap = {
2558
- normal: 3,
2559
- mini: 4,
2560
- };
2561
- const cardStyleMap = {
2562
- normal: 'min-w-[364px] w-[364px]',
2563
- mini: 'min-w-[260px] w-[260px]',
2564
- };
2565
- const cardWidthMap = {
2566
- normal: 380,
2567
- mini: 276,
2568
- };
2569
-
2570
- const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2571
- buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
2572
- })] })));
2573
- const renderImage$2 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
2574
- const renderCardTitle = (headlineSmallVersion, title) => title ? jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2575
- const renderDescription$3 = (description, title) => description ? jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
2576
- const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
2577
- const renderItems = (items, isDotted) => (jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
2578
-
2579
- const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (jsxs("div", { children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
2580
- function renderCard({ card, galleryVersion }, i) {
2581
- return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
2582
- items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
2583
- } w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2584
- }
2585
-
2586
- const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
2587
- const [activeIndex, controls] = useCarouselControls({
2588
- itemCount: cards?.length,
2589
- visibleItemCount: galleryLengthForScrollMap[galleryVersion],
2590
- });
2591
- const { isScrollAvailable } = controls;
2592
- return (jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
2593
- ...controls,
2594
- btnClass: ['left-8', 'right-8'],
2595
- className: 'top-1/2',
2596
- }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
2597
- });
2598
-
2599
- const Gallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "normal" })));
2600
-
2601
2531
  const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
2602
2532
  const renderCalendar = (calendar) => {
2603
2533
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
@@ -2616,9 +2546,7 @@
2616
2546
 
2617
2547
  const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
2618
2548
 
2619
- const isTopItemActive = (router) => (topItem) => projectSettings.BASE_PATH
2620
- ? isHrefActive({ pathname: projectSettings.BASE_PATH })(topItem)
2621
- : topItem.items?.some(isHrefActive(router)) || isHrefActive(router)(topItem);
2549
+ const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
2622
2550
 
2623
2551
  const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
2624
2552
  const link = useLink(true);
@@ -2798,11 +2726,11 @@
2798
2726
  });
2799
2727
  const renderChatBotButton = ({ className, iconVersion, onClick }) => (jsx(HeaderSecondaryMenuButton, { className: style(CHAT_BUTTON_EXTERNAL_NAME, className), image: { icon: 'HeadphonesIcon', iconVersion }, ariaLabel: "\u0427\u0430\u0442", onClick: onClick }));
2800
2728
 
2801
- const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices, chat }) => {
2729
+ const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
2802
2730
  const [isShowLocationModal, { setTrue: showLocationModal, setFalse: hideLocationModal }] = useBool();
2803
2731
  const [location, onChangeLocation] = useLocation(defaultLocation);
2804
2732
  const iconVersion = version === 'transparent' ? 'white' : 'black';
2805
- return (jsxs("div", { className: style('flex items-center', className), children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, onClick: showLocationModal }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" })) : null, chat ? (jsx(HeaderChatBotButton, { className: "mr-5", iconVersion: iconVersion, chat: chat })) : null, isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2733
+ return (jsxs("div", { className: style('flex items-center', className), children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, onClick: showLocationModal }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "mr-5", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2806
2734
  });
2807
2735
 
2808
2736
  const findActiveSubItem = (router) => (items = []) => {
@@ -2867,11 +2795,11 @@
2867
2795
  'bg-white': 'primary',
2868
2796
  transparent: 'transparent',
2869
2797
  };
2870
- const Header = JSX(({ bgColor = 'bg-white', className, showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], chat, ...rest }) => {
2798
+ const Header = JSX(({ bgColor = 'bg-white', className, showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
2871
2799
  const router = useRouter();
2872
2800
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2873
2801
  const activeTopItem = topItems?.find(isTopItemActive(router));
2874
- return (jsx(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, chat: chat })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
2802
+ return (jsx(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
2875
2803
  });
2876
2804
 
2877
2805
  const gapStyles = {
@@ -3041,8 +2969,6 @@
3041
2969
  };
3042
2970
  const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
3043
2971
 
3044
- const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "mini" })));
3045
-
3046
2972
  const getColSpan = (className) => {
3047
2973
  const colSpanPrefix = 'col-span-';
3048
2974
  const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
@@ -3590,18 +3516,17 @@
3590
3516
  const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
3591
3517
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
3592
3518
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
3593
- return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3519
+ return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3594
3520
  });
3595
3521
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
3596
3522
  ? 'inline-grid grid-cols-[auto_auto_auto]'
3597
3523
  : 'inline-grid grid-cols-[auto_auto]'}`;
3598
3524
 
3599
3525
  function renderBackwardButton(button, version, className) {
3600
- const { text, href, target, onClick } = button;
3526
+ const { text, href, target } = button;
3601
3527
  const iconVersion = version === 'primary' ? 'white' : 'black';
3602
3528
  const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
3603
- // TODO Move click handler to Button
3604
- return (jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
3529
+ return (jsxs("div", { className: style('flex items-center', className), children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? (jsx(Button, { version: "link", text: text, href: href, target: target, ariaLabel: text })) : null] }));
3605
3530
  }
3606
3531
 
3607
3532
  const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
@@ -3626,7 +3551,7 @@
3626
3551
  })) })] }));
3627
3552
  });
3628
3553
  function renderProductBlock(block, i) {
3629
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3554
+ return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3630
3555
  }
3631
3556
  function renderNavButton({ slide, i, isActive, onClick }) {
3632
3557
  const btnClassName = isActive
@@ -4115,7 +4040,7 @@
4115
4040
  }
4116
4041
  setCurrentTab(selectedTab);
4117
4042
  }, []);
4118
- return (jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20 ' : ''} ${className}`, role: "tablist", ...rest, children: tabsMode === 'scrollable' ? (jsx(ScrollableTabs, { tabs: tabs, onClick: handleClick, currentTab: currentTab, showCounter: showCounter, ...rest })) : (tabs?.map(renderTab({
4043
+ return (jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, role: "tablist", ...rest, children: tabsMode === 'scrollable' ? (jsx(ScrollableTabs, { tabs: tabs, onClick: handleClick, currentTab: currentTab, showCounter: showCounter, ...rest })) : (tabs?.map(renderTab({
4119
4044
  onClick: handleClick,
4120
4045
  currentTab,
4121
4046
  showCounter,
@@ -4330,11 +4255,12 @@
4330
4255
  }), image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })));
4331
4256
 
4332
4257
  const alignStyle = {
4258
+ stretch: 'items-stretch',
4333
4259
  left: 'items-start',
4334
4260
  center: 'items-center',
4335
4261
  right: 'items-end',
4336
4262
  };
4337
- const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
4263
+ const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
4338
4264
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4339
4265
  return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
4340
4266
  });
@@ -4343,7 +4269,10 @@
4343
4269
  const MIN_COL_SPAN = 10;
4344
4270
  const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
4345
4271
 
4346
- const Video = JSX(({ className, title, src, previewImg, ...rest }) => (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] })));
4272
+ const Video = JSX(({ className, title, src, previewImg, ...rest }) => {
4273
+ const router = useRouter();
4274
+ return (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: adjustHref(router)(previewImg?.src), style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: adjustHref(router)(src) }) })) : null] }));
4275
+ });
4347
4276
 
4348
4277
  const Blocks = {
4349
4278
  Accordion,
@@ -4360,19 +4289,18 @@
4360
4289
  CarouselBankHistoryCard,
4361
4290
  CarouselCard,
4362
4291
  CarouselCatalogCard,
4292
+ CarouselEventCard,
4363
4293
  CarouselInvestmentCard,
4364
4294
  CarouselLinks,
4365
4295
  CarouselProductCard,
4366
4296
  CarouselProgramsCard,
4367
4297
  CarouselRecommendationCard,
4368
4298
  CarouselTariffsCard,
4369
- Catalog,
4370
4299
  ComparisonTable,
4371
4300
  ContactsBlock,
4372
4301
  ErrorBlock,
4373
4302
  ExchangeRateTile,
4374
4303
  Footer,
4375
- Gallery,
4376
4304
  GracePeriod,
4377
4305
  Header,
4378
4306
  Headline,
@@ -4381,7 +4309,6 @@
4381
4309
  InsuranceAmountBlock,
4382
4310
  InvestmentInfo,
4383
4311
  LinkDocs,
4384
- MiniGallery,
4385
4312
  MobileAppTile,
4386
4313
  OfficeMap,
4387
4314
  OfficeServicesBlock,
@@ -4531,7 +4458,7 @@
4531
4458
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
4532
4459
  }
4533
4460
 
4534
- const packageVersion = "0.8.15";
4461
+ const packageVersion = "0.8.17";
4535
4462
 
4536
4463
  exports.Blocks = Blocks;
4537
4464
  exports.ContentPage = ContentPage;