@redneckz/wildless-cms-uni-blocks 0.8.22 → 0.8.23

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 (671) hide show
  1. package/bin/migration-scripts/0.8.23.js +31 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +25 -31
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  6. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  7. package/bundle/components/Bonus/BonusContent.d.ts +4 -4
  8. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  9. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  10. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  11. package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  12. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  13. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  14. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  15. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  16. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  17. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  18. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  19. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  20. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  21. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  22. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  23. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  24. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  25. package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  26. package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  27. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  28. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  29. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  30. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  31. package/bundle/components/Header/HeaderContent.d.ts +3 -4
  32. package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  33. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  34. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  35. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  36. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  37. package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  38. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  39. package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  40. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  41. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  42. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  43. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  44. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  45. package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  46. package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  47. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  48. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  49. package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  50. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  51. package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  52. package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  53. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  54. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  55. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  56. package/bundle/components/Tabs/TabsContent.d.ts +3 -2
  57. package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  58. package/bundle/components/Tile/TileContent.d.ts +2 -3
  59. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  60. package/bundle/components/Video/VideoContent.d.ts +3 -2
  61. package/bundle/model/HeadlineType.d.ts +4 -0
  62. package/bundle/model/JSXBlock.d.ts +9 -2
  63. package/bundle/model/LogoType.d.ts +3 -5
  64. package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  65. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  66. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  67. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  68. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  69. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  70. package/dist/components/Bonus/BonusContent.d.ts +4 -4
  71. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  72. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  73. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  74. package/dist/components/Carousel/Carousel.js +1 -1
  75. package/dist/components/Carousel/Carousel.js.map +1 -1
  76. package/dist/components/Carousel/CarouselContent.d.ts +3 -2
  77. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  78. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  79. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  80. package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  81. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  82. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  83. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  84. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  85. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  86. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  87. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  88. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  89. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  90. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  91. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  92. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  93. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  94. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  95. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  96. package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  97. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  98. package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  99. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  100. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  101. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  102. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  103. package/dist/components/Header/HeaderContent.d.ts +3 -4
  104. package/dist/components/Headline/Headline.js +2 -2
  105. package/dist/components/Headline/Headline.js.map +1 -1
  106. package/dist/components/Headline/HeadlineContent.d.ts +3 -4
  107. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  108. package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  109. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  110. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  111. package/dist/components/LikeControl/LikeControl.d.ts +2 -1
  112. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  113. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  114. package/dist/components/LinkList/LinkListContent.d.ts +3 -2
  115. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  116. package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  117. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  118. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  119. package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  120. package/dist/components/PictureText/renderBenefit.d.ts +1 -1
  121. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  122. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  123. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  124. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  125. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  126. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  127. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  128. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  129. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  130. package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  131. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  132. package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  133. package/dist/components/RollupItem/RollupItem.d.ts +4 -2
  134. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  135. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  136. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  137. package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  138. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  139. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  140. package/dist/components/Tabs/TabsContent.d.ts +3 -2
  141. package/dist/components/TextBlock/TextBlock.js +5 -11
  142. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  143. package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
  144. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  145. package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  146. package/dist/components/Tile/TileContent.d.ts +2 -3
  147. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  148. package/dist/components/Video/VideoContent.d.ts +3 -2
  149. package/dist/model/HeadlineType.d.ts +4 -0
  150. package/dist/model/JSXBlock.d.ts +9 -2
  151. package/dist/model/LogoType.d.ts +3 -5
  152. package/dist/services/sitemap/SitemapProps.d.ts +2 -4
  153. package/dist/ui-kit/BlockWrapper.js +2 -2
  154. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  155. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  156. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  157. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  158. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  159. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  160. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  161. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  162. package/lib/common.css +1 -1
  163. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  164. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  165. package/lib/components/Bonus/BonusContent.d.ts +4 -4
  166. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  167. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  168. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  169. package/lib/components/Carousel/Carousel.js +1 -1
  170. package/lib/components/Carousel/Carousel.js.map +1 -1
  171. package/lib/components/Carousel/CarouselContent.d.ts +3 -2
  172. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  173. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  174. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  175. package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  176. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  177. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  178. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  179. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  180. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  181. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  182. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  183. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  184. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  185. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  186. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  187. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  188. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  189. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  190. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  191. package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  192. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  193. package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  194. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  195. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  196. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  197. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  198. package/lib/components/Header/HeaderContent.d.ts +3 -4
  199. package/lib/components/Headline/Headline.js +2 -2
  200. package/lib/components/Headline/Headline.js.map +1 -1
  201. package/lib/components/Headline/HeadlineContent.d.ts +3 -4
  202. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  203. package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  204. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  205. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  206. package/lib/components/LikeControl/LikeControl.d.ts +2 -1
  207. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  208. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  209. package/lib/components/LinkList/LinkListContent.d.ts +3 -2
  210. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  211. package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  212. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  213. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  214. package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  215. package/lib/components/PictureText/renderBenefit.d.ts +1 -1
  216. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  217. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  218. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  219. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  220. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  221. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  222. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  223. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  224. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  225. package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  226. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  227. package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  228. package/lib/components/RollupItem/RollupItem.d.ts +4 -2
  229. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  230. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  231. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  232. package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  233. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  234. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  235. package/lib/components/Tabs/TabsContent.d.ts +3 -2
  236. package/lib/components/TextBlock/TextBlock.js +5 -11
  237. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  238. package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
  239. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  240. package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  241. package/lib/components/Tile/TileContent.d.ts +2 -3
  242. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  243. package/lib/components/Video/VideoContent.d.ts +3 -2
  244. package/lib/model/HeadlineType.d.ts +4 -0
  245. package/lib/model/JSXBlock.d.ts +9 -2
  246. package/lib/model/LogoType.d.ts +3 -5
  247. package/lib/services/sitemap/SitemapProps.d.ts +2 -4
  248. package/lib/ui-kit/BlockWrapper.js +2 -2
  249. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  250. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  251. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  252. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  253. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  254. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  255. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  256. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  257. package/mobile/bundle/bundle.umd.js +15 -36
  258. package/mobile/bundle/bundle.umd.min.js +1 -1
  259. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  260. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  261. package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
  262. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  263. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  264. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  265. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  266. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  267. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  268. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  269. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  270. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  271. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  272. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  273. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  274. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  275. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  276. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  277. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  278. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
  279. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  280. package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  281. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  282. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  283. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  284. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  285. package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
  286. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  287. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  288. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  289. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  290. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  291. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  292. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  293. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  294. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  295. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  296. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  297. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  298. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  299. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  300. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  301. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  302. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  303. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  304. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  305. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  306. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  307. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  308. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  309. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  310. package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
  311. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  312. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
  313. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  314. package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
  315. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  316. package/mobile/bundle/model/JSXBlock.d.ts +9 -2
  317. package/mobile/bundle/model/LogoType.d.ts +3 -5
  318. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  319. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  320. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  321. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  322. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  323. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  324. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
  325. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  326. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  327. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  328. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  329. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  330. package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
  331. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  332. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  333. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  334. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  335. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  336. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  337. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  338. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  339. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  340. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  341. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  342. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  343. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  344. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  345. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  346. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  347. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  348. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
  349. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  350. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  351. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  352. package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  353. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  354. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  355. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  356. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  357. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
  358. package/mobile/dist/components/Headline/Headline.js +2 -2
  359. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  360. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
  361. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  362. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  363. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  364. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  365. package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
  366. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  367. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  368. package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
  369. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  370. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  371. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  372. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  373. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  374. package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
  375. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  376. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  377. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  378. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  379. package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
  380. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  381. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  382. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  383. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  384. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  385. package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
  386. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  387. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  388. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  389. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  390. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  391. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  392. package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
  393. package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
  394. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  395. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  396. package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
  397. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  398. package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
  399. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  400. package/mobile/dist/model/JSXBlock.d.ts +9 -2
  401. package/mobile/dist/model/LogoType.d.ts +3 -5
  402. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
  403. package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
  404. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  405. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  406. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  407. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  408. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  409. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  410. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  411. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  412. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  413. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  414. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
  415. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  416. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  417. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  418. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  419. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  420. package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
  421. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  422. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  423. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  424. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  425. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  426. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  427. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  428. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  429. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  430. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  431. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  432. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  433. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  434. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  435. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  436. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  437. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  438. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
  439. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  440. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  441. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  442. package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  443. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  444. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  445. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  446. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  447. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
  448. package/mobile/lib/components/Headline/Headline.js +2 -2
  449. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  450. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
  451. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  452. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  453. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  454. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  455. package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
  456. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  457. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  458. package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
  459. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  460. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  461. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  462. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  463. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  464. package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
  465. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  466. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  467. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  468. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  469. package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
  470. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  471. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  472. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  473. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  474. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  475. package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
  476. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  477. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  478. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  479. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  480. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  481. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  482. package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
  483. package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
  484. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  485. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  486. package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
  487. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  488. package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
  489. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  490. package/mobile/lib/model/JSXBlock.d.ts +9 -2
  491. package/mobile/lib/model/LogoType.d.ts +3 -5
  492. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
  493. package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
  494. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  495. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  496. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  497. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  498. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  499. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  500. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  501. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  502. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  503. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  504. package/mobile/src/components/Bonus/BonusContent.ts +8 -7
  505. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
  506. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  507. package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
  508. package/mobile/src/components/Carousel/Carousel.tsx +8 -1
  509. package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
  510. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  511. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  512. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  513. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  514. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  515. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  516. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  517. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  518. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  519. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  520. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  521. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  522. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  523. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  524. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  525. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
  526. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
  527. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  528. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  529. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  530. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  531. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  532. package/mobile/src/components/Header/HeaderContent.ts +3 -4
  533. package/mobile/src/components/Headline/Headline.tsx +5 -3
  534. package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
  535. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  536. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  537. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  538. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  539. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
  540. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  541. package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
  542. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  543. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  544. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  545. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  546. package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
  547. package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
  548. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
  549. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  550. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
  551. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
  552. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  553. package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
  554. package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
  555. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
  556. package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
  557. package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
  558. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  559. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  560. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  561. package/mobile/src/components/Tabs/TabsContent.ts +3 -2
  562. package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
  563. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
  564. package/mobile/src/components/Tile/TileContent.ts +3 -3
  565. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  566. package/mobile/src/components/Video/VideoContent.ts +18 -16
  567. package/mobile/src/model/HeadlineType.ts +5 -0
  568. package/mobile/src/model/JSXBlock.ts +10 -2
  569. package/mobile/src/model/LogoType.ts +3 -5
  570. package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
  571. package/mobile/src/ui-kit/BlockWrapper.tsx +16 -3
  572. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  573. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  574. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  575. package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
  576. package/package.json +1 -1
  577. package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  578. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  579. package/src/components/Bonus/BonusContent.ts +8 -7
  580. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
  581. package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  582. package/src/components/CardTransfer/CardTransferContent.ts +3 -1
  583. package/src/components/Carousel/Carousel.tsx +8 -1
  584. package/src/components/Carousel/CarouselContent.ts +4 -2
  585. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  586. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  587. package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  588. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  589. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  590. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  591. package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  592. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
  593. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  594. package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  595. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  596. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  597. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  598. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  599. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  600. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  601. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
  602. package/src/components/ComparisonTable/TableRow.tsx +3 -2
  603. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  604. package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  605. package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  606. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  607. package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  608. package/src/components/Header/HeaderContent.ts +3 -4
  609. package/src/components/Headline/Headline.tsx +5 -3
  610. package/src/components/Headline/HeadlineContent.ts +9 -8
  611. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  612. package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  613. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  614. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  615. package/src/components/LikeControl/LikeControl.tsx +2 -1
  616. package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  617. package/src/components/LinkList/LinkListContent.ts +3 -2
  618. package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  619. package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  620. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  621. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  622. package/src/components/PictureText/PictureTextContent.ts +29 -28
  623. package/src/components/PictureText/renderBenefit.tsx +1 -1
  624. package/src/components/Placeholder/PlaceholderContent.ts +2 -1
  625. package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  626. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
  627. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  628. package/src/components/ProductGallery/ProductGallery.tsx +3 -4
  629. package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  630. package/src/components/ProductTile/ProductTileContent.ts +10 -6
  631. package/src/components/PromoTile/PromoTileContent.ts +3 -3
  632. package/src/components/Recommendation/RecommendationContent.ts +6 -6
  633. package/src/components/RollupItem/RollupItem.tsx +5 -3
  634. package/src/components/RollupItem/RollupItemContent.ts +8 -8
  635. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  636. package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  637. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  638. package/src/components/Tabs/TabsContent.ts +3 -2
  639. package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
  640. package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
  641. package/src/components/TextBlock/TextBlock.tsx +12 -39
  642. package/src/components/TextBlock/TextBlockContent.ts +4 -4
  643. package/src/components/Tile/TileContent.ts +3 -3
  644. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
  645. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  646. package/src/components/Video/VideoContent.ts +18 -16
  647. package/src/model/HeadlineType.ts +5 -0
  648. package/src/model/JSXBlock.ts +10 -2
  649. package/src/model/LogoType.ts +3 -5
  650. package/src/services/sitemap/SitemapProps.ts +2 -4
  651. package/src/ui-kit/BlockWrapper.tsx +16 -3
  652. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  653. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  654. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  655. package/src/ui-kit/Text/TextProps.ts +1 -1
  656. package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  657. package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  658. package/dist/components/RollupItem/RollupItemProps.js +0 -2
  659. package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  660. package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  661. package/lib/components/RollupItem/RollupItemProps.js +0 -2
  662. package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  663. package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  664. package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  665. package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
  666. package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  667. package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  668. package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
  669. package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  670. package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
  671. package/src/components/RollupItem/RollupItemProps.ts +0 -4
@@ -1,4 +1,5 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  /**
4
5
  * @title Группа
@@ -33,7 +34,7 @@ export declare type TabsMode = 'wideScreen' | 'scrollable';
33
34
  /**
34
35
  * @title Вкладки
35
36
  */
36
- export interface TabsContent {
37
+ export declare type TabsContent = UniBlockContent & {
37
38
  /** @title Табы */
38
39
  tabs?: TabData[];
39
40
  /** @title Закрепить сверху */
@@ -45,4 +46,4 @@ export interface TabsContent {
45
46
  * @default "wideScreen"
46
47
  */
47
48
  tabsMode?: TabsMode;
48
- }
49
+ };
@@ -1,5 +1,5 @@
1
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
- import type { Picture } from '../../model/Picture';
2
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
3
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
4
4
  /**
5
5
  * @title Цвет блока
@@ -10,14 +10,14 @@ export declare type TextBlockVersion = 'primary' | 'secondary' | 'secondary-ligh
10
10
  * @title Размер иконки
11
11
  * @enumNames ["Нет", "Маленькая", "Большая"]
12
12
  */
13
- export declare type TextBlockIconVersion = 'none' | 'small' | 'big';
13
+ declare type TextBlockIconVersion = 'none' | 'small' | 'big';
14
14
  /**
15
15
  * @title Текстовый блок
16
16
  */
17
- export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & {
17
+ export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & ImageContent & {
18
18
  iconVersion?: TextBlockIconVersion;
19
- image?: Picture;
20
19
  blockVersion?: TextBlockVersion;
21
20
  /** @title Буллиты */ isDotted?: boolean;
22
21
  /** @title Список (моб.) */ items?: string[];
23
22
  };
23
+ export {};
@@ -1,4 +1,4 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
@@ -9,7 +9,7 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
9
9
  /**
10
10
  * @title Плитка
11
11
  */
12
- export declare type TileContent = HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & {
12
+ export declare type TileContent = UniBlockContent & HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & {
13
13
  /**
14
14
  * @default {
15
15
  * "format": "webp",
@@ -31,5 +31,4 @@ export declare type TileContent = HeadingCommonProps & RichTextProps & ListConte
31
31
  */
32
32
  isDotted?: boolean;
33
33
  listItemSize?: ListItemSize;
34
- version?: BlockVersion;
35
34
  };
@@ -1,17 +1,16 @@
1
1
  import type { AlignTypeWithStretch } from '../../model/AlignType';
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { ColorPalette } from '../../model/ContentPageDef';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
5
5
  /**
6
6
  * @title Вертикальный компоновщик
7
7
  */
8
- export interface VerticalLayoutContent {
8
+ export declare type VerticalLayoutContent = UniBlockContent & {
9
9
  colorPalette?: ColorPalette;
10
- version?: BlockVersion;
11
10
  align?: AlignTypeWithStretch;
12
11
  gap?: GapVersion;
13
12
  /** @title Внутренний отступ компоновщика */
14
13
  isPadding?: boolean;
15
14
  /** @title Отступы вложенных компонентов */
16
15
  isInnerPadding?: boolean;
17
- }
16
+ };
@@ -1,4 +1,5 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { Picture } from '../../model/Picture';
3
4
  /**
4
5
  * @title Блок Видео
@@ -6,7 +7,7 @@ import type { Picture } from '../../model/Picture';
6
7
  * "title": "Заголовок блока"
7
8
  * }
8
9
  */
9
- export interface VideoContent extends TitleProps {
10
+ export declare type VideoContent = UniBlockContent & TitleProps & {
10
11
  /**
11
12
  * @title Ссылка на видео
12
13
  */
@@ -21,4 +22,4 @@ export interface VideoContent extends TitleProps {
21
22
  * }
22
23
  */
23
24
  previewImg?: Picture;
24
- }
25
+ };
@@ -20,6 +20,10 @@ export declare type LabelProps = {
20
20
  /** @title Название */
21
21
  label?: string;
22
22
  };
23
+ export declare type AdditionalDescriptionProps = {
24
+ /** @title Дополнительное описание */
25
+ additionalDescription?: string;
26
+ };
23
27
  export declare type HeadlineCommonProps = TitleProps & DescriptionProps;
24
28
  export declare type HeadlineProps = HeadlineCommonProps & {
25
29
  headlineVersion?: HeadlineVersion;
@@ -4,12 +4,19 @@ import type { SlotName } from './BlockDecorator';
4
4
  import type { BlockVersion } from './BlockVersion';
5
5
  import type { BlockDef } from './ContentPageDef';
6
6
  import type { VNode } from './VNode';
7
- export interface UniBlockProps {
7
+ export interface UniBlockProps extends UniBlockContent {
8
8
  className?: string;
9
- version?: BlockVersion;
10
9
  block?: BlockDef;
11
10
  options?: BlockRendererOptions;
12
11
  }
12
+ export interface UniBlockContent {
13
+ version?: BlockVersion;
14
+ /**
15
+ * @title Наследование темы
16
+ * @default true
17
+ */
18
+ isTheme?: boolean;
19
+ }
13
20
  export declare type JSXBlock<BlockProps extends UniBlockProps = UniBlockProps> = UNIComponent<BlockProps, any, VNode | VNode[]> & {
14
21
  childrenTypes?: string[] | {
15
22
  include?: string[];
@@ -1,5 +1,3 @@
1
- import type { Picture } from './Picture';
2
- export declare type LogoType = {
3
- image?: Picture;
4
- title?: string;
5
- };
1
+ import type { ImageContent } from '../ui-kit/Img/ImgProps';
2
+ import type { TitleProps } from './HeadlineType';
3
+ export declare type LogoType = ImageContent & TitleProps;
@@ -1,6 +1,6 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { LogoType } from '../../model/LogoType';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { IconProps, Picture } from '../../model/Picture';
4
4
  /**
5
5
  * @title Ссылка
6
6
  * @required ["text", "href"]
@@ -21,9 +21,7 @@ export interface DispositionItem extends LinkProps {
21
21
  * @title Представительства за рубежом
22
22
  * @required ["text", "href"]
23
23
  */
24
- export interface ForeignOffice extends LinkProps {
25
- icon?: Picture;
26
- }
24
+ export declare type ForeignOffice = LinkProps & IconProps;
27
25
  export interface SitemapDataProps {
28
26
  topItems?: TopMenuItem[];
29
27
  dispositions?: DispositionItem[];
@@ -1,10 +1,9 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
2
  import type { SwipeContainerProps } from './SwipeListControlProps';
3
3
  /**
4
4
  * @title Swipe-контроллер
5
5
  */
6
- export interface SwipeListControlContent extends SwipeContainerProps {
6
+ export declare type SwipeListControlContent = UniBlockContent & SwipeContainerProps & {
7
7
  /** @title Точки-индикаторы */
8
8
  showDots?: boolean;
9
- version?: BlockVersion;
10
- }
9
+ };
@@ -1,3 +1,4 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
1
2
  import type { SwipeListControlType } from './SwipeListControlProps';
2
3
  interface SwipeListControlDotsProps {
3
4
  containerRef?: {
@@ -6,6 +7,7 @@ interface SwipeListControlDotsProps {
6
7
  activeIndex?: number;
7
8
  dotCount?: number;
8
9
  listType?: SwipeListControlType;
10
+ version?: BlockVersion;
9
11
  }
10
12
  export declare const SwipeListControlDots: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlDotsProps, any, any>;
11
13
  export {};
@@ -1,4 +1,4 @@
1
- import { BlockVersionMolecule } from '../../model/BlockVersion';
1
+ import type { BlockVersionMolecule } from '../../model/BlockVersion';
2
2
  /**
3
3
  * @title Размер текста
4
4
  */
@@ -1,5 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { LinkProps } from '../../model/LinkProps';
4
5
  import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
5
6
  /**
@@ -16,7 +17,7 @@ export interface SubmitButtonProps extends ButtonAdditionalProps {
16
17
  /**
17
18
  * @title Форма заявки
18
19
  */
19
- export declare type ApplicationFormContent = TitleProps & {
20
+ export declare type ApplicationFormContent = UniBlockContent & TitleProps & {
20
21
  /**
21
22
  * @title Вид заявки
22
23
  * @default credit
@@ -1,6 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
3
2
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { IconProps } from '../../model/Picture';
5
5
  /**
6
6
  * @title Пункты описания
@@ -41,12 +41,10 @@ export declare type BenefitBlockItemProps = LabelProps & IconProps & {
41
41
  /**
42
42
  * @title Блок преимущества
43
43
  */
44
- export declare type BenefitsBlockContent = TitleProps & {
44
+ export declare type BenefitsBlockContent = UniBlockContent & TitleProps & {
45
45
  /**
46
46
  * @title Список преимуществ
47
47
  * @maxItems 6
48
48
  */
49
49
  benefitList?: BenefitBlockItemProps[];
50
- /** @default primary */
51
- version?: BlockVersion;
52
50
  };
@@ -1,14 +1,14 @@
1
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
6
  /**
6
7
  * @title Изображение
7
8
  */
8
- export declare type BonusImageDef = {
9
+ export declare type BonusImageDef = ImageContent & {
9
10
  /** @default image */
10
11
  bonusType?: 'image';
11
- image?: Picture;
12
12
  };
13
13
  /**
14
14
  * @title Баллы
@@ -40,7 +40,7 @@ export declare type BonusItem = HeadlineCommonProps & {
40
40
  /**
41
41
  * @title Блок Бонусы
42
42
  */
43
- export declare type BonusContent = HeadlineCommonProps & {
43
+ export declare type BonusContent = UniBlockContent & HeadlineCommonProps & {
44
44
  /** @title Список плиток */
45
45
  bonusItems?: BonusItem[];
46
46
  };
@@ -1,5 +1,6 @@
1
1
  import type { AlignType } from '../../model/AlignType';
2
2
  import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { IconProps } from '../../model/Picture';
4
5
  /**
5
6
  * @title Количество элементов в строке
@@ -17,7 +18,7 @@ export declare type BonusBenefit = LabelProps & IconProps & DescriptionProps;
17
18
  /**
18
19
  * @title Блок бонусов и преимуществ
19
20
  */
20
- export declare type BonusBenefitsBlockContent = TitleProps & {
21
+ export declare type BonusBenefitsBlockContent = UniBlockContent & TitleProps & {
21
22
  /** @title Подзаголовок */
22
23
  subtitle?: string;
23
24
  /** @title Список бонусов */
@@ -1,14 +1,14 @@
1
- import type { IconProps, Picture } from '../../model/Picture';
1
+ import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
2
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
6
  /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
4
7
  export declare type BusinessCardItemProps = IconProps & {
5
8
  /** @title Текст */
6
9
  text?: string;
7
10
  };
8
- export interface BusinessCardProps {
9
- /** @title Заголовок карточки */
10
- title?: string;
11
- image?: Picture;
11
+ export declare type BusinessCardProps = TitleProps & ImageContent & {
12
12
  /** @title Список */
13
13
  cardItems?: BusinessCardItemProps[];
14
14
  /**
@@ -17,17 +17,15 @@ export interface BusinessCardProps {
17
17
  * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
18
18
  */
19
19
  button?: ButtonWithIconProps;
20
- }
20
+ };
21
21
  /**
22
22
  * @title Бизнес блок
23
23
  */
24
- export interface BusinessBlockContent {
25
- /** @title Заголовок блока */
26
- title?: string;
24
+ export declare type BusinessBlockContent = UniBlockContent & TitleProps & {
27
25
  /**
28
26
  * @title Карточки
29
27
  * @minItems 2
30
28
  * @maxItems 2
31
29
  */
32
30
  cards?: BusinessCardProps[];
33
- }
31
+ };
@@ -1,9 +1,10 @@
1
1
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
4
  /**
4
5
  * @title Перевод с карты на карту
5
6
  */
6
- export declare type CardTransferContent = LabelProps & TitleProps & {
7
+ export declare type CardTransferContent = UniBlockContent & LabelProps & TitleProps & {
7
8
  /** @title Плейсхолдер */
8
9
  placeholder?: string;
9
10
  button?: ButtonProps;
@@ -21,7 +21,7 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
21
21
  isCyclic,
22
22
  });
23
23
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
24
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
24
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
25
25
  ? (0, renderChildren_1.renderChildren)({
26
26
  ...rest,
27
27
  options: {
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;AAMhE,MAAM,SAAS,GAAG,CAAC,CAAC;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AAqB,aAClC,uBAAC,uCAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAC,YAAY,EACtB,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,YAExD,qBAAqB;wBACpB,CAAC,CAAC,IAAA,+BAAc,EAAC;4BACb,GAAG,IAAI;4BACP,OAAO,EAAE;gCACP,GAAG,OAAO;gCACV,UAAU,EAAE;oCACV,YAAY,EAAE,WAAW,EAAE,MAAM;oCACjC,WAAW,EAAE,WAAW;iCACzB;6BACF;yBACF,CAAC;wBACJ,CAAC,CAAC,IAAA,+BAAc,EAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACrB,EACrB,uBAAC,6CAAqB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,yFAAsF;AACtF,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EAC1B,sEAAsE,EACtE,SAAS,CACV,KACG,IAAI,YAER,iCAAK,SAAS,EAAC,qBAAqB,aAClC,uBAAC,uCAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAC,YAAY,EACtB,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,YAExD,qBAAqB;wBACpB,CAAC,CAAC,IAAA,+BAAc,EAAC;4BACb,GAAG,IAAI;4BACP,OAAO,EAAE;gCACP,GAAG,OAAO;gCACV,UAAU,EAAE;oCACV,YAAY,EAAE,WAAW,EAAE,MAAM;oCACjC,WAAW,EAAE,WAAW;iCACzB;6BACF;yBACF,CAAC;wBACJ,CAAC,CAAC,IAAA,+BAAc,EAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACrB,EACrB,uBAAC,6CAAqB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
1
2
  /**
2
3
  * @title Карусель
3
4
  */
4
- export interface CarouselContent {
5
+ export declare type CarouselContent = UniBlockContent & {
5
6
  /**
6
7
  * @title Количество видимых карточек
7
8
  * @enumNames ["auto", "1", "2", "3"]
@@ -18,4 +19,4 @@ export interface CarouselContent {
18
19
  isCyclic?: boolean;
19
20
  /** @title Внутренний отступ */
20
21
  isPadding?: boolean;
21
- }
22
+ };
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const style_1 = require("../../utils/style");
7
7
  const Headline_1 = require("../Headline/Headline");
8
- exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, blocksLength = 0, activeIndex, options, ...rest }) => {
8
+ exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, blocksLength = 0, activeIndex, options }) => {
9
9
  const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
10
10
  const isActive = orderNumber === activeIndex;
11
11
  return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: "flex h-[485px]", children: isActive ? ((0, jsx_runtime_1.jsx)("div", { className: "relative flex items-center w-full", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: (0, style_1.style)('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : ((0, jsx_runtime_1.jsx)("div", { className: "flex w-full items-center justify-center", children: (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: (0, jsx_runtime_1.jsx)("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAw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C;QAC3B,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC;QAC1B,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAE3B;YACE,OAAO,iBAAiB,CAAC;KAC5B;AACH,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC3C,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QACzC,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QAEzC;YACE,OAAO,8BAA8B,CAAC;KACzC;AACH,CAAC,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,YAAoB,EAAE,EAAE;IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,mDAAgD;AAQnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,u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B,GAAG,CAAC,WAAmB,EAAE,YAAoB,EAAE,EAAE;IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
1
3
  /**
2
4
  * @title Карточка карусели истории банка
3
5
  */
4
- export interface CarouselBankHistoryCardContent {
5
- /** @title Заголовок */
6
- title?: string;
7
- /** @title Описание */
8
- description?: string;
9
- }
6
+ export declare type CarouselBankHistoryCardContent = UniBlockContent & HeadlineCommonProps;
@@ -1,10 +1,11 @@
1
- import type { SizeVersion } from '../../model/SizeVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { SizeVersion } from '../../model/SizeVersion';
3
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
5
  /**
5
6
  * @title Карточка карусели
6
7
  */
7
- export interface CarouselCardContent extends HeadlineCommonProps {
8
+ export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
8
9
  /**
9
10
  * @title Кнопка
10
11
  * @default {
@@ -14,4 +15,4 @@ export interface CarouselCardContent extends HeadlineCommonProps {
14
15
  */
15
16
  button?: ButtonWithIconProps;
16
17
  carouselVersion?: SizeVersion;
17
- }
18
+ };
@@ -1,12 +1,12 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
6
  /**
7
7
  * @title Карточка каталога
8
8
  */
9
- export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageContent & {
9
+ export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & {
10
10
  /** @title Цена в рублях */
11
11
  price?: number;
12
12
  /** @title Доступные цвета */
@@ -19,5 +19,4 @@ export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageCont
19
19
  * }
20
20
  */
21
21
  button?: ButtonWithIconProps;
22
- version?: BlockVersion;
23
22
  };
@@ -1,9 +1,8 @@
1
1
  import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkCommonProps } from '../../model/LinkProps';
3
- import type { Picture } from '../../model/Picture';
4
+ import type { IconProps } from '../../model/Picture';
4
5
  /**
5
6
  * @title Карточка мероприятия в карусели
6
7
  */
7
- export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
8
- icon?: Picture;
9
- };
8
+ export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  /**
5
5
  * @title Количество колонок
@@ -18,9 +18,7 @@ export interface CardsListItem {
18
18
  /**
19
19
  * @title Карточка галереи инвестиций
20
20
  */
21
- export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
22
- /** @title Доп. описание карточки */
23
- additionalDescription?: string;
21
+ export declare type CarouselInvestmentCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
24
22
  /** @default 1 */
25
23
  columnsMode?: CardColumnsMode;
26
24
  /**
@@ -42,5 +40,4 @@ export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
42
40
  * }
43
41
  */
44
42
  image?: Picture;
45
- version?: BlockVersion;
46
- }
43
+ };
@@ -8,12 +8,12 @@ const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
8
8
  const Carousel_1 = require("../Carousel/Carousel");
9
9
  const Headline_1 = require("../Headline/Headline");
10
10
  const MAX_LINKS_COUNT = 10;
11
- exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, version = 'secondary', ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, version: version, ...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, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), 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: `flex w-full p-10 overflow-hidden justify-between ${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, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), 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] }));
13
13
  });
14
14
  const renderLinks = (links) => {
15
15
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
16
- return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { version: "", 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
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
17
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
18
18
  .map((link, index) => ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D,mDAAgD;AAChD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,qBAAqB,EACrB,WAAW,EACX,KAAK,EACL,KAAK,EACL,OAAO,GAAG,WAAW,EACrB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,oDAAoD,SAAS,EAAE,EAC1E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aACnE,uBAAC,mBAAQ,IACP,SAAS,EAAC,KAAK,EACf,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,E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,SAAS,EAAC,+DAA+D,YAExE,KAAK;iBACH,KAAK,CAAC,UAAU,GAAG,eAAe,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;iBACvE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpB,uBAAC,uBAAU,IAAqB,SAAS,EAAC,KAAK,KAAK,IAAI,IAAvC,MAAM,CAAC,KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  /** @title Карусель с ссылками */
4
- export interface CarouselLinksContent extends HeadlineCommonProps {
5
- /** @title Дополнительное описание */
6
- additionalDescription?: string;
5
+ export declare type CarouselLinksContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
7
6
  /** @title Ссылки */
8
7
  links?: LinkProps[];
9
- }
8
+ };
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { HeadlineSmallProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineSmallProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { TextAlign } from '../../ui-kit/Text/TextProps';
@@ -13,9 +13,7 @@ export interface ListProps {
13
13
  /**
14
14
  * @title Карточка продуктовой карусели
15
15
  */
16
- export declare type CarouselProductCardContent = HeadlineSmallProps & {
17
- /** @title Дополнительное описание */
18
- additionalDescription?: string;
16
+ export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & {
19
17
  /**
20
18
  * @default {
21
19
  * "format": "webp",
@@ -40,7 +38,6 @@ export declare type CarouselProductCardContent = HeadlineSmallProps & {
40
38
  isDotted?: boolean;
41
39
  /** @title Список */
42
40
  items?: ListProps[];
43
- version?: BlockVersion;
44
41
  /**
45
42
  * @title Выравнивание
46
43
  * @default text-center
@@ -1,12 +1,10 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
3
- import type { Picture } from '../../model/Picture';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
4
4
  /**
5
5
  * @title Карточка программ карусели
6
6
  */
7
- export declare type CarouselProgramsCardContent = TitleProps & {
8
- icon?: Picture;
7
+ export declare type CarouselProgramsCardContent = UniBlockContent & TitleProps & IconProps & {
9
8
  /** @title Список */
10
9
  list?: HeadlineCommonProps[];
11
- version?: BlockVersion;
12
10
  };