@redneckz/wildless-cms-uni-blocks 0.6.21 → 0.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +135 -128
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
  5. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  6. package/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
  7. package/bundle/components/Headline/HeadlineContent.d.ts +1 -0
  8. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  9. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  10. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  11. package/bundle/components/Tile/TileContent.d.ts +2 -1
  12. package/bundle/icons/IconName.d.ts +4 -2
  13. package/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
  14. package/bundle/ui-kit/Tags/Tags.d.ts +6 -0
  15. package/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
  16. package/cosmos-static/icons/DocumentText2Icon.svg +1 -0
  17. package/dist/components/Calculator/CalculatorContent.d.ts +4 -50
  18. package/dist/components/Catalog/Catalog.js +1 -1
  19. package/dist/components/Catalog/Catalog.js.map +1 -1
  20. package/dist/components/Catalog/CatalogCard.js +1 -1
  21. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  22. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  23. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  24. package/dist/components/ContentPage/ContentPage.page.json +35 -0
  25. package/dist/components/ContentPage/useContentPageData.d.ts +3 -0
  26. package/dist/components/ContentPage/useContentPageData.js +67 -0
  27. package/dist/components/ContentPage/useContentPageData.js.map +1 -0
  28. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  29. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  30. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  31. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  32. package/dist/components/Headline/HeadlineContent.d.ts +1 -0
  33. package/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
  34. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  35. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  36. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  37. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  38. package/dist/components/OfficeMap/OfficeMap.js +3 -3
  39. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  40. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  41. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  42. package/dist/components/ProductBlock/ProductBlock.js +2 -1
  43. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  44. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  45. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  46. package/dist/components/Tabs/renderLinkTab.js +1 -1
  47. package/dist/components/Tabs/renderLinkTab.js.map +1 -1
  48. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  49. package/dist/components/Tile/Tile.js +3 -2
  50. package/dist/components/Tile/Tile.js.map +1 -1
  51. package/dist/components/Tile/TileContent.d.ts +2 -1
  52. package/dist/icons/IconName.d.ts +4 -2
  53. package/dist/icons/IconName.js +2 -0
  54. package/dist/icons/IconName.js.map +1 -1
  55. package/dist/index.js +1 -1
  56. package/dist/index.js.map +1 -1
  57. package/dist/ui-kit/BlockWrapper.js +2 -2
  58. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  59. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  60. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  61. package/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
  62. package/dist/ui-kit/IntersectionObserverTag.js +2 -2
  63. package/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
  64. package/dist/ui-kit/Tags/Tags.d.ts +6 -0
  65. package/dist/ui-kit/Tags/Tags.js +10 -0
  66. package/dist/ui-kit/Tags/Tags.js.map +1 -0
  67. package/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
  68. package/dist/ui-kit/Tags/TagsContent.js +2 -0
  69. package/dist/ui-kit/Tags/TagsContent.js.map +1 -0
  70. package/lib/common.css +1 -1
  71. package/lib/components/Calculator/CalculatorContent.d.ts +4 -50
  72. package/lib/components/Catalog/Catalog.js +1 -1
  73. package/lib/components/Catalog/Catalog.js.map +1 -1
  74. package/lib/components/Catalog/CatalogCard.js +1 -1
  75. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +2 -1
  76. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  77. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  78. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  79. package/lib/components/ContentPage/ContentPage.fixture.d.ts +2 -2
  80. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
  81. package/lib/components/ContentPage/ContentPage.page.json +35 -0
  82. package/lib/components/ContentPage/useContentPageData.d.ts +3 -0
  83. package/lib/components/ContentPage/useContentPageData.js +38 -0
  84. package/lib/components/ContentPage/useContentPageData.js.map +1 -0
  85. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  86. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  87. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  88. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  89. package/lib/components/Headline/HeadlineContent.d.ts +1 -0
  90. package/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
  91. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  92. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  93. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  94. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  95. package/lib/components/OfficeMap/OfficeMap.js +3 -3
  96. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  97. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  98. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  99. package/lib/components/ProductBlock/ProductBlock.js +2 -1
  100. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  101. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  102. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  103. package/lib/components/Tabs/renderLinkTab.js +1 -1
  104. package/lib/components/Tabs/renderLinkTab.js.map +1 -1
  105. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  106. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  107. package/lib/components/Tile/Tile.js +3 -2
  108. package/lib/components/Tile/Tile.js.map +1 -1
  109. package/lib/components/Tile/TileContent.d.ts +2 -1
  110. package/lib/icons/IconName.d.ts +4 -2
  111. package/lib/icons/IconName.js +2 -0
  112. package/lib/icons/IconName.js.map +1 -1
  113. package/lib/index.js +1 -1
  114. package/lib/index.js.map +1 -1
  115. package/lib/ui-kit/BlockWrapper.js +2 -2
  116. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  117. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  118. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  119. package/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
  120. package/lib/ui-kit/IntersectionObserverTag.js +2 -2
  121. package/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
  122. package/lib/ui-kit/Tags/Tags.d.ts +6 -0
  123. package/lib/ui-kit/Tags/Tags.fixture.d.ts +3 -0
  124. package/lib/ui-kit/Tags/Tags.js +8 -0
  125. package/lib/ui-kit/Tags/Tags.js.map +1 -0
  126. package/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
  127. package/lib/ui-kit/Tags/TagsContent.js +2 -0
  128. package/lib/ui-kit/Tags/TagsContent.js.map +1 -0
  129. package/mobile/bundle/bundle.umd.js +5 -5
  130. package/mobile/bundle/bundle.umd.min.js +1 -1
  131. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
  132. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  133. package/mobile/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
  134. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -0
  135. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  136. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  137. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  138. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -1
  139. package/mobile/bundle/icons/IconName.d.ts +4 -2
  140. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
  141. package/mobile/bundle/ui-kit/Tags/Tags.d.ts +6 -0
  142. package/mobile/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
  143. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +4 -50
  144. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  145. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  146. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  147. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  148. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  149. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  150. package/mobile/dist/components/ContentPage/ContentPage.page.json +35 -0
  151. package/mobile/dist/components/ContentPage/useContentPageData.d.ts +3 -0
  152. package/mobile/dist/components/ContentPage/useContentPageData.js +67 -0
  153. package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -0
  154. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  155. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  156. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  157. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  158. package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -0
  159. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
  160. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  161. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  162. package/mobile/dist/components/OfficeMap/OfficeMap.js +3 -3
  163. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  164. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  165. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  166. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  167. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  168. package/mobile/dist/components/Tabs/renderLinkTab.js +1 -1
  169. package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
  170. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  171. package/mobile/dist/components/Tile/Tile.js +3 -2
  172. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  173. package/mobile/dist/components/Tile/TileContent.d.ts +2 -1
  174. package/mobile/dist/icons/IconName.d.ts +4 -2
  175. package/mobile/dist/icons/IconName.js +2 -0
  176. package/mobile/dist/icons/IconName.js.map +1 -1
  177. package/mobile/dist/index.js +1 -1
  178. package/mobile/dist/index.js.map +1 -1
  179. package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
  180. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  181. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  182. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  183. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
  184. package/mobile/dist/ui-kit/IntersectionObserverTag.js +2 -2
  185. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
  186. package/mobile/dist/ui-kit/Tags/Tags.d.ts +6 -0
  187. package/mobile/dist/ui-kit/Tags/Tags.js +10 -0
  188. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -0
  189. package/mobile/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
  190. package/mobile/dist/ui-kit/Tags/TagsContent.js +2 -0
  191. package/mobile/dist/ui-kit/Tags/TagsContent.js.map +1 -0
  192. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +4 -50
  193. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  194. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  195. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  196. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  197. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  198. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
  199. package/mobile/lib/components/ContentPage/ContentPage.page.json +35 -0
  200. package/mobile/lib/components/ContentPage/useContentPageData.d.ts +3 -0
  201. package/mobile/lib/components/ContentPage/useContentPageData.js +38 -0
  202. package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -0
  203. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  204. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  205. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  206. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  207. package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -0
  208. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
  209. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  210. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
  211. package/mobile/lib/components/OfficeMap/OfficeMap.js +3 -3
  212. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  213. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  214. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  215. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  216. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  217. package/mobile/lib/components/Tabs/renderLinkTab.js +1 -1
  218. package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
  219. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  220. package/mobile/lib/components/Tile/Tile.js +3 -2
  221. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  222. package/mobile/lib/components/Tile/TileContent.d.ts +2 -1
  223. package/mobile/lib/icons/IconName.d.ts +4 -2
  224. package/mobile/lib/icons/IconName.js +2 -0
  225. package/mobile/lib/icons/IconName.js.map +1 -1
  226. package/mobile/lib/index.js +1 -1
  227. package/mobile/lib/index.js.map +1 -1
  228. package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
  229. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  230. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  231. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  232. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
  233. package/mobile/lib/ui-kit/IntersectionObserverTag.js +2 -2
  234. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
  235. package/mobile/lib/ui-kit/Tags/Tags.d.ts +6 -0
  236. package/mobile/lib/ui-kit/Tags/Tags.js +8 -0
  237. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -0
  238. package/mobile/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
  239. package/mobile/lib/ui-kit/Tags/TagsContent.js +2 -0
  240. package/mobile/lib/ui-kit/Tags/TagsContent.js.map +1 -0
  241. package/mobile/src/components/Accordion/Accordion.example.json +52 -2
  242. package/mobile/src/components/AccordionItem/AccordionItem.example.json +23 -5
  243. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
  244. package/mobile/src/components/Bonus/Bonus.example.json +10 -8
  245. package/mobile/src/components/Bonus/Bonus.ui.json +10 -0
  246. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
  247. package/mobile/src/components/Calculator/Calculator.example.json +21 -19
  248. package/mobile/src/components/Calculator/CalculatorContent.ts +2 -53
  249. package/mobile/src/components/CardTransfer/CardTransfer.example.json +10 -8
  250. package/mobile/src/components/Catalog/Catalog.example.json +51 -49
  251. package/mobile/src/components/Catalog/Catalog.tsx +1 -1
  252. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  253. package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
  254. package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
  255. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  256. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
  257. package/mobile/src/components/ContentPage/ContentPage.page.json +3 -2318
  258. package/mobile/src/components/ContentPage/useContentPageData.ts +49 -0
  259. package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
  260. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
  261. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  262. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
  263. package/mobile/src/components/Gallery/Gallery.example.json +62 -60
  264. package/mobile/src/components/Gallery/Gallery.ui.json +11 -0
  265. package/mobile/src/components/GracePeriod/GracePeriod.example.json +61 -74
  266. package/mobile/src/components/Header/Header.example.json +6 -4
  267. package/mobile/src/components/Headline/Headline.example.json +15 -13
  268. package/mobile/src/components/Headline/HeadlineContent.ts +1 -0
  269. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
  270. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
  271. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
  272. package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
  273. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
  274. package/mobile/src/components/LinkDocs/LinkDocs.example.json +31 -29
  275. package/mobile/src/components/LinkList/LinkList.example.json +21 -19
  276. package/mobile/src/components/MiniGallery/MiniGallery.example.json +51 -49
  277. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +19 -1
  278. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
  279. package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -3
  280. package/mobile/src/components/OfficeMap/OfficeMap.ui.json +1 -0
  281. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
  282. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
  283. package/mobile/src/components/OtherProducts/OtherProducts.example.json +28 -1
  284. package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
  285. package/mobile/src/components/PictureText/PictureText.example.json +28 -26
  286. package/mobile/src/components/ProductBlock/ProductBlock.example.json +37 -35
  287. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
  288. package/mobile/src/components/ProductGallery/ProductGallery.example.json +66 -64
  289. package/mobile/src/components/ProductTile/ProductTile.example.json +31 -29
  290. package/mobile/src/components/PromoTile/PromoTile.example.json +14 -12
  291. package/mobile/src/components/Recommendation/Recommendation.example.json +52 -50
  292. package/mobile/src/components/StepsBlock/StepsBlock.example.json +54 -52
  293. package/mobile/src/components/Tabs/Tabs.example.json +20 -18
  294. package/mobile/src/components/Tabs/renderLinkTab.tsx +1 -0
  295. package/mobile/src/components/TariffsTable/TariffsTable.example.json +91 -89
  296. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  297. package/mobile/src/components/TextBlock/TextBlock.example.json +14 -12
  298. package/mobile/src/components/Tile/Tile.example.json +21 -19
  299. package/mobile/src/components/Tile/Tile.tsx +3 -0
  300. package/mobile/src/components/Tile/TileContent.ts +3 -1
  301. package/mobile/src/icons/DocumentText2Icon.svg +8 -0
  302. package/mobile/src/icons/IconName.ts +4 -4
  303. package/mobile/src/index.ts +1 -1
  304. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -2
  305. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
  306. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +3 -1
  307. package/mobile/src/ui-kit/Tags/Tags.tsx +26 -0
  308. package/mobile/src/ui-kit/Tags/TagsContent.ts +6 -0
  309. package/package.json +22 -2
  310. package/src/components/Accordion/Accordion.example.json +52 -2
  311. package/src/components/AccordionItem/AccordionItem.example.json +23 -5
  312. package/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
  313. package/src/components/Bonus/Bonus.example.json +10 -8
  314. package/src/components/Bonus/Bonus.ui.json +10 -0
  315. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
  316. package/src/components/Calculator/Calculator.example.json +21 -19
  317. package/src/components/Calculator/CalculatorContent.ts +2 -53
  318. package/src/components/CardTransfer/CardTransfer.example.json +10 -8
  319. package/src/components/Catalog/Catalog.example.json +51 -49
  320. package/src/components/Catalog/Catalog.tsx +1 -1
  321. package/src/components/Catalog/CatalogCard.tsx +1 -1
  322. package/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
  323. package/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
  324. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +46 -39
  325. package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  326. package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
  327. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +13 -10
  328. package/src/components/ContentPage/ContentPage.fixture.tsx +24 -16
  329. package/src/components/ContentPage/ContentPage.page.json +3 -2318
  330. package/src/components/ContentPage/useContentPageData.ts +49 -0
  331. package/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
  332. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
  333. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  334. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
  335. package/src/components/Gallery/Gallery.example.json +62 -60
  336. package/src/components/Gallery/Gallery.ui.json +11 -0
  337. package/src/components/GracePeriod/GracePeriod.example.json +61 -74
  338. package/src/components/Header/Header.example.json +6 -4
  339. package/src/components/Headline/Headline.example.json +15 -13
  340. package/src/components/Headline/HeadlineContent.ts +1 -0
  341. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
  342. package/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
  343. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +3 -4
  344. package/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
  345. package/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
  346. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
  347. package/src/components/LinkDocs/LinkDocs.example.json +31 -29
  348. package/src/components/LinkList/LinkList.example.json +21 -19
  349. package/src/components/MiniGallery/MiniGallery.example.json +51 -49
  350. package/src/components/MiniGallery/MiniGallery.ui.json +19 -1
  351. package/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
  352. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  353. package/src/components/OfficeMap/OfficeMap.tsx +3 -3
  354. package/src/components/OfficeMap/OfficeMap.ui.json +1 -0
  355. package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
  356. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
  357. package/src/components/OtherProducts/OtherProducts.example.json +28 -1
  358. package/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
  359. package/src/components/PictureText/PictureText.example.json +28 -26
  360. package/src/components/ProductBlock/ProductBlock.example.json +37 -35
  361. package/src/components/ProductBlock/ProductBlock.tsx +2 -1
  362. package/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
  363. package/src/components/ProductGallery/ProductGallery.example.json +66 -64
  364. package/src/components/ProductTile/ProductTile.example.json +31 -29
  365. package/src/components/PromoTile/PromoTile.example.json +14 -12
  366. package/src/components/Recommendation/Recommendation.example.json +52 -50
  367. package/src/components/StepsBlock/StepsBlock.example.json +54 -52
  368. package/src/components/Tabs/Tabs.example.json +20 -18
  369. package/src/components/Tabs/renderLinkTab.tsx +1 -0
  370. package/src/components/TariffsTable/TariffsTable.example.json +91 -89
  371. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  372. package/src/components/TextBlock/TextBlock.example.json +14 -12
  373. package/src/components/Tile/Tile.example.json +21 -19
  374. package/src/components/Tile/Tile.fixture.tsx +7 -0
  375. package/src/components/Tile/Tile.tsx +3 -0
  376. package/src/components/Tile/TileContent.ts +3 -1
  377. package/src/icons/DocumentText2Icon.svg +8 -0
  378. package/src/icons/IconName.ts +4 -1
  379. package/src/index.ts +1 -1
  380. package/src/ui-kit/BlockWrapper.tsx +5 -2
  381. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
  382. package/src/ui-kit/IntersectionObserverTag.tsx +3 -1
  383. package/src/ui-kit/Tags/Tags.fixture.tsx +9 -0
  384. package/src/ui-kit/Tags/Tags.tsx +26 -0
  385. package/src/ui-kit/Tags/TagsContent.ts +6 -0
  386. package/tailwind.config.cjs +2 -1
@@ -279,7 +279,7 @@
279
279
  };
280
280
 
281
281
  const IntersectionObserverTag = JSX((props) => {
282
- const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
282
+ const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, role, } = props;
283
283
  const tagRef = useRef(null);
284
284
  useEffect(() => {
285
285
  if (!tagRef.current) {
@@ -292,7 +292,7 @@
292
292
  };
293
293
  }, [observerCallback, observerOptions]);
294
294
  const Tag = tag;
295
- return (jsx(Tag, { ref: tagRef, className: className, id: anchor, children: children }));
295
+ return (jsx(Tag, { ref: tagRef, className: className, id: anchor, role: role, children: children }));
296
296
  });
297
297
 
298
298
  const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
@@ -301,7 +301,7 @@
301
301
  const OBSERVER_OPTIONS = {
302
302
  threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
303
303
  };
304
- const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
304
+ const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels, role }) => {
305
305
  const Tag = tag;
306
306
  const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
307
307
  const anchorClickRef = useRef({});
@@ -329,7 +329,7 @@
329
329
  if (!shouldRenderBlock) {
330
330
  return null;
331
331
  }
332
- return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: observerCallback, observerOptions: OBSERVER_OPTIONS, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
332
+ return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: observerCallback, observerOptions: OBSERVER_OPTIONS, anchor: anchor, role: role, children: children })) : (jsx(Tag, { className: className, role: role, children: children }));
333
333
  });
334
334
  function getIntersectionThreshold(_, i) {
335
335
  const value = (i + 1) / THRESHOLD_ACCURACY + THRESHOLD_ARRAY_START_VALUE;
@@ -1253,7 +1253,7 @@
1253
1253
  white: 'bg-white',
1254
1254
  };
1255
1255
  const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
1256
- return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] }));
1256
+ return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] }));
1257
1257
  });
1258
1258
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
1259
1259
 
@@ -1262,7 +1262,7 @@
1262
1262
  const CARD_SHIFT$1 = 430;
1263
1263
  const Catalog = JSX(({ context, cards = [], className = '', title, description, ...rest }) => {
1264
1264
  const [activeCardIndex, setActiveCardIndex] = useState(0);
1265
- return (jsxs(BlockWrapper, { context: context, className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons$1({
1265
+ return (jsxs(BlockWrapper, { context: context, className: `bg-white relative font-sans p-[50px] overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons$1({
1266
1266
  cardsCount: cards.length,
1267
1267
  activeCardIndex,
1268
1268
  setActiveCardIndex,
@@ -1378,8 +1378,8 @@
1378
1378
  primary: 'bg-white',
1379
1379
  secondary: 'bg-primary-main text-white',
1380
1380
  };
1381
- const ContactsBlock = JSX(({ className = '', contacts, context, info, contactsBlockVersion = 'secondary', ...rest }) => {
1382
- return (jsxs(BlockWrapper, { context: context, className: `${contactsBlockStyleMap[contactsBlockVersion]} flex p-12 ${className}`, ...rest, children: [info ? renderInfo(info) : null, contacts ? renderContacts(contacts) : null] }));
1381
+ const ContactsBlock = JSX(({ className = '', contacts, context, info, version = 'secondary', ...rest }) => {
1382
+ return (jsxs(BlockWrapper, { context: context, className: `${contactsBlockStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info ? renderInfo(info) : null, contacts ? renderContacts(contacts) : null] }));
1383
1383
  });
1384
1384
  const renderInfo = (info) => (jsx("div", { className: "flex grow basis-0 pr-11", children: info.map(({ title, description, button }, index) => (jsxs("div", { className: "grow basis-0 pr-11 last:pr-0", children: [jsx(Heading, { as: "h5", headingType: "h5", title: title, className: "pb-2.5" }), jsx(Description, { className: "text-l-light pb-6", description: description }), button ? jsx(Button, { ...button }) : null] }, String(index)))) }));
1385
1385
  const renderContacts = (contacts) => (jsx("div", { className: "flex grow basis-0", children: contacts.map((contactsColumn, index) => renderContactsColumn({ contactsColumn, index })) }));
@@ -1397,7 +1397,7 @@
1397
1397
  const ErrorBlock = JSX(({ context, className = '', title, subtitle, error, button }) => {
1398
1398
  const { useRouter, handlerDecorator } = context;
1399
1399
  const router = useRouter();
1400
- return (jsxs("section", { className: `flex flex-col justify-center items-center mt-12 ${className}`, role: "listitem", children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
1400
+ return (jsxs("section", { className: `flex flex-col justify-center items-center mt-12 ${className}`, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
1401
1401
  });
1402
1402
 
1403
1403
  const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
@@ -1430,7 +1430,7 @@
1430
1430
  return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
1431
1431
  };
1432
1432
 
1433
- const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
1433
+ const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
1434
1434
 
1435
1435
  const roundTo = (value, precision = 2) => {
1436
1436
  const factor = 10 ** precision;
@@ -2152,17 +2152,17 @@
2152
2152
  if (investmentZeroColumn) {
2153
2153
  colums.unshift(investmentZeroColumn);
2154
2154
  }
2155
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-9 pb-9 ${className}`, context: context, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end px-9 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-main-stroke" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "w-px h-4 bg-main-stroke" })] }), jsx("div", { className: "border-t border-main-stroke -mt-2 mx-9" }), jsx("div", { className: "flex justify-between mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2155
+ return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, context: context, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-main-stroke" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-main-stroke" })] }), jsx("div", { className: "border-t border-main-stroke -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2156
2156
  });
2157
2157
  const renderInvestmentColumn = (column, i, arr) => {
2158
2158
  const isSecondColumn = i === 1;
2159
2159
  const isLastColumn = i === arr.length - 1;
2160
- return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: column.cells?.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1' : ''}`, children: column.cells.map(renderInvestmentCell) })) : null }, `column_${i}`));
2160
+ return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: column.cells?.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-[290px]' : ''}`, children: column.cells.reverse().map(renderInvestmentCell) })) : null }, `column_${i}`));
2161
2161
  };
2162
2162
  const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
2163
2163
  cells.length ? 'flex-1' : 'flex-0',
2164
2164
  cells.length && !isSecondColumn && !isLastColumn ? 'pl-2.5' : '',
2165
- cells.length && !isLastColumn ? 'pr-2.5 pb-8' : 'pb-6',
2165
+ cells.length && !isLastColumn ? 'pr-2.5 pb-8' : 'pb-[22px]',
2166
2166
  ].join(' ');
2167
2167
  const renderInvestmentCell = (cell, i) => {
2168
2168
  const cellSize = cell.cellSize || 'XS';
@@ -2172,7 +2172,7 @@
2172
2172
  const renderInvestmentColumnTitle = (column, i, arr) => {
2173
2173
  const isFirstColumn = i === 0;
2174
2174
  const isLastColumn = i === arr.length - 1;
2175
- return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'pr-9' : ' '}`, children: column.title }, `title_${i}`));
2175
+ return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'mr-3.5' : ' '}`, children: column.title }, `title_${i}`));
2176
2176
  };
2177
2177
 
2178
2178
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
@@ -2236,119 +2236,13 @@
2236
2236
  ${getTileMinHeight(className)}
2237
2237
  ${VersionStyleMap[version]}
2238
2238
  ${className}`, ...rest, children: [jsxs(BaseTile, { context: context, className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[509px] mb-6
2239
- ${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttonsWithClass, className: "flex gap-4" })) : null, children: [renderDescription$1(description), jsxs("div", { className: "flex flex-1 items-center", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr, alt: "QR-\u043A\u043E\u0434" }) })) : null, renderList$1(version, items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2239
+ ${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttonsWithClass, className: "flex gap-4" })) : null, children: [renderDescription$1(description), jsxs("div", { className: "flex flex-1 items-center", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList$1(version, items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2240
2240
  });
2241
2241
  const renderList$1 = (version, items) => {
2242
2242
  return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2243
2243
  };
2244
2244
  const renderDescription$1 = (description) => description ? jsx("p", { className: "text-xl-light mb-5", children: description }) : null;
2245
2245
 
2246
- const OFFICE_MAP_URL = '/api/v1/branches';
2247
- // TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
2248
- // TODO: Список регионов можно получить через api/v1/regions
2249
- function useOfficeMap(regionCode) {
2250
- const { data } = useAsyncData(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
2251
- return data;
2252
- }
2253
- const fetchOfficeMap = (url) => {
2254
- if (!url) {
2255
- return {};
2256
- }
2257
- return fetchJSON(url, { method: 'GET' });
2258
- };
2259
-
2260
- const OFFICE_MAP = {
2261
- id: 123,
2262
- branchType: {
2263
- id: 7,
2264
- code: '21',
2265
- name: 'Отделение на балансе филиала',
2266
- },
2267
- shortName: 'Ейский ДО',
2268
- name: 'ДО №3349/3/05',
2269
- address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
2270
- lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
2271
- openDate: '2000-12-05',
2272
- closeDate: null,
2273
- bik: '040349536',
2274
- corAcc: '30101810700000000536',
2275
- registrationNumber: '3349/3/05',
2276
- phone: '+7(XXX)XXX-XX-XX',
2277
- fax: '+7(XXX)XXX-XX-XY',
2278
- okpo: '55105921',
2279
- ogrn: '1027700342890',
2280
- kpp: '231002002',
2281
- inn: '7725114488',
2282
- branchCode: '0305',
2283
- upperBranchCode: '0300',
2284
- timeZone: '+03:00',
2285
- exchangeRate: {
2286
- currencies: [
2287
- {
2288
- buyExchangeRate: 0.0,
2289
- saleExchangeRate: 0.0,
2290
- currency: {
2291
- id: 3,
2292
- code: '156',
2293
- currency: 'CNY',
2294
- name: 'Китайский юань',
2295
- },
2296
- },
2297
- {
2298
- buyExchangeRate: 59.15,
2299
- saleExchangeRate: 69.25,
2300
- currency: {
2301
- id: 2,
2302
- code: '978',
2303
- currency: 'EUR',
2304
- name: 'Евро',
2305
- },
2306
- },
2307
- {
2308
- buyExchangeRate: 58.4,
2309
- saleExchangeRate: 70.05,
2310
- currency: {
2311
- id: 1,
2312
- code: '840',
2313
- currency: 'USD',
2314
- name: 'Американский доллар',
2315
- },
2316
- },
2317
- ],
2318
- lastUpdate: '2022-11-11 03:56:17',
2319
- },
2320
- workSchedule: {
2321
- id: 413,
2322
- workTime: '09.00–16.30',
2323
- lunchHour: 'без перерыва',
2324
- workTimeSaturday: '09.00–15.00',
2325
- lunchHourSaturday: 'без перерыва',
2326
- workingMonday: false,
2327
- workingTuesday: false,
2328
- workingWednesday: true,
2329
- workingThursday: true,
2330
- workingFriday: true,
2331
- workingSaturday: true,
2332
- workingSunday: false,
2333
- },
2334
- gpsLatitude: 46.709744,
2335
- gpsLongitude: 38.260703,
2336
- range: null,
2337
- safeBoxCaseVolumes: null,
2338
- };
2339
-
2340
- const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
2341
- const hasTime = /\d+/gi.test(lunchHour);
2342
- const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
2343
- return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
2344
- };
2345
- const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", asSVG: true, className: "mr-1" }), title ? jsxs("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
2346
- const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s-light text-secondary-text", children: description })) : null] }, `day${inx}`));
2347
- const renderLunchHour = (lunchHour) => {
2348
- const hasTime = /\d+/gi.test(lunchHour);
2349
- return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-primary-main", children: jsx("div", { children: lunchHour }) }));
2350
- };
2351
-
2352
2246
  function renderClusterer(yandexMaps, map, points) {
2353
2247
  map.geoObjects.removeAll();
2354
2248
  const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
@@ -2603,6 +2497,86 @@
2603
2497
  const getArraySumAndAverage = (arr) => arr.reduce((a, b) => a + b) / arr.length;
2604
2498
  const normalizePoints = (points) => (points ? points.map((_) => _.coords) : null);
2605
2499
 
2500
+ const OFFICE_MAP = {
2501
+ id: 123,
2502
+ branchType: {
2503
+ id: 7,
2504
+ code: '21',
2505
+ name: 'Отделение на балансе филиала',
2506
+ },
2507
+ shortName: 'Ейский ДО',
2508
+ name: 'ДО №3349/3/05',
2509
+ address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
2510
+ lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
2511
+ openDate: '2000-12-05',
2512
+ closeDate: null,
2513
+ bik: '040349536',
2514
+ corAcc: '30101810700000000536',
2515
+ registrationNumber: '3349/3/05',
2516
+ phone: '+7(XXX)XXX-XX-XX',
2517
+ fax: '+7(XXX)XXX-XX-XY',
2518
+ okpo: '55105921',
2519
+ ogrn: '1027700342890',
2520
+ kpp: '231002002',
2521
+ inn: '7725114488',
2522
+ branchCode: '0305',
2523
+ upperBranchCode: '0300',
2524
+ timeZone: '+03:00',
2525
+ exchangeRate: {
2526
+ currencies: [
2527
+ {
2528
+ buyExchangeRate: 0.0,
2529
+ saleExchangeRate: 0.0,
2530
+ currency: {
2531
+ id: 3,
2532
+ code: '156',
2533
+ currency: 'CNY',
2534
+ name: 'Китайский юань',
2535
+ },
2536
+ },
2537
+ {
2538
+ buyExchangeRate: 59.15,
2539
+ saleExchangeRate: 69.25,
2540
+ currency: {
2541
+ id: 2,
2542
+ code: '978',
2543
+ currency: 'EUR',
2544
+ name: 'Евро',
2545
+ },
2546
+ },
2547
+ {
2548
+ buyExchangeRate: 58.4,
2549
+ saleExchangeRate: 70.05,
2550
+ currency: {
2551
+ id: 1,
2552
+ code: '840',
2553
+ currency: 'USD',
2554
+ name: 'Американский доллар',
2555
+ },
2556
+ },
2557
+ ],
2558
+ lastUpdate: '2022-11-11 03:56:17',
2559
+ },
2560
+ workSchedule: {
2561
+ id: 413,
2562
+ workTime: '09.00–16.30',
2563
+ lunchHour: 'без перерыва',
2564
+ workTimeSaturday: '09.00–15.00',
2565
+ lunchHourSaturday: 'без перерыва',
2566
+ workingMonday: false,
2567
+ workingTuesday: false,
2568
+ workingWednesday: true,
2569
+ workingThursday: true,
2570
+ workingFriday: true,
2571
+ workingSaturday: true,
2572
+ workingSunday: false,
2573
+ },
2574
+ gpsLatitude: 46.709744,
2575
+ gpsLongitude: 38.260703,
2576
+ range: null,
2577
+ safeBoxCaseVolumes: null,
2578
+ };
2579
+
2606
2580
  // Добавлено для проверки
2607
2581
  const nearbyOffices = [
2608
2582
  { title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
@@ -2610,6 +2584,32 @@
2610
2584
  { title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
2611
2585
  ];
2612
2586
 
2587
+ const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
2588
+ const hasTime = /\d+/gi.test(lunchHour);
2589
+ const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
2590
+ return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
2591
+ };
2592
+ const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", asSVG: true, className: "mr-1" }), title ? jsxs("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
2593
+ const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s-light text-secondary-text", children: description })) : null] }, `day${inx}`));
2594
+ const renderLunchHour = (lunchHour) => {
2595
+ const hasTime = /\d+/gi.test(lunchHour);
2596
+ return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-primary-main", children: jsx("div", { children: lunchHour }) }));
2597
+ };
2598
+
2599
+ const OFFICE_MAP_URL = '/api/v1/branches';
2600
+ // TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
2601
+ // TODO: Список регионов можно получить через api/v1/regions
2602
+ function useOfficeMap(regionCode) {
2603
+ const { data } = useAsyncData(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
2604
+ return data;
2605
+ }
2606
+ const fetchOfficeMap = (url) => {
2607
+ if (!url) {
2608
+ return {};
2609
+ }
2610
+ return fetchJSON(url, { method: 'GET' });
2611
+ };
2612
+
2613
2613
  const OfficeMap = JSX(({ className = '' }) => {
2614
2614
  const resultOfficeMap = useOfficeMap('063') || OFFICE_MAP;
2615
2615
  const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
@@ -2642,7 +2642,7 @@
2642
2642
  });
2643
2643
 
2644
2644
  const OfficeServicesBlock = JSX(({ className = '', context, title, servicesList, anchor = '', ...rest }) => {
2645
- return (jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? servicesList.map(renderListItems) : null] }));
2645
+ return (jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] }));
2646
2646
  });
2647
2647
  const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
2648
2648
 
@@ -2803,8 +2803,9 @@
2803
2803
  const { context, className = '', breadcrumbs, backwardButton, version = 'primary', ...otherProps } = props;
2804
2804
  const router = context.useRouter();
2805
2805
  const { handlerDecorator } = context;
2806
+ const buttonVersion = version === 'primary' ? version : 'white';
2806
2807
  return (jsxs(BlockWrapper, { context: context, className: `font-sans overflow-hidden p-[50px] flex flex-col box-border min-h-[454px] ${VersionStyleMap[version]} ${className}`, ...otherProps, children: [backwardButton?.text
2807
- ? renderBackwardButton(useLink({ router, handlerDecorator }, backwardButton), version, 'mb-10 -mt-2.5')
2808
+ ? renderBackwardButton(useLink({ router, handlerDecorator }, backwardButton), buttonVersion, 'mb-10 -mt-2.5')
2808
2809
  : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
2809
2810
  });
2810
2811
 
@@ -3170,7 +3171,7 @@
3170
3171
 
3171
3172
  const renderLinkTab = ({ text, currentTab, onClick, href, target = '_self', i, }) => {
3172
3173
  const active = currentTab?.type === 'link' && currentTab.href === href;
3173
- return (jsx("a", { className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, target: target, href: href, onClick: onClick, children: jsx("span", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: text }) }, String(i)));
3174
+ return (jsx("a", { role: "tab", className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, target: target, href: href, onClick: onClick, children: jsx("span", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: text }) }, String(i)));
3174
3175
  };
3175
3176
 
3176
3177
  const renderTab = ({ onClick, currentTab, showCounter, page, context }) =>
@@ -3369,7 +3370,7 @@
3369
3370
  }) }));
3370
3371
  });
3371
3372
 
3372
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsxs(Button, { href: linkToPDF, version: "secondary", className: "flex justify-center items-center text-l-light text-primary-main px-8 max-h-14", target: "_blank", children: [jsx(ImgInner, { image: "DocDownloadIcon", className: "mr-2.5", width: "20", height: "20", asSVG: true }), jsx("span", { children: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })] })) : null] })));
3373
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(ImgInner, { image: "DocDownloadIcon", className: "mr-0.5", width: "20", height: "20", asSVG: true }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
3373
3374
 
3374
3375
  const EMPTY_DATA = 'Данных нет';
3375
3376
  const InnerTable = JSX(({ context, dataUrl, pdfUrl, onClick }) => {
@@ -3451,10 +3452,16 @@
3451
3452
  return image?.src ? jsx(ImgInner, { className: "pt-0.5 pr-3", image: image }) : null;
3452
3453
  }
3453
3454
 
3455
+ const Tags = JSX((props) => {
3456
+ const { tags, className = '' } = props;
3457
+ return tags?.length ? (jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map((_, i) => renderTag(_, String(i))) })) : null;
3458
+ });
3459
+ const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke", children: tag }, key));
3460
+
3454
3461
  const Tile = JSX((props) => {
3455
- const { context, title, headingType = 'h3', description, items, children, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', ...rest } = props;
3462
+ const { context, title, headingType = 'h3', description, items, children, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, ...rest } = props;
3456
3463
  const headingClassName = version === 'primary' ? 'text-primary-text' : '';
3457
- return (jsx(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3" })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx(Description, { className: "max-w-[600px] text-xl-light mt-2.5", description: description })) : null, children, renderList({ version, isDotted, listItemSize }, items)] }) }));
3464
+ return (jsx(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3" })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx(Description, { className: "max-w-[600px] text-xl-light mt-2.5", description: description })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
3458
3465
  });
3459
3466
  function renderList({ version, isDotted, listItemSize }, items) {
3460
3467
  return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
@@ -3618,7 +3625,7 @@
3618
3625
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") }));
3619
3626
  }
3620
3627
 
3621
- const packageVersion = "0.6.21";
3628
+ const packageVersion = process?.env?.UNI_BLOCKS_VERSION;
3622
3629
 
3623
3630
  exports.Blocks = Blocks;
3624
3631
  exports.ContentPage = ContentPage;