@redneckz/wildless-cms-uni-blocks 0.3.83 → 0.3.85

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 (908) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +390 -324
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/Logo.svg +1 -0
  5. package/dist/components/Calculator/BonusCalculatorForm.d.ts +3 -3
  6. package/dist/components/Calculator/BonusCalculatorForm.js +23 -29
  7. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  8. package/dist/components/Calculator/Calculator.js +7 -7
  9. package/dist/components/Calculator/Calculator.js.map +1 -1
  10. package/dist/components/Calculator/CalculatorContent.d.ts +14 -4
  11. package/dist/components/Calculator/CreditCalculatorForm.d.ts +4 -2
  12. package/dist/components/Calculator/CreditCalculatorForm.js +38 -41
  13. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  14. package/dist/components/Calculator/DepositCalculatorForm.js +14 -28
  15. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  16. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  17. package/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -2
  18. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  19. package/dist/components/Calculator/MortgageCalculatorForm.js +14 -28
  20. package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  21. package/dist/components/Calculator/Rate.d.ts +7 -0
  22. package/dist/components/Calculator/Rate.js +6 -0
  23. package/dist/components/Calculator/Rate.js.map +1 -0
  24. package/dist/components/Calculator/constants.d.ts +13 -4
  25. package/dist/components/Calculator/constants.js +34 -5
  26. package/dist/components/Calculator/constants.js.map +1 -1
  27. package/dist/components/Calculator/getBonus.d.ts +2 -0
  28. package/dist/components/Calculator/getBonus.js +16 -0
  29. package/dist/components/Calculator/getBonus.js.map +1 -0
  30. package/dist/components/Calculator/getDefaultMonths.d.ts +1 -2
  31. package/dist/components/Calculator/getDefaultMonths.js +1 -4
  32. package/dist/components/Calculator/getDefaultMonths.js.map +1 -1
  33. package/dist/components/Calculator/getDefaultSum.d.ts +1 -2
  34. package/dist/components/Calculator/getDefaultSum.js +1 -3
  35. package/dist/components/Calculator/getDefaultSum.js.map +1 -1
  36. package/dist/components/Calculator/getMonthlyPayment.d.ts +6 -11
  37. package/dist/components/Calculator/getMonthlyPayment.js +10 -11
  38. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  39. package/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  40. package/dist/components/Calculator/renderCalculatorBlock.js +3 -3
  41. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  42. package/dist/components/Calculator/renderInitialFeeInput.d.ts +3 -8
  43. package/dist/components/Calculator/renderInitialFeeInput.js +7 -6
  44. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  45. package/dist/components/Calculator/renderMonthsInput.d.ts +3 -7
  46. package/dist/components/Calculator/renderMonthsInput.js +4 -3
  47. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  48. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +5 -0
  49. package/dist/components/Calculator/renderPaymentTypeSelector.js +9 -0
  50. package/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -0
  51. package/dist/components/Calculator/renderRealEstateValue.d.ts +2 -7
  52. package/dist/components/Calculator/renderRealEstateValue.js +6 -5
  53. package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  54. package/dist/components/Calculator/renderWantedSumInput.d.ts +6 -9
  55. package/dist/components/Calculator/renderWantedSumInput.js +5 -7
  56. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  57. package/dist/components/Calculator/useBonusCalculatorParams.d.ts +37 -0
  58. package/dist/components/Calculator/useBonusCalculatorParams.js +18 -0
  59. package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -0
  60. package/dist/components/Calculator/useCalculatorParams.d.ts +2 -0
  61. package/dist/components/Calculator/useCalculatorParams.js +12 -0
  62. package/dist/components/Calculator/useCalculatorParams.js.map +1 -0
  63. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +28 -0
  64. package/dist/components/Calculator/useCreditCalculatorParams.js +26 -0
  65. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -0
  66. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  67. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  68. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  69. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  70. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -0
  71. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  72. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  73. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -3
  74. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  75. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -0
  76. package/dist/components/ExchangeRateTile/renderButton.d.ts +1 -1
  77. package/dist/components/ExchangeRateTile/renderButton.js +2 -2
  78. package/dist/components/ExchangeRateTile/renderButton.js.map +1 -1
  79. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  80. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  81. package/dist/components/Footer/HorizontalNavigation.js +2 -2
  82. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  83. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -2
  84. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  85. package/dist/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  86. package/dist/components/Footer/HorizontalNavigationLink.js +6 -0
  87. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -0
  88. package/dist/components/Footer/MediaButton.js +2 -1
  89. package/dist/components/Footer/MediaButton.js.map +1 -1
  90. package/dist/components/Footer/TextInformation.js +2 -2
  91. package/dist/components/Footer/TextInformation.js.map +1 -1
  92. package/dist/components/Footer/TextInformation.mobile.js +2 -2
  93. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  94. package/dist/components/Footer/TextInformationLink.d.ts +8 -0
  95. package/dist/components/Footer/TextInformationLink.js +6 -0
  96. package/dist/components/Footer/TextInformationLink.js.map +1 -0
  97. package/dist/components/Gallery/Gallery.mobile.js +2 -1
  98. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  99. package/dist/components/GroupBlock/GroupBlockTabs.js +4 -4
  100. package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  101. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  102. package/dist/components/GroupBlock/renderBlocksTypes.js +4 -2
  103. package/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  104. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -7
  105. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  106. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  107. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +18 -16
  108. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  109. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  110. package/dist/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  111. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  112. package/dist/components/ProductBlock/ProductBlock.js +3 -1
  113. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  114. package/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  115. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  116. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  117. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  118. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  119. package/dist/components/StepsBlock/StepsBlock.js +3 -1
  120. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  121. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  122. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  123. package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -2
  124. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  125. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  126. package/dist/components/TextBlock/TextBlock.mobile.js +2 -1
  127. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  128. package/dist/components/Tile/Tile.js +4 -3
  129. package/dist/components/Tile/Tile.js.map +1 -1
  130. package/dist/content-page-repository/transformPicture.js +7 -3
  131. package/dist/content-page-repository/transformPicture.js.map +1 -1
  132. package/dist/hooks/useExchangeRates.js +5 -7
  133. package/dist/hooks/useExchangeRates.js.map +1 -1
  134. package/dist/icons/IconName.d.ts +4 -2
  135. package/dist/icons/IconName.js +2 -0
  136. package/dist/icons/IconName.js.map +1 -1
  137. package/dist/model/Picture.d.ts +4 -3
  138. package/dist/services/sitemap/findActiveSubItem.js +1 -2
  139. package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  140. package/dist/ui-kit/BlockWrapper.js +2 -2
  141. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  142. package/dist/ui-kit/BlocksList/renderBlocksList.js +4 -2
  143. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  144. package/dist/ui-kit/Button/ButtonSection.js +1 -1
  145. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  146. package/dist/ui-kit/Checkbox/Checkbox.js +5 -2
  147. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  148. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -1
  149. package/dist/ui-kit/Foldable/Foldable.js +4 -2
  150. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  151. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  152. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  153. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +4 -4
  154. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  155. package/dist/ui-kit/Heading/Heading.js +1 -1
  156. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  157. package/dist/ui-kit/Heading/Heading.mobile.js +1 -1
  158. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  159. package/dist/ui-kit/Img/Img.d.ts +0 -3
  160. package/dist/ui-kit/Img/Img.js +4 -30
  161. package/dist/ui-kit/Img/Img.js.map +1 -1
  162. package/dist/ui-kit/Img/Img.mobile.d.ts +0 -3
  163. package/dist/ui-kit/Img/Img.mobile.js +4 -31
  164. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  165. package/dist/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  166. package/dist/ui-kit/Img/ImgAsPicture.js +32 -0
  167. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -0
  168. package/dist/ui-kit/Img/ImgInner.d.ts +2 -0
  169. package/dist/ui-kit/Img/ImgInner.js +19 -0
  170. package/dist/ui-kit/Img/ImgInner.js.map +1 -0
  171. package/dist/ui-kit/Img/ImgProps.d.ts +1 -0
  172. package/dist/ui-kit/Logo/Logo.js +1 -9
  173. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  174. package/dist/ui-kit/Logo/Logo.mobile.js +2 -9
  175. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  176. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  177. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +9 -0
  178. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -0
  179. package/dist/ui-kit/SearchBar/SearchBar.js +3 -8
  180. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  181. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -7
  182. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  183. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  184. package/dist/ui-kit/SearchBar/SearchBarInner.js +24 -0
  185. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -0
  186. package/lib/common.css +1 -1
  187. package/lib/components/Calculator/BonusCalculatorForm.d.ts +3 -3
  188. package/lib/components/Calculator/BonusCalculatorForm.js +23 -29
  189. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  190. package/lib/components/Calculator/Calculator.js +7 -7
  191. package/lib/components/Calculator/Calculator.js.map +1 -1
  192. package/lib/components/Calculator/CalculatorContent.d.ts +14 -4
  193. package/lib/components/Calculator/CreditCalculatorForm.d.ts +4 -2
  194. package/lib/components/Calculator/CreditCalculatorForm.js +38 -41
  195. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  196. package/lib/components/Calculator/DepositCalculatorForm.js +15 -29
  197. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  198. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  199. package/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -2
  200. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  201. package/lib/components/Calculator/MortgageCalculatorForm.js +14 -28
  202. package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  203. package/lib/components/Calculator/Rate.d.ts +7 -0
  204. package/lib/components/Calculator/Rate.js +4 -0
  205. package/lib/components/Calculator/Rate.js.map +1 -0
  206. package/lib/components/Calculator/constants.d.ts +13 -4
  207. package/lib/components/Calculator/constants.js +33 -4
  208. package/lib/components/Calculator/constants.js.map +1 -1
  209. package/lib/components/Calculator/getBonus.d.ts +2 -0
  210. package/lib/components/Calculator/getBonus.js +13 -0
  211. package/lib/components/Calculator/getBonus.js.map +1 -0
  212. package/lib/components/Calculator/getDefaultMonths.d.ts +1 -2
  213. package/lib/components/Calculator/getDefaultMonths.js +1 -4
  214. package/lib/components/Calculator/getDefaultMonths.js.map +1 -1
  215. package/lib/components/Calculator/getDefaultSum.d.ts +1 -2
  216. package/lib/components/Calculator/getDefaultSum.js +1 -3
  217. package/lib/components/Calculator/getDefaultSum.js.map +1 -1
  218. package/lib/components/Calculator/getMonthlyPayment.d.ts +6 -11
  219. package/lib/components/Calculator/getMonthlyPayment.js +11 -12
  220. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  221. package/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  222. package/lib/components/Calculator/renderCalculatorBlock.js +3 -3
  223. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  224. package/lib/components/Calculator/renderInitialFeeInput.d.ts +3 -8
  225. package/lib/components/Calculator/renderInitialFeeInput.js +7 -6
  226. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  227. package/lib/components/Calculator/renderMonthsInput.d.ts +3 -7
  228. package/lib/components/Calculator/renderMonthsInput.js +4 -3
  229. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  230. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +5 -0
  231. package/lib/components/Calculator/renderPaymentTypeSelector.js +6 -0
  232. package/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -0
  233. package/lib/components/Calculator/renderRealEstateValue.d.ts +2 -7
  234. package/lib/components/Calculator/renderRealEstateValue.js +6 -5
  235. package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  236. package/lib/components/Calculator/renderWantedSumInput.d.ts +6 -9
  237. package/lib/components/Calculator/renderWantedSumInput.js +5 -7
  238. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  239. package/lib/components/Calculator/useBonusCalculatorParams.d.ts +37 -0
  240. package/lib/components/Calculator/useBonusCalculatorParams.js +15 -0
  241. package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -0
  242. package/lib/components/Calculator/useCalculatorParams.d.ts +2 -0
  243. package/lib/components/Calculator/useCalculatorParams.js +9 -0
  244. package/lib/components/Calculator/useCalculatorParams.js.map +1 -0
  245. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +28 -0
  246. package/lib/components/Calculator/useCreditCalculatorParams.js +23 -0
  247. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -0
  248. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  249. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  250. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  251. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  252. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -0
  253. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  254. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  255. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -3
  256. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  257. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -0
  258. package/lib/components/ExchangeRateTile/renderButton.d.ts +1 -1
  259. package/lib/components/ExchangeRateTile/renderButton.js +2 -2
  260. package/lib/components/ExchangeRateTile/renderButton.js.map +1 -1
  261. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  262. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  263. package/lib/components/Footer/HorizontalNavigation.js +2 -2
  264. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  265. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -2
  266. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  267. package/lib/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  268. package/lib/components/Footer/HorizontalNavigationLink.js +4 -0
  269. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -0
  270. package/lib/components/Footer/MediaButton.js +2 -1
  271. package/lib/components/Footer/MediaButton.js.map +1 -1
  272. package/lib/components/Footer/TextInformation.js +2 -2
  273. package/lib/components/Footer/TextInformation.js.map +1 -1
  274. package/lib/components/Footer/TextInformation.mobile.js +2 -2
  275. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  276. package/lib/components/Footer/TextInformationLink.d.ts +8 -0
  277. package/lib/components/Footer/TextInformationLink.js +4 -0
  278. package/lib/components/Footer/TextInformationLink.js.map +1 -0
  279. package/lib/components/Gallery/Gallery.mobile.js +2 -1
  280. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  281. package/lib/components/GroupBlock/GroupBlockTabs.js +4 -4
  282. package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  283. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  284. package/lib/components/GroupBlock/renderBlocksTypes.js +4 -2
  285. package/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  286. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -7
  287. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  288. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  289. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +18 -16
  290. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  291. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  292. package/lib/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  293. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  294. package/lib/components/ProductBlock/ProductBlock.js +3 -1
  295. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  296. package/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  297. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  298. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  299. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  300. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  301. package/lib/components/StepsBlock/StepsBlock.js +3 -1
  302. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  303. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  304. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  305. package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -2
  306. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  307. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  308. package/lib/components/TextBlock/TextBlock.mobile.js +2 -1
  309. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  310. package/lib/components/Tile/Tile.js +4 -3
  311. package/lib/components/Tile/Tile.js.map +1 -1
  312. package/lib/content-page-repository/transformPicture.js +7 -3
  313. package/lib/content-page-repository/transformPicture.js.map +1 -1
  314. package/lib/hooks/useExchangeRates.js +5 -7
  315. package/lib/hooks/useExchangeRates.js.map +1 -1
  316. package/lib/icons/IconName.d.ts +4 -2
  317. package/lib/icons/IconName.js +2 -0
  318. package/lib/icons/IconName.js.map +1 -1
  319. package/lib/model/Picture.d.ts +4 -3
  320. package/lib/services/sitemap/findActiveSubItem.js +1 -2
  321. package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  322. package/lib/ui-kit/BlockWrapper.js +2 -2
  323. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  324. package/lib/ui-kit/BlocksList/renderBlocksList.js +4 -2
  325. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  326. package/lib/ui-kit/Button/ButtonSection.js +1 -1
  327. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  328. package/lib/ui-kit/Checkbox/Checkbox.js +5 -2
  329. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  330. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -1
  331. package/lib/ui-kit/Foldable/Foldable.js +4 -2
  332. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  333. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  334. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  335. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +4 -4
  336. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  337. package/lib/ui-kit/Heading/Heading.js +1 -1
  338. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  339. package/lib/ui-kit/Heading/Heading.mobile.js +1 -1
  340. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  341. package/lib/ui-kit/Img/Img.d.ts +0 -3
  342. package/lib/ui-kit/Img/Img.js +4 -29
  343. package/lib/ui-kit/Img/Img.js.map +1 -1
  344. package/lib/ui-kit/Img/Img.mobile.d.ts +0 -3
  345. package/lib/ui-kit/Img/Img.mobile.js +4 -30
  346. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  347. package/lib/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  348. package/lib/ui-kit/Img/ImgAsPicture.js +29 -0
  349. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -0
  350. package/lib/ui-kit/Img/ImgInner.d.ts +2 -0
  351. package/lib/ui-kit/Img/ImgInner.js +17 -0
  352. package/lib/ui-kit/Img/ImgInner.js.map +1 -0
  353. package/lib/ui-kit/Img/ImgProps.d.ts +1 -0
  354. package/lib/ui-kit/Logo/Logo.js +1 -9
  355. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  356. package/lib/ui-kit/Logo/Logo.mobile.js +2 -9
  357. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  358. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  359. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +4 -0
  360. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +7 -0
  361. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -0
  362. package/lib/ui-kit/SearchBar/SearchBar.js +4 -9
  363. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  364. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +4 -8
  365. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  366. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  367. package/lib/ui-kit/SearchBar/SearchBarInner.js +22 -0
  368. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -0
  369. package/mobile/bundle/bundle.umd.js +117 -93
  370. package/mobile/bundle/bundle.umd.min.js +1 -1
  371. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +3 -3
  372. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +23 -29
  373. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  374. package/mobile/dist/components/Calculator/Calculator.js +7 -7
  375. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  376. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +14 -4
  377. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +4 -2
  378. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +38 -41
  379. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  380. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +14 -28
  381. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  382. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  383. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -2
  384. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  385. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +14 -28
  386. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  387. package/mobile/dist/components/Calculator/Rate.d.ts +7 -0
  388. package/mobile/dist/components/Calculator/Rate.js +6 -0
  389. package/mobile/dist/components/Calculator/Rate.js.map +1 -0
  390. package/mobile/dist/components/Calculator/constants.d.ts +13 -4
  391. package/mobile/dist/components/Calculator/constants.js +34 -5
  392. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  393. package/mobile/dist/components/Calculator/getBonus.d.ts +2 -0
  394. package/mobile/dist/components/Calculator/getBonus.js +16 -0
  395. package/mobile/dist/components/Calculator/getBonus.js.map +1 -0
  396. package/mobile/dist/components/Calculator/getDefaultMonths.d.ts +1 -2
  397. package/mobile/dist/components/Calculator/getDefaultMonths.js +1 -4
  398. package/mobile/dist/components/Calculator/getDefaultMonths.js.map +1 -1
  399. package/mobile/dist/components/Calculator/getDefaultSum.d.ts +1 -2
  400. package/mobile/dist/components/Calculator/getDefaultSum.js +1 -3
  401. package/mobile/dist/components/Calculator/getDefaultSum.js.map +1 -1
  402. package/mobile/dist/components/Calculator/getMonthlyPayment.d.ts +6 -11
  403. package/mobile/dist/components/Calculator/getMonthlyPayment.js +10 -11
  404. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  405. package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  406. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +3 -3
  407. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  408. package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +3 -8
  409. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +7 -6
  410. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  411. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +3 -7
  412. package/mobile/dist/components/Calculator/renderMonthsInput.js +4 -3
  413. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  414. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +5 -0
  415. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +9 -0
  416. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -0
  417. package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +2 -7
  418. package/mobile/dist/components/Calculator/renderRealEstateValue.js +6 -5
  419. package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  420. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +6 -9
  421. package/mobile/dist/components/Calculator/renderWantedSumInput.js +5 -7
  422. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  423. package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +37 -0
  424. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +18 -0
  425. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -0
  426. package/mobile/dist/components/Calculator/useCalculatorParams.d.ts +2 -0
  427. package/mobile/dist/components/Calculator/useCalculatorParams.js +12 -0
  428. package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -0
  429. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +28 -0
  430. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +26 -0
  431. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -0
  432. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  433. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  434. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  435. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  436. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -0
  437. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  438. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  439. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -3
  440. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  441. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -0
  442. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +1 -1
  443. package/mobile/dist/components/ExchangeRateTile/renderButton.js +2 -2
  444. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +1 -1
  445. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  446. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  447. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -2
  448. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  449. package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  450. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +6 -0
  451. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -0
  452. package/mobile/dist/components/Footer/MediaButton.js +2 -1
  453. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  454. package/mobile/dist/components/Footer/TextInformation.js +2 -2
  455. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  456. package/mobile/dist/components/Footer/TextInformationLink.d.ts +8 -0
  457. package/mobile/dist/components/Footer/TextInformationLink.js +6 -0
  458. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -0
  459. package/mobile/dist/components/Gallery/Gallery.js +2 -1
  460. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  461. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +4 -4
  462. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  463. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  464. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js +4 -2
  465. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  466. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -7
  467. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  468. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  469. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +18 -16
  470. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  471. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  472. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  473. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  474. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  475. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  476. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  477. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  478. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  479. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  480. package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -2
  481. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  482. package/mobile/dist/components/TextBlock/TextBlock.js +2 -1
  483. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  484. package/mobile/dist/components/Tile/Tile.js +4 -3
  485. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  486. package/mobile/dist/content-page-repository/transformPicture.js +7 -3
  487. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  488. package/mobile/dist/hooks/useExchangeRates.js +5 -7
  489. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  490. package/mobile/dist/icons/IconName.d.ts +4 -2
  491. package/mobile/dist/icons/IconName.js +2 -0
  492. package/mobile/dist/icons/IconName.js.map +1 -1
  493. package/mobile/dist/model/Picture.d.ts +4 -3
  494. package/mobile/dist/services/sitemap/findActiveSubItem.js +1 -2
  495. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  496. package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
  497. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  498. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +4 -2
  499. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  500. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
  501. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  502. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -2
  503. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  504. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -1
  505. package/mobile/dist/ui-kit/Foldable/Foldable.js +4 -2
  506. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  507. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +4 -4
  508. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  509. package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
  510. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  511. package/mobile/dist/ui-kit/Img/Img.d.ts +0 -3
  512. package/mobile/dist/ui-kit/Img/Img.js +4 -31
  513. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  514. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  515. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +32 -0
  516. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -0
  517. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -0
  518. package/mobile/dist/ui-kit/Img/ImgInner.js +19 -0
  519. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -0
  520. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +1 -0
  521. package/mobile/dist/ui-kit/Logo/Logo.js +2 -9
  522. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  523. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  524. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +9 -0
  525. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -0
  526. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -7
  527. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  528. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  529. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +24 -0
  530. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -0
  531. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +3 -3
  532. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +23 -29
  533. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  534. package/mobile/lib/components/Calculator/Calculator.js +7 -7
  535. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  536. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +14 -4
  537. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +4 -2
  538. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +38 -41
  539. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  540. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +15 -29
  541. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  542. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  543. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -2
  544. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  545. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +14 -28
  546. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  547. package/mobile/lib/components/Calculator/Rate.d.ts +7 -0
  548. package/mobile/lib/components/Calculator/Rate.js +4 -0
  549. package/mobile/lib/components/Calculator/Rate.js.map +1 -0
  550. package/mobile/lib/components/Calculator/constants.d.ts +13 -4
  551. package/mobile/lib/components/Calculator/constants.js +33 -4
  552. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  553. package/mobile/lib/components/Calculator/getBonus.d.ts +2 -0
  554. package/mobile/lib/components/Calculator/getBonus.js +13 -0
  555. package/mobile/lib/components/Calculator/getBonus.js.map +1 -0
  556. package/mobile/lib/components/Calculator/getDefaultMonths.d.ts +1 -2
  557. package/mobile/lib/components/Calculator/getDefaultMonths.js +1 -4
  558. package/mobile/lib/components/Calculator/getDefaultMonths.js.map +1 -1
  559. package/mobile/lib/components/Calculator/getDefaultSum.d.ts +1 -2
  560. package/mobile/lib/components/Calculator/getDefaultSum.js +1 -3
  561. package/mobile/lib/components/Calculator/getDefaultSum.js.map +1 -1
  562. package/mobile/lib/components/Calculator/getMonthlyPayment.d.ts +6 -11
  563. package/mobile/lib/components/Calculator/getMonthlyPayment.js +11 -12
  564. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  565. package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  566. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +3 -3
  567. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  568. package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +3 -8
  569. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +7 -6
  570. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  571. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +3 -7
  572. package/mobile/lib/components/Calculator/renderMonthsInput.js +4 -3
  573. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  574. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +5 -0
  575. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +6 -0
  576. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -0
  577. package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +2 -7
  578. package/mobile/lib/components/Calculator/renderRealEstateValue.js +6 -5
  579. package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  580. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +6 -9
  581. package/mobile/lib/components/Calculator/renderWantedSumInput.js +5 -7
  582. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  583. package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +37 -0
  584. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +15 -0
  585. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -0
  586. package/mobile/lib/components/Calculator/useCalculatorParams.d.ts +2 -0
  587. package/mobile/lib/components/Calculator/useCalculatorParams.js +9 -0
  588. package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -0
  589. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +28 -0
  590. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +23 -0
  591. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -0
  592. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  593. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  594. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  595. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  596. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -0
  597. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  598. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  599. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -3
  600. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  601. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -0
  602. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +1 -1
  603. package/mobile/lib/components/ExchangeRateTile/renderButton.js +2 -2
  604. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +1 -1
  605. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  606. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  607. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -2
  608. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  609. package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  610. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +4 -0
  611. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -0
  612. package/mobile/lib/components/Footer/MediaButton.js +2 -1
  613. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  614. package/mobile/lib/components/Footer/TextInformation.js +2 -2
  615. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  616. package/mobile/lib/components/Footer/TextInformationLink.d.ts +8 -0
  617. package/mobile/lib/components/Footer/TextInformationLink.js +4 -0
  618. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -0
  619. package/mobile/lib/components/Gallery/Gallery.js +2 -1
  620. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  621. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +4 -4
  622. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  623. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  624. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js +4 -2
  625. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  626. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -7
  627. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  628. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  629. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +18 -16
  630. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  631. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  632. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  633. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  634. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  635. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  636. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  637. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  638. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  639. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  640. package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -2
  641. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  642. package/mobile/lib/components/TextBlock/TextBlock.js +2 -1
  643. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  644. package/mobile/lib/components/Tile/Tile.js +4 -3
  645. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  646. package/mobile/lib/content-page-repository/transformPicture.js +7 -3
  647. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  648. package/mobile/lib/hooks/useExchangeRates.js +5 -7
  649. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  650. package/mobile/lib/icons/IconName.d.ts +4 -2
  651. package/mobile/lib/icons/IconName.js +2 -0
  652. package/mobile/lib/icons/IconName.js.map +1 -1
  653. package/mobile/lib/model/Picture.d.ts +4 -3
  654. package/mobile/lib/services/sitemap/findActiveSubItem.js +1 -2
  655. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  656. package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
  657. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  658. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +4 -2
  659. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  660. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
  661. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  662. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -2
  663. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  664. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -1
  665. package/mobile/lib/ui-kit/Foldable/Foldable.js +4 -2
  666. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  667. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +4 -4
  668. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  669. package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
  670. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  671. package/mobile/lib/ui-kit/Img/Img.d.ts +0 -3
  672. package/mobile/lib/ui-kit/Img/Img.js +4 -30
  673. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  674. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  675. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +29 -0
  676. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -0
  677. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -0
  678. package/mobile/lib/ui-kit/Img/ImgInner.js +17 -0
  679. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -0
  680. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +1 -0
  681. package/mobile/lib/ui-kit/Logo/Logo.js +2 -9
  682. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  683. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  684. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +7 -0
  685. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -0
  686. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +4 -8
  687. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  688. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  689. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +22 -0
  690. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -0
  691. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +43 -51
  692. package/mobile/src/components/Calculator/Calculator.tsx +8 -8
  693. package/mobile/src/components/Calculator/CalculatorContent.ts +14 -4
  694. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +62 -62
  695. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +34 -35
  696. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +3 -3
  697. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +29 -37
  698. package/mobile/src/components/Calculator/Rate.tsx +22 -0
  699. package/mobile/src/components/Calculator/constants.ts +41 -4
  700. package/mobile/src/components/Calculator/getBonus.ts +38 -0
  701. package/mobile/src/components/Calculator/getDefaultMonths.ts +2 -7
  702. package/mobile/src/components/Calculator/getDefaultSum.ts +2 -5
  703. package/mobile/src/components/Calculator/getMonthlyPayment.ts +12 -28
  704. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +4 -4
  705. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +10 -14
  706. package/mobile/src/components/Calculator/renderMonthsInput.tsx +7 -10
  707. package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +12 -0
  708. package/mobile/src/components/Calculator/renderRealEstateValue.tsx +9 -13
  709. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +12 -26
  710. package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +55 -0
  711. package/mobile/src/components/Calculator/useCalculatorParams.ts +16 -0
  712. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +70 -0
  713. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +5 -9
  714. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +6 -4
  715. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  716. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +8 -0
  717. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -12
  718. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -0
  719. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +3 -8
  720. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +2 -2
  721. package/mobile/src/components/Footer/HorizontalNavigation.tsx +2 -20
  722. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +21 -0
  723. package/mobile/src/components/Footer/MediaButton.tsx +2 -7
  724. package/mobile/src/components/Footer/TextInformation.tsx +2 -22
  725. package/mobile/src/components/Footer/TextInformationLink.tsx +23 -0
  726. package/mobile/src/components/Gallery/Gallery.tsx +3 -5
  727. package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  728. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +2 -2
  729. package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +6 -3
  730. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +45 -9
  731. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +22 -27
  732. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  733. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +12 -7
  734. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
  735. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +6 -3
  736. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -3
  737. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -6
  738. package/mobile/src/components/TariffsTable/TariffsTable.tsx +4 -7
  739. package/mobile/src/components/TextBlock/TextBlock.tsx +2 -1
  740. package/mobile/src/components/Tile/Tile.example.json +0 -1
  741. package/mobile/src/components/Tile/Tile.tsx +6 -3
  742. package/mobile/src/content-page-repository/transformPicture.ts +7 -5
  743. package/mobile/src/hooks/useExchangeRates.ts +6 -7
  744. package/mobile/src/icons/IconName.ts +4 -4
  745. package/mobile/src/icons/Logo.svg +7 -0
  746. package/mobile/src/model/Picture.ts +5 -3
  747. package/mobile/src/services/sitemap/findActiveSubItem.ts +2 -3
  748. package/mobile/src/ui-kit/BlockWrapper.tsx +2 -5
  749. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +6 -3
  750. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  751. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +18 -13
  752. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -1
  753. package/mobile/src/ui-kit/Foldable/Foldable.tsx +7 -5
  754. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +4 -6
  755. package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
  756. package/mobile/src/ui-kit/Img/Img.tsx +4 -71
  757. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +60 -0
  758. package/mobile/src/ui-kit/Img/ImgInner.tsx +37 -0
  759. package/mobile/src/ui-kit/Img/ImgProps.ts +1 -0
  760. package/mobile/src/ui-kit/Logo/Logo.tsx +2 -13
  761. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +32 -0
  762. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -41
  763. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +72 -0
  764. package/package.json +2 -1
  765. package/src/components/Calculator/BonusCalculatorForm.tsx +43 -51
  766. package/src/components/Calculator/Calculator.fixture.tsx +2 -14
  767. package/src/components/Calculator/Calculator.tsx +8 -8
  768. package/src/components/Calculator/CalculatorContent.ts +14 -4
  769. package/src/components/Calculator/CreditCalculatorForm.tsx +62 -62
  770. package/src/components/Calculator/DepositCalculatorForm.tsx +34 -35
  771. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +3 -3
  772. package/src/components/Calculator/MortgageCalculatorForm.tsx +29 -37
  773. package/src/components/Calculator/Rate.tsx +22 -0
  774. package/src/components/Calculator/constants.ts +41 -4
  775. package/src/components/Calculator/getBonus.ts +38 -0
  776. package/src/components/Calculator/getDefaultMonths.ts +2 -7
  777. package/src/components/Calculator/getDefaultSum.ts +2 -5
  778. package/src/components/Calculator/getMonthlyPayment.ts +12 -28
  779. package/src/components/Calculator/renderCalculatorBlock.tsx +4 -4
  780. package/src/components/Calculator/renderInitialFeeInput.tsx +10 -14
  781. package/src/components/Calculator/renderMonthsInput.tsx +7 -10
  782. package/src/components/Calculator/renderPaymentTypeSelector.tsx +12 -0
  783. package/src/components/Calculator/renderRealEstateValue.tsx +9 -13
  784. package/src/components/Calculator/renderWantedSumInput.tsx +12 -26
  785. package/src/components/Calculator/useBonusCalculatorParams.ts +55 -0
  786. package/src/components/Calculator/useCalculatorParams.ts +16 -0
  787. package/src/components/Calculator/useCreditCalculatorParams.ts +70 -0
  788. package/src/components/ExchangeRateTile/CurrencyTable.tsx +5 -9
  789. package/src/components/ExchangeRateTile/CurrentLocation.tsx +6 -4
  790. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  791. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +8 -0
  792. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +9 -1
  793. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -12
  794. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -0
  795. package/src/components/ExchangeRateTile/renderButton.tsx +3 -8
  796. package/src/components/ExchangeRateTile/renderInput.tsx +2 -2
  797. package/src/components/Footer/HorizontalNavigation.mobile.tsx +2 -20
  798. package/src/components/Footer/HorizontalNavigation.tsx +2 -20
  799. package/src/components/Footer/HorizontalNavigationLink.tsx +21 -0
  800. package/src/components/Footer/MediaButton.tsx +2 -7
  801. package/src/components/Footer/TextInformation.mobile.tsx +2 -22
  802. package/src/components/Footer/TextInformation.tsx +2 -22
  803. package/src/components/Footer/TextInformationLink.tsx +23 -0
  804. package/src/components/Gallery/Gallery.mobile.tsx +3 -5
  805. package/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  806. package/src/components/GroupBlock/GroupBlocksItem.tsx +2 -2
  807. package/src/components/GroupBlock/renderBlocksTypes.tsx +6 -3
  808. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +45 -9
  809. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +7 -2
  810. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +22 -27
  811. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  812. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +12 -7
  813. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  814. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
  815. package/src/components/ProductBlock/ProductBlock.tsx +8 -2
  816. package/src/components/ProductBlock/renderBackwardButton.tsx +6 -3
  817. package/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -11
  818. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -6
  819. package/src/components/StepsBlock/StepsBlock.tsx +10 -8
  820. package/src/components/TariffsTable/TariffsTable.mobile.tsx +4 -7
  821. package/src/components/TextBlock/TextBlock.mobile.tsx +2 -1
  822. package/src/components/TextBlock/TextBlock.tsx +1 -1
  823. package/src/components/Tile/Tile.example.json +0 -1
  824. package/src/components/Tile/Tile.tsx +6 -3
  825. package/src/content-page-repository/transformPicture.ts +7 -5
  826. package/src/hooks/useExchangeRates.ts +6 -7
  827. package/src/icons/IconName.ts +4 -1
  828. package/src/icons/Logo.svg +7 -0
  829. package/src/model/Picture.ts +5 -3
  830. package/src/services/sitemap/findActiveSubItem.ts +2 -3
  831. package/src/ui-kit/BlockWrapper.tsx +2 -5
  832. package/src/ui-kit/BlocksList/renderBlocksList.tsx +6 -3
  833. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  834. package/src/ui-kit/Checkbox/Checkbox.tsx +18 -13
  835. package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -1
  836. package/src/ui-kit/Foldable/Foldable.tsx +7 -5
  837. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +4 -6
  838. package/src/ui-kit/HeaderItem/HeaderItem.tsx +2 -2
  839. package/src/ui-kit/Heading/Heading.mobile.tsx +1 -1
  840. package/src/ui-kit/Heading/Heading.tsx +1 -1
  841. package/src/ui-kit/Img/Img.mobile.tsx +4 -71
  842. package/src/ui-kit/Img/Img.tsx +6 -60
  843. package/src/ui-kit/Img/ImgAsPicture.tsx +60 -0
  844. package/src/ui-kit/Img/ImgInner.tsx +37 -0
  845. package/src/ui-kit/Img/ImgProps.ts +1 -0
  846. package/src/ui-kit/Logo/Logo.mobile.tsx +2 -13
  847. package/src/ui-kit/Logo/Logo.tsx +5 -11
  848. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +26 -0
  849. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +32 -0
  850. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -41
  851. package/src/ui-kit/SearchBar/SearchBar.tsx +3 -43
  852. package/src/ui-kit/SearchBar/SearchBarInner.tsx +72 -0
  853. package/dist/components/Calculator/getCalculatorParams.d.ts +0 -7
  854. package/dist/components/Calculator/getCalculatorParams.js +0 -12
  855. package/dist/components/Calculator/getCalculatorParams.js.map +0 -1
  856. package/dist/components/Calculator/renderRate.d.ts +0 -8
  857. package/dist/components/Calculator/renderRate.js +0 -9
  858. package/dist/components/Calculator/renderRate.js.map +0 -1
  859. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +0 -8
  860. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +0 -14
  861. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +0 -1
  862. package/dist/hooks/useCreditCalculatorData.d.ts +0 -2
  863. package/dist/hooks/useCreditCalculatorData.js +0 -15
  864. package/dist/hooks/useCreditCalculatorData.js.map +0 -1
  865. package/dist/ui-kit/SearchBar.mobile.d.ts +0 -2
  866. package/dist/ui-kit/SearchBar.mobile.js +0 -14
  867. package/dist/ui-kit/SearchBar.mobile.js.map +0 -1
  868. package/lib/components/Calculator/getCalculatorParams.d.ts +0 -7
  869. package/lib/components/Calculator/getCalculatorParams.js +0 -9
  870. package/lib/components/Calculator/getCalculatorParams.js.map +0 -1
  871. package/lib/components/Calculator/renderRate.d.ts +0 -8
  872. package/lib/components/Calculator/renderRate.js +0 -6
  873. package/lib/components/Calculator/renderRate.js.map +0 -1
  874. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +0 -8
  875. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +0 -12
  876. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +0 -1
  877. package/lib/hooks/useCreditCalculatorData.d.ts +0 -2
  878. package/lib/hooks/useCreditCalculatorData.js +0 -12
  879. package/lib/hooks/useCreditCalculatorData.js.map +0 -1
  880. package/lib/ui-kit/SearchBar.mobile.d.ts +0 -2
  881. package/lib/ui-kit/SearchBar.mobile.js +0 -12
  882. package/lib/ui-kit/SearchBar.mobile.js.map +0 -1
  883. package/mobile/dist/components/Calculator/getCalculatorParams.d.ts +0 -7
  884. package/mobile/dist/components/Calculator/getCalculatorParams.js +0 -12
  885. package/mobile/dist/components/Calculator/getCalculatorParams.js.map +0 -1
  886. package/mobile/dist/components/Calculator/renderRate.d.ts +0 -8
  887. package/mobile/dist/components/Calculator/renderRate.js +0 -9
  888. package/mobile/dist/components/Calculator/renderRate.js.map +0 -1
  889. package/mobile/dist/hooks/useCreditCalculatorData.d.ts +0 -2
  890. package/mobile/dist/hooks/useCreditCalculatorData.js +0 -15
  891. package/mobile/dist/hooks/useCreditCalculatorData.js.map +0 -1
  892. package/mobile/lib/components/Calculator/getCalculatorParams.d.ts +0 -7
  893. package/mobile/lib/components/Calculator/getCalculatorParams.js +0 -9
  894. package/mobile/lib/components/Calculator/getCalculatorParams.js.map +0 -1
  895. package/mobile/lib/components/Calculator/renderRate.d.ts +0 -8
  896. package/mobile/lib/components/Calculator/renderRate.js +0 -6
  897. package/mobile/lib/components/Calculator/renderRate.js.map +0 -1
  898. package/mobile/lib/hooks/useCreditCalculatorData.d.ts +0 -2
  899. package/mobile/lib/hooks/useCreditCalculatorData.js +0 -12
  900. package/mobile/lib/hooks/useCreditCalculatorData.js.map +0 -1
  901. package/mobile/src/components/Calculator/getCalculatorParams.ts +0 -18
  902. package/mobile/src/components/Calculator/renderRate.tsx +0 -22
  903. package/mobile/src/hooks/useCreditCalculatorData.ts +0 -20
  904. package/src/components/Calculator/getCalculatorParams.ts +0 -18
  905. package/src/components/Calculator/renderRate.tsx +0 -22
  906. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +0 -32
  907. package/src/hooks/useCreditCalculatorData.ts +0 -20
  908. package/src/ui-kit/SearchBar.mobile.tsx +0 -45
@@ -1,10 +1,5 @@
1
- import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
2
- import type { CalculatorParams } from './CalculatorContent';
3
- interface RenderWantedSumInputProps {
4
- calculatorParams: CalculatorParams;
5
- moneyValue: number | undefined;
6
- defaultSum: number;
7
- setMoneyValue: InputRangeProps['onChange'];
1
+ interface RenderWantedSumInputParams {
2
+ moneyValue: number;
8
3
  }
9
- export declare function renderInitialFeeInput(props: RenderWantedSumInputProps): any;
4
+ export declare function renderInitialFeeInput(title: any, props: RenderWantedSumInputParams, callback: any): any;
10
5
  export {};
@@ -1,18 +1,19 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderInitialFeeInput = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ // TEMP
4
5
  const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
5
6
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
6
7
  const constants_1 = require("./constants");
7
8
  const STEP_MONEY = 1000;
8
- function renderInitialFeeInput(props) {
9
- const { calculatorParams, moneyValue, defaultSum, setMoneyValue } = props;
10
- const minSum = calculatorParams?.minSum || constants_1.DEFAULT_MIN_SUM;
11
- const maxSum = calculatorParams?.maxSum || constants_1.DEFAULT_MAX_SUM;
12
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: "\u041F\u0435\u0440\u0432\u043E\u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0437\u043D\u043E\u0441, \u20BD ", items: [
9
+ function renderInitialFeeInput(title, props, callback) {
10
+ const { moneyValue } = props;
11
+ const minSum = constants_1.DEFAULT_MIN_SUM;
12
+ const maxSum = constants_1.DEFAULT_MAX_SUM;
13
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: title, items: [
13
14
  `От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(minSum)} рублей`,
14
15
  `До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(maxSum)} рублей`,
15
- ], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue || defaultSum, onChange: setMoneyValue }));
16
+ ], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue, onChange: callback }));
16
17
  }
17
18
  exports.renderInitialFeeInput = renderInitialFeeInput;
18
19
  //# sourceMappingURL=renderInitialFeeInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderInitialFeeInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderInitialFeeInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAEhE,iFAA8E;AAC9E,2CAA+D;AAG/D,MAAM,UAAU,GAAG,IAAI,CAAC;AASxB,SAAgB,qBAAqB,CAAC,KAAgC;IACpE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAE1E,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAC3D,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAE3D,OAAO,CACL,uBAAC,uBAAU,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAC,8HAA0B,EAChC,KAAK,EAAE;YACL,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,SAAS;YAC9C,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,SAAS;SAC/C,EACD,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,IAAI,UAAU,EAC/B,QAAQ,EAAE,aAAa,GACvB,CACH,CAAC;AACJ,CAAC;AArBD,sDAqBC"}
1
+ {"version":3,"file":"renderInitialFeeInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderInitialFeeInput.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AACP,mEAAgE;AAChE,iFAA8E;AAC9E,2CAA+D;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,SAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAiC,EAAE,QAAQ;IACtF,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAE7B,MAAM,MAAM,GAAG,2BAAe,CAAC;IAC/B,MAAM,MAAM,GAAG,2BAAe,CAAC;IAE/B,OAAO,CACL,uBAAC,uBAAU,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE;YACL,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,SAAS;YAC9C,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,SAAS;SAC/C,EACD,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC;AArBD,sDAqBC"}
@@ -1,11 +1,7 @@
1
- import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
2
- interface RenderMonthsInputProps {
3
- title: string;
1
+ interface RenderMonthsInputParams {
4
2
  minMonths: number;
5
3
  maxMonths: number;
6
- monthsValue: number | undefined;
7
- defaultMonths: number;
8
- setMonthsValue: InputRangeProps['onChange'];
4
+ monthsValue: number;
9
5
  }
10
- export declare function renderMonthsInput(props: RenderMonthsInputProps): any;
6
+ export declare function renderMonthsInput(title: string, params: RenderMonthsInputParams, callback: any): any;
11
7
  export {};
@@ -2,14 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderMonthsInput = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
5
+ const clamp_1 = require("../../utils/clamp");
5
6
  const STEP_MONTHS = 1;
6
- function renderMonthsInput(props) {
7
- const { title, minMonths, maxMonths, monthsValue, defaultMonths, setMonthsValue } = props;
7
+ function renderMonthsInput(title, params, callback) {
8
+ const { minMonths, maxMonths, monthsValue } = params;
8
9
  const monthText = (month) => {
9
10
  const text = Number(month) % 10 === 1 ? 'месяца' : 'месяцев';
10
11
  return `${month} ${text}`;
11
12
  };
12
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: title, items: [`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`], min: minMonths, max: maxMonths, step: STEP_MONTHS, value: monthsValue || defaultMonths, onChange: setMonthsValue }));
13
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: title, items: [`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`], min: minMonths, max: maxMonths, step: STEP_MONTHS, value: (0, clamp_1.clamp)(monthsValue, minMonths, maxMonths), onChange: callback }));
13
14
  }
14
15
  exports.renderMonthsInput = renderMonthsInput;
15
16
  //# sourceMappingURL=renderMonthsInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderMonthsInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderMonthsInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAGhE,MAAM,WAAW,GAAG,CAAC,CAAC;AAWtB,SAAgB,iBAAiB,CAAC,KAA6B;IAC7D,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE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,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,MAAM,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,EACnE,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,IAAA,aAAK,EAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,EAC/C,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC;AApBD,8CAoBC"}
@@ -0,0 +1,5 @@
1
+ export declare function renderPaymentTypeSelector(context: any, { items, checkedItem, onChange }: {
2
+ items: any;
3
+ checkedItem: any;
4
+ onChange: any;
5
+ }): any;
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.renderPaymentTypeSelector = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
5
+ function renderPaymentTypeSelector(context, { items, checkedItem, onChange }) {
6
+ return ((0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { context: context, items: items, checkedItem: checkedItem, onChangeCheckedItem: onChange }));
7
+ }
8
+ exports.renderPaymentTypeSelector = renderPaymentTypeSelector;
9
+ //# sourceMappingURL=renderPaymentTypeSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderPaymentTypeSelector.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderPaymentTypeSelector.tsx"],"names":[],"mappings":";;;AAAA,qFAAkF;AAElF,SAAgB,yBAAyB,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE;IACjF,OAAO,CACL,uBAAC,mCAAgB,IACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,QAAQ,GAC7B,CACH,CAAC;AACJ,CAAC;AATD,8DASC"}
@@ -1,10 +1,5 @@
1
- import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
2
- import type { CalculatorParams } from './CalculatorContent';
3
1
  interface RenderRealEstateValueInputProps {
4
- calculatorParams: CalculatorParams;
5
- moneyValue: number | undefined;
6
- defaultSum: number;
7
- setMoneyValue: InputRangeProps['onChange'];
2
+ moneyValue: number;
8
3
  }
9
- export declare function renderRealEstateValue(props: RenderRealEstateValueInputProps): any;
4
+ export declare function renderRealEstateValue(title: any, props: RenderRealEstateValueInputProps, callback: any): any;
10
5
  export {};
@@ -1,15 +1,16 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderRealEstateValue = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ // TEMP
4
5
  const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
5
6
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
6
7
  const constants_1 = require("./constants");
7
8
  const STEP_MONEY = 1000;
8
- function renderRealEstateValue(props) {
9
- const { calculatorParams, moneyValue, defaultSum, setMoneyValue } = props;
10
- const minSum = calculatorParams?.minSum || constants_1.DEFAULT_MIN_SUM;
11
- const maxSum = calculatorParams?.maxSum || constants_1.DEFAULT_MAX_SUM;
12
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { title: "\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u0438, \u20BD ", items: [`От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(minSum)} ₽`, `До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(maxSum)} ₽`], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue || defaultSum, onChange: setMoneyValue }));
9
+ function renderRealEstateValue(title, props, callback) {
10
+ const { moneyValue } = props;
11
+ const minSum = constants_1.DEFAULT_MIN_SUM;
12
+ const maxSum = constants_1.DEFAULT_MAX_SUM;
13
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { title: title, items: [`От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(minSum)} ₽`, `До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(maxSum)} ₽`], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue, onChange: callback }));
13
14
  }
14
15
  exports.renderRealEstateValue = renderRealEstateValue;
15
16
  //# sourceMappingURL=renderRealEstateValue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderRealEstateValue.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRealEstateValue.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAEhE,iFAA8E;AAC9E,2CAA+D;AAG/D,MAAM,UAAU,GAAG,IAAI,CAAC;AASxB,SAAgB,qBAAqB,CAAC,KAAsC;IAC1E,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAE1E,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAC3D,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAE3D,OAAO,CACL,uBAAC,uBAAU,IACT,KAAK,EAAC,0IAA4B,EAClC,KAAK,EAAE,CAAC,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,EAAE,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,EAC7F,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,IAAI,UAAU,EAC/B,QAAQ,EAAE,aAAa,GACvB,CACH,CAAC;AACJ,CAAC;AAjBD,sDAiBC"}
1
+ {"version":3,"file":"renderRealEstateValue.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRealEstateValue.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AACP,mEAAgE;AAChE,iFAA8E;AAC9E,2CAA+D;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,SAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAsC,EAAE,QAAQ;IAC3F,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAE7B,MAAM,MAAM,GAAG,2BAAe,CAAC;IAC/B,MAAM,MAAM,GAAG,2BAAe,CAAC;IAE/B,OAAO,CACL,uBAAC,uBAAU,IACT,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,EAAE,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,EAC7F,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC;AAjBD,sDAiBC"}
@@ -1,13 +1,10 @@
1
- import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
2
- import type { CalculatorParams } from './CalculatorContent';
3
- interface RenderWantedSumInputProps {
1
+ interface RenderWantedSumParams {
2
+ minSum: number;
3
+ maxSum: number;
4
+ moneyValue: number;
4
5
  className?: string;
5
- title: string;
6
+ step?: number;
6
7
  isShowItems?: boolean;
7
- calculatorParams: CalculatorParams;
8
- moneyValue: number | undefined;
9
- defaultSum: number;
10
- setMoneyValue: InputRangeProps['onChange'];
11
8
  }
12
- export declare function renderWantedSumInput(props: RenderWantedSumInputProps): any;
9
+ export declare function renderWantedSumInput(title: string, params: RenderWantedSumParams, callback: any): any;
13
10
  export {};
@@ -3,17 +3,15 @@ exports.renderWantedSumInput = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
5
5
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
6
- const constants_1 = require("./constants");
7
- const STEP_MONEY = 1000;
8
- function renderWantedSumInput(props) {
9
- const { title, className = '', calculatorParams, moneyValue, defaultSum, setMoneyValue, isShowItems = true, } = props;
10
- const minSum = calculatorParams?.minSum || constants_1.DEFAULT_MIN_SUM;
11
- const maxSum = calculatorParams?.maxSum || constants_1.DEFAULT_MAX_SUM;
6
+ const clamp_1 = require("../../utils/clamp");
7
+ const DEFAULT_MONEY_STEP = 1000;
8
+ function renderWantedSumInput(title, params, callback) {
9
+ const { moneyValue, minSum, maxSum, step = DEFAULT_MONEY_STEP, isShowItems = true } = params;
12
10
  const items = [
13
11
  `От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(minSum)} ₽`,
14
12
  `До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(maxSum)} ₽`,
15
13
  ];
16
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: className, title: title, items: isShowItems ? items : [], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue || defaultSum, onChange: setMoneyValue }));
14
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { title: title, items: isShowItems ? items : [], min: minSum, max: maxSum, step: step, value: (0, clamp_1.clamp)(moneyValue, minSum, maxSum), onChange: callback }));
17
15
  }
18
16
  exports.renderWantedSumInput = renderWantedSumInput;
19
17
  //# sourceMappingURL=renderWantedSumInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAEhE,iFAA8E;AAC9E,2CAA+D;AAG/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAYxB,SAAgB,oBAAoB,CAAC,KAAgC;IACnE,MAAM,EACJ,KAAK,EACL,SAAS,GAAG,EAAE,EACd,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,aAAa,EACb,WAAW,GAAG,IAAI,GACnB,GAAG,KAAK,CAAC;IAEV,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAC3D,MAAM,MAAM,GAAG,gBAAgB,EAAE,MAAM,IAAI,2BAAe,CAAC;IAC3D,MAAM,KAAK,GAAG;QACZ,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI;QACzC,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI;KAC1C,CAAC;IAEF,OAAO,CACL,uBAAC,uBAAU,IACT,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAC/B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,IAAI,UAAU,EAC/B,QAAQ,EAAE,aAAa,GACvB,CACH,CAAC;AACJ,CAAC;AA9BD,oDA8BC"}
1
+ {"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAChE,iFAA8E;AAC9E,6CAA0C;AAE1C,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAWhC,SAAgB,oBAAoB,CAAC,KAAa,EAAE,MAA6B,EAAE,QAAQ;IACzF,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,GAAG,kBAAkB,EAAE,WAAW,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;IAE7F,MAAM,KAAK,GAAG;QACZ,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI;QACzC,MAAM,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI;KAC1C,CAAC;IAEF,OAAO,CACL,uBAAC,uBAAU,IACT,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAC/B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EACxC,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC;AAnBD,oDAmBC"}
@@ -0,0 +1,37 @@
1
+ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
2
+ export interface BonusCalculatorUserInputParams {
3
+ travelExpenseValue: number;
4
+ restExpenseValue: number;
5
+ }
6
+ export interface BonusCalculatorSourceBookParams {
7
+ minSumTravel: number;
8
+ maxSumTravel: number;
9
+ minSumOther: number;
10
+ maxSumOther: number;
11
+ maxBonus: number;
12
+ prefMonthsNum: number;
13
+ prefTravelBonusRate: number;
14
+ prefRestBonusRate: number;
15
+ travelBonusRate: number;
16
+ restBonusRate: number;
17
+ }
18
+ export interface BonusCalculatorParams extends BonusCalculatorUserInputParams, BonusCalculatorSourceBookParams {
19
+ monthBonus: number;
20
+ yearBonus: number;
21
+ }
22
+ export declare const getBonusCalculatorParams: (context: ContentPageContext, userInputParams: BonusCalculatorUserInputParams, sourceBookDir: any) => {
23
+ monthBonus: number;
24
+ yearBonus: number;
25
+ travelExpenseValue: number;
26
+ restExpenseValue: number;
27
+ minSumTravel: number;
28
+ maxSumTravel: number;
29
+ minSumOther: number;
30
+ maxSumOther: number;
31
+ maxBonus: number;
32
+ prefMonthsNum: number;
33
+ prefTravelBonusRate: number;
34
+ prefRestBonusRate: number;
35
+ travelBonusRate: number;
36
+ restBonusRate: number;
37
+ };
@@ -0,0 +1,18 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.getBonusCalculatorParams = void 0;
3
+ const constants_1 = require("./constants");
4
+ const getBonus_1 = require("./getBonus");
5
+ const useCalculatorParams_1 = require("./useCalculatorParams");
6
+ const getBonusCalculatorParams = (context, userInputParams, sourceBookDir) => {
7
+ const { travelExpenseValue, restExpenseValue } = userInputParams;
8
+ const bonusCalculatorSourceBookParams = (0, useCalculatorParams_1.useCalculatorParams)(context.useAsyncData, sourceBookDir || constants_1.BONUS_CALC_DEFAULT_DIR) || constants_1.DEFAULT_BONUS_CALCULATOR_PARAMS;
9
+ const [monthBonus, yearBonus] = (0, getBonus_1.getBonus)(bonusCalculatorSourceBookParams, travelExpenseValue, restExpenseValue);
10
+ return {
11
+ ...bonusCalculatorSourceBookParams,
12
+ ...userInputParams,
13
+ monthBonus,
14
+ yearBonus,
15
+ };
16
+ };
17
+ exports.getBonusCalculatorParams = getBonusCalculatorParams;
18
+ //# sourceMappingURL=useBonusCalculatorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBonusCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useBonusCalculatorParams.ts"],"names":[],"mappings":";;AACA,2CAAsF;AACtF,yCAAsC;AACtC,+DAA4D;AA2BrD,MAAM,wBAAwB,GAAG,CACtC,OAA2B,EAC3B,eAA+C,EAC/C,aAAa,EACb,EAAE;IACF,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,GAAG,eAAe,CAAC;IACjE,MAAM,+BAA+B,GACnC,IAAA,yCAAmB,EACjB,OAAO,CAAC,YAAY,EACpB,aAAa,IAAI,kCAAsB,CACxC,IAAI,2CAA+B,CAAC;IAEvC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,IAAA,mBAAQ,EACtC,+BAA+B,EAC/B,kBAAkB,EAClB,gBAAgB,CACjB,CAAC;IAEF,OAAO;QACL,GAAG,+BAA+B;QAClC,GAAG,eAAe;QAClB,UAAU;QACV,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,wBAAwB,4BAwBnC"}
@@ -0,0 +1,2 @@
1
+ import type { AsyncDataHook } from '../ContentPage/ContentPageContext';
2
+ export declare function useCalculatorParams<Data>(useAsyncData: AsyncDataHook, dir: string): Data | undefined;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.useCalculatorParams = void 0;
3
+ function useCalculatorParams(useAsyncData, dir) {
4
+ const { data } = useAsyncData(`/wcms-resources/${dir}.json`, fetchCalculatorSourceBookParams);
5
+ return data;
6
+ }
7
+ exports.useCalculatorParams = useCalculatorParams;
8
+ async function fetchCalculatorSourceBookParams(url) {
9
+ const response = await fetch(url);
10
+ return await response.json();
11
+ }
12
+ //# sourceMappingURL=useCalculatorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCalculatorParams.ts"],"names":[],"mappings":";;AAEA,SAAgB,mBAAmB,CAAO,YAA2B,EAAE,GAAW;IAChF,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,mBAAmB,GAAG,OAAO,EAC7B,+BAA+B,CAChC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAPD,kDAOC;AAED,KAAK,UAAU,+BAA+B,CAAO,GAAW;IAC9D,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
2
+ export interface CommonCreditParams {
3
+ isInsurance: boolean;
4
+ isSalaryClient: boolean;
5
+ isStateEmployee: boolean;
6
+ }
7
+ export interface CreditCalculatorSourceBookParams extends CommonCreditParams {
8
+ minSum: number;
9
+ maxSum: number;
10
+ minMonths: number;
11
+ maxMonths: number;
12
+ rateBottomRange: number;
13
+ rateTopRange: number;
14
+ sumBorder: number;
15
+ }
16
+ export interface CreditCalculatorUserInputParams extends CommonCreditParams {
17
+ isAnnuity: boolean;
18
+ moneyValue: number;
19
+ monthsValue: number;
20
+ }
21
+ export interface CreditCalculatorParams extends CreditCalculatorSourceBookParams, CreditCalculatorUserInputParams {
22
+ monthlyPayment: number;
23
+ finalRate: number;
24
+ }
25
+ export declare type CreditCalculatorData = {
26
+ rows: CreditCalculatorSourceBookParams[];
27
+ };
28
+ export declare const getCreditCalculatorParams: (context: ContentPageContext, userInputParams: CreditCalculatorUserInputParams, sourceBookDir?: string) => CreditCalculatorParams;
@@ -0,0 +1,26 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.getCreditCalculatorParams = void 0;
3
+ const constants_1 = require("./constants");
4
+ const getMonthlyPayment_1 = require("./getMonthlyPayment");
5
+ const useCalculatorParams_1 = require("./useCalculatorParams");
6
+ const getCreditCalculatorParams = (context, userInputParams, sourceBookDir) => {
7
+ const { isInsurance, isSalaryClient, isStateEmployee, moneyValue } = userInputParams;
8
+ const data = (0, useCalculatorParams_1.useCalculatorParams)(context.useAsyncData, sourceBookDir || constants_1.CREDIT_CALC_DEFAULT_DIR);
9
+ const creditCalculatorSourceBookParams = data?.rows.find((_) => {
10
+ return (isInsurance === _.isInsurance &&
11
+ isSalaryClient === _.isSalaryClient &&
12
+ isStateEmployee === _.isStateEmployee);
13
+ }) || constants_1.DEFAULT_CREDIT_CALCULATOR_PARAMS;
14
+ const { rateBottomRange, rateTopRange, sumBorder } = creditCalculatorSourceBookParams;
15
+ const finalRate = moneyValue <= sumBorder ? rateBottomRange : rateTopRange;
16
+ const monthlyPayment = (0, getMonthlyPayment_1.getMonthlyPayment)(finalRate, userInputParams);
17
+ const extendedCalculatorParams = {
18
+ ...creditCalculatorSourceBookParams,
19
+ ...userInputParams,
20
+ finalRate,
21
+ monthlyPayment,
22
+ };
23
+ return extendedCalculatorParams;
24
+ };
25
+ exports.getCreditCalculatorParams = getCreditCalculatorParams;
26
+ //# sourceMappingURL=useCreditCalculatorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreditCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCreditCalculatorParams.ts"],"names":[],"mappings":";;AACA,2CAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAkCrD,MAAM,yBAAyB,GAAG,CACvC,OAA2B,EAC3B,eAAgD,EAChD,aAAsB,EACE,EAAE;IAC1B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IAErF,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAC9B,OAAO,CAAC,YAAY,EACpB,aAAa,IAAI,mCAAuB,CACzC,CAAC;IACF,MAAM,gCAAgC,GACpC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACpB,OAAO,CACL,WAAW,KAAK,CAAC,CAAC,WAAW;YAC7B,cAAc,KAAK,CAAC,CAAC,cAAc;YACnC,eAAe,KAAK,CAAC,CAAC,eAAe,CACtC,CAAC;IACJ,CAAC,CAAC,IAAI,4CAAgC,CAAC;IAEzC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,gCAAgC,CAAC;IACtF,MAAM,SAAS,GAAG,UAAU,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErE,MAAM,wBAAwB,GAAG;QAC/B,GAAG,gCAAgC;QACnC,GAAG,eAAe;QAClB,SAAS;QACT,cAAc;KACf,CAAC;IAEF,OAAO,wBAAwB,CAAC;AAClC,CAAC,CAAC;AAhCW,QAAA,yBAAyB,6BAgCpC"}
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Img_1 = require("../../ui-kit/Img/Img");
6
6
  const formatCurrency_1 = require("./formatCurrency");
7
- const TABLE_HEAD_STYLE = 'font-light text-left font-normal text-sm text-secondary-text';
7
+ const TABLE_HEAD_STYLE = 'text-left text-m text-secondary-text';
8
8
  const CURRENCY_ICONS_MAP = {
9
9
  USD: 'DollarIcon',
10
10
  EUR: 'EuroIcon',
@@ -14,6 +14,6 @@ exports.CurrencyTable = (0, uni_jsx_1.JSX)(({ className, exchangeCurrencyItems }
14
14
  });
15
15
  const renderCurrencyRow = (exchangeCurrencyItem) => {
16
16
  const code = exchangeCurrencyItem?.code;
17
- return ((0, jsx_runtime_1.jsxs)("tr", { className: "pb-1", children: [(0, jsx_runtime_1.jsx)("td", { className: "pt-4", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [code ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-m-title-md ml-2", children: code })] }) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-4 pl-11 m-title-md font-light", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem.buy) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-4 pl-11 m-title-md font-light", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem.sell) })] }, code));
17
+ return ((0, jsx_runtime_1.jsxs)("tr", { className: "pb-1 text-h6", children: [(0, jsx_runtime_1.jsx)("td", { className: "pt-4", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [code ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, (0, jsx_runtime_1.jsx)("span", { className: "ml-2", children: code })] }) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-4 pl-11", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem?.sell) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-4 pl-11", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem?.buy) })] }, code));
18
18
  };
19
19
  //# sourceMappingURL=CurrencyTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyTable.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrencyTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,8CAA2C;AAE3C,qDAAkD;AAElD,MAAM,gBAAgB,GAAG,8DAA8D,CAAC;AAExF,MAAM,kBAAkB,GAAG;IACzB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;CAChB,CAAC;AAOW,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,EAAE,EAAE;IAC5F,OAAO,CACL,mCAAO,SAAS,EAAE,eAAe,SAAS,EAAE,aAC1C,4CACE,2CACE,+BAAI,SAAS,EAAE,gBAAgB,qDAAa,EAC5C,+BAAI,SAAS,EAAE,GAAG,gBAAgB,QAAQ,qDAAa,EACvD,+BAAI,SAAS,EAAE,GAAG,gBAAgB,QAAQ,2DAAc,IACrD,GACC,EACR,4CAAQ,qBAAqB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,GAAS,IACvE,CACT,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,oBAA0C,EAAE,EAAE;IACvE,MAAM,IAAI,GAAG,oBAAoB,EAAE,IAAI,CAAC;IAExC,OAAO,CACL,gCAAe,SAAS,EAAC,MAAM,aAC7B,+BAAI,SAAS,EAAC,MAAM,YAClB,iCAAK,SAAS,EAAC,mBAAmB,aAC/B,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,EACxF,iCAAM,SAAS,EAAC,sBAAsB,YAAE,IAAI,GAAQ,IAChD,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G,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,EACxF,iCAAM,SAAS,EAAC,MAAM,YAAE,IAAI,GAAQ,IAChC,GACH,EACL,+BAAI,SAAS,EAAC,YAAY,YAAE,IAAA,+BAAc,EAAC,oBAAoB,EAAE,IAAI,CAAC,GAAM,EAC5E,+BAAI,SAAS,EAAC,YAAY,YAAE,IAAA,+BAAc,EAAC,oBAAoB,EAAE,GAAG,CAAC,GAAM,KARpE,IAAI,CASR,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -3,5 +3,5 @@ exports.CurrentLocation = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Img_1 = require("../../ui-kit/Img/Img");
6
- exports.CurrentLocation = (0, uni_jsx_1.JSX)(({ className = '', address, distance }) => ((0, jsx_runtime_1.jsxs)("div", { className: `flex text-sm ${className}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "ml-3 font-light", children: [address ? (0, jsx_runtime_1.jsx)("p", { className: "m-0 mb-[3px]", children: address }) : null, distance ? ((0, jsx_runtime_1.jsxs)("p", { className: "text-secondary-text m-0", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
6
+ exports.CurrentLocation = (0, uni_jsx_1.JSX)(({ className = '', address, distance }) => ((0, jsx_runtime_1.jsxs)("div", { className: `flex ${className}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "ml-3", children: [address ? (0, jsx_runtime_1.jsx)("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? ((0, jsx_runtime_1.jsxs)("p", { className: "text-secondary-text m-0 text-m", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
7
7
  //# sourceMappingURL=CurrentLocation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,8CAA2C;AAQ9B,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzC,iCAAK,SAAS,EAAE,gBAAgB,SAAS,EAAE,aACzC,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAChE,iCAAK,SAAS,EAAC,iBAAiB,aAC7B,OAAO,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,cAAc,YAAE,OAAO,GAAK,CAAC,CAAC,CAAC,IAAI,EAC1D,QAAQ,CAAC,CAAC,CAAC,CACV,+BAAG,SAAS,EAAC,yBAAyB,gMAAqC,QAAQ,IAAK,CACzF,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC"}
1
+ {"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,8CAA2C;AAQ9B,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzC,iCAAK,SAAS,EAAE,QAAQ,SAAS,EAAE,aACjC,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAChE,iCAAK,SAAS,EAAC,MAAM,aAClB,OAAO,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,oCAAoC,YAAE,OAAO,GAAK,CAAC,CAAC,CAAC,IAAI,EAChF,QAAQ,CAAC,CAAC,CAAC,CACV,+BAAG,SAAS,EAAC,gCAAgC,gMACP,QAAQ,IAC1C,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { UniBlockProps } from '../../types';
2
2
  import { Currency } from './CurrencyProps';
3
+ import { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
4
  export interface ExchangeCurrencyItem {
4
5
  code?: Currency;
5
6
  buy?: number;
@@ -9,6 +10,7 @@ export interface ExchangeCurrencyCalculatorProps extends UniBlockProps {
9
10
  className?: string;
10
11
  currencyRatesBuy: ExchangeCurrencyItem[];
11
12
  currencyRatesSell: ExchangeCurrencyItem[];
13
+ button?: ButtonProps;
12
14
  }
13
15
  export interface CalcState {
14
16
  inputSell: string;
@@ -7,7 +7,7 @@ const callbackCurrencySelect_1 = require("./callbackCurrencySelect");
7
7
  const CurrencyProps_1 = require("./CurrencyProps");
8
8
  const renderButton_1 = require("./renderButton");
9
9
  const renderInput_1 = require("./renderInput");
10
- exports.ExchangeCurrencyCalculator = (0, uni_jsx_1.JSX)(({ context, className = '', currencyRatesBuy, currencyRatesSell }) => {
10
+ exports.ExchangeCurrencyCalculator = (0, uni_jsx_1.JSX)(({ context, className = '', currencyRatesBuy, currencyRatesSell, button }) => {
11
11
  const [calcState, setCalcState] = context.useState({
12
12
  inputSell: '',
13
13
  inputBuy: '',
@@ -17,7 +17,7 @@ exports.ExchangeCurrencyCalculator = (0, uni_jsx_1.JSX)(({ context, className =
17
17
  const handleSetCalcState = (newState) => {
18
18
  setCalcState((oldState) => ({ ...oldState, ...newState }));
19
19
  };
20
- return ((0, jsx_runtime_1.jsxs)("div", { className: `grid gap-3.5 ${className}`, children: [(0, renderInput_1.renderInput)({
20
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `grid gap-[18px] pt-2 ${className}`, children: [(0, renderInput_1.renderInput)({
21
21
  placeholder: 'Хочу продать',
22
22
  rates: currencyRatesBuy,
23
23
  selected: calcState.selectSell,
@@ -31,7 +31,7 @@ exports.ExchangeCurrencyCalculator = (0, uni_jsx_1.JSX)(({ context, className =
31
31
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
32
32
  value: calcState.inputBuy,
33
33
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
34
- }), (0, renderButton_1.renderButton)()] }));
34
+ }), button?.text ? (0, renderButton_1.renderButton)(button) : null] }));
35
35
  });
36
36
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
37
37
  setCalcState({ selectSell: value });
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeCurrencyCalculator.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAiE;AACjE,qEAAkE;AAClE,mDAA2C;AAC3C,iDAA8C;AAC9C,+CAA4C;AAmB/B,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACnE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAA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ACtD,YAAY,CAAC,EAAE,QAAQ,EAAE,IAAA,6BAAW,EAAC,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;IACrE,MAAM,IAAI,GACR,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,EAAE,IAAI;QACvD,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,EAAE,GAAG,CAAC;IACvD,IAAI,IAAI,EAAE;QACR,YAAY,CAAC;YACX,SAAS,EAAE,MAAM,CAAC,IAAA,iCAAe,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,wBAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SAC/E,CAAC,CAAC;KACJ;AACH,CAAC,CAAC"}
@@ -6,7 +6,6 @@ const useExchangeRates_1 = require("../../hooks/useExchangeRates");
6
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
7
  const Heading_1 = require("../../ui-kit/Heading/Heading");
8
8
  const BaseTile_1 = require("../BaseTile/BaseTile");
9
- const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
10
9
  const CurrencyProps_1 = require("./CurrencyProps");
11
10
  const CurrencyTable_1 = require("./CurrencyTable");
12
11
  const CurrentLocation_1 = require("./CurrentLocation");
@@ -15,12 +14,12 @@ const DEFAULT_LOCATION = {
15
14
  address: 'Москва, ул.Ленина д.28',
16
15
  distance: '6км',
17
16
  };
18
- exports.ExchangeRateTile = (0, uni_jsx_1.JSX)(({ className = '', context, title = 'Курсы обмена валют', ...rest }) => {
17
+ exports.ExchangeRateTile = (0, uni_jsx_1.JSX)(({ className = '', context, title = 'Курсы обмена валют', button, ...rest }) => {
19
18
  const currencyRates = (0, useExchangeRates_1.useExchangeRates)(context.useAsyncData);
20
19
  const currencyRatesBuy = currencyRates.filter((_) => _.buy);
21
20
  currencyRatesBuy.unshift({ code: CurrencyProps_1.Currency.RUB });
22
21
  const currencyRatesSell = currencyRates.filter((_) => _.sell);
23
22
  currencyRatesSell.push({ code: CurrencyProps_1.Currency.RUB });
24
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: (0, getTileHeadingType_1.getTileHeadingType)(className), title: title, className: "whitespace-pre-wrap" }), children: (0, jsx_runtime_1.jsxs)("div", { className: "flex", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-[43px] pt-4", children: [currencyRates ? ((0, jsx_runtime_1.jsx)(CurrencyTable_1.CurrencyTable, { className: "mb-[31px]", exchangeCurrencyItems: currencyRates })) : null, (0, jsx_runtime_1.jsx)(CurrentLocation_1.CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? ((0, jsx_runtime_1.jsx)(ExchangeCurrencyCalculator_1.ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell })) : null] }) }) }));
23
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4" }), children: (0, jsx_runtime_1.jsxs)("div", { className: "flex", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-14 pt-4", children: [currencyRates ? ((0, jsx_runtime_1.jsx)(CurrencyTable_1.CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, (0, jsx_runtime_1.jsx)(CurrentLocation_1.CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? ((0, jsx_runtime_1.jsx)(ExchangeCurrencyCalculator_1.ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
25
24
  });
26
25
  //# sourceMappingURL=ExchangeRateTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mEAAgE;AAChE,4DAAyD;AAEzD,0DAAuD;AACvD,mDAAgD;AAChD,uEAAoE;AACpE,mDAA2C;AAC3C,mDAAgD;AAChD,uDAAoD;AACpD,6EAA0E;AAG1E,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,KAAK;CAChB,CAAC;AAIW,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,GAAG,oBAAoB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrE,MAAM,aAAa,GAAG,IAAA,mCAAgB,EAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAE7D,MAAM,gBAAgB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5D,gBAAgB,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,wBAAQ,CAAC,GAAG,EAAE,CAAC,CAAC;IAEjD,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC9D,iBAAiB,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,wBAAQ,CAAC,GAAG,EAAE,CAAC,CAAC;IAE/C,OAAO,CACL,uBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,uDAAuD,SAAS,EAAE,KACzE,IAAI,YAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,uBAAC,iBAAO,IACN,WAAW,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,EAC1C,KAAK,EAAE,KAAK,EACZ,SAAS,EAAC,qBAAqB,GAC/B,YAGJ,iCAAK,SAAS,EAAC,MAAM,aACnB,iCAAK,SAAS,EAAC,gBAAgB,aAC5B,aAAa,CAAC,CAAC,CAAC,CACf,uBAAC,6BAAa,IAAC,SAAS,EAAC,WAAW,EAAC,qBAAqB,EAAE,aAAa,GAAI,CAC9E,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,iCAAe,OAAK,gBAAgB,GAAI,IACrC,EACL,aAAa,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7E,uBAAC,uDAA0B,IACzB,SAAS,EAAC,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mEAAgE;AAEhE,4DAAyD;AACzD,0DAAuD;AACvD,mDAAgD;AAChD,mDAA2C;AAC3C,mDAAgD;AAChD,uDAAoD;AACpD,6EAA0E;AAG1E,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,KAAK;CAChB,CAAC;AAIW,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,E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,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,GACd,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,9 @@
1
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
1
2
  /**
2
3
  * @title Курсы обмена валют
3
4
  */
4
5
  export interface ExchangeRateTileContent {
5
6
  /** @title Заголовок */
6
7
  title?: string;
8
+ button?: ButtonProps;
7
9
  }
@@ -1 +1 @@
1
- export declare function renderButton(): any;
1
+ export declare function renderButton(button: any): any;
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderButton = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const Button_1 = require("../../ui-kit/Button/Button");
5
- function renderButton() {
6
- return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "box-border mt-3.5 py-3 h-12 w-full", version: "primary", href: "https://coins.rshb.ru/exchange", target: "_blank", children: "\u041A\u0443\u043F\u0438\u0442\u044C \u0432\u0430\u043B\u044E\u0442\u0443" }));
5
+ function renderButton(button) {
6
+ return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "py-4 mr-1", version: button?.version, href: button?.href, target: "_blank", children: button?.text }));
7
7
  }
8
8
  exports.renderButton = renderButton;
9
9
  //# sourceMappingURL=renderButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderButton.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderButton.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAEpD,SAAgB,YAAY;IAC1B,OAAO,CACL,uBAAC,eAAM,IACL,SAAS,EAAC,oCAAoC,EAC9C,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAgC,EACrC,MAAM,EAAC,QAAQ,0FAGR,CACV,CAAC;AACJ,CAAC;AAXD,oCAWC"}
1
+ {"version":3,"file":"renderButton.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderButton.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAEpD,SAAgB,YAAY,CAAC,MAAM;IACjC,OAAO,CACL,uBAAC,eAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC,QAAQ,YACxF,MAAM,EAAE,IAAI,GACN,CACV,CAAC;AACJ,CAAC;AAND,oCAMC"}
@@ -6,7 +6,7 @@ const Select_1 = require("../../ui-kit/Select/Select");
6
6
  const SelectOption_1 = require("../../ui-kit/Select/SelectOption");
7
7
  function renderInput(props) {
8
8
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
9
- return ((0, jsx_runtime_1.jsxs)("div", { className: "relative flex items-center", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12", placeholder: placeholder, type: "text", value: value, onChange: setValue }), rates.length ? ((0, jsx_runtime_1.jsx)(Select_1.Select, { className: "h-9 -translate-x-4", value: selected, onChange: (_) => setSelected(_), children: rates.map((_, i) => ((0, jsx_runtime_1.jsx)(SelectOption_1.SelectOption, { value: _.code, children: _.code }, String(i)))) })) : null] }));
9
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "relative flex items-center", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "h-13 border pl-4 pt-4 pb-4 rounded-md text-l w-full appearance-none -mr-12", placeholder: placeholder, type: "text", value: value, onChange: setValue }), rates.length ? ((0, jsx_runtime_1.jsx)(Select_1.Select, { className: "h-9 -translate-x-4 bg-transparent", value: selected, onChange: (_) => setSelected(_), children: rates.map((_, i) => ((0, jsx_runtime_1.jsx)(SelectOption_1.SelectOption, { value: _.code, children: _.code }, String(i)))) })) : null] }));
10
10
  }
11
11
  exports.renderInput = renderInput;
12
12
  //# sourceMappingURL=renderInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,uDAAoD;AACpD,mEAAgE;AAahE,SAAgB,WAAW,CAAC,KAAiB;IAC3C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE7E,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACzC,uBAAC,aAAK,IACJ,SAAS,EAAC,uFAAuF,EACjG,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACD,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,eAAM,IACL,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAa,CAAC,YAE1C,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,2BAAY,IAAiB,KAAK,EAAE,CAAC,CAAC,IAAI,YACxC,CAAC,CAAC,IAAI,IADU,MAAM,CAAC,CAAC,CAAC,CAEb,CAChB,CAAC,GACK,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC;AA3BD,kCA2BC"}
1
+ {"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,uDAAoD;AACpD,mEAAgE;AAahE,SAAgB,WAAW,CAAC,KAAiB;IAC3C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE7E,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACzC,uBAAC,aAAK,IACJ,SAAS,EAAC,4EAA4E,EACtF,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACD,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,eAAM,IACL,SAAS,EAAC,mCAAmC,EAC7C,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAa,CAAC,YAE1C,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,2BAAY,IAAiB,KAAK,EAAE,CAAC,CAAC,IAAI,YACxC,CAAC,CAAC,IAAI,IADU,MAAM,CAAC,CAAC,CAAC,CAEb,CAChB,CAAC,GACK,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC;AA3BD,kCA2BC"}
@@ -3,10 +3,10 @@ exports.HorizontalNavigation = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const useLink_1 = require("../../hooks/useLink");
6
+ const HorizontalNavigationLink_1 = require("./HorizontalNavigationLink");
6
7
  exports.HorizontalNavigation = (0, uni_jsx_1.JSX)(({ title, links, className = '', context }) => {
7
8
  const router = context.useRouter();
8
9
  const { handlerDecorator } = context;
9
- return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-primary-text font-sans font-medium text-sm", children: title }), links?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-2 pt-3", children: links.map((_, i) => ((0, jsx_runtime_1.jsx)(HorizontalNavigationLink, { index: i, ...(0, useLink_1.useLink)({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
10
+ return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-primary-text font-sans font-medium text-sm", children: title }), links?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-2 pt-3", children: links.map((_, i) => ((0, jsx_runtime_1.jsx)(HorizontalNavigationLink_1.HorizontalNavigationLink, { index: i, className: "font-normal text-sm", ...(0, useLink_1.useLink)({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
10
11
  });
11
- const HorizontalNavigationLink = (0, uni_jsx_1.JSX)(({ className = '', index, text, href, target, onClick }) => ((0, jsx_runtime_1.jsx)("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
12
12
  //# sourceMappingURL=HorizontalNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AASjC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,iCAAM,SAAS,EAAC,iDAAiD,YAAE,KAAK,GAAQ,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,0BAA0B,YACtC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,wBAAwB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC1D,8BACE,SAAS,EAAE,uGAAuG,SAAS,EAAE,EAC7H,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
1
+ {"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAG9C,yEAAsE;AAMzD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,iCAAM,SAAS,EAAC,iDAAiD,YAAE,KAAK,GAAQ,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,0BAA0B,YACtC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,mDAAwB,IAEvB,KAAK,EAAE,CAAC,EACR,SAAS,EAAC,qBAAqB,KAC3B,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAHvC,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}