@redneckz/wildless-cms-uni-blocks 0.10.9 → 0.11.0

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 (1541) hide show
  1. package/bin/migration-scripts/0.10.10.js +44 -0
  2. package/bin/migration-scripts/0.11.0.js +29 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +372 -329
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  7. package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  8. package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  9. package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  10. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  11. package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  12. package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  13. package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  14. package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  15. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  16. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  17. package/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
  18. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  19. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  20. package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  21. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  22. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  23. package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  24. package/bundle/components/RollupItem/getIconName.d.ts +1 -0
  25. package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
  26. package/bundle/components/RollupItem/labelSize.d.ts +1 -0
  27. package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
  28. package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  29. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  30. package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  31. package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  32. package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  33. package/bundle/hooks/useForm.d.ts +8 -4
  34. package/bundle/hooks/useNormalizedInput.d.ts +11 -0
  35. package/bundle/icons/IconName.d.ts +12 -2
  36. package/bundle/services/sitemap/SitemapData.d.ts +1 -1
  37. package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  38. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  39. package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  40. package/bundle/ui-kit/ControlProps.d.ts +1 -1
  41. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  42. package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  43. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  44. package/bundle/ui-kit/Input/Input.d.ts +1 -1
  45. package/bundle/ui-kit/Input/InputProps.d.ts +4 -5
  46. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  47. package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  48. package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  49. package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  50. package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  51. package/bundle/ui-kit/List/ListProps.d.ts +0 -2
  52. package/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  53. package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  54. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  55. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  56. package/bundle/utils/identity.d.ts +1 -0
  57. package/bundle/utils/isEmpty.d.ts +1 -0
  58. package/bundle/utils/joinList.d.ts +1 -1
  59. package/bundle/utils/toLocalNumberFormat.d.ts +1 -0
  60. package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
  61. package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
  62. package/cosmos-static/icons/BagIcon.svg +1 -0
  63. package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
  64. package/cosmos-static/icons/ClientIcon.svg +1 -0
  65. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  66. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  67. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  68. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  69. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  70. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  71. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  72. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  73. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  74. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  75. package/dist/components/BaseTile/BaseTile.d.ts +12 -2
  76. package/dist/components/BaseTile/BaseTile.js +2 -1
  77. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  78. package/dist/components/Blocks.js +6 -4
  79. package/dist/components/Blocks.js.map +1 -1
  80. package/dist/components/Blocks.mobile.js +0 -2
  81. package/dist/components/Blocks.mobile.js.map +1 -1
  82. package/dist/components/Calculator/CalculatorValueBlock.js +2 -2
  83. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  84. package/dist/components/Calculator/renderInitialFeeInput.js +3 -3
  85. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  86. package/dist/components/Calculator/renderProposal.js +2 -2
  87. package/dist/components/Calculator/renderProposal.js.map +1 -1
  88. package/dist/components/Calculator/renderRealEstateValue.js +2 -2
  89. package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  90. package/dist/components/Calculator/renderWantedSumInput.js +3 -3
  91. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  92. package/dist/components/CardTransfer/CardTransfer.js +10 -8
  93. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  94. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  95. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  96. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  97. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  98. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  99. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  100. package/dist/components/ContentPage/ContentPage.page.json +0 -1
  101. package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  102. package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  103. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  104. package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  105. package/dist/{ui-kit/CurrencyInput/CurrencyInputProps.js → components/DepositFiltration/DepositFiltrationContent.js} +1 -1
  106. package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  107. package/dist/components/Footer/Footer.mobile.js +3 -9
  108. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  109. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
  110. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  111. package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  112. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  113. package/dist/components/Footer/MediaButton.js +2 -8
  114. package/dist/components/Footer/MediaButton.js.map +1 -1
  115. package/dist/components/Footer/TextInformation.js +3 -1
  116. package/dist/components/Footer/TextInformation.js.map +1 -1
  117. package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  118. package/dist/components/Footer/buttonStylesWithText.js +12 -0
  119. package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  120. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  121. package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
  122. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  123. package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  124. package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  125. package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  126. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  127. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
  128. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  129. package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  130. package/dist/components/Footer/textInformationTextSize.js +4 -0
  131. package/dist/components/Footer/textInformationTextSize.js.map +1 -0
  132. package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  133. package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
  134. package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  135. package/dist/components/Header/Header.mobile.js +2 -2
  136. package/dist/components/Header/Header.mobile.js.map +1 -1
  137. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  138. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  139. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  140. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  141. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  142. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  143. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  144. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  145. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  146. package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  147. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  148. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  149. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  150. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  151. package/dist/components/OfficeMap/OfficeMap.js +2 -2
  152. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  153. package/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
  154. package/dist/components/OfficeMap/useOfficeMap.js +1 -2
  155. package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  156. package/dist/components/PictureText/PictureText.js +2 -2
  157. package/dist/components/PictureText/PictureText.js.map +1 -1
  158. package/dist/components/ProductBlock/ProductBlock.js +3 -8
  159. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  160. package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  161. package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
  162. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  163. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  164. package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  165. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  166. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  167. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  168. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  169. package/dist/components/ProductGallery/ProductGallery.js +9 -18
  170. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  171. package/dist/components/RollupItem/RollupItem.js +19 -4
  172. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  173. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  174. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  175. package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  176. package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  177. package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  178. package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
  179. package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  180. package/dist/components/RollupItem/getIconName.d.ts +1 -0
  181. package/dist/components/RollupItem/getIconName.js +5 -0
  182. package/dist/components/RollupItem/getIconName.js.map +1 -0
  183. package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
  184. package/dist/components/RollupItem/getIconName.mobile.js +5 -0
  185. package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
  186. package/dist/components/RollupItem/labelSize.d.ts +1 -0
  187. package/dist/components/RollupItem/labelSize.js +4 -0
  188. package/dist/components/RollupItem/labelSize.js.map +1 -0
  189. package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
  190. package/dist/components/RollupItem/labelSize.mobile.js +4 -0
  191. package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
  192. package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  193. package/dist/components/RollupItem/rollupIconVersion.js +4 -0
  194. package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  195. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  196. package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
  197. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  198. package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  199. package/dist/components/RollupItem/rollupItemStyles.js +4 -0
  200. package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  201. package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  202. package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
  203. package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  204. package/dist/components/Tile/Tile.js +2 -2
  205. package/dist/components/Tile/Tile.js.map +1 -1
  206. package/dist/content-page-repository/transformContentPage.js +12 -4
  207. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  208. package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  209. package/dist/content-page-repository/transformDocumentLink.js +32 -0
  210. package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  211. package/dist/hooks/useForm.d.ts +8 -4
  212. package/dist/hooks/useForm.js +5 -3
  213. package/dist/hooks/useForm.js.map +1 -1
  214. package/dist/hooks/useNormalizedInput.d.ts +11 -0
  215. package/dist/hooks/useNormalizedInput.js +23 -0
  216. package/dist/hooks/useNormalizedInput.js.map +1 -0
  217. package/dist/hooks/useSWRResource.js +2 -1
  218. package/dist/hooks/useSWRResource.js.map +1 -1
  219. package/dist/icons/IconName.d.ts +12 -2
  220. package/dist/icons/IconName.js +11 -1
  221. package/dist/icons/IconName.js.map +1 -1
  222. package/dist/services/search/useSearch.js +3 -2
  223. package/dist/services/search/useSearch.js.map +1 -1
  224. package/dist/services/sitemap/SitemapData.d.ts +1 -1
  225. package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  226. package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  227. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  228. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  229. package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  230. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  231. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  232. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  233. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  234. package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  235. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  236. package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  237. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  238. package/dist/ui-kit/BlockWrapper.js +1 -1
  239. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  240. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  241. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  242. package/dist/ui-kit/ControlProps.d.ts +1 -1
  243. package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  244. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  245. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  246. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  247. package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  248. package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  249. package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  250. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  251. package/dist/ui-kit/Input/Input.d.ts +1 -1
  252. package/dist/ui-kit/Input/Input.js +3 -2
  253. package/dist/ui-kit/Input/Input.js.map +1 -1
  254. package/dist/ui-kit/Input/InputProps.d.ts +4 -5
  255. package/dist/ui-kit/InputRange/InputRange.js +9 -11
  256. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  257. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  258. package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  259. package/dist/ui-kit/LinkList/LinkList.js +12 -0
  260. package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  261. package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  262. package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  263. package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  264. package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  265. package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  266. package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  267. package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  268. package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
  269. package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  270. package/dist/ui-kit/List/List.js +2 -1
  271. package/dist/ui-kit/List/List.js.map +1 -1
  272. package/dist/ui-kit/List/ListItem.js +5 -4
  273. package/dist/ui-kit/List/ListItem.js.map +1 -1
  274. package/dist/ui-kit/List/ListProps.d.ts +0 -2
  275. package/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  276. package/dist/ui-kit/NumberInput/NumberInput.js +22 -0
  277. package/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
  278. package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  279. package/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
  280. package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  281. package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  282. package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  283. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  284. package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  285. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  286. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  287. package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  288. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  289. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  290. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  291. package/dist/utils/identity.d.ts +1 -0
  292. package/dist/utils/identity.js +5 -0
  293. package/dist/utils/identity.js.map +1 -0
  294. package/dist/utils/isEmpty.d.ts +1 -0
  295. package/dist/utils/isEmpty.js +9 -0
  296. package/dist/utils/isEmpty.js.map +1 -0
  297. package/dist/utils/joinList.d.ts +1 -1
  298. package/dist/utils/joinList.js +1 -3
  299. package/dist/utils/joinList.js.map +1 -1
  300. package/dist/utils/toLocalNumberFormat.d.ts +1 -0
  301. package/dist/utils/toLocalNumberFormat.js +8 -0
  302. package/dist/utils/toLocalNumberFormat.js.map +1 -0
  303. package/lib/common.css +1 -1
  304. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  305. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  306. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  307. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  308. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  309. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  310. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  311. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  312. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  313. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  314. package/lib/components/BaseTile/BaseTile.d.ts +12 -2
  315. package/lib/components/BaseTile/BaseTile.js +2 -1
  316. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  317. package/lib/components/Blocks.js +6 -4
  318. package/lib/components/Blocks.js.map +1 -1
  319. package/lib/components/Blocks.mobile.js +0 -2
  320. package/lib/components/Blocks.mobile.js.map +1 -1
  321. package/lib/components/Calculator/CalculatorValueBlock.js +2 -2
  322. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  323. package/lib/components/Calculator/renderInitialFeeInput.js +3 -3
  324. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  325. package/lib/components/Calculator/renderProposal.js +2 -2
  326. package/lib/components/Calculator/renderProposal.js.map +1 -1
  327. package/lib/components/Calculator/renderRealEstateValue.js +2 -2
  328. package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  329. package/lib/components/Calculator/renderWantedSumInput.js +3 -3
  330. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  331. package/lib/components/CardTransfer/CardTransfer.js +10 -8
  332. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  333. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
  334. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +1 -0
  335. package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +1 -0
  336. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  337. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  338. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +1 -0
  339. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +1 -0
  340. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  341. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  342. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -0
  343. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  344. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  345. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +1 -0
  346. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -0
  347. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +1 -0
  348. package/lib/components/ContentPage/ContentPage.page.json +0 -1
  349. package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  350. package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  351. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  352. package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  353. package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  354. package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  355. package/lib/components/Footer/Footer.mobile.js +3 -9
  356. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  357. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
  358. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  359. package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  360. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  361. package/lib/components/Footer/MediaButton.js +1 -7
  362. package/lib/components/Footer/MediaButton.js.map +1 -1
  363. package/lib/components/Footer/TextInformation.js +3 -1
  364. package/lib/components/Footer/TextInformation.js.map +1 -1
  365. package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  366. package/lib/components/Footer/buttonStylesWithText.js +9 -0
  367. package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  368. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  369. package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
  370. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  371. package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  372. package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  373. package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  374. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  375. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
  376. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  377. package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  378. package/lib/components/Footer/textInformationTextSize.js +2 -0
  379. package/lib/components/Footer/textInformationTextSize.js.map +1 -0
  380. package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  381. package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
  382. package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  383. package/lib/components/Header/Header.mobile.js +2 -2
  384. package/lib/components/Header/Header.mobile.js.map +1 -1
  385. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  386. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  387. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  388. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  389. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  390. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  391. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  392. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  393. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  394. package/lib/components/{Filtration/Filtration.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +1 -0
  395. package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  396. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  397. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  398. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  399. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  400. package/lib/components/OfficeMap/OfficeMap.js +2 -2
  401. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  402. package/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
  403. package/lib/components/OfficeMap/useOfficeMap.js +1 -2
  404. package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  405. package/lib/components/PictureText/PictureText.js +2 -2
  406. package/lib/components/PictureText/PictureText.js.map +1 -1
  407. package/lib/components/ProductBlock/ProductBlock.js +3 -8
  408. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  409. package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  410. package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
  411. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  412. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  413. package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  414. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  415. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  416. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  417. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  418. package/lib/components/ProductGallery/ProductGallery.js +10 -19
  419. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  420. package/lib/components/RollupItem/RollupItem.fixture.d.ts +1 -0
  421. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +2 -0
  422. package/lib/components/RollupItem/RollupItem.js +19 -4
  423. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  424. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  425. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  426. package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  427. package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  428. package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  429. package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
  430. package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  431. package/lib/components/RollupItem/getIconName.d.ts +1 -0
  432. package/lib/components/RollupItem/getIconName.js +2 -0
  433. package/lib/components/RollupItem/getIconName.js.map +1 -0
  434. package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
  435. package/lib/components/RollupItem/getIconName.mobile.js +2 -0
  436. package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
  437. package/lib/components/RollupItem/labelSize.d.ts +1 -0
  438. package/lib/components/RollupItem/labelSize.js +2 -0
  439. package/lib/components/RollupItem/labelSize.js.map +1 -0
  440. package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
  441. package/lib/components/RollupItem/labelSize.mobile.js +2 -0
  442. package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
  443. package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  444. package/lib/components/RollupItem/rollupIconVersion.js +2 -0
  445. package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  446. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  447. package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
  448. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  449. package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  450. package/lib/components/RollupItem/rollupItemStyles.js +2 -0
  451. package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  452. package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  453. package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
  454. package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  455. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
  456. package/lib/components/Tile/Tile.js +2 -2
  457. package/lib/components/Tile/Tile.js.map +1 -1
  458. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
  459. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
  460. package/lib/components/Video/Video.fixture.d.ts +1 -0
  461. package/lib/content-page-repository/transformContentPage.js +12 -4
  462. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  463. package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  464. package/lib/content-page-repository/transformDocumentLink.js +26 -0
  465. package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  466. package/lib/hooks/useForm.d.ts +8 -4
  467. package/lib/hooks/useForm.js +5 -3
  468. package/lib/hooks/useForm.js.map +1 -1
  469. package/lib/hooks/useNormalizedInput.d.ts +11 -0
  470. package/lib/hooks/useNormalizedInput.js +20 -0
  471. package/lib/hooks/useNormalizedInput.js.map +1 -0
  472. package/lib/hooks/useSWRResource.js +2 -1
  473. package/lib/hooks/useSWRResource.js.map +1 -1
  474. package/lib/icons/IconName.d.ts +12 -2
  475. package/lib/icons/IconName.js +11 -1
  476. package/lib/icons/IconName.js.map +1 -1
  477. package/lib/services/search/useSearch.js +3 -2
  478. package/lib/services/search/useSearch.js.map +1 -1
  479. package/lib/services/sitemap/SitemapData.d.ts +1 -1
  480. package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  481. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  482. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  483. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  484. package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  485. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  486. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  487. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  488. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  489. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  490. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  491. package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  492. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  493. package/lib/ui-kit/BlockWrapper.js +1 -1
  494. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  495. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  496. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  497. package/lib/ui-kit/ControlProps.d.ts +1 -1
  498. package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  499. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  500. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  501. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  502. package/lib/ui-kit/Heading/Heading.fixture.d.ts +1 -0
  503. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +1 -0
  504. package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  505. package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  506. package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  507. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  508. package/lib/ui-kit/Input/Input.d.ts +1 -1
  509. package/lib/ui-kit/Input/Input.js +3 -2
  510. package/lib/ui-kit/Input/Input.js.map +1 -1
  511. package/lib/ui-kit/Input/InputProps.d.ts +4 -5
  512. package/lib/ui-kit/InputRange/InputRange.js +10 -12
  513. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  514. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  515. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +1 -0
  516. package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  517. package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
  518. package/lib/ui-kit/LinkList/LinkList.js +10 -0
  519. package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  520. package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  521. package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  522. package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  523. package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  524. package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  525. package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  526. package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  527. package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
  528. package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  529. package/lib/ui-kit/List/List.js +2 -1
  530. package/lib/ui-kit/List/List.js.map +1 -1
  531. package/lib/ui-kit/List/ListItem.js +5 -4
  532. package/lib/ui-kit/List/ListItem.js.map +1 -1
  533. package/lib/ui-kit/List/ListProps.d.ts +0 -2
  534. package/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  535. package/lib/ui-kit/NumberInput/NumberInput.fixture.d.ts +7 -0
  536. package/lib/ui-kit/NumberInput/NumberInput.js +20 -0
  537. package/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
  538. package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  539. package/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
  540. package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  541. package/lib/ui-kit/RichText/RichText.fixture.d.ts +1 -0
  542. package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  543. package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  544. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  545. package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  546. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  547. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  548. package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  549. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  550. package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
  551. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.fixture.d.ts +1 -0
  552. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  553. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  554. package/lib/ui-kit/Tags/Tags.fixture.d.ts +1 -0
  555. package/lib/utils/identity.d.ts +1 -0
  556. package/lib/utils/identity.js +2 -0
  557. package/lib/utils/identity.js.map +1 -0
  558. package/lib/utils/isEmpty.d.ts +1 -0
  559. package/lib/utils/isEmpty.js +6 -0
  560. package/lib/utils/isEmpty.js.map +1 -0
  561. package/lib/utils/joinList.d.ts +1 -1
  562. package/lib/utils/joinList.js +1 -3
  563. package/lib/utils/joinList.js.map +1 -1
  564. package/lib/utils/toLocalNumberFormat.d.ts +1 -0
  565. package/lib/utils/toLocalNumberFormat.js +5 -0
  566. package/lib/utils/toLocalNumberFormat.js.map +1 -0
  567. package/mobile/bundle/bundle.umd.js +267 -242
  568. package/mobile/bundle/bundle.umd.min.js +1 -1
  569. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  570. package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  571. package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  572. package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  573. package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  574. package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  575. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  576. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  577. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
  578. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  579. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  580. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  581. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  582. package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  583. package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
  584. package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
  585. package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  586. package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  587. package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  588. package/mobile/bundle/hooks/useForm.d.ts +8 -4
  589. package/mobile/bundle/hooks/useNormalizedInput.d.ts +11 -0
  590. package/mobile/bundle/icons/IconName.d.ts +12 -2
  591. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
  592. package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  593. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  594. package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  595. package/mobile/bundle/ui-kit/ControlProps.d.ts +1 -1
  596. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  597. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  598. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  599. package/mobile/bundle/ui-kit/Input/Input.d.ts +1 -1
  600. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -5
  601. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  602. package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  603. package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  604. package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  605. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
  606. package/mobile/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  607. package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  608. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  609. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  610. package/mobile/bundle/utils/identity.d.ts +1 -0
  611. package/mobile/bundle/utils/isEmpty.d.ts +1 -0
  612. package/mobile/bundle/utils/joinList.d.ts +1 -1
  613. package/mobile/bundle/utils/toLocalNumberFormat.d.ts +1 -0
  614. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  615. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  616. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  617. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  618. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  619. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  620. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  621. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  622. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  623. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  624. package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
  625. package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
  626. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  627. package/mobile/dist/components/Blocks.js +0 -2
  628. package/mobile/dist/components/Blocks.js.map +1 -1
  629. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -2
  630. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  631. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +3 -3
  632. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  633. package/mobile/dist/components/Calculator/renderProposal.js +2 -2
  634. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  635. package/mobile/dist/components/Calculator/renderRealEstateValue.js +2 -2
  636. package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  637. package/mobile/dist/components/Calculator/renderWantedSumInput.js +3 -3
  638. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  639. package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -8
  640. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  641. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  642. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  643. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  644. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  645. package/mobile/dist/components/ContentPage/ContentPage.page.json +0 -1
  646. package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  647. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  648. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  649. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  650. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  651. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  652. package/mobile/dist/components/Footer/Footer.js +3 -9
  653. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  654. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
  655. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  656. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  657. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  658. package/mobile/dist/components/Footer/MediaButton.js +2 -8
  659. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  660. package/mobile/dist/components/Footer/TextInformation.js +3 -3
  661. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  662. package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  663. package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
  664. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  665. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  666. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  667. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  668. package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  669. package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
  670. package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
  671. package/mobile/dist/components/Header/Header.js +2 -2
  672. package/mobile/dist/components/Header/Header.js.map +1 -1
  673. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  674. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  675. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  676. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  677. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
  678. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  679. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  680. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  681. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  682. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  683. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  684. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  685. package/mobile/dist/components/OfficeMap/OfficeMap.js +2 -2
  686. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  687. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
  688. package/mobile/dist/components/OfficeMap/useOfficeMap.js +1 -2
  689. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  690. package/mobile/dist/components/PictureText/PictureText.js +2 -2
  691. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  692. package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
  693. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  694. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  695. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
  696. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  697. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  698. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  699. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  700. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  701. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  702. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  703. package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
  704. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  705. package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
  706. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  707. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  708. package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  709. package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  710. package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  711. package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
  712. package/mobile/dist/components/RollupItem/getIconName.js +5 -0
  713. package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
  714. package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
  715. package/mobile/dist/components/RollupItem/labelSize.js +4 -0
  716. package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
  717. package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  718. package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
  719. package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  720. package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  721. package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
  722. package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  723. package/mobile/dist/components/Tile/Tile.js +2 -2
  724. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  725. package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
  726. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  727. package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  728. package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
  729. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  730. package/mobile/dist/hooks/useForm.d.ts +8 -4
  731. package/mobile/dist/hooks/useForm.js +5 -3
  732. package/mobile/dist/hooks/useForm.js.map +1 -1
  733. package/mobile/dist/hooks/useNormalizedInput.d.ts +11 -0
  734. package/mobile/dist/hooks/useNormalizedInput.js +23 -0
  735. package/mobile/dist/hooks/useNormalizedInput.js.map +1 -0
  736. package/mobile/dist/hooks/useSWRResource.js +2 -1
  737. package/mobile/dist/hooks/useSWRResource.js.map +1 -1
  738. package/mobile/dist/icons/IconName.d.ts +12 -2
  739. package/mobile/dist/icons/IconName.js +11 -1
  740. package/mobile/dist/icons/IconName.js.map +1 -1
  741. package/mobile/dist/services/search/useSearch.js +3 -2
  742. package/mobile/dist/services/search/useSearch.js.map +1 -1
  743. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
  744. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  745. package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  746. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  747. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  748. package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  749. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  750. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  751. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  752. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  753. package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  754. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  755. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  756. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  757. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  758. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  759. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  760. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  761. package/mobile/dist/ui-kit/ControlProps.d.ts +1 -1
  762. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  763. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  764. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  765. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  766. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  767. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  768. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  769. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  770. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  771. package/mobile/dist/ui-kit/Input/Input.js +3 -2
  772. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  773. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -5
  774. package/mobile/dist/ui-kit/InputRange/InputRange.js +9 -11
  775. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  776. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  777. package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  778. package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
  779. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  780. package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  781. package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  782. package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  783. package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  784. package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  785. package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  786. package/mobile/dist/ui-kit/List/List.js +2 -1
  787. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  788. package/mobile/dist/ui-kit/List/ListItem.js +5 -4
  789. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  790. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
  791. package/mobile/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  792. package/mobile/dist/ui-kit/NumberInput/NumberInput.js +22 -0
  793. package/mobile/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
  794. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  795. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
  796. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  797. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  798. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  799. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  800. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  801. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  802. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  803. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  804. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  805. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  806. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  807. package/mobile/dist/utils/identity.d.ts +1 -0
  808. package/mobile/dist/utils/identity.js +5 -0
  809. package/mobile/dist/utils/identity.js.map +1 -0
  810. package/mobile/dist/utils/isEmpty.d.ts +1 -0
  811. package/mobile/dist/utils/isEmpty.js +9 -0
  812. package/mobile/dist/utils/isEmpty.js.map +1 -0
  813. package/mobile/dist/utils/joinList.d.ts +1 -1
  814. package/mobile/dist/utils/joinList.js +1 -3
  815. package/mobile/dist/utils/joinList.js.map +1 -1
  816. package/mobile/dist/utils/toLocalNumberFormat.d.ts +1 -0
  817. package/mobile/dist/utils/toLocalNumberFormat.js +8 -0
  818. package/mobile/dist/utils/toLocalNumberFormat.js.map +1 -0
  819. package/mobile/lib/common.css +1 -1
  820. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  821. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  822. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  823. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  824. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  825. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  826. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  827. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  828. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  829. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  830. package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
  831. package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
  832. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  833. package/mobile/lib/components/Blocks.js +0 -2
  834. package/mobile/lib/components/Blocks.js.map +1 -1
  835. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -2
  836. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  837. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +3 -3
  838. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  839. package/mobile/lib/components/Calculator/renderProposal.js +2 -2
  840. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  841. package/mobile/lib/components/Calculator/renderRealEstateValue.js +2 -2
  842. package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  843. package/mobile/lib/components/Calculator/renderWantedSumInput.js +3 -3
  844. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  845. package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -8
  846. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  847. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  848. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  849. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  850. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  851. package/mobile/lib/components/ContentPage/ContentPage.page.json +0 -1
  852. package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  853. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  854. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  855. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  856. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  857. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  858. package/mobile/lib/components/Footer/Footer.js +3 -9
  859. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  860. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
  861. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  862. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  863. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  864. package/mobile/lib/components/Footer/MediaButton.js +1 -7
  865. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  866. package/mobile/lib/components/Footer/TextInformation.js +3 -3
  867. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  868. package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  869. package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
  870. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  871. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  872. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  873. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  874. package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  875. package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
  876. package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
  877. package/mobile/lib/components/Header/Header.js +2 -2
  878. package/mobile/lib/components/Header/Header.js.map +1 -1
  879. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  880. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  881. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  882. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  883. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
  884. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  885. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  886. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  887. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  888. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  889. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  890. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  891. package/mobile/lib/components/OfficeMap/OfficeMap.js +2 -2
  892. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  893. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
  894. package/mobile/lib/components/OfficeMap/useOfficeMap.js +1 -2
  895. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  896. package/mobile/lib/components/PictureText/PictureText.js +2 -2
  897. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  898. package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
  899. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  900. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  901. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
  902. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  903. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  904. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  905. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  906. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  907. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  908. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  909. package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
  910. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  911. package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
  912. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  913. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  914. package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  915. package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  916. package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  917. package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
  918. package/mobile/lib/components/RollupItem/getIconName.js +2 -0
  919. package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
  920. package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
  921. package/mobile/lib/components/RollupItem/labelSize.js +2 -0
  922. package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
  923. package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  924. package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
  925. package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  926. package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  927. package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
  928. package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  929. package/mobile/lib/components/Tile/Tile.js +2 -2
  930. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  931. package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
  932. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  933. package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  934. package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
  935. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  936. package/mobile/lib/hooks/useForm.d.ts +8 -4
  937. package/mobile/lib/hooks/useForm.js +5 -3
  938. package/mobile/lib/hooks/useForm.js.map +1 -1
  939. package/mobile/lib/hooks/useNormalizedInput.d.ts +11 -0
  940. package/mobile/lib/hooks/useNormalizedInput.js +20 -0
  941. package/mobile/lib/hooks/useNormalizedInput.js.map +1 -0
  942. package/mobile/lib/hooks/useSWRResource.js +2 -1
  943. package/mobile/lib/hooks/useSWRResource.js.map +1 -1
  944. package/mobile/lib/icons/IconName.d.ts +12 -2
  945. package/mobile/lib/icons/IconName.js +11 -1
  946. package/mobile/lib/icons/IconName.js.map +1 -1
  947. package/mobile/lib/services/search/useSearch.js +3 -2
  948. package/mobile/lib/services/search/useSearch.js.map +1 -1
  949. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
  950. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  951. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  952. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  953. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  954. package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  955. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  956. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  957. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  958. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  959. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  960. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  961. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  962. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  963. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  964. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  965. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  966. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  967. package/mobile/lib/ui-kit/ControlProps.d.ts +1 -1
  968. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  969. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  970. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  971. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  972. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  973. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  974. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  975. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  976. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  977. package/mobile/lib/ui-kit/Input/Input.js +3 -2
  978. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  979. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -5
  980. package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -12
  981. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  982. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  983. package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  984. package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
  985. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  986. package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  987. package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  988. package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  989. package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  990. package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  991. package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  992. package/mobile/lib/ui-kit/List/List.js +2 -1
  993. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  994. package/mobile/lib/ui-kit/List/ListItem.js +5 -4
  995. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  996. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
  997. package/mobile/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  998. package/mobile/lib/ui-kit/NumberInput/NumberInput.js +20 -0
  999. package/mobile/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
  1000. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  1001. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
  1002. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  1003. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  1004. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  1005. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1006. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  1007. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1008. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  1009. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  1010. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1011. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  1012. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1013. package/mobile/lib/utils/identity.d.ts +1 -0
  1014. package/mobile/lib/utils/identity.js +2 -0
  1015. package/mobile/lib/utils/identity.js.map +1 -0
  1016. package/mobile/lib/utils/isEmpty.d.ts +1 -0
  1017. package/mobile/lib/utils/isEmpty.js +6 -0
  1018. package/mobile/lib/utils/isEmpty.js.map +1 -0
  1019. package/mobile/lib/utils/joinList.d.ts +1 -1
  1020. package/mobile/lib/utils/joinList.js +1 -3
  1021. package/mobile/lib/utils/joinList.js.map +1 -1
  1022. package/mobile/lib/utils/toLocalNumberFormat.d.ts +1 -0
  1023. package/mobile/lib/utils/toLocalNumberFormat.js +5 -0
  1024. package/mobile/lib/utils/toLocalNumberFormat.js.map +1 -0
  1025. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
  1026. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
  1027. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
  1028. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
  1029. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
  1030. package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
  1031. package/mobile/src/components/Blocks.ts +0 -2
  1032. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  1033. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
  1034. package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
  1035. package/mobile/src/components/Calculator/renderRealEstateValue.tsx +2 -2
  1036. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +3 -3
  1037. package/mobile/src/components/CardTransfer/CardTransfer.tsx +16 -12
  1038. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  1039. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  1040. package/mobile/src/components/ContentPage/ContentPage.page.json +0 -1
  1041. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  1042. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  1043. package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  1044. package/mobile/src/components/Footer/Footer.tsx +21 -30
  1045. package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
  1046. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  1047. package/mobile/src/components/Footer/MediaButton.tsx +1 -10
  1048. package/mobile/src/components/Footer/TextInformation.tsx +17 -17
  1049. package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
  1050. package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  1051. package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
  1052. package/mobile/src/components/Header/Header.tsx +2 -2
  1053. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1054. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1055. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  1056. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
  1057. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  1058. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  1059. package/mobile/src/components/OfficeMap/OfficeMap.tsx +2 -2
  1060. package/mobile/src/components/OfficeMap/useOfficeMap.ts +1 -3
  1061. package/mobile/src/components/PictureText/PictureText.tsx +2 -2
  1062. package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
  1063. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  1064. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
  1065. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  1066. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
  1067. package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
  1068. package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
  1069. package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
  1070. package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  1071. package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
  1072. package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
  1073. package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  1074. package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
  1075. package/mobile/src/components/Tile/Tile.tsx +2 -8
  1076. package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
  1077. package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
  1078. package/mobile/src/hooks/useForm.ts +16 -8
  1079. package/mobile/src/hooks/useNormalizedInput.ts +33 -0
  1080. package/mobile/src/hooks/useSWRResource.ts +3 -1
  1081. package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
  1082. package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
  1083. package/mobile/src/icons/BagIcon.svg +1 -0
  1084. package/mobile/src/icons/BriefcaseIcon.svg +7 -0
  1085. package/mobile/src/icons/ClientIcon.svg +1 -0
  1086. package/mobile/src/icons/IconName.ts +5 -5
  1087. package/mobile/src/services/search/useSearch.ts +3 -2
  1088. package/mobile/src/services/sitemap/SitemapData.ts +1 -1
  1089. package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
  1090. package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  1091. package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  1092. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  1093. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  1094. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
  1095. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1096. package/mobile/src/ui-kit/ControlProps.ts +1 -1
  1097. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
  1098. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  1099. package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
  1100. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  1101. package/mobile/src/ui-kit/Input/Input.tsx +33 -16
  1102. package/mobile/src/ui-kit/Input/InputProps.ts +4 -5
  1103. package/mobile/src/ui-kit/InputRange/InputRange.tsx +43 -49
  1104. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
  1105. package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
  1106. package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  1107. package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  1108. package/mobile/src/ui-kit/List/List.tsx +10 -11
  1109. package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
  1110. package/mobile/src/ui-kit/List/ListProps.ts +0 -2
  1111. package/mobile/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
  1112. package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
  1113. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
  1114. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
  1115. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  1116. package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
  1117. package/mobile/src/utils/identity.ts +1 -0
  1118. package/mobile/src/utils/isEmpty.ts +6 -0
  1119. package/mobile/src/utils/joinList.ts +4 -4
  1120. package/mobile/src/utils/toLocalNumberFormat.ts +7 -0
  1121. package/package.json +3 -3
  1122. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -0
  1123. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
  1124. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
  1125. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
  1126. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
  1127. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
  1128. package/src/components/BaseTile/BaseTile.tsx +32 -9
  1129. package/src/components/Blocks.mobile.ts +0 -2
  1130. package/src/components/Blocks.ts +6 -4
  1131. package/src/components/Bonus/Bonus.fixture.tsx +2 -1
  1132. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -0
  1133. package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +1 -0
  1134. package/src/components/Calculator/Calculator.fixture.tsx +1 -1
  1135. package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  1136. package/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
  1137. package/src/components/Calculator/renderProposal.tsx +2 -2
  1138. package/src/components/Calculator/renderRealEstateValue.tsx +2 -2
  1139. package/src/components/Calculator/renderWantedSumInput.tsx +3 -3
  1140. package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -0
  1141. package/src/components/CardTransfer/CardTransfer.tsx +16 -12
  1142. package/src/components/Carousel/Carousel.fixture.mobile.tsx +2 -1
  1143. package/src/components/Carousel/Carousel.fixture.tsx +2 -1
  1144. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -0
  1145. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -0
  1146. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -0
  1147. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +3 -1
  1148. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +2 -1
  1149. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  1150. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -0
  1151. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -0
  1152. package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  1153. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
  1154. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +2 -1
  1155. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +2 -1
  1156. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
  1157. package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +2 -0
  1158. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +2 -0
  1159. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -0
  1160. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -1
  1161. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -1
  1162. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -7
  1163. package/src/components/ContentPage/ContentPage.page.json +0 -1
  1164. package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  1165. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
  1166. package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  1167. package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  1168. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -1
  1169. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +1 -0
  1170. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -0
  1171. package/src/components/Footer/Footer.fixture.tsx +1 -0
  1172. package/src/components/Footer/Footer.mobile.tsx +21 -30
  1173. package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
  1174. package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  1175. package/src/components/Footer/MediaButton.tsx +1 -10
  1176. package/src/components/Footer/TextInformation.tsx +5 -3
  1177. package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
  1178. package/src/components/Footer/buttonStylesWithText.ts +15 -0
  1179. package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
  1180. package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  1181. package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
  1182. package/src/components/Footer/textInformationTextSize.ts +1 -0
  1183. package/src/components/Header/Header.fixture.mobile.tsx +1 -0
  1184. package/src/components/Header/Header.fixture.tsx +1 -0
  1185. package/src/components/Header/Header.mobile.tsx +2 -2
  1186. package/src/components/Headline/Headline.fixture.mobile.tsx +2 -1
  1187. package/src/components/Headline/Headline.fixture.tsx +2 -1
  1188. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +2 -1
  1189. package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +2 -1
  1190. package/src/components/ImgBlock/ImgBlock.fixture.tsx +2 -1
  1191. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -0
  1192. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1193. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -0
  1194. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1195. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -0
  1196. package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -0
  1197. package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  1198. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -1
  1199. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
  1200. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1201. package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +7 -5
  1202. package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  1203. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  1204. package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -0
  1205. package/src/components/OfficeMap/OfficeMap.tsx +2 -2
  1206. package/src/components/OfficeMap/useOfficeMap.ts +1 -3
  1207. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -0
  1208. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +1 -0
  1209. package/src/components/PictureText/PictureText.fixture.tsx +2 -1
  1210. package/src/components/PictureText/PictureText.tsx +2 -2
  1211. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -1
  1212. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -3
  1213. package/src/components/ProductBlock/ProductBlock.tsx +14 -31
  1214. package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  1215. package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
  1216. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  1217. package/src/components/ProductBlock/renderBenefit.tsx +3 -12
  1218. package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -1
  1219. package/src/components/ProductGallery/ProductGallery.tsx +50 -73
  1220. package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
  1221. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -0
  1222. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -0
  1223. package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +1 -0
  1224. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +1 -0
  1225. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +24 -3
  1226. package/src/components/RollupItem/RollupItem.fixture.tsx +2 -0
  1227. package/src/components/RollupItem/RollupItem.tsx +73 -34
  1228. package/src/components/RollupItem/RollupItemContent.ts +2 -0
  1229. package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
  1230. package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  1231. package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
  1232. package/src/components/RollupItem/getIconName.tsx +1 -0
  1233. package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
  1234. package/src/components/RollupItem/labelSize.tsx +1 -0
  1235. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
  1236. package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  1237. package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
  1238. package/src/components/RollupItem/rollupItemStyles.ts +2 -0
  1239. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
  1240. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -0
  1241. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -0
  1242. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +2 -0
  1243. package/src/components/Tabs/Tabs.fixture.tsx +1 -0
  1244. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -0
  1245. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -0
  1246. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +2 -1
  1247. package/src/components/TextBlock/TextBlock.fixture.tsx +2 -1
  1248. package/src/components/Tile/Tile.fixture.tsx +2 -1
  1249. package/src/components/Tile/Tile.tsx +2 -8
  1250. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +71 -2
  1251. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -2
  1252. package/src/components/Video/Video.fixture.tsx +2 -0
  1253. package/src/content-page-repository/transformContentPage.ts +19 -7
  1254. package/src/content-page-repository/transformDocumentLink.ts +37 -0
  1255. package/src/hooks/useForm.ts +16 -8
  1256. package/src/hooks/useNormalizedInput.ts +33 -0
  1257. package/src/hooks/useSWRResource.ts +3 -1
  1258. package/src/icons/ArrowDownSolidIcon.svg +1 -0
  1259. package/src/icons/ArrowUpSolidIcon.svg +1 -0
  1260. package/src/icons/BagIcon.svg +1 -0
  1261. package/src/icons/BriefcaseIcon.svg +7 -0
  1262. package/src/icons/ClientIcon.svg +1 -0
  1263. package/src/icons/IconName.ts +19 -1
  1264. package/src/services/search/useSearch.ts +3 -2
  1265. package/src/services/sitemap/SitemapData.ts +1 -1
  1266. package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
  1267. package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  1268. package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  1269. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  1270. package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  1271. package/src/ui-kit/BlockWrapper.tsx +1 -9
  1272. package/src/ui-kit/Button/Button.fixture.tsx +1 -0
  1273. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1274. package/src/ui-kit/ControlProps.ts +1 -1
  1275. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
  1276. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  1277. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +2 -0
  1278. package/src/ui-kit/Heading/Heading.fixture.tsx +2 -0
  1279. package/src/ui-kit/Icon/Icon.fixture.tsx +2 -1
  1280. package/src/ui-kit/Icon/IconProps.ts +5 -0
  1281. package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  1282. package/src/ui-kit/Input/Input.tsx +33 -16
  1283. package/src/ui-kit/Input/InputProps.ts +4 -5
  1284. package/src/ui-kit/InputRange/InputRange.tsx +43 -49
  1285. package/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
  1286. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +2 -0
  1287. package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
  1288. package/src/ui-kit/LinkList/LinkList.tsx +25 -0
  1289. package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  1290. package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
  1291. package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  1292. package/src/ui-kit/List/List.fixture.tsx +1 -0
  1293. package/src/ui-kit/List/List.tsx +10 -11
  1294. package/src/ui-kit/List/ListItem.tsx +11 -7
  1295. package/src/ui-kit/List/ListProps.ts +0 -2
  1296. package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +2 -1
  1297. package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +31 -0
  1298. package/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
  1299. package/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
  1300. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -0
  1301. package/src/ui-kit/RichText/RichText.fixture.tsx +2 -0
  1302. package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
  1303. package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
  1304. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  1305. package/src/ui-kit/Select/Select.fixture.tsx +2 -0
  1306. package/src/ui-kit/SlideCheckbox/SlideCheckbox.fixture.tsx +2 -0
  1307. package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
  1308. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -1
  1309. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +2 -1
  1310. package/src/ui-kit/Tags/Tags.fixture.tsx +2 -0
  1311. package/src/utils/identity.ts +1 -0
  1312. package/src/utils/isEmpty.ts +6 -0
  1313. package/src/utils/joinList.ts +4 -4
  1314. package/src/utils/toLocalNumberFormat.ts +7 -0
  1315. package/tailwind.config.cjs +10 -5
  1316. package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  1317. package/bundle/components/Filtration/Filtration.d.ts +0 -6
  1318. package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  1319. package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  1320. package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
  1321. package/bundle/components/LinkList/LinkList.d.ts +0 -5
  1322. package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  1323. package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  1324. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1325. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1326. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1327. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1328. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1329. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1330. package/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1331. package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  1332. package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  1333. package/dist/components/Filtration/Filtration.d.ts +0 -6
  1334. package/dist/components/Filtration/Filtration.js +0 -18
  1335. package/dist/components/Filtration/Filtration.js.map +0 -1
  1336. package/dist/components/Filtration/FiltrationContent.js.map +0 -1
  1337. package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  1338. package/dist/components/Filtration/FiltrationInner.js.map +0 -1
  1339. package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  1340. package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1341. package/dist/components/Filtration/renderFormItem.d.ts +0 -4
  1342. package/dist/components/Filtration/renderFormItem.js.map +0 -1
  1343. package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
  1344. package/dist/components/Footer/TextInformation.mobile.js +0 -9
  1345. package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
  1346. package/dist/components/LinkList/LinkList.d.ts +0 -5
  1347. package/dist/components/LinkList/LinkList.js +0 -13
  1348. package/dist/components/LinkList/LinkList.js.map +0 -1
  1349. package/dist/components/LinkList/LinkListContent.d.ts +0 -9
  1350. package/dist/components/LinkList/LinkListContent.js.map +0 -1
  1351. package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  1352. package/dist/components/LinkList/linkListContentExample.js +0 -23
  1353. package/dist/components/LinkList/linkListContentExample.js.map +0 -1
  1354. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1355. package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
  1356. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  1357. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1358. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
  1359. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  1360. package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1361. package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
  1362. package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
  1363. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1364. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1365. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1366. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
  1367. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  1368. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1369. package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  1370. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1371. package/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1372. package/dist/utils/addSpacesBetweenNumbers.js +0 -5
  1373. package/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
  1374. package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  1375. package/lib/components/BaseTile/BaseTileProps.js +0 -2
  1376. package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  1377. package/lib/components/Filtration/Filtration.d.ts +0 -6
  1378. package/lib/components/Filtration/Filtration.js +0 -16
  1379. package/lib/components/Filtration/Filtration.js.map +0 -1
  1380. package/lib/components/Filtration/FiltrationContent.js +0 -2
  1381. package/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1382. package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1383. package/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1384. package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1385. package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1386. package/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1387. package/lib/components/Filtration/renderFormItem.js +0 -19
  1388. package/lib/components/Filtration/renderFormItem.js.map +0 -1
  1389. package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
  1390. package/lib/components/Footer/TextInformation.mobile.js +0 -7
  1391. package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
  1392. package/lib/components/LinkList/LinkList.d.ts +0 -5
  1393. package/lib/components/LinkList/LinkList.js +0 -11
  1394. package/lib/components/LinkList/LinkList.js.map +0 -1
  1395. package/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1396. package/lib/components/LinkList/LinkListContent.js +0 -2
  1397. package/lib/components/LinkList/LinkListContent.js.map +0 -1
  1398. package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1399. package/lib/components/LinkList/linkListContentExample.js +0 -21
  1400. package/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1401. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1402. package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
  1403. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  1404. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1405. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
  1406. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  1407. package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1408. package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
  1409. package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
  1410. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1411. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1412. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1413. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1414. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
  1415. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  1416. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1417. package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1418. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1419. package/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1420. package/lib/utils/addSpacesBetweenNumbers.js +0 -2
  1421. package/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
  1422. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  1423. package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
  1424. package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  1425. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  1426. package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
  1427. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  1428. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  1429. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1430. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1431. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1432. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  1433. package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  1434. package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
  1435. package/mobile/dist/components/Filtration/Filtration.js +0 -18
  1436. package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
  1437. package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -88
  1438. package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
  1439. package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
  1440. package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  1441. package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
  1442. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  1443. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1444. package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
  1445. package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
  1446. package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
  1447. package/mobile/dist/components/LinkList/LinkList.js +0 -13
  1448. package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
  1449. package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
  1450. package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
  1451. package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
  1452. package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  1453. package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
  1454. package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
  1455. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1456. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1457. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1458. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1459. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  1460. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1461. package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1462. package/mobile/dist/utils/addSpacesBetweenNumbers.js +0 -5
  1463. package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
  1464. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  1465. package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
  1466. package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  1467. package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
  1468. package/mobile/lib/components/Filtration/Filtration.js +0 -16
  1469. package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
  1470. package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -88
  1471. package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
  1472. package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1473. package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1474. package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1475. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1476. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1477. package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1478. package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
  1479. package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
  1480. package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
  1481. package/mobile/lib/components/LinkList/LinkList.js +0 -11
  1482. package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
  1483. package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1484. package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
  1485. package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
  1486. package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1487. package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
  1488. package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1489. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1490. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1491. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1492. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1493. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1494. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1495. package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1496. package/mobile/lib/utils/addSpacesBetweenNumbers.js +0 -2
  1497. package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
  1498. package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
  1499. package/mobile/src/components/Filtration/Filtration.tsx +0 -38
  1500. package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1501. package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
  1502. package/mobile/src/components/LinkList/LinkList.example.json +0 -23
  1503. package/mobile/src/components/LinkList/LinkList.tsx +0 -29
  1504. package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
  1505. package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
  1506. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1507. package/mobile/src/utils/addSpacesBetweenNumbers.ts +0 -2
  1508. package/src/components/BaseTile/BaseTileProps.ts +0 -15
  1509. package/src/components/Filtration/Filtration.tsx +0 -38
  1510. package/src/components/Filtration/Filtration.ui.json +0 -1
  1511. package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1512. package/src/components/Filtration/renderFormItem.tsx +0 -36
  1513. package/src/components/Footer/TextInformation.mobile.tsx +0 -22
  1514. package/src/components/Gallery/Gallery.ui.json +0 -1
  1515. package/src/components/LinkList/LinkList.example.json +0 -23
  1516. package/src/components/LinkList/LinkList.fixture.tsx +0 -11
  1517. package/src/components/LinkList/LinkList.tsx +0 -29
  1518. package/src/components/LinkList/LinkList.ui.json +0 -1
  1519. package/src/components/LinkList/LinkListContent.ts +0 -10
  1520. package/src/components/LinkList/linkListContentExample.ts +0 -22
  1521. package/src/components/MiniGallery/MiniGallery.ui.json +0 -1
  1522. package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
  1523. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
  1524. package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
  1525. package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
  1526. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
  1527. package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1528. package/src/utils/addSpacesBetweenNumbers.ts +0 -2
  1529. /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1530. /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1531. /package/lib/components/{LinkList/LinkList.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
  1532. /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1533. /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1534. /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1535. /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1536. /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1537. /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1538. /package/mobile/src/components/{Gallery/Gallery.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
  1539. /package/{mobile/src/components/LinkList/LinkList.ui.json → src/components/DepositFiltration/DepositFiltration.ui.json} +0 -0
  1540. /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1541. /package/{mobile/src/components/MiniGallery/MiniGallery.ui.json → src/components/MortgageFiltration/MortgageFiltration.ui.json} +0 -0
@@ -0,0 +1,32 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.checkShouldRenderBlock = void 0;
3
+ const isEmpty_1 = require("../../utils/isEmpty");
4
+ const isSingularFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) || (0, isEmpty_1.isEmpty)(target[key]) || pattern[key] === target[key];
5
+ const isMultipleFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
6
+ (0, isEmpty_1.isEmpty)(target[key]) ||
7
+ pattern[key]?.some((_) => target[key]?.includes(_));
8
+ const isNumberFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
9
+ (0, isEmpty_1.isEmpty)(target[key]) ||
10
+ naturalNumber(pattern[key]) <= naturalNumber(target[key]);
11
+ const isValueInRange = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
12
+ (0, isEmpty_1.isEmpty)(target[key]) ||
13
+ (naturalNumber(pattern[key]?.min) >= naturalNumber(target[key]?.min) &&
14
+ naturalNumber(pattern[key]?.min) <= naturalNumber(target[key]?.max));
15
+ const checkShouldRenderBlock = (pattern, target) => Object.entries(pattern)
16
+ .map(([key, subPattern]) => {
17
+ if (typeof subPattern === 'number') {
18
+ return isNumberFieldMatch(key, pattern);
19
+ }
20
+ if (typeof subPattern === 'object') {
21
+ if ('min' in subPattern && 'max' in subPattern) {
22
+ return isValueInRange(key, pattern);
23
+ }
24
+ }
25
+ return Array.isArray(subPattern)
26
+ ? isMultipleFieldMatch(key, pattern)
27
+ : isSingularFieldMatch(key, pattern);
28
+ })
29
+ .every((predicate) => predicate(target));
30
+ exports.checkShouldRenderBlock = checkShouldRenderBlock;
31
+ const naturalNumber = (n) => Number(n || 0);
32
+ //# sourceMappingURL=checkShouldRenderBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkShouldRenderBlock.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,oBAAoB,GACxB,CAAsD,GAAW,EAAE,OAAU,EAAE,EAAE,CACjF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC;AAElF,MAAM,oBAAoB,GACxB,CAAwD,GAAW,EAAE,OAAU,EAAE,EAAE,CACnF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO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AAO,kBAAkB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACzC;IAED,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAClC,IAAI,KAAK,IAAI,UAAU,IAAI,KAAK,IAAI,UAAU,EAAE;YAC9C,OAAO,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;SACrC;KACF;IAED,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;QAC9B,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC;QACpC,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACzC,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAjBhC,QAAA,sBAAsB,0BAiBU;AAE7C,MAAM,aAAa,GAAG,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { VNode } from '../../model/VNode';
4
+ import type { BaseFiltrationInnerContent, NumberRange, NumberValue, StringArray, StringEnum } from './BaseFiltrationContent';
5
+ declare type SchemaItem = StringArray | StringEnum | NumberRange | NumberValue;
6
+ declare type FiltrationSchema = Record<string, SchemaItem>;
7
+ interface RenderFiltrationFormProps {
8
+ field: FormFieldRegisterer<any>;
9
+ reset: () => void;
10
+ filtrationSchema: FiltrationSchema;
11
+ resetButton?: BaseFiltrationInnerContent['resetButton'];
12
+ children?: VNode;
13
+ }
14
+ export declare const renderFiltrationForm: ({ field, reset, filtrationSchema, resetButton, children, }: RenderFiltrationFormProps) => JSX.Element;
15
+ export {};
@@ -1,10 +1,12 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderFormItem = void 0;
2
+ exports.renderFiltrationForm = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const SlideCheckboxGroup_1 = require("../../ui-kit/SlideCheckboxGroup/SlideCheckboxGroup");
5
- const Text_1 = require("../../ui-kit/Text/Text");
6
- const renderFormItem = (filtrationSchema, field) => (key) => {
7
- const item = filtrationSchema[key];
4
+ const Button_1 = require("../Button/Button");
5
+ const SlideCheckboxGroup_1 = require("../SlideCheckboxGroup/SlideCheckboxGroup");
6
+ const Text_1 = require("../Text/Text");
7
+ const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => ((0, jsx_runtime_1.jsxs)("form", { className: "flex justify-between bg-white p-9 mb-1", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-11", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-72 ml-3", onClick: reset, ...resetButton }) })) : null] }));
8
+ exports.renderFiltrationForm = renderFiltrationForm;
9
+ const renderFormItem = (field) => ([key, item]) => {
8
10
  const type = item?.type;
9
11
  switch (type) {
10
12
  case 'array':
@@ -13,10 +15,9 @@ const renderFormItem = (filtrationSchema, field) => (key) => {
13
15
  return null;
14
16
  }
15
17
  };
16
- exports.renderFormItem = renderFormItem;
17
18
  const renderCheckboxes = (key, field) => (item) => {
18
19
  const options = item?.items?.enum?.map((e, i) => ({ value: e, title: item?.items?.enumNames?.[i] || '' })) ||
19
20
  [];
20
21
  return ((0, jsx_runtime_1.jsxs)("div", { children: [item?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-4", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.title }) })) : null, (0, jsx_runtime_1.jsx)(SlideCheckboxGroup_1.SlideCheckboxGroup, { items: options, multiple: true, ...field(key) })] }, key));
21
22
  };
22
- //# sourceMappingURL=renderFormItem.js.map
23
+ //# sourceMappingURL=renderFiltrationForm.js.map
@@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K,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC1F,EAAE,CAAC;IAEL,OAAO,CACL,4CACG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,IAAI,CAAC,KAAK,GACN,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,uCAAkB,IAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,WAAK,KAAK,CAA+B,GAAG,CAAC,GAAI,KARrF,GAAG,CASP,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -2,12 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.BenefitItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const style_1 = require("../../utils/style");
5
6
  const Img_1 = require("../Img/Img");
6
- exports.BenefitItem = (0, uni_jsx_1.JSX)((props) => {
7
- const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
8
- const listItemAlign = description ? 'items-start' : 'items-center';
9
- return ((0, jsx_runtime_1.jsxs)("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? ((0, jsx_runtime_1.jsx)("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: "gap-0.5", children: [label ? ((0, jsx_runtime_1.jsx)("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
10
- });
7
+ const Paragraph_1 = require("../Paragraph/Paragraph");
8
+ const Text_1 = require("../Text/Text");
9
+ exports.BenefitItem = (0, uni_jsx_1.JSX)(({ className, icon, label, description, version = 'primary', benefitsVersion = 'normal' }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex gap-5', description ? 'items-start' : 'items-center', className), children: [icon ? ((0, jsx_runtime_1.jsx)("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, (0, jsx_runtime_1.jsxs)("div", { children: [label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", color: "text-primary-text group-data-secondary:text-white", children: label })) : null, description ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m-light", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
11
10
  function getBenefitIconBgStyle(version, benefitsVersion) {
12
11
  let bgColorStyle = 'bg-primary-main text-black';
13
12
  if (version === 'secondary') {
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,oCAAiC;AAKpB,QAAA,WAAW,GAAG,IAAA,aAAG,EAAsB,CAAC,KAAK,EAAE,EAAE;IAC5D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,QAAQ,GAC3B,GAAG,KAAK,CAAC;IACV,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;IAEnE,OAAO,CACL,iCAAK,SAAS,EAAE,cAAc,aAAa,IAAI,SAAS,EAAE,aACvD,IAAI,CAAC,CAAC,CAAC,CACN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C,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE,SAAS,CAAC,aACzF,IAAI,CAAC,CAAC,CAAC,CACN,gCAAK,SAAS,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,YAC7D,uBAAC,SAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,eAAe,EAAE,GACpE,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,4CACG,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,mDAAmD,YAC3E,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,qBAAS,IACR,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,qDAAqD,YAE1D,WAAW,GACF,CACb,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC;AAEF,SAAS,qBAAqB,CAAC,OAAqB,EAAE,eAA4B;IAChF,IAAI,YAAY,GAAG,4BAA4B,CAAC;IAEhD,IAAI,OAAO,KAAK,WAAW,EAAE;QAC3B,YAAY,GAAG,wBAAwB,CAAC;KACzC;SAAM,IAAI,eAAe,KAAK,QAAQ,EAAE;QACvC,YAAY,GAAG,sCAAsC,CAAC;KACvD;IAED,OAAO,qFAAqF,YAAY,EAAE,CAAC;AAC7G,CAAC"}
@@ -13,7 +13,7 @@ exports.blockStyles = {
13
13
  transparent: 'bg-transparent text-primary-text',
14
14
  '': '',
15
15
  };
16
- exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ className = '', version = 'primary', isTheme = true, block, tag = 'section', role, children, }) => {
16
+ exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ className, version = 'primary', isTheme = true, block, tag = 'section', role, children }) => {
17
17
  const Tag = tag;
18
18
  const ref = (0, useBlockIntersectionObserver_1.useBlockIntersectionObserver)(block);
19
19
  const [isHidden, setHidden] = (0, hooks_1.useState)(false);
@@ -1 +1 @@
1
- {"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,iEAA8D;AAG9D,uGAAoG;AACpG,0CAAuC;AAO1B,QAAA,WAAW,GAAiC;IACvD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kCAAkC;IAC/C,EAAE,EAAE,EAAE;CACP,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,IAAI,EACd,KAAK,EACL,GAAG,GAAG,SAAS,EACf,IAAI,EACJ,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,GAAG,GAAG,IAAA,2DAA4B,EAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,iCAAe,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACzC,SAAS,CACP,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CACrF,CAAC;IACJ,CAAC,CAAC,EACJ,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,OAAO,CACL,uBAAC,GAAG,IACF,SAAS,EAAE,IAAA,aAAK,EACd,UAAU,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC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gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,iCAAe,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACzC,SAAS,CACP,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CACrF,CAAC;IACJ,CAAC,CAAC,EACJ,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,OAAO,CACL,uBAAC,GAAG,IACF,SAAS,EAAE,IAAA,aAAK,EACd,UAAU,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,EACvC,mBAAW,CAAC,OAAO,CAAC,EACpB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EACxB,SAAS,CACV,KACG,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACnD,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAU,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const style_1 = require("../../utils/style");
5
5
  const Img_1 = require("../Img/Img");
6
6
  const Button_1 = require("./Button");
7
- const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
7
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', isVertical ? 'flex-col gap-2' : 'flex-wrap gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
8
8
  exports.renderButtonsSection = renderButtonsSection;
9
9
  const renderButton = (buttonClassName = '') => (button, index) => {
10
10
  const { text, icon, iconRight, version, ...rest } = button || {};
@@ -1 +1 @@
1
- {"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EAC3E,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,YAC9E,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AARE,QAAA,oBAAoB,wBAQtB;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAA4B,EAAE,KA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,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,CAAC,EAC5D,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,uBAAC,SAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export interface ControlProps<T> {
2
2
  value?: T;
3
- onChange?: (value: T | undefined) => void;
3
+ onChange?: (value: T) => void;
4
4
  }
@@ -1,2 +1,2 @@
1
- import type { CurrencyInputProps } from './CurrencyInputProps';
2
- export declare const CurrencyInput: import("@redneckz/uni-jsx").UNIComponent<CurrencyInputProps, any, any>;
1
+ import { NumberInputProps } from '../NumberInput/NumberInput';
2
+ export declare const CurrencyInput: import("@redneckz/uni-jsx").UNIComponent<NumberInputProps, any, any>;
@@ -2,20 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.CurrencyInput = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
- const clamp_1 = require("../../utils/clamp");
7
- const Input_1 = require("../Input/Input");
8
- const adjustValue_1 = require("./adjustValue");
9
- exports.CurrencyInput = (0, uni_jsx_1.JSX)(({ className = '', value = '', onChange, minValue = 0, maxValue = 300000, ...inputProps }) => {
10
- const handleChange = (0, hooks_1.useCallback)((inputValue) => {
11
- const adjustedVal = (0, adjustValue_1.adjustValue)(inputValue);
12
- const clampVal = getClampValue(adjustedVal, (0, clamp_1.clamp)(Number(adjustedVal), minValue, maxValue));
13
- onChange && onChange(clampVal);
14
- }, [onChange]);
15
- const handleBlur = (0, hooks_1.useCallback)(() => {
16
- onChange && onChange((0, adjustValue_1.localNumberFormat)(value));
17
- }, [onChange, value]);
18
- return ((0, jsx_runtime_1.jsx)(Input_1.Input, { className: className, inputClassName: "w-full", value: value, onChange: handleChange, onBlur: handleBlur, ...inputProps, children: (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light absolute right-4 bottom-4", children: "\u20BD" }) }));
19
- });
20
- const getClampValue = (val, clampVal) => Number(val) === clampVal ? val : String(clampVal);
5
+ const NumberInput_1 = require("../NumberInput/NumberInput");
6
+ const Text_1 = require("../Text/Text");
7
+ exports.CurrencyInput = (0, uni_jsx_1.JSX)((props) => ((0, jsx_runtime_1.jsx)(NumberInput_1.NumberInput, { ...props, fractionDigits: 2, children: (0, jsx_runtime_1.jsx)("div", { className: "absolute right-4 bottom-4", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", font: "font-light", children: "\u20BD" }) }) })));
21
8
  //# sourceMappingURL=CurrencyInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyInput.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/CurrencyInput.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,6CAA0C;AAC1C,0CAAuC;AACvC,+CAA+D;AAGlD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,MAA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AE,EAAE,CAAC,CAC5D,uBAAC,yBAAW,OAAK,KAAK,EAAE,cAAc,EAAE,CAAC,YACvC,gCAAK,SAAS,EAAC,2BAA2B,YACxC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,YAAY,uBAE/B,GACH,GACM,CACf,CAAC,CAAC"}
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const style_1 = require("../../utils/style");
6
6
  const Img_1 = require("../Img/Img");
7
7
  exports.DefaultFoldButton = (0, uni_jsx_1.JSX)(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
8
- return ((0, jsx_runtime_1.jsxs)("button", { className: (0, style_1.style)('flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text', disabled
8
+ return ((0, jsx_runtime_1.jsxs)("button", { className: (0, style_1.style)('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
9
9
  ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
10
10
  : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-h4 pr-3", children: label }), icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: {
11
11
  icon,
@@ -1,6 +1,7 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
2
  import type { IconVersion } from '../../model/IconVersion';
3
3
  export type { IconName };
4
+ export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
4
5
  export interface IconCompatibilityFields {
5
6
  /** @title Альтернативный текст (alt) */
6
7
  alt?: string;
@@ -17,3 +18,6 @@ export declare type IconProps = IconCompatibilityFields & {
17
18
  name?: IconName;
18
19
  iconVersion?: IconVersion;
19
20
  };
21
+ export interface RoundedIconProps extends IconProps {
22
+ iconBgVersion?: IconBgVersion;
23
+ }
@@ -0,0 +1,2 @@
1
+ import type { RoundedIconProps } from './IconProps';
2
+ export declare const RoundedIcon: import("@redneckz/uni-jsx").UNIComponent<RoundedIconProps, any, any>;
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.RoundedIcon = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const Icon_1 = require("./Icon");
6
+ const style_1 = require("../../utils/style");
7
+ const iconBgStyles = {
8
+ primary: 'bg-main-divider',
9
+ secondary: 'bg-white/30',
10
+ 'secondary-light': 'bg-secondary-light',
11
+ };
12
+ exports.RoundedIcon = (0, uni_jsx_1.JSX)(({ iconBgVersion = 'primary', ...rest }) => ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('rounded-icon p-2.5 mr-3', iconBgStyles[iconBgVersion]), children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...rest }) })));
13
+ //# sourceMappingURL=RoundedIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoundedIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/RoundedIcon.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iCAA8B;AAE9B,6CAA0C;AAE1C,MAAM,YAAY,GAAkC;IAClD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,aAAa;IACxB,iBAAiB,EAAE,oBAAoB;CACxC,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,aAAa,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3F,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,yBAAyB,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,YAC3E,uBAAC,WAAI,OAAK,IAAI,GAAI,GACd,CACP,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { InputProps } from './InputProps';
2
- export declare const Input: import("@redneckz/uni-jsx").UNIComponent<InputProps, any, any>;
2
+ export declare const Input: import("@redneckz/uni-jsx").UNIComponent<InputProps<string>, any, any>;
@@ -4,7 +4,8 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const style_1 = require("../../utils/style");
7
- exports.Input = (0, uni_jsx_1.JSX)(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', valid = true, children, onChange, ...inputProps }) => {
7
+ const Text_1 = require("../Text/Text");
8
+ exports.Input = (0, uni_jsx_1.JSX)(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, }) => {
8
9
  const handleChange = (0, hooks_1.useCallback)((e) => {
9
10
  onChange && onChange(e.target?.value || '');
10
11
  }, [onChange]);
@@ -12,6 +13,6 @@ exports.Input = (0, uni_jsx_1.JSX)(({ className = '', inputClassName = '', id, n
12
13
  const validStyle = valid
13
14
  ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
14
15
  : 'border-error';
15
- return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative', className), children: [label ? (0, jsx_runtime_1.jsx)("label", { className: "block text-m-light mb-2", children: label }) : null, (0, jsx_runtime_1.jsx)("input", { className: (0, style_1.style)('w-full border rounded-md text-primary-text outline-none p-4', paddingStyle, validStyle, inputClassName), id: id, name: name || id, type: type, value: value, onInput: handleChange, ...inputProps }), children] }));
16
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative', className), children: [(0, jsx_runtime_1.jsxs)("label", { children: [label ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-2", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", children: label }) })) : null, (0, jsx_runtime_1.jsx)("input", { className: (0, style_1.style)('w-full border rounded-md text-primary-text outline-none p-4', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
16
17
  });
17
18
  //# sourceMappingURL=Input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/ui-kit/Input/Input.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,6CAA0C;AAG7B,QAAA,KAAK,GAAG,IAAA,aAAG,EACtB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,cAAc,GAAG,EAAE,EACnB,EAAE,EACF,IAAI,EACJ,IAAI,GAAG,MAAM,EACb,KAAK,EACL,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,IAAI,EACZ,QAAQ,EACR,QAAQ,EACR,GAAG,UAAU,EACd,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,CAAkC,EAAE,EAAE;QACrC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IAC9C,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5C,MAAM,UAAU,GAAG,KAAK;QACtB,CAAC,CAAC,6FAA6F;QAC/F,CAAC,CAAC,cAAc,CAAC;IAEnB,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,SAAS,CAAC,aACzC,KAAK,CAAC,CAAC,CAAC,kCAAO,SAAS,EAAC,yBAAyB,YAAE,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EAC1E,kCACE,SAAS,EAAE,IAAA,aAAK,EACd,6DAA6D,EAC7D,YAAY,EACZ,UAAU,EACV,cAAc,CACf,EACD,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,IAAI,EAAE,IA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AAK,EACd,6DAA6D,EAC7D,YAAY,EACZ,UAAU,EACV,cAAc,CACf,EACD,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAAmB,EAC5B,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,IAfX,GAAG,CAgBR,IACI,EACP,QAAQ,IACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { LabelProps } from '../../model/HeadlineType';
2
2
  import type { InputTypes } from '../../model/InputTypes';
3
- export declare type InputProps = LabelProps & {
3
+ import type { ControlProps } from '../ControlProps';
4
+ export interface InputProps<V = string> extends ControlProps<V>, LabelProps {
4
5
  className?: string;
5
6
  inputClassName?: string;
6
7
  id?: string;
@@ -8,10 +9,8 @@ export declare type InputProps = LabelProps & {
8
9
  type?: InputTypes;
9
10
  placeholder?: string;
10
11
  pattern?: string;
11
- value?: string;
12
- onChange?: (value: string) => void;
13
- onInput?: (event: any) => void;
14
12
  onFocus?: (event: any) => void;
15
13
  onBlur?: () => void;
16
14
  valid?: boolean;
17
- };
15
+ disabled?: boolean;
16
+ }
@@ -3,28 +3,26 @@ exports.InputRange = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
- const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
6
+ const useNormalizedInput_1 = require("../../hooks/useNormalizedInput");
7
7
  const clamp_1 = require("../../utils/clamp");
8
8
  const style_1 = require("../../utils/style");
9
+ const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
9
10
  const Text_1 = require("../Text/Text");
10
11
  const parseDecimal_1 = require("./parseDecimal");
11
12
  const renderRangeWithTicks_1 = require("./renderRangeWithTicks");
12
13
  const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
13
14
  const DEFAULT_MIN = 1;
14
15
  const DEFAULT_MAX = 100;
15
- exports.InputRange = (0, uni_jsx_1.JSX)(({ className, title, items = [], list = [], min = list.length ? 0 : DEFAULT_MIN, max = list.length ? list.length - 1 : DEFAULT_MAX, step = 1, value = list[0] || min, disabled = false, onChange, }) => {
16
- const [isFocused, setFocused] = (0, hooks_1.useState)(false);
16
+ exports.InputRange = (0, uni_jsx_1.JSX)((props) => {
17
+ const { className, title, items = [], list = [], min = list.length ? 0 : DEFAULT_MIN, max = list.length ? list.length - 1 : DEFAULT_MAX, step = 1, value = list[0] || min, disabled = false, onChange, } = props;
18
+ const normalizedProps = (0, useNormalizedInput_1.useNormalizedInput)(props, {
19
+ normalize: (_ = 0) => list.length ? closestValue(list)(_) : (0, clamp_1.clamp)(_, min, max),
20
+ format: (0, toLocalNumberFormat_1.toLocalNumberFormat)(),
21
+ });
17
22
  const handleChange = (0, hooks_1.useCallback)((e) => {
18
23
  onChange && onChange((0, parseDecimal_1.parseDecimal)(e.target?.value));
19
24
  }, [onChange]);
20
- const handleFocus = (0, hooks_1.useCallback)(() => {
21
- setFocused(true);
22
- }, []);
23
- const handleBlur = (0, hooks_1.useCallback)(() => {
24
- setFocused(false);
25
- onChange && onChange(list.length ? closestValue(list)(value) : (0, clamp_1.clamp)(value || 0, min, max));
26
- }, [onChange, value]);
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, (0, jsx_runtime_1.jsx)("input", { className: (0, style_1.style)('m-0 mt-2 font-sans text-h3 w-full h-14', 'border border-solid border-gray rounded-md outline-none', 'p-0 pl-4 box-border', 'text-primary-text hover:border-primary-hover focus:border-primary-text', DISABLED_INPUT_CLASSES), value: isFocused ? value : (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(value), disabled: disabled, onInput: handleChange, onFocus: handleFocus, onBlur: handleBlur }), (0, renderRangeWithTicks_1.renderRangeWithTicks)({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
25
+ return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, (0, jsx_runtime_1.jsx)("input", { className: (0, style_1.style)('m-0 mt-2 font-sans text-h3 w-full h-14', 'border border-solid border-gray rounded-md outline-none', 'p-0 pl-4 box-border', 'text-primary-text hover:border-primary-hover focus:border-primary-text', DISABLED_INPUT_CLASSES), disabled: disabled, onInput: handleChange, ...normalizedProps }), (0, renderRangeWithTicks_1.renderRangeWithTicks)({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
28
26
  });
29
27
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
30
28
  const renderRangeCaption = (items) => ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-between my-2", children: items.map((item, i) => ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-s-light", color: "text-secondary-text", children: item }, String(i)))) }));
@@ -1 +1 @@
1
- {"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iFAA8E;AAC9E,6CAA0C;AAC1C,6CAA0C;AAC1C,uCAAoC;AAEpC,iDAA8C;AAC9C,iEAA8D;AAE9D,MAAM,sBAAsB,GAAG,+CAA+C,CAAC;AAE/E,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,MAAM,WAAW,GAAG,GAAG,CAAC;AAEX,QAA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,CAAC;AAEvF,MAAM,kBAAkB,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CAC9C,gCAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,WAAI,IAAiB,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,qBAAqB,YAClE,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,CACP,CAAC"}
@@ -1,13 +1,11 @@
1
+ import type { InputProps } from '../Input/InputProps';
1
2
  import type { ListContent } from '../List/ListContent';
2
- export interface InputRangeProps extends ListContent {
3
- className?: string;
3
+ export interface InputRangeProps extends ListContent, InputProps<number> {
4
4
  items?: string[];
5
5
  min?: number;
6
6
  max?: number;
7
7
  list?: number[];
8
8
  step?: number;
9
- value?: number;
10
9
  title?: string;
11
10
  disabled?: boolean;
12
- onChange?: (value: number) => void;
13
11
  }
@@ -0,0 +1,2 @@
1
+ import { LinkListProps } from './LinkListProps';
2
+ export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.LinkList = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const style_1 = require("../../utils/style");
6
+ const linkListStyles_1 = require("./linkListStyles");
7
+ exports.LinkList = (0, uni_jsx_1.JSX)(({ className = '', items }) => items?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: (0, style_1.style)('flex flex-col p-0', linkListStyles_1.linkListStyles, className), children: items.map(renderLinkListItem) })) : null);
8
+ const renderLinkListItem = (item, i) => {
9
+ const { text, ...linkProps } = item;
10
+ return ((0, jsx_runtime_1.jsx)("li", { className: "list-none mb-4 sm:mb-6 sm:last:mb-0", children: (0, jsx_runtime_1.jsx)("a", { className: "hover:text-primary-main sm:font-light", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
11
+ };
12
+ //# sourceMappingURL=LinkList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/LinkList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAE1C,qDAAkD;AAErC,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CACvE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,+BAAI,SAAS,EAAE,IAAA,aAAK,EAAC,mBAAmB,EAAE,+BAAc,EAAE,SAAS,CAAC,YACjE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAC3B,CACN,CAAC,CAAC,CAAC,IAAI,CACT,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,IAAe,EAAE,CAAS,EAAE,EAAE;IACxD,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,IAAI,CAAC;IAEpC,OAAO,CACL,+BAAmC,SAAS,EAAC,qCAAqC,YAChF,8BAAG,SAAS,EAAC,uCAAuC,EAAC,IAAI,EAAC,MAAM,KAAK,SAAS,YAC3E,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GACjB,IAHG,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAI5B,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ export interface LinkListProps {
3
+ items?: LinkProps[];
4
+ className?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=BaseTileProps.js.map
2
+ //# sourceMappingURL=LinkListProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkListProps.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/LinkListProps.tsx"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare const linkListStyles = "text-s text-secondary-text";
@@ -0,0 +1,4 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.linkListStyles = void 0;
3
+ exports.linkListStyles = 'text-s text-secondary-text';
4
+ //# sourceMappingURL=linkListStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkListStyles.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/linkListStyles.ts"],"names":[],"mappings":";;AAAa,QAAA,cAAc,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const linkListStyles = "";
@@ -0,0 +1,4 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.linkListStyles = void 0;
3
+ exports.linkListStyles = '';
4
+ //# sourceMappingURL=linkListStyles.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkListStyles.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/linkListStyles.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,cAAc,GAAG,EAAE,CAAC"}
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.List = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const style_1 = require("../../utils/style");
5
6
  const ListItem_1 = require("./ListItem");
6
7
  const TEXT_SIZE_MAP = {
7
8
  S: 'text-l-light',
@@ -13,5 +14,5 @@ const ITEM_INDENT_MAP = {
13
14
  M: 'ml-3',
14
15
  L: 'ml-4',
15
16
  };
16
- exports.List = (0, uni_jsx_1.JSX)(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? ((0, jsx_runtime_1.jsx)("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => ((0, jsx_runtime_1.jsx)(ListItem_1.ListItem, { className: itemClassName, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
17
+ exports.List = (0, uni_jsx_1.JSX)(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? ((0, jsx_runtime_1.jsx)("section", { className: (0, style_1.style)('flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => ((0, jsx_runtime_1.jsx)(ListItem_1.ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
17
18
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yCAAsC;AAGtC,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CACzF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,oCACE,SAAS,EAAE,yFACT,aAAa,CAAC,YAAY,CAC5B,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EACj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C,CAAC,CAAC,IAAI,CACX,CAAC"}
@@ -2,10 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ListItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const style_1 = require("../../utils/style");
5
6
  const DOT_SIZE_MAP = {
6
- L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
7
- M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
8
- S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
7
+ L: 'w-1.5 h-1.5 mr-4',
8
+ M: 'w-1.5 h-1.5 mr-3',
9
+ S: 'w-1 h-1 mr-2',
9
10
  };
10
- exports.ListItem = (0, uni_jsx_1.JSX)(({ className = '', isDotted = true, children, size = 'M' }) => ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, (0, jsx_runtime_1.jsx)("span", { children: children })] })));
11
+ exports.ListItem = (0, uni_jsx_1.JSX)(({ className, isDotted = true, children, size = 'M' }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('font-sans flex', className), role: "listitem", children: [isDotted ? ((0, jsx_runtime_1.jsx)("div", { className: "shrink-0", children: (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, (0, jsx_runtime_1.jsx)("span", { children: children })] })));
11
12
  //# sourceMappingURL=ListItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AA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CAAC"}
@@ -13,7 +13,5 @@ export declare type ListProps = ListContent & BulletsProps & {
13
13
  className?: string;
14
14
  /** @title Отступ */
15
15
  hasIndent?: boolean;
16
- /** @hidden */
17
- itemClassName?: string;
18
16
  listItemSize?: ListItemSize;
19
17
  };
@@ -0,0 +1,8 @@
1
+ import type { InputProps } from '../Input/InputProps';
2
+ export interface NumberInputProps extends InputProps<string> {
3
+ min?: number;
4
+ max?: number;
5
+ defaultValue?: string;
6
+ fractionDigits?: number;
7
+ }
8
+ export declare const NumberInput: import("@redneckz/uni-jsx").UNIComponent<NumberInputProps, any, any>;
@@ -0,0 +1,22 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.NumberInput = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const useNormalizedInput_1 = require("../../hooks/useNormalizedInput");
7
+ const clamp_1 = require("../../utils/clamp");
8
+ const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
9
+ const Input_1 = require("../Input/Input");
10
+ exports.NumberInput = (0, uni_jsx_1.JSX)((props) => {
11
+ const { onChange, min, max, defaultValue = '0', fractionDigits = 0, ...inputProps } = props;
12
+ const normalizedProps = (0, useNormalizedInput_1.useNormalizedInput)(props, {
13
+ normalize: (_ = defaultValue) => min && max ? String((0, clamp_1.clamp)(Number(sanitizeNumberStr(_)), min, max)) : sanitizeNumberStr(_),
14
+ format: (0, toLocalNumberFormat_1.toLocalNumberFormat)(fractionDigits),
15
+ });
16
+ const handleChange = (0, hooks_1.useCallback)((_) => onChange && onChange(sanitizeNumberStr(_)), [onChange]);
17
+ return (0, jsx_runtime_1.jsx)(Input_1.Input, { onChange: handleChange, ...inputProps, ...normalizedProps });
18
+ });
19
+ const sanitizeNumberStr = (_ = '') => _.replaceAll(',', '.')
20
+ .replace(/[^\d.]/g, '')
21
+ .repl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CAAC;KACnB,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;KACtB,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { InputProps } from '../Input/InputProps';
2
- export declare const PhoneInput: import("@redneckz/uni-jsx").UNIComponent<InputProps, any, any>;
2
+ export declare const PhoneInput: import("@redneckz/uni-jsx").UNIComponent<InputProps<string>, any, any>;