@redneckz/wildless-cms-uni-blocks 0.4.2 → 0.4.4

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 (1123) hide show
  1. package/bin/migrate.js +40 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +336 -260
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  6. package/cosmos-static/icons/DocDownload.svg +1 -0
  7. package/dist/EventBus/EventMap.d.ts +2 -0
  8. package/dist/components/Accordion/AccordionItem.js +1 -1
  9. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  11. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  12. package/dist/components/BaseTile/BaseTile.js +1 -1
  13. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  14. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  15. package/dist/components/BlockContent.d.ts +2 -3
  16. package/dist/components/Blocks.d.ts +1 -3
  17. package/dist/components/Blocks.js +0 -4
  18. package/dist/components/Blocks.js.map +1 -1
  19. package/dist/components/Calculator/Calculator.js +1 -1
  20. package/dist/components/Calculator/Calculator.js.map +1 -1
  21. package/dist/components/Calculator/useCalculatorParams.js +2 -5
  22. package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  23. package/dist/components/Calculator/useCreditCalculatorParams.js +1 -2
  24. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  25. package/dist/components/Catalog/CatalogCard.js +12 -6
  26. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  27. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
  28. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  29. package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  30. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  31. package/dist/components/ContentPage/normalizePage.js +1 -1
  32. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  33. package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
  34. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
  35. package/dist/components/Gallery/Gallery.mobile.js +2 -5
  36. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  37. package/dist/components/Gallery/GalleryCardInner.d.ts +2 -2
  38. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  39. package/dist/components/Gallery/GalleryContainer.d.ts +2 -2
  40. package/dist/components/Gallery/GalleryContainer.js +3 -2
  41. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  42. package/dist/components/Gallery/GalleryContent.d.ts +4 -4
  43. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  44. package/dist/components/Gallery/constants.d.ts +0 -2
  45. package/dist/components/Gallery/constants.js +1 -5
  46. package/dist/components/Gallery/constants.js.map +1 -1
  47. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  48. package/dist/components/Header/Header.js +3 -2
  49. package/dist/components/Header/Header.js.map +1 -1
  50. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  51. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  52. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  53. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  54. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  55. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  56. package/dist/components/MobileAppTile/MobileAppTile.js +4 -6
  57. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  58. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
  59. package/dist/components/Navigation/Navigation.d.ts +1 -1
  60. package/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -4
  61. package/dist/components/PictureText/PictureText.js +2 -5
  62. package/dist/components/PictureText/PictureText.js.map +1 -1
  63. package/dist/components/ProductBlock/ProductBlock.js +2 -5
  64. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  65. package/dist/components/ProductBlock/ProductBlock.mobile.js +2 -5
  66. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  67. package/dist/components/ProductBlock/ProductBlockContent.d.ts +14 -2
  68. package/dist/components/ProductGallery/ProductGallery.js +4 -11
  69. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  70. package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -5
  71. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  72. package/dist/components/ProductTile/ProductTile.js +14 -14
  73. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  74. package/dist/components/PromoTile/PromoTile.js +2 -5
  75. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  76. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
  77. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
  78. package/dist/components/SafeDepositRental/SafeDepositRental.js +4 -0
  79. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  80. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  81. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  82. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  83. package/dist/components/Tabs/Tabs.d.ts +4 -3
  84. package/dist/components/Tabs/Tabs.js +11 -4
  85. package/dist/components/Tabs/Tabs.js.map +1 -1
  86. package/dist/components/Tabs/TabsContent.d.ts +14 -6
  87. package/dist/components/Tabs/renderGroupTab.d.ts +4 -0
  88. package/dist/components/Tabs/renderGroupTab.js +18 -0
  89. package/dist/components/Tabs/renderGroupTab.js.map +1 -0
  90. package/dist/components/Tabs/renderLinkTab.d.ts +8 -0
  91. package/dist/components/Tabs/renderLinkTab.js +7 -0
  92. package/dist/components/Tabs/renderLinkTab.js.map +1 -0
  93. package/dist/components/Tabs/renderTab.d.ts +5 -5
  94. package/dist/components/Tabs/renderTab.js +25 -14
  95. package/dist/components/Tabs/renderTab.js.map +1 -1
  96. package/dist/components/Tabs/tabItemClasses.d.ts +6 -0
  97. package/dist/components/Tabs/tabItemClasses.js +9 -0
  98. package/dist/components/Tabs/tabItemClasses.js.map +1 -0
  99. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  100. package/dist/components/TariffsTable/EmbeddableCellData.js +35 -0
  101. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -0
  102. package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +15 -0
  103. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +21 -0
  104. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -0
  105. package/dist/components/TariffsTable/TariffsTable.js +10 -11
  106. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  107. package/dist/components/TariffsTable/TariffsTable.mobile.js +2 -2
  108. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  109. package/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -3
  110. package/dist/components/TariffsTable/TariffsTableCell.js +18 -10
  111. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  112. package/dist/components/TariffsTable/TariffsTableContent.d.ts +80 -26
  113. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
  114. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  115. package/dist/components/TariffsTable/TariffsTableRow.d.ts +5 -4
  116. package/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  117. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  118. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  119. package/dist/components/TariffsTable/TariffsTableRowContainer.js +15 -0
  120. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
  121. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
  122. package/dist/components/TariffsTable/TariffsTableTileCell.js +15 -9
  123. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  124. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
  125. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  126. package/dist/components/TariffsTable/dataFixture.d.ts +5 -0
  127. package/dist/components/TariffsTable/dataFixture.js +140 -0
  128. package/dist/components/TariffsTable/dataFixture.js.map +1 -0
  129. package/dist/components/Tile/Tile.js +6 -9
  130. package/dist/components/Tile/Tile.js.map +1 -1
  131. package/dist/components/Tile/TileContent.d.ts +4 -2
  132. package/dist/hooks/useExchangeRates.js +9 -18
  133. package/dist/hooks/useExchangeRates.js.map +1 -1
  134. package/dist/hooks/useTariffsInnerTableData.d.ts +1 -0
  135. package/dist/hooks/useTariffsInnerTableData.js +16 -0
  136. package/dist/hooks/useTariffsInnerTableData.js.map +1 -0
  137. package/dist/icons/IconName.d.ts +4 -2
  138. package/dist/icons/IconName.js +2 -0
  139. package/dist/icons/IconName.js.map +1 -1
  140. package/dist/model/BlockVersion.d.ts +1 -0
  141. package/dist/model/BlockVersion.js +5 -0
  142. package/dist/model/BlockVersion.js.map +1 -1
  143. package/dist/model/HeadlineType.d.ts +3 -3
  144. package/dist/model/LinkProps.d.ts +6 -4
  145. package/dist/services/sitemap/useSitemap.js +2 -8
  146. package/dist/services/sitemap/useSitemap.js.map +1 -1
  147. package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  148. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  149. package/dist/ui-kit/BlockWrapper.js +10 -1
  150. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  151. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
  152. package/dist/ui-kit/Button/Button.d.ts +2 -4
  153. package/dist/ui-kit/Button/Button.js +1 -1
  154. package/dist/ui-kit/Button/Button.js.map +1 -1
  155. package/dist/ui-kit/Button/Button.mobile.d.ts +2 -4
  156. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  157. package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  158. package/dist/ui-kit/Description/Description.d.ts +3 -3
  159. package/dist/ui-kit/Description/Description.js.map +1 -1
  160. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  161. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  162. package/dist/ui-kit/Heading/HeadingProps.d.ts +5 -2
  163. package/dist/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  164. package/dist/ui-kit/InnerTable/InnerTable.js +17 -0
  165. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -0
  166. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  167. package/dist/ui-kit/InnerTable/InnerTableBody.js +18 -0
  168. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
  169. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  170. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +33 -0
  171. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
  172. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  173. package/dist/ui-kit/InnerTable/InnerTableButton.js +14 -0
  174. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
  175. package/dist/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  176. package/dist/ui-kit/InnerTable/InnerTableHeader.js +8 -0
  177. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
  178. package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  179. package/dist/{components/GroupBlock/BlocksTypeProps.js → ui-kit/InnerTable/InnerTableProps.js} +1 -1
  180. package/dist/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
  181. package/dist/ui-kit/List/List.js +6 -2
  182. package/dist/ui-kit/List/List.js.map +1 -1
  183. package/dist/ui-kit/List/ListProps.d.ts +9 -1
  184. package/dist/ui-kit/Logo/Logo.js +6 -2
  185. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  186. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  187. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  188. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  189. package/dist/ui-kit/TopItem/TopItem.js +2 -2
  190. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  191. package/dist/utils/assertUnreachable.d.ts +1 -0
  192. package/dist/utils/assertUnreachable.js +7 -0
  193. package/dist/utils/assertUnreachable.js.map +1 -0
  194. package/dist/utils/fetchJSON.d.ts +2 -0
  195. package/dist/utils/fetchJSON.js +24 -0
  196. package/dist/utils/fetchJSON.js.map +1 -0
  197. package/dist/utils/roundTo.d.ts +1 -1
  198. package/dist/utils/roundTo.js +1 -1
  199. package/dist/utils/roundTo.js.map +1 -1
  200. package/lib/EventBus/EventMap.d.ts +2 -0
  201. package/lib/common.css +1 -1
  202. package/lib/components/Accordion/AccordionItem.js +1 -1
  203. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  204. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  205. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  206. package/lib/components/BaseTile/BaseTile.js +1 -1
  207. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  208. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  209. package/lib/components/BlockContent.d.ts +2 -3
  210. package/lib/components/Blocks.d.ts +1 -3
  211. package/lib/components/Blocks.js +0 -4
  212. package/lib/components/Blocks.js.map +1 -1
  213. package/lib/components/Calculator/Calculator.js +1 -1
  214. package/lib/components/Calculator/Calculator.js.map +1 -1
  215. package/lib/components/Calculator/useCalculatorParams.js +2 -5
  216. package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  217. package/lib/components/Calculator/useCreditCalculatorParams.js +1 -2
  218. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  219. package/lib/components/Catalog/CatalogCard.js +12 -6
  220. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  221. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
  222. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  223. package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  224. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  225. package/lib/components/ContentPage/normalizePage.js +1 -1
  226. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  227. package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
  228. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
  229. package/lib/components/Gallery/Gallery.mobile.js +2 -5
  230. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  231. package/lib/components/Gallery/GalleryCardInner.d.ts +2 -2
  232. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  233. package/lib/components/Gallery/GalleryContainer.d.ts +2 -2
  234. package/lib/components/Gallery/GalleryContainer.js +4 -3
  235. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  236. package/lib/components/Gallery/GalleryContent.d.ts +4 -4
  237. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  238. package/lib/components/Gallery/constants.d.ts +0 -2
  239. package/lib/components/Gallery/constants.js +0 -4
  240. package/lib/components/Gallery/constants.js.map +1 -1
  241. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  242. package/lib/components/Header/Header.js +3 -2
  243. package/lib/components/Header/Header.js.map +1 -1
  244. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  245. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  246. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  247. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  248. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  249. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  250. package/lib/components/MobileAppTile/MobileAppTile.js +4 -6
  251. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  252. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
  253. package/lib/components/Navigation/Navigation.d.ts +1 -1
  254. package/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -4
  255. package/lib/components/PictureText/PictureText.js +2 -5
  256. package/lib/components/PictureText/PictureText.js.map +1 -1
  257. package/lib/components/ProductBlock/ProductBlock.js +2 -5
  258. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  259. package/lib/components/ProductBlock/ProductBlock.mobile.js +2 -5
  260. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  261. package/lib/components/ProductBlock/ProductBlockContent.d.ts +14 -2
  262. package/lib/components/ProductGallery/ProductGallery.js +4 -11
  263. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  264. package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -5
  265. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  266. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
  267. package/lib/components/ProductTile/ProductTile.js +14 -14
  268. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  269. package/lib/components/PromoTile/PromoTile.js +2 -5
  270. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  271. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
  272. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
  273. package/lib/components/SafeDepositRental/SafeDepositRental.js +4 -0
  274. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  275. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  276. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  277. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  278. package/lib/components/Tabs/Tabs.d.ts +4 -3
  279. package/lib/components/Tabs/Tabs.js +11 -4
  280. package/lib/components/Tabs/Tabs.js.map +1 -1
  281. package/lib/components/Tabs/TabsContent.d.ts +14 -6
  282. package/lib/components/Tabs/renderGroupTab.d.ts +4 -0
  283. package/lib/components/Tabs/renderGroupTab.js +15 -0
  284. package/lib/components/Tabs/renderGroupTab.js.map +1 -0
  285. package/lib/components/Tabs/renderLinkTab.d.ts +8 -0
  286. package/lib/components/Tabs/renderLinkTab.js +4 -0
  287. package/lib/components/Tabs/renderLinkTab.js.map +1 -0
  288. package/lib/components/Tabs/renderTab.d.ts +5 -5
  289. package/lib/components/Tabs/renderTab.js +25 -14
  290. package/lib/components/Tabs/renderTab.js.map +1 -1
  291. package/lib/components/Tabs/tabItemClasses.d.ts +6 -0
  292. package/lib/components/Tabs/tabItemClasses.js +7 -0
  293. package/lib/components/Tabs/tabItemClasses.js.map +1 -0
  294. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  295. package/lib/components/TariffsTable/EmbeddableCellData.js +33 -0
  296. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -0
  297. package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +14 -0
  298. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +19 -0
  299. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -0
  300. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -0
  301. package/lib/components/TariffsTable/TariffsTable.js +10 -11
  302. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  303. package/lib/components/TariffsTable/TariffsTable.mobile.js +2 -2
  304. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  305. package/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -3
  306. package/lib/components/TariffsTable/TariffsTableCell.js +18 -10
  307. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  308. package/lib/components/TariffsTable/TariffsTableContent.d.ts +80 -26
  309. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
  310. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  311. package/lib/components/TariffsTable/TariffsTableRow.d.ts +5 -4
  312. package/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  313. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  314. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  315. package/lib/components/TariffsTable/TariffsTableRowContainer.js +13 -0
  316. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
  317. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
  318. package/lib/components/TariffsTable/TariffsTableTileCell.js +15 -9
  319. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  320. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
  321. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  322. package/lib/components/TariffsTable/dataFixture.d.ts +5 -0
  323. package/lib/components/TariffsTable/dataFixture.js +138 -0
  324. package/lib/components/TariffsTable/dataFixture.js.map +1 -0
  325. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
  326. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -1
  327. package/lib/components/Tile/Tile.js +6 -9
  328. package/lib/components/Tile/Tile.js.map +1 -1
  329. package/lib/components/Tile/TileContent.d.ts +4 -2
  330. package/lib/hooks/useExchangeRates.js +9 -18
  331. package/lib/hooks/useExchangeRates.js.map +1 -1
  332. package/lib/hooks/useTariffsInnerTableData.d.ts +1 -0
  333. package/lib/hooks/useTariffsInnerTableData.js +13 -0
  334. package/lib/hooks/useTariffsInnerTableData.js.map +1 -0
  335. package/lib/icons/IconName.d.ts +4 -2
  336. package/lib/icons/IconName.js +2 -0
  337. package/lib/icons/IconName.js.map +1 -1
  338. package/lib/model/BlockVersion.d.ts +1 -0
  339. package/lib/model/BlockVersion.js +4 -1
  340. package/lib/model/BlockVersion.js.map +1 -1
  341. package/lib/model/HeadlineType.d.ts +3 -3
  342. package/lib/model/LinkProps.d.ts +6 -4
  343. package/lib/services/sitemap/useSitemap.js +2 -8
  344. package/lib/services/sitemap/useSitemap.js.map +1 -1
  345. package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  346. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  347. package/lib/ui-kit/BlockWrapper.js +10 -1
  348. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  349. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
  350. package/lib/ui-kit/Button/Button.d.ts +2 -4
  351. package/lib/ui-kit/Button/Button.js +1 -1
  352. package/lib/ui-kit/Button/Button.js.map +1 -1
  353. package/lib/ui-kit/Button/Button.mobile.d.ts +2 -4
  354. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  355. package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  356. package/lib/ui-kit/Description/Description.d.ts +3 -3
  357. package/lib/ui-kit/Description/Description.js.map +1 -1
  358. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  359. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  360. package/lib/ui-kit/Heading/HeadingProps.d.ts +5 -2
  361. package/lib/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  362. package/lib/ui-kit/InnerTable/InnerTable.js +15 -0
  363. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -0
  364. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  365. package/lib/ui-kit/InnerTable/InnerTableBody.js +16 -0
  366. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
  367. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  368. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +31 -0
  369. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
  370. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  371. package/lib/ui-kit/InnerTable/InnerTableButton.js +12 -0
  372. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
  373. package/lib/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  374. package/lib/ui-kit/InnerTable/InnerTableHeader.js +6 -0
  375. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
  376. package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  377. package/lib/ui-kit/InnerTable/InnerTableProps.js +2 -0
  378. package/lib/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
  379. package/lib/ui-kit/List/List.js +6 -2
  380. package/lib/ui-kit/List/List.js.map +1 -1
  381. package/lib/ui-kit/List/ListProps.d.ts +9 -1
  382. package/lib/ui-kit/Logo/Logo.js +6 -2
  383. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  384. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  385. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  386. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  387. package/lib/ui-kit/TopItem/TopItem.js +2 -2
  388. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  389. package/lib/utils/assertUnreachable.d.ts +1 -0
  390. package/lib/utils/assertUnreachable.js +4 -0
  391. package/lib/utils/assertUnreachable.js.map +1 -0
  392. package/lib/utils/fetchJSON.d.ts +2 -0
  393. package/lib/utils/fetchJSON.js +20 -0
  394. package/lib/utils/fetchJSON.js.map +1 -0
  395. package/lib/utils/roundTo.d.ts +1 -1
  396. package/lib/utils/roundTo.js +1 -1
  397. package/lib/utils/roundTo.js.map +1 -1
  398. package/mobile/bundle/bundle.umd.js +94 -61
  399. package/mobile/bundle/bundle.umd.min.js +1 -1
  400. package/mobile/dist/EventBus/EventMap.d.ts +2 -0
  401. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  402. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  403. package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
  404. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  405. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  406. package/mobile/dist/components/BlockContent.d.ts +2 -3
  407. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  408. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  409. package/mobile/dist/components/Calculator/useCalculatorParams.js +2 -5
  410. package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  411. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +1 -2
  412. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  413. package/mobile/dist/components/Catalog/CatalogCard.js +12 -6
  414. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  415. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
  416. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  417. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  418. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  419. package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
  420. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  421. package/mobile/dist/components/Gallery/Gallery.js +2 -5
  422. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  423. package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +2 -2
  424. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  425. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +2 -2
  426. package/mobile/dist/components/Gallery/GalleryContainer.js +3 -2
  427. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  428. package/mobile/dist/components/Gallery/GalleryContent.d.ts +4 -4
  429. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  430. package/mobile/dist/components/Gallery/constants.d.ts +0 -2
  431. package/mobile/dist/components/Gallery/constants.js +1 -5
  432. package/mobile/dist/components/Gallery/constants.js.map +1 -1
  433. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  434. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  435. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  436. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  437. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  438. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  439. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  440. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
  441. package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
  442. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -4
  443. package/mobile/dist/components/PictureText/PictureText.js +2 -5
  444. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  445. package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -5
  446. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  447. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +14 -2
  448. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -5
  449. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  450. package/mobile/dist/components/ProductTile/ProductTile.js +14 -14
  451. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  452. package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
  453. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  454. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
  455. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
  456. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +4 -0
  457. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  458. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  459. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  460. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  461. package/mobile/dist/components/Tabs/Tabs.d.ts +4 -3
  462. package/mobile/dist/components/Tabs/Tabs.js +11 -4
  463. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  464. package/mobile/dist/components/Tabs/TabsContent.d.ts +14 -6
  465. package/mobile/dist/components/Tabs/renderGroupTab.d.ts +4 -0
  466. package/mobile/dist/components/Tabs/renderGroupTab.js +18 -0
  467. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -0
  468. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +8 -0
  469. package/mobile/dist/components/Tabs/renderLinkTab.js +7 -0
  470. package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -0
  471. package/mobile/dist/components/Tabs/renderTab.d.ts +5 -5
  472. package/mobile/dist/components/Tabs/renderTab.js +25 -14
  473. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  474. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +6 -0
  475. package/mobile/dist/components/Tabs/tabItemClasses.js +9 -0
  476. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -0
  477. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +15 -0
  478. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +21 -0
  479. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -0
  480. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
  481. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  482. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -3
  483. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +18 -10
  484. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  485. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +80 -26
  486. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
  487. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  488. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +5 -4
  489. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  490. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  491. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  492. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +15 -0
  493. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
  494. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
  495. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +15 -9
  496. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  497. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
  498. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  499. package/mobile/dist/components/TariffsTable/dataFixture.d.ts +5 -0
  500. package/mobile/dist/components/TariffsTable/dataFixture.js +140 -0
  501. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -0
  502. package/mobile/dist/components/Tile/Tile.js +6 -9
  503. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  504. package/mobile/dist/components/Tile/TileContent.d.ts +4 -2
  505. package/mobile/dist/hooks/useExchangeRates.js +9 -18
  506. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  507. package/mobile/dist/hooks/useTariffsInnerTableData.d.ts +1 -0
  508. package/mobile/dist/hooks/useTariffsInnerTableData.js +16 -0
  509. package/mobile/dist/hooks/useTariffsInnerTableData.js.map +1 -0
  510. package/mobile/dist/icons/IconName.d.ts +4 -2
  511. package/mobile/dist/icons/IconName.js +2 -0
  512. package/mobile/dist/icons/IconName.js.map +1 -1
  513. package/mobile/dist/model/BlockVersion.d.ts +1 -0
  514. package/mobile/dist/model/BlockVersion.js +5 -0
  515. package/mobile/dist/model/BlockVersion.js.map +1 -1
  516. package/mobile/dist/model/HeadlineType.d.ts +3 -3
  517. package/mobile/dist/model/LinkProps.d.ts +6 -4
  518. package/mobile/dist/services/sitemap/useSitemap.js +2 -8
  519. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  520. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  521. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  522. package/mobile/dist/ui-kit/BlockWrapper.js +10 -1
  523. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  524. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
  525. package/mobile/dist/ui-kit/Button/Button.d.ts +2 -4
  526. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  527. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  528. package/mobile/dist/ui-kit/Description/Description.d.ts +3 -3
  529. package/mobile/dist/ui-kit/Description/Description.js.map +1 -1
  530. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  531. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  532. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +5 -2
  533. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  534. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +17 -0
  535. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -0
  536. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  537. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +18 -0
  538. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
  539. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  540. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +33 -0
  541. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
  542. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  543. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +14 -0
  544. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
  545. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  546. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +8 -0
  547. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
  548. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  549. package/mobile/dist/{components/GroupBlock/BlocksTypeProps.js → ui-kit/InnerTable/InnerTableProps.js} +1 -1
  550. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
  551. package/mobile/dist/ui-kit/List/List.js +6 -2
  552. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  553. package/mobile/dist/ui-kit/List/ListProps.d.ts +9 -1
  554. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  555. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  556. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  557. package/mobile/dist/ui-kit/TopItem/TopItem.js +2 -2
  558. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  559. package/mobile/dist/utils/assertUnreachable.d.ts +1 -0
  560. package/mobile/dist/utils/assertUnreachable.js +7 -0
  561. package/mobile/dist/utils/assertUnreachable.js.map +1 -0
  562. package/mobile/dist/utils/fetchJSON.d.ts +2 -0
  563. package/mobile/dist/utils/fetchJSON.js +24 -0
  564. package/mobile/dist/utils/fetchJSON.js.map +1 -0
  565. package/mobile/dist/utils/roundTo.d.ts +1 -1
  566. package/mobile/dist/utils/roundTo.js +1 -1
  567. package/mobile/dist/utils/roundTo.js.map +1 -1
  568. package/mobile/lib/EventBus/EventMap.d.ts +2 -0
  569. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  570. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  571. package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
  572. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  573. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  574. package/mobile/lib/components/BlockContent.d.ts +2 -3
  575. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  576. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  577. package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -5
  578. package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  579. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -2
  580. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  581. package/mobile/lib/components/Catalog/CatalogCard.js +12 -6
  582. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  583. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
  584. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  585. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  586. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  587. package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
  588. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  589. package/mobile/lib/components/Gallery/Gallery.js +2 -5
  590. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  591. package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +2 -2
  592. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  593. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +2 -2
  594. package/mobile/lib/components/Gallery/GalleryContainer.js +4 -3
  595. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  596. package/mobile/lib/components/Gallery/GalleryContent.d.ts +4 -4
  597. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  598. package/mobile/lib/components/Gallery/constants.d.ts +0 -2
  599. package/mobile/lib/components/Gallery/constants.js +0 -4
  600. package/mobile/lib/components/Gallery/constants.js.map +1 -1
  601. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  602. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  603. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  604. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  605. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  606. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  607. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  608. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
  609. package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
  610. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -4
  611. package/mobile/lib/components/PictureText/PictureText.js +2 -5
  612. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  613. package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -5
  614. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  615. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +14 -2
  616. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -5
  617. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  618. package/mobile/lib/components/ProductTile/ProductTile.js +14 -14
  619. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  620. package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
  621. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  622. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
  623. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
  624. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +4 -0
  625. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  626. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  627. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  628. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  629. package/mobile/lib/components/Tabs/Tabs.d.ts +4 -3
  630. package/mobile/lib/components/Tabs/Tabs.js +11 -4
  631. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  632. package/mobile/lib/components/Tabs/TabsContent.d.ts +14 -6
  633. package/mobile/lib/components/Tabs/renderGroupTab.d.ts +4 -0
  634. package/mobile/lib/components/Tabs/renderGroupTab.js +15 -0
  635. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -0
  636. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +8 -0
  637. package/mobile/lib/components/Tabs/renderLinkTab.js +4 -0
  638. package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -0
  639. package/mobile/lib/components/Tabs/renderTab.d.ts +5 -5
  640. package/mobile/lib/components/Tabs/renderTab.js +25 -14
  641. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  642. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +6 -0
  643. package/mobile/lib/components/Tabs/tabItemClasses.js +7 -0
  644. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -0
  645. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +15 -0
  646. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +19 -0
  647. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -0
  648. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  649. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  650. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -3
  651. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +18 -10
  652. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  653. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +80 -26
  654. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
  655. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  656. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +5 -4
  657. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  658. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  659. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  660. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +13 -0
  661. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
  662. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
  663. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +15 -9
  664. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  665. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
  666. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  667. package/mobile/lib/components/TariffsTable/dataFixture.d.ts +5 -0
  668. package/mobile/lib/components/TariffsTable/dataFixture.js +138 -0
  669. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -0
  670. package/mobile/lib/components/Tile/Tile.js +6 -9
  671. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  672. package/mobile/lib/components/Tile/TileContent.d.ts +4 -2
  673. package/mobile/lib/hooks/useExchangeRates.js +9 -18
  674. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  675. package/mobile/lib/hooks/useTariffsInnerTableData.d.ts +1 -0
  676. package/mobile/lib/hooks/useTariffsInnerTableData.js +13 -0
  677. package/mobile/lib/hooks/useTariffsInnerTableData.js.map +1 -0
  678. package/mobile/lib/icons/IconName.d.ts +4 -2
  679. package/mobile/lib/icons/IconName.js +2 -0
  680. package/mobile/lib/icons/IconName.js.map +1 -1
  681. package/mobile/lib/model/BlockVersion.d.ts +1 -0
  682. package/mobile/lib/model/BlockVersion.js +4 -1
  683. package/mobile/lib/model/BlockVersion.js.map +1 -1
  684. package/mobile/lib/model/HeadlineType.d.ts +3 -3
  685. package/mobile/lib/model/LinkProps.d.ts +6 -4
  686. package/mobile/lib/services/sitemap/useSitemap.js +2 -8
  687. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  688. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  689. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  690. package/mobile/lib/ui-kit/BlockWrapper.js +10 -1
  691. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  692. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
  693. package/mobile/lib/ui-kit/Button/Button.d.ts +2 -4
  694. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  695. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  696. package/mobile/lib/ui-kit/Description/Description.d.ts +3 -3
  697. package/mobile/lib/ui-kit/Description/Description.js.map +1 -1
  698. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  699. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  700. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +5 -2
  701. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  702. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +15 -0
  703. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -0
  704. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  705. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +16 -0
  706. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
  707. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  708. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +31 -0
  709. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
  710. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  711. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +12 -0
  712. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
  713. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  714. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +6 -0
  715. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
  716. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  717. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.js +2 -0
  718. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
  719. package/mobile/lib/ui-kit/List/List.js +6 -2
  720. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  721. package/mobile/lib/ui-kit/List/ListProps.d.ts +9 -1
  722. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  723. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  724. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  725. package/mobile/lib/ui-kit/TopItem/TopItem.js +2 -2
  726. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  727. package/mobile/lib/utils/assertUnreachable.d.ts +1 -0
  728. package/mobile/lib/utils/assertUnreachable.js +4 -0
  729. package/mobile/lib/utils/assertUnreachable.js.map +1 -0
  730. package/mobile/lib/utils/fetchJSON.d.ts +2 -0
  731. package/mobile/lib/utils/fetchJSON.js +20 -0
  732. package/mobile/lib/utils/fetchJSON.js.map +1 -0
  733. package/mobile/lib/utils/roundTo.d.ts +1 -1
  734. package/mobile/lib/utils/roundTo.js +1 -1
  735. package/mobile/lib/utils/roundTo.js.map +1 -1
  736. package/mobile/src/EventBus/EventMap.ts +2 -1
  737. package/mobile/src/components/Accordion/AccordionItem.tsx +4 -2
  738. package/mobile/src/components/BaseTile/BaseTile.tsx +2 -2
  739. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  740. package/mobile/src/components/BlockContent.ts +3 -5
  741. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  742. package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -10
  743. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -3
  744. package/mobile/src/components/Catalog/CatalogCard.tsx +13 -6
  745. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +8 -1
  746. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
  747. package/mobile/src/components/ContentPage/ContentPage.page.json +1 -34
  748. package/mobile/src/components/ContentPage/normalizePage.ts +1 -1
  749. package/mobile/src/components/Gallery/Gallery.tsx +8 -13
  750. package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -4
  751. package/mobile/src/components/Gallery/GalleryContainer.tsx +6 -5
  752. package/mobile/src/components/Gallery/GalleryContent.ts +4 -4
  753. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  754. package/mobile/src/components/Gallery/constants.ts +0 -6
  755. package/mobile/src/components/GracePeriod/GracePeriod.example.json +5 -0
  756. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -2
  757. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +3 -3
  758. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -2
  759. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  760. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +1 -2
  761. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -0
  762. package/mobile/src/components/Navigation/Navigation.tsx +1 -1
  763. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +1 -4
  764. package/mobile/src/components/PictureText/PictureText.tsx +2 -6
  765. package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -9
  766. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +14 -3
  767. package/mobile/src/components/ProductGallery/ProductGallery.example.json +34 -2
  768. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +2 -7
  769. package/mobile/src/components/ProductTile/ProductTile.tsx +39 -50
  770. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -19
  771. package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -2
  772. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -4
  773. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +4 -0
  774. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  775. package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
  776. package/mobile/src/components/Tabs/Tabs.example.json +6 -3
  777. package/mobile/src/components/Tabs/Tabs.tsx +15 -6
  778. package/mobile/src/components/Tabs/TabsContent.ts +17 -6
  779. package/mobile/src/components/Tabs/renderGroupTab.tsx +51 -0
  780. package/mobile/src/components/Tabs/renderLinkTab.tsx +25 -0
  781. package/mobile/src/components/Tabs/renderTab.tsx +28 -37
  782. package/mobile/src/components/Tabs/tabItemClasses.ts +7 -0
  783. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +67 -0
  784. package/mobile/src/components/TariffsTable/TariffsTable.example.json +30 -29
  785. package/mobile/src/components/TariffsTable/TariffsTable.tsx +12 -7
  786. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +50 -55
  787. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +101 -37
  788. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +6 -7
  789. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +19 -11
  790. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +36 -0
  791. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +35 -53
  792. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +7 -3
  793. package/mobile/src/components/TariffsTable/dataFixture.ts +158 -0
  794. package/mobile/src/components/Tile/Tile.example.json +1 -0
  795. package/mobile/src/components/Tile/Tile.tsx +17 -13
  796. package/mobile/src/components/Tile/TileContent.ts +4 -2
  797. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +36 -48
  798. package/mobile/src/hooks/useExchangeRates.ts +9 -20
  799. package/mobile/src/hooks/useTariffsInnerTableData.ts +20 -0
  800. package/mobile/src/icons/CardTickIcon.svg +7 -1
  801. package/mobile/src/icons/DocDownload.svg +8 -0
  802. package/mobile/src/icons/IconName.ts +4 -4
  803. package/mobile/src/model/BlockVersion.ts +5 -0
  804. package/mobile/src/model/HeadlineType.ts +3 -3
  805. package/mobile/src/model/LinkProps.ts +7 -4
  806. package/mobile/src/services/sitemap/useSitemap.ts +5 -11
  807. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
  808. package/mobile/src/ui-kit/BlockWrapper.tsx +12 -1
  809. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  810. package/mobile/src/ui-kit/Button/Button.tsx +2 -4
  811. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  812. package/mobile/src/ui-kit/Description/Description.tsx +3 -3
  813. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -2
  814. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  815. package/mobile/src/ui-kit/Heading/HeadingProps.ts +5 -2
  816. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +32 -0
  817. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +53 -0
  818. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +86 -0
  819. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +36 -0
  820. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +42 -0
  821. package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +31 -0
  822. package/mobile/src/ui-kit/List/List.tsx +18 -3
  823. package/mobile/src/ui-kit/List/ListProps.ts +10 -1
  824. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
  825. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  826. package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -3
  827. package/mobile/src/utils/assertUnreachable.ts +3 -0
  828. package/mobile/src/utils/fetchJSON.ts +24 -0
  829. package/mobile/src/utils/roundTo.ts +2 -2
  830. package/package.json +5 -2
  831. package/src/EventBus/EventMap.ts +2 -1
  832. package/src/components/Accordion/AccordionItem.mobile.tsx +4 -2
  833. package/src/components/Accordion/AccordionItem.tsx +7 -1
  834. package/src/components/BaseTile/BaseTile.tsx +2 -2
  835. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  836. package/src/components/BlockContent.ts +3 -5
  837. package/src/components/Blocks.ts +0 -4
  838. package/src/components/Calculator/Calculator.tsx +1 -1
  839. package/src/components/Calculator/useCalculatorParams.ts +2 -10
  840. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -3
  841. package/src/components/Catalog/Catalog.fixture.tsx +5 -2
  842. package/src/components/Catalog/CatalogCard.tsx +13 -6
  843. package/src/components/ComparisonTable/ComparisonTableContent.ts +8 -1
  844. package/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
  845. package/src/components/ContentPage/ContentPage.page.json +1 -34
  846. package/src/components/ContentPage/normalizePage.mobile.ts +1 -1
  847. package/src/components/ContentPage/normalizePage.ts +1 -1
  848. package/src/components/Gallery/Gallery.fixture.mobile.tsx +6 -6
  849. package/src/components/Gallery/Gallery.fixture.tsx +3 -3
  850. package/src/components/Gallery/Gallery.mobile.tsx +8 -13
  851. package/src/components/Gallery/GalleryCardInner.tsx +8 -4
  852. package/src/components/Gallery/GalleryContainer.tsx +6 -5
  853. package/src/components/Gallery/GalleryContent.ts +4 -4
  854. package/src/components/Gallery/GalleryProps.ts +1 -1
  855. package/src/components/Gallery/constants.ts +0 -6
  856. package/src/components/GracePeriod/GracePeriod.example.json +5 -0
  857. package/src/components/GracePeriod/GracePeriodContent.ts +2 -2
  858. package/src/components/Header/Header.tsx +3 -2
  859. package/src/components/Header/HeaderSecondaryMenu.tsx +3 -3
  860. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
  861. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -2
  862. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  863. package/src/components/MobileAppTile/MobileAppTile.example.json +1 -2
  864. package/src/components/MobileAppTile/MobileAppTile.tsx +8 -12
  865. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -0
  866. package/src/components/Navigation/Navigation.tsx +1 -1
  867. package/src/components/OtherProducts/OtherProductsContent.ts +1 -4
  868. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  869. package/src/components/PictureText/PictureText.tsx +2 -6
  870. package/src/components/ProductBlock/ProductBlock.mobile.tsx +2 -9
  871. package/src/components/ProductBlock/ProductBlock.tsx +3 -7
  872. package/src/components/ProductBlock/ProductBlockContent.ts +14 -3
  873. package/src/components/ProductGallery/ProductGallery.example.json +34 -2
  874. package/src/components/ProductGallery/ProductGallery.tsx +6 -15
  875. package/src/components/ProductGallery/ProductGalleryBlock.tsx +2 -7
  876. package/src/components/ProductTile/ProductTile.fixture.tsx +35 -1
  877. package/src/components/ProductTile/ProductTile.tsx +39 -50
  878. package/src/components/PromoTile/PromoTile.tsx +12 -19
  879. package/src/components/PromoTile/PromoTileContent.ts +2 -2
  880. package/src/components/Recommendation/RecommendationContent.ts +4 -4
  881. package/src/components/SafeDepositRental/SafeDepositRental.tsx +4 -0
  882. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  883. package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
  884. package/src/components/Tabs/Tabs.example.json +6 -3
  885. package/src/components/Tabs/Tabs.fixture.tsx +3 -3
  886. package/src/components/Tabs/Tabs.tsx +15 -6
  887. package/src/components/Tabs/TabsContent.ts +17 -6
  888. package/src/components/Tabs/renderGroupTab.tsx +51 -0
  889. package/src/components/Tabs/renderLinkTab.tsx +25 -0
  890. package/src/components/Tabs/renderTab.tsx +28 -37
  891. package/src/components/Tabs/tabItemClasses.ts +7 -0
  892. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +67 -0
  893. package/src/components/TariffsTable/EmbeddableCellData.tsx +82 -0
  894. package/src/components/TariffsTable/TariffsTable.example.json +30 -29
  895. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +3 -111
  896. package/src/components/TariffsTable/TariffsTable.fixture.tsx +24 -151
  897. package/src/components/TariffsTable/TariffsTable.mobile.tsx +12 -7
  898. package/src/components/TariffsTable/TariffsTable.tsx +25 -29
  899. package/src/components/TariffsTable/TariffsTableCell.tsx +50 -55
  900. package/src/components/TariffsTable/TariffsTableContent.ts +101 -37
  901. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +6 -7
  902. package/src/components/TariffsTable/TariffsTableRow.tsx +19 -11
  903. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +36 -0
  904. package/src/components/TariffsTable/TariffsTableTileCell.tsx +35 -53
  905. package/src/components/TariffsTable/TariffsTableVertical.tsx +7 -3
  906. package/src/components/TariffsTable/dataFixture.ts +158 -0
  907. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
  908. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
  909. package/src/components/Tile/Tile.example.json +1 -0
  910. package/src/components/Tile/Tile.fixture.tsx +7 -6
  911. package/src/components/Tile/Tile.tsx +17 -13
  912. package/src/components/Tile/TileContent.ts +4 -2
  913. package/src/components/__snapshots__/Blocks.spec.tsx.snap +36 -48
  914. package/src/cosmos.decorator.tsx +1 -1
  915. package/src/hooks/useExchangeRates.ts +9 -20
  916. package/src/hooks/useTariffsInnerTableData.ts +20 -0
  917. package/src/icons/CardTickIcon.svg +7 -1
  918. package/src/icons/DocDownload.svg +8 -0
  919. package/src/icons/IconName.ts +4 -1
  920. package/src/model/BlockVersion.ts +5 -0
  921. package/src/model/HeadlineType.ts +3 -3
  922. package/src/model/LinkProps.ts +7 -4
  923. package/src/services/sitemap/useSitemap.ts +5 -11
  924. package/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
  925. package/src/ui-kit/BlockWrapper.tsx +12 -1
  926. package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  927. package/src/ui-kit/Button/Button.mobile.tsx +2 -4
  928. package/src/ui-kit/Button/Button.tsx +5 -7
  929. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  930. package/src/ui-kit/Description/Description.tsx +3 -3
  931. package/src/ui-kit/Foldable/Foldable.tsx +1 -2
  932. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +1 -1
  933. package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  934. package/src/ui-kit/Heading/HeadingProps.ts +5 -2
  935. package/src/ui-kit/InnerTable/InnerTable.tsx +32 -0
  936. package/src/ui-kit/InnerTable/InnerTableBody.tsx +53 -0
  937. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +86 -0
  938. package/src/ui-kit/InnerTable/InnerTableButton.tsx +36 -0
  939. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +42 -0
  940. package/src/ui-kit/InnerTable/InnerTableProps.ts +31 -0
  941. package/src/ui-kit/List/List.tsx +18 -3
  942. package/src/ui-kit/List/ListProps.ts +10 -1
  943. package/src/ui-kit/Logo/Logo.mobile.tsx +1 -1
  944. package/src/ui-kit/Logo/Logo.tsx +8 -3
  945. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  946. package/src/ui-kit/TopItem/TopItem.tsx +3 -3
  947. package/src/utils/assertUnreachable.ts +3 -0
  948. package/src/utils/fetchJSON.ts +24 -0
  949. package/src/utils/roundTo.ts +2 -2
  950. package/dist/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
  951. package/dist/components/GroupBlock/BlocksTypeProps.js.map +0 -1
  952. package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
  953. package/dist/components/GroupBlock/EmbeddableGroupBlocks.js +0 -9
  954. package/dist/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
  955. package/dist/components/GroupBlock/GroupBlock.d.ts +0 -9
  956. package/dist/components/GroupBlock/GroupBlock.js +0 -21
  957. package/dist/components/GroupBlock/GroupBlock.js.map +0 -1
  958. package/dist/components/GroupBlock/GroupBlockContent.d.ts +0 -21
  959. package/dist/components/GroupBlock/GroupBlockContent.js +0 -2
  960. package/dist/components/GroupBlock/GroupBlockContent.js.map +0 -1
  961. package/dist/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
  962. package/dist/components/GroupBlock/GroupBlockTabs.js +0 -20
  963. package/dist/components/GroupBlock/GroupBlockTabs.js.map +0 -1
  964. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
  965. package/dist/components/GroupBlock/GroupBlocksItem.js +0 -20
  966. package/dist/components/GroupBlock/GroupBlocksItem.js.map +0 -1
  967. package/dist/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
  968. package/dist/components/GroupBlock/filterBlocksByTag.js +0 -7
  969. package/dist/components/GroupBlock/filterBlocksByTag.js.map +0 -1
  970. package/dist/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
  971. package/dist/components/GroupBlock/renderBlocksTypes.js +0 -19
  972. package/dist/components/GroupBlock/renderBlocksTypes.js.map +0 -1
  973. package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
  974. package/dist/components/NavigatorTabs/NavigatorTabItem.js +0 -16
  975. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
  976. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
  977. package/dist/components/NavigatorTabs/NavigatorTabs.js +0 -19
  978. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
  979. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
  980. package/dist/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
  981. package/dist/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
  982. package/dist/hooks/useSafeDepositRental.d.ts +0 -1
  983. package/dist/hooks/useSafeDepositRental.js +0 -24
  984. package/dist/hooks/useSafeDepositRental.js.map +0 -1
  985. package/lib/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
  986. package/lib/components/GroupBlock/BlocksTypeProps.js +0 -2
  987. package/lib/components/GroupBlock/BlocksTypeProps.js.map +0 -1
  988. package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
  989. package/lib/components/GroupBlock/EmbeddableGroupBlocks.js +0 -7
  990. package/lib/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
  991. package/lib/components/GroupBlock/GroupBlock.d.ts +0 -9
  992. package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +0 -6
  993. package/lib/components/GroupBlock/GroupBlock.js +0 -19
  994. package/lib/components/GroupBlock/GroupBlock.js.map +0 -1
  995. package/lib/components/GroupBlock/GroupBlockContent.d.ts +0 -21
  996. package/lib/components/GroupBlock/GroupBlockContent.js +0 -2
  997. package/lib/components/GroupBlock/GroupBlockContent.js.map +0 -1
  998. package/lib/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
  999. package/lib/components/GroupBlock/GroupBlockTabs.js +0 -18
  1000. package/lib/components/GroupBlock/GroupBlockTabs.js.map +0 -1
  1001. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
  1002. package/lib/components/GroupBlock/GroupBlocksItem.js +0 -17
  1003. package/lib/components/GroupBlock/GroupBlocksItem.js.map +0 -1
  1004. package/lib/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
  1005. package/lib/components/GroupBlock/filterBlocksByTag.js +0 -4
  1006. package/lib/components/GroupBlock/filterBlocksByTag.js.map +0 -1
  1007. package/lib/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
  1008. package/lib/components/GroupBlock/renderBlocksTypes.js +0 -16
  1009. package/lib/components/GroupBlock/renderBlocksTypes.js.map +0 -1
  1010. package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
  1011. package/lib/components/NavigatorTabs/NavigatorTabItem.js +0 -14
  1012. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
  1013. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
  1014. package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +0 -5
  1015. package/lib/components/NavigatorTabs/NavigatorTabs.js +0 -17
  1016. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
  1017. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
  1018. package/lib/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
  1019. package/lib/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
  1020. package/lib/hooks/useSafeDepositRental.d.ts +0 -1
  1021. package/lib/hooks/useSafeDepositRental.js +0 -21
  1022. package/lib/hooks/useSafeDepositRental.js.map +0 -1
  1023. package/mobile/dist/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
  1024. package/mobile/dist/components/GroupBlock/BlocksTypeProps.js.map +0 -1
  1025. package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
  1026. package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.js +0 -9
  1027. package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
  1028. package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +0 -9
  1029. package/mobile/dist/components/GroupBlock/GroupBlock.js +0 -21
  1030. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +0 -1
  1031. package/mobile/dist/components/GroupBlock/GroupBlockContent.d.ts +0 -21
  1032. package/mobile/dist/components/GroupBlock/GroupBlockContent.js +0 -2
  1033. package/mobile/dist/components/GroupBlock/GroupBlockContent.js.map +0 -1
  1034. package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
  1035. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +0 -20
  1036. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +0 -1
  1037. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
  1038. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +0 -20
  1039. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +0 -1
  1040. package/mobile/dist/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
  1041. package/mobile/dist/components/GroupBlock/filterBlocksByTag.js +0 -7
  1042. package/mobile/dist/components/GroupBlock/filterBlocksByTag.js.map +0 -1
  1043. package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
  1044. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js +0 -19
  1045. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +0 -1
  1046. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
  1047. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +0 -16
  1048. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
  1049. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
  1050. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +0 -19
  1051. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
  1052. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
  1053. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
  1054. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
  1055. package/mobile/dist/hooks/useSafeDepositRental.d.ts +0 -1
  1056. package/mobile/dist/hooks/useSafeDepositRental.js +0 -24
  1057. package/mobile/dist/hooks/useSafeDepositRental.js.map +0 -1
  1058. package/mobile/lib/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
  1059. package/mobile/lib/components/GroupBlock/BlocksTypeProps.js +0 -2
  1060. package/mobile/lib/components/GroupBlock/BlocksTypeProps.js.map +0 -1
  1061. package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
  1062. package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.js +0 -7
  1063. package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
  1064. package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +0 -9
  1065. package/mobile/lib/components/GroupBlock/GroupBlock.js +0 -19
  1066. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +0 -1
  1067. package/mobile/lib/components/GroupBlock/GroupBlockContent.d.ts +0 -21
  1068. package/mobile/lib/components/GroupBlock/GroupBlockContent.js +0 -2
  1069. package/mobile/lib/components/GroupBlock/GroupBlockContent.js.map +0 -1
  1070. package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
  1071. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +0 -18
  1072. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +0 -1
  1073. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
  1074. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +0 -17
  1075. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +0 -1
  1076. package/mobile/lib/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
  1077. package/mobile/lib/components/GroupBlock/filterBlocksByTag.js +0 -4
  1078. package/mobile/lib/components/GroupBlock/filterBlocksByTag.js.map +0 -1
  1079. package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
  1080. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js +0 -16
  1081. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +0 -1
  1082. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
  1083. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +0 -14
  1084. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
  1085. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
  1086. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +0 -17
  1087. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
  1088. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
  1089. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
  1090. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
  1091. package/mobile/lib/hooks/useSafeDepositRental.d.ts +0 -1
  1092. package/mobile/lib/hooks/useSafeDepositRental.js +0 -21
  1093. package/mobile/lib/hooks/useSafeDepositRental.js.map +0 -1
  1094. package/mobile/src/components/GroupBlock/BlocksTypeProps.ts +0 -39
  1095. package/mobile/src/components/GroupBlock/EmbeddableGroupBlocks.tsx +0 -7
  1096. package/mobile/src/components/GroupBlock/GroupBlock.example.json +0 -97
  1097. package/mobile/src/components/GroupBlock/GroupBlock.tsx +0 -50
  1098. package/mobile/src/components/GroupBlock/GroupBlockContent.ts +0 -23
  1099. package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +0 -55
  1100. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +0 -31
  1101. package/mobile/src/components/GroupBlock/filterBlocksByTag.ts +0 -5
  1102. package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +0 -34
  1103. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +0 -31
  1104. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +0 -7
  1105. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +0 -41
  1106. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +0 -12
  1107. package/mobile/src/hooks/useSafeDepositRental.ts +0 -25
  1108. package/src/components/GroupBlock/BlocksTypeProps.ts +0 -39
  1109. package/src/components/GroupBlock/EmbeddableGroupBlocks.tsx +0 -7
  1110. package/src/components/GroupBlock/GroupBlock.example.json +0 -97
  1111. package/src/components/GroupBlock/GroupBlock.fixture.tsx +0 -67
  1112. package/src/components/GroupBlock/GroupBlock.tsx +0 -50
  1113. package/src/components/GroupBlock/GroupBlockContent.ts +0 -23
  1114. package/src/components/GroupBlock/GroupBlockTabs.tsx +0 -55
  1115. package/src/components/GroupBlock/GroupBlocksItem.tsx +0 -31
  1116. package/src/components/GroupBlock/filterBlocksByTag.ts +0 -5
  1117. package/src/components/GroupBlock/renderBlocksTypes.tsx +0 -34
  1118. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +0 -31
  1119. package/src/components/NavigatorTabs/NavigatorTabs.example.json +0 -7
  1120. package/src/components/NavigatorTabs/NavigatorTabs.fixture.tsx +0 -16
  1121. package/src/components/NavigatorTabs/NavigatorTabs.tsx +0 -41
  1122. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +0 -12
  1123. package/src/hooks/useSafeDepositRental.ts +0 -25
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 8.5h11.5m-7.5 8h2m2.5 0h4" stroke="#000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 11.01V7.89c0-3.51.89-4.39 4.44-4.39h7.06m8.5 7.53v5.08c0 3.51-.89 4.39-4.44 4.39H6.44C2.89 20.5 2 19.62 2 16.11v-1.1" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 6 18 7.5l4-4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 10h16" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.55 20.5H6.44c-3.55 0-4.45-.88-4.45-4.39V7.89c0-3.18.74-4.2 3.53-4.36.28-.01.59-.02.92-.02h11.11c3.55 0 4.45.88 4.45 4.39v4.41" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6 16h4" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 18c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 18 22a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 14 18c0-2.21 1.79-4 4-4s4 1.79 4 4Z" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m16.44 18 .99.99 2.13-1.97" stroke="#42AB44" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg id="icon" width="21" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.598 11.959v2.208l1.666-1.666M7.598 9.166v.833M7.596 14.167 5.93 12.5M1.766 7.5c0-4.167 1.666-5.834 5.833-5.834h4.167" stroke="#42AB44" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.432 8.334v4.167c0 4.166-1.666 5.833-5.833 5.833h-5c-4.167 0-5.833-1.667-5.833-5.833v-1.684M15.099 8.333c-2.5 0-3.333-.834-3.333-3.334V1.666l6.666 6.667" stroke="#42AB44" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,4 +1,6 @@
1
1
  import type { TabActivationEvent } from '../components/Tabs/Tabs';
2
+ import type { TariffsTableInnerEvent } from '../ui-kit/InnerTable/InnerTableProps';
2
3
  export interface EventMap {
3
4
  tab: TabActivationEvent;
5
+ tariffInnerTable: TariffsTableInnerEvent;
4
6
  }
@@ -12,6 +12,6 @@ exports.AccordionItem = (0, uni_jsx_1.JSX)(({ label, isExpanded, blocks, context
12
12
  });
13
13
  return ((0, jsx_runtime_1.jsxs)("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [(0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full
14
14
  font-sans text-h6 ${hasContent ? 'group cursor-pointer' : ''}
15
- `, onClick: handleToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "text-primary-main", width: "24", height: "24", asSVG: true })) : null] }), hasContent ? ((0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
15
+ `, onClick: handleToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })) : null] }), hasContent ? ((0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
16
16
  });
17
17
  //# sourceMappingURL=AccordionItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAE3C,6DAA0D;AAC1D,yDAAsD;AAIzC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9F,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,mCAAgB,EAAC;QACpE,MAAM;QACN,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,OAAO,CACL,gCAAI,SAAS,EAAC,oEAAoE,aAChF,oCACE,SAAS,EAAE;gCACa,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE;WAC7D,EACH,OAAO,EAAE,YAAY,aAErB,iCAAM,SAAS,EAAE,4BAA4B,YAAG,KAAK,GAAQ,EAC5D,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAChF,CAAC,CAAC,CAAC,IAAI,IACD,EACR,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,uCAAkB,IAAC,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAC/E,CAAC,CAAC,CAAC,IAAI,IACL,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAE3C,6DAA0D;AAC1D,yDAAsD;AAIzC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9F,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,mCAAgB,EAAC;QACpE,MAAM;QACN,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,OAAO,CACL,gCAAI,SAAS,EAAC,oEAAoE,aAChF,oCACE,SAAS,EAAE;gCACa,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE;WAC7D,EACH,OAAO,EAAE,YAAY,aAErB,iCAAM,SAAS,EAAE,4BAA4B,YAAG,KAAK,GAAQ,EAC5D,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IACF,KAAK,EAAE,IAAI,EACX,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,IACD,EACR,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,uCAAkB,IAAC,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAC/E,CAAC,CAAC,CAAC,IAAI,IACL,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -9,7 +9,7 @@ exports.AccordionItem = (0, uni_jsx_1.JSX)(({ label, labelIcon, blocks, bordered
9
9
  const { hasContent, icon, handleToggle } = (0, useActiveHandler_1.useActiveHandler)({ blocks });
10
10
  return ((0, jsx_runtime_1.jsxs)("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: [(0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
11
11
  ${bordered ? '' : 'py-[14px] px-0'}
12
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [(0, jsx_runtime_1.jsxs)("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [labelIcon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: labelIcon, width: "24", height: "24", asSVG: true, className: "mr-3" })) : null, label] }), hasContent ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-6", image: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { blocks: blocks, context: context }) : null] }));
12
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [(0, jsx_runtime_1.jsxs)("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [labelIcon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: labelIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] }), hasContent ? (0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { blocks: blocks, context: context }) : null] }));
13
13
  });
14
14
  function borderedLiClass(bordered) {
15
15
  return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,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C,CAAC,IAAI,IACD,EACR,UAAU,CAAC,CAAC,CAAC,uBAAC,uCAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACN,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAkB;IACzC,OAAO,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,mCAAmC,CAAC;AACpF,CAAC"}
@@ -3,6 +3,6 @@ exports.BaseTile = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  exports.BaseTile = (0, uni_jsx_1.JSX)(({ className = '', title = '', children, buttons, image }) => {
6
- return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, (0, jsx_runtime_1.jsxs)("div", { className: "flex grow w-full justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [(0, jsx_runtime_1.jsx)("div", { children: children }), buttons ? (0, jsx_runtime_1.jsx)("div", { className: "mt-9", children: buttons }) : null] }), image] })] }));
6
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, (0, jsx_runtime_1.jsxs)("div", { className: "flex grow w-full justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between w-full", children: [(0, jsx_runtime_1.jsx)("div", { children: children }), buttons ? (0, jsx_runtime_1.jsx)("div", { className: "mt-auto", children: buttons }) : null] }), image] })] }));
7
7
  });
8
8
  //# sourceMappingURL=BaseTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAM3B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3D,OAAO,CACL,iCAAK,SAAS,EAAE,mDAAmD,SAAS,EAAE,aAC3E,KAAK,EACN,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,iCAAK,SAAS,EAAC,sBAAsB,aACnC,0CAAM,QAAQ,GAAO,EACpB,OAAO,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,MAAM,YAAE,OAAO,GAAO,CAAC,CAAC,CAAC,IAAI,IACnD,EACL,KAAK,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAM3B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3D,OAAO,CACL,iCAAK,SAAS,EAAE,mDAAmD,SAAS,EAAE,aAC3E,KAAK,EACN,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,iCAAK,SAAS,EAAC,sCAAsC,aACnD,0CAAM,QAAQ,GAAO,EACpB,OAAO,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,SAAS,YAAE,OAAO,GAAO,CAAC,CAAC,CAAC,IAAI,IACtD,EACL,KAAK,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { TitleProp } from '../../model/HeadlineType';
2
+ import type { TitleProps } from '../../model/HeadlineType';
3
3
  import type { EmptyOption } from '../../model/EmptyOptionType';
4
4
  /**
5
5
  * @title Пункты описания
@@ -43,7 +43,7 @@ export interface BenefitItemProps {
43
43
  /**
44
44
  * @title Блок преимущества
45
45
  */
46
- export declare type BenefitsBlockContent = TitleProp & {
46
+ export declare type BenefitsBlockContent = TitleProps & {
47
47
  /**
48
48
  * @title Список преимуществ
49
49
  * @maxItems 6
@@ -6,14 +6,12 @@ import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTil
6
6
  import type { FooterContent } from './Footer/FooterContent';
7
7
  import type { GalleryContent } from './Gallery/GalleryContent';
8
8
  import type { GracePeriodContent } from './GracePeriod/GracePeriodContent';
9
- import type { GroupBlockContent } from './GroupBlock/GroupBlockContent';
10
9
  import type { HeaderContent } from './Header/HeaderContent';
11
10
  import type { InsuranceAmountBlockContent } from './InsuranceAmountBlock/InsuranceAmountBlockContent';
12
11
  import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
13
12
  import type { LinkListContent } from './LinkList/LinkListContent';
14
13
  import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
15
14
  import type { NavigationContent } from './Navigation/NavigationContent';
16
- import type { NavigatorTabsContent } from './NavigatorTabs/NavigatorTabsContent';
17
15
  import type { PictureTextContent } from './PictureText/PictureTextContent';
18
16
  import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
19
17
  import type { ProductBlockContent } from './ProductBlock/ProductBlockContent';
@@ -22,10 +20,11 @@ import type { ProductTileContent } from './ProductTile/ProductTileContent';
22
20
  import type { PromoTileContent } from './PromoTile/PromoTileContent';
23
21
  import type { SafeDepositRentalContent } from './SafeDepositRental/SafeDepositRentalContent';
24
22
  import type { StepsBlockContent } from './StepsBlock/StepsBlockContent';
23
+ import { TabsContent } from './Tabs/TabsContent';
25
24
  import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
26
25
  import type { TextBlockContent } from './TextBlock/TextBlockContent';
27
26
  import type { TileContent } from './Tile/TileContent';
28
27
  /**
29
28
  * @hidden
30
29
  */
31
- export declare type BlockContent = BenefitsBlockContent | BonusContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | NavigatorTabsContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | NavigationContent | LinkListContent | GroupBlockContent | BonusBenefitsBlockContent | SafeDepositRentalContent;
30
+ export declare type BlockContent = BenefitsBlockContent | BonusContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | NavigationContent | LinkListContent | BonusBenefitsBlockContent | SafeDepositRentalContent | TabsContent;
@@ -15,7 +15,6 @@ export declare const Blocks: {
15
15
  LinkDocs: import("@redneckz/uni-jsx").UNIComponent<import("./LinkDocs/LinkDocs").LinkDocsProps, any, any>;
16
16
  MiniGallery: import("@redneckz/uni-jsx").UNIComponent<import("./MiniGallery/MiniGallery").MiniGalleryProps, any, any>;
17
17
  MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<import("./MobileAppTile/MobileAppTile").MobileAppTileProps, any, any>;
18
- NavigatorTabs: import("@redneckz/uni-jsx").UNIComponent<import("./NavigatorTabs/NavigatorTabs").TabsBlockProps, any, any>;
19
18
  PictureText: import("@redneckz/uni-jsx").UNIComponent<import("./PictureText/PictureText").PictureTextProps, any, any>;
20
19
  ProductBlock: import("@redneckz/uni-jsx").UNIComponent<import("./ProductBlock/ProductBlock").ProductBlockProps, any, any>;
21
20
  ProductGallery: import("@redneckz/uni-jsx").UNIComponent<import("./ProductGallery/ProductGallery").ProductGalleryProps, any, any>;
@@ -29,8 +28,7 @@ export declare const Blocks: {
29
28
  Tile: import("@redneckz/uni-jsx").UNIComponent<import("./Tile/Tile").TileProps, any, any>;
30
29
  Navigation: import("@redneckz/uni-jsx").UNIComponent<import("./Navigation/Navigation").NavigationProps, any, any>;
31
30
  Placeholder: import("@redneckz/uni-jsx").UNIComponent<import("./Placeholder/Placeholder").PlaceholderProps, any, any>;
32
- GroupBlock: import("@redneckz/uni-jsx").UNIComponent<import("./GroupBlock/GroupBlock").GroupBlockProps, any, any>;
33
31
  BonusBenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<import("./BonusBenefitsBlock/BonusBenefitsBlock").BenefitsBlockProps, any, any>;
34
32
  SafeDepositRental: import("@redneckz/uni-jsx").UNIComponent<import("./SafeDepositRental/SafeDepositRental").SafeDepositRentalProps, any, any>;
35
- Tabs: import("@redneckz/uni-jsx").UNIComponent<import("./Tabs/Tabs").TabsProps, any, any>;
33
+ Tabs: import("@redneckz/uni-jsx").UNIComponent<import("./Tabs/Tabs").TabsBlockProps, any, any>;
36
34
  };
@@ -11,7 +11,6 @@ const ExchangeRateTile_1 = require("./ExchangeRateTile/ExchangeRateTile");
11
11
  const Footer_1 = require("./Footer/Footer");
12
12
  const Gallery_1 = require("./Gallery/Gallery");
13
13
  const GracePeriod_1 = require("./GracePeriod/GracePeriod");
14
- const GroupBlock_1 = require("./GroupBlock/GroupBlock");
15
14
  const Header_1 = require("./Header/Header");
16
15
  const Headline_1 = require("./Headline/Headline");
17
16
  const InsuranceAmountBlock_1 = require("./InsuranceAmountBlock/InsuranceAmountBlock");
@@ -19,7 +18,6 @@ const LinkDocs_1 = require("./LinkDocs/LinkDocs");
19
18
  const MiniGallery_1 = require("./MiniGallery/MiniGallery");
20
19
  const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
21
20
  const Navigation_1 = require("./Navigation/Navigation");
22
- const NavigatorTabs_1 = require("./NavigatorTabs/NavigatorTabs");
23
21
  const OtherProducts_1 = require("./OtherProducts/OtherProducts");
24
22
  const PictureText_1 = require("./PictureText/PictureText");
25
23
  const Placeholder_1 = require("./Placeholder/Placeholder");
@@ -51,7 +49,6 @@ exports.Blocks = {
51
49
  LinkDocs: LinkDocs_1.LinkDocs,
52
50
  MiniGallery: MiniGallery_1.MiniGallery,
53
51
  MobileAppTile: MobileAppTile_1.MobileAppTile,
54
- NavigatorTabs: NavigatorTabs_1.NavigatorTabs,
55
52
  PictureText: PictureText_1.PictureText,
56
53
  ProductBlock: ProductBlock_1.ProductBlock,
57
54
  ProductGallery: ProductGallery_1.ProductGallery,
@@ -65,7 +62,6 @@ exports.Blocks = {
65
62
  Tile: Tile_1.Tile,
66
63
  Navigation: Navigation_1.Navigation,
67
64
  Placeholder: Placeholder_1.Placeholder,
68
- GroupBlock: GroupBlock_1.GroupBlock,
69
65
  BonusBenefitsBlock: BonusBenefitsBlock_1.BonusBenefitsBlock,
70
66
  SafeDepositRental: SafeDepositRental_1.SafeDepositRental,
71
67
  Tabs: Tabs_1.Tabs,
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AAAA,qDAAkD;AAClD,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,wDAAqD;AACrD,+CAA4C;AAC5C,uEAAoE;AACpE,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,wDAAqD;AACrD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,wDAAqD;AACrD,iEAA8D;AAC9D,iEAA8D;AAC9D,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,6EAA0E;AAC1E,wDAAqD;AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,eAAe,EAAf,iCAAe;IACf,UAAU,EAAV,uBAAU;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AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,eAAe,EAAf,iCAAe;IACf,UAAU,EAAV,uBAAU;IACV,OAAO,EAAP,iBAAO;IACP,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,QAAQ,EAAR,mBAAQ;IACR,WAAW,EAAX,yBAAW;IACX,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,cAAc,EAAd,+BAAc;IACd,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,UAAU,EAAV,uBAAU;IACV,WAAW,EAAX,yBAAW;IACX,kBAAkB,EAAlB,uCAAkB;IAClB,iBAAiB,EAAjB,qCAAiB;IACjB,IAAI,EAAJ,WAAI;CACL,CAAC"}
@@ -40,7 +40,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }) {
40
40
  ${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-[24px] w-[24px] min-w-[24px] min-h-[24px] mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `text-secondary-text ${btnDescClassName}`, children: tab.description })] })] }, String(i)));
41
41
  }
42
42
  function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
43
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-[38px] box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
43
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
44
44
  tab,
45
45
  i,
46
46
  activeSlideIndex,
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,CACzC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,gBAAgB,EAAE,mB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AAmB,EAAa;IAC1F,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
@@ -1,13 +1,10 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useCalculatorParams = void 0;
3
3
  const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
4
+ const fetchJSON_1 = require("../../utils/fetchJSON");
4
5
  function useCalculatorParams(dir) {
5
- const { data } = (0, useAsyncData_1.useAsyncData)(`/wcms-resources/${dir}.json`, fetchCalculatorSourceBookParams);
6
+ const { data } = (0, useAsyncData_1.useAsyncData)(`/wcms-resources/${dir}.json`, fetchJSON_1.fetchJSONUnsafe);
6
7
  return data;
7
8
  }
8
9
  exports.useCalculatorParams = useCalculatorParams;
9
- async function fetchCalculatorSourceBookParams(url) {
10
- const response = await fetch(url);
11
- return await response.json();
12
- }
13
10
  //# sourceMappingURL=useCalculatorParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,SAAgB,mBAAmB,CAAO,GAAW;IACnD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,mBAAmB,GAAG,OAAO,EAC7B,+BAA+B,CAChC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAPD,kDAOC;AAED,KAAK,UAAU,+BAA+B,CAAO,GAAW;IAC9D,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"useCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAwD;AAExD,SAAgB,mBAAmB,CAAO,GAAW;IACnD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAAO,mBAAmB,GAAG,OAAO,EAAE,2BAAe,CAAC,CAAC;IAEpF,OAAO,IAAI,CAAC;AACd,CAAC;AAJD,kDAIC"}
@@ -14,13 +14,12 @@ const useCreditCalculatorParams = (userInputParams, sourceBookDir) => {
14
14
  const { rateBottomRange, rateTopRange, sumBorder } = creditCalculatorSourceBookParams;
15
15
  const finalRate = moneyValue <= sumBorder ? rateBottomRange : rateTopRange;
16
16
  const monthlyPayment = (0, getMonthlyPayment_1.getMonthlyPayment)(finalRate, userInputParams);
17
- const extendedCalculatorParams = {
17
+ return {
18
18
  ...creditCalculatorSourceBookParams,
19
19
  ...userInputParams,
20
20
  finalRate,
21
21
  monthlyPayment,
22
22
  };
23
- return extendedCalculatorParams;
24
23
  };
25
24
  exports.useCreditCalculatorParams = useCreditCalculatorParams;
26
25
  //# sourceMappingURL=useCreditCalculatorParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCreditCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCreditCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2CAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAkCrD,MAAM,yBAAyB,GAAG,CACvC,eAAgD,EAChD,aAAsB,EACE,EAAE;IAC1B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IAErF,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAAuB,aAAa,IAAI,mCAAuB,CAAC,CAAC;IACjG,MAAM,gCAAgC,GACpC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACrB,OAAO,CACL,WAAW,KAAK,CAAC,CAAC,WAAW;YAC7B,cAAc,KAAK,CAAC,CAAC,cAAc;YACnC,eAAe,KAAK,CAAC,CAAC,eAAe,CACtC,CAAC;IACJ,CAAC,CAAC,IAAI,4CAAgC,CAAC;IAEzC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,gCAAgC,CAAC;IACtF,MAAM,SAAS,GAAG,UAAU,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErE,MAAM,wBAAwB,GAAG;QAC/B,GAAG,gCAAgC;QACnC,GAAG,eAAe;QAClB,SAAS;QACT,cAAc;KACf,CAAC;IAEF,OAAO,wBAAwB,CAAC;AAClC,CAAC,CAAC;AA5BW,QAAA,yBAAyB,6BA4BpC"}
1
+ {"version":3,"file":"useCreditCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCreditCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2CAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAkCrD,MAAM,yBAAyB,GAAG,CACvC,eAAgD,EAChD,aAAsB,EACE,EAAE;IAC1B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IAErF,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAAuB,aAAa,IAAI,mCAAuB,CAAC,CAAC;IACjG,MAAM,gCAAgC,GACpC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACrB,OAAO,CACL,WAAW,KAAK,CAAC,CAAC,WAAW;YAC7B,cAAc,KAAK,CAAC,CAAC,cAAc;YACnC,eAAe,KAAK,CAAC,CAAC,eAAe,CACtC,CAAC;IACJ,CAAC,CAAC,IAAI,4CAAgC,CAAC;IAEzC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,gCAAgC,CAAC;IACtF,MAAM,SAAS,GAAG,UAAU,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErE,OAAO;QACL,GAAG,gCAAgC;QACnC,GAAG,eAAe;QAClB,SAAS;QACT,cAAc;KACf,CAAC;AACJ,CAAC,CAAC;AA1BW,QAAA,yBAAyB,6BA0BpC"}
@@ -5,6 +5,11 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Button_1 = require("../../ui-kit/Button/Button");
6
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
+ const iconVersionMap = {
9
+ default: 'normal',
10
+ primary: 'white',
11
+ secondary: 'black',
12
+ };
8
13
  const cardStyleMap = {
9
14
  black: 'bg-black',
10
15
  white: 'bg-white',
@@ -14,16 +19,17 @@ exports.CatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description,
14
19
  });
15
20
  const renderColorOption = (color, i) => ((0, jsx_runtime_1.jsx)("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
16
21
  const renderButton = (button) => {
17
- const { icon, iconRight, text } = button;
18
- if (!text) {
22
+ const { icon, iconRight, ...other } = button;
23
+ if (!button?.text) {
19
24
  return null;
20
25
  }
21
- const leftIcon = renderButtonIcon(icon);
22
- const rightIcon = renderButtonIcon(iconRight);
23
- return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-5 w-full", appendLeft: leftIcon, appendRight: rightIcon, ...button }));
26
+ const iconVersion = iconVersionMap[button?.version || 'default'];
27
+ const leftIcon = renderButtonIcon({ ...icon, iconVersion });
28
+ const rightIcon = renderButtonIcon({ ...iconRight, iconVersion });
29
+ return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-5 w-full", appendLeft: leftIcon, appendRight: rightIcon, ...other }));
24
30
  };
25
31
  const renderButtonIcon = (buttonIcon) => {
26
- if (!buttonIcon || !buttonIcon.icon) {
32
+ if (!buttonIcon || (!buttonIcon?.icon && !buttonIcon?.src)) {
27
33
  return null;
28
34
  }
29
35
  const iconWidth = buttonIcon?.size?.width ? `${buttonIcon.size.width}` : '24';
@@ -1 +1 @@
1
- {"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,uDAAoD;AAEpD,0DAAuD;AACvD,8CAA2C;AAO3C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE;IACvE,OAAO,CACL,qCACE,SAAS,EAAE,oFAAoF,SAAS,EAAE,EAC1G,IAAI,EAAC,UAAU,aAEd,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,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eAAM,IAAC,SAAS,EAAC,aAAa,EAAC,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,KAAM,KAAK,GAAI,CAC5F,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,UAAoB,EAAE,EAAE;IAChD,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE;QAC1D,OAAO,IAAI,CAAC;KACb;IAED,MAAM,SAAS,GAAG,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE9E,OAAO,uBAAC,SAAG,IAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC;AACxE,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
- import type { Picture } from '../../model/Picture';
3
2
  import type { ListOrientation } from '../../model/ListOrientation';
3
+ import type { Picture } from '../../model/Picture';
4
4
  /**
5
5
  * @hidden
6
6
  */
@@ -25,7 +25,13 @@ export interface ColumnHeader {
25
25
  title?: string;
26
26
  /** @title Подзаголовок */
27
27
  subtitle?: string;
28
+ /**
29
+ * @default { "format": "webp", "size": { "width": 24 } }
30
+ */
28
31
  icon?: Picture;
32
+ /**
33
+ * @default { "format": "webp", "size": { "width": 100 } }
34
+ */
29
35
  image?: Picture;
30
36
  link?: LinkProps;
31
37
  }
@@ -1,9 +1,9 @@
1
+ import type { TitleProps } from '../../model/HeadlineType';
1
2
  import type { TableArrowScrollControlProps } from '../../ui-kit/TableArrowScrollControl/TableArrowScrollControlProps';
2
3
  import type { CellData } from './ComparisonTableContent';
3
- import type { TitleProp } from '../../model/HeadlineType';
4
4
  declare type ComparisonTableRowsProps = TableArrowScrollControlProps & {
5
5
  rowData: {
6
- header: TitleProp;
6
+ header: TitleProps;
7
7
  data: CellData[][];
8
8
  }[];
9
9
  activeCardIndex: number;
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ComparisonTableRows = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const TableRow_1 = require("./TableRow");
6
5
  const TableArrowScrollControl_1 = require("../../ui-kit/TableArrowScrollControl/TableArrowScrollControl");
6
+ const TableRow_1 = require("./TableRow");
7
7
  exports.ComparisonTableRows = (0, uni_jsx_1.JSX)(({ rowData, activeCardIndex, isColoredFirstColumn, ...tableArrowScrollProps }) => {
8
8
  return ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TableRow_1.TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), (0, jsx_runtime_1.jsx)(TableArrowScrollControl_1.TableArrowScrollControl, { ...tableArrowScrollProps })] }));
9
9
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTableRows.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableRows.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yCAAsC;AACtC,0GAAuG;AAW1F,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,GAAG,qBAAqB,EAAE,EAAE,EAAE;IAC/E,OAAO,CACL,iCAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACnC,uBAAC,mBAAQ,IAEP,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,CAAC,KAAK,CAAC,EACnB,SAAS,EAAE,CAAC,GAAG,CAAC,KAAK,MAAM,EAC3B,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,IALrC,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC,EACF,uBAAC,iDAAuB,OAAK,qBAAqB,GAAI,IAClD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ComparisonTableRows.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableRows.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0GAAuG;AAGvG,yCAAsC;AAQzB,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,GAAG,qBAAqB,EAAE,EAAE,EAAE;IAC/E,OAAO,CACL,iCAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACnC,uBAAC,mBAAQ,IAEP,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,CAAC,KAAK,CAAC,EACnB,SAAS,EAAE,CAAC,GAAG,CAAC,KAAK,MAAM,EAC3B,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,IALrC,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC,EACF,uBAAC,iDAAuB,OAAK,qBAAqB,GAAI,IAClD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -5,7 +5,7 @@ const isBlockInRegistry_1 = require("./isBlockInRegistry");
5
5
  const normalizeBlock_1 = require("./normalizeBlock");
6
6
  function normalizePage(contentPage) {
7
7
  if (!contentPage) {
8
- return;
8
+ return undefined;
9
9
  }
10
10
  const { blocks, slots } = contentPage;
11
11
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO;KACR;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,CAAC;iBACtD;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,EAAE,eAAM,CAAC,CAAC,CAAC,GAAG,CAAC,+BAAc,CAAC,CAAC;AAC/F,CAAC"}
1
+ {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,CAAC;iBACtD;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,EAAE,eAAM,CAAC,CAAC,CAAC,GAAG,CAAC,+BAAc,CAAC,CAAC;AAC/F,CAAC"}
@@ -5,7 +5,7 @@ const isBlockInRegistry_1 = require("./isBlockInRegistry");
5
5
  const normalizeBlock_1 = require("./normalizeBlock");
6
6
  function normalizePage(contentPage) {
7
7
  if (!contentPage) {
8
- return;
8
+ return undefined;
9
9
  }
10
10
  const { blocks, slots } = contentPage;
11
11
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO;KACR;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,CAAC;iBACrD;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACzF;SACA,GAAG,CAAC,+BAAc,CAAC,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,CAAC;iBACrD;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACzF;SACA,GAAG,CAAC,+BAAc,CAAC,CAAC;AACzB,CAAC"}
@@ -7,10 +7,7 @@ const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const ListItem_1 = require("../../ui-kit/List/ListItem");
9
9
  const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
10
- const blockStyle = {
11
- primary: 'bg-white',
12
- secondary: 'bg-primary-main text-white',
13
- };
10
+ const BlockVersion_1 = require("../../model/BlockVersion");
14
11
  exports.Gallery = (0, uni_jsx_1.JSX)(({ context, title, description, cards = [], className, orientation = 'horizontal' }) => {
15
12
  const headingClassName = description ? 'mb-2' : 'mb-5';
16
13
  return ((0, jsx_runtime_1.jsxs)("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center mb-5", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards, context)] }));
@@ -20,7 +17,7 @@ function renderCardsLayout(orientation, cards, context) {
20
17
  }
21
18
  function renderCard(card, key) {
22
19
  return ((0, jsx_runtime_1.jsxs)("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
23
- ${blockStyle[card.version ?? 'primary']}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [card.image?.src ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? (0, jsx_runtime_1.jsx)("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
20
+ ${BlockVersion_1.VersionStyleMap[card.version ?? 'primary']}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [card.image?.src ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? (0, jsx_runtime_1.jsx)("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
24
21
  }
25
22
  function renderButton(button) {
26
23
  return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-3", appendLeft: button?.icon && (0, jsx_runtime_1.jsx)(Img_1.Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.mobile.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,uDAAoD;AACpD,0DAAuD;AACvD,8CAA2C;AAC3C,yDAA0D;AAC1D,qFAAkF;AAKlF,MAAM,UAAU,GAAiC;IAC/C,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,WAAW,GAAG,YAAY,EAAE,EAAE,EAAE;I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M,CAAC,CAAC,CAAC,CAAC,IAAI,KAZjD,GAAG,CAaJ,CACP,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,MAAM;IAC1B,OAAO,CACL,uBAAC,eAAM,IACL,SAAS,EAAC,MAAM,EAChB,UAAU,EAAE,MAAM,EAAE,IAAI,IAAI,uBAAC,SAAG,IAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,SAAG,KACrF,MAAM,GACV,CACH,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAsB;IAC/C,OAAO,CACL,gCACE,SAAS,EAAE,mCACT,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAC3D,EAAE,YAED,IAAI,CAAC,WAAW,GACb,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAyB,EAAE,QAAQ,EAAE,UAAwB,SAAS;IACzF,OAAO,CACL,oCAAS,SAAS,EAAC,MAAM,YACtB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,4CACG,QAAQ,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,IAAA,uBAAY,EAAC,OAAO,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5D,iCAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,CAAC,KAAK,GAAQ,EACxD,iCAAM,SAAS,EAAE,eAAe,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,EAAE,YACjF,IAAI,CAAC,IAAI,GACL,KALC,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { GalleryCard } from './GalleryContent';
2
- export declare const GalleryCardInner: import("@redneckz/uni-jsx").UNIComponent<GalleryCard, any, any>;
1
+ import type { GalleryCardProps } from './GalleryContent';
2
+ export declare const GalleryCardInner: import("@redneckz/uni-jsx").UNIComponent<GalleryCardProps, any, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAoD;AACpD,8CAA2C;AAC3C,iDAA8C;AAGjC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,IAAI,EAAE,EAAE,EAAE;IACzE,MAAM,iBAAiB,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,CACL,iCAAK,SAAS,EAAC,kDAAkD,aAC/D,4CACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,IAAI,EACxD,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,SAAS,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACxF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,IACzD,EACL,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,IACvC,CACP,CAAC;AACJ,CAAC,CACF,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IACvD,OAAO,gCAAK,SAAS,EAAE,qBAAqB,SAAS,EAAE,YAAG,KAAK,GAAO,CAAC;AACzE,CAAC;AAED,SAAS,WAAW,CAClB,KAAyB,EACzB,QAAiB,EACjB,UAAwB,SAAS;IAEjC,OAAO,CACL,uBAAC,WAAI,IACH,SAAS,EAAE,6BAA6B,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC7F,aAAa,EAAC,2BAA2B,EACzC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,OAAO;IAC5B,OAAO;UACC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE;OACrD,CAAC;AACR,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import type { GalleryVersion } from '../../model/GalleryVersion';
2
2
  import type { ContentPageContext } from '../ContentPage/ContentPageContext';
3
- import type { GalleryCard } from './GalleryContent';
3
+ import type { GalleryCardProps } from './GalleryContent';
4
4
  import type { GalleryInnerProps } from './GalleryInner';
5
5
  export interface GalleryContainerProps extends Omit<GalleryInnerProps, 'className'> {
6
6
  activeCardIndex: number;
7
7
  }
8
8
  export interface GalleryCardData {
9
- card: GalleryCard;
9
+ card: GalleryCardProps;
10
10
  version: GalleryVersion;
11
11
  context: ContentPageContext;
12
12
  }
@@ -2,14 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.GalleryContainer = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockVersion_1 = require("../../model/BlockVersion");
6
+ const Headline_1 = require("../Headline/Headline");
5
7
  const constants_1 = require("./constants");
6
8
  const GalleryCardInner_1 = require("./GalleryCardInner");
7
- const Headline_1 = require("../Headline/Headline");
8
9
  exports.GalleryContainer = (0, uni_jsx_1.JSX)(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
9
10
  return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), (0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "L", align: "center" }), (0, jsx_runtime_1.jsx)("div", { className: `flex mt-8 ${cards?.length <= constants_1.galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * constants_1.cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
10
11
  });
11
12
  function renderCard({ card, version }, i) {
12
13
  return ((0, jsx_runtime_1.jsx)("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
13
- items-stretch ${constants_1.cardStyleMap[version]} ${constants_1.cardVersionMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: (0, jsx_runtime_1.jsx)(GalleryCardInner_1.GalleryCardInner, { ...card }) }, String(i)));
14
+ items-stretch ${constants_1.cardStyleMap[version]} ${BlockVersion_1.VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: (0, jsx_runtime_1.jsx)(GalleryCardInner_1.GalleryCardInner, { ...card }) }, String(i)));
14
15
  }
15
16
  //# sourceMappingURL=GalleryContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,2CAAoG;AACpG,yDAAsD;AAG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AAM,CAAC,CAAC,CAAC,CAIN,CACX,CAAC;AACJ,CAAC"}
@@ -5,7 +5,7 @@ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  /**
6
6
  * @title Элемент списка
7
7
  */
8
- export interface GalleryItem {
8
+ export interface GalleryItemProps {
9
9
  /** @title Заголовок (моб.) */
10
10
  title?: string;
11
11
  /** @title Текст */
@@ -14,7 +14,7 @@ export interface GalleryItem {
14
14
  /**
15
15
  * @title Карточка
16
16
  */
17
- export interface GalleryCard {
17
+ export interface GalleryCardProps {
18
18
  /** @title Заголовок */
19
19
  title?: string;
20
20
  /** @title Описание */
@@ -38,7 +38,7 @@ export interface GalleryCard {
38
38
  */
39
39
  isDotted?: boolean;
40
40
  /** @title Список */
41
- items?: GalleryItem[];
41
+ items?: GalleryItemProps[];
42
42
  version?: BlockVersion;
43
43
  }
44
44
  /**
@@ -53,7 +53,7 @@ export interface GalleryContent {
53
53
  * @title Карточки
54
54
  * @minItems 3
55
55
  */
56
- cards?: GalleryCard[];
56
+ cards?: GalleryCardProps[];
57
57
  /** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
58
58
  orientation?: ListOrientation;
59
59
  }
@@ -1,4 +1,4 @@
1
1
  import type { UniBlockProps } from '../../types';
2
- import { GalleryContent } from './GalleryContent';
2
+ import type { GalleryContent } from './GalleryContent';
3
3
  export interface GalleryProps extends GalleryContent, UniBlockProps {
4
4
  }
@@ -1,6 +1,4 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { GalleryVersion } from '../../model/GalleryVersion';
3
- export declare const cardVersionMap: Record<BlockVersion, string>;
4
2
  export declare const galleryLengthForScrollMap: Record<GalleryVersion, number>;
5
3
  export declare const cardStyleMap: Record<GalleryVersion, string>;
6
4
  export declare const cardWidthMap: Record<GalleryVersion, number>;
@@ -1,9 +1,5 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.cardWidthMap = exports.cardStyleMap = exports.galleryLengthForScrollMap = exports.cardVersionMap = void 0;
3
- exports.cardVersionMap = {
4
- primary: 'bg-white text-secondary-text',
5
- secondary: 'bg-primary-main text-white',
6
- };
2
+ exports.cardWidthMap = exports.cardStyleMap = exports.galleryLengthForScrollMap = void 0;
7
3
  exports.galleryLengthForScrollMap = {
8
4
  normal: 3,
9
5
  mini: 4,
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Gallery/constants.ts"],"names":[],"mappings":";;AAGa,QAAA,cAAc,GAAiC;IAC1D,OAAO,EAAE,8BAA8B;IACvC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,yBAAyB,GAAmC;IACvE,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACR,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,yBAAyB;CAChC,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;CACV,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Gallery/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,yBAAyB,GAAmC;IACvE,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACR,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,yBAAyB;CAChC,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;CACV,CAAC"}