@redneckz/wildless-cms-uni-blocks 0.15.338 → 0.15.340
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/ContentPage/computeAPIFallback.d.ts +1 -2
- 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/model/Fallback.d.ts +0 -1
- 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/ContentPage/computeAPIFallback.d.ts +1 -2
- package/dist/components/ContentPage/computeAPIFallback.js +2 -16
- package/dist/components/ContentPage/computeAPIFallback.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/model/Fallback.d.ts +0 -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/ContentPage/computeAPIFallback.d.ts +1 -2
- package/lib/components/ContentPage/computeAPIFallback.js +2 -16
- package/lib/components/ContentPage/computeAPIFallback.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/model/Fallback.d.ts +0 -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/ContentPage/computeAPIFallback.d.ts +1 -2
- 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/model/Fallback.d.ts +0 -1
- 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/ContentPage/computeAPIFallback.d.ts +1 -2
- package/mobile/dist/components/ContentPage/computeAPIFallback.js +2 -16
- package/mobile/dist/components/ContentPage/computeAPIFallback.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/model/Fallback.d.ts +0 -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/ContentPage/computeAPIFallback.d.ts +1 -2
- package/mobile/lib/components/ContentPage/computeAPIFallback.js +2 -16
- package/mobile/lib/components/ContentPage/computeAPIFallback.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/model/Fallback.d.ts +0 -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/ContentPage/computeAPIFallback.ts +3 -35
- 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 +36 -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/model/Fallback.ts +0 -1
- 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/ContentPage/computeAPIFallback.ts +3 -35
- 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 +36 -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/model/Fallback.ts +0 -1
- 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
- package/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/dist/components/ContentPage/loadModuleFallback.js +0 -36
- package/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
- package/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/lib/components/ContentPage/loadModuleFallback.js +0 -10
- package/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
- package/mobile/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/mobile/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/mobile/dist/components/ContentPage/loadModuleFallback.js +0 -36
- package/mobile/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
- package/mobile/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
- package/mobile/lib/components/ContentPage/loadModuleFallback.js +0 -10
- package/mobile/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
- package/mobile/src/components/ContentPage/loadModuleFallback.ts +0 -11
- package/src/components/ContentPage/loadModuleFallback.ts +0 -11
package/bundle/bundle.umd.js
CHANGED
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
|
|
579
579
|
const deviation = (items) => items?.length ? Math.sqrt(Math.abs(avg(items.map((_) => _ ** 2)) - avg(items) ** 2)) : 0;
|
|
580
580
|
|
|
581
|
-
const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (jsx("div", { className: style('sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
|
|
581
|
+
const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon?.icon || icon?.src ? (jsx("div", { className: style('sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
|
|
582
582
|
? 'bg-secondary-light text-primary-main'
|
|
583
583
|
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
|
|
584
584
|
|
|
@@ -2157,7 +2157,7 @@
|
|
|
2157
2157
|
/** @deprecated */
|
|
2158
2158
|
const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
|
|
2159
2159
|
|
|
2160
|
-
const scrollButtonStyle$
|
|
2160
|
+
const scrollButtonStyle$2 = 'absolute top-[calc(50%-24px)] z-40';
|
|
2161
2161
|
const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
|
|
2162
2162
|
const CarouselScrollButtons = JSX(({ scroll, activeIndex, itemCount, arrowsPadded, hasEdgeBlocks, onScrollLeft, onScrollRight, }) => {
|
|
2163
2163
|
const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
|
|
@@ -2181,7 +2181,7 @@
|
|
|
2181
2181
|
onScrollRight();
|
|
2182
2182
|
}
|
|
2183
2183
|
}, [scrollRight, onScrollRight, hasEdgeBlocks, canScrollLeft, activeIndex, itemCount]);
|
|
2184
|
-
return (jsxs("div", { className: "m:hidden block", children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$
|
|
2184
|
+
return (jsxs("div", { className: "m:hidden block", children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'left-1 m:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'right-1 m:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
|
|
2185
2185
|
});
|
|
2186
2186
|
const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
|
|
2187
2187
|
|
|
@@ -2816,6 +2816,20 @@
|
|
|
2816
2816
|
}
|
|
2817
2817
|
};
|
|
2818
2818
|
|
|
2819
|
+
const DEFAULT_MIN_SUM$2 = 10000;
|
|
2820
|
+
const DEFAULT_MAX_SUM$1 = 5000000;
|
|
2821
|
+
const DEFAULT_CREDIT_CALCULATOR_PARAMS = {
|
|
2822
|
+
minSum: DEFAULT_MIN_SUM$2,
|
|
2823
|
+
maxSum: DEFAULT_MAX_SUM$1,
|
|
2824
|
+
minMonths: DEFAULT_MIN_MONTHS,
|
|
2825
|
+
maxMonths: DEFAULT_MAX_MONTHS,
|
|
2826
|
+
rate: 0,
|
|
2827
|
+
isSalaryClient: false,
|
|
2828
|
+
isPensionClient: false,
|
|
2829
|
+
isStateEmployee: false,
|
|
2830
|
+
isInsurance: true,
|
|
2831
|
+
};
|
|
2832
|
+
|
|
2819
2833
|
const checkCreditSourceBookRowCommonParams = (props) => checkRowParam$1({
|
|
2820
2834
|
...props,
|
|
2821
2835
|
fieldKey: 'isSalaryClient',
|
|
@@ -2855,19 +2869,6 @@
|
|
|
2855
2869
|
checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
|
|
2856
2870
|
checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_CREDIT_CALCULATOR_PARAMS;
|
|
2857
2871
|
|
|
2858
|
-
const DEFAULT_MIN_SUM$2 = 10000;
|
|
2859
|
-
const DEFAULT_MAX_SUM$1 = 5000000;
|
|
2860
|
-
const DEFAULT_CREDIT_CALCULATOR_PARAMS = {
|
|
2861
|
-
minSum: DEFAULT_MIN_SUM$2,
|
|
2862
|
-
maxSum: DEFAULT_MAX_SUM$1,
|
|
2863
|
-
minMonths: DEFAULT_MIN_MONTHS,
|
|
2864
|
-
maxMonths: DEFAULT_MAX_MONTHS,
|
|
2865
|
-
rate: 0,
|
|
2866
|
-
isSalaryClient: false,
|
|
2867
|
-
isPensionClient: false,
|
|
2868
|
-
isStateEmployee: false,
|
|
2869
|
-
isInsurance: true,
|
|
2870
|
-
};
|
|
2871
2872
|
const getCreditCalculatorParams = (userInputParams, calcSource, paramsViewSettings) => {
|
|
2872
2873
|
const { moneyValue, monthsValue } = userInputParams;
|
|
2873
2874
|
const rateRows = calcSource?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
|
|
@@ -3509,7 +3510,7 @@
|
|
|
3509
3510
|
|
|
3510
3511
|
const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
3511
3512
|
const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
3512
|
-
const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.
|
|
3513
|
+
const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.text ? jsx(LinkButton, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
|
|
3513
3514
|
|
|
3514
3515
|
const isRateRow = (rateRow) => {
|
|
3515
3516
|
return typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
|
|
@@ -4111,14 +4112,6 @@
|
|
|
4111
4112
|
});
|
|
4112
4113
|
const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
|
|
4113
4114
|
|
|
4114
|
-
const mapCookie = (name, mapper) => {
|
|
4115
|
-
const cookies = globalThis.document?.cookie.split(';') ?? [];
|
|
4116
|
-
const [, value] = cookies.map((_) => _.split('=')).find(([key]) => key.trim() === name) || [];
|
|
4117
|
-
if (mapper(value)) {
|
|
4118
|
-
globalThis.document.cookie = `${name}=${mapper(value)}`;
|
|
4119
|
-
}
|
|
4120
|
-
};
|
|
4121
|
-
|
|
4122
4115
|
const Contacts = JSX(({ className = '', items = [] }) => items?.length ? (jsx("div", { className: style('space-y-m', className), children: items.map(renderContactsGroup) })) : null);
|
|
4123
4116
|
const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
|
|
4124
4117
|
const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(index)));
|
|
@@ -4134,8 +4127,6 @@
|
|
|
4134
4127
|
};
|
|
4135
4128
|
const formatTel = (s) => s.replaceAll(/\D/g, '');
|
|
4136
4129
|
|
|
4137
|
-
const COOKIE_REPLACE = ['split_version', 'New', 'Old'];
|
|
4138
|
-
|
|
4139
4130
|
const horizontalNavigationLinkStyles = 'text-secondary-text';
|
|
4140
4131
|
|
|
4141
4132
|
const HorizontalNavigationLink = JSX(({ className = '', index, text, ...rest }) => {
|
|
@@ -4159,13 +4150,9 @@
|
|
|
4159
4150
|
const sitemap = rest.options?.page?.sitemap ?? {};
|
|
4160
4151
|
const { logo } = sitemap;
|
|
4161
4152
|
const { dataFooter, ...logoProps } = logo ?? {};
|
|
4162
|
-
const { documents, relatedEnterprises, contacts, mediaLinks = [], feedbackButton,
|
|
4163
|
-
const handleOnClick = useCallback(() => {
|
|
4164
|
-
const [name, oldValue, newValue] = COOKIE_REPLACE;
|
|
4165
|
-
mapCookie(name, (value) => value?.replace(oldValue, newValue));
|
|
4166
|
-
}, []);
|
|
4153
|
+
const { documents, relatedEnterprises, contacts, mediaLinks = [], feedbackButton, license, otherLinks = [], } = footer ?? {};
|
|
4167
4154
|
const linkStyle = '!text-left text-s font-light';
|
|
4168
|
-
return (jsxs(BlockWrapper, { tag: "footer", className: style('space-y-xl', className), ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, children: _?.title }, String(i)))),
|
|
4155
|
+
return (jsxs(BlockWrapper, { tag: "footer", className: style('space-y-xl', className), ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, children: _?.title }, String(i)))), otherLinks.map((_, i) => (jsx(LinkButton, { className: linkStyle, version: "link", ..._, children: _?.text }, String(i))))] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
|
|
4169
4156
|
});
|
|
4170
4157
|
|
|
4171
4158
|
const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
|
|
@@ -4668,23 +4655,13 @@
|
|
|
4668
4655
|
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
4669
4656
|
};
|
|
4670
4657
|
|
|
4671
|
-
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items,
|
|
4658
|
+
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
4672
4659
|
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
4673
4660
|
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
4674
4661
|
return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [jsx(List, { items: items, listItemSize: "M" }), jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
4675
4662
|
});
|
|
4676
4663
|
|
|
4677
|
-
const
|
|
4678
|
-
primary: 'bg-white/30',
|
|
4679
|
-
secondary: 'bg-main-divider',
|
|
4680
|
-
};
|
|
4681
|
-
const badgeTextColorStyleMap = {
|
|
4682
|
-
primary: 'text-white',
|
|
4683
|
-
secondary: 'text-secondary-text',
|
|
4684
|
-
};
|
|
4685
|
-
const Badge$1 = JSX(({ count, version = 'secondary' }) => {
|
|
4686
|
-
return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), role: "status", children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) }));
|
|
4687
|
-
});
|
|
4664
|
+
const getVersion = (isPrimary) => (isPrimary ? 'primary' : 'secondary');
|
|
4688
4665
|
|
|
4689
4666
|
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
|
|
4690
4667
|
|
|
@@ -4707,7 +4684,8 @@
|
|
|
4707
4684
|
const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
|
|
4708
4685
|
const items = useMemo(() => hotFilters.map((_) => ({
|
|
4709
4686
|
text: _.text,
|
|
4710
|
-
|
|
4687
|
+
count: getBadgeCount(blocks, _.filter),
|
|
4688
|
+
version: getVersion(_ === hotFilters[activeItemIndex]),
|
|
4711
4689
|
})), [hotFilters, blocks, activeItemIndex]);
|
|
4712
4690
|
const handleChange = useCallback((_) => {
|
|
4713
4691
|
onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
|
|
@@ -4719,6 +4697,16 @@
|
|
|
4719
4697
|
};
|
|
4720
4698
|
};
|
|
4721
4699
|
|
|
4700
|
+
const badgeBgStyleMap = {
|
|
4701
|
+
primary: 'bg-white/30',
|
|
4702
|
+
secondary: 'bg-main-divider',
|
|
4703
|
+
};
|
|
4704
|
+
const badgeTextColorStyleMap = {
|
|
4705
|
+
primary: 'text-white',
|
|
4706
|
+
secondary: 'text-secondary-text',
|
|
4707
|
+
};
|
|
4708
|
+
const Badge$1 = JSX(({ count, version = 'secondary' }) => (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), role: "status", children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) })));
|
|
4709
|
+
|
|
4722
4710
|
const getButtonClassNames = (isActive) => ({
|
|
4723
4711
|
btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
|
|
4724
4712
|
text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
|
|
@@ -4759,14 +4747,14 @@
|
|
|
4759
4747
|
};
|
|
4760
4748
|
const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
4761
4749
|
const Tag = tag;
|
|
4762
|
-
const { text, description, icon,
|
|
4750
|
+
const { text, description, icon, count, ...link } = item;
|
|
4763
4751
|
return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tablist", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: [renderTabItemInner({
|
|
4764
4752
|
text,
|
|
4765
4753
|
description,
|
|
4766
4754
|
icon,
|
|
4767
4755
|
isActive,
|
|
4768
4756
|
type,
|
|
4769
|
-
}),
|
|
4757
|
+
}), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", children: jsx(Badge$1, { count: count, version: getVersion(isActive) }) })) : null] }) }));
|
|
4770
4758
|
});
|
|
4771
4759
|
|
|
4772
4760
|
const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
|
|
@@ -4814,13 +4802,37 @@
|
|
|
4814
4802
|
childSchema: (content) => content?.filtrationSchema || {},
|
|
4815
4803
|
});
|
|
4816
4804
|
|
|
4817
|
-
|
|
4805
|
+
const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
|
|
4806
|
+
const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
|
|
4807
|
+
function renderClusterer({ yandexMaps, map, points, }) {
|
|
4818
4808
|
map.geoObjects.removeAll();
|
|
4819
4809
|
const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
|
|
4820
|
-
const
|
|
4810
|
+
const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
|
|
4811
|
+
if (points.length && points.every((_) => 'type' in _)) {
|
|
4812
|
+
const remoteWorkplaceClusterer = defineClusterer('workplaces', yandexMaps, clusterIconContentLayout);
|
|
4813
|
+
const remoteWorkplaceGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'workplaces'), 'workplaces', yandexMaps);
|
|
4814
|
+
const officesGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'offices'), 'offices', yandexMaps);
|
|
4815
|
+
officeClusterer.add(officesGeoObjects);
|
|
4816
|
+
remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
|
|
4817
|
+
map.geoObjects.add(remoteWorkplaceClusterer);
|
|
4818
|
+
map.geoObjects.add(officeClusterer);
|
|
4819
|
+
}
|
|
4820
|
+
else {
|
|
4821
|
+
const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
|
|
4822
|
+
officeClusterer.add(geoObjects);
|
|
4823
|
+
map.geoObjects.add(officeClusterer);
|
|
4824
|
+
}
|
|
4825
|
+
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
4826
|
+
if (map.getZoom() > 10) {
|
|
4827
|
+
map.setZoom(10);
|
|
4828
|
+
}
|
|
4829
|
+
});
|
|
4830
|
+
}
|
|
4831
|
+
const defineClusterer = (type, yandexMaps, clusterIconContentLayout) => {
|
|
4832
|
+
return new yandexMaps.Clusterer({
|
|
4821
4833
|
clusterIcons: [
|
|
4822
4834
|
{
|
|
4823
|
-
href: '
|
|
4835
|
+
href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
4824
4836
|
size: [78, 84],
|
|
4825
4837
|
offset: [-35, -50],
|
|
4826
4838
|
},
|
|
@@ -4829,25 +4841,20 @@
|
|
|
4829
4841
|
clusterHideIconOnBalloonOpen: false,
|
|
4830
4842
|
geoObjectHideIconOnBalloonOpen: false,
|
|
4831
4843
|
});
|
|
4832
|
-
|
|
4844
|
+
};
|
|
4845
|
+
const defineGeoObjects = (pointArr, type, yandexMaps) => {
|
|
4846
|
+
return pointArr.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
|
|
4833
4847
|
balloonContentHeader: content?.header,
|
|
4834
4848
|
balloonContentBody: content?.body,
|
|
4835
4849
|
balloonContentFooter: content?.footer,
|
|
4836
4850
|
hintContent: content?.hint,
|
|
4837
4851
|
}, {
|
|
4838
4852
|
iconLayout: 'default#image',
|
|
4839
|
-
iconImageHref: '
|
|
4853
|
+
iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
4840
4854
|
iconImageSize: [78, 84],
|
|
4841
4855
|
iconImageOffset: [-35, -50],
|
|
4842
4856
|
}));
|
|
4843
|
-
|
|
4844
|
-
map.geoObjects.add(clusterer);
|
|
4845
|
-
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
4846
|
-
if (map.getZoom() > 10) {
|
|
4847
|
-
map.setZoom(10);
|
|
4848
|
-
}
|
|
4849
|
-
});
|
|
4850
|
-
}
|
|
4857
|
+
};
|
|
4851
4858
|
|
|
4852
4859
|
const styles$1 = {
|
|
4853
4860
|
focus: 'focus:border-primary-text focus:border',
|
|
@@ -4920,11 +4927,11 @@
|
|
|
4920
4927
|
controls: [],
|
|
4921
4928
|
suppressMapOpenBlock: true,
|
|
4922
4929
|
});
|
|
4923
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
4930
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
4924
4931
|
});
|
|
4925
4932
|
}
|
|
4926
4933
|
else if (yandexMaps) {
|
|
4927
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
4934
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
4928
4935
|
if (!points?.length) {
|
|
4929
4936
|
map.current.setCenter(DEFAULT_CENTER_COORDS);
|
|
4930
4937
|
}
|
|
@@ -4943,6 +4950,8 @@
|
|
|
4943
4950
|
const mapByIndex = (points, index) => points.map((_) => _.coords[index]);
|
|
4944
4951
|
const getArraySumAndAverage = (arr) => arr.length && arr.reduce((a, b) => a + b) / arr.length;
|
|
4945
4952
|
|
|
4953
|
+
const renderDescriptionBlock$1 = ({ __html, list }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
4954
|
+
|
|
4946
4955
|
const FILTRATION_LABELS = {
|
|
4947
4956
|
safeBoxCaseVolumes: 'Аренда индивидуальных сейфовых ячеек',
|
|
4948
4957
|
workingSaturday: 'Открыты по субботам',
|
|
@@ -4957,14 +4966,14 @@
|
|
|
4957
4966
|
bullionOperations: 'Операции со слитками',
|
|
4958
4967
|
preciousMetalsOperations: 'Операции с драгоценными металлами',
|
|
4959
4968
|
transferringDataToBiometricSystem: 'Передача фото и голоса в Единую биометрическую систему',
|
|
4969
|
+
remoteWorkplace: 'Удаленное рабочее место',
|
|
4960
4970
|
};
|
|
4961
4971
|
const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
|
|
4962
4972
|
const renderFiltrationForm = (filters, { field, reset }, onlyOffice) => {
|
|
4963
|
-
const visibleFiltersNum =
|
|
4973
|
+
const visibleFiltersNum = 4;
|
|
4964
4974
|
const filtersCheckbox = (filters || []).map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key)));
|
|
4965
|
-
const [visibleFilters, hiddenFilters] = visibleFiltersNum
|
|
4966
|
-
|
|
4967
|
-
: [filtersCheckbox, []];
|
|
4975
|
+
const [visibleFilters, hiddenFilters] = [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
|
|
4976
|
+
;
|
|
4968
4977
|
return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] })), renderFoldButton: renderFoldButton$2(reset, onlyOffice) }) })) : null }));
|
|
4969
4978
|
};
|
|
4970
4979
|
const renderFoldButton$2 = (reset, onlyOffice) => ({ isUnfolded, onToggle }) => {
|
|
@@ -4976,37 +4985,47 @@
|
|
|
4976
4985
|
const defaultEmptyFunction = () => void 0;
|
|
4977
4986
|
const defaultFilterItems = () => [];
|
|
4978
4987
|
const filtersVisibleStyles = (activeButton) => activeButton === 'all' ? 'block' : 'hidden';
|
|
4979
|
-
const OfficesAtmsMapLayout = JSX(({ className, data = [], renderCard = defaultEmptyFunction, filterItems = defaultFilterItems, getBalloon = defaultEmptyFunction, initFilterState = {}, descriptionData, title, }) => {
|
|
4988
|
+
const OfficesAtmsMapLayout = JSX(({ className, data = [], remoteWorkplaces = [], renderCard = defaultEmptyFunction, renderRemoteWorkplaceCard = defaultEmptyFunction, filterItems = defaultFilterItems, getBalloon = defaultEmptyFunction, getBalloonRemoteWorkplaces = defaultEmptyFunction, initFilterState = {}, descriptionData, title, }) => {
|
|
4980
4989
|
const onlyOffice = title?.includes('Офис');
|
|
4981
4990
|
const [filtrationState, { field, reset }] = useForm(initFilterState);
|
|
4982
|
-
const [filteredItems, points, lengthItems] = useMemo(() => {
|
|
4991
|
+
const [filteredItems, points, filteredRemoteWorkplaces, lengthItems] = useMemo(() => {
|
|
4983
4992
|
const _filteredItems = filterItems(data, filtrationState);
|
|
4984
|
-
const
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4993
|
+
const _filteredRemoteWorkplaces = filterItems(remoteWorkplaces, filtrationState);
|
|
4994
|
+
const _points = [
|
|
4995
|
+
..._filteredItems.map((_) => ({
|
|
4996
|
+
type: 'offices',
|
|
4997
|
+
coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)]?.filter(Boolean),
|
|
4998
|
+
content: getBalloon(_),
|
|
4999
|
+
})),
|
|
5000
|
+
..._filteredRemoteWorkplaces.map((_) => ({
|
|
5001
|
+
type: 'workplaces',
|
|
5002
|
+
coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)]?.filter(Boolean),
|
|
5003
|
+
content: getBalloonRemoteWorkplaces({
|
|
5004
|
+
address: _.address,
|
|
5005
|
+
workScheduleDescription: _.workScheduleDescription,
|
|
5006
|
+
}),
|
|
5007
|
+
})),
|
|
5008
|
+
].filter((_) => _.coords && _.coords.length === 2);
|
|
5009
|
+
const itemsLength = _filteredItems.length + _filteredRemoteWorkplaces?.length;
|
|
5010
|
+
return [_filteredItems, _points, _filteredRemoteWorkplaces, itemsLength];
|
|
5011
|
+
}, [data, remoteWorkplaces, filtrationState]);
|
|
4992
5012
|
const [activeButton, setActiveButton] = useState('all');
|
|
4993
|
-
return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-6xl pb-0", children: [jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h2", children: [title, lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: ` (${lengthItems})` })) : null] }) }), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-2xl', filtersVisibleStyles(activeButton)), children: renderFiltrationForm(Object.keys(initFilterState), { field, reset }, onlyOffice) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard)] }));
|
|
5013
|
+
return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-6xl pb-0", children: [jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h2", children: [title, lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: ` (${lengthItems})` })) : null] }) }), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-2xl', filtersVisibleStyles(activeButton)), children: renderFiltrationForm(Object.keys(initFilterState), { field, reset }, onlyOffice) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] }));
|
|
4994
5014
|
});
|
|
4995
|
-
const renderButtonsGroup = (data, activeButton,
|
|
4996
|
-
const allButtonVersion = activeButton === 'all'
|
|
4997
|
-
const businessButtonVersion = activeButton === 'business'
|
|
4998
|
-
const
|
|
5015
|
+
const renderButtonsGroup = (data, activeButton, onButtonClick) => {
|
|
5016
|
+
const allButtonVersion = getVersion(activeButton === 'all');
|
|
5017
|
+
const businessButtonVersion = getVersion(activeButton === 'business');
|
|
5018
|
+
const handleClick = (e, key, branches) => {
|
|
4999
5019
|
if (e.currentTarget === e.target && key === 'business') {
|
|
5000
5020
|
branches.filter((branch) => branch.workSchedule &&
|
|
5001
5021
|
branch.workSchedule.businessScheduleVisibleTag &&
|
|
5002
5022
|
!branch.workSchedule.businessScheduleDescription);
|
|
5003
5023
|
}
|
|
5004
|
-
|
|
5024
|
+
onButtonClick(key);
|
|
5005
5025
|
return branches;
|
|
5006
5026
|
};
|
|
5007
|
-
return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) =>
|
|
5008
|
-
};
|
|
5009
|
-
const renderDescriptionBlock$1 = ({ __html, list }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
5027
|
+
return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
|
|
5028
|
+
};
|
|
5010
5029
|
|
|
5011
5030
|
const colorStyle = {
|
|
5012
5031
|
yellow: { border: 'border-yellow-light', text: 'text-yellow' },
|
|
@@ -5230,7 +5249,7 @@
|
|
|
5230
5249
|
return null;
|
|
5231
5250
|
}
|
|
5232
5251
|
const workScheduleWeek = getWorkScheduleWeek(workSchedule);
|
|
5233
|
-
return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: name }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx("div", { className: "hidden sm:block", children: renderCardContent({
|
|
5252
|
+
return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: name }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx("div", { className: "hidden sm:block", children: renderCardContent$1({
|
|
5234
5253
|
phone,
|
|
5235
5254
|
fax,
|
|
5236
5255
|
phoneBusiness,
|
|
@@ -5240,7 +5259,7 @@
|
|
|
5240
5259
|
workSchedule,
|
|
5241
5260
|
exchangeRate,
|
|
5242
5261
|
}) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => {
|
|
5243
|
-
return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
|
|
5262
|
+
return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent$1({
|
|
5244
5263
|
phone,
|
|
5245
5264
|
fax,
|
|
5246
5265
|
phoneBusiness,
|
|
@@ -5254,7 +5273,7 @@
|
|
|
5254
5273
|
//** TODO: remove styles with refactoring DefaultFoldButton*/
|
|
5255
5274
|
renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton$1({ isUnfolded, onToggle }) })] }, String(index)));
|
|
5256
5275
|
};
|
|
5257
|
-
const renderCardContent = ({ phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }) => {
|
|
5276
|
+
const renderCardContent$1 = ({ phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }) => {
|
|
5258
5277
|
const workScheduleWeek = getWorkScheduleWeek(workSchedule);
|
|
5259
5278
|
const labelSchedule = workSchedule?.businessScheduleVisibleTag
|
|
5260
5279
|
? 'Для физических лиц'
|
|
@@ -5270,13 +5289,38 @@
|
|
|
5270
5289
|
return { header, body };
|
|
5271
5290
|
};
|
|
5272
5291
|
|
|
5292
|
+
const renderRemoteWorkplaceCard = ({ address, workScheduleDescription }, index) => {
|
|
5293
|
+
if (!workScheduleDescription) {
|
|
5294
|
+
return null;
|
|
5295
|
+
}
|
|
5296
|
+
return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsx("div", { className: "sm:flex sm:justify-between", children: jsxs("div", { children: [jsx(Text, { size: "text-h4", children: "\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0435 \u0440\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E" }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }) }), jsx("div", { className: "hidden sm:block", children: renderCardContent({
|
|
5297
|
+
workScheduleDescription,
|
|
5298
|
+
}) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => {
|
|
5299
|
+
return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
|
|
5300
|
+
workScheduleDescription,
|
|
5301
|
+
}) }));
|
|
5302
|
+
},
|
|
5303
|
+
//** TODO: remove styles with refactoring DefaultFoldButton*/
|
|
5304
|
+
renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton$1({ isUnfolded, onToggle }) })] }, String(index)));
|
|
5305
|
+
};
|
|
5306
|
+
const renderCardContent = ({ workScheduleDescription }) => {
|
|
5307
|
+
return (jsxs("div", { children: [jsxs(CardRow, { className: "flex", children: [jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432, \u0441\u0447\u0435\u0442\u043E\u0432, \u0432\u043A\u043B\u0430\u0434\u043E\u0432" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u0438\u0445 \u043A\u0430\u0440\u0442" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0418\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u0438 \u043D\u0430\u043A\u043E\u043F\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0411\u0435\u0437\u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 \u0440\u0443\u0431\u043B\u044F\u0445, \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B \u0431\u0435\u0437 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u0441\u0447\u0451\u0442\u0430" }) })] }), jsx(CardCell, { label: "\u0420\u0435\u0436\u0438\u043C \u0440\u0430\u0431\u043E\u0442\u044B", className: "max-w-none", children: jsx(Text, { children: workScheduleDescription }) })] }));
|
|
5308
|
+
};
|
|
5309
|
+
const getRemoteWorkplacePoint = ({ address = '', workScheduleDescription, }) => {
|
|
5310
|
+
const header = 'Удаленное рабочее место';
|
|
5311
|
+
const body = `${address} ${workScheduleDescription}`;
|
|
5312
|
+
return { header, body };
|
|
5313
|
+
};
|
|
5314
|
+
|
|
5273
5315
|
const EMPTY_VALUE$1 = [];
|
|
5274
5316
|
function useOffices(regionCode) {
|
|
5275
|
-
const { data = EMPTY_VALUE$1 } = useAsyncData(`/api/v1/
|
|
5317
|
+
const { data = EMPTY_VALUE$1 } = useAsyncData(`/api/v1/branchesAndRemoteWorkplaces?regionCode=${regionCode}`, fetchMap);
|
|
5276
5318
|
return data;
|
|
5277
5319
|
}
|
|
5278
5320
|
const fetchMap = async (url) => {
|
|
5279
|
-
const result = await fetchJSON(url, {
|
|
5321
|
+
const result = await fetchJSON(url, {
|
|
5322
|
+
method: 'GET',
|
|
5323
|
+
});
|
|
5280
5324
|
return Array.isArray(result) ? result : EMPTY_VALUE$1;
|
|
5281
5325
|
};
|
|
5282
5326
|
|
|
@@ -5284,6 +5328,7 @@
|
|
|
5284
5328
|
workingSaturday: false,
|
|
5285
5329
|
premiumService: false,
|
|
5286
5330
|
privateBanking: false,
|
|
5331
|
+
remoteWorkplace: false,
|
|
5287
5332
|
sellingCoins: false,
|
|
5288
5333
|
buyingCoins: false,
|
|
5289
5334
|
bullionOperations: false,
|
|
@@ -5291,20 +5336,21 @@
|
|
|
5291
5336
|
transferringDataToBiometricSystem: false,
|
|
5292
5337
|
};
|
|
5293
5338
|
const FILTRATION_PREDICATES = {
|
|
5294
|
-
workingSaturday: (item) => Boolean(item.workSchedule?.workingSaturday),
|
|
5295
|
-
premiumService: (item) => Boolean(item.premiumService),
|
|
5296
|
-
privateBanking: (item) => Boolean(item.privateBanking),
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5339
|
+
workingSaturday: (item) => Boolean('workSchedule' in item && item.workSchedule?.workingSaturday),
|
|
5340
|
+
premiumService: (item) => Boolean('premiumService' in item && item.premiumService),
|
|
5341
|
+
privateBanking: (item) => Boolean('privateBanking' in item && item.privateBanking),
|
|
5342
|
+
remoteWorkplace: (item) => Boolean('workScheduleDescription' in item),
|
|
5343
|
+
sellingCoins: (item) => Boolean('sellingCoins' in item && item.sellingCoins),
|
|
5344
|
+
buyingCoins: (item) => Boolean('buyingCoins' in item && item.buyingCoins),
|
|
5345
|
+
bullionOperations: (item) => Boolean('bullionOperations' in item && item.bullionOperations),
|
|
5346
|
+
preciousMetalsOperations: (item) => Boolean('preciousMetalsOperations' in item && item.preciousMetalsOperations),
|
|
5347
|
+
transferringDataToBiometricSystem: (item) => Boolean('transferringDataToBiometricSystem' in item && item.transferringDataToBiometricSystem),
|
|
5302
5348
|
};
|
|
5303
5349
|
const OfficesMap = JSX(({ className }) => {
|
|
5304
5350
|
const [currentLocation] = useLocation();
|
|
5305
5351
|
const regionCode = currentLocation?.code ?? '000';
|
|
5306
5352
|
const officesData = useOffices(regionCode);
|
|
5307
|
-
return (jsx(OfficesAtmsMapLayout, { className: className, filterItems: filterItems, data: officesData, initFilterState: INITIAL_FILTRATION_STATE, renderCard: renderOfficeCard, getBalloon: getOfficePoint, title: `Офисы филиала ${currentLocation?.name}` }));
|
|
5353
|
+
return (jsx(OfficesAtmsMapLayout, { className: className, filterItems: filterItems, data: officesData[0]?.branches, remoteWorkplaces: officesData[0]?.remoteWorkplaces, initFilterState: INITIAL_FILTRATION_STATE, renderCard: renderOfficeCard, renderRemoteWorkplaceCard: renderRemoteWorkplaceCard, getBalloon: getOfficePoint, getBalloonRemoteWorkplaces: getRemoteWorkplacePoint, title: `Офисы филиала ${currentLocation?.name}` }));
|
|
5308
5354
|
});
|
|
5309
5355
|
const filterItems = (data, filtrationState) => {
|
|
5310
5356
|
const truthyFilters = Object.keys(filtrationState).filter((key) => filtrationState[key]);
|
|
@@ -5318,22 +5364,26 @@
|
|
|
5318
5364
|
|
|
5319
5365
|
const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx(Shimmer, {})] })));
|
|
5320
5366
|
|
|
5321
|
-
const
|
|
5367
|
+
const scrollButtonStyle$1 = 'hidden sm:flex absolute z-40 top-10';
|
|
5368
|
+
const ProductGallery = UniBlock(({ className = '', padding, slides = [], ...rest }) => {
|
|
5322
5369
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
5323
|
-
|
|
5370
|
+
const [containerRef, scroll] = useSwipeListScroll({
|
|
5371
|
+
itemCount: slides?.length || 0,
|
|
5372
|
+
});
|
|
5373
|
+
return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "pt-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "M", isFullWidthTitle: false, ...productBlock, ...rest }) }, String(i)))) }), jsxs("div", { className: "relative pr-xs mt-m -mb-m flex gap-xs box-border", children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: 'h-40 flex items-stretch w-screen', gap: 8, children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) }), scroll.canScrollLeft ? (jsx(ScrollLeftButton, { className: style('left-6', scrollButtonStyle$1), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ScrollRightButton, { className: style('right-6', scrollButtonStyle$1), onClick: scroll.scrollRight })) : null] })] }));
|
|
5324
5374
|
});
|
|
5325
5375
|
const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
|
|
5326
5376
|
const isActive = i === activeSlideIndex;
|
|
5327
5377
|
const btnClassName = isActive
|
|
5328
5378
|
? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
|
|
5329
|
-
: 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:
|
|
5379
|
+
: 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
|
|
5330
5380
|
const btnTitleClassName = isActive
|
|
5331
5381
|
? 'text-primary-text text-h6 py-xs'
|
|
5332
5382
|
: 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
|
|
5333
5383
|
const btnDescClassName = isActive
|
|
5334
5384
|
? 'text-secondary-text text-l font-light'
|
|
5335
5385
|
: 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
|
|
5336
|
-
return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
|
|
5386
|
+
return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('max-h-28 mt-xs ml-xs relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50 whitespace-nowrap', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
|
|
5337
5387
|
};
|
|
5338
5388
|
|
|
5339
5389
|
const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
|
|
@@ -5590,14 +5640,19 @@
|
|
|
5590
5640
|
const SwipeListControlBlock = UniBlock(({ listType, showDots, options, version, ...rest }) => (jsx(BlockWrapper, { version: version, defaultPadding: "p-0", ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) })), { childrenTypes: { exclude: ['SwipeListControlBlock'] } });
|
|
5591
5641
|
|
|
5592
5642
|
const scrollButtonStyle = 'hidden sm:flex absolute z-40';
|
|
5593
|
-
const
|
|
5643
|
+
const scrollStyle = {
|
|
5644
|
+
default: {
|
|
5645
|
+
item: 'flex-1',
|
|
5646
|
+
gap: 0,
|
|
5647
|
+
buttonTop: 'top-0',
|
|
5648
|
+
},
|
|
5594
5649
|
animated: {
|
|
5595
|
-
|
|
5650
|
+
item: 'flex',
|
|
5596
5651
|
gap: 8,
|
|
5597
5652
|
buttonTop: 'top-5',
|
|
5598
5653
|
},
|
|
5599
5654
|
underlined: {
|
|
5600
|
-
|
|
5655
|
+
item: '',
|
|
5601
5656
|
gap: 0,
|
|
5602
5657
|
buttonTop: 'top-0',
|
|
5603
5658
|
},
|
|
@@ -5606,7 +5661,7 @@
|
|
|
5606
5661
|
const [containerRef, scroll] = useSwipeListScroll({
|
|
5607
5662
|
itemCount: items?.length || 0,
|
|
5608
5663
|
});
|
|
5609
|
-
return (jsxs("div", { className: style('relative overflow-x-auto no-scrollbar', className), children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName:
|
|
5664
|
+
return (jsxs("div", { className: style('relative overflow-x-auto no-scrollbar', className), children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: scrollStyle[tabsType].item, gap: scrollStyle[tabsType].gap, children: items.map(renderTab(value, onChange, tabsType)) }), scroll.canScrollLeft ? (jsx(ScrollLeftButton, { className: style('left-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ScrollRightButton, { className: style('right-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop), onClick: scroll.scrollRight })) : null] }));
|
|
5610
5665
|
});
|
|
5611
5666
|
|
|
5612
5667
|
const renderTabs = ({ tabsMode, ...props }) => {
|
|
@@ -5683,32 +5738,41 @@
|
|
|
5683
5738
|
};
|
|
5684
5739
|
const normalizeTab = (_) => _?.type === 'group' ? { text: _.title, name: _.ref } : _;
|
|
5685
5740
|
|
|
5686
|
-
const
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5741
|
+
const tabsStyle = {
|
|
5742
|
+
default: {
|
|
5743
|
+
wrapper: '',
|
|
5744
|
+
component: '',
|
|
5745
|
+
},
|
|
5746
|
+
animated: {
|
|
5747
|
+
wrapper: 'border-b-8 border-primary-main bg-white',
|
|
5748
|
+
component: 'm-auto',
|
|
5749
|
+
},
|
|
5750
|
+
underlined: {
|
|
5751
|
+
wrapper: 'flex',
|
|
5752
|
+
component: 'm-auto',
|
|
5753
|
+
},
|
|
5754
|
+
};
|
|
5755
|
+
const renderTabsLayout = ({ tabsType = 'animated', ...props }) => tabsType ? (jsx("div", { className: tabsStyle[tabsType].wrapper, children: jsx(ScrollableTabsControl, { className: tabsStyle[tabsType].component, tabsType: tabsType, ...props }) })) : null;
|
|
5698
5756
|
|
|
5699
5757
|
const TAB_QUERY_PARAM_KEY = 'tab';
|
|
5700
|
-
const TabsLayout = UniBlock(({ className = '', tabs = [], block, tabsType, ...rest }) => {
|
|
5758
|
+
const TabsLayout = UniBlock(({ className = '', tabs = [], block, tabsType, showCounter = false, ...rest }) => {
|
|
5701
5759
|
const router = useRouter();
|
|
5702
|
-
const
|
|
5703
|
-
|
|
5760
|
+
const tabsCounted = showCounter
|
|
5761
|
+
? tabs.map((_) => ({
|
|
5762
|
+
..._,
|
|
5763
|
+
count: block?.slots?.[_?.text ?? '']?.length ?? 0,
|
|
5764
|
+
}))
|
|
5765
|
+
: tabs;
|
|
5766
|
+
const [activeTabIndex, setActiveTabIndex] = useState(getInitSelectedIndex(tabsCounted));
|
|
5767
|
+
const defaultSelectedTab = tabsCounted.findIndex((_) => Boolean(_.selected));
|
|
5704
5768
|
useEffect(() => {
|
|
5705
|
-
const query = new URLSearchParams(globalThis?.location?.search
|
|
5769
|
+
const query = new URLSearchParams(globalThis?.location?.search);
|
|
5706
5770
|
const defaultTabIndex = query.get(TAB_QUERY_PARAM_KEY)
|
|
5707
|
-
?
|
|
5771
|
+
? tabsCounted.findIndex((_, index) => _.type === 'group' && String(index) === query.get(TAB_QUERY_PARAM_KEY))
|
|
5708
5772
|
: defaultSelectedTab;
|
|
5709
5773
|
setActiveTabIndex(defaultTabIndex === -1 ? 0 : defaultTabIndex);
|
|
5710
5774
|
}, [defaultSelectedTab]);
|
|
5711
|
-
const slotName = getSlotName(
|
|
5775
|
+
const slotName = getSlotName(tabsCounted[activeTabIndex], activeTabIndex);
|
|
5712
5776
|
const updateUrlSearchTabParam = (_, index) => {
|
|
5713
5777
|
const searchParams = new URLSearchParams(globalThis?.location?.search || '');
|
|
5714
5778
|
if (_.text) {
|
|
@@ -5720,16 +5784,16 @@
|
|
|
5720
5784
|
router.replace(`${router.pathname}?${searchParams}`, { scroll: false });
|
|
5721
5785
|
};
|
|
5722
5786
|
const handleChange = useCallback((_) => {
|
|
5723
|
-
const index =
|
|
5724
|
-
const tab =
|
|
5787
|
+
const index = tabsCounted.indexOf(_);
|
|
5788
|
+
const tab = tabsCounted[index];
|
|
5725
5789
|
setActiveTabIndex(index);
|
|
5726
5790
|
if (tab.type === 'group') {
|
|
5727
5791
|
updateUrlSearchTabParam(_, index);
|
|
5728
5792
|
}
|
|
5729
|
-
}, [
|
|
5793
|
+
}, [tabsCounted]);
|
|
5730
5794
|
return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", ...rest, children: [renderTabsLayout({
|
|
5731
|
-
items:
|
|
5732
|
-
value:
|
|
5795
|
+
items: tabsCounted,
|
|
5796
|
+
value: tabsCounted[activeTabIndex],
|
|
5733
5797
|
tabsType,
|
|
5734
5798
|
onChange: handleChange,
|
|
5735
5799
|
}), jsx("div", { className: "space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: renderBlocksList(block?.slots?.[slotName], {
|
|
@@ -6029,7 +6093,7 @@
|
|
|
6029
6093
|
|
|
6030
6094
|
const COOKIE_DIALOG_ID = 'cookie';
|
|
6031
6095
|
const DIALOG_INITIAL_DELAY = 3 * 1000;
|
|
6032
|
-
const CookiePopup = JSX(({ termLink, personalDataPolicyLink }) => {
|
|
6096
|
+
const CookiePopup = JSX(({ termLink, personalDataPolicyLink, recommendationLink }) => {
|
|
6033
6097
|
const [opened, { setTrue: open, setFalse: close }] = useBool();
|
|
6034
6098
|
useDebouncedEffect(() => {
|
|
6035
6099
|
if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
|
|
@@ -6040,7 +6104,7 @@
|
|
|
6040
6104
|
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
6041
6105
|
close();
|
|
6042
6106
|
}, []);
|
|
6043
|
-
return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", role: "dialog", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
|
|
6107
|
+
return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", role: "dialog", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB. \u041D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u043E", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(recommendationLink?.href), ...recommendationLink, children: "\u041F\u0440\u0430\u0432\u0438\u043B\u0430\u043C \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0439." })] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
|
|
6044
6108
|
});
|
|
6045
6109
|
const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
|
|
6046
6110
|
|
|
@@ -6170,14 +6234,14 @@
|
|
|
6170
6234
|
}), renderBlocksList(slots?.[FOOTER_SLOT], { ...options, slotName: FOOTER_SLOT })] })] }), slots?.[STICKY_FOOTER_SLOT]?.length ? (jsx("div", { className: "fixed w-full bottom-0 left-0 z-[100]", children: renderBlocksList(slots?.[STICKY_FOOTER_SLOT], {
|
|
6171
6235
|
...options,
|
|
6172
6236
|
slotName: STICKY_FOOTER_SLOT,
|
|
6173
|
-
}) })) : null, jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
6237
|
+
}) })) : null, jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, recommendationLink: { href: '/recommendation', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
6174
6238
|
});
|
|
6175
6239
|
Object.assign(ContentPage, {
|
|
6176
6240
|
childrenTypes: [],
|
|
6177
6241
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6178
6242
|
});
|
|
6179
6243
|
|
|
6180
|
-
const packageVersion = "0.15.
|
|
6244
|
+
const packageVersion = "0.15.340";
|
|
6181
6245
|
|
|
6182
6246
|
exports.Blocks = Blocks;
|
|
6183
6247
|
exports.ContentPage = ContentPage;
|