@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
|
@@ -9,7 +9,7 @@ import { LinkWrapper } from '../LinkWrapper/LinkWrapper.js';
|
|
|
9
9
|
import { Paragraph } from '../Paragraph/Paragraph.js';
|
|
10
10
|
const COOKIE_DIALOG_ID = 'cookie';
|
|
11
11
|
const DIALOG_INITIAL_DELAY = 3 * 1000;
|
|
12
|
-
export const CookiePopup = JSX(({ termLink, personalDataPolicyLink }) => {
|
|
12
|
+
export const CookiePopup = JSX(({ termLink, personalDataPolicyLink, recommendationLink }) => {
|
|
13
13
|
const [opened, { setTrue: open, setFalse: close }] = useBool();
|
|
14
14
|
useDebouncedEffect(() => {
|
|
15
15
|
if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
|
|
@@ -20,7 +20,7 @@ export const CookiePopup = JSX(({ termLink, personalDataPolicyLink }) => {
|
|
|
20
20
|
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
21
21
|
close();
|
|
22
22
|
}, []);
|
|
23
|
-
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;
|
|
23
|
+
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;
|
|
24
24
|
});
|
|
25
25
|
const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
|
|
26
26
|
//# sourceMappingURL=CookiePopup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":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,EAAE,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -2,9 +2,7 @@ import { type TitleProps } from '../../model/HeadlineType';
|
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* @title Размер заголовка
|
|
5
|
-
* @enumNames [
|
|
6
|
-
* "h0", "h1", "h2", "h3", "h4", "h5", "h6"
|
|
7
|
-
* ]
|
|
5
|
+
* @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький", "Очень маленький", "Самый маленький"]
|
|
8
6
|
*/
|
|
9
7
|
export declare type HeadingType = 'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
10
8
|
/**
|
|
@@ -6,14 +6,19 @@ import { SwipeListContainer } from '../SwipeListControl/SwipeListContainer.js';
|
|
|
6
6
|
import { useSwipeListScroll } from '../SwipeListControl/useSwipeListScroll.js';
|
|
7
7
|
import { renderTab } from './renderTab.js';
|
|
8
8
|
const scrollButtonStyle = 'hidden sm:flex absolute z-40';
|
|
9
|
-
const
|
|
9
|
+
const scrollStyle = {
|
|
10
|
+
default: {
|
|
11
|
+
item: 'flex-1',
|
|
12
|
+
gap: 0,
|
|
13
|
+
buttonTop: 'top-0',
|
|
14
|
+
},
|
|
10
15
|
animated: {
|
|
11
|
-
|
|
16
|
+
item: 'flex',
|
|
12
17
|
gap: 8,
|
|
13
18
|
buttonTop: 'top-5',
|
|
14
19
|
},
|
|
15
20
|
underlined: {
|
|
16
|
-
|
|
21
|
+
item: '',
|
|
17
22
|
gap: 0,
|
|
18
23
|
buttonTop: 'top-0',
|
|
19
24
|
},
|
|
@@ -22,6 +27,6 @@ export const ScrollableTabsControl = JSX(({ className, items = [], value, onChan
|
|
|
22
27
|
const [containerRef, scroll] = useSwipeListScroll({
|
|
23
28
|
itemCount: items?.length || 0,
|
|
24
29
|
});
|
|
25
|
-
return (_jsxs("div", { className: style('relative overflow-x-auto no-scrollbar', className), children: [_jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName:
|
|
30
|
+
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] }));
|
|
26
31
|
});
|
|
27
32
|
//# sourceMappingURL=ScrollableTabsControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableTabsControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/ScrollableTabsControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;AAEzD,MAAM,
|
|
1
|
+
{"version":3,"file":"ScrollableTabsControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/ScrollableTabsControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CA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KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,GAC7B,EACpB,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CACtB,KAAC,gBAAgB,IACf,SAAS,EAAE,KAAK,CAAC,QAAQ,EAAE,iBAAiB,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EAC9E,OAAO,EAAE,MAAM,CAAC,UAAU,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CACvB,KAAC,iBAAiB,IAChB,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,iBAAiB,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EAC/E,OAAO,EAAE,MAAM,CAAC,WAAW,GAC3B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { type DescriptionProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import { type IconProps } from '../../model/Picture';
|
|
4
|
-
import { type VNode } from '../../model/VNode';
|
|
5
4
|
import { type TabsControlProps, type TabsType } from './TabsControlProps';
|
|
6
5
|
export interface TabItemBase extends LinkProps, TitleProps, DescriptionProps, IconProps {
|
|
7
6
|
name?: string;
|
|
8
|
-
|
|
7
|
+
count?: number;
|
|
9
8
|
}
|
|
10
9
|
export interface TabItemProps {
|
|
11
10
|
item?: TabItemBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,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,EAAE,IAAI,GAAG,EAAE,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,KAAM,IAAI,GAAI,CAAC;AACtE,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { getVersion } from '../../utils/getVersion.js';
|
|
3
4
|
import { style } from '../../utils/style.js';
|
|
5
|
+
import { Badge } from '../Badge/Badge.js';
|
|
4
6
|
import { renderTabItemInner } from './renderTabItemInner.js';
|
|
5
7
|
const tabPaddingStyleMap = {
|
|
6
8
|
default: 'px-xs',
|
|
@@ -25,13 +27,13 @@ const activeTabBgStyleMap = {
|
|
|
25
27
|
};
|
|
26
28
|
export const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
27
29
|
const Tag = tag;
|
|
28
|
-
const { text, description, icon,
|
|
30
|
+
const { text, description, icon, count, ...link } = item;
|
|
29
31
|
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({
|
|
30
32
|
text,
|
|
31
33
|
description,
|
|
32
34
|
icon,
|
|
33
35
|
isActive,
|
|
34
36
|
type,
|
|
35
|
-
}),
|
|
37
|
+
}), Number.isInteger(count) ? (_jsx("div", { className: "ml-xs", children: _jsx(Badge, { count: count, version: getVersion(isActive) }) })) : null] }) }));
|
|
36
38
|
});
|
|
37
39
|
//# sourceMappingURL=TabItemInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabItemInner.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItemInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,MAAM,kBAAkB,GAA6B;IACnD,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kFAAkF;CAC7F,CAAC;AAEF,MAAM,YAAY,GAAG,6CAA6C,CAAC;AAEnE,MAAM,qBAAqB,GAA6B;IACtD,OAAO,EAAE,0BAA0B;IACnC,UAAU,EAAE,8BAA8B;IAC1C,QAAQ,EAAE,0BAA0B;CACrC,CAAC;AAEF,MAAM,aAAa,GAA6B;IAC9C,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,mEAAmE;CAC9E,CAAC;AAEF,MAAM,mBAAmB,GAA6B;IACpD,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,sDAAsD;CACjE,CAAC;
|
|
1
|
+
{"version":3,"file":"TabItemInner.js","sourceRoot":"","sources":["../../../src/ui-kit/TabsControl/TabItemInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MA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,EACR,kCAAkC,EAClC,+BAA+B,EAC/B,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CACtD,aAEA,kBAAkB,CAAC;oBAClB,IAAI;oBACJ,WAAW;oBACX,IAAI;oBACJ,QAAQ;oBACR,IAAI;iBACL,CAAC,EACD,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACzB,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAI,GAClD,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -29,11 +29,11 @@ export const YandexMap = JSX(({ points, className = '', zoom = 5 }) => {
|
|
|
29
29
|
controls: [],
|
|
30
30
|
suppressMapOpenBlock: true,
|
|
31
31
|
});
|
|
32
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
32
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
else if (yandexMaps) {
|
|
36
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
36
|
+
renderClusterer({ yandexMaps, map: map.current, points });
|
|
37
37
|
if (!points?.length) {
|
|
38
38
|
map.current.setCenter(DEFAULT_CENTER_COORDS);
|
|
39
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/YandexMap.tsx"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eA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C,GAAa,EAAE,EAAE,CAC9C,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type ymaps from 'yandex-maps';
|
|
2
2
|
import { type BalloonPoints } from '../../components/OfficesAtmsMap/YandexMapProps';
|
|
3
|
-
export declare function renderClusterer(yandexMaps
|
|
3
|
+
export declare function renderClusterer({ yandexMaps, map, points, }: {
|
|
4
|
+
yandexMaps: typeof ymaps;
|
|
5
|
+
map: ymaps.Map;
|
|
6
|
+
points: BalloonPoints[];
|
|
7
|
+
}): void;
|
|
@@ -1,10 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
|
|
2
|
+
const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
|
|
3
|
+
export function renderClusterer({ yandexMaps, map, points, }) {
|
|
2
4
|
map.geoObjects.removeAll();
|
|
3
5
|
const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
|
|
4
|
-
const
|
|
6
|
+
const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
|
|
7
|
+
if (points.length && points.every((_) => 'type' in _)) {
|
|
8
|
+
const remoteWorkplaceClusterer = defineClusterer('workplaces', yandexMaps, clusterIconContentLayout);
|
|
9
|
+
const remoteWorkplaceGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'workplaces'), 'workplaces', yandexMaps);
|
|
10
|
+
const officesGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'offices'), 'offices', yandexMaps);
|
|
11
|
+
officeClusterer.add(officesGeoObjects);
|
|
12
|
+
remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
|
|
13
|
+
map.geoObjects.add(remoteWorkplaceClusterer);
|
|
14
|
+
map.geoObjects.add(officeClusterer);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
|
|
18
|
+
officeClusterer.add(geoObjects);
|
|
19
|
+
map.geoObjects.add(officeClusterer);
|
|
20
|
+
}
|
|
21
|
+
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
22
|
+
if (map.getZoom() > 10) {
|
|
23
|
+
map.setZoom(10);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
const defineClusterer = (type, yandexMaps, clusterIconContentLayout) => {
|
|
28
|
+
return new yandexMaps.Clusterer({
|
|
5
29
|
clusterIcons: [
|
|
6
30
|
{
|
|
7
|
-
href: '
|
|
31
|
+
href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
8
32
|
size: [78, 84],
|
|
9
33
|
offset: [-35, -50],
|
|
10
34
|
},
|
|
@@ -13,23 +37,18 @@ export function renderClusterer(yandexMaps, map, points) {
|
|
|
13
37
|
clusterHideIconOnBalloonOpen: false,
|
|
14
38
|
geoObjectHideIconOnBalloonOpen: false,
|
|
15
39
|
});
|
|
16
|
-
|
|
40
|
+
};
|
|
41
|
+
const defineGeoObjects = (pointArr, type, yandexMaps) => {
|
|
42
|
+
return pointArr.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
|
|
17
43
|
balloonContentHeader: content?.header,
|
|
18
44
|
balloonContentBody: content?.body,
|
|
19
45
|
balloonContentFooter: content?.footer,
|
|
20
46
|
hintContent: content?.hint,
|
|
21
47
|
}, {
|
|
22
48
|
iconLayout: 'default#image',
|
|
23
|
-
iconImageHref: '
|
|
49
|
+
iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
|
|
24
50
|
iconImageSize: [78, 84],
|
|
25
51
|
iconImageOffset: [-35, -50],
|
|
26
52
|
}));
|
|
27
|
-
|
|
28
|
-
map.geoObjects.add(clusterer);
|
|
29
|
-
map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
|
|
30
|
-
if (map.getZoom() > 10) {
|
|
31
|
-
map.setZoom(10);
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
53
|
+
};
|
|
35
54
|
//# sourceMappingURL=renderClusterer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderClusterer.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderClusterer.ts"],"names":[],"mappings":"AAMA,MAAM,oBAAoB,GAAG,iCAAiC,CAAC;AAC/D,MAAM,0BAA0B,GAAG,uCAAuC,CAAC;AAE3E,MAAM,UAAU,eAAe,CAAC,EAC9B,UAAU,EACV,GAAG,EACH,MAAM,GAKP;IACC,GAAG,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC;IAE3B,MAAM,wBAAwB,GAAG,UAAU,CAAC,qBAAqB,CAAC,WAAW,CAC3E,uEAAuE,CACxE,CAAC;IAEF,MAAM,eAAe,GAAG,eAAe,CAAC,SAAS,EAAE,UAAU,EAAE,wBAAwB,CAAC,CAAC;IAEzF,IAAI,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE;QACrD,MAAM,wBAAwB,GAAG,eAAe,CAC9C,YAAY,EACZ,UAAU,EACV,wBAAwB,CACzB,CAAC;QAEF,MAAM,yBAAyB,GAAG,gBAAgB,CAChD,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,YAAY,CAAC,EAC7C,YAAY,EACZ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E,CAAC;gBACd,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;aACnB;SACF;QACD,wBAAwB;QACxB,4BAA4B,EAAE,KAAK;QACnC,8BAA8B,EAAE,KAAK;KACX,CAAC,CAAC;AAChC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,QAAyB,EAAE,IAAY,EAAE,UAAwB,EAAE,EAAE;IAC7F,OAAO,QAAQ,CAAC,GAAG,CACjB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CACtB,IAAI,UAAU,CAAC,SAAS,CACtB,MAAM,EACN;QACE,oBAAoB,EAAE,OAAO,EAAE,MAAM;QACrC,kBAAkB,EAAE,OAAO,EAAE,IAAI;QACjC,oBAAoB,EAAE,OAAO,EAAE,MAAM;QACrC,WAAW,EAAE,OAAO,EAAE,IAAI;KAC3B,EACD;QACE,UAAU,EAAE,eAAe;QAC3B,aAAa,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,0BAA0B;QACrF,aAAa,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;QACvB,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;KAC5B,CACF,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getVersion: (isPrimary: boolean) => "primary" | "secondary";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVersion.js","sourceRoot":"","sources":["../../src/utils/getVersion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAkB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC"}
|