@redneckz/wildless-cms-uni-blocks 0.6.33 → 0.6.34

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 (1058) hide show
  1. package/bin/migration-scripts/0.6.34.js +51 -0
  2. package/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  3. package/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  4. package/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
  5. package/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
  6. package/bundle/BlockRenderer/renderBlock.d.ts +3 -0
  7. package/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
  8. package/bundle/BlockRenderer/renderChildren.d.ts +10 -0
  9. package/bundle/blocks.schema.json +1 -1
  10. package/bundle/bundle.umd.js +365 -385
  11. package/bundle/bundle.umd.min.js +1 -1
  12. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  13. package/bundle/components/Carousel/Carousel.d.ts +1 -0
  14. package/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
  15. package/bundle/components/Carousel/CarouselContent.d.ts +5 -8
  16. package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
  17. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  18. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  19. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  20. package/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
  21. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  22. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  23. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  24. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  25. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  26. package/bundle/components/Video/Video.d.ts +6 -0
  27. package/bundle/components/Video/VideoContent.d.ts +8 -0
  28. package/bundle/components/Video/getPaddings.d.ts +1 -0
  29. package/bundle/hooks/useCarouselControls.d.ts +5 -3
  30. package/bundle/model/JSXBlock.d.ts +4 -5
  31. package/bundle/model/LinkProps.d.ts +1 -0
  32. package/bundle/model/Picture.d.ts +8 -2
  33. package/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  34. package/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
  35. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  36. package/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  37. package/dist/BlockRenderer/BlockRendererOptions.js +2 -0
  38. package/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
  39. package/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  40. package/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
  41. package/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  42. package/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
  43. package/dist/{model → BlockRenderer}/getParentBlockContent.js +2 -2
  44. package/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
  45. package/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
  46. package/dist/BlockRenderer/getParentBlockDef.js +7 -0
  47. package/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
  48. package/dist/BlockRenderer/renderBlock.d.ts +3 -0
  49. package/dist/BlockRenderer/renderBlock.js +27 -0
  50. package/dist/BlockRenderer/renderBlock.js.map +1 -0
  51. package/dist/BlockRenderer/renderBlockList.d.ts +9 -0
  52. package/dist/BlockRenderer/renderBlockList.js +14 -0
  53. package/dist/BlockRenderer/renderBlockList.js.map +1 -0
  54. package/dist/BlockRenderer/renderChildren.d.ts +10 -0
  55. package/dist/BlockRenderer/renderChildren.js +13 -0
  56. package/dist/BlockRenderer/renderChildren.js.map +1 -0
  57. package/dist/components/Accordion/Accordion.js +2 -1
  58. package/dist/components/Accordion/Accordion.js.map +1 -1
  59. package/dist/components/Accordion/Accordion.mobile.js +2 -1
  60. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  61. package/dist/components/AccordionItem/AccordionItem.js +2 -1
  62. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  63. package/dist/components/AccordionItem/AccordionItem.mobile.js +5 -4
  64. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  65. package/dist/components/Blocks.js +3 -1
  66. package/dist/components/Blocks.js.map +1 -1
  67. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  68. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  69. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  70. package/dist/components/Calculator/Calculator.js +22 -22
  71. package/dist/components/Calculator/Calculator.js.map +1 -1
  72. package/dist/components/Calculator/CalculatorValueBlock.js +1 -3
  73. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  74. package/dist/components/CardTransfer/CardTransfer.js +2 -1
  75. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  76. package/dist/components/Carousel/Carousel.d.ts +1 -0
  77. package/dist/components/Carousel/Carousel.js +16 -14
  78. package/dist/components/Carousel/Carousel.js.map +1 -1
  79. package/dist/components/Carousel/CarouselContainer.d.ts +8 -5
  80. package/dist/components/Carousel/CarouselContainer.js +8 -5
  81. package/dist/components/Carousel/CarouselContainer.js.map +1 -1
  82. package/dist/components/Carousel/CarouselContent.d.ts +5 -8
  83. package/dist/components/Carousel/CarouselContent.js +0 -3
  84. package/dist/components/Carousel/CarouselContent.js.map +1 -1
  85. package/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
  86. package/dist/components/CarouselCard/CarouselCard.js +4 -11
  87. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  88. package/dist/components/CarouselLinks/CarouselLinks.js +7 -7
  89. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  90. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  91. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  92. package/dist/components/Catalog/Catalog.js +8 -11
  93. package/dist/components/Catalog/Catalog.js.map +1 -1
  94. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
  95. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  96. package/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
  97. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  98. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  99. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  100. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  101. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  102. package/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
  103. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  104. package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  105. package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  106. package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  107. package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  108. package/dist/components/ComparisonTable/TableRow.js +1 -1
  109. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  110. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  111. package/dist/components/ComparisonTable/constants.js +1 -1
  112. package/dist/components/ContactsBlock/ContactsBlock.js +1 -3
  113. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  114. package/dist/components/ContentPage/ContentPage.js +13 -7
  115. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  116. package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
  117. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  118. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
  119. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  120. package/dist/components/Footer/Footer.js +1 -1
  121. package/dist/components/Footer/Footer.js.map +1 -1
  122. package/dist/components/Footer/Footer.mobile.js +2 -2
  123. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  124. package/dist/components/Gallery/GalleryCardInner.js +2 -4
  125. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  126. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  127. package/dist/components/Gallery/GalleryContainer.js +1 -3
  128. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  129. package/dist/components/Gallery/GalleryInner.js +9 -12
  130. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  131. package/dist/components/Header/Header.js +1 -1
  132. package/dist/components/Header/Header.js.map +1 -1
  133. package/dist/components/Header/Header.mobile.js +2 -3
  134. package/dist/components/Header/Header.mobile.js.map +1 -1
  135. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
  136. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  137. package/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
  138. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  139. package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
  140. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  141. package/dist/components/OtherProducts/OtherProducts.js +2 -1
  142. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  143. package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
  144. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  145. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  146. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  147. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  148. package/dist/components/Recommendation/Recommendation.js +11 -21
  149. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  150. package/dist/components/RollupItem/RollupItem.js +5 -3
  151. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  152. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  153. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  154. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  155. package/dist/components/TariffsTable/TariffsTable.js +12 -14
  156. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  157. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  158. package/dist/components/TariffsTable/TariffsTableRow.js +2 -2
  159. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  160. package/dist/components/VerticalLayout/VerticalLayout.js +3 -2
  161. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  162. package/dist/components/Video/Video.d.ts +6 -0
  163. package/dist/components/Video/Video.js +12 -0
  164. package/dist/components/Video/Video.js.map +1 -0
  165. package/dist/components/Video/VideoContent.d.ts +8 -0
  166. package/dist/components/Video/VideoContent.js +2 -0
  167. package/dist/components/Video/VideoContent.js.map +1 -0
  168. package/dist/components/Video/getPaddings.d.ts +1 -0
  169. package/dist/components/Video/getPaddings.js +7 -0
  170. package/dist/components/Video/getPaddings.js.map +1 -0
  171. package/dist/hooks/useCarouselControls.d.ts +5 -3
  172. package/dist/hooks/useCarouselControls.js +19 -8
  173. package/dist/hooks/useCarouselControls.js.map +1 -1
  174. package/dist/model/JSXBlock.d.ts +4 -5
  175. package/dist/model/LinkProps.d.ts +1 -0
  176. package/dist/model/Picture.d.ts +8 -2
  177. package/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  178. package/{mobile/dist/react → dist}/setup-fixture.js +4 -4
  179. package/dist/setup-fixture.js.map +1 -0
  180. package/dist/ui-kit/Button/renderArrows.d.ts +6 -4
  181. package/dist/ui-kit/Button/renderArrows.js +3 -2
  182. package/dist/ui-kit/Button/renderArrows.js.map +1 -1
  183. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  184. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  185. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
  186. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  187. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  188. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  189. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  190. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  191. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  192. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  193. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  194. package/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  195. package/lib/BlockRenderer/BlockRendererOptions.js +2 -0
  196. package/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
  197. package/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  198. package/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
  199. package/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  200. package/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
  201. package/lib/BlockRenderer/getParentBlockContent.js +6 -0
  202. package/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
  203. package/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
  204. package/lib/BlockRenderer/getParentBlockDef.js +4 -0
  205. package/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
  206. package/lib/BlockRenderer/renderBlock.d.ts +3 -0
  207. package/lib/BlockRenderer/renderBlock.js +24 -0
  208. package/lib/BlockRenderer/renderBlock.js.map +1 -0
  209. package/lib/BlockRenderer/renderBlockList.d.ts +9 -0
  210. package/lib/BlockRenderer/renderBlockList.js +11 -0
  211. package/lib/BlockRenderer/renderBlockList.js.map +1 -0
  212. package/lib/BlockRenderer/renderChildren.d.ts +10 -0
  213. package/lib/BlockRenderer/renderChildren.js +10 -0
  214. package/lib/BlockRenderer/renderChildren.js.map +1 -0
  215. package/lib/common.css +1 -1
  216. package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
  217. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +3 -2
  218. package/lib/components/Accordion/Accordion.js +2 -1
  219. package/lib/components/Accordion/Accordion.js.map +1 -1
  220. package/lib/components/Accordion/Accordion.mobile.js +2 -1
  221. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  222. package/lib/components/AccordionItem/AccordionItem.js +2 -1
  223. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  224. package/lib/components/AccordionItem/AccordionItem.mobile.js +5 -4
  225. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  226. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -1
  227. package/lib/components/Blocks.js +3 -1
  228. package/lib/components/Blocks.js.map +1 -1
  229. package/lib/components/Bonus/Bonus.fixture.d.ts +1 -1
  230. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
  231. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  232. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  233. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  234. package/lib/components/BusinessBlock/BusinessBlock.fixture.d.ts +1 -1
  235. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -1
  236. package/lib/components/Calculator/Calculator.js +23 -23
  237. package/lib/components/Calculator/Calculator.js.map +1 -1
  238. package/lib/components/Calculator/CalculatorValueBlock.js +1 -3
  239. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  240. package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -1
  241. package/lib/components/CardTransfer/CardTransfer.js +3 -2
  242. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  243. package/lib/components/Carousel/Carousel.d.ts +1 -0
  244. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
  245. package/lib/components/Carousel/Carousel.js +16 -14
  246. package/lib/components/Carousel/Carousel.js.map +1 -1
  247. package/lib/components/Carousel/CarouselContainer.d.ts +8 -5
  248. package/lib/components/Carousel/CarouselContainer.js +8 -5
  249. package/lib/components/Carousel/CarouselContainer.js.map +1 -1
  250. package/lib/components/Carousel/CarouselContent.d.ts +5 -8
  251. package/lib/components/Carousel/CarouselContent.js +0 -3
  252. package/lib/components/Carousel/CarouselContent.js.map +1 -1
  253. package/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
  254. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +2 -1
  255. package/lib/components/CarouselCard/CarouselCard.js +4 -11
  256. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  257. package/lib/components/CarouselLinks/CarouselLinks.js +7 -7
  258. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  259. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  260. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  261. package/lib/components/Catalog/Catalog.fixture.d.ts +1 -1
  262. package/lib/components/Catalog/Catalog.js +8 -11
  263. package/lib/components/Catalog/Catalog.js.map +1 -1
  264. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +2 -2
  265. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -1
  266. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
  267. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  268. package/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
  269. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  270. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  271. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  272. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  273. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  274. package/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
  275. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  276. package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  277. package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  278. package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  279. package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  280. package/lib/components/ComparisonTable/TableRow.js +1 -1
  281. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  282. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  283. package/lib/components/ComparisonTable/constants.js +1 -1
  284. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -1
  285. package/lib/components/ContactsBlock/ContactsBlock.js +1 -3
  286. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  287. package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -1
  288. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
  289. package/lib/components/ContentPage/ContentPage.js +13 -7
  290. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  291. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -1
  292. package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
  293. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  294. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
  295. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  296. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -1
  297. package/lib/components/Footer/Footer.fixture.d.ts +1 -1
  298. package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -1
  299. package/lib/components/Footer/Footer.js +1 -1
  300. package/lib/components/Footer/Footer.js.map +1 -1
  301. package/lib/components/Footer/Footer.mobile.js +2 -2
  302. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  303. package/lib/components/Gallery/Gallery.fixture.d.ts +1 -1
  304. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -1
  305. package/lib/components/Gallery/GalleryCardInner.js +2 -4
  306. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  307. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  308. package/lib/components/Gallery/GalleryContainer.js +1 -3
  309. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  310. package/lib/components/Gallery/GalleryInner.js +9 -12
  311. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  312. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -1
  313. package/lib/components/Header/Header.fixture.d.ts +1 -1
  314. package/lib/components/Header/Header.fixture.mobile.d.ts +1 -1
  315. package/lib/components/Header/Header.js +1 -1
  316. package/lib/components/Header/Header.js.map +1 -1
  317. package/lib/components/Header/Header.mobile.js +2 -3
  318. package/lib/components/Header/Header.mobile.js.map +1 -1
  319. package/lib/components/Headline/Headline.fixture.d.ts +1 -1
  320. package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -1
  321. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -1
  322. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
  323. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  324. package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -1
  325. package/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
  326. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  327. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -1
  328. package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -1
  329. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -1
  330. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -1
  331. package/lib/components/LinkList/LinkList.fixture.d.ts +1 -1
  332. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -1
  333. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -1
  334. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -1
  335. package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
  336. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  337. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -1
  338. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -1
  339. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +3 -2
  340. package/lib/components/OtherProducts/OtherProducts.js +2 -1
  341. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  342. package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
  343. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  344. package/lib/components/PictureText/PictureText.fixture.d.ts +1 -1
  345. package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -1
  346. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -1
  347. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +2 -1
  348. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -1
  349. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  350. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  351. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  352. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -1
  353. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -1
  354. package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -1
  355. package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -1
  356. package/lib/components/Recommendation/Recommendation.js +11 -21
  357. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  358. package/lib/components/RollupItem/RollupItem.js +5 -3
  359. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  360. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -1
  361. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  362. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -1
  363. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -1
  364. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  365. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  366. package/lib/components/Tabs/Tabs.fixture.d.ts +1 -1
  367. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -1
  368. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -1
  369. package/lib/components/TariffsTable/TariffsTable.js +12 -14
  370. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  371. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  372. package/lib/components/TariffsTable/TariffsTableRow.js +2 -2
  373. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  374. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
  375. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -1
  376. package/lib/components/Tile/Tile.fixture.d.ts +1 -1
  377. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
  378. package/lib/components/VerticalLayout/VerticalLayout.js +3 -2
  379. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  380. package/lib/components/Video/Video.d.ts +6 -0
  381. package/lib/components/Video/Video.fixture.d.ts +8 -0
  382. package/lib/components/Video/Video.js +10 -0
  383. package/lib/components/Video/Video.js.map +1 -0
  384. package/lib/components/Video/VideoContent.d.ts +8 -0
  385. package/lib/components/Video/VideoContent.js +2 -0
  386. package/lib/components/Video/VideoContent.js.map +1 -0
  387. package/lib/components/Video/getPaddings.d.ts +1 -0
  388. package/lib/components/Video/getPaddings.js +4 -0
  389. package/lib/components/Video/getPaddings.js.map +1 -0
  390. package/lib/hooks/useCarouselControls.d.ts +5 -3
  391. package/lib/hooks/useCarouselControls.js +19 -8
  392. package/lib/hooks/useCarouselControls.js.map +1 -1
  393. package/lib/model/JSXBlock.d.ts +4 -5
  394. package/lib/model/LinkProps.d.ts +1 -0
  395. package/lib/model/Picture.d.ts +8 -2
  396. package/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  397. package/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
  398. package/lib/setup-fixture.js.map +1 -0
  399. package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
  400. package/lib/ui-kit/Button/renderArrows.d.ts +6 -4
  401. package/lib/ui-kit/Button/renderArrows.js +3 -2
  402. package/lib/ui-kit/Button/renderArrows.js.map +1 -1
  403. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
  404. package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
  405. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  406. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  407. package/lib/ui-kit/List/List.fixture.d.ts +1 -1
  408. package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
  409. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -1
  410. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -1
  411. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
  412. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  413. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  414. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  415. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  416. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  417. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  418. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  419. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  420. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
  421. package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  422. package/mobile/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  423. package/mobile/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
  424. package/mobile/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
  425. package/mobile/bundle/BlockRenderer/renderBlock.d.ts +3 -0
  426. package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
  427. package/mobile/bundle/BlockRenderer/renderChildren.d.ts +10 -0
  428. package/mobile/bundle/bundle.umd.js +89 -86
  429. package/mobile/bundle/bundle.umd.min.js +1 -1
  430. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  431. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -0
  432. package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
  433. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +5 -8
  434. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
  435. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  436. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  437. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  438. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
  439. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  440. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  441. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  442. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  443. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  444. package/mobile/bundle/components/Video/Video.d.ts +6 -0
  445. package/mobile/bundle/components/Video/VideoContent.d.ts +8 -0
  446. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -0
  447. package/mobile/bundle/hooks/useCarouselControls.d.ts +5 -3
  448. package/mobile/bundle/model/JSXBlock.d.ts +4 -5
  449. package/mobile/bundle/model/LinkProps.d.ts +1 -0
  450. package/mobile/bundle/model/Picture.d.ts +8 -2
  451. package/mobile/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  452. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
  453. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  454. package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  455. package/mobile/dist/BlockRenderer/BlockRendererOptions.js +2 -0
  456. package/mobile/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
  457. package/mobile/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  458. package/mobile/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
  459. package/mobile/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  460. package/mobile/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
  461. package/mobile/dist/{model → BlockRenderer}/getParentBlockContent.js +2 -2
  462. package/mobile/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
  463. package/mobile/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
  464. package/mobile/dist/BlockRenderer/getParentBlockDef.js +7 -0
  465. package/mobile/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
  466. package/mobile/dist/BlockRenderer/renderBlock.d.ts +3 -0
  467. package/mobile/dist/BlockRenderer/renderBlock.js +27 -0
  468. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -0
  469. package/mobile/dist/BlockRenderer/renderBlockList.d.ts +9 -0
  470. package/mobile/dist/BlockRenderer/renderBlockList.js +14 -0
  471. package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -0
  472. package/mobile/dist/BlockRenderer/renderChildren.d.ts +10 -0
  473. package/mobile/dist/BlockRenderer/renderChildren.js +13 -0
  474. package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -0
  475. package/mobile/dist/components/Accordion/Accordion.js +2 -1
  476. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  477. package/mobile/dist/components/AccordionItem/AccordionItem.js +5 -4
  478. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  479. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  480. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  481. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  482. package/mobile/dist/components/Calculator/Calculator.js +22 -22
  483. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  484. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -3
  485. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  486. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -1
  487. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  488. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -0
  489. package/mobile/dist/components/Carousel/Carousel.js +16 -14
  490. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  491. package/mobile/dist/components/Carousel/CarouselContainer.d.ts +8 -5
  492. package/mobile/dist/components/Carousel/CarouselContainer.js +8 -5
  493. package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
  494. package/mobile/dist/components/Carousel/CarouselContent.d.ts +5 -8
  495. package/mobile/dist/components/Carousel/CarouselContent.js +0 -3
  496. package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
  497. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
  498. package/mobile/dist/components/CarouselCard/CarouselCard.js +4 -11
  499. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  500. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -7
  501. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  502. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  503. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  504. package/mobile/dist/components/Catalog/Catalog.js +8 -11
  505. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  506. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  507. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  508. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
  509. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  510. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  511. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  512. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  513. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  514. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
  515. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  516. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  517. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  518. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  519. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  520. package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
  521. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  522. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  523. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  524. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -3
  525. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  526. package/mobile/dist/components/ContentPage/ContentPage.js +13 -7
  527. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  528. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
  529. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  530. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
  531. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  532. package/mobile/dist/components/Footer/Footer.js +2 -2
  533. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  534. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
  535. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  536. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  537. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -3
  538. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  539. package/mobile/dist/components/Gallery/GalleryInner.js +9 -12
  540. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  541. package/mobile/dist/components/Header/Header.js +2 -3
  542. package/mobile/dist/components/Header/Header.js.map +1 -1
  543. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
  544. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  545. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
  546. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  547. package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -1
  548. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  549. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
  550. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  551. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  552. package/mobile/dist/components/Recommendation/Recommendation.js +11 -21
  553. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  554. package/mobile/dist/components/RollupItem/RollupItem.js +5 -3
  555. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  556. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  557. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  558. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -2
  559. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  560. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -2
  561. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  562. package/mobile/dist/components/Video/Video.d.ts +6 -0
  563. package/mobile/dist/components/Video/Video.js +12 -0
  564. package/mobile/dist/components/Video/Video.js.map +1 -0
  565. package/mobile/dist/components/Video/VideoContent.d.ts +8 -0
  566. package/mobile/dist/components/Video/VideoContent.js +2 -0
  567. package/mobile/dist/components/Video/VideoContent.js.map +1 -0
  568. package/mobile/dist/components/Video/getPaddings.d.ts +1 -0
  569. package/mobile/dist/components/Video/getPaddings.js +7 -0
  570. package/mobile/dist/components/Video/getPaddings.js.map +1 -0
  571. package/mobile/dist/hooks/useCarouselControls.d.ts +5 -3
  572. package/mobile/dist/hooks/useCarouselControls.js +19 -8
  573. package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
  574. package/mobile/dist/model/JSXBlock.d.ts +4 -5
  575. package/mobile/dist/model/LinkProps.d.ts +1 -0
  576. package/mobile/dist/model/Picture.d.ts +8 -2
  577. package/mobile/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  578. package/{dist/react → mobile/dist}/setup-fixture.js +4 -4
  579. package/mobile/dist/setup-fixture.js.map +1 -0
  580. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +6 -4
  581. package/mobile/dist/ui-kit/Button/renderArrows.js +3 -2
  582. package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -1
  583. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  584. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  585. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
  586. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  587. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  588. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  589. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  590. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  591. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  592. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  593. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  594. package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  595. package/mobile/lib/BlockRenderer/BlockRendererOptions.js +2 -0
  596. package/mobile/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
  597. package/mobile/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  598. package/mobile/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
  599. package/mobile/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  600. package/mobile/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
  601. package/mobile/lib/BlockRenderer/getParentBlockContent.js +6 -0
  602. package/mobile/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
  603. package/mobile/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
  604. package/mobile/lib/BlockRenderer/getParentBlockDef.js +4 -0
  605. package/mobile/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
  606. package/mobile/lib/BlockRenderer/renderBlock.d.ts +3 -0
  607. package/mobile/lib/BlockRenderer/renderBlock.js +24 -0
  608. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -0
  609. package/mobile/lib/BlockRenderer/renderBlockList.d.ts +9 -0
  610. package/mobile/lib/BlockRenderer/renderBlockList.js +11 -0
  611. package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -0
  612. package/mobile/lib/BlockRenderer/renderChildren.d.ts +10 -0
  613. package/mobile/lib/BlockRenderer/renderChildren.js +10 -0
  614. package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -0
  615. package/mobile/lib/components/Accordion/Accordion.js +2 -1
  616. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  617. package/mobile/lib/components/AccordionItem/AccordionItem.js +5 -4
  618. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  619. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  620. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  621. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  622. package/mobile/lib/components/Calculator/Calculator.js +23 -23
  623. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  624. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -3
  625. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  626. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
  627. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  628. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -0
  629. package/mobile/lib/components/Carousel/Carousel.js +16 -14
  630. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  631. package/mobile/lib/components/Carousel/CarouselContainer.d.ts +8 -5
  632. package/mobile/lib/components/Carousel/CarouselContainer.js +8 -5
  633. package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
  634. package/mobile/lib/components/Carousel/CarouselContent.d.ts +5 -8
  635. package/mobile/lib/components/Carousel/CarouselContent.js +0 -3
  636. package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
  637. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
  638. package/mobile/lib/components/CarouselCard/CarouselCard.js +4 -11
  639. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  640. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -7
  641. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  642. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  643. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  644. package/mobile/lib/components/Catalog/Catalog.js +8 -11
  645. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  646. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  647. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  648. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
  649. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  650. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  651. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  652. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  653. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  654. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
  655. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  656. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  657. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  658. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  659. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  660. package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
  661. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  662. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  663. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  664. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -3
  665. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  666. package/mobile/lib/components/ContentPage/ContentPage.js +13 -7
  667. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  668. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
  669. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  670. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
  671. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  672. package/mobile/lib/components/Footer/Footer.js +2 -2
  673. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  674. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
  675. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  676. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  677. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -3
  678. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  679. package/mobile/lib/components/Gallery/GalleryInner.js +9 -12
  680. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  681. package/mobile/lib/components/Header/Header.js +2 -3
  682. package/mobile/lib/components/Header/Header.js.map +1 -1
  683. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
  684. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  685. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
  686. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  687. package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -1
  688. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  689. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
  690. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  691. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  692. package/mobile/lib/components/Recommendation/Recommendation.js +11 -21
  693. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  694. package/mobile/lib/components/RollupItem/RollupItem.js +5 -3
  695. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  696. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  697. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  698. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -2
  699. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  700. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -2
  701. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  702. package/mobile/lib/components/Video/Video.d.ts +6 -0
  703. package/mobile/lib/components/Video/Video.js +10 -0
  704. package/mobile/lib/components/Video/Video.js.map +1 -0
  705. package/mobile/lib/components/Video/VideoContent.d.ts +8 -0
  706. package/mobile/lib/components/Video/VideoContent.js +2 -0
  707. package/mobile/lib/components/Video/VideoContent.js.map +1 -0
  708. package/mobile/lib/components/Video/getPaddings.d.ts +1 -0
  709. package/mobile/lib/components/Video/getPaddings.js +4 -0
  710. package/mobile/lib/components/Video/getPaddings.js.map +1 -0
  711. package/mobile/lib/hooks/useCarouselControls.d.ts +5 -3
  712. package/mobile/lib/hooks/useCarouselControls.js +19 -8
  713. package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
  714. package/mobile/lib/model/JSXBlock.d.ts +4 -5
  715. package/mobile/lib/model/LinkProps.d.ts +1 -0
  716. package/mobile/lib/model/Picture.d.ts +8 -2
  717. package/mobile/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  718. package/mobile/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
  719. package/mobile/lib/setup-fixture.js.map +1 -0
  720. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +6 -4
  721. package/mobile/lib/ui-kit/Button/renderArrows.js +3 -2
  722. package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -1
  723. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  724. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  725. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
  726. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  727. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  728. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  729. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  730. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  731. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  732. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  733. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  734. package/mobile/src/BlockRenderer/BlockRendererOptions.ts +12 -0
  735. package/mobile/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
  736. package/mobile/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
  737. package/mobile/src/BlockRenderer/getParentBlockDef.ts +6 -0
  738. package/mobile/src/BlockRenderer/renderBlock.tsx +47 -0
  739. package/mobile/src/BlockRenderer/renderBlockList.tsx +33 -0
  740. package/mobile/src/BlockRenderer/renderChildren.ts +25 -0
  741. package/mobile/src/components/Accordion/Accordion.tsx +3 -2
  742. package/mobile/src/components/AccordionItem/AccordionItem.tsx +5 -4
  743. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
  744. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
  745. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
  746. package/mobile/src/components/Calculator/Calculator.tsx +32 -33
  747. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
  748. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -2
  749. package/mobile/src/components/Carousel/Carousel.example.json +2 -2
  750. package/mobile/src/components/Carousel/Carousel.tsx +29 -40
  751. package/mobile/src/components/Carousel/CarouselContainer.tsx +19 -12
  752. package/mobile/src/components/Carousel/CarouselContent.ts +5 -9
  753. package/mobile/src/components/CarouselCard/CarouselCard.tsx +22 -34
  754. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  755. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  756. package/mobile/src/components/Catalog/Catalog.tsx +8 -13
  757. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  758. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
  759. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
  760. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
  761. package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
  762. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -3
  763. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  764. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +6 -8
  765. package/mobile/src/components/ContentPage/ContentPage.tsx +21 -20
  766. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
  767. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
  768. package/mobile/src/components/Footer/Footer.tsx +3 -3
  769. package/mobile/src/components/Gallery/GalleryCardInner.tsx +12 -14
  770. package/mobile/src/components/Gallery/GalleryContainer.tsx +14 -16
  771. package/mobile/src/components/Gallery/GalleryInner.tsx +9 -22
  772. package/mobile/src/components/Header/Header.tsx +3 -4
  773. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
  774. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
  775. package/mobile/src/components/OtherProducts/OtherProducts.tsx +3 -2
  776. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
  777. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  778. package/mobile/src/components/Recommendation/Recommendation.tsx +12 -36
  779. package/mobile/src/components/RollupItem/RollupItem.tsx +9 -7
  780. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
  781. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
  782. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
  783. package/mobile/src/components/Video/Video.tsx +29 -0
  784. package/mobile/src/components/Video/Video.ui.json +12 -0
  785. package/mobile/src/components/Video/VideoContent.ts +9 -0
  786. package/mobile/src/components/Video/getPaddings.ts +6 -0
  787. package/mobile/src/hooks/useCarouselControls.ts +33 -19
  788. package/mobile/src/model/JSXBlock.ts +4 -5
  789. package/mobile/src/model/LinkProps.ts +1 -0
  790. package/mobile/src/model/Picture.ts +8 -2
  791. package/{src/react → mobile/src}/setup-fixture.ts +4 -4
  792. package/mobile/src/ui-kit/Button/renderArrows.tsx +22 -17
  793. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
  794. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
  795. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
  796. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
  797. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
  798. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
  799. package/package.json +1 -1
  800. package/src/BlockRenderer/BlockRendererOptions.ts +12 -0
  801. package/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
  802. package/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
  803. package/src/BlockRenderer/getParentBlockDef.ts +6 -0
  804. package/src/BlockRenderer/renderBlock.tsx +47 -0
  805. package/src/BlockRenderer/renderBlockList.tsx +33 -0
  806. package/src/BlockRenderer/renderChildren.ts +25 -0
  807. package/src/components/Accordion/Accordion.fixture.mobile.tsx +40 -55
  808. package/src/components/Accordion/Accordion.fixture.tsx +79 -52
  809. package/src/components/Accordion/Accordion.mobile.tsx +3 -2
  810. package/src/components/Accordion/Accordion.tsx +3 -2
  811. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +13 -2
  812. package/src/components/AccordionItem/AccordionItem.fixture.tsx +12 -1
  813. package/src/components/AccordionItem/AccordionItem.mobile.tsx +5 -4
  814. package/src/components/AccordionItem/AccordionItem.tsx +3 -2
  815. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
  816. package/src/components/Blocks.ts +3 -1
  817. package/src/components/Bonus/Bonus.fixture.tsx +1 -1
  818. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
  819. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +12 -1
  820. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
  821. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
  822. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -1
  823. package/src/components/Calculator/Calculator.fixture.tsx +1 -1
  824. package/src/components/Calculator/Calculator.tsx +32 -33
  825. package/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
  826. package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -1
  827. package/src/components/CardTransfer/CardTransfer.tsx +3 -2
  828. package/src/components/Carousel/Carousel.example.json +2 -2
  829. package/src/components/Carousel/Carousel.fixture.tsx +38 -45
  830. package/src/components/Carousel/Carousel.tsx +29 -40
  831. package/src/components/Carousel/CarouselContainer.tsx +19 -12
  832. package/src/components/Carousel/CarouselContent.ts +5 -9
  833. package/src/components/CarouselCard/CarouselCard.fixture.tsx +9 -4
  834. package/src/components/CarouselCard/CarouselCard.tsx +22 -34
  835. package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  836. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  837. package/src/components/Catalog/Catalog.fixture.tsx +1 -1
  838. package/src/components/Catalog/Catalog.tsx +8 -13
  839. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
  840. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -2
  841. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
  842. package/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
  843. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
  844. package/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
  845. package/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
  846. package/src/components/ComparisonTable/TableRow.tsx +3 -3
  847. package/src/components/ComparisonTable/constants.ts +1 -1
  848. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +1 -1
  849. package/src/components/ContactsBlock/ContactsBlock.tsx +6 -8
  850. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  851. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  852. package/src/components/ContentPage/ContentPage.tsx +21 -20
  853. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -1
  854. package/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
  855. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
  856. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
  857. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
  858. package/src/components/Footer/Footer.fixture.tsx +1 -1
  859. package/src/components/Footer/Footer.mobile.tsx +3 -3
  860. package/src/components/Footer/Footer.tsx +1 -1
  861. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  862. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  863. package/src/components/Gallery/GalleryCardInner.tsx +12 -14
  864. package/src/components/Gallery/GalleryContainer.tsx +14 -16
  865. package/src/components/Gallery/GalleryInner.tsx +9 -22
  866. package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
  867. package/src/components/Header/Header.fixture.mobile.tsx +1 -1
  868. package/src/components/Header/Header.fixture.tsx +1 -1
  869. package/src/components/Header/Header.mobile.tsx +3 -4
  870. package/src/components/Header/Header.tsx +1 -1
  871. package/src/components/Headline/Headline.fixture.mobile.tsx +1 -1
  872. package/src/components/Headline/Headline.fixture.tsx +1 -1
  873. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -1
  874. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
  875. package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -1
  876. package/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
  877. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -1
  878. package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
  879. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -1
  880. package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -1
  881. package/src/components/LinkList/LinkList.fixture.tsx +1 -1
  882. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  883. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
  884. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
  885. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  886. package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -1
  887. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -1
  888. package/src/components/OtherProducts/OtherProducts.fixture.tsx +86 -76
  889. package/src/components/OtherProducts/OtherProducts.tsx +3 -2
  890. package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +16 -1
  891. package/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
  892. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  893. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
  894. package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
  895. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
  896. package/src/components/ProductBlock/ProductBlock.fixture.tsx +13 -1
  897. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  898. package/src/components/ProductBlock/ProductBlockInner.tsx +26 -22
  899. package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -1
  900. package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
  901. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
  902. package/src/components/Recommendation/Recommendation.fixture.tsx +1 -1
  903. package/src/components/Recommendation/Recommendation.tsx +12 -36
  904. package/src/components/RollupItem/RollupItem.fixture.tsx +44 -11
  905. package/src/components/RollupItem/RollupItem.tsx +9 -7
  906. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
  907. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
  908. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -1
  909. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
  910. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  911. package/src/components/Tabs/Tabs.fixture.tsx +1 -1
  912. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -1
  913. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
  914. package/src/components/TariffsTable/TariffsTable.tsx +21 -38
  915. package/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
  916. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
  917. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
  918. package/src/components/Tile/Tile.fixture.tsx +1 -1
  919. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +126 -47
  920. package/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
  921. package/src/components/Video/Video.fixture.tsx +33 -0
  922. package/src/components/Video/Video.tsx +29 -0
  923. package/src/components/Video/Video.ui.json +12 -0
  924. package/src/components/Video/VideoContent.ts +9 -0
  925. package/src/components/Video/getPaddings.ts +6 -0
  926. package/src/hooks/useCarouselControls.ts +33 -19
  927. package/src/model/JSXBlock.ts +4 -5
  928. package/src/model/LinkProps.ts +1 -0
  929. package/src/model/Picture.ts +8 -2
  930. package/{mobile/src/react → src}/setup-fixture.ts +4 -4
  931. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  932. package/src/ui-kit/Button/renderArrows.tsx +22 -17
  933. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
  934. package/src/ui-kit/Icon/Icon.fixture.tsx +1 -1
  935. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
  936. package/src/ui-kit/List/List.fixture.tsx +1 -1
  937. package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
  938. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -1
  939. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -8
  940. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
  941. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
  942. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
  943. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
  944. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
  945. package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
  946. package/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
  947. package/bundle/components/ContentPage/renderBlock.d.ts +0 -15
  948. package/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
  949. package/bundle/components/ContentPage/renderSlots.d.ts +0 -12
  950. package/bundle/model/getParentBlockContent.d.ts +0 -2
  951. package/bundle/model/getParentBlockDef.d.ts +0 -3
  952. package/bundle/utils/sliceArray.d.ts +0 -1
  953. package/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
  954. package/dist/components/Carousel/CarouselNavButtons.js +0 -36
  955. package/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
  956. package/dist/components/ContentPage/renderBlock.d.ts +0 -15
  957. package/dist/components/ContentPage/renderBlock.js +0 -29
  958. package/dist/components/ContentPage/renderBlock.js.map +0 -1
  959. package/dist/components/ContentPage/renderBlockList.d.ts +0 -14
  960. package/dist/components/ContentPage/renderBlockList.js +0 -11
  961. package/dist/components/ContentPage/renderBlockList.js.map +0 -1
  962. package/dist/components/ContentPage/renderSlots.d.ts +0 -12
  963. package/dist/components/ContentPage/renderSlots.js +0 -15
  964. package/dist/components/ContentPage/renderSlots.js.map +0 -1
  965. package/dist/model/getParentBlockContent.d.ts +0 -2
  966. package/dist/model/getParentBlockContent.js.map +0 -1
  967. package/dist/model/getParentBlockDef.d.ts +0 -3
  968. package/dist/model/getParentBlockDef.js +0 -11
  969. package/dist/model/getParentBlockDef.js.map +0 -1
  970. package/dist/react/setup-fixture.js.map +0 -1
  971. package/dist/utils/sliceArray.d.ts +0 -1
  972. package/dist/utils/sliceArray.js +0 -15
  973. package/dist/utils/sliceArray.js.map +0 -1
  974. package/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
  975. package/lib/components/Carousel/CarouselNavButtons.js +0 -34
  976. package/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
  977. package/lib/components/ContentPage/renderBlock.d.ts +0 -15
  978. package/lib/components/ContentPage/renderBlock.js +0 -26
  979. package/lib/components/ContentPage/renderBlock.js.map +0 -1
  980. package/lib/components/ContentPage/renderBlockList.d.ts +0 -14
  981. package/lib/components/ContentPage/renderBlockList.js +0 -8
  982. package/lib/components/ContentPage/renderBlockList.js.map +0 -1
  983. package/lib/components/ContentPage/renderSlots.d.ts +0 -12
  984. package/lib/components/ContentPage/renderSlots.js +0 -12
  985. package/lib/components/ContentPage/renderSlots.js.map +0 -1
  986. package/lib/model/getParentBlockContent.d.ts +0 -2
  987. package/lib/model/getParentBlockContent.js +0 -6
  988. package/lib/model/getParentBlockContent.js.map +0 -1
  989. package/lib/model/getParentBlockDef.d.ts +0 -3
  990. package/lib/model/getParentBlockDef.js +0 -8
  991. package/lib/model/getParentBlockDef.js.map +0 -1
  992. package/lib/react/setup-fixture.js.map +0 -1
  993. package/lib/utils/sliceArray.d.ts +0 -1
  994. package/lib/utils/sliceArray.js +0 -12
  995. package/lib/utils/sliceArray.js.map +0 -1
  996. package/mobile/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
  997. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -15
  998. package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
  999. package/mobile/bundle/components/ContentPage/renderSlots.d.ts +0 -12
  1000. package/mobile/bundle/model/getParentBlockContent.d.ts +0 -2
  1001. package/mobile/bundle/model/getParentBlockDef.d.ts +0 -3
  1002. package/mobile/bundle/utils/sliceArray.d.ts +0 -1
  1003. package/mobile/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
  1004. package/mobile/dist/components/Carousel/CarouselNavButtons.js +0 -36
  1005. package/mobile/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
  1006. package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -15
  1007. package/mobile/dist/components/ContentPage/renderBlock.js +0 -29
  1008. package/mobile/dist/components/ContentPage/renderBlock.js.map +0 -1
  1009. package/mobile/dist/components/ContentPage/renderBlockList.d.ts +0 -14
  1010. package/mobile/dist/components/ContentPage/renderBlockList.js +0 -11
  1011. package/mobile/dist/components/ContentPage/renderBlockList.js.map +0 -1
  1012. package/mobile/dist/components/ContentPage/renderSlots.d.ts +0 -12
  1013. package/mobile/dist/components/ContentPage/renderSlots.js +0 -15
  1014. package/mobile/dist/components/ContentPage/renderSlots.js.map +0 -1
  1015. package/mobile/dist/model/getParentBlockContent.d.ts +0 -2
  1016. package/mobile/dist/model/getParentBlockContent.js.map +0 -1
  1017. package/mobile/dist/model/getParentBlockDef.d.ts +0 -3
  1018. package/mobile/dist/model/getParentBlockDef.js +0 -11
  1019. package/mobile/dist/model/getParentBlockDef.js.map +0 -1
  1020. package/mobile/dist/react/setup-fixture.js.map +0 -1
  1021. package/mobile/dist/utils/sliceArray.d.ts +0 -1
  1022. package/mobile/dist/utils/sliceArray.js +0 -15
  1023. package/mobile/dist/utils/sliceArray.js.map +0 -1
  1024. package/mobile/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
  1025. package/mobile/lib/components/Carousel/CarouselNavButtons.js +0 -34
  1026. package/mobile/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
  1027. package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -15
  1028. package/mobile/lib/components/ContentPage/renderBlock.js +0 -26
  1029. package/mobile/lib/components/ContentPage/renderBlock.js.map +0 -1
  1030. package/mobile/lib/components/ContentPage/renderBlockList.d.ts +0 -14
  1031. package/mobile/lib/components/ContentPage/renderBlockList.js +0 -8
  1032. package/mobile/lib/components/ContentPage/renderBlockList.js.map +0 -1
  1033. package/mobile/lib/components/ContentPage/renderSlots.d.ts +0 -12
  1034. package/mobile/lib/components/ContentPage/renderSlots.js +0 -12
  1035. package/mobile/lib/components/ContentPage/renderSlots.js.map +0 -1
  1036. package/mobile/lib/model/getParentBlockContent.d.ts +0 -2
  1037. package/mobile/lib/model/getParentBlockContent.js +0 -6
  1038. package/mobile/lib/model/getParentBlockContent.js.map +0 -1
  1039. package/mobile/lib/model/getParentBlockDef.d.ts +0 -3
  1040. package/mobile/lib/model/getParentBlockDef.js +0 -8
  1041. package/mobile/lib/model/getParentBlockDef.js.map +0 -1
  1042. package/mobile/lib/react/setup-fixture.js.map +0 -1
  1043. package/mobile/lib/utils/sliceArray.d.ts +0 -1
  1044. package/mobile/lib/utils/sliceArray.js +0 -12
  1045. package/mobile/lib/utils/sliceArray.js.map +0 -1
  1046. package/mobile/src/components/Carousel/CarouselNavButtons.tsx +0 -51
  1047. package/mobile/src/components/ContentPage/renderBlock.tsx +0 -61
  1048. package/mobile/src/components/ContentPage/renderBlockList.tsx +0 -28
  1049. package/mobile/src/components/ContentPage/renderSlots.tsx +0 -32
  1050. package/mobile/src/model/getParentBlockDef.ts +0 -12
  1051. package/mobile/src/utils/sliceArray.ts +0 -15
  1052. package/src/components/Carousel/CarouselNavButtons.tsx +0 -51
  1053. package/src/components/ContentPage/renderBlock.tsx +0 -61
  1054. package/src/components/ContentPage/renderBlockList.tsx +0 -28
  1055. package/src/components/ContentPage/renderSlots.tsx +0 -32
  1056. package/src/model/.CarouselCardVersion.ts.icloud +0 -0
  1057. package/src/model/getParentBlockDef.ts +0 -12
  1058. package/src/utils/sliceArray.ts +0 -15
@@ -2,7 +2,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Blocks = void 0;
3
3
  const Accordion_1 = require("./Accordion/Accordion");
4
4
  const AccordionItem_1 = require("./AccordionItem/AccordionItem");
5
- const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
6
5
  const BenefitsBlock_1 = require("./BenefitsBlock/BenefitsBlock");
7
6
  const Bonus_1 = require("./Bonus/Bonus");
8
7
  const BonusBenefitsBlock_1 = require("./BonusBenefitsBlock/BonusBenefitsBlock");
@@ -11,6 +10,7 @@ const Calculator_1 = require("./Calculator/Calculator");
11
10
  const CardTransfer_1 = require("./CardTransfer/CardTransfer");
12
11
  const Carousel_1 = require("./Carousel/Carousel");
13
12
  const CarouselCard_1 = require("./CarouselCard/CarouselCard");
13
+ const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
14
14
  const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
15
15
  const Catalog_1 = require("./Catalog/Catalog");
16
16
  const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
@@ -47,6 +47,7 @@ const TariffsTable_1 = require("./TariffsTable/TariffsTable");
47
47
  const TextBlock_1 = require("./TextBlock/TextBlock");
48
48
  const Tile_1 = require("./Tile/Tile");
49
49
  const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
50
+ const Video_1 = require("./Video/Video");
50
51
  exports.Blocks = {
51
52
  Accordion: Accordion_1.Accordion,
52
53
  AccordionItem: AccordionItem_1.AccordionItem,
@@ -95,5 +96,6 @@ exports.Blocks = {
95
96
  TextBlock: TextBlock_1.TextBlock,
96
97
  Tile: Tile_1.Tile,
97
98
  VerticalLayout: VerticalLayout_1.VerticalLayout,
99
+ Video: Video_1.Video,
98
100
  };
99
101
  //# sourceMappingURL=Blocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,8DAA2D;AAC3D,mFAAgF;AAChF,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,6EAA0E;AAC1E,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,wDAAqD;AACrD,6EAA0E;AAC1E,wDAAqD;AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AACnC,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,kBA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,EAAd,+BAAc;IACd,iBAAiB,EAAjB,qCAAiB;IACjB,QAAQ,EAAR,mBAAQ;IACR,WAAW,EAAX,yBAAW;IACX,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,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"}
@@ -2,12 +2,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.BonusBenefitsBlock = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const AlignText_1 = require("../../model/AlignText");
5
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
7
  const Img_1 = require("../../ui-kit/Img/Img");
7
8
  const Headline_1 = require("../Headline/Headline");
8
- exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, subtitle, bonusBenefits, columnsCount = '4', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 mt-8 ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
9
- const renderBonusBenefit = (bonusBenefit, i) => {
10
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[160px] w-[180px] min-w-[180px] min-h-[160px]", image: bonusBenefit.icon, width: "180", height: "160" })) : null, (0, jsx_runtime_1.jsx)("div", { children: bonusBenefit?.label ? (0, jsx_runtime_1.jsx)("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
9
+ exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
10
+ const renderBonusBenefit = ({ icon, label, description }, i) => {
11
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
12
+ };
13
+ const getElementsColsValue = (colValue) => {
14
+ switch (colValue) {
15
+ case '3':
16
+ return 'grid-cols-3';
17
+ case '4':
18
+ return 'grid-cols-4';
19
+ case '5':
20
+ return 'grid-cols-5';
21
+ default:
22
+ return 'grid-cols-5';
23
+ }
11
24
  };
12
- const getElementsColsValue = (colValue) => colValue === '4' ? 'grid-cols-4' : 'grid-cols-5';
13
25
  //# sourceMappingURL=BonusBenefitsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnF,wBAAC,2BAAY,IACX,SAAS,EAAE,2EAA2E,SAAS,EAAE,KAC7F,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAE,mBAAmB,oBAAoB,CAAC,YAAY,CAAC,EAAE,YACpE,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,YAA0B,EAAE,CAAS,EAAE,EAAE;IACnE,OAAO,CACL,iCAAqB,SAAS,EAAC,0CAA0C,aACtE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CACpB,uBAAC,SAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,0CACG,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,aAAa,YAAE,YAAY,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GACnF,KAXE,MAAM,CAAC,CAAC,CAAC,CAYb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE,CACtD,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC"}
1
+ {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,2EAA2E,SAAS,EAAE,KAC7F,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
@@ -1,17 +1,19 @@
1
- import type { LabelProps, TitleProps } from '../../model/HeadlineType';
1
+ import type { AlignType } from '../../model/AlignType';
2
+ import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
2
3
  import type { IconProps } from '../../model/Picture';
3
4
  /**
4
5
  * @title Количество элементов в строке
5
6
  * @enumNames [
7
+ * "Три колонки",
6
8
  * "Четыре колонки",
7
9
  * "Пять колонок",
8
10
  * ]
9
11
  */
10
- export declare type ColumnsCount = '4' | '5';
12
+ export declare type ColumnsCount = '3' | '4' | '5';
11
13
  /**
12
14
  * @title Бонус и преимущество
13
15
  */
14
- export declare type BonusBenefit = LabelProps & IconProps;
16
+ export declare type BonusBenefit = LabelProps & IconProps & DescriptionProps;
15
17
  /**
16
18
  * @title Блок бонусов и преимуществ
17
19
  */
@@ -21,4 +23,5 @@ export declare type BonusBenefitsBlockContent = TitleProps & {
21
23
  /** @title Список бонусов */
22
24
  bonusBenefits?: BonusBenefit[];
23
25
  columnsCount?: ColumnsCount;
26
+ cardTextAlign?: AlignType;
24
27
  };
@@ -3,6 +3,7 @@ exports.Calculator = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const useCarouselControls_1 = require("../../hooks/useCarouselControls");
6
7
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
8
  const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
8
9
  const Img_1 = require("../../ui-kit/Img/Img");
@@ -10,46 +11,45 @@ const renderCalculatorBlock_1 = require("./renderCalculatorBlock");
10
11
  exports.Calculator = (0, uni_jsx_1.JSX)(({ className = '', calculatorTabs = [], ...rest }) => {
11
12
  const tabsNav = calculatorTabs.map((_) => _.nav || {});
12
13
  const calculatorBlocks = calculatorTabs.map(({ calculatorBlock }) => calculatorBlock || {});
13
- const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
14
- const [tabsShift, setTabsShift] = (0, hooks_1.useState)(0);
15
- const handleNextClick = () => setTabsShift(tabsShift + 1);
16
- const handlePrevClick = () => setTabsShift(tabsShift - 1);
17
- const isGalleryScrollAvailable = calculatorTabs?.length > 3;
18
- const showNextButton = isGalleryScrollAvailable && calculatorTabs?.length > tabsShift + 3;
19
- const showPrevButton = tabsShift > 0;
14
+ const [slideIndexShift, setSlideIndexShift] = (0, hooks_1.useState)(0);
15
+ const handleSlideIndexShift = (0, hooks_1.useCallback)((_) => setSlideIndexShift(_), []);
16
+ const COLUMNS_FOR_SCROLL = 3;
17
+ const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
18
+ itemCount: calculatorTabs?.length,
19
+ visibleItemCount: COLUMNS_FOR_SCROLL,
20
+ });
20
21
  return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-white", children: [tabsNav.length > 1
21
- ? renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex })
22
+ ? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
22
23
  : null, (0, renderArrows_1.renderArrows)({
23
- handler: [handlePrevClick, handleNextClick],
24
- isShown: [showPrevButton, showNextButton],
24
+ ...controls,
25
25
  btnClass: ['left-3', 'right-3'],
26
26
  className: 'top-8',
27
- })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock_1.renderCalculatorBlock) : null })] }));
27
+ })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${slideIndexShift}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock_1.renderCalculatorBlock) : null })] }));
28
28
  });
29
- function renderNavButton({ tab, i, activeSlideIndex, onClick }) {
30
- const isActiveBtn = i === activeSlideIndex;
31
- const btnClassName = isActiveBtn
29
+ function renderNavButton({ tab, i, isActive, onClick }) {
30
+ const btnClassName = isActive
32
31
  ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
33
32
  : `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
34
- const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
35
- const btnDescClassName = isActiveBtn
33
+ const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
34
+ const btnDescClassName = isActive
36
35
  ? 'text-l-light text-white'
37
36
  : `text-m-light text-secondary-text`;
38
- const iconClassName = isActiveBtn ? '' : `text-primary-main`;
37
+ const iconClassName = isActive ? '' : `text-primary-main`;
39
38
  const iconVersion = tab?.icon?.iconVersion;
40
- const activeIconStyle = isActiveBtn ? 'white' : 'normal';
39
+ const activeIconStyle = isActive ? 'white' : 'normal';
41
40
  return ((0, jsx_runtime_1.jsxs)("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
42
41
  ${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
43
42
  ...tab?.icon,
44
43
  iconVersion: iconVersion ?? activeIconStyle,
45
44
  }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
46
45
  }
47
- function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
48
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
46
+ function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }) {
47
+ const CARD_SHIFT = 388;
48
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
49
49
  tab,
50
50
  i,
51
- activeSlideIndex,
52
- onClick: () => setActiveSlideIndex(i),
51
+ isActive: Boolean(i === slideIndexShift),
52
+ onClick: () => onClick(i),
53
53
  })) }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-full h-2 bg-primary-main" })] }));
54
54
  }
55
55
  //# sourceMappingURL=Calculator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnD,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,CACzC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAC1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAE1D,MAAM,wBAAw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}
@@ -3,7 +3,5 @@ exports.CalculatorValueBlock = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
6
- exports.CalculatorValueBlock = (0, uni_jsx_1.JSX)(({ title, value, postfix = '', prefix, className = '' }) => {
7
- return ((0, jsx_runtime_1.jsxs)("div", { className: `mb-7 ${className}`, children: [title ? (0, jsx_runtime_1.jsx)("div", { className: "text-l-light text-secondary-text", children: title }) : null, value ? ((0, jsx_runtime_1.jsxs)("div", { className: "text-h3", children: [prefix, " ", (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(value)), " ", postfix] })) : null] }));
8
- });
6
+ exports.CalculatorValueBlock = (0, uni_jsx_1.JSX)(({ title, value, postfix = '', prefix, className = '' }) => ((0, jsx_runtime_1.jsxs)("div", { className: `mb-7 ${className}`, children: [title ? (0, jsx_runtime_1.jsx)("div", { className: "text-l-light text-secondary-text", children: title }) : null, value ? ((0, jsx_runtime_1.jsxs)("div", { className: "text-h3", children: [prefix, " ", (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(value)), " ", postfix] })) : null] })));
9
7
  //# sourceMappingURL=CalculatorValueBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAUjE,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACzD,OAAO,CACL,iCAAK,SAAS,EAAE,QAAQ,SAAS,EAAE,aAChC,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,iCAAK,SAAS,EAAC,SAAS,aACrB,MAAM,OAAG,IAAA,iDAAuB,EAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAG,OAAO,IAC1D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAUjE,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAC1D,iCAAK,SAAS,EAAE,QAAQ,SAAS,EAAE,aAChC,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,iCAAK,SAAS,EAAC,SAAS,aACrB,MAAM,OAAG,IAAA,iDAAuB,EAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAG,OAAO,IAC1D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
@@ -17,11 +17,12 @@ const DEFAULT_LABEL = 'Сумма перевода';
17
17
  const DEFAULT_PLACEHOLDER = '1500';
18
18
  exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, ...rest }) => {
19
19
  const [value, setValue] = (0, hooks_1.useState)('');
20
+ const handleChange = (0, hooks_1.useCallback)((_) => setValue(_), []);
20
21
  const isDisabled = !Number((0, getSanitizedValue_1.getSanitizedValue)(value));
21
22
  const buttonStyle = isDisabled
22
23
  ? (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ version: button?.version })
23
24
  : (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className: 'text-white', version: button?.version });
24
25
  const link = (0, useLink_1.useLink)();
25
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
26
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
26
27
  });
27
28
  //# sourceMappingURL=CardTransfer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.t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,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { CarouselContent } from './CarouselContent';
3
3
  export interface CarouselProps extends CarouselContent, UniBlockProps {
4
+ itemCount?: number;
4
5
  }
5
6
  export declare const Carousel: JSXBlock<CarouselProps>;
@@ -2,27 +2,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Carousel = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const renderChildren_1 = require("../../BlockRenderer/renderChildren");
5
7
  const useCarouselControls_1 = require("../../hooks/useCarouselControls");
6
8
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
9
  const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
8
10
  const CarouselContainer_1 = require("./CarouselContainer");
9
- exports.Carousel = (0, uni_jsx_1.JSX)(({ cardFullViewCount = 1, children, cardWidth = '1007', className = '', isBlur = true, isCyclic = false, block, ...rest }) => {
10
- const blurClasses = isBlur ? 'absolute top-0 bottom-0 w-[84px]' : '';
11
- const { blocks: childBlocks } = block || {};
12
- const childBlocksLength = childBlocks !== undefined ? childBlocks.length : 0;
13
- const isScrollAvailable = childBlocksLength > cardFullViewCount;
11
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
12
+ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
13
+ const { blocks: childBlocks } = rest.block || {};
14
+ const count = itemCount || childBlocks?.length || 0;
15
+ const containerRef = (0, hooks_1.useRef)(null);
14
16
  const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
15
- itemsCount: childBlocksLength,
16
- visibleItemCount: cardFullViewCount,
17
+ itemCount: count,
18
+ visibleItemCount,
17
19
  isCyclic,
20
+ container: containerRef.current,
18
21
  });
19
- const { inc, dec, canDec, canInc } = controls;
20
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border h-full relative font-sans flex flex-col justify-center overflow-hidden ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(CarouselContainer_1.CarouselContainer, { activeItem: activeIndex, cardFullViewCount: cardFullViewCount, cardWidth: cardWidth, children: children }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, renderArrows_1.renderArrows)({
21
- handler: [dec, inc],
22
- isShown: [canDec, canInc],
23
- btnClass: ['left-8', 'right-8'],
24
- className: 'top-1/2 z-10',
25
- }) })) : null, isScrollAvailable ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: `${blurClasses} left-0 bg-opacity-from-white` }), (0, jsx_runtime_1.jsx)("div", { className: `${blurClasses} right-0 bg-opacity-to-white` })] })) : null] }));
22
+ const { isScrollAvailable } = controls;
23
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans overflow-hidden ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(CarouselContainer_1.CarouselContainer, { activeIndex: activeIndex, itemCount: count, visibleItemCount: visibleItemCount, containerRef: containerRef, children: (0, renderChildren_1.renderChildren)(rest) }), isScrollAvailable && isBlur ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), (0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, (0, renderArrows_1.renderArrows)({
24
+ ...controls,
25
+ btnClass: ['left-8', 'right-8'],
26
+ className: 'top-1/2',
27
+ })] }));
26
28
  });
27
29
  exports.Carousel.childrenTypes = ['CarouselCard', 'CarouselTariffsCard'];
28
30
  //# sourceMappingURL=Carousel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,2DAAwD;AAK3C,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,iBAAiB,GAAG,CAAC,EACrB,QAAQ,EACR,SAAS,GAAG,MAAM,EAClB,SAAS,GAAG,EAAE,EACd,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK,EAChB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE,CAAC;IACrE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAE5C,MAAM,iBAAiB,GAAG,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAE7E,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;IAEhE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,UAAU,EAAE,iBAAiB;QAC7B,gBAAgB,EAAE,iBAAiB;QACnC,QAAQ;KACT,CAAC,CAAC;IACH,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;IAE9C,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,qFAAqF,SAAS,EAAE,KACvG,IAAI,aAER,uBAAC,qCAAiB,IAChB,UAAU,EAAE,WAAW,EACvB,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACS,EACnB,iBAAiB,CAAC,CAAC,CAAC,CACnB,0CACG,IAAA,2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AClD,SAAS,EAAE,KAAK;QAChB,gBAAgB;QAChB,QAAQ;QACR,SAAS,EAAE,YAAY,CAAC,OAAO;KAChC,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,sCAAsC,SAAS,EAAE,KAAM,IAAI,aAClF,uBAAC,qCAAiB,IAChB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EAAE,YAAY,YAEzB,IAAA,+BAAc,EAAC,IAAI,CAAC,GACH,EACnB,iBAAiB,IAAI,MAAM,CAAC,CAAC,CAAC,CAC7B,4CACE,gCAAK,SAAS,EAAE,GAAG,aAAa,+BAA+B,GAAI,EACnE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,IAC9D,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,2BAAY,EAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAC"}
@@ -1,7 +1,10 @@
1
- import type { CardWidth } from './CarouselContent';
2
- export interface CarouselContainerProps {
3
- activeItem: number;
4
- cardFullViewCount: number;
5
- cardWidth: CardWidth;
1
+ interface CarouselContainerProps {
2
+ activeIndex: number;
3
+ itemCount: number;
4
+ visibleItemCount?: number;
5
+ containerRef?: {
6
+ current: HTMLDivElement | null;
7
+ };
6
8
  }
7
9
  export declare const CarouselContainer: import("@redneckz/uni-jsx").UNIComponent<CarouselContainerProps, any, any>;
10
+ export {};
@@ -2,10 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.CarouselContainer = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- exports.CarouselContainer = (0, uni_jsx_1.JSX)(({ children, activeItem, cardFullViewCount, cardWidth }) => {
6
- const cardFullViewStyles = cardFullViewCount === 1
7
- ? `translateX(-${activeItem}00%)`
8
- : `translateX(-${activeItem * Number(cardWidth)}px)`;
9
- return ((0, jsx_runtime_1.jsx)("div", { className: "w-auto flex flex-1 duration-1000", style: { transform: `${cardFullViewStyles}` }, role: "list", children: children }));
5
+ const childStyleMap = ['[&>*]:min-w-[100%]', '[&>*]:min-w-[50%]', '[&>*]:min-w-[33.33%]'];
6
+ exports.CarouselContainer = (0, uni_jsx_1.JSX)(({ activeIndex, itemCount, visibleItemCount, containerRef, children }) => {
7
+ const scrollWidth = containerRef?.current?.scrollWidth || 0;
8
+ const maxScrollLeft = scrollWidth - (containerRef?.current?.clientWidth || 0);
9
+ const translateX = visibleItemCount
10
+ ? `${-Math.round((100 * activeIndex) / visibleItemCount)}%`
11
+ : `${-Math.round(Math.min((scrollWidth * activeIndex) / (itemCount || 1), maxScrollLeft))}px`;
12
+ return ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-1 duration-1000 ${visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''}`, style: { transform: `translateX(${translateX})` }, role: "list", ref: containerRef, children: children }));
10
13
  });
11
14
  //# sourceMappingURL=CarouselContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselContainer.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAS3B,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,EAAE,EAAE;IACzD,MAAM,kBAAkB,GACtB,iBAAiB,KAAK,CAAC;QACrB,CAAC,CAAC,eAAe,UAAU,MAAM;QACjC,CAAC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AE,cAAc,UAAU,GAAG,EAAE,EACjD,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,YAAY,YAEhB,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,15 +1,12 @@
1
1
  /**
2
2
  * @title Карусель
3
3
  */
4
- /**
5
- * @title Ширина карточек
6
- * @enumNames [ "1007", "833", "350", "322" ]
7
- */
8
- export declare type CardWidth = '322' | '350' | '832' | '1007';
9
4
  export interface CarouselContent {
10
- /** @title Количество видимых карточек */
11
- cardFullViewCount?: number;
12
- cardWidth?: CardWidth;
5
+ /**
6
+ * @title Количество видимых карточек
7
+ * @enumNames ["auto", "1", "2", "3"]
8
+ */
9
+ visibleItemCount?: 0 | 1 | 2 | 3;
13
10
  /** @title Добавление блюра */
14
11
  isBlur?: boolean;
15
12
  /** @title Цикличность */
@@ -1,5 +1,2 @@
1
- /**
2
- * @title Карусель
3
- */
4
1
  Object.defineProperty(exports, "__esModule", { value: true });
5
2
  //# sourceMappingURL=CarouselContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselContent.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContent.ts"],"names":[],"mappings":"AAAA;;GAEG"}
1
+ {"version":3,"file":"CarouselContent.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContent.ts"],"names":[],"mappings":""}
@@ -1,7 +1,5 @@
1
- import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
2
1
  import type { UniBlockProps } from '../../model/JSXBlock';
3
2
  import type { CarouselCardContent } from './CarouselCardContent';
4
3
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
5
- version?: CarouselCardVersion;
6
4
  }
7
5
  export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -4,17 +4,10 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
6
6
  const Headline_1 = require("../Headline/Headline");
7
- const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-[100%] h-[100%]';
8
- const CARD_STYLE_MAP = {
9
- normal: 'min-w-[100%] justify-center items-center my-7 col-span-12',
10
- mini: 'justify-center items-center mx-4 my-9 col-span-4',
11
- };
7
+ const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
12
8
  const CARD_WIDTH_MAP = {
13
- normal: 'w-[1007px]',
14
- mini: 'w-[350px]',
9
+ normal: `w-[${1007 + 48}px]`,
10
+ mini: `w-[${350 + 48}px]`,
15
11
  };
16
- exports.CarouselCard = (0, uni_jsx_1.JSX)(({ button, className = '', description, title, version = 'normal' }) => {
17
- return ((0, jsx_runtime_1.jsx)("section", { className: `flex ${CARD_STYLE_MAP[version]}`, children: (0, jsx_runtime_1.jsxs)("div", { className: `relative ${CARD_WIDTH_MAP[version]}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `relative bg-white py-6 px-10 z-10
18
- border border-solid border-green-light ${className}`, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? (0, ButtonSection_1.renderButton)({ button, buttonClassName: 'mt-6 w-[158px]' }) : null] }), (0, jsx_runtime_1.jsx)("div", { className: `top-9 right-12 bg-green-dark ${BLOCK_CLASSES}` }), (0, jsx_runtime_1.jsx)("div", { className: `top-6 right-8 bg-green ${BLOCK_CLASSES}` }), (0, jsx_runtime_1.jsx)("div", { className: `top-3 right-4 bg-green-light ${BLOCK_CLASSES}` })] }) }));
19
- });
12
+ exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, version = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${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 bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? (0, jsx_runtime_1.jsx)("div", { className: "mt-6", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] })] }) })));
20
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,qEAAiE;AACjE,mDAAgD;AAOhD,MAAM,aAAa,GAAG,mEAAmE,CAAC;AAE1F,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,2DAA2D;IACnE,IAAI,EAAE,kDAAkD;CACzD,CAAC;AAEF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,WAAW;CAClB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,CACL,oCAAS,SAAS,EAAE,QAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,YACnD,iCAAK,SAAS,EAAE,YAAY,cAAc,CAAC,OAAO,CAAC,EAAE,aACnD,iCACE,SAAS,EAAE;uDACgC,SAAS,EAAE,aAEtD,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,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,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACD,MAAM,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
@@ -3,18 +3,18 @@ exports.CarouselLinks = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
- const Heading_1 = require("../../ui-kit/Heading/Heading");
7
6
  const LinkButton_1 = require("../../ui-kit/LinkButton/LinkButton");
8
7
  const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
9
- const sliceArray_1 = require("../../utils/sliceArray");
10
8
  const Carousel_1 = require("../Carousel/Carousel");
9
+ const Headline_1 = require("../Headline/Headline");
11
10
  const MAX_LINKS_COUNT = 12;
12
- exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ additionalDescription, description, links, title, className = '', ...rest }) => {
13
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, as: "h1", headingType: "h0", className: "pb-0.5" }) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-5", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-xl", font: "font-light", children: description }) })) : null, additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
11
+ exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, ...rest }) => {
12
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, as: "h1", description: description, align: "left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
14
13
  });
15
14
  const renderLinks = (links) => {
16
- const slicedLinks = (0, sliceArray_1.sliceArray)(links, MAX_LINKS_COUNT);
17
- const slides = slicedLinks.map((slide) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: slide.map((link, index) => ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "m-1", ...link }, String(index)))) })));
18
- return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, cardFullViewCount: 1, cardWidth: '832', isCyclic: true, block: { type: 'Carousel', blocks: slides }, children: slides }));
15
+ const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
16
+ return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
17
+ .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
18
+ .map((link, index) => ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
19
19
  };
20
20
  //# sourceMappingURL=CarouselLinks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,0DAAuD;AACvD,mEAAgE;AAChE,gEAA6D;AAC7D,uDAAoD;AACpD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,8EAA8E,SAAS,EAAE,KAChG,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aAClE,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,KAAK,EAAE,KAAK,EAAE,EAAE,EAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,EACpF,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,YAAY,YACxC,WAAW,GACF,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACP,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,cAAE,qBAAqB,GAAa,GAC1C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAC7B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM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TariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon,
17
17
  rowsNode.slice(0, VISIBLE_ROWS_COUNT),
18
18
  rowsNode.slice(VISIBLE_ROWS_COUNT),
19
19
  ];
20
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] p-8 border border-main-stroke relative w-[322px] min-w-[322px] -ml-[1px] ${hitStyle} ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center", image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, rows?.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton : null })) : null] }));
20
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-8 border border-main-stroke relative w-[322px] min-w-[322px] -ml-[1px] ${hitStyle} ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center", image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, rows?.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton : null })) : null] }));
21
21
  });
22
22
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[71px]' : 'mt-[70px] pt-9';
23
23
  const renderFoldButton = ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsxs)("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [(0, jsx_runtime_1.jsx)("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
24
- const renderCardInfo = (cell) => ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider flex flex-col gap-1", children: [cell?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (0, jsx_runtime_1.jsx)("div", { className: "text-primary-text text-h6", children: cell.description }) : null] }));
24
+ const renderCardInfo = (cell, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider flex flex-col gap-1", children: [cell?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (0, jsx_runtime_1.jsx)("div", { className: "text-primary-text text-h6", children: cell.description }) : null] }, String(i)));
25
25
  const renderHitIcon = () => {
26
26
  const POSITION_STYLE = 'absolute -top-7 -right-4';
27
27
  return ((0, jsx_runtime_1.jsxs)("div", { className: `h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)] ${POSITION_STYLE}`, children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), (0, jsx_runtime_1.jsx)("div", { className: "text-center", children: "\u0425\u0438\u0442" })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,uDAAoD;AACpD,6DAA0D;AAE1D,2EAAwE;AACxE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAK9B,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9E,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1C,MAAM,kBAAkB,GAAG,CAAC,CAAC;IAC7B,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;QAChC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAC;QACrC,QAAQ,CAAC,KAAK,CAAC,kBAAkB,CAAC;KACnC,CAAC;IAEF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,wGAAwG,QAAQ,IAAI,SAAS,EAAE,KACtI,IAAI,aAEP,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,EACvC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,qBAAqB,EAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACvE,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,SAAS,EAAC,oCAAoC,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAC1F,CAAC,CAAC,CA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