@redneckz/wildless-cms-uni-blocks 0.14.25 → 0.14.26
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.26.js +53 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +37 -41
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/bundle/utils/isIcon.d.ts +2 -0
- package/dist/components/Blocks.js +0 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +4 -4
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +1 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +2 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +7 -3
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +3 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +2 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/dist/utils/isIcon.d.ts +2 -0
- package/dist/utils/isIcon.js +5 -0
- package/dist/utils/isIcon.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +0 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +4 -4
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +1 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +2 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/Tabs.js +7 -3
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +3 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +2 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/lib/utils/isIcon.d.ts +2 -0
- package/lib/utils/isIcon.js +2 -0
- package/lib/utils/isIcon.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +37 -41
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/mobile/bundle/utils/isIcon.d.ts +2 -0
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +4 -4
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +7 -3
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +3 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/dist/utils/isIcon.d.ts +2 -0
- package/mobile/dist/utils/isIcon.js +5 -0
- package/mobile/dist/utils/isIcon.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +4 -4
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +7 -3
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +3 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/lib/utils/isIcon.d.ts +2 -0
- package/mobile/lib/utils/isIcon.js +2 -0
- package/mobile/lib/utils/isIcon.js.map +1 -0
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Bonus/Bonus.tsx +4 -4
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
- package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
- package/mobile/src/components/Footer/TextInformation.tsx +1 -1
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/mobile/src/components/Tabs/Tabs.tsx +8 -4
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +7 -2
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
- package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
- package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
- package/mobile/src/utils/isIcon.ts +3 -0
- package/package.json +1 -1
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +0 -2
- package/src/components/Bonus/Bonus.tsx +4 -4
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +12 -11
- package/src/components/Carousel/Carousel.fixture.tsx +15 -14
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +41 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +41 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
- package/src/components/ContentPage/ContentPage.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +2 -4
- package/src/components/Footer/TextInformation.tsx +1 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +8 -4
- package/src/components/Tile/Tile.fixture.tsx +1 -2
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
- package/src/ui-kit/Button/ButtonInner.tsx +7 -2
- package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
- package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
- package/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
- package/src/utils/isIcon.ts +3 -0
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
- package/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -8
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +0 -7
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
- package/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
- package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +0 -34
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -36
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
- package/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { isIcon } from '../../utils/isIcon.js';
|
|
2
3
|
import { style } from '../../utils/style.js';
|
|
3
4
|
import { Img } from '../Img/Img.js';
|
|
4
5
|
import { Button } from './Button.js';
|
|
@@ -16,5 +17,5 @@ const getIconVersion = (icon, version = 'secondary') => {
|
|
|
16
17
|
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
17
18
|
return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
18
19
|
};
|
|
19
|
-
const renderButtonIcon = (icon) => icon
|
|
20
|
+
const renderButtonIcon = (icon) => isIcon(icon) ? (_jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
20
21
|
//# sourceMappingURL=renderButtonsSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU;QACR,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,2CAA2C,EAC/C,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAAsB,EAAE,KAAc,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,EAAE,OA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AE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,OAAO,GAAG,WAAW,EAAE,EAAE;IAC1E,MAAM,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvE,OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACb,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -25,9 +25,9 @@ export const LocationDialog = JSX(() => {
|
|
|
25
25
|
selectCurrentLocation(region);
|
|
26
26
|
close();
|
|
27
27
|
}, []);
|
|
28
|
-
return (_jsxs(Dialog, { head: _jsxs("div", { children: [currentLocation ? (_jsxs("div", { className: "mb-s", children: [_jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), _jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: _jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, _jsx(SearchBar, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (_jsx("div", { children: regions
|
|
28
|
+
return (_jsxs(Dialog, { className: "pb-20", head: _jsxs("div", { children: [_jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (_jsxs("div", { className: "mb-s", children: [_jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), _jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: _jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, _jsx(SearchBar, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (_jsx("div", { children: regions
|
|
29
29
|
.filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
|
|
30
|
-
.map(renderRegion(handleChangeLocation)) })) : (_jsx("div", { className: "columns-
|
|
30
|
+
.map(renderRegion(handleChangeLocation)) })) : (_jsx("div", { className: "columns-1 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
|
|
31
31
|
});
|
|
32
32
|
const regionFirstLetter = (region) => region.name?.charAt(0) || '';
|
|
33
33
|
const cleanUpRegions = (regions) => regions.map((region) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationDialog.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/LocationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAe,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EA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,mBAAmB,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,IAAI,GAAG,CAC9E;qBACA,GAAG,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,GACtC,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,wBAAwB,YACpC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC,GACpF,CACP,EACA,oBAAoB,CAAC,cAAc,CAAC,IAC9B,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAE3E,MAAM,cAAc,GAAG,CAAC,OAAiB,EAAE,EAAE,CAC3C,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvB,GAAG,MAAM;IACT,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE;CAC1E,CAAC,CAAC,CAAC"}
|
|
@@ -3,10 +3,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
4
|
import { Img } from '../Img/Img.js';
|
|
5
5
|
import { Text } from '../Text/Text.js';
|
|
6
|
-
export const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [_jsx("div", { className: "mb-m", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-5xl", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
|
|
6
|
+
export const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (_jsxs("div", { className: "sm:border-t sm:border-main-divider mt-2xs pt-2xs", children: [_jsx("div", { className: "mb-m", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex flex-col sm:flex-row gap-5xl", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
|
|
7
7
|
const ForeignOffice = JSX(({ icon, ...rest }) => {
|
|
8
8
|
const link = useLink();
|
|
9
9
|
const { text, target, href, onClick } = link(rest);
|
|
10
|
-
return (_jsxs("div", { className: "flex gap-s", children: [icon ? _jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (_jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
|
|
10
|
+
return (_jsxs("div", { className: "flex gap-s items-center", children: [icon ? _jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (_jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: _jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }) })) : null] }));
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=renderForeignOffices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderForeignOffices.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/renderForeignOffices.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,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,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aACrC,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,UAAU,EAAC,kBAAkB,EAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAChE,IAAI,CAAC,CAAC,CAAC,CACN,YAAG,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YAClF,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,mBAAmB,YAC5D,IAAI,GACA,GACL,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { Text } from '../Text/Text.js';
|
|
3
|
+
export const renderRegion = (onChangeLocation) => (region) => (_jsx("div", { className: "mb-xs sm:mb-2xs", children: _jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
|
|
3
4
|
onChangeLocation && onChangeLocation(region);
|
|
4
|
-
}, children: region.name || '' }) }, region.id));
|
|
5
|
+
}, children: _jsx(Text, { size: "text-l", font: "font-light", children: region.name || '' }) }) }, region.id));
|
|
5
6
|
//# sourceMappingURL=renderRegion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/renderRegion.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/renderRegion.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,gBAA2C,EAAE,EAAE,CAAC,CAAC,MAAc,EAAE,EAAE,CAC9F,CACE,cAAqB,SAAS,EAAC,iBAAiB,YAC9C,iBACE,SAAS,EAAC,yCAAyC,EACnD,OAAO,EAAE,GAAG,EAAE;YACZ,gBAAgB,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC/C,CAAC,YAED,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,MAAM,CAAC,IAAI,IAAI,EAAE,GACb,GACA,IAVD,MAAM,CAAC,EAAE,CAWb,CACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isIcon.js","sourceRoot":"","sources":["../../src/utils/isIcon.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAyB,EAAW,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -650,7 +650,8 @@
|
|
|
650
650
|
|
|
651
651
|
const ButtonInner = JSX((props) => {
|
|
652
652
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
653
|
-
|
|
653
|
+
const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
|
|
654
|
+
return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendRight })) : null] }));
|
|
654
655
|
});
|
|
655
656
|
const getButtonStyle = (props) => {
|
|
656
657
|
const { version, aboveText, rounded } = props;
|
|
@@ -1329,6 +1330,8 @@
|
|
|
1329
1330
|
return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: _ }) }, `benefitListItem-${i}`))) })) : null;
|
|
1330
1331
|
};
|
|
1331
1332
|
|
|
1333
|
+
const isIcon = (icon) => Boolean(icon?.src || icon?.icon);
|
|
1334
|
+
|
|
1332
1335
|
const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical
|
|
1333
1336
|
? 'flex-col gap-xs justify-items-stretch'
|
|
1334
1337
|
: 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m', className), children: buttons.map(renderButton$1(buttonClassName)) })) : null;
|
|
@@ -1343,7 +1346,7 @@
|
|
|
1343
1346
|
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
1344
1347
|
return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
1345
1348
|
};
|
|
1346
|
-
const renderButtonIcon = (icon) => icon
|
|
1349
|
+
const renderButtonIcon = (icon) => isIcon(icon) ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
1347
1350
|
|
|
1348
1351
|
const headlineVersionStyles = {
|
|
1349
1352
|
XXL: {
|
|
@@ -1401,17 +1404,17 @@
|
|
|
1401
1404
|
return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
1402
1405
|
});
|
|
1403
1406
|
|
|
1404
|
-
const Bonus = JSX(({ className = '', title, description, bonusItems = [], align = AlignStyles, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
|
|
1405
|
-
? bonusItems.map((_, i) => (jsxs("div", { className: "
|
|
1407
|
+
const Bonus = JSX(({ className = '', title, description, bonusItems = [], align = AlignStyles, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), jsx("div", { className: "flex flex-wrap gap-3xl gap-x-m w-full", children: bonusItems.length > 0
|
|
1408
|
+
? bonusItems.map((_, i) => (jsxs("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow w-full p-xl sm:p-m border border-gray", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
|
|
1406
1409
|
? renderBonusItemContent(_.bonusItemContent)
|
|
1407
1410
|
: null] })] }, String(i))))
|
|
1408
1411
|
: null })] }) })));
|
|
1409
1412
|
const renderBonusItemContent = (bonusItemContent) => bonusItemContent.bonusType === 'count'
|
|
1410
1413
|
? renderBonusCount(bonusItemContent)
|
|
1411
1414
|
: renderBonusImage(bonusItemContent);
|
|
1412
|
-
const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
|
|
1415
|
+
const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default @xl:mt-s @xl:mb-4 flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
|
|
1413
1416
|
// -mb-10 добавлен для выравнивания bonusCount относительно bonusName, тк шрифт font-mohave неправильно высчитывает line-height
|
|
1414
|
-
jsx("div", { className: "shrink-0 -mb-
|
|
1417
|
+
jsx("div", { className: "shrink-0 -mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: _.bonusCount }) })) : null, _.bonusName ? (jsx("div", { className: "shrink-0 gradient-color-text", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
|
|
1415
1418
|
const renderBonusImage = (_) => _.image ? jsx(Img, { className: "min-w-12 p-xs rounded-icon shrink-0", image: _.image }) : null;
|
|
1416
1419
|
|
|
1417
1420
|
const isShowDots = true;
|
|
@@ -2569,7 +2572,7 @@
|
|
|
2569
2572
|
const [dotsActiveIndex] = scroll.visibleIndicesRange;
|
|
2570
2573
|
// TODO Remove
|
|
2571
2574
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
2572
|
-
return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { className: "@
|
|
2575
|
+
return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { className: "@5xl:hidden", containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
|
|
2573
2576
|
});
|
|
2574
2577
|
Carousel.childrenTypes = [
|
|
2575
2578
|
'CarouselCard',
|
|
@@ -2607,20 +2610,21 @@
|
|
|
2607
2610
|
center: '@xl:self-center',
|
|
2608
2611
|
end: '@xl:self-end',
|
|
2609
2612
|
};
|
|
2610
|
-
const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl
|
|
2611
|
-
className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), isImageSecondary
|
|
2613
|
+
const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @md:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'm-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
|
|
2614
|
+
className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
|
|
2612
2615
|
imageAlign,
|
|
2613
2616
|
}), renderButtons(buttons)] })] })] })));
|
|
2614
2617
|
const rowSpanStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'row-span-2' : '@xl:row-span-2';
|
|
2615
2618
|
const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'justify-self-end col-start-2 self-center' : '';
|
|
2616
2619
|
const renderButtons = (buttons) => buttons ? jsx("div", { className: "self-end", children: buttons }) : null;
|
|
2617
2620
|
const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
|
|
2621
|
+
const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @md:block' : '';
|
|
2618
2622
|
|
|
2619
2623
|
const cardStyleMap = {
|
|
2620
2624
|
black: 'bg-black',
|
|
2621
2625
|
white: 'bg-white',
|
|
2622
2626
|
};
|
|
2623
|
-
const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
|
|
2627
|
+
const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
|
|
2624
2628
|
const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
2625
2629
|
|
|
2626
2630
|
const LINK_CLASS_NAME = `absolute border
|
|
@@ -2737,12 +2741,6 @@
|
|
|
2737
2741
|
const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
|
|
2738
2742
|
const renderHeadline = ({ title, description, headlineVersion, align }) => title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true })) : null;
|
|
2739
2743
|
|
|
2740
|
-
const CarouselProgramsCard = JSX(({ className, title, icon, list, href, target, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: jsx(LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: jsx(BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: true, imageAlign: 'center' }, benefits: list?.map((_) => ({
|
|
2741
|
-
type: 'default',
|
|
2742
|
-
label: _.title,
|
|
2743
|
-
description: _.description,
|
|
2744
|
-
})) }) }) })));
|
|
2745
|
-
|
|
2746
2744
|
const ICONS_MAP = [
|
|
2747
2745
|
{
|
|
2748
2746
|
origins: ['t.me', 'telegram.org'],
|
|
@@ -2781,7 +2779,7 @@
|
|
|
2781
2779
|
const buttons = media?.map((_) => {
|
|
2782
2780
|
const { href, icon, text } = _;
|
|
2783
2781
|
const { iconMapped } = findIconByHref(href);
|
|
2784
|
-
const iconCustom =
|
|
2782
|
+
const iconCustom = isIcon(icon) ? icon : iconMapped;
|
|
2785
2783
|
const buttonText = showButtonText ? { text } : { text: '' };
|
|
2786
2784
|
if (!hasText && text) {
|
|
2787
2785
|
setHasText(true);
|
|
@@ -2799,13 +2797,12 @@
|
|
|
2799
2797
|
buttonClassName,
|
|
2800
2798
|
}) })] }));
|
|
2801
2799
|
});
|
|
2802
|
-
const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
|
|
2803
2800
|
|
|
2804
2801
|
const ImageAlwaysOnRight = false;
|
|
2805
2802
|
|
|
2806
2803
|
//TODO: replace SocialMedia with renderButtonSection
|
|
2807
|
-
const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', isImageAlwaysOnRight = ImageAlwaysOnRight, ...rest }) => {
|
|
2808
|
-
return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children:
|
|
2804
|
+
const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', benefits, imageOptions: { directionRight = true, isImageAlwaysOnRight = ImageAlwaysOnRight, isImageSecondary = false, } = {}, ...rest }) => {
|
|
2805
|
+
return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-2xl", padding: padding, insetTitle: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, ...leftOrRightImage(isIcon(icon) ? jsx(Img, { image: icon }) : null, directionRight), buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, showButtonText: true, version: rest?.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, isImageSecondary: isImageSecondary, children: [jsx(BenefitsList, { benefits: benefits }), jsx(List, { items: items, listItemSize: listItemSize })] }) }) }));
|
|
2809
2806
|
});
|
|
2810
2807
|
|
|
2811
2808
|
const renderCardInfo = (cell, i) => {
|
|
@@ -2818,9 +2815,8 @@
|
|
|
2818
2815
|
const cellsNode = cardCells.map(renderCardInfo);
|
|
2819
2816
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
2820
2817
|
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
2821
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [
|
|
2818
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
|
|
2822
2819
|
});
|
|
2823
|
-
const renderIconBlock$1 = (icon) => (jsx("div", { className: "self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
|
|
2824
2820
|
const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
2825
2821
|
|
|
2826
2822
|
const gradientStyle = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
@@ -3289,7 +3285,7 @@
|
|
|
3289
3285
|
return (jsx("a", { className: `text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
3290
3286
|
});
|
|
3291
3287
|
|
|
3292
|
-
const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: style('@container', className), children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex flex-col @
|
|
3288
|
+
const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: style('@container', className), children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
|
|
3293
3289
|
|
|
3294
3290
|
const Footer = JSX(({ className, ...rest }) => {
|
|
3295
3291
|
const fallback = rest.options?.page?.fallback;
|
|
@@ -3570,7 +3566,7 @@
|
|
|
3570
3566
|
return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
|
|
3571
3567
|
icon: 'ArrowLeftIcon',
|
|
3572
3568
|
iconVersion: iconVersion,
|
|
3573
|
-
} }) }), jsx(Button, { version: "link", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
3569
|
+
} }) }), jsx(Button, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
3574
3570
|
}
|
|
3575
3571
|
|
|
3576
3572
|
const ProductBlock = JSX(({ className, padding, backwardButton, showBorder, ...rest }) => {
|
|
@@ -3593,7 +3589,7 @@
|
|
|
3593
3589
|
|
|
3594
3590
|
const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, isFullWidthTitle = true, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isImageSecondary: true, ...imageOptions }, isFullWidthTitle: isFullWidthTitle, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
|
|
3595
3591
|
|
|
3596
|
-
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: [
|
|
3592
|
+
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({
|
|
3597
3593
|
label: 'Адрес',
|
|
3598
3594
|
data: address,
|
|
3599
3595
|
iconName: 'GeolocationIcon',
|
|
@@ -3603,7 +3599,6 @@
|
|
|
3603
3599
|
iconName: 'MailIcon',
|
|
3604
3600
|
dataColor: 'text-primary-main',
|
|
3605
3601
|
}), button?.text ? renderButtonsSection([button]) : null] })] })));
|
|
3606
|
-
const renderIconBlock = (icon) => (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
|
|
3607
3602
|
const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { __html: __html }) }));
|
|
3608
3603
|
const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
|
|
3609
3604
|
|
|
@@ -3938,8 +3933,6 @@
|
|
|
3938
3933
|
throw new Error(x);
|
|
3939
3934
|
}
|
|
3940
3935
|
|
|
3941
|
-
const checkCanRenderIcon = (icon) => Boolean(icon?.icon || icon?.src);
|
|
3942
|
-
|
|
3943
3936
|
const STEPS_BLOCK_STYLE = {
|
|
3944
3937
|
description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
3945
3938
|
iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
@@ -3983,7 +3976,7 @@
|
|
|
3983
3976
|
const isImg = Boolean(step?.icon?.src);
|
|
3984
3977
|
const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
|
|
3985
3978
|
const containerStyle = isImg ? '' : `rounded-md ${styleMap.iconBackground}`;
|
|
3986
|
-
return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children:
|
|
3979
|
+
return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children: isIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
|
|
3987
3980
|
};
|
|
3988
3981
|
|
|
3989
3982
|
const isHrefActive = (router) => ({ href }) => !href
|
|
@@ -4194,16 +4187,16 @@
|
|
|
4194
4187
|
return prefixL;
|
|
4195
4188
|
}
|
|
4196
4189
|
|
|
4197
|
-
const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-5xl", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
|
|
4190
|
+
const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (jsxs("div", { className: "sm:border-t sm:border-main-divider mt-2xs pt-2xs", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex flex-col sm:flex-row gap-5xl", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
|
|
4198
4191
|
const ForeignOffice = JSX(({ icon, ...rest }) => {
|
|
4199
4192
|
const link = useLink();
|
|
4200
4193
|
const { text, target, href, onClick } = link(rest);
|
|
4201
|
-
return (jsxs("div", { className: "flex gap-s", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
|
|
4194
|
+
return (jsxs("div", { className: "flex gap-s items-center", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }) })) : null] }));
|
|
4202
4195
|
});
|
|
4203
4196
|
|
|
4204
|
-
const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
|
|
4197
|
+
const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-xs sm:mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
|
|
4205
4198
|
onChangeLocation && onChangeLocation(region);
|
|
4206
|
-
}, children: region.name || '' }) }, region.id));
|
|
4199
|
+
}, children: jsx(Text, { size: "text-l", font: "font-light", children: region.name || '' }) }) }, region.id));
|
|
4207
4200
|
|
|
4208
4201
|
const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-2xl w-56", children: [jsx("div", { className: "mb-s", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
|
|
4209
4202
|
|
|
@@ -4224,9 +4217,9 @@
|
|
|
4224
4217
|
selectCurrentLocation(region);
|
|
4225
4218
|
close();
|
|
4226
4219
|
}, []);
|
|
4227
|
-
return (jsxs(Dialog, { head: jsxs("div", { children: [currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar$1, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
|
|
4220
|
+
return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar$1, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
|
|
4228
4221
|
.filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
|
|
4229
|
-
.map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-
|
|
4222
|
+
.map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-1 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
|
|
4230
4223
|
});
|
|
4231
4224
|
const regionFirstLetter = (region) => region.name?.charAt(0) || '';
|
|
4232
4225
|
const cleanUpRegions = (regions) => regions.map((region) => ({
|
|
@@ -4506,8 +4499,9 @@
|
|
|
4506
4499
|
const defaultTabIndex = router.query[TAB_QUERY_PARAM_KEY]
|
|
4507
4500
|
? tabs.findIndex((_) => _.type === 'group' && _.ref === router.query[TAB_QUERY_PARAM_KEY]) || 0
|
|
4508
4501
|
: 0;
|
|
4502
|
+
const defaultTab = tabs[defaultTabIndex] || tabs[0];
|
|
4509
4503
|
setActiveTabIndex(defaultTabIndex);
|
|
4510
|
-
fireTabEvent(
|
|
4504
|
+
fireTabEvent(defaultTab);
|
|
4511
4505
|
}, [isReady]);
|
|
4512
4506
|
useEffect(() => {
|
|
4513
4507
|
const activeTab = tabs[activeTabIndex];
|
|
@@ -4527,9 +4521,12 @@
|
|
|
4527
4521
|
};
|
|
4528
4522
|
const handleChange = useCallback((_) => {
|
|
4529
4523
|
const index = tabsControlItems.indexOf(_);
|
|
4524
|
+
const tab = tabs[index];
|
|
4530
4525
|
setActiveTabIndex(index);
|
|
4531
|
-
fireTabEvent(
|
|
4532
|
-
|
|
4526
|
+
fireTabEvent(tab);
|
|
4527
|
+
if (tab.type === 'group') {
|
|
4528
|
+
updateUrlSearchTabParam(_);
|
|
4529
|
+
}
|
|
4533
4530
|
}, [tabs, tabsControlItems]);
|
|
4534
4531
|
return (jsx(BlockWrapper, { className: style(isSticky ? 'sticky top-1 z-20' : '', className), defaultPadding: "p-0", ...rest, children: renderTabs({
|
|
4535
4532
|
items: tabsControlItems,
|
|
@@ -4744,7 +4741,6 @@
|
|
|
4744
4741
|
CarouselCatalogCard,
|
|
4745
4742
|
CarouselLinks,
|
|
4746
4743
|
CarouselProductCard,
|
|
4747
|
-
CarouselProgramsCard,
|
|
4748
4744
|
CarouselRecommendationCard,
|
|
4749
4745
|
CarouselTariffsCard,
|
|
4750
4746
|
ComparisonTable,
|
|
@@ -4961,7 +4957,7 @@
|
|
|
4961
4957
|
parent: data,
|
|
4962
4958
|
};
|
|
4963
4959
|
useBlockRouterProvider();
|
|
4964
|
-
return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('@container relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @
|
|
4960
|
+
return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('@container relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
4965
4961
|
});
|
|
4966
4962
|
ContentPage.childrenTypes = [];
|
|
4967
4963
|
ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
|
|
@@ -4971,7 +4967,7 @@
|
|
|
4971
4967
|
|
|
4972
4968
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
4973
4969
|
|
|
4974
|
-
const packageVersion = "0.14.
|
|
4970
|
+
const packageVersion = "0.14.26";
|
|
4975
4971
|
|
|
4976
4972
|
exports.Blocks = Blocks;
|
|
4977
4973
|
exports.ContentPage = ContentPage;
|