@redneckz/wildless-cms-uni-blocks 0.15.339 → 0.15.341

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 (569) 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/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  15. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  16. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  17. package/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  18. package/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  19. package/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  20. package/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  21. package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  22. package/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  23. package/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  24. package/bundle/content-page-repository/copy.d.ts +1 -0
  25. package/bundle/data/FooterData.d.ts +0 -1
  26. package/bundle/data/SitemapData.d.ts +1 -10
  27. package/bundle/icons/IconName.d.ts +4 -2
  28. package/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  29. package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  30. package/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  31. package/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  32. package/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  33. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  34. package/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  35. package/bundle/utils/getVersion.d.ts +1 -0
  36. package/cosmos-static/icons/MapMarkerClusterYellowIcon.svg +1 -0
  37. package/cosmos-static/icons/sprites.svg +1 -0
  38. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  39. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  40. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  41. package/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  42. package/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  43. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  44. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  45. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  46. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  47. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  48. package/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  49. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  50. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  51. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  52. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  53. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  54. package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  55. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  56. package/dist/components/ContentPage/ContentPage.js +1 -1
  57. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  58. package/dist/components/Footer/Footer.js +2 -9
  59. package/dist/components/Footer/Footer.js.map +1 -1
  60. package/dist/components/Footer/Footer.mobile.js +1 -9
  61. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  62. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  63. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  64. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  65. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  66. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  67. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  68. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  69. package/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  70. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  71. package/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  72. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  73. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  74. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  75. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  76. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  77. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  78. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  79. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  80. package/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  81. package/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  82. package/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  83. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  84. package/dist/components/ProductGallery/ProductGallery.js +12 -5
  85. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  86. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  87. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  88. package/dist/components/TabsLayout/TabsLayout.js +17 -11
  89. package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  90. package/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  91. package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  92. package/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  93. package/dist/content-page-repository/ContentPageRepository.js +27 -5
  94. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  95. package/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  96. package/dist/content-page-repository/copy.d.ts +1 -0
  97. package/dist/content-page-repository/copy.js +16 -0
  98. package/dist/content-page-repository/copy.js.map +1 -0
  99. package/dist/content-page-repository/transformAttachmentLink.js +8 -7
  100. package/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  101. package/dist/content-page-repository/transformDocument.js +3 -5
  102. package/dist/content-page-repository/transformDocument.js.map +1 -1
  103. package/dist/content-page-repository/transformImg.js +4 -1
  104. package/dist/content-page-repository/transformImg.js.map +1 -1
  105. package/dist/data/FooterData.d.ts +0 -1
  106. package/dist/data/SitemapData.d.ts +1 -10
  107. package/dist/icons/IconName.d.ts +4 -2
  108. package/dist/icons/IconName.js +3 -1
  109. package/dist/icons/IconName.js.map +1 -1
  110. package/dist/ui-kit/Badge/Badge.js +1 -3
  111. package/dist/ui-kit/Badge/Badge.js.map +1 -1
  112. package/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  113. package/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  114. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  115. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  116. package/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  117. package/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  118. package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  119. package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  120. package/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  121. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  122. package/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  123. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  124. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  125. package/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  126. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  127. package/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  128. package/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  129. package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  130. package/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  131. package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  132. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  133. package/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  134. package/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  135. package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  136. package/dist/utils/getVersion.d.ts +1 -0
  137. package/dist/utils/getVersion.js +5 -0
  138. package/dist/utils/getVersion.js.map +1 -0
  139. package/lib/common.css +1 -1
  140. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  141. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  142. package/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  143. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  144. package/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  145. package/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  146. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  147. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  148. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  149. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  150. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  151. package/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  152. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  153. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  154. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  155. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  156. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  157. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  158. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  159. package/lib/components/ContentPage/ContentPage.js +1 -1
  160. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  161. package/lib/components/Footer/Footer.js +2 -9
  162. package/lib/components/Footer/Footer.js.map +1 -1
  163. package/lib/components/Footer/Footer.mobile.js +1 -9
  164. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  165. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  166. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  167. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  168. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  169. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  170. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  171. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  172. package/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  173. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  174. package/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  175. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +2 -0
  176. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  177. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  178. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  179. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  180. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +6 -0
  181. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  182. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  183. package/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  184. package/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  185. package/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  186. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  187. package/lib/components/ProductGallery/ProductGallery.js +12 -5
  188. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  189. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  190. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  191. package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +4 -3
  192. package/lib/components/TabsLayout/TabsLayout.fixture.mobile.d.ts +4 -2
  193. package/lib/components/TabsLayout/TabsLayout.js +17 -11
  194. package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  195. package/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  196. package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  197. package/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  198. package/lib/content-page-repository/ContentPageRepository.js +26 -4
  199. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  200. package/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  201. package/lib/content-page-repository/copy.d.ts +1 -0
  202. package/lib/content-page-repository/copy.js +10 -0
  203. package/lib/content-page-repository/copy.js.map +1 -0
  204. package/lib/content-page-repository/transformAttachmentLink.js +8 -7
  205. package/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  206. package/lib/content-page-repository/transformDocument.js +3 -5
  207. package/lib/content-page-repository/transformDocument.js.map +1 -1
  208. package/lib/content-page-repository/transformImg.js +4 -1
  209. package/lib/content-page-repository/transformImg.js.map +1 -1
  210. package/lib/data/FooterData.d.ts +0 -1
  211. package/lib/data/SitemapData.d.ts +1 -10
  212. package/lib/icons/IconName.d.ts +4 -2
  213. package/lib/icons/IconName.js +3 -1
  214. package/lib/icons/IconName.js.map +1 -1
  215. package/lib/ui-kit/Badge/Badge.js +1 -3
  216. package/lib/ui-kit/Badge/Badge.js.map +1 -1
  217. package/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  218. package/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  219. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  220. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  221. package/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  222. package/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  223. package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  224. package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  225. package/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  226. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  227. package/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  228. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  229. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  230. package/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  231. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  232. package/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  233. package/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  234. package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  235. package/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  236. package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  237. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  238. package/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  239. package/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  240. package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  241. package/lib/utils/getVersion.d.ts +1 -0
  242. package/lib/utils/getVersion.js +2 -0
  243. package/lib/utils/getVersion.js.map +1 -0
  244. package/mobile/bundle/bundle.umd.js +194 -128
  245. package/mobile/bundle/bundle.umd.min.js +1 -1
  246. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  247. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  248. package/mobile/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  249. package/mobile/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  250. package/mobile/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  251. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  252. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  253. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  254. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  255. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  256. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  257. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  258. package/mobile/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  259. package/mobile/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  260. package/mobile/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  261. package/mobile/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  262. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  263. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  264. package/mobile/bundle/content-page-repository/copy.d.ts +1 -0
  265. package/mobile/bundle/data/FooterData.d.ts +0 -1
  266. package/mobile/bundle/data/SitemapData.d.ts +1 -10
  267. package/mobile/bundle/icons/IconName.d.ts +4 -2
  268. package/mobile/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  269. package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  270. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  271. package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  272. package/mobile/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  273. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  274. package/mobile/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  275. package/mobile/bundle/utils/getVersion.d.ts +1 -0
  276. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  277. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  278. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  279. package/mobile/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  280. package/mobile/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  281. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  282. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  283. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  284. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  285. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  286. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  287. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  288. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  289. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  290. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  291. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  292. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  293. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  294. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  295. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  296. package/mobile/dist/components/Footer/Footer.js +1 -9
  297. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  298. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  299. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  300. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  301. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  302. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  303. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  304. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  305. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  306. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  307. package/mobile/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  308. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  309. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  310. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  311. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  312. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  313. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  314. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  315. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  316. package/mobile/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  317. package/mobile/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  318. package/mobile/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  319. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  320. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  321. package/mobile/dist/components/TabsLayout/TabsLayout.js +17 -11
  322. package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  323. package/mobile/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  324. package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  325. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  326. package/mobile/dist/content-page-repository/ContentPageRepository.js +27 -5
  327. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  328. package/mobile/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  329. package/mobile/dist/content-page-repository/copy.d.ts +1 -0
  330. package/mobile/dist/content-page-repository/copy.js +16 -0
  331. package/mobile/dist/content-page-repository/copy.js.map +1 -0
  332. package/mobile/dist/content-page-repository/transformAttachmentLink.js +8 -7
  333. package/mobile/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  334. package/mobile/dist/content-page-repository/transformDocument.js +3 -5
  335. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  336. package/mobile/dist/content-page-repository/transformImg.js +4 -1
  337. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  338. package/mobile/dist/data/FooterData.d.ts +0 -1
  339. package/mobile/dist/data/SitemapData.d.ts +1 -10
  340. package/mobile/dist/icons/IconName.d.ts +4 -2
  341. package/mobile/dist/icons/IconName.js +3 -1
  342. package/mobile/dist/icons/IconName.js.map +1 -1
  343. package/mobile/dist/ui-kit/Badge/Badge.js +1 -3
  344. package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -1
  345. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  346. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  347. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  348. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  349. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  350. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  351. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  352. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  353. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  354. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  355. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  356. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  357. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  358. package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  359. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  360. package/mobile/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  361. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  362. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  363. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  364. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  365. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  366. package/mobile/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  367. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  368. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  369. package/mobile/dist/utils/getVersion.d.ts +1 -0
  370. package/mobile/dist/utils/getVersion.js +5 -0
  371. package/mobile/dist/utils/getVersion.js.map +1 -0
  372. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  373. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  374. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  375. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  376. package/mobile/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  377. package/mobile/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  378. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  379. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  380. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  381. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  382. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  383. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  384. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  385. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  386. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  387. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  388. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  389. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  390. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  391. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  392. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  393. package/mobile/lib/components/Footer/Footer.js +1 -9
  394. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  395. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  396. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  397. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  398. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  399. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  400. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  401. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  402. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  403. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  404. package/mobile/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  405. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  406. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  407. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  408. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  409. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  410. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  411. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  412. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  413. package/mobile/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  414. package/mobile/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  415. package/mobile/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  416. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  417. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  418. package/mobile/lib/components/TabsLayout/TabsLayout.js +17 -11
  419. package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  420. package/mobile/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  421. package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  422. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  423. package/mobile/lib/content-page-repository/ContentPageRepository.js +26 -4
  424. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  425. package/mobile/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  426. package/mobile/lib/content-page-repository/copy.d.ts +1 -0
  427. package/mobile/lib/content-page-repository/copy.js +10 -0
  428. package/mobile/lib/content-page-repository/copy.js.map +1 -0
  429. package/mobile/lib/content-page-repository/transformAttachmentLink.js +8 -7
  430. package/mobile/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  431. package/mobile/lib/content-page-repository/transformDocument.js +3 -5
  432. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  433. package/mobile/lib/content-page-repository/transformImg.js +4 -1
  434. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  435. package/mobile/lib/data/FooterData.d.ts +0 -1
  436. package/mobile/lib/data/SitemapData.d.ts +1 -10
  437. package/mobile/lib/icons/IconName.d.ts +4 -2
  438. package/mobile/lib/icons/IconName.js +3 -1
  439. package/mobile/lib/icons/IconName.js.map +1 -1
  440. package/mobile/lib/ui-kit/Badge/Badge.js +1 -3
  441. package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -1
  442. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  443. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  444. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  445. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  446. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  447. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  448. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  449. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  450. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  451. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  452. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  453. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  454. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  455. package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  456. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  457. package/mobile/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  458. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  459. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  460. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  461. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  462. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  463. package/mobile/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  464. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  465. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  466. package/mobile/lib/utils/getVersion.d.ts +1 -0
  467. package/mobile/lib/utils/getVersion.js +2 -0
  468. package/mobile/lib/utils/getVersion.js.map +1 -0
  469. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  470. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  471. package/mobile/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  472. package/mobile/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  473. package/mobile/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  474. package/mobile/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  475. package/mobile/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  476. package/mobile/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  477. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  478. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  479. package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  480. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -0
  481. package/mobile/src/components/Footer/Footer.tsx +0 -16
  482. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  483. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  484. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  485. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  486. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  487. package/mobile/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  488. package/mobile/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  489. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  490. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  491. package/mobile/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  492. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  493. package/mobile/src/components/TabsLayout/TabsLayout.tsx +21 -11
  494. package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  495. package/mobile/src/content-page-repository/ContentPageRepository.ts +42 -4
  496. package/mobile/src/content-page-repository/TransformationOptions.ts +1 -0
  497. package/mobile/src/content-page-repository/copy.ts +11 -0
  498. package/mobile/src/content-page-repository/transformAttachmentLink.ts +7 -8
  499. package/mobile/src/content-page-repository/transformDocument.ts +3 -5
  500. package/mobile/src/content-page-repository/transformImg.ts +6 -1
  501. package/mobile/src/data/FooterData.ts +0 -1
  502. package/mobile/src/data/SitemapData.ts +1 -11
  503. package/mobile/src/icons/IconName.ts +5 -5
  504. package/mobile/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  505. package/mobile/src/ui-kit/Badge/Badge.tsx +13 -15
  506. package/mobile/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  507. package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  508. package/mobile/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  509. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  510. package/mobile/src/ui-kit/Heading/HeadingProps.ts +1 -3
  511. package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  512. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  513. package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  514. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  515. package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  516. package/mobile/src/utils/getVersion.ts +1 -0
  517. package/package.json +1 -1
  518. package/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  519. package/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  520. package/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  521. package/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  522. package/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  523. package/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  524. package/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  525. package/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  526. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  527. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  528. package/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  529. package/src/components/ContentPage/ContentPage.tsx +1 -0
  530. package/src/components/Footer/Footer.mobile.tsx +0 -16
  531. package/src/components/Footer/Footer.tsx +0 -19
  532. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  533. package/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  534. package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  535. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  536. package/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  537. package/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  538. package/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  539. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  540. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  541. package/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  542. package/src/components/ProductGallery/ProductGallery.tsx +37 -7
  543. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  544. package/src/components/TabsLayout/TabsLayout.fixture.mobile.tsx +70 -24
  545. package/src/components/TabsLayout/TabsLayout.fixture.tsx +33 -29
  546. package/src/components/TabsLayout/TabsLayout.tsx +21 -11
  547. package/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  548. package/src/content-page-repository/ContentPageRepository.ts +42 -4
  549. package/src/content-page-repository/TransformationOptions.ts +1 -0
  550. package/src/content-page-repository/copy.ts +11 -0
  551. package/src/content-page-repository/transformAttachmentLink.ts +7 -8
  552. package/src/content-page-repository/transformDocument.ts +3 -5
  553. package/src/content-page-repository/transformImg.ts +6 -1
  554. package/src/data/FooterData.ts +0 -1
  555. package/src/data/SitemapData.ts +1 -11
  556. package/src/icons/IconName.ts +5 -5
  557. package/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  558. package/src/ui-kit/Badge/Badge.tsx +13 -15
  559. package/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  560. package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  561. package/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  562. package/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  563. package/src/ui-kit/Heading/HeadingProps.ts +1 -3
  564. package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  565. package/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  566. package/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  567. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  568. package/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  569. package/src/utils/getVersion.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollableTabsControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/ScrollableTabsControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2BAA2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Ae,CAAC,QAAQ,CAAC,CAAC,SAAmB,CAC9C,EACD,OAAO,EAAE,MAAM,CAAC,UAAU,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CACvB,KAAC,iBAAiB,IAChB,SAAS,EAAE,KAAK,CACd,SAAS,EACT,iBAAiB,EACjB,eAAe,CAAC,QAAQ,CAAC,CAAC,SAAmB,CAC9C,EACD,OAAO,EAAE,MAAM,CAAC,WAAW,GAC3B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ScrollableTabsControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/ScrollableTabsControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;AAEzD,MAAM,WAAW,GAAuE;IACtF,OAAO,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,CAAC;QACN,SAAS,EAAE,OAAO;KACnB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,GAAG,EAAE,CAAC;QACN,SAAS,EAAE,OAAO;KACnB;IACD,UAAU,EAAE;QACV,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,CAAC;QACN,SAAS,EAAE,OAAO;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CACtC,CAAC,E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
3
3
  import { type IconProps } from '../../model/Picture';
4
- import { type VNode } from '../../model/VNode';
5
4
  import { type TabsControlProps, type TabsType } from './TabsControlProps';
6
5
  export interface TabItemBase extends LinkProps, TitleProps, DescriptionProps, IconProps {
7
6
  name?: string;
8
- appendRight?: VNode;
7
+ count?: number;
9
8
  }
10
9
  export interface TabItemProps {
11
10
  item?: TabItemBase;
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAK9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAc9C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE,CACjD,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,WAAW,OAAK,KAAK,GAAI,CAAC,CAAC,CAAC,KAAC,aAAa,OAAK,KAAK,GAAI,CAC9E,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IAC9C,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;I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CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAE3E,OAAO,KAAC,YAAY,OAAK,KAAK,EAAE,GAAG,EAAC,GAAG,EAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AAC3E,CAAC,CAAC,CAAC;AAEH,mDAAmD;AACnD,MAAM,aAAa,GAAG,GAAG,CAAe,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,KAAM,IAAI,GAAI,CAAC;AACtE,CAAC,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type TabItemProps } from './TabItem';
2
2
  interface TabItemInnerProps extends TabItemProps {
3
3
  tag?: string;
4
+ count?: number;
4
5
  }
5
6
  export declare const TabItemInner: import("@redneckz/uni-jsx").UNIComponent<TabItemInnerProps, any, any>;
6
7
  export {};
@@ -1,6 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { getVersion } from '../../utils/getVersion.js';
3
4
  import { style } from '../../utils/style.js';
5
+ import { Badge } from '../Badge/Badge.js';
4
6
  import { renderTabItemInner } from './renderTabItemInner.js';
5
7
  const tabPaddingStyleMap = {
6
8
  default: 'px-xs',
@@ -25,13 +27,13 @@ const activeTabBgStyleMap = {
25
27
  };
26
28
  export const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
27
29
  const Tag = tag;
28
- const { text, description, icon, appendRight, ...link } = item;
30
+ const { text, description, icon, count, ...link } = item;
29
31
  return (_jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tablist", onClick: onClick, ...link, children: _jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: [renderTabItemInner({
30
32
  text,
31
33
  description,
32
34
  icon,
33
35
  isActive,
34
36
  type,
35
- }), appendRight ? _jsx("div", { className: "ml-xs", children: appendRight }) : null] }) }));
37
+ }), Number.isInteger(count) ? (_jsx("div", { className: "ml-xs", children: _jsx(Badge, { count: count, version: getVersion(isActive) }) })) : null] }) }));
36
38
  });
37
39
  //# sourceMappingURL=TabItemInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItemInner.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItemInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,MAAM,kBAAkB,GAA6B;IACnD,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kFAAkF;CAC7F,CAAC;AAEF,MAAM,YAAY,GAAG,6CAA6C,CAAC;AAEnE,MAAM,qBAAqB,GAA6B;IACtD,OAAO,EAAE,0BAA0B;IACnC,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AAE,GAAG,IAAI,CAAC;IAEzD,OAAO,CACL,KAAC,GAAG,IACF,SAAS,EAAE,KAAK,CACd,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,kBAAkB,CAAC,IAAI,CAAC,EACxB,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAC3D,EACD,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,eACE,SAAS,EAAE,KAAK,CACd,QAAQ,EACR,kCAAkC,EAClC,+BAA+B,EAC/B,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CACtD,aAEA,kBAAkB,CAAC;oBAClB,IAAI;oBACJ,WAAW;oBACX,IAAI;oBACJ,QAAQ;oBACR,IAAI;iBACL,CAAC,EACD,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACzB,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAI,GAClD,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type BalloonPoints } from '../../components/OfficesAtmsMap/YandexMapProps';
2
2
  interface YandexMapProps {
3
- points?: BalloonPoints[];
3
+ points: BalloonPoints[];
4
4
  className?: string;
5
5
  zoom?: number;
6
6
  }
@@ -29,11 +29,11 @@ export const YandexMap = JSX(({ points, className = '', zoom = 5 }) => {
29
29
  controls: [],
30
30
  suppressMapOpenBlock: true,
31
31
  });
32
- renderClusterer(yandexMaps, map.current, points);
32
+ renderClusterer({ yandexMaps, map: map.current, points });
33
33
  });
34
34
  }
35
35
  else if (yandexMaps) {
36
- renderClusterer(yandexMaps, map.current, points);
36
+ renderClusterer({ yandexMaps, map: map.current, points });
37
37
  if (!points?.length) {
38
38
  map.current.setCenter(DEFAULT_CENTER_COORDS);
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/YandexMap.tsx"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,MAAM,qBAAqB,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAErD,oHAAoH;AACpH,sDAAsD;AACtD,0DAA0D;AAC1D,6EAA6E;AAC7E,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,GAAG,CAAC,EAAE,EAAE,EAAE;IACpF,MAAM,GAAG,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IAE3C,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;IAEnC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE;YACjB,UAAU,EAAE,KAAK,CAAC,GAAG,EAAE;gBACrB,kEAAkE;gBAClE,IAAI,GAAG,CAAC,OAAO,EAAE;oBACf,OAAO;iBACR;gBAED,GAAG,CAAC,OAAO,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE;oBACtC,MAAM,EAAE,MAAM,CAAC,C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,GAAG,EAAE,SAAS,EAAC,KAAK,GAAG,IAC3C,EACL,qBAAqB,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,MAAuB,EAAE,EAAE,CAAC;IAClD,qBAAqB,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC5C,qBAAqB,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAuB,EAAE,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAElG,MAAM,qBAAqB,GAAG,CAAC,GAAa,EAAE,EAAE,CAC9C,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import type ymaps from 'yandex-maps';
2
2
  import { type BalloonPoints } from '../../components/OfficesAtmsMap/YandexMapProps';
3
- export declare function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points: BalloonPoints[]): void;
3
+ export declare function renderClusterer({ yandexMaps, map, points, }: {
4
+ yandexMaps: typeof ymaps;
5
+ map: ymaps.Map;
6
+ points: BalloonPoints[];
7
+ }): void;
@@ -1,10 +1,34 @@
1
- export function renderClusterer(yandexMaps, map, points) {
1
+ const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
2
+ const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
3
+ export function renderClusterer({ yandexMaps, map, points, }) {
2
4
  map.geoObjects.removeAll();
3
5
  const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
4
- const clusterer = new yandexMaps.Clusterer({
6
+ const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
7
+ if (points.length && points.every((_) => 'type' in _)) {
8
+ const remoteWorkplaceClusterer = defineClusterer('workplaces', yandexMaps, clusterIconContentLayout);
9
+ const remoteWorkplaceGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'workplaces'), 'workplaces', yandexMaps);
10
+ const officesGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'offices'), 'offices', yandexMaps);
11
+ officeClusterer.add(officesGeoObjects);
12
+ remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
13
+ map.geoObjects.add(remoteWorkplaceClusterer);
14
+ map.geoObjects.add(officeClusterer);
15
+ }
16
+ else {
17
+ const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
18
+ officeClusterer.add(geoObjects);
19
+ map.geoObjects.add(officeClusterer);
20
+ }
21
+ map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
22
+ if (map.getZoom() > 10) {
23
+ map.setZoom(10);
24
+ }
25
+ });
26
+ }
27
+ const defineClusterer = (type, yandexMaps, clusterIconContentLayout) => {
28
+ return new yandexMaps.Clusterer({
5
29
  clusterIcons: [
6
30
  {
7
- href: '/icons/MapMarkerClusterIcon.svg',
31
+ href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
8
32
  size: [78, 84],
9
33
  offset: [-35, -50],
10
34
  },
@@ -13,23 +37,18 @@ export function renderClusterer(yandexMaps, map, points) {
13
37
  clusterHideIconOnBalloonOpen: false,
14
38
  geoObjectHideIconOnBalloonOpen: false,
15
39
  });
16
- const geoObjects = points.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
40
+ };
41
+ const defineGeoObjects = (pointArr, type, yandexMaps) => {
42
+ return pointArr.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
17
43
  balloonContentHeader: content?.header,
18
44
  balloonContentBody: content?.body,
19
45
  balloonContentFooter: content?.footer,
20
46
  hintContent: content?.hint,
21
47
  }, {
22
48
  iconLayout: 'default#image',
23
- iconImageHref: '/icons/MapMarkerSingleIcon.svg',
49
+ iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
24
50
  iconImageSize: [78, 84],
25
51
  iconImageOffset: [-35, -50],
26
52
  }));
27
- clusterer.add(geoObjects);
28
- map.geoObjects.add(clusterer);
29
- map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
30
- if (map.getZoom() > 10) {
31
- map.setZoom(10);
32
- }
33
- });
34
- }
53
+ };
35
54
  //# sourceMappingURL=renderClusterer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderClusterer.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,eAAe,CAAC,UAAwB,EAAE,GAAc,EAAE,MAAuB;IAC/F,GAAG,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC;IAE3B,MAAM,wBAAwB,GAAG,UAAU,CAAC,qBAAqB,CAAC,WAAW,CAC3E,uEAAuE,CACxE,CAAC;IAEF,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC;QACzC,YAAY,EAAE;YACZ;gBACE,IAAI,EAAE,iCAAiC;gBACvC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;gBACd,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;aACnB;SACF;QACD,wBAAwB;QACxB,4BAA4B,EAAE,KAAK;QACnC,8BAA8B,EAAE,KAAK;KACX,CAAC,CAAC;IAE9B,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAC3B,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CACtB,IAAI,UAAU,CAAC,SAAS,CACt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1
+ export declare const getVersion: (isPrimary: boolean) => "primary" | "secondary";
@@ -0,0 +1,2 @@
1
+ export const getVersion = (isPrimary) => (isPrimary ? 'primary' : 'secondary');
2
+ //# sourceMappingURL=getVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVersion.js","sourceRoot":"","sources":["../../src/utils/getVersion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAkB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC"}
@@ -76,6 +76,10 @@ export type FieldCommonDef = FieldDefaultDef & {
76
76
  fieldType: 'common';
77
77
  };
78
78
 
79
+ /**
80
+ * @title Значение по умолчанию
81
+ * @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
82
+ */
79
83
  type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
80
84
 
81
85
  /**
@@ -85,7 +89,6 @@ type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactio
85
89
  export type FieldVedDef = FieldDefaultDef & {
86
90
  /** @default "ved" */
87
91
  fieldType: 'ved';
88
- /** @title Значение по умолчанию */
89
92
  defaultValue?: VedTypes;
90
93
  };
91
94
 
@@ -23,13 +23,11 @@ import { clamp } from '../../utils/clamp';
23
23
  import { style } from '../../utils/style';
24
24
  import {
25
25
  type CalculatorCreditContent,
26
- type CreditCalculatorParamsViewSettings,
27
- } from './CalculatorCreditContent';
28
- import {
29
- getCreditCalculatorParams,
30
26
  type CreditCalculatorData,
31
27
  type CreditCalculatorParams,
32
- } from './getCreditCalculatorParams';
28
+ type CreditCalculatorParamsViewSettings,
29
+ } from './CalculatorCreditContent';
30
+ import { getCreditCalculatorParams } from './getCreditCalculatorParams';
33
31
 
34
32
  const CREDIT_DEFAULT_SUM = 200000;
35
33
 
@@ -1,10 +1,41 @@
1
1
  import {
2
2
  type CalculatorParamsViewSettingsDefault,
3
+ type CalcValueProps,
3
4
  type CommonCalculatorProps,
4
5
  type CommonDefaultParams,
6
+ type LimitParamsProps,
5
7
  } from '../../ui-kit/Calculator/CalculatorProps';
6
8
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
7
9
 
10
+ export interface CommonCreditParams {
11
+ isInsurance: boolean;
12
+ isSalaryClient: boolean;
13
+ isPensionClient: boolean;
14
+ isStateEmployee: boolean;
15
+ }
16
+ export interface CreditCalculatorSourceBookRateParams extends CommonCreditParams, LimitParamsProps {
17
+ rate: number;
18
+ }
19
+
20
+ export interface CreditCalculatorSourceBookLimitParams
21
+ extends CommonCreditParams,
22
+ LimitParamsProps {}
23
+
24
+ export interface CreditCalculatorUserInputParams extends CommonCreditParams, CalcValueProps {
25
+ isAnnuity: boolean;
26
+ }
27
+
28
+ export interface CreditCalculatorParams
29
+ extends CreditCalculatorSourceBookRateParams,
30
+ CreditCalculatorUserInputParams {
31
+ monthlyPayment: number;
32
+ }
33
+
34
+ export type CreditCalculatorData = {
35
+ rateRows?: CreditCalculatorSourceBookRateParams[];
36
+ limitRows?: CreditCalculatorSourceBookLimitParams[];
37
+ };
38
+
8
39
  export interface CreditCalculatorParamsViewSettings extends CalculatorParamsViewSettingsDefault {
9
40
  /** @title Работаю в бюджетной организации */
10
41
  isShowStateEmployee?: boolean;
@@ -1,8 +1,8 @@
1
- import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
2
1
  import {
3
2
  type CommonCreditParams,
3
+ type CreditCalculatorParamsViewSettings,
4
4
  type CreditCalculatorUserInputParams,
5
- } from './getCreditCalculatorParams';
5
+ } from './CalculatorCreditContent';
6
6
 
7
7
  interface CheckSourceBookRowProps {
8
8
  row: CommonCreditParams;
@@ -0,0 +1,19 @@
1
+ import {
2
+ DEFAULT_MAX_MONTHS,
3
+ DEFAULT_MIN_MONTHS,
4
+ } from '../../ui-kit/Calculator/calculatorConstants';
5
+ import { type CreditCalculatorSourceBookRateParams } from './CalculatorCreditContent';
6
+
7
+ const DEFAULT_MIN_SUM = 10000;
8
+ const DEFAULT_MAX_SUM = 5000000;
9
+ export const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookRateParams = {
10
+ minSum: DEFAULT_MIN_SUM,
11
+ maxSum: DEFAULT_MAX_SUM,
12
+ minMonths: DEFAULT_MIN_MONTHS,
13
+ maxMonths: DEFAULT_MAX_MONTHS,
14
+ rate: 0,
15
+ isSalaryClient: false,
16
+ isPensionClient: false,
17
+ isStateEmployee: false,
18
+ isInsurance: true,
19
+ };
@@ -1,9 +1,9 @@
1
- import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
2
- import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
3
1
  import {
2
+ type CreditCalculatorParamsViewSettings,
4
3
  type CreditCalculatorSourceBookLimitParams,
5
4
  type CreditCalculatorUserInputParams,
6
- } from './getCreditCalculatorParams';
5
+ } from './CalculatorCreditContent';
6
+ import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
7
7
 
8
8
  interface GetCreditCalculatorLimitParamsProps {
9
9
  limitRows: CreditCalculatorSourceBookLimitParams[];
@@ -1,61 +1,15 @@
1
- import {
2
- DEFAULT_MAX_MONTHS,
3
- DEFAULT_MIN_MONTHS,
4
- } from '../../ui-kit/Calculator/calculatorConstants';
5
- import {
6
- type CalcValueProps,
7
- type LimitParamsProps,
8
- } from '../../ui-kit/Calculator/CalculatorProps';
9
1
  import { getMonthlyPayment } from '../../ui-kit/Calculator/getMonthlyPayment';
10
2
  import { getLimitRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers';
11
- import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
3
+ import {
4
+ type CreditCalculatorData,
5
+ type CreditCalculatorParams,
6
+ type CreditCalculatorParamsViewSettings,
7
+ type CreditCalculatorUserInputParams,
8
+ } from './CalculatorCreditContent';
9
+ import { DEFAULT_CREDIT_CALCULATOR_PARAMS } from './defaultCreditCalculatorParams';
12
10
  import { getCreditCalculatorLimitParams } from './getCreditCalculatorLimitParams';
13
11
  import { getCreditCalculatorRateParams } from './getCreditCalculatorRateParams';
14
12
 
15
- const DEFAULT_MIN_SUM = 10000;
16
- const DEFAULT_MAX_SUM = 5000000;
17
-
18
- export const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookRateParams = {
19
- minSum: DEFAULT_MIN_SUM,
20
- maxSum: DEFAULT_MAX_SUM,
21
- minMonths: DEFAULT_MIN_MONTHS,
22
- maxMonths: DEFAULT_MAX_MONTHS,
23
- rate: 0,
24
- isSalaryClient: false,
25
- isPensionClient: false,
26
- isStateEmployee: false,
27
- isInsurance: true,
28
- };
29
-
30
- export interface CommonCreditParams {
31
- isInsurance: boolean;
32
- isSalaryClient: boolean;
33
- isPensionClient: boolean;
34
- isStateEmployee: boolean;
35
- }
36
- export interface CreditCalculatorSourceBookRateParams extends CommonCreditParams, LimitParamsProps {
37
- rate: number;
38
- }
39
-
40
- export interface CreditCalculatorSourceBookLimitParams
41
- extends CommonCreditParams,
42
- LimitParamsProps {}
43
-
44
- export interface CreditCalculatorUserInputParams extends CommonCreditParams, CalcValueProps {
45
- isAnnuity: boolean;
46
- }
47
-
48
- export interface CreditCalculatorParams
49
- extends CreditCalculatorSourceBookRateParams,
50
- CreditCalculatorUserInputParams {
51
- monthlyPayment: number;
52
- }
53
-
54
- export type CreditCalculatorData = {
55
- rateRows?: CreditCalculatorSourceBookRateParams[];
56
- limitRows?: CreditCalculatorSourceBookLimitParams[];
57
- };
58
-
59
13
  export const getCreditCalculatorParams = (
60
14
  userInputParams: CreditCalculatorUserInputParams,
61
15
  calcSource?: CreditCalculatorData,
@@ -1,12 +1,12 @@
1
1
  import { type CalcValueProps } from '../../ui-kit/Calculator/CalculatorProps';
2
2
  import { checkRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers';
3
- import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
4
- import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
5
3
  import {
6
- DEFAULT_CREDIT_CALCULATOR_PARAMS,
4
+ type CreditCalculatorParamsViewSettings,
7
5
  type CreditCalculatorSourceBookRateParams,
8
6
  type CreditCalculatorUserInputParams,
9
- } from './getCreditCalculatorParams';
7
+ } from './CalculatorCreditContent';
8
+ import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
9
+ import { DEFAULT_CREDIT_CALCULATOR_PARAMS } from './defaultCreditCalculatorParams';
10
10
 
11
11
  interface GetCreditCalculatorRateParamsProps extends CalcValueProps {
12
12
  rateRows: CreditCalculatorSourceBookRateParams[];
@@ -25,7 +25,7 @@ export interface DepositDefaultParams extends CommonDefaultParams {
25
25
  }
26
26
 
27
27
  /**
28
- * @title Калькулятор бонусов
28
+ * @title Калькулятор вкладов
29
29
  */
30
30
  export type CalculatorDepositContent = UniBlockContent &
31
31
  CommonCalculatorProps & {
@@ -55,7 +55,7 @@ const renderBlocksColumn = ({ column, index }: RenderContactsColumnProps) =>
55
55
  </Paragraph>
56
56
  </div>
57
57
  ) : null}
58
- {button?.href ? <LinkButton className="mt-xl" {...button} /> : null}
58
+ {button?.text ? <LinkButton className="mt-xl" {...button} /> : null}
59
59
  </div>
60
60
  ))}
61
61
  </div>
@@ -1,5 +1,40 @@
1
1
  {
2
- "content": {},
2
+ "content": {
3
+ "info": {
4
+ "items": {
5
+ "items": {
6
+ "button": {
7
+ "href": {
8
+ "ui:field": "attachmentHref"
9
+ },
10
+ "icon": {
11
+ "ui:field": "icon"
12
+ },
13
+ "iconRight": {
14
+ "ui:field": "icon"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "contacts": {
21
+ "items": {
22
+ "items": {
23
+ "button": {
24
+ "href": {
25
+ "ui:field": "attachmentHref"
26
+ },
27
+ "icon": {
28
+ "ui:field": "icon"
29
+ },
30
+ "iconRight": {
31
+ "ui:field": "icon"
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ },
3
38
  "style": {
4
39
  "ui:options": {
5
40
  "minCols": 12
@@ -69,6 +69,7 @@ export const ContentPage = JSX<ContentPageProps>(
69
69
  <PopupManager />
70
70
  <CookiePopup
71
71
  termLink={{ href: '/pd-policy#cookie', target: '_blank' }}
72
+ recommendationLink={{ href: '/recommendation', target: '_blank' }}
72
73
  personalDataPolicyLink={{ href: '/pd-policy', target: '_blank' }}
73
74
  />
74
75
  </div>
@@ -1,17 +1,13 @@
1
- import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
2
1
  import { type TopMenuItemProps } from '../../data/SitemapData';
3
2
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
3
  import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
5
4
  import { UniBlock } from '../../UniBlock/UniBlock';
6
5
  import { appendSlash } from '../../utils/appendSlash';
7
- import { mapCookie } from '../../utils/mapCookie';
8
6
  import { style } from '../../utils/style';
9
7
  import { RollupItem } from '../RollupItem/RollupItem';
10
8
  import { Contacts } from './Contacts';
11
- import { COOKIE_REPLACE } from './cookieReplaceData';
12
9
  import { type FooterProps } from './FooterProps';
13
10
  import { HorizontalNavigation } from './HorizontalNavigation';
14
- import { HorizontalNavigationLink } from './HorizontalNavigationLink';
15
11
  import { LinkList } from './LinkList';
16
12
  import { SocialMedia } from './SocialMedia';
17
13
  import { TextInformation } from './TextInformation';
@@ -30,11 +26,6 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
30
26
  license,
31
27
  } = footer || {};
32
28
 
33
- const handleOnClick = useCallback(() => {
34
- const [name, oldValue, newValue] = COOKIE_REPLACE;
35
- mapCookie(name, (value) => value?.replace(oldValue, newValue));
36
- }, []);
37
-
38
29
  return (
39
30
  <BlockWrapper
40
31
  tag="footer"
@@ -54,13 +45,6 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
54
45
  </SocialMedia>
55
46
  ))}
56
47
  <div className={borderStyle} />
57
- <HorizontalNavigationLink
58
- text="Вернуться на прежнюю версию сайта"
59
- className="flex text-l font-light max-w-[292px]"
60
- href="https://old.rshb.ru"
61
- onClick={handleOnClick}
62
- />
63
- <div className={borderStyle} />
64
48
  <HorizontalNavigation title={horizontalNavigationTitle} links={relatedEnterprises} />
65
49
  <div className={borderStyle} />
66
50
  <TextInformation links={documents} license={license} />
@@ -20,8 +20,8 @@ export const MobileAppTile = UniBlock<MobileAppTileProps>(
20
20
  description,
21
21
  image,
22
22
  items,
23
- qr,
24
23
  headingType,
24
+ qr,
25
25
  additionalDescription = '',
26
26
  title = 'Мобильное приложение',
27
27
  version = 'primary',
@@ -1,8 +1,6 @@
1
1
  import {
2
2
  type AdditionalDescriptionProps,
3
- type DescriptionProps,
4
3
  type HeadlineCommonProps,
5
- type TitleProps,
6
4
  } from '../../model/HeadlineType';
7
5
  import { type Picture } from '../../model/Picture';
8
6
  import { type HeadingType } from '../../ui-kit/Heading/HeadingProps';
@@ -17,8 +15,6 @@ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
17
15
  export type MobileAppTileContent = UniBlockContent &
18
16
  AdditionalDescriptionProps &
19
17
  HeadlineCommonProps &
20
- TitleProps &
21
- DescriptionProps &
22
18
  ButtonsSectionContent &
23
19
  ListContent &
24
20
  ImageContent & {