@redneckz/wildless-cms-uni-blocks 0.3.69 → 0.3.71

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 (1165) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +467 -423
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/DoneIcon.svg +1 -0
  5. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  6. package/dist/components/BlockContent.d.ts +3 -1
  7. package/dist/components/Blocks.d.ts +1 -1
  8. package/dist/components/Blocks.js +2 -2
  9. package/dist/components/Blocks.js.map +1 -1
  10. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  11. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  12. package/dist/components/Calculator/Calculator.js +7 -3
  13. package/dist/components/Calculator/Calculator.js.map +1 -1
  14. package/dist/components/Calculator/getCalculatorParams.js +2 -1
  15. package/dist/components/Calculator/getCalculatorParams.js.map +1 -1
  16. package/dist/components/Calculator/getCreditRate.js +2 -1
  17. package/dist/components/Calculator/getCreditRate.js.map +1 -1
  18. package/dist/components/Calculator/getMonthlyPayment.js +2 -1
  19. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  20. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  21. package/dist/components/ComparisonTable/HeaderCell.mobile.js +4 -2
  22. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  23. package/dist/components/ComparisonTable/TableCell.js +3 -1
  24. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  25. package/dist/components/ComparisonTable/TableCell.mobile.js +3 -1
  26. package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  27. package/dist/components/ComparisonTable/TableRow.js +2 -1
  28. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  29. package/dist/components/ContentPage/ContentPageContext.d.ts +14 -3
  30. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  31. package/dist/components/ExchangeRateTile/CurrencyProps.js +9 -0
  32. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  33. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  34. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  35. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  36. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  37. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +68 -9
  38. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  39. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  40. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  41. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  42. package/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  43. package/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  44. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  45. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  46. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +17 -0
  47. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  48. package/dist/components/ExchangeRateTile/formatCurrency.js +5 -1
  49. package/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  50. package/dist/components/ExchangeRateTile/renderButton.d.ts +1 -0
  51. package/dist/components/ExchangeRateTile/renderButton.js +9 -0
  52. package/dist/components/ExchangeRateTile/renderButton.js.map +1 -0
  53. package/dist/components/ExchangeRateTile/renderInput.d.ts +12 -0
  54. package/dist/components/ExchangeRateTile/renderInput.js +12 -0
  55. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  56. package/dist/components/Footer/Footer.js +1 -1
  57. package/dist/components/Footer/Footer.js.map +1 -1
  58. package/dist/components/Footer/MediaButton.js +4 -13
  59. package/dist/components/Footer/MediaButton.js.map +1 -1
  60. package/dist/components/Footer/TextInformation.js +1 -1
  61. package/dist/components/Footer/TextInformation.js.map +1 -1
  62. package/dist/components/Gallery/Gallery.mobile.js +2 -2
  63. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  64. package/dist/components/Gallery/GalleryCardInner.js +2 -2
  65. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  66. package/dist/components/Gallery/GalleryInner.js +7 -2
  67. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  68. package/dist/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  69. package/dist/components/GroupBlock/GroupBlock.js +3 -3
  70. package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  71. package/dist/components/GroupBlock/GroupBlockTabs.js +2 -2
  72. package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  73. package/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  74. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  75. package/dist/components/Header/DropdownMenu.d.ts +13 -0
  76. package/dist/components/Header/DropdownMenu.js +18 -0
  77. package/dist/components/Header/DropdownMenu.js.map +1 -0
  78. package/dist/components/Header/HeaderSubMenu.js +19 -32
  79. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  80. package/dist/components/Insurance/Insurance.js +4 -6
  81. package/dist/components/Insurance/Insurance.js.map +1 -1
  82. package/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  83. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  84. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +34 -0
  85. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  86. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  87. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  88. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  89. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  90. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +55 -0
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  92. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  93. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  94. package/dist/components/Placeholder/Placeholder.js +1 -1
  95. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  96. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  97. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  98. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  99. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  100. package/dist/components/ProductTile/ProductTile.js +2 -2
  101. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  102. package/dist/components/Recommendation/Recommendation.js +7 -2
  103. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  104. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  105. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  106. package/dist/components/Tile/Tile.js +4 -4
  107. package/dist/components/Tile/Tile.js.map +1 -1
  108. package/dist/components/Tile/TileContent.d.ts +5 -0
  109. package/dist/content-page-repository/mapJSON.d.ts +1 -1
  110. package/dist/content-page-repository/mapJSON.js +9 -7
  111. package/dist/content-page-repository/mapJSON.js.map +1 -1
  112. package/dist/content-page-repository/transformMarkdown.js +2 -1
  113. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  114. package/dist/content-page-repository/transformPicture.js +6 -3
  115. package/dist/content-page-repository/transformPicture.js.map +1 -1
  116. package/dist/hooks/useCreditCalculatorData.d.ts +1 -2
  117. package/dist/hooks/useCreditCalculatorData.js.map +1 -1
  118. package/dist/hooks/useExchangeRates.d.ts +2 -8
  119. package/dist/hooks/useExchangeRates.js +52 -3
  120. package/dist/hooks/useExchangeRates.js.map +1 -1
  121. package/dist/hooks/useTableArrowScrollControl.js +3 -3
  122. package/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  123. package/dist/icons/IconName.d.ts +4 -2
  124. package/dist/icons/IconName.js +2 -0
  125. package/dist/icons/IconName.js.map +1 -1
  126. package/dist/model/Insurance.d.ts +6 -0
  127. package/dist/{components/CreditCalculator/CreditCalculatorContent.js → model/Insurance.js} +1 -1
  128. package/dist/model/Insurance.js.map +1 -0
  129. package/dist/react/IntersectionObserverTag.d.ts +3 -0
  130. package/dist/react/IntersectionObserverTag.js +17 -0
  131. package/dist/react/IntersectionObserverTag.js.map +1 -0
  132. package/dist/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  133. package/{mobile/dist → dist/react}/setup-fixture.js +3 -1
  134. package/dist/react/setup-fixture.js.map +1 -0
  135. package/dist/services/sitemap/isHrefActive.d.ts +1 -1
  136. package/dist/services/sitemap/isHrefActive.js +1 -1
  137. package/dist/services/sitemap/isHrefActive.js.map +1 -1
  138. package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  139. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  140. package/dist/ui-kit/Button/ButtonSection.js +2 -1
  141. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  142. package/dist/ui-kit/Button/renderArrows.d.ts +10 -0
  143. package/dist/ui-kit/Button/renderArrows.js +9 -0
  144. package/dist/ui-kit/Button/renderArrows.js.map +1 -0
  145. package/dist/ui-kit/Img/Img.mobile.js +1 -1
  146. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  147. package/dist/ui-kit/Input/Input.js +6 -2
  148. package/dist/ui-kit/Input/Input.js.map +1 -1
  149. package/dist/ui-kit/Input/InputProps.d.ts +3 -0
  150. package/dist/ui-kit/InputRange/InputRange.js +10 -6
  151. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  152. package/dist/ui-kit/SVG.js +1 -1
  153. package/dist/ui-kit/SVG.js.map +1 -1
  154. package/dist/ui-kit/SearchBar.mobile.js +1 -1
  155. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  156. package/dist/ui-kit/Select/Select.d.ts +2 -0
  157. package/dist/ui-kit/Select/Select.js +2 -2
  158. package/dist/ui-kit/Select/Select.js.map +1 -1
  159. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  160. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  161. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  162. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  163. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  164. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  165. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -3
  166. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  167. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  168. package/dist/ui-kit/Tabs/Tabs.js +2 -1
  169. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  170. package/dist/ui-kit/TopItem/TopItem.js +6 -8
  171. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  172. package/dist/utils/changeHashOnScroll.js +2 -1
  173. package/dist/utils/changeHashOnScroll.js.map +1 -1
  174. package/dist/utils/getCurrentDate.js +1 -1
  175. package/dist/utils/roundTo.d.ts +1 -0
  176. package/dist/utils/roundTo.js +8 -0
  177. package/dist/utils/roundTo.js.map +1 -0
  178. package/lib/common.css +1 -1
  179. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  180. package/lib/components/BlockContent.d.ts +3 -1
  181. package/lib/components/Blocks.d.ts +1 -1
  182. package/lib/components/Blocks.js +2 -2
  183. package/lib/components/Blocks.js.map +1 -1
  184. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  185. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  186. package/lib/components/Calculator/Calculator.js +8 -4
  187. package/lib/components/Calculator/Calculator.js.map +1 -1
  188. package/lib/components/Calculator/getCalculatorParams.js +2 -1
  189. package/lib/components/Calculator/getCalculatorParams.js.map +1 -1
  190. package/lib/components/Calculator/getCreditRate.js +2 -1
  191. package/lib/components/Calculator/getCreditRate.js.map +1 -1
  192. package/lib/components/Calculator/getMonthlyPayment.js +2 -1
  193. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  194. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  195. package/lib/components/ComparisonTable/HeaderCell.mobile.js +4 -2
  196. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  197. package/lib/components/ComparisonTable/TableCell.js +3 -1
  198. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  199. package/lib/components/ComparisonTable/TableCell.mobile.js +3 -1
  200. package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  201. package/lib/components/ComparisonTable/TableRow.js +2 -1
  202. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  203. package/lib/components/ContentPage/ContentPageContext.d.ts +14 -3
  204. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  205. package/lib/components/ExchangeRateTile/CurrencyProps.js +7 -0
  206. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  207. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  208. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  209. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  210. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  211. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +69 -10
  212. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  213. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  214. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  215. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  216. package/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  217. package/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  218. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  219. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  220. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +14 -0
  221. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  222. package/lib/components/ExchangeRateTile/formatCurrency.js +5 -1
  223. package/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  224. package/lib/components/ExchangeRateTile/renderButton.d.ts +1 -0
  225. package/lib/components/ExchangeRateTile/renderButton.js +6 -0
  226. package/lib/components/ExchangeRateTile/renderButton.js.map +1 -0
  227. package/lib/components/ExchangeRateTile/renderInput.d.ts +12 -0
  228. package/lib/components/ExchangeRateTile/renderInput.js +9 -0
  229. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  230. package/lib/components/Footer/Footer.js +1 -1
  231. package/lib/components/Footer/Footer.js.map +1 -1
  232. package/lib/components/Footer/MediaButton.js +4 -13
  233. package/lib/components/Footer/MediaButton.js.map +1 -1
  234. package/lib/components/Footer/TextInformation.js +1 -1
  235. package/lib/components/Footer/TextInformation.js.map +1 -1
  236. package/lib/components/Gallery/Gallery.mobile.js +2 -2
  237. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  238. package/lib/components/Gallery/GalleryCardInner.js +2 -2
  239. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  240. package/lib/components/Gallery/GalleryInner.js +7 -2
  241. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  242. package/lib/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  243. package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +1 -0
  244. package/lib/components/GroupBlock/GroupBlock.js +3 -3
  245. package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  246. package/lib/components/GroupBlock/GroupBlockTabs.js +2 -2
  247. package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  248. package/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  249. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  250. package/lib/components/Header/DropdownMenu.d.ts +13 -0
  251. package/lib/components/Header/DropdownMenu.js +16 -0
  252. package/lib/components/Header/DropdownMenu.js.map +1 -0
  253. package/lib/components/Header/HeaderSubMenu.js +19 -32
  254. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  255. package/lib/components/Headline/Headline.fixture.d.ts +9 -3
  256. package/lib/components/Headline/Headline.fixture.mobile.d.ts +13 -3
  257. package/lib/components/Insurance/Insurance.fixture.d.ts +2 -1
  258. package/lib/components/Insurance/Insurance.js +4 -6
  259. package/lib/components/Insurance/Insurance.js.map +1 -1
  260. package/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  261. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  262. package/lib/components/{CreditCalculator/CreditCalculator.fixture.d.ts → InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts} +0 -0
  263. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +32 -0
  264. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  265. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  266. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  267. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  268. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  269. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +53 -0
  270. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  271. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  272. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  273. package/lib/components/Placeholder/Placeholder.js +1 -1
  274. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  275. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +10 -2
  276. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  277. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  278. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  279. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  280. package/lib/components/ProductTile/ProductTile.js +2 -2
  281. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  282. package/lib/components/Recommendation/Recommendation.fixture.d.ts +3 -0
  283. package/lib/components/Recommendation/Recommendation.js +7 -2
  284. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  285. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +7 -1
  286. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  287. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  288. package/lib/components/TextBlock/TextBlock.fixture.d.ts +3 -1
  289. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +3 -1
  290. package/lib/components/Tile/Tile.js +4 -4
  291. package/lib/components/Tile/Tile.js.map +1 -1
  292. package/lib/components/Tile/TileContent.d.ts +5 -0
  293. package/lib/content-page-repository/mapJSON.d.ts +1 -1
  294. package/lib/content-page-repository/mapJSON.js +9 -7
  295. package/lib/content-page-repository/mapJSON.js.map +1 -1
  296. package/lib/content-page-repository/transformMarkdown.js +2 -1
  297. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  298. package/lib/content-page-repository/transformPicture.js +6 -3
  299. package/lib/content-page-repository/transformPicture.js.map +1 -1
  300. package/lib/hooks/useCreditCalculatorData.d.ts +1 -2
  301. package/lib/hooks/useCreditCalculatorData.js.map +1 -1
  302. package/lib/hooks/useExchangeRates.d.ts +2 -8
  303. package/lib/hooks/useExchangeRates.js +52 -3
  304. package/lib/hooks/useExchangeRates.js.map +1 -1
  305. package/lib/hooks/useTableArrowScrollControl.js +3 -3
  306. package/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  307. package/lib/icons/IconName.d.ts +4 -2
  308. package/lib/icons/IconName.js +2 -0
  309. package/lib/icons/IconName.js.map +1 -1
  310. package/lib/model/Insurance.d.ts +6 -0
  311. package/lib/model/Insurance.js +2 -0
  312. package/lib/model/Insurance.js.map +1 -0
  313. package/lib/react/IntersectionObserverTag.d.ts +3 -0
  314. package/lib/react/IntersectionObserverTag.js +14 -0
  315. package/lib/react/IntersectionObserverTag.js.map +1 -0
  316. package/lib/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  317. package/{mobile/lib → lib/react}/setup-fixture.js +3 -1
  318. package/lib/react/setup-fixture.js.map +1 -0
  319. package/lib/services/sitemap/isHrefActive.d.ts +1 -1
  320. package/lib/services/sitemap/isHrefActive.js +1 -1
  321. package/lib/services/sitemap/isHrefActive.js.map +1 -1
  322. package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  323. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  324. package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
  325. package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +1 -1
  326. package/lib/ui-kit/Button/ButtonSection.js +2 -1
  327. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  328. package/lib/ui-kit/Button/renderArrows.d.ts +10 -0
  329. package/lib/ui-kit/Button/renderArrows.js +6 -0
  330. package/lib/ui-kit/Button/renderArrows.js.map +1 -0
  331. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
  332. package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
  333. package/lib/ui-kit/Img/Img.mobile.js +1 -1
  334. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  335. package/lib/ui-kit/Input/Input.js +6 -2
  336. package/lib/ui-kit/Input/Input.js.map +1 -1
  337. package/lib/ui-kit/Input/InputProps.d.ts +3 -0
  338. package/lib/ui-kit/InputRange/InputRange.js +10 -6
  339. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  340. package/lib/ui-kit/List/List.fixture.d.ts +1 -1
  341. package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
  342. package/lib/ui-kit/SVG.js +1 -1
  343. package/lib/ui-kit/SVG.js.map +1 -1
  344. package/lib/ui-kit/SearchBar.mobile.js +1 -1
  345. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  346. package/lib/ui-kit/Select/Select.d.ts +2 -0
  347. package/lib/ui-kit/Select/Select.js +2 -2
  348. package/lib/ui-kit/Select/Select.js.map +1 -1
  349. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  350. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  351. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  352. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  353. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  354. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  355. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +10 -4
  356. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  357. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  358. package/lib/ui-kit/Tabs/Tabs.js +2 -1
  359. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  360. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
  361. package/lib/ui-kit/TopItem/TopItem.js +6 -8
  362. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  363. package/lib/utils/changeHashOnScroll.js +2 -1
  364. package/lib/utils/changeHashOnScroll.js.map +1 -1
  365. package/lib/utils/getCurrentDate.js +1 -1
  366. package/lib/utils/roundTo.d.ts +1 -0
  367. package/lib/utils/roundTo.js +5 -0
  368. package/lib/utils/roundTo.js.map +1 -0
  369. package/mobile/bundle/bundle.umd.js +216 -69
  370. package/mobile/bundle/bundle.umd.min.js +1 -1
  371. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  372. package/mobile/dist/components/BlockContent.d.ts +3 -1
  373. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  374. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  375. package/mobile/dist/components/Calculator/Calculator.js +7 -3
  376. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  377. package/mobile/dist/components/Calculator/getCalculatorParams.js +2 -1
  378. package/mobile/dist/components/Calculator/getCalculatorParams.js.map +1 -1
  379. package/mobile/dist/components/Calculator/getCreditRate.js +2 -1
  380. package/mobile/dist/components/Calculator/getCreditRate.js.map +1 -1
  381. package/mobile/dist/components/Calculator/getMonthlyPayment.js +2 -1
  382. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  383. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  384. package/mobile/dist/components/ComparisonTable/HeaderCell.js +4 -2
  385. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  386. package/mobile/dist/components/ComparisonTable/TableCell.js +3 -1
  387. package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
  388. package/mobile/dist/components/ComparisonTable/TableRow.js +2 -1
  389. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  390. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +14 -3
  391. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  392. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +9 -0
  393. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  394. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  395. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  396. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  397. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  398. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +68 -9
  399. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  400. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  401. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  402. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  403. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  404. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  405. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  406. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  407. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +17 -0
  408. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  409. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +5 -1
  410. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  411. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +1 -0
  412. package/mobile/dist/components/ExchangeRateTile/renderButton.js +9 -0
  413. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +1 -0
  414. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +12 -0
  415. package/mobile/dist/components/ExchangeRateTile/renderInput.js +12 -0
  416. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  417. package/mobile/dist/components/Footer/MediaButton.js +4 -13
  418. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  419. package/mobile/dist/components/Gallery/Gallery.js +2 -2
  420. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  421. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -2
  422. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  423. package/mobile/dist/components/Gallery/GalleryInner.js +7 -2
  424. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  425. package/mobile/dist/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  426. package/mobile/dist/components/GroupBlock/GroupBlock.js +3 -3
  427. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  428. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +2 -2
  429. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  430. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  431. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  432. package/mobile/dist/components/Header/DropdownMenu.d.ts +13 -0
  433. package/mobile/dist/components/Header/DropdownMenu.js +18 -0
  434. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -0
  435. package/mobile/dist/components/Header/HeaderSubMenu.js +19 -32
  436. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  437. package/mobile/dist/components/Insurance/Insurance.js +4 -6
  438. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  439. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  440. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  441. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +34 -0
  442. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  443. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  444. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  445. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  446. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  447. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +55 -0
  448. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  449. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  450. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  451. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  452. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  453. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  454. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  455. package/mobile/dist/components/ProductTile/ProductTile.js +2 -2
  456. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  457. package/mobile/dist/components/Recommendation/Recommendation.js +7 -2
  458. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  459. package/mobile/dist/components/Tile/Tile.js +4 -4
  460. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  461. package/mobile/dist/components/Tile/TileContent.d.ts +5 -0
  462. package/mobile/dist/content-page-repository/mapJSON.d.ts +1 -1
  463. package/mobile/dist/content-page-repository/mapJSON.js +9 -7
  464. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  465. package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
  466. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  467. package/mobile/dist/content-page-repository/transformPicture.js +6 -3
  468. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  469. package/mobile/dist/hooks/useCreditCalculatorData.d.ts +1 -2
  470. package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
  471. package/mobile/dist/hooks/useExchangeRates.d.ts +2 -8
  472. package/mobile/dist/hooks/useExchangeRates.js +52 -3
  473. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  474. package/mobile/dist/hooks/useTableArrowScrollControl.js +3 -3
  475. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  476. package/mobile/dist/icons/IconName.d.ts +4 -2
  477. package/mobile/dist/icons/IconName.js +2 -0
  478. package/mobile/dist/icons/IconName.js.map +1 -1
  479. package/mobile/dist/model/Insurance.d.ts +6 -0
  480. package/mobile/dist/{components/CreditCalculator/CreditCalculatorContent.js → model/Insurance.js} +1 -1
  481. package/mobile/dist/model/Insurance.js.map +1 -0
  482. package/mobile/dist/react/IntersectionObserverTag.d.ts +3 -0
  483. package/mobile/dist/react/IntersectionObserverTag.js +17 -0
  484. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -0
  485. package/mobile/dist/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  486. package/{dist → mobile/dist/react}/setup-fixture.js +3 -1
  487. package/mobile/dist/react/setup-fixture.js.map +1 -0
  488. package/mobile/dist/services/sitemap/isHrefActive.d.ts +1 -1
  489. package/mobile/dist/services/sitemap/isHrefActive.js +1 -1
  490. package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
  491. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  492. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  493. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -1
  494. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  495. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +10 -0
  496. package/mobile/dist/ui-kit/Button/renderArrows.js +9 -0
  497. package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -0
  498. package/mobile/dist/ui-kit/Img/Img.js +1 -1
  499. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  500. package/mobile/dist/ui-kit/Input/Input.js +6 -2
  501. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  502. package/mobile/dist/ui-kit/Input/InputProps.d.ts +3 -0
  503. package/mobile/dist/ui-kit/InputRange/InputRange.js +10 -6
  504. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  505. package/mobile/dist/ui-kit/SVG.js +1 -1
  506. package/mobile/dist/ui-kit/SVG.js.map +1 -1
  507. package/mobile/dist/ui-kit/Select/Select.d.ts +2 -0
  508. package/mobile/dist/ui-kit/Select/Select.js +2 -2
  509. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  510. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  511. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  512. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  513. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  514. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  515. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  516. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -3
  517. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  518. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  519. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -1
  520. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  521. package/mobile/dist/ui-kit/TopItem/TopItem.js +6 -8
  522. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  523. package/mobile/dist/utils/changeHashOnScroll.js +2 -1
  524. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -1
  525. package/mobile/dist/utils/getCurrentDate.js +1 -1
  526. package/mobile/dist/utils/roundTo.d.ts +1 -0
  527. package/mobile/dist/utils/roundTo.js +8 -0
  528. package/mobile/dist/utils/roundTo.js.map +1 -0
  529. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  530. package/mobile/lib/components/BlockContent.d.ts +3 -1
  531. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  532. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  533. package/mobile/lib/components/Calculator/Calculator.js +8 -4
  534. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  535. package/mobile/lib/components/Calculator/getCalculatorParams.js +2 -1
  536. package/mobile/lib/components/Calculator/getCalculatorParams.js.map +1 -1
  537. package/mobile/lib/components/Calculator/getCreditRate.js +2 -1
  538. package/mobile/lib/components/Calculator/getCreditRate.js.map +1 -1
  539. package/mobile/lib/components/Calculator/getMonthlyPayment.js +2 -1
  540. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  541. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  542. package/mobile/lib/components/ComparisonTable/HeaderCell.js +4 -2
  543. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  544. package/mobile/lib/components/ComparisonTable/TableCell.js +3 -1
  545. package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
  546. package/mobile/lib/components/ComparisonTable/TableRow.js +2 -1
  547. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  548. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +14 -3
  549. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  550. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +7 -0
  551. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  552. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  553. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  554. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  555. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  556. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +69 -10
  557. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  558. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  559. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  560. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  561. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  562. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  563. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  564. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  565. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +14 -0
  566. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  567. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +5 -1
  568. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  569. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +1 -0
  570. package/mobile/lib/components/ExchangeRateTile/renderButton.js +6 -0
  571. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +1 -0
  572. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +12 -0
  573. package/mobile/lib/components/ExchangeRateTile/renderInput.js +9 -0
  574. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  575. package/mobile/lib/components/Footer/MediaButton.js +4 -13
  576. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  577. package/mobile/lib/components/Gallery/Gallery.js +2 -2
  578. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  579. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -2
  580. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  581. package/mobile/lib/components/Gallery/GalleryInner.js +7 -2
  582. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  583. package/mobile/lib/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  584. package/mobile/lib/components/GroupBlock/GroupBlock.js +3 -3
  585. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  586. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +2 -2
  587. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  588. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  589. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  590. package/mobile/lib/components/Header/DropdownMenu.d.ts +13 -0
  591. package/mobile/lib/components/Header/DropdownMenu.js +16 -0
  592. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -0
  593. package/mobile/lib/components/Header/HeaderSubMenu.js +19 -32
  594. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  595. package/mobile/lib/components/Insurance/Insurance.js +4 -6
  596. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  597. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  598. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  599. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +32 -0
  600. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  601. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  602. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  603. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  604. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  605. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +53 -0
  606. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  607. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  608. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  609. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  610. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  611. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  612. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  613. package/mobile/lib/components/ProductTile/ProductTile.js +2 -2
  614. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  615. package/mobile/lib/components/Recommendation/Recommendation.js +7 -2
  616. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  617. package/mobile/lib/components/Tile/Tile.js +4 -4
  618. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  619. package/mobile/lib/components/Tile/TileContent.d.ts +5 -0
  620. package/mobile/lib/content-page-repository/mapJSON.d.ts +1 -1
  621. package/mobile/lib/content-page-repository/mapJSON.js +9 -7
  622. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  623. package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
  624. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  625. package/mobile/lib/content-page-repository/transformPicture.js +6 -3
  626. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  627. package/mobile/lib/hooks/useCreditCalculatorData.d.ts +1 -2
  628. package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
  629. package/mobile/lib/hooks/useExchangeRates.d.ts +2 -8
  630. package/mobile/lib/hooks/useExchangeRates.js +52 -3
  631. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  632. package/mobile/lib/hooks/useTableArrowScrollControl.js +3 -3
  633. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  634. package/mobile/lib/icons/IconName.d.ts +4 -2
  635. package/mobile/lib/icons/IconName.js +2 -0
  636. package/mobile/lib/icons/IconName.js.map +1 -1
  637. package/mobile/lib/model/Insurance.d.ts +6 -0
  638. package/mobile/lib/model/Insurance.js +2 -0
  639. package/mobile/lib/model/Insurance.js.map +1 -0
  640. package/mobile/lib/react/IntersectionObserverTag.d.ts +3 -0
  641. package/mobile/lib/react/IntersectionObserverTag.js +14 -0
  642. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -0
  643. package/mobile/lib/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  644. package/{lib → mobile/lib/react}/setup-fixture.js +3 -1
  645. package/mobile/lib/react/setup-fixture.js.map +1 -0
  646. package/mobile/lib/services/sitemap/isHrefActive.d.ts +1 -1
  647. package/mobile/lib/services/sitemap/isHrefActive.js +1 -1
  648. package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
  649. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  650. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  651. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -1
  652. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  653. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +10 -0
  654. package/mobile/lib/ui-kit/Button/renderArrows.js +6 -0
  655. package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -0
  656. package/mobile/lib/ui-kit/Img/Img.js +1 -1
  657. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  658. package/mobile/lib/ui-kit/Input/Input.js +6 -2
  659. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  660. package/mobile/lib/ui-kit/Input/InputProps.d.ts +3 -0
  661. package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -6
  662. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  663. package/mobile/lib/ui-kit/SVG.js +1 -1
  664. package/mobile/lib/ui-kit/SVG.js.map +1 -1
  665. package/mobile/lib/ui-kit/Select/Select.d.ts +2 -0
  666. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  667. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  668. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  669. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  670. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  671. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  672. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  673. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  674. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +10 -4
  675. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  676. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  677. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -1
  678. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  679. package/mobile/lib/ui-kit/TopItem/TopItem.js +6 -8
  680. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  681. package/mobile/lib/utils/changeHashOnScroll.js +2 -1
  682. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -1
  683. package/mobile/lib/utils/getCurrentDate.js +1 -1
  684. package/mobile/lib/utils/roundTo.d.ts +1 -0
  685. package/mobile/lib/utils/roundTo.js +5 -0
  686. package/mobile/lib/utils/roundTo.js.map +1 -0
  687. package/mobile/src/components/Accordion/Accordion.tsx +1 -3
  688. package/mobile/src/components/BlockContent.ts +5 -1
  689. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  690. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +4 -8
  691. package/mobile/src/components/Calculator/Calculator.tsx +8 -22
  692. package/mobile/src/components/Calculator/getCalculatorParams.ts +3 -1
  693. package/mobile/src/components/Calculator/getCreditRate.ts +3 -1
  694. package/mobile/src/components/Calculator/getMonthlyPayment.ts +3 -1
  695. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +0 -7
  696. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +7 -13
  697. package/mobile/src/components/ComparisonTable/TableCell.tsx +7 -8
  698. package/mobile/src/components/ComparisonTable/TableRow.tsx +6 -9
  699. package/mobile/src/components/ContentPage/ContentPage.page.json +50 -6
  700. package/mobile/src/components/ContentPage/ContentPageContext.tsx +20 -4
  701. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +5 -0
  702. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +4 -4
  703. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +120 -35
  704. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +14 -28
  705. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  706. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +8 -0
  707. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +21 -0
  708. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +6 -1
  709. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +14 -0
  710. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  711. package/mobile/src/components/Footer/MediaButton.tsx +7 -17
  712. package/mobile/src/components/Gallery/Gallery.tsx +2 -2
  713. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -2
  714. package/mobile/src/components/Gallery/GalleryInner.tsx +10 -20
  715. package/mobile/src/components/GroupBlock/BlocksTypeProps.ts +4 -1
  716. package/mobile/src/components/GroupBlock/GroupBlock.example.json +8 -7
  717. package/mobile/src/components/GroupBlock/GroupBlock.tsx +9 -4
  718. package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  719. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -1
  720. package/mobile/src/components/Header/DropdownMenu.tsx +72 -0
  721. package/mobile/src/components/Header/HeaderSubMenu.tsx +45 -87
  722. package/mobile/src/components/Insurance/Insurance.example.json +21 -0
  723. package/mobile/src/components/Insurance/Insurance.tsx +10 -9
  724. package/mobile/src/components/Insurance/InsuranceContent.ts +9 -11
  725. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +44 -0
  726. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +84 -0
  727. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +33 -0
  728. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +147 -0
  729. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -1
  730. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -2
  731. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -5
  732. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  733. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  734. package/mobile/src/components/Recommendation/Recommendation.tsx +7 -15
  735. package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -5
  736. package/mobile/src/components/Tile/Tile.example.json +1 -0
  737. package/mobile/src/components/Tile/Tile.tsx +4 -2
  738. package/mobile/src/components/Tile/TileContent.ts +5 -0
  739. package/mobile/src/content-page-repository/mapJSON.ts +11 -7
  740. package/mobile/src/content-page-repository/transformMarkdown.ts +3 -1
  741. package/mobile/src/content-page-repository/transformPicture.ts +8 -3
  742. package/mobile/src/hooks/useCreditCalculatorData.ts +2 -3
  743. package/mobile/src/hooks/useExchangeRates.ts +70 -10
  744. package/mobile/src/hooks/useTableArrowScrollControl.ts +3 -3
  745. package/mobile/src/icons/DoneIcon.svg +4 -0
  746. package/mobile/src/icons/IconName.ts +4 -4
  747. package/mobile/src/model/Insurance.ts +6 -0
  748. package/mobile/src/react/IntersectionObserverTag.tsx +23 -0
  749. package/mobile/src/{setup-fixture.ts → react/setup-fixture.ts} +5 -2
  750. package/mobile/src/services/sitemap/isHrefActive.ts +2 -1
  751. package/mobile/src/ui-kit/Button/ArrowButton.tsx +1 -1
  752. package/mobile/src/ui-kit/Button/ButtonSection.tsx +3 -1
  753. package/mobile/src/ui-kit/Button/renderArrows.tsx +41 -0
  754. package/mobile/src/ui-kit/Img/Img.tsx +1 -0
  755. package/mobile/src/ui-kit/Input/Input.tsx +21 -5
  756. package/mobile/src/ui-kit/Input/InputProps.ts +3 -0
  757. package/mobile/src/ui-kit/InputRange/InputRange.tsx +14 -6
  758. package/mobile/src/ui-kit/SVG.tsx +2 -2
  759. package/mobile/src/ui-kit/Select/Select.tsx +17 -7
  760. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +9 -4
  761. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -1
  762. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +6 -2
  763. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +9 -18
  764. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +6 -4
  765. package/mobile/src/ui-kit/Tabs/Tabs.tsx +4 -3
  766. package/mobile/src/ui-kit/TopItem/TopItem.tsx +8 -9
  767. package/mobile/src/utils/changeHashOnScroll.ts +3 -1
  768. package/mobile/src/utils/getCurrentDate.ts +1 -1
  769. package/mobile/src/utils/roundTo.ts +4 -0
  770. package/package.json +3 -3
  771. package/src/components/Accordion/Accordion.fixture.mobile.tsx +1 -1
  772. package/src/components/Accordion/Accordion.fixture.tsx +11 -11
  773. package/src/components/Accordion/Accordion.mobile.tsx +1 -3
  774. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
  775. package/src/components/BlockContent.ts +5 -1
  776. package/src/components/Blocks.ts +2 -2
  777. package/src/components/Bonus/Bonus.fixture.tsx +1 -1
  778. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  779. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +1 -1
  780. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +4 -8
  781. package/src/components/Calculator/Calculator.fixture.tsx +4 -4
  782. package/src/components/Calculator/Calculator.tsx +8 -22
  783. package/src/components/Calculator/getCalculatorParams.ts +3 -1
  784. package/src/components/Calculator/getCreditRate.ts +3 -1
  785. package/src/components/Calculator/getMonthlyPayment.ts +3 -1
  786. package/src/components/Calculator/renderCalculatorBlock.tsx +0 -7
  787. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -26
  788. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -1
  789. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +7 -13
  790. package/src/components/ComparisonTable/TableCell.mobile.tsx +7 -8
  791. package/src/components/ComparisonTable/TableCell.tsx +7 -10
  792. package/src/components/ComparisonTable/TableRow.tsx +6 -9
  793. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  794. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  795. package/src/components/ContentPage/ContentPage.page.json +50 -6
  796. package/src/components/ContentPage/ContentPageContext.tsx +20 -4
  797. package/src/components/ExchangeRateTile/CurrencyProps.ts +5 -0
  798. package/src/components/ExchangeRateTile/CurrencyTable.tsx +4 -4
  799. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +120 -35
  800. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
  801. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +14 -28
  802. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  803. package/src/components/ExchangeRateTile/calculateResult.ts +8 -0
  804. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +21 -0
  805. package/src/components/ExchangeRateTile/formatCurrency.ts +6 -1
  806. package/src/components/ExchangeRateTile/renderButton.tsx +14 -0
  807. package/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  808. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
  809. package/src/components/Footer/Footer.fixture.tsx +1 -1
  810. package/src/components/Footer/Footer.tsx +1 -1
  811. package/src/components/Footer/MediaButton.tsx +7 -17
  812. package/src/components/Footer/TextInformation.tsx +2 -2
  813. package/src/components/Gallery/Gallery.fixture.mobile.tsx +2 -24
  814. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  815. package/src/components/Gallery/Gallery.mobile.tsx +2 -2
  816. package/src/components/Gallery/GalleryCardInner.tsx +2 -2
  817. package/src/components/Gallery/GalleryInner.tsx +10 -20
  818. package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
  819. package/src/components/GroupBlock/BlocksTypeProps.ts +4 -1
  820. package/src/components/GroupBlock/GroupBlock.example.json +8 -7
  821. package/src/components/GroupBlock/GroupBlock.fixture.tsx +19 -3
  822. package/src/components/GroupBlock/GroupBlock.tsx +9 -4
  823. package/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  824. package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -1
  825. package/src/components/Header/DropdownMenu.tsx +72 -0
  826. package/src/components/Header/Header.fixture.mobile.tsx +1 -1
  827. package/src/components/Header/Header.fixture.tsx +1 -1
  828. package/src/components/Header/HeaderSubMenu.tsx +45 -87
  829. package/src/components/Headline/Headline.fixture.mobile.tsx +45 -4
  830. package/src/components/Headline/Headline.fixture.tsx +31 -7
  831. package/src/components/Insurance/Insurance.example.json +21 -0
  832. package/src/components/Insurance/Insurance.fixture.tsx +11 -6
  833. package/src/components/Insurance/Insurance.tsx +10 -9
  834. package/src/components/Insurance/InsuranceContent.ts +9 -11
  835. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +44 -0
  836. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +52 -0
  837. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +84 -0
  838. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +33 -0
  839. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +147 -0
  840. package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
  841. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +2 -2
  842. package/src/components/LinkDocs/LinkDocs.fixture.tsx +2 -2
  843. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -1
  844. package/src/components/LinkList/LinkList.fixture.tsx +1 -1
  845. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  846. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
  847. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
  848. package/src/components/Navigation/Navigation.fixture.tsx +1 -1
  849. package/src/components/NavigatorTabs/NavigatorTabs.fixture.tsx +1 -1
  850. package/src/components/OtherProducts/OtherProducts.fixture.tsx +1 -1
  851. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  852. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
  853. package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
  854. package/src/components/Placeholder/Placeholder.tsx +6 -2
  855. package/src/components/ProductBlock/ProductBlock.example.json +1 -5
  856. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
  857. package/src/components/ProductBlock/ProductBlock.fixture.tsx +35 -5
  858. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +1 -1
  859. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  860. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +1 -1
  861. package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -2
  862. package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
  863. package/src/components/ProductTile/ProductTile.tsx +2 -2
  864. package/src/components/PromoTile/PromoTile.fixture.tsx +2 -2
  865. package/src/components/Recommendation/Recommendation.fixture.tsx +18 -13
  866. package/src/components/Recommendation/Recommendation.tsx +7 -15
  867. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +38 -3
  868. package/src/components/StepsBlock/StepsBlock.fixture.tsx +4 -4
  869. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  870. package/src/components/TariffsTable/TariffsTable.example.json +1 -5
  871. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +2 -30
  872. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
  873. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +106 -103
  874. package/src/components/TextBlock/TextBlock.fixture.tsx +65 -87
  875. package/src/components/Tile/Tile.example.json +1 -0
  876. package/src/components/Tile/Tile.fixture.tsx +2 -1
  877. package/src/components/Tile/Tile.tsx +4 -2
  878. package/src/components/Tile/TileContent.ts +5 -0
  879. package/src/content-page-repository/mapJSON.ts +11 -7
  880. package/src/content-page-repository/transformMarkdown.ts +3 -1
  881. package/src/content-page-repository/transformPicture.ts +8 -3
  882. package/src/hooks/useCreditCalculatorData.ts +2 -3
  883. package/src/hooks/useExchangeRates.ts +70 -10
  884. package/src/hooks/useTableArrowScrollControl.ts +3 -3
  885. package/src/icons/DoneIcon.svg +4 -0
  886. package/src/icons/IconName.ts +4 -1
  887. package/src/model/Insurance.ts +6 -0
  888. package/src/react/IntersectionObserverTag.tsx +23 -0
  889. package/src/{setup-fixture.ts → react/setup-fixture.ts} +5 -2
  890. package/src/services/sitemap/isHrefActive.ts +2 -1
  891. package/src/ui-kit/Button/ArrowButton.tsx +1 -1
  892. package/src/ui-kit/Button/Button.fixture.mobile.tsx +1 -1
  893. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  894. package/src/ui-kit/Button/ButtonSection.tsx +3 -1
  895. package/src/ui-kit/Button/renderArrows.tsx +41 -0
  896. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
  897. package/src/ui-kit/Icon/Icon.fixture.tsx +2 -2
  898. package/src/ui-kit/Img/Img.mobile.tsx +1 -0
  899. package/src/ui-kit/Input/Input.tsx +21 -5
  900. package/src/ui-kit/Input/InputProps.ts +3 -0
  901. package/src/ui-kit/InputRange/InputRange.tsx +14 -6
  902. package/src/ui-kit/List/List.fixture.tsx +1 -1
  903. package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
  904. package/src/ui-kit/SVG.tsx +2 -2
  905. package/src/ui-kit/SearchBar.mobile.tsx +1 -3
  906. package/src/ui-kit/Select/Select.tsx +17 -7
  907. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +1 -1
  908. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +9 -4
  909. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -1
  910. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +6 -2
  911. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +9 -18
  912. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +6 -4
  913. package/src/ui-kit/Tabs/Tabs.tsx +4 -3
  914. package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
  915. package/src/ui-kit/TopItem/TopItem.tsx +8 -9
  916. package/src/utils/changeHashOnScroll.ts +3 -1
  917. package/src/utils/getCurrentDate.ts +1 -1
  918. package/src/utils/roundTo.ts +4 -0
  919. package/dist/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  920. package/dist/components/CreditCalculator/CreditCalculator.js +0 -14
  921. package/dist/components/CreditCalculator/CreditCalculator.js.map +0 -1
  922. package/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  923. package/dist/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  924. package/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  925. package/dist/components/CreditCalculator/CreditCalculatorForm.js +0 -53
  926. package/dist/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  927. package/dist/components/CreditCalculator/constants.d.ts +0 -7
  928. package/dist/components/CreditCalculator/constants.js +0 -10
  929. package/dist/components/CreditCalculator/constants.js.map +0 -1
  930. package/dist/components/CreditCalculator/defaultTabs.d.ts +0 -2
  931. package/dist/components/CreditCalculator/defaultTabs.js +0 -23
  932. package/dist/components/CreditCalculator/defaultTabs.js.map +0 -1
  933. package/dist/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  934. package/dist/components/CreditCalculator/getCalculatorParams.js +0 -11
  935. package/dist/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  936. package/dist/components/CreditCalculator/getCreditRate.d.ts +0 -7
  937. package/dist/components/CreditCalculator/getCreditRate.js +0 -13
  938. package/dist/components/CreditCalculator/getCreditRate.js.map +0 -1
  939. package/dist/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  940. package/dist/components/CreditCalculator/getCreditTermYears.js +0 -15
  941. package/dist/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  942. package/dist/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  943. package/dist/components/CreditCalculator/getDefaultMonths.js +0 -8
  944. package/dist/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  945. package/dist/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  946. package/dist/components/CreditCalculator/getDefaultSum.js +0 -8
  947. package/dist/components/CreditCalculator/getDefaultSum.js.map +0 -1
  948. package/dist/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  949. package/dist/components/CreditCalculator/getMonthlyPayment.js +0 -19
  950. package/dist/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  951. package/dist/components/CreditCalculator/renderButton.d.ts +0 -1
  952. package/dist/components/CreditCalculator/renderButton.js +0 -15
  953. package/dist/components/CreditCalculator/renderButton.js.map +0 -1
  954. package/dist/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  955. package/dist/components/CreditCalculator/renderMonthsInput.js +0 -11
  956. package/dist/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  957. package/dist/components/CreditCalculator/renderProposal.d.ts +0 -1
  958. package/dist/components/CreditCalculator/renderProposal.js +0 -9
  959. package/dist/components/CreditCalculator/renderProposal.js.map +0 -1
  960. package/dist/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  961. package/dist/components/CreditCalculator/renderTermsButton.js +0 -9
  962. package/dist/components/CreditCalculator/renderTermsButton.js.map +0 -1
  963. package/dist/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  964. package/dist/components/CreditCalculator/renderWantedSumInput.js +0 -18
  965. package/dist/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  966. package/dist/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  967. package/dist/components/Header/HeaderSubMenuObserver.js +0 -36
  968. package/dist/components/Header/HeaderSubMenuObserver.js.map +0 -1
  969. package/dist/setup-fixture.js.map +0 -1
  970. package/lib/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  971. package/lib/components/CreditCalculator/CreditCalculator.js +0 -12
  972. package/lib/components/CreditCalculator/CreditCalculator.js.map +0 -1
  973. package/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  974. package/lib/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  975. package/lib/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  976. package/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  977. package/lib/components/CreditCalculator/CreditCalculatorForm.js +0 -51
  978. package/lib/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  979. package/lib/components/CreditCalculator/constants.d.ts +0 -7
  980. package/lib/components/CreditCalculator/constants.js +0 -8
  981. package/lib/components/CreditCalculator/constants.js.map +0 -1
  982. package/lib/components/CreditCalculator/defaultTabs.d.ts +0 -2
  983. package/lib/components/CreditCalculator/defaultTabs.js +0 -21
  984. package/lib/components/CreditCalculator/defaultTabs.js.map +0 -1
  985. package/lib/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  986. package/lib/components/CreditCalculator/getCalculatorParams.js +0 -8
  987. package/lib/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  988. package/lib/components/CreditCalculator/getCreditRate.d.ts +0 -7
  989. package/lib/components/CreditCalculator/getCreditRate.js +0 -10
  990. package/lib/components/CreditCalculator/getCreditRate.js.map +0 -1
  991. package/lib/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  992. package/lib/components/CreditCalculator/getCreditTermYears.js +0 -12
  993. package/lib/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  994. package/lib/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  995. package/lib/components/CreditCalculator/getDefaultMonths.js +0 -5
  996. package/lib/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  997. package/lib/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  998. package/lib/components/CreditCalculator/getDefaultSum.js +0 -5
  999. package/lib/components/CreditCalculator/getDefaultSum.js.map +0 -1
  1000. package/lib/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  1001. package/lib/components/CreditCalculator/getMonthlyPayment.js +0 -16
  1002. package/lib/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  1003. package/lib/components/CreditCalculator/renderButton.d.ts +0 -1
  1004. package/lib/components/CreditCalculator/renderButton.js +0 -12
  1005. package/lib/components/CreditCalculator/renderButton.js.map +0 -1
  1006. package/lib/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  1007. package/lib/components/CreditCalculator/renderMonthsInput.js +0 -8
  1008. package/lib/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  1009. package/lib/components/CreditCalculator/renderProposal.d.ts +0 -1
  1010. package/lib/components/CreditCalculator/renderProposal.js +0 -6
  1011. package/lib/components/CreditCalculator/renderProposal.js.map +0 -1
  1012. package/lib/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  1013. package/lib/components/CreditCalculator/renderTermsButton.js +0 -6
  1014. package/lib/components/CreditCalculator/renderTermsButton.js.map +0 -1
  1015. package/lib/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  1016. package/lib/components/CreditCalculator/renderWantedSumInput.js +0 -15
  1017. package/lib/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  1018. package/lib/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  1019. package/lib/components/Header/HeaderSubMenuObserver.js +0 -34
  1020. package/lib/components/Header/HeaderSubMenuObserver.js.map +0 -1
  1021. package/lib/setup-fixture.js.map +0 -1
  1022. package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  1023. package/mobile/dist/components/CreditCalculator/CreditCalculator.js +0 -14
  1024. package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +0 -1
  1025. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  1026. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  1027. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  1028. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js +0 -53
  1029. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  1030. package/mobile/dist/components/CreditCalculator/constants.d.ts +0 -7
  1031. package/mobile/dist/components/CreditCalculator/constants.js +0 -10
  1032. package/mobile/dist/components/CreditCalculator/constants.js.map +0 -1
  1033. package/mobile/dist/components/CreditCalculator/defaultTabs.d.ts +0 -2
  1034. package/mobile/dist/components/CreditCalculator/defaultTabs.js +0 -23
  1035. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +0 -1
  1036. package/mobile/dist/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  1037. package/mobile/dist/components/CreditCalculator/getCalculatorParams.js +0 -11
  1038. package/mobile/dist/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  1039. package/mobile/dist/components/CreditCalculator/getCreditRate.d.ts +0 -7
  1040. package/mobile/dist/components/CreditCalculator/getCreditRate.js +0 -13
  1041. package/mobile/dist/components/CreditCalculator/getCreditRate.js.map +0 -1
  1042. package/mobile/dist/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  1043. package/mobile/dist/components/CreditCalculator/getCreditTermYears.js +0 -15
  1044. package/mobile/dist/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  1045. package/mobile/dist/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  1046. package/mobile/dist/components/CreditCalculator/getDefaultMonths.js +0 -8
  1047. package/mobile/dist/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  1048. package/mobile/dist/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  1049. package/mobile/dist/components/CreditCalculator/getDefaultSum.js +0 -8
  1050. package/mobile/dist/components/CreditCalculator/getDefaultSum.js.map +0 -1
  1051. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  1052. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js +0 -19
  1053. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  1054. package/mobile/dist/components/CreditCalculator/renderButton.d.ts +0 -1
  1055. package/mobile/dist/components/CreditCalculator/renderButton.js +0 -15
  1056. package/mobile/dist/components/CreditCalculator/renderButton.js.map +0 -1
  1057. package/mobile/dist/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  1058. package/mobile/dist/components/CreditCalculator/renderMonthsInput.js +0 -11
  1059. package/mobile/dist/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  1060. package/mobile/dist/components/CreditCalculator/renderProposal.d.ts +0 -1
  1061. package/mobile/dist/components/CreditCalculator/renderProposal.js +0 -9
  1062. package/mobile/dist/components/CreditCalculator/renderProposal.js.map +0 -1
  1063. package/mobile/dist/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  1064. package/mobile/dist/components/CreditCalculator/renderTermsButton.js +0 -9
  1065. package/mobile/dist/components/CreditCalculator/renderTermsButton.js.map +0 -1
  1066. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  1067. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.js +0 -18
  1068. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  1069. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  1070. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +0 -36
  1071. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +0 -1
  1072. package/mobile/dist/setup-fixture.js.map +0 -1
  1073. package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  1074. package/mobile/lib/components/CreditCalculator/CreditCalculator.js +0 -12
  1075. package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +0 -1
  1076. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  1077. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  1078. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  1079. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  1080. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js +0 -51
  1081. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  1082. package/mobile/lib/components/CreditCalculator/constants.d.ts +0 -7
  1083. package/mobile/lib/components/CreditCalculator/constants.js +0 -8
  1084. package/mobile/lib/components/CreditCalculator/constants.js.map +0 -1
  1085. package/mobile/lib/components/CreditCalculator/defaultTabs.d.ts +0 -2
  1086. package/mobile/lib/components/CreditCalculator/defaultTabs.js +0 -21
  1087. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +0 -1
  1088. package/mobile/lib/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  1089. package/mobile/lib/components/CreditCalculator/getCalculatorParams.js +0 -8
  1090. package/mobile/lib/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  1091. package/mobile/lib/components/CreditCalculator/getCreditRate.d.ts +0 -7
  1092. package/mobile/lib/components/CreditCalculator/getCreditRate.js +0 -10
  1093. package/mobile/lib/components/CreditCalculator/getCreditRate.js.map +0 -1
  1094. package/mobile/lib/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  1095. package/mobile/lib/components/CreditCalculator/getCreditTermYears.js +0 -12
  1096. package/mobile/lib/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  1097. package/mobile/lib/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  1098. package/mobile/lib/components/CreditCalculator/getDefaultMonths.js +0 -5
  1099. package/mobile/lib/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  1100. package/mobile/lib/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  1101. package/mobile/lib/components/CreditCalculator/getDefaultSum.js +0 -5
  1102. package/mobile/lib/components/CreditCalculator/getDefaultSum.js.map +0 -1
  1103. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  1104. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js +0 -16
  1105. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  1106. package/mobile/lib/components/CreditCalculator/renderButton.d.ts +0 -1
  1107. package/mobile/lib/components/CreditCalculator/renderButton.js +0 -12
  1108. package/mobile/lib/components/CreditCalculator/renderButton.js.map +0 -1
  1109. package/mobile/lib/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  1110. package/mobile/lib/components/CreditCalculator/renderMonthsInput.js +0 -8
  1111. package/mobile/lib/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  1112. package/mobile/lib/components/CreditCalculator/renderProposal.d.ts +0 -1
  1113. package/mobile/lib/components/CreditCalculator/renderProposal.js +0 -6
  1114. package/mobile/lib/components/CreditCalculator/renderProposal.js.map +0 -1
  1115. package/mobile/lib/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  1116. package/mobile/lib/components/CreditCalculator/renderTermsButton.js +0 -6
  1117. package/mobile/lib/components/CreditCalculator/renderTermsButton.js.map +0 -1
  1118. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  1119. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.js +0 -15
  1120. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  1121. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  1122. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +0 -34
  1123. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +0 -1
  1124. package/mobile/lib/setup-fixture.js.map +0 -1
  1125. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +0 -25
  1126. package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +0 -31
  1127. package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +0 -34
  1128. package/mobile/src/components/CreditCalculator/CreditCalculatorForm.tsx +0 -92
  1129. package/mobile/src/components/CreditCalculator/constants.ts +0 -8
  1130. package/mobile/src/components/CreditCalculator/defaultTabs.ts +0 -22
  1131. package/mobile/src/components/CreditCalculator/getCalculatorParams.ts +0 -16
  1132. package/mobile/src/components/CreditCalculator/getCreditRate.ts +0 -18
  1133. package/mobile/src/components/CreditCalculator/getCreditTermYears.spec.ts +0 -10
  1134. package/mobile/src/components/CreditCalculator/getCreditTermYears.ts +0 -15
  1135. package/mobile/src/components/CreditCalculator/getDefaultMonths.ts +0 -7
  1136. package/mobile/src/components/CreditCalculator/getDefaultSum.ts +0 -7
  1137. package/mobile/src/components/CreditCalculator/getMonthlyPayment.ts +0 -32
  1138. package/mobile/src/components/CreditCalculator/renderButton.tsx +0 -23
  1139. package/mobile/src/components/CreditCalculator/renderMonthsInput.tsx +0 -29
  1140. package/mobile/src/components/CreditCalculator/renderProposal.tsx +0 -13
  1141. package/mobile/src/components/CreditCalculator/renderTermsButton.tsx +0 -16
  1142. package/mobile/src/components/CreditCalculator/renderWantedSumInput.tsx +0 -36
  1143. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +0 -48
  1144. package/mobile/src/components/Insurance/Insuranse.example.json +0 -36
  1145. package/src/components/CreditCalculator/CreditCalculator.example.json +0 -25
  1146. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +0 -32
  1147. package/src/components/CreditCalculator/CreditCalculator.tsx +0 -31
  1148. package/src/components/CreditCalculator/CreditCalculatorContent.ts +0 -34
  1149. package/src/components/CreditCalculator/CreditCalculatorForm.tsx +0 -92
  1150. package/src/components/CreditCalculator/constants.ts +0 -8
  1151. package/src/components/CreditCalculator/defaultTabs.ts +0 -22
  1152. package/src/components/CreditCalculator/getCalculatorParams.ts +0 -16
  1153. package/src/components/CreditCalculator/getCreditRate.ts +0 -18
  1154. package/src/components/CreditCalculator/getCreditTermYears.spec.ts +0 -10
  1155. package/src/components/CreditCalculator/getCreditTermYears.ts +0 -15
  1156. package/src/components/CreditCalculator/getDefaultMonths.ts +0 -7
  1157. package/src/components/CreditCalculator/getDefaultSum.ts +0 -7
  1158. package/src/components/CreditCalculator/getMonthlyPayment.ts +0 -32
  1159. package/src/components/CreditCalculator/renderButton.tsx +0 -23
  1160. package/src/components/CreditCalculator/renderMonthsInput.tsx +0 -29
  1161. package/src/components/CreditCalculator/renderProposal.tsx +0 -13
  1162. package/src/components/CreditCalculator/renderTermsButton.tsx +0 -16
  1163. package/src/components/CreditCalculator/renderWantedSumInput.tsx +0 -36
  1164. package/src/components/Header/HeaderSubMenuObserver.ts +0 -48
  1165. package/src/components/Insurance/Insuranse.example.json +0 -36
@@ -0,0 +1,147 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps, FuncReturnVoid } from '../../types';
3
+ import type { InsuranceAmountBlockTabs, cardItem } from './InsuranceAmountBlockContent';
4
+ import { Img } from '../../ui-kit/Img/Img';
5
+ import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
6
+ import { renderArrows } from '../../ui-kit/Button/renderArrows';
7
+
8
+ export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTabs, UniBlockProps {}
9
+
10
+ type InsuranceGalleryProps = {
11
+ tabsShift: number;
12
+ cards: cardItem[];
13
+ activeSlideIndex: number;
14
+ isLastShift: boolean;
15
+ setActiveSlideIndex: FuncReturnVoid<number>;
16
+ };
17
+
18
+ type InsuranceSlideProps = {
19
+ slide: cardItem;
20
+ i: number;
21
+ activeSlideIndex: number;
22
+ onClick: FuncReturnVoid<MouseEvent>;
23
+ };
24
+
25
+ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
26
+ ({ className = '', context, cards = [], anchor = null }) => {
27
+ const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
28
+ const [tabsShift, setTabsShift] = context.useState(0);
29
+
30
+ const handleNextClick = () => setTabsShift(tabsShift + 1);
31
+ const handlePrevClick = () => setTabsShift(tabsShift - 1);
32
+
33
+ const galleryLength = cards?.length;
34
+
35
+ const isGalleryScrollAvailable = cards?.length > 2;
36
+ const showNextButton = isGalleryScrollAvailable && galleryLength > tabsShift + 2;
37
+ const isLastShift = galleryLength === tabsShift + 2;
38
+ const showPrevButton = tabsShift > 0;
39
+
40
+ return (
41
+ <section id={anchor} className={`min-w-full ${className}`}>
42
+ <div className="relative mt-7 overflow-hidden">
43
+ {galleryLength > 1
44
+ ? renderGallery({
45
+ tabsShift,
46
+ cards,
47
+ activeSlideIndex,
48
+ isLastShift,
49
+ setActiveSlideIndex,
50
+ })
51
+ : null}
52
+ {renderArrows({
53
+ handler: [handlePrevClick, handleNextClick],
54
+ isShown: [showPrevButton, showNextButton],
55
+ btnClass: ['left-[50px]', 'right-[50px]'],
56
+ className: 'top-[62px]',
57
+ })}
58
+ {showPrevButton ? (
59
+ <div className="absolute top-0 left-0 h-full w-[136px] bg-opacity-from-white" />
60
+ ) : null}
61
+ {showNextButton ? (
62
+ <div className="absolute top-0 right-0 h-full w-[136px] bg-opacity-to-white" />
63
+ ) : null}
64
+ </div>
65
+ </section>
66
+ );
67
+ },
68
+ );
69
+
70
+ function renderGallery({
71
+ tabsShift,
72
+ cards,
73
+ activeSlideIndex,
74
+ isLastShift,
75
+ setActiveSlideIndex,
76
+ }: InsuranceGalleryProps) {
77
+ const tabsShiftWidth = isLastShift ? tabsShift * 460 - 240 : tabsShift * 460;
78
+ return (
79
+ <div
80
+ style={{ transform: `translateX(-${tabsShiftWidth}px)` }}
81
+ className="duration-1000 px-[50px]"
82
+ >
83
+ <div className="w-full flex flex-nowrap gap-3.5 pb-[38px]">
84
+ {cards.map((slide, i) =>
85
+ renderSlide({
86
+ slide,
87
+ i,
88
+ activeSlideIndex,
89
+ onClick: () => setActiveSlideIndex(i),
90
+ }),
91
+ )}
92
+ </div>
93
+ </div>
94
+ );
95
+ }
96
+
97
+ function renderSlide({ slide, i, activeSlideIndex, onClick }: InsuranceSlideProps) {
98
+ const isActiveBtn = i === activeSlideIndex;
99
+
100
+ const btnClassName = isActiveBtn
101
+ ? 'shadow-dark-blue/42 border-primary-main'
102
+ : `ease-in duration-300 border-main-stroke`;
103
+
104
+ return (
105
+ <button
106
+ type="button"
107
+ key={String(i)}
108
+ onClick={onClick}
109
+ className={`p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`}
110
+ >
111
+ {slide?.icon ? (
112
+ <Img
113
+ className={`h-[108px] w-[108px] p-3 rounded-full bg-secondary-light mr-[30px]`}
114
+ image={slide.icon}
115
+ width="24"
116
+ height="24"
117
+ />
118
+ ) : null}
119
+
120
+ <div className="flex gap-3.5">
121
+ {slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null}
122
+ {slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null}
123
+ </div>
124
+ {renderDoneIcon(isActiveBtn)}
125
+ </button>
126
+ );
127
+ }
128
+
129
+ function renderValueBlock(title, sum) {
130
+ return (
131
+ <div className="flex flex-col text-left">
132
+ <span className="whitespace-pre text-title-2xs">{addSpacesBetweenNumbers(sum)} ₽</span>
133
+ <span className="whitespace-pre text-secondary-text font-light text-base mt-1">{title}</span>
134
+ </div>
135
+ );
136
+ }
137
+
138
+ function renderDoneIcon(isActive) {
139
+ return isActive ? (
140
+ <Img
141
+ className={`h-[24px] w-[24px] min-w-[24px] min-h-[24px] absolute right-4 top-4`}
142
+ image="DoneIcon"
143
+ width="24"
144
+ height="24"
145
+ />
146
+ ) : null;
147
+ }
@@ -44,7 +44,9 @@ const formatSuffix = (ext?: string, fileSize?: string) => {
44
44
  };
45
45
 
46
46
  const getExtFromHref = (href: string) => {
47
- if (!href) return '';
47
+ if (!href) {
48
+ return '';
49
+ }
48
50
 
49
51
  const index = href.lastIndexOf('.');
50
52
  return index !== -1 ? href.substring(index + 1) : '';
@@ -50,8 +50,12 @@ const renderShimmer = (size = 3) =>
50
50
  .map((_) => Math.floor(_))
51
51
  .map(renderShimmerItem);
52
52
 
53
- const renderShimmerItem = (width = 100, index: number) => (
54
- <div key={String(index)} style={{ width: `${width}%` }} className="h-4 mt-2 bg-secondary-light" />
53
+ const renderShimmerItem = (width: number, index: number) => (
54
+ <div
55
+ key={String(index)}
56
+ style={{ width: `${width || 100}%` }}
57
+ className="h-4 mt-2 bg-secondary-light"
58
+ />
55
59
  );
56
60
 
57
61
  const goldenSequence = (first: number, size: number): number[] =>
@@ -16,11 +16,7 @@
16
16
  "alt": "",
17
17
  "title": ""
18
18
  },
19
- "items": [
20
- "Элемент списка 1",
21
- "Элемент списка 2",
22
- "Элемент списка 3"
23
- ],
19
+ "items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"],
24
20
  "isDotted": true,
25
21
  "buttons": [
26
22
  {
@@ -56,7 +56,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
56
56
  {description ? (
57
57
  <Description className="mt-3 text-m-md" description={description} />
58
58
  ) : null}
59
- {benefits?.filter((items) => items.label)?.length ? (
59
+ {benefits?.filter((_) => _.label)?.length ? (
60
60
  <div className="mt-3">
61
61
  {benefits.map((benefit, i) =>
62
62
  renderBenefit({ benefit, version, benefitsVersion }, i),
@@ -61,7 +61,7 @@ export const ProductTile = JSX<ProductTileProps>(
61
61
  {description ? (
62
62
  <Description className="mt-4 max-w-[600px]" description={description} />
63
63
  ) : null}
64
- {renderBenefits(benefits, version)}
64
+ {renderBenefits(benefits || [], version)}
65
65
 
66
66
  {additionalDescription
67
67
  ? renderAdditionalDescription(additionalDescription, version)
@@ -72,7 +72,7 @@ export const ProductTile = JSX<ProductTileProps>(
72
72
  },
73
73
  );
74
74
 
75
- function renderBenefits(benefits: TextBenefit[] = [], version: BlockVersion) {
75
+ function renderBenefits(benefits: TextBenefit[], version: BlockVersion) {
76
76
  return (
77
77
  <div className="flex mt-5 mb-1">
78
78
  {benefits.length ? <div className="mr-8">{benefits.map(renderBenefitLabel)}</div> : null}
@@ -1,9 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../types';
3
- import { ArrowButton } from '../../ui-kit/Button/ArrowButton';
4
3
  import { Heading } from '../../ui-kit/Heading/Heading';
5
4
  import { RecommendationCard } from './RecommendationCard';
6
5
  import type { RecommendationCardTypes, RecommendationContent } from './RecommendationContent';
6
+ import { renderArrows } from '../../ui-kit/Button/renderArrows';
7
7
 
8
8
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
9
9
  const CARD_FULL_VIEW_COUNT = 2;
@@ -87,20 +87,12 @@ const renderNavButtons = ({
87
87
 
88
88
  return (
89
89
  <div>
90
- {showPrevButton ? (
91
- <ArrowButton
92
- className="absolute top-1/2 left-8 z-10 mt-6"
93
- onClick={handlePrevClick}
94
- ariaLabel="Пролистать влево"
95
- />
96
- ) : null}
97
- {showNextButton ? (
98
- <ArrowButton
99
- className="absolute top-1/2 right-8 z-10 mt-6 rotate-180"
100
- onClick={handleNextClick}
101
- ariaLabel="Пролистать вправо"
102
- />
103
- ) : null}
90
+ {renderArrows({
91
+ handler: [handlePrevClick, handleNextClick],
92
+ isShown: [showPrevButton, showNextButton],
93
+ btnClass: ['left-8', 'right-8'],
94
+ className: 'top-1/2 mt-6',
95
+ })}
104
96
  </div>
105
97
  );
106
98
  };
@@ -83,11 +83,7 @@
83
83
  },
84
84
  {
85
85
  "list": {
86
- "items": [
87
- "item 1",
88
- "item 2",
89
- "item 3"
90
- ]
86
+ "items": ["item 1", "item 2", "item 3"]
91
87
  }
92
88
  }
93
89
  ]
@@ -11,6 +11,7 @@
11
11
  "alt": "",
12
12
  "title": ""
13
13
  },
14
+ "isDotted": true,
14
15
  "items": ["Пункт 1", "Пункт 2", "Пункт 3"],
15
16
  "buttons": [
16
17
  {
@@ -30,6 +30,7 @@ export const Tile = JSX<TileProps>((props) => {
30
30
  children,
31
31
  buttons,
32
32
  image,
33
+ isDotted = true,
33
34
  className = '',
34
35
  version = 'primary',
35
36
  role,
@@ -75,16 +76,17 @@ export const Tile = JSX<TileProps>((props) => {
75
76
  />
76
77
  ) : null}
77
78
  {children}
78
- {renderList(items, version)}
79
+ {renderList(items, version, isDotted)}
79
80
  </BaseTile>
80
81
  </section>
81
82
  );
82
83
  });
83
84
 
84
- function renderList(items, version) {
85
+ function renderList(items, version, isDotted: boolean) {
85
86
  return items?.length ? (
86
87
  <List
87
88
  items={items}
89
+ isDotted={isDotted}
88
90
  itemClassName="text-title-2xs font-light mt-2"
89
91
  version={version === 'primary' ? 'tile' : 'tile-white'}
90
92
  />
@@ -14,5 +14,10 @@ export type TileContent = HeadingContent &
14
14
  ListContent &
15
15
  ButtonContent &
16
16
  ImageContent & {
17
+ /**
18
+ * @title Буллиты
19
+ * @default true
20
+ */
21
+ isDotted?: boolean;
17
22
  version?: BlockVersion;
18
23
  };
@@ -1,23 +1,27 @@
1
1
  export async function mapJSON<T>(
2
2
  data: T,
3
3
  mapper: <In, Out = In>(value: In, key: string[]) => Promise<Out>,
4
- key: string[] = [],
4
+ keyParts: string[] = [],
5
5
  ): Promise<T> {
6
- if (data === null || data === undefined) return data;
6
+ if (data === null || data === undefined) {
7
+ return data;
8
+ }
7
9
 
8
- const mappedData = await mapper(data, key);
9
- if (mappedData !== data) return mappedData as T;
10
+ const mappedData = await mapper(data, keyParts);
11
+ if (mappedData !== data) {
12
+ return mappedData as T;
13
+ }
10
14
 
11
15
  if (Array.isArray(data)) {
12
- const values = data.map((_, i) => mapJSON(_, mapper, [String(i)].concat(key)));
16
+ const values = data.map((_, i) => mapJSON(_, mapper, [String(i)].concat(keyParts)));
13
17
  return Promise.all(values) as any;
14
18
  } else if (typeof data === 'object' && (data as any).toString() === '[object Object]') {
15
19
  const subKeys = Object.keys(data as any);
16
- const values = subKeys.map((k) => mapJSON(data[k], mapper, [k].concat(key)));
20
+ const values = subKeys.map((k) => mapJSON(data[k], mapper, [k].concat(keyParts)));
17
21
  const pairs = (await Promise.all(values)).map((_, i) => ({
18
22
  [subKeys[i]]: _,
19
23
  }));
20
24
  return Object.assign({}, ...pairs);
21
25
  }
22
- return mapper<T>(data, key);
26
+ return mapper<T>(data, keyParts);
23
27
  }
@@ -3,7 +3,9 @@ import remarkParse from 'remark-parse';
3
3
  import remarkHtml from 'remark-html';
4
4
 
5
5
  export async function transformMarkdown(markdown: string | null | undefined): Promise<string> {
6
- if (!markdown) return '';
6
+ if (!markdown) {
7
+ return '';
8
+ }
7
9
 
8
10
  const result = await unified().use(remarkParse).use(remarkHtml).process(markdown);
9
11
  return result.toString('utf-8');
@@ -36,12 +36,15 @@ async function transformImg(
36
36
 
37
37
  const imgPath = `${path.dirname(pagePath)}/${src}`;
38
38
  let chain = sharp(imgPath);
39
- if (size)
39
+ if (size) {
40
40
  chain = chain.resize(size?.width, size?.height, {
41
41
  fit: sharp.fit.contain,
42
42
  background: [0, 0, 0, 0],
43
43
  });
44
- if (format) chain = chain.toFormat(format, options);
44
+ }
45
+ if (format) {
46
+ chain = chain.toFormat(format, options);
47
+ }
45
48
 
46
49
  const transformedSrc = transformSrc(src, transformationOptions);
47
50
  const transformedImgPath = `${publicDir}/${path.relative(
@@ -62,7 +65,9 @@ async function transformImg(
62
65
 
63
66
  function transformSrc(src: string, { format, size }: TransformationOptions & ImgSource): string {
64
67
  const noTransform = !format && !size;
65
- if (noTransform) return src;
68
+ if (noTransform) {
69
+ return src;
70
+ }
66
71
 
67
72
  const suffix = [size?.width, size?.height].filter(Boolean).join('-');
68
73
  return `${path.basename(src, path.extname(src))}${suffix ? `-${suffix}` : ''}.${
@@ -1,15 +1,14 @@
1
1
  import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
2
- import { CreditCalculatorData } from '../components/CreditCalculator/CreditCalculatorContent';
3
2
 
4
3
  export function useCreditCalculatorData(
5
4
  useAsyncData: AsyncDataHook,
6
5
  directoryName: string | undefined,
7
- ): CreditCalculatorData {
6
+ ): any {
8
7
  const { data } = useAsyncData(creditCalculatorUrl(directoryName), fetchCreditCalculatorData);
9
8
  return data || {};
10
9
  }
11
10
 
12
- async function fetchCreditCalculatorData(url: string): Promise<CreditCalculatorData> {
11
+ async function fetchCreditCalculatorData(url: string): Promise<any> {
13
12
  const response = await fetch(url);
14
13
  return await response.json();
15
14
  }
@@ -1,25 +1,85 @@
1
1
  import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
2
- import { ExchangeCurrencyItem } from '../components/ExchangeRateTile/ExchangeRateTileContent';
2
+ import type { ExchangeCurrencyItem } from '../components/ExchangeRateTile/ExchangeCurrencyCalculator';
3
3
 
4
- interface ExchangeRatesData {
5
- exchangeRate?: {
6
- currencies?: ExchangeCurrencyItem[];
7
- };
4
+ interface RatesData {
5
+ code: string;
6
+ rate_buy: number;
7
+ rate_sell: number;
8
8
  }
9
9
 
10
- export function useExchangeRates(useAsyncData: AsyncDataHook): ExchangeRatesData {
10
+ export function useExchangeRates(useAsyncData: AsyncDataHook): ExchangeCurrencyItem[] {
11
11
  const { data } = useAsyncData(EXCHANGE_RATES_URL, fetchExchangeRates);
12
12
 
13
- return data || {};
13
+ const result = data?.hits?.hits?.map((_) => _._source) || [];
14
+ return result.length ? getCurrencyListByRate(result) : result;
14
15
  }
15
16
 
16
- async function fetchExchangeRates(): Promise<ExchangeRatesData | undefined> {
17
+ async function fetchExchangeRates(): Promise<any | undefined> {
17
18
  try {
18
- const response = await fetch(EXCHANGE_RATES_URL);
19
+ const response = await fetch(EXCHANGE_RATES_URL, {
20
+ method: 'POST',
21
+ headers: {
22
+ 'Content-Type': 'application/json',
23
+ },
24
+ body: JSON.stringify(EXCHANGE_RATES_BODY),
25
+ });
19
26
  return await response.json();
20
27
  } catch (err) {
21
28
  console.error(err);
22
29
  }
23
30
  }
24
31
 
25
- const EXCHANGE_RATES_URL = '/api/v1/exchangerates.json';
32
+ const EXCHANGE_RATES_URL =
33
+ 'https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000';
34
+
35
+ const EXCHANGE_RATES_BODY = {
36
+ query: {
37
+ bool: {
38
+ must: [
39
+ {
40
+ term: {
41
+ // eslint-disable-next-line camelcase
42
+ russian_region_code: '77',
43
+ },
44
+ },
45
+ {
46
+ term: {
47
+ // eslint-disable-next-line camelcase
48
+ from_volume: '0',
49
+ },
50
+ },
51
+ {
52
+ terms: {
53
+ // eslint-disable-next-line camelcase
54
+ currency_pair: ['USD/RUB', 'EUR/RUB'],
55
+ },
56
+ },
57
+ ],
58
+ },
59
+ },
60
+ };
61
+
62
+ interface FormatRatesData {
63
+ code: string;
64
+ buy?: number;
65
+ sell?: number;
66
+ }
67
+
68
+ const getCurrencyListByRate = (currencyRates: RatesData[]) =>
69
+ currencyRates.reduce((result: FormatRatesData[], _) => {
70
+ const currencyInfo = _['currency_first'];
71
+ if (!validateRate(_['rate_buy']) && !validateRate(_['rate_sell'])) {
72
+ return result;
73
+ }
74
+ const currencyCode = currencyInfo.code;
75
+ if (!result.some((i) => i.code === currencyCode)) {
76
+ result.push({
77
+ code: currencyCode,
78
+ buy: Number(_.rate_buy),
79
+ sell: Number(_.rate_sell),
80
+ });
81
+ }
82
+ return result;
83
+ }, []);
84
+
85
+ const validateRate = (value) => Math.round(value) > 0;
@@ -11,12 +11,12 @@ export const useTableArrowScrollControl = ({
11
11
  activeCardIndex: number;
12
12
  setActiveCardIndex: (_: number) => void;
13
13
  }): Required<TableArrowScrollControlProps> => {
14
- const onNextClick = () => setActiveCardIndex(activeCardIndex + 1);
15
- const onPrevClick = () => setActiveCardIndex(activeCardIndex - 1);
14
+ const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
15
+ const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
16
16
 
17
17
  const isScrollAvailable = columnsLength > colsLengthForScroll;
18
18
  const showNextButton = isScrollAvailable && columnsLength - activeCardIndex > colsLengthForScroll;
19
19
  const showPrevButton = Boolean(isScrollAvailable && activeCardIndex > 0);
20
20
 
21
- return { onNextClick, onPrevClick, isScrollAvailable, showNextButton, showPrevButton };
21
+ return { handleNextClick, handlePrevClick, isScrollAvailable, showNextButton, showPrevButton };
22
22
  };
@@ -0,0 +1,4 @@
1
+ <svg title="Зелёная 'галочка'" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="24" height="24" rx="12" fill="#42AB44"/>
3
+ <path d="M7 13.0047L9.7242 16L17 8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -3,11 +3,11 @@
3
3
  /* eslint-disable max-lines */
4
4
 
5
5
  export enum IconMap {
6
- ActualBalanceIcon = 'ActualBalanceIcon', AirPlane = 'AirPlane', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowUpIcon = 'ArrowUpIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LoupeIcon = 'LoupeIcon', MasterCardIcon = 'MasterCardIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PersonalCardIcon = 'PersonalCardIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCan = 'WateringCan'
6
+ ActualBalanceIcon = 'ActualBalanceIcon', AirPlane = 'AirPlane', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowUpIcon = 'ArrowUpIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LoupeIcon = 'LoupeIcon', MasterCardIcon = 'MasterCardIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PersonalCardIcon = 'PersonalCardIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCan = 'WateringCan'
7
7
  }
8
8
 
9
9
  export enum IconTitleMap {
10
- ActualBalanceIcon = 'Деньги', AirPlane = 'Самолет', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowLeftIcon = 'Стрелка', ArrowUpIcon = 'Стрелка вверх', AtmIcon = 'Банкомат', BankIcon = 'Банк', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кино', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LoupeIcon = 'Лупа', MasterCardIcon = 'MasterCard', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PersonalCardIcon = 'Персональная карта', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCan = 'Добавить продукт'
10
+ ActualBalanceIcon = 'Деньги', AirPlane = 'Самолет', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowLeftIcon = 'Стрелка', ArrowUpIcon = 'Стрелка вверх', AtmIcon = 'Банкомат', BankIcon = 'Банк', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кино', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\'', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LoupeIcon = 'Лупа', MasterCardIcon = 'MasterCard', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PersonalCardIcon = 'Персональная карта', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCan = 'Добавить продукт'
11
11
  }
12
12
 
13
13
  /**
@@ -15,7 +15,7 @@ export enum IconTitleMap {
15
15
  * @title Иконка
16
16
  * @enumNames [
17
17
  * "",
18
- * 'Деньги', 'Самолет', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка', 'Стрелка вверх', 'Банкомат', 'Банк', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кино', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документ с текстом', 'Доллар', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Диаграмма роста', 'Скидка', 'JCB', 'Лупа', 'MasterCard', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'UnionPay', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт'
18
+ * 'Деньги', 'Самолет', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка', 'Стрелка вверх', 'Банкомат', 'Банк', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кино', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Диаграмма роста', 'Скидка', 'JCB', 'Лупа', 'MasterCard', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'UnionPay', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт'
19
19
  * ]
20
20
  */
21
- export type IconName = '' | 'ActualBalanceIcon' | 'AirPlane' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentTextIcon' | 'DollarIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LoupeIcon' | 'MasterCardIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCan';
21
+ export type IconName = '' | 'ActualBalanceIcon' | 'AirPlane' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LoupeIcon' | 'MasterCardIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCan';
@@ -0,0 +1,6 @@
1
+ export interface InsuranceProps {
2
+ /** @title Ежемесячный лимит */
3
+ monthLimit?: number;
4
+ /** @title Страховая сумма */
5
+ sum?: number;
6
+ }
@@ -0,0 +1,23 @@
1
+ import { FC, useCallback, useRef } from 'react';
2
+ import { IntersectionObserverTagProps } from '../components/ContentPage/ContentPageContext';
3
+
4
+ export const IntersectionObserverTag: FC<IntersectionObserverTagProps> = (props) => {
5
+ const { Tag, observerCallback, observerOptions, children, ...rest } = props;
6
+
7
+ const intersectionObserver = useRef<IntersectionObserver>();
8
+ const ref = useCallback(
9
+ (tag: HTMLElement | null | undefined) => {
10
+ if (tag && !intersectionObserver.current) {
11
+ intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
12
+ intersectionObserver.current.observe(tag);
13
+ }
14
+ },
15
+ [observerCallback, observerOptions],
16
+ );
17
+
18
+ return (
19
+ <Tag ref={ref} {...rest}>
20
+ {children}
21
+ </Tag>
22
+ );
23
+ };