@redneckz/wildless-cms-uni-blocks 0.13.6 → 0.13.8

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 (378) hide show
  1. package/bin/migration-scripts/0.13.6.js +33 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +120 -93
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Calculator/UnknownRate.d.ts +1 -0
  6. package/bundle/components/Calculator/renderRate.d.ts +2 -1
  7. package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  8. package/bundle/components/Carousel/CarouselContent.d.ts +2 -2
  9. package/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +2 -1
  10. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  11. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  12. package/bundle/ui-kit/Badge/Badge.d.ts +6 -0
  13. package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  14. package/bundle/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  15. package/bundle/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  16. package/bundle/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  17. package/bundle/ui-kit/TabsControl/TabItem.d.ts +5 -2
  18. package/dist/components/Blocks.mobile.js +6 -0
  19. package/dist/components/Blocks.mobile.js.map +1 -1
  20. package/dist/components/Bonus/Bonus.js +1 -2
  21. package/dist/components/Bonus/Bonus.js.map +1 -1
  22. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +9 -9
  23. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  24. package/dist/components/Calculator/RefinancingCalculatorForm.js +6 -3
  25. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  26. package/dist/components/Calculator/UnknownRate.d.ts +1 -0
  27. package/dist/components/Calculator/UnknownRate.js +1 -1
  28. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  29. package/dist/components/Calculator/constants.js +2 -2
  30. package/dist/components/Calculator/constants.js.map +1 -1
  31. package/dist/components/Calculator/renderRate.d.ts +2 -1
  32. package/dist/components/Calculator/renderRate.js +5 -5
  33. package/dist/components/Calculator/renderRate.js.map +1 -1
  34. package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  35. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -1
  36. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  37. package/dist/components/Calculator/useCreditCalculatorParams.js +1 -4
  38. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  39. package/dist/components/Calculator/useRefinancingCalculatorParams.js +4 -11
  40. package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  41. package/dist/components/Carousel/CarouselContent.d.ts +2 -2
  42. package/dist/components/Carousel/renderCarouselCards.js +1 -0
  43. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  44. package/dist/components/CarouselEventCard/CarouselEventCard.js +2 -3
  45. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  46. package/dist/components/ErrorBlock/ErrorBlock.js +2 -3
  47. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  48. package/dist/components/Footer/TextInformation.js +2 -1
  49. package/dist/components/Footer/TextInformation.js.map +1 -1
  50. package/dist/components/HorizontalLayout/HorizontalLayout.d.ts +2 -1
  51. package/dist/components/HorizontalLayout/HorizontalLayout.js +8 -1
  52. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  53. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  54. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  55. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  56. package/dist/components/MortgageFiltration/MortgageFiltration.js +10 -15
  57. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  58. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  59. package/dist/ui-kit/Badge/Badge.d.ts +6 -0
  60. package/dist/ui-kit/Badge/Badge.js +18 -0
  61. package/dist/ui-kit/Badge/Badge.js.map +1 -0
  62. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +4 -5
  63. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  64. package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  65. package/dist/ui-kit/BaseFiltration/HotFilterBase.js +2 -0
  66. package/dist/ui-kit/BaseFiltration/HotFilterBase.js.map +1 -0
  67. package/dist/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  68. package/dist/ui-kit/BaseFiltration/getBadgeCount.js +6 -0
  69. package/dist/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -0
  70. package/dist/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  71. package/{mobile/dist/components/MortgageFiltration/HotFilterRecord.js → dist/ui-kit/BaseFiltration/hotFilterRecordCmp.js} +1 -1
  72. package/dist/ui-kit/BaseFiltration/hotFilterRecordCmp.js.map +1 -0
  73. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  74. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  75. package/dist/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  76. package/dist/ui-kit/BaseFiltration/useHotFilters.js +26 -0
  77. package/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -0
  78. package/dist/ui-kit/BaseTile/BaseTile.js +1 -5
  79. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  80. package/dist/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
  81. package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  82. package/dist/ui-kit/TabsControl/TabItem.d.ts +5 -2
  83. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  84. package/dist/ui-kit/TabsControl/TabItemInner.js +2 -2
  85. package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  86. package/lib/common.css +1 -1
  87. package/lib/components/Blocks.mobile.js +6 -0
  88. package/lib/components/Blocks.mobile.js.map +1 -1
  89. package/lib/components/Bonus/Bonus.js +1 -2
  90. package/lib/components/Bonus/Bonus.js.map +1 -1
  91. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +9 -9
  92. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  93. package/lib/components/Calculator/RefinancingCalculatorForm.js +6 -3
  94. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  95. package/lib/components/Calculator/UnknownRate.d.ts +1 -0
  96. package/lib/components/Calculator/UnknownRate.js +1 -1
  97. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  98. package/lib/components/Calculator/constants.js +2 -2
  99. package/lib/components/Calculator/constants.js.map +1 -1
  100. package/lib/components/Calculator/renderRate.d.ts +2 -1
  101. package/lib/components/Calculator/renderRate.js +5 -5
  102. package/lib/components/Calculator/renderRate.js.map +1 -1
  103. package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  104. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -1
  105. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  106. package/lib/components/Calculator/useCreditCalculatorParams.js +1 -4
  107. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  108. package/lib/components/Calculator/useRefinancingCalculatorParams.js +4 -11
  109. package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  110. package/lib/components/Carousel/CarouselContent.d.ts +2 -2
  111. package/lib/components/Carousel/renderCarouselCards.js +1 -0
  112. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  113. package/lib/components/CarouselEventCard/CarouselEventCard.js +2 -3
  114. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  115. package/lib/components/ErrorBlock/ErrorBlock.js +2 -3
  116. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  117. package/lib/components/Footer/TextInformation.js +2 -1
  118. package/lib/components/Footer/TextInformation.js.map +1 -1
  119. package/lib/components/HorizontalLayout/HorizontalLayout.d.ts +2 -1
  120. package/lib/components/HorizontalLayout/HorizontalLayout.fixture.d.ts +1 -0
  121. package/lib/components/HorizontalLayout/HorizontalLayout.js +8 -1
  122. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  123. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  124. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  125. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  126. package/lib/components/MortgageFiltration/MortgageFiltration.js +11 -16
  127. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  128. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  129. package/lib/ui-kit/Badge/Badge.d.ts +6 -0
  130. package/lib/ui-kit/Badge/Badge.fixture.d.ts +6 -0
  131. package/lib/ui-kit/Badge/Badge.js +16 -0
  132. package/lib/ui-kit/Badge/Badge.js.map +1 -0
  133. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +4 -5
  134. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  135. package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  136. package/lib/ui-kit/BaseFiltration/HotFilterBase.js +2 -0
  137. package/lib/ui-kit/BaseFiltration/HotFilterBase.js.map +1 -0
  138. package/lib/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  139. package/lib/ui-kit/BaseFiltration/getBadgeCount.js +3 -0
  140. package/lib/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -0
  141. package/lib/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  142. package/lib/{components/MortgageFiltration/HotFilterRecord.js → ui-kit/BaseFiltration/hotFilterRecordCmp.js} +1 -1
  143. package/lib/ui-kit/BaseFiltration/hotFilterRecordCmp.js.map +1 -0
  144. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  145. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  146. package/lib/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  147. package/lib/ui-kit/BaseFiltration/useHotFilters.js +23 -0
  148. package/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -0
  149. package/lib/ui-kit/BaseTile/BaseTile.js +1 -5
  150. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  151. package/lib/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
  152. package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  153. package/lib/ui-kit/TabsControl/TabItem.d.ts +5 -2
  154. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  155. package/lib/ui-kit/TabsControl/TabItemInner.js +3 -3
  156. package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  157. package/mobile/bundle/bundle.umd.js +105 -73
  158. package/mobile/bundle/bundle.umd.min.js +1 -1
  159. package/mobile/bundle/components/Calculator/UnknownRate.d.ts +1 -0
  160. package/mobile/bundle/components/Calculator/renderRate.d.ts +2 -1
  161. package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  162. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -2
  163. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  164. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  165. package/mobile/bundle/ui-kit/Badge/Badge.d.ts +6 -0
  166. package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  167. package/mobile/bundle/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  168. package/mobile/bundle/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  169. package/mobile/bundle/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  170. package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +5 -2
  171. package/mobile/dist/components/Blocks.js +6 -0
  172. package/mobile/dist/components/Blocks.js.map +1 -1
  173. package/mobile/dist/components/Bonus/Bonus.js +1 -2
  174. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  175. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +9 -9
  176. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  177. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +6 -3
  178. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  179. package/mobile/dist/components/Calculator/UnknownRate.d.ts +1 -0
  180. package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
  181. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  182. package/mobile/dist/components/Calculator/constants.js +2 -2
  183. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  184. package/mobile/dist/components/Calculator/renderRate.d.ts +2 -1
  185. package/mobile/dist/components/Calculator/renderRate.js +5 -5
  186. package/mobile/dist/components/Calculator/renderRate.js.map +1 -1
  187. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  188. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -1
  189. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  190. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +1 -4
  191. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  192. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +4 -11
  193. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  194. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -2
  195. package/mobile/dist/components/Carousel/renderCarouselCards.js +1 -0
  196. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  197. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +2 -3
  198. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  199. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -3
  200. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  201. package/mobile/dist/components/Footer/TextInformation.js +2 -1
  202. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  203. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  204. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  205. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  206. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +10 -15
  207. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  208. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  209. package/mobile/dist/ui-kit/Badge/Badge.d.ts +6 -0
  210. package/mobile/dist/ui-kit/Badge/Badge.js +18 -0
  211. package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -0
  212. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +4 -5
  213. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  214. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  215. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.js +2 -0
  216. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.js.map +1 -0
  217. package/mobile/dist/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  218. package/mobile/dist/ui-kit/BaseFiltration/getBadgeCount.js +6 -0
  219. package/mobile/dist/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -0
  220. package/mobile/dist/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  221. package/{dist/components/MortgageFiltration/HotFilterRecord.js → mobile/dist/ui-kit/BaseFiltration/hotFilterRecordCmp.js} +1 -1
  222. package/mobile/dist/ui-kit/BaseFiltration/hotFilterRecordCmp.js.map +1 -0
  223. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  224. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  225. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  226. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js +26 -0
  227. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -0
  228. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -5
  229. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  230. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
  231. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  232. package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +5 -2
  233. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  234. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +2 -2
  235. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  236. package/mobile/lib/common.css +1 -1
  237. package/mobile/lib/components/Blocks.js +6 -0
  238. package/mobile/lib/components/Blocks.js.map +1 -1
  239. package/mobile/lib/components/Bonus/Bonus.js +1 -2
  240. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  241. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +9 -9
  242. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  243. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +6 -3
  244. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  245. package/mobile/lib/components/Calculator/UnknownRate.d.ts +1 -0
  246. package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
  247. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  248. package/mobile/lib/components/Calculator/constants.js +2 -2
  249. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  250. package/mobile/lib/components/Calculator/renderRate.d.ts +2 -1
  251. package/mobile/lib/components/Calculator/renderRate.js +5 -5
  252. package/mobile/lib/components/Calculator/renderRate.js.map +1 -1
  253. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  254. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -1
  255. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  256. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -4
  257. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  258. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +4 -11
  259. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  260. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -2
  261. package/mobile/lib/components/Carousel/renderCarouselCards.js +1 -0
  262. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  263. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +2 -3
  264. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  265. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -3
  266. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  267. package/mobile/lib/components/Footer/TextInformation.js +2 -1
  268. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  269. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -0
  270. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  271. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  272. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +11 -16
  273. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  274. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +13 -9
  275. package/mobile/lib/ui-kit/Badge/Badge.d.ts +6 -0
  276. package/mobile/lib/ui-kit/Badge/Badge.js +16 -0
  277. package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -0
  278. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +4 -5
  279. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  280. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +7 -0
  281. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.js +2 -0
  282. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.js.map +1 -0
  283. package/mobile/lib/ui-kit/BaseFiltration/getBadgeCount.d.ts +3 -0
  284. package/mobile/lib/ui-kit/BaseFiltration/getBadgeCount.js +3 -0
  285. package/mobile/lib/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -0
  286. package/mobile/lib/ui-kit/BaseFiltration/hotFilterRecordCmp.d.ts +1 -0
  287. package/mobile/lib/{components/MortgageFiltration/HotFilterRecord.js → ui-kit/BaseFiltration/hotFilterRecordCmp.js} +1 -1
  288. package/mobile/lib/ui-kit/BaseFiltration/hotFilterRecordCmp.js.map +1 -0
  289. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  290. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  291. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.d.ts +14 -0
  292. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js +23 -0
  293. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -0
  294. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -5
  295. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  296. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
  297. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  298. package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +5 -2
  299. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  300. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +3 -3
  301. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  302. package/mobile/src/components/Blocks.ts +6 -0
  303. package/mobile/src/components/Bonus/Bonus.tsx +7 -13
  304. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -11
  305. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -9
  306. package/mobile/src/components/Calculator/UnknownRate.tsx +24 -14
  307. package/mobile/src/components/Calculator/constants.ts +2 -2
  308. package/mobile/src/components/Calculator/renderRate.tsx +13 -6
  309. package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -2
  310. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -5
  311. package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +5 -23
  312. package/mobile/src/components/Carousel/CarouselContent.ts +2 -2
  313. package/mobile/src/components/Carousel/renderCarouselCards.tsx +1 -0
  314. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +10 -12
  315. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -10
  316. package/mobile/src/components/Footer/TextInformation.tsx +3 -2
  317. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +2 -0
  318. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  319. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +17 -37
  320. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +13 -9
  321. package/mobile/src/ui-kit/Badge/Badge.tsx +34 -0
  322. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +5 -20
  323. package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +7 -0
  324. package/mobile/src/ui-kit/BaseFiltration/getBadgeCount.ts +6 -0
  325. package/mobile/src/ui-kit/BaseFiltration/hotFilterRecordCmp.ts +3 -0
  326. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +1 -1
  327. package/mobile/src/ui-kit/BaseFiltration/useHotFilters.tsx +65 -0
  328. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -12
  329. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -1
  330. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +5 -3
  331. package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +2 -1
  332. package/package.json +1 -1
  333. package/src/components/Blocks.mobile.ts +6 -0
  334. package/src/components/Bonus/Bonus.tsx +7 -13
  335. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -11
  336. package/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -9
  337. package/src/components/Calculator/UnknownRate.tsx +24 -14
  338. package/src/components/Calculator/constants.ts +2 -2
  339. package/src/components/Calculator/renderRate.tsx +13 -6
  340. package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -2
  341. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -5
  342. package/src/components/Calculator/useRefinancingCalculatorParams.ts +5 -23
  343. package/src/components/Carousel/CarouselContent.ts +2 -2
  344. package/src/components/Carousel/renderCarouselCards.tsx +1 -0
  345. package/src/components/CarouselEventCard/CarouselEventCard.tsx +10 -12
  346. package/src/components/ErrorBlock/ErrorBlock.tsx +2 -10
  347. package/src/components/Footer/TextInformation.tsx +3 -2
  348. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +21 -0
  349. package/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
  350. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +2 -0
  351. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  352. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +5 -2
  353. package/src/components/MortgageFiltration/MortgageFiltration.tsx +17 -37
  354. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +13 -9
  355. package/src/ui-kit/Badge/Badge.fixture.tsx +24 -0
  356. package/src/ui-kit/Badge/Badge.tsx +34 -0
  357. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +5 -20
  358. package/src/ui-kit/BaseFiltration/HotFilterBase.ts +7 -0
  359. package/src/ui-kit/BaseFiltration/getBadgeCount.ts +6 -0
  360. package/src/ui-kit/BaseFiltration/hotFilterRecordCmp.ts +3 -0
  361. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +1 -1
  362. package/src/ui-kit/BaseFiltration/useHotFilters.tsx +65 -0
  363. package/src/ui-kit/BaseTile/BaseTile.tsx +3 -12
  364. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -1
  365. package/src/ui-kit/TabsControl/TabItem.tsx +5 -3
  366. package/src/ui-kit/TabsControl/TabItemInner.tsx +2 -1
  367. package/bundle/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  368. package/dist/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  369. package/dist/components/MortgageFiltration/HotFilterRecord.js.map +0 -1
  370. package/lib/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  371. package/lib/components/MortgageFiltration/HotFilterRecord.js.map +0 -1
  372. package/mobile/bundle/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  373. package/mobile/dist/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  374. package/mobile/dist/components/MortgageFiltration/HotFilterRecord.js.map +0 -1
  375. package/mobile/lib/components/MortgageFiltration/HotFilterRecord.d.ts +0 -11
  376. package/mobile/lib/components/MortgageFiltration/HotFilterRecord.js.map +0 -1
  377. package/mobile/src/components/MortgageFiltration/HotFilterRecord.ts +0 -14
  378. package/src/components/MortgageFiltration/HotFilterRecord.ts +0 -14
@@ -1 +1 @@
1
- {"version":3,"file":"renderRangeWithTicks.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/renderRangeWithTicks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAY9C,MAAM,UAAU,oBAAoB,CAAC,EACnC,IAAI,GAAG,EAAE,EACT,GA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AC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,cAAK,SAAS,EAAC,kDAAkD,YAC/D,gBACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAE,UAAU,EACjB,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EACL,CAAC,CAAC,CAAkC,EAAE,EAAE;wBACtC,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;wBAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;wBACzD,QAAQ,IAAI,QAAQ,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;oBACtC,CAAC,CAAQ,GAEX,GACE,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
+ import type { VNode } from '../../model/VNode';
2
3
  import type { TabsControlProps } from './TabsControlProps';
3
- export declare type TabItemBase = LinkProps;
4
+ export interface TabItemBase extends LinkProps {
5
+ appendRight?: VNode;
6
+ }
4
7
  export declare type TabType = 'default' | 'underlined' | 'rounded';
5
8
  export interface TabItemProps {
6
9
  item?: TabItemBase;
7
10
  isActive?: boolean;
8
- onClick?: TabsControlProps['onChange'];
9
11
  type?: TabType;
12
+ onClick?: TabsControlProps['onChange'];
10
13
  }
11
14
  export declare const TabItem: import("@redneckz/uni-jsx").UNIComponent<TabItemProps, any, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE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AO,EAAE,OAAO,GAAI,CAAC;AAC3E,CAAC,CAAC,CAAC;AAEH,mDAAmD;AACnD,MAAM,aAAa,GAAG,GAAG,CAAe,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,KAAM,IAAI,GAAI,CAAC;AACtE,CAAC,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { style } from '../../utils/style.js';
4
4
  import { Text } from '../Text/Text.js';
@@ -25,7 +25,7 @@ const activeTabBgStyleMap = {
25
25
  };
26
26
  export const TabItemInner = JSX(({ tag = 'div', item = {}, isActive, type = 'default', onClick }) => {
27
27
  const Tag = tag;
28
- const { text, ...link } = item;
29
- return (_jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, onClick: onClick, ...link, children: _jsx("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: _jsx(Text, { size: "text-m", children: text }) }) }));
28
+ const { text, appendRight, ...link } = item;
29
+ return (_jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, onClick: onClick, ...link, children: _jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: [_jsx(Text, { size: "text-m", children: text }), appendRight ? _jsx("div", { className: "ml-xs", children: appendRight }) : null] }) }));
30
30
  });
31
31
  //# sourceMappingURL=TabItemInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItemInner.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItemInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,kBAAkB,GAA4B;IAClD,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,kBAAkB;CAC5B,CAAC;AAEF,MAAM,YAAY,GAAG,6CAA6C,CAAC;AAEnE,MAAM,qBAAqB,GAA4B;IACrD,OAAO,EAAE,0BAA0B;IACnC,UAAU,EAAE,8BAA8B;IAC1C,OAAO,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,aAAa,GAA4B;IAC7C,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,gBAAgB;CAC1B,CAAC;AAEF,MAAM,mBAAmB,GAA4B;IACnD,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,iBAAiB;CAC3B,CAAC;AAMF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,GAAG,GAAG,KAAK,EAAE,IAAI,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,GAAG,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAClE,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,E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BAAmB,GAA4B;IACnD,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,iBAAiB;CAC3B,CAAC;AAMF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,GAAG,GAAG,KAAK,EAAE,IAAI,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,GAAG,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAClE,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5C,OAAO,CACL,KAAC,GAAG,IACF,SAAS,EAAE,KAAK,CACd,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,kBAAkB,CAAC,IAAI,CAAC,EACxB,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAC3D,EACD,IAAI,EAAC,KAAK,mBACK,QAAQ,EACvB,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,eACE,SAAS,EAAE,KAAK,CACd,QAAQ,EACR,kCAAkC,EAClC,+BAA+B,EAC/B,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CACtD,aAED,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,YAAE,IAAI,GAAQ,EAChC,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,OAAO,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IAC5D,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1039,8 +1039,9 @@
1039
1039
 
1040
1040
  function renderRangeWithTicks({ list = [], min, max, step, value = list[0] || min, disabled, onChange, }) {
1041
1041
  const rangeValue = list.length ? list.indexOf(value) : value;
1042
+ const rangeValueShift = rangeValue > min ? rangeValue - min : 0;
1042
1043
  const inputStyle = {
1043
- backgroundSize: `${(((rangeValue - min) * 100) / (max - min)).toFixed(2)}% 100%`,
1044
+ backgroundSize: `${((rangeValueShift * 100) / (max - min)).toFixed(2)}% 100%`,
1044
1045
  };
1045
1046
  return (jsxs("div", { children: [list.length ? (jsx("div", { className: "absolute w-full flex justify-between -bottom-[3px] px-m", children: list.map((_, i) => (jsx("div", { className: `w-2 h-2 rounded-full ${rangeValue <= i || disabled ? 'bg-gray' : 'bg-primary-main'}` }, String(i)))) })) : null, jsx("div", { className: "absolute inset-x-0 -bottom-1 px-m leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider relative z-10", style: inputStyle, type: "range", min: min, max: max, step: step, value: rangeValue, disabled: disabled, onInput: ((e) => {
1046
1047
  const rawValue = parseDecimal(e.target?.value);
@@ -1319,6 +1320,16 @@
1319
1320
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
1320
1321
  };
1321
1322
 
1323
+ const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton$1(buttonClassName)) })) : null;
1324
+ const renderButton$1 = (buttonClassName = '') => (button, index) => {
1325
+ const { text, icon, iconRight, version, ...rest } = button || {};
1326
+ const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1327
+ const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1328
+ return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1329
+ };
1330
+ const DEFAULT_ICON_W = 24;
1331
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1332
+
1322
1333
  const headlineVersionStyles = {
1323
1334
  XXL: {
1324
1335
  title: { headingType: 'h0', as: 'h1' },
@@ -1375,6 +1386,19 @@
1375
1386
  return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
1376
1387
  });
1377
1388
 
1389
+ const Bonus = JSX(({ className = '', title, description, bonusItems = [], ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
1390
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "space-y-xs flex flex-col grow w-full sm:w-[49%] border border-gray p-m", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1391
+ ? renderBonusItemContent(_.bonusItemContent)
1392
+ : null] })] }, String(i))))
1393
+ : null })] }) })));
1394
+ const renderBonusItemContent = (bonusItemContent) => bonusItemContent.bonusType === 'count'
1395
+ ? renderBonusCount(bonusItemContent)
1396
+ : renderBonusImage(bonusItemContent);
1397
+ const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
1398
+ // -mb-10 добавлен для выравнивания bonusCount относительно bonusName, тк шрифт font-mohave неправильно высчитывает line-height
1399
+ jsx("div", { className: "shrink-0 -mb-10", children: jsx("span", { className: "font-mohave text-title-extra gradient-color-text", children: _.bonusCount }) })) : null, _.bonusName ? (jsx("div", { className: "shrink-0 gradient-color-text", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1400
+ const renderBonusImage = (_) => _.image ? jsx(Img, { className: "min-w-12 p-xs rounded-icon shrink-0", image: _.image }) : null;
1401
+
1378
1402
  const mapChildren = (mapper) => (children) => {
1379
1403
  if (children === null || children === undefined) {
1380
1404
  return children;
@@ -1558,16 +1582,6 @@
1558
1582
  ? renderBonusBenefits(bonusBenefits)
1559
1583
  : null] })));
1560
1584
 
1561
- const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton$1(buttonClassName)) })) : null;
1562
- const renderButton$1 = (buttonClassName = '') => (button, index) => {
1563
- const { text, icon, iconRight, version, ...rest } = button || {};
1564
- const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1565
- const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1566
- return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1567
- };
1568
- const DEFAULT_ICON_W = 24;
1569
- const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1570
-
1571
1585
  const alignStyleMap = {
1572
1586
  start: 'justify-start',
1573
1587
  center: 'justify-center',
@@ -1633,7 +1647,7 @@
1633
1647
  maxSum: DEFAULT_MAX_SUM,
1634
1648
  minMonths: DEFAULT_MIN_MONTHS,
1635
1649
  maxMonths: DEFAULT_MAX_MONTHS,
1636
- rate: 12.5,
1650
+ rate: 0,
1637
1651
  isSalaryClient: false,
1638
1652
  isPensionClient: false,
1639
1653
  isStateEmployee: false,
@@ -1648,7 +1662,7 @@
1648
1662
  maxSumExtra: REFINANCING_EXTRA_MAX_SUM,
1649
1663
  minMonths: DEFAULT_REFINANCING_MIN_MONTHS,
1650
1664
  maxMonths: DEFAULT_MAX_MONTHS,
1651
- rate: 7.5,
1665
+ rate: 0,
1652
1666
  isExtraMoney: false,
1653
1667
  isSalaryClient: false,
1654
1668
  isInsurance: true,
@@ -1760,6 +1774,37 @@
1760
1774
  })] }), monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]", fractionDigits: 0 })) : null, jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
1761
1775
  });
1762
1776
 
1777
+ const STEP_DAYS = 1;
1778
+ const renderDaysInput = (props) => (jsx(InputRange, { items: [`От ${daysText(props.min || 0)}`, `До ${daysText(props.max || 0)}`], step: STEP_DAYS, ...props }));
1779
+ const daysText = (days) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
1780
+
1781
+ const orientationStyleMap = {
1782
+ horizontal: 'gap-5xl',
1783
+ vertical: 'flex-col gap-s',
1784
+ };
1785
+ const RadioButtonGroup = JSX(({ items, checkedItem, className, onChange: onChangeCheckedItem, orientation = 'horizontal', }) => (jsx("div", { className: style(`flex ${orientationStyleMap[orientation]}`, className), children: items?.map(({ id, text }) => (jsx(Checkbox, { isRadio: true, text: text, value: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
1786
+
1787
+ const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, radioGroupClassName, onChange, }) => (jsxs("div", { className: "space-y-s", children: [title ? (jsx("div", { children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, jsx(RadioButtonGroup, { orientation: orientation, items: items, checkedItem: items[value ? 0 : 1].id, className: style('flex-col sm:flex-row', radioGroupClassName), onChange: (_) => onChange && onChange(_ === items[0].id) })] }));
1788
+
1789
+ const renderInterestPayment = (props) => renderBinaryRadioButtonGroup({
1790
+ ...props,
1791
+ items: [
1792
+ { id: 'everyMonth', text: 'Ежемесячно' },
1793
+ { id: 'atEndTerm', text: 'В конце срока' },
1794
+ ],
1795
+ });
1796
+
1797
+ const UnknownRate = JSX(({ title = 'Ставка', isUnavailableByTerm = false }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-2xs pt-2xs pl-lg pb-xs", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-64 mt-m", children: isUnavailableByTerm ? (jsxs(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] })) : (jsx(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u0441\u0443\u043C\u043C\u0443 \u0438\u043B\u0438 \u0441\u0440\u043E\u043A" })) })] })));
1798
+
1799
+ const renderDesktopRate = ({ rate, depositeName, fractionDigits, isShowDepositeName, }) => (jsx(Rate, { rate: rate, depositeName: depositeName, fractionDigits: fractionDigits, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" }));
1800
+ const renderMobileRate = ({ rate }) => (jsx(CalculatorValueBlock, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", value: rate, postfix: "%" }));
1801
+ const renderRate = (props) => {
1802
+ if (props.rate === 0) {
1803
+ return jsx(UnknownRate, { isUnavailableByTerm: props.isUnavailableByTerm });
1804
+ }
1805
+ return (jsxs("div", { children: [jsx("div", { className: "hidden md:block", children: renderDesktopRate(props) }), jsx("div", { className: "md:hidden", children: renderMobileRate(props) })] }));
1806
+ };
1807
+
1763
1808
  const mergeIntervals = (intervals) => {
1764
1809
  const result = [...intervals];
1765
1810
  result.sort(([a], [c]) => a - c);
@@ -1803,7 +1848,7 @@
1803
1848
  ...DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS,
1804
1849
  ...userInputParams,
1805
1850
  isDisabledOperatingDeposit,
1806
- isShowUnknownRate: true,
1851
+ isUnavailableByTerm: true,
1807
1852
  };
1808
1853
  }
1809
1854
  const businessDepositCalculatorSourceBookParams = data?.rateRows?.find((_) => {
@@ -1843,37 +1888,6 @@
1843
1888
  }
1844
1889
  };
1845
1890
 
1846
- const STEP_DAYS = 1;
1847
- const renderDaysInput = (props) => (jsx(InputRange, { items: [`От ${daysText(props.min || 0)}`, `До ${daysText(props.max || 0)}`], step: STEP_DAYS, ...props }));
1848
- const daysText = (days) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
1849
-
1850
- const orientationStyleMap = {
1851
- horizontal: 'gap-5xl',
1852
- vertical: 'flex-col gap-s',
1853
- };
1854
- const RadioButtonGroup = JSX(({ items, checkedItem, className, onChange: onChangeCheckedItem, orientation = 'horizontal', }) => (jsx("div", { className: style(`flex ${orientationStyleMap[orientation]}`, className), children: items?.map(({ id, text }) => (jsx(Checkbox, { isRadio: true, text: text, value: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
1855
-
1856
- const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, radioGroupClassName, onChange, }) => (jsxs("div", { className: "space-y-s", children: [title ? (jsx("div", { children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, jsx(RadioButtonGroup, { orientation: orientation, items: items, checkedItem: items[value ? 0 : 1].id, className: style('flex-col sm:flex-row', radioGroupClassName), onChange: (_) => onChange && onChange(_ === items[0].id) })] }));
1857
-
1858
- const renderInterestPayment = (props) => renderBinaryRadioButtonGroup({
1859
- ...props,
1860
- items: [
1861
- { id: 'everyMonth', text: 'Ежемесячно' },
1862
- { id: 'atEndTerm', text: 'В конце срока' },
1863
- ],
1864
- });
1865
-
1866
- const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-2xs pt-2xs pl-lg pb-xs", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-64 mt-m", children: jsxs(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
1867
-
1868
- const renderDesktopRate = ({ rate, depositeName, isShowDepositeName }) => (jsx(Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" }));
1869
- const renderMobileRate = ({ rate }) => (jsx(CalculatorValueBlock, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", value: rate, postfix: "%" }));
1870
- const renderRate = (props) => {
1871
- if (props.isShowUnknownRate) {
1872
- return jsx(UnknownRate, {});
1873
- }
1874
- return (jsxs("div", { children: [jsx("div", { className: "hidden md:block", children: renderDesktopRate(props) }), jsx("div", { className: "md:hidden", children: renderMobileRate(props) })] }));
1875
- };
1876
-
1877
1891
  const BusinessDepositCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote, bottomFootnote, isShowDepositeName }) => {
1878
1892
  const [userInputParams, { field }] = useForm({
1879
1893
  moneyValue: BUSINESS_DEFAULT_SUM,
@@ -1884,7 +1898,7 @@
1884
1898
  isMonthlyInterestPayment: false,
1885
1899
  });
1886
1900
  const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, sourceBookDir);
1887
- const { income, finalSum, rate, isShowUnknownRate, depositeName } = calculatorParams;
1901
+ const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
1888
1902
  return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
1889
1903
  title: 'Сумма, ₽',
1890
1904
  min: calculatorParams.minSum,
@@ -1906,7 +1920,7 @@
1906
1920
  rate,
1907
1921
  depositeName,
1908
1922
  isShowDepositeName,
1909
- isShowUnknownRate,
1923
+ isUnavailableByTerm,
1910
1924
  }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] })] }));
1911
1925
  });
1912
1926
  const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal }), jsx(Checkbox, { text: "\u0418\u041F / \u043C\u0430\u043B\u043E\u0435 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435", ...field('isSmallBusiness'), value: calculatorParams.isSmallBusiness })] }));
@@ -1979,7 +1993,7 @@
1979
1993
  };
1980
1994
 
1981
1995
  const useCreditCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
1982
- let { moneyValue, monthsValue } = userInputParams;
1996
+ const { moneyValue, monthsValue } = userInputParams;
1983
1997
  const data = useCalculatorParams(sourceBookDir || CREDIT_CALC_DEFAULT_DIR);
1984
1998
  const rateRows = data?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
1985
1999
  const limitRows = data?.limitRows || [];
@@ -1990,8 +2004,6 @@
1990
2004
  });
1991
2005
  const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], creditCalculatorSourceBookLimitParams, rateRows);
1992
2006
  const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], creditCalculatorSourceBookLimitParams, rateRows);
1993
- moneyValue = clamp(moneyValue, minSum, maxSum);
1994
- monthsValue = clamp(monthsValue, minMonths, maxMonths);
1995
2007
  const creditCalculatorRateParams = getCreditCalculatorRateParams({
1996
2008
  rateRows,
1997
2009
  userInputParams,
@@ -2201,7 +2213,7 @@
2201
2213
  checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_REFINANCING_CALCULATOR_PARAMS;
2202
2214
 
2203
2215
  const useRefinancingCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
2204
- let { moneyValue, monthsValue, oldMonthlyPayment, moneyExtra } = userInputParams;
2216
+ const { moneyValue, monthsValue, oldMonthlyPayment, moneyExtra } = userInputParams;
2205
2217
  const data = useCalculatorParams(sourceBookDir || REFINANCING_CALC_DEFAULT_DIR);
2206
2218
  const rateRows = data?.rateRows || [DEFAULT_REFINANCING_CALCULATOR_PARAMS];
2207
2219
  const limitRows = data?.limitRows || [];
@@ -2211,13 +2223,7 @@
2211
2223
  paramsViewSettings,
2212
2224
  });
2213
2225
  const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], sourceBookLimitParams, rateRows);
2214
- const { minSumOld, maxSumOld } = getLimitRangeByKeys(['minSumOld', 'maxSumOld'], sourceBookLimitParams, rateRows);
2215
- const { minSumExtra, maxSumExtra } = getLimitRangeByKeys(['minSumExtra', 'maxSumExtra'], sourceBookLimitParams, rateRows);
2216
2226
  const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], sourceBookLimitParams, rateRows);
2217
- moneyValue = clamp(moneyValue, minSum, maxSum);
2218
- oldMonthlyPayment = clamp(oldMonthlyPayment, minSumOld, maxSumOld);
2219
- moneyExtra = clamp(moneyExtra, minSumExtra, maxSumExtra);
2220
- monthsValue = clamp(monthsValue, minMonths, maxMonths);
2221
2227
  const refinancingCalculatorSourceBookRateParams = getRefinancingCalculatorRateParams({
2222
2228
  rateRows,
2223
2229
  userInputParams,
@@ -2288,7 +2294,10 @@
2288
2294
  ...field('moneyExtra'),
2289
2295
  value: calculatorParams.moneyExtra,
2290
2296
  })
2291
- : null] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.rate, fractionDigits: 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [jsx(CalculatorValueBlock, { title: 'Ежемесячный платеж', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
2297
+ : null] }), renderRate({
2298
+ rate: calculatorParams.rate,
2299
+ fractionDigits: 1,
2300
+ }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [jsx(CalculatorValueBlock, { title: 'Ежемесячный платеж', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
2292
2301
  });
2293
2302
  const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, params.isShowExtraMoney ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })) : null] }));
2294
2303
 
@@ -2421,7 +2430,7 @@
2421
2430
 
2422
2431
  const DEFAULT_ANCESTORS = [];
2423
2432
  const defaultStyle = 'col-span-12';
2424
- function renderBlock(block, options, { className, ...extraProps } = {}) {
2433
+ function renderBlock$1(block, options, { className, ...extraProps } = {}) {
2425
2434
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
2426
2435
  const { type } = block;
2427
2436
  if (!(type && type in blocksRegistry)) {
@@ -2443,9 +2452,9 @@
2443
2452
  const DEFAULT_SLOT_NAME = null;
2444
2453
 
2445
2454
  const EMPTY_ANCESTORS = [];
2446
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
2455
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
2447
2456
  const renderChildBlock = extraProps
2448
- ? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
2457
+ ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
2449
2458
  : renderProps;
2450
2459
  return (blocks || []).map((_, i) => renderChildBlock(_, {
2451
2460
  ...options,
@@ -2469,6 +2478,7 @@
2469
2478
 
2470
2479
  const cardBaseStyle = 'relative h-full';
2471
2480
  const CARD_SIZE_MAP = {
2481
+ small: 'sm:min-w-64',
2472
2482
  normal: 'sm:min-w-96',
2473
2483
  big: 'sm:min-w-[515px]',
2474
2484
  };
@@ -2477,7 +2487,7 @@
2477
2487
  const someCardsHighlighted = childBlocks?.some(isCardHighlighted);
2478
2488
  return renderChildren({
2479
2489
  ...rest,
2480
- renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
2490
+ renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
2481
2491
  className: cardStyle(block, {
2482
2492
  someCardsHighlighted,
2483
2493
  showBorder: !noCardBorder,
@@ -2547,6 +2557,24 @@
2547
2557
  const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: [image?.src ? jsx(Img, { className: "flex justify-center mb-xl", image: image }) : null, jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left", className: "mb-m" }), colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'w-full mt-lg' })] })));
2548
2558
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2549
2559
 
2560
+ const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
2561
+ text-l font-light bg-white text-primary-text flex
2562
+ justify-between items-center group-hover/link:text-primary-main z-10`;
2563
+ const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-80 top-0';
2564
+ const CarouselLinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2565
+ const link = useLink();
2566
+ const adjustedProps = link({ href, target });
2567
+ return text ? (jsxs("div", { className: style('flex max-w-sm relative group/link cursor-pointer w-64 h-16 sm:w-[47%] sm:h-20 sm:mr-m', className), children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'rounded-md sm:rounded-none w-full h-12 sm:ml-s sm:w-full sm:h-auto'), role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6 hidden sm:block", children: jsx(Img, { className: "w-4 h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: LINK_BORDER_CLASS_NAME + ' hidden sm:block mx-1.5 mt-1.5' }), jsx("div", { className: LINK_BORDER_CLASS_NAME + ' hidden sm:block mt-3 mr-3' })] })) : null;
2568
+ });
2569
+
2570
+ const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })) : null] }), links?.length ? renderLinks(links, maxLinksCount) : null] })));
2571
+ const renderLinks = (links, maxLinksCount) => {
2572
+ const itemCount = Math.ceil(links.length / maxLinksCount);
2573
+ return (jsx(Carousel, { className: "@container-normal sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false, showDots: false, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start w-full sm:w-[672px]'), children: links
2574
+ .slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
2575
+ .map((link, index) => (jsx(CarouselLinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2576
+ };
2577
+
2550
2578
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
2551
2579
  const link = useLink({ isRemote });
2552
2580
  const linkProps = link({ href, target });
@@ -2596,11 +2624,7 @@
2596
2624
  end: 'self-end',
2597
2625
  };
2598
2626
  const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap @xl:flex-nowrap justify-around @xl:justify-between items-stretch gap-3xl", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, { className: '-order-1 @xl:order-1', imageAlign })] })] })));
2599
- const renderImageContainer = (image, { className, imageAlign }) => {
2600
- //TODO Спорное решение
2601
- const fullWidth = image?.props?.image?.size?.width > 400;
2602
- return image ? (jsx("div", { className: style('flex-shrink-0', fullWidth ? 'w-full @xl:w-auto' : '', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2603
- };
2627
+ const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('md:flex-shrink-0', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2604
2628
 
2605
2629
  const sum = (list = []) => list.reduce((a, b) => a + b, 0);
2606
2630
 
@@ -2726,9 +2750,9 @@
2726
2750
  const cellsNode = cardCells.map(renderCardInfo);
2727
2751
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2728
2752
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2729
- return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [renderIconBlock(icon), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2753
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [renderIconBlock$1(icon), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2730
2754
  });
2731
- const renderIconBlock = (icon) => (jsx("div", { className: "self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2755
+ const renderIconBlock$1 = (icon) => (jsx("div", { className: "self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2732
2756
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
2733
2757
 
2734
2758
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
@@ -3036,7 +3060,7 @@
3036
3060
  return (jsx("a", { className: `text-xs font-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}` }));
3037
3061
  });
3038
3062
 
3039
- const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", 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 flex-col sm:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3063
+ const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: style('@container', className), children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", 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 flex-col @lg:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3040
3064
 
3041
3065
  const Footer = JSX(({ className, ...rest }) => {
3042
3066
  const fallback = rest.options?.page?.fallback;
@@ -3233,6 +3257,11 @@
3233
3257
 
3234
3258
  const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
3235
3259
 
3260
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [renderIconBlock(icon), title ? jsx(Heading, { headingType: "h4", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text ? renderButtonsSection([button]) : null] })] })));
3261
+ const renderIconBlock = (icon) => (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
3262
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider", children: jsx(RichText, { __html: __html }) }));
3263
+ const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex gap-m", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col", children: [jsx(Text, { size: "text-m", font: "font-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
3264
+
3236
3265
  const RichTextBlock = JSX((props) => {
3237
3266
  const { __html, richVersion, ...rest } = props;
3238
3267
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
@@ -3694,8 +3723,8 @@
3694
3723
  };
3695
3724
  const TabItemInner = JSX(({ tag = 'div', item = {}, isActive, type = 'default', onClick }) => {
3696
3725
  const Tag = tag;
3697
- const { text, ...link } = item;
3698
- return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, onClick: onClick, ...link, children: jsx("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: jsx(Text, { size: "text-m", children: text }) }) }));
3726
+ const { text, appendRight, ...link } = item;
3727
+ return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: [jsx(Text, { size: "text-m", children: text }), appendRight ? jsx("div", { className: "ml-xs", children: appendRight }) : null] }) }));
3699
3728
  });
3700
3729
 
3701
3730
  const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
@@ -3833,6 +3862,7 @@
3833
3862
  const Blocks = {
3834
3863
  ApplicationForm,
3835
3864
  BenefitsBlock,
3865
+ Bonus,
3836
3866
  BonusBenefitsBlock,
3837
3867
  ButtonsBlock,
3838
3868
  Calculator,
@@ -3841,6 +3871,7 @@
3841
3871
  CarouselBankHistoryCard,
3842
3872
  CarouselCard,
3843
3873
  CarouselCatalogCard,
3874
+ CarouselLinks,
3844
3875
  CarouselProductCard,
3845
3876
  CarouselProgramsCard,
3846
3877
  CarouselRecommendationCard,
@@ -3859,6 +3890,7 @@
3859
3890
  ProductBlock,
3860
3891
  ProductGallery,
3861
3892
  ProductTile,
3893
+ RepresentativeOfficeInfo,
3862
3894
  RichTextBlock,
3863
3895
  RollupItem,
3864
3896
  SafeDepositRental,
@@ -4084,7 +4116,7 @@
4084
4116
 
4085
4117
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
4086
4118
 
4087
- const packageVersion = "0.13.6";
4119
+ const packageVersion = "0.13.8";
4088
4120
 
4089
4121
  exports.Blocks = Blocks;
4090
4122
  exports.ContentPage = ContentPage;