@redneckz/wildless-cms-uni-blocks 0.12.13 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.12.12.js +48 -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 +450 -422
- 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/Calculator.mobile.d.ts +5 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +2 -2
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/bundle/components/Calculator/renderRate.d.ts +9 -0
- 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/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/rollupIconVersion.mobile.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/bundle/components/Tabs/renderTabs.d.ts +12 -0
- 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/useForm.d.ts +1 -0
- 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/icons/IconName.d.ts +3 -3
- 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/{lib/ui-kit/Dialog → bundle/ui-kit/DialogManager}/CloseButton.d.ts +1 -1
- package/bundle/ui-kit/{Dialog → 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/InputRange/InputRangeProps.d.ts +1 -0
- package/bundle/ui-kit/ListControlProps.d.ts +4 -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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -0
- package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +1 -3
- package/bundle/ui-kit/SearchDialog/useSearchDialog.d.ts +6 -0
- package/bundle/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/bundle/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/bundle/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/bundle/ui-kit/TabsControl/renderTab.d.ts +4 -0
- package/bundle/utils/BoolComparator.d.ts +11 -0
- package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -1
- 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/Blocks.mobile.js +2 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- 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 +19 -13
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.mobile.d.ts +5 -0
- package/dist/components/Calculator/Calculator.mobile.js +33 -0
- package/dist/components/Calculator/Calculator.mobile.js.map +1 -0
- package/dist/components/Calculator/CalculatorContent.d.ts +2 -2
- package/dist/components/Calculator/CalculatorValueBlock.js +2 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/dist/components/Calculator/CreditCalculatorForm.js +18 -11
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +13 -11
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -0
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +2 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/dist/components/Calculator/renderDaysInput.js +1 -1
- package/dist/components/Calculator/renderDaysInput.js.map +1 -1
- package/dist/components/Calculator/renderMonthsInput.js +1 -1
- package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/dist/components/Calculator/renderPaymentType.js +1 -0
- package/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/dist/components/Calculator/renderRate.d.ts +9 -0
- package/dist/components/Calculator/renderRate.js +16 -0
- package/dist/components/Calculator/renderRate.js.map +1 -0
- 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/CarouselProgramsCard/CarouselProgramsCard.js +6 -7
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- 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 +4 -3
- 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/HeaderTop.js +9 -6
- package/dist/components/Header/HeaderTop.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/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/dist/components/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/dist/components/MortgageFiltration/HotFilterRecord.js +5 -0
- package/dist/components/MortgageFiltration/HotFilterRecord.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +24 -4
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/RollupItem.js +1 -1
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +1 -1
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -1
- package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -1
- package/dist/components/RollupItem/rollupIconVersion.mobile.js +1 -1
- package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/dist/components/Tabs/Tabs.js +19 -24
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/renderTabs.d.ts +12 -0
- package/dist/components/Tabs/renderTabs.js +19 -0
- package/dist/components/Tabs/renderTabs.js.map +1 -0
- 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/useForm.d.ts +1 -0
- package/dist/hooks/useForm.js +5 -0
- package/dist/hooks/useForm.js.map +1 -1
- 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/icons/IconName.d.ts +3 -3
- package/dist/icons/IconName.js +3 -3
- package/dist/icons/IconName.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/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +2 -2
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +5 -3
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- 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/{bundle/ui-kit/Dialog → dist/ui-kit/DialogManager}/CloseButton.d.ts +1 -1
- package/{mobile/dist/ui-kit/Dialog → dist/ui-kit/DialogManager}/CloseButton.js +1 -1
- package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -0
- package/dist/ui-kit/{Dialog → 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/InputRange/InputRangeProps.d.ts +1 -0
- package/dist/ui-kit/ListControlProps.d.ts +4 -0
- package/dist/ui-kit/ListControlProps.js +2 -0
- package/dist/ui-kit/ListControlProps.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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -0
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- 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/dist/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +17 -0
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -0
- package/dist/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/dist/ui-kit/TabsControl/TabItem.js +38 -0
- package/dist/ui-kit/TabsControl/TabItem.js.map +1 -0
- package/dist/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/dist/ui-kit/TabsControl/TabsControl.js +8 -0
- package/dist/ui-kit/TabsControl/TabsControl.js.map +1 -0
- package/dist/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/dist/ui-kit/TabsControl/TabsControlProps.js +2 -0
- package/dist/ui-kit/TabsControl/TabsControlProps.js.map +1 -0
- package/dist/ui-kit/TabsControl/renderTab.d.ts +4 -0
- package/dist/ui-kit/TabsControl/renderTab.js +7 -0
- package/dist/ui-kit/TabsControl/renderTab.js.map +1 -0
- package/dist/utils/BoolComparator.d.ts +11 -0
- package/dist/utils/BoolComparator.js +19 -0
- package/dist/utils/BoolComparator.js.map +1 -0
- 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/Blocks.mobile.js +2 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- 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 +19 -13
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.fixture.mobile.d.ts +8 -0
- package/lib/components/Calculator/Calculator.mobile.d.ts +5 -0
- package/lib/components/Calculator/Calculator.mobile.js +31 -0
- package/lib/components/Calculator/Calculator.mobile.js.map +1 -0
- package/lib/components/Calculator/CalculatorContent.d.ts +2 -2
- package/lib/components/Calculator/CalculatorValueBlock.js +2 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/lib/components/Calculator/CreditCalculatorForm.js +18 -11
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +13 -11
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -0
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -2
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +2 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/lib/components/Calculator/renderDaysInput.d.ts +0 -1
- package/lib/components/Calculator/renderDaysInput.js +1 -1
- package/lib/components/Calculator/renderDaysInput.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.d.ts +0 -1
- package/lib/components/Calculator/renderInterestPayment.d.ts +0 -1
- package/lib/components/Calculator/renderMonthsInput.d.ts +0 -1
- package/lib/components/Calculator/renderMonthsInput.js +1 -1
- package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/lib/components/Calculator/renderPaymentType.d.ts +0 -1
- package/lib/components/Calculator/renderPaymentType.js +1 -0
- package/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/lib/components/Calculator/renderRate.d.ts +8 -0
- package/lib/components/Calculator/renderRate.js +13 -0
- package/lib/components/Calculator/renderRate.js.map +1 -0
- package/lib/components/Calculator/renderRegistrationType.d.ts +0 -1
- 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/CarouselProgramsCard/CarouselProgramsCard.js +7 -8
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- 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 +4 -3
- 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/HeaderTop.js +9 -6
- package/lib/components/Header/HeaderTop.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/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/lib/components/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/lib/components/MortgageFiltration/HotFilterRecord.js +3 -0
- package/lib/components/MortgageFiltration/HotFilterRecord.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +24 -4
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/RollupItem.js +1 -1
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +1 -1
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -1
- package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -1
- package/lib/components/RollupItem/rollupIconVersion.mobile.js +1 -1
- package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/lib/components/Tabs/Tabs.js +20 -25
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/Tabs/renderTabs.d.ts +11 -0
- package/lib/components/Tabs/renderTabs.js +16 -0
- package/lib/components/Tabs/renderTabs.js.map +1 -0
- 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/useForm.d.ts +1 -0
- package/lib/hooks/useForm.js +5 -0
- package/lib/hooks/useForm.js.map +1 -1
- 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/icons/IconName.d.ts +3 -3
- package/lib/icons/IconName.js +3 -3
- package/lib/icons/IconName.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/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +2 -2
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +5 -3
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- 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/{dist/ui-kit/Dialog → lib/ui-kit/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/lib/ui-kit/{Dialog → 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/InputRange/InputRangeProps.d.ts +1 -0
- package/lib/ui-kit/ListControlProps.d.ts +4 -0
- package/lib/ui-kit/ListControlProps.js +2 -0
- package/lib/ui-kit/ListControlProps.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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -0
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- 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/lib/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +15 -0
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -0
- package/lib/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/lib/ui-kit/TabsControl/TabItem.js +36 -0
- package/lib/ui-kit/TabsControl/TabItem.js.map +1 -0
- package/lib/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/lib/ui-kit/TabsControl/TabsControl.fixture.d.ts +8 -0
- package/lib/ui-kit/TabsControl/TabsControl.js +6 -0
- package/lib/ui-kit/TabsControl/TabsControl.js.map +1 -0
- package/lib/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/lib/ui-kit/TabsControl/TabsControlProps.js +2 -0
- package/lib/ui-kit/TabsControl/TabsControlProps.js.map +1 -0
- package/lib/ui-kit/TabsControl/renderTab.d.ts +3 -0
- package/lib/ui-kit/TabsControl/renderTab.js +4 -0
- package/lib/ui-kit/TabsControl/renderTab.js.map +1 -0
- package/lib/utils/BoolComparator.d.ts +11 -0
- package/lib/utils/BoolComparator.js +12 -0
- package/lib/utils/BoolComparator.js.map +1 -0
- package/mobile/bundle/EventBus/defaultEventBus.d.ts +4 -2
- package/mobile/bundle/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +975 -590
- 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/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/bundle/components/Calculator/renderRate.d.ts +9 -0
- 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/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/rollupIconVersion.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/bundle/components/Tabs/renderTabs.d.ts +12 -0
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/bundle/hooks/useForm.d.ts +1 -0
- 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/icons/IconName.d.ts +3 -3
- 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/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/ListControlProps.d.ts +4 -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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -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/bundle/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/mobile/bundle/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/mobile/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/mobile/bundle/ui-kit/TabsControl/renderTab.d.ts +4 -0
- package/mobile/bundle/utils/BoolComparator.d.ts +11 -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/Blocks.js +2 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- 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 +19 -13
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +27 -49
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -2
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +18 -11
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +13 -11
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -0
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +2 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/dist/components/Calculator/renderDaysInput.js +1 -1
- package/mobile/dist/components/Calculator/renderDaysInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderPaymentType.js +1 -0
- package/mobile/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRate.d.ts +9 -0
- package/mobile/dist/components/Calculator/renderRate.js +16 -0
- package/mobile/dist/components/Calculator/renderRate.js.map +1 -0
- 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/CarouselProgramsCard/CarouselProgramsCard.js +6 -7
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- 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 +4 -3
- 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/HeaderTop.js +9 -6
- package/mobile/dist/components/Header/HeaderTop.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/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/dist/components/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/mobile/dist/components/MortgageFiltration/HotFilterRecord.js +5 -0
- package/mobile/dist/components/MortgageFiltration/HotFilterRecord.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +24 -4
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/RollupItem.js +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +1 -1
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -1
- package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -1
- package/mobile/dist/components/RollupItem/rollupIconVersion.js +1 -1
- package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/dist/components/Tabs/Tabs.js +19 -24
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/Tabs/renderTabs.d.ts +12 -0
- package/mobile/dist/components/Tabs/renderTabs.js +19 -0
- package/mobile/dist/components/Tabs/renderTabs.js.map +1 -0
- 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/useForm.d.ts +1 -0
- package/mobile/dist/hooks/useForm.js +5 -0
- package/mobile/dist/hooks/useForm.js.map +1 -1
- 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/icons/IconName.d.ts +3 -3
- package/mobile/dist/icons/IconName.js +3 -3
- package/mobile/dist/icons/IconName.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/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +5 -3
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- 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/{dist/ui-kit/Dialog → mobile/dist/ui-kit/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/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/dist/ui-kit/ListControlProps.d.ts +4 -0
- package/mobile/dist/ui-kit/ListControlProps.js +2 -0
- package/mobile/dist/ui-kit/ListControlProps.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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -0
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- 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/dist/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +17 -0
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -0
- package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/mobile/dist/ui-kit/TabsControl/TabItem.js +38 -0
- package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControl.js +8 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControl.js.map +1 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControlProps.js +2 -0
- package/mobile/dist/ui-kit/TabsControl/TabsControlProps.js.map +1 -0
- package/mobile/dist/ui-kit/TabsControl/renderTab.d.ts +4 -0
- package/mobile/dist/ui-kit/TabsControl/renderTab.js +7 -0
- package/mobile/dist/ui-kit/TabsControl/renderTab.js.map +1 -0
- package/mobile/dist/utils/BoolComparator.d.ts +11 -0
- package/mobile/dist/utils/BoolComparator.js +19 -0
- package/mobile/dist/utils/BoolComparator.js.map +1 -0
- 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/Blocks.js +2 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- 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 +19 -13
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +28 -50
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -2
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -0
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +18 -11
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +13 -11
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -0
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +2 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/lib/components/Calculator/renderDaysInput.js +1 -1
- package/mobile/lib/components/Calculator/renderDaysInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderPaymentType.js +1 -0
- package/mobile/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRate.d.ts +9 -0
- package/mobile/lib/components/Calculator/renderRate.js +13 -0
- package/mobile/lib/components/Calculator/renderRate.js.map +1 -0
- 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/CarouselProgramsCard/CarouselProgramsCard.js +7 -8
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- 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 +4 -3
- 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/HeaderTop.js +9 -6
- package/mobile/lib/components/Header/HeaderTop.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/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/lib/components/MortgageFiltration/HotFilterRecord.d.ts +11 -0
- package/mobile/lib/components/MortgageFiltration/HotFilterRecord.js +3 -0
- package/mobile/lib/components/MortgageFiltration/HotFilterRecord.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +24 -4
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +12 -0
- 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/RollupItem/RollupItem.js +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +1 -1
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -1
- package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -1
- package/mobile/lib/components/RollupItem/rollupIconVersion.js +1 -1
- package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -9
- package/mobile/lib/components/Tabs/Tabs.js +20 -25
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/Tabs/renderTabs.d.ts +12 -0
- package/mobile/lib/components/Tabs/renderTabs.js +16 -0
- package/mobile/lib/components/Tabs/renderTabs.js.map +1 -0
- 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/useForm.d.ts +1 -0
- package/mobile/lib/hooks/useForm.js +5 -0
- package/mobile/lib/hooks/useForm.js.map +1 -1
- 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/icons/IconName.d.ts +3 -3
- package/mobile/lib/icons/IconName.js +3 -3
- package/mobile/lib/icons/IconName.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/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +5 -3
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- 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/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/lib/ui-kit/ListControlProps.d.ts +4 -0
- package/mobile/lib/ui-kit/ListControlProps.js +2 -0
- package/mobile/lib/ui-kit/ListControlProps.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/RadioButtonGroup/RadioButtonGroup.d.ts +1 -0
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- 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/lib/ui-kit/TabsControl/ScrollableTabsControl.d.ts +2 -0
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +15 -0
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -0
- package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +11 -0
- package/mobile/lib/ui-kit/TabsControl/TabItem.js +36 -0
- package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControl.d.ts +2 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControl.js +6 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControl.js.map +1 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControlProps.d.ts +6 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControlProps.js +2 -0
- package/mobile/lib/ui-kit/TabsControl/TabsControlProps.js.map +1 -0
- package/mobile/lib/ui-kit/TabsControl/renderTab.d.ts +4 -0
- package/mobile/lib/ui-kit/TabsControl/renderTab.js +4 -0
- package/mobile/lib/ui-kit/TabsControl/renderTab.js.map +1 -0
- package/mobile/lib/utils/BoolComparator.d.ts +11 -0
- package/mobile/lib/utils/BoolComparator.js +12 -0
- package/mobile/lib/utils/BoolComparator.js.map +1 -0
- 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/Blocks.ts +2 -0
- 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 +36 -41
- package/mobile/src/components/Calculator/Calculator.tsx +69 -118
- package/mobile/src/components/Calculator/CalculatorContent.ts +2 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +3 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +29 -27
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +23 -16
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +5 -2
- package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +4 -0
- package/mobile/src/components/Calculator/renderDaysInput.tsx +0 -1
- package/mobile/src/components/Calculator/renderMonthsInput.tsx +0 -1
- package/mobile/src/components/Calculator/renderPaymentType.tsx +1 -0
- package/mobile/src/components/Calculator/renderRate.tsx +37 -0
- 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/CarouselProgramsCard/CarouselProgramsCard.tsx +15 -33
- 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 +4 -3
- 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/Header/HeaderTop.tsx +27 -14
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
- package/mobile/src/components/MortgageFiltration/HotFilterRecord.ts +14 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +54 -4
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +51 -4
- package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +13 -0
- 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/RollupItem/RollupItem.tsx +1 -1
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +1 -1
- package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -9
- package/mobile/src/components/Tabs/Tabs.tsx +42 -53
- package/mobile/src/components/Tabs/renderTabs.tsx +37 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
- package/mobile/src/hooks/useForm.ts +7 -0
- 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/icons/ArrowDownSolidIcon.svg +1 -1
- package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/services/sitemap/useSitemap.ts +7 -0
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +2 -2
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +4 -4
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
- package/mobile/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +8 -3
- 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/InputRange/InputRangeProps.ts +1 -0
- package/mobile/src/ui-kit/ListControlProps.ts +5 -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/RadioButtonGroup/RadioButtonGroup.tsx +10 -2
- 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/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +41 -0
- package/mobile/src/ui-kit/TabsControl/TabItem.tsx +81 -0
- package/mobile/src/ui-kit/TabsControl/TabsControl.tsx +12 -0
- package/mobile/src/ui-kit/TabsControl/TabsControlProps.ts +7 -0
- package/mobile/src/ui-kit/TabsControl/renderTab.tsx +15 -0
- package/mobile/src/utils/BoolComparator.ts +47 -0
- 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/Blocks.mobile.ts +2 -0
- 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 +36 -41
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +114 -0
- package/src/components/Calculator/Calculator.fixture.tsx +2 -2
- package/src/components/Calculator/Calculator.mobile.tsx +85 -0
- package/src/components/Calculator/CalculatorContent.ts +2 -2
- package/src/components/Calculator/CalculatorValueBlock.tsx +3 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +29 -27
- package/src/components/Calculator/DepositCalculatorForm.tsx +23 -16
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +5 -2
- package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +4 -0
- package/src/components/Calculator/renderDaysInput.tsx +0 -1
- package/src/components/Calculator/renderMonthsInput.tsx +0 -1
- package/src/components/Calculator/renderPaymentType.tsx +1 -0
- package/src/components/Calculator/renderRate.tsx +37 -0
- 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/CarouselProgramsCard/CarouselProgramsCard.tsx +15 -33
- 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 +4 -3
- 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/Header/HeaderTop.tsx +27 -14
- 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 +10 -12
- package/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -2
- package/src/components/MortgageFiltration/HotFilterRecord.ts +14 -0
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +54 -4
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +51 -14
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +51 -4
- package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +13 -0
- 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/RollupItem/RollupItem.tsx +1 -1
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +1 -1
- package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlockContent.ts +9 -9
- package/src/components/Tabs/Tabs.tsx +42 -53
- package/src/components/Tabs/renderTabs.tsx +37 -0
- 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/useForm.ts +7 -0
- 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/icons/ArrowDownSolidIcon.svg +1 -1
- package/src/icons/ArrowUpSolidIcon.svg +1 -1
- package/src/icons/IconName.ts +4 -4
- package/src/services/sitemap/useSitemap.ts +7 -0
- package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +2 -2
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +4 -4
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -2
- package/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
- package/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +8 -3
- 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/InputRange/InputRangeProps.ts +1 -0
- package/src/ui-kit/ListControlProps.ts +5 -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/RadioButtonGroup/RadioButtonGroup.tsx +10 -2
- 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/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +41 -0
- package/src/ui-kit/TabsControl/TabItem.tsx +81 -0
- package/src/ui-kit/TabsControl/TabsControl.fixture.tsx +103 -0
- package/src/ui-kit/TabsControl/TabsControl.tsx +12 -0
- package/src/ui-kit/TabsControl/TabsControlProps.ts +7 -0
- package/src/ui-kit/TabsControl/renderTab.tsx +15 -0
- package/src/utils/BoolComparator.ts +47 -0
- package/bundle/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/bundle/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +0 -2
- package/bundle/components/Tabs/CenteredTabs.d.ts +0 -7
- package/bundle/components/Tabs/LinkTab.d.ts +0 -9
- package/bundle/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/bundle/components/Tabs/renderGroupTab.d.ts +0 -4
- package/bundle/components/Tabs/renderTab.d.ts +0 -11
- package/bundle/components/Tabs/tabItemClasses.d.ts +0 -11
- package/bundle/hooks/useCachedAsyncData.d.ts +0 -2
- package/bundle/model/Button.d.ts +0 -15
- package/bundle/ui-kit/BaseTile/getTileRightPadding.d.ts +0 -1
- 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/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/dist/components/CarouselProgramsCard/programCardStyles.js +0 -5
- package/dist/components/CarouselProgramsCard/programCardStyles.js.map +0 -1
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +0 -2
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.js +0 -5
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.js.map +0 -1
- package/dist/components/Tabs/CenteredTabs.d.ts +0 -7
- package/dist/components/Tabs/CenteredTabs.js +0 -7
- package/dist/components/Tabs/CenteredTabs.js.map +0 -1
- package/dist/components/Tabs/LinkTab.d.ts +0 -9
- package/dist/components/Tabs/LinkTab.js +0 -19
- package/dist/components/Tabs/LinkTab.js.map +0 -1
- package/dist/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/dist/components/Tabs/ScrollableTabs.js +0 -17
- package/dist/components/Tabs/ScrollableTabs.js.map +0 -1
- package/dist/components/Tabs/renderGroupTab.d.ts +0 -4
- package/dist/components/Tabs/renderGroupTab.js +0 -20
- package/dist/components/Tabs/renderGroupTab.js.map +0 -1
- package/dist/components/Tabs/renderTab.d.ts +0 -11
- package/dist/components/Tabs/renderTab.js +0 -24
- package/dist/components/Tabs/renderTab.js.map +0 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +0 -11
- package/dist/components/Tabs/tabItemClasses.js +0 -48
- package/dist/components/Tabs/tabItemClasses.js.map +0 -1
- 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/BaseTile/getTileRightPadding.d.ts +0 -1
- package/dist/ui-kit/BaseTile/getTileRightPadding.js +0 -17
- package/dist/ui-kit/BaseTile/getTileRightPadding.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/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/lib/components/CarouselProgramsCard/programCardStyles.js +0 -3
- package/lib/components/CarouselProgramsCard/programCardStyles.js.map +0 -1
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +0 -2
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.js +0 -3
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.js.map +0 -1
- package/lib/components/Tabs/CenteredTabs.d.ts +0 -7
- package/lib/components/Tabs/CenteredTabs.js +0 -5
- package/lib/components/Tabs/CenteredTabs.js.map +0 -1
- package/lib/components/Tabs/LinkTab.d.ts +0 -9
- package/lib/components/Tabs/LinkTab.js +0 -17
- package/lib/components/Tabs/LinkTab.js.map +0 -1
- package/lib/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/lib/components/Tabs/ScrollableTabs.js +0 -15
- package/lib/components/Tabs/ScrollableTabs.js.map +0 -1
- package/lib/components/Tabs/renderGroupTab.d.ts +0 -3
- package/lib/components/Tabs/renderGroupTab.js +0 -17
- package/lib/components/Tabs/renderGroupTab.js.map +0 -1
- package/lib/components/Tabs/renderTab.d.ts +0 -10
- package/lib/components/Tabs/renderTab.js +0 -21
- package/lib/components/Tabs/renderTab.js.map +0 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +0 -11
- package/lib/components/Tabs/tabItemClasses.js +0 -45
- package/lib/components/Tabs/tabItemClasses.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/BaseTile/getTileRightPadding.d.ts +0 -1
- package/lib/ui-kit/BaseTile/getTileRightPadding.js +0 -14
- package/lib/ui-kit/BaseTile/getTileRightPadding.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/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/mobile/bundle/components/Tabs/CenteredTabs.d.ts +0 -7
- package/mobile/bundle/components/Tabs/LinkTab.d.ts +0 -9
- package/mobile/bundle/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +0 -4
- package/mobile/bundle/components/Tabs/renderTab.d.ts +0 -11
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +0 -11
- package/mobile/bundle/hooks/useCachedAsyncData.d.ts +0 -2
- package/mobile/bundle/model/Button.d.ts +0 -15
- package/mobile/bundle/ui-kit/BaseTile/getTileRightPadding.d.ts +0 -1
- 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/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/mobile/dist/components/CarouselProgramsCard/programCardStyles.js +0 -5
- package/mobile/dist/components/CarouselProgramsCard/programCardStyles.js.map +0 -1
- package/mobile/dist/components/Tabs/CenteredTabs.d.ts +0 -7
- package/mobile/dist/components/Tabs/CenteredTabs.js +0 -7
- package/mobile/dist/components/Tabs/CenteredTabs.js.map +0 -1
- package/mobile/dist/components/Tabs/LinkTab.d.ts +0 -9
- package/mobile/dist/components/Tabs/LinkTab.js +0 -19
- package/mobile/dist/components/Tabs/LinkTab.js.map +0 -1
- package/mobile/dist/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/mobile/dist/components/Tabs/ScrollableTabs.js +0 -17
- package/mobile/dist/components/Tabs/ScrollableTabs.js.map +0 -1
- package/mobile/dist/components/Tabs/renderGroupTab.d.ts +0 -4
- package/mobile/dist/components/Tabs/renderGroupTab.js +0 -20
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +0 -1
- package/mobile/dist/components/Tabs/renderTab.d.ts +0 -11
- package/mobile/dist/components/Tabs/renderTab.js +0 -24
- package/mobile/dist/components/Tabs/renderTab.js.map +0 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +0 -11
- package/mobile/dist/components/Tabs/tabItemClasses.js +0 -48
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +0 -1
- 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/BaseTile/getTileRightPadding.d.ts +0 -1
- package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js +0 -17
- package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.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/components/CarouselProgramsCard/programCardStyles.d.ts +0 -2
- package/mobile/lib/components/CarouselProgramsCard/programCardStyles.js +0 -3
- package/mobile/lib/components/CarouselProgramsCard/programCardStyles.js.map +0 -1
- package/mobile/lib/components/Tabs/CenteredTabs.d.ts +0 -7
- package/mobile/lib/components/Tabs/CenteredTabs.js +0 -5
- package/mobile/lib/components/Tabs/CenteredTabs.js.map +0 -1
- package/mobile/lib/components/Tabs/LinkTab.d.ts +0 -9
- package/mobile/lib/components/Tabs/LinkTab.js +0 -17
- package/mobile/lib/components/Tabs/LinkTab.js.map +0 -1
- package/mobile/lib/components/Tabs/ScrollableTabs.d.ts +0 -8
- package/mobile/lib/components/Tabs/ScrollableTabs.js +0 -15
- package/mobile/lib/components/Tabs/ScrollableTabs.js.map +0 -1
- package/mobile/lib/components/Tabs/renderGroupTab.d.ts +0 -4
- package/mobile/lib/components/Tabs/renderGroupTab.js +0 -17
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +0 -1
- package/mobile/lib/components/Tabs/renderTab.d.ts +0 -11
- package/mobile/lib/components/Tabs/renderTab.js +0 -21
- package/mobile/lib/components/Tabs/renderTab.js.map +0 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +0 -11
- package/mobile/lib/components/Tabs/tabItemClasses.js +0 -45
- package/mobile/lib/components/Tabs/tabItemClasses.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/BaseTile/getTileRightPadding.d.ts +0 -1
- package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js +0 -14
- package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.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/CarouselProgramsCard/programCardStyles.ts +0 -2
- package/mobile/src/components/Header/sitemap.wcms-resource.json +0 -144
- package/mobile/src/components/Tabs/CenteredTabs.tsx +0 -12
- package/mobile/src/components/Tabs/LinkTab.tsx +0 -47
- package/mobile/src/components/Tabs/ScrollableTabs.tsx +0 -46
- package/mobile/src/components/Tabs/renderGroupTab.tsx +0 -53
- package/mobile/src/components/Tabs/renderTab.tsx +0 -35
- package/mobile/src/components/Tabs/tabItemClasses.ts +0 -56
- package/mobile/src/hooks/useCachedAsyncData.ts +0 -37
- package/mobile/src/model/Button.ts +0 -16
- package/mobile/src/ui-kit/BaseTile/getTileRightPadding.ts +0 -12
- 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/CarouselProgramsCard/programCardStyles.mobile.ts +0 -2
- package/src/components/CarouselProgramsCard/programCardStyles.ts +0 -2
- package/src/components/Header/sitemap.wcms-resource.json +0 -144
- package/src/components/Tabs/CenteredTabs.tsx +0 -12
- package/src/components/Tabs/LinkTab.tsx +0 -47
- package/src/components/Tabs/ScrollableTabs.tsx +0 -46
- package/src/components/Tabs/renderGroupTab.tsx +0 -53
- package/src/components/Tabs/renderTab.tsx +0 -35
- package/src/components/Tabs/tabItemClasses.ts +0 -56
- package/src/hooks/useCachedAsyncData.ts +0 -37
- package/src/model/Button.ts +0 -16
- package/src/ui-kit/BaseTile/getTileRightPadding.ts +0 -12
- 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/cosmos-static/icons/{ChevronLeft.svg → ChevronLeftIcon.svg} +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/mobile/src/icons/{ChevronLeft.svg → ChevronLeftIcon.svg} +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
- /package/src/icons/{ChevronLeft.svg → ChevronLeftIcon.svg} +0 -0
|
@@ -4,42 +4,42 @@ import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOpti
|
|
|
4
4
|
import { Blocks } from '../Blocks';
|
|
5
5
|
import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
|
|
6
6
|
import { MortgageFiltration } from './MortgageFiltration';
|
|
7
|
-
import type { MortgageFiltrationContent } from './MortgageFiltrationContent';
|
|
7
|
+
import type { HotFilterButton, MortgageFiltrationContent } from './MortgageFiltrationContent';
|
|
8
8
|
|
|
9
9
|
const PROPERTY_APARTMENT = {
|
|
10
|
-
propertyType: 'apartment',
|
|
10
|
+
propertyType: ['apartment'],
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const PROPERTY_FLAT = {
|
|
14
|
-
propertyType: 'flat',
|
|
14
|
+
propertyType: ['flat'],
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
const PROPERTY_HOUSE = {
|
|
18
|
-
propertyType: 'house',
|
|
18
|
+
propertyType: ['house'],
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
const STAGE_BUILT = {
|
|
22
|
-
stage: 'built',
|
|
22
|
+
stage: ['built'],
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
const STAGE_IN_PROGRESS = {
|
|
26
|
-
stage: 'inProgress',
|
|
26
|
+
stage: ['inProgress'],
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
const EXTRA_MORTGAGE = {
|
|
30
|
-
extraOptions: 'preferentialMortgage',
|
|
30
|
+
extraOptions: ['preferentialMortgage'],
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const EXTRA_CHILDREN = {
|
|
34
|
-
extraOptions: 'children',
|
|
34
|
+
extraOptions: ['children'],
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
const CATEGORY_IT = {
|
|
38
|
-
categories: 'IT',
|
|
38
|
+
categories: ['IT'],
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
const CATEGORY_SALARY = {
|
|
42
|
-
categories: 'salaryClient',
|
|
42
|
+
categories: ['salaryClient'],
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const generateBlock = (...presets: any[]) => ({
|
|
@@ -54,8 +54,15 @@ const SCHEMA: MortgageFiltrationContent['filtrationSchema'] = {
|
|
|
54
54
|
type: 'array',
|
|
55
55
|
items: {
|
|
56
56
|
type: 'string',
|
|
57
|
-
enum: ['flat', 'apartment', 'house', 'storeRoom', 'parkingSpace'],
|
|
58
|
-
enumNames: [
|
|
57
|
+
enum: ['flat', 'apartment', 'house', 'storeRoom', 'parkingSpace', 'suburban'],
|
|
58
|
+
enumNames: [
|
|
59
|
+
'Квартира',
|
|
60
|
+
'Апартаменты',
|
|
61
|
+
'Жилой дом',
|
|
62
|
+
'Кладовая',
|
|
63
|
+
'Машино-место',
|
|
64
|
+
'Загородная недвижимость',
|
|
65
|
+
],
|
|
59
66
|
},
|
|
60
67
|
},
|
|
61
68
|
stage: {
|
|
@@ -88,12 +95,41 @@ const SCHEMA: MortgageFiltrationContent['filtrationSchema'] = {
|
|
|
88
95
|
type: 'array',
|
|
89
96
|
items: {
|
|
90
97
|
type: 'string',
|
|
91
|
-
enum: ['preferentialMortgage', 'children'],
|
|
92
|
-
enumNames: ['Льготная ипотека', 'Дети'],
|
|
98
|
+
enum: ['preferentialMortgage', 'children', 'refinancing'],
|
|
99
|
+
enumNames: ['Льготная ипотека', 'Дети', 'Рефинансирование'],
|
|
93
100
|
},
|
|
94
101
|
},
|
|
95
102
|
};
|
|
96
103
|
|
|
104
|
+
const HOT_FILTERS: HotFilterButton[] = [
|
|
105
|
+
{ text: 'Все программы' },
|
|
106
|
+
{
|
|
107
|
+
text: 'Льготные программы',
|
|
108
|
+
filter: {
|
|
109
|
+
categories: [],
|
|
110
|
+
extraOptions: ['preferentialMortgage'],
|
|
111
|
+
propertyType: [],
|
|
112
|
+
stage: [],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
text: 'Строящееся жилье',
|
|
117
|
+
filter: { stage: ['inProgress'], categories: [], extraOptions: [], propertyType: [] },
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
text: 'Готовое жилье',
|
|
121
|
+
filter: { stage: ['built'], categories: [], extraOptions: [], propertyType: [] },
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
text: 'Загородная недвижимость',
|
|
125
|
+
filter: { propertyType: ['suburban'], categories: [], extraOptions: [], stage: [] },
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
text: 'Рефинансирование',
|
|
129
|
+
filter: { categories: [], extraOptions: ['refinancing'], propertyType: [], stage: [] },
|
|
130
|
+
},
|
|
131
|
+
];
|
|
132
|
+
|
|
97
133
|
const options = {
|
|
98
134
|
blocksRegistry: Blocks,
|
|
99
135
|
} as BlockRendererOptions;
|
|
@@ -106,6 +142,7 @@ export default {
|
|
|
106
142
|
label="Другие ипотечные программы"
|
|
107
143
|
filtrationSchema={SCHEMA}
|
|
108
144
|
topItemsCount={2}
|
|
145
|
+
hotFilters={HOT_FILTERS}
|
|
109
146
|
resetButton={{ text: 'Очистить фильтры', version: 'secondary' }}
|
|
110
147
|
notFound={{
|
|
111
148
|
title: 'Нет подходящей программы',
|
|
@@ -1,19 +1,60 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useCallback, useEffect, useMemo, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
3
|
import { useForm } from '../../hooks/useForm';
|
|
3
4
|
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
4
5
|
import { BaseFiltrationInner } from '../../ui-kit/BaseFiltration/BaseFiltrationInner';
|
|
5
6
|
import { renderFiltrationForm } from '../../ui-kit/BaseFiltration/renderFiltrationForm';
|
|
6
7
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
8
|
+
import type { TabItemBase } from '../../ui-kit/TabsControl/TabItem';
|
|
9
|
+
import { TabsControl } from '../../ui-kit/TabsControl/TabsControl';
|
|
7
10
|
import { style } from '../../utils/style';
|
|
8
|
-
import
|
|
11
|
+
import { hotFilterRecordCmp } from './HotFilterRecord';
|
|
12
|
+
import type {
|
|
13
|
+
MortgageFiltrationContent,
|
|
14
|
+
MortgageFiltrationSchema,
|
|
15
|
+
} from './MortgageFiltrationContent';
|
|
9
16
|
|
|
10
17
|
interface MortgageFiltrationProps extends MortgageFiltrationContent, UniBlockProps {}
|
|
11
18
|
|
|
12
|
-
const initialFiltrationState = {
|
|
19
|
+
const initialFiltrationState: Partial<Record<keyof MortgageFiltrationSchema, string[]>> = {
|
|
20
|
+
categories: [],
|
|
21
|
+
extraOptions: [],
|
|
22
|
+
propertyType: [],
|
|
23
|
+
stage: [],
|
|
24
|
+
};
|
|
13
25
|
|
|
14
26
|
export const MortgageFiltration: JSXBlock<MortgageFiltrationProps> = JSX<MortgageFiltrationProps>(
|
|
15
|
-
({ className, filtrationSchema = {}, resetButton, ...rest }) => {
|
|
16
|
-
const [filtrationState, { field, reset }] =
|
|
27
|
+
({ className, hotFilters = [], filtrationSchema = {}, resetButton, ...rest }) => {
|
|
28
|
+
const [filtrationState, { field, reset, update: replaceFiltrationState }] =
|
|
29
|
+
useForm(initialFiltrationState);
|
|
30
|
+
|
|
31
|
+
const normalizedHotFilters: TabItemBase[] = useMemo(
|
|
32
|
+
() =>
|
|
33
|
+
hotFilters.map(({ text }) => ({
|
|
34
|
+
text,
|
|
35
|
+
})),
|
|
36
|
+
[hotFilters],
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
const [hotFilterIndex, setHotFilterIndex] = useState(0);
|
|
40
|
+
|
|
41
|
+
const handleHotFilterSelect = useCallback(
|
|
42
|
+
(_: TabItemBase) => {
|
|
43
|
+
setHotFilterIndex(normalizedHotFilters.indexOf(_));
|
|
44
|
+
replaceFiltrationState(
|
|
45
|
+
hotFilters[normalizedHotFilters.indexOf(_)].filter || initialFiltrationState,
|
|
46
|
+
);
|
|
47
|
+
},
|
|
48
|
+
[normalizedHotFilters],
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
useEffect(() => {
|
|
52
|
+
const suggestedHotFilterIndex = hotFilters.findIndex((_) =>
|
|
53
|
+
hotFilterRecordCmp(_.filter, filtrationState),
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
setHotFilterIndex(suggestedHotFilterIndex !== -1 ? suggestedHotFilterIndex : 0);
|
|
57
|
+
}, [hotFilters, filtrationState]);
|
|
17
58
|
|
|
18
59
|
return (
|
|
19
60
|
<BlockWrapper
|
|
@@ -22,6 +63,12 @@ export const MortgageFiltration: JSXBlock<MortgageFiltrationProps> = JSX<Mortgag
|
|
|
22
63
|
version="transparent"
|
|
23
64
|
{...rest}
|
|
24
65
|
>
|
|
66
|
+
<TabsControl
|
|
67
|
+
className="mb-2xs"
|
|
68
|
+
items={normalizedHotFilters}
|
|
69
|
+
value={normalizedHotFilters[hotFilterIndex]}
|
|
70
|
+
onChange={handleHotFilterSelect}
|
|
71
|
+
/>
|
|
25
72
|
{renderFiltrationForm({ field, reset, filtrationSchema, resetButton })}
|
|
26
73
|
<BaseFiltrationInner filtrationState={filtrationState} {...rest} />
|
|
27
74
|
</BlockWrapper>
|
|
@@ -2,6 +2,7 @@ import type {
|
|
|
2
2
|
BaseFiltrationInnerContent,
|
|
3
3
|
StringArray,
|
|
4
4
|
} from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
|
|
5
|
+
import type { HotFilterRecord } from './HotFilterRecord';
|
|
5
6
|
|
|
6
7
|
export type MortgageFiltrationSchema = {
|
|
7
8
|
/** @title Тип недвижимости */
|
|
@@ -14,10 +15,22 @@ export type MortgageFiltrationSchema = {
|
|
|
14
15
|
extraOptions?: StringArray;
|
|
15
16
|
};
|
|
16
17
|
|
|
18
|
+
/**
|
|
19
|
+
* @title Кнопка фильтрации
|
|
20
|
+
*/
|
|
21
|
+
export interface HotFilterButton {
|
|
22
|
+
/** @title Текст */
|
|
23
|
+
text?: string;
|
|
24
|
+
/** @title Применяемые фильтры */
|
|
25
|
+
filter?: HotFilterRecord;
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
/**
|
|
18
29
|
* @title Подборщик ипотек
|
|
19
30
|
*/
|
|
20
31
|
export interface MortgageFiltrationContent extends BaseFiltrationInnerContent {
|
|
21
32
|
/** @title Параметры фильтрации */
|
|
22
33
|
filtrationSchema?: MortgageFiltrationSchema;
|
|
34
|
+
/** @title Горячие фильтры */
|
|
35
|
+
hotFilters?: HotFilterButton[];
|
|
23
36
|
}
|
|
@@ -2,8 +2,8 @@ import '../../setup-fixture';
|
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ComplexBenefitContent } from '../../ui-kit/BenefitItem/BenefitItemContent';
|
|
5
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
6
5
|
import { ProductBlock } from './ProductBlock';
|
|
6
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
7
|
|
|
8
8
|
const title = 'Кредит до 5 000 000 Р\nбез залога и поручителей';
|
|
9
9
|
const description =
|
|
@@ -41,7 +41,7 @@ const benefits: ComplexBenefitContent[] = [
|
|
|
41
41
|
},
|
|
42
42
|
];
|
|
43
43
|
|
|
44
|
-
const buttons:
|
|
44
|
+
const buttons: ButtonContent[] = [
|
|
45
45
|
{
|
|
46
46
|
href: 'https://rshb.ru',
|
|
47
47
|
text: 'Оформить карту',
|
|
@@ -2,7 +2,7 @@ import '../../setup-fixture';
|
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ComplexBenefitContent } from '../../ui-kit/BenefitItem/BenefitItemContent';
|
|
5
|
-
import type {
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
import { ProductBlock } from './ProductBlock';
|
|
7
7
|
import type { ProductBlockContent } from './ProductBlockContent';
|
|
8
8
|
|
|
@@ -37,7 +37,7 @@ const benefits: ComplexBenefitContent[] = [
|
|
|
37
37
|
},
|
|
38
38
|
];
|
|
39
39
|
|
|
40
|
-
const buttons:
|
|
40
|
+
const buttons: ButtonContent[] = [
|
|
41
41
|
{
|
|
42
42
|
href: 'https://rshb.ru',
|
|
43
43
|
text: 'Оформить карту',
|
|
@@ -52,7 +52,7 @@ const buttons: ButtonWithIconProps[] = [
|
|
|
52
52
|
},
|
|
53
53
|
];
|
|
54
54
|
|
|
55
|
-
const buttonsSecond:
|
|
55
|
+
const buttonsSecond: ButtonContent[] = [
|
|
56
56
|
{
|
|
57
57
|
href: 'https://rshb.ru',
|
|
58
58
|
text: 'Подробнее',
|
|
@@ -67,7 +67,7 @@ const items = [
|
|
|
67
67
|
'Расходы для бизнеса на УСН 15% позволят снизить налоговую базу',
|
|
68
68
|
];
|
|
69
69
|
|
|
70
|
-
const backwardButton:
|
|
70
|
+
const backwardButton: ButtonContent = {
|
|
71
71
|
href: 'https://rshb.ru',
|
|
72
72
|
text: 'Все кредитные карты',
|
|
73
73
|
icon: { icon: 'ArrowLeftIcon' },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @title Продуктовый блок
|
|
@@ -8,5 +8,5 @@ import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
|
8
8
|
export type ProductBlockContent = UniBlockContent &
|
|
9
9
|
BaseProductTileContent & {
|
|
10
10
|
/** @title Кнопка возврата */
|
|
11
|
-
backwardButton?:
|
|
11
|
+
backwardButton?: ButtonContent;
|
|
12
12
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
2
|
import { Button } from '../../ui-kit/Button/Button';
|
|
3
|
-
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
5
|
|
|
6
6
|
export function renderBackwardButton(
|
|
7
|
-
{ text, href, target, icon }:
|
|
7
|
+
{ text, href, target, icon }: ButtonContent,
|
|
8
8
|
version: ButtonVersion,
|
|
9
9
|
) {
|
|
10
10
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
2
|
import '../../setup-fixture';
|
|
3
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
3
|
import { ProductGallery } from './ProductGallery';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
5
|
|
|
6
6
|
const percentImage: Picture = {
|
|
7
7
|
src: '3-6-percent.png',
|
|
@@ -27,7 +27,7 @@ const items = [
|
|
|
27
27
|
'Получите деньги без залога и поручительства',
|
|
28
28
|
'Кредитный лимит до 5 млн рублей',
|
|
29
29
|
];
|
|
30
|
-
const buttons:
|
|
30
|
+
const buttons: ButtonContent[] = [
|
|
31
31
|
{
|
|
32
32
|
href: 'https://rshb.ru',
|
|
33
33
|
text: 'Подробнее',
|
|
@@ -36,7 +36,7 @@ const buttons: ButtonWithIconProps[] = [
|
|
|
36
36
|
},
|
|
37
37
|
];
|
|
38
38
|
|
|
39
|
-
const buttonsSecondary:
|
|
39
|
+
const buttonsSecondary: ButtonContent[] = [
|
|
40
40
|
{
|
|
41
41
|
href: 'https://rshb.ru',
|
|
42
42
|
text: 'Подробнее',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
4
|
import { ProductGallery } from './ProductGallery';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
7
|
const percentImage: Picture = {
|
|
8
8
|
src: '3-6-percent.png',
|
|
@@ -37,7 +37,7 @@ const items = [
|
|
|
37
37
|
'Получите деньги без залога и поручительства',
|
|
38
38
|
'Кредитный лимит до 5 млн рублей',
|
|
39
39
|
];
|
|
40
|
-
const buttons:
|
|
40
|
+
const buttons: ButtonContent[] = [
|
|
41
41
|
{
|
|
42
42
|
href: 'https://rshb.ru',
|
|
43
43
|
text: 'Подробнее',
|
|
@@ -46,7 +46,7 @@ const buttons: ButtonWithIconProps[] = [
|
|
|
46
46
|
},
|
|
47
47
|
];
|
|
48
48
|
|
|
49
|
-
const buttonsSecondary:
|
|
49
|
+
const buttonsSecondary: ButtonContent[] = [
|
|
50
50
|
{
|
|
51
51
|
href: 'https://rshb.ru',
|
|
52
52
|
text: 'Подробнее',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DescriptionProps, HeadlineProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @title Акции
|
|
@@ -8,7 +8,7 @@ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
|
8
8
|
export type PromoTileContent = UniBlockContent &
|
|
9
9
|
HeadlineProps &
|
|
10
10
|
DescriptionProps &
|
|
11
|
-
|
|
11
|
+
ButtonsSectionContent & {
|
|
12
12
|
/** @title Дата публикации */
|
|
13
13
|
date?: string;
|
|
14
14
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import { RepresentativeOfficeInfo } from './RepresentativeOfficeInfo';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
4
|
import type { Picture } from '../../model/Picture';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
|
-
const BUTTON:
|
|
7
|
+
const BUTTON: ButtonContent = {
|
|
8
8
|
text: 'Информация о регионе',
|
|
9
9
|
target: '_blank',
|
|
10
10
|
version: 'secondary',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import { RepresentativeOfficeInfo } from './RepresentativeOfficeInfo';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
4
|
import type { Picture } from '../../model/Picture';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
|
-
const BUTTON:
|
|
7
|
+
const BUTTON: ButtonContent = {
|
|
8
8
|
text: 'Информация о регионе',
|
|
9
9
|
target: '_blank',
|
|
10
10
|
version: 'secondary',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
2
1
|
import type { IconProps } from '../../model/Picture';
|
|
3
2
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
4
3
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
5
4
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Блок с информацией о представительстве
|
|
@@ -18,5 +18,5 @@ export type RepresentativeOfficeInfoContent = UniBlockContent &
|
|
|
18
18
|
/** @title E-mail */
|
|
19
19
|
email?: string;
|
|
20
20
|
/** @title Кнопка */
|
|
21
|
-
button?:
|
|
21
|
+
button?: ButtonContent;
|
|
22
22
|
};
|
|
@@ -132,7 +132,7 @@ const renderPrimaryFoldButton = ({
|
|
|
132
132
|
)}
|
|
133
133
|
onClick={onToggle}
|
|
134
134
|
>
|
|
135
|
-
<div className="flex items-center group-hover/button:text-primary-main gap-s">
|
|
135
|
+
<div className="flex items-center text-start group-hover/button:text-primary-main gap-s">
|
|
136
136
|
{renderRoundedIcon(labelIcon, labelIconBgVersion)}
|
|
137
137
|
{label ? (
|
|
138
138
|
<Text size="text-h6" font="font-normal">
|
|
@@ -3,5 +3,5 @@ import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
|
|
|
3
3
|
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
4
|
|
|
5
5
|
export const renderRoundedIcon = (icon?: Picture, iconBgVersion?: IconBgVersion) => (
|
|
6
|
-
<RoundedIcon {...icon} iconBgVersion={iconBgVersion} />
|
|
6
|
+
<RoundedIcon {...icon} iconBgVersion={iconBgVersion} className="shrink-0" />
|
|
7
7
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const rollupIconVersion = '
|
|
1
|
+
export const rollupIconVersion = 'black';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { BulletsProps } from '../../model/Bullets';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
5
5
|
import type { DefaultListItemType } from '../../model/DefaultListItemType';
|
|
6
6
|
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
7
7
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
@@ -10,7 +10,11 @@ import type { RichTextItem } from '../../model/RichTextItem';
|
|
|
10
10
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
11
11
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
12
12
|
|
|
13
|
-
type StepCommonProps = IconProps &
|
|
13
|
+
type StepCommonProps = IconProps &
|
|
14
|
+
BulletsProps &
|
|
15
|
+
ListContent & {
|
|
16
|
+
button?: ButtonContent;
|
|
17
|
+
};
|
|
14
18
|
|
|
15
19
|
/**
|
|
16
20
|
* @title Стандартный
|
|
@@ -34,7 +38,8 @@ export type Step = DefaultStep | RichTextStep;
|
|
|
34
38
|
* @title Блок шаги
|
|
35
39
|
*/
|
|
36
40
|
export type StepsBlockContent = UniBlockContent &
|
|
37
|
-
HeadlineCommonProps &
|
|
41
|
+
HeadlineCommonProps &
|
|
42
|
+
ButtonsSectionContent & {
|
|
38
43
|
/** @title Линии */
|
|
39
44
|
showLines?: boolean;
|
|
40
45
|
/**
|
|
@@ -49,9 +54,4 @@ export type StepsBlockContent = UniBlockContent &
|
|
|
49
54
|
stepVersion?: BlockVersion;
|
|
50
55
|
/** @title Размер шагов */
|
|
51
56
|
size?: SizeVersion; // TODO: mobile content
|
|
52
|
-
/**
|
|
53
|
-
* @title Кнопки
|
|
54
|
-
* @maxItems 2
|
|
55
|
-
*/
|
|
56
|
-
buttons?: ButtonWithIconProps[];
|
|
57
57
|
};
|
|
@@ -1,73 +1,60 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { useCallback, useEffect, useMemo, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { defaultEventBus } from '../../EventBus/defaultEventBus';
|
|
4
4
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
|
+
import type { TabItemBase } from '../../ui-kit/TabsControl/TabItem';
|
|
6
7
|
import { style } from '../../utils/style';
|
|
7
|
-
import {
|
|
8
|
-
import { renderTab } from './renderTab';
|
|
9
|
-
import { ScrollableTabs } from './ScrollableTabs';
|
|
8
|
+
import { renderTabs } from './renderTabs';
|
|
10
9
|
import type { TabData, TabsContent } from './TabsContent';
|
|
11
10
|
|
|
12
11
|
export interface TabsBlockProps extends TabsContent, UniBlockProps {}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
export const Tabs = JSX<TabsBlockProps>(
|
|
14
|
+
({ className = '', isSticky, tabs = [], tabsMode, ...rest }) => {
|
|
15
|
+
const normalizedTabs: TabItemBase[] = useMemo(() => tabs.map(normalizeTab), [tabs]);
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
const { className = '', isSticky, tabs, ...rest } = props;
|
|
17
|
+
const [activeTabIndex, setActiveTabIndex] = useState(0);
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (!tabs || !tabs[0]) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
24
|
+
fireTabEvent(tabs[0]);
|
|
25
|
+
}, []);
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
const activeTab = tabs[activeTabIndex];
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
}, [currentTab]);
|
|
30
|
+
if (activeTab?.type === 'group') {
|
|
31
|
+
defaultEventBus.subject('tab', { type: activeTab.type, label: activeTab.ref });
|
|
32
|
+
}
|
|
33
|
+
}, [tabs, activeTabIndex]);
|
|
37
34
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
setCurrentTab(selectedTab);
|
|
41
|
-
}, []);
|
|
35
|
+
const handleChange = useCallback((_: TabItemBase) => {
|
|
36
|
+
const index = normalizedTabs.indexOf(_);
|
|
42
37
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
'relative box-border flex gap-x-1 w-full overflow-x-auto no-scrollbar',
|
|
47
|
-
isSticky ? 'sticky top-1 z-20' : '',
|
|
48
|
-
className,
|
|
49
|
-
)}
|
|
50
|
-
defaultPadding="p-0"
|
|
51
|
-
role="tablist"
|
|
52
|
-
{...rest}
|
|
53
|
-
>
|
|
54
|
-
{renderTabs({ tabs, onClick: handleClick, currentTab, ...rest })}
|
|
55
|
-
</BlockWrapper>
|
|
56
|
-
);
|
|
57
|
-
});
|
|
38
|
+
setActiveTabIndex(index);
|
|
39
|
+
fireTabEvent(tabs[index]);
|
|
40
|
+
}, []);
|
|
58
41
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
42
|
+
return (
|
|
43
|
+
<BlockWrapper
|
|
44
|
+
className={style(isSticky ? 'sticky top-1 z-20' : '', className)}
|
|
45
|
+
defaultPadding="p-0"
|
|
46
|
+
{...rest}
|
|
47
|
+
>
|
|
48
|
+
{renderTabs({
|
|
49
|
+
items: normalizedTabs,
|
|
50
|
+
onChange: handleChange,
|
|
51
|
+
value: normalizedTabs[activeTabIndex],
|
|
52
|
+
tabsMode,
|
|
53
|
+
})}
|
|
54
|
+
</BlockWrapper>
|
|
55
|
+
);
|
|
56
|
+
},
|
|
57
|
+
);
|
|
71
58
|
|
|
72
59
|
const fireTabEvent = (tab: TabData) => {
|
|
73
60
|
if (tab.type === 'group') {
|
|
@@ -77,3 +64,5 @@ const fireTabEvent = (tab: TabData) => {
|
|
|
77
64
|
defaultEventBus.fire('tab', { type: tab.type, label: tab.href });
|
|
78
65
|
}
|
|
79
66
|
};
|
|
67
|
+
|
|
68
|
+
const normalizeTab = (_: TabData): TabItemBase => (_?.type === 'group' ? { text: _.title } : _);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ScrollableTabsControl } from '../../ui-kit/TabsControl/ScrollableTabsControl';
|
|
2
|
+
import type { TabItemBase } from '../../ui-kit/TabsControl/TabItem';
|
|
3
|
+
import { TabsControl } from '../../ui-kit/TabsControl/TabsControl';
|
|
4
|
+
import type { TabsControlProps } from '../../ui-kit/TabsControl/TabsControlProps';
|
|
5
|
+
import type { TabsMode } from './TabsContent';
|
|
6
|
+
|
|
7
|
+
interface RenderTabsProps {
|
|
8
|
+
items: TabItemBase[];
|
|
9
|
+
value: TabItemBase;
|
|
10
|
+
onChange: TabsControlProps['onChange'];
|
|
11
|
+
tabsMode?: TabsMode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const renderTabs = ({ tabsMode, ...props }: RenderTabsProps) => {
|
|
15
|
+
switch (tabsMode) {
|
|
16
|
+
case 'wideScreen':
|
|
17
|
+
return <TabsControl {...props} />;
|
|
18
|
+
case 'centered':
|
|
19
|
+
return (
|
|
20
|
+
<div className="flex">
|
|
21
|
+
<TabsControl
|
|
22
|
+
className="m-auto p-xs rounded-md bg-main-gray"
|
|
23
|
+
tabsType="rounded"
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
case 'scrollable':
|
|
29
|
+
return (
|
|
30
|
+
<div className="flex">
|
|
31
|
+
<ScrollableTabsControl className="m-auto" tabsType="underlined" {...props} />
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
default:
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
};
|