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

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 (805) hide show
  1. package/bin/migration-scripts/0.8.17.js +27 -0
  2. package/bin/migration-scripts/0.8.23.js +31 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +83 -58
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  7. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  8. package/bundle/components/Bonus/BonusContent.d.ts +4 -4
  9. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  10. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  11. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  12. package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  13. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  14. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  15. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  16. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  17. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  18. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  19. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  20. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  21. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  22. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  23. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  24. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  25. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  26. package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  27. package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  28. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  29. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  30. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  31. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  32. package/bundle/components/Header/HeaderContent.d.ts +3 -4
  33. package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  34. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  35. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  36. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  37. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  38. package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  39. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  40. package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  41. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  42. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  43. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  44. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  45. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  46. package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  47. package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  48. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  49. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  50. package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  51. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  52. package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  53. package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  54. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  55. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  56. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  57. package/bundle/components/Tabs/LinkTab.d.ts +1 -0
  58. package/bundle/components/Tabs/TabsContent.d.ts +3 -2
  59. package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  60. package/bundle/components/Tile/TileContent.d.ts +2 -3
  61. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  62. package/bundle/components/Video/VideoContent.d.ts +3 -2
  63. package/bundle/hooks/useBranches.d.ts +20 -0
  64. package/bundle/model/HeadlineType.d.ts +4 -0
  65. package/bundle/model/JSXBlock.d.ts +9 -2
  66. package/bundle/model/LogoType.d.ts +3 -5
  67. package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  68. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  69. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  70. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  71. package/bundle/ui-kit/TopItem/TopItem.d.ts +2 -1
  72. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  73. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  74. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  75. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  76. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  77. package/dist/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  78. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  79. package/dist/components/ApplicationForm/renderBankOffices.js.map +1 -1
  80. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  81. package/dist/components/Bonus/BonusContent.d.ts +4 -4
  82. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  83. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  84. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  85. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  86. package/dist/components/Calculator/getMonthlyPayment.js +4 -1
  87. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  88. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  89. package/dist/components/Carousel/Carousel.js +1 -1
  90. package/dist/components/Carousel/Carousel.js.map +1 -1
  91. package/dist/components/Carousel/CarouselContent.d.ts +3 -2
  92. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  93. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  94. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  95. package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  96. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  97. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  98. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  99. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  100. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  101. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  102. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  103. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  104. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  105. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  106. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  107. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  108. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  109. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  110. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  111. package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  112. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  113. package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  114. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  115. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  116. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  117. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  118. package/dist/components/Header/HeaderContent.d.ts +3 -4
  119. package/dist/components/Header/HeaderSecondaryMenu.js +7 -2
  120. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  121. package/dist/components/Headline/Headline.js +2 -2
  122. package/dist/components/Headline/Headline.js.map +1 -1
  123. package/dist/components/Headline/HeadlineContent.d.ts +3 -4
  124. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  125. package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  126. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  127. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  128. package/dist/components/LikeControl/LikeControl.d.ts +2 -1
  129. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  130. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  131. package/dist/components/LinkList/LinkListContent.d.ts +3 -2
  132. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  133. package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  134. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  135. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  136. package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  137. package/dist/components/PictureText/renderBenefit.d.ts +1 -1
  138. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  139. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  140. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  141. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  142. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  143. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  144. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  145. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  146. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  147. package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  148. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  149. package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  150. package/dist/components/RollupItem/RollupItem.d.ts +4 -2
  151. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  152. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  153. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  154. package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  155. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  156. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  157. package/dist/components/Tabs/LinkTab.d.ts +1 -0
  158. package/dist/components/Tabs/LinkTab.js +6 -2
  159. package/dist/components/Tabs/LinkTab.js.map +1 -1
  160. package/dist/components/Tabs/Tabs.js +15 -3
  161. package/dist/components/Tabs/Tabs.js.map +1 -1
  162. package/dist/components/Tabs/TabsContent.d.ts +3 -2
  163. package/dist/components/Tabs/renderTab.js +1 -1
  164. package/dist/components/Tabs/renderTab.js.map +1 -1
  165. package/dist/components/TextBlock/TextBlock.js +5 -11
  166. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  167. package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
  168. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  169. package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  170. package/dist/components/Tile/TileContent.d.ts +2 -3
  171. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  172. package/dist/components/Video/VideoContent.d.ts +3 -2
  173. package/dist/hooks/useBranches.d.ts +20 -0
  174. package/dist/hooks/useBranches.js +16 -0
  175. package/dist/hooks/useBranches.js.map +1 -0
  176. package/dist/model/HeadlineType.d.ts +4 -0
  177. package/dist/model/JSXBlock.d.ts +9 -2
  178. package/dist/model/LogoType.d.ts +3 -5
  179. package/dist/services/sitemap/SitemapProps.d.ts +2 -4
  180. package/dist/ui-kit/BlockWrapper.js +3 -6
  181. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  182. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  183. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  184. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  185. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  186. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  187. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  188. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  189. package/dist/ui-kit/TopItem/TopItem.d.ts +2 -1
  190. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  191. package/lib/common.css +1 -1
  192. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  193. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  194. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  195. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  196. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  197. package/lib/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  198. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  199. package/lib/components/ApplicationForm/renderBankOffices.js.map +1 -1
  200. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  201. package/lib/components/Bonus/BonusContent.d.ts +4 -4
  202. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  203. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  204. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  205. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  206. package/lib/components/Calculator/getMonthlyPayment.js +4 -1
  207. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  208. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  209. package/lib/components/Carousel/Carousel.js +1 -1
  210. package/lib/components/Carousel/Carousel.js.map +1 -1
  211. package/lib/components/Carousel/CarouselContent.d.ts +3 -2
  212. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  213. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  214. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  215. package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  216. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  217. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  218. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  219. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  220. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  221. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  222. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  223. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  224. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  225. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  226. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  227. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  228. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  229. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  230. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  231. package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  232. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  233. package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  234. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  235. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  236. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  237. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  238. package/lib/components/Header/HeaderContent.d.ts +3 -4
  239. package/lib/components/Header/HeaderSecondaryMenu.js +7 -2
  240. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  241. package/lib/components/Headline/Headline.js +2 -2
  242. package/lib/components/Headline/Headline.js.map +1 -1
  243. package/lib/components/Headline/HeadlineContent.d.ts +3 -4
  244. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  245. package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  246. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  247. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  248. package/lib/components/LikeControl/LikeControl.d.ts +2 -1
  249. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  250. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  251. package/lib/components/LinkList/LinkListContent.d.ts +3 -2
  252. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  253. package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  254. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  255. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  256. package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  257. package/lib/components/PictureText/renderBenefit.d.ts +1 -1
  258. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  259. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  260. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  261. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  262. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  263. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  264. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  265. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  266. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  267. package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  268. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  269. package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  270. package/lib/components/RollupItem/RollupItem.d.ts +4 -2
  271. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  272. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  273. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  274. package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  275. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  276. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  277. package/lib/components/Tabs/LinkTab.d.ts +1 -0
  278. package/lib/components/Tabs/LinkTab.js +6 -2
  279. package/lib/components/Tabs/LinkTab.js.map +1 -1
  280. package/lib/components/Tabs/Tabs.js +15 -3
  281. package/lib/components/Tabs/Tabs.js.map +1 -1
  282. package/lib/components/Tabs/TabsContent.d.ts +3 -2
  283. package/lib/components/Tabs/renderTab.js +1 -1
  284. package/lib/components/Tabs/renderTab.js.map +1 -1
  285. package/lib/components/TextBlock/TextBlock.js +5 -11
  286. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  287. package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
  288. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  289. package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  290. package/lib/components/Tile/TileContent.d.ts +2 -3
  291. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  292. package/lib/components/Video/VideoContent.d.ts +3 -2
  293. package/lib/hooks/useBranches.d.ts +20 -0
  294. package/lib/hooks/useBranches.js +13 -0
  295. package/lib/hooks/useBranches.js.map +1 -0
  296. package/lib/model/HeadlineType.d.ts +4 -0
  297. package/lib/model/JSXBlock.d.ts +9 -2
  298. package/lib/model/LogoType.d.ts +3 -5
  299. package/lib/services/sitemap/SitemapProps.d.ts +2 -4
  300. package/lib/ui-kit/BlockWrapper.js +3 -6
  301. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  302. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  303. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  304. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  305. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  306. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  307. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  308. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  309. package/lib/ui-kit/TopItem/TopItem.d.ts +2 -1
  310. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  311. package/mobile/bundle/bundle.umd.js +16 -40
  312. package/mobile/bundle/bundle.umd.min.js +1 -1
  313. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  314. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  315. package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
  316. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  317. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  318. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  319. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  320. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  321. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  322. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  323. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  324. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  325. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  326. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  327. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  328. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  329. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  330. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  331. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  332. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
  333. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  334. package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  335. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  336. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  337. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  338. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  339. package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
  340. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  341. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  342. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  343. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  344. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  345. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  346. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  347. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  348. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  349. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  350. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  351. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  352. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  353. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  354. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  355. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  356. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  357. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  358. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  359. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  360. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  361. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  362. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  363. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  364. package/mobile/bundle/components/Tabs/LinkTab.d.ts +1 -0
  365. package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
  366. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  367. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
  368. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  369. package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
  370. package/mobile/bundle/hooks/useBranches.d.ts +20 -0
  371. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  372. package/mobile/bundle/model/JSXBlock.d.ts +9 -2
  373. package/mobile/bundle/model/LogoType.d.ts +3 -5
  374. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  375. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  376. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  377. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  378. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +2 -1
  379. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  380. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  381. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  382. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  383. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  384. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  385. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  386. package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +1 -1
  387. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  388. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
  389. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  390. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  391. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  392. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  393. package/mobile/dist/components/Calculator/getMonthlyPayment.js +4 -1
  394. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  395. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  396. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  397. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  398. package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
  399. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  400. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  401. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  402. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  403. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  404. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  405. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  406. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  407. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  408. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  409. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  410. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  411. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  412. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  413. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  414. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  415. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  416. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
  417. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  418. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  419. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  420. package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  421. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  422. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  423. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  424. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  425. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
  426. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -2
  427. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  428. package/mobile/dist/components/Headline/Headline.js +2 -2
  429. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  430. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
  431. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  432. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  433. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  434. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  435. package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
  436. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  437. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  438. package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
  439. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  440. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  441. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  442. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  443. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  444. package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
  445. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  446. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  447. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  448. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  449. package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
  450. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  451. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  452. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  453. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  454. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  455. package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
  456. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  457. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  458. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  459. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  460. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  461. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  462. package/mobile/dist/components/Tabs/LinkTab.d.ts +1 -0
  463. package/mobile/dist/components/Tabs/LinkTab.js +6 -2
  464. package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
  465. package/mobile/dist/components/Tabs/Tabs.js +15 -3
  466. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  467. package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
  468. package/mobile/dist/components/Tabs/renderTab.js +1 -1
  469. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  470. package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
  471. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  472. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  473. package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
  474. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  475. package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
  476. package/mobile/dist/hooks/useBranches.d.ts +20 -0
  477. package/mobile/dist/hooks/useBranches.js +16 -0
  478. package/mobile/dist/hooks/useBranches.js.map +1 -0
  479. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  480. package/mobile/dist/model/JSXBlock.d.ts +9 -2
  481. package/mobile/dist/model/LogoType.d.ts +3 -5
  482. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
  483. package/mobile/dist/ui-kit/BlockWrapper.js +3 -6
  484. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  485. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  486. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  487. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  488. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  489. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  490. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  491. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  492. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +2 -1
  493. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  494. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  495. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  496. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  497. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  498. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  499. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  500. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  501. package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +1 -1
  502. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  503. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
  504. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  505. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  506. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  507. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  508. package/mobile/lib/components/Calculator/getMonthlyPayment.js +4 -1
  509. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  510. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  511. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  512. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  513. package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
  514. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  515. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  516. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  517. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  518. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  519. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  520. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  521. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  522. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  523. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  524. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  525. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  526. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  527. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  528. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  529. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  530. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  531. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
  532. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  533. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  534. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  535. package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  536. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  537. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  538. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  539. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  540. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
  541. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +7 -2
  542. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  543. package/mobile/lib/components/Headline/Headline.js +2 -2
  544. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  545. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
  546. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  547. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  548. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  549. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  550. package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
  551. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  552. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  553. package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
  554. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  555. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  556. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  557. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  558. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  559. package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
  560. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  561. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  562. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  563. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  564. package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
  565. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  566. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  567. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  568. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  569. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  570. package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
  571. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  572. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  573. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  574. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  575. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  576. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  577. package/mobile/lib/components/Tabs/LinkTab.d.ts +1 -0
  578. package/mobile/lib/components/Tabs/LinkTab.js +6 -2
  579. package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
  580. package/mobile/lib/components/Tabs/Tabs.js +15 -3
  581. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  582. package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
  583. package/mobile/lib/components/Tabs/renderTab.js +1 -1
  584. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  585. package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
  586. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  587. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  588. package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
  589. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  590. package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
  591. package/mobile/lib/hooks/useBranches.d.ts +20 -0
  592. package/mobile/lib/hooks/useBranches.js +13 -0
  593. package/mobile/lib/hooks/useBranches.js.map +1 -0
  594. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  595. package/mobile/lib/model/JSXBlock.d.ts +9 -2
  596. package/mobile/lib/model/LogoType.d.ts +3 -5
  597. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
  598. package/mobile/lib/ui-kit/BlockWrapper.js +3 -6
  599. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  600. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  601. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  602. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  603. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  604. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  605. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  606. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  607. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +2 -1
  608. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  609. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  610. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  611. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  612. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  613. package/mobile/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  614. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  615. package/mobile/src/components/Bonus/BonusContent.ts +8 -7
  616. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +16 -8
  617. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -3
  618. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +17 -10
  619. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  620. package/mobile/src/components/Calculator/getMonthlyPayment.ts +3 -1
  621. package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
  622. package/mobile/src/components/Carousel/Carousel.tsx +8 -1
  623. package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
  624. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  625. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  626. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  627. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  628. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  629. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  630. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  631. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  632. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  633. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  634. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  635. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  636. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  637. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  638. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  639. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
  640. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
  641. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  642. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  643. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  644. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  645. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  646. package/mobile/src/components/Header/HeaderContent.ts +3 -4
  647. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +9 -2
  648. package/mobile/src/components/Headline/Headline.tsx +5 -3
  649. package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
  650. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  651. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  652. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  653. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  654. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
  655. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  656. package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
  657. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  658. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  659. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  660. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  661. package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
  662. package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
  663. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
  664. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  665. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
  666. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
  667. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  668. package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
  669. package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
  670. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
  671. package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
  672. package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
  673. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  674. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  675. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  676. package/mobile/src/components/Tabs/LinkTab.tsx +8 -2
  677. package/mobile/src/components/Tabs/Tabs.tsx +18 -3
  678. package/mobile/src/components/Tabs/TabsContent.ts +3 -2
  679. package/mobile/src/components/Tabs/renderTab.tsx +7 -1
  680. package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
  681. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
  682. package/mobile/src/components/Tile/TileContent.ts +3 -3
  683. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  684. package/mobile/src/components/Video/VideoContent.ts +18 -16
  685. package/mobile/src/hooks/useBranches.ts +43 -0
  686. package/mobile/src/model/HeadlineType.ts +5 -0
  687. package/mobile/src/model/JSXBlock.ts +10 -2
  688. package/mobile/src/model/LogoType.ts +3 -5
  689. package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
  690. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -9
  691. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  692. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  693. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  694. package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
  695. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  696. package/package.json +1 -1
  697. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  698. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  699. package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  700. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  701. package/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  702. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  703. package/src/components/Bonus/BonusContent.ts +8 -7
  704. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +16 -8
  705. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +8 -8
  706. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -3
  707. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +17 -10
  708. package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  709. package/src/components/Calculator/getMonthlyPayment.ts +3 -1
  710. package/src/components/CardTransfer/CardTransferContent.ts +3 -1
  711. package/src/components/Carousel/Carousel.tsx +8 -1
  712. package/src/components/Carousel/CarouselContent.ts +4 -2
  713. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  714. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  715. package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  716. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  717. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  718. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  719. package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  720. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
  721. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  722. package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  723. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  724. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  725. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  726. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  727. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  728. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  729. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
  730. package/src/components/ComparisonTable/TableRow.tsx +3 -2
  731. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  732. package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  733. package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  734. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  735. package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  736. package/src/components/Header/HeaderContent.ts +3 -4
  737. package/src/components/Header/HeaderSecondaryMenu.tsx +9 -2
  738. package/src/components/Headline/Headline.tsx +5 -3
  739. package/src/components/Headline/HeadlineContent.ts +9 -8
  740. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  741. package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  742. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  743. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  744. package/src/components/LikeControl/LikeControl.tsx +2 -1
  745. package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  746. package/src/components/LinkList/LinkListContent.ts +3 -2
  747. package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  748. package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  749. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  750. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  751. package/src/components/PictureText/PictureTextContent.ts +29 -28
  752. package/src/components/PictureText/renderBenefit.tsx +1 -1
  753. package/src/components/Placeholder/PlaceholderContent.ts +2 -1
  754. package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  755. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
  756. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  757. package/src/components/ProductGallery/ProductGallery.tsx +3 -4
  758. package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  759. package/src/components/ProductTile/ProductTileContent.ts +10 -6
  760. package/src/components/PromoTile/PromoTileContent.ts +3 -3
  761. package/src/components/Recommendation/RecommendationContent.ts +6 -6
  762. package/src/components/RollupItem/RollupItem.tsx +5 -3
  763. package/src/components/RollupItem/RollupItemContent.ts +8 -8
  764. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  765. package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  766. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  767. package/src/components/Tabs/LinkTab.tsx +8 -2
  768. package/src/components/Tabs/Tabs.tsx +18 -3
  769. package/src/components/Tabs/TabsContent.ts +3 -2
  770. package/src/components/Tabs/renderTab.tsx +7 -1
  771. package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
  772. package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
  773. package/src/components/TextBlock/TextBlock.tsx +12 -39
  774. package/src/components/TextBlock/TextBlockContent.ts +4 -4
  775. package/src/components/Tile/TileContent.ts +3 -3
  776. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
  777. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  778. package/src/components/Video/VideoContent.ts +18 -16
  779. package/src/hooks/useBranches.ts +43 -0
  780. package/src/model/HeadlineType.ts +5 -0
  781. package/src/model/JSXBlock.ts +10 -2
  782. package/src/model/LogoType.ts +3 -5
  783. package/src/services/sitemap/SitemapProps.ts +2 -4
  784. package/src/ui-kit/BlockWrapper.tsx +17 -9
  785. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  786. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  787. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  788. package/src/ui-kit/Text/TextProps.ts +1 -1
  789. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  790. package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  791. package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  792. package/dist/components/RollupItem/RollupItemProps.js +0 -2
  793. package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  794. package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  795. package/lib/components/RollupItem/RollupItemProps.js +0 -2
  796. package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  797. package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  798. package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  799. package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
  800. package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  801. package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  802. package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
  803. package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  804. package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
  805. package/src/components/RollupItem/RollupItemProps.ts +0 -4
@@ -1,6 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
3
- import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
2
+ import type { AdditionalDescriptionProps, DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { Picture } from '../../model/Picture';
5
5
  import type { RichTextItem } from '../../model/RichTextItem';
6
6
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
@@ -18,7 +18,7 @@ export declare type Benefit = TextBenefit | RichTextItem;
18
18
  /**
19
19
  * @title Продуктовая плитка
20
20
  */
21
- export declare type ProductTileContent = HeadlineProps & ButtonContent & {
21
+ export declare type ProductTileContent = UniBlockContent & HeadlineProps & AdditionalDescriptionProps & ButtonContent & {
22
22
  /**
23
23
  * @default {
24
24
  * "format": "webp",
@@ -34,14 +34,11 @@ export declare type ProductTileContent = HeadlineProps & ButtonContent & {
34
34
  * }
35
35
  */
36
36
  image?: Picture;
37
- version?: BlockVersion;
38
37
  /**
39
38
  * @title Преимущества
40
39
  * @maxItems 7
41
40
  */
42
41
  benefits?: Benefit[];
43
- /** @title Дополнительное описание */
44
- additionalDescription?: string;
45
42
  /** @title Картинка справа/текст слева */
46
43
  isImageOnRightSide?: boolean;
47
44
  };
@@ -1,12 +1,11 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { DescriptionProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
5
5
  /**
6
6
  * @title Акции
7
7
  */
8
- export declare type PromoTileContent = HeadingCommonProps & DescriptionProps & ButtonContent & {
8
+ export declare type PromoTileContent = UniBlockContent & HeadingCommonProps & DescriptionProps & ButtonContent & {
9
9
  /** @title Дата публикации */
10
10
  date?: string;
11
- version?: BlockVersion;
12
11
  };
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { LinkCommonProps } from '../../model/LinkProps';
4
4
  import type { Picture } from '../../model/Picture';
5
5
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
@@ -44,8 +44,7 @@ export interface RecommendationCardTypes extends HeadlineCommonProps, ListConten
44
44
  /**
45
45
  * @title Рекомендации
46
46
  */
47
- export interface RecommendationContent extends TitleProps {
47
+ export declare type RecommendationContent = UniBlockContent & TitleProps & {
48
48
  /** @title Карточки */
49
49
  recommendations?: RecommendationCardTypes[];
50
- version?: BlockVersion;
51
- }
50
+ };
@@ -1,3 +1,5 @@
1
- import type { JSXBlock } from '../../model/JSXBlock';
2
- import type { RollupItemProps } from './RollupItemProps';
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { RollupItemContent } from './RollupItemContent';
3
+ export interface RollupItemProps extends RollupItemContent, UniBlockProps {
4
+ }
3
5
  export declare const RollupItem: JSXBlock<RollupItemProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,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AAM,gBAAgB,GAAG,CAAC,EACxB,OAAO,EACP,KAAK,EAAE,YAAY,EACnB,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,MAAM,KAAK,GAAG,YAAY,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAErE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,CAC1F,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAQF,MAAM,uBAAuB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAA0B,EAAE,EAAE,CAAC,CACrF,kBACE,SAAS,EAAC,oHAAoH,EAC9H,OAAO,EAAE,QAAQ,aAEjB,eAAM,SAAS,EAAC,4BAA4B,YAAE,KAAK,GAAQ,EAC1D,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IACjF,CACV,CAAC"}
@@ -1,12 +1,11 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { LabelProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  /**
4
4
  * @title Сворачивающаяся секция
5
5
  */
6
- export declare type RollupItemContent = LabelProps & {
6
+ export declare type RollupItemContent = UniBlockContent & LabelProps & {
7
7
  /** @title Отображать в раскрытом виде */
8
8
  isExpanded?: boolean;
9
9
  /** @title Кнопка сверху */
10
10
  isFoldButtonOnTop?: boolean;
11
- version?: BlockVersion;
12
11
  };
@@ -1,6 +1,7 @@
1
1
  import type { Footnote } from '../../model/Footnote';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  /**
4
5
  * @title Аренда сейфовых ячеек
5
6
  */
6
- export declare type SafeDepositRentalContent = Footnote & TitleProps;
7
+ export declare type SafeDepositRentalContent = UniBlockContent & Footnote & TitleProps;
@@ -1,6 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
3
3
  import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
4
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
5
  import type { IconProps } from '../../model/Picture';
5
6
  import type { RichTextItem } from '../../model/RichTextItem';
6
7
  import type { SizeVersion } from '../../model/SizeVersion';
@@ -31,7 +32,7 @@ export declare type Step = DefaultStep | RichTextStep;
31
32
  /**
32
33
  * @title Блок шаги
33
34
  */
34
- export declare type StepsBlockContent = HeadlineCommonProps & {
35
+ export declare type StepsBlockContent = UniBlockContent & HeadlineCommonProps & {
35
36
  /**
36
37
  * @title Линии
37
38
  * @default true
@@ -51,6 +52,5 @@ export declare type StepsBlockContent = HeadlineCommonProps & {
51
52
  * @default normal
52
53
  */
53
54
  size?: SizeVersion;
54
- version?: BlockVersion;
55
55
  };
56
56
  export {};
@@ -3,8 +3,8 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
6
- export const SwipeListControlBlock = JSX(({ listType, showDots, options, ...rest }) => {
7
- return (_jsx(BlockWrapper, { ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, children: renderChildren({ ...rest, options }) }) }));
6
+ export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
7
+ return (_jsx(BlockWrapper, { version: version, ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
8
8
  });
9
9
  SwipeListControlBlock.childrenTypes = {
10
10
  exclude: ['SwipeListControlBlock'],
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,KAAC,YAAY,OAAK,IAAI,YACpB,KAAC,gBAAgB,IAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,YACrD,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACpB,GACN,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEL,qBAAqB,CAAC,aAAa,GAAG;IACpC,OAAO,EAAE,CAAC,uBAAuB,CAAC;CACnC,CAAC"}
1
+ {"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,KAAM,IAAI,YACtC,KAAC,gBAAgB,IAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,YACvE,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACpB,GACN,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEL,qBAAqB,CAAC,aAAa,GAAG;IACpC,OAAO,EAAE,CAAC,uBAAuB,CAAC;CACnC,CAAC"}
@@ -3,6 +3,7 @@ interface LinkTabProps {
3
3
  tab: LinkTabData;
4
4
  currentTab?: TabData;
5
5
  isScrollable?: boolean;
6
+ onClick: (tab: TabData) => void;
6
7
  }
7
8
  export declare const LinkTab: import("@redneckz/uni-jsx").UNIComponent<LinkTabProps, any, any>;
8
9
  export {};
@@ -3,10 +3,14 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useLink } from '../../hooks/useLink.js';
4
4
  import { getLinkTabClassName } from './tabItemClasses.js';
5
5
  export const LinkTab = JSX((props) => {
6
- const { tab, currentTab, isScrollable = false } = props;
6
+ const { tab, currentTab, onClick, isScrollable = false } = props;
7
7
  const active = currentTab?.type === 'link' && currentTab.href === tab.href;
8
8
  const link = useLink();
9
9
  const adjustedProps = link(tab);
10
- return (_jsx("a", { role: "tab", className: getLinkTabClassName('link', active, isScrollable), target: tab.target, href: adjustedProps.href, onClick: adjustedProps.onClick, children: _jsx("span", { className: getLinkTabClassName('text', active, isScrollable), children: tab.text }) }));
10
+ const handleClick = (ev) => {
11
+ adjustedProps.onClick(ev);
12
+ onClick(tab);
13
+ };
14
+ return (_jsx("a", { role: "tab", className: getLinkTabClassName('link', active, isScrollable), target: tab.target, href: adjustedProps.href, onClick: handleClick, children: _jsx("span", { className: getLinkTabClassName('text', active, isScrollable), children: tab.text }) }));
11
15
  });
12
16
  //# sourceMappingURL=LinkTab.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/LinkTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,YAAY,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IACxD,MAAM,MAAM,GAAG,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,UAAU,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,CAAC;IAE3E,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAEhC,OAAO,CACL,YACE,IAAI,EAAC,KAAK,EACV,SAAS,EAAE,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAC5D,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,IAAI,EAAE,aAAa,CAAC,IAAI,EACxB,OAAO,EAAE,aAAa,CAAC,OAAO,YAE9B,eAAM,SAAS,EAAE,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,YAAG,GAAG,CAAC,IAAI,GAAQ,GACnF,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"LinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/LinkTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAUvD,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IACjE,MAAM,MAAM,GAAG,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,UAAU,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,CAAC;IAE3E,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAEhC,MAAM,WAAW,GAAG,CAAC,EAAmC,EAAE,EAAE;QAC1D,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC1B,OAAO,CAAC,GAAG,CAAC,CAAC;IACf,CAAC,CAAC;IAEF,OAAO,CACL,YACE,IAAI,EAAC,KAAK,EACV,SAAS,EAAE,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAC5D,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,IAAI,EAAE,aAAa,CAAC,IAAI,EACxB,OAAO,EAAE,WAAW,YAEpB,eAAM,SAAS,EAAE,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,YAAG,GAAG,CAAC,IAAI,GAAQ,GACnF,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -8,15 +8,19 @@ import { ScrollableTabs } from './ScrollableTabs.js';
8
8
  export const Tabs = JSX((props) => {
9
9
  const { className = '', tabs, showCounter, isSticky, tabsMode, ...rest } = props;
10
10
  const [currentTab, setCurrentTab] = useState(tabs ? tabs[0] : undefined);
11
+ useEffect(() => {
12
+ if (!tabs || !tabs[0]) {
13
+ return;
14
+ }
15
+ fireTabEvent(tabs[0]);
16
+ }, []);
11
17
  useEffect(() => {
12
18
  if (currentTab?.type === 'group') {
13
19
  defaultEventBus.subject('tab', { type: currentTab.type, label: currentTab.ref });
14
20
  }
15
21
  }, [currentTab]);
16
22
  const handleClick = useCallback((selectedTab) => {
17
- if (selectedTab?.type === 'group') {
18
- defaultEventBus.fire('tab', { type: selectedTab.type, label: selectedTab.ref });
19
- }
23
+ fireTabEvent(selectedTab);
20
24
  setCurrentTab(selectedTab);
21
25
  }, []);
22
26
  return (_jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, role: "tablist", ...rest, children: tabsMode === 'scrollable' ? (_jsx(ScrollableTabs, { tabs: tabs, onClick: handleClick, currentTab: currentTab, showCounter: showCounter, ...rest })) : (tabs?.map(renderTab({
@@ -26,4 +30,12 @@ export const Tabs = JSX((props) => {
26
30
  ...rest,
27
31
  }))) }));
28
32
  });
33
+ const fireTabEvent = (tab) => {
34
+ if (tab.type === 'group') {
35
+ defaultEventBus.fire('tab', { type: tab.type, label: tab.ref });
36
+ }
37
+ if (tab.type === 'link') {
38
+ defaultEventBus.fire('tab', { type: tab.type, label: tab.href });
39
+ }
40
+ };
29
41
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,YA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,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;KACjE;IACD,IAAI,GAAG,CAAC,IAAI,KAAK,MAAM,EAAE;QACvB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;KAClE;AACH,CAAC,CAAC"}
@@ -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
+ };
@@ -11,7 +11,7 @@ export const renderTab = ({ page, currentTab, showCounter, onClick, isScrollable
11
11
  case 'group':
12
12
  return renderGroupTab({ page, currentTab, showCounter, onClick, isScrollable })(tab, i);
13
13
  case 'link': {
14
- return (_jsx(LinkTab, { tab: tab, currentTab: currentTab, isScrollable: isScrollable }, String(i)));
14
+ return (_jsx(LinkTab, { tab: tab, currentTab: currentTab, isScrollable: isScrollable, onClick: onClick }, String(i)));
15
15
  }
16
16
  default:
17
17
  assertUnreachable(type);
@@ -1 +1 @@
1
- {"version":3,"file":"renderTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderTab.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC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AC,IAAI,CAAC;IAEtB,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,MAAM,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,OAAO;YACV,OAAO,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAC1F,KAAK,MAAM,CAAC,CAAC;YACX,OAAO,CACL,KAAC,OAAO,IAEN,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,OAAO,IAJX,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;SACH;QACD;YACE,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAC3B;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
@@ -2,32 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Img } from '../../ui-kit/Img/Img.js';
4
4
  import { List } from '../../ui-kit/List/List.js';
5
- const textBlockStyleMaps = {
6
- primary: {
7
- background: 'bg-white',
8
- icon: 'bg-primary-main text-white',
9
- title: 'text-primary-text',
10
- description: 'text-secondary-text',
11
- },
12
- secondary: {
13
- background: 'bg-primary-main',
14
- icon: 'bg-white text-primary-main',
15
- title: 'text-white',
16
- description: 'text-white',
17
- },
18
- 'secondary-light': {
19
- background: 'bg-primary-main/10',
20
- icon: 'bg-primary-main text-white',
21
- title: 'text-primary-text',
22
- description: 'text-secondary-text',
23
- },
24
- };
25
- export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
26
- const textBlockStyleMap = textBlockStyleMaps[blockVersion];
27
- return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title ? (_jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (_jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (_jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted })) : null] })] }));
5
+ export const TextBlock = JSX(({ title, description, iconVersion, image, className = '', items, isDotted = true }) => {
6
+ return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${className}`, children: [iconVersion === 'small' ? renderIcon() : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5 text-secondary-text group-data-secondary:text-white", children: [title ? _jsx("div", { className: `text-l font-medium mb-1`, children: title }) : null, description ? _jsx("div", { className: `text-s `, children: description }) : null, items?.length ? (_jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted })) : null] })] }));
28
7
  });
29
- function renderIcon(className) {
30
- return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${className}`, children: "i" }) }));
8
+ function renderIcon() {
9
+ return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }) }));
31
10
  }
32
11
  function renderImage(image) {
33
12
  return image?.src ? _jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MA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,CAAC,CAAC,IAAI,EAClD,eAAK,SAAS,EAAC,4DAA4D,aACxE,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,yBAAyB,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EACvE,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,SAAS,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACnE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACnE,CAAC,CAAC,CAAC,IAAI,IACJ,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU;IACjB,OAAO,CACL,cAAK,SAAS,EAAC,MAAM,YACnB,cAAK,SAAS,EAAC,gJAAgJ,kBAEzJ,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5E,CAAC"}
@@ -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
+ };
@@ -0,0 +1,20 @@
1
+ export interface Tariff {
2
+ tariffType?: string;
3
+ tariffValue?: number;
4
+ }
5
+ export interface SafeBoxCase {
6
+ safeBoxCasesSize?: string;
7
+ tariffs?: Tariff[];
8
+ }
9
+ export interface SafeBoxCaseVolume {
10
+ volume?: string;
11
+ safeBoxCases?: SafeBoxCase[];
12
+ }
13
+ export interface Branch {
14
+ branchCode?: string;
15
+ address?: string;
16
+ gpsLatitude?: number;
17
+ gpsLongitude?: number;
18
+ safeBoxCaseVolumes?: SafeBoxCaseVolume[];
19
+ }
20
+ export declare function useBranches(regionCode?: string): Branch[];
@@ -0,0 +1,13 @@
1
+ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
+ import { fetchJSON } from '../utils/fetchJSON.js';
3
+ const BRANCHES_URL = '/api/v1/branches';
4
+ const EMPTY_VALUE = [];
5
+ export function useBranches(regionCode) {
6
+ const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
7
+ return data || EMPTY_VALUE;
8
+ }
9
+ const fetchSafeBoxes = async (url) => {
10
+ const result = await fetchJSON(url, { method: 'GET' });
11
+ return result || EMPTY_VALUE;
12
+ };
13
+ //# sourceMappingURL=useBranches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBranches.js","sourceRoot":"","sources":["../../src/hooks/useBranches.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAyB/C,MAAM,YAAY,GAAG,kBAAkB,CAAC;AACxC,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB,MAAM,UAAU,WAAW,CAAC,UAAmB;IAC7C,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,YAAY,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,EAC9D,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,WAAW,CAAC;AAC7B,CAAC;AAED,MAAM,cAAc,GAAG,KAAK,EAAE,GAAW,EAAqB,EAAE;IAC9D,MAAM,MAAM,GAAG,MAAM,SAAS,CAAW,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAEjE,OAAO,MAAM,IAAI,WAAW,CAAC;AAC/B,CAAC,CAAC"}
@@ -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[];
@@ -11,16 +11,13 @@ export const blockStyles = {
11
11
  transparent: 'bg-transparent text-primary-text',
12
12
  '': '',
13
13
  };
14
- export const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
14
+ export const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, isTheme = true, children, }) => {
15
15
  const Tag = tag;
16
16
  const ref = useBlockIntersectionObserver(block);
17
17
  const [isHidden, setHidden] = useState(false);
18
18
  useEffect(() => defaultEventBus.subscribe('tab', (event) => {
19
- setHidden(Boolean(event.type === 'group' &&
20
- event.label &&
21
- block?.labels?.length &&
22
- !block.labels.includes(event.label)));
19
+ setHidden(Boolean(event.label && block?.labels?.length && !block.labels.includes(event.label)));
23
20
  }), [block]);
24
- return (_jsx(Tag, { className: style('group', blockStyles[version], isHidden ? 'hidden' : '', className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
21
+ return (_jsx(Tag, { className: style(isTheme ? 'group' : '', blockStyles[version], isHidden ? 'hidden' : '', className), ...(version && isTheme ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
25
22
  });
26
23
  //# sourceMappingURL=BlockWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAOvC,MAAM,CAAC,MAAM,WAAW,GAAiC;IACvD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kCAAkC;IAC/C,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,GAAG,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClF,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,GAAG,GAAG,4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,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACnD,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -11,13 +11,13 @@ const DEFAULT_GAP = 14;
11
11
  and get rid of a clipping effect caused by overflow: hidden.
12
12
  */
13
13
  const DEFAULT_PADDING = 16;
14
- export const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
14
+ export const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', version, }) => {
15
15
  const itemCount = Array.isArray(children) ? children.length : 0;
16
16
  const [containerRef, scroll] = useSwipeListScroll({
17
17
  itemCount,
18
18
  onVisibleIndicesChange,
19
19
  });
20
20
  const [activeIndex] = scroll.visibleIndicesRange;
21
- return (_jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [_jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? (_jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType })) : null] }));
21
+ return (_jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [_jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? (_jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version })) : null] }));
22
22
  });
23
23
  //# sourceMappingURL=SwipeListControl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB;;;;GAIG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,QAAQ,GAAG,iBAAiB,GAC7B,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,kBAAkB,CAAiB;QAChE,SAAS;QACT,sBAAsB;KACvB,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAEjD,OAAO,CACL,eAAK,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,QAAQ,KAAK,eAAe,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,aACrF,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CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,kBAAkB,CAAiB;QAChE,SAAS;QACT,sBAAsB;KACvB,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAEjD,OAAO,CACL,eAAK,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,QAAQ,KAAK,eAAe,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,aACrF,KAAC,kBAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,CAAC,EACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,EACzD,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACU,EACpB,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,oBAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -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
+ };