@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
@@ -1,17 +1,18 @@
1
1
  /// <reference types="react" />
2
- import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
2
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
3
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
4
4
  import { type TableInnerButtonProps } from '../../ui-kit/InnerTable/InnerTableButton';
5
5
  import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
6
6
  import type { ListProps } from '../../ui-kit/List/ListProps';
7
7
  import type { LabelDescriptionCell } from './TariffsTableContent';
8
+ import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
8
9
  export declare type EmbeddableCellDataType = LabelDescriptionCell | ButtonContent | ImageContent | ListProps | TableInnerButtonProps;
9
10
  interface TableCellDataProps extends TableInnerButtonProps {
10
11
  isVisible?: boolean;
11
12
  displayTable: (props: TariffsTableInnerContent) => void;
12
13
  }
13
14
  export declare const EmbeddableCellData: {
14
- Buttons: ({ buttons }: ButtonContent) => JSX.Element | null;
15
+ Buttons: ({ buttons }: ButtonsSectionContent) => JSX.Element | null;
15
16
  Img: ({ image }: ImageContent) => JSX.Element | null;
16
17
  List: ({ isDotted, ...rest }: ListProps) => JSX.Element;
17
18
  LabelDescription: ({ label, description }: LabelDescriptionCell) => JSX.Element;
@@ -1,11 +1,12 @@
1
1
  /// <reference types="react" />
2
- import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
2
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
3
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
4
4
  import type { ListProps } from '../../ui-kit/List/ListProps';
5
5
  import type { LabelDescriptionCell } from './TariffsTableContent';
6
+ import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
6
7
  export declare type EmbeddableCellDataType = ButtonContent | LabelDescriptionCell | ImageContent | ListProps;
7
8
  export declare const EmbeddableCellData: {
8
- Buttons: ({ buttons }: ButtonContent) => JSX.Element | null;
9
+ Buttons: ({ buttons }: ButtonsSectionContent) => JSX.Element | null;
9
10
  Img: ({ image }: ImageContent) => JSX.Element | null;
10
11
  List: ({ isDotted, ...rest }: ListProps) => JSX.Element;
11
12
  LabelDescription: ({ label, description }: LabelDescriptionCell) => JSX.Element;
@@ -3,10 +3,10 @@ import type { DescriptionProps, LabelProps, TitleProps } from '../../model/Headl
3
3
  import type { UniBlockContent, UniBlockProps } from '../../model/JSXBlock';
4
4
  import type { ListOrientation } from '../../model/ListOrientation';
5
5
  import type { IconProps } from '../../model/Picture';
6
- import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
7
6
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
8
7
  import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
9
8
  import type { ListProps } from '../../ui-kit/List/ListProps';
9
+ import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -49,7 +49,7 @@ export declare type ImageCellDef = ImageContent & {
49
49
  /**
50
50
  * @title Кнопки
51
51
  */
52
- export declare type ButtonsCellDef = ButtonContent & {
52
+ export declare type ButtonsCellDef = ButtonsSectionContent & {
53
53
  /** @default Buttons */
54
54
  tableCellType: 'Buttons';
55
55
  };
@@ -0,0 +1,10 @@
1
+ export declare function useList<T>(initialList?: T[]): [
2
+ T[],
3
+ {
4
+ setList: (_: T[]) => void;
5
+ push: (item: T) => void;
6
+ pop: () => void;
7
+ remove: (item: T) => void;
8
+ clear: () => void;
9
+ }
10
+ ];
@@ -3,4 +3,4 @@ export interface RegionData {
3
3
  code?: string;
4
4
  name?: string;
5
5
  }
6
- export declare function useLocation(defaultLocation?: string): [RegionData, (newLocation: RegionData) => void];
6
+ export declare function useLocation(defaultLocation?: string): [RegionData, (_: RegionData) => void];
@@ -1,2 +1,2 @@
1
1
  import type { Fallback } from '../model/Fallback';
2
- export declare function useSWRResource<Data>(filename: string, fallback?: Fallback): Data;
2
+ export declare function useSWRResource<Data>(filename: string | null | undefined, fallback?: Fallback): Data;
@@ -0,0 +1,7 @@
1
+ export interface RegionProps {
2
+ name?: string;
3
+ href?: string;
4
+ }
5
+ export interface RegionsGrantSupportData {
6
+ regions?: RegionProps[];
7
+ }
@@ -0,0 +1,3 @@
1
+ import type { Fallback } from '../../model/Fallback';
2
+ import type { SitemapData } from './SitemapData';
3
+ export declare const useSitemap: (fallback?: Fallback) => SitemapData;
@@ -1,12 +1,12 @@
1
1
  import type { Align } from '../../model/Align';
2
2
  import type { BulletsProps } from '../../model/Bullets';
3
3
  import type { HeadlineProps } from '../../model/HeadlineType';
4
- import type { ButtonContent } from '../Button/ButtonProps';
5
4
  import type { ImageContent } from '../Img/ImgProps';
6
5
  import type { ListContent } from '../List/ListContent';
7
6
  import type { RichTextProps } from '../RichText/RichTextProps';
8
7
  import type { TagsContent } from '../Tags/TagsContent';
9
8
  import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
9
+ import type { ButtonsSectionContent } from '../Button/ButtonsSectionContent';
10
10
  /** @title Доп. настройки картинки */
11
11
  export interface TileImageOptions {
12
12
  /** @title Картинка справа/текст слева */
@@ -16,7 +16,7 @@ export interface TileImageOptions {
16
16
  /** @title Фоновое изображение */
17
17
  isBackground?: boolean;
18
18
  }
19
- export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonContent & ImageContent & {
19
+ export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & {
20
20
  /** @title Лейбл (моб.) */
21
21
  label?: string;
22
22
  imageOptions?: TileImageOptions;
@@ -1,2 +1,2 @@
1
- import type { ButtonWithIconProps } from './ButtonProps';
2
- export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonWithIconProps, any, any>;
1
+ import type { ButtonProps } from './ButtonProps';
2
+ export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
@@ -0,0 +1,19 @@
1
+ import type { ButtonVersion } from '../../model/ButtonVersion';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
+ import type { Picture } from '../../model/Picture';
4
+ export interface ButtonCommonContent extends LinkProps {
5
+ version?: ButtonVersion;
6
+ }
7
+ /**
8
+ * @title Кнопка
9
+ */
10
+ export interface ButtonContent extends ButtonCommonContent {
11
+ /** @title Закругленные углы */
12
+ rounded?: boolean;
13
+ /** @title Иконка слева */
14
+ icon?: Picture;
15
+ /** @title Иконка справа */
16
+ iconRight?: Picture;
17
+ /** @title Верхний текст */
18
+ aboveText?: string;
19
+ }
@@ -1,7 +1,2 @@
1
- import type { ButtonVersion } from '../../model/ButtonVersion';
2
- import type { ButtonWithIconProps } from './ButtonProps';
3
- interface ButtonInnerProps extends ButtonWithIconProps {
4
- version?: ButtonVersion;
5
- }
6
- export declare const ButtonInner: import("@redneckz/uni-jsx").UNIComponent<ButtonInnerProps, any, any>;
7
- export {};
1
+ import type { ButtonProps } from './ButtonProps';
2
+ export declare const ButtonInner: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
@@ -1,55 +1,15 @@
1
- import type { ButtonVersion } from '../../model/ButtonVersion';
2
- import type { LinkProps } from '../../model/LinkProps';
3
- import type { IconProps, Picture } from '../../model/Picture';
4
1
  import type { VNode } from '../../model/VNode';
5
2
  import type { PreventableEvent } from '../PreventableEvent';
3
+ import type { ButtonContent } from './ButtonContent';
6
4
  /**
7
- * @hidden
5
+ * @title Кнопка
8
6
  */
9
- export interface ButtonAdditionalProps {
7
+ export interface ButtonProps extends ButtonContent {
10
8
  className?: string;
11
9
  disabled?: boolean;
12
10
  rel?: string;
13
11
  ariaLabel?: string;
14
- onClick?: (ev?: PreventableEvent) => void;
15
- }
16
- /**
17
- * @title Кнопка
18
- */
19
- export interface ButtonProps extends ButtonAdditionalProps, LinkProps {
20
- /** @title Текст */
21
- text?: string;
22
- /** @title Закругленные углы */
23
- rounded?: boolean;
24
- version?: ButtonVersion;
25
- }
26
- /**
27
- * @title Кнопка
28
- */
29
- export interface ButtonWithIconProps extends ButtonProps {
30
- /** @title Иконка слева */
31
- icon?: Picture;
32
- /** @title Иконка справа */
33
- iconRight?: Picture;
34
- /** @title Верхний текст */
35
- aboveText?: string;
36
- /** @hidden */
37
12
  appendLeft?: VNode;
38
- /** @hidden */
39
13
  appendRight?: VNode;
14
+ onClick?: (ev?: PreventableEvent) => void;
40
15
  }
41
- export interface ButtonContent {
42
- /**
43
- * @title Кнопки
44
- * @maxItems 4
45
- */
46
- buttons?: ButtonWithIconProps[];
47
- }
48
- export declare type BackwardButtonProps = ButtonProps & IconProps & {
49
- /** @title Верхний текст */
50
- aboveText?: string;
51
- /** @hidden */
52
- appendLeft?: VNode;
53
- /** @title Закругленные углы */
54
- rounded?: boolean;
55
- };
@@ -0,0 +1,7 @@
1
+ import type { ButtonContent } from './ButtonContent';
2
+ export interface ButtonsSectionContent {
3
+ /**
4
+ * @title Кнопки
5
+ */
6
+ buttons?: ButtonContent[];
7
+ }
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import type { ButtonWithIconProps } from './ButtonProps';
2
+ import type { ButtonContent } from './ButtonContent';
3
3
  interface ButtonsSectionOptions {
4
4
  className?: string;
5
5
  buttonClassName?: string;
6
6
  isVertical?: boolean;
7
7
  }
8
- export declare const renderButtonsSection: (buttons?: (ButtonWithIconProps | undefined)[], { className, buttonClassName, isVertical }?: ButtonsSectionOptions) => JSX.Element | null;
8
+ export declare const renderButtonsSection: (buttons?: (ButtonContent | undefined)[], { className, buttonClassName, isVertical }?: ButtonsSectionOptions) => JSX.Element | null;
9
9
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { PreventableEvent } from '../PreventableEvent';
2
2
  interface CloseButtonProps {
3
3
  className?: string;
4
- onClick?: (ev: PreventableEvent) => void;
4
+ onClose?: (ev: PreventableEvent) => void;
5
5
  }
6
6
  export declare const CloseButton: import("@redneckz/uni-jsx").UNIComponent<CloseButtonProps, any, any>;
7
7
  export {};
@@ -1,7 +1,6 @@
1
1
  import type { VNode } from '../../model/VNode';
2
2
  export interface DialogProps {
3
3
  className?: string;
4
- isOpened?: boolean;
5
4
  head?: VNode;
6
5
  onClose?: () => void;
7
6
  }
@@ -0,0 +1,12 @@
1
+ import type { VNode } from '../../model/VNode';
2
+ export declare type DialogAction = DialogOpenAction | DialogCloseAction;
3
+ export interface DialogOpenAction {
4
+ type: 'open';
5
+ id?: string;
6
+ dialog: VNode;
7
+ onClose?: () => void;
8
+ }
9
+ export interface DialogCloseAction {
10
+ type: 'close';
11
+ all?: boolean;
12
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const DialogManager: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element | null>;
@@ -0,0 +1,10 @@
1
+ import type { VNode } from '../../model/VNode';
2
+ export interface DialogOptions {
3
+ id?: string;
4
+ onClose?: () => void;
5
+ }
6
+ export declare const useDialogManager: () => {
7
+ open: (dialog: VNode, options?: DialogOptions) => void;
8
+ close: () => void;
9
+ closeAll: () => void;
10
+ };
@@ -1,3 +1,2 @@
1
- import type { LocationDialogProps } from './LocationDialogProps';
2
- export declare const LOCATION_DIALOG_ID = "location";
3
- export declare const LocationDialog: import("@redneckz/uni-jsx").UNIComponent<LocationDialogProps, any, any>;
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ export declare const LocationDialog: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { ForeignOffice } from '../../services/sitemap/SitemapData';
3
+ export declare const renderForeignOffices: (foreignOffices: ForeignOffice[] | undefined) => JSX.Element | null;
4
+ declare const ForeignOffice: import("@redneckz/uni-jsx").UNIComponent<ForeignOffice, any, any>;
5
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { Region } from '../../hooks/useRegions';
3
+ export declare const renderRegion: (onChangeLocation?: ((region: Region) => void) | undefined) => (region: Region) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { Region } from '../../hooks/useRegions';
3
+ export declare const renderRegionGroup: (onChangeLocation?: ((region: Region) => void) | undefined) => ([letter, regions]: [string, Region[]]) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { DialogOptions } from '../DialogManager/useDialogManager';
2
+ export declare const useLocationDialog: () => {
3
+ open: (options?: DialogOptions) => void;
4
+ close: () => void;
5
+ };
@@ -1,6 +1,4 @@
1
- import type { TopMenuItemProps } from '../../services/sitemap/SitemapData';
2
1
  export interface SearchDialogProps {
3
- topItems?: TopMenuItemProps[];
2
+ initialQuery?: string;
4
3
  }
5
- export declare const SEARCH_DIALOG_ID = "search";
6
4
  export declare const SearchDialog: import("@redneckz/uni-jsx").UNIComponent<SearchDialogProps, any, any>;
@@ -0,0 +1,6 @@
1
+ import { DialogOptions } from '../DialogManager/useDialogManager';
2
+ import { SearchDialogProps } from './SearchDialog';
3
+ export declare const useSearchDialog: () => {
4
+ open: (props?: SearchDialogProps, options?: DialogOptions) => void;
5
+ close: () => void;
6
+ };
@@ -1,9 +1,11 @@
1
1
  import type { TabActivationEvent } from '../components/Tabs/TabActivationEvent';
2
- import type { DialogAction } from '../ui-kit/Dialog/DialogAction';
2
+ import { RegionData } from '../hooks/useLocation';
3
+ import type { DialogAction } from '../ui-kit/DialogManager/DialogAction';
3
4
  import { EventBus } from './EventBus';
4
5
  interface GlobalEventMap {
5
- tab: TabActivationEvent;
6
+ location: RegionData;
6
7
  dialog: DialogAction;
8
+ tab: TabActivationEvent;
7
9
  }
8
10
  export declare const defaultEventBus: EventBus<GlobalEventMap>;
9
11
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"defaultEventBus.js","sourceRoot":"","sources":["../../src/EventBus/defaultEventBus.ts"],"names":[],"mappings":";;AAEA,yCAAsC;AAOzB,QAAA,eAAe,GAAG,IAAI,mBAAQ,EAAkB,CAAC"}
1
+ {"version":3,"file":"defaultEventBus.js","sourceRoot":"","sources":["../../src/EventBus/defaultEventBus.ts"],"names":[],"mappings":";;AAGA,yCAAsC;AAQzB,QAAA,eAAe,GAAG,IAAI,mBAAQ,EAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { EventBus } from './EventBus';
2
+ export declare const useLatestEvent: <EM extends Record<string, any>, K extends keyof EM>(eventBus: EventBus<EM>, type: K, initialEvent?: EM[K] | undefined) => [EM[K] | null, (_: EM[K]) => void];
@@ -0,0 +1,11 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.useLatestEvent = void 0;
3
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
4
+ const useLatestEvent = (eventBus, type, initialEvent) => {
5
+ const [latestEvent, setLatestEvent] = (0, hooks_1.useState)(initialEvent || null);
6
+ (0, hooks_1.useEffect)(() => eventBus.subscribe(type, (_) => setLatestEvent(_)), [eventBus, type]);
7
+ const fireEvent = (0, hooks_1.useCallback)((_) => eventBus.fire(type, _), [eventBus, type]);
8
+ return [latestEvent, fireEvent];
9
+ };
10
+ exports.useLatestEvent = useLatestEvent;
11
+ //# sourceMappingURL=useLatestEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLatestEvent.js","sourceRoot":"","sources":["../../src/EventBus/useLatestEvent.ts"],"names":[],"mappings":";;AAAA,uDAA+E;AAGxE,MAAM,cAAc,GAAG,CAC5B,QAAsB,EACtB,IAAO,EACP,YAAoB,EACgB,EAAE;IACtC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAe,YAAY,IAAI,IAAI,CAAC,CAAC;IAEnF,IAAA,iBAAS,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;IAEtF,MAAM,SAAS,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;IAEtF,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;AAClC,CAAC,CAAC;AAZW,QAAA,cAAc,kBAYzB"}
@@ -6,28 +6,30 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const CorporateLeadAPI_1 = require("../../api/CorporateLeadAPI");
7
7
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
8
  const Heading_1 = require("../../ui-kit/Heading/Heading");
9
- const ApplicationFormAcquiring_1 = require("./ApplicationFormAcquiring");
10
- const ApplicationFormBusinessCard_1 = require("./ApplicationFormBusinessCard");
11
- const ApplicationFormCredit_1 = require("./ApplicationFormCredit");
12
- const ApplicationFormDeposit_1 = require("./ApplicationFormDeposit");
13
- const ApplicationFormWed_1 = require("./ApplicationFormWed");
9
+ const EmbeddableForms_1 = require("./EmbeddableForms");
14
10
  const ResponseNotification_1 = require("./ResponseNotification");
15
- const COMPONENTS_MAP = {
16
- credit: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormCredit_1.ApplicationFormCredit, { ...props }),
17
- acquiring: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormAcquiring_1.ApplicationFormAcquiring, { ...props }),
18
- 'business-card': (props) => (0, jsx_runtime_1.jsx)(ApplicationFormBusinessCard_1.ApplicationFormBusinessCard, { ...props }),
19
- deposit: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormDeposit_1.ApplicationFormDeposit, { ...props }),
20
- wed: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormWed_1.ApplicationFormWed, { ...props }),
21
- };
22
11
  const API = (0, CorporateLeadAPI_1.CorporateLeadAPI)();
23
12
  exports.ApplicationForm = (0, uni_jsx_1.JSX)((props) => {
24
- const { className, title, typeForm = 'credit', button, link, ...rest } = props;
13
+ const { className, formBlock, ...rest } = props;
14
+ // const type = formBlock?.formType;
15
+ // if (!type || !(type in EmbeddableForms)) {
16
+ // return null;
17
+ // }
18
+ // const EmbeddedForm = EmbeddableForms[type];
25
19
  const [responseType, setResponseType] = (0, hooks_1.useState)('');
26
20
  const handleSubmit = (0, hooks_1.useCallback)(async (data) => {
27
21
  const status = (await API.send(data)) ? 'OK' : 'Fail';
28
22
  setResponseType(status);
29
23
  return status;
30
24
  }, []);
31
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responseType: responseType }) : null] }) }));
25
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [formBlock?.title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: formBlock.title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, formBlock ? renderEmbeddedForm(formBlock, handleSubmit) : null, responseType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responseType: responseType }) : null] }) }));
32
26
  });
27
+ const renderEmbeddedForm = (formBlock, handleSubmit) => {
28
+ const type = formBlock?.formType;
29
+ if (!type || !(type in EmbeddableForms_1.EmbeddableForms)) {
30
+ return null;
31
+ }
32
+ const EmbeddedForm = EmbeddableForms_1.EmbeddableForms[type];
33
+ return (0, jsx_runtime_1.jsx)(EmbeddedForm, { ...formBlock, onSubmit: handleSubmit });
34
+ };
33
35
  //# sourceMappingURL=ApplicationForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iEAA8D;AAE9D,4DAAyD;AACzD,0DAAuD;AACvD,yEAAsE;AACtE,+EAA4E;AAE5E,mEAAgE;AAChE,qEAAkE;AAElE,6DAA0D;AAC1D,iEAA8D;AAI9D,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,6CAAqB,OAAK,KAAK,GAAI;IAC9E,SAAS,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,mDAAwB,OAAK,KAAK,GAAI;IACpF,eAAe,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,yDAA2B,OAAK,KAAK,GAAI;IAC7F,OAAO,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,+CAAsB,OAAK,KAAK,GAAI;IAChF,GAAG,EAAE,CAAC,KAA4B,EAAE,EAAE,CAAC,uBAAC,uCAAkB,OAAK,KAAK,GAAI;CACzE,CAAC;AAEF,MAAM,GAAG,GAAG,IAAA,mCAAgB,GAAE,CAAC;AAElB,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/E,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAqB,EAAE,CAAC,CAAC;IAEzE,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,KAAK,EAAE,IAA4B,EAAE,EAAE;QACtE,MAAM,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;QACtD,eAAe,CAAC,MAAM,CAAC,CAAC;QAExB,OAAO,MAAM,CAAC;IAChB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,YACjE,iCAAK,SAAS,EAAC,yBAAyB,aACrC,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,6BAA6B,GAAG,CACnF,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,EAClE,YAAY,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,YAAY,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI,IACvE,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ApplicationForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iEAA8D;AAE9D,4DAAyD;AACzD,0DAAuD;AAEvD,uDAAoD;AACpD,iEAA8D;AAI9D,MAAM,GAAG,GAAG,IAAA,mCAAgB,GAAE,CAAC;AAElB,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhD,oCAAoC;IACpC,6CAA6C;IAC7C,iBAAiB;IACjB,IAAI;IACJ,8CAA8C;IAE9C,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAqB,EAAE,CAAC,CAAC;IAEzE,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,KAAK,EAAE,IAA4B,EAAE,EAAE;QACtE,MAAM,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;QACtD,eAAe,CAAC,MAAM,CAAC,CAAC;QAExB,OAAO,MAAM,CAAC;IAChB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,YACjE,iCAAK,SAAS,EAAC,yBAAyB,aACrC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,CAClB,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,KAAK,EAAE,SAAS,CAAC,KAAK,EACtB,SAAS,EAAC,6BAA6B,GACvC,CACH,CAAC,CAAC,CAAC,IAAI,EAEP,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,EAE9D,YAAY,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,YAAY,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI,IACvE,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CACzB,SAAkC,EAClC,YAAsE,EACtE,EAAE;IACF,MAAM,IAAI,GAAG,SAAS,EAAE,QAAQ,CAAC;IACjC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,iCAAe,CAAC,EAAE;QACvC,OAAO,IAAI,CAAC;KACb;IACD,MAAM,YAAY,GAAG,iCAAe,CAAC,IAAI,CAAC,CAAC;IAE3C,OAAO,uBAAC,YAAY,OAAK,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI,CAAC;AACjE,CAAC,CAAC"}
@@ -2,25 +2,71 @@ 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
  * @title Кнопка
8
8
  */
9
- export interface SubmitButtonProps extends ButtonAdditionalProps {
9
+ export interface SubmitButtonProps extends ButtonContent {
10
10
  /** @title Текст */
11
11
  text?: string;
12
12
  version?: ButtonVersion;
13
13
  }
14
+ export declare type CommonApplicationFormProps = TitleProps & {
15
+ button?: SubmitButtonProps;
16
+ /** @title Условия передачи данных */
17
+ link?: LinkProps;
18
+ };
19
+ export declare type ApplicationFormBlockDef = BusinessCardFormParamsDef | WedFormParamsDef | DepositFormParamsDef | CreditFormParamsDef | AcquiringFormParamsDef | GrantSupportFormParamsDef;
20
+ /**
21
+ * @title Бизнес-карта
22
+ * @default {"formType": "ApplicationFormBusinessCard"}
23
+ */
24
+ export declare type BusinessCardFormParamsDef = CommonApplicationFormProps & {
25
+ formType: 'ApplicationFormBusinessCard';
26
+ };
27
+ /**
28
+ * @title ВЭД
29
+ * @default {"formType": "ApplicationFormWed"}
30
+ */
31
+ export declare type WedFormParamsDef = CommonApplicationFormProps & {
32
+ formType: 'ApplicationFormWed';
33
+ };
34
+ /**
35
+ * @title Депозит
36
+ * @default {"formType": "ApplicationFormDeposit"}
37
+ */
38
+ export declare type DepositFormParamsDef = CommonApplicationFormProps & {
39
+ formType: 'ApplicationFormDeposit';
40
+ };
41
+ /**
42
+ * @title Кредит
43
+ * @default {"formType": "ApplicationFormCredit"}
44
+ */
45
+ export declare type CreditFormParamsDef = CommonApplicationFormProps & {
46
+ formType: 'ApplicationFormCredit';
47
+ };
48
+ /**
49
+ * @title Эквайринг
50
+ * @default {"formType": "ApplicationFormAcquiring"}
51
+ */
52
+ export declare type AcquiringFormParamsDef = CommonApplicationFormProps & {
53
+ formType: 'ApplicationFormAcquiring';
54
+ };
55
+ /**
56
+ * @title Грантовая поддержка
57
+ * @default {"formType": "ApplicationFormGrantSupport"}
58
+ */
59
+ export declare type GrantSupportFormParamsDef = CommonApplicationFormProps & {
60
+ formType: 'ApplicationFormGrantSupport';
61
+ /** @title Адрес справочника */
62
+ sourceBookDir?: string;
63
+ };
14
64
  /**
15
65
  * @title Форма заявки
16
66
  */
17
- export declare type ApplicationFormContent = UniBlockContent & TitleProps & {
67
+ export declare type ApplicationFormContent = UniBlockContent & {
18
68
  /**
19
69
  * @title Вид заявки
20
- * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
21
70
  */
22
- typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
23
- button?: SubmitButtonProps;
24
- /** @title Условия передачи данных */
25
- link?: LinkProps;
71
+ formBlock?: ApplicationFormBlockDef;
26
72
  };
@@ -0,0 +1,2 @@
1
+ import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
+ export declare const ApplicationFormGrantSupport: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -0,0 +1,22 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.ApplicationFormGrantSupport = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const useSWRResource_1 = require("../../hooks/useSWRResource");
7
+ const Button_1 = require("../../ui-kit/Button/Button");
8
+ const getRegularButtonClasses_1 = require("../../ui-kit/Button/getRegularButtonClasses");
9
+ const style_1 = require("../../utils/style");
10
+ const SelectControl_1 = require("./SelectControl");
11
+ exports.ApplicationFormGrantSupport = (0, uni_jsx_1.JSX)((props) => {
12
+ const { button, sourceBookDir } = props;
13
+ const { regions } = (0, useSWRResource_1.useSWRResource)(sourceBookDir || 'regions-grant-support');
14
+ const [region, setRegion] = (0, hooks_1.useState)({ key: '' });
15
+ const buttonStyle = (0, getRegularButtonClasses_1.getRegularButtonClasses)({
16
+ className: 'text-white',
17
+ version: button?.version,
18
+ });
19
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
20
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "container space-y-s sm:space-y-lg", children: [regions ? ((0, jsx_runtime_1.jsx)(SelectControl_1.SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ name = '' }) => ({ key: name })), value: region, onChange: setRegion })) : null, regionHref ? ((0, jsx_runtime_1.jsx)("div", { className: "text-center", children: (0, jsx_runtime_1.jsx)(Button_1.Button, { href: regionHref, target: "_blank", className: (0, style_1.style)('p-4 w-full sm:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
21
+ });
22
+ //# sourceMappingURL=ApplicationFormGrantSupport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationFormGrantSupport.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormGrantSupport.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,+DAA4D;AAE5D,uDAAoD;AACpD,yFAAsF;AACtF,6CAA0C;AAE1C,mDAAgD;AAEnC,QAAA,2BAA2B,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAExC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,+BAAc,EAChC,aAAa,IAAI,uBAAuB,CACzC,CAAC;IAEF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAElD,MAAM,WAAW,GAAG,IAAA,iDAAuB,EAAC;QAC1C,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,MAAM,EAAE,OAAO;KACzB,CAAC,CAAC;IAEH,MAAM,UAAU,GAAG,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC;IAErE,OAAO,CACL,iCAAK,SAAS,EAAC,mCAAmC,aAC/C,OAAO,CAAC,CAAC,CAAC,CACT,uBAAC,6BAAa,IACZ,KAAK,EAAC,yDAAY,EAClB,WAAW,EAAC,uFAAiB,EAC7B,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EACxD,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,SAAS,GACnB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,aAAa,YAC1B,uBAAC,eAAM,IACL,IAAI,EAAE,UAAU,EAChB,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,IAAA,aAAK,EAAC,sBAAsB,EAAE,WAAW,CAAC,YAEpD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,GAChC,GACL,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -3,5 +3,6 @@ import type { SubmitButtonProps } from './ApplicationFormContent';
3
3
  export interface ApplicationFormsProps<S extends Record<string, any> = Record<string, any>> {
4
4
  button?: SubmitButtonProps;
5
5
  link?: LinkProps;
6
+ sourceBookDir?: string;
6
7
  onSubmit: (data: S) => void;
7
8
  }
@@ -0,0 +1,8 @@
1
+ export declare const EmbeddableForms: {
2
+ ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
3
+ ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
4
+ ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
5
+ ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
6
+ ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
7
+ ApplicationFormGrantSupport: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
8
+ };
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.EmbeddableForms = void 0;
3
+ const ApplicationFormAcquiring_1 = require("./ApplicationFormAcquiring");
4
+ const ApplicationFormBusinessCard_1 = require("./ApplicationFormBusinessCard");
5
+ const ApplicationFormCredit_1 = require("./ApplicationFormCredit");
6
+ const ApplicationFormDeposit_1 = require("./ApplicationFormDeposit");
7
+ const ApplicationFormGrantSupport_1 = require("./ApplicationFormGrantSupport");
8
+ const ApplicationFormWed_1 = require("./ApplicationFormWed");
9
+ exports.EmbeddableForms = {
10
+ ApplicationFormBusinessCard: ApplicationFormBusinessCard_1.ApplicationFormBusinessCard,
11
+ ApplicationFormWed: ApplicationFormWed_1.ApplicationFormWed,
12
+ ApplicationFormDeposit: ApplicationFormDeposit_1.ApplicationFormDeposit,
13
+ ApplicationFormCredit: ApplicationFormCredit_1.ApplicationFormCredit,
14
+ ApplicationFormAcquiring: ApplicationFormAcquiring_1.ApplicationFormAcquiring,
15
+ ApplicationFormGrantSupport: ApplicationFormGrantSupport_1.ApplicationFormGrantSupport,
16
+ };
17
+ //# sourceMappingURL=EmbeddableForms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddableForms.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/EmbeddableForms.tsx"],"names":[],"mappings":";;AAAA,yEAAsE;AACtE,+EAA4E;AAC5E,mEAAgE;AAChE,qEAAkE;AAClE,+EAA4E;AAC5E,6DAA0D;AAE7C,QAAA,eAAe,GAAG;IAC7B,2BAA2B,EAA3B,yDAA2B;IAC3B,kBAAkB,EAAlB,uCAAkB;IAClB,sBAAsB,EAAtB,+CAAsB;IACtB,qBAAqB,EAArB,6CAAqB;IACrB,wBAAwB,EAAxB,mDAAwB;IACxB,2BAA2B,EAA3B,yDAA2B;CAC5B,CAAC"}
@@ -8,7 +8,7 @@ const RoundedIcon_1 = require("../../ui-kit/Icon/RoundedIcon");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
9
  const defaultIconSize_1 = require("./defaultIconSize");
10
10
  exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: "text-center", title: title }) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full sm:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] })));
11
- const renderBenefit = (benefit, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-m items-center md:basis-1/2 md:max-w-[400px]", role: "listitem", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize_1.defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? ((0, jsx_runtime_1.jsxs)("div", { className: "sm:h-full", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }), renderDescription(benefit.description)] })) : null] }, String(i)));
11
+ const renderBenefit = (benefit, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-m items-center md:basis-1/2 md:max-w-[500px]", role: "listitem", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize_1.defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? ((0, jsx_runtime_1.jsxs)("div", { className: "sm:h-full", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }), renderDescription(benefit.description)] })) : null] }, String(i)));
12
12
  const renderDescription = (description) => {
13
13
  const benefitType = description?.benefitType || null;
14
14
  return description && benefitType ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'