@redneckz/wildless-cms-uni-blocks 0.6.23 → 0.6.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 (623) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +217 -190
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  5. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  6. package/bundle/components/Catalog/CatalogContent.d.ts +2 -0
  7. package/bundle/components/ContentPage/normalizePage.d.ts +1 -1
  8. package/bundle/components/Header/DropdownMenu.d.ts +5 -7
  9. package/bundle/components/Header/HeaderContent.d.ts +1 -2
  10. package/bundle/components/Header/HeaderSubMenuItem.d.ts +12 -0
  11. package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  12. package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  13. package/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  14. package/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
  15. package/bundle/hooks/useIntersectionObserver.d.ts +3 -0
  16. package/bundle/hooks/useOutsideClick.d.ts +3 -5
  17. package/bundle/model/BorderVersion.d.ts +6 -0
  18. package/bundle/model/IconVersion.d.ts +4 -2
  19. package/bundle/services/sitemap/useSitemap.d.ts +2 -2
  20. package/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  21. package/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
  22. package/bundle/utils/getIconWithVersion.d.ts +3 -0
  23. package/dist/components/AccordionItem/AccordionItem.mobile.js +2 -1
  24. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  25. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  26. package/dist/components/BenefitsBlock/BenefitsBlock.js +10 -27
  27. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  28. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  29. package/dist/components/Blocks.js +2 -0
  30. package/dist/components/Blocks.js.map +1 -1
  31. package/dist/components/Calculator/Calculator.js +6 -1
  32. package/dist/components/Calculator/Calculator.js.map +1 -1
  33. package/dist/components/Catalog/CatalogContent.d.ts +2 -0
  34. package/dist/components/ComparisonTable/HeaderCell.js +2 -1
  35. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  36. package/dist/components/ContentPage/normalizeBlock.js +4 -8
  37. package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  38. package/dist/components/ContentPage/normalizeBlock.mobile.js +4 -8
  39. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  40. package/dist/components/ContentPage/normalizePage.d.ts +1 -1
  41. package/dist/components/ContentPage/normalizePage.js +1 -6
  42. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  43. package/dist/components/Footer/Footer.mobile.js +3 -2
  44. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  45. package/dist/components/Footer/MediaButton.js +2 -1
  46. package/dist/components/Footer/MediaButton.js.map +1 -1
  47. package/dist/components/Gallery/GalleryCardInner.js +3 -2
  48. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  49. package/dist/components/Header/DropdownMenu.d.ts +5 -7
  50. package/dist/components/Header/DropdownMenu.js +8 -7
  51. package/dist/components/Header/DropdownMenu.js.map +1 -1
  52. package/dist/components/Header/Header.js +9 -9
  53. package/dist/components/Header/Header.js.map +1 -1
  54. package/dist/components/Header/Header.mobile.js +6 -6
  55. package/dist/components/Header/Header.mobile.js.map +1 -1
  56. package/dist/components/Header/HeaderContent.d.ts +1 -2
  57. package/dist/components/Header/HeaderSubMenu.js +8 -21
  58. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  59. package/dist/components/Header/HeaderSubMenuItem.d.ts +12 -0
  60. package/dist/components/Header/HeaderSubMenuItem.js +23 -0
  61. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -0
  62. package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  63. package/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
  64. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
  65. package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  66. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
  67. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
  68. package/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  69. package/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
  70. package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
  71. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  72. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  73. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  74. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  75. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  76. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  77. package/dist/components/PictureText/PictureText.js +2 -2
  78. package/dist/components/PictureText/PictureText.js.map +1 -1
  79. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  80. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  81. package/dist/components/ProductBlock/renderBenefit.js +1 -3
  82. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  83. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  84. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  85. package/dist/components/Recommendation/Recommendation.js +7 -5
  86. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  87. package/dist/components/StepsBlock/StepsBlock.js +4 -3
  88. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  89. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -5
  90. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  91. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -0
  92. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  93. package/dist/components/TariffsTable/TariffsTableRow.js +2 -1
  94. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  95. package/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
  96. package/dist/content-page-repository/ContentPageRepository.js +24 -35
  97. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  98. package/dist/hooks/useIntersectionObserver.d.ts +3 -0
  99. package/dist/hooks/useIntersectionObserver.js +19 -0
  100. package/dist/hooks/useIntersectionObserver.js.map +1 -0
  101. package/dist/hooks/useOutsideClick.d.ts +3 -5
  102. package/dist/hooks/useOutsideClick.js +11 -9
  103. package/dist/hooks/useOutsideClick.js.map +1 -1
  104. package/dist/index.js +1 -1
  105. package/dist/index.js.map +1 -1
  106. package/dist/model/BorderVersion.d.ts +6 -0
  107. package/dist/model/BorderVersion.js +7 -0
  108. package/dist/model/BorderVersion.js.map +1 -0
  109. package/dist/model/IconVersion.d.ts +4 -2
  110. package/dist/model/IconVersion.js +10 -0
  111. package/dist/model/IconVersion.js.map +1 -1
  112. package/dist/services/sitemap/useSitemap.d.ts +2 -2
  113. package/dist/services/sitemap/useSitemap.js.map +1 -1
  114. package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  115. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  116. package/dist/ui-kit/BlockWrapper.js +18 -26
  117. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  118. package/dist/ui-kit/Breadcrumb.js +1 -8
  119. package/dist/ui-kit/Breadcrumb.js.map +1 -1
  120. package/dist/ui-kit/Button/ButtonSection.js +5 -5
  121. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  122. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  123. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  124. package/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  125. package/{mobile/dist/ui-kit/CurrencyInput/adjustValue .js → dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
  126. package/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
  127. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  128. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  129. package/dist/ui-kit/Icon/Icon.js +4 -3
  130. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  131. package/dist/ui-kit/Logo/Logo.js +1 -1
  132. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  133. package/dist/ui-kit/Logo/Logo.mobile.js +5 -1
  134. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  135. package/dist/ui-kit/Select/Select.js +2 -2
  136. package/dist/ui-kit/Select/Select.js.map +1 -1
  137. package/dist/ui-kit/Tags/Tags.js +2 -2
  138. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  139. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  140. package/dist/utils/getIconWithVersion.d.ts +3 -0
  141. package/dist/utils/getIconWithVersion.js +8 -0
  142. package/dist/utils/getIconWithVersion.js.map +1 -0
  143. package/lib/common.css +1 -1
  144. package/lib/components/AccordionItem/AccordionItem.mobile.js +2 -1
  145. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  146. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  147. package/lib/components/BenefitsBlock/BenefitsBlock.js +10 -27
  148. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  149. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  150. package/lib/components/Blocks.js +2 -0
  151. package/lib/components/Blocks.js.map +1 -1
  152. package/lib/components/Calculator/Calculator.js +6 -1
  153. package/lib/components/Calculator/Calculator.js.map +1 -1
  154. package/lib/components/Catalog/CatalogContent.d.ts +2 -0
  155. package/lib/components/ComparisonTable/HeaderCell.js +2 -1
  156. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  157. package/lib/components/ContentPage/normalizeBlock.js +4 -8
  158. package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  159. package/lib/components/ContentPage/normalizeBlock.mobile.js +4 -8
  160. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  161. package/lib/components/ContentPage/normalizePage.d.ts +1 -1
  162. package/lib/components/ContentPage/normalizePage.js +1 -6
  163. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  164. package/lib/components/Footer/Footer.mobile.js +3 -2
  165. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  166. package/lib/components/Footer/MediaButton.js +2 -1
  167. package/lib/components/Footer/MediaButton.js.map +1 -1
  168. package/lib/components/Gallery/GalleryCardInner.js +3 -2
  169. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  170. package/lib/components/Header/DropdownMenu.d.ts +5 -7
  171. package/lib/components/Header/DropdownMenu.js +8 -7
  172. package/lib/components/Header/DropdownMenu.js.map +1 -1
  173. package/lib/components/Header/Header.js +9 -9
  174. package/lib/components/Header/Header.js.map +1 -1
  175. package/lib/components/Header/Header.mobile.js +6 -6
  176. package/lib/components/Header/Header.mobile.js.map +1 -1
  177. package/lib/components/Header/HeaderContent.d.ts +1 -2
  178. package/lib/components/Header/HeaderSubMenu.js +8 -21
  179. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  180. package/lib/components/Header/HeaderSubMenuItem.d.ts +12 -0
  181. package/lib/components/Header/HeaderSubMenuItem.js +21 -0
  182. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -0
  183. package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  184. package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +7 -0
  185. package/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
  186. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
  187. package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  188. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
  189. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
  190. package/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  191. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
  192. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
  193. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  194. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  195. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  196. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  197. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  198. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  199. package/lib/components/PictureText/PictureText.js +2 -2
  200. package/lib/components/PictureText/PictureText.js.map +1 -1
  201. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  202. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  203. package/lib/components/ProductBlock/renderBenefit.js +1 -3
  204. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  205. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  206. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  207. package/lib/components/Recommendation/Recommendation.js +7 -5
  208. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  209. package/lib/components/StepsBlock/StepsBlock.js +4 -3
  210. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  211. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -5
  212. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  213. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -0
  214. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  215. package/lib/components/TariffsTable/TariffsTableRow.js +2 -1
  216. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  217. package/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
  218. package/lib/content-page-repository/ContentPageRepository.js +24 -35
  219. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  220. package/lib/hooks/useIntersectionObserver.d.ts +3 -0
  221. package/lib/hooks/useIntersectionObserver.js +16 -0
  222. package/lib/hooks/useIntersectionObserver.js.map +1 -0
  223. package/lib/hooks/useOutsideClick.d.ts +3 -5
  224. package/lib/hooks/useOutsideClick.js +12 -10
  225. package/lib/hooks/useOutsideClick.js.map +1 -1
  226. package/lib/index.js +1 -1
  227. package/lib/index.js.map +1 -1
  228. package/lib/model/BorderVersion.d.ts +6 -0
  229. package/lib/model/BorderVersion.js +5 -0
  230. package/lib/model/BorderVersion.js.map +1 -0
  231. package/lib/model/IconVersion.d.ts +4 -2
  232. package/lib/model/IconVersion.js +10 -0
  233. package/lib/model/IconVersion.js.map +1 -1
  234. package/lib/services/sitemap/useSitemap.d.ts +2 -2
  235. package/lib/services/sitemap/useSitemap.js.map +1 -1
  236. package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  237. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  238. package/lib/ui-kit/BlockWrapper.js +18 -26
  239. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  240. package/lib/ui-kit/Breadcrumb.js +1 -8
  241. package/lib/ui-kit/Breadcrumb.js.map +1 -1
  242. package/lib/ui-kit/Button/ButtonSection.js +5 -5
  243. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  244. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  245. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  246. package/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  247. package/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
  248. package/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
  249. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  250. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  251. package/lib/ui-kit/Icon/Icon.js +4 -3
  252. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  253. package/lib/ui-kit/Logo/Logo.js +1 -1
  254. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  255. package/lib/ui-kit/Logo/Logo.mobile.js +5 -1
  256. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  257. package/lib/ui-kit/Select/Select.js +3 -3
  258. package/lib/ui-kit/Select/Select.js.map +1 -1
  259. package/lib/ui-kit/Tags/Tags.js +2 -2
  260. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  261. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  262. package/lib/utils/getIconWithVersion.d.ts +3 -0
  263. package/lib/utils/getIconWithVersion.js +5 -0
  264. package/lib/utils/getIconWithVersion.js.map +1 -0
  265. package/mobile/bundle/bundle.umd.js +71 -82
  266. package/mobile/bundle/bundle.umd.min.js +1 -1
  267. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  268. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  269. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +2 -0
  270. package/mobile/bundle/components/ContentPage/normalizePage.d.ts +1 -1
  271. package/mobile/bundle/components/Header/DropdownMenu.d.ts +5 -7
  272. package/mobile/bundle/components/Header/HeaderContent.d.ts +1 -2
  273. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +12 -0
  274. package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  275. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  276. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  277. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
  278. package/mobile/bundle/hooks/useIntersectionObserver.d.ts +3 -0
  279. package/mobile/bundle/hooks/useOutsideClick.d.ts +3 -5
  280. package/mobile/bundle/model/BorderVersion.d.ts +6 -0
  281. package/mobile/bundle/model/IconVersion.d.ts +4 -2
  282. package/mobile/bundle/services/sitemap/useSitemap.d.ts +2 -2
  283. package/mobile/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  284. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
  285. package/mobile/bundle/utils/getIconWithVersion.d.ts +3 -0
  286. package/mobile/dist/components/AccordionItem/AccordionItem.js +2 -1
  287. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  288. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  289. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +10 -27
  290. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  291. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  292. package/mobile/dist/components/Calculator/Calculator.js +6 -1
  293. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  294. package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -0
  295. package/mobile/dist/components/ContentPage/normalizeBlock.js +4 -8
  296. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  297. package/mobile/dist/components/ContentPage/normalizePage.d.ts +1 -1
  298. package/mobile/dist/components/ContentPage/normalizePage.js +1 -6
  299. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  300. package/mobile/dist/components/Footer/Footer.js +3 -2
  301. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  302. package/mobile/dist/components/Footer/MediaButton.js +2 -1
  303. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  304. package/mobile/dist/components/Gallery/GalleryCardInner.js +3 -2
  305. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  306. package/mobile/dist/components/Header/DropdownMenu.d.ts +5 -7
  307. package/mobile/dist/components/Header/DropdownMenu.js +8 -7
  308. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  309. package/mobile/dist/components/Header/Header.js +6 -6
  310. package/mobile/dist/components/Header/Header.js.map +1 -1
  311. package/mobile/dist/components/Header/HeaderContent.d.ts +1 -2
  312. package/mobile/dist/components/Header/HeaderSubMenu.js +8 -21
  313. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  314. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +12 -0
  315. package/mobile/dist/components/Header/HeaderSubMenuItem.js +23 -0
  316. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -0
  317. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  318. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
  319. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
  320. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  321. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
  322. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
  323. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  324. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
  325. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
  326. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  327. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  328. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  329. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  330. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  331. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  332. package/mobile/dist/components/PictureText/PictureText.js +2 -2
  333. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  334. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -3
  335. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  336. package/mobile/dist/components/Recommendation/Recommendation.js +7 -5
  337. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  338. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -5
  339. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  340. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -0
  341. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  342. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -1
  343. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  344. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
  345. package/mobile/dist/content-page-repository/ContentPageRepository.js +24 -35
  346. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  347. package/mobile/dist/hooks/useIntersectionObserver.d.ts +3 -0
  348. package/mobile/dist/hooks/useIntersectionObserver.js +19 -0
  349. package/mobile/dist/hooks/useIntersectionObserver.js.map +1 -0
  350. package/mobile/dist/hooks/useOutsideClick.d.ts +3 -5
  351. package/mobile/dist/hooks/useOutsideClick.js +11 -9
  352. package/mobile/dist/hooks/useOutsideClick.js.map +1 -1
  353. package/mobile/dist/index.js +1 -1
  354. package/mobile/dist/index.js.map +1 -1
  355. package/mobile/dist/model/BorderVersion.d.ts +6 -0
  356. package/mobile/dist/model/BorderVersion.js +7 -0
  357. package/mobile/dist/model/BorderVersion.js.map +1 -0
  358. package/mobile/dist/model/IconVersion.d.ts +4 -2
  359. package/mobile/dist/model/IconVersion.js +10 -0
  360. package/mobile/dist/model/IconVersion.js.map +1 -1
  361. package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -2
  362. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  363. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  364. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  365. package/mobile/dist/ui-kit/BlockWrapper.js +18 -26
  366. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  367. package/mobile/dist/ui-kit/Breadcrumb.js +1 -8
  368. package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
  369. package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -5
  370. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  371. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  372. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  373. package/mobile/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  374. package/{dist/ui-kit/CurrencyInput/adjustValue .js → mobile/dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
  375. package/mobile/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
  376. package/mobile/dist/ui-kit/Icon/Icon.js +4 -3
  377. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  378. package/mobile/dist/ui-kit/Logo/Logo.js +5 -1
  379. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  380. package/mobile/dist/ui-kit/Select/Select.js +2 -2
  381. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  382. package/mobile/dist/ui-kit/Tags/Tags.js +2 -2
  383. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  384. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  385. package/mobile/dist/utils/getIconWithVersion.d.ts +3 -0
  386. package/mobile/dist/utils/getIconWithVersion.js +8 -0
  387. package/mobile/dist/utils/getIconWithVersion.js.map +1 -0
  388. package/mobile/lib/components/AccordionItem/AccordionItem.js +2 -1
  389. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  390. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
  391. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +10 -27
  392. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  393. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  394. package/mobile/lib/components/Calculator/Calculator.js +6 -1
  395. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  396. package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -0
  397. package/mobile/lib/components/ContentPage/normalizeBlock.js +4 -8
  398. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  399. package/mobile/lib/components/ContentPage/normalizePage.d.ts +1 -1
  400. package/mobile/lib/components/ContentPage/normalizePage.js +1 -6
  401. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  402. package/mobile/lib/components/Footer/Footer.js +3 -2
  403. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  404. package/mobile/lib/components/Footer/MediaButton.js +2 -1
  405. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  406. package/mobile/lib/components/Gallery/GalleryCardInner.js +3 -2
  407. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  408. package/mobile/lib/components/Header/DropdownMenu.d.ts +5 -7
  409. package/mobile/lib/components/Header/DropdownMenu.js +8 -7
  410. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  411. package/mobile/lib/components/Header/Header.js +6 -6
  412. package/mobile/lib/components/Header/Header.js.map +1 -1
  413. package/mobile/lib/components/Header/HeaderContent.d.ts +1 -2
  414. package/mobile/lib/components/Header/HeaderSubMenu.js +8 -21
  415. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  416. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +12 -0
  417. package/mobile/lib/components/Header/HeaderSubMenuItem.js +21 -0
  418. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -0
  419. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
  420. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
  421. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
  422. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
  423. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
  424. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
  425. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
  426. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
  427. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
  428. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  429. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  430. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  431. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  432. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  433. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  434. package/mobile/lib/components/PictureText/PictureText.js +2 -2
  435. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  436. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -3
  437. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  438. package/mobile/lib/components/Recommendation/Recommendation.js +7 -5
  439. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  440. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -5
  441. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  442. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -0
  443. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  444. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -1
  445. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  446. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
  447. package/mobile/lib/content-page-repository/ContentPageRepository.js +24 -35
  448. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  449. package/mobile/lib/hooks/useIntersectionObserver.d.ts +3 -0
  450. package/mobile/lib/hooks/useIntersectionObserver.js +16 -0
  451. package/mobile/lib/hooks/useIntersectionObserver.js.map +1 -0
  452. package/mobile/lib/hooks/useOutsideClick.d.ts +3 -5
  453. package/mobile/lib/hooks/useOutsideClick.js +12 -10
  454. package/mobile/lib/hooks/useOutsideClick.js.map +1 -1
  455. package/mobile/lib/index.js +1 -1
  456. package/mobile/lib/index.js.map +1 -1
  457. package/mobile/lib/model/BorderVersion.d.ts +6 -0
  458. package/mobile/lib/model/BorderVersion.js +5 -0
  459. package/mobile/lib/model/BorderVersion.js.map +1 -0
  460. package/mobile/lib/model/IconVersion.d.ts +4 -2
  461. package/mobile/lib/model/IconVersion.js +10 -0
  462. package/mobile/lib/model/IconVersion.js.map +1 -1
  463. package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -2
  464. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  465. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  466. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  467. package/mobile/lib/ui-kit/BlockWrapper.js +18 -26
  468. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  469. package/mobile/lib/ui-kit/Breadcrumb.js +1 -8
  470. package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
  471. package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -5
  472. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  473. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  474. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  475. package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
  476. package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
  477. package/mobile/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
  478. package/mobile/lib/ui-kit/Icon/Icon.js +4 -3
  479. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  480. package/mobile/lib/ui-kit/Logo/Logo.js +5 -1
  481. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  482. package/mobile/lib/ui-kit/Select/Select.js +3 -3
  483. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  484. package/mobile/lib/ui-kit/Tags/Tags.js +2 -2
  485. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  486. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  487. package/mobile/lib/utils/getIconWithVersion.d.ts +3 -0
  488. package/mobile/lib/utils/getIconWithVersion.js +5 -0
  489. package/mobile/lib/utils/getIconWithVersion.js.map +1 -0
  490. package/mobile/src/components/AccordionItem/AccordionItem.tsx +15 -2
  491. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +47 -76
  492. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  493. package/mobile/src/components/Calculator/Calculator.tsx +6 -1
  494. package/mobile/src/components/Catalog/CatalogContent.ts +2 -0
  495. package/mobile/src/components/ContentPage/normalizeBlock.ts +15 -18
  496. package/mobile/src/components/ContentPage/normalizePage.ts +2 -7
  497. package/mobile/src/components/Footer/Footer.tsx +15 -5
  498. package/mobile/src/components/Footer/MediaButton.tsx +8 -1
  499. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  500. package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -3
  501. package/mobile/src/components/Header/DropdownMenu.tsx +46 -63
  502. package/mobile/src/components/Header/Header.tsx +11 -11
  503. package/mobile/src/components/Header/HeaderContent.ts +1 -2
  504. package/mobile/src/components/Header/HeaderSubMenu.tsx +21 -40
  505. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +61 -0
  506. package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
  507. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
  508. package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
  509. package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
  510. package/mobile/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
  511. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +8 -1
  512. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  513. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  514. package/mobile/src/components/PictureText/PictureText.tsx +3 -3
  515. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -3
  516. package/mobile/src/components/Recommendation/Recommendation.tsx +9 -7
  517. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -7
  518. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +1 -1
  519. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -1
  520. package/mobile/src/content-page-repository/ContentPageRepository.ts +27 -45
  521. package/mobile/src/hooks/useIntersectionObserver.ts +23 -0
  522. package/mobile/src/hooks/useOutsideClick.ts +13 -13
  523. package/mobile/src/index.ts +1 -1
  524. package/mobile/src/model/BorderVersion.ts +10 -0
  525. package/mobile/src/model/IconVersion.ts +5 -2
  526. package/mobile/src/services/sitemap/useSitemap.ts +4 -4
  527. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +8 -12
  528. package/mobile/src/ui-kit/BlockWrapper.tsx +27 -42
  529. package/mobile/src/ui-kit/Breadcrumb.tsx +8 -11
  530. package/mobile/src/ui-kit/Button/ButtonSection.tsx +5 -12
  531. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
  532. package/mobile/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
  533. package/mobile/src/ui-kit/Icon/Icon.tsx +4 -3
  534. package/mobile/src/ui-kit/Logo/Logo.tsx +10 -2
  535. package/mobile/src/ui-kit/Select/Select.tsx +3 -4
  536. package/mobile/src/ui-kit/Tags/Tags.tsx +3 -5
  537. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  538. package/mobile/src/utils/getIconWithVersion.ts +7 -0
  539. package/package.json +1 -1
  540. package/src/components/AccordionItem/AccordionItem.mobile.tsx +15 -2
  541. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +6 -6
  542. package/src/components/BenefitsBlock/BenefitsBlock.tsx +47 -76
  543. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  544. package/src/components/Blocks.ts +2 -0
  545. package/src/components/Calculator/Calculator.tsx +6 -1
  546. package/src/components/Catalog/CatalogContent.ts +2 -0
  547. package/src/components/ComparisonTable/HeaderCell.tsx +3 -1
  548. package/src/components/ContentPage/normalizeBlock.mobile.ts +15 -18
  549. package/src/components/ContentPage/normalizeBlock.ts +10 -12
  550. package/src/components/ContentPage/normalizePage.ts +2 -7
  551. package/src/components/Footer/Footer.mobile.tsx +15 -5
  552. package/src/components/Footer/MediaButton.tsx +8 -1
  553. package/src/components/Gallery/Gallery.fixture.tsx +1 -0
  554. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  555. package/src/components/Gallery/GalleryCardInner.tsx +8 -3
  556. package/src/components/Header/DropdownMenu.tsx +46 -63
  557. package/src/components/Header/Header.mobile.tsx +11 -11
  558. package/src/components/Header/Header.tsx +17 -12
  559. package/src/components/Header/HeaderContent.ts +1 -2
  560. package/src/components/Header/HeaderSubMenu.tsx +21 -40
  561. package/src/components/Header/HeaderSubMenuItem.tsx +61 -0
  562. package/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
  563. package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +79 -0
  564. package/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
  565. package/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
  566. package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
  567. package/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
  568. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +8 -1
  569. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
  570. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  571. package/src/components/PictureText/PictureText.tsx +3 -3
  572. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -1
  573. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  574. package/src/components/ProductBlock/renderBenefit.tsx +2 -3
  575. package/src/components/ProductGallery/ProductGallery.tsx +3 -4
  576. package/src/components/Recommendation/Recommendation.tsx +9 -7
  577. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +4 -4
  578. package/src/components/StepsBlock/StepsBlock.fixture.tsx +4 -3
  579. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -7
  580. package/src/components/StepsBlock/StepsBlock.tsx +5 -3
  581. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +1 -1
  582. package/src/components/TariffsTable/TariffsTableRow.tsx +2 -1
  583. package/src/content-page-repository/ContentPageRepository.ts +27 -45
  584. package/src/hooks/useIntersectionObserver.ts +23 -0
  585. package/src/hooks/useOutsideClick.ts +13 -13
  586. package/src/index.ts +1 -1
  587. package/src/model/BorderVersion.ts +10 -0
  588. package/src/model/IconVersion.ts +5 -2
  589. package/src/services/sitemap/useSitemap.ts +4 -4
  590. package/src/ui-kit/BenefitItem/BenefitItem.tsx +8 -12
  591. package/src/ui-kit/BlockWrapper.tsx +27 -42
  592. package/src/ui-kit/Breadcrumb.tsx +8 -11
  593. package/src/ui-kit/Button/ButtonSection.tsx +5 -12
  594. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
  595. package/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
  596. package/src/ui-kit/HeaderItem/HeaderItem.tsx +3 -3
  597. package/src/ui-kit/Icon/Icon.tsx +4 -3
  598. package/src/ui-kit/Logo/Logo.mobile.tsx +10 -2
  599. package/src/ui-kit/Logo/Logo.tsx +1 -1
  600. package/src/ui-kit/Select/Select.tsx +3 -4
  601. package/src/ui-kit/Tags/Tags.tsx +3 -5
  602. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  603. package/src/utils/getIconWithVersion.ts +7 -0
  604. package/bundle/ui-kit/IntersectionObserverTag.d.ts +0 -12
  605. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
  606. package/dist/ui-kit/IntersectionObserverTag.d.ts +0 -12
  607. package/dist/ui-kit/IntersectionObserverTag.js +0 -22
  608. package/dist/ui-kit/IntersectionObserverTag.js.map +0 -1
  609. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
  610. package/lib/ui-kit/IntersectionObserverTag.d.ts +0 -12
  611. package/lib/ui-kit/IntersectionObserverTag.js +0 -20
  612. package/lib/ui-kit/IntersectionObserverTag.js.map +0 -1
  613. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +0 -12
  614. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
  615. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +0 -12
  616. package/mobile/dist/ui-kit/IntersectionObserverTag.js +0 -22
  617. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +0 -1
  618. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
  619. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +0 -12
  620. package/mobile/lib/ui-kit/IntersectionObserverTag.js +0 -20
  621. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +0 -1
  622. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +0 -47
  623. package/src/ui-kit/IntersectionObserverTag.tsx +0 -47
@@ -1,5 +1,6 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { BenefitsBlockContent } from './BenefitsBlockContent';
3
- export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
3
+ interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
4
4
  }
5
5
  export declare const BenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<BenefitsBlockProps, any, any>;
6
+ export {};
@@ -48,5 +48,5 @@ export declare type BenefitsBlockContent = TitleProps & {
48
48
  */
49
49
  benefitList?: BenefitBlockItemProps[];
50
50
  /** @default primary */
51
- benefitsBlockVersion?: BlockVersion;
51
+ version?: BlockVersion;
52
52
  };
@@ -2,6 +2,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
2
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { BlockVersion } from '../../model/BlockVersion';
5
6
  export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
6
7
  /** @title Цена в рублях */
7
8
  price?: number;
@@ -22,4 +23,5 @@ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
22
23
  export declare type CatalogContent = HeadlineCommonProps & {
23
24
  /** @title Список карточек */
24
25
  cards?: CatalogCardType[];
26
+ version?: BlockVersion;
25
27
  };
@@ -1,3 +1,3 @@
1
1
  import type { BlocksRegistry } from '../../model/BlocksRegistry';
2
2
  import type { ContentPageDef } from '../../model/ContentPageDef';
3
- export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef | undefined;
3
+ export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef;
@@ -1,14 +1,12 @@
1
1
  import type { BgColorVersion } from '../../model/BgColorVersion';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
2
  import type { LinkProps } from '../../model/LinkProps';
4
3
  import type { ContentPageContext } from '../ContentPage/ContentPageContext';
5
- interface DropdownMenuProps extends UniBlockProps {
6
- menuVisible: boolean;
7
- toggleMenu: () => void;
8
- menuItems: LinkProps[];
9
- bgColor?: BgColorVersion;
4
+ interface DropdownMenuProps {
10
5
  context: ContentPageContext;
11
- activeSubItem?: LinkProps;
6
+ className?: string;
7
+ items: LinkProps[];
8
+ activeItem?: LinkProps;
9
+ bgColor?: BgColorVersion;
12
10
  }
13
11
  export declare const DropdownMenu: import("@redneckz/uni-jsx").UNIComponent<DropdownMenuProps, any, any>;
14
12
  export {};
@@ -1,7 +1,6 @@
1
1
  import type { BgColorVersion } from '../../model/BgColorVersion';
2
2
  import type { LinkProps } from '../../model/LinkProps';
3
3
  import type { IconProps, Picture } from '../../model/Picture';
4
- import type { SitemapProps } from '../../services/sitemap/SitemapProps';
5
4
  /**
6
5
  * @title Пункт подменю
7
6
  */
@@ -27,7 +26,7 @@ export interface Logo {
27
26
  * @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
28
27
  * @required ["defaultLocation", "topItems"]
29
28
  */
30
- export interface HeaderContent extends SitemapProps {
29
+ export interface HeaderContent {
31
30
  logo?: Logo;
32
31
  /**
33
32
  * @title Город по-умолчанию
@@ -0,0 +1,12 @@
1
+ import type { BgColorVersion } from '../../model/BgColorVersion';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
+ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
4
+ export interface HeaderSubMenuItemProps extends LinkProps {
5
+ context: ContentPageContext;
6
+ className?: string;
7
+ active?: boolean;
8
+ bgColor?: BgColorVersion;
9
+ observerOptions?: IntersectionObserverInit;
10
+ onVisibilityChange?: (isIntersecting: boolean) => void;
11
+ }
12
+ export declare const HeaderSubMenuItem: import("@redneckz/uni-jsx").UNIComponent<HeaderSubMenuItemProps, any, any>;
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
+ export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
+ }
5
+ export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -0,0 +1,7 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
4
+ export interface RecommendationCardProps extends InvestmentGalleryCardTypes, UniBlockProps {
5
+ version?: BlockVersion;
6
+ }
7
+ export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -0,0 +1,50 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { Picture } from '../../model/Picture';
3
+ import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
4
+ /**
5
+ * @title Количество колонок в списке
6
+ * @enumNames [
7
+ * "1 колонка",
8
+ * "2 колонки",
9
+ * ]
10
+ */
11
+ export declare type CardColumnsMode = 'single' | 'double';
12
+ /**
13
+ * @title Карточка
14
+ */
15
+ export interface InvestmentGalleryCardTypes extends HeadlineCommonProps {
16
+ /** @title Доп. описание карточки */
17
+ additionalDescription?: string;
18
+ /**
19
+ * @default {
20
+ * "format": "webp",
21
+ * "size": {
22
+ * "width": 290
23
+ * },
24
+ * "sources": [{
25
+ * "media": 1279,
26
+ * "width": 174,
27
+ * "format": "webp",
28
+ * "alignment": "southeast"
29
+ * }]
30
+ * }
31
+ */
32
+ image?: Picture;
33
+ columnsMode?: CardColumnsMode;
34
+ /** @title Описание пункта */
35
+ cardList?: CardListItem[];
36
+ }
37
+ export interface CardListItem {
38
+ /** @title Параметр */
39
+ parameter?: string;
40
+ /** @title Описание */
41
+ parameterDesccription?: string;
42
+ }
43
+ /**
44
+ * @title Карточка
45
+ */
46
+ export interface InvestmentGalleryContent extends TitleProps {
47
+ /** @title Карточки */
48
+ cards?: InvestmentGalleryCardTypes[];
49
+ version?: BlockVersion;
50
+ }
@@ -1,11 +1,14 @@
1
1
  import type { ContentPageDef } from '../model/ContentPageDef';
2
2
  import type { TransformationOptions } from './TransformationOptions';
3
- export declare function ContentPageRepository({ contentDir, publicDir, }?: Partial<TransformationOptions>): {
4
- listAllContentPages: () => Promise<string[]>;
5
- getAllContentPagesMap: () => Promise<Record<string, ContentPageDef>>;
6
- getAllContentPages: () => Promise<ContentPageDef[]>;
7
- getContentPageBySlug: (slug: string) => Promise<ContentPageDef | undefined>;
8
- getSecondaryContentPages: (customPageType?: string) => Promise<ContentPageDef[]>;
9
- getIndexPage: () => Promise<ContentPageDef | undefined>;
10
- readPage: (filePath: string) => Promise<ContentPageDef>;
11
- };
3
+ export declare class ContentPageRepository {
4
+ private readonly options;
5
+ static readonly inst: ContentPageRepository;
6
+ private cache;
7
+ constructor(options?: TransformationOptions);
8
+ listAllContentPages(): Promise<string[]>;
9
+ getAllContentPages(): Promise<ContentPageDef[]>;
10
+ getSecondaryContentPages(customPageType?: string): Promise<ContentPageDef[]>;
11
+ getContentPageBySlug(slug: string): Promise<ContentPageDef | undefined>;
12
+ getIndexPage(): Promise<ContentPageDef | undefined>;
13
+ readPage(filePath: string): Promise<ContentPageDef>;
14
+ }
@@ -0,0 +1,3 @@
1
+ export declare function useIntersectionObserver<R extends Element>(observerCallback: IntersectionObserverCallback, observerOptions?: IntersectionObserverInit): {
2
+ current: R | null;
3
+ };
@@ -1,5 +1,3 @@
1
- interface Ref {
2
- current: HTMLInputElement | null;
3
- }
4
- export declare function useOutsideClick(wrapperRef: Ref, setIsOpen: (_: boolean) => void): void;
5
- export {};
1
+ export declare function useOutsideClick<R extends Node>(onClick: () => void): {
2
+ current: R | null;
3
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @title Цвет бордера
3
+ * @enumNames ["Основной", "Второстепенный"]
4
+ */
5
+ export declare type BorderVersion = 'primary' | 'secondary';
6
+ export declare const BorderVersionStyleMap: Record<BorderVersion, string>;
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * @title Цвет иконки
3
+ * @default normal
3
4
  * @enumNames [
4
- * "Нормальный",
5
+ * "по умолчанию",
6
+ * "Цветной",
5
7
  * "Белый",
6
8
  * "Чёрный"
7
9
  * ]
8
10
  */
9
- export declare type IconVersion = 'normal' | 'white' | 'black';
11
+ export declare type IconVersion = 'normal' | 'color' | 'white' | 'black';
@@ -1,3 +1,3 @@
1
- import type { HeaderContent } from '../../components/Header/HeaderContent';
2
1
  import type { Fallback } from '../../model/Fallback';
3
- export declare function useSitemap(fallback?: Fallback): HeaderContent;
2
+ import type { SitemapProps } from './SitemapProps';
3
+ export declare function useSitemap(fallback?: Fallback): SitemapProps;
@@ -7,8 +7,8 @@ export interface TopItemProps extends TopItemContent {
7
7
  className?: string;
8
8
  flat?: boolean;
9
9
  ariaLabel?: string;
10
- onClick?: () => void;
11
10
  bgColor?: BgColorVersion;
12
11
  dataItemName?: string;
12
+ onClick?: () => void;
13
13
  }
14
14
  export declare const TopItem: import("@redneckz/uni-jsx").UNIComponent<TopItemProps, any, any>;
@@ -0,0 +1,3 @@
1
+ import type { Picture } from '../model/Picture';
2
+ import type { BlockVersion } from '../model/BlockVersion';
3
+ export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -6,11 +6,12 @@ const getParentBlockContent_1 = require("../../model/getParentBlockContent");
6
6
  const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
7
7
  const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
9
10
  const icons = ['PlusIcon', 'MinusIcon'];
10
11
  exports.AccordionItem = (0, uni_jsx_1.JSX)(({ className = '', ancestors, label = '', labelIcon, isExpanded, children }) => {
11
12
  const { bordered } = (0, getParentBlockContent_1.getParentBlockContent)(ancestors, {});
12
13
  return ((0, jsx_runtime_1.jsx)("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider ${className}`, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: children })), renderFoldButton: ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsx)(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, onClick: onToggle })) }) }));
13
14
  });
14
15
  exports.AccordionItem.childrenTypes = [];
15
- const FoldButton = (0, uni_jsx_1.JSX)(({ className, icon, label, primaryIcon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${className}`, onClick: onClick, children: [(0, jsx_runtime_1.jsxs)("span", { className: "text-m-title-xs font-medium pr-2.5 flex group-hover:text-primary-main", children: [primaryIcon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })] })));
16
+ const FoldButton = (0, uni_jsx_1.JSX)(({ className, icon, label, primaryIcon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${className}`, onClick: onClick, children: [(0, jsx_runtime_1.jsxs)("span", { className: "text-m-title-xs font-medium pr-2.5 flex group-hover:text-primary-main", children: [primaryIcon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(primaryIcon), className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex-shrink-0", image: (0, getIconWithVersion_1.getIconWithVersion)({ icon: icon }), width: "24", height: "24", asSVG: true })] })));
16
17
  //# sourceMappingURL=AccordionItem.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6EAA0E;AAG1E,6DAA0D;AAC1D,2EAAwE;AAExE,8CAA2C;AAI3C,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEvC,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7E,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,6CAAqB,EAAC,SAAS,EAAE,EAAsB,CAAC,CAAC;IAE9E,OAAO,CACL,+BACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,mCACzC,qCAAqC,SAAS,EAAE,YAEhD,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,IAAI,EACvB,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IACd,SAAS,EAAC,qDAAqD,EAC/D,UAAU,EAAE,UAAU,YAErB,QAAQ,GACO,CACnB,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9C,uBAAC,UAAU,IACT,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,EAC3C,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/B,WAAW,EAAE,SAAS,EACtB,OAAO,EAAE,QAAQ,GACjB,CACH,GACD,GACC,CACN,CAAC;AACJ,CAAC,CACF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CAAkB,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACzC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { BenefitsBlockContent } from './BenefitsBlockContent';
3
- export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
3
+ interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
4
4
  }
5
5
  export declare const BenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<BenefitsBlockProps, any, any>;
6
+ export {};
@@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.BenefitsBlock = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockVersion_1 = require("../../model/BlockVersion");
5
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
7
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
8
  const Img_1 = require("../../ui-kit/Img/Img");
8
- const benefitsBlockStyleMap = {
9
- primary: 'bg-white',
10
- secondary: 'bg-primary-main',
11
- };
9
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
12
10
  const benefitsTextStyleMap = {
13
11
  primary: '',
14
12
  secondary: 'text-white',
@@ -21,33 +19,18 @@ const benefitsIconStyleMap = {
21
19
  primary: 'bg-main-divider text-primary-main',
22
20
  secondary: 'bg-white/30 text-black',
23
21
  };
24
- exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, benefitsBlockVersion = 'primary', ...rest }) => {
25
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${benefitsBlockStyleMap[benefitsBlockVersion]}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[benefitsBlockVersion]}`, title: title })) : null, benefitList?.length ? renderBenefits(benefitList, benefitsBlockVersion) : null] }));
26
- });
27
- const renderBenefits = (benefitList, benefitsBlockVersion) => {
28
- return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(benefitsBlockVersion)) }));
29
- };
30
- const setIconVersion = (benefitIcon, benefitsBlockVersion) => {
31
- if (!benefitIcon.icon || benefitIcon?.iconVersion) {
32
- return benefitIcon;
33
- }
34
- benefitIcon.iconVersion = benefitsBlockVersion === 'secondary' ? 'white' : 'normal';
35
- return benefitIcon;
36
- };
37
- const renderStep = (benefitsBlockVersion) => (benefit, i) => {
38
- const description = (benefit?.description || undefined);
39
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[benefitsBlockVersion]}`, image: setIconVersion(benefit.icon, benefitsBlockVersion), asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5", children: [benefit?.label ? ((0, jsx_runtime_1.jsx)("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[benefitsBlockVersion]}`, children: benefit.label })) : null, renderDescription(description, benefitsBlockVersion)] })] }, String(i)));
22
+ exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${BlockVersion_1.VersionStyleMap[version]}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
23
+ const renderStep = (version) => (benefit, i) => {
24
+ const description = benefit.description;
25
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: (0, getIconWithVersion_1.getIconWithVersion)(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5", children: [benefit?.label ? ((0, jsx_runtime_1.jsx)("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription(description, version)] })] }, String(i)));
40
26
  };
41
- const renderDescription = (description, benefitsBlockVersion) => {
42
- const benefitType = description ? description?.benefitType : null;
43
- if (!benefitType) {
44
- return null;
45
- }
46
- return description ? ((0, jsx_runtime_1.jsx)("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[benefitsBlockVersion]}`, children: benefitType === 'list'
27
+ const renderDescription = (description, version) => {
28
+ const benefitType = description?.benefitType || null;
29
+ return description && benefitType ? ((0, jsx_runtime_1.jsx)("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`, children: benefitType === 'list'
47
30
  ? renderListBenefit(description)
48
31
  : renderTextBenefit(description) })) : null;
49
32
  };
50
- const renderTextBenefit = (description) => (description ? description.name : null);
33
+ const renderTextBenefit = (description) => description?.name || null;
51
34
  const renderListBenefit = (description) => {
52
35
  const listStyleType = description?.bullets ? 'list-disc pl-6' : '';
53
36
  return description?.items && description.items.length > 0 ? ((0, jsx_runtime_1.jsx)("ul", { className: listStyleType, children: description.items.map((_, i) => ((0, jsx_runtime_1.jsx)("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAM3C,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,IAAI,qBAAqB,CAAC,oBAAoB,CAAC,EAAE,KAChI,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,6BAA6B,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,EACpF,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAA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C,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;AAEtF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
@@ -48,5 +48,5 @@ export declare type BenefitsBlockContent = TitleProps & {
48
48
  */
49
49
  benefitList?: BenefitBlockItemProps[];
50
50
  /** @default primary */
51
- benefitsBlockVersion?: BlockVersion;
51
+ version?: BlockVersion;
52
52
  };
@@ -39,6 +39,7 @@ const Tabs_1 = require("./Tabs/Tabs");
39
39
  const TariffsTable_1 = require("./TariffsTable/TariffsTable");
40
40
  const TextBlock_1 = require("./TextBlock/TextBlock");
41
41
  const Tile_1 = require("./Tile/Tile");
42
+ const InvestmentGallery_1 = require("./InvestmentGallery/InvestmentGallery");
42
43
  exports.Blocks = {
43
44
  Accordion: Accordion_1.Accordion,
44
45
  AccordionItem: AccordionItem_1.AccordionItem,
@@ -79,5 +80,6 @@ exports.Blocks = {
79
80
  SafeDepositRental: SafeDepositRental_1.SafeDepositRental,
80
81
  Tabs: Tabs_1.Tabs,
81
82
  ErrorBlock: ErrorBlock_1.ErrorBlock,
83
+ InvestmentGallery: InvestmentGallery_1.InvestmentGallery,
82
84
  };
83
85
  //# sourceMappingURL=Blocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,wDAAqD;AACrD,8DAA2D;AAC3D,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,6EAA0E;AAC1E,wDAAqD;AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,YAAY,EAAZ,2BAAY;IACZ,eAAe,EAAf,iCAAe;IACf,UAAU,EAAV,uBAAU;IACV,OAAO,EAAP,iBAAO;IACP,aAAa,EAAb,6BAAa;IACb,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,cAAc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ClD,sCAAmC;AACnC,6EAA0E;AAE7D,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,YAAY,EAAZ,2BAAY;IACZ,eAAe,EAAf,iCAAe;IACf,UAAU,EAAV,uBAAU;IACV,OAAO,EAAP,iBAAO;IACP,aAAa,EAAb,6BAAa;IACb,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;IACd,QAAQ,EAAR,mBAAQ;IACR,WAAW,EAAX,yBAAW;IACX,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,WAAW,EAAX,yBAAW;IACX,kBAAkB,EAAlB,uCAAkB;IAClB,iBAAiB,EAAjB,qCAAiB;IACjB,IAAI,EAAJ,WAAI;IACJ,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;CAClB,CAAC"}
@@ -38,8 +38,13 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }) {
38
38
  ? 'text-l-light text-white'
39
39
  : `text-m-light text-secondary-text`;
40
40
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
41
+ const iconVersion = tab?.icon?.iconVersion;
42
+ const activeIconStyle = isActiveBtn ? 'white' : 'normal';
41
43
  return ((0, jsx_runtime_1.jsxs)("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
42
- ${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
44
+ ${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
45
+ ...tab?.icon,
46
+ iconVersion: iconVersion ?? activeIconStyle,
47
+ }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
43
48
  }
44
49
  function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
45
50
  return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;A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B,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,gCAAgC,aAAa,EAAE,EAC1D,KAAK,EAAE,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EACtE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,gCAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAhBD,MAAM,CAAC,CAAC,CAAC,CAiBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAa;IAC1F,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAk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Q,EAEb,OAAO,EAAE,OAAO,gBACJ,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,gCAAgC,aAAa,EAAE,EAC1D,KAAK,EAAE;oBACL,GAAG,GAAG,EAAE,IAAI;oBACZ,WAAW,EAAE,WAAW,IAAI,eAAe;iBAC5C,EACD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,gCAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAnBD,MAAM,CAAC,CAAC,CAAC,CAoBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAa;IAC1F,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
@@ -2,6 +2,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
2
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { BlockVersion } from '../../model/BlockVersion';
5
6
  export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
6
7
  /** @title Цена в рублях */
7
8
  price?: number;
@@ -22,4 +23,5 @@ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
22
23
  export declare type CatalogContent = HeadlineCommonProps & {
23
24
  /** @title Список карточек */
24
25
  cards?: CatalogCardType[];
26
+ version?: BlockVersion;
25
27
  };
@@ -6,5 +6,6 @@ const Button_1 = require("../../ui-kit/Button/Button");
6
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const constants_1 = require("./constants");
9
- exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, link }) => ((0, jsx_runtime_1.jsxs)("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${constants_1.BORDER_CLASSES} ${constants_1.GRADIENT}`, role: "columnheader", children: [icon && !image?.src && ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-[18px]", image: image }), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && ((0, jsx_runtime_1.jsx)("div", { className: "mt-auto w-full", children: (0, jsx_runtime_1.jsx)(Button_1.Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: (0, jsx_runtime_1.jsx)("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
9
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
10
+ exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, link }) => ((0, jsx_runtime_1.jsxs)("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${constants_1.BORDER_CLASSES} ${constants_1.GRADIENT}`, role: "columnheader", children: [icon && !image?.src && ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: (0, getIconWithVersion_1.getIconWithVersion)(icon), width: "63", height: "63", asSVG: true })), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-[18px]", image: image }), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && ((0, jsx_runtime_1.jsx)("div", { className: "mt-auto w-full", children: (0, jsx_runtime_1.jsx)(Button_1.Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: (0, jsx_runtime_1.jsx)("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
10
11
  //# sourceMappingURL=HeaderCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,uDAAoD;AACpD,0DAAuD;AACvD,8CAA2C;AAC3C,2CAAuD;AAU1C,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC/E,iCACE,SAAS,EAAE,0FAA0F,0BAAc,IAAI,oBAAQ,EAAE,EACjI,IAAI,EAAC,cAAc,aAElB,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CACtB,uBAAC,SAAG,IACF,SAAS,EAAC,kDAAkD,EAC5D,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACA,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,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CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,wBAAwB,EAAC,KAAK,EAAE,KAAK,GAAI,CACtF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,IAAI,IAAI,CACb,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,eAAM,IACL,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAC,4FAA4F,YAEtG,gCAAK,SAAS,EAAC,qCAAqC,YAAE,IAAI,CAAC,IAAI,GAAO,GAC/D,GACL,CACP,IACG,CACP,CAAC,CAAC"}
@@ -3,17 +3,13 @@ exports.normalizeBlock = void 0;
3
3
  const mapSlot_1 = require("./mapSlot");
4
4
  function normalizeBlock(block, blocksRegistry) {
5
5
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
- const { mobile, ...rest } = (block || {});
7
- return {
8
- ...(0, mapSlot_1.mapSlot)((blocks) => filterBlocks(blocks, blocksRegistry))({ ...rest }),
9
- };
6
+ const { mobile, ...result } = (block || {});
7
+ return (0, mapSlot_1.mapSlot)(filterBlocks(blocksRegistry))({ ...result });
10
8
  }
11
9
  exports.normalizeBlock = normalizeBlock;
12
- const filterBlocks = (blocks, blocksRegistry) => blocks
10
+ const filterBlocks = (blocksRegistry) => (blocks) => blocks
13
11
  ? blocks
14
12
  .filter((block) => blocksRegistry && (block?.type || '') in blocksRegistry)
15
- .map((block) => ({
16
- ...normalizeBlock(block, blocksRegistry),
17
- }))
13
+ .map((block) => normalizeBlock(block, blocksRegistry))
18
14
  : [];
19
15
  //# sourceMappingURL=normalizeBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,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I,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,IAAI,cAAc,CAAC;SAC1E,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IAC1D,CAAC,CAAC,EAAE,CAAC"}
@@ -3,21 +3,17 @@ exports.normalizeBlock = void 0;
3
3
  const mapSlot_1 = require("./mapSlot");
4
4
  function normalizeBlock(block, blocksRegistry) {
5
5
  const { mobile, ...rest } = (block || {});
6
- const normalizedBlock = mobile
6
+ const result = mobile
7
7
  ? { ...rest, ...mobile, content: { ...rest.content, ...mobile.content } }
8
8
  : block;
9
- return {
10
- ...(0, mapSlot_1.mapSlot)((blocks) => filterBlocks(blocks, blocksRegistry))(normalizedBlock || {}),
11
- };
9
+ return (0, mapSlot_1.mapSlot)(filterBlocks(blocksRegistry))(result || {});
12
10
  }
13
11
  exports.normalizeBlock = normalizeBlock;
14
- const filterBlocks = (blocks, blocksRegistry) => blocks
12
+ const filterBlocks = (blocksRegistry) => (blocks) => blocks
15
13
  ? blocks
16
14
  ?.filter((block) => blocksRegistry &&
17
15
  (block?.type || block?.mobile?.type || '') in blocksRegistry &&
18
16
  !block.mobile?.hidden)
19
- .map((block) => ({
20
- ...normalizeBlock(block, blocksRegistry),
21
- }))
17
+ .map((block) => normalizeBlock(block, blocksRegistry))
22
18
  : [];
23
19
  //# sourceMappingURL=normalizeBlock.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.mobile.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,EAAE,cAA+B;IACvF,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAa,CAAC;IAEtD,MAAM,eAAe,GAAG,MAAM;QAC5B,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE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IAAA,iBAAO,EAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAM,CAAC;AAClE,CAAC;AAPD,wCAOC;AAED,MAAM,YAAY,GAChB,CAAC,cAA+B,EAAE,EAAE,CACpC,CAAC,MAAmB,EAAc,EAAE,CAClC,MAAM;IACJ,CAAC,CAAC,MAAM;QACJ,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,cAAc;QACd,CAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC,IAAI,cAAc;QAC5D,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACxB;SACA,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IAC1D,CAAC,CAAC,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { BlocksRegistry } from '../../model/BlocksRegistry';
2
2
  import type { ContentPageDef } from '../../model/ContentPageDef';
3
- export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef | undefined;
3
+ export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef;
@@ -1,11 +1,6 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.normalizePage = void 0;
3
3
  const normalizeBlock_1 = require("./normalizeBlock");
4
- const normalizePage = (blocksRegistry) => (contentPage) => {
5
- if (!contentPage) {
6
- return undefined;
7
- }
8
- return (0, normalizeBlock_1.normalizeBlock)(contentPage, blocksRegistry);
9
- };
4
+ const normalizePage = (blocksRegistry) => (contentPage) => contentPage ? (0, normalizeBlock_1.normalizeBlock)(contentPage, blocksRegistry) : {};
10
5
  exports.normalizePage = normalizePage;
11
6
  //# sourceMappingURL=normalizePage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AAEA,qDAAkD;AAE3C,MAAM,aAAa,GACxB,CAAC,cAA8B,EAAE,EAAE,CACnC,CAAC,WAA8C,EAA8B,EAAE;IAC7E,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,OAAO,IAAA,+BAAc,EAAC,WAAW,EAAE,cAAc,CAAC,CAAC;AACrD,CAAC,CAAC;AARS,QAAA,aAAa,iBAQtB"}
1
+ {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AAEA,qDAAkD;AAE3C,MAAM,aAAa,GACxB,CAAC,cAA8B,EAAE,EAAE,CACnC,CAAC,WAA8C,EAAkB,EAAE,CACjE,WAAW,CAAC,CAAC,CAAC,IAAA,+BAAc,EAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAHtD,QAAA,aAAa,iBAGyC"}
@@ -7,13 +7,14 @@ const Button_1 = require("../../ui-kit/Button/Button");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const SearchBar_1 = require("../../ui-kit/SearchBar/SearchBar");
9
9
  const AccordionItemsList_1 = require("../Accordion/AccordionItemsList");
10
- const AccordionItem_1 = require("../AccordionItem/AccordionItem");
11
10
  const LinkList_1 = require("../LinkList/LinkList");
12
11
  const MobileAppTile_1 = require("../MobileAppTile/MobileAppTile");
13
12
  const Contacts_1 = require("./Contacts");
14
13
  const HorizontalNavigation_1 = require("./HorizontalNavigation");
15
14
  const SocialMedia_1 = require("./SocialMedia");
16
15
  const TextInformation_1 = require("./TextInformation");
16
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
17
+ const AccordionItem_1 = require("../AccordionItem/AccordionItem");
17
18
  exports.Footer = (0, uni_jsx_1.JSX)(({ className = '', documents, relatedEnterprises, contacts, socialMedia, context, horizontalNavigationTitle, page, }) => {
18
19
  const fallback = page?.fallback;
19
20
  const sitemap = (0, useSitemap_1.useSitemap)(fallback);
@@ -22,6 +23,6 @@ exports.Footer = (0, uni_jsx_1.JSX)(({ className = '', documents, relatedEnterpr
22
23
  });
23
24
  const renderSubMenuItem = (menu, i) => {
24
25
  const { icon, href, text } = menu;
25
- return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { version: "link", href: href, className: "flex text-s mb-4 w-6", children: [icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "pr-1", image: icon, width: "24", height: "24", asSVG: true }) : null, (0, jsx_runtime_1.jsx)("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
26
+ return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { version: "link", href: href, className: "flex text-s mb-4 w-6", children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "pr-1", image: (0, getIconWithVersion_1.getIconWithVersion)({ icon: icon }), width: "24", height: "24", asSVG: true })) : null, (0, jsx_runtime_1.jsx)("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
26
27
  };
27
28
  //# sourceMappingURL=Footer.mobile.js.map