@redneckz/wildless-cms-uni-blocks 0.12.13 → 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.
- package/bin/migration-scripts/0.12.12.js +30 -0
- package/bundle/EventBus/defaultEventBus.d.ts +4 -2
- package/bundle/EventBus/useLatestEvent.d.ts +2 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +206 -199
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/bundle/components/Bonus/BonusContent.d.ts +2 -7
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/bundle/components/Calculator/CalculatorContent.d.ts +2 -2
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/bundle/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/bundle/components/Footer/FooterProps.d.ts +0 -2
- package/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/bundle/components/Header/HeaderProps.d.ts +0 -4
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/bundle/hooks/useList.d.ts +10 -0
- package/bundle/hooks/useLocation.d.ts +1 -1
- package/bundle/hooks/useSWRResource.d.ts +1 -1
- package/bundle/services/sitemap/useSitemap.d.ts +3 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/bundle/ui-kit/Button/Button.d.ts +2 -2
- package/bundle/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/bundle/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/bundle/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/bundle/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/bundle/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
- package/{dist/ui-kit/Dialog → bundle/ui-kit/DialogManager}/Dialog.d.ts +0 -1
- package/bundle/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/bundle/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/bundle/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/bundle/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/bundle/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/bundle/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/bundle/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/bundle/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/dist/EventBus/defaultEventBus.d.ts +4 -2
- package/dist/EventBus/defaultEventBus.js.map +1 -1
- package/dist/EventBus/useLatestEvent.d.ts +2 -0
- package/dist/EventBus/useLatestEvent.js +11 -0
- package/dist/EventBus/useLatestEvent.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/dist/components/Bonus/BonusContent.d.ts +2 -7
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +3 -3
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +2 -2
- package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/dist/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/dist/components/ContentPage/ContentPage.js +2 -23
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/dist/components/ContentPage/computeAPIFallback.js +10 -27
- package/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/dist/components/Footer/Footer.js +4 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +7 -4
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterProps.d.ts +0 -2
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Header/Header.js +5 -4
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +3 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderProps.d.ts +0 -4
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +10 -9
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/findActiveSubItem.js.map +1 -0
- package/dist/components/Header/isHrefActive.js.map +1 -0
- package/dist/components/Header/isTopItemActive.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/dist/hooks/useLink.js +3 -3
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/hooks/useList.d.ts +10 -0
- package/dist/hooks/useList.js +13 -0
- package/dist/hooks/useList.js.map +1 -0
- package/dist/hooks/useLocation.d.ts +1 -1
- package/dist/hooks/useLocation.js +27 -16
- package/dist/hooks/useLocation.js.map +1 -1
- package/dist/hooks/useSWRResource.d.ts +1 -1
- package/dist/hooks/useSWRResource.js +2 -4
- package/dist/hooks/useSWRResource.js.map +1 -1
- package/dist/services/sitemap/useSitemap.d.ts +3 -0
- package/dist/services/sitemap/useSitemap.js +7 -0
- package/dist/services/sitemap/useSitemap.js.map +1 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +2 -2
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/dist/{model/Button.js → ui-kit/Button/ButtonContent.js} +1 -1
- package/dist/ui-kit/Button/ButtonContent.js.map +1 -0
- package/dist/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/dist/ui-kit/{LocationDialog/LocationDialogProps.js → Button/ButtonsSectionContent.js} +1 -1
- package/dist/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +6 -6
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
- package/dist/ui-kit/{Dialog → DialogManager}/CloseButton.js +1 -1
- package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -0
- package/{lib/ui-kit/Dialog → dist/ui-kit/DialogManager}/Dialog.d.ts +0 -1
- package/dist/ui-kit/DialogManager/Dialog.js +17 -0
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -0
- package/dist/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/dist/ui-kit/DialogManager/DialogAction.js.map +1 -0
- package/dist/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/dist/ui-kit/DialogManager/DialogManager.js +61 -0
- package/dist/ui-kit/DialogManager/DialogManager.js.map +1 -0
- package/dist/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/dist/ui-kit/DialogManager/useDialogManager.js +10 -0
- package/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -0
- package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/dist/ui-kit/LocationDialog/LocationDialog.js +17 -26
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js +15 -0
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
- package/dist/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/dist/ui-kit/LocationDialog/renderRegion.js +8 -0
- package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -0
- package/dist/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/dist/ui-kit/LocationDialog/renderRegionGroup.js +8 -0
- package/dist/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
- package/dist/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/dist/ui-kit/LocationDialog/useLocationDialog.js +14 -0
- package/dist/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBar.js +6 -9
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/dist/ui-kit/SearchDialog/SearchDialog.js +8 -9
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/dist/ui-kit/SearchDialog/useSearchDialog.js +14 -0
- package/dist/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/EventBus/defaultEventBus.d.ts +4 -2
- package/lib/EventBus/defaultEventBus.js.map +1 -1
- package/lib/EventBus/useLatestEvent.d.ts +2 -0
- package/lib/EventBus/useLatestEvent.js +8 -0
- package/lib/EventBus/useLatestEvent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/lib/components/Bonus/BonusContent.d.ts +2 -7
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +3 -3
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +2 -2
- package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/lib/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.js +2 -23
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/lib/components/ContentPage/computeAPIFallback.js +8 -25
- package/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/lib/components/Footer/Footer.js +4 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +7 -4
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterProps.d.ts +0 -2
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Header/Header.js +5 -4
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +3 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderProps.d.ts +0 -4
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +10 -9
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/findActiveSubItem.js.map +1 -0
- package/lib/components/Header/isHrefActive.js.map +1 -0
- package/lib/components/Header/isTopItemActive.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +3 -2
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/lib/hooks/useLink.js +3 -3
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/hooks/useList.d.ts +10 -0
- package/lib/hooks/useList.js +10 -0
- package/lib/hooks/useList.js.map +1 -0
- package/lib/hooks/useLocation.d.ts +1 -1
- package/lib/hooks/useLocation.js +28 -17
- package/lib/hooks/useLocation.js.map +1 -1
- package/lib/hooks/useSWRResource.d.ts +1 -1
- package/lib/hooks/useSWRResource.js +2 -4
- package/lib/hooks/useSWRResource.js.map +1 -1
- package/lib/services/sitemap/useSitemap.d.ts +3 -0
- package/lib/services/sitemap/useSitemap.js +4 -0
- package/lib/services/sitemap/useSitemap.js.map +1 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +2 -2
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/lib/ui-kit/Button/ButtonContent.js +2 -0
- package/lib/ui-kit/Button/ButtonContent.js.map +1 -0
- package/lib/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/lib/ui-kit/Button/ButtonsSectionContent.js +2 -0
- package/lib/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +6 -6
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
- package/lib/ui-kit/{Dialog → DialogManager}/CloseButton.js +1 -1
- package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -0
- package/{bundle/ui-kit/Dialog → lib/ui-kit/DialogManager}/Dialog.d.ts +0 -1
- package/lib/ui-kit/DialogManager/Dialog.js +15 -0
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -0
- package/lib/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/lib/ui-kit/DialogManager/DialogAction.js.map +1 -0
- package/lib/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/lib/ui-kit/DialogManager/DialogManager.js +59 -0
- package/lib/ui-kit/DialogManager/DialogManager.js.map +1 -0
- package/lib/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/lib/ui-kit/DialogManager/useDialogManager.js +7 -0
- package/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -0
- package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/lib/ui-kit/LocationDialog/LocationDialog.js +16 -25
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js +12 -0
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
- package/lib/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/lib/ui-kit/LocationDialog/renderRegion.js +5 -0
- package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -0
- package/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/lib/ui-kit/LocationDialog/renderRegionGroup.js +5 -0
- package/lib/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
- package/lib/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/lib/ui-kit/LocationDialog/useLocationDialog.js +11 -0
- package/lib/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.js +6 -9
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/lib/ui-kit/SearchDialog/SearchDialog.js +7 -8
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/lib/ui-kit/SearchDialog/useSearchDialog.js +11 -0
- package/lib/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/bundle/EventBus/defaultEventBus.d.ts +4 -2
- package/mobile/bundle/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +78 -386
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +2 -7
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +2 -2
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/mobile/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterProps.d.ts +0 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderProps.d.ts +0 -4
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/bundle/hooks/useList.d.ts +10 -0
- package/mobile/bundle/hooks/useLocation.d.ts +1 -1
- package/mobile/bundle/hooks/useSWRResource.d.ts +1 -1
- package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -2
- package/mobile/bundle/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/mobile/bundle/ui-kit/{Dialog → DialogManager}/CloseButton.d.ts +1 -1
- package/mobile/bundle/ui-kit/{Dialog → DialogManager}/Dialog.d.ts +0 -1
- package/mobile/bundle/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/mobile/bundle/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/mobile/bundle/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/mobile/bundle/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/mobile/bundle/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/mobile/bundle/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/mobile/bundle/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/mobile/bundle/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/mobile/dist/EventBus/defaultEventBus.d.ts +4 -2
- package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/dist/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/dist/EventBus/useLatestEvent.js +11 -0
- package/mobile/dist/EventBus/useLatestEvent.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -7
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +3 -3
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -2
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -23
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/mobile/dist/components/ContentPage/computeAPIFallback.js +10 -27
- package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/dist/components/Footer/Footer.js +7 -4
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterProps.d.ts +0 -2
- package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Header/Header.js +3 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderProps.d.ts +0 -4
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +10 -9
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/findActiveSubItem.js.map +1 -0
- package/mobile/dist/components/Header/isHrefActive.js.map +1 -0
- package/mobile/dist/components/Header/isTopItemActive.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/dist/hooks/useLink.js +3 -3
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/hooks/useList.d.ts +10 -0
- package/mobile/dist/hooks/useList.js +13 -0
- package/mobile/dist/hooks/useList.js.map +1 -0
- package/mobile/dist/hooks/useLocation.d.ts +1 -1
- package/mobile/dist/hooks/useLocation.js +27 -16
- package/mobile/dist/hooks/useLocation.js.map +1 -1
- package/mobile/dist/hooks/useSWRResource.d.ts +1 -1
- package/mobile/dist/hooks/useSWRResource.js +2 -4
- package/mobile/dist/hooks/useSWRResource.js.map +1 -1
- package/mobile/dist/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/dist/services/sitemap/useSitemap.js +7 -0
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/mobile/dist/{model/Button.js → ui-kit/Button/ButtonContent.js} +1 -1
- package/mobile/dist/ui-kit/Button/ButtonContent.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js +2 -0
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +6 -6
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/CloseButton.d.ts +7 -0
- package/mobile/dist/ui-kit/{Dialog → DialogManager}/CloseButton.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -0
- package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +7 -0
- package/mobile/dist/ui-kit/DialogManager/Dialog.js +17 -0
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -0
- package/mobile/dist/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/mobile/dist/ui-kit/DialogManager/DialogAction.js.map +1 -0
- package/mobile/dist/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/mobile/dist/ui-kit/DialogManager/DialogManager.js +61 -0
- package/mobile/dist/ui-kit/DialogManager/DialogManager.js.map +1 -0
- package/mobile/dist/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/mobile/dist/ui-kit/DialogManager/useDialogManager.js +10 -0
- package/mobile/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +17 -26
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +15 -0
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +8 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.js +8 -0
- package/mobile/dist/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.js +14 -0
- package/mobile/dist/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +6 -9
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +8 -9
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.js +14 -0
- package/mobile/dist/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/EventBus/defaultEventBus.d.ts +4 -2
- package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/lib/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/lib/EventBus/useLatestEvent.js +8 -0
- package/mobile/lib/EventBus/useLatestEvent.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -7
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +3 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +3 -3
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -2
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +3 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +3 -2
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.d.ts +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +4 -9
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -23
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/mobile/lib/components/ContentPage/computeAPIFallback.js +8 -25
- package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/lib/components/Footer/Footer.js +7 -4
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterProps.d.ts +0 -2
- package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/lib/components/Header/Header.js +3 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderProps.d.ts +0 -4
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +10 -9
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/findActiveSubItem.js.map +1 -0
- package/mobile/lib/components/Header/isHrefActive.js.map +1 -0
- package/mobile/lib/components/Header/isTopItemActive.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/lib/hooks/useLink.js +3 -3
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/hooks/useList.d.ts +10 -0
- package/mobile/lib/hooks/useList.js +10 -0
- package/mobile/lib/hooks/useList.js.map +1 -0
- package/mobile/lib/hooks/useLocation.d.ts +1 -1
- package/mobile/lib/hooks/useLocation.js +28 -17
- package/mobile/lib/hooks/useLocation.js.map +1 -1
- package/mobile/lib/hooks/useSWRResource.d.ts +1 -1
- package/mobile/lib/hooks/useSWRResource.js +2 -4
- package/mobile/lib/hooks/useSWRResource.js.map +1 -1
- package/mobile/lib/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/lib/services/sitemap/useSitemap.js +4 -0
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +19 -0
- package/mobile/lib/ui-kit/Button/ButtonContent.js +2 -0
- package/mobile/lib/ui-kit/Button/ButtonContent.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +2 -7
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -44
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +7 -0
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js +2 -0
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +6 -6
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/CloseButton.d.ts +7 -0
- package/mobile/lib/ui-kit/{Dialog → DialogManager}/CloseButton.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -0
- package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +7 -0
- package/mobile/lib/ui-kit/DialogManager/Dialog.js +15 -0
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -0
- package/mobile/lib/ui-kit/DialogManager/DialogAction.d.ts +12 -0
- package/mobile/lib/ui-kit/DialogManager/DialogAction.js.map +1 -0
- package/mobile/lib/ui-kit/DialogManager/DialogManager.d.ts +2 -0
- package/mobile/lib/ui-kit/DialogManager/DialogManager.js +59 -0
- package/mobile/lib/ui-kit/DialogManager/DialogManager.js.map +1 -0
- package/mobile/lib/ui-kit/DialogManager/useDialogManager.d.ts +10 -0
- package/mobile/lib/ui-kit/DialogManager/useDialogManager.js +7 -0
- package/mobile/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -3
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +16 -25
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +5 -0
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +12 -0
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.d.ts +3 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +5 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +3 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.js +5 -0
- package/mobile/lib/ui-kit/LocationDialog/renderRegionGroup.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.d.ts +5 -0
- package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.js +11 -0
- package/mobile/lib/ui-kit/LocationDialog/useLocationDialog.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +6 -9
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +7 -8
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.js +11 -0
- package/mobile/lib/ui-kit/SearchDialog/useSearchDialog.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/src/EventBus/defaultEventBus.ts +4 -2
- package/mobile/src/EventBus/useLatestEvent.ts +16 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/mobile/src/components/Bonus/BonusContent.ts +5 -9
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +3 -3
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/CalculatorContent.ts +2 -2
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +3 -3
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +7 -6
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/mobile/src/components/CarouselCatalogCard/CatalogCard.ts +2 -2
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +2 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +4 -9
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/mobile/src/components/ContentPage/ContentPage.tsx +18 -54
- package/mobile/src/components/ContentPage/computeAPIFallback.ts +10 -27
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/mobile/src/components/Footer/Footer.tsx +8 -8
- package/mobile/src/components/Footer/FooterProps.ts +1 -4
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
- package/mobile/src/components/Header/Header.tsx +3 -2
- package/mobile/src/components/Header/HeaderProps.ts +1 -6
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +13 -11
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -2
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -2
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -9
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
- package/mobile/src/hooks/useLink.ts +3 -3
- package/mobile/src/hooks/useList.ts +24 -0
- package/mobile/src/hooks/useLocation.ts +34 -28
- package/mobile/src/hooks/useSWRResource.ts +9 -4
- package/mobile/src/services/sitemap/useSitemap.ts +7 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +14 -16
- package/mobile/src/ui-kit/Button/ButtonContent.ts +21 -0
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +5 -9
- package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -49
- package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +8 -0
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +3 -3
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +12 -17
- package/mobile/src/ui-kit/{Dialog → DialogManager}/CloseButton.tsx +3 -3
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +31 -0
- package/mobile/src/ui-kit/DialogManager/DialogAction.ts +15 -0
- package/mobile/src/ui-kit/DialogManager/DialogManager.tsx +85 -0
- package/mobile/src/ui-kit/DialogManager/useDialogManager.ts +14 -0
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +57 -138
- package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +37 -0
- package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +15 -0
- package/mobile/src/ui-kit/LocationDialog/renderRegionGroup.tsx +15 -0
- package/mobile/src/ui-kit/LocationDialog/useLocationDialog.tsx +11 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +14 -15
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +8 -10
- package/mobile/src/ui-kit/SearchDialog/useSearchDialog.tsx +12 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
- package/package.json +1 -1
- package/src/EventBus/defaultEventBus.ts +4 -2
- package/src/EventBus/useLatestEvent.ts +16 -0
- package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/src/components/Bonus/BonusContent.ts +5 -9
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +2 -3
- package/src/components/BusinessBlock/BusinessBlockContent.ts +3 -3
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
- package/src/components/Calculator/Calculator.fixture.tsx +2 -2
- package/src/components/Calculator/CalculatorContent.ts +2 -2
- package/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
- package/src/components/CarouselCard/CarouselCardContent.ts +3 -3
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +7 -6
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/src/components/CarouselCatalogCard/CatalogCard.ts +2 -2
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +3 -3
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +2 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +3 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +4 -4
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +4 -9
- package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/src/components/ContentPage/ContentPage.tsx +18 -54
- package/src/components/ContentPage/computeAPIFallback.ts +10 -27
- package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
- package/src/components/Footer/Footer.fixture.tsx +3 -5
- package/src/components/Footer/Footer.mobile.tsx +8 -8
- package/src/components/Footer/Footer.tsx +5 -3
- package/src/components/Footer/FooterProps.ts +1 -4
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Header/Header.fixture.mobile.tsx +14 -5
- package/src/components/Header/Header.fixture.tsx +13 -4
- package/src/components/Header/Header.mobile.tsx +3 -2
- package/src/components/Header/Header.tsx +7 -11
- package/src/components/Header/HeaderProps.ts +1 -6
- package/src/components/Header/HeaderSecondaryMenu.tsx +13 -11
- package/src/components/Header/HeaderSubMenu.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +8 -19
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +11 -11
- package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -4
- package/src/components/ProductBlock/ProductBlockContent.ts +2 -2
- package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
- package/src/components/PromoTile/PromoTileContent.ts +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/src/components/StepsBlock/StepsBlockContent.ts +9 -9
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +3 -2
- package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
- package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
- package/src/hooks/useLink.ts +3 -3
- package/src/hooks/useList.ts +24 -0
- package/src/hooks/useLocation.ts +34 -28
- package/src/hooks/useSWRResource.ts +9 -4
- package/src/services/sitemap/useSitemap.ts +7 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
- package/src/ui-kit/Button/Button.tsx +14 -16
- package/src/ui-kit/Button/ButtonContent.ts +21 -0
- package/src/ui-kit/Button/ButtonInner.tsx +5 -9
- package/src/ui-kit/Button/ButtonProps.ts +4 -49
- package/src/ui-kit/Button/ButtonsSectionContent.ts +8 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +3 -3
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +12 -17
- package/src/ui-kit/{Dialog → DialogManager}/CloseButton.tsx +3 -3
- package/src/ui-kit/DialogManager/Dialog.tsx +31 -0
- package/src/ui-kit/DialogManager/DialogAction.ts +15 -0
- package/src/ui-kit/DialogManager/DialogManager.tsx +85 -0
- package/src/ui-kit/DialogManager/useDialogManager.ts +14 -0
- package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +1 -74
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +57 -138
- package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +37 -0
- package/src/ui-kit/LocationDialog/renderRegion.tsx +15 -0
- package/src/ui-kit/LocationDialog/renderRegionGroup.tsx +15 -0
- package/src/ui-kit/LocationDialog/useLocationDialog.tsx +11 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +14 -15
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +8 -10
- package/src/ui-kit/SearchDialog/useSearchDialog.tsx +12 -0
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
- package/bundle/hooks/useCachedAsyncData.d.ts +0 -2
- package/bundle/model/Button.d.ts +0 -15
- package/bundle/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/bundle/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/bundle/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/bundle/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/bundle/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/dist/hooks/useCachedAsyncData.d.ts +0 -2
- package/dist/hooks/useCachedAsyncData.js +0 -25
- package/dist/hooks/useCachedAsyncData.js.map +0 -1
- package/dist/model/Button.d.ts +0 -15
- package/dist/model/Button.js.map +0 -1
- package/dist/services/sitemap/findActiveSubItem.js.map +0 -1
- package/dist/services/sitemap/isHrefActive.js.map +0 -1
- package/dist/services/sitemap/isTopItemActive.js.map +0 -1
- package/dist/ui-kit/Dialog/CloseButton.js.map +0 -1
- package/dist/ui-kit/Dialog/Dialog.js +0 -22
- package/dist/ui-kit/Dialog/Dialog.js.map +0 -1
- package/dist/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/dist/ui-kit/Dialog/DialogAction.js.map +0 -1
- package/dist/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/dist/ui-kit/Dialog/useDialog.js +0 -9
- package/dist/ui-kit/Dialog/useDialog.js.map +0 -1
- package/dist/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/dist/ui-kit/Dialog/useDialogHandlers.js +0 -21
- package/dist/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
- package/dist/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/dist/ui-kit/Dialog/useDialogProps.js +0 -39
- package/dist/ui-kit/Dialog/useDialogProps.js.map +0 -1
- package/dist/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/dist/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
- package/lib/hooks/useCachedAsyncData.d.ts +0 -2
- package/lib/hooks/useCachedAsyncData.js +0 -22
- package/lib/hooks/useCachedAsyncData.js.map +0 -1
- package/lib/model/Button.d.ts +0 -15
- package/lib/model/Button.js +0 -2
- package/lib/model/Button.js.map +0 -1
- package/lib/services/sitemap/findActiveSubItem.js.map +0 -1
- package/lib/services/sitemap/isHrefActive.js.map +0 -1
- package/lib/services/sitemap/isTopItemActive.js.map +0 -1
- package/lib/ui-kit/Dialog/CloseButton.js.map +0 -1
- package/lib/ui-kit/Dialog/Dialog.js +0 -20
- package/lib/ui-kit/Dialog/Dialog.js.map +0 -1
- package/lib/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/lib/ui-kit/Dialog/DialogAction.js.map +0 -1
- package/lib/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/lib/ui-kit/Dialog/useDialog.js +0 -6
- package/lib/ui-kit/Dialog/useDialog.js.map +0 -1
- package/lib/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/lib/ui-kit/Dialog/useDialogHandlers.js +0 -18
- package/lib/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
- package/lib/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/lib/ui-kit/Dialog/useDialogProps.js +0 -36
- package/lib/ui-kit/Dialog/useDialogProps.js.map +0 -1
- package/lib/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/lib/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
- package/lib/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
- package/mobile/bundle/hooks/useCachedAsyncData.d.ts +0 -2
- package/mobile/bundle/model/Button.d.ts +0 -15
- package/mobile/bundle/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/mobile/bundle/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/mobile/bundle/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/mobile/bundle/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/mobile/bundle/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/mobile/dist/hooks/useCachedAsyncData.d.ts +0 -2
- package/mobile/dist/hooks/useCachedAsyncData.js +0 -25
- package/mobile/dist/hooks/useCachedAsyncData.js.map +0 -1
- package/mobile/dist/model/Button.d.ts +0 -15
- package/mobile/dist/model/Button.js.map +0 -1
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +0 -1
- package/mobile/dist/services/sitemap/isHrefActive.js.map +0 -1
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/CloseButton.d.ts +0 -7
- package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.d.ts +0 -8
- package/mobile/dist/ui-kit/Dialog/Dialog.js +0 -22
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/mobile/dist/ui-kit/Dialog/DialogAction.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/mobile/dist/ui-kit/Dialog/useDialog.js +0 -9
- package/mobile/dist/ui-kit/Dialog/useDialog.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/mobile/dist/ui-kit/Dialog/useDialogHandlers.js +0 -21
- package/mobile/dist/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
- package/mobile/dist/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js +0 -39
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js.map +0 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
- package/mobile/lib/hooks/useCachedAsyncData.d.ts +0 -2
- package/mobile/lib/hooks/useCachedAsyncData.js +0 -22
- package/mobile/lib/hooks/useCachedAsyncData.js.map +0 -1
- package/mobile/lib/model/Button.d.ts +0 -15
- package/mobile/lib/model/Button.js +0 -2
- package/mobile/lib/model/Button.js.map +0 -1
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +0 -1
- package/mobile/lib/services/sitemap/isHrefActive.js.map +0 -1
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/CloseButton.d.ts +0 -7
- package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.d.ts +0 -8
- package/mobile/lib/ui-kit/Dialog/Dialog.js +0 -20
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/DialogAction.d.ts +0 -12
- package/mobile/lib/ui-kit/Dialog/DialogAction.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/useDialog.d.ts +0 -4
- package/mobile/lib/ui-kit/Dialog/useDialog.js +0 -6
- package/mobile/lib/ui-kit/Dialog/useDialog.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/useDialogHandlers.d.ts +0 -6
- package/mobile/lib/ui-kit/Dialog/useDialogHandlers.js +0 -18
- package/mobile/lib/ui-kit/Dialog/useDialogHandlers.js.map +0 -1
- package/mobile/lib/ui-kit/Dialog/useDialogProps.d.ts +0 -7
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js +0 -36
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js.map +0 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.d.ts +0 -14
- package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.js +0 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialogProps.js.map +0 -1
- package/mobile/src/components/Header/sitemap.wcms-resource.json +0 -144
- package/mobile/src/hooks/useCachedAsyncData.ts +0 -37
- package/mobile/src/model/Button.ts +0 -16
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +0 -46
- package/mobile/src/ui-kit/Dialog/DialogAction.ts +0 -14
- package/mobile/src/ui-kit/Dialog/useDialog.ts +0 -6
- package/mobile/src/ui-kit/Dialog/useDialogHandlers.ts +0 -28
- package/mobile/src/ui-kit/Dialog/useDialogProps.ts +0 -48
- package/mobile/src/ui-kit/LocationDialog/LocationDialogProps.ts +0 -21
- package/src/components/Header/sitemap.wcms-resource.json +0 -144
- package/src/hooks/useCachedAsyncData.ts +0 -37
- package/src/model/Button.ts +0 -16
- package/src/ui-kit/Dialog/Dialog.tsx +0 -46
- package/src/ui-kit/Dialog/DialogAction.ts +0 -14
- package/src/ui-kit/Dialog/useDialog.ts +0 -6
- package/src/ui-kit/Dialog/useDialogHandlers.ts +0 -28
- package/src/ui-kit/Dialog/useDialogProps.ts +0 -48
- package/src/ui-kit/LocationDialog/LocationDialogProps.ts +0 -21
- /package/bundle/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/bundle/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/bundle/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/dist/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/dist/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
- /package/dist/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/dist/{services/sitemap → components/Header}/isHrefActive.js +0 -0
- /package/dist/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/dist/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
- /package/dist/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
- /package/lib/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/lib/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
- /package/lib/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/lib/{services/sitemap → components/Header}/isHrefActive.js +0 -0
- /package/lib/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/lib/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
- /package/lib/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
- /package/mobile/bundle/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/mobile/bundle/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/mobile/bundle/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/isHrefActive.js +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/mobile/dist/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
- /package/mobile/dist/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/findActiveSubItem.d.ts +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/findActiveSubItem.js +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/isHrefActive.d.ts +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/isHrefActive.js +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/isTopItemActive.d.ts +0 -0
- /package/mobile/lib/{services/sitemap → components/Header}/isTopItemActive.js +0 -0
- /package/mobile/lib/ui-kit/{Dialog → DialogManager}/DialogAction.js +0 -0
- /package/mobile/src/{services/sitemap → components/Header}/findActiveSubItem.ts +0 -0
- /package/mobile/src/{services/sitemap → components/Header}/isHrefActive.ts +0 -0
- /package/mobile/src/{services/sitemap → components/Header}/isTopItemActive.ts +0 -0
- /package/src/{services/sitemap → components/Header}/findActiveSubItem.ts +0 -0
- /package/src/{services/sitemap → components/Header}/isHrefActive.ts +0 -0
- /package/src/{services/sitemap → components/Header}/isTopItemActive.ts +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useLink } from '../../hooks/useLink';
|
|
3
|
+
import type { ForeignOffice } from '../../services/sitemap/SitemapData';
|
|
4
|
+
import { Img } from '../Img/Img';
|
|
5
|
+
import { Text } from '../Text/Text';
|
|
6
|
+
|
|
7
|
+
export const renderForeignOffices = (foreignOffices: ForeignOffice[] | undefined) =>
|
|
8
|
+
foreignOffices?.length ? (
|
|
9
|
+
<div className="border-t border-main-divider mt-2xs pt-2xs">
|
|
10
|
+
<div className="mb-m">
|
|
11
|
+
<Text size="text-m" font="font-light" color="text-secondary-text">
|
|
12
|
+
Представительства за рубежом:
|
|
13
|
+
</Text>
|
|
14
|
+
</div>
|
|
15
|
+
<div className="flex gap-10">
|
|
16
|
+
{foreignOffices.map((office, i: number) => (
|
|
17
|
+
<ForeignOffice key={String(i)} {...office} />
|
|
18
|
+
))}
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
) : null;
|
|
22
|
+
|
|
23
|
+
const ForeignOffice = JSX<ForeignOffice>(({ icon, ...rest }) => {
|
|
24
|
+
const link = useLink();
|
|
25
|
+
const { text, target, href, onClick } = link(rest);
|
|
26
|
+
|
|
27
|
+
return (
|
|
28
|
+
<div className="flex gap-x-3">
|
|
29
|
+
{icon ? <Img pathPrefix="/wcms-resources/" image={icon} /> : null}
|
|
30
|
+
{text ? (
|
|
31
|
+
<a className="hover:text-primary-hover" href={href} target={target} onClick={onClick}>
|
|
32
|
+
{text}
|
|
33
|
+
</a>
|
|
34
|
+
) : null}
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Region } from '../../hooks/useRegions';
|
|
2
|
+
|
|
3
|
+
export const renderRegion = (onChangeLocation?: (region: Region) => void) => (region: Region) =>
|
|
4
|
+
(
|
|
5
|
+
<div key={region.id} className="mb-2xs">
|
|
6
|
+
<button
|
|
7
|
+
className="cursor-pointer hover:text-primary-hover"
|
|
8
|
+
onClick={() => {
|
|
9
|
+
onChangeLocation && onChangeLocation(region);
|
|
10
|
+
}}
|
|
11
|
+
>
|
|
12
|
+
{region.name || ''}
|
|
13
|
+
</button>
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Region } from '../../hooks/useRegions';
|
|
2
|
+
import { Text } from '../Text/Text';
|
|
3
|
+
import { renderRegion } from './renderRegion';
|
|
4
|
+
|
|
5
|
+
export const renderRegionGroup =
|
|
6
|
+
(onChangeLocation?: (region: Region) => void) =>
|
|
7
|
+
([letter, regions]: [string, Region[]]) =>
|
|
8
|
+
(
|
|
9
|
+
<div key={letter} className="break-inside-avoid mb-2xl w-56">
|
|
10
|
+
<div className="mb-s">
|
|
11
|
+
<Text size="text-h6">{letter}</Text>
|
|
12
|
+
</div>
|
|
13
|
+
{regions.map(renderRegion(onChangeLocation))}
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DialogOptions, useDialogManager } from '../DialogManager/useDialogManager';
|
|
2
|
+
import { LocationDialog } from './LocationDialog';
|
|
3
|
+
|
|
4
|
+
export const useLocationDialog = () => {
|
|
5
|
+
const { open, close } = useDialogManager();
|
|
6
|
+
|
|
7
|
+
return {
|
|
8
|
+
open: (options: DialogOptions = {}) => open(<LocationDialog />, options),
|
|
9
|
+
close,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import { CloseButton } from '../
|
|
4
|
-
import { useDialog } from '../Dialog/useDialog';
|
|
5
|
-
import { useDialogHandlers } from '../Dialog/useDialogHandlers';
|
|
6
|
-
import { SEARCH_DIALOG_ID } from '../SearchDialog/SearchDialog';
|
|
3
|
+
import { CloseButton } from '../DialogManager/CloseButton';
|
|
7
4
|
import { SearchInput } from '../SearchDialog/SearchInput';
|
|
5
|
+
import { useSearchDialog } from '../SearchDialog/useSearchDialog';
|
|
8
6
|
|
|
9
7
|
interface SearchBarProps {
|
|
10
8
|
className?: string;
|
|
@@ -16,21 +14,22 @@ export const SearchBar = JSX<SearchBarProps>(({ className }) => {
|
|
|
16
14
|
const [value, setValue] = useState('');
|
|
17
15
|
|
|
18
16
|
const resetQueryOnDialogClose = useCallback(() => setValue(''), []);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
17
|
+
const { open } = useSearchDialog();
|
|
18
|
+
|
|
19
|
+
const handleInitialInputChange = useCallback(
|
|
20
|
+
(_: string) => {
|
|
21
|
+
setValue(_);
|
|
22
|
+
if (isQueryLongEnough(_)) {
|
|
23
|
+
open({ initialQuery: _ }, { onClose: resetQueryOnDialogClose });
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
[resetQueryOnDialogClose],
|
|
27
|
+
);
|
|
29
28
|
|
|
30
29
|
return (
|
|
31
30
|
<div className={className}>
|
|
32
31
|
<SearchInput value={value} onChange={handleInitialInputChange} />
|
|
33
|
-
<CloseButton className="absolute top-2 right-3 sm:hidden"
|
|
32
|
+
<CloseButton className="absolute top-2 right-3 sm:hidden" onClose={resetQueryOnDialogClose} />
|
|
34
33
|
</div>
|
|
35
34
|
);
|
|
36
35
|
});
|
|
@@ -3,27 +3,25 @@ import { useEffect, useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
4
|
import { useSearch, type SearchResult } from '../../services/search/useSearch';
|
|
5
5
|
import type { TopMenuItemProps } from '../../services/sitemap/SitemapData';
|
|
6
|
+
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
6
7
|
import { joinPath } from '../../utils/url';
|
|
7
8
|
import { zip } from '../../utils/zip';
|
|
8
|
-
import { Dialog } from '../
|
|
9
|
-
import { useDialogProps } from '../Dialog/useDialogProps';
|
|
9
|
+
import { Dialog } from '../DialogManager/Dialog';
|
|
10
10
|
import { Sitemap } from '../Sitemap/Sitemap';
|
|
11
11
|
import { SearchInput } from './SearchInput';
|
|
12
12
|
|
|
13
13
|
export interface SearchDialogProps {
|
|
14
|
-
|
|
14
|
+
initialQuery?: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
export const SearchDialog = JSX<SearchDialogProps>(({ topItems }) => {
|
|
20
|
-
const dialogProps = useDialogProps(SEARCH_DIALOG_ID);
|
|
17
|
+
export const SearchDialog = JSX<SearchDialogProps>(({ initialQuery }) => {
|
|
18
|
+
const { topItems } = useSitemap();
|
|
21
19
|
|
|
22
20
|
const basePathList = useMemo(() => topItems?.map((_) => _.href || '/'), [topItems]);
|
|
23
21
|
const [searchResult, searchInputProps] = useSearch({
|
|
24
22
|
basePathList,
|
|
25
|
-
initialQuery
|
|
26
|
-
wasOpened:
|
|
23
|
+
initialQuery,
|
|
24
|
+
wasOpened: false,
|
|
27
25
|
});
|
|
28
26
|
|
|
29
27
|
const searchItems = useMemo(
|
|
@@ -34,7 +32,7 @@ export const SearchDialog = JSX<SearchDialogProps>(({ topItems }) => {
|
|
|
34
32
|
useEffect(() => printSearchItems(searchItems), [searchItems]); // Temp
|
|
35
33
|
|
|
36
34
|
return (
|
|
37
|
-
<Dialog
|
|
35
|
+
<Dialog head={<SearchInput autoFocus={true} {...searchInputProps} />}>
|
|
38
36
|
<Sitemap topItems={searchItems} />
|
|
39
37
|
</Dialog>
|
|
40
38
|
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DialogOptions, useDialogManager } from '../DialogManager/useDialogManager';
|
|
2
|
+
import { SearchDialog, SearchDialogProps } from './SearchDialog';
|
|
3
|
+
|
|
4
|
+
export const useSearchDialog = () => {
|
|
5
|
+
const { open, close } = useDialogManager();
|
|
6
|
+
|
|
7
|
+
return {
|
|
8
|
+
open: (props: SearchDialogProps = {}, options: DialogOptions = {}) =>
|
|
9
|
+
open(<SearchDialog {...props} />, options),
|
|
10
|
+
close,
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -26,7 +26,7 @@ interface SwipeListContainerProps extends SwipeListContainerContent {
|
|
|
26
26
|
onVisibleIndicesChange?: (indices: number[]) => void;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const childStyleMap = ['min-w-full', 'min-w-
|
|
29
|
+
const childStyleMap = ['min-w-full', '@lg:min-w-[50%]', '@lg:min-w-[33.3%]', '@lg:min-w-[25%]'];
|
|
30
30
|
|
|
31
31
|
export const SwipeListContainer = JSX<SwipeListContainerProps>(
|
|
32
32
|
({
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { TabActivationEvent } from '../components/Tabs/TabActivationEvent';
|
|
2
|
-
import
|
|
2
|
+
import { RegionData } from '../hooks/useLocation';
|
|
3
|
+
import type { DialogAction } from '../ui-kit/DialogManager/DialogAction';
|
|
3
4
|
import { EventBus } from './EventBus';
|
|
4
5
|
|
|
5
6
|
interface GlobalEventMap {
|
|
6
|
-
|
|
7
|
+
location: RegionData;
|
|
7
8
|
dialog: DialogAction;
|
|
9
|
+
tab: TabActivationEvent;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
export const defaultEventBus = new EventBus<GlobalEventMap>();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import type { EventBus } from './EventBus';
|
|
3
|
+
|
|
4
|
+
export const useLatestEvent = <EM extends Record<string, any>, K extends keyof EM>(
|
|
5
|
+
eventBus: EventBus<EM>,
|
|
6
|
+
type: K,
|
|
7
|
+
initialEvent?: EM[K],
|
|
8
|
+
): [EM[K] | null, (_: EM[K]) => void] => {
|
|
9
|
+
const [latestEvent, setLatestEvent] = useState<EM[K] | null>(initialEvent || null);
|
|
10
|
+
|
|
11
|
+
useEffect(() => eventBus.subscribe(type, (_) => setLatestEvent(_)), [eventBus, type]);
|
|
12
|
+
|
|
13
|
+
const fireEvent = useCallback((_: EM[K]) => eventBus.fire(type, _), [eventBus, type]);
|
|
14
|
+
|
|
15
|
+
return [latestEvent, fireEvent];
|
|
16
|
+
};
|
|
@@ -2,12 +2,12 @@ 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 {
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Кнопка
|
|
9
9
|
*/
|
|
10
|
-
export interface SubmitButtonProps extends
|
|
10
|
+
export interface SubmitButtonProps extends ButtonContent {
|
|
11
11
|
/** @title Текст */
|
|
12
12
|
text?: string;
|
|
13
13
|
version?: ButtonVersion;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Изображение
|
|
@@ -32,14 +32,10 @@ export type BonusItemContentDef = EmptyOption | BonusImageDef | BonusCountDef;
|
|
|
32
32
|
/**
|
|
33
33
|
* @title Плитка
|
|
34
34
|
*/
|
|
35
|
-
export type BonusItem = HeadlineCommonProps &
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* @maxItems 1
|
|
40
|
-
*/
|
|
41
|
-
buttons?: ButtonWithIconProps[];
|
|
42
|
-
};
|
|
35
|
+
export type BonusItem = HeadlineCommonProps &
|
|
36
|
+
ButtonsSectionContent & {
|
|
37
|
+
bonusItemContent?: BonusItemContentDef;
|
|
38
|
+
};
|
|
43
39
|
|
|
44
40
|
/**
|
|
45
41
|
* @title Блок Бонусы
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
|
-
|
|
3
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
2
|
import { BusinessBlock } from './BusinessBlock';
|
|
5
3
|
import type {
|
|
6
4
|
BusinessBlockContent,
|
|
7
5
|
BusinessCardItemProps,
|
|
8
6
|
BusinessCardProps,
|
|
9
7
|
} from './BusinessBlockContent';
|
|
8
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
10
9
|
|
|
11
|
-
const button:
|
|
10
|
+
const button: ButtonContent = {
|
|
12
11
|
href: '#',
|
|
13
12
|
text: 'Подробнее',
|
|
14
13
|
target: '_blank',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
2
1
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import type { IconProps } from '../../model/Picture';
|
|
5
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
7
|
export type BusinessCardItemProps = IconProps & {
|
|
8
8
|
/** @title Текст */
|
|
@@ -10,10 +10,10 @@ export type BusinessCardItemProps = IconProps & {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export type BusinessCardProps = TitleProps &
|
|
13
|
-
ImageContent &
|
|
14
|
-
ButtonCommonIconProps & {
|
|
13
|
+
ImageContent & {
|
|
15
14
|
/** @title Список */
|
|
16
15
|
cardItems?: BusinessCardItemProps[];
|
|
16
|
+
button?: ButtonContent;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
2
|
import { ButtonsBlock } from './ButtonsBlock';
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
4
|
|
|
5
|
-
const buttons:
|
|
5
|
+
const buttons: ButtonContent[] = [
|
|
6
6
|
{
|
|
7
7
|
href: '/credit-cards',
|
|
8
8
|
text: 'Оформить',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
2
|
import { ButtonsBlock } from './ButtonsBlock';
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
4
|
|
|
5
|
-
const buttons:
|
|
5
|
+
const buttons: ButtonContent[] = [
|
|
6
6
|
{
|
|
7
7
|
href: '/credit-cards',
|
|
8
8
|
text: 'Оформить',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @title Блок кнопок
|
|
5
5
|
*/
|
|
6
6
|
export interface ButtonsBlockContent {
|
|
7
7
|
/** @title Кнопки */
|
|
8
|
-
buttons?:
|
|
8
|
+
buttons?: ButtonContent[];
|
|
9
9
|
}
|
|
@@ -4,13 +4,13 @@ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
|
4
4
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
5
5
|
import type { BusinessDepositCalculatorProps } from './CalculatorContent';
|
|
6
6
|
import { CalculatorValueBlock } from './CalculatorValueBlock';
|
|
7
|
-
import { BUSINESS_DEFAULT_DAYS, BUSINESS_DEFAULT_SUM } from './constants';
|
|
8
7
|
import { Rate } from './Rate';
|
|
8
|
+
import { UnknownRate } from './UnknownRate';
|
|
9
|
+
import { BUSINESS_DEFAULT_DAYS, BUSINESS_DEFAULT_SUM } from './constants';
|
|
9
10
|
import { renderDaysInput } from './renderDaysInput';
|
|
10
11
|
import { renderFootnote } from './renderFootnote';
|
|
11
12
|
import { renderInterestPayment } from './renderInterestPayment';
|
|
12
13
|
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
13
|
-
import { UnknownRate } from './UnknownRate';
|
|
14
14
|
import {
|
|
15
15
|
BusinessDepositCalculatorParams,
|
|
16
16
|
useBusinessDepositCalculatorParams,
|
|
@@ -111,7 +111,7 @@ const renderBusinessDepositParamsForm = (
|
|
|
111
111
|
/>
|
|
112
112
|
<Checkbox
|
|
113
113
|
className="mt-3"
|
|
114
|
-
text="
|
|
114
|
+
text="ИП / малое предприятие"
|
|
115
115
|
{...field('isSmallBusiness')}
|
|
116
116
|
value={calculatorParams.isSmallBusiness}
|
|
117
117
|
/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
3
|
import { Calculator } from './Calculator';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
5
|
import type {
|
|
6
6
|
BonusCalculatorParamsDef,
|
|
7
7
|
BusinessDepositCalculatorParamsDef,
|
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
RefinancingCalculatorParamsDef,
|
|
11
11
|
} from './CalculatorContent';
|
|
12
12
|
|
|
13
|
-
const buttons:
|
|
13
|
+
const buttons: ButtonContent[] = [
|
|
14
14
|
{
|
|
15
15
|
href: 'https://rshb.ru',
|
|
16
16
|
text: 'Отправить заявку',
|
|
@@ -2,10 +2,10 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
|
2
2
|
import type { Footnote } from '../../model/Footnote';
|
|
3
3
|
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
4
4
|
import type { IconProps } from '../../model/Picture';
|
|
5
|
-
import type {
|
|
5
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
6
6
|
|
|
7
7
|
export type CommonCalculatorProps = Footnote &
|
|
8
|
-
|
|
8
|
+
ButtonsSectionContent & {
|
|
9
9
|
/** @title Адрес справочника */
|
|
10
10
|
sourceBookDir?: string;
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @title Перевод с карты на карту
|
|
@@ -10,5 +10,5 @@ export type CardTransferContent = UniBlockContent &
|
|
|
10
10
|
TitleProps & {
|
|
11
11
|
/** @title Плейсхолдер */
|
|
12
12
|
placeholder?: string;
|
|
13
|
-
button?:
|
|
13
|
+
button?: ButtonContent;
|
|
14
14
|
};
|
|
@@ -10,7 +10,7 @@ export const CarouselBankHistoryCard = JSX<CarouselBankHistoryCardProps>(
|
|
|
10
10
|
({ title, description, className }) => (
|
|
11
11
|
<BlockWrapper className={className} defaultPadding="p-6xl">
|
|
12
12
|
<Headline
|
|
13
|
-
headlineVersion="
|
|
13
|
+
headlineVersion="XS"
|
|
14
14
|
title={title}
|
|
15
15
|
description={description}
|
|
16
16
|
align="text-left"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
2
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Карточка карусели
|
|
8
8
|
*/
|
|
9
9
|
export type CarouselCardContent = UniBlockContent &
|
|
10
|
-
HeadlineCommonProps &
|
|
11
|
-
|
|
10
|
+
HeadlineCommonProps & {
|
|
11
|
+
button?: ButtonContent;
|
|
12
12
|
carouselVersion?: SizeVersion;
|
|
13
13
|
};
|
|
@@ -19,20 +19,21 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
|
19
19
|
export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
|
|
20
20
|
({ className = '', title, description, image, price, button, colors, ...rest }) => (
|
|
21
21
|
<BlockWrapper
|
|
22
|
-
className={style('flex flex-col justify-left
|
|
23
|
-
defaultPadding="p-
|
|
22
|
+
className={style('flex flex-col justify-left', className)}
|
|
23
|
+
defaultPadding="p-2xl"
|
|
24
24
|
{...rest}
|
|
25
25
|
>
|
|
26
|
-
{image?.src ? <Img className="flex justify-center" image={image} /> : null}
|
|
26
|
+
{image?.src ? <Img className="flex justify-center mb-xl" image={image} /> : null}
|
|
27
27
|
<Headline
|
|
28
28
|
title={title}
|
|
29
29
|
description={description}
|
|
30
30
|
headlineVersion="XS"
|
|
31
31
|
isPadding={false}
|
|
32
32
|
align="text-left"
|
|
33
|
+
className="mb-m"
|
|
33
34
|
/>
|
|
34
35
|
{colors?.length ? (
|
|
35
|
-
<div className="flex text-secondary-text">
|
|
36
|
+
<div className="flex text-secondary-text mb-m">
|
|
36
37
|
<div className="mr-xs">
|
|
37
38
|
<Text size="text-s" align="text-left" font="font-light">
|
|
38
39
|
Цвета:
|
|
@@ -46,7 +47,7 @@ export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
|
|
|
46
47
|
{price} ₽
|
|
47
48
|
</Text>
|
|
48
49
|
) : null}
|
|
49
|
-
{renderButtonsSection([button], { buttonClassName: 'w-full' })}
|
|
50
|
+
{renderButtonsSection([button], { buttonClassName: 'w-full mt-lg' })}
|
|
50
51
|
</BlockWrapper>
|
|
51
52
|
),
|
|
52
53
|
);
|
|
@@ -55,6 +56,6 @@ const renderColorOption = (color: ProductColorVersion, i: number) => (
|
|
|
55
56
|
<div
|
|
56
57
|
role="figure"
|
|
57
58
|
key={String(i)}
|
|
58
|
-
className={`w-6 h-6 ml-
|
|
59
|
+
className={`w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}`}
|
|
59
60
|
/>
|
|
60
61
|
);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
2
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
5
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Карточка каталога
|
|
9
9
|
*/
|
|
10
10
|
export type CarouselCatalogCardContent = UniBlockContent &
|
|
11
11
|
HeadlineCommonProps &
|
|
12
|
-
ImageContent &
|
|
13
|
-
ButtonCommonIconProps & {
|
|
12
|
+
ImageContent & {
|
|
14
13
|
/** @title Цена в рублях */
|
|
15
14
|
price?: number;
|
|
16
15
|
/** @title Доступные цвета */
|
|
17
16
|
colors?: ProductColorVersion[];
|
|
17
|
+
button?: ButtonContent;
|
|
18
18
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
3
3
|
|
|
4
4
|
const colors: ProductColorVersion[] = ['black', 'white'];
|
|
5
5
|
|
|
6
|
-
const buttonPrimary:
|
|
6
|
+
const buttonPrimary: ButtonContent = {
|
|
7
7
|
href: '/credit-cards',
|
|
8
8
|
text: 'Подробнее',
|
|
9
9
|
target: '_blank',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
4
|
import { CarouselProductCard } from './CarouselProductCard';
|
|
6
5
|
import type { CarouselProductCardContent } from './CarouselProductCardContent';
|
|
6
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
7
|
|
|
8
8
|
const isDotted = false;
|
|
9
9
|
|
|
@@ -17,14 +17,14 @@ const image: Picture = {
|
|
|
17
17
|
title: 'money',
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const buttonPrimary:
|
|
20
|
+
const buttonPrimary: ButtonContent = {
|
|
21
21
|
href: '/credit-cards',
|
|
22
22
|
text: 'Подробнее',
|
|
23
23
|
target: '_blank',
|
|
24
24
|
version: 'secondary',
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
const buttonPrimaryIcon:
|
|
27
|
+
const buttonPrimaryIcon: ButtonContent = {
|
|
28
28
|
href: '/credit-cards',
|
|
29
29
|
text: 'Подробнее',
|
|
30
30
|
target: '_blank',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
3
2
|
import type { AdditionalDescriptionProps, HeadlineSmallProps } from '../../model/HeadlineType';
|
|
4
3
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
4
|
import type { IconProps } from '../../model/Picture';
|
|
6
5
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
7
6
|
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
7
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Элемент списка
|
|
@@ -21,7 +21,6 @@ export type CarouselProductCardContent = UniBlockContent &
|
|
|
21
21
|
HeadlineSmallProps &
|
|
22
22
|
AdditionalDescriptionProps &
|
|
23
23
|
IconProps &
|
|
24
|
-
ButtonCommonIconProps &
|
|
25
24
|
BulletsProps &
|
|
26
25
|
LinkCommonProps & {
|
|
27
26
|
/** @title Список */
|
|
@@ -33,4 +32,5 @@ export type CarouselProductCardContent = UniBlockContent &
|
|
|
33
32
|
isTopPosition?: boolean;
|
|
34
33
|
/** @title Кнопка по всей ширине */
|
|
35
34
|
isButtonFullWidth?: boolean;
|
|
35
|
+
button?: ButtonContent;
|
|
36
36
|
};
|
|
@@ -2,11 +2,11 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
4
|
import type { IconProps } from '../../model/Picture';
|
|
5
|
-
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
6
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
6
|
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
7
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
8
8
|
|
|
9
|
-
export type RecommendationSocialMedia = LinkCommonProps & IconProps &
|
|
9
|
+
export type RecommendationSocialMedia = LinkCommonProps & IconProps & ButtonContent;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @title Карточка рекомендаций
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonProps
|
|
4
|
+
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
5
|
import { CarouselTariffsCard } from './CarouselTariffsCard';
|
|
6
6
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
7
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
8
|
|
|
8
9
|
const imageMonth: Picture = {
|
|
9
10
|
src: 'monthly-payment.png',
|
|
@@ -29,7 +30,7 @@ const buttonSecondary: ButtonProps = {
|
|
|
29
30
|
version: 'secondary',
|
|
30
31
|
};
|
|
31
32
|
|
|
32
|
-
const buttonIcon:
|
|
33
|
+
const buttonIcon: ButtonContent = {
|
|
33
34
|
text: 'App Store',
|
|
34
35
|
icon: { icon: 'DocIconMonoColor', iconVersion: 'color' },
|
|
35
36
|
href: 'rshb.ru',
|