@redneckz/wildless-cms-uni-blocks 0.15.339 → 0.15.341
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.14.213.js +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +199 -135
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
- package/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
- package/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
- package/bundle/content-page-repository/copy.d.ts +1 -0
- package/bundle/data/FooterData.d.ts +0 -1
- package/bundle/data/SitemapData.d.ts +1 -10
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/bundle/utils/getVersion.d.ts +1 -0
- package/cosmos-static/icons/MapMarkerClusterYellowIcon.svg +1 -0
- package/cosmos-static/icons/sprites.svg +1 -0
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
- package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
- package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
- package/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
- package/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
- package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
- package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
- package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/dist/components/ContentPage/ContentPage.js +1 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -9
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -9
- package/dist/components/Footer/Footer.mobile.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/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
- package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
- package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
- package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
- package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
- package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
- package/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/dist/components/OfficesAtmsMap/useOffices.js +4 -2
- package/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +12 -5
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/dist/components/TabsLayout/TabsLayout.js +17 -11
- package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
- package/dist/components/TabsLayout/renderTabsLayout.js +14 -12
- package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/dist/content-page-repository/ContentPageRepository.js +27 -5
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/content-page-repository/TransformationOptions.d.ts +1 -0
- package/dist/content-page-repository/copy.d.ts +1 -0
- package/dist/content-page-repository/copy.js +16 -0
- package/dist/content-page-repository/copy.js.map +1 -0
- package/dist/content-page-repository/transformAttachmentLink.js +8 -7
- package/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
- package/dist/content-page-repository/transformDocument.js +3 -5
- package/dist/content-page-repository/transformDocument.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +4 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/data/FooterData.d.ts +0 -1
- package/dist/data/SitemapData.d.ts +1 -10
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +3 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/Badge/Badge.js +1 -3
- package/dist/ui-kit/Badge/Badge.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
- package/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
- package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
- package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
- package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/dist/utils/getVersion.d.ts +1 -0
- package/dist/utils/getVersion.js +5 -0
- package/dist/utils/getVersion.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
- package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
- package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
- package/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
- package/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
- package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
- package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
- package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/lib/components/ContentPage/ContentPage.js +1 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -9
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -9
- package/lib/components/Footer/Footer.mobile.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/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
- package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +2 -0
- package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
- package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +6 -0
- package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
- package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
- package/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/lib/components/OfficesAtmsMap/useOffices.js +4 -2
- package/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +12 -5
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +4 -3
- package/lib/components/TabsLayout/TabsLayout.fixture.mobile.d.ts +4 -2
- package/lib/components/TabsLayout/TabsLayout.js +17 -11
- package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
- package/lib/components/TabsLayout/renderTabsLayout.js +14 -12
- package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/lib/content-page-repository/ContentPageRepository.js +26 -4
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/content-page-repository/TransformationOptions.d.ts +1 -0
- package/lib/content-page-repository/copy.d.ts +1 -0
- package/lib/content-page-repository/copy.js +10 -0
- package/lib/content-page-repository/copy.js.map +1 -0
- package/lib/content-page-repository/transformAttachmentLink.js +8 -7
- package/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
- package/lib/content-page-repository/transformDocument.js +3 -5
- package/lib/content-page-repository/transformDocument.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +4 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/data/FooterData.d.ts +0 -1
- package/lib/data/SitemapData.d.ts +1 -10
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +3 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/Badge/Badge.js +1 -3
- package/lib/ui-kit/Badge/Badge.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
- package/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
- package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
- package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
- package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/lib/utils/getVersion.d.ts +1 -0
- package/lib/utils/getVersion.js +2 -0
- package/lib/utils/getVersion.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +194 -128
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/mobile/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/mobile/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/mobile/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/mobile/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
- package/mobile/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
- package/mobile/bundle/content-page-repository/copy.d.ts +1 -0
- package/mobile/bundle/data/FooterData.d.ts +0 -1
- package/mobile/bundle/data/SitemapData.d.ts +1 -10
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/mobile/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/mobile/bundle/utils/getVersion.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/mobile/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
- package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
- package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -9
- package/mobile/dist/components/Footer/Footer.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/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
- package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
- package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
- package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
- package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/mobile/dist/components/OfficesAtmsMap/useOffices.js +4 -2
- package/mobile/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/dist/components/TabsLayout/TabsLayout.js +17 -11
- package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
- package/mobile/dist/components/TabsLayout/renderTabsLayout.js +14 -12
- package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/mobile/dist/content-page-repository/ContentPageRepository.js +27 -5
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/content-page-repository/TransformationOptions.d.ts +1 -0
- package/mobile/dist/content-page-repository/copy.d.ts +1 -0
- package/mobile/dist/content-page-repository/copy.js +16 -0
- package/mobile/dist/content-page-repository/copy.js.map +1 -0
- package/mobile/dist/content-page-repository/transformAttachmentLink.js +8 -7
- package/mobile/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocument.js +3 -5
- package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +4 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/data/FooterData.d.ts +0 -1
- package/mobile/dist/data/SitemapData.d.ts +1 -10
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +3 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/Badge/Badge.js +1 -3
- package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
- package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
- package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
- package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/dist/utils/getVersion.d.ts +1 -0
- package/mobile/dist/utils/getVersion.js +5 -0
- package/mobile/dist/utils/getVersion.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
- package/mobile/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
- package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
- package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
- package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
- package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -9
- package/mobile/lib/components/Footer/Footer.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/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
- package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
- package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
- package/mobile/lib/components/OfficesAtmsMap/useOffices.js +4 -2
- package/mobile/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/lib/components/TabsLayout/TabsLayout.js +17 -11
- package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
- package/mobile/lib/components/TabsLayout/renderTabsLayout.js +14 -12
- package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
- package/mobile/lib/content-page-repository/ContentPageRepository.js +26 -4
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/content-page-repository/TransformationOptions.d.ts +1 -0
- package/mobile/lib/content-page-repository/copy.d.ts +1 -0
- package/mobile/lib/content-page-repository/copy.js +10 -0
- package/mobile/lib/content-page-repository/copy.js.map +1 -0
- package/mobile/lib/content-page-repository/transformAttachmentLink.js +8 -7
- package/mobile/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocument.js +3 -5
- package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +4 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/data/FooterData.d.ts +0 -1
- package/mobile/lib/data/SitemapData.d.ts +1 -10
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +3 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/Badge/Badge.js +1 -3
- package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
- package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
- package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
- package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
- package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
- package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/lib/utils/getVersion.d.ts +1 -0
- package/mobile/lib/utils/getVersion.js +2 -0
- package/mobile/lib/utils/getVersion.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
- package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
- package/mobile/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
- package/mobile/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
- package/mobile/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
- package/mobile/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
- package/mobile/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
- package/mobile/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
- package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
- package/mobile/src/components/ContentPage/ContentPage.tsx +1 -0
- package/mobile/src/components/Footer/Footer.tsx +0 -16
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
- package/mobile/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
- package/mobile/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
- package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
- package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
- package/mobile/src/components/OfficesAtmsMap/useOffices.ts +11 -4
- package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
- package/mobile/src/components/TabsLayout/TabsLayout.tsx +21 -11
- package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
- package/mobile/src/content-page-repository/ContentPageRepository.ts +42 -4
- package/mobile/src/content-page-repository/TransformationOptions.ts +1 -0
- package/mobile/src/content-page-repository/copy.ts +11 -0
- package/mobile/src/content-page-repository/transformAttachmentLink.ts +7 -8
- package/mobile/src/content-page-repository/transformDocument.ts +3 -5
- package/mobile/src/content-page-repository/transformImg.ts +6 -1
- package/mobile/src/data/FooterData.ts +0 -1
- package/mobile/src/data/SitemapData.ts +1 -11
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
- package/mobile/src/ui-kit/Badge/Badge.tsx +13 -15
- package/mobile/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
- package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/mobile/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +1 -3
- package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
- package/mobile/src/ui-kit/TabsControl/TabItem.tsx +1 -2
- package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
- package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
- package/mobile/src/utils/getVersion.ts +1 -0
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
- package/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
- package/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
- package/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
- package/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
- package/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
- package/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
- package/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
- package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
- package/src/components/ContentPage/ContentPage.tsx +1 -0
- package/src/components/Footer/Footer.mobile.tsx +0 -16
- package/src/components/Footer/Footer.tsx +0 -19
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
- package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
- package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
- package/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
- package/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
- package/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
- package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
- package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
- package/src/components/OfficesAtmsMap/useOffices.ts +11 -4
- package/src/components/ProductGallery/ProductGallery.tsx +37 -7
- package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
- package/src/components/TabsLayout/TabsLayout.fixture.mobile.tsx +70 -24
- package/src/components/TabsLayout/TabsLayout.fixture.tsx +33 -29
- package/src/components/TabsLayout/TabsLayout.tsx +21 -11
- package/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
- package/src/content-page-repository/ContentPageRepository.ts +42 -4
- package/src/content-page-repository/TransformationOptions.ts +1 -0
- package/src/content-page-repository/copy.ts +11 -0
- package/src/content-page-repository/transformAttachmentLink.ts +7 -8
- package/src/content-page-repository/transformDocument.ts +3 -5
- package/src/content-page-repository/transformImg.ts +6 -1
- package/src/data/FooterData.ts +0 -1
- package/src/data/SitemapData.ts +1 -11
- package/src/icons/IconName.ts +5 -5
- package/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
- package/src/ui-kit/Badge/Badge.tsx +13 -15
- package/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
- package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
- package/src/ui-kit/Heading/HeadingProps.ts +1 -3
- package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
- package/src/ui-kit/TabsControl/TabItem.tsx +1 -2
- package/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
- package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
- package/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
- package/src/utils/getVersion.ts +1 -0
|
@@ -11,7 +11,7 @@ import { useYandexMaps } from './useYandexMaps';
|
|
|
11
11
|
import { ZoomButton } from './ZoomButton';
|
|
12
12
|
|
|
13
13
|
interface YandexMapProps {
|
|
14
|
-
points
|
|
14
|
+
points: BalloonPoints[];
|
|
15
15
|
className?: string;
|
|
16
16
|
zoom?: number;
|
|
17
17
|
}
|
|
@@ -42,10 +42,10 @@ export const YandexMap = JSX<YandexMapProps>(({ points, className = '', zoom = 5
|
|
|
42
42
|
suppressMapOpenBlock: true,
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
45
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
46
46
|
});
|
|
47
47
|
} else if (yandexMaps) {
|
|
48
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
48
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
49
49
|
|
|
50
50
|
if (!points?.length) {
|
|
51
51
|
map.current.setCenter(DEFAULT_CENTER_COORDS);
|
|
@@ -4,17 +4,71 @@
|
|
|
4
4
|
import type ymaps from 'yandex-maps';
|
|
5
5
|
import { type BalloonPoints } from '../../components/OfficesAtmsMap/YandexMapProps'; //! Вынести этот тип в файл YandexMapProps.ts расположенный в корне этого компонента
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
|
|
8
|
+
const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
|
|
9
|
+
|
|
10
|
+
export function renderClusterer({
|
|
11
|
+
yandexMaps,
|
|
12
|
+
map,
|
|
13
|
+
points,
|
|
14
|
+
}: {
|
|
15
|
+
yandexMaps: typeof ymaps;
|
|
16
|
+
map: ymaps.Map;
|
|
17
|
+
points: BalloonPoints[];
|
|
18
|
+
}) {
|
|
8
19
|
map.geoObjects.removeAll();
|
|
9
20
|
|
|
10
21
|
const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass(
|
|
11
22
|
'<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>',
|
|
12
23
|
);
|
|
13
24
|
|
|
14
|
-
const
|
|
25
|
+
const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
|
|
26
|
+
|
|
27
|
+
if (points.length && points.every((_) => 'type' in _)) {
|
|
28
|
+
const remoteWorkplaceClusterer = defineClusterer(
|
|
29
|
+
'workplaces',
|
|
30
|
+
yandexMaps,
|
|
31
|
+
clusterIconContentLayout,
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
const remoteWorkplaceGeoObjects = defineGeoObjects(
|
|
35
|
+
points.filter((_) => _.type === 'workplaces'),
|
|
36
|
+
'workplaces',
|
|
37
|
+
yandexMaps,
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
const officesGeoObjects = defineGeoObjects(
|
|
41
|
+
points.filter((_) => _.type === 'offices'),
|
|
42
|
+
'offices',
|
|
43
|
+
yandexMaps,
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
officeClusterer.add(officesGeoObjects);
|
|
47
|
+
remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
|
|
48
|
+
|
|
49
|
+
map.geoObjects.add(remoteWorkplaceClusterer as any);
|
|
50
|
+
map.geoObjects.add(officeClusterer as any);
|
|
51
|
+
} else {
|
|
52
|
+
const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
|
|
53
|
+
officeClusterer.add(geoObjects);
|
|
54
|
+
map.geoObjects.add(officeClusterer as any);
|
|
55
|
+
}
|
|
56
|
+
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
57
|
+
if (map.getZoom() > 10) {
|
|
58
|
+
map.setZoom(10);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const defineClusterer = (
|
|
64
|
+
type: string,
|
|
65
|
+
yandexMaps: typeof ymaps,
|
|
66
|
+
clusterIconContentLayout: ymaps.IClassConstructor<ymaps.layout.templateBased.Base>,
|
|
67
|
+
) => {
|
|
68
|
+
return new yandexMaps.Clusterer({
|
|
15
69
|
clusterIcons: [
|
|
16
70
|
{
|
|
17
|
-
href: '
|
|
71
|
+
href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
18
72
|
size: [78, 84],
|
|
19
73
|
offset: [-35, -50],
|
|
20
74
|
},
|
|
@@ -23,8 +77,10 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
|
|
|
23
77
|
clusterHideIconOnBalloonOpen: false,
|
|
24
78
|
geoObjectHideIconOnBalloonOpen: false,
|
|
25
79
|
} as ymaps.IClustererOptions);
|
|
80
|
+
};
|
|
26
81
|
|
|
27
|
-
|
|
82
|
+
const defineGeoObjects = (pointArr: BalloonPoints[], type: string, yandexMaps: typeof ymaps) => {
|
|
83
|
+
return pointArr.map(
|
|
28
84
|
({ coords, content }) =>
|
|
29
85
|
new yandexMaps.Placemark(
|
|
30
86
|
coords,
|
|
@@ -36,20 +92,10 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
|
|
|
36
92
|
},
|
|
37
93
|
{
|
|
38
94
|
iconLayout: 'default#image',
|
|
39
|
-
iconImageHref: '
|
|
95
|
+
iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
40
96
|
iconImageSize: [78, 84],
|
|
41
97
|
iconImageOffset: [-35, -50],
|
|
42
98
|
},
|
|
43
99
|
),
|
|
44
100
|
);
|
|
45
|
-
|
|
46
|
-
clusterer.add(geoObjects);
|
|
47
|
-
|
|
48
|
-
map.geoObjects.add(clusterer as any);
|
|
49
|
-
|
|
50
|
-
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
51
|
-
if (map.getZoom() > 10) {
|
|
52
|
-
map.setZoom(10);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
101
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const getVersion = (isPrimary: boolean) => (isPrimary ? 'primary' : 'secondary');
|
package/package.json
CHANGED
|
@@ -76,6 +76,10 @@ export type FieldCommonDef = FieldDefaultDef & {
|
|
|
76
76
|
fieldType: 'common';
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* @title Значение по умолчанию
|
|
81
|
+
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
82
|
+
*/
|
|
79
83
|
type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
80
84
|
|
|
81
85
|
/**
|
|
@@ -85,7 +89,6 @@ type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactio
|
|
|
85
89
|
export type FieldVedDef = FieldDefaultDef & {
|
|
86
90
|
/** @default "ved" */
|
|
87
91
|
fieldType: 'ved';
|
|
88
|
-
/** @title Значение по умолчанию */
|
|
89
92
|
defaultValue?: VedTypes;
|
|
90
93
|
};
|
|
91
94
|
|
|
@@ -23,13 +23,11 @@ import { clamp } from '../../utils/clamp';
|
|
|
23
23
|
import { style } from '../../utils/style';
|
|
24
24
|
import {
|
|
25
25
|
type CalculatorCreditContent,
|
|
26
|
-
type CreditCalculatorParamsViewSettings,
|
|
27
|
-
} from './CalculatorCreditContent';
|
|
28
|
-
import {
|
|
29
|
-
getCreditCalculatorParams,
|
|
30
26
|
type CreditCalculatorData,
|
|
31
27
|
type CreditCalculatorParams,
|
|
32
|
-
|
|
28
|
+
type CreditCalculatorParamsViewSettings,
|
|
29
|
+
} from './CalculatorCreditContent';
|
|
30
|
+
import { getCreditCalculatorParams } from './getCreditCalculatorParams';
|
|
33
31
|
|
|
34
32
|
const CREDIT_DEFAULT_SUM = 200000;
|
|
35
33
|
|
|
@@ -1,10 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
type CalculatorParamsViewSettingsDefault,
|
|
3
|
+
type CalcValueProps,
|
|
3
4
|
type CommonCalculatorProps,
|
|
4
5
|
type CommonDefaultParams,
|
|
6
|
+
type LimitParamsProps,
|
|
5
7
|
} from '../../ui-kit/Calculator/CalculatorProps';
|
|
6
8
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
7
9
|
|
|
10
|
+
export interface CommonCreditParams {
|
|
11
|
+
isInsurance: boolean;
|
|
12
|
+
isSalaryClient: boolean;
|
|
13
|
+
isPensionClient: boolean;
|
|
14
|
+
isStateEmployee: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface CreditCalculatorSourceBookRateParams extends CommonCreditParams, LimitParamsProps {
|
|
17
|
+
rate: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface CreditCalculatorSourceBookLimitParams
|
|
21
|
+
extends CommonCreditParams,
|
|
22
|
+
LimitParamsProps {}
|
|
23
|
+
|
|
24
|
+
export interface CreditCalculatorUserInputParams extends CommonCreditParams, CalcValueProps {
|
|
25
|
+
isAnnuity: boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface CreditCalculatorParams
|
|
29
|
+
extends CreditCalculatorSourceBookRateParams,
|
|
30
|
+
CreditCalculatorUserInputParams {
|
|
31
|
+
monthlyPayment: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type CreditCalculatorData = {
|
|
35
|
+
rateRows?: CreditCalculatorSourceBookRateParams[];
|
|
36
|
+
limitRows?: CreditCalculatorSourceBookLimitParams[];
|
|
37
|
+
};
|
|
38
|
+
|
|
8
39
|
export interface CreditCalculatorParamsViewSettings extends CalculatorParamsViewSettingsDefault {
|
|
9
40
|
/** @title Работаю в бюджетной организации */
|
|
10
41
|
isShowStateEmployee?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
|
|
2
1
|
import {
|
|
3
2
|
type CommonCreditParams,
|
|
3
|
+
type CreditCalculatorParamsViewSettings,
|
|
4
4
|
type CreditCalculatorUserInputParams,
|
|
5
|
-
} from './
|
|
5
|
+
} from './CalculatorCreditContent';
|
|
6
6
|
|
|
7
7
|
interface CheckSourceBookRowProps {
|
|
8
8
|
row: CommonCreditParams;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_MAX_MONTHS,
|
|
3
|
+
DEFAULT_MIN_MONTHS,
|
|
4
|
+
} from '../../ui-kit/Calculator/calculatorConstants';
|
|
5
|
+
import { type CreditCalculatorSourceBookRateParams } from './CalculatorCreditContent';
|
|
6
|
+
|
|
7
|
+
const DEFAULT_MIN_SUM = 10000;
|
|
8
|
+
const DEFAULT_MAX_SUM = 5000000;
|
|
9
|
+
export const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookRateParams = {
|
|
10
|
+
minSum: DEFAULT_MIN_SUM,
|
|
11
|
+
maxSum: DEFAULT_MAX_SUM,
|
|
12
|
+
minMonths: DEFAULT_MIN_MONTHS,
|
|
13
|
+
maxMonths: DEFAULT_MAX_MONTHS,
|
|
14
|
+
rate: 0,
|
|
15
|
+
isSalaryClient: false,
|
|
16
|
+
isPensionClient: false,
|
|
17
|
+
isStateEmployee: false,
|
|
18
|
+
isInsurance: true,
|
|
19
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
|
|
2
|
-
import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
|
|
3
1
|
import {
|
|
2
|
+
type CreditCalculatorParamsViewSettings,
|
|
4
3
|
type CreditCalculatorSourceBookLimitParams,
|
|
5
4
|
type CreditCalculatorUserInputParams,
|
|
6
|
-
} from './
|
|
5
|
+
} from './CalculatorCreditContent';
|
|
6
|
+
import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
|
|
7
7
|
|
|
8
8
|
interface GetCreditCalculatorLimitParamsProps {
|
|
9
9
|
limitRows: CreditCalculatorSourceBookLimitParams[];
|
|
@@ -1,61 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_MAX_MONTHS,
|
|
3
|
-
DEFAULT_MIN_MONTHS,
|
|
4
|
-
} from '../../ui-kit/Calculator/calculatorConstants';
|
|
5
|
-
import {
|
|
6
|
-
type CalcValueProps,
|
|
7
|
-
type LimitParamsProps,
|
|
8
|
-
} from '../../ui-kit/Calculator/CalculatorProps';
|
|
9
1
|
import { getMonthlyPayment } from '../../ui-kit/Calculator/getMonthlyPayment';
|
|
10
2
|
import { getLimitRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers';
|
|
11
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
type CreditCalculatorData,
|
|
5
|
+
type CreditCalculatorParams,
|
|
6
|
+
type CreditCalculatorParamsViewSettings,
|
|
7
|
+
type CreditCalculatorUserInputParams,
|
|
8
|
+
} from './CalculatorCreditContent';
|
|
9
|
+
import { DEFAULT_CREDIT_CALCULATOR_PARAMS } from './defaultCreditCalculatorParams';
|
|
12
10
|
import { getCreditCalculatorLimitParams } from './getCreditCalculatorLimitParams';
|
|
13
11
|
import { getCreditCalculatorRateParams } from './getCreditCalculatorRateParams';
|
|
14
12
|
|
|
15
|
-
const DEFAULT_MIN_SUM = 10000;
|
|
16
|
-
const DEFAULT_MAX_SUM = 5000000;
|
|
17
|
-
|
|
18
|
-
export const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookRateParams = {
|
|
19
|
-
minSum: DEFAULT_MIN_SUM,
|
|
20
|
-
maxSum: DEFAULT_MAX_SUM,
|
|
21
|
-
minMonths: DEFAULT_MIN_MONTHS,
|
|
22
|
-
maxMonths: DEFAULT_MAX_MONTHS,
|
|
23
|
-
rate: 0,
|
|
24
|
-
isSalaryClient: false,
|
|
25
|
-
isPensionClient: false,
|
|
26
|
-
isStateEmployee: false,
|
|
27
|
-
isInsurance: true,
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export interface CommonCreditParams {
|
|
31
|
-
isInsurance: boolean;
|
|
32
|
-
isSalaryClient: boolean;
|
|
33
|
-
isPensionClient: boolean;
|
|
34
|
-
isStateEmployee: boolean;
|
|
35
|
-
}
|
|
36
|
-
export interface CreditCalculatorSourceBookRateParams extends CommonCreditParams, LimitParamsProps {
|
|
37
|
-
rate: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface CreditCalculatorSourceBookLimitParams
|
|
41
|
-
extends CommonCreditParams,
|
|
42
|
-
LimitParamsProps {}
|
|
43
|
-
|
|
44
|
-
export interface CreditCalculatorUserInputParams extends CommonCreditParams, CalcValueProps {
|
|
45
|
-
isAnnuity: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface CreditCalculatorParams
|
|
49
|
-
extends CreditCalculatorSourceBookRateParams,
|
|
50
|
-
CreditCalculatorUserInputParams {
|
|
51
|
-
monthlyPayment: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export type CreditCalculatorData = {
|
|
55
|
-
rateRows?: CreditCalculatorSourceBookRateParams[];
|
|
56
|
-
limitRows?: CreditCalculatorSourceBookLimitParams[];
|
|
57
|
-
};
|
|
58
|
-
|
|
59
13
|
export const getCreditCalculatorParams = (
|
|
60
14
|
userInputParams: CreditCalculatorUserInputParams,
|
|
61
15
|
calcSource?: CreditCalculatorData,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type CalcValueProps } from '../../ui-kit/Calculator/CalculatorProps';
|
|
2
2
|
import { checkRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers';
|
|
3
|
-
import { type CreditCalculatorParamsViewSettings } from './CalculatorCreditContent';
|
|
4
|
-
import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
|
|
5
3
|
import {
|
|
6
|
-
|
|
4
|
+
type CreditCalculatorParamsViewSettings,
|
|
7
5
|
type CreditCalculatorSourceBookRateParams,
|
|
8
6
|
type CreditCalculatorUserInputParams,
|
|
9
|
-
} from './
|
|
7
|
+
} from './CalculatorCreditContent';
|
|
8
|
+
import { checkCreditSourceBookRowCommonParams } from './checkCreditSourceBookRowCommonParams';
|
|
9
|
+
import { DEFAULT_CREDIT_CALCULATOR_PARAMS } from './defaultCreditCalculatorParams';
|
|
10
10
|
|
|
11
11
|
interface GetCreditCalculatorRateParamsProps extends CalcValueProps {
|
|
12
12
|
rateRows: CreditCalculatorSourceBookRateParams[];
|
|
@@ -55,7 +55,7 @@ const renderBlocksColumn = ({ column, index }: RenderContactsColumnProps) =>
|
|
|
55
55
|
</Paragraph>
|
|
56
56
|
</div>
|
|
57
57
|
) : null}
|
|
58
|
-
{button?.
|
|
58
|
+
{button?.text ? <LinkButton className="mt-xl" {...button} /> : null}
|
|
59
59
|
</div>
|
|
60
60
|
))}
|
|
61
61
|
</div>
|
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
"content": {
|
|
2
|
+
"content": {
|
|
3
|
+
"info": {
|
|
4
|
+
"items": {
|
|
5
|
+
"items": {
|
|
6
|
+
"button": {
|
|
7
|
+
"href": {
|
|
8
|
+
"ui:field": "attachmentHref"
|
|
9
|
+
},
|
|
10
|
+
"icon": {
|
|
11
|
+
"ui:field": "icon"
|
|
12
|
+
},
|
|
13
|
+
"iconRight": {
|
|
14
|
+
"ui:field": "icon"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"contacts": {
|
|
21
|
+
"items": {
|
|
22
|
+
"items": {
|
|
23
|
+
"button": {
|
|
24
|
+
"href": {
|
|
25
|
+
"ui:field": "attachmentHref"
|
|
26
|
+
},
|
|
27
|
+
"icon": {
|
|
28
|
+
"ui:field": "icon"
|
|
29
|
+
},
|
|
30
|
+
"iconRight": {
|
|
31
|
+
"ui:field": "icon"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
3
38
|
"style": {
|
|
4
39
|
"ui:options": {
|
|
5
40
|
"minCols": 12
|
|
@@ -69,6 +69,7 @@ export const ContentPage = JSX<ContentPageProps>(
|
|
|
69
69
|
<PopupManager />
|
|
70
70
|
<CookiePopup
|
|
71
71
|
termLink={{ href: '/pd-policy#cookie', target: '_blank' }}
|
|
72
|
+
recommendationLink={{ href: '/recommendation', target: '_blank' }}
|
|
72
73
|
personalDataPolicyLink={{ href: '/pd-policy', target: '_blank' }}
|
|
73
74
|
/>
|
|
74
75
|
</div>
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
1
|
import { type TopMenuItemProps } from '../../data/SitemapData';
|
|
3
2
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
3
|
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
4
|
import { UniBlock } from '../../UniBlock/UniBlock';
|
|
6
5
|
import { appendSlash } from '../../utils/appendSlash';
|
|
7
|
-
import { mapCookie } from '../../utils/mapCookie';
|
|
8
6
|
import { style } from '../../utils/style';
|
|
9
7
|
import { RollupItem } from '../RollupItem/RollupItem';
|
|
10
8
|
import { Contacts } from './Contacts';
|
|
11
|
-
import { COOKIE_REPLACE } from './cookieReplaceData';
|
|
12
9
|
import { type FooterProps } from './FooterProps';
|
|
13
10
|
import { HorizontalNavigation } from './HorizontalNavigation';
|
|
14
|
-
import { HorizontalNavigationLink } from './HorizontalNavigationLink';
|
|
15
11
|
import { LinkList } from './LinkList';
|
|
16
12
|
import { SocialMedia } from './SocialMedia';
|
|
17
13
|
import { TextInformation } from './TextInformation';
|
|
@@ -30,11 +26,6 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
|
|
|
30
26
|
license,
|
|
31
27
|
} = footer || {};
|
|
32
28
|
|
|
33
|
-
const handleOnClick = useCallback(() => {
|
|
34
|
-
const [name, oldValue, newValue] = COOKIE_REPLACE;
|
|
35
|
-
mapCookie(name, (value) => value?.replace(oldValue, newValue));
|
|
36
|
-
}, []);
|
|
37
|
-
|
|
38
29
|
return (
|
|
39
30
|
<BlockWrapper
|
|
40
31
|
tag="footer"
|
|
@@ -54,13 +45,6 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
|
|
|
54
45
|
</SocialMedia>
|
|
55
46
|
))}
|
|
56
47
|
<div className={borderStyle} />
|
|
57
|
-
<HorizontalNavigationLink
|
|
58
|
-
text="Вернуться на прежнюю версию сайта"
|
|
59
|
-
className="flex text-l font-light max-w-[292px]"
|
|
60
|
-
href="https://old.rshb.ru"
|
|
61
|
-
onClick={handleOnClick}
|
|
62
|
-
/>
|
|
63
|
-
<div className={borderStyle} />
|
|
64
48
|
<HorizontalNavigation title={horizontalNavigationTitle} links={relatedEnterprises} />
|
|
65
49
|
<div className={borderStyle} />
|
|
66
50
|
<TextInformation links={documents} license={license} />
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
1
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
2
|
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
4
3
|
import { Logo } from '../../ui-kit/Logo/Logo';
|
|
5
4
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar';
|
|
6
5
|
import { Sitemap } from '../../ui-kit/Sitemap/Sitemap';
|
|
7
6
|
import { UniBlock } from '../../UniBlock/UniBlock';
|
|
8
|
-
import { mapCookie } from '../../utils/mapCookie';
|
|
9
7
|
import { style } from '../../utils/style';
|
|
10
8
|
import { Contacts } from './Contacts';
|
|
11
|
-
import { COOKIE_REPLACE } from './cookieReplaceData';
|
|
12
9
|
import { type FooterProps } from './FooterProps';
|
|
13
10
|
import { HorizontalNavigation } from './HorizontalNavigation';
|
|
14
11
|
import { SocialMedia } from './SocialMedia';
|
|
@@ -26,16 +23,10 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
|
|
|
26
23
|
contacts,
|
|
27
24
|
mediaLinks = [],
|
|
28
25
|
feedbackButton,
|
|
29
|
-
isOldVersionButton,
|
|
30
26
|
license,
|
|
31
27
|
otherLinks = [],
|
|
32
28
|
} = footer ?? {};
|
|
33
29
|
|
|
34
|
-
const handleOnClick = useCallback(() => {
|
|
35
|
-
const [name, oldValue, newValue] = COOKIE_REPLACE;
|
|
36
|
-
mapCookie(name, (value) => value?.replace(oldValue, newValue));
|
|
37
|
-
}, []);
|
|
38
|
-
|
|
39
30
|
const linkStyle = '!text-left text-s font-light';
|
|
40
31
|
|
|
41
32
|
return (
|
|
@@ -55,16 +46,6 @@ export const Footer = UniBlock<FooterProps>(({ className, footer, ...rest }) =>
|
|
|
55
46
|
{_?.title}
|
|
56
47
|
</SocialMedia>
|
|
57
48
|
))}
|
|
58
|
-
{isOldVersionButton ? (
|
|
59
|
-
<LinkButton
|
|
60
|
-
version="link"
|
|
61
|
-
href="https://old.rshb.ru"
|
|
62
|
-
className={linkStyle}
|
|
63
|
-
onClick={handleOnClick}
|
|
64
|
-
>
|
|
65
|
-
Вернуться на прежнюю версию сайта
|
|
66
|
-
</LinkButton>
|
|
67
|
-
) : null}
|
|
68
49
|
{otherLinks.map((_, i) => (
|
|
69
50
|
<LinkButton key={String(i)} className={linkStyle} version="link" {..._}>
|
|
70
51
|
{_?.text}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
type AdditionalDescriptionProps,
|
|
3
|
-
type DescriptionProps,
|
|
4
3
|
type HeadlineCommonProps,
|
|
5
|
-
type TitleProps,
|
|
6
4
|
} from '../../model/HeadlineType';
|
|
7
5
|
import { type Picture } from '../../model/Picture';
|
|
8
6
|
import { type HeadingType } from '../../ui-kit/Heading/HeadingProps';
|
|
@@ -17,8 +15,6 @@ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
|
17
15
|
export type MobileAppTileContent = UniBlockContent &
|
|
18
16
|
AdditionalDescriptionProps &
|
|
19
17
|
HeadlineCommonProps &
|
|
20
|
-
TitleProps &
|
|
21
|
-
DescriptionProps &
|
|
22
18
|
ButtonsSectionContent &
|
|
23
19
|
ListContent &
|
|
24
20
|
ImageContent & {
|