@redneckz/wildless-cms-uni-blocks 0.3.22 → 0.3.25

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 (423) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +62 -70
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +6 -2
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/AccordionContent.d.ts +7 -0
  7. package/dist/components/Accordion/AccordionItem.js +14 -5
  8. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  9. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  11. package/dist/components/Accordion/AccordionItemInner.js +2 -2
  12. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  13. package/dist/components/Accordion/AccordionItemInner.mobile.js +2 -2
  14. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  15. package/dist/components/Accordion/useActiveHandler.d.ts +7 -0
  16. package/dist/components/Accordion/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  17. package/dist/components/Accordion/useActiveHandler.js.map +1 -0
  18. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +17 -5
  19. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  20. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  21. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  22. package/dist/components/Gallery/Gallery.mobile.js +4 -4
  23. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  24. package/dist/components/Gallery/GalleryCardInner.js +4 -9
  25. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  26. package/dist/components/Gallery/GalleryContent.d.ts +3 -2
  27. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  28. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  29. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  30. package/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  31. package/dist/components/OtherProducts/OtherProductsItem.js +4 -4
  32. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  33. package/dist/components/OtherProducts/useActiveHandler.d.ts +7 -0
  34. package/dist/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  35. package/dist/components/OtherProducts/useActiveHandler.js.map +1 -0
  36. package/dist/components/ProductBlock/ProductBlock.mobile.js +7 -5
  37. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  38. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  39. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  40. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  41. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +8 -3
  42. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  43. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  44. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  45. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  46. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  47. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  48. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  49. package/dist/components/TariffsTable/TariffsTableCell.js +4 -4
  50. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  51. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  52. package/dist/components/TariffsTable/TariffsTableTileCell.js +4 -2
  53. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  54. package/dist/components/TextBlock/TextBlock.mobile.js +1 -1
  55. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  56. package/dist/components/Tile/Tile.js +1 -1
  57. package/dist/components/Tile/Tile.js.map +1 -1
  58. package/dist/content-page-repository/transformPicture.js +2 -1
  59. package/dist/content-page-repository/transformPicture.js.map +1 -1
  60. package/dist/model/Picture.d.ts +2 -2
  61. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  62. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  63. package/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  64. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  65. package/dist/ui-kit/Icon/Icon.js +2 -1
  66. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  67. package/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  68. package/dist/ui-kit/Img/Img.js +3 -1
  69. package/dist/ui-kit/Img/Img.js.map +1 -1
  70. package/dist/ui-kit/List/List.d.ts +1 -1
  71. package/dist/ui-kit/List/List.js +7 -2
  72. package/dist/ui-kit/List/List.js.map +1 -1
  73. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  74. package/dist/ui-kit/List/ListItem.js +4 -9
  75. package/dist/ui-kit/List/ListItem.js.map +1 -1
  76. package/dist/ui-kit/List/ListProps.d.ts +2 -0
  77. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +1 -1
  78. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  79. package/lib/common.css +1 -1
  80. package/lib/components/Accordion/Accordion.js +6 -2
  81. package/lib/components/Accordion/Accordion.js.map +1 -1
  82. package/lib/components/Accordion/AccordionContent.d.ts +7 -0
  83. package/lib/components/Accordion/AccordionItem.js +14 -5
  84. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  85. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  86. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  87. package/lib/components/Accordion/AccordionItemInner.js +2 -2
  88. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  89. package/lib/components/Accordion/AccordionItemInner.mobile.js +2 -2
  90. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  91. package/lib/components/Accordion/useActiveHandler.d.ts +7 -0
  92. package/{mobile/lib/components/Accordion/utils → lib/components/Accordion}/useActiveHandler.js +2 -2
  93. package/lib/components/Accordion/useActiveHandler.js.map +1 -0
  94. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +17 -5
  95. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  96. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  97. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  98. package/lib/components/Gallery/Gallery.mobile.js +4 -4
  99. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  100. package/lib/components/Gallery/GalleryCardInner.js +4 -9
  101. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  102. package/lib/components/Gallery/GalleryContent.d.ts +3 -2
  103. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  104. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  105. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  106. package/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  107. package/lib/components/OtherProducts/OtherProductsItem.js +4 -4
  108. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  109. package/lib/components/OtherProducts/useActiveHandler.d.ts +7 -0
  110. package/lib/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  111. package/lib/components/OtherProducts/useActiveHandler.js.map +1 -0
  112. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +4 -0
  113. package/lib/components/ProductBlock/ProductBlock.mobile.js +7 -5
  114. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  115. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  116. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  117. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  118. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +8 -3
  119. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  120. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  121. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  122. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  123. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  124. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  125. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  126. package/lib/components/TariffsTable/TariffsTableCell.js +4 -4
  127. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  128. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  129. package/lib/components/TariffsTable/TariffsTableTileCell.js +4 -2
  130. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  131. package/lib/components/TextBlock/TextBlock.mobile.js +1 -1
  132. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  133. package/lib/components/Tile/Tile.js +1 -1
  134. package/lib/components/Tile/Tile.js.map +1 -1
  135. package/lib/content-page-repository/transformPicture.js +2 -1
  136. package/lib/content-page-repository/transformPicture.js.map +1 -1
  137. package/lib/model/Picture.d.ts +2 -2
  138. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  139. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  140. package/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  141. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  142. package/lib/ui-kit/Icon/Icon.js +2 -1
  143. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  144. package/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  145. package/lib/ui-kit/Img/Img.js +3 -1
  146. package/lib/ui-kit/Img/Img.js.map +1 -1
  147. package/lib/ui-kit/List/List.d.ts +1 -1
  148. package/lib/ui-kit/List/List.fixture.d.ts +10 -0
  149. package/lib/ui-kit/List/List.js +7 -2
  150. package/lib/ui-kit/List/List.js.map +1 -1
  151. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  152. package/lib/ui-kit/List/ListItem.js +4 -9
  153. package/lib/ui-kit/List/ListItem.js.map +1 -1
  154. package/lib/ui-kit/List/ListProps.d.ts +2 -0
  155. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +1 -1
  156. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  157. package/mobile/bundle/bundle.umd.js +72 -74
  158. package/mobile/bundle/bundle.umd.min.js +1 -1
  159. package/mobile/dist/components/Accordion/AccordionContent.d.ts +7 -0
  160. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  161. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  162. package/mobile/dist/components/Accordion/AccordionItemInner.js +2 -2
  163. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  164. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +7 -0
  165. package/mobile/dist/components/Accordion/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  166. package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -0
  167. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +17 -5
  168. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  169. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  170. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  171. package/mobile/dist/components/Gallery/Gallery.js +4 -4
  172. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  173. package/mobile/dist/components/Gallery/GalleryCardInner.js +4 -9
  174. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  175. package/mobile/dist/components/Gallery/GalleryContent.d.ts +3 -2
  176. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  177. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  178. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  179. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  180. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -4
  181. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  182. package/mobile/dist/components/OtherProducts/useActiveHandler.d.ts +7 -0
  183. package/mobile/dist/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  184. package/mobile/dist/components/OtherProducts/useActiveHandler.js.map +1 -0
  185. package/mobile/dist/components/ProductBlock/ProductBlock.js +7 -5
  186. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  187. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  188. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +8 -3
  189. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  190. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  191. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  192. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  193. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  194. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  195. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  196. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +4 -4
  197. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  198. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  199. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +4 -2
  200. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  201. package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
  202. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  203. package/mobile/dist/components/Tile/Tile.js +1 -1
  204. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  205. package/mobile/dist/content-page-repository/transformPicture.js +2 -1
  206. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  207. package/mobile/dist/model/Picture.d.ts +2 -2
  208. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  209. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  210. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  211. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  212. package/mobile/dist/ui-kit/Icon/Icon.js +2 -1
  213. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  214. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  215. package/mobile/dist/ui-kit/List/List.d.ts +1 -1
  216. package/mobile/dist/ui-kit/List/List.js +7 -2
  217. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  218. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  219. package/mobile/dist/ui-kit/List/ListItem.js +4 -9
  220. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  221. package/mobile/dist/ui-kit/List/ListProps.d.ts +2 -0
  222. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -1
  223. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  224. package/mobile/lib/components/Accordion/AccordionContent.d.ts +7 -0
  225. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  226. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  227. package/mobile/lib/components/Accordion/AccordionItemInner.js +2 -2
  228. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  229. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +7 -0
  230. package/{lib/components/Accordion/utils → mobile/lib/components/Accordion}/useActiveHandler.js +2 -2
  231. package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -0
  232. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +17 -5
  233. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  234. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  235. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  236. package/mobile/lib/components/Gallery/Gallery.js +4 -4
  237. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  238. package/mobile/lib/components/Gallery/GalleryCardInner.js +4 -9
  239. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  240. package/mobile/lib/components/Gallery/GalleryContent.d.ts +3 -2
  241. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  242. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  243. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  244. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  245. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -4
  246. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  247. package/mobile/lib/components/OtherProducts/useActiveHandler.d.ts +7 -0
  248. package/mobile/lib/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  249. package/mobile/lib/components/OtherProducts/useActiveHandler.js.map +1 -0
  250. package/mobile/lib/components/ProductBlock/ProductBlock.js +7 -5
  251. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  252. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  253. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +8 -3
  254. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  255. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  256. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  257. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  258. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  259. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  260. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  261. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +4 -4
  262. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  263. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  264. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +4 -2
  265. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  266. package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
  267. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  268. package/mobile/lib/components/Tile/Tile.js +1 -1
  269. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  270. package/mobile/lib/content-page-repository/transformPicture.js +2 -1
  271. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  272. package/mobile/lib/model/Picture.d.ts +2 -2
  273. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  274. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  275. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  276. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  277. package/mobile/lib/ui-kit/Icon/Icon.js +2 -1
  278. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  279. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  280. package/mobile/lib/ui-kit/List/List.d.ts +1 -1
  281. package/mobile/lib/ui-kit/List/List.js +7 -2
  282. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  283. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  284. package/mobile/lib/ui-kit/List/ListItem.js +4 -9
  285. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  286. package/mobile/lib/ui-kit/List/ListProps.d.ts +2 -0
  287. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -1
  288. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  289. package/mobile/src/components/Accordion/AccordionContent.ts +8 -1
  290. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  291. package/mobile/src/components/Accordion/AccordionItemInner.tsx +11 -9
  292. package/mobile/src/components/Accordion/{utils/useActiveHandler.ts → useActiveHandler.ts} +4 -3
  293. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +51 -30
  294. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +3 -2
  295. package/mobile/src/components/ContentPage/ContentPage.tsx +0 -1
  296. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
  297. package/mobile/src/components/Gallery/Gallery.tsx +5 -4
  298. package/mobile/src/components/Gallery/GalleryCardInner.tsx +13 -18
  299. package/mobile/src/components/Gallery/GalleryContent.ts +3 -2
  300. package/mobile/src/components/LinkDocs/LinkDocs.tsx +3 -1
  301. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -10
  302. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  303. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +29 -27
  304. package/{src/components/OtherProducts/utils → mobile/src/components/OtherProducts}/useActiveHandler.ts +4 -3
  305. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -0
  306. package/mobile/src/components/ProductBlock/ProductBlock.tsx +17 -12
  307. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -0
  308. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +25 -5
  309. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -1
  310. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +4 -1
  311. package/mobile/src/components/TariffsTable/TariffsTable.tsx +3 -1
  312. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +28 -27
  313. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  314. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +33 -31
  315. package/mobile/src/components/TextBlock/TextBlock.example.json +2 -1
  316. package/mobile/src/components/TextBlock/TextBlock.tsx +2 -2
  317. package/mobile/src/components/Tile/Tile.tsx +3 -1
  318. package/mobile/src/content-page-repository/transformPicture.ts +2 -1
  319. package/mobile/src/model/Picture.ts +2 -2
  320. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +27 -29
  321. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +12 -4
  322. package/mobile/src/ui-kit/Icon/Icon.tsx +7 -1
  323. package/mobile/src/ui-kit/Icon/IconProps.ts +2 -2
  324. package/mobile/src/ui-kit/List/List.tsx +9 -3
  325. package/mobile/src/ui-kit/List/ListItem.tsx +5 -12
  326. package/mobile/src/ui-kit/List/ListProps.ts +2 -0
  327. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  328. package/package.json +1 -1
  329. package/src/components/Accordion/Accordion.tsx +27 -14
  330. package/src/components/Accordion/AccordionContent.ts +8 -1
  331. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  332. package/src/components/Accordion/AccordionItem.tsx +48 -26
  333. package/src/components/Accordion/AccordionItemInner.mobile.tsx +11 -9
  334. package/src/components/Accordion/AccordionItemInner.tsx +10 -8
  335. package/src/components/Accordion/{utils/useActiveHandler.ts → useActiveHandler.ts} +4 -3
  336. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
  337. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +51 -30
  338. package/src/components/ComparisonTable/ComparisonTableContent.ts +3 -2
  339. package/src/components/ContentPage/ContentPage.tsx +0 -1
  340. package/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
  341. package/src/components/Gallery/Gallery.fixture.mobile.tsx +3 -2
  342. package/src/components/Gallery/Gallery.mobile.tsx +5 -4
  343. package/src/components/Gallery/GalleryCardInner.tsx +13 -18
  344. package/src/components/Gallery/GalleryContent.ts +3 -2
  345. package/src/components/LinkDocs/LinkDocs.mobile.tsx +3 -1
  346. package/src/components/LinkDocs/LinkDocsContent.ts +3 -10
  347. package/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  348. package/src/components/OtherProducts/OtherProductsItem.tsx +29 -27
  349. package/{mobile/src/components/OtherProducts/utils → src/components/OtherProducts}/useActiveHandler.ts +4 -3
  350. package/src/components/ProductBlock/ProductBlock.example.json +1 -0
  351. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +49 -13
  352. package/src/components/ProductBlock/ProductBlock.mobile.tsx +17 -12
  353. package/src/components/ProductBlock/ProductBlockContent.ts +4 -0
  354. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +25 -5
  355. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -1
  356. package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -1
  357. package/src/components/ProductGallery/ProductGalleryContent.ts +4 -1
  358. package/src/components/TariffsTable/TariffsTable.mobile.tsx +3 -1
  359. package/src/components/TariffsTable/TariffsTableCell.tsx +28 -27
  360. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  361. package/src/components/TariffsTable/TariffsTableTileCell.tsx +33 -31
  362. package/src/components/TextBlock/TextBlock.example.json +2 -1
  363. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +8 -0
  364. package/src/components/TextBlock/TextBlock.mobile.tsx +2 -2
  365. package/src/components/Tile/Tile.tsx +3 -1
  366. package/src/content-page-repository/transformPicture.ts +2 -1
  367. package/src/model/Picture.ts +2 -2
  368. package/src/ui-kit/BlocksList/BlocksListProps.ts +27 -29
  369. package/src/ui-kit/BlocksList/renderBlocksList.tsx +12 -4
  370. package/src/ui-kit/Icon/Icon.tsx +7 -1
  371. package/src/ui-kit/Icon/IconProps.ts +2 -2
  372. package/src/ui-kit/Img/Img.tsx +5 -2
  373. package/src/ui-kit/List/List.fixture.tsx +37 -0
  374. package/src/ui-kit/List/List.tsx +9 -3
  375. package/src/ui-kit/List/ListItem.tsx +5 -12
  376. package/src/ui-kit/List/ListProps.ts +2 -0
  377. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  378. package/dist/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  379. package/dist/components/Accordion/utils/useActiveHandler.js.map +0 -1
  380. package/dist/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  381. package/dist/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  382. package/dist/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  383. package/dist/ui-kit/BlockItem/BlockItem.js +0 -23
  384. package/dist/ui-kit/BlockItem/BlockItem.js.map +0 -1
  385. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  386. package/dist/ui-kit/BlockItem/BlockItemProps.js +0 -2
  387. package/dist/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  388. package/lib/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  389. package/lib/components/Accordion/utils/useActiveHandler.js.map +0 -1
  390. package/lib/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  391. package/lib/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  392. package/lib/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  393. package/lib/ui-kit/BlockItem/BlockItem.fixture.d.ts +0 -8
  394. package/lib/ui-kit/BlockItem/BlockItem.js +0 -21
  395. package/lib/ui-kit/BlockItem/BlockItem.js.map +0 -1
  396. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  397. package/lib/ui-kit/BlockItem/BlockItemProps.js +0 -2
  398. package/lib/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  399. package/mobile/dist/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  400. package/mobile/dist/components/Accordion/utils/useActiveHandler.js.map +0 -1
  401. package/mobile/dist/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  402. package/mobile/dist/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  403. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  404. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +0 -23
  405. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +0 -1
  406. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  407. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js +0 -2
  408. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  409. package/mobile/lib/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  410. package/mobile/lib/components/Accordion/utils/useActiveHandler.js.map +0 -1
  411. package/mobile/lib/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  412. package/mobile/lib/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  413. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  414. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +0 -21
  415. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +0 -1
  416. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  417. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js +0 -2
  418. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  419. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +0 -33
  420. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +0 -23
  421. package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +0 -12
  422. package/src/ui-kit/BlockItem/BlockItem.tsx +0 -33
  423. package/src/ui-kit/BlockItem/BlockItemProps.ts +0 -23
@@ -1 +1 @@
1
- {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок (моб.)"},"text":{"type":"string","title":"Текст"}},"title":"Элемент списка"},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"],"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"]},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"}},"required":["src"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная"]},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AppleIcon","ArrowDownIcon","ArrowsRewindRight","ArrowUpIcon","AtmIcon","BankIcon","BurgerIcon","BurgerIconWhite","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CalendarWhiteIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","ChartSquareIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EmptyWalletWhiteIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GpsIcon","GridIcon","GridIconWhite","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PercentageSquareWhiteIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","Profile2UserIcon","ProfileIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon"],"title":"Иконка","enumNames":["","Деньги","Лого «Apple»","ArrowDownIcon","ArrowsRewindRight","ArrowUpIcon","Банкомат","Банк","Бургер","Бургер (белый)","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Календарь белый","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Деньги внутри кошелька","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Пустой кошелёк (белый)","Евро","Геолокация","Зеркало","Глобус","Gps","Сетка","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Проценты белые","Персональная карта","Лого «PlayMarket»","Плюс","Профиль, 2 персоны","Профиль","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет блока","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"isScroll":{"type":"boolean","title":"Горизонтальная прокрутка (для мобильных прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"title":"Галерея"},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"title":"Заголовок"},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BlockVersionWithTransparent":{"type":"string","enum":["transparent","primary","secondary"],"title":"Цвет блока","enumNames":["Прозрачная","Основная","Второстепенная"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkListMode":{"type":"string","enum":["vertical","horizontal"],"title":"Отображение списка (моб.)","enumNames":["Вертикально","Горизонтально"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея","minItems":3},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"ProductBlockInnerContent":{"type":"object","properties":{"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"ProductBlockContent":{"type":"object","properties":{"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет блока","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"TileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"LinkListContent":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"title":"Список документов"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"columns":{"$ref":"#/definitions/ColumnsCount"}},"title":"Элемент списка"},"BlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineBlockListDef"},{"$ref":"#/definitions/LinkDocsBlockListDef"},{"$ref":"#/definitions/TextBlockBlockListDef"},{"$ref":"#/definitions/PictureTextBlockListDef"},{"$ref":"#/definitions/ProductBlockBlockListDef"},{"$ref":"#/definitions/TileBlockListDef"},{"$ref":"#/definitions/ProductTileBlockListDef"},{"$ref":"#/definitions/GalleryBlockListDef"},{"$ref":"#/definitions/MiniGalleryBlockListDef"},{"$ref":"#/definitions/LinkListBlockListDef"}],"title":"Содержимое блока"},"EmptyOption":{"type":"null","title":"Выберите блок"},"HeadlineBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок"},"BlockDefType":{"type":"string","enum":["Headline","LinkDocs","TextBlock","PictureText","Tile","ProductTile","ProductBlock","Gallery","MiniGallery","LinkList"],"title":"Тип блока"},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов"},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["blockListType"],"title":"Текстовый блок"},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"required":["blockListType"],"title":"Картинка с текстом"},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовый блок"},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Плитка"},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка"},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"isScroll":{"type":"boolean","title":"Горизонтальная прокрутка (для мобильных прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Галлерея"},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"isScroll":{"type":"boolean","title":"Горизонтальная прокрутка (для мобильных прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Мини-галлерея"},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"$ref":"#/definitions/BlockDefType"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок"},"ColumnsCount":{"type":"number","enum":[1,2],"title":"Количество колонок","enumNames":["1 колонка","2 колонки"]},"AccordionContent":{"type":"object","properties":{"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"}},"title":"Аккордеон"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"TableColumnData":{"type":"object","properties":{"rowHeader":{"type":"string"},"cell":{"type":"array","items":{"$ref":"#/definitions/CellData"}}},"required":["cell"],"title":"Ячейка"},"TableColumnHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"useSwiper":{"type":"boolean","title":"Использовать свайпер (моб.)"},"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ExchangeCurrencyItem":{"type":"object","properties":{"buyExchangeRate":{"type":"number"},"saleExchangeRate":{"type":"number"},"currency":{"type":"object","properties":{"id":{"type":"number"},"code":{"type":"string"},"currency":{"type":"string"},"name":{"type":"string"}}}}},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/IconName"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"DispositionItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка дополнительного меню","required":["text","href"]},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"}},"title":"Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"required":["title","description"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды"}},"title":"Продуктовая галерея (для мобильных горизонтальная прокрутка shift+mouseScroll)"},"PromoTileContent":{"type":"object","properties":{"date":{"type":"string","title":"Дата публикации"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии"},"size":{"$ref":"#/definitions/SizeVersion"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":3},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"list":{"$ref":"#/definitions/TariffsTableList"},"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"orientation":{"$ref":"#/definitions/ListOrientation","title":"Направление таблицы (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"}},"title":"Таблица тарифов"},"ListOrientation":{"type":"string","enum":["vertical","horizontal"],"title":"Направление списка","enumNames":["Вертикально","Горизонтально"]},"CalculatorParams":{"type":"object","properties":{"isAnnuity":{"type":"boolean"},"minSum":{"type":"number"},"maxSum":{"type":"number"},"minMonths":{"type":"number"},"maxMonths":{"type":"number"},"rateWithInsurance":{"type":"number"},"rateWithoutInsurance":{"type":"number"}}},"CreditCalculatorData":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/definitions/CalculatorParams"}}}},"CreditCalculatorTab":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"},"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Вкладка"},"Tab":{"type":"object","properties":{"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Вкладка"},"CreditCalculatorContent":{"type":"object","properties":{"tabs":{"type":"array","items":{"$ref":"#/definitions/CreditCalculatorTab"},"title":"Вкладки"}},"title":"Кредитный калькулятор"},"blockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"isActive":{"type":"boolean"},"columns":{"$ref":"#/definitions/ColumnsCount"}},"title":"Элемент списка"},"OtherProductsContent":{"type":"object","properties":{"blockItems":{"type":"array","items":{"$ref":"#/definitions/blockItemCommonProps"},"title":"Список"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Подзаголовок"}},"title":"Другие продукты"},"ProductGalleryGreenContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды"}},"title":"Продуктовая галерея"},"RecommendationCardContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"RecommendationContent":{"type":"object","properties":{"recommendations":{"type":"array","items":{"$ref":"#/definitions/RecommendationCardContent"},"title":"Карточки"},"title":{"type":"string","title":"Заголовок"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Рекомендации"}}}
1
+ {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок (моб.)"},"text":{"type":"string","title":"Текст"}},"title":"Элемент списка"},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"}},"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}}},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"}}},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная"]},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AppleIcon","ArrowDownIcon","ArrowsRewindRight","ArrowUpIcon","AtmIcon","BankIcon","BurgerIcon","BurgerIconWhite","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CalendarWhiteIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","ChartSquareIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EmptyWalletWhiteIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GpsIcon","GridIcon","GridIconWhite","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PercentageSquareWhiteIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","Profile2UserIcon","ProfileIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon"],"title":"Иконка","enumNames":["","Деньги","Лого «Apple»","ArrowDownIcon","ArrowsRewindRight","ArrowUpIcon","Банкомат","Банк","Бургер","Бургер (белый)","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Календарь белый","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Деньги внутри кошелька","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Пустой кошелёк (белый)","Евро","Геолокация","Зеркало","Глобус","Gps","Сетка","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Проценты белые","Персональная карта","Лого «PlayMarket»","Плюс","Профиль, 2 персоны","Профиль","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет блока","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"useSwiper":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"title":"Галерея"},"ListOrientation":{"type":"string","enum":["vertical","horizontal"],"title":"Направление списка","enumNames":["Вертикально","Горизонтально"]},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"title":"Заголовок"},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BlockVersionWithTransparent":{"type":"string","enum":["transparent","primary","secondary"],"title":"Цвет блока","enumNames":["Прозрачная","Основная","Второстепенная"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея","minItems":3},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"ProductBlockInnerContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"ProductBlockContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет блока","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"TileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"LinkListContent":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"title":"Список документов"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isExpanded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"columns":{"$ref":"#/definitions/ColumnsCount"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Элемент списка"},"BlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineBlockListDef"},{"$ref":"#/definitions/LinkDocsBlockListDef"},{"$ref":"#/definitions/TextBlockBlockListDef"},{"$ref":"#/definitions/PictureTextBlockListDef"},{"$ref":"#/definitions/ProductBlockBlockListDef"},{"$ref":"#/definitions/TileBlockListDef"},{"$ref":"#/definitions/ProductTileBlockListDef"},{"$ref":"#/definitions/GalleryBlockListDef"},{"$ref":"#/definitions/MiniGalleryBlockListDef"},{"$ref":"#/definitions/LinkListBlockListDef"}],"title":"Содержимое блока"},"EmptyOption":{"type":"null","title":"Выберите блок"},"HeadlineBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Headline"},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок","default":{"blockListType":"Headline"}},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkDocs"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов","default":{"blockListType":"LinkDocs"}},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"TextBlock"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["blockListType"],"title":"Текстовый блок","default":{"blockListType":"TextBlock"}},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"PictureText"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"required":["blockListType"],"title":"Картинка с текстом","default":{"blockListType":"PictureText"}},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductBlock"},"label":{"type":"string","title":"Лейбл (моб.)"},"backgroundText":{"type":"string","title":"Фоновый текст под иллюстрацией"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовый блок","default":{"blockListType":"ProductBlock"}},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Tile"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Плитка","default":{"blockListType":"Tile"}},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductTile"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка","default":{"blockListType":"ProductTile"}},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Gallery"},"useSwiper":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Галлерея","default":{"blockListType":"Gallery"}},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"MiniGallery"},"useSwiper":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Мини-галлерея","default":{"blockListType":"MiniGallery"}},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkList"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок","default":{"blockListType":"LinkList"}},"ColumnsCount":{"type":"number","enum":[1,2],"title":"Количество колонок","enumNames":["1 колонка","2 колонки"]},"AccordionContent":{"type":"object","properties":{"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Аккордеон"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"TableColumnData":{"type":"object","properties":{"rowHeader":{"type":"string"},"cell":{"type":"array","items":{"$ref":"#/definitions/CellData"}}},"required":["cell"],"title":"Ячейка"},"TableColumnHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"useSwiper":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ExchangeCurrencyItem":{"type":"object","properties":{"buyExchangeRate":{"type":"number"},"saleExchangeRate":{"type":"number"},"currency":{"type":"object","properties":{"id":{"type":"number"},"code":{"type":"string"},"currency":{"type":"string"},"name":{"type":"string"}}}}},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/IconName"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"DispositionItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка дополнительного меню","required":["text","href"]},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"}},"title":"Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"required":["title","description"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды","minItems":2}},"title":"Продуктовая галерея (для мобильных горизонтальная прокрутка shift+mouseScroll)"},"PromoTileContent":{"type":"object","properties":{"date":{"type":"string","title":"Дата публикации"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии"},"size":{"$ref":"#/definitions/SizeVersion"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":3},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"list":{"$ref":"#/definitions/TariffsTableList"},"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"}},"title":"Таблица тарифов"},"CalculatorParams":{"type":"object","properties":{"isAnnuity":{"type":"boolean"},"minSum":{"type":"number"},"maxSum":{"type":"number"},"minMonths":{"type":"number"},"maxMonths":{"type":"number"},"rateWithInsurance":{"type":"number"},"rateWithoutInsurance":{"type":"number"}}},"CreditCalculatorData":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/definitions/CalculatorParams"}}}},"CreditCalculatorTab":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"},"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Вкладка"},"Tab":{"type":"object","properties":{"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Вкладка"},"CreditCalculatorContent":{"type":"object","properties":{"tabs":{"type":"array","items":{"$ref":"#/definitions/CreditCalculatorTab"},"title":"Вкладки"}},"title":"Кредитный калькулятор"},"blockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isExpanded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"columns":{"$ref":"#/definitions/ColumnsCount"}},"title":"Элемент списка"},"OtherProductsContent":{"type":"object","properties":{"blockItems":{"type":"array","items":{"$ref":"#/definitions/blockItemCommonProps"},"title":"Список"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Подзаголовок"}},"title":"Другие продукты"},"ProductGalleryGreenContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды"}},"title":"Продуктовая галерея"},"RecommendationCardContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"RecommendationContent":{"type":"object","properties":{"recommendations":{"type":"array","items":{"$ref":"#/definitions/RecommendationCardContent"},"title":"Карточки"},"title":{"type":"string","title":"Заголовок"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Рекомендации"}}}
@@ -396,11 +396,12 @@
396
396
  const svgColorsMap = {
397
397
  none: '',
398
398
  primary: 'text-primary-main',
399
+ secondary: 'text-primary-text',
399
400
  };
400
401
  const Icon = JSX(({ className = '', name, alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
401
402
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
402
403
  if (asSVG) {
403
- return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
404
+ return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", style: color === 'secondary' ? { filter: 'invert(1)' } : null, children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
404
405
  }
405
406
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
406
407
  });
@@ -478,9 +479,11 @@
478
479
  width: size?.width ? `${size?.width}px` : '100%',
479
480
  height: size?.height ? `${size?.height}px` : '100%',
480
481
  };
482
+ const title = image.title || '';
483
+ const alt = image.alt || title;
481
484
  return (jsxs("picture", { className: `flex-none ${className}`, children: [image.sources?.length
482
485
  ? image.sources.map(({ src, format }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
483
- : null, jsx("img", { className: imageClassName, src: image.src, alt: image.alt || image.title, title: image.title, style: style, ...size })] }));
486
+ : null, jsx("img", { className: imageClassName, src: image.src, alt: alt, title: title, style: style, ...size })] }));
484
487
  });
485
488
  function formatToMimeType(format) {
486
489
  return format ? `image/${String(format)}` : undefined;
@@ -581,7 +584,7 @@
581
584
  };
582
585
  const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
583
586
 
584
- const buttonStyleMap = {
587
+ const buttonStyleMap$1 = {
585
588
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
586
589
  secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
587
590
  link: '',
@@ -597,7 +600,7 @@
597
600
  const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
598
601
  return disabled ? (jsx(DisabledButton, { ...props, children: buttonInner })) : (jsx(RegularButton, { ...props, children: buttonInner }));
599
602
  });
600
- const RegularButton = JSX(({ className, ariaLabel, version = 'none', rounded, href, target, children, onClick, ...rest }) => (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children })));
603
+ const RegularButton = JSX(({ className, ariaLabel, version = 'none', rounded, href, target, children, onClick, ...rest }) => (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline ${buttonStyleMap$1[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children })));
601
604
  const DisabledButton = JSX(({ className, children, ariaLabel, version = 'none', rounded }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${buttonStyle} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: children })));
602
605
 
603
606
  const ButtonSection = JSX(({ context, className = '', buttons }) => {
@@ -616,28 +619,28 @@
616
619
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
617
620
  });
618
621
 
619
- const LIST_STYLE_CLASSES$1 = 'rounded-full inline-block mr-3 mt-2';
620
- const TEXT_STYLE_MAP$1 = {
621
- primary: 'text-primary-text',
622
- secondary: 'text-white',
623
- gray: 'text-secondary-text',
624
- };
625
- const LIST_STYLE_MAP$1 = {
622
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
623
+ const LIST_DOT_STYLE_MAP = {
626
624
  primary: 'bg-primary-main',
627
625
  secondary: 'bg-white',
628
626
  gray: 'bg-secondary-text',
629
627
  };
630
628
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
631
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle$1(version) }), jsx("span", { className: `text-m-md ${TEXT_STYLE_MAP$1[version]}`, children: children })] }));
629
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
632
630
  });
633
- const getListStyle$1 = (version) => {
634
- const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
635
- return `${LIST_STYLE_CLASSES$1} ${LIST_STYLE_MAP$1[version]} ${size}`;
631
+ const getListStyle = (version) => {
632
+ const size = version === 'gray' ? 'w-1.5 h-1.5 min-w-1.5 min-h-1.5' : 'w-2 h-2 min-w-2 min-h-2';
633
+ return `${LIST_STYLE_CLASSES} ${LIST_DOT_STYLE_MAP[version]} ${size}`;
636
634
  };
637
635
 
636
+ const TEXT_STYLE_MAP = {
637
+ primary: 'text-primary-text',
638
+ secondary: 'text-white',
639
+ gray: 'text-secondary-text',
640
+ };
638
641
  const List = JSX((props) => {
639
- const { className = '', itemClassName, isDotted, items, version } = props;
640
- return (jsx("section", { className: `${className}`, role: "list", children: items?.length
642
+ const { className = '', itemClassName, isDotted, items, version = 'primary' } = props;
643
+ return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${className}`, role: "list", children: items?.length
641
644
  ? items.map((_, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, version: version, children: _ }, String(i))))
642
645
  : null }));
643
646
  });
@@ -662,9 +665,9 @@
662
665
  return (jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (jsx(Icon, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`, name: benefit.icon, width: "24", height: "24", asSVG: true })), jsxs("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [jsx("div", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
663
666
  }
664
667
 
665
- const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', textBlockClassName = '', }) => {
668
+ const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
666
669
  const textColor = version === 'secondary' ? 'text-white' : '';
667
- return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType, textColor), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-5", items: items, itemClassName: "mb-[10px]", version: version })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
670
+ return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType, textColor), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-5", items: items, itemClassName: "mb-[10px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
668
671
  });
669
672
  const getTitle = (title, headingType, textColor) => {
670
673
  return (title && (jsx(Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px] ${textColor}` })));
@@ -771,10 +774,10 @@
771
774
  const Tile = JSX((props) => {
772
775
  const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, } = props;
773
776
  return (jsx("section", { className: `overflow-hidden font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
774
- ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList(items, version)] }) }));
777
+ ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList$1(items, version)] }) }));
775
778
  });
776
- function renderList(items, version) {
777
- return items?.length ? jsx(List, { items: items, version: version }) : null;
779
+ function renderList$1(items, version) {
780
+ return items?.length ? (jsx(List, { items: items, itemClassName: "mt-2.5 first:mt-0", version: version })) : null;
778
781
  }
779
782
 
780
783
  const productTileStyleMap = {
@@ -832,28 +835,9 @@
832
835
  mini: 276,
833
836
  };
834
837
 
835
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
836
- const TEXT_STYLE_MAP = {
837
- primary: 'text-secondary-text',
838
- secondary: 'text-white',
839
- gray: 'text-secondary-text',
840
- };
841
- const LIST_STYLE_MAP = {
842
- primary: 'bg-primary-main',
843
- secondary: 'bg-white',
844
- gray: 'bg-secondary-text',
845
- };
846
- const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary' }) => {
847
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { className: TEXT_STYLE_MAP[version], children: text || children })] }));
848
- });
849
- const getListStyle = (version) => {
850
- const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
851
- return `${LIST_STYLE_CLASSES} ${LIST_STYLE_MAP[version]} ${size}`;
852
- };
853
-
854
838
  const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
855
839
  const titleStyleClasses = getTitleStyle(version, description, items);
856
- return (jsxs("div", { children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
840
+ return (jsxs("div", { className: "h-full flex flex-col justify-between", children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
857
841
  });
858
842
  function renderButton$1(button) {
859
843
  return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Icon, { name: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
@@ -861,13 +845,8 @@
861
845
  function renderCardTitle(title, className) {
862
846
  return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
863
847
  }
864
- function renderItems(items, version) {
865
- return (jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
866
- .filter((item) => item?.text)
867
- .map((item, i) => renderItem(item.text, i, version)) }));
868
- }
869
- function renderItem(item, i, version) {
870
- return (jsx(BlockItem, { version: version ?? 'primary', children: jsx("span", { className: "text-sm", children: item }) }, String(i)));
848
+ function renderItems(items, version = 'primary') {
849
+ return (jsx(List, { className: `max-w-[308px] mt-2 text-sm ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), version: version }));
871
850
  }
872
851
  function getTitleStyle(version, description, items) {
873
852
  return `font-medium text-xl m-0
@@ -922,24 +901,24 @@
922
901
  LinkList,
923
902
  };
924
903
 
925
- const renderBlocksList = ({ blocks, context, className, columns }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns })) : null;
926
- const renderBlock$1 = ({ context, columns, className }) => (block, i) => {
904
+ const renderBlocksList = ({ blocks, context, className, columns, version, }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns, version })) : null;
905
+ const renderBlock$1 = ({ context, columns, className, version }) => (block, i) => {
927
906
  const type = block?.blockListType;
928
907
  if (!type || !(type in EmbeddableBlocks)) {
929
908
  return null;
930
909
  }
931
910
  const columnsCountClass = columns === 2 ? 'w-1/2' : '';
932
911
  const EmbeddedBlock = EmbeddableBlocks[type];
933
- return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
912
+ return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, blockVersion: version, className: "!p-0" }) }, `block_${i}`));
934
913
  };
935
914
 
936
- const AccordionItemInner = JSX(({ blocks, columns = 1, context }) => {
915
+ const AccordionItemInner = JSX(({ blocks, columns = 1, context, version = 'primary' }) => {
937
916
  const className = 'mb-5 last:mb-0 pb-5';
938
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, className, columns, blocks }) }));
917
+ return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, className, columns, blocks, version }) }));
939
918
  });
940
919
 
941
- const useActiveHandler$1 = ({ context, blocks }) => {
942
- const [isActive, setIsActive] = context.useState(false);
920
+ const useActiveHandler$1 = ({ context, blocks, initialState = false }) => {
921
+ const [isActive, setIsActive] = context.useState(initialState);
943
922
  const hasContent = blocks?.length;
944
923
  const icon = isActive ? 'MinusIcon' : 'PlusIcon';
945
924
  const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
@@ -956,17 +935,30 @@
956
935
  return { isActive, hasContent, icon, handleToggle };
957
936
  };
958
937
 
959
- const AccordionItem = JSX(({ label, blocks, columns, context }) => {
960
- const { hasContent, icon, handleToggle } = useActiveHandler$1({
938
+ const buttonStyleMap = {
939
+ primary: 'text-primary-text',
940
+ secondary: 'text-white',
941
+ };
942
+ const buttonHoverStyleMap = {
943
+ primary: 'group-hover:text-primary-main',
944
+ secondary: 'group-hover:text-white',
945
+ };
946
+ const AccordionItem = JSX(({ label, isExpanded, blocks, columns, context, version = 'primary' }) => {
947
+ const { isActive, hasContent, icon, handleToggle } = useActiveHandler$1({
961
948
  context,
962
949
  blocks,
950
+ initialState: isExpanded,
963
951
  });
964
- return (jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [jsxs("button", { className: `border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans text-primary-text
965
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: label }), hasContent ? jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (jsx(AccordionItemInner, { columns: columns, blocks: blocks, context: context })) : null] }));
952
+ return (jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [jsxs("button", { className: `border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans ${buttonStyleMap[version]}
953
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium ${hasContent ? buttonHoverStyleMap[version] : ''}`, children: label }), hasContent ? jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, version: version, context: context })) : null] }));
966
954
  });
967
955
 
968
- const Accordion = JSX(({ title, accordionItems, context, className }) => {
969
- return (jsxs("section", { className: `p-[50px] font-sans bg-white text-primary-text ${className || ''}`, children: [title ? jsx(Heading, { headingType: "h4", className: "mb-2.5", title: title }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
956
+ const accordionStyleMap = {
957
+ primary: 'bg-white text-primary-text',
958
+ secondary: 'bg-primary-main text-white',
959
+ };
960
+ const Accordion = JSX(({ title, accordionItems, context, className = '', version = 'primary' }) => {
961
+ return (jsxs("section", { className: `p-[50px] font-sans ${className} ${accordionStyleMap[version]}`, children: [title ? jsx(Heading, { headingType: "h4", className: "mb-2.5", title: title }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, version: version, context: context }, `AccordionItem${i}`))) })) : null] }));
970
962
  });
971
963
 
972
964
  const BenefitsBlock = JSX(({ className, title, benefits }) => {
@@ -1656,8 +1648,8 @@
1656
1648
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
1657
1649
  }
1658
1650
 
1659
- const useActiveHandler = ({ context, blocks }) => {
1660
- const [isActive, setIsActive] = context.useState(false);
1651
+ const useActiveHandler = ({ context, blocks, initialState = false }) => {
1652
+ const [isActive, setIsActive] = context.useState(initialState);
1661
1653
  const hasContent = blocks?.length;
1662
1654
  const icon = isActive ? 'ArrowUpIcon' : 'ArrowDownIcon';
1663
1655
  const getContentBlock = ({ currentTarget }) => currentTarget.previousSibling;
@@ -1679,13 +1671,13 @@
1679
1671
  return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: jsx("div", { className: `box-border w-full p-9 ${columns > 1 ? 'flex flex-wrap' : ''}`, children: renderBlocksList({ context, className, columns, blocks }) }) }));
1680
1672
  });
1681
1673
 
1682
- const OtherProductsItem = JSX(({ label, blocks, columns, context }) => {
1674
+ const OtherProductsItem = JSX(({ label, isExpanded, blocks, columns, context }) => {
1683
1675
  const { hasContent, icon, handleToggle, isActive } = useActiveHandler({
1684
1676
  context,
1685
1677
  blocks,
1678
+ initialState: isExpanded,
1686
1679
  });
1687
- return (jsxs("div", { className: "border-0 border-b border-solid border-main-divider", children: [hasContent ? (jsx(OtherProductsItemInner, { columns: columns, blocks: blocks, context: context, isActive: isActive })) : null, jsxs("button", { className: `border-none bg-primary-main px-0 py-[25px] text-center w-full font-sans text-white text-base
1688
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : label }), hasContent ? jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true }) : null] })] }));
1680
+ return (jsxs("div", { className: "border-0 border-b border-solid border-main-divider", children: [hasContent ? (jsx(OtherProductsItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, context: context })) : null, jsxs("button", { className: "border-none bg-primary-main px-0 py-[26px] w-full font-sans text-white text-base flex justify-center cursor-pointer", onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : label }), hasContent ? jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true }) : null] })] }));
1689
1681
  });
1690
1682
 
1691
1683
  const OtherProducts = JSX(({ blockItems, context, className }) => {
@@ -1742,9 +1734,9 @@
1742
1734
  const cellWrapperClasses = `first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 ${isLastRow ? 'border-t-0 rounded-b-md' : ''}`;
1743
1735
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { children: cell.map(renderCellInner) }) }));
1744
1736
  });
1745
- const renderCellInner = ({ label, description, list, image, buttons }, i) => (jsxs("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && (jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label ? jsx("div", { className: "text-xl font-medium m-0", children: label }) : null, description ? jsx("div", { className: "text-sm text-secondary-text", children: description }) : null, list?.items?.length ? (jsx("div", { className: "flex flex-col justify-between items-start", children: jsx("div", { role: "list", children: list.items.map((text, idx) => (jsx(BlockItem, { className: "text-sm", text: text, version: "gray", isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && jsx(Img, { image: image }), buttons?.length
1746
- ? buttons.map(({ icon, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 ? 'ml-3' : ''} w-12 h-12`, appendLeft: icon && jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps }, String(idx))))
1747
- : null] }, String(i)));
1737
+ const renderCellInner = ({ label, description, list, image, buttons }, i) => (jsxs("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && (jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label ? jsx("div", { className: "text-xl font-medium m-0", children: label }) : null, description ? jsx("div", { className: "text-sm text-secondary-text", children: description }) : null, list?.items?.length ? renderList(list) : null, image && jsx(Img, { image: image }), buttons?.length ? renderButtons(buttons) : null] }, String(i)));
1738
+ const renderList = (list) => (jsx(List, { className: "flex flex-col justify-between items-start text-sm", version: "gray", items: list.items, isDotted: list.isDotted ?? true }));
1739
+ const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, rounded: rounded, appendLeft: icon && jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps }, String(idx)))) }));
1748
1740
 
1749
1741
  const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, isLastRow }) => {
1750
1742
  return (jsxs(TableRowContainer, { children: [jsx("div", { className: `text-sm py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", children: [header?.icon && (jsx(Icon, { className: "mr-[14px] max-w-6 max-h-6", name: header.icon, width: "24px", height: "24px", asSVG: true })), header?.title] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cell, i) => (jsx(TariffsTableCell, { cell: cell, isLastRow: isLastRow }, String(i)))) })) : null] }));