@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
|
@@ -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
|
-
* @
|
|
5
|
+
* @title Кнопка
|
|
8
6
|
*/
|
|
9
|
-
export interface
|
|
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
|
-
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
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?: (
|
|
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
|
-
|
|
4
|
+
onClose?: (ev: PreventableEvent) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const CloseButton: import("@redneckz/uni-jsx").UNIComponent<CloseButtonProps, any, any>;
|
|
7
7
|
export {};
|
|
@@ -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,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 {
|
|
2
|
-
export declare const
|
|
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 {};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { TopMenuItemProps } from '../../services/sitemap/SitemapData';
|
|
2
1
|
export interface SearchDialogProps {
|
|
3
|
-
|
|
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>;
|
|
@@ -1,9 +1,11 @@
|
|
|
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
|
interface GlobalEventMap {
|
|
5
|
-
|
|
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":";;
|
|
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,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"}
|
|
@@ -2,11 +2,11 @@ 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
|
* @title Кнопка
|
|
8
8
|
*/
|
|
9
|
-
export interface SubmitButtonProps extends
|
|
9
|
+
export interface SubmitButtonProps extends ButtonContent {
|
|
10
10
|
/** @title Текст */
|
|
11
11
|
text?: string;
|
|
12
12
|
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
|
* @title Изображение
|
|
8
8
|
*/
|
|
@@ -28,13 +28,8 @@ export declare type BonusItemContentDef = EmptyOption | BonusImageDef | BonusCou
|
|
|
28
28
|
/**
|
|
29
29
|
* @title Плитка
|
|
30
30
|
*/
|
|
31
|
-
export declare type BonusItem = HeadlineCommonProps & {
|
|
31
|
+
export declare type BonusItem = HeadlineCommonProps & ButtonsSectionContent & {
|
|
32
32
|
bonusItemContent?: BonusItemContentDef;
|
|
33
|
-
/**
|
|
34
|
-
* @title Кнопка
|
|
35
|
-
* @maxItems 1
|
|
36
|
-
*/
|
|
37
|
-
buttons?: ButtonWithIconProps[];
|
|
38
33
|
};
|
|
39
34
|
/**
|
|
40
35
|
* @title Блок Бонусы
|
|
@@ -1,15 +1,16 @@
|
|
|
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
|
export declare type BusinessCardItemProps = IconProps & {
|
|
7
7
|
/** @title Текст */
|
|
8
8
|
text?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare type BusinessCardProps = TitleProps & ImageContent &
|
|
10
|
+
export declare type BusinessCardProps = TitleProps & ImageContent & {
|
|
11
11
|
/** @title Список */
|
|
12
12
|
cardItems?: BusinessCardItemProps[];
|
|
13
|
+
button?: ButtonContent;
|
|
13
14
|
};
|
|
14
15
|
/**
|
|
15
16
|
* @title Бизнес блок
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
2
2
|
/**
|
|
3
3
|
* @title Блок кнопок
|
|
4
4
|
*/
|
|
5
5
|
export interface ButtonsBlockContent {
|
|
6
6
|
/** @title Кнопки */
|
|
7
|
-
buttons?:
|
|
7
|
+
buttons?: ButtonContent[];
|
|
8
8
|
}
|
|
@@ -6,13 +6,13 @@ const useForm_1 = require("../../hooks/useForm");
|
|
|
6
6
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
7
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
8
8
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
9
|
-
const constants_1 = require("./constants");
|
|
10
9
|
const Rate_1 = require("./Rate");
|
|
10
|
+
const UnknownRate_1 = require("./UnknownRate");
|
|
11
|
+
const constants_1 = require("./constants");
|
|
11
12
|
const renderDaysInput_1 = require("./renderDaysInput");
|
|
12
13
|
const renderFootnote_1 = require("./renderFootnote");
|
|
13
14
|
const renderInterestPayment_1 = require("./renderInterestPayment");
|
|
14
15
|
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
15
|
-
const UnknownRate_1 = require("./UnknownRate");
|
|
16
16
|
const useBusinessDepositCalculatorParams_1 = require("./useBusinessDepositCalculatorParams");
|
|
17
17
|
exports.BusinessDepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDir, buttons, footnote, bottomFootnote, isShowDepositeName }) => {
|
|
18
18
|
const [userInputParams, { field }] = (0, useForm_1.useForm)({
|
|
@@ -43,5 +43,5 @@ exports.BusinessDepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', so
|
|
|
43
43
|
...field('isMonthlyInterestPayment'),
|
|
44
44
|
})] })] }), isShowUnknownRate ? ((0, jsx_runtime_1.jsx)(UnknownRate_1.UnknownRate, {})) : ((0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })), (0, jsx_runtime_1.jsxs)("div", { className: "w-96", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-2xl', isVertical: true }), (0, jsx_runtime_1.jsx)("div", { className: "mt-2xl", children: (0, renderFootnote_1.renderFootnote)(footnote) })] })] }), (0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, renderFootnote_1.renderFootnote)(bottomFootnote) })] }));
|
|
45
45
|
});
|
|
46
|
-
const renderBusinessDepositParamsForm = (calculatorParams, field) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\
|
|
46
|
+
const renderBusinessDepositParamsForm = (calculatorParams, field) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0418\u041F / \u043C\u0430\u043B\u043E\u0435 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435", ...field('isSmallBusiness'), value: calculatorParams.isSmallBusiness })] }));
|
|
47
47
|
//# sourceMappingURL=BusinessDepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessDepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BusinessDepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAAmE;AACnE,mFAAgF;AAChF,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"BusinessDepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BusinessDepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAAmE;AACnE,mFAAgF;AAChF,6DAA0D;AAE1D,iEAA8D;AAC9D,iCAA8B;AAC9B,+CAA4C;AAC5C,2CAA0E;AAC1E,uDAAoD;AACpD,qDAAkD;AAClD,mEAAgE;AAChE,iEAA8D;AAC9D,6FAG8C;AAMjC,QAAA,6BAA6B,GAAG,IAAA,aAAG,EAC9C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,EAAE;IAC3F,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QAC3C,UAAU,EAAE,gCAAoB;QAChC,SAAS,EAAE,iCAAqB;QAChC,aAAa,EAAE,KAAK;QACpB,mBAAmB,EAAE,KAAK;QAC1B,eAAe,EAAE,KAAK;QACtB,wBAAwB,EAAE,KAAK;KAChC,CAAC,CAAC;IAEH,MAAM,gBAAgB,GAAG,IAAA,uEAAkC,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAC5F,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,GAAG,gBAAgB,CAAC;IAErF,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,sBAAsB,aACnC,iCAAK,SAAS,EAAC,OAAO,aACnB,IAAA,2CAAoB,EAAC;gCACpB,KAAK,EAAE,UAAU;gCACjB,GAAG,EAAE,gBAAgB,CAAC,MAAM;gCAC5B,GAAG,EAAE,gBAAgB,CAAC,MAAM;gCAC5B,GAAG,KAAK,CAAC,YAAY,CAAC;gCACtB,KAAK,EAAE,gBAAgB,CAAC,UAAU;6BACnC,CAAC,EACD,IAAA,iCAAe,EAAC;gCACf,KAAK,EAAE,YAAY;gCACnB,GAAG,EAAE,gBAAgB,CAAC,OAAO;gCAC7B,GAAG,EAAE,gBAAgB,CAAC,OAAO;gCAC7B,GAAG,KAAK,CAAC,WAAW,CAAC;gCACrB,KAAK,EAAE,gBAAgB,CAAC,SAAS;6BAClC,CAAC,EACF,iCAAK,SAAS,EAAC,6BAA6B,aACzC,+BAA+B,CAAC,gBAAgB,EAAE,KAAK,CAAC,EACxD,IAAA,6CAAqB,EAAC;wCACrB,KAAK,EAAE,mBAAmB;wCAC1B,WAAW,EAAE,UAAU;wCACvB,GAAG,KAAK,CAAC,0BAA0B,CAAC;qCACrC,CAAC,IACE,IACF,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,uBAAC,yBAAW,KAAG,CAChB,CAAC,CAAC,CAAC,CACF,uBAAC,WAAI,IACH,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,kBAAkB,EAAE,kBAAkB,EACtC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,CACH,EAED,iCAAK,SAAS,EAAC,MAAM,aACnB,uBAAC,2CAAoB,IACnB,KAAK,EAAC,qGAAqB,EAC3B,KAAK,EAAE,MAAM,EACb,OAAO,EAAC,QAAG,EACX,MAAM,EAAC,GAAG,GACV,EACF,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,EAChF,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACzE,gCAAK,SAAS,EAAC,QAAQ,YAAE,IAAA,+BAAc,EAAC,QAAQ,CAAC,GAAO,IACpD,IACF,EACN,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,+BAAc,EAAC,cAAc,CAAC,GAAO,IACpD,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,+BAA+B,GAAG,CACtC,gBAAiD,EACjD,KAA+B,EAC/B,EAAE,CAAC,CACH,4CACE,uBAAC,mBAAQ,IACP,IAAI,EAAC,8DAAY,EACjB,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,KACjD,KAAK,CAAC,eAAe,CAAC,EAC1B,KAAK,EAAE,gBAAgB,CAAC,aAAa,GACrC,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,EACrD,IAAI,EAAC,6FAAkB,KACnB,KAAK,CAAC,qBAAqB,CAAC,EAChC,KAAK,EAAE,gBAAgB,CAAC,mBAAmB,GAC3C,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,kHAAwB,KACzB,KAAK,CAAC,iBAAiB,CAAC,EAC5B,KAAK,EAAE,gBAAgB,CAAC,eAAe,GACvC,IACE,CACP,CAAC"}
|
|
@@ -2,8 +2,8 @@ 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 {
|
|
6
|
-
export declare type CommonCalculatorProps = Footnote &
|
|
5
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
6
|
+
export declare type CommonCalculatorProps = Footnote & ButtonsSectionContent & {
|
|
7
7
|
/** @title Адрес справочника */
|
|
8
8
|
sourceBookDir?: string;
|
|
9
9
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
* @title Перевод с карты на карту
|
|
6
6
|
*/
|
|
7
7
|
export declare type CardTransferContent = UniBlockContent & LabelProps & TitleProps & {
|
|
8
8
|
/** @title Плейсхолдер */
|
|
9
9
|
placeholder?: string;
|
|
10
|
-
button?:
|
|
10
|
+
button?: ButtonContent;
|
|
11
11
|
};
|
|
@@ -4,5 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Headline_1 = require("../Headline/Headline");
|
|
7
|
-
exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, className }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { headlineVersion: "
|
|
7
|
+
exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, className }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { headlineVersion: "XS", title: title, description: description, align: "text-left", className: "text-primary-text", isPadding: false }) })));
|
|
8
8
|
//# sourceMappingURL=CarouselBankHistoryCard.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselBankHistoryCard.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mDAAgD;AAKnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACrC,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,YACxD,uBAAC,mBAAQ,IACP,eAAe,EAAC,
|
|
1
|
+
{"version":3,"file":"CarouselBankHistoryCard.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mDAAgD;AAKnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACrC,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,YACxD,uBAAC,mBAAQ,IACP,eAAe,EAAC,IAAI,EACpB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAC,mBAAmB,EAC7B,SAAS,EAAE,KAAK,GAChB,GACW,CAChB,CACF,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
* @title Карточка карусели
|
|
7
7
|
*/
|
|
8
|
-
export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps &
|
|
8
|
+
export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
|
|
9
|
+
button?: ButtonContent;
|
|
9
10
|
carouselVersion?: SizeVersion;
|
|
10
11
|
};
|
|
@@ -12,6 +12,6 @@ const cardStyleMap = {
|
|
|
12
12
|
black: 'bg-black',
|
|
13
13
|
white: 'bg-white',
|
|
14
14
|
};
|
|
15
|
-
exports.CarouselCatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col justify-left
|
|
16
|
-
const renderColorOption = (color, i) => ((0, jsx_runtime_1.jsx)("div", { role: "figure", className: `w-6 h-6 ml-
|
|
15
|
+
exports.CarouselCatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center mb-xl", image: image }) : null, (0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "XS", isPadding: false, align: "text-left", className: "mb-m" }), colors?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex text-secondary-text mb-m", children: [(0, jsx_runtime_1.jsx)("div", { className: "mr-xs", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? ((0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'w-full mt-lg' })] })));
|
|
16
|
+
const renderColorOption = (color, i) => ((0, jsx_runtime_1.jsx)("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
17
17
|
//# sourceMappingURL=CarouselCatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAC1C,mDAAgD;AAKhD,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACjF,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAC1C,mDAAgD;AAKhD,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACjF,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,4BAA4B,EAAE,SAAS,CAAC,EACzD,cAAc,EAAC,OAAO,KAClB,IAAI,aAEP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,2BAA2B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAChF,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,SAAS,EAAE,KAAK,EAChB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAC,MAAM,GAChB,EACD,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,iCAAK,SAAS,EAAC,+BAA+B,aAC5C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,YAAY,gDAEhD,GACH,EACL,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,wBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,aACnC,KAAK,oBACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC,IACvD,CAChB,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,gCACE,IAAI,EAAC,QAAQ,EAEb,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
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
|
* @title Карточка каталога
|
|
8
8
|
*/
|
|
9
|
-
export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent &
|
|
9
|
+
export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & {
|
|
10
10
|
/** @title Цена в рублях */
|
|
11
11
|
price?: number;
|
|
12
12
|
/** @title Доступные цвета */
|
|
13
13
|
colors?: ProductColorVersion[];
|
|
14
|
+
button?: ButtonContent;
|
|
14
15
|
};
|
|
@@ -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
|
export declare const CATALOG_CARD: {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
price: number;
|
|
7
7
|
colors: ProductColorVersion[];
|
|
8
|
-
button:
|
|
8
|
+
button: ButtonContent;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CatalogCard.ts"],"names":[],"mappings":";;AAGA,MAAM,MAAM,GAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAEzD,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CatalogCard.ts"],"names":[],"mappings":";;AAGA,MAAM,MAAM,GAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAEzD,MAAM,aAAa,GAAkB;IACnC,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;KAClB;CACF,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,6EAA6E;IAC1F,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,aAAa;CACtB,CAAC"}
|
|
@@ -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
|
* @title Элемент списка
|
|
10
10
|
*/
|
|
@@ -15,7 +15,7 @@ export interface ListProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* @title Карточка продуктовой карусели
|
|
17
17
|
*/
|
|
18
|
-
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps &
|
|
18
|
+
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps & BulletsProps & LinkCommonProps & {
|
|
19
19
|
/** @title Список */
|
|
20
20
|
items?: ListProps[];
|
|
21
21
|
align?: TextAlign;
|
|
@@ -25,4 +25,5 @@ export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmall
|
|
|
25
25
|
isTopPosition?: boolean;
|
|
26
26
|
/** @title Кнопка по всей ширине */
|
|
27
27
|
isButtonFullWidth?: boolean;
|
|
28
|
+
button?: ButtonContent;
|
|
28
29
|
};
|
|
@@ -2,10 +2,10 @@ 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';
|
|
8
|
-
|
|
7
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
8
|
+
export declare type RecommendationSocialMedia = LinkCommonProps & IconProps & ButtonContent;
|
|
9
9
|
/**
|
|
10
10
|
* @title Карточка рекомендаций
|
|
11
11
|
*/
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import { AlignProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { AlignProps, HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import type { IconProps } from '../../model/Picture';
|
|
5
|
-
import type {
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
5
|
export declare type TariffsCardCellProps = HeadlineCommonProps & {
|
|
7
|
-
|
|
8
|
-
* @title Кнопка
|
|
9
|
-
* @maxItems 1
|
|
10
|
-
*/
|
|
11
|
-
buttons?: ButtonWithIconProps[];
|
|
6
|
+
buttons?: ButtonContent[];
|
|
12
7
|
};
|
|
13
8
|
/**
|
|
14
9
|
* @title Карточка тарифной карусели
|
|
@@ -17,7 +12,7 @@ export declare type CarouselTariffsCardContent = UniBlockContent & TitleProps &
|
|
|
17
12
|
/** @title Выделить карточку */
|
|
18
13
|
isHighlighting?: boolean;
|
|
19
14
|
/** @title Кнопка */
|
|
20
|
-
button?:
|
|
15
|
+
button?: ButtonContent;
|
|
21
16
|
/** @title Ячейка */
|
|
22
17
|
cardCells?: TariffsCardCellProps[];
|
|
23
18
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AdditionalDescriptionProps, HeadlineCommonProps } 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
|
* @title Элемент плитки
|
|
6
6
|
*/
|
|
7
7
|
export declare type ContactBlockProps = HeadlineCommonProps & AdditionalDescriptionProps & {
|
|
8
8
|
/** @title Кнопка */
|
|
9
|
-
button?:
|
|
9
|
+
button?: ButtonContent;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* @title Контакты
|
|
@@ -4,15 +4,9 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderBlockList_1 = require("../../BlockRenderer/renderBlockList");
|
|
6
6
|
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
7
|
-
const useBool_1 = require("../../hooks/useBool");
|
|
8
|
-
const useLocation_1 = require("../../hooks/useLocation");
|
|
9
|
-
const useSWRResource_1 = require("../../hooks/useSWRResource");
|
|
10
|
-
const ProjectSettings_1 = require("../../ProjectSettings");
|
|
11
7
|
const useBlockRouterProvider_1 = require("../../services/BlockRouter/useBlockRouterProvider");
|
|
12
8
|
const CookiePopup_1 = require("../../ui-kit/CookiePopup/CookiePopup");
|
|
13
|
-
const
|
|
14
|
-
const LocationDialog_1 = require("../../ui-kit/LocationDialog/LocationDialog");
|
|
15
|
-
const SearchDialog_1 = require("../../ui-kit/SearchDialog/SearchDialog");
|
|
9
|
+
const DialogManager_1 = require("../../ui-kit/DialogManager/DialogManager");
|
|
16
10
|
const style_1 = require("../../utils/style");
|
|
17
11
|
const LikeControl_1 = require("../LikeControl/LikeControl");
|
|
18
12
|
exports.ContentPage = (0, uni_jsx_1.JSX)(({ className, blocksRegistry, blockDecorator, data = {} }) => {
|
|
@@ -24,23 +18,8 @@ exports.ContentPage = (0, uni_jsx_1.JSX)(({ className, blocksRegistry, blockDeco
|
|
|
24
18
|
blockDecorator,
|
|
25
19
|
parent: data,
|
|
26
20
|
};
|
|
27
|
-
const sitemap = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.SITEMAP || 'sitemap', data?.fallback);
|
|
28
|
-
const [location, onChangeLocation] = (0, useLocation_1.useLocation)(sitemap?.defaultLocation);
|
|
29
21
|
(0, useBlockRouterProvider_1.useBlockRouterProvider)();
|
|
30
|
-
|
|
31
|
-
(0, useDialogHandlers_1.useDialogHandlers)({
|
|
32
|
-
onOpen: setSomeDialogOpened,
|
|
33
|
-
onClose: resetSomeDialogOpened,
|
|
34
|
-
});
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('relative @container', pageStyle, className, isSomeDialogOpened ? 'overflow-hidden h-screen' : ''), "data-theme": colorPalette, children: [slots?.header ? ((0, jsx_runtime_1.jsx)("div", { className: "relative z-10 mb-5 shadow-[0_8px_32px_0px_#00000014]", children: (0, renderBlockList_1.renderBlocksList)(slots?.header, {
|
|
36
|
-
...options,
|
|
37
|
-
slotName: 'header',
|
|
38
|
-
extraProps: { sitemap, location },
|
|
39
|
-
}) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-1", children: [(0, renderChildren_1.renderChildren)({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), (0, renderBlockList_1.renderBlocksList)(slots?.footer, {
|
|
40
|
-
...options,
|
|
41
|
-
slotName: 'footer',
|
|
42
|
-
extraProps: { sitemap, location },
|
|
43
|
-
})] }), likeControl ? renderLikeControl() : null, (0, jsx_runtime_1.jsx)(CookiePopup_1.CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } }), (0, jsx_runtime_1.jsx)(SearchDialog_1.SearchDialog, { topItems: sitemap?.topItems }), (0, jsx_runtime_1.jsx)(LocationDialog_1.LocationDialog, { currentLocation: location, foreignOffices: sitemap?.foreignOffices, onChangeLocation: onChangeLocation })] }));
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? ((0, jsx_runtime_1.jsx)("div", { className: "relative z-10 mb-5 shadow-[0_8px_32px_0px_#00000014]", children: (0, renderBlockList_1.renderBlocksList)(slots?.header, { ...options, slotName: 'header' }) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-1", children: [(0, renderChildren_1.renderChildren)({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), (0, renderBlockList_1.renderBlocksList)(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), (0, jsx_runtime_1.jsx)(DialogManager_1.DialogManager, {}), (0, jsx_runtime_1.jsx)(CookiePopup_1.CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
44
23
|
});
|
|
45
24
|
exports.ContentPage.childrenTypes = [];
|
|
46
25
|
exports.ContentPage.slots = () => ['header', 'footer'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAAuE;AACvE,uEAAoE;
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAAuE;AACvE,uEAAoE;AAKpE,8FAA2F;AAC3F,sEAAmE;AACnE,4EAAyE;AACzE,6CAA0C;AAC1C,4DAAyD;AAQ5C,QAAA,WAAW,GAA+B,IAAA,aAAG,EACxD,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE3E,MAAM,OAAO,GAAyB;QACpC,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,IAAI;QACV,cAAc;QACd,cAAc;QACd,MAAM,EAAE,IAAI;KACb,CAAC;IAEF,IAAA,+CAAsB,GAAE,CAAC;IAEzB,OAAO,CACL,4CACE,qCACE,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,SAAS,EAAE,SAAS,CAAC,gBACjD,YAAY,aAEvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,sDAAsD,YAClE,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,GAChE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,iCAAK,SAAS,EAAC,+CAA+C,aAC3D,IAAA,+BAAc,EAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,CAAC,EACnF,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,IAChE,EACL,WAAW,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,IAAI,IACjC,EACV,uBAAC,6BAAa,KAAG,EACjB,uBAAC,yBAAW,IACV,QAAQ,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,EACzD,sBAAsB,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,GAChE,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,mBAAW,CAAC,aAAa,GAAG,EAAE,CAAC;AAC/B,mBAAW,CAAC,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAE/C,SAAS,iBAAiB;IACxB,OAAO,CACL,gCAAK,SAAS,EAAC,qEAAqE,YAClF,uBAAC,yBAAW,IAAC,SAAS,EAAC,oDAAoD,GAAG,GAC1E,CACP,CAAC;AACJ,CAAC"}
|