@redneckz/wildless-cms-uni-blocks 0.12.12 → 0.12.14

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 (1311) hide show
  1. package/bin/migration-scripts/0.12.10.js +59 -0
  2. package/bin/migration-scripts/0.12.12.js +30 -0
  3. package/bundle/EventBus/defaultEventBus.d.ts +4 -2
  4. package/bundle/EventBus/useLatestEvent.d.ts +2 -0
  5. package/bundle/blocks.schema.json +1 -1
  6. package/bundle/bundle.umd.js +287 -256
  7. package/bundle/bundle.umd.min.js +1 -1
  8. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  9. package/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  10. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  11. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  12. package/bundle/components/Bonus/BonusContent.d.ts +2 -7
  13. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  14. package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  15. package/bundle/components/Calculator/CalculatorContent.d.ts +2 -2
  16. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
  17. package/bundle/components/Carousel/Carousel.d.ts +1 -1
  18. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  19. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  20. package/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  21. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  22. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  23. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  24. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  25. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  26. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  27. package/bundle/components/ContentPage/computeAPIFallback.d.ts +2 -2
  28. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  29. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  30. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  31. package/bundle/components/Footer/Contacts.d.ts +0 -1
  32. package/bundle/components/Footer/FooterProps.d.ts +0 -2
  33. package/bundle/components/Footer/MediaButton.d.ts +1 -1
  34. package/bundle/components/Footer/SocialMedia.d.ts +2 -2
  35. package/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  36. package/bundle/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  37. package/bundle/components/Header/HeaderProps.d.ts +0 -4
  38. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  39. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  40. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  41. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  42. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  43. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  44. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -2
  45. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  46. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  47. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  48. package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
  49. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  50. package/bundle/hooks/useList.d.ts +10 -0
  51. package/bundle/hooks/useLocation.d.ts +1 -1
  52. package/bundle/hooks/useSWRResource.d.ts +1 -1
  53. package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  54. package/bundle/services/sitemap/useSitemap.d.ts +3 -0
  55. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  56. package/bundle/ui-kit/Button/Button.d.ts +2 -2
  57. package/bundle/ui-kit/Button/ButtonContent.d.ts +19 -0
  58. package/bundle/ui-kit/Button/ButtonInner.d.ts +2 -7
  59. package/bundle/ui-kit/Button/ButtonProps.d.ts +4 -44
  60. package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  61. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  62. package/{dist/ui-kit/Dialog → bundle/ui-kit/DialogManager}/CloseButton.d.ts +1 -1
  63. package/{dist/ui-kit/Dialog → bundle/ui-kit/DialogManager}/Dialog.d.ts +0 -1
  64. package/bundle/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  65. package/bundle/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  66. package/bundle/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  67. package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  68. package/bundle/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  69. package/bundle/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  70. package/bundle/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  71. package/bundle/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  72. package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  73. package/bundle/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  74. package/dist/EventBus/defaultEventBus.d.ts +4 -2
  75. package/dist/EventBus/defaultEventBus.js.map +1 -1
  76. package/dist/EventBus/useLatestEvent.d.ts +2 -0
  77. package/dist/EventBus/useLatestEvent.js +11 -0
  78. package/dist/EventBus/useLatestEvent.js.map +1 -0
  79. package/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  80. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  81. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  82. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  83. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  84. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  85. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  86. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  87. package/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  88. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  89. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  90. package/dist/components/Bonus/Bonus.js +10 -13
  91. package/dist/components/Bonus/Bonus.js.map +1 -1
  92. package/dist/components/Bonus/BonusContent.d.ts +2 -7
  93. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  94. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  95. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +7 -7
  96. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  97. package/dist/components/Calculator/CalculatorContent.d.ts +2 -2
  98. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  99. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  100. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  101. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  102. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  103. package/dist/components/Carousel/Carousel.d.ts +1 -1
  104. package/dist/components/Carousel/Carousel.js.map +1 -1
  105. package/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  106. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  107. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  108. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  109. package/dist/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  110. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
  111. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  112. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  113. package/dist/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  114. package/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
  115. package/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  116. package/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  117. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  118. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  119. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  120. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  121. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  122. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  123. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  124. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  125. package/dist/components/ContentPage/ContentPage.js +2 -23
  126. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  127. package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  128. package/dist/components/ContentPage/computeAPIFallback.js +10 -27
  129. package/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  130. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  131. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  132. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  133. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  134. package/dist/components/Footer/Contacts.d.ts +0 -1
  135. package/dist/components/Footer/Contacts.js +3 -4
  136. package/dist/components/Footer/Contacts.js.map +1 -1
  137. package/dist/components/Footer/Footer.js +5 -3
  138. package/dist/components/Footer/Footer.js.map +1 -1
  139. package/dist/components/Footer/Footer.mobile.js +8 -4
  140. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  141. package/dist/components/Footer/FooterProps.d.ts +0 -2
  142. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  143. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  144. package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
  145. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  146. package/dist/components/Footer/MediaButton.d.ts +1 -1
  147. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  148. package/dist/components/Footer/SocialMedia.js +2 -1
  149. package/dist/components/Footer/SocialMedia.js.map +1 -1
  150. package/dist/components/Footer/TextInformation.js +1 -1
  151. package/dist/components/Footer/TextInformation.js.map +1 -1
  152. package/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  153. package/dist/components/Footer/buttonSizeStyles.js +7 -0
  154. package/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  155. package/dist/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  156. package/dist/components/Footer/buttonSizeStyles.mobile.js +7 -0
  157. package/dist/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  158. package/dist/components/Footer/buttonStylesWithText.js +2 -5
  159. package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  160. package/dist/components/Header/Header.js +5 -4
  161. package/dist/components/Header/Header.js.map +1 -1
  162. package/dist/components/Header/Header.mobile.js +3 -2
  163. package/dist/components/Header/Header.mobile.js.map +1 -1
  164. package/dist/components/Header/HeaderProps.d.ts +0 -4
  165. package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  166. package/dist/components/Header/HeaderSecondaryMenu.js +10 -9
  167. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  168. package/dist/components/Header/HeaderSubMenu.js +1 -1
  169. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  170. package/dist/components/Header/findActiveSubItem.js.map +1 -0
  171. package/dist/components/Header/isHrefActive.js.map +1 -0
  172. package/dist/components/Header/isTopItemActive.js.map +1 -0
  173. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  174. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  175. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  176. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  177. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  178. package/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  179. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  180. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  181. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  182. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
  183. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  184. package/dist/components/RollupItem/RollupItem.js +1 -1
  185. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  186. package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  187. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  188. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  189. package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
  190. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  191. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  192. package/dist/hooks/useLink.js +3 -3
  193. package/dist/hooks/useLink.js.map +1 -1
  194. package/dist/hooks/useList.d.ts +10 -0
  195. package/dist/hooks/useList.js +13 -0
  196. package/dist/hooks/useList.js.map +1 -0
  197. package/dist/hooks/useLocation.d.ts +1 -1
  198. package/dist/hooks/useLocation.js +27 -16
  199. package/dist/hooks/useLocation.js.map +1 -1
  200. package/dist/hooks/useSWRResource.d.ts +1 -1
  201. package/dist/hooks/useSWRResource.js +2 -4
  202. package/dist/hooks/useSWRResource.js.map +1 -1
  203. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  204. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  205. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  206. package/dist/services/sitemap/useSitemap.d.ts +3 -0
  207. package/dist/services/sitemap/useSitemap.js +7 -0
  208. package/dist/services/sitemap/useSitemap.js.map +1 -0
  209. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  210. package/dist/ui-kit/Button/Button.d.ts +2 -2
  211. package/dist/ui-kit/Button/Button.js.map +1 -1
  212. package/dist/ui-kit/Button/ButtonContent.d.ts +19 -0
  213. package/dist/{model/Button.js → ui-kit/Button/ButtonContent.js} +1 -1
  214. package/dist/ui-kit/Button/ButtonContent.js.map +1 -0
  215. package/dist/ui-kit/Button/ButtonInner.d.ts +2 -7
  216. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  217. package/dist/ui-kit/Button/ButtonProps.d.ts +4 -44
  218. package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  219. package/dist/ui-kit/{LocationDialog/LocationDialogProps.js → Button/ButtonsSectionContent.js} +1 -1
  220. package/dist/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
  221. package/dist/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  222. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  223. package/dist/ui-kit/CookiePopup/CookiePopup.js +6 -6
  224. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  225. package/{bundle/ui-kit/Dialog → dist/ui-kit/DialogManager}/CloseButton.d.ts +1 -1
  226. package/{mobile/dist/ui-kit/Dialog → dist/ui-kit/DialogManager}/CloseButton.js +1 -1
  227. package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -0
  228. package/{lib/ui-kit/Dialog → dist/ui-kit/DialogManager}/Dialog.d.ts +0 -1
  229. package/dist/ui-kit/DialogManager/Dialog.js +17 -0
  230. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -0
  231. package/dist/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  232. package/dist/ui-kit/DialogManager/DialogAction.js.map +1 -0
  233. package/dist/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  234. package/dist/ui-kit/DialogManager/DialogManager.js +61 -0
  235. package/dist/ui-kit/DialogManager/DialogManager.js.map +1 -0
  236. package/dist/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  237. package/dist/ui-kit/DialogManager/useDialogManager.js +10 -0
  238. package/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -0
  239. package/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  240. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  241. package/dist/ui-kit/LinkList/LinkList.js +2 -2
  242. package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  243. package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  244. package/dist/ui-kit/LocationDialog/LocationDialog.js +17 -26
  245. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  246. package/dist/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  247. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +15 -0
  248. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
  249. package/dist/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  250. package/dist/ui-kit/LocationDialog/renderRegion.js +8 -0
  251. package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -0
  252. package/dist/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  253. package/dist/ui-kit/LocationDialog/renderRegionGroup.js +8 -0
  254. package/dist/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
  255. package/dist/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  256. package/dist/ui-kit/LocationDialog/useLocationDialog.js +14 -0
  257. package/dist/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
  258. package/dist/ui-kit/SearchBar/SearchBar.js +6 -9
  259. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  260. package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  261. package/dist/ui-kit/SearchDialog/SearchDialog.js +8 -9
  262. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  263. package/dist/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  264. package/dist/ui-kit/SearchDialog/useSearchDialog.js +14 -0
  265. package/dist/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
  266. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  267. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  268. package/lib/EventBus/defaultEventBus.d.ts +4 -2
  269. package/lib/EventBus/defaultEventBus.js.map +1 -1
  270. package/lib/EventBus/useLatestEvent.d.ts +2 -0
  271. package/lib/EventBus/useLatestEvent.js +8 -0
  272. package/lib/EventBus/useLatestEvent.js.map +1 -0
  273. package/lib/common.css +1 -1
  274. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  275. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  276. package/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  277. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  278. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  279. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  280. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  281. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  282. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  283. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  284. package/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  285. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  286. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  287. package/lib/components/Bonus/Bonus.fixture.mobile.d.ts +8 -0
  288. package/lib/components/Bonus/Bonus.js +10 -13
  289. package/lib/components/Bonus/Bonus.js.map +1 -1
  290. package/lib/components/Bonus/BonusContent.d.ts +2 -7
  291. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  292. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  293. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +7 -7
  294. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  295. package/lib/components/Calculator/CalculatorContent.d.ts +2 -2
  296. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  297. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  298. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  299. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  300. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  301. package/lib/components/Carousel/Carousel.d.ts +1 -1
  302. package/lib/components/Carousel/Carousel.js.map +1 -1
  303. package/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  304. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  305. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  306. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  307. package/lib/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  308. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
  309. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  310. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  311. package/lib/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  312. package/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
  313. package/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  314. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +6 -0
  315. package/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  316. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  317. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  318. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  319. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  320. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  321. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  322. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  323. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  324. package/lib/components/ContentPage/ContentPage.js +2 -23
  325. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  326. package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  327. package/lib/components/ContentPage/computeAPIFallback.js +8 -25
  328. package/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  329. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  330. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  331. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  332. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  333. package/lib/components/Footer/Contacts.d.ts +0 -1
  334. package/lib/components/Footer/Contacts.js +3 -4
  335. package/lib/components/Footer/Contacts.js.map +1 -1
  336. package/lib/components/Footer/Footer.js +5 -3
  337. package/lib/components/Footer/Footer.js.map +1 -1
  338. package/lib/components/Footer/Footer.mobile.js +8 -4
  339. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  340. package/lib/components/Footer/FooterProps.d.ts +0 -2
  341. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  342. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  343. package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
  344. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  345. package/lib/components/Footer/MediaButton.d.ts +1 -1
  346. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  347. package/lib/components/Footer/SocialMedia.js +2 -1
  348. package/lib/components/Footer/SocialMedia.js.map +1 -1
  349. package/lib/components/Footer/TextInformation.js +1 -1
  350. package/lib/components/Footer/TextInformation.js.map +1 -1
  351. package/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  352. package/lib/components/Footer/buttonSizeStyles.js +5 -0
  353. package/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  354. package/lib/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  355. package/lib/components/Footer/buttonSizeStyles.mobile.js +5 -0
  356. package/lib/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  357. package/lib/components/Footer/buttonStylesWithText.js +1 -4
  358. package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  359. package/lib/components/Header/Header.js +5 -4
  360. package/lib/components/Header/Header.js.map +1 -1
  361. package/lib/components/Header/Header.mobile.js +3 -2
  362. package/lib/components/Header/Header.mobile.js.map +1 -1
  363. package/lib/components/Header/HeaderProps.d.ts +0 -4
  364. package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  365. package/lib/components/Header/HeaderSecondaryMenu.js +10 -9
  366. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  367. package/lib/components/Header/HeaderSubMenu.js +1 -1
  368. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  369. package/lib/components/Header/findActiveSubItem.js.map +1 -0
  370. package/lib/components/Header/isHrefActive.js.map +1 -0
  371. package/lib/components/Header/isTopItemActive.js.map +1 -0
  372. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  373. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  374. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  375. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  376. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  377. package/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  378. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  379. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  380. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  381. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
  382. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  383. package/lib/components/RollupItem/RollupItem.js +1 -1
  384. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  385. package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  386. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  387. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  388. package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
  389. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  390. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  391. package/lib/hooks/useLink.js +3 -3
  392. package/lib/hooks/useLink.js.map +1 -1
  393. package/lib/hooks/useList.d.ts +10 -0
  394. package/lib/hooks/useList.js +10 -0
  395. package/lib/hooks/useList.js.map +1 -0
  396. package/lib/hooks/useLocation.d.ts +1 -1
  397. package/lib/hooks/useLocation.js +28 -17
  398. package/lib/hooks/useLocation.js.map +1 -1
  399. package/lib/hooks/useSWRResource.d.ts +1 -1
  400. package/lib/hooks/useSWRResource.js +2 -4
  401. package/lib/hooks/useSWRResource.js.map +1 -1
  402. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  403. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  404. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  405. package/lib/services/sitemap/useSitemap.d.ts +3 -0
  406. package/lib/services/sitemap/useSitemap.js +4 -0
  407. package/lib/services/sitemap/useSitemap.js.map +1 -0
  408. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  409. package/lib/ui-kit/Button/Button.d.ts +2 -2
  410. package/lib/ui-kit/Button/Button.js.map +1 -1
  411. package/lib/ui-kit/Button/ButtonContent.d.ts +19 -0
  412. package/lib/ui-kit/Button/ButtonContent.js +2 -0
  413. package/lib/ui-kit/Button/ButtonContent.js.map +1 -0
  414. package/lib/ui-kit/Button/ButtonInner.d.ts +2 -7
  415. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  416. package/lib/ui-kit/Button/ButtonProps.d.ts +4 -44
  417. package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  418. package/lib/ui-kit/Button/ButtonsSectionContent.js +2 -0
  419. package/lib/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
  420. package/lib/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  421. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  422. package/lib/ui-kit/CookiePopup/CookiePopup.js +6 -6
  423. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  424. package/lib/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
  425. package/{mobile/lib/ui-kit/Dialog → lib/ui-kit/DialogManager}/CloseButton.js +1 -1
  426. package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -0
  427. package/{bundle/ui-kit/Dialog → lib/ui-kit/DialogManager}/Dialog.d.ts +0 -1
  428. package/lib/ui-kit/DialogManager/Dialog.js +15 -0
  429. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -0
  430. package/lib/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  431. package/lib/ui-kit/DialogManager/DialogAction.js.map +1 -0
  432. package/lib/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  433. package/lib/ui-kit/DialogManager/DialogManager.js +59 -0
  434. package/lib/ui-kit/DialogManager/DialogManager.js.map +1 -0
  435. package/lib/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  436. package/lib/ui-kit/DialogManager/useDialogManager.js +7 -0
  437. package/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -0
  438. package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +6 -0
  439. package/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  440. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  441. package/lib/ui-kit/LinkList/LinkList.js +2 -2
  442. package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  443. package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  444. package/lib/ui-kit/LocationDialog/LocationDialog.js +16 -25
  445. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  446. package/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  447. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +12 -0
  448. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
  449. package/lib/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  450. package/lib/ui-kit/LocationDialog/renderRegion.js +5 -0
  451. package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -0
  452. package/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  453. package/lib/ui-kit/LocationDialog/renderRegionGroup.js +5 -0
  454. package/lib/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
  455. package/lib/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  456. package/lib/ui-kit/LocationDialog/useLocationDialog.js +11 -0
  457. package/lib/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
  458. package/lib/ui-kit/SearchBar/SearchBar.js +6 -9
  459. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  460. package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  461. package/lib/ui-kit/SearchDialog/SearchDialog.js +7 -8
  462. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  463. package/lib/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  464. package/lib/ui-kit/SearchDialog/useSearchDialog.js +11 -0
  465. package/lib/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
  466. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  467. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  468. package/mobile/bundle/EventBus/defaultEventBus.d.ts +4 -2
  469. package/mobile/bundle/EventBus/useLatestEvent.d.ts +2 -0
  470. package/mobile/bundle/bundle.umd.js +133 -413
  471. package/mobile/bundle/bundle.umd.min.js +1 -1
  472. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  473. package/mobile/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  474. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  475. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  476. package/mobile/bundle/components/Bonus/BonusContent.d.ts +2 -7
  477. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  478. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  479. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +2 -2
  480. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
  481. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
  482. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  483. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  484. package/mobile/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  485. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  486. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  487. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  488. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  489. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  490. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  491. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +2 -2
  492. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  493. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  494. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  495. package/mobile/bundle/components/Footer/Contacts.d.ts +0 -1
  496. package/mobile/bundle/components/Footer/FooterProps.d.ts +0 -2
  497. package/mobile/bundle/components/Footer/MediaButton.d.ts +1 -1
  498. package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -2
  499. package/mobile/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  500. package/mobile/bundle/components/Header/HeaderProps.d.ts +0 -4
  501. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  502. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  503. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  504. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  505. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  506. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  507. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -2
  508. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  509. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  510. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  511. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  512. package/mobile/bundle/hooks/useList.d.ts +10 -0
  513. package/mobile/bundle/hooks/useLocation.d.ts +1 -1
  514. package/mobile/bundle/hooks/useSWRResource.d.ts +1 -1
  515. package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  516. package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
  517. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  518. package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -2
  519. package/mobile/bundle/ui-kit/Button/ButtonContent.d.ts +19 -0
  520. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +2 -7
  521. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +4 -44
  522. package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  523. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  524. package/mobile/bundle/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
  525. package/mobile/bundle/ui-kit/{Dialog → DialogManager}/Dialog.d.ts +0 -1
  526. package/mobile/bundle/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  527. package/mobile/bundle/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  528. package/mobile/bundle/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  529. package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  530. package/mobile/bundle/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  531. package/mobile/bundle/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  532. package/mobile/bundle/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  533. package/mobile/bundle/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  534. package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  535. package/mobile/bundle/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  536. package/mobile/dist/EventBus/defaultEventBus.d.ts +4 -2
  537. package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
  538. package/mobile/dist/EventBus/useLatestEvent.d.ts +2 -0
  539. package/mobile/dist/EventBus/useLatestEvent.js +11 -0
  540. package/mobile/dist/EventBus/useLatestEvent.js.map +1 -0
  541. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  542. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  543. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  544. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  545. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  546. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  547. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  548. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  549. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  550. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  551. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  552. package/mobile/dist/components/Bonus/Bonus.js +10 -13
  553. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  554. package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -7
  555. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  556. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  557. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +7 -7
  558. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  559. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -2
  560. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  561. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  562. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  563. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  564. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  565. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
  566. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  567. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  568. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  569. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  570. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  571. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  572. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
  573. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  574. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  575. package/mobile/dist/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  576. package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
  577. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  578. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  579. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  580. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  581. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  582. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  583. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  584. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  585. package/mobile/dist/components/ContentPage/ContentPage.js +2 -23
  586. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  587. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  588. package/mobile/dist/components/ContentPage/computeAPIFallback.js +10 -27
  589. package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  590. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  591. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  592. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  593. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  594. package/mobile/dist/components/Footer/Contacts.d.ts +0 -1
  595. package/mobile/dist/components/Footer/Contacts.js +3 -4
  596. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  597. package/mobile/dist/components/Footer/Footer.js +8 -4
  598. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  599. package/mobile/dist/components/Footer/FooterProps.d.ts +0 -2
  600. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  601. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  602. package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
  603. package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -2
  604. package/mobile/dist/components/Footer/SocialMedia.js +3 -1
  605. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  606. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  607. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  608. package/mobile/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  609. package/mobile/dist/components/Footer/buttonSizeStyles.js +7 -0
  610. package/mobile/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  611. package/mobile/dist/components/Footer/buttonStylesWithText.js +2 -5
  612. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  613. package/mobile/dist/components/Header/Header.js +3 -2
  614. package/mobile/dist/components/Header/Header.js.map +1 -1
  615. package/mobile/dist/components/Header/HeaderProps.d.ts +0 -4
  616. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  617. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +10 -9
  618. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  619. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  620. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  621. package/mobile/dist/components/Header/findActiveSubItem.js.map +1 -0
  622. package/mobile/dist/components/Header/isHrefActive.js.map +1 -0
  623. package/mobile/dist/components/Header/isTopItemActive.js.map +1 -0
  624. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  625. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  626. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  627. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  628. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  629. package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  630. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  631. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  632. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  633. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
  634. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  635. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  636. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  637. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  638. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  639. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  640. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  641. package/mobile/dist/hooks/useLink.js +3 -3
  642. package/mobile/dist/hooks/useLink.js.map +1 -1
  643. package/mobile/dist/hooks/useList.d.ts +10 -0
  644. package/mobile/dist/hooks/useList.js +13 -0
  645. package/mobile/dist/hooks/useList.js.map +1 -0
  646. package/mobile/dist/hooks/useLocation.d.ts +1 -1
  647. package/mobile/dist/hooks/useLocation.js +27 -16
  648. package/mobile/dist/hooks/useLocation.js.map +1 -1
  649. package/mobile/dist/hooks/useSWRResource.d.ts +1 -1
  650. package/mobile/dist/hooks/useSWRResource.js +2 -4
  651. package/mobile/dist/hooks/useSWRResource.js.map +1 -1
  652. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  653. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  654. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  655. package/mobile/dist/services/sitemap/useSitemap.d.ts +3 -0
  656. package/mobile/dist/services/sitemap/useSitemap.js +7 -0
  657. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -0
  658. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  659. package/mobile/dist/ui-kit/Button/Button.d.ts +2 -2
  660. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  661. package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +19 -0
  662. package/mobile/dist/{model/Button.js → ui-kit/Button/ButtonContent.js} +1 -1
  663. package/mobile/dist/ui-kit/Button/ButtonContent.js.map +1 -0
  664. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +2 -7
  665. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  666. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -44
  667. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  668. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js +2 -0
  669. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
  670. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  671. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  672. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +6 -6
  673. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  674. package/mobile/dist/ui-kit/DialogManager/CloseButton.d.ts +7 -0
  675. package/{dist/ui-kit/Dialog → mobile/dist/ui-kit/DialogManager}/CloseButton.js +1 -1
  676. package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -0
  677. package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +7 -0
  678. package/mobile/dist/ui-kit/DialogManager/Dialog.js +17 -0
  679. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -0
  680. package/mobile/dist/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  681. package/mobile/dist/ui-kit/DialogManager/DialogAction.js.map +1 -0
  682. package/mobile/dist/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  683. package/mobile/dist/ui-kit/DialogManager/DialogManager.js +61 -0
  684. package/mobile/dist/ui-kit/DialogManager/DialogManager.js.map +1 -0
  685. package/mobile/dist/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  686. package/mobile/dist/ui-kit/DialogManager/useDialogManager.js +10 -0
  687. package/mobile/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -0
  688. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  689. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  690. package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
  691. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  692. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  693. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +17 -26
  694. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  695. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  696. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +15 -0
  697. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
  698. package/mobile/dist/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  699. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +8 -0
  700. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -0
  701. package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  702. package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.js +8 -0
  703. package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
  704. package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  705. package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.js +14 -0
  706. package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
  707. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +6 -9
  708. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  709. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  710. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +8 -9
  711. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  712. package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  713. package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.js +14 -0
  714. package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
  715. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  716. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  717. package/mobile/lib/EventBus/defaultEventBus.d.ts +4 -2
  718. package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
  719. package/mobile/lib/EventBus/useLatestEvent.d.ts +2 -0
  720. package/mobile/lib/EventBus/useLatestEvent.js +8 -0
  721. package/mobile/lib/EventBus/useLatestEvent.js.map +1 -0
  722. package/mobile/lib/common.css +1 -1
  723. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  724. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  725. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +54 -8
  726. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  727. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  728. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  729. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  730. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  731. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  732. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  733. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  734. package/mobile/lib/components/Bonus/Bonus.js +10 -13
  735. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  736. package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -7
  737. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
  738. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  739. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +7 -7
  740. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  741. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -2
  742. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  743. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  744. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  745. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  746. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  747. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
  748. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  749. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  750. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  751. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  752. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  753. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +3 -2
  754. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
  755. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  756. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
  757. package/mobile/lib/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
  758. package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
  759. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  760. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  761. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  762. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  763. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
  764. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  765. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
  766. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  767. package/mobile/lib/components/ContentPage/ContentPage.js +2 -23
  768. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  769. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  770. package/mobile/lib/components/ContentPage/computeAPIFallback.js +8 -25
  771. package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  772. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  773. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  774. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  775. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  776. package/mobile/lib/components/Footer/Contacts.d.ts +0 -1
  777. package/mobile/lib/components/Footer/Contacts.js +3 -4
  778. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  779. package/mobile/lib/components/Footer/Footer.js +8 -4
  780. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  781. package/mobile/lib/components/Footer/FooterProps.d.ts +0 -2
  782. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  783. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  784. package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
  785. package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -2
  786. package/mobile/lib/components/Footer/SocialMedia.js +4 -2
  787. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  788. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  789. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  790. package/mobile/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  791. package/mobile/lib/components/Footer/buttonSizeStyles.js +5 -0
  792. package/mobile/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  793. package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -4
  794. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  795. package/mobile/lib/components/Header/Header.js +3 -2
  796. package/mobile/lib/components/Header/Header.js.map +1 -1
  797. package/mobile/lib/components/Header/HeaderProps.d.ts +0 -4
  798. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  799. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +10 -9
  800. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  801. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  802. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  803. package/mobile/lib/components/Header/findActiveSubItem.js.map +1 -0
  804. package/mobile/lib/components/Header/isHrefActive.js.map +1 -0
  805. package/mobile/lib/components/Header/isTopItemActive.js.map +1 -0
  806. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  807. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  808. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  809. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  810. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  811. package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  812. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
  813. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  814. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  815. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
  816. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  817. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  818. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  819. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
  820. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
  821. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  822. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  823. package/mobile/lib/hooks/useLink.js +3 -3
  824. package/mobile/lib/hooks/useLink.js.map +1 -1
  825. package/mobile/lib/hooks/useList.d.ts +10 -0
  826. package/mobile/lib/hooks/useList.js +10 -0
  827. package/mobile/lib/hooks/useList.js.map +1 -0
  828. package/mobile/lib/hooks/useLocation.d.ts +1 -1
  829. package/mobile/lib/hooks/useLocation.js +28 -17
  830. package/mobile/lib/hooks/useLocation.js.map +1 -1
  831. package/mobile/lib/hooks/useSWRResource.d.ts +1 -1
  832. package/mobile/lib/hooks/useSWRResource.js +2 -4
  833. package/mobile/lib/hooks/useSWRResource.js.map +1 -1
  834. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  835. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  836. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  837. package/mobile/lib/services/sitemap/useSitemap.d.ts +3 -0
  838. package/mobile/lib/services/sitemap/useSitemap.js +4 -0
  839. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -0
  840. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
  841. package/mobile/lib/ui-kit/Button/Button.d.ts +2 -2
  842. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  843. package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +19 -0
  844. package/mobile/lib/ui-kit/Button/ButtonContent.js +2 -0
  845. package/mobile/lib/ui-kit/Button/ButtonContent.js.map +1 -0
  846. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +2 -7
  847. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  848. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -44
  849. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
  850. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js +2 -0
  851. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
  852. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +2 -2
  853. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  854. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +6 -6
  855. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  856. package/mobile/lib/ui-kit/DialogManager/CloseButton.d.ts +7 -0
  857. package/{lib/ui-kit/Dialog → mobile/lib/ui-kit/DialogManager}/CloseButton.js +1 -1
  858. package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -0
  859. package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +7 -0
  860. package/mobile/lib/ui-kit/DialogManager/Dialog.js +15 -0
  861. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -0
  862. package/mobile/lib/ui-kit/DialogManager/DialogAction.d.ts +12 -0
  863. package/mobile/lib/ui-kit/DialogManager/DialogAction.js.map +1 -0
  864. package/mobile/lib/ui-kit/DialogManager/DialogManager.d.ts +2 -0
  865. package/mobile/lib/ui-kit/DialogManager/DialogManager.js +59 -0
  866. package/mobile/lib/ui-kit/DialogManager/DialogManager.js.map +1 -0
  867. package/mobile/lib/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
  868. package/mobile/lib/ui-kit/DialogManager/useDialogManager.js +7 -0
  869. package/mobile/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -0
  870. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  871. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  872. package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
  873. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  874. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
  875. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +16 -25
  876. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  877. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
  878. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +12 -0
  879. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
  880. package/mobile/lib/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
  881. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +5 -0
  882. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -0
  883. package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
  884. package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.js +5 -0
  885. package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
  886. package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
  887. package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.js +11 -0
  888. package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
  889. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +6 -9
  890. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  891. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
  892. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +7 -8
  893. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  894. package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
  895. package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.js +11 -0
  896. package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
  897. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  898. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  899. package/mobile/src/EventBus/defaultEventBus.ts +4 -2
  900. package/mobile/src/EventBus/useLatestEvent.ts +16 -0
  901. package/mobile/src/common.css +1 -1
  902. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  903. package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  904. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +72 -13
  905. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  906. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  907. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  908. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  909. package/mobile/src/components/Bonus/Bonus.tsx +33 -28
  910. package/mobile/src/components/Bonus/BonusContent.ts +5 -9
  911. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +3 -3
  912. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  913. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +14 -9
  914. package/mobile/src/components/Calculator/CalculatorContent.ts +2 -2
  915. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  916. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  917. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  918. package/mobile/src/components/Carousel/Carousel.tsx +5 -3
  919. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  920. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  921. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +3 -3
  922. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +7 -6
  923. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  924. package/mobile/src/components/CarouselCatalogCard/CatalogCard.ts +2 -2
  925. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  926. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  927. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +2 -2
  928. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  929. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +4 -9
  930. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  931. package/mobile/src/components/ContentPage/ContentPage.tsx +18 -54
  932. package/mobile/src/components/ContentPage/computeAPIFallback.ts +10 -27
  933. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  934. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
  935. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  936. package/mobile/src/components/Footer/Contacts.tsx +15 -19
  937. package/mobile/src/components/Footer/Footer.tsx +30 -16
  938. package/mobile/src/components/Footer/FooterProps.ts +1 -4
  939. package/mobile/src/components/Footer/HorizontalNavigation.tsx +10 -3
  940. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  941. package/mobile/src/components/Footer/SocialMedia.tsx +22 -9
  942. package/mobile/src/components/Footer/TextInformation.tsx +2 -2
  943. package/mobile/src/components/Footer/buttonSizeStyles.ts +6 -0
  944. package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -5
  945. package/mobile/src/components/Header/Header.tsx +3 -2
  946. package/mobile/src/components/Header/HeaderProps.ts +1 -6
  947. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +13 -11
  948. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -1
  949. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  950. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  951. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
  952. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  953. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -2
  954. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  955. package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -2
  956. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  957. package/mobile/src/components/RollupItem/RollupItem.tsx +1 -1
  958. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -9
  959. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
  960. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  961. package/mobile/src/hooks/useLink.ts +3 -3
  962. package/mobile/src/hooks/useList.ts +24 -0
  963. package/mobile/src/hooks/useLocation.ts +34 -28
  964. package/mobile/src/hooks/useSWRResource.ts +9 -4
  965. package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  966. package/mobile/src/services/sitemap/useSitemap.ts +7 -0
  967. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
  968. package/mobile/src/ui-kit/Button/Button.tsx +14 -16
  969. package/mobile/src/ui-kit/Button/ButtonContent.ts +21 -0
  970. package/mobile/src/ui-kit/Button/ButtonInner.tsx +5 -9
  971. package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -49
  972. package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +8 -0
  973. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +3 -3
  974. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +12 -17
  975. package/mobile/src/ui-kit/{Dialog → DialogManager}/CloseButton.tsx +3 -3
  976. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +31 -0
  977. package/mobile/src/ui-kit/DialogManager/DialogAction.ts +15 -0
  978. package/mobile/src/ui-kit/DialogManager/DialogManager.tsx +85 -0
  979. package/mobile/src/ui-kit/DialogManager/useDialogManager.ts +14 -0
  980. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  981. package/mobile/src/ui-kit/LinkList/LinkList.tsx +3 -3
  982. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +57 -138
  983. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +37 -0
  984. package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +15 -0
  985. package/mobile/src/ui-kit/LocationDialog/renderRegionGroup.tsx +15 -0
  986. package/mobile/src/ui-kit/LocationDialog/useLocationDialog.tsx +11 -0
  987. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +14 -15
  988. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +8 -10
  989. package/mobile/src/ui-kit/SearchDialog/useSearchDialog.tsx +12 -0
  990. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
  991. package/package.json +1 -1
  992. package/src/EventBus/defaultEventBus.ts +4 -2
  993. package/src/EventBus/useLatestEvent.ts +16 -0
  994. package/src/common.css +1 -1
  995. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +41 -7
  996. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +41 -7
  997. package/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  998. package/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  999. package/src/components/ApplicationForm/ApplicationFormContent.ts +72 -13
  1000. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  1001. package/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  1002. package/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  1003. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1004. package/src/components/Bonus/Bonus.fixture.mobile.tsx +72 -0
  1005. package/src/components/Bonus/Bonus.tsx +33 -28
  1006. package/src/components/Bonus/BonusContent.ts +5 -9
  1007. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +2 -3
  1008. package/src/components/BusinessBlock/BusinessBlockContent.ts +3 -3
  1009. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
  1010. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
  1011. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  1012. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +14 -9
  1013. package/src/components/Calculator/Calculator.fixture.tsx +2 -2
  1014. package/src/components/Calculator/CalculatorContent.ts +2 -2
  1015. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  1016. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  1017. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  1018. package/src/components/Carousel/Carousel.tsx +5 -3
  1019. package/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  1020. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
  1021. package/src/components/CarouselCard/CarouselCardContent.ts +3 -3
  1022. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +7 -6
  1023. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  1024. package/src/components/CarouselCatalogCard/CatalogCard.ts +2 -2
  1025. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +34 -0
  1026. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +3 -0
  1027. package/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  1028. package/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  1029. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +3 -3
  1030. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +2 -2
  1031. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  1032. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  1033. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +3 -2
  1034. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +4 -4
  1035. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +4 -9
  1036. package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  1037. package/src/components/ContentPage/ContentPage.tsx +18 -54
  1038. package/src/components/ContentPage/computeAPIFallback.ts +10 -27
  1039. package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  1040. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
  1041. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  1042. package/src/components/Footer/Contacts.tsx +15 -19
  1043. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
  1044. package/src/components/Footer/Footer.fixture.tsx +3 -5
  1045. package/src/components/Footer/Footer.mobile.tsx +30 -16
  1046. package/src/components/Footer/Footer.tsx +11 -11
  1047. package/src/components/Footer/FooterProps.ts +1 -4
  1048. package/src/components/Footer/HorizontalNavigation.mobile.tsx +10 -3
  1049. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  1050. package/src/components/Footer/MediaButton.tsx +1 -1
  1051. package/src/components/Footer/SocialMedia.tsx +11 -8
  1052. package/src/components/Footer/TextInformation.tsx +2 -2
  1053. package/src/components/Footer/buttonSizeStyles.mobile.ts +6 -0
  1054. package/src/components/Footer/buttonSizeStyles.ts +6 -0
  1055. package/src/components/Footer/buttonStylesWithText.ts +1 -5
  1056. package/src/components/Header/Header.fixture.mobile.tsx +14 -5
  1057. package/src/components/Header/Header.fixture.tsx +13 -4
  1058. package/src/components/Header/Header.mobile.tsx +3 -2
  1059. package/src/components/Header/Header.tsx +7 -11
  1060. package/src/components/Header/HeaderProps.ts +1 -6
  1061. package/src/components/Header/HeaderSecondaryMenu.tsx +13 -11
  1062. package/src/components/Header/HeaderSubMenu.tsx +1 -1
  1063. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
  1064. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  1065. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1066. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +8 -19
  1067. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +11 -11
  1068. package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
  1069. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1070. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
  1071. package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -4
  1072. package/src/components/ProductBlock/ProductBlockContent.ts +2 -2
  1073. package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  1074. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
  1075. package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
  1076. package/src/components/PromoTile/PromoTileContent.ts +2 -2
  1077. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
  1078. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
  1079. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  1080. package/src/components/RollupItem/RollupItem.tsx +1 -1
  1081. package/src/components/StepsBlock/StepsBlockContent.ts +9 -9
  1082. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +3 -2
  1083. package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
  1084. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  1085. package/src/hooks/useLink.ts +3 -3
  1086. package/src/hooks/useList.ts +24 -0
  1087. package/src/hooks/useLocation.ts +34 -28
  1088. package/src/hooks/useSWRResource.ts +9 -4
  1089. package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  1090. package/src/services/sitemap/useSitemap.ts +7 -0
  1091. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
  1092. package/src/ui-kit/Button/Button.tsx +14 -16
  1093. package/src/ui-kit/Button/ButtonContent.ts +21 -0
  1094. package/src/ui-kit/Button/ButtonInner.tsx +5 -9
  1095. package/src/ui-kit/Button/ButtonProps.ts +4 -49
  1096. package/src/ui-kit/Button/ButtonsSectionContent.ts +8 -0
  1097. package/src/ui-kit/Button/renderButtonsSection.tsx +3 -3
  1098. package/src/ui-kit/CookiePopup/CookiePopup.tsx +12 -17
  1099. package/src/ui-kit/{Dialog → DialogManager}/CloseButton.tsx +3 -3
  1100. package/src/ui-kit/DialogManager/Dialog.tsx +31 -0
  1101. package/src/ui-kit/DialogManager/DialogAction.ts +15 -0
  1102. package/src/ui-kit/DialogManager/DialogManager.tsx +85 -0
  1103. package/src/ui-kit/DialogManager/useDialogManager.ts +14 -0
  1104. package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +11 -0
  1105. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +1 -1
  1106. package/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  1107. package/src/ui-kit/LinkList/LinkList.tsx +3 -3
  1108. package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +1 -74
  1109. package/src/ui-kit/LocationDialog/LocationDialog.tsx +57 -138
  1110. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +37 -0
  1111. package/src/ui-kit/LocationDialog/renderRegion.tsx +15 -0
  1112. package/src/ui-kit/LocationDialog/renderRegionGroup.tsx +15 -0
  1113. package/src/ui-kit/LocationDialog/useLocationDialog.tsx +11 -0
  1114. package/src/ui-kit/SearchBar/SearchBar.tsx +14 -15
  1115. package/src/ui-kit/SearchDialog/SearchDialog.tsx +8 -10
  1116. package/src/ui-kit/SearchDialog/useSearchDialog.tsx +12 -0
  1117. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
  1118. package/tailwind.config.cjs +5 -5
  1119. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -6
  1120. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  1121. package/bundle/hooks/useCachedAsyncData.d.ts +0 -2
  1122. package/bundle/model/Button.d.ts +0 -15
  1123. package/bundle/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1124. package/bundle/ui-kit/Dialog/useDialog.d.ts +0 -4
  1125. package/bundle/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1126. package/bundle/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1127. package/bundle/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1128. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -6
  1129. package/dist/components/Footer/SocialMedia.mobile.js +0 -7
  1130. package/dist/components/Footer/SocialMedia.mobile.js.map +0 -1
  1131. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  1132. package/dist/components/Footer/buttonStylesWithText.mobile.js +0 -12
  1133. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  1134. package/dist/hooks/useCachedAsyncData.d.ts +0 -2
  1135. package/dist/hooks/useCachedAsyncData.js +0 -25
  1136. package/dist/hooks/useCachedAsyncData.js.map +0 -1
  1137. package/dist/model/Button.d.ts +0 -15
  1138. package/dist/model/Button.js.map +0 -1
  1139. package/dist/services/sitemap/findActiveSubItem.js.map +0 -1
  1140. package/dist/services/sitemap/isHrefActive.js.map +0 -1
  1141. package/dist/services/sitemap/isTopItemActive.js.map +0 -1
  1142. package/dist/ui-kit/Dialog/CloseButton.js.map +0 -1
  1143. package/dist/ui-kit/Dialog/Dialog.js +0 -22
  1144. package/dist/ui-kit/Dialog/Dialog.js.map +0 -1
  1145. package/dist/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1146. package/dist/ui-kit/Dialog/DialogAction.js.map +0 -1
  1147. package/dist/ui-kit/Dialog/useDialog.d.ts +0 -4
  1148. package/dist/ui-kit/Dialog/useDialog.js +0 -9
  1149. package/dist/ui-kit/Dialog/useDialog.js.map +0 -1
  1150. package/dist/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1151. package/dist/ui-kit/Dialog/useDialogHandlers.js +0 -21
  1152. package/dist/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
  1153. package/dist/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1154. package/dist/ui-kit/Dialog/useDialogProps.js +0 -39
  1155. package/dist/ui-kit/Dialog/useDialogProps.js.map +0 -1
  1156. package/dist/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1157. package/dist/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
  1158. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -6
  1159. package/lib/components/Footer/SocialMedia.mobile.js +0 -5
  1160. package/lib/components/Footer/SocialMedia.mobile.js.map +0 -1
  1161. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  1162. package/lib/components/Footer/buttonStylesWithText.mobile.js +0 -9
  1163. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  1164. package/lib/hooks/useCachedAsyncData.d.ts +0 -2
  1165. package/lib/hooks/useCachedAsyncData.js +0 -22
  1166. package/lib/hooks/useCachedAsyncData.js.map +0 -1
  1167. package/lib/model/Button.d.ts +0 -15
  1168. package/lib/model/Button.js +0 -2
  1169. package/lib/model/Button.js.map +0 -1
  1170. package/lib/services/sitemap/findActiveSubItem.js.map +0 -1
  1171. package/lib/services/sitemap/isHrefActive.js.map +0 -1
  1172. package/lib/services/sitemap/isTopItemActive.js.map +0 -1
  1173. package/lib/ui-kit/Dialog/CloseButton.js.map +0 -1
  1174. package/lib/ui-kit/Dialog/Dialog.js +0 -20
  1175. package/lib/ui-kit/Dialog/Dialog.js.map +0 -1
  1176. package/lib/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1177. package/lib/ui-kit/Dialog/DialogAction.js.map +0 -1
  1178. package/lib/ui-kit/Dialog/useDialog.d.ts +0 -4
  1179. package/lib/ui-kit/Dialog/useDialog.js +0 -6
  1180. package/lib/ui-kit/Dialog/useDialog.js.map +0 -1
  1181. package/lib/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1182. package/lib/ui-kit/Dialog/useDialogHandlers.js +0 -18
  1183. package/lib/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
  1184. package/lib/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1185. package/lib/ui-kit/Dialog/useDialogProps.js +0 -36
  1186. package/lib/ui-kit/Dialog/useDialogProps.js.map +0 -1
  1187. package/lib/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1188. package/lib/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
  1189. package/lib/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
  1190. package/mobile/bundle/hooks/useCachedAsyncData.d.ts +0 -2
  1191. package/mobile/bundle/model/Button.d.ts +0 -15
  1192. package/mobile/bundle/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1193. package/mobile/bundle/ui-kit/Dialog/useDialog.d.ts +0 -4
  1194. package/mobile/bundle/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1195. package/mobile/bundle/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1196. package/mobile/bundle/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1197. package/mobile/dist/hooks/useCachedAsyncData.d.ts +0 -2
  1198. package/mobile/dist/hooks/useCachedAsyncData.js +0 -25
  1199. package/mobile/dist/hooks/useCachedAsyncData.js.map +0 -1
  1200. package/mobile/dist/model/Button.d.ts +0 -15
  1201. package/mobile/dist/model/Button.js.map +0 -1
  1202. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +0 -1
  1203. package/mobile/dist/services/sitemap/isHrefActive.js.map +0 -1
  1204. package/mobile/dist/services/sitemap/isTopItemActive.js.map +0 -1
  1205. package/mobile/dist/ui-kit/Dialog/CloseButton.d.ts +0 -7
  1206. package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +0 -1
  1207. package/mobile/dist/ui-kit/Dialog/Dialog.d.ts +0 -8
  1208. package/mobile/dist/ui-kit/Dialog/Dialog.js +0 -22
  1209. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +0 -1
  1210. package/mobile/dist/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1211. package/mobile/dist/ui-kit/Dialog/DialogAction.js.map +0 -1
  1212. package/mobile/dist/ui-kit/Dialog/useDialog.d.ts +0 -4
  1213. package/mobile/dist/ui-kit/Dialog/useDialog.js +0 -9
  1214. package/mobile/dist/ui-kit/Dialog/useDialog.js.map +0 -1
  1215. package/mobile/dist/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1216. package/mobile/dist/ui-kit/Dialog/useDialogHandlers.js +0 -21
  1217. package/mobile/dist/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
  1218. package/mobile/dist/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1219. package/mobile/dist/ui-kit/Dialog/useDialogProps.js +0 -39
  1220. package/mobile/dist/ui-kit/Dialog/useDialogProps.js.map +0 -1
  1221. package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1222. package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
  1223. package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
  1224. package/mobile/lib/hooks/useCachedAsyncData.d.ts +0 -2
  1225. package/mobile/lib/hooks/useCachedAsyncData.js +0 -22
  1226. package/mobile/lib/hooks/useCachedAsyncData.js.map +0 -1
  1227. package/mobile/lib/model/Button.d.ts +0 -15
  1228. package/mobile/lib/model/Button.js +0 -2
  1229. package/mobile/lib/model/Button.js.map +0 -1
  1230. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +0 -1
  1231. package/mobile/lib/services/sitemap/isHrefActive.js.map +0 -1
  1232. package/mobile/lib/services/sitemap/isTopItemActive.js.map +0 -1
  1233. package/mobile/lib/ui-kit/Dialog/CloseButton.d.ts +0 -7
  1234. package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +0 -1
  1235. package/mobile/lib/ui-kit/Dialog/Dialog.d.ts +0 -8
  1236. package/mobile/lib/ui-kit/Dialog/Dialog.js +0 -20
  1237. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +0 -1
  1238. package/mobile/lib/ui-kit/Dialog/DialogAction.d.ts +0 -12
  1239. package/mobile/lib/ui-kit/Dialog/DialogAction.js.map +0 -1
  1240. package/mobile/lib/ui-kit/Dialog/useDialog.d.ts +0 -4
  1241. package/mobile/lib/ui-kit/Dialog/useDialog.js +0 -6
  1242. package/mobile/lib/ui-kit/Dialog/useDialog.js.map +0 -1
  1243. package/mobile/lib/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
  1244. package/mobile/lib/ui-kit/Dialog/useDialogHandlers.js +0 -18
  1245. package/mobile/lib/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
  1246. package/mobile/lib/ui-kit/Dialog/useDialogProps.d.ts +0 -7
  1247. package/mobile/lib/ui-kit/Dialog/useDialogProps.js +0 -36
  1248. package/mobile/lib/ui-kit/Dialog/useDialogProps.js.map +0 -1
  1249. package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
  1250. package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
  1251. package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
  1252. package/mobile/src/components/Header/sitemap.wcms-resource.json +0 -144
  1253. package/mobile/src/hooks/useCachedAsyncData.ts +0 -37
  1254. package/mobile/src/model/Button.ts +0 -16
  1255. package/mobile/src/ui-kit/Dialog/Dialog.tsx +0 -46
  1256. package/mobile/src/ui-kit/Dialog/DialogAction.ts +0 -14
  1257. package/mobile/src/ui-kit/Dialog/useDialog.ts +0 -6
  1258. package/mobile/src/ui-kit/Dialog/useDialogHandlers.ts +0 -28
  1259. package/mobile/src/ui-kit/Dialog/useDialogProps.ts +0 -48
  1260. package/mobile/src/ui-kit/LocationDialog/LocationDialogProps.ts +0 -21
  1261. package/src/components/Footer/SocialMedia.mobile.tsx +0 -16
  1262. package/src/components/Footer/buttonStylesWithText.mobile.ts +0 -15
  1263. package/src/components/Header/sitemap.wcms-resource.json +0 -144
  1264. package/src/hooks/useCachedAsyncData.ts +0 -37
  1265. package/src/model/Button.ts +0 -16
  1266. package/src/ui-kit/Dialog/Dialog.tsx +0 -46
  1267. package/src/ui-kit/Dialog/DialogAction.ts +0 -14
  1268. package/src/ui-kit/Dialog/useDialog.ts +0 -6
  1269. package/src/ui-kit/Dialog/useDialogHandlers.ts +0 -28
  1270. package/src/ui-kit/Dialog/useDialogProps.ts +0 -48
  1271. package/src/ui-kit/LocationDialog/LocationDialogProps.ts +0 -21
  1272. /package/bundle/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1273. /package/bundle/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1274. /package/bundle/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1275. /package/dist/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1276. /package/dist/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
  1277. /package/dist/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1278. /package/dist/{services/sitemap → components/Header}/isHrefActive.js +0 -0
  1279. /package/dist/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1280. /package/dist/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
  1281. /package/dist/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
  1282. /package/lib/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1283. /package/lib/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
  1284. /package/lib/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1285. /package/lib/{services/sitemap → components/Header}/isHrefActive.js +0 -0
  1286. /package/lib/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1287. /package/lib/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
  1288. /package/lib/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
  1289. /package/mobile/bundle/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1290. /package/mobile/bundle/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1291. /package/mobile/bundle/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1292. /package/mobile/dist/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1293. /package/mobile/dist/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
  1294. /package/mobile/dist/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1295. /package/mobile/dist/{services/sitemap → components/Header}/isHrefActive.js +0 -0
  1296. /package/mobile/dist/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1297. /package/mobile/dist/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
  1298. /package/mobile/dist/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
  1299. /package/mobile/lib/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
  1300. /package/mobile/lib/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
  1301. /package/mobile/lib/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
  1302. /package/mobile/lib/{services/sitemap → components/Header}/isHrefActive.js +0 -0
  1303. /package/mobile/lib/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
  1304. /package/mobile/lib/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
  1305. /package/mobile/lib/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
  1306. /package/mobile/src/{services/sitemap → components/Header}/findActiveSubItem.ts +0 -0
  1307. /package/mobile/src/{services/sitemap → components/Header}/isHrefActive.ts +0 -0
  1308. /package/mobile/src/{services/sitemap → components/Header}/isTopItemActive.ts +0 -0
  1309. /package/src/{services/sitemap → components/Header}/findActiveSubItem.ts +0 -0
  1310. /package/src/{services/sitemap → components/Header}/isHrefActive.ts +0 -0
  1311. /package/src/{services/sitemap → components/Header}/isTopItemActive.ts +0 -0
@@ -4,29 +4,22 @@ import { CorporateLeadAPI } from '../../api/CorporateLeadAPI';
4
4
  import type { UniBlockProps } from '../../model/JSXBlock';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { Heading } from '../../ui-kit/Heading/Heading';
7
- import { ApplicationFormAcquiring } from './ApplicationFormAcquiring';
8
- import { ApplicationFormBusinessCard } from './ApplicationFormBusinessCard';
9
- import type { ApplicationFormContent } from './ApplicationFormContent';
10
- import { ApplicationFormCredit } from './ApplicationFormCredit';
11
- import { ApplicationFormDeposit } from './ApplicationFormDeposit';
12
- import type { ApplicationFormsProps } from './ApplicationFormsProps';
13
- import { ApplicationFormWed } from './ApplicationFormWed';
7
+ import type { ApplicationFormBlockDef, ApplicationFormContent } from './ApplicationFormContent';
8
+ import { EmbeddableForms } from './EmbeddableForms';
14
9
  import { ResponseNotification } from './ResponseNotification';
15
10
 
16
11
  export interface ApplicationFormProps extends ApplicationFormContent, UniBlockProps {}
17
12
 
18
- const COMPONENTS_MAP = {
19
- credit: (props: ApplicationFormsProps) => <ApplicationFormCredit {...props} />,
20
- acquiring: (props: ApplicationFormsProps) => <ApplicationFormAcquiring {...props} />,
21
- 'business-card': (props: ApplicationFormsProps) => <ApplicationFormBusinessCard {...props} />,
22
- deposit: (props: ApplicationFormsProps) => <ApplicationFormDeposit {...props} />,
23
- wed: (props: ApplicationFormsProps) => <ApplicationFormWed {...props} />,
24
- };
25
-
26
13
  const API = CorporateLeadAPI();
27
14
 
28
15
  export const ApplicationForm = JSX<ApplicationFormProps>((props) => {
29
- const { className, title, typeForm = 'credit', button, link, ...rest } = props;
16
+ const { className, formBlock, ...rest } = props;
17
+
18
+ // const type = formBlock?.formType;
19
+ // if (!type || !(type in EmbeddableForms)) {
20
+ // return null;
21
+ // }
22
+ // const EmbeddedForm = EmbeddableForms[type];
30
23
 
31
24
  const [responseType, setResponseType] = useState<'OK' | 'Fail' | ''>('');
32
25
 
@@ -40,12 +33,31 @@ export const ApplicationForm = JSX<ApplicationFormProps>((props) => {
40
33
  return (
41
34
  <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
42
35
  <div className="container max-w-[978px]">
43
- {title ? (
44
- <Heading headingType="h3" title={title} className="mb-4 sm:mb-8 sm:text-center" />
36
+ {formBlock?.title ? (
37
+ <Heading
38
+ headingType="h3"
39
+ title={formBlock.title}
40
+ className="mb-4 sm:mb-8 sm:text-center"
41
+ />
45
42
  ) : null}
46
- {COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit })}
43
+ {/* <EmbeddedForm {...formBlock} onSubmit={handleSubmit} /> */}
44
+ {formBlock ? renderEmbeddedForm(formBlock, handleSubmit) : null}
45
+ {/* {COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit })} */}
47
46
  {responseType ? <ResponseNotification responseType={responseType} /> : null}
48
47
  </div>
49
48
  </BlockWrapper>
50
49
  );
51
50
  });
51
+
52
+ const renderEmbeddedForm = (
53
+ formBlock: ApplicationFormBlockDef,
54
+ handleSubmit: (data: Record<string, string>) => Promise<'OK' | 'Fail'>,
55
+ ) => {
56
+ const type = formBlock?.formType;
57
+ if (!type || !(type in EmbeddableForms)) {
58
+ return null;
59
+ }
60
+ const EmbeddedForm = EmbeddableForms[type];
61
+
62
+ return <EmbeddedForm {...formBlock} onSubmit={handleSubmit} />;
63
+ };
@@ -0,0 +1,12 @@
1
+ {
2
+ "content": {
3
+ "formBlock": {
4
+ "formType": {
5
+ "ui:widget": "hidden"
6
+ },
7
+ "sourceBookDir": {
8
+ "ui:widget": "sourceBook"
9
+ }
10
+ }
11
+ }
12
+ }
@@ -2,28 +2,87 @@ import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { LinkProps } from '../../model/LinkProps';
5
- import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
6
6
 
7
7
  /**
8
8
  * @title Кнопка
9
9
  */
10
- export interface SubmitButtonProps extends ButtonAdditionalProps {
10
+ export interface SubmitButtonProps extends ButtonContent {
11
11
  /** @title Текст */
12
12
  text?: string;
13
13
  version?: ButtonVersion;
14
14
  }
15
15
 
16
+ export type CommonApplicationFormProps = TitleProps & {
17
+ button?: SubmitButtonProps;
18
+ /** @title Условия передачи данных */
19
+ link?: LinkProps;
20
+ };
21
+
22
+ export type ApplicationFormBlockDef =
23
+ | BusinessCardFormParamsDef
24
+ | WedFormParamsDef
25
+ | DepositFormParamsDef
26
+ | CreditFormParamsDef
27
+ | AcquiringFormParamsDef
28
+ | GrantSupportFormParamsDef;
29
+
30
+ /**
31
+ * @title Бизнес-карта
32
+ * @default {"formType": "ApplicationFormBusinessCard"}
33
+ */
34
+ export type BusinessCardFormParamsDef = CommonApplicationFormProps & {
35
+ formType: 'ApplicationFormBusinessCard';
36
+ };
37
+
38
+ /**
39
+ * @title ВЭД
40
+ * @default {"formType": "ApplicationFormWed"}
41
+ */
42
+ export type WedFormParamsDef = CommonApplicationFormProps & {
43
+ formType: 'ApplicationFormWed';
44
+ };
45
+
46
+ /**
47
+ * @title Депозит
48
+ * @default {"formType": "ApplicationFormDeposit"}
49
+ */
50
+ export type DepositFormParamsDef = CommonApplicationFormProps & {
51
+ formType: 'ApplicationFormDeposit';
52
+ };
53
+
54
+ /**
55
+ * @title Кредит
56
+ * @default {"formType": "ApplicationFormCredit"}
57
+ */
58
+ export type CreditFormParamsDef = CommonApplicationFormProps & {
59
+ formType: 'ApplicationFormCredit';
60
+ };
61
+
62
+ /**
63
+ * @title Эквайринг
64
+ * @default {"formType": "ApplicationFormAcquiring"}
65
+ */
66
+ export type AcquiringFormParamsDef = CommonApplicationFormProps & {
67
+ formType: 'ApplicationFormAcquiring';
68
+ };
69
+
70
+ /**
71
+ * @title Грантовая поддержка
72
+ * @default {"formType": "ApplicationFormGrantSupport"}
73
+ */
74
+ export type GrantSupportFormParamsDef = CommonApplicationFormProps & {
75
+ formType: 'ApplicationFormGrantSupport';
76
+ /** @title Адрес справочника */
77
+ sourceBookDir?: string;
78
+ };
79
+
16
80
  /**
17
81
  * @title Форма заявки
18
82
  */
19
- export type ApplicationFormContent = UniBlockContent &
20
- TitleProps & {
21
- /**
22
- * @title Вид заявки
23
- * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
24
- */
25
- typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
26
- button?: SubmitButtonProps;
27
- /** @title Условия передачи данных */
28
- link?: LinkProps;
29
- };
83
+ export type ApplicationFormContent = UniBlockContent & {
84
+ /**
85
+ * @title Вид заявки
86
+ */
87
+ formBlock?: ApplicationFormBlockDef;
88
+ };
@@ -0,0 +1,51 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useSWRResource } from '../../hooks/useSWRResource';
4
+ import { RegionsGrantSupportData } from '../../services/regionsGrantSupport/RegionsGrantSupportData';
5
+ import { Button } from '../../ui-kit/Button/Button';
6
+ import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
7
+ import { style } from '../../utils/style';
8
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
9
+ import { SelectControl } from './SelectControl';
10
+
11
+ export const ApplicationFormGrantSupport = JSX<ApplicationFormsProps>((props) => {
12
+ const { button, sourceBookDir } = props;
13
+
14
+ const { regions } = useSWRResource<RegionsGrantSupportData>(
15
+ sourceBookDir || 'regions-grant-support',
16
+ );
17
+
18
+ const [region, setRegion] = useState({ key: '' });
19
+
20
+ const buttonStyle = getRegularButtonClasses({
21
+ className: 'text-white',
22
+ version: button?.version,
23
+ });
24
+
25
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
26
+
27
+ return (
28
+ <div className="container space-y-s sm:space-y-lg">
29
+ {regions ? (
30
+ <SelectControl
31
+ label="Ваш регион"
32
+ placeholder="Выберите регион"
33
+ options={regions.map(({ name = '' }) => ({ key: name }))}
34
+ value={region}
35
+ onChange={setRegion}
36
+ />
37
+ ) : null}
38
+ {regionHref ? (
39
+ <div className="text-center">
40
+ <Button
41
+ href={regionHref}
42
+ target="_blank"
43
+ className={style('p-4 w-full sm:w-auto', buttonStyle)}
44
+ >
45
+ {button?.text ? button.text : 'Перейти'}
46
+ </Button>
47
+ </div>
48
+ ) : null}
49
+ </div>
50
+ );
51
+ });
@@ -4,5 +4,6 @@ import type { SubmitButtonProps } from './ApplicationFormContent';
4
4
  export interface ApplicationFormsProps<S extends Record<string, any> = Record<string, any>> {
5
5
  button?: SubmitButtonProps;
6
6
  link?: LinkProps;
7
+ sourceBookDir?: string;
7
8
  onSubmit: (data: S) => void;
8
9
  }
@@ -0,0 +1,15 @@
1
+ import { ApplicationFormAcquiring } from './ApplicationFormAcquiring';
2
+ import { ApplicationFormBusinessCard } from './ApplicationFormBusinessCard';
3
+ import { ApplicationFormCredit } from './ApplicationFormCredit';
4
+ import { ApplicationFormDeposit } from './ApplicationFormDeposit';
5
+ import { ApplicationFormGrantSupport } from './ApplicationFormGrantSupport';
6
+ import { ApplicationFormWed } from './ApplicationFormWed';
7
+
8
+ export const EmbeddableForms = {
9
+ ApplicationFormBusinessCard,
10
+ ApplicationFormWed,
11
+ ApplicationFormDeposit,
12
+ ApplicationFormCredit,
13
+ ApplicationFormAcquiring,
14
+ ApplicationFormGrantSupport,
15
+ };
@@ -31,7 +31,7 @@ export const BenefitsBlock = JSX<BenefitsBlockProps>(
31
31
  const renderBenefit = (benefit: BenefitBlockItemProps, i: number) => (
32
32
  <div
33
33
  key={String(i)}
34
- className="flex gap-m items-center md:basis-1/2 md:max-w-[400px]"
34
+ className="flex gap-m items-center md:basis-1/2 md:max-w-[500px]"
35
35
  role="listitem"
36
36
  >
37
37
  {benefit?.icon?.icon ? (
@@ -0,0 +1,72 @@
1
+ import '../../setup-fixture';
2
+
3
+ import type { Picture } from '../../model/Picture';
4
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
5
+ import { Bonus } from './Bonus';
6
+ import type { BonusContent } from './BonusContent';
7
+
8
+ const imageSize = {
9
+ height: 242,
10
+ width: 242,
11
+ };
12
+
13
+ const cardWithMoney: Picture = {
14
+ src: 'card-with-diamond.png',
15
+ alt: 'Кредиты в РСХБ',
16
+ format: 'webp',
17
+ size: imageSize,
18
+ };
19
+
20
+ const buttons: ButtonProps[] = [
21
+ {
22
+ text: 'Установить',
23
+ href: '/credit-cards',
24
+ version: 'secondary',
25
+ },
26
+ ];
27
+
28
+ export const BONUS: BonusContent = {
29
+ title: 'Начисление баллов',
30
+ description:
31
+ /* eslint-disable max-len */
32
+ 'Получайте 1% бонусными баллами с любых покупок и 1,5% баллами с покупок в категории «Путешествия». Обменивайте бонусные баллы на авиа и ж/д билеты, бронирование отелей и прокат автомобилей.',
33
+ bonusItems: [
34
+ {
35
+ title: '5 баллов за каждые 100 ₽',
36
+ description:
37
+ 'Повышенное начисление баллов за операции оплаты товаров и услуг в сети АЗС Роснефть',
38
+ bonusItemContent: {
39
+ bonusType: 'count',
40
+ bonusCount: '5',
41
+ bonusName: 'баллов',
42
+ },
43
+ },
44
+ {
45
+ title: '1 балл за каждые 100 ₽',
46
+ description: 'За остальные операции оплаты товаров и услуг',
47
+ bonusItemContent: {
48
+ bonusType: 'count',
49
+ bonusCount: '1',
50
+ bonusName: 'балл',
51
+ },
52
+ },
53
+ {
54
+ title: '300 приветственных баллов',
55
+ description:
56
+ 'За операции оплаты товаров и услуг на общую сумму 1 000 рублей и более в течение первых двух месяцев после получения карты',
57
+ bonusItemContent: {
58
+ bonusType: 'image',
59
+ image: cardWithMoney,
60
+ },
61
+ buttons,
62
+ },
63
+ ],
64
+ };
65
+
66
+ export default {
67
+ default: (
68
+ <div className="container grid grid-cols-12">
69
+ <Bonus className="col-span-12" {...BONUS} />
70
+ </div>
71
+ ),
72
+ };
@@ -10,31 +10,39 @@ import type { BonusContent, BonusCountDef, BonusImageDef } from './BonusContent'
10
10
 
11
11
  export interface BonusProps extends BonusContent, UniBlockProps {}
12
12
 
13
- export const Bonus = JSX<BonusProps>((props) => {
14
- const { className = '', title, description, bonusItems, ...rest } = props;
15
-
16
- return (
17
- <BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
13
+ export const Bonus = JSX<BonusProps>(
14
+ ({ className = '', title, description, bonusItems = [], ...rest }) => (
15
+ <BlockWrapper className={className} defaultPadding="p-default" {...rest}>
18
16
  <div className="container">
19
- <Headline title={title} description={description} headlineVersion="M" isPadding={false} />
20
- <div className="flex flex-wrap w-full mt-9">
21
- {bonusItems?.length
17
+ <Headline
18
+ className="mb-xl"
19
+ isPadding={false}
20
+ title={title}
21
+ description={description}
22
+ headlineVersion="M"
23
+ />
24
+ <div className="flex flex-wrap w-full">
25
+ {bonusItems.length > 0
22
26
  ? bonusItems.map((_, i) => (
23
27
  <div
24
28
  key={String(i)}
25
- className="flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0"
29
+ className="flex-grow w-full sm:w-[49%] border border-gray p-m mb-text mx-xs even:mr-0 odd:ml-0 last:odd:mx-0"
26
30
  >
27
- {_?.title ? <Text size="text-h4">{_.title}</Text> : null}
31
+ {_?.title ? (
32
+ <div className="mb-xs last:mb-0">
33
+ <Text size="text-h4">{_.title}</Text>
34
+ </div>
35
+ ) : null}
28
36
  {_?.description ? (
29
- <div className="mt-xs">
37
+ <div className="mb-text last:mb-0">
30
38
  <Paragraph size="text-xl" font="font-light">
31
39
  {_.description}
32
40
  </Paragraph>
33
41
  </div>
34
42
  ) : null}
35
43
 
36
- <div className="flex justify-between items-end mt-3">
37
- {renderButtonsSection(_?.buttons)}
44
+ <div className="flex justify-between items-end">
45
+ <div className="hidden sm:block">{renderButtonsSection(_?.buttons)}</div>
38
46
  {_.bonusItemContent?.bonusType
39
47
  ? renderBonusItemContent(_.bonusItemContent)
40
48
  : null}
@@ -45,31 +53,28 @@ export const Bonus = JSX<BonusProps>((props) => {
45
53
  </div>
46
54
  </div>
47
55
  </BlockWrapper>
48
- );
49
- });
50
-
51
- const renderBonusItemContent = (bonusItemContent: BonusImageDef | BonusCountDef) => (
52
- <div>
53
- {bonusItemContent.bonusType === 'count'
54
- ? renderBonusCount(bonusItemContent as BonusCountDef)
55
- : renderBonusImage(bonusItemContent as BonusImageDef)}
56
- </div>
56
+ ),
57
57
  );
58
58
 
59
+ const renderBonusItemContent = (bonusItemContent: BonusImageDef | BonusCountDef) =>
60
+ bonusItemContent.bonusType === 'count'
61
+ ? renderBonusCount(bonusItemContent as BonusCountDef)
62
+ : renderBonusImage(bonusItemContent as BonusImageDef);
63
+
59
64
  const renderBonusCount = (_: BonusCountDef) => (
60
- <div className="relative -bottom-3 h-auto flex items-end mt-14 shrink-0">
65
+ <div className="w-full pt-default mt-s flex items-end">
61
66
  {_.bonusCount ? (
62
- <span className="font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7">
67
+ <span className="shrink-0 w-1/2 sm:w-auto font-mohave text-title-extra -tracking-[5px] bg-clip-text text-transparent bg-green-to-yellow mt-lg">
63
68
  {_.bonusCount}
64
69
  </span>
65
70
  ) : null}
66
71
  {_.bonusName ? (
67
- <span className="text-h2 bg-clip-text text-transparent bg-green-to-yellow">
68
- {_.bonusName}
69
- </span>
72
+ <div className="w-1/2 sm:w-auto bg-clip-text text-transparent bg-green-to-yellow">
73
+ <Text size="text-h2">{_.bonusName}</Text>
74
+ </div>
70
75
  ) : null}
71
76
  </div>
72
77
  );
73
78
 
74
79
  const renderBonusImage = (_: BonusImageDef) =>
75
- _.image ? <Img className={`w-12 h-12 min-w-12 p-3 rounded-icon`} image={_.image} /> : null;
80
+ _.image ? <Img className="min-w-12 p-xs rounded-icon shrink-0" image={_.image} /> : null;
@@ -1,8 +1,8 @@
1
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockContent } from '../../model/JSXBlock';
4
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
4
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
6
6
 
7
7
  /**
8
8
  * @title Изображение
@@ -32,14 +32,10 @@ export type BonusItemContentDef = EmptyOption | BonusImageDef | BonusCountDef;
32
32
  /**
33
33
  * @title Плитка
34
34
  */
35
- export type BonusItem = HeadlineCommonProps & {
36
- bonusItemContent?: BonusItemContentDef;
37
- /**
38
- * @title Кнопка
39
- * @maxItems 1
40
- */
41
- buttons?: ButtonWithIconProps[];
42
- };
35
+ export type BonusItem = HeadlineCommonProps &
36
+ ButtonsSectionContent & {
37
+ bonusItemContent?: BonusItemContentDef;
38
+ };
43
39
 
44
40
  /**
45
41
  * @title Блок Бонусы
@@ -1,14 +1,13 @@
1
1
  import '../../setup-fixture';
2
-
3
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
2
  import { BusinessBlock } from './BusinessBlock';
5
3
  import type {
6
4
  BusinessBlockContent,
7
5
  BusinessCardItemProps,
8
6
  BusinessCardProps,
9
7
  } from './BusinessBlockContent';
8
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
10
9
 
11
- const button: ButtonWithIconProps = {
10
+ const button: ButtonContent = {
12
11
  href: '#',
13
12
  text: 'Подробнее',
14
13
  target: '_blank',
@@ -1,8 +1,8 @@
1
- import type { ButtonCommonIconProps } from '../../model/Button';
2
1
  import type { TitleProps } from '../../model/HeadlineType';
3
2
  import type { UniBlockContent } from '../../model/JSXBlock';
4
3
  import type { IconProps } from '../../model/Picture';
5
4
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
6
6
 
7
7
  export type BusinessCardItemProps = IconProps & {
8
8
  /** @title Текст */
@@ -10,10 +10,10 @@ export type BusinessCardItemProps = IconProps & {
10
10
  };
11
11
 
12
12
  export type BusinessCardProps = TitleProps &
13
- ImageContent &
14
- ButtonCommonIconProps & {
13
+ ImageContent & {
15
14
  /** @title Список */
16
15
  cardItems?: BusinessCardItemProps[];
16
+ button?: ButtonContent;
17
17
  };
18
18
 
19
19
  /**
@@ -1,8 +1,8 @@
1
1
  import '../../setup-fixture';
2
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
2
  import { ButtonsBlock } from './ButtonsBlock';
3
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
4
4
 
5
- const buttons: ButtonWithIconProps[] = [
5
+ const buttons: ButtonContent[] = [
6
6
  {
7
7
  href: '/credit-cards',
8
8
  text: 'Оформить',
@@ -1,8 +1,8 @@
1
1
  import '../../setup-fixture';
2
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
2
  import { ButtonsBlock } from './ButtonsBlock';
3
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
4
4
 
5
- const buttons: ButtonWithIconProps[] = [
5
+ const buttons: ButtonContent[] = [
6
6
  {
7
7
  href: '/credit-cards',
8
8
  text: 'Оформить',
@@ -1,9 +1,9 @@
1
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
1
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
2
 
3
3
  /**
4
4
  * @title Блок кнопок
5
5
  */
6
6
  export interface ButtonsBlockContent {
7
7
  /** @title Кнопки */
8
- buttons?: ButtonWithIconProps[];
8
+ buttons?: ButtonContent[];
9
9
  }
@@ -4,13 +4,13 @@ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
4
4
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
5
5
  import type { BusinessDepositCalculatorProps } from './CalculatorContent';
6
6
  import { CalculatorValueBlock } from './CalculatorValueBlock';
7
- import { BUSINESS_DEFAULT_DAYS, BUSINESS_DEFAULT_SUM } from './constants';
8
7
  import { Rate } from './Rate';
8
+ import { UnknownRate } from './UnknownRate';
9
+ import { BUSINESS_DEFAULT_DAYS, BUSINESS_DEFAULT_SUM } from './constants';
9
10
  import { renderDaysInput } from './renderDaysInput';
10
11
  import { renderFootnote } from './renderFootnote';
11
12
  import { renderInterestPayment } from './renderInterestPayment';
12
13
  import { renderWantedSumInput } from './renderWantedSumInput';
13
- import { UnknownRate } from './UnknownRate';
14
14
  import {
15
15
  BusinessDepositCalculatorParams,
16
16
  useBusinessDepositCalculatorParams,
@@ -39,20 +39,20 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
39
39
  <div className="flex justify-between">
40
40
  <div className="w-2/5">
41
41
  {renderWantedSumInput({
42
- title: 'Сумма вклада, ₽',
42
+ title: 'Сумма, ₽',
43
43
  min: calculatorParams.minSum,
44
44
  max: calculatorParams.maxSum,
45
45
  ...field('moneyValue'),
46
46
  value: calculatorParams.moneyValue,
47
47
  })}
48
48
  {renderDaysInput({
49
- title: 'Срок вклада, дни',
49
+ title: 'Срок, дней',
50
50
  min: calculatorParams.minDays,
51
51
  max: calculatorParams.maxDays,
52
52
  ...field('daysValue'),
53
53
  value: calculatorParams.daysValue,
54
54
  })}
55
- <div className="mt-7 flex justify-between">
55
+ <div className="mt-2xl flex justify-between">
56
56
  {renderBusinessDepositParamsForm(calculatorParams, field)}
57
57
  {renderInterestPayment({
58
58
  title: 'Выплата процентов',
@@ -74,10 +74,15 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
74
74
  )}
75
75
 
76
76
  <div className="w-96">
77
- <CalculatorValueBlock title="Доход по вкладу" value={income} postfix="₽" prefix="+" />
77
+ <CalculatorValueBlock
78
+ title="Доход в конце срока"
79
+ value={income}
80
+ postfix="₽"
81
+ prefix="+"
82
+ />
78
83
  <CalculatorValueBlock title="Сумма в конце срока" value={finalSum} postfix="₽" />
79
- {renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
80
- <div className="mt-7">{renderFootnote(footnote)}</div>
84
+ {renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true })}
85
+ <div className="mt-2xl">{renderFootnote(footnote)}</div>
81
86
  </div>
82
87
  </div>
83
88
  <div className="mt-5">{renderFootnote(bottomFootnote)}</div>
@@ -106,7 +111,7 @@ const renderBusinessDepositParamsForm = (
106
111
  />
107
112
  <Checkbox
108
113
  className="mt-3"
109
- text="Являюсь малым предприятием"
114
+ text="ИП / малое предприятие"
110
115
  {...field('isSmallBusiness')}
111
116
  value={calculatorParams.isSmallBusiness}
112
117
  />
@@ -1,7 +1,7 @@
1
1
  import '../../setup-fixture';
2
2
 
3
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
3
  import { Calculator } from './Calculator';
4
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
5
5
  import type {
6
6
  BonusCalculatorParamsDef,
7
7
  BusinessDepositCalculatorParamsDef,
@@ -10,7 +10,7 @@ import type {
10
10
  RefinancingCalculatorParamsDef,
11
11
  } from './CalculatorContent';
12
12
 
13
- const buttons: ButtonWithIconProps[] = [
13
+ const buttons: ButtonContent[] = [
14
14
  {
15
15
  href: 'https://rshb.ru',
16
16
  text: 'Отправить заявку',
@@ -2,10 +2,10 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { Footnote } from '../../model/Footnote';
3
3
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
4
4
  import type { IconProps } from '../../model/Picture';
5
- import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
6
6
 
7
7
  export type CommonCalculatorProps = Footnote &
8
- ButtonContent & {
8
+ ButtonsSectionContent & {
9
9
  /** @title Адрес справочника */
10
10
  sourceBookDir?: string;
11
11
  };