@redneckz/wildless-cms-uni-blocks 0.15.338 → 0.15.340

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 (609) hide show
  1. package/bin/migration-scripts/0.14.213.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +199 -135
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  6. package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  7. package/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  8. package/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  9. package/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  10. package/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  11. package/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  12. package/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  13. package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  14. package/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -2
  15. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  16. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  17. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  18. package/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  19. package/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  20. package/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  21. package/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  22. package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  23. package/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  24. package/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  25. package/bundle/content-page-repository/copy.d.ts +1 -0
  26. package/bundle/data/FooterData.d.ts +0 -1
  27. package/bundle/data/SitemapData.d.ts +1 -10
  28. package/bundle/icons/IconName.d.ts +4 -2
  29. package/bundle/model/Fallback.d.ts +0 -1
  30. package/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  31. package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  32. package/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  33. package/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  34. package/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  35. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  36. package/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  37. package/bundle/utils/getVersion.d.ts +1 -0
  38. package/cosmos-static/icons/MapMarkerClusterYellowIcon.svg +1 -0
  39. package/cosmos-static/icons/sprites.svg +1 -0
  40. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  41. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  42. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  43. package/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  44. package/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  45. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  46. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  47. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  48. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  49. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  50. package/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  51. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  52. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  53. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  54. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  55. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  56. package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  57. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  58. package/dist/components/ContentPage/ContentPage.js +1 -1
  59. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  60. package/dist/components/ContentPage/computeAPIFallback.d.ts +1 -2
  61. package/dist/components/ContentPage/computeAPIFallback.js +2 -16
  62. package/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  63. package/dist/components/Footer/Footer.js +2 -9
  64. package/dist/components/Footer/Footer.js.map +1 -1
  65. package/dist/components/Footer/Footer.mobile.js +1 -9
  66. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  67. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  68. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  69. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  70. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  71. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  72. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  73. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  74. package/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  75. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  76. package/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  77. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  78. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  79. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  80. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  81. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  82. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  83. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  84. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  85. package/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  86. package/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  87. package/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  88. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  89. package/dist/components/ProductGallery/ProductGallery.js +12 -5
  90. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  91. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  92. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  93. package/dist/components/TabsLayout/TabsLayout.js +17 -11
  94. package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  95. package/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  96. package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  97. package/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  98. package/dist/content-page-repository/ContentPageRepository.js +27 -5
  99. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  100. package/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  101. package/dist/content-page-repository/copy.d.ts +1 -0
  102. package/dist/content-page-repository/copy.js +16 -0
  103. package/dist/content-page-repository/copy.js.map +1 -0
  104. package/dist/content-page-repository/transformAttachmentLink.js +8 -7
  105. package/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  106. package/dist/content-page-repository/transformDocument.js +3 -5
  107. package/dist/content-page-repository/transformDocument.js.map +1 -1
  108. package/dist/content-page-repository/transformImg.js +4 -1
  109. package/dist/content-page-repository/transformImg.js.map +1 -1
  110. package/dist/data/FooterData.d.ts +0 -1
  111. package/dist/data/SitemapData.d.ts +1 -10
  112. package/dist/icons/IconName.d.ts +4 -2
  113. package/dist/icons/IconName.js +3 -1
  114. package/dist/icons/IconName.js.map +1 -1
  115. package/dist/model/Fallback.d.ts +0 -1
  116. package/dist/ui-kit/Badge/Badge.js +1 -3
  117. package/dist/ui-kit/Badge/Badge.js.map +1 -1
  118. package/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  119. package/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  120. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  121. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  122. package/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  123. package/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  124. package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  125. package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  126. package/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  127. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  128. package/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  129. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  130. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  131. package/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  132. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  133. package/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  134. package/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  135. package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  136. package/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  137. package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  138. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  139. package/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  140. package/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  141. package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  142. package/dist/utils/getVersion.d.ts +1 -0
  143. package/dist/utils/getVersion.js +5 -0
  144. package/dist/utils/getVersion.js.map +1 -0
  145. package/lib/common.css +1 -1
  146. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  147. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  148. package/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  149. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  150. package/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  151. package/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  152. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  153. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  154. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  155. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  156. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  157. package/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  158. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  159. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  160. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  161. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  162. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  163. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  164. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  165. package/lib/components/ContentPage/ContentPage.js +1 -1
  166. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  167. package/lib/components/ContentPage/computeAPIFallback.d.ts +1 -2
  168. package/lib/components/ContentPage/computeAPIFallback.js +2 -16
  169. package/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  170. package/lib/components/Footer/Footer.js +2 -9
  171. package/lib/components/Footer/Footer.js.map +1 -1
  172. package/lib/components/Footer/Footer.mobile.js +1 -9
  173. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  174. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  175. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  176. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  177. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  178. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  179. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  180. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  181. package/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  182. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  183. package/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  184. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +2 -0
  185. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  186. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  187. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  188. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  189. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +6 -0
  190. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  191. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  192. package/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  193. package/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  194. package/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  195. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  196. package/lib/components/ProductGallery/ProductGallery.js +12 -5
  197. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  198. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  199. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  200. package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +4 -3
  201. package/lib/components/TabsLayout/TabsLayout.fixture.mobile.d.ts +4 -2
  202. package/lib/components/TabsLayout/TabsLayout.js +17 -11
  203. package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  204. package/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  205. package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  206. package/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  207. package/lib/content-page-repository/ContentPageRepository.js +26 -4
  208. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  209. package/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  210. package/lib/content-page-repository/copy.d.ts +1 -0
  211. package/lib/content-page-repository/copy.js +10 -0
  212. package/lib/content-page-repository/copy.js.map +1 -0
  213. package/lib/content-page-repository/transformAttachmentLink.js +8 -7
  214. package/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  215. package/lib/content-page-repository/transformDocument.js +3 -5
  216. package/lib/content-page-repository/transformDocument.js.map +1 -1
  217. package/lib/content-page-repository/transformImg.js +4 -1
  218. package/lib/content-page-repository/transformImg.js.map +1 -1
  219. package/lib/data/FooterData.d.ts +0 -1
  220. package/lib/data/SitemapData.d.ts +1 -10
  221. package/lib/icons/IconName.d.ts +4 -2
  222. package/lib/icons/IconName.js +3 -1
  223. package/lib/icons/IconName.js.map +1 -1
  224. package/lib/model/Fallback.d.ts +0 -1
  225. package/lib/ui-kit/Badge/Badge.js +1 -3
  226. package/lib/ui-kit/Badge/Badge.js.map +1 -1
  227. package/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  228. package/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  229. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  230. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  231. package/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  232. package/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  233. package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  234. package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  235. package/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  236. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  237. package/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  238. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  239. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  240. package/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  241. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  242. package/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  243. package/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  244. package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  245. package/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  246. package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  247. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  248. package/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  249. package/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  250. package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  251. package/lib/utils/getVersion.d.ts +1 -0
  252. package/lib/utils/getVersion.js +2 -0
  253. package/lib/utils/getVersion.js.map +1 -0
  254. package/mobile/bundle/bundle.umd.js +194 -128
  255. package/mobile/bundle/bundle.umd.min.js +1 -1
  256. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  257. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  258. package/mobile/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  259. package/mobile/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  260. package/mobile/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  261. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  262. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  263. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  264. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  265. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -2
  266. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  267. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  268. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  269. package/mobile/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  270. package/mobile/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  271. package/mobile/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  272. package/mobile/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  273. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  274. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  275. package/mobile/bundle/content-page-repository/copy.d.ts +1 -0
  276. package/mobile/bundle/data/FooterData.d.ts +0 -1
  277. package/mobile/bundle/data/SitemapData.d.ts +1 -10
  278. package/mobile/bundle/icons/IconName.d.ts +4 -2
  279. package/mobile/bundle/model/Fallback.d.ts +0 -1
  280. package/mobile/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  281. package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  282. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  283. package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  284. package/mobile/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  285. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  286. package/mobile/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  287. package/mobile/bundle/utils/getVersion.d.ts +1 -0
  288. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  289. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  290. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  291. package/mobile/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  292. package/mobile/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  293. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  294. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  295. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  296. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  297. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  298. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  299. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  300. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  301. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  302. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  303. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  304. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  305. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  306. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  307. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  308. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +1 -2
  309. package/mobile/dist/components/ContentPage/computeAPIFallback.js +2 -16
  310. package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  311. package/mobile/dist/components/Footer/Footer.js +1 -9
  312. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  313. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  314. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  315. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  316. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  317. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  318. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  319. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  320. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  321. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  322. package/mobile/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  323. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  324. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  325. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  326. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  327. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  328. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  329. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  330. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  331. package/mobile/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  332. package/mobile/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  333. package/mobile/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  334. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  335. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  336. package/mobile/dist/components/TabsLayout/TabsLayout.js +17 -11
  337. package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  338. package/mobile/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  339. package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  340. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  341. package/mobile/dist/content-page-repository/ContentPageRepository.js +27 -5
  342. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  343. package/mobile/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  344. package/mobile/dist/content-page-repository/copy.d.ts +1 -0
  345. package/mobile/dist/content-page-repository/copy.js +16 -0
  346. package/mobile/dist/content-page-repository/copy.js.map +1 -0
  347. package/mobile/dist/content-page-repository/transformAttachmentLink.js +8 -7
  348. package/mobile/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  349. package/mobile/dist/content-page-repository/transformDocument.js +3 -5
  350. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  351. package/mobile/dist/content-page-repository/transformImg.js +4 -1
  352. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  353. package/mobile/dist/data/FooterData.d.ts +0 -1
  354. package/mobile/dist/data/SitemapData.d.ts +1 -10
  355. package/mobile/dist/icons/IconName.d.ts +4 -2
  356. package/mobile/dist/icons/IconName.js +3 -1
  357. package/mobile/dist/icons/IconName.js.map +1 -1
  358. package/mobile/dist/model/Fallback.d.ts +0 -1
  359. package/mobile/dist/ui-kit/Badge/Badge.js +1 -3
  360. package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -1
  361. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  362. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  363. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  364. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  365. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  366. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  367. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  368. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  369. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  370. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  371. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  372. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  373. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  374. package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  375. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  376. package/mobile/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  377. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  378. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  379. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  380. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  381. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  382. package/mobile/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  383. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  384. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  385. package/mobile/dist/utils/getVersion.d.ts +1 -0
  386. package/mobile/dist/utils/getVersion.js +5 -0
  387. package/mobile/dist/utils/getVersion.js.map +1 -0
  388. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  389. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  390. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  391. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  392. package/mobile/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  393. package/mobile/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  394. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  395. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  396. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  397. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  398. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  399. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  400. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  401. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  402. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  403. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  404. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  405. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  406. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  407. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  408. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  409. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +1 -2
  410. package/mobile/lib/components/ContentPage/computeAPIFallback.js +2 -16
  411. package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  412. package/mobile/lib/components/Footer/Footer.js +1 -9
  413. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  414. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  415. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  416. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  417. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  418. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  419. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  420. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  421. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  422. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  423. package/mobile/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  424. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  425. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  426. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  427. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  428. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  429. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  430. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  431. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  432. package/mobile/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  433. package/mobile/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  434. package/mobile/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  435. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  436. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  437. package/mobile/lib/components/TabsLayout/TabsLayout.js +17 -11
  438. package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  439. package/mobile/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  440. package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  441. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  442. package/mobile/lib/content-page-repository/ContentPageRepository.js +26 -4
  443. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  444. package/mobile/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  445. package/mobile/lib/content-page-repository/copy.d.ts +1 -0
  446. package/mobile/lib/content-page-repository/copy.js +10 -0
  447. package/mobile/lib/content-page-repository/copy.js.map +1 -0
  448. package/mobile/lib/content-page-repository/transformAttachmentLink.js +8 -7
  449. package/mobile/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  450. package/mobile/lib/content-page-repository/transformDocument.js +3 -5
  451. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  452. package/mobile/lib/content-page-repository/transformImg.js +4 -1
  453. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  454. package/mobile/lib/data/FooterData.d.ts +0 -1
  455. package/mobile/lib/data/SitemapData.d.ts +1 -10
  456. package/mobile/lib/icons/IconName.d.ts +4 -2
  457. package/mobile/lib/icons/IconName.js +3 -1
  458. package/mobile/lib/icons/IconName.js.map +1 -1
  459. package/mobile/lib/model/Fallback.d.ts +0 -1
  460. package/mobile/lib/ui-kit/Badge/Badge.js +1 -3
  461. package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -1
  462. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  463. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  464. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  465. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  466. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  467. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  468. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  469. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  470. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  471. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  472. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  473. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  474. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  475. package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  476. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  477. package/mobile/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  478. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  479. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  480. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  481. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  482. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  483. package/mobile/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  484. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  485. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  486. package/mobile/lib/utils/getVersion.d.ts +1 -0
  487. package/mobile/lib/utils/getVersion.js +2 -0
  488. package/mobile/lib/utils/getVersion.js.map +1 -0
  489. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  490. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  491. package/mobile/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  492. package/mobile/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  493. package/mobile/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  494. package/mobile/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  495. package/mobile/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  496. package/mobile/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  497. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  498. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  499. package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  500. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -0
  501. package/mobile/src/components/ContentPage/computeAPIFallback.ts +3 -35
  502. package/mobile/src/components/Footer/Footer.tsx +0 -16
  503. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  504. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  505. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  506. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  507. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  508. package/mobile/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  509. package/mobile/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  510. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  511. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  512. package/mobile/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  513. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  514. package/mobile/src/components/TabsLayout/TabsLayout.tsx +21 -11
  515. package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  516. package/mobile/src/content-page-repository/ContentPageRepository.ts +36 -4
  517. package/mobile/src/content-page-repository/TransformationOptions.ts +1 -0
  518. package/mobile/src/content-page-repository/copy.ts +11 -0
  519. package/mobile/src/content-page-repository/transformAttachmentLink.ts +7 -8
  520. package/mobile/src/content-page-repository/transformDocument.ts +3 -5
  521. package/mobile/src/content-page-repository/transformImg.ts +6 -1
  522. package/mobile/src/data/FooterData.ts +0 -1
  523. package/mobile/src/data/SitemapData.ts +1 -11
  524. package/mobile/src/icons/IconName.ts +5 -5
  525. package/mobile/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  526. package/mobile/src/model/Fallback.ts +0 -1
  527. package/mobile/src/ui-kit/Badge/Badge.tsx +13 -15
  528. package/mobile/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  529. package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  530. package/mobile/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  531. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  532. package/mobile/src/ui-kit/Heading/HeadingProps.ts +1 -3
  533. package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  534. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  535. package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  536. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  537. package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  538. package/mobile/src/utils/getVersion.ts +1 -0
  539. package/package.json +1 -1
  540. package/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  541. package/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  542. package/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  543. package/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  544. package/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  545. package/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  546. package/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  547. package/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  548. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  549. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  550. package/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  551. package/src/components/ContentPage/ContentPage.tsx +1 -0
  552. package/src/components/ContentPage/computeAPIFallback.ts +3 -35
  553. package/src/components/Footer/Footer.mobile.tsx +0 -16
  554. package/src/components/Footer/Footer.tsx +0 -19
  555. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  556. package/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  557. package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  558. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  559. package/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  560. package/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  561. package/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  562. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  563. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  564. package/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  565. package/src/components/ProductGallery/ProductGallery.tsx +37 -7
  566. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  567. package/src/components/TabsLayout/TabsLayout.fixture.mobile.tsx +70 -24
  568. package/src/components/TabsLayout/TabsLayout.fixture.tsx +33 -29
  569. package/src/components/TabsLayout/TabsLayout.tsx +21 -11
  570. package/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  571. package/src/content-page-repository/ContentPageRepository.ts +36 -4
  572. package/src/content-page-repository/TransformationOptions.ts +1 -0
  573. package/src/content-page-repository/copy.ts +11 -0
  574. package/src/content-page-repository/transformAttachmentLink.ts +7 -8
  575. package/src/content-page-repository/transformDocument.ts +3 -5
  576. package/src/content-page-repository/transformImg.ts +6 -1
  577. package/src/data/FooterData.ts +0 -1
  578. package/src/data/SitemapData.ts +1 -11
  579. package/src/icons/IconName.ts +5 -5
  580. package/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  581. package/src/model/Fallback.ts +0 -1
  582. package/src/ui-kit/Badge/Badge.tsx +13 -15
  583. package/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  584. package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  585. package/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  586. package/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  587. package/src/ui-kit/Heading/HeadingProps.ts +1 -3
  588. package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  589. package/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  590. package/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  591. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  592. package/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  593. package/src/utils/getVersion.ts +1 -0
  594. package/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
  595. package/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
  596. package/dist/components/ContentPage/loadModuleFallback.js +0 -36
  597. package/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
  598. package/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
  599. package/lib/components/ContentPage/loadModuleFallback.js +0 -10
  600. package/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
  601. package/mobile/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
  602. package/mobile/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
  603. package/mobile/dist/components/ContentPage/loadModuleFallback.js +0 -36
  604. package/mobile/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
  605. package/mobile/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
  606. package/mobile/lib/components/ContentPage/loadModuleFallback.js +0 -10
  607. package/mobile/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
  608. package/mobile/src/components/ContentPage/loadModuleFallback.ts +0 -11
  609. package/src/components/ContentPage/loadModuleFallback.ts +0 -11
@@ -1,7 +1,7 @@
1
1
  import { type AspectsDef, type AspectsProps } from '../model/AspectsProps';
2
2
  import { type LinkProps } from '../model/LinkProps';
3
3
  import { type LogoType } from '../model/LogoType';
4
- import { type IconProps, type Picture } from '../model/Picture';
4
+ import { type IconProps } from '../model/Picture';
5
5
 
6
6
  export interface SitemapLinkProps extends LinkProps {
7
7
  displayArea?: string;
@@ -23,15 +23,6 @@ export interface TopMenuItemProps extends LinkProps, IconProps {
23
23
  dataFooter?: AspectsDef[];
24
24
  }
25
25
 
26
- /**
27
- * @title Ссылка дополнительного меню
28
- * @required ["text", "href"]
29
- */
30
- export interface DispositionItem extends LinkProps {
31
- /** @hidden */
32
- icon?: Picture;
33
- }
34
-
35
26
  /**
36
27
  * @title Представительства за рубежом
37
28
  * @required ["text", "href"]
@@ -55,7 +46,6 @@ export type BranchesSitemap = {
55
46
  export interface SitemapData {
56
47
  logo?: LogoType;
57
48
  topItems?: TopMenuItemProps[];
58
- dispositions?: DispositionItem[];
59
49
  foreignOffices?: ForeignOfficeProps[];
60
50
  branches?: BranchesSitemap;
61
51
  officesAtms?: LinkProps;
@@ -3,15 +3,15 @@
3
3
  /* eslint-disable max-len, max-lines */
4
4
 
5
5
  export const IconsWithoutInversion = new Set([
6
- 'ActualBalanceIcon', 'BelarusianFlag', 'ChartIcon', 'ChevronLeftIcon', 'ClientIcon', 'DollarIcon', 'DoneIcon', 'EuroIcon', 'FullScreenIcon', 'HeadphonesIcon', 'HeartIcon', 'HouseIcon', 'MagnifierIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MapOpenedIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'ResponseFailIcon', 'ResponseOKIcon', 'SignDocsIcon', 'SoundIcon'
6
+ 'ActualBalanceIcon', 'BelarusianFlag', 'ChartIcon', 'ChevronLeftIcon', 'ClientIcon', 'DollarIcon', 'DoneIcon', 'EuroIcon', 'FullScreenIcon', 'HeadphonesIcon', 'HeartIcon', 'HouseIcon', 'MagnifierIcon', 'MapMarkerClusterIcon', 'MapMarkerClusterYellowIcon', 'MapMarkerSingleIcon', 'MapOpenedIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'ResponseFailIcon', 'ResponseOKIcon', 'SignDocsIcon', 'SoundIcon'
7
7
  ]);
8
8
 
9
9
  export enum IconMap {
10
- AchievementIcon = 'AchievementIcon', ActualBalanceIcon = 'ActualBalanceIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowDownSolidIcon = 'ArrowDownSolidIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', ArrowUpSolidIcon = 'ArrowUpSolidIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BelarusianFlag = 'BelarusianFlag', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardSendIcon = 'CardSendIcon', CardTickIcon = 'CardTickIcon', ChartIcon = 'ChartIcon', ChartRoundIcon = 'ChartRoundIcon', ChartSquareIcon = 'ChartSquareIcon', ChevronLeftIcon = 'ChevronLeftIcon', ChineseYuanRenminbiIcon = 'ChineseYuanRenminbiIcon', ClientIcon = 'ClientIcon', CloseIcon = 'CloseIcon', CoinIcon = 'CoinIcon', ConvertCardIcon = 'ConvertCardIcon', CopyIcon = 'CopyIcon', CourtHouseIcon = 'CourtHouseIcon', CupIcon = 'CupIcon', DevIcon = 'DevIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', DzenIcon = 'DzenIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FaxIcon = 'FaxIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HeartTickIcon = 'HeartTickIcon', HouseIcon = 'HouseIcon', HuaweiIcon = 'HuaweiIcon', LockIcon = 'LockIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MagnifierIcon = 'MagnifierIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MapOpenedIcon = 'MapOpenedIcon', MinusIcon = 'MinusIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', NotificationBingIcon = 'NotificationBingIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneCallingIcon = 'PhoneCallingIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusCircleIcon = 'PlusCircleIcon', PlusIcon = 'PlusIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', ResponseFailIcon = 'ResponseFailIcon', ResponseOKIcon = 'ResponseOKIcon', RoundRubleIcon = 'RoundRubleIcon', RustoreIcon = 'RustoreIcon', RutubeIcon = 'RutubeIcon', SafeIcon = 'SafeIcon', SecurityСardIcon = 'SecurityСardIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VKIcon = 'VKIcon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', YoutubeIcon = 'YoutubeIcon'
10
+ AchievementIcon = 'AchievementIcon', ActualBalanceIcon = 'ActualBalanceIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowDownSolidIcon = 'ArrowDownSolidIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', ArrowUpSolidIcon = 'ArrowUpSolidIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BelarusianFlag = 'BelarusianFlag', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardSendIcon = 'CardSendIcon', CardTickIcon = 'CardTickIcon', ChartIcon = 'ChartIcon', ChartRoundIcon = 'ChartRoundIcon', ChartSquareIcon = 'ChartSquareIcon', ChevronLeftIcon = 'ChevronLeftIcon', ChineseYuanRenminbiIcon = 'ChineseYuanRenminbiIcon', ClientIcon = 'ClientIcon', CloseIcon = 'CloseIcon', CoinIcon = 'CoinIcon', ConvertCardIcon = 'ConvertCardIcon', CopyIcon = 'CopyIcon', CourtHouseIcon = 'CourtHouseIcon', CupIcon = 'CupIcon', DevIcon = 'DevIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', DzenIcon = 'DzenIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FaxIcon = 'FaxIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HeartTickIcon = 'HeartTickIcon', HouseIcon = 'HouseIcon', HuaweiIcon = 'HuaweiIcon', LockIcon = 'LockIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MagnifierIcon = 'MagnifierIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerClusterYellowIcon = 'MapMarkerClusterYellowIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MapOpenedIcon = 'MapOpenedIcon', MinusIcon = 'MinusIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', NotificationBingIcon = 'NotificationBingIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneCallingIcon = 'PhoneCallingIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusCircleIcon = 'PlusCircleIcon', PlusIcon = 'PlusIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', ResponseFailIcon = 'ResponseFailIcon', ResponseOKIcon = 'ResponseOKIcon', RoundRubleIcon = 'RoundRubleIcon', RustoreIcon = 'RustoreIcon', RutubeIcon = 'RutubeIcon', SafeIcon = 'SafeIcon', SecurityСardIcon = 'SecurityСardIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VKIcon = 'VKIcon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', YoutubeIcon = 'YoutubeIcon'
11
11
  }
12
12
 
13
13
  export enum IconTitleMap {
14
- AchievementIcon = 'Достижение', ActualBalanceIcon = 'Деньги', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowDownSolidIcon = 'Стрелка сплошная \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', ArrowUpSolidIcon = 'Стрелка сплошная \'Вверх\'', AtmIcon = 'Банкомат', BankIcon = 'Банк', BelarusianFlag = 'Белорусский флаг', BriefcaseIcon = 'Портфель', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardSendIcon = 'Карта', CardTickIcon = 'Кред. карта с галочкой', ChartIcon = 'Инвестиции', ChartRoundIcon = 'Диаграмма (в круге)', ChartSquareIcon = 'Деньги внутри кошелька', ChevronLeftIcon = 'Стрелка \'Влево\'', ChineseYuanRenminbiIcon = 'Китайский юань', ClientIcon = 'Клиент', CloseIcon = 'Крестик', CoinIcon = 'Монеты', ConvertCardIcon = 'Конвертирование', CopyIcon = 'Копирование', CourtHouseIcon = 'Здание суда', CupIcon = 'Кубок', DevIcon = 'Разработка', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', DzenIcon = 'Лого «Дзен»', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FaxIcon = 'Факс', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HeartTickIcon = 'Сердцебеение', HouseIcon = 'Ипотека', HuaweiIcon = 'Лого «Huawei»', LockIcon = 'Замок', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MagnifierIcon = 'MagnifierIcon', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MapOpenedIcon = 'Иконка Развёрнутая карта', MinusIcon = 'Минус', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', NotificationBingIcon = 'Колокольчик нотификаций', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneCallingIcon = 'Звонящий телефон', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusCircleIcon = 'Плюс в круге', PlusIcon = 'Плюс', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', ResponseFailIcon = 'Ошибка', ResponseOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', RustoreIcon = 'Лого «Rustore»', RutubeIcon = 'Лого «Rutube»', SafeIcon = 'Сейф', SecurityСardIcon = 'Безопасность', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Кольцо', TelegramIcon = 'Лого «Telegram»', UserGeoLocationIcon = 'Самолётик', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VKIcon = 'Лого «VK»', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', YoutubeIcon = 'Лого «Youtube»'
14
+ AchievementIcon = 'Достижение', ActualBalanceIcon = 'Деньги', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowDownSolidIcon = 'Стрелка сплошная \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', ArrowUpSolidIcon = 'Стрелка сплошная \'Вверх\'', AtmIcon = 'Банкомат', BankIcon = 'Банк', BelarusianFlag = 'Белорусский флаг', BriefcaseIcon = 'Портфель', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardSendIcon = 'Карта', CardTickIcon = 'Кред. карта с галочкой', ChartIcon = 'Инвестиции', ChartRoundIcon = 'Диаграмма (в круге)', ChartSquareIcon = 'Деньги внутри кошелька', ChevronLeftIcon = 'Стрелка \'Влево\'', ChineseYuanRenminbiIcon = 'Китайский юань', ClientIcon = 'Клиент', CloseIcon = 'Крестик', CoinIcon = 'Монеты', ConvertCardIcon = 'Конвертирование', CopyIcon = 'Копирование', CourtHouseIcon = 'Здание суда', CupIcon = 'Кубок', DevIcon = 'Разработка', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', DzenIcon = 'Лого «Дзен»', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FaxIcon = 'Факс', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HeartTickIcon = 'Сердцебеение', HouseIcon = 'Ипотека', HuaweiIcon = 'Лого «Huawei»', LockIcon = 'Замок', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MagnifierIcon = 'MagnifierIcon', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerClusterYellowIcon = 'Маркер карты (желтый)', MapMarkerSingleIcon = 'Маркер карты РСХБ', MapOpenedIcon = 'Иконка Развёрнутая карта', MinusIcon = 'Минус', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', NotificationBingIcon = 'Колокольчик нотификаций', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneCallingIcon = 'Звонящий телефон', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusCircleIcon = 'Плюс в круге', PlusIcon = 'Плюс', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', ResponseFailIcon = 'Ошибка', ResponseOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', RustoreIcon = 'Лого «Rustore»', RutubeIcon = 'Лого «Rutube»', SafeIcon = 'Сейф', SecurityСardIcon = 'Безопасность', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Кольцо', TelegramIcon = 'Лого «Telegram»', UserGeoLocationIcon = 'Самолётик', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VKIcon = 'Лого «VK»', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', YoutubeIcon = 'Лого «Youtube»'
15
15
  }
16
16
 
17
17
  /**
@@ -19,7 +19,7 @@ export enum IconTitleMap {
19
19
  * @title Иконка
20
20
  * @enumNames [
21
21
  * "",
22
- * 'Достижение', 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Карта', 'Кред. карта с галочкой', 'Инвестиции', 'Диаграмма (в круге)', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Китайский юань', 'Клиент', 'Крестик', 'Монеты', 'Конвертирование', 'Копирование', 'Здание суда', 'Кубок', 'Разработка', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Лого «Дзен»', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Сердцебеение', 'Ипотека', 'Лого «Huawei»', 'Замок', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Колокольчик нотификаций', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rustore»', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Кольцо', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
22
+ * 'Достижение', 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Карта', 'Кред. карта с галочкой', 'Инвестиции', 'Диаграмма (в круге)', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Китайский юань', 'Клиент', 'Крестик', 'Монеты', 'Конвертирование', 'Копирование', 'Здание суда', 'Кубок', 'Разработка', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Лого «Дзен»', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Сердцебеение', 'Ипотека', 'Лого «Huawei»', 'Замок', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты (желтый)', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Колокольчик нотификаций', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rustore»', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Кольцо', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
23
23
  * ]
24
24
  */
25
- export type IconName = '' | 'AchievementIcon' | 'ActualBalanceIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BankIcon' | 'BelarusianFlag' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardSendIcon' | 'CardTickIcon' | 'ChartIcon' | 'ChartRoundIcon' | 'ChartSquareIcon' | 'ChevronLeftIcon' | 'ChineseYuanRenminbiIcon' | 'ClientIcon' | 'CloseIcon' | 'CoinIcon' | 'ConvertCardIcon' | 'CopyIcon' | 'CourtHouseIcon' | 'CupIcon' | 'DevIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'DzenIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FaxIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HeartTickIcon' | 'HouseIcon' | 'HuaweiIcon' | 'LockIcon' | 'LogoIcon' | 'LoupeIcon' | 'MagnifierIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MapOpenedIcon' | 'MinusIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'NotificationBingIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneCallingIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusCircleIcon' | 'PlusIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'ResponseFailIcon' | 'ResponseOKIcon' | 'RoundRubleIcon' | 'RustoreIcon' | 'RutubeIcon' | 'SafeIcon' | 'SecurityСardIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VKIcon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'YoutubeIcon';
25
+ export type IconName = '' | 'AchievementIcon' | 'ActualBalanceIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BankIcon' | 'BelarusianFlag' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardSendIcon' | 'CardTickIcon' | 'ChartIcon' | 'ChartRoundIcon' | 'ChartSquareIcon' | 'ChevronLeftIcon' | 'ChineseYuanRenminbiIcon' | 'ClientIcon' | 'CloseIcon' | 'CoinIcon' | 'ConvertCardIcon' | 'CopyIcon' | 'CourtHouseIcon' | 'CupIcon' | 'DevIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'DzenIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FaxIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HeartTickIcon' | 'HouseIcon' | 'HuaweiIcon' | 'LockIcon' | 'LogoIcon' | 'LoupeIcon' | 'MagnifierIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerClusterYellowIcon' | 'MapMarkerSingleIcon' | 'MapOpenedIcon' | 'MinusIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'NotificationBingIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneCallingIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusCircleIcon' | 'PlusIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'ResponseFailIcon' | 'ResponseOKIcon' | 'RoundRubleIcon' | 'RustoreIcon' | 'RutubeIcon' | 'SafeIcon' | 'SecurityСardIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VKIcon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'YoutubeIcon';
@@ -0,0 +1 @@
1
+ <svg title="Маркер карты (желтый)" viewBox="0 0 88 94" xmlns="http://www.w3.org/2000/svg" fill="none"><g opacity=".1" filter="url(#a)"><ellipse cx="44.5" cy="65.5" rx="11.5" ry="1.5" fill="#1C1C1C"/></g><g filter="url(#b)"><path fill-rule="evenodd" clip-rule="evenodd" d="M44 62.36c-1.506 2.197-1.507 2.196-1.507 2.196l-.006-.004-.014-.009-.045-.03-.156-.104a34.7 34.7 0 0 1-.561-.386 57.212 57.212 0 0 1-7.824-6.667C29.707 53.066 25 46.701 25 39.48c0-4.901 2.002-9.602 5.565-13.067C34.128 22.947 38.961 21 44 21c5.04 0 9.872 1.947 13.435 5.413C60.998 29.878 63 34.579 63 39.48c0 7.221-4.707 13.585-8.887 17.876a57.212 57.212 0 0 1-7.824 6.667 34.7 34.7 0 0 1-.717.49l-.045.03-.014.009-.004.003s-.003.002-1.509-2.195Zm0 0 1.506 2.197a2.78 2.78 0 0 1-3.013 0L44 62.36Z" fill="#CCA012"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M31 40c0-7.18 5.82-13 13-13s13 5.82 13 13-5.82 13-13 13-13-5.82-13-13Z" fill="#fff"/><defs><filter id="a" x="27" y="58" width="35" height="15" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="3" result="effect1_foregroundBlur_9189_125614"/></filter><filter id="b" x="0" y="0" width="88" height="94" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="12.5"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_9189_125614"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_9189_125614" result="shape"/></filter></defs></svg>
@@ -1,5 +1,4 @@
1
1
  type Key = string;
2
2
  type Data = any;
3
3
 
4
- export type FallbackMap = Record<Key, () => Promise<Data>>;
5
4
  export type Fallback = Record<Key, Data>;
@@ -18,18 +18,16 @@ const badgeTextColorStyleMap: Record<string, TextColor> = {
18
18
  secondary: 'text-secondary-text',
19
19
  };
20
20
 
21
- export const Badge = JSX<BadgeProps>(({ count, version = 'secondary' }) => {
22
- return (
23
- <div
24
- className={style(
25
- 'w-6 h-6 rounded-full flex items-center justify-center',
26
- badgeBgStyleMap[version],
27
- )}
28
- role="status"
29
- >
30
- <Text size="text-xs" color={badgeTextColorStyleMap[version]}>
31
- {count}
32
- </Text>
33
- </div>
34
- );
35
- });
21
+ export const Badge = JSX<BadgeProps>(({ count, version = 'secondary' }) => (
22
+ <div
23
+ className={style(
24
+ 'w-6 h-6 rounded-full flex items-center justify-center',
25
+ badgeBgStyleMap[version],
26
+ )}
27
+ role="status"
28
+ >
29
+ <Text size="text-xs" color={badgeTextColorStyleMap[version]}>
30
+ {count}
31
+ </Text>
32
+ </div>
33
+ ));
@@ -1,6 +1,6 @@
1
1
  import { useCallback, useMemo } from '@redneckz/uni-jsx/lib/hooks';
2
2
  import { type BlockDef } from '../../model/ContentPageDef';
3
- import { Badge } from '../Badge/Badge';
3
+ import { getVersion } from '../../utils/getVersion';
4
4
  import { type TabItemBase } from '../TabsControl/TabItem';
5
5
  import { type TabsControlProps } from '../TabsControl/TabsControlProps';
6
6
  import { getBadgeCount } from './getBadgeCount';
@@ -40,12 +40,8 @@ export const useHotFilters = ({
40
40
  () =>
41
41
  hotFilters.map((_) => ({
42
42
  text: _.text,
43
- appendRight: (
44
- <Badge
45
- version={_ === hotFilters[activeItemIndex] ? 'primary' : 'secondary'}
46
- count={getBadgeCount(blocks, _.filter)}
47
- />
48
- ),
43
+ count: getBadgeCount(blocks, _.filter),
44
+ version: getVersion(_ === hotFilters[activeItemIndex]),
49
45
  })),
50
46
  [hotFilters, blocks, activeItemIndex],
51
47
  );
@@ -7,7 +7,7 @@ export const renderBenefitIcon = (
7
7
  icon: Picture | undefined,
8
8
  benefitsVersion: IconVersion = 'normal',
9
9
  ) =>
10
- icon ? (
10
+ icon?.icon || icon?.src ? (
11
11
  <div
12
12
  className={style(
13
13
  'sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon',
@@ -1,5 +1,5 @@
1
- import { InputRange } from '../../ui-kit/InputRange/InputRange';
2
- import { type InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
1
+ import { InputRange } from '../InputRange/InputRange';
2
+ import { type InputRangeProps } from '../InputRange/InputRangeProps';
3
3
 
4
4
  const STEP_MONTHS = 1;
5
5
 
@@ -11,57 +11,67 @@ import { Paragraph } from '../Paragraph/Paragraph';
11
11
  interface CookiePopupProps {
12
12
  termLink?: LinkCommonProps;
13
13
  personalDataPolicyLink?: LinkCommonProps;
14
+ recommendationLink?: LinkCommonProps;
14
15
  }
15
16
 
16
17
  const COOKIE_DIALOG_ID = 'cookie';
17
18
  const DIALOG_INITIAL_DELAY = 3 * 1000;
18
19
 
19
- export const CookiePopup = JSX<CookiePopupProps>(({ termLink, personalDataPolicyLink }) => {
20
- const [opened, { setTrue: open, setFalse: close }] = useBool();
20
+ export const CookiePopup = JSX<CookiePopupProps>(
21
+ ({ termLink, personalDataPolicyLink, recommendationLink }) => {
22
+ const [opened, { setTrue: open, setFalse: close }] = useBool();
21
23
 
22
- useDebouncedEffect(
23
- () => {
24
- if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
25
- open();
26
- }
27
- },
28
- [],
29
- DIALOG_INITIAL_DELAY,
30
- );
24
+ useDebouncedEffect(
25
+ () => {
26
+ if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
27
+ open();
28
+ }
29
+ },
30
+ [],
31
+ DIALOG_INITIAL_DELAY,
32
+ );
31
33
 
32
- const handleClose = useCallback(() => {
33
- globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
34
- close();
35
- }, []);
34
+ const handleClose = useCallback(() => {
35
+ globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
36
+ close();
37
+ }, []);
36
38
 
37
- return opened ? (
38
- <div className="container fixed left-0 right-0 bottom-0 z-50" role="dialog">
39
- <div className="bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black">
40
- <div className="sm:flex-1">
41
- <Paragraph size="text-s" font="font-light" color="text-primary-text">
42
- АО «Россельхозбанк» использует
43
- <LinkWrapper isRemote className={linkWrapperStyle(termLink?.href)} {...termLink}>
44
- cookie
45
- </LinkWrapper>
46
- (файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства
47
- пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.
48
- <LinkWrapper
49
- isRemote
50
- className={linkWrapperStyle(personalDataPolicyLink?.href)}
51
- {...personalDataPolicyLink}
52
- >
53
- Обработка Ваших персональных данных
54
- </LinkWrapper>
55
- производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О
56
- персональных данных».
57
- </Paragraph>
58
- </div>
59
- <div className="ml-s sm:ml-0 w-24 flex justify-end">
60
- <CloseButton className="bg-main-gray rounded-md" onClose={handleClose} />
39
+ return opened ? (
40
+ <div className="container fixed left-0 right-0 bottom-0 z-50" role="dialog">
41
+ <div className="bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black">
42
+ <div className="sm:flex-1">
43
+ <Paragraph size="text-s" font="font-light" color="text-primary-text">
44
+ АО «Россельхозбанк» использует
45
+ <LinkWrapper isRemote className={linkWrapperStyle(termLink?.href)} {...termLink}>
46
+ cookie
47
+ </LinkWrapper>
48
+ (файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства
49
+ пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.
50
+ <LinkWrapper
51
+ isRemote
52
+ className={linkWrapperStyle(personalDataPolicyLink?.href)}
53
+ {...personalDataPolicyLink}
54
+ >
55
+ Обработка Ваших персональных данных
56
+ </LinkWrapper>
57
+ производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3
58
+ «О персональных данных». На сайте используются рекомендательные технологии согласно
59
+ <LinkWrapper
60
+ isRemote
61
+ className={linkWrapperStyle(recommendationLink?.href)}
62
+ {...recommendationLink}
63
+ >
64
+ Правилам применения рекомендательных технологий.
65
+ </LinkWrapper>
66
+ </Paragraph>
67
+ </div>
68
+ <div className="ml-s sm:ml-0 w-24 flex justify-end">
69
+ <CloseButton className="bg-main-gray rounded-md" onClose={handleClose} />
70
+ </div>
61
71
  </div>
62
72
  </div>
63
- </div>
64
- ) : null;
65
- });
73
+ ) : null;
74
+ },
75
+ );
66
76
 
67
77
  const linkWrapperStyle = (href?: string) => style('inline mx-2xs', href ? 'text-green-dark' : '');
@@ -3,9 +3,7 @@ import { type TitleProps } from '../../model/HeadlineType';
3
3
  /**
4
4
  *
5
5
  * @title Размер заголовка
6
- * @enumNames [
7
- * "h0", "h1", "h2", "h3", "h4", "h5", "h6"
8
- * ]
6
+ * @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький", "Очень маленький", "Самый маленький"]
9
7
  */
10
8
  export type HeadingType = 'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
11
9
 
@@ -4,18 +4,23 @@ import { ScrollLeftButton, ScrollRightButton } from '../LinkButton/ArrowButton';
4
4
  import { SwipeListContainer } from '../SwipeListControl/SwipeListContainer';
5
5
  import { useSwipeListScroll } from '../SwipeListControl/useSwipeListScroll';
6
6
  import { renderTab } from './renderTab';
7
- import { type TabsControlProps } from './TabsControlProps';
7
+ import { type TabsControlProps, type TabsType } from './TabsControlProps';
8
8
 
9
9
  const scrollButtonStyle = 'hidden sm:flex absolute z-40';
10
10
 
11
- const scrollStyleType = {
11
+ const scrollStyle: Record<TabsType, { item: string; gap: number; buttonTop: string }> = {
12
+ default: {
13
+ item: 'flex-1',
14
+ gap: 0,
15
+ buttonTop: 'top-0',
16
+ },
12
17
  animated: {
13
- itemClassName: 'flex',
18
+ item: 'flex',
14
19
  gap: 8,
15
20
  buttonTop: 'top-5',
16
21
  },
17
22
  underlined: {
18
- itemClassName: '',
23
+ item: '',
19
24
  gap: 0,
20
25
  buttonTop: 'top-0',
21
26
  },
@@ -33,28 +38,20 @@ export const ScrollableTabsControl = JSX<TabsControlProps>(
33
38
  containerRef={containerRef}
34
39
  snapAlign="snap-start"
35
40
  onVisibleIndicesChange={scroll.handleVisibleIndicesChange}
36
- itemClassName={scrollStyleType[tabsType].itemClassName}
37
- gap={scrollStyleType[tabsType].gap}
41
+ itemClassName={scrollStyle[tabsType].item}
42
+ gap={scrollStyle[tabsType].gap}
38
43
  >
39
44
  {items.map(renderTab(value, onChange, tabsType))}
40
45
  </SwipeListContainer>
41
46
  {scroll.canScrollLeft ? (
42
47
  <ScrollLeftButton
43
- className={style(
44
- 'left-6',
45
- scrollButtonStyle,
46
- scrollStyleType[tabsType].buttonTop as string,
47
- )}
48
+ className={style('left-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop)}
48
49
  onClick={scroll.scrollLeft}
49
50
  />
50
51
  ) : null}
51
52
  {scroll.canScrollRight ? (
52
53
  <ScrollRightButton
53
- className={style(
54
- 'right-6',
55
- scrollButtonStyle,
56
- scrollStyleType[tabsType].buttonTop as string,
57
- )}
54
+ className={style('right-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop)}
58
55
  onClick={scroll.scrollRight}
59
56
  />
60
57
  ) : null}
@@ -4,12 +4,11 @@ import { useLink } from '../../hooks/useLink';
4
4
  import { type DescriptionProps, type TitleProps } from '../../model/HeadlineType';
5
5
  import { type LinkProps } from '../../model/LinkProps';
6
6
  import { type IconProps } from '../../model/Picture';
7
- import { type VNode } from '../../model/VNode';
8
7
  import { TabItemInner } from './TabItemInner';
9
8
  import { type TabsControlProps, type TabsType } from './TabsControlProps';
10
9
  export interface TabItemBase extends LinkProps, TitleProps, DescriptionProps, IconProps {
11
10
  name?: string;
12
- appendRight?: VNode;
11
+ count?: number;
13
12
  }
14
13
 
15
14
  export interface TabItemProps {
@@ -1,5 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { getVersion } from '../../utils/getVersion';
2
3
  import { style } from '../../utils/style';
4
+ import { Badge } from '../Badge/Badge';
3
5
  import { renderTabItemInner } from './renderTabItemInner';
4
6
  import { type TabItemProps } from './TabItem';
5
7
  import { type TabsType } from './TabsControlProps';
@@ -32,13 +34,14 @@ const activeTabBgStyleMap: Record<TabsType, string> = {
32
34
 
33
35
  interface TabItemInnerProps extends TabItemProps {
34
36
  tag?: string;
37
+ count?: number;
35
38
  }
36
39
 
37
40
  export const TabItemInner = JSX<TabItemInnerProps>(
38
41
  ({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
39
42
  const Tag: any = tag;
40
43
 
41
- const { text, description, icon, appendRight, ...link } = item;
44
+ const { text, description, icon, count, ...link } = item;
42
45
 
43
46
  return (
44
47
  <Tag
@@ -68,7 +71,11 @@ export const TabItemInner = JSX<TabItemInnerProps>(
68
71
  isActive,
69
72
  type,
70
73
  })}
71
- {appendRight ? <div className="ml-xs">{appendRight}</div> : null}
74
+ {Number.isInteger(count) ? (
75
+ <div className="ml-xs">
76
+ <Badge count={count} version={getVersion(isActive)} />
77
+ </div>
78
+ ) : null}
72
79
  </div>
73
80
  </Tag>
74
81
  );
@@ -11,7 +11,7 @@ import { useYandexMaps } from './useYandexMaps';
11
11
  import { ZoomButton } from './ZoomButton';
12
12
 
13
13
  interface YandexMapProps {
14
- points?: BalloonPoints[];
14
+ points: BalloonPoints[];
15
15
  className?: string;
16
16
  zoom?: number;
17
17
  }
@@ -42,10 +42,10 @@ export const YandexMap = JSX<YandexMapProps>(({ points, className = '', zoom = 5
42
42
  suppressMapOpenBlock: true,
43
43
  });
44
44
 
45
- renderClusterer(yandexMaps, map.current, points);
45
+ renderClusterer({ yandexMaps, map: map.current, points });
46
46
  });
47
47
  } else if (yandexMaps) {
48
- renderClusterer(yandexMaps, map.current, points);
48
+ renderClusterer({ yandexMaps, map: map.current, points });
49
49
 
50
50
  if (!points?.length) {
51
51
  map.current.setCenter(DEFAULT_CENTER_COORDS);
@@ -4,17 +4,71 @@
4
4
  import type ymaps from 'yandex-maps';
5
5
  import { type BalloonPoints } from '../../components/OfficesAtmsMap/YandexMapProps'; //! Вынести этот тип в файл YandexMapProps.ts расположенный в корне этого компонента
6
6
 
7
- export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points: BalloonPoints[]) {
7
+ const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
8
+ const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
9
+
10
+ export function renderClusterer({
11
+ yandexMaps,
12
+ map,
13
+ points,
14
+ }: {
15
+ yandexMaps: typeof ymaps;
16
+ map: ymaps.Map;
17
+ points: BalloonPoints[];
18
+ }) {
8
19
  map.geoObjects.removeAll();
9
20
 
10
21
  const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass(
11
22
  '<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>',
12
23
  );
13
24
 
14
- const clusterer = new yandexMaps.Clusterer({
25
+ const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
26
+
27
+ if (points.length && points.every((_) => 'type' in _)) {
28
+ const remoteWorkplaceClusterer = defineClusterer(
29
+ 'workplaces',
30
+ yandexMaps,
31
+ clusterIconContentLayout,
32
+ );
33
+
34
+ const remoteWorkplaceGeoObjects = defineGeoObjects(
35
+ points.filter((_) => _.type === 'workplaces'),
36
+ 'workplaces',
37
+ yandexMaps,
38
+ );
39
+
40
+ const officesGeoObjects = defineGeoObjects(
41
+ points.filter((_) => _.type === 'offices'),
42
+ 'offices',
43
+ yandexMaps,
44
+ );
45
+
46
+ officeClusterer.add(officesGeoObjects);
47
+ remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
48
+
49
+ map.geoObjects.add(remoteWorkplaceClusterer as any);
50
+ map.geoObjects.add(officeClusterer as any);
51
+ } else {
52
+ const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
53
+ officeClusterer.add(geoObjects);
54
+ map.geoObjects.add(officeClusterer as any);
55
+ }
56
+ map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
57
+ if (map.getZoom() > 10) {
58
+ map.setZoom(10);
59
+ }
60
+ });
61
+ }
62
+
63
+ const defineClusterer = (
64
+ type: string,
65
+ yandexMaps: typeof ymaps,
66
+ clusterIconContentLayout: ymaps.IClassConstructor<ymaps.layout.templateBased.Base>,
67
+ ) => {
68
+ return new yandexMaps.Clusterer({
15
69
  clusterIcons: [
16
70
  {
17
- href: '/icons/MapMarkerClusterIcon.svg',
71
+ href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
18
72
  size: [78, 84],
19
73
  offset: [-35, -50],
20
74
  },
@@ -23,8 +77,10 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
23
77
  clusterHideIconOnBalloonOpen: false,
24
78
  geoObjectHideIconOnBalloonOpen: false,
25
79
  } as ymaps.IClustererOptions);
80
+ };
26
81
 
27
- const geoObjects = points.map(
82
+ const defineGeoObjects = (pointArr: BalloonPoints[], type: string, yandexMaps: typeof ymaps) => {
83
+ return pointArr.map(
28
84
  ({ coords, content }) =>
29
85
  new yandexMaps.Placemark(
30
86
  coords,
@@ -36,20 +92,10 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
36
92
  },
37
93
  {
38
94
  iconLayout: 'default#image',
39
- iconImageHref: '/icons/MapMarkerSingleIcon.svg',
95
+ iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
40
96
  iconImageSize: [78, 84],
41
97
  iconImageOffset: [-35, -50],
42
98
  },
43
99
  ),
44
100
  );
45
-
46
- clusterer.add(geoObjects);
47
-
48
- map.geoObjects.add(clusterer as any);
49
-
50
- map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
51
- if (map.getZoom() > 10) {
52
- map.setZoom(10);
53
- }
54
- });
55
- }
101
+ };
@@ -0,0 +1 @@
1
+ export const getVersion = (isPrimary: boolean) => (isPrimary ? 'primary' : 'secondary');
@@ -1,2 +0,0 @@
1
- import { type FallbackMap } from '../../model/Fallback';
2
- export declare const loadModuleFallback: (blockName: string) => Promise<FallbackMap | undefined>;
@@ -1,2 +0,0 @@
1
- import { type FallbackMap } from '../../model/Fallback';
2
- export declare const loadModuleFallback: (blockName: string) => Promise<FallbackMap | undefined>;
@@ -1,36 +0,0 @@
1
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
- if (k2 === undefined) k2 = k;
3
- var desc = Object.getOwnPropertyDescriptor(m, k);
4
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5
- desc = { enumerable: true, get: function() { return m[k]; } };
6
- }
7
- Object.defineProperty(o, k2, desc);
8
- }) : (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- o[k2] = m[k];
11
- }));
12
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
13
- Object.defineProperty(o, "default", { enumerable: true, value: v });
14
- }) : function(o, v) {
15
- o["default"] = v;
16
- });
17
- var __importStar = (this && this.__importStar) || function (mod) {
18
- if (mod && mod.__esModule) return mod;
19
- var result = {};
20
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
21
- __setModuleDefault(result, mod);
22
- return result;
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.loadModuleFallback = void 0;
26
- const loadModuleFallback = async (blockName) => {
27
- try {
28
- const blockFallback = await Promise.resolve().then(() => __importStar(require(`../${blockName}/${blockName}.fallback`)));
29
- return blockFallback?.fallback ? await blockFallback.fallback() : undefined;
30
- }
31
- catch (error) {
32
- return undefined;
33
- }
34
- };
35
- exports.loadModuleFallback = loadModuleFallback;
36
- //# sourceMappingURL=loadModuleFallback.js.map