@redneckz/wildless-cms-uni-blocks 0.14.4 → 0.14.5
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.13.5.js +33 -0
- package/bin/migration-scripts/0.14.1.js +29 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +45 -53
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +1 -4
- package/bundle/components/Footer/FooterDataProps.d.ts +4 -3
- package/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Blocks.js +0 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/constants.js +0 -1
- package/dist/components/Calculator/constants.js.map +1 -1
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +0 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +1 -4
- package/dist/components/Footer/FooterDataProps.d.ts +4 -3
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Footer/SocialMedia.js +26 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/iconsMap.js +0 -7
- package/dist/components/Footer/iconsMap.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +0 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/constants.js +0 -1
- package/lib/components/Calculator/constants.js.map +1 -1
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +0 -1
- package/lib/components/Carousel/Carousel.js +0 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +2 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +13 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +1 -4
- package/lib/components/Footer/FooterDataProps.d.ts +4 -3
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Footer/SocialMedia.js +26 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/iconsMap.js +0 -7
- package/lib/components/Footer/iconsMap.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +38 -41
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -4
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +4 -3
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/constants.js +0 -1
- package/mobile/dist/components/Calculator/constants.js.map +1 -1
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +0 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +1 -4
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +4 -3
- package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js +26 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/iconsMap.js +0 -7
- package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/constants.js +0 -1
- package/mobile/lib/components/Calculator/constants.js.map +1 -1
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +0 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +1 -4
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +4 -3
- package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js +26 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/iconsMap.js +0 -7
- package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +28 -26
- package/mobile/src/components/Calculator/constants.ts +0 -1
- package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -10
- package/mobile/src/components/Carousel/Carousel.tsx +0 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +5 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -3
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +23 -13
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/FooterContent.ts +1 -5
- package/mobile/src/components/Footer/FooterDataProps.ts +4 -3
- package/mobile/src/components/Footer/SocialMedia.tsx +48 -16
- package/mobile/src/components/Footer/iconsMap.ts +0 -7
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +10 -4
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/package.json +1 -1
- package/src/components/Blocks.ts +0 -2
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +28 -26
- package/src/components/Calculator/constants.ts +0 -1
- package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -10
- package/src/components/Carousel/Carousel.fixture.tsx +0 -18
- package/src/components/Carousel/Carousel.tsx +0 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +5 -1
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -3
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +92 -0
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +18 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +23 -13
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +4 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +7 -7
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +3 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/FooterContent.ts +1 -5
- package/src/components/Footer/FooterDataProps.ts +4 -3
- package/src/components/Footer/SocialMedia.tsx +48 -16
- package/src/components/Footer/iconsMap.ts +0 -7
- package/src/components/ProductGallery/ProductGallery.example.json +10 -4
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/bundle/components/Footer/MediaButton.d.ts +0 -7
- package/bundle/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/dist/components/CarouselEventCard/CarouselEventCard.js +0 -12
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
- package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/dist/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
- package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
- package/dist/components/Footer/MediaButton.d.ts +0 -7
- package/dist/components/Footer/MediaButton.js +0 -18
- package/dist/components/Footer/MediaButton.js.map +0 -1
- package/dist/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/dist/components/Footer/buttonSizeStyle.js +0 -7
- package/dist/components/Footer/buttonSizeStyle.js.map +0 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +0 -8
- package/lib/components/CarouselEventCard/CarouselEventCard.js +0 -10
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
- package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
- package/lib/components/Footer/MediaButton.d.ts +0 -7
- package/lib/components/Footer/MediaButton.js +0 -16
- package/lib/components/Footer/MediaButton.js.map +0 -1
- package/lib/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/lib/components/Footer/buttonSizeStyle.js +0 -5
- package/lib/components/Footer/buttonSizeStyle.js.map +0 -1
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/mobile/bundle/components/Footer/MediaButton.d.ts +0 -7
- package/mobile/bundle/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +0 -12
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +0 -7
- package/mobile/dist/components/Footer/MediaButton.js +0 -18
- package/mobile/dist/components/Footer/MediaButton.js.map +0 -1
- package/mobile/dist/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/mobile/dist/components/Footer/buttonSizeStyle.js +0 -7
- package/mobile/dist/components/Footer/buttonSizeStyle.js.map +0 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +0 -10
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +0 -7
- package/mobile/lib/components/Footer/MediaButton.js +0 -16
- package/mobile/lib/components/Footer/MediaButton.js.map +0 -1
- package/mobile/lib/components/Footer/buttonSizeStyle.d.ts +0 -4
- package/mobile/lib/components/Footer/buttonSizeStyle.js +0 -5
- package/mobile/lib/components/Footer/buttonSizeStyle.js.map +0 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +0 -12
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +0 -31
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +0 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +0 -13
- package/mobile/src/components/Footer/MediaButton.tsx +0 -50
- package/mobile/src/components/Footer/buttonSizeStyle.ts +0 -6
- package/src/components/CarouselEventCard/CarouselEventCard.example.json +0 -12
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +0 -25
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +0 -31
- package/src/components/CarouselEventCard/CarouselEventCard.ui.json +0 -1
- package/src/components/CarouselEventCard/CarouselEventCardContent.ts +0 -13
- package/src/components/Footer/MediaButton.tsx +0 -50
- package/src/components/Footer/buttonSizeStyle.ts +0 -6
|
@@ -17,7 +17,7 @@ export const Footer = JSX(({ className, ...rest }) => {
|
|
|
17
17
|
const fallback = rest.options?.page?.fallback;
|
|
18
18
|
const { topItems } = useSitemap(fallback);
|
|
19
19
|
const { relatedEnterprises, contacts, socialMedia, mobileApps, horizontalNavigationTitle, documents, } = useSWRResource(projectSettings.FOOTER || 'footer', { fallback });
|
|
20
|
-
return (_jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl", ...rest, children: [_jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (_jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: _jsx(LinkList, { items: item.items }) }, String(i)))) }), _jsx(Contacts, { className: "overflow-hidden", items: contacts }), _jsxs("div", { className: "mt-xl", children: [_jsx(SocialMedia, { className: "mb-xl", media: socialMedia,
|
|
20
|
+
return (_jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl", ...rest, children: [_jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (_jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: _jsx(LinkList, { items: item.items }) }, String(i)))) }), _jsx(Contacts, { className: "overflow-hidden", items: contacts }), _jsxs("div", { className: "mt-xl", children: [_jsx(SocialMedia, { className: "mb-xl", media: socialMedia, stretched: true, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), _jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), _jsx("div", { className: "mt-xs", children: mobileApps?.map(renderButton) })] }), _jsx(HorizontalNavigation, { className: "py-lg border-y border-main-divider", title: horizontalNavigationTitle, links: relatedEnterprises }), _jsx(TextInformation, { links: documents })] }));
|
|
21
21
|
});
|
|
22
22
|
const renderButton = ({ href = '/', text }, i) => {
|
|
23
23
|
const { label } = findIconByHref(href);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,O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,WAAW,EACnB,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,IALV,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
|
-
import type { IconProps
|
|
5
|
-
export interface SocialMediaLink extends LinkProps {
|
|
6
|
-
icon?: Picture;
|
|
7
|
-
}
|
|
4
|
+
import type { IconProps } from '../../model/Picture';
|
|
8
5
|
/**
|
|
9
6
|
* @title Тип контакта
|
|
10
7
|
* @enumNames [
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { SitemapData } from '../../services/sitemap/SitemapData';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
|
+
import type { ContactGroup } from './FooterContent';
|
|
4
5
|
export interface FooterDataProps extends SitemapData {
|
|
5
6
|
documents?: LinkProps[];
|
|
6
7
|
relatedEnterprises?: LinkProps[];
|
|
7
8
|
contacts?: ContactGroup[];
|
|
8
|
-
socialMedia?:
|
|
9
|
-
mobileApps?:
|
|
9
|
+
socialMedia?: ButtonContent[];
|
|
10
|
+
mobileApps?: ButtonContent[];
|
|
10
11
|
horizontalNavigationTitle?: string;
|
|
11
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
2
|
-
import type { ButtonSize } from './MediaButton';
|
|
3
2
|
export interface SocialMediaProps {
|
|
4
3
|
className?: string;
|
|
5
4
|
media?: ButtonContent[];
|
|
6
|
-
|
|
5
|
+
showButtonText?: boolean;
|
|
6
|
+
stretched?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
|
|
@@ -1,7 +1,31 @@
|
|
|
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 { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
3
5
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
6
|
import { style } from '../../utils/style.js';
|
|
5
|
-
import {
|
|
6
|
-
export const SocialMedia = JSX(({ className = '', media,
|
|
7
|
+
import { findIconByHref } from './findIconByHref.js';
|
|
8
|
+
export const SocialMedia = JSX(({ className = '', media, showButtonText, stretched, children }) => {
|
|
9
|
+
const [hasText, setHasText] = useState();
|
|
10
|
+
const buttons = media?.map((_) => {
|
|
11
|
+
const { href, icon, text } = _;
|
|
12
|
+
const { iconMapped } = findIconByHref(href);
|
|
13
|
+
const iconCustom = getFilteredIcon(icon) ?? iconMapped;
|
|
14
|
+
const buttonText = showButtonText ? { text } : {};
|
|
15
|
+
if (!hasText && text) {
|
|
16
|
+
setHasText(true);
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
...buttonText,
|
|
20
|
+
icon: { ...iconCustom, iconVersion: 'color' },
|
|
21
|
+
version: 'white',
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
const buttonClassName = style('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : ' basis-auto', stretched ? 'flex-1 justify-center' : '');
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-col sm:flex-col-reverse gap-xs", children: [children ? (_jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null, _jsx("div", { className: style('flex gap-xs', className), children: renderButtonsSection(buttons, {
|
|
26
|
+
className: stretched ? 'w-full' : '',
|
|
27
|
+
buttonClassName,
|
|
28
|
+
}) })] }));
|
|
29
|
+
});
|
|
30
|
+
const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
|
|
7
31
|
//# sourceMappingURL=SocialMedia.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AASlD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAuB,CAAC;IAC9D,MAAM,OAAO,GAAgC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC5D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;QAC/B,MAAM,EAAE,UAAU,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC;QACvD,MAAM,UAAU,GAAG,c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Mapped: { icon: 'TelegramIcon' },
|
|
5
|
-
label: 'Телеграм',
|
|
6
5
|
},
|
|
7
6
|
{
|
|
8
7
|
origins: ['vk.com'],
|
|
9
8
|
iconMapped: { icon: 'VKIcon' },
|
|
10
|
-
label: 'ВКонтакте',
|
|
11
9
|
},
|
|
12
10
|
{
|
|
13
11
|
origins: ['ok.ru'],
|
|
14
12
|
iconMapped: { icon: 'OkIcon' },
|
|
15
|
-
label: 'Одноклассники',
|
|
16
13
|
},
|
|
17
14
|
{
|
|
18
15
|
origins: ['apps.apple.com'],
|
|
19
16
|
iconMapped: { icon: 'AppleIcon' },
|
|
20
|
-
label: 'App Store',
|
|
21
17
|
},
|
|
22
18
|
{
|
|
23
19
|
origins: ['play.google.com'],
|
|
24
20
|
iconMapped: { icon: 'PlayMarketIcon' },
|
|
25
|
-
label: 'Google Play',
|
|
26
21
|
},
|
|
27
22
|
{
|
|
28
23
|
origins: ['youtube.com'],
|
|
29
24
|
iconMapped: { icon: 'YoutubeIcon' },
|
|
30
|
-
label: 'Youtube',
|
|
31
25
|
},
|
|
32
26
|
{
|
|
33
27
|
origins: ['rutube.ru'],
|
|
34
28
|
iconMapped: { icon: 'RutubeIcon' },
|
|
35
|
-
label: 'Rutube',
|
|
36
29
|
},
|
|
37
30
|
];
|
|
38
31
|
//# sourceMappingURL=iconsMap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;KACrC;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;KAClC;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACvC;IACD;QACE,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;KACpC;IACD;QACE,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;CACF,CAAC"}
|
|
@@ -12,7 +12,7 @@ const getButtonStyle = (props) => {
|
|
|
12
12
|
return '';
|
|
13
13
|
}
|
|
14
14
|
const withTextStyle = `${aboveText ? 'py-2.5 px-9' : 'py-4 px-9'}`;
|
|
15
|
-
return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12', rounded ? 'rounded-full' : '');
|
|
15
|
+
return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12 m-auto', rounded ? 'rounded-full' : '');
|
|
16
16
|
};
|
|
17
17
|
const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
|
|
18
18
|
//# sourceMappingURL=ButtonInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAA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;AAEH,MAAM,cAAc,GAAG,CAAC,KAAoB,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEnE,OAAO,KAAK,CACV,uCAAuC,EACvC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,kBAAkB,EACtD,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAC9B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAe,EAAE,EAAE,CAClE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
return '';
|
|
655
655
|
}
|
|
656
656
|
const withTextStyle = `${aboveText ? 'py-2.5 px-9' : 'py-4 px-9'}`;
|
|
657
|
-
return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12', rounded ? 'rounded-full' : '');
|
|
657
|
+
return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12 m-auto', rounded ? 'rounded-full' : '');
|
|
658
658
|
};
|
|
659
659
|
const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
|
|
660
660
|
|
|
@@ -1783,7 +1783,6 @@
|
|
|
1783
1783
|
isMonthlyInterestPayment: true,
|
|
1784
1784
|
isReplenished: false,
|
|
1785
1785
|
isPartialWithdrawal: false,
|
|
1786
|
-
isSmallBusiness: false,
|
|
1787
1786
|
depositeName: "Депозит 'Стабильный'",
|
|
1788
1787
|
};
|
|
1789
1788
|
const CREDIT_CALC_DEFAULT_DIR = 'credit-calculator-data';
|
|
@@ -1948,7 +1947,7 @@
|
|
|
1948
1947
|
const checkRangeByKeys = (value, [minKey, maxKey], sourceBookRow) => value >= sourceBookRow[minKey] && value <= sourceBookRow[maxKey];
|
|
1949
1948
|
|
|
1950
1949
|
const useBusinessDepositCalculatorParams = (userInputParams, sourceBookDir) => {
|
|
1951
|
-
const { daysValue, moneyValue, isPartialWithdrawal, isReplenished,
|
|
1950
|
+
const { daysValue, moneyValue, isPartialWithdrawal, isReplenished, isMonthlyInterestPayment } = userInputParams;
|
|
1952
1951
|
const data = useCalculatorParams(sourceBookDir || BUSINESS_DEPOSIT_CALC_DEFAULT_DIR);
|
|
1953
1952
|
const isOperatingDeposit = isReplenished || isPartialWithdrawal;
|
|
1954
1953
|
const isDisabledOperatingDeposit = daysValue < BUSINESS_OPERATING_MIN_DAYS || daysValue > BUSINESS_OPERATING_MAX_DAYS;
|
|
@@ -1962,7 +1961,6 @@
|
|
|
1962
1961
|
}
|
|
1963
1962
|
const businessDepositCalculatorSourceBookParams = data?.rateRows?.find((_) => {
|
|
1964
1963
|
return (isMonthlyInterestPayment === _.isMonthlyInterestPayment &&
|
|
1965
|
-
isSmallBusiness === _.isSmallBusiness &&
|
|
1966
1964
|
checkIsOperatingDeposit(isOperatingDeposit, _) &&
|
|
1967
1965
|
checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], _) &&
|
|
1968
1966
|
checkRangeByKeys(daysValue, ['minDays', 'maxDays'], _));
|
|
@@ -2003,7 +2001,6 @@
|
|
|
2003
2001
|
daysValue: BUSINESS_DEFAULT_DAYS,
|
|
2004
2002
|
isReplenished: false,
|
|
2005
2003
|
isPartialWithdrawal: false,
|
|
2006
|
-
isSmallBusiness: false,
|
|
2007
2004
|
isMonthlyInterestPayment: false,
|
|
2008
2005
|
});
|
|
2009
2006
|
const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, rateParams?.sourceBookDir);
|
|
@@ -2020,19 +2017,19 @@
|
|
|
2020
2017
|
max: calculatorParams.maxDays,
|
|
2021
2018
|
...field('daysValue'),
|
|
2022
2019
|
value: calculatorParams.daysValue,
|
|
2023
|
-
}), renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2020
|
+
}), jsxs("div", { className: "flex flex-col sm:flex-row gap-y-4 gap-x-14", children: [renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
|
|
2021
|
+
title: 'Выплата процентов',
|
|
2022
|
+
orientation: 'vertical',
|
|
2023
|
+
...field('isMonthlyInterestPayment'),
|
|
2024
|
+
radioGroupClassName: 'sm:flex-col',
|
|
2025
|
+
})] })] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
|
|
2029
2026
|
rate,
|
|
2030
2027
|
depositeName,
|
|
2031
2028
|
isShowDepositeName,
|
|
2032
2029
|
isUnavailableByTerm,
|
|
2033
2030
|
}), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] })] }));
|
|
2034
2031
|
});
|
|
2035
|
-
const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal })
|
|
2032
|
+
const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "space-y-s", children: [jsx(Text, { color: "text-secondary-text", font: "font-light", children: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B" }), jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal })] })] }));
|
|
2036
2033
|
const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })] }));
|
|
2037
2034
|
|
|
2038
2035
|
const STEP_MONTHS = 1;
|
|
@@ -2635,7 +2632,6 @@
|
|
|
2635
2632
|
'CarouselTariffsCard',
|
|
2636
2633
|
'CarouselRichTextCard',
|
|
2637
2634
|
'CarouselInvestmentCard',
|
|
2638
|
-
'CarouselEventCard',
|
|
2639
2635
|
'ProductBlock',
|
|
2640
2636
|
];
|
|
2641
2637
|
Carousel.childSchema = () => ({
|
|
@@ -2723,15 +2719,15 @@
|
|
|
2723
2719
|
const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-xs text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
|
|
2724
2720
|
|
|
2725
2721
|
const CarouselProductCard = JSX(({ additionalDescription, align = AlignStyles, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
|
|
2726
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between',
|
|
2722
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between', className), defaultPadding: "p-0", version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title, align), renderDescription$2(description, align), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, align), renderImage$2(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
|
|
2727
2723
|
className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
2728
2724
|
isVertical: isButtonFullWidth,
|
|
2729
2725
|
})] }));
|
|
2730
2726
|
});
|
|
2731
|
-
const renderImage$2 = (image, isImageFullWidth, isTopPosition) => (jsxs("div", { className: style('flex gap-lg',
|
|
2732
|
-
const renderCardTitle = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
|
|
2733
|
-
const renderDescription$2 = (description) => description ? jsx(Paragraph, { size: "text-l", children: description }) : null;
|
|
2734
|
-
const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription })) : null;
|
|
2727
|
+
const renderImage$2 = (image, isImageFullWidth, isTopPosition) => (jsxs("div", { className: style('flex gap-y-lg justify-center', isImageFullWidth ? 'min-w-full h-full' : '', isTopPosition ? 'order-first' : 'order-last'), children: [image?.src ? jsx(Img, { image: image }) : null, image?.icon ? (jsx(Img, { className: style(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full'), image: image })) : null] }));
|
|
2728
|
+
const renderCardTitle = (headlineSmallVersion, title, align) => title ? (jsx(Text, { align: align, size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title })) : null;
|
|
2729
|
+
const renderDescription$2 = (description, align) => description ? (jsx(Paragraph, { align: align, size: "text-l", children: description })) : null;
|
|
2730
|
+
const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
|
|
2735
2731
|
const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
|
|
2736
2732
|
|
|
2737
2733
|
const sum = (list = []) => list.reduce((a, b) => a + b, 0);
|
|
@@ -2794,64 +2790,65 @@
|
|
|
2794
2790
|
description: _.description,
|
|
2795
2791
|
})) }) }) })));
|
|
2796
2792
|
|
|
2797
|
-
const buttonSizeStyle = {
|
|
2798
|
-
default: 'w-14 h-14',
|
|
2799
|
-
stretched: 'flex-1 h-14',
|
|
2800
|
-
};
|
|
2801
|
-
|
|
2802
2793
|
const ICONS_MAP = [
|
|
2803
2794
|
{
|
|
2804
2795
|
origins: ['t.me', 'telegram.org'],
|
|
2805
2796
|
iconMapped: { icon: 'TelegramIcon' },
|
|
2806
|
-
label: 'Телеграм',
|
|
2807
2797
|
},
|
|
2808
2798
|
{
|
|
2809
2799
|
origins: ['vk.com'],
|
|
2810
2800
|
iconMapped: { icon: 'VKIcon' },
|
|
2811
|
-
label: 'ВКонтакте',
|
|
2812
2801
|
},
|
|
2813
2802
|
{
|
|
2814
2803
|
origins: ['ok.ru'],
|
|
2815
2804
|
iconMapped: { icon: 'OkIcon' },
|
|
2816
|
-
label: 'Одноклассники',
|
|
2817
2805
|
},
|
|
2818
2806
|
{
|
|
2819
2807
|
origins: ['apps.apple.com'],
|
|
2820
2808
|
iconMapped: { icon: 'AppleIcon' },
|
|
2821
|
-
label: 'App Store',
|
|
2822
2809
|
},
|
|
2823
2810
|
{
|
|
2824
2811
|
origins: ['play.google.com'],
|
|
2825
2812
|
iconMapped: { icon: 'PlayMarketIcon' },
|
|
2826
|
-
label: 'Google Play',
|
|
2827
2813
|
},
|
|
2828
2814
|
{
|
|
2829
2815
|
origins: ['youtube.com'],
|
|
2830
2816
|
iconMapped: { icon: 'YoutubeIcon' },
|
|
2831
|
-
label: 'Youtube',
|
|
2832
2817
|
},
|
|
2833
2818
|
{
|
|
2834
2819
|
origins: ['rutube.ru'],
|
|
2835
2820
|
iconMapped: { icon: 'RutubeIcon' },
|
|
2836
|
-
label: 'Rutube',
|
|
2837
2821
|
},
|
|
2838
2822
|
];
|
|
2839
2823
|
|
|
2840
2824
|
const findIconByHref = (href) => ICONS_MAP.find(({ origins }) => origins?.some((_) => href?.includes(_))) || {};
|
|
2841
2825
|
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2826
|
+
const SocialMedia = JSX(({ className = '', media, showButtonText, stretched, children }) => {
|
|
2827
|
+
const [hasText, setHasText] = useState();
|
|
2828
|
+
const buttons = media?.map((_) => {
|
|
2829
|
+
const { href, icon, text } = _;
|
|
2830
|
+
const { iconMapped } = findIconByHref(href);
|
|
2831
|
+
const iconCustom = getFilteredIcon(icon) ?? iconMapped;
|
|
2832
|
+
const buttonText = showButtonText ? { text } : {};
|
|
2833
|
+
if (!hasText && text) {
|
|
2834
|
+
setHasText(true);
|
|
2835
|
+
}
|
|
2836
|
+
return {
|
|
2837
|
+
...buttonText,
|
|
2838
|
+
icon: { ...iconCustom, iconVersion: 'color' },
|
|
2839
|
+
version: 'white',
|
|
2840
|
+
};
|
|
2841
|
+
});
|
|
2842
|
+
const buttonClassName = style('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : ' basis-auto', stretched ? 'flex-1 justify-center' : '');
|
|
2843
|
+
return (jsxs("div", { className: "flex flex-col sm:flex-col-reverse gap-xs", children: [children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null, jsx("div", { className: style('flex gap-xs', className), children: renderButtonsSection(buttons, {
|
|
2844
|
+
className: stretched ? 'w-full' : '',
|
|
2845
|
+
buttonClassName,
|
|
2846
|
+
}) })] }));
|
|
2848
2847
|
});
|
|
2849
2848
|
const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
|
|
2850
2849
|
|
|
2851
|
-
const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "flex flex-col sm:flex-col-reverse gap-xs", children: [children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null, jsx("div", { className: style('flex gap-xs', className), children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) })] })));
|
|
2852
|
-
|
|
2853
2850
|
const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', ...rest }) => {
|
|
2854
|
-
return (jsx(BlockWrapper, { className: style('relative group-data-gray:bg-main-divider/50', className), defaultPadding: "p-3xl", ...rest, children: jsxs(LinkWrapper, { href: href, target: target, className: 'space-y-lg', children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align }), items.length ? (jsx(List, { className: "flex flex-col gap-xs", items: items, listItemSize: "XS" })) : null, renderIcon$1(icon), socialMedia.length ? jsx(SocialMedia, { media: socialMedia }) : null] }) }));
|
|
2851
|
+
return (jsx(BlockWrapper, { className: style('relative group-data-gray:bg-main-divider/50', className), defaultPadding: "p-3xl", ...rest, children: jsxs(LinkWrapper, { href: href, target: target, className: 'space-y-lg', children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align }), items.length ? (jsx(List, { className: "flex flex-col gap-xs", items: items, listItemSize: "XS" })) : null, renderIcon$1(icon), socialMedia.length ? jsx(SocialMedia, { media: socialMedia, showButtonText: true }) : null] }) }));
|
|
2855
2852
|
});
|
|
2856
2853
|
const renderIcon$1 = (icon) => icon?.src || icon?.icon ? (jsx("div", { children: jsx(Img, { image: icon }) })) : null;
|
|
2857
2854
|
|
|
@@ -3189,7 +3186,7 @@
|
|
|
3189
3186
|
const fallback = rest.options?.page?.fallback;
|
|
3190
3187
|
const { topItems } = useSitemap(fallback);
|
|
3191
3188
|
const { relatedEnterprises, contacts, socialMedia, mobileApps, horizontalNavigationTitle, documents, } = useSWRResource(projectSettings.FOOTER || 'footer', { fallback });
|
|
3192
|
-
return (jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl", ...rest, children: [jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: jsx(LinkList, { items: item.items }) }, String(i)))) }), jsx(Contacts, { className: "overflow-hidden", items: contacts }), jsxs("div", { className: "mt-xl", children: [jsx(SocialMedia, { className: "mb-xl", media: socialMedia,
|
|
3189
|
+
return (jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl", ...rest, children: [jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: jsx(LinkList, { items: item.items }) }, String(i)))) }), jsx(Contacts, { className: "overflow-hidden", items: contacts }), jsxs("div", { className: "mt-xl", children: [jsx(SocialMedia, { className: "mb-xl", media: socialMedia, stretched: true, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), jsx("div", { className: "mt-xs", children: mobileApps?.map(renderButton) })] }), jsx(HorizontalNavigation, { className: "py-lg border-y border-main-divider", title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
|
|
3193
3190
|
});
|
|
3194
3191
|
const renderButton = ({ href = '/', text }, i) => {
|
|
3195
3192
|
const { label } = findIconByHref(href);
|
|
@@ -4915,7 +4912,7 @@
|
|
|
4915
4912
|
|
|
4916
4913
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
4917
4914
|
|
|
4918
|
-
const packageVersion = "0.14.
|
|
4915
|
+
const packageVersion = "0.14.5";
|
|
4919
4916
|
|
|
4920
4917
|
exports.Blocks = Blocks;
|
|
4921
4918
|
exports.ContentPage = ContentPage;
|