@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
@@ -1,9 +1,8 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
3
3
  interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {
4
- isActive?: boolean;
5
- orderNumber?: number;
6
4
  blocksLength?: number;
5
+ activeIndex?: number;
7
6
  }
8
7
  export declare const CarouselBankHistoryCard: import("@redneckz/uni-jsx").UNIComponent<CarouselBankHistoryCardProps, any, any>;
9
8
  export {};
@@ -1,4 +1,4 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  /**
@@ -13,5 +13,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
13
13
  * }
14
14
  */
15
15
  button?: ButtonWithIconProps;
16
- carouselVersion?: CarouselCardVersion;
16
+ carouselVersion?: SizeVersion;
17
17
  }
@@ -1,3 +1,3 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
2
- export declare const cardStyleMap: Record<CarouselCardVersion, string>;
3
- export declare const cardWidthMap: Record<CarouselCardVersion, string>;
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
+ export declare const cardStyleMap: Record<SizeVersion, string>;
3
+ export declare const cardWidthMap: Record<SizeVersion, string>;
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
+ export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
+ }
5
+ export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -0,0 +1,9 @@
1
+ import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { LinkCommonProps } from '../../model/LinkProps';
3
+ import type { Picture } from '../../model/Picture';
4
+ /**
5
+ * @title Карточка мероприятия в карусели
6
+ */
7
+ export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
8
+ icon?: Picture;
9
+ };
@@ -1,8 +1,14 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { ButtonVersion } from '../../model/ButtonVersion';
2
3
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
4
+ import type { LinkCommonProps } from '../../model/LinkProps';
3
5
  import type { Picture } from '../../model/Picture';
4
- import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
5
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
7
+ export declare type RecommendationSocialMedia = LinkCommonProps & {
8
+ version: ButtonVersion;
9
+ icon?: Picture;
10
+ rounded?: boolean;
11
+ };
6
12
  /**
7
13
  * @title Карточка рекомендаций
8
14
  */
@@ -10,7 +16,7 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
10
16
  /**
11
17
  * @title Соц сети
12
18
  */
13
- socialMedia?: ButtonWithIconProps[];
19
+ socialMedia?: RecommendationSocialMedia[];
14
20
  /**
15
21
  * @default {
16
22
  * "format": "webp",
@@ -26,12 +32,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
26
32
  * }
27
33
  */
28
34
  image?: Picture;
29
- /**
30
- * @default {
31
- * "text": "",
32
- * "version": "secondary"
33
- * }
34
- */
35
- button?: ButtonProps;
36
35
  version?: BlockVersion;
37
36
  }
@@ -1,10 +1,8 @@
1
1
  import type { IconVersion } from '../../model/IconVersion';
2
- import type { ChatBot as ChatBotWithEmptyOption } from './HeaderContent';
3
- export declare type ChatBot = Exclude<ChatBotWithEmptyOption, ''>;
4
2
  interface HeaderChatBotButtonProps {
5
3
  className?: string;
6
4
  iconVersion?: IconVersion;
7
- chat?: ChatBot;
5
+ chat?: string;
8
6
  onClick?: () => void;
9
7
  }
10
8
  export declare const HeaderChatBotButton: import("@redneckz/uni-jsx").UNIComponent<HeaderChatBotButtonProps, any, any>;
@@ -5,11 +5,6 @@ import type { IconProps, Picture } from '../../model/Picture';
5
5
  * @title Пункт подменю
6
6
  */
7
7
  export declare type SubMenuItem = LinkProps & IconProps;
8
- /**
9
- * @title Чат-бот
10
- * @enumNames ["", "Для физических лиц", "Для юридических лиц"]
11
- */
12
- export declare type ChatBot = '' | 'personal' | 'business';
13
8
  /**
14
9
  * @title Ссылка дополнительного меню
15
10
  * @required ["text", "href"]
@@ -35,5 +30,4 @@ export interface HeaderContent {
35
30
  showSubMenu?: boolean;
36
31
  /** @hidden */
37
32
  bgColor?: BgColorVersion;
38
- chat?: ChatBot;
39
33
  }
@@ -1,12 +1,10 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ForeignOffice } from '../../services/sitemap/SitemapProps';
3
- import type { ChatBot } from './HeaderContent';
4
3
  interface HeaderSecondaryMenuContent {
5
4
  version?: BlockVersion;
6
5
  defaultLocation?: string;
7
6
  officesLink?: string;
8
7
  foreignOffices?: ForeignOffice[];
9
- chat?: ChatBot;
10
8
  }
11
9
  export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
12
10
  className?: string;
@@ -1,2 +1 @@
1
- import { ChatBot } from './HeaderChatBotButton';
2
- export declare const useChatBot: (chat: ChatBot) => unknown;
1
+ export declare const useChatBot: (chat: string) => unknown;
@@ -70,6 +70,7 @@ export declare type LabelDescriptionCellDef = LabelDescriptionCell & {
70
70
  };
71
71
  /**
72
72
  * @title Список
73
+ * @default { "listItemSize": "M", "isDotted": true }
73
74
  */
74
75
  export declare type ListBlockDef = ListProps & {
75
76
  /** @default List */
@@ -1,4 +1,4 @@
1
- import type { AlignType } from '../../model/AlignType';
1
+ import type { AlignTypeWithStretch } from '../../model/AlignType';
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
3
  import type { ColorPalette } from '../../model/ContentPageDef';
4
4
  import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
@@ -8,7 +8,7 @@ import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
8
8
  export interface VerticalLayoutContent {
9
9
  colorPalette?: ColorPalette;
10
10
  version?: BlockVersion;
11
- align?: AlignType;
11
+ align?: AlignTypeWithStretch;
12
12
  gap?: GapVersion;
13
13
  /** @title Внутренний отступ компоновщика */
14
14
  isPadding?: boolean;
@@ -7,3 +7,13 @@
7
7
  * ]
8
8
  */
9
9
  export declare type AlignType = 'left' | 'center' | 'right';
10
+ /**
11
+ * @title Выравнивание
12
+ * @enumNames [
13
+ * "Во всю ширину",
14
+ * "По левому краю",
15
+ * "По центру",
16
+ * "По правому краю"
17
+ * ]
18
+ */
19
+ export declare type AlignTypeWithStretch = 'stretch' | 'left' | 'center' | 'right';
@@ -1,3 +1,4 @@
1
1
  import type { Router } from '../../hooks/useRouter';
2
- import { TopMenuItem } from './SitemapProps';
3
- export declare const isTopItemActive: (router: Router) => (topItem: TopMenuItem) => boolean;
2
+ export declare const isTopItemActive: (router: Router) => ({ href }: {
3
+ href?: string | undefined;
4
+ }) => boolean;
@@ -9,4 +9,5 @@ export interface BlockRendererOptions {
9
9
  parent?: Slot;
10
10
  ancestors?: BlockAncestors;
11
11
  className?: string;
12
+ extraProps?: Record<string, any>;
12
13
  }
@@ -6,7 +6,7 @@ const defaultBlockDecorator_1 = require("./defaultBlockDecorator");
6
6
  const DEFAULT_ANCESTORS = [];
7
7
  const defaultStyle = 'col-span-12';
8
8
  function renderBlock(block, options) {
9
- const { key, blockDecorator = defaultBlockDecorator_1.defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', } = options;
9
+ const { key, blockDecorator = defaultBlockDecorator_1.defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', extraProps = {}, } = options;
10
10
  const { type } = block;
11
11
  if (!(type && type in blocksRegistry)) {
12
12
  console.warn(`No block with "${type}" is registered`);
@@ -20,7 +20,7 @@ function renderBlock(block, options) {
20
20
  // Adjusted by decorator block and blockClassName
21
21
  render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
22
22
  const { content } = adjustedBlock;
23
- return BlockComponent ? ((0, jsx_runtime_1.jsx)(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content }, key)) : null;
23
+ return BlockComponent ? ((0, jsx_runtime_1.jsx)(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content, ...extraProps }, key)) : null;
24
24
  },
25
25
  }, key);
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../src/BlockRenderer/renderBlock.tsx"],"names":[],"mappings":";;;AAEA,0CAAuC;AAEvC,mEAAgE;AAEhE,MAAM,iBAAiB,GAAmB,EAAE,CAAC;AAE7C,MAAM,YAAY,GAAG,aAAa,CAAC;AAEnC,SAAgB,WAAW,CAAC,KAAe,EAAE,OAA6B;IACxE,MAAM,EACJ,GAAG,EACH,cAAc,GAAG,6CAAqB,EACtC,cAAc,GAAG,EAAE,EACnB,SAAS,GAAG,iBAAiB,EAC7B,SAAS,GAAG,EAAE,GACf,GAAG,OAAO,CAAC;IACZ,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEvB,IAAI,CAA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AI,CAAC,CAAC,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,EAAE;QACrC,OAAO,CAAC,IAAI,CAAC,kBAAkB,IAAI,iBAAiB,CAAC,CAAC;KACvD;IAED,MAAM,cAAc,GAAG,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAEpD,OAAO,cAAc,CACnB;QACE,cAAc,EAAE,IAAA,aAAK,EACnB,cAAc,EAAE,4BAA4B;QAC5C,SAAS,EACT,KAAK,CAAC,KAAK,IAAI,YAAY,CAC5B;QACD,KAAK;QACL,SAAS;QACT,iDAAiD;QACjD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,EAAE,EAAE;YAC3E,MAAM,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC;YAElC,OAAO,cAAc,CAAC,CAAC,CAAC,CACtB,uBAAC,cAAc,IAEb,SAAS,EAAE,sBAAsB,EACjC,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,KACZ,OAAO,KACP,UAAU,IALT,GAAG,CAMR,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;KACF,EACD,GAAG,CACJ,CAAC;AACJ,CAAC;AA5CD,kCA4CC"}
@@ -4,6 +4,6 @@ import type { VNode } from '../model/VNode';
4
4
  import type { BlockRendererOptions } from './BlockRendererOptions';
5
5
  export interface BlocksListRendererProps extends BlockRendererOptions {
6
6
  slotName?: SlotName;
7
- renderChild?: (block: BlockDef, options: BlockRendererOptions) => VNode;
7
+ renderProps?: (block: BlockDef, options: BlockRendererOptions) => VNode;
8
8
  }
9
- export declare const renderBlocksList: (blocks: BlockDef[] | undefined, { key, ancestors, slotName, renderChild, ...options }: BlocksListRendererProps) => VNode[];
9
+ export declare const renderBlocksList: (blocks: BlockDef[] | undefined, { key, ancestors, slotName, renderProps, ...options }: BlocksListRendererProps) => VNode[];
@@ -3,7 +3,7 @@ exports.renderBlocksList = void 0;
3
3
  const BlockDecorator_1 = require("../model/BlockDecorator");
4
4
  const renderBlock_1 = require("./renderBlock");
5
5
  const EMPTY_ANCESTORS = [];
6
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = BlockDecorator_1.DEFAULT_SLOT_NAME, renderChild = renderBlock_1.renderBlock, ...options }) => (blocks || []).map((_, j) => renderChild(_, {
6
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = BlockDecorator_1.DEFAULT_SLOT_NAME, renderProps = renderBlock_1.renderBlock, ...options }) => (blocks || []).map((_, j) => renderProps(_, {
7
7
  ...options,
8
8
  key: `${key ? key : _.type}-${j}`,
9
9
  ancestors: options.parent
@@ -4,7 +4,7 @@ import type { VNode } from '../model/VNode';
4
4
  import type { BlockRendererOptions } from './BlockRendererOptions';
5
5
  interface ChildrenRendererProps extends UniBlockProps {
6
6
  children?: VNode;
7
- renderChild?: (block: BlockDef, options: BlockRendererOptions) => VNode;
7
+ renderProps?: (block: BlockDef, options: BlockRendererOptions) => VNode;
8
8
  }
9
- export declare function renderChildren({ children, block, options, renderChild, }: ChildrenRendererProps): VNode[] | null;
9
+ export declare function renderChildren({ children, block, options, renderProps, }: ChildrenRendererProps): VNode[] | null;
10
10
  export {};
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderChildren = void 0;
3
3
  const renderBlockList_1 = require("./renderBlockList");
4
- function renderChildren({ children, block, options, renderChild, }) {
4
+ function renderChildren({ children, block, options, renderProps, }) {
5
5
  if (children) {
6
6
  return children;
7
7
  }
8
8
  return block && options
9
- ? (0, renderBlockList_1.renderBlocksList)(block.blocks, { ...options, parent: block, renderChild })
9
+ ? (0, renderBlockList_1.renderBlocksList)(block.blocks, { ...options, parent: block, renderProps })
10
10
  : null;
11
11
  }
12
12
  exports.renderChildren = renderChildren;
@@ -6,6 +6,7 @@ export interface ProjectSettings {
6
6
  ASSIST_PROJECT_ID?: string;
7
7
  SITEMAP?: string;
8
8
  FOOTER?: string;
9
+ CHAT_BOT?: string;
9
10
  CDN?: string;
10
11
  BASE_PATH?: string;
11
12
  YANDEX_MAP_API_KEY?: string;
@@ -21,6 +22,7 @@ export declare const projectSettings: {
21
22
  readonly ASSIST_PROJECT_ID: string | undefined;
22
23
  readonly SITEMAP: string | undefined;
23
24
  readonly FOOTER: string | undefined;
25
+ readonly CHAT_BOT: string | undefined;
24
26
  readonly CDN: string | undefined;
25
27
  readonly BASE_PATH: string | undefined;
26
28
  readonly YANDEX_MAP_API_KEY: string | undefined;
@@ -27,6 +27,9 @@ exports.projectSettings = new (class {
27
27
  get FOOTER() {
28
28
  return this._.FOOTER;
29
29
  }
30
+ get CHAT_BOT() {
31
+ return this._.CHAT_BOT;
32
+ }
30
33
  get CDN() {
31
34
  return appendSlash(this._.CDN);
32
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAcA,MAAM,wBAAwB,GAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAE/D,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB,wBAAwB,CAAC;IAE9C,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,IAAI,wBAAwB,CAAC,WAAW,CAAC;IACpE,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CA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AAW,IAAI,wBAAwB,CAAC,WAAW,CAAC;IACpE,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACvB,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;IACD,IAAI,SAAS;QACX,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACvC,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC;AAEL,MAAM,WAAW,GAAG,CAAC,GAAuB,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC"}
@@ -14,19 +14,18 @@ const Carousel_1 = require("./Carousel/Carousel");
14
14
  const CarouselBankHistoryCard_1 = require("./CarouselBankHistoryCard/CarouselBankHistoryCard");
15
15
  const CarouselCard_1 = require("./CarouselCard/CarouselCard");
16
16
  const CarouselCatalogCard_1 = require("./CarouselCatalogCard/CarouselCatalogCard");
17
+ const CarouselEventCard_1 = require("./CarouselEventCard/CarouselEventCard");
17
18
  const CarouselInvestmentCard_1 = require("./CarouselInvestmentCard/CarouselInvestmentCard");
18
19
  const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
19
20
  const CarouselProductCard_1 = require("./CarouselProductCard/CarouselProductCard");
20
21
  const CarouselProgramsCard_1 = require("./CarouselProgramsCard/CarouselProgramsCard");
21
22
  const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
22
23
  const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
23
- const Catalog_1 = require("./Catalog/Catalog");
24
24
  const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
25
25
  const ContactsBlock_1 = require("./ContactsBlock/ContactsBlock");
26
26
  const ErrorBlock_1 = require("./ErrorBlock/ErrorBlock");
27
27
  const ExchangeRateTile_1 = require("./ExchangeRateTile/ExchangeRateTile");
28
28
  const Footer_1 = require("./Footer/Footer");
29
- const Gallery_1 = require("./Gallery/Gallery");
30
29
  const GracePeriod_1 = require("./GracePeriod/GracePeriod");
31
30
  const Header_1 = require("./Header/Header");
32
31
  const Headline_1 = require("./Headline/Headline");
@@ -35,7 +34,6 @@ const ImgBlock_1 = require("./ImgBlock/ImgBlock");
35
34
  const InsuranceAmountBlock_1 = require("./InsuranceAmountBlock/InsuranceAmountBlock");
36
35
  const InvestmentInfo_1 = require("./InvestmentInfo/InvestmentInfo");
37
36
  const LinkDocs_1 = require("./LinkDocs/LinkDocs");
38
- const MiniGallery_1 = require("./MiniGallery/MiniGallery");
39
37
  const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
40
38
  const OfficeMap_1 = require("./OfficeMap/OfficeMap");
41
39
  const OfficeServicesBlock_1 = require("./OfficeServicesBlock/OfficeServicesBlock");
@@ -75,19 +73,18 @@ exports.Blocks = {
75
73
  CarouselBankHistoryCard: CarouselBankHistoryCard_1.CarouselBankHistoryCard,
76
74
  CarouselCard: CarouselCard_1.CarouselCard,
77
75
  CarouselCatalogCard: CarouselCatalogCard_1.CarouselCatalogCard,
76
+ CarouselEventCard: CarouselEventCard_1.CarouselEventCard,
78
77
  CarouselInvestmentCard: CarouselInvestmentCard_1.CarouselInvestmentCard,
79
78
  CarouselLinks: CarouselLinks_1.CarouselLinks,
80
79
  CarouselProductCard: CarouselProductCard_1.CarouselProductCard,
81
80
  CarouselProgramsCard: CarouselProgramsCard_1.CarouselProgramsCard,
82
81
  CarouselRecommendationCard: CarouselRecommendationCard_1.CarouselRecommendationCard,
83
82
  CarouselTariffsCard: CarouselTariffsCard_1.CarouselTariffsCard,
84
- Catalog: Catalog_1.Catalog,
85
83
  ComparisonTable: ComparisonTable_1.ComparisonTable,
86
84
  ContactsBlock: ContactsBlock_1.ContactsBlock,
87
85
  ErrorBlock: ErrorBlock_1.ErrorBlock,
88
86
  ExchangeRateTile: ExchangeRateTile_1.ExchangeRateTile,
89
87
  Footer: Footer_1.Footer,
90
- Gallery: Gallery_1.Gallery,
91
88
  GracePeriod: GracePeriod_1.GracePeriod,
92
89
  Header: Header_1.Header,
93
90
  Headline: Headline_1.Headline,
@@ -96,7 +93,6 @@ exports.Blocks = {
96
93
  InsuranceAmountBlock: InsuranceAmountBlock_1.InsuranceAmountBlock,
97
94
  InvestmentInfo: InvestmentInfo_1.InvestmentInfo,
98
95
  LinkDocs: LinkDocs_1.LinkDocs,
99
- MiniGallery: MiniGallery_1.MiniGallery,
100
96
  MobileAppTile: MobileAppTile_1.MobileAppTile,
101
97
  OfficeMap: OfficeMap_1.OfficeMap,
102
98
  OfficeServicesBlock: OfficeServicesBlock_1.OfficeServicesBlock,
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,2DAAwD;AACxD,wDAAqD;AACrD,8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B,sBAAsB,EAAtB,+CAAsB;IACtB,aAAa,EAAb,6BAAa;IACb,mBAAmB,EAAnB,yCAAmB;IACnB,oBAAoB,EAApB,2CAAoB;IACpB,0BAA0B,EAA1B,uDAA0B;IAC1B,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,gBAAgB,EAAhB,mCAAgB;IAChB,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;IACd,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,cAAc,EAAd,+BAAc;IACd,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,qBAAqB,EAArB,6CAAqB;IACrB,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,cAAc,EAAd,+BAAc;IACd,KAAK,EAAL,aAAK;CACN,CAAC"}
@@ -4,7 +4,6 @@ const Accordion_1 = require("./Accordion/Accordion");
4
4
  const AccordionItem_1 = require("./AccordionItem/AccordionItem");
5
5
  const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
6
6
  const Footer_1 = require("./Footer/Footer");
7
- const Gallery_1 = require("./Gallery/Gallery");
8
7
  const Header_1 = require("./Header/Header");
9
8
  const Headline_1 = require("./Headline/Headline");
10
9
  const LinkDocs_1 = require("./LinkDocs/LinkDocs");
@@ -20,7 +19,6 @@ exports.Blocks = {
20
19
  AccordionItem: AccordionItem_1.AccordionItem,
21
20
  ComparisonTable: ComparisonTable_1.ComparisonTable,
22
21
  Footer: Footer_1.Footer,
23
- Gallery: Gallery_1.Gallery,
24
22
  Header: Header_1.Header,
25
23
  Headline: Headline_1.Headline,
26
24
  LinkDocs: LinkDocs_1.LinkDocs,
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,uEAAoE;AACpE,4CAAyC;AACzC,+CAA4C;AAC5C,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAErC,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;CACZ,CAAC"}
1
+ {"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAErC,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;CACZ,CAAC"}
@@ -10,7 +10,7 @@ const useSwipeListScroll_1 = require("../../ui-kit/SwipeListControl/useSwipeList
10
10
  const style_1 = require("../../utils/style");
11
11
  const CarouselScrollButtons_1 = require("./CarouselScrollButtons");
12
12
  const ITEMS_GAP = 4;
13
- exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, ...rest }) => {
13
+ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, options, ...rest }) => {
14
14
  const { blocks: childBlocks } = rest.block || {};
15
15
  const count = itemCount || childBlocks?.length || 0;
16
16
  const [activeIndex, setActiveIndex] = (0, hooks_1.useState)(Math.floor((visibleItemCount || 0) / 2));
@@ -24,9 +24,15 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
24
24
  return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
25
25
  ? (0, renderChildren_1.renderChildren)({
26
26
  ...rest,
27
- block: { ...rest.block, blocks: buildBlocks(childBlocks, activeIndex) },
27
+ options: {
28
+ ...options,
29
+ extraProps: {
30
+ blocksLength: childBlocks?.length,
31
+ activeIndex: activeIndex,
32
+ },
33
+ },
28
34
  })
29
- : (0, renderChildren_1.renderChildren)(rest) }), (0, jsx_runtime_1.jsx)(CarouselScrollButtons_1.CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }) }));
35
+ : (0, renderChildren_1.renderChildren)({ ...rest, options }) }), (0, jsx_runtime_1.jsx)(CarouselScrollButtons_1.CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }) }));
30
36
  });
31
37
  exports.Carousel.childrenTypes = [
32
38
  'CarouselCard',
@@ -38,21 +44,7 @@ exports.Carousel.childrenTypes = [
38
44
  'CarouselRecommendationCard',
39
45
  'CarouselTariffsCard',
40
46
  'CarouselInvestmentCard',
47
+ 'CarouselEventCard',
41
48
  ];
42
- const buildBlocks = (blocks, activeIndex) => {
43
- return blocks && blocks[0]?.type === 'CarouselBankHistoryCard'
44
- ? blocks.map((_, i) => {
45
- return {
46
- ..._,
47
- content: {
48
- ..._.content,
49
- orderNumber: i,
50
- isActive: activeIndex === i,
51
- blocksLength: blocks.length,
52
- },
53
- };
54
- })
55
- : blocks;
56
- };
57
49
  const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
58
50
  //# sourceMappingURL=Carousel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,uEAAoE;AAGpE,4DAAyD;AACzD,yFAAsF;AACtF,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;AAMhE,MAAM,SAAS,GAAG,CAAC,CAAC;AAEP,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,IAAI,EACnB,SAAS,GAAG,IAAI,EAChB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;IAEpD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAS,IAAI,CAAC,KAAK,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAEhG,MAAM,mBAAmB,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAChF,MAAM,mBAAmB,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,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BACF,CAAC;wBACJ,CAAC,CAAC,IAAA,+BAAc,EAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACrB,EACrB,uBAAC,6CAAqB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
3
3
  interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {
4
- isActive?: boolean;
5
- orderNumber?: number;
6
4
  blocksLength?: number;
5
+ activeIndex?: number;
7
6
  }
8
7
  export declare const CarouselBankHistoryCard: import("@redneckz/uni-jsx").UNIComponent<CarouselBankHistoryCardProps, any, any>;
9
8
  export {};
@@ -5,7 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const style_1 = require("../../utils/style");
7
7
  const Headline_1 = require("../Headline/Headline");
8
- exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, isActive, orderNumber = 0, blocksLength = 0 }) => {
8
+ exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, blocksLength = 0, activeIndex, options, ...rest }) => {
9
+ const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
10
+ const isActive = orderNumber === activeIndex;
9
11
  return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: "flex h-[485px]", children: isActive ? ((0, jsx_runtime_1.jsx)("div", { className: "relative flex items-center w-full", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: (0, style_1.style)('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : ((0, jsx_runtime_1.jsx)("div", { className: "flex w-full items-center justify-center", children: (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: (0, jsx_runtime_1.jsx)("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
10
12
  });
11
13
  const getBackgroundColor = (orderNumber) => {
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,mDAAgD;AASnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,GAAG,CAAC,EAAE,YAAY,GAAG,CAAC,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAC,gBAAgB,YACrC,QAAQ,CAAC,CAAC,CAAC,CACV,gCAAK,SAAS,EAAC,mCAAmC,YAChD,uBAAC,mBAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,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AE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,mDAAgD;AAQnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAC,gBAAgB,YACrC,QAAQ,CAAC,CAAC,CAAC,CACV,gCAAK,SAAS,EAAC,mCAAmC,YAChD,uBAAC,mBAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,IAAA,aAAK,EACd,+DAA+D,EAC/D,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,EACjD,kBAAkB,CAAC,WAAW,CAAC,CAChC,GACD,GACE,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,yCAAyC,YACtD,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sGAAsG,EACtG,kBAAkB,CAAC,WAAW,CAAC,CAChC,YAED,iCAAM,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,YAAG,KAAK,GAAQ,GACtD,GACF,CACP,GACY,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACjD,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAC3B,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC;QAC1B,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAE3B;YACE,OAAO,iBAAiB,CAAC;KAC5B;AACH,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC3C,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QACzC,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QAEzC;YACE,OAAO,8BAA8B,CAAC;KACzC;AACH,CAAC,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,YAAoB,EAAE,EAAE;IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
@@ -7,7 +7,7 @@ const Headline_1 = require("../Headline/Headline");
7
7
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
8
8
  const CARD_WIDTH_MAP = {
9
9
  normal: 'min-w-[970px]',
10
- mini: 'min-w-[355px]',
10
+ small: 'min-w-[355px]',
11
11
  };
12
12
  exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, carouselVersion = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 border-box h-full ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), (0, renderButtonsSection_1.renderButtonsSection)([button], { className: 'mt-14' })] })] }) })));
13
13
  //# sourceMappingURL=CarouselCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,mFAAgF;AAChF,mDAAgD;AAKhD,MAAM,aAAa,GAAG,wDAAwD,CAAC;AAE/E,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,eAAe;IACvB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9E,oCACE,SAAS,EAAE,qCAAqC,cAAc,CAAC,eAAe,CAAC,IAAI,SAAS,EAAE,YAE9F,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,2EAA2E,aACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,GACjB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,IACnD,IACF,GACE,CACX,CACF,CAAC"}
1
+ {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mFAAgF;AAChF,mDAAgD;AAOhD,MAAM,aAAa,GAAG,wDAAwD,CAAC;AAE/E,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,eAAe;CACvB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9E,oCACE,SAAS,EAAE,qCAAqC,cAAc,CAAC,eAAe,CAAC,IAAI,SAAS,EAAE,YAE9F,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,2EAA2E,aACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,GACjB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,IACnD,IACF,GACE,CACX,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  /**
@@ -13,5 +13,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
13
13
  * }
14
14
  */
15
15
  button?: ButtonWithIconProps;
16
- carouselVersion?: CarouselCardVersion;
16
+ carouselVersion?: SizeVersion;
17
17
  }
@@ -1,3 +1,3 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
2
- export declare const cardStyleMap: Record<CarouselCardVersion, string>;
3
- export declare const cardWidthMap: Record<CarouselCardVersion, string>;
1
+ import type { SizeVersion } from '../../model/SizeVersion';
2
+ export declare const cardStyleMap: Record<SizeVersion, string>;
3
+ export declare const cardWidthMap: Record<SizeVersion, string>;
@@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.cardWidthMap = exports.cardStyleMap = void 0;
3
3
  exports.cardStyleMap = {
4
4
  normal: 'min-w-[100%] justify-center items-center m-7 col-span-12',
5
- mini: 'min-w-auto justify-center items-center m-9 col-span-4',
5
+ small: 'min-w-auto justify-center items-center m-9 col-span-4',
6
6
  };
7
7
  exports.cardWidthMap = {
8
8
  normal: 'w-[1007px]',
9
- mini: 'w-[350px]',
9
+ small: 'w-[350px]',
10
10
  };
11
11
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,GAAwC;IAC/D,MAAM,EAAE,0DAA0D;IAClE,IAAI,EAAE,uDAAuD;CAC9D,CAAC;AAEW,QAAA,YAAY,GAAwC;IAC/D,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,WAAW;CAClB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,uDAAuD;CAC/D,CAAC;AAEW,QAAA,YAAY,GAAgC;IACvD,MAAM,EAAE,YAAY;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
+ export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
+ }
5
+ export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.CarouselEventCard = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
7
+ const Img_1 = require("../../ui-kit/Img/Img");
8
+ const Text_1 = require("../../ui-kit/Text/Text");
9
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
10
+ const style_1 = require("../../utils/style");
11
+ exports.CarouselEventCard = (0, uni_jsx_1.JSX)(({ className = '', icon, title, description, href, target, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col w-[365px]', className), ...rest, children: (0, jsx_runtime_1.jsxs)("a", { href: href, target: target, role: "link", children: [icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(icon), asSVG: true }) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", as: "h4", className: "text-left mb-2", title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-4", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { font: "font-light", size: "text-s", color: "text-secondary-text", children: description }) })) : null] }) })));
12
+ //# sourceMappingURL=CarouselEventCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,uEAAoE;AACpE,6CAA0C;AAM7B,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvE,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,yBAAyB,EAAE,SAAS,CAAC,KAAM,IAAI,YAC5E,+BAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,aACvC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EAClE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACvC,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,KAAK,GAAI,CAC9E,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,WAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC9D,WAAW,GACP,GACH,CACP,CAAC,CAAC,CAAC,IAAI,IACN,GACS,CAChB,CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { LinkCommonProps } from '../../model/LinkProps';
3
+ import type { Picture } from '../../model/Picture';
4
+ /**
5
+ * @title Карточка мероприятия в карусели
6
+ */
7
+ export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
8
+ icon?: Picture;
9
+ };