@redneckz/wildless-cms-uni-blocks 0.10.10 → 0.11.1

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 (1133) hide show
  1. package/bin/migration-scripts/0.11.0.js +29 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +301 -231
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  6. package/bundle/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  7. package/bundle/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  8. package/bundle/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  9. package/bundle/components/Calculator/rangeHelpers.d.ts +2 -2
  10. package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  11. package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  12. package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  13. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  14. package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  15. package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  16. package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  17. package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  18. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  19. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  20. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  21. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  22. package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  23. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  24. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  25. package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  26. package/bundle/components/RollupItem/getIconName.d.ts +1 -0
  27. package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
  28. package/bundle/components/RollupItem/labelSize.d.ts +1 -0
  29. package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
  30. package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  31. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  32. package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  33. package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  34. package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  35. package/bundle/icons/IconName.d.ts +12 -2
  36. package/bundle/services/sitemap/SitemapData.d.ts +1 -1
  37. package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  38. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  39. package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  40. package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  41. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  42. package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  43. package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  44. package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  45. package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  46. package/bundle/ui-kit/List/ListProps.d.ts +0 -2
  47. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  48. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  49. package/bundle/utils/isEmpty.d.ts +1 -0
  50. package/bundle/utils/joinList.d.ts +1 -1
  51. package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
  52. package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
  53. package/cosmos-static/icons/BagIcon.svg +1 -0
  54. package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
  55. package/cosmos-static/icons/ClientIcon.svg +1 -0
  56. package/dist/components/BaseTile/BaseTile.d.ts +12 -2
  57. package/dist/components/BaseTile/BaseTile.js +2 -1
  58. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  59. package/dist/components/Blocks.js +6 -4
  60. package/dist/components/Blocks.js.map +1 -1
  61. package/dist/components/Blocks.mobile.js +0 -2
  62. package/dist/components/Blocks.mobile.js.map +1 -1
  63. package/dist/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  64. package/dist/components/Calculator/checkCreditSourceBookRowCommonParams.js +28 -0
  65. package/dist/components/Calculator/checkCreditSourceBookRowCommonParams.js.map +1 -0
  66. package/dist/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  67. package/dist/components/Calculator/getCreditCalculatorLimitParams.js +10 -0
  68. package/dist/components/Calculator/getCreditCalculatorLimitParams.js.map +1 -0
  69. package/dist/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  70. package/dist/components/Calculator/getCreditCalculatorRateParams.js +14 -0
  71. package/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -0
  72. package/dist/components/Calculator/rangeHelpers.d.ts +2 -2
  73. package/dist/components/Calculator/rangeHelpers.js +2 -2
  74. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  75. package/dist/components/Calculator/useCreditCalculatorParams.js +26 -38
  76. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  77. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  78. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  79. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  80. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  81. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  82. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  83. package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  84. package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  85. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  86. package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  87. package/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  88. package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  89. package/dist/components/Footer/Footer.mobile.js +3 -9
  90. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  91. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
  92. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  93. package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  94. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  95. package/dist/components/Footer/MediaButton.js +2 -8
  96. package/dist/components/Footer/MediaButton.js.map +1 -1
  97. package/dist/components/Footer/TextInformation.js +3 -1
  98. package/dist/components/Footer/TextInformation.js.map +1 -1
  99. package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  100. package/dist/components/Footer/buttonStylesWithText.js +12 -0
  101. package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  102. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  103. package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
  104. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  105. package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  106. package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  107. package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  108. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  109. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
  110. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  111. package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  112. package/dist/components/Footer/textInformationTextSize.js +4 -0
  113. package/dist/components/Footer/textInformationTextSize.js.map +1 -0
  114. package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  115. package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
  116. package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  117. package/dist/components/Header/Header.mobile.js +2 -2
  118. package/dist/components/Header/Header.mobile.js.map +1 -1
  119. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  120. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  121. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  122. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  123. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  124. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  125. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  126. package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  127. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  128. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  129. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  130. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  131. package/dist/components/ProductBlock/ProductBlock.js +3 -8
  132. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  133. package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  134. package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
  135. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  136. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  137. package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  138. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  139. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  140. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  141. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  142. package/dist/components/ProductGallery/ProductGallery.js +9 -18
  143. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  144. package/dist/components/RollupItem/RollupItem.js +19 -4
  145. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  146. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  147. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  148. package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  149. package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  150. package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  151. package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
  152. package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  153. package/dist/components/RollupItem/getIconName.d.ts +1 -0
  154. package/dist/components/RollupItem/getIconName.js +5 -0
  155. package/dist/components/RollupItem/getIconName.js.map +1 -0
  156. package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
  157. package/dist/components/RollupItem/getIconName.mobile.js +5 -0
  158. package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
  159. package/dist/components/RollupItem/labelSize.d.ts +1 -0
  160. package/dist/components/RollupItem/labelSize.js +4 -0
  161. package/dist/components/RollupItem/labelSize.js.map +1 -0
  162. package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
  163. package/dist/components/RollupItem/labelSize.mobile.js +4 -0
  164. package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
  165. package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  166. package/dist/components/RollupItem/rollupIconVersion.js +4 -0
  167. package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  168. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  169. package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
  170. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  171. package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  172. package/dist/components/RollupItem/rollupItemStyles.js +4 -0
  173. package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  174. package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  175. package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
  176. package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  177. package/dist/components/Tile/Tile.js +2 -2
  178. package/dist/components/Tile/Tile.js.map +1 -1
  179. package/dist/content-page-repository/transformContentPage.js +12 -4
  180. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  181. package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  182. package/dist/content-page-repository/transformDocumentLink.js +32 -0
  183. package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  184. package/dist/icons/IconName.d.ts +12 -2
  185. package/dist/icons/IconName.js +11 -1
  186. package/dist/icons/IconName.js.map +1 -1
  187. package/dist/services/sitemap/SitemapData.d.ts +1 -1
  188. package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  189. package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  190. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  191. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  192. package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  193. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  194. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  195. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  196. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  197. package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  198. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  199. package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  200. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  201. package/dist/ui-kit/BlockWrapper.js +1 -1
  202. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  203. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  204. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  205. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  206. package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  207. package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  208. package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  209. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  210. package/dist/ui-kit/Img/ImgAsPicture.js +1 -1
  211. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  212. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  213. package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  214. package/dist/ui-kit/LinkList/LinkList.js +12 -0
  215. package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  216. package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  217. package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  218. package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  219. package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  220. package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  221. package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  222. package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  223. package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
  224. package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  225. package/dist/ui-kit/List/List.js +2 -1
  226. package/dist/ui-kit/List/List.js.map +1 -1
  227. package/dist/ui-kit/List/ListItem.js +5 -4
  228. package/dist/ui-kit/List/ListItem.js.map +1 -1
  229. package/dist/ui-kit/List/ListProps.d.ts +0 -2
  230. package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  231. package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  232. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  233. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  234. package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  235. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  236. package/dist/utils/isEmpty.d.ts +1 -0
  237. package/dist/utils/isEmpty.js +9 -0
  238. package/dist/utils/isEmpty.js.map +1 -0
  239. package/dist/utils/joinList.d.ts +1 -1
  240. package/dist/utils/joinList.js +1 -3
  241. package/dist/utils/joinList.js.map +1 -1
  242. package/lib/common.css +1 -1
  243. package/lib/components/BaseTile/BaseTile.d.ts +12 -2
  244. package/lib/components/BaseTile/BaseTile.js +2 -1
  245. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  246. package/lib/components/Blocks.js +6 -4
  247. package/lib/components/Blocks.js.map +1 -1
  248. package/lib/components/Blocks.mobile.js +0 -2
  249. package/lib/components/Blocks.mobile.js.map +1 -1
  250. package/lib/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  251. package/lib/components/Calculator/checkCreditSourceBookRowCommonParams.js +25 -0
  252. package/lib/components/Calculator/checkCreditSourceBookRowCommonParams.js.map +1 -0
  253. package/lib/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  254. package/lib/components/Calculator/getCreditCalculatorLimitParams.js +7 -0
  255. package/lib/components/Calculator/getCreditCalculatorLimitParams.js.map +1 -0
  256. package/lib/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  257. package/lib/components/Calculator/getCreditCalculatorRateParams.js +11 -0
  258. package/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -0
  259. package/lib/components/Calculator/rangeHelpers.d.ts +2 -2
  260. package/lib/components/Calculator/rangeHelpers.js +4 -4
  261. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  262. package/lib/components/Calculator/useCreditCalculatorParams.js +27 -39
  263. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  264. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  265. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  266. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  267. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  268. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  269. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  270. package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  271. package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  272. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  273. package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  274. package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  275. package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  276. package/lib/components/Footer/Footer.mobile.js +3 -9
  277. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  278. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
  279. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  280. package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  281. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  282. package/lib/components/Footer/MediaButton.js +1 -7
  283. package/lib/components/Footer/MediaButton.js.map +1 -1
  284. package/lib/components/Footer/TextInformation.js +3 -1
  285. package/lib/components/Footer/TextInformation.js.map +1 -1
  286. package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  287. package/lib/components/Footer/buttonStylesWithText.js +9 -0
  288. package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  289. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  290. package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
  291. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  292. package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  293. package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  294. package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  295. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  296. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
  297. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  298. package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  299. package/lib/components/Footer/textInformationTextSize.js +2 -0
  300. package/lib/components/Footer/textInformationTextSize.js.map +1 -0
  301. package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  302. package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
  303. package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  304. package/lib/components/Header/Header.mobile.js +2 -2
  305. package/lib/components/Header/Header.mobile.js.map +1 -1
  306. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  307. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  308. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  309. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  310. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  311. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  312. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  313. package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  314. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  315. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  316. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  317. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  318. package/lib/components/ProductBlock/ProductBlock.js +3 -8
  319. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  320. package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  321. package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
  322. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  323. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  324. package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  325. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  326. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  327. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  328. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  329. package/lib/components/ProductGallery/ProductGallery.js +10 -19
  330. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  331. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
  332. package/lib/components/RollupItem/RollupItem.js +19 -4
  333. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  334. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  335. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  336. package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  337. package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  338. package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  339. package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
  340. package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  341. package/lib/components/RollupItem/getIconName.d.ts +1 -0
  342. package/lib/components/RollupItem/getIconName.js +2 -0
  343. package/lib/components/RollupItem/getIconName.js.map +1 -0
  344. package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
  345. package/lib/components/RollupItem/getIconName.mobile.js +2 -0
  346. package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
  347. package/lib/components/RollupItem/labelSize.d.ts +1 -0
  348. package/lib/components/RollupItem/labelSize.js +2 -0
  349. package/lib/components/RollupItem/labelSize.js.map +1 -0
  350. package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
  351. package/lib/components/RollupItem/labelSize.mobile.js +2 -0
  352. package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
  353. package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  354. package/lib/components/RollupItem/rollupIconVersion.js +2 -0
  355. package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  356. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  357. package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
  358. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  359. package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  360. package/lib/components/RollupItem/rollupItemStyles.js +2 -0
  361. package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  362. package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  363. package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
  364. package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  365. package/lib/components/Tile/Tile.js +2 -2
  366. package/lib/components/Tile/Tile.js.map +1 -1
  367. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
  368. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
  369. package/lib/content-page-repository/transformContentPage.js +12 -4
  370. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  371. package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  372. package/lib/content-page-repository/transformDocumentLink.js +26 -0
  373. package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  374. package/lib/icons/IconName.d.ts +12 -2
  375. package/lib/icons/IconName.js +11 -1
  376. package/lib/icons/IconName.js.map +1 -1
  377. package/lib/services/sitemap/SitemapData.d.ts +1 -1
  378. package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  379. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  380. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  381. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  382. package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  383. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  384. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  385. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  386. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  387. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  388. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  389. package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  390. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  391. package/lib/ui-kit/BlockWrapper.js +1 -1
  392. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  393. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  394. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  395. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  396. package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  397. package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  398. package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  399. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  400. package/lib/ui-kit/Img/ImgAsPicture.js +1 -1
  401. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  402. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  403. package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  404. package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
  405. package/lib/ui-kit/LinkList/LinkList.js +10 -0
  406. package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  407. package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  408. package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  409. package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  410. package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  411. package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  412. package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  413. package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  414. package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
  415. package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  416. package/lib/ui-kit/List/List.js +2 -1
  417. package/lib/ui-kit/List/List.js.map +1 -1
  418. package/lib/ui-kit/List/ListItem.js +5 -4
  419. package/lib/ui-kit/List/ListItem.js.map +1 -1
  420. package/lib/ui-kit/List/ListProps.d.ts +0 -2
  421. package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  422. package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  423. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  424. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  425. package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  426. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  427. package/lib/utils/isEmpty.d.ts +1 -0
  428. package/lib/utils/isEmpty.js +6 -0
  429. package/lib/utils/isEmpty.js.map +1 -0
  430. package/lib/utils/joinList.d.ts +1 -1
  431. package/lib/utils/joinList.js +1 -3
  432. package/lib/utils/joinList.js.map +1 -1
  433. package/mobile/bundle/bundle.umd.js +225 -205
  434. package/mobile/bundle/bundle.umd.min.js +1 -1
  435. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  436. package/mobile/bundle/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  437. package/mobile/bundle/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  438. package/mobile/bundle/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  439. package/mobile/bundle/components/Calculator/rangeHelpers.d.ts +2 -2
  440. package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  441. package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  442. package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  443. package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  444. package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  445. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  446. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  447. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  448. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  449. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  450. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  451. package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  452. package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
  453. package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
  454. package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  455. package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  456. package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  457. package/mobile/bundle/icons/IconName.d.ts +12 -2
  458. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
  459. package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  460. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  461. package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  462. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  463. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  464. package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  465. package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  466. package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  467. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
  468. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  469. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  470. package/mobile/bundle/utils/isEmpty.d.ts +1 -0
  471. package/mobile/bundle/utils/joinList.d.ts +1 -1
  472. package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
  473. package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
  474. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  475. package/mobile/dist/components/Blocks.js +0 -2
  476. package/mobile/dist/components/Blocks.js.map +1 -1
  477. package/mobile/dist/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  478. package/mobile/dist/components/Calculator/checkCreditSourceBookRowCommonParams.js +28 -0
  479. package/mobile/dist/components/Calculator/checkCreditSourceBookRowCommonParams.js.map +1 -0
  480. package/mobile/dist/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  481. package/mobile/dist/components/Calculator/getCreditCalculatorLimitParams.js +10 -0
  482. package/mobile/dist/components/Calculator/getCreditCalculatorLimitParams.js.map +1 -0
  483. package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  484. package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js +14 -0
  485. package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -0
  486. package/mobile/dist/components/Calculator/rangeHelpers.d.ts +2 -2
  487. package/mobile/dist/components/Calculator/rangeHelpers.js +2 -2
  488. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  489. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +26 -38
  490. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  491. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  492. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  493. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  494. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  495. package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  496. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  497. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  498. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  499. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  500. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  501. package/mobile/dist/components/Footer/Footer.js +3 -9
  502. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  503. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
  504. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  505. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  506. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  507. package/mobile/dist/components/Footer/MediaButton.js +2 -8
  508. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  509. package/mobile/dist/components/Footer/TextInformation.js +3 -3
  510. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  511. package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  512. package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
  513. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  514. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  515. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  516. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  517. package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  518. package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
  519. package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
  520. package/mobile/dist/components/Header/Header.js +2 -2
  521. package/mobile/dist/components/Header/Header.js.map +1 -1
  522. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  523. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  524. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
  525. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  526. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  527. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  528. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  529. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  530. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  531. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  532. package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
  533. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  534. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  535. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
  536. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  537. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  538. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  539. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  540. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  541. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  542. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  543. package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
  544. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  545. package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
  546. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  547. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  548. package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  549. package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  550. package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  551. package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
  552. package/mobile/dist/components/RollupItem/getIconName.js +5 -0
  553. package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
  554. package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
  555. package/mobile/dist/components/RollupItem/labelSize.js +4 -0
  556. package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
  557. package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  558. package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
  559. package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  560. package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  561. package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
  562. package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  563. package/mobile/dist/components/Tile/Tile.js +2 -2
  564. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  565. package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
  566. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  567. package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  568. package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
  569. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  570. package/mobile/dist/icons/IconName.d.ts +12 -2
  571. package/mobile/dist/icons/IconName.js +11 -1
  572. package/mobile/dist/icons/IconName.js.map +1 -1
  573. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
  574. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  575. package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  576. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  577. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  578. package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  579. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  580. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  581. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  582. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  583. package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  584. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  585. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  586. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  587. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  588. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  589. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  590. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  591. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  592. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  593. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  594. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  595. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  596. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +1 -1
  597. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  598. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  599. package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  600. package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
  601. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  602. package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  603. package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  604. package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  605. package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  606. package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  607. package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  608. package/mobile/dist/ui-kit/List/List.js +2 -1
  609. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  610. package/mobile/dist/ui-kit/List/ListItem.js +5 -4
  611. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  612. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
  613. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  614. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  615. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  616. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  617. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  618. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  619. package/mobile/dist/utils/isEmpty.d.ts +1 -0
  620. package/mobile/dist/utils/isEmpty.js +9 -0
  621. package/mobile/dist/utils/isEmpty.js.map +1 -0
  622. package/mobile/dist/utils/joinList.d.ts +1 -1
  623. package/mobile/dist/utils/joinList.js +1 -3
  624. package/mobile/dist/utils/joinList.js.map +1 -1
  625. package/mobile/lib/common.css +1 -1
  626. package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
  627. package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
  628. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  629. package/mobile/lib/components/Blocks.js +0 -2
  630. package/mobile/lib/components/Blocks.js.map +1 -1
  631. package/mobile/lib/components/Calculator/checkCreditSourceBookRowCommonParams.d.ts +9 -0
  632. package/mobile/lib/components/Calculator/checkCreditSourceBookRowCommonParams.js +25 -0
  633. package/mobile/lib/components/Calculator/checkCreditSourceBookRowCommonParams.js.map +1 -0
  634. package/mobile/lib/components/Calculator/getCreditCalculatorLimitParams.d.ts +9 -0
  635. package/mobile/lib/components/Calculator/getCreditCalculatorLimitParams.js +7 -0
  636. package/mobile/lib/components/Calculator/getCreditCalculatorLimitParams.js.map +1 -0
  637. package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.d.ts +11 -0
  638. package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js +11 -0
  639. package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -0
  640. package/mobile/lib/components/Calculator/rangeHelpers.d.ts +2 -2
  641. package/mobile/lib/components/Calculator/rangeHelpers.js +4 -4
  642. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  643. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +27 -39
  644. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  645. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  646. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  647. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  648. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  649. package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  650. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  651. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  652. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  653. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  654. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  655. package/mobile/lib/components/Footer/Footer.js +3 -9
  656. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  657. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
  658. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  659. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  660. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  661. package/mobile/lib/components/Footer/MediaButton.js +1 -7
  662. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  663. package/mobile/lib/components/Footer/TextInformation.js +3 -3
  664. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  665. package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  666. package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
  667. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  668. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  669. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  670. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  671. package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  672. package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
  673. package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
  674. package/mobile/lib/components/Header/Header.js +2 -2
  675. package/mobile/lib/components/Header/Header.js.map +1 -1
  676. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  677. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  678. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
  679. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  680. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  681. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  682. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  683. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  684. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  685. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  686. package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
  687. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  688. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  689. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
  690. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  691. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  692. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  693. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  694. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  695. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  696. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  697. package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
  698. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  699. package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
  700. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  701. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  702. package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  703. package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  704. package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  705. package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
  706. package/mobile/lib/components/RollupItem/getIconName.js +2 -0
  707. package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
  708. package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
  709. package/mobile/lib/components/RollupItem/labelSize.js +2 -0
  710. package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
  711. package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  712. package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
  713. package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  714. package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  715. package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
  716. package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  717. package/mobile/lib/components/Tile/Tile.js +2 -2
  718. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  719. package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
  720. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  721. package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  722. package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
  723. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  724. package/mobile/lib/icons/IconName.d.ts +12 -2
  725. package/mobile/lib/icons/IconName.js +11 -1
  726. package/mobile/lib/icons/IconName.js.map +1 -1
  727. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
  728. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  729. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  730. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  731. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  732. package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  733. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  734. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  735. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  736. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  737. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  738. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  739. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  740. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  741. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  742. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  743. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  744. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  745. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  746. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  747. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  748. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  749. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  750. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +1 -1
  751. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  752. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  753. package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  754. package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
  755. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  756. package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  757. package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  758. package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  759. package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  760. package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  761. package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  762. package/mobile/lib/ui-kit/List/List.js +2 -1
  763. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  764. package/mobile/lib/ui-kit/List/ListItem.js +5 -4
  765. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  766. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
  767. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  768. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  769. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  770. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  771. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  772. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  773. package/mobile/lib/utils/isEmpty.d.ts +1 -0
  774. package/mobile/lib/utils/isEmpty.js +6 -0
  775. package/mobile/lib/utils/isEmpty.js.map +1 -0
  776. package/mobile/lib/utils/joinList.d.ts +1 -1
  777. package/mobile/lib/utils/joinList.js +1 -3
  778. package/mobile/lib/utils/joinList.js.map +1 -1
  779. package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
  780. package/mobile/src/components/Blocks.ts +0 -2
  781. package/mobile/src/components/Calculator/checkCreditSourceBookRowCommonParams.ts +47 -0
  782. package/mobile/src/components/Calculator/getCreditCalculatorLimitParams.ts +24 -0
  783. package/mobile/src/components/Calculator/getCreditCalculatorRateParams.ts +33 -0
  784. package/mobile/src/components/Calculator/rangeHelpers.ts +4 -4
  785. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +38 -73
  786. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  787. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  788. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  789. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  790. package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  791. package/mobile/src/components/Footer/Footer.tsx +21 -30
  792. package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
  793. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  794. package/mobile/src/components/Footer/MediaButton.tsx +1 -10
  795. package/mobile/src/components/Footer/TextInformation.tsx +17 -17
  796. package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
  797. package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  798. package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
  799. package/mobile/src/components/Header/Header.tsx +2 -2
  800. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  801. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  802. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
  803. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  804. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  805. package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
  806. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  807. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
  808. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  809. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
  810. package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
  811. package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
  812. package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
  813. package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  814. package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
  815. package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
  816. package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  817. package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
  818. package/mobile/src/components/Tile/Tile.tsx +2 -8
  819. package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
  820. package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
  821. package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
  822. package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
  823. package/mobile/src/icons/BagIcon.svg +1 -0
  824. package/mobile/src/icons/BriefcaseIcon.svg +7 -0
  825. package/mobile/src/icons/ClientIcon.svg +1 -0
  826. package/mobile/src/icons/IconName.ts +5 -5
  827. package/mobile/src/services/sitemap/SitemapData.ts +1 -1
  828. package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +36 -17
  829. package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  830. package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  831. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  832. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  833. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
  834. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  835. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  836. package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
  837. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  838. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +1 -1
  839. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  840. package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
  841. package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  842. package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  843. package/mobile/src/ui-kit/List/List.tsx +10 -11
  844. package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
  845. package/mobile/src/ui-kit/List/ListProps.ts +0 -2
  846. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
  847. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  848. package/mobile/src/utils/isEmpty.ts +6 -0
  849. package/mobile/src/utils/joinList.ts +4 -4
  850. package/package.json +1 -1
  851. package/src/components/BaseTile/BaseTile.tsx +32 -9
  852. package/src/components/Blocks.mobile.ts +0 -2
  853. package/src/components/Blocks.ts +6 -4
  854. package/src/components/Calculator/checkCreditSourceBookRowCommonParams.ts +47 -0
  855. package/src/components/Calculator/getCreditCalculatorLimitParams.ts +24 -0
  856. package/src/components/Calculator/getCreditCalculatorRateParams.ts +33 -0
  857. package/src/components/Calculator/rangeHelpers.ts +4 -4
  858. package/src/components/Calculator/useCreditCalculatorParams.ts +38 -73
  859. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  860. package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  861. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
  862. package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  863. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
  864. package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  865. package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  866. package/src/components/Footer/Footer.mobile.tsx +21 -30
  867. package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
  868. package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  869. package/src/components/Footer/MediaButton.tsx +1 -10
  870. package/src/components/Footer/TextInformation.tsx +6 -4
  871. package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
  872. package/src/components/Footer/buttonStylesWithText.ts +15 -0
  873. package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
  874. package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  875. package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
  876. package/src/components/Footer/textInformationTextSize.ts +1 -0
  877. package/src/components/Header/Header.mobile.tsx +2 -2
  878. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  879. package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  880. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
  881. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  882. package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +5 -5
  883. package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  884. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  885. package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -2
  886. package/src/components/ProductBlock/ProductBlock.tsx +14 -31
  887. package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  888. package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
  889. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  890. package/src/components/ProductBlock/renderBenefit.tsx +3 -12
  891. package/src/components/ProductGallery/ProductGallery.tsx +50 -73
  892. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +22 -2
  893. package/src/components/RollupItem/RollupItem.tsx +73 -34
  894. package/src/components/RollupItem/RollupItemContent.ts +2 -0
  895. package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
  896. package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  897. package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
  898. package/src/components/RollupItem/getIconName.tsx +1 -0
  899. package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
  900. package/src/components/RollupItem/labelSize.tsx +1 -0
  901. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
  902. package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  903. package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
  904. package/src/components/RollupItem/rollupItemStyles.ts +2 -0
  905. package/src/components/Tile/Tile.tsx +2 -8
  906. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +69 -1
  907. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -1
  908. package/src/content-page-repository/transformContentPage.ts +19 -7
  909. package/src/content-page-repository/transformDocumentLink.ts +37 -0
  910. package/src/icons/ArrowDownSolidIcon.svg +1 -0
  911. package/src/icons/ArrowUpSolidIcon.svg +1 -0
  912. package/src/icons/BagIcon.svg +1 -0
  913. package/src/icons/BriefcaseIcon.svg +7 -0
  914. package/src/icons/ClientIcon.svg +1 -0
  915. package/src/icons/IconName.ts +19 -1
  916. package/src/services/sitemap/SitemapData.ts +1 -1
  917. package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +36 -17
  918. package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  919. package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  920. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  921. package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  922. package/src/ui-kit/BlockWrapper.tsx +1 -9
  923. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  924. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  925. package/src/ui-kit/Icon/IconProps.ts +5 -0
  926. package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  927. package/src/ui-kit/Img/ImgAsPicture.tsx +1 -1
  928. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  929. package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
  930. package/src/ui-kit/LinkList/LinkList.tsx +25 -0
  931. package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  932. package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
  933. package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  934. package/src/ui-kit/List/List.tsx +10 -11
  935. package/src/ui-kit/List/ListItem.tsx +11 -7
  936. package/src/ui-kit/List/ListProps.ts +0 -2
  937. package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
  938. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  939. package/src/utils/isEmpty.ts +6 -0
  940. package/src/utils/joinList.ts +4 -4
  941. package/tailwind.config.cjs +3 -13
  942. package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  943. package/bundle/components/Filtration/Filtration.d.ts +0 -6
  944. package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  945. package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  946. package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
  947. package/bundle/components/LinkList/LinkList.d.ts +0 -5
  948. package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  949. package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  950. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  951. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  952. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  953. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  954. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  955. package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  956. package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  957. package/dist/components/Filtration/Filtration.d.ts +0 -6
  958. package/dist/components/Filtration/Filtration.js +0 -18
  959. package/dist/components/Filtration/Filtration.js.map +0 -1
  960. package/dist/components/Filtration/FiltrationContent.js.map +0 -1
  961. package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  962. package/dist/components/Filtration/FiltrationInner.js.map +0 -1
  963. package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  964. package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  965. package/dist/components/Filtration/renderFormItem.d.ts +0 -4
  966. package/dist/components/Filtration/renderFormItem.js.map +0 -1
  967. package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
  968. package/dist/components/Footer/TextInformation.mobile.js +0 -9
  969. package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
  970. package/dist/components/LinkList/LinkList.d.ts +0 -5
  971. package/dist/components/LinkList/LinkList.js +0 -13
  972. package/dist/components/LinkList/LinkList.js.map +0 -1
  973. package/dist/components/LinkList/LinkListContent.d.ts +0 -9
  974. package/dist/components/LinkList/LinkListContent.js.map +0 -1
  975. package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  976. package/dist/components/LinkList/linkListContentExample.js +0 -23
  977. package/dist/components/LinkList/linkListContentExample.js.map +0 -1
  978. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  979. package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
  980. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  981. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  982. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
  983. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  984. package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  985. package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
  986. package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
  987. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  988. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
  989. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  990. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  991. package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  992. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  993. package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  994. package/lib/components/BaseTile/BaseTileProps.js +0 -2
  995. package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  996. package/lib/components/Filtration/Filtration.d.ts +0 -6
  997. package/lib/components/Filtration/Filtration.js +0 -16
  998. package/lib/components/Filtration/Filtration.js.map +0 -1
  999. package/lib/components/Filtration/FiltrationContent.js +0 -2
  1000. package/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1001. package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1002. package/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1003. package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1004. package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1005. package/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1006. package/lib/components/Filtration/renderFormItem.js +0 -19
  1007. package/lib/components/Filtration/renderFormItem.js.map +0 -1
  1008. package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
  1009. package/lib/components/Footer/TextInformation.mobile.js +0 -7
  1010. package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
  1011. package/lib/components/LinkList/LinkList.d.ts +0 -5
  1012. package/lib/components/LinkList/LinkList.js +0 -11
  1013. package/lib/components/LinkList/LinkList.js.map +0 -1
  1014. package/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1015. package/lib/components/LinkList/LinkListContent.js +0 -2
  1016. package/lib/components/LinkList/LinkListContent.js.map +0 -1
  1017. package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1018. package/lib/components/LinkList/linkListContentExample.js +0 -21
  1019. package/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1020. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1021. package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
  1022. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  1023. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1024. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
  1025. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  1026. package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1027. package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
  1028. package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
  1029. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1030. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
  1031. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  1032. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1033. package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1034. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1035. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  1036. package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
  1037. package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  1038. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  1039. package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
  1040. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  1041. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  1042. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1043. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  1044. package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  1045. package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
  1046. package/mobile/dist/components/Filtration/Filtration.js +0 -18
  1047. package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
  1048. package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -84
  1049. package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
  1050. package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
  1051. package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  1052. package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
  1053. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  1054. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1055. package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
  1056. package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
  1057. package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
  1058. package/mobile/dist/components/LinkList/LinkList.js +0 -13
  1059. package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
  1060. package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
  1061. package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
  1062. package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
  1063. package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  1064. package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
  1065. package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
  1066. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1067. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  1068. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1069. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  1070. package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
  1071. package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  1072. package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
  1073. package/mobile/lib/components/Filtration/Filtration.js +0 -16
  1074. package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
  1075. package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -84
  1076. package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
  1077. package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1078. package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1079. package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1080. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1081. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1082. package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1083. package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
  1084. package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
  1085. package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
  1086. package/mobile/lib/components/LinkList/LinkList.js +0 -11
  1087. package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
  1088. package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1089. package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
  1090. package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
  1091. package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1092. package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
  1093. package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1094. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1095. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1096. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1097. package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
  1098. package/mobile/src/components/Filtration/Filtration.tsx +0 -38
  1099. package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1100. package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
  1101. package/mobile/src/components/LinkList/LinkList.example.json +0 -23
  1102. package/mobile/src/components/LinkList/LinkList.tsx +0 -29
  1103. package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
  1104. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1105. package/src/components/BaseTile/BaseTileProps.ts +0 -15
  1106. package/src/components/Filtration/Filtration.tsx +0 -38
  1107. package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1108. package/src/components/Filtration/renderFormItem.tsx +0 -36
  1109. package/src/components/Footer/TextInformation.mobile.tsx +0 -22
  1110. package/src/components/LinkList/LinkList.example.json +0 -23
  1111. package/src/components/LinkList/LinkList.fixture.tsx +0 -12
  1112. package/src/components/LinkList/LinkList.tsx +0 -29
  1113. package/src/components/LinkList/LinkListContent.ts +0 -10
  1114. package/src/components/LinkList/linkListContentExample.ts +0 -22
  1115. package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
  1116. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
  1117. package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
  1118. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
  1119. package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1120. /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1121. /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1122. /package/lib/components/{Filtration/Filtration.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
  1123. /package/lib/components/{LinkList/LinkList.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +0 -0
  1124. /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1125. /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1126. /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1127. /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1128. /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1129. /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1130. /package/mobile/src/components/{LinkList/LinkList.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
  1131. /package/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1132. /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1133. /package/src/components/{LinkList/LinkList.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
@@ -337,7 +337,7 @@
337
337
  transparent: 'bg-transparent text-primary-text',
338
338
  '': '',
339
339
  };
340
- const BlockWrapper = JSX(({ className = '', version = 'primary', isTheme = true, block, tag = 'section', role, children, }) => {
340
+ const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, block, tag = 'section', role, children }) => {
341
341
  const Tag = tag;
342
342
  const ref = useBlockIntersectionObserver(block);
343
343
  const [isHidden, setHidden] = useState(false);
@@ -1054,7 +1054,7 @@
1054
1054
  const renderImg = (image, imageClassName = '', isMobile = false) => {
1055
1055
  const style = {
1056
1056
  width: image.size?.width ? `${image.size?.width}px` : '100%',
1057
- height: image.size?.height ? `${image.size?.height}px` : '100%',
1057
+ height: image.size?.height ? `${image.size?.height}px` : 'auto',
1058
1058
  };
1059
1059
  const title = image.title || '';
1060
1060
  const alt = image.alt || image.title;
@@ -1181,7 +1181,7 @@
1181
1181
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
1182
1182
  };
1183
1183
 
1184
- const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1184
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'flex-wrap gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1185
1185
  const renderButton = (buttonClassName = '') => (button, index) => {
1186
1186
  const { text, icon, iconRight, version, ...rest } = button || {};
1187
1187
  const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
@@ -1328,13 +1328,13 @@
1328
1328
 
1329
1329
  const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => (jsxs("div", { className: style('mb-7', className), children: [title ? (jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title })) : null, value ? (jsx("div", { children: jsxs(Text, { size: "text-h3", children: [prefix, " ", toLocalNumberFormat(2)(Math.round(value)), " ", postfix] }) })) : (jsx("div", { children: jsx(Text, { size: "text-h3", children: "-" }) }))] })));
1330
1330
 
1331
- const DEFAULT_MIN_SUM = 10000;
1332
- const DEFAULT_MAX_SUM = 5000000;
1331
+ const DEFAULT_MIN_SUM$1 = 10000;
1332
+ const DEFAULT_MAX_SUM$1 = 5000000;
1333
1333
  const CREDIT_DEFAULT_SUM = 200000;
1334
1334
  const DEPOSIT_DEFAULT_SUM = 20000;
1335
- const DEFAULT_MIN_MONTHS = 13;
1336
- const DEFAULT_MAX_MONTHS = 60;
1337
- const DEFAULT_MONTHS = Math.round((DEFAULT_MAX_MONTHS - DEFAULT_MIN_MONTHS) / 2);
1335
+ const DEFAULT_MIN_MONTHS$1 = 13;
1336
+ const DEFAULT_MAX_MONTHS$1 = 60;
1337
+ const DEFAULT_MONTHS = Math.round((DEFAULT_MAX_MONTHS$1 - DEFAULT_MIN_MONTHS$1) / 2);
1338
1338
  const BUSINESS_DEFAULT_SUM = 100000;
1339
1339
  const BUSINESS_MIN_DAYS = 1;
1340
1340
  const BUSINESS_MAX_DAYS = 1095;
@@ -1345,10 +1345,10 @@
1345
1345
  const MONTHS_IN_YEAR = 12;
1346
1346
  const MONTHLY_INTEREST_RATE = MONTHS_IN_YEAR * 100;
1347
1347
  const DEFAULT_CREDIT_CALCULATOR_PARAMS = {
1348
- minSum: DEFAULT_MIN_SUM,
1349
- maxSum: DEFAULT_MAX_SUM,
1350
- minMonths: DEFAULT_MIN_MONTHS,
1351
- maxMonths: DEFAULT_MAX_MONTHS,
1348
+ minSum: DEFAULT_MIN_SUM$1,
1349
+ maxSum: DEFAULT_MAX_SUM$1,
1350
+ minMonths: DEFAULT_MIN_MONTHS$1,
1351
+ maxMonths: DEFAULT_MAX_MONTHS$1,
1352
1352
  rate: 12.5,
1353
1353
  isSalaryClient: false,
1354
1354
  isPensionClient: false,
@@ -1506,6 +1506,7 @@
1506
1506
  };
1507
1507
 
1508
1508
  const minBy = (discriminator = defaultDiscriminator) => maxBy((_) => -discriminator(_));
1509
+ const min = minBy();
1509
1510
 
1510
1511
  const getLimitRangeByKeys = ([minKey, maxKey], limitParams, rateRows = []) => limitParams && limitParams[minKey] && limitParams[maxKey]
1511
1512
  ? {
@@ -1514,8 +1515,8 @@
1514
1515
  }
1515
1516
  : getRangeByKeys([minKey, maxKey], rateRows);
1516
1517
  const getRangeByKeys = ([minKey, maxKey], rows = []) => ({
1517
- [minKey]: rows.length ? minBy()(rows.filter((row) => row[minKey]).map((row) => row[minKey])) : 0,
1518
- [maxKey]: rows.length ? maxBy()(rows.filter((row) => row[maxKey]).map((row) => row[maxKey])) : 0,
1518
+ [minKey]: rows.length ? min(rows.filter((row) => row[minKey]).map((row) => row[minKey])) : 0,
1519
+ [maxKey]: rows.length ? max(rows.filter((row) => row[maxKey]).map((row) => row[maxKey])) : 0,
1519
1520
  });
1520
1521
  const checkRangeByKeys = (value, [minKey, maxKey], sourceBookRow) => value >= sourceBookRow[minKey] && value <= sourceBookRow[maxKey];
1521
1522
 
@@ -1612,6 +1613,45 @@
1612
1613
  ],
1613
1614
  });
1614
1615
 
1616
+ const checkCreditSourceBookRowCommonParams = (props) => checkRowParam({
1617
+ ...props,
1618
+ fieldKey: 'isSalaryClient',
1619
+ viewSettingFieldKey: 'isShowSalaryClient',
1620
+ }) &&
1621
+ checkRowParam({
1622
+ ...props,
1623
+ fieldKey: 'isStateEmployee',
1624
+ viewSettingFieldKey: 'isShowStateEmployee',
1625
+ }) &&
1626
+ checkRowParam({
1627
+ ...props,
1628
+ fieldKey: 'isPensionClient',
1629
+ viewSettingFieldKey: 'isShowPensionClient',
1630
+ }) &&
1631
+ checkRowParam({
1632
+ ...props,
1633
+ fieldKey: 'isInsurance',
1634
+ viewSettingFieldKey: 'isShowInsurance',
1635
+ });
1636
+ const checkRowParam = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1637
+ const isExclude = paramsViewSettings ? !paramsViewSettings[viewSettingFieldKey] : false;
1638
+ return isExclude || userInputParams[fieldKey] === row[fieldKey];
1639
+ };
1640
+
1641
+ const getCreditCalculatorLimitParams = ({ limitRows, userInputParams, paramsViewSettings, }) => limitRows?.find((row) => checkCreditSourceBookRowCommonParams({
1642
+ row,
1643
+ userInputParams,
1644
+ paramsViewSettings,
1645
+ }));
1646
+
1647
+ const getCreditCalculatorRateParams = ({ rateRows = [], userInputParams, paramsViewSettings, moneyValue, monthsValue, }) => rateRows?.find((row) => checkCreditSourceBookRowCommonParams({
1648
+ row,
1649
+ userInputParams,
1650
+ paramsViewSettings,
1651
+ }) &&
1652
+ checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
1653
+ checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_CREDIT_CALCULATOR_PARAMS;
1654
+
1615
1655
  /**
1616
1656
  * Формулы расчёта аннуитетных и дифференцированных платежей:
1617
1657
  * https://finuslugi.ru/potrebitelskie_kredity/stat_annuitetnye_i_differentsirovannye_platezhi
@@ -1631,55 +1671,40 @@
1631
1671
  };
1632
1672
 
1633
1673
  const useCreditCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
1634
- const { moneyValue, monthsValue } = userInputParams;
1674
+ let { moneyValue, monthsValue } = userInputParams;
1635
1675
  const data = useCalculatorParams(sourceBookDir || CREDIT_CALC_DEFAULT_DIR);
1636
- const creditCalculatorSourceBookLimitParams = data?.limitRows?.find((row) => checkRowCommonParams({
1637
- row,
1676
+ const rateRows = data?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
1677
+ const limitRows = data?.limitRows || [];
1678
+ const creditCalculatorSourceBookLimitParams = getCreditCalculatorLimitParams({
1679
+ limitRows,
1638
1680
  userInputParams,
1639
1681
  paramsViewSettings,
1640
- }));
1641
- const creditCalculatorSourceBookRateParams = data?.rateRows?.find((row) => checkRowCommonParams({
1642
- row,
1682
+ });
1683
+ const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], creditCalculatorSourceBookLimitParams, rateRows);
1684
+ const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], creditCalculatorSourceBookLimitParams, rateRows);
1685
+ moneyValue = clamp(moneyValue, minSum, maxSum);
1686
+ monthsValue = clamp(monthsValue, minMonths, maxMonths);
1687
+ const creditCalculatorRateParams = getCreditCalculatorRateParams({
1688
+ rateRows,
1643
1689
  userInputParams,
1644
1690
  paramsViewSettings,
1645
- }) &&
1646
- checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
1647
- checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_CREDIT_CALCULATOR_PARAMS;
1648
- const { rate } = creditCalculatorSourceBookRateParams;
1691
+ moneyValue,
1692
+ monthsValue,
1693
+ });
1694
+ const { rate } = creditCalculatorRateParams;
1649
1695
  const monthlyPayment = getMonthlyPayment(rate, userInputParams);
1650
- const rateRows = data?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
1651
1696
  return useMemo(() => ({
1652
- ...creditCalculatorSourceBookRateParams,
1653
- ...getLimitRangeByKeys(['minSum', 'maxSum'], creditCalculatorSourceBookLimitParams, rateRows),
1654
- ...getLimitRangeByKeys(['minMonths', 'maxMonths'], creditCalculatorSourceBookLimitParams, rateRows),
1697
+ ...creditCalculatorRateParams,
1655
1698
  ...userInputParams,
1699
+ minSum,
1700
+ maxSum,
1701
+ minMonths,
1702
+ maxMonths,
1703
+ moneyValue,
1704
+ monthsValue,
1656
1705
  monthlyPayment,
1657
1706
  }), [userInputParams, data]);
1658
1707
  };
1659
- const checkRowCommonParams = (props) => checkRowParam({
1660
- ...props,
1661
- fieldKey: 'isSalaryClient',
1662
- viewSettingFieldKey: 'isShowSalaryClient',
1663
- }) &&
1664
- checkRowParam({
1665
- ...props,
1666
- fieldKey: 'isStateEmployee',
1667
- viewSettingFieldKey: 'isShowStateEmployee',
1668
- }) &&
1669
- checkRowParam({
1670
- ...props,
1671
- fieldKey: 'isPensionClient',
1672
- viewSettingFieldKey: 'isShowPensionClient',
1673
- }) &&
1674
- checkRowParam({
1675
- ...props,
1676
- fieldKey: 'isInsurance',
1677
- viewSettingFieldKey: 'isShowInsurance',
1678
- });
1679
- const checkRowParam = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1680
- const isExclude = paramsViewSettings ? !paramsViewSettings[viewSettingFieldKey] : false;
1681
- return isExclude || userInputParams[fieldKey] === row[fieldKey];
1682
- };
1683
1708
 
1684
1709
  const CreditCalculatorForm = JSX(({ className, sourceBookDir, buttons, footnote, paramsViewSettings }) => {
1685
1710
  const [userInputParams, { field }] = useForm({
@@ -2232,22 +2257,14 @@
2232
2257
  return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2233
2258
  });
2234
2259
 
2235
- const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
2260
+ const BaseTile = JSX(({ className, title = '', insetTitle = '', buttons, leftImage, rightImage, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col font-sans', className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title, jsxs("div", { className: "grow relative flex flex-wrap md:flex-nowrap justify-between items-stretch gap-8", children: [leftImage, jsxs("div", { className: style('flex flex-col gap-8', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), rightImage ? jsx("div", { className: "-order-1 lg:order-1", children: rightImage }) : null] })] })));
2236
2261
 
2237
2262
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
2238
2263
  const cardColumnsModeStyleMap = {
2239
2264
  1: 'flex-col',
2240
2265
  2: 'gap-x-10 flex-wrap',
2241
2266
  };
2242
- const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => {
2243
- const tileTitle = title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
2244
- const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2245
- return (jsx(BlockWrapper, { className: [
2246
- 'relative box-border text-left p-9 w-[697px]',
2247
- 'border border-solid border-gray group-data-secondary:border-white/50',
2248
- className,
2249
- ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 flex gap-y-2 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
2250
- });
2267
+ const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('box-border text-left p-9 w-[697px]', 'border border-solid border-gray group-data-secondary:border-white/50', className), ...rest, children: jsxs(BaseTile, { title: title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title }) : null, backImage: image?.src ? jsx(ImgInner, { className: "m-0", image: image }) : null, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
2251
2268
  const renderCardList = (cardsList, columnsMode) => {
2252
2269
  const CARDS_COUNT_MAP = [4, 9];
2253
2270
  const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
@@ -2276,11 +2293,11 @@
2276
2293
  };
2277
2294
 
2278
2295
  const DOT_SIZE_MAP = {
2279
- L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
2280
- M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
2281
- S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
2296
+ L: 'w-1.5 h-1.5 mr-4',
2297
+ M: 'w-1.5 h-1.5 mr-3',
2298
+ S: 'w-1 h-1 mr-2',
2282
2299
  };
2283
- const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] })));
2300
+ const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
2284
2301
 
2285
2302
  const TEXT_SIZE_MAP = {
2286
2303
  S: 'text-l-light',
@@ -2292,7 +2309,7 @@
2292
2309
  M: 'ml-3',
2293
2310
  L: 'ml-4',
2294
2311
  };
2295
- const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2312
+ const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2296
2313
 
2297
2314
  const CarouselProductCard = JSX(({ additionalDescription, align = 'text-center', button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isFullWidth = true, items = [], target, title, version = 'primary', ...rest }) => {
2298
2315
  return (jsxs(BlockWrapper, { className: style('h-full flex flex-col justify-between min-w-[260px]', 'box-border border-solid border border-gray', align, className), version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-6", href: href, target: target, children: [renderImage$3(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), renderItems(items, isDotted, version), renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
@@ -2304,13 +2321,21 @@
2304
2321
  const renderCardTitle = (headlineSmallVersion, title) => title ? (jsx("div", { children: jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) })) : null;
2305
2322
  const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2306
2323
  const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
2307
- const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2324
+ const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('max-w-[308px] mt-2 text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2308
2325
 
2309
2326
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2310
2327
  return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: "mb-3.5", headingType: "h5", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) })) : null] })] }) }));
2311
2328
  });
2312
2329
  const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: "text-h6", children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
2313
2330
 
2331
+ const buttonSizeStyles = {
2332
+ default: 'w-14 h-14',
2333
+ small: 'w-12 h-12',
2334
+ };
2335
+ const buttonStylesWithText = (text, buttonSize) => text
2336
+ ? ''
2337
+ : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2338
+
2314
2339
  const ICONS_MAP = [
2315
2340
  {
2316
2341
  origins: ['t.me', 'telegram.org'],
@@ -2343,13 +2368,6 @@
2343
2368
  label: 'Youtube',
2344
2369
  },
2345
2370
  ];
2346
- const buttonSizeStyles = {
2347
- default: 'w-14 h-14',
2348
- small: 'w-12 h-12',
2349
- };
2350
- const buttonStylesWithText = (text, buttonSize) => text
2351
- ? ''
2352
- : `group/media flex items-center justify-center box-border ${buttonSizeStyles[buttonSize]}`;
2353
2371
  const MediaButton = JSX(({ buttonSize = 'default', rounded = false, icon, ...rest }) => {
2354
2372
  const { href, version, text = '' } = rest;
2355
2373
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
@@ -2363,7 +2381,7 @@
2363
2381
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2364
2382
 
2365
2383
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2366
- return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? (jsx(List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2384
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? jsx(List, { items: items, listItemSize: "S" }) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2367
2385
  });
2368
2386
  const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2369
2387
 
@@ -2489,6 +2507,124 @@
2489
2507
  const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2490
2508
  const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
2491
2509
 
2510
+ const isEmpty = (v) => v === null ||
2511
+ v === undefined ||
2512
+ v === '' ||
2513
+ (Array.isArray(v) && v.length === 0) ||
2514
+ (typeof v === 'object' && Object.keys(v).length === 0);
2515
+
2516
+ const isSingularFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) || isEmpty(target[key]) || pattern[key] === target[key];
2517
+ const isMultipleFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) ||
2518
+ isEmpty(target[key]) ||
2519
+ pattern[key]?.some((_) => target[key]?.includes(_));
2520
+ const isNumberFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) ||
2521
+ isEmpty(target[key]) ||
2522
+ naturalNumber(pattern[key]) <= naturalNumber(target[key]);
2523
+ const isValueInRange = (key, pattern) => (target) => isEmpty(pattern[key]) ||
2524
+ isEmpty(target[key]) ||
2525
+ (naturalNumber(pattern[key]?.min) >= naturalNumber(target[key]?.min) &&
2526
+ naturalNumber(pattern[key]?.min) <= naturalNumber(target[key]?.max));
2527
+ const checkShouldRenderBlock = (pattern, target) => Object.entries(pattern)
2528
+ .map(([key, subPattern]) => {
2529
+ if (typeof subPattern === 'number') {
2530
+ return isNumberFieldMatch(key, pattern);
2531
+ }
2532
+ if (typeof subPattern === 'object') {
2533
+ if ('min' in subPattern && 'max' in subPattern) {
2534
+ return isValueInRange(key, pattern);
2535
+ }
2536
+ }
2537
+ return Array.isArray(subPattern)
2538
+ ? isMultipleFieldMatch(key, pattern)
2539
+ : isSingularFieldMatch(key, pattern);
2540
+ })
2541
+ .every((predicate) => predicate(target));
2542
+ const naturalNumber = (n) => Number(n || 0);
2543
+
2544
+ const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2545
+ return (jsxs("button", { className: style('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
2546
+ ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2547
+ : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(ImgInner, { image: {
2548
+ icon,
2549
+ iconVersion: 'white',
2550
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
2551
+ });
2552
+ const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
2553
+ const labels = ['Развернуть', 'Скрыть'];
2554
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2555
+ return (jsx(DefaultFoldButton, { icon: icons[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
2556
+ };
2557
+
2558
+ const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
2559
+ const resultsGridStyle = 'grid grid-cols-12 gap-1 border-box';
2560
+ const BaseFiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
2561
+ const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
2562
+ const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
2563
+ ? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
2564
+ : [blocksToRender, []];
2565
+ return (jsxs("div", { children: [jsx("div", { className: style(blocksToRender.length ? 'hidden' : 'block'), children: notFound ? renderNotFound(notFound) : null }), jsxs("div", { className: style(blocksToRender.length ? '' : 'hidden'), children: [jsx("div", { className: style('mb-1', resultsGridStyle), children: renderBlocksList(visibleBlocks, { ...rest.options, parent: block }) }), jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => {
2566
+ return (jsx(FoldableSection, { className: style(resultsGridStyle, isUnfolded ? 'mb-1' : ''), isUnfolded: isUnfolded, children: renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }) }));
2567
+ }, renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { className: style(topItemsCount < 1 ? 'hidden' : ''), disabled: !hiddenBlocks?.length, label: label, icon: ICONS[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette, onClick: onToggle })) })] })] }));
2568
+ });
2569
+ function renderNotFound({ title, description }) {
2570
+ return (jsxs("div", { className: "bg-white py-20", children: [title ? (jsx("div", { className: "mb-2", children: jsx(Paragraph, { align: "text-center", children: jsx(Text, { size: "text-h4", children: title }) }) })) : null, description ? (jsx(Paragraph, { size: "text-xl", font: "font-light", align: "text-center", children: description })) : null] }));
2571
+ }
2572
+
2573
+ const SlideCheckboxGroup = JSX(({ value, onChange, items = [], multiple }) => {
2574
+ const handleChange = (newValue) => {
2575
+ if (!onChange) {
2576
+ return;
2577
+ }
2578
+ if (multiple) {
2579
+ const hasAlready = value?.includes(newValue);
2580
+ onChange(hasAlready ? (value || []).filter((v) => v !== newValue) : [...(value || []), newValue]);
2581
+ }
2582
+ else {
2583
+ onChange(value === newValue ? '' : newValue);
2584
+ }
2585
+ };
2586
+ return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
2587
+ });
2588
+
2589
+ const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex justify-between bg-white p-9 mb-1", children: [jsxs("div", { className: "flex gap-11", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-72 ml-3", onClick: reset, ...resetButton }) })) : null] }));
2590
+ const renderFormItem = (field) => ([key, item]) => {
2591
+ const type = item?.type;
2592
+ switch (type) {
2593
+ case 'array':
2594
+ return renderCheckboxes(key, field)(item);
2595
+ default:
2596
+ return null;
2597
+ }
2598
+ };
2599
+ const renderCheckboxes = (key, field) => (item) => {
2600
+ const options = item?.items?.enum?.map((e, i) => ({ value: e, title: item?.items?.enumNames?.[i] || '' })) ||
2601
+ [];
2602
+ return (jsxs("div", { children: [item?.title ? (jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.title }) })) : null, jsx(SlideCheckboxGroup, { items: options, multiple: true, ...field(key) })] }, key));
2603
+ };
2604
+
2605
+ const initialFiltrationState$1 = {
2606
+ sum: 500,
2607
+ period: {
2608
+ min: 3,
2609
+ max: 36,
2610
+ },
2611
+ };
2612
+ const DEFAULT_MIN_MONTHS = 3;
2613
+ const DEFAULT_MAX_MONTHS = 36;
2614
+ const DEFAULT_MIN_SUM = 500;
2615
+ const DEFAULT_MAX_SUM = 1000000000;
2616
+ const DepositFiltration = JSX(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
2617
+ const [filtrationState, { field, reset }] = useForm(initialFiltrationState$1);
2618
+ const maxValue = periodInput?.max || DEFAULT_MAX_MONTHS;
2619
+ const Inputs = (jsxs("div", { children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', { parse: Number, format: String }) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 3 лет'], min: periodInput?.min || DEFAULT_MIN_MONTHS, max: maxValue, ...field('period', {
2620
+ parse: (min) => ({ min, max: maxValue }),
2621
+ format: ({ min }) => min,
2622
+ }) })] }));
2623
+ return (jsxs(BlockWrapper, { className: style(className), version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2624
+ });
2625
+ DepositFiltration.childrenTypes = ['ProductTile'];
2626
+ DepositFiltration.childSchema = (content) => content?.filtrationSchema || {};
2627
+
2492
2628
  const renderErrorContent = (error) => {
2493
2629
  if (error?.errorContentType === 'Image' && error?.image) {
2494
2630
  return jsx(ImgInner, { image: error.image });
@@ -2718,83 +2854,6 @@
2718
2854
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
2719
2855
  };
2720
2856
 
2721
- const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2722
- return (jsxs("button", { className: style('flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text', disabled
2723
- ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2724
- : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(ImgInner, { image: {
2725
- icon,
2726
- iconVersion: 'white',
2727
- }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
2728
- });
2729
- const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
2730
- const labels = ['Развернуть', 'Скрыть'];
2731
- const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2732
- return (jsx(DefaultFoldButton, { icon: icons[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
2733
- };
2734
-
2735
- const isSingularFieldMatch = (key, pattern) => (target) => pattern[key] === undefined || pattern[key] === target[key];
2736
- const isMultipleFieldMatch = (key, pattern) => (target) => pattern[key] === undefined || pattern[key]?.every((_) => target[key]?.includes(_));
2737
- const checkShouldRenderBlock = (pattern, target) => Object.entries(pattern)
2738
- .map(([key, subPattern]) => Array.isArray(subPattern)
2739
- ? isMultipleFieldMatch(key, pattern)
2740
- : isSingularFieldMatch(key, pattern))
2741
- .every((predicate) => predicate(target));
2742
-
2743
- const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
2744
- const resultsGridStyle = 'grid grid-cols-12 gap-1 border-box';
2745
- const FiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
2746
- const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
2747
- const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
2748
- ? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
2749
- : [blocksToRender, []];
2750
- return (jsxs("div", { children: [jsx("div", { className: style(blocksToRender.length ? 'hidden' : 'block'), children: notFound ? renderNotFound(notFound) : null }), jsxs("div", { className: style(blocksToRender.length ? '' : 'hidden'), children: [jsx("div", { className: style('mb-1', resultsGridStyle), children: renderBlocksList(visibleBlocks, { ...rest.options, parent: block }) }), jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => {
2751
- return (jsx(FoldableSection, { className: style(resultsGridStyle, isUnfolded ? 'mb-1' : ''), isUnfolded: isUnfolded, children: renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }) }));
2752
- }, renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { className: style(topItemsCount < 1 ? 'hidden' : ''), disabled: !hiddenBlocks?.length, label: label, icon: ICONS[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette, onClick: onToggle })) })] })] }));
2753
- });
2754
- function renderNotFound({ title, description }) {
2755
- return (jsxs("div", { className: "bg-white py-20", children: [title ? (jsx("div", { className: "mb-2", children: jsx(Paragraph, { align: "text-center", children: jsx(Text, { size: "text-h4", children: title }) }) })) : null, description ? (jsx(Paragraph, { size: "text-xl", font: "font-light", align: "text-center", children: description })) : null] }));
2756
- }
2757
-
2758
- const SlideCheckboxGroup = JSX(({ value, onChange, items = [], multiple }) => {
2759
- const handleChange = (newValue) => {
2760
- if (!onChange) {
2761
- return;
2762
- }
2763
- if (multiple) {
2764
- const hasAlready = value?.includes(newValue);
2765
- onChange(hasAlready ? (value || []).filter((v) => v !== newValue) : [...(value || []), newValue]);
2766
- }
2767
- else {
2768
- onChange(value === newValue ? '' : newValue);
2769
- }
2770
- };
2771
- return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
2772
- });
2773
-
2774
- const renderFormItem = (filtrationSchema, field) => (key) => {
2775
- const item = filtrationSchema[key];
2776
- const type = item?.type;
2777
- switch (type) {
2778
- case 'array':
2779
- return renderCheckboxes(key, field)(item);
2780
- default:
2781
- return null;
2782
- }
2783
- };
2784
- const renderCheckboxes = (key, field) => (item) => {
2785
- const options = item?.items?.enum?.map((e, i) => ({ value: e, title: item?.items?.enumNames?.[i] || '' })) ||
2786
- [];
2787
- return (jsxs("div", { children: [item?.title ? (jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.title }) })) : null, jsx(SlideCheckboxGroup, { items: options, multiple: true, ...field(key) })] }, key));
2788
- };
2789
-
2790
- const initialFiltrationState = {};
2791
- const Filtration = JSX(({ className, filtrationSchema = {}, resetButton, ...rest }) => {
2792
- const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
2793
- return (jsxs(BlockWrapper, { className: style(className), version: "transparent", ...rest, children: [jsxs("form", { className: "flex justify-between bg-white p-9 mb-1", children: [jsx("div", { className: "flex gap-11", children: Object.keys(filtrationSchema).map(renderFormItem(filtrationSchema, field)) }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-72 ml-3", onClick: reset, ...resetButton }) })) : null] }), jsx(FiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2794
- });
2795
- Filtration.childrenTypes = ['ProductTile'];
2796
- Filtration.childSchema = (content) => content?.filtrationSchema || {};
2797
-
2798
2857
  const EMPTY_VALUE$1 = {};
2799
2858
  function useSWRResource(filename, fallback = {}) {
2800
2859
  const { data } = useAsyncData(`/wcms-resources/${filename}.json`, fetchJSONUnsafe, {
@@ -3063,11 +3122,11 @@
3063
3122
  return (jsx("a", { className: style('text-l-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
3064
3123
  });
3065
3124
 
3066
- const SearchInput = JSX(({ className, isMobile, value, autoFocus, onChange, onFocus }) => {
3125
+ const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
3067
3126
  const handleChange = useCallback((ev) => {
3068
3127
  onChange && onChange(ev.target?.value || '');
3069
3128
  }, [onChange]);
3070
- return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(ImgInner, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text', isMobile ? '' : 'h-full'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3129
+ return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(ImgInner, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3071
3130
  });
3072
3131
 
3073
3132
  const SEARCH_DIALOG_ID = 'search';
@@ -3099,7 +3158,7 @@
3099
3158
  }
3100
3159
 
3101
3160
  const MIN_QUERY_LEN = 3;
3102
- const SearchBarInner = JSX(({ className, isMobile }) => {
3161
+ const SearchBar$1 = JSX(({ className }) => {
3103
3162
  const [value, setValue] = useState('');
3104
3163
  const resetQueryOnDialogClose = useCallback(() => setValue(''), []);
3105
3164
  useDialogHandlers({ onClose: resetQueryOnDialogClose });
@@ -3110,12 +3169,10 @@
3110
3169
  open(_);
3111
3170
  }
3112
3171
  }, []);
3113
- return (jsxs("div", { className: className, children: [jsx(SearchInput, { isMobile: isMobile, value: value, onChange: handleInitialInputChange }), isMobile ? (jsx(CloseButton, { className: "absolute top-2 right-3", onClick: resetQueryOnDialogClose })) : null] }));
3172
+ return (jsxs("div", { className: className, children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-2 right-3 sm:hidden", onClick: resetQueryOnDialogClose })] }));
3114
3173
  });
3115
3174
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
3116
3175
 
3117
- const SearchBar$1 = JSX((props) => jsx(SearchBarInner, { ...props }));
3118
-
3119
3176
  const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3120
3177
  const renderContact = (item, index) => {
3121
3178
  const { type, text, description } = item;
@@ -3133,10 +3190,12 @@
3133
3190
  };
3134
3191
  const formatTel = (s) => s.replaceAll(/\D/g, '');
3135
3192
 
3193
+ const horizontalNavigationLinkStyles = 'text-secondary-text';
3194
+
3136
3195
  const HorizontalNavigationLink = JSX(({ className = '', index, text, ...rest }) => {
3137
3196
  const link = useLink();
3138
3197
  const { href, target, onClick } = link(rest);
3139
- return (jsx("a", { className: `text-secondary-text hover:text-primary-main inline-block no-underline ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
3198
+ return (jsx("a", { className: style(horizontalNavigationLinkStyles, className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
3140
3199
  });
3141
3200
 
3142
3201
  const HorizontalNavigation = JSX(({ className = '', links }) => {
@@ -3149,7 +3208,9 @@
3149
3208
  return (jsx("a", { className: `text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
3150
3209
  });
3151
3210
 
3152
- const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-5", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-2.5", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3211
+ const textInformationTextSize = 'text-xs-light';
3212
+
3213
+ const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-4 xl:pt-5", children: jsx(Text, { size: textInformationTextSize, color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-4", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3153
3214
 
3154
3215
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
3155
3216
  const Footer = JSX(({ className = '', ...rest }) => {
@@ -3532,9 +3593,7 @@
3532
3593
  return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m-light ${btnClassName}`, children: title }, String(i)));
3533
3594
  }
3534
3595
 
3535
- function joinList(sep) {
3536
- return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
3537
- }
3596
+ const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
3538
3597
 
3539
3598
  const investmentCellColorMap = {
3540
3599
  yellow: 'bg-yellow',
@@ -3555,7 +3614,7 @@
3555
3614
  if (investmentZeroColumn) {
3556
3615
  colums.unshift(investmentZeroColumn);
3557
3616
  }
3558
- return (jsx(BlockWrapper, { className: `px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
3617
+ return (jsx(BlockWrapper, { className: `px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3559
3618
  });
3560
3619
  const renderInvestmentColumn = (column, i, arr) => {
3561
3620
  const isSecondColumn = i === 1;
@@ -3629,10 +3688,18 @@
3629
3688
  }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList$1(items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
3630
3689
  });
3631
3690
  const renderList$1 = (items) => {
3632
- return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
3691
+ return items?.length ? (jsx(List, { items: items, listItemSize: "S" })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
3633
3692
  };
3634
3693
  const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
3635
3694
 
3695
+ const initialFiltrationState = {};
3696
+ const MortgageFiltration = JSX(({ className, filtrationSchema = {}, resetButton, ...rest }) => {
3697
+ const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
3698
+ return (jsxs(BlockWrapper, { className: style(className), version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
3699
+ });
3700
+ MortgageFiltration.childrenTypes = ['ProductTile'];
3701
+ MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
3702
+
3636
3703
  const mockPoints = [
3637
3704
  { coords: [55.77, 37.46], text: 'Трактир' },
3638
3705
  { coords: [55.66, 37.48], text: 'Трактор' },
@@ -3991,11 +4058,7 @@
3991
4058
 
3992
4059
  const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
3993
4060
 
3994
- const BenefitItem = JSX((props) => {
3995
- const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
3996
- const listItemAlign = description ? 'items-start' : 'items-center';
3997
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
3998
- });
4061
+ const BenefitItem = JSX(({ className, icon, label, description, version = 'primary', benefitsVersion = 'normal' }) => (jsxs("div", { className: style('flex gap-5', description ? 'items-start' : 'items-center', className), children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { children: [label ? (jsx(Text, { size: "text-h6", color: "text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx(Paragraph, { size: "text-m-light", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
3999
4062
  function getBenefitIconBgStyle(version, benefitsVersion) {
4000
4063
  let bgColorStyle = 'bg-primary-main text-black';
4001
4064
  if (version === 'secondary') {
@@ -4073,64 +4136,45 @@
4073
4136
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
4074
4137
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4075
4138
 
4076
- const Breadcrumb = JSX(({ className = '', children, ...props }) => {
4077
- const link = useLink();
4078
- const { text, href, target, onClick } = link(props);
4079
- return href ? (jsx("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: jsx("span", { className: className, children: text || children }) })) : (jsx("span", { className: className, children: text || children }));
4080
- });
4139
+ const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => (props, i) => jsx(BenefitItem, { version: version, benefitsVersion: benefitsVersion, ...props }, String(i));
4081
4140
 
4082
- const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
4083
-
4084
- const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', directionRight = true, }) => {
4085
- const benefitsCount = benefits?.filter((_) => _.label)?.length;
4086
- const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
4087
- return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [image?.src ? (jsx(ImgInner, { className: style('mt-[-50px]', directionRight ? 'order-2' : ''), image: image })) : null, jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] })] })] }));
4141
+ const ProductBlockInner = JSX(({ className, version = 'primary', headlineVersion = 'L', title, description, benefits, benefitsVersion, items, isDotted = true, __html, buttons, image, directionRight = true, }) => {
4142
+ const benefitsWithLabel = benefits?.filter((_) => _.label);
4143
+ const img = image?.src ? jsx(ImgInner, { className: "mt-[-50px]", image: image }) : null;
4144
+ return (jsxs(BaseTile, { className: className, insetTitle: jsx(Headline, { className: "max-w-[600px] xl:max-w-[728px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", isPadding: false }), ...(directionRight ? { rightImage: img } : { leftImage: img }), buttons: renderButtonsSection(buttons), children: [benefitsWithLabel?.length ? (jsx("div", { className: "flex flex-wrap gap-6", children: benefitsWithLabel.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? jsx(List, { className: "mt-5", items: items, isDotted: isDotted }) : null] }));
4088
4145
  });
4089
- const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
4090
- ? 'inline-grid grid-cols-[auto_auto_auto]'
4091
- : 'inline-grid grid-cols-[auto_auto]'}`;
4092
4146
 
4093
- function renderBackwardButton(button, version, className) {
4094
- const { text, href, target } = button;
4147
+ function renderBackwardButton({ text, href, target, icon }, version) {
4095
4148
  const iconVersion = version === 'primary' ? 'white' : 'black';
4096
- const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
4097
- return (jsxs("div", { className: style('flex items-center', className), children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion } }) }), text ? (jsx(Button, { version: "link", text: text, href: href, target: target, ariaLabel: text })) : null] }));
4149
+ const commonProps = { text, href, target, ariaLabel: text };
4150
+ return (jsxs("div", { className: "flex items-center gap-3", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(ImgInner, { className: "w-4 h-4", image: {
4151
+ ...icon,
4152
+ icon: icon?.icon || 'ArrowLeftIcon',
4153
+ iconVersion: icon?.iconVersion || iconVersion,
4154
+ } }) }), jsx(Button, { version: "link", ...commonProps })] }));
4098
4155
  }
4099
4156
 
4100
- const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
4101
- const ProductBlock = JSX((props) => {
4102
- const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
4103
- const buttonVersion = version === 'primary' ? version : 'white';
4104
- return (jsxs(BlockWrapper, { className: style('overflow-hidden p-default flex flex-col box-border min-h-[454px]', className), version: version, ...rest, children: [backwardButton?.text ? renderBackwardButton(backwardButton, buttonVersion) : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: style('mx-2', breadcrumbStyle), children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { className: "mt-10", version: version, ...rest })] }));
4105
- });
4157
+ const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-default flex flex-col gap-10 box-border', className), ...rest, children: [backwardButton?.text
4158
+ ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
4159
+ : null, jsx(ProductBlockInner, { className: "grow", ...rest })] })));
4106
4160
 
4107
4161
  const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
4108
- const galleryNav = slides.map((s) => s.nav);
4109
- const galleryBlocks = slides.map((s) => s.productBlock);
4110
4162
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
4111
- const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
4112
- return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
4113
- slide,
4114
- i,
4115
- isActive: Boolean(i === activeSlideIndex),
4116
- onClick: () => handleActiveSlideIndex(i),
4117
- })) })] }));
4163
+ return (jsxs(BlockWrapper, { className: style('box-border py-default overflow-hidden', className), ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(ProductBlockInner, { className: "pl-default h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-6 mt-6 -mb-6 flex items-center gap-2 box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
4118
4164
  });
4119
- function renderProductBlock(block, i) {
4120
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
4121
- }
4122
- function renderNavButton({ slide, i, isActive, onClick }) {
4165
+ const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
4166
+ const isActive = i === activeSlideIndex;
4123
4167
  const btnClassName = isActive
4124
- ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
4125
- : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
4168
+ ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
4169
+ : 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
4126
4170
  const btnTitleClassName = isActive
4127
- ? 'text-primary-text !text-h6 p-2'
4171
+ ? 'text-primary-text text-h6 py-2'
4128
4172
  : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
4129
4173
  const btnDescClassName = isActive
4130
4174
  ? 'text-secondary-text text-l-light'
4131
4175
  : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
4132
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
4133
- }
4176
+ return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
4177
+ };
4134
4178
 
4135
4179
  function renderAdditionalDescription(additionalDescription, image) {
4136
4180
  if (!additionalDescription) {
@@ -4193,24 +4237,58 @@
4193
4237
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
4194
4238
  }
4195
4239
 
4240
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left p-9', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between", children: [title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
4241
+ ? renderButtonsSection([button], {
4242
+ className: 'mb-6',
4243
+ })
4244
+ : null] })] })));
4245
+ const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon }) : null] }));
4246
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4247
+ const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4248
+
4196
4249
  const RichTextBlock = JSX((props) => {
4197
4250
  const { __html, richVersion, ...rest } = props;
4198
4251
  return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
4199
4252
  });
4200
4253
 
4201
- const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `w-full border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: `grid grid-cols-12 gap-5 [&>*]:p-0`, isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
4254
+ const iconBgStyles = {
4255
+ primary: 'bg-main-divider',
4256
+ secondary: 'bg-white/30',
4257
+ 'secondary-light': 'bg-secondary-light',
4258
+ };
4259
+ const RoundedIcon = JSX(({ iconBgVersion = 'primary', ...rest }) => (jsx("div", { className: style('rounded-icon p-2.5 mr-3', iconBgStyles[iconBgVersion]), children: jsx(Icon, { ...rest }) })));
4260
+
4261
+ const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
4262
+
4263
+ const getIconName = (isUnfolded) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
4264
+
4265
+ const labelSize = 'text-h6';
4266
+
4267
+ const rollupIconVersion = 'color';
4268
+
4269
+ const rollupItemStyles = 'border-0 border-b border-solid border-main-divider last:border-b-0';
4270
+
4271
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4272
+ return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle }) }) }));
4273
+ });
4202
4274
  RollupItem.childrenTypes = {
4203
4275
  exclude: ['RollupItem'],
4204
4276
  };
4205
- const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
4277
+ const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
4206
4278
  const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
4207
4279
  return version === 'primary' ? (renderPrimaryFoldButton({
4208
4280
  label,
4209
- icon: isUnfolded ? 'MinusIcon' : 'PlusIcon',
4281
+ labelIcon,
4282
+ icon: getIconName(isUnfolded),
4210
4283
  onToggle,
4211
4284
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4212
4285
  };
4213
- const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`, onClick: onToggle, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), icon ? jsx(Icon, { name: icon, width: "24", height: "24" }) : null] }));
4286
+ const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
4287
+ const iconWidth = String(labelIcon?.size?.width || 24);
4288
+ const iconHeight = String(labelIcon?.size?.height || 24);
4289
+ const iconName = labelIcon?.icon;
4290
+ return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4291
+ };
4214
4292
 
4215
4293
  const SAFEBOXES_URL = '/api/v1/safeboxes';
4216
4294
  const EMPTY_VALUE = [];
@@ -4597,7 +4675,7 @@
4597
4675
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
4598
4676
 
4599
4677
  const TableInnerButton = JSX(({ isOpen, onClick }) => {
4600
- return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20" })] }));
4678
+ return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20" })] }));
4601
4679
  });
4602
4680
 
4603
4681
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
@@ -4790,7 +4868,7 @@
4790
4868
  const Tile = JSX(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', getTileRightPadding(className), getTileMinHeight(className), className), ...rest, children: [image?.src ? (jsx(ImgInner, { className: style('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, jsx(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
4791
4869
  className: 'mt-8',
4792
4870
  buttonClassName: 'min-w-[158px]',
4793
- }), children: jsxs("div", { children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
4871
+ }), children: jsxs("div", { children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
4794
4872
 
4795
4873
  const alignStyle = {
4796
4874
  stretch: 'items-stretch',
@@ -4815,15 +4893,6 @@
4815
4893
  return (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), url ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: adjustHref(router)(previewImg?.src), style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: adjustHref(router)(url) }) })) : null] }));
4816
4894
  });
4817
4895
 
4818
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left p-9', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between", children: [title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
4819
- ? renderButtonsSection([button], {
4820
- className: 'mb-6',
4821
- })
4822
- : null] })] })));
4823
- const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon }) : null] }));
4824
- const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4825
- const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4826
-
4827
4896
  const Blocks = {
4828
4897
  ApplicationForm,
4829
4898
  BenefitsBlock,
@@ -4847,9 +4916,9 @@
4847
4916
  CarouselTariffsCard,
4848
4917
  ComparisonTable,
4849
4918
  ContactsBlock,
4919
+ DepositFiltration,
4850
4920
  ErrorBlock,
4851
4921
  ExchangeRateTile,
4852
- Filtration,
4853
4922
  Footer,
4854
4923
  GracePeriod,
4855
4924
  Header,
@@ -4860,6 +4929,7 @@
4860
4929
  InvestmentInfo,
4861
4930
  LinkDocs,
4862
4931
  MobileAppTile,
4932
+ MortgageFiltration,
4863
4933
  OfficeMap,
4864
4934
  OfficeServicesBlock,
4865
4935
  ParagraphBlock,
@@ -4869,6 +4939,7 @@
4869
4939
  ProductGallery,
4870
4940
  ProductTile,
4871
4941
  PromoTile,
4942
+ RepresentativeOfficeInfo,
4872
4943
  RichTextBlock,
4873
4944
  RollupItem,
4874
4945
  SafeDepositRental,
@@ -4881,7 +4952,6 @@
4881
4952
  VerticalLayout,
4882
4953
  Video,
4883
4954
  ExchangeRateOffice,
4884
- RepresentativeOfficeInfo,
4885
4955
  };
4886
4956
 
4887
4957
  const debounce = (fn, delay = 600) => {
@@ -5024,7 +5094,7 @@
5024
5094
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
5025
5095
  }
5026
5096
 
5027
- const packageVersion = "0.10.10";
5097
+ const packageVersion = "0.11.1";
5028
5098
 
5029
5099
  exports.Blocks = Blocks;
5030
5100
  exports.ContentPage = ContentPage;