@redneckz/wildless-cms-uni-blocks 0.6.24 → 0.6.25
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +97 -58
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/bundle/components/Catalog/CatalogContent.d.ts +2 -0
- package/bundle/components/ContentPage/normalizePage.d.ts +1 -1
- package/bundle/components/Header/HeaderContent.d.ts +1 -2
- package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/bundle/model/BorderVersion.d.ts +6 -0
- package/bundle/services/sitemap/useSitemap.d.ts +2 -2
- package/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Catalog/CatalogContent.d.ts +2 -0
- package/dist/components/ContentPage/normalizeBlock.js +4 -8
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.mobile.js +4 -8
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.d.ts +1 -1
- package/dist/components/ContentPage/normalizePage.js +1 -6
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/Header/Header.js +9 -9
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +6 -6
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +1 -2
- package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +7 -5
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -5
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/dist/content-page-repository/ContentPageRepository.js +24 -35
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/model/BorderVersion.d.ts +6 -0
- package/dist/model/BorderVersion.js +7 -0
- package/dist/model/BorderVersion.js.map +1 -0
- package/dist/services/sitemap/useSitemap.d.ts +2 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/Breadcrumb.js +1 -8
- package/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/{mobile/dist/ui-kit/CurrencyInput/adjustValue .js → dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
- package/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/dist/ui-kit/Tags/Tags.js +2 -2
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Catalog/CatalogContent.d.ts +2 -0
- package/lib/components/ContentPage/normalizeBlock.js +4 -8
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.mobile.js +4 -8
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.d.ts +1 -1
- package/lib/components/ContentPage/normalizePage.js +1 -6
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/Header/Header.js +9 -9
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +6 -6
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +1 -2
- package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +7 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.js +7 -5
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -5
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/lib/content-page-repository/ContentPageRepository.js +24 -35
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/model/BorderVersion.d.ts +6 -0
- package/lib/model/BorderVersion.js +5 -0
- package/lib/model/BorderVersion.js.map +1 -0
- package/lib/services/sitemap/useSitemap.d.ts +2 -2
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/Breadcrumb.js +1 -8
- package/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
- package/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/lib/ui-kit/Tags/Tags.js +2 -2
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +9 -13
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/bundle/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/bundle/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/bundle/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/bundle/model/BorderVersion.d.ts +6 -0
- package/mobile/bundle/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.js +4 -8
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -6
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +6 -6
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +7 -5
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -5
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/dist/content-page-repository/ContentPageRepository.js +24 -35
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/model/BorderVersion.d.ts +6 -0
- package/mobile/dist/model/BorderVersion.js +7 -0
- package/mobile/dist/model/BorderVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/Breadcrumb.js +1 -8
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/{dist/ui-kit/CurrencyInput/adjustValue .js → mobile/dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/mobile/dist/ui-kit/Tags/Tags.js +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.js +4 -8
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -6
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +6 -6
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +7 -5
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -5
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/lib/content-page-repository/ContentPageRepository.js +24 -35
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/model/BorderVersion.d.ts +6 -0
- package/mobile/lib/model/BorderVersion.js +5 -0
- package/mobile/lib/model/BorderVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/Breadcrumb.js +1 -8
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/mobile/lib/ui-kit/Tags/Tags.js +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +14 -21
- package/mobile/src/components/Catalog/CatalogContent.ts +2 -0
- package/mobile/src/components/ContentPage/normalizeBlock.ts +15 -18
- package/mobile/src/components/ContentPage/normalizePage.ts +2 -7
- package/mobile/src/components/Header/Header.tsx +11 -11
- package/mobile/src/components/Header/HeaderContent.ts +1 -2
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
- package/mobile/src/components/PictureText/PictureText.tsx +3 -3
- package/mobile/src/components/Recommendation/Recommendation.tsx +9 -7
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -7
- package/mobile/src/content-page-repository/ContentPageRepository.ts +27 -45
- package/mobile/src/model/BorderVersion.ts +10 -0
- package/mobile/src/services/sitemap/useSitemap.ts +4 -4
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -5
- package/mobile/src/ui-kit/Breadcrumb.tsx +8 -11
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
- package/mobile/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
- package/mobile/src/ui-kit/Tags/Tags.tsx +3 -5
- package/package.json +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +14 -21
- package/src/components/Blocks.ts +2 -0
- package/src/components/Catalog/CatalogContent.ts +2 -0
- package/src/components/ContentPage/normalizeBlock.mobile.ts +15 -18
- package/src/components/ContentPage/normalizeBlock.ts +10 -12
- package/src/components/ContentPage/normalizePage.ts +2 -7
- package/src/components/Header/Header.mobile.tsx +11 -11
- package/src/components/Header/Header.tsx +17 -12
- package/src/components/Header/HeaderContent.ts +1 -2
- package/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
- package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +79 -0
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
- package/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
- package/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
- package/src/components/PictureText/PictureText.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/src/components/Recommendation/Recommendation.tsx +9 -7
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -7
- package/src/content-page-repository/ContentPageRepository.ts +27 -45
- package/src/model/BorderVersion.ts +10 -0
- package/src/services/sitemap/useSitemap.ts +4 -4
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -5
- package/src/ui-kit/Breadcrumb.tsx +8 -11
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
- package/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
- package/src/ui-kit/Tags/Tags.tsx +3 -5
- package/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
3
|
-
|
|
3
|
+
interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const BenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<BenefitsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
5
6
|
export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
6
7
|
/** @title Цена в рублях */
|
|
7
8
|
price?: number;
|
|
@@ -22,4 +23,5 @@ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
|
22
23
|
export declare type CatalogContent = HeadlineCommonProps & {
|
|
23
24
|
/** @title Список карточек */
|
|
24
25
|
cards?: CatalogCardType[];
|
|
26
|
+
version?: BlockVersion;
|
|
25
27
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
2
2
|
import type { ContentPageDef } from '../../model/ContentPageDef';
|
|
3
|
-
export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef
|
|
3
|
+
export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { IconProps, Picture } from '../../model/Picture';
|
|
4
|
-
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
5
4
|
/**
|
|
6
5
|
* @title Пункт подменю
|
|
7
6
|
*/
|
|
@@ -27,7 +26,7 @@ export interface Logo {
|
|
|
27
26
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
28
27
|
* @required ["defaultLocation", "topItems"]
|
|
29
28
|
*/
|
|
30
|
-
export interface HeaderContent
|
|
29
|
+
export interface HeaderContent {
|
|
31
30
|
logo?: Logo;
|
|
32
31
|
/**
|
|
33
32
|
* @title Город по-умолчанию
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
|
|
3
|
+
export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
|
|
4
|
+
export interface RecommendationCardProps extends InvestmentGalleryCardTypes, UniBlockProps {
|
|
5
|
+
version?: BlockVersion;
|
|
6
|
+
}
|
|
7
|
+
export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
4
|
+
/**
|
|
5
|
+
* @title Количество колонок в списке
|
|
6
|
+
* @enumNames [
|
|
7
|
+
* "1 колонка",
|
|
8
|
+
* "2 колонки",
|
|
9
|
+
* ]
|
|
10
|
+
*/
|
|
11
|
+
export declare type CardColumnsMode = 'single' | 'double';
|
|
12
|
+
/**
|
|
13
|
+
* @title Карточка
|
|
14
|
+
*/
|
|
15
|
+
export interface InvestmentGalleryCardTypes extends HeadlineCommonProps {
|
|
16
|
+
/** @title Доп. описание карточки */
|
|
17
|
+
additionalDescription?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @default {
|
|
20
|
+
* "format": "webp",
|
|
21
|
+
* "size": {
|
|
22
|
+
* "width": 290
|
|
23
|
+
* },
|
|
24
|
+
* "sources": [{
|
|
25
|
+
* "media": 1279,
|
|
26
|
+
* "width": 174,
|
|
27
|
+
* "format": "webp",
|
|
28
|
+
* "alignment": "southeast"
|
|
29
|
+
* }]
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
image?: Picture;
|
|
33
|
+
columnsMode?: CardColumnsMode;
|
|
34
|
+
/** @title Описание пункта */
|
|
35
|
+
cardList?: CardListItem[];
|
|
36
|
+
}
|
|
37
|
+
export interface CardListItem {
|
|
38
|
+
/** @title Параметр */
|
|
39
|
+
parameter?: string;
|
|
40
|
+
/** @title Описание */
|
|
41
|
+
parameterDesccription?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @title Карточка
|
|
45
|
+
*/
|
|
46
|
+
export interface InvestmentGalleryContent extends TitleProps {
|
|
47
|
+
/** @title Карточки */
|
|
48
|
+
cards?: InvestmentGalleryCardTypes[];
|
|
49
|
+
version?: BlockVersion;
|
|
50
|
+
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { ContentPageDef } from '../model/ContentPageDef';
|
|
2
2
|
import type { TransformationOptions } from './TransformationOptions';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export declare class ContentPageRepository {
|
|
4
|
+
private readonly options;
|
|
5
|
+
static readonly inst: ContentPageRepository;
|
|
6
|
+
private cache;
|
|
7
|
+
constructor(options?: TransformationOptions);
|
|
8
|
+
listAllContentPages(): Promise<string[]>;
|
|
9
|
+
getAllContentPages(): Promise<ContentPageDef[]>;
|
|
10
|
+
getSecondaryContentPages(customPageType?: string): Promise<ContentPageDef[]>;
|
|
11
|
+
getContentPageBySlug(slug: string): Promise<ContentPageDef | undefined>;
|
|
12
|
+
getIndexPage(): Promise<ContentPageDef | undefined>;
|
|
13
|
+
readPage(filePath: string): Promise<ContentPageDef>;
|
|
14
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HeaderContent } from '../../components/Header/HeaderContent';
|
|
2
1
|
import type { Fallback } from '../../model/Fallback';
|
|
3
|
-
|
|
2
|
+
import type { SitemapProps } from './SitemapProps';
|
|
3
|
+
export declare function useSitemap(fallback?: Fallback): SitemapProps;
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
3
|
-
|
|
3
|
+
interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const BenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<BenefitsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -2,14 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.BenefitsBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
5
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
8
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
9
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
9
|
-
const benefitsBlockStyleMap = {
|
|
10
|
-
primary: 'bg-white',
|
|
11
|
-
secondary: 'bg-primary-main',
|
|
12
|
-
};
|
|
13
10
|
const benefitsTextStyleMap = {
|
|
14
11
|
primary: '',
|
|
15
12
|
secondary: 'text-white',
|
|
@@ -22,19 +19,18 @@ const benefitsIconStyleMap = {
|
|
|
22
19
|
primary: 'bg-main-divider text-primary-main',
|
|
23
20
|
secondary: 'bg-white/30 text-black',
|
|
24
21
|
};
|
|
25
|
-
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${
|
|
26
|
-
const renderBenefits = (benefitList, version) => ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) }));
|
|
22
|
+
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${BlockVersion_1.VersionStyleMap[version]}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
|
|
27
23
|
const renderStep = (version) => (benefit, i) => {
|
|
28
|
-
const description =
|
|
24
|
+
const description = benefit.description;
|
|
29
25
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: (0, getIconWithVersion_1.getIconWithVersion)(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5", children: [benefit?.label ? ((0, jsx_runtime_1.jsx)("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription(description, version)] })] }, String(i)));
|
|
30
26
|
};
|
|
31
27
|
const renderDescription = (description, version) => {
|
|
32
|
-
const benefitType = description
|
|
28
|
+
const benefitType = description?.benefitType || null;
|
|
33
29
|
return description && benefitType ? ((0, jsx_runtime_1.jsx)("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`, children: benefitType === 'list'
|
|
34
30
|
? renderListBenefit(description)
|
|
35
31
|
: renderTextBenefit(description) })) : null;
|
|
36
32
|
};
|
|
37
|
-
const renderTextBenefit = (description) =>
|
|
33
|
+
const renderTextBenefit = (description) => description?.name || null;
|
|
38
34
|
const renderListBenefit = (description) => {
|
|
39
35
|
const listStyleType = description?.bullets ? 'list-disc pl-6' : '';
|
|
40
36
|
return description?.items && description.items.length > 0 ? ((0, jsx_runtime_1.jsx)("ul", { className: listStyleType, children: description.items.map((_, i) => ((0, jsx_runtime_1.jsx)("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAAyE;AAEzE,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uEAAoE;AAIpE,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAIW,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxE,wBAAC,2BAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,IAAI,8BAAe,CAAC,OAAO,CAAC,EAAE,KAC7G,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,6BAA6B,oBAAoB,CAAC,OAAO,CAAC,EAAE,EACvE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,gCAAK,SAAS,EAAC,oDAAoD,YAChE,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,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AAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;AAEtF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -39,6 +39,7 @@ const Tabs_1 = require("./Tabs/Tabs");
|
|
|
39
39
|
const TariffsTable_1 = require("./TariffsTable/TariffsTable");
|
|
40
40
|
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
41
41
|
const Tile_1 = require("./Tile/Tile");
|
|
42
|
+
const InvestmentGallery_1 = require("./InvestmentGallery/InvestmentGallery");
|
|
42
43
|
exports.Blocks = {
|
|
43
44
|
Accordion: Accordion_1.Accordion,
|
|
44
45
|
AccordionItem: AccordionItem_1.AccordionItem,
|
|
@@ -79,5 +80,6 @@ exports.Blocks = {
|
|
|
79
80
|
SafeDepositRental: SafeDepositRental_1.SafeDepositRental,
|
|
80
81
|
Tabs: Tabs_1.Tabs,
|
|
81
82
|
ErrorBlock: ErrorBlock_1.ErrorBlock,
|
|
83
|
+
InvestmentGallery: InvestmentGallery_1.InvestmentGallery,
|
|
82
84
|
};
|
|
83
85
|
//# sourceMappingURL=Blocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,wDAAqD;AACrD,8DAA2D;AAC3D,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,6EAA0E;AAC1E,wDAAqD;AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,wDAAqD;AACrD,8DAA2D;AAC3D,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6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BAAiB,EAAjB,qCAAiB;CAClB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
5
6
|
export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
6
7
|
/** @title Цена в рублях */
|
|
7
8
|
price?: number;
|
|
@@ -22,4 +23,5 @@ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
|
22
23
|
export declare type CatalogContent = HeadlineCommonProps & {
|
|
23
24
|
/** @title Список карточек */
|
|
24
25
|
cards?: CatalogCardType[];
|
|
26
|
+
version?: BlockVersion;
|
|
25
27
|
};
|
|
@@ -3,17 +3,13 @@ exports.normalizeBlock = void 0;
|
|
|
3
3
|
const mapSlot_1 = require("./mapSlot");
|
|
4
4
|
function normalizeBlock(block, blocksRegistry) {
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6
|
-
const { mobile, ...
|
|
7
|
-
return {
|
|
8
|
-
...(0, mapSlot_1.mapSlot)((blocks) => filterBlocks(blocks, blocksRegistry))({ ...rest }),
|
|
9
|
-
};
|
|
6
|
+
const { mobile, ...result } = (block || {});
|
|
7
|
+
return (0, mapSlot_1.mapSlot)(filterBlocks(blocksRegistry))({ ...result });
|
|
10
8
|
}
|
|
11
9
|
exports.normalizeBlock = normalizeBlock;
|
|
12
|
-
const filterBlocks = (
|
|
10
|
+
const filterBlocks = (blocksRegistry) => (blocks) => blocks
|
|
13
11
|
? blocks
|
|
14
12
|
.filter((block) => blocksRegistry && (block?.type || '') in blocksRegistry)
|
|
15
|
-
.map((block) => (
|
|
16
|
-
...normalizeBlock(block, blocksRegistry),
|
|
17
|
-
}))
|
|
13
|
+
.map((block) => normalizeBlock(block, blocksRegistry))
|
|
18
14
|
: [];
|
|
19
15
|
//# sourceMappingURL=normalizeBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,EAAE,cAA+B;IACvF,6DAA6D;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"normalizeBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,EAAE,cAA+B;IACvF,6DAA6D;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAa,CAAC;IAExD,OAAO,IAAA,iBAAO,EAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAM,CAAC;AACnE,CAAC;AALD,wCAKC;AAED,MAAM,YAAY,GAChB,CAAC,cAA+B,EAAE,EAAE,CACpC,CAAC,MAAmB,EAAc,EAAE,CAClC,MAAM;IACJ,CAAC,CAAC,MAAM;SACH,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,IAAI,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,IAAI,cAAc,CAAC;SAC1E,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IAC1D,CAAC,CAAC,EAAE,CAAC"}
|
|
@@ -3,21 +3,17 @@ exports.normalizeBlock = void 0;
|
|
|
3
3
|
const mapSlot_1 = require("./mapSlot");
|
|
4
4
|
function normalizeBlock(block, blocksRegistry) {
|
|
5
5
|
const { mobile, ...rest } = (block || {});
|
|
6
|
-
const
|
|
6
|
+
const result = mobile
|
|
7
7
|
? { ...rest, ...mobile, content: { ...rest.content, ...mobile.content } }
|
|
8
8
|
: block;
|
|
9
|
-
return {
|
|
10
|
-
...(0, mapSlot_1.mapSlot)((blocks) => filterBlocks(blocks, blocksRegistry))(normalizedBlock || {}),
|
|
11
|
-
};
|
|
9
|
+
return (0, mapSlot_1.mapSlot)(filterBlocks(blocksRegistry))(result || {});
|
|
12
10
|
}
|
|
13
11
|
exports.normalizeBlock = normalizeBlock;
|
|
14
|
-
const filterBlocks = (
|
|
12
|
+
const filterBlocks = (blocksRegistry) => (blocks) => blocks
|
|
15
13
|
? blocks
|
|
16
14
|
?.filter((block) => blocksRegistry &&
|
|
17
15
|
(block?.type || block?.mobile?.type || '') in blocksRegistry &&
|
|
18
16
|
!block.mobile?.hidden)
|
|
19
|
-
.map((block) => (
|
|
20
|
-
...normalizeBlock(block, blocksRegistry),
|
|
21
|
-
}))
|
|
17
|
+
.map((block) => normalizeBlock(block, blocksRegistry))
|
|
22
18
|
: [];
|
|
23
19
|
//# sourceMappingURL=normalizeBlock.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.mobile.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,EAAE,cAA+B;IACvF,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"normalizeBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizeBlock.mobile.ts"],"names":[],"mappings":";;AAEA,uCAAoC;AAEpC,SAAgB,cAAc,CAAiB,KAAS,EAAE,cAA+B;IACvF,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAa,CAAC;IACtD,MAAM,MAAM,GAAG,MAAM;QACnB,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,EAAE;QACzE,CAAC,CAAC,KAAK,CAAC;IAEV,OAAO,IAAA,iBAAO,EAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAM,CAAC;AAClE,CAAC;AAPD,wCAOC;AAED,MAAM,YAAY,GAChB,CAAC,cAA+B,EAAE,EAAE,CACpC,CAAC,MAAmB,EAAc,EAAE,CAClC,MAAM;IACJ,CAAC,CAAC,MAAM;QACJ,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,cAAc;QACd,CAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC,IAAI,cAAc;QAC5D,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACxB;SACA,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IAC1D,CAAC,CAAC,EAAE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
2
2
|
import type { ContentPageDef } from '../../model/ContentPageDef';
|
|
3
|
-
export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef
|
|
3
|
+
export declare const normalizePage: (blocksRegistry: BlocksRegistry) => (contentPage: ContentPageDef | undefined | null) => ContentPageDef;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.normalizePage = void 0;
|
|
3
3
|
const normalizeBlock_1 = require("./normalizeBlock");
|
|
4
|
-
const normalizePage = (blocksRegistry) => (contentPage) => {
|
|
5
|
-
if (!contentPage) {
|
|
6
|
-
return undefined;
|
|
7
|
-
}
|
|
8
|
-
return (0, normalizeBlock_1.normalizeBlock)(contentPage, blocksRegistry);
|
|
9
|
-
};
|
|
4
|
+
const normalizePage = (blocksRegistry) => (contentPage) => contentPage ? (0, normalizeBlock_1.normalizeBlock)(contentPage, blocksRegistry) : {};
|
|
10
5
|
exports.normalizePage = normalizePage;
|
|
11
6
|
//# sourceMappingURL=normalizePage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AAEA,qDAAkD;AAE3C,MAAM,aAAa,GACxB,CAAC,cAA8B,EAAE,EAAE,CACnC,CAAC,WAA8C,
|
|
1
|
+
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AAEA,qDAAkD;AAE3C,MAAM,aAAa,GACxB,CAAC,cAA8B,EAAE,EAAE,CACnC,CAAC,WAA8C,EAAkB,EAAE,CACjE,WAAW,CAAC,CAAC,CAAC,IAAA,+BAAc,EAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAHtD,QAAA,aAAa,iBAGyC"}
|
|
@@ -4,7 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
6
|
const isTopItemActive_1 = require("../../services/sitemap/isTopItemActive");
|
|
7
|
-
const mergeTopItems_1 = require("../../services/sitemap/mergeTopItems");
|
|
8
7
|
const useSitemap_1 = require("../../services/sitemap/useSitemap");
|
|
9
8
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
10
9
|
const Logo_1 = require("../../ui-kit/Logo/Logo");
|
|
@@ -15,17 +14,18 @@ const BORDER_COLORS = {
|
|
|
15
14
|
'bg-white': 'bg-main-divider',
|
|
16
15
|
transparent: 'bg-main-divider opacity-30',
|
|
17
16
|
};
|
|
18
|
-
exports.Header = (0, uni_jsx_1.JSX)(({
|
|
17
|
+
exports.Header = (0, uni_jsx_1.JSX)(({ bgColor = 'bg-white', className = '', context, defaultLocation = 'Москва', logo, page, showSubMenu = true, ...rest }) => {
|
|
19
18
|
const router = context.useRouter();
|
|
20
19
|
const fallback = page?.fallback;
|
|
21
|
-
const sitemap = (0, useSitemap_1.useSitemap)(fallback);
|
|
22
20
|
const { handlerDecorator } = context;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
? mergedItems.find((0, isTopItemActive_1.isTopItemActive)(router)) || firstPortal // Если по слагу невозможно понять к какому подпорталу этот слаг относиться, то выбираем первый подпортал.
|
|
27
|
-
: null;
|
|
28
|
-
const topMenu = mergedItems.map((_, i) => ((0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { active: _ === activeTopItem, ...(0, useLink_1.useLink)({ router, handlerDecorator }, _), "aria-label": _.text, bgColor: bgColor }, String(i))));
|
|
21
|
+
const { topItems } = (0, useSitemap_1.useSitemap)(fallback);
|
|
22
|
+
const activeTopItem = showSubMenu ? getActiveItem(topItems, router) : null;
|
|
23
|
+
const topMenu = topItems?.map((_, i) => ((0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { active: _ === activeTopItem, ...(0, useLink_1.useLink)({ router, handlerDecorator }, _), "aria-label": _.text, bgColor: bgColor }, String(i))));
|
|
29
24
|
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { tag: "header", context: context, className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, (0, jsx_runtime_1.jsx)(HeaderSecondaryMenu_1.HeaderSecondaryMenu, { className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), (0, jsx_runtime_1.jsx)("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? ((0, jsx_runtime_1.jsx)(HeaderSubMenu_1.HeaderSubMenu, { context: context, subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
|
|
30
25
|
});
|
|
26
|
+
const getActiveItem = (topItems, router) => {
|
|
27
|
+
const [firstPortal] = topItems || [];
|
|
28
|
+
// Если по слагу невозможно понять к какому подпорталу этот слаг относиться, то выбираем первый подпортал.
|
|
29
|
+
return topItems?.find((0, isTopItemActive_1.isTopItemActive)(router)) || firstPortal;
|
|
30
|
+
};
|
|
31
31
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAK9C,4EAAyE;AACzE,kEAA+D;AAC/D,4DAAyD;AACzD,iDAA8C;AAC9C,0DAAuD;AAGvD,+DAA4D;AAC5D,mDAAgD;AAEhD,MAAM,aAAa,GAAmC;IACpD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAIW,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,OAAO,GAAG,UAAU,EACpB,SAAS,GAAG,EAAE,EACd,OAAO,EACP,eAAe,GAAG,QAAQ,EAC1B,IAAI,EACJ,IAAI,EACJ,WAAW,GAAG,IAAI,EAClB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,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,CAAC,EAAE,GAAI,EAC3D,WAAW,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAC7C,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,IACJ,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,QAAmC,EAAE,MAAc,EAAE,EAAE;IAC5E,MAAM,CAAC,WAAW,CAAC,GAAG,QAAQ,IAAI,EAAE,CAAC;IAErC,0GAA0G;IAC1G,OAAO,QAAQ,EAAE,IAAI,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,IAAI,WAAW,CAAC;AAChE,CAAC,CAAC"}
|
|
@@ -6,7 +6,6 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
|
6
6
|
const useLink_1 = require("../../hooks/useLink");
|
|
7
7
|
const findActiveSubItem_1 = require("../../services/sitemap/findActiveSubItem");
|
|
8
8
|
const isTopItemActive_1 = require("../../services/sitemap/isTopItemActive");
|
|
9
|
-
const mergeTopItems_1 = require("../../services/sitemap/mergeTopItems");
|
|
10
9
|
const useSitemap_1 = require("../../services/sitemap/useSitemap");
|
|
11
10
|
const HeaderItem_1 = require("../../ui-kit/HeaderItem/HeaderItem");
|
|
12
11
|
const AccordionItemsList_1 = require("../Accordion/AccordionItemsList");
|
|
@@ -14,13 +13,12 @@ const AccordionItem_1 = require("../AccordionItem/AccordionItem");
|
|
|
14
13
|
const LinkList_1 = require("../LinkList/LinkList");
|
|
15
14
|
const HeaderBurger_1 = require("./HeaderBurger");
|
|
16
15
|
const HeaderTop_1 = require("./HeaderTop");
|
|
17
|
-
exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation, bgColor = 'bg-white', context,
|
|
16
|
+
exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation, bgColor = 'bg-white', context, page }) => {
|
|
18
17
|
const { handlerDecorator } = context;
|
|
19
18
|
const router = context.useRouter();
|
|
20
19
|
const fallback = page?.fallback;
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const activeTopItem = mergedItems.find((0, isTopItemActive_1.isTopItemActive)(router));
|
|
20
|
+
const { topItems, dispositions } = (0, useSitemap_1.useSitemap)(fallback);
|
|
21
|
+
const activeTopItem = topItems?.find((0, isTopItemActive_1.isTopItemActive)(router));
|
|
24
22
|
const subItems = activeTopItem?.items;
|
|
25
23
|
const activeSubItem = (0, findActiveSubItem_1.findActiveSubItem)(router)(subItems);
|
|
26
24
|
const [burgerMenuShow, setBurgerMenuShow] = (0, hooks_1.useState)(false);
|
|
@@ -29,7 +27,9 @@ exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation, bgColor
|
|
|
29
27
|
...(0, useLink_1.useLink)({ router, handlerDecorator }, _),
|
|
30
28
|
active: _ === activeSubItem,
|
|
31
29
|
bgColor,
|
|
32
|
-
}, i)) }) })] }), burgerMenuShow ? ((0, jsx_runtime_1.jsx)(HeaderBurger_1.HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu:
|
|
30
|
+
}, i)) }) })] }), burgerMenuShow ? ((0, jsx_runtime_1.jsx)(HeaderBurger_1.HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: topItems?.map((item, i) => {
|
|
31
|
+
item?.text ? ((0, jsx_runtime_1.jsx)(AccordionItem_1.AccordionItem, { context: context, label: item.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { context: context, documents: item.items }) }, String(i))) : null;
|
|
32
|
+
}) }) })) : null] }));
|
|
33
33
|
});
|
|
34
34
|
const renderSubItem = (item, i) => ((0, jsx_runtime_1.jsx)(HeaderItem_1.HeaderItem, { className: "mr-8 whitespace-nowrap text-s", ...item }, String(i)));
|
|
35
35
|
//# sourceMappingURL=Header.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,iDAA8C;AAG9C,gFAA6E;AAC7E,4EAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,iDAA8C;AAG9C,gFAA6E;AAC7E,4EAAyE;AACzE,kEAA+D;AAC/D,mEAAgE;AAEhE,wEAAqE;AACrE,kEAA+D;AAC/D,mDAAgD;AAChD,iDAA8C;AAE9C,2CAAwC;AAI3B,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,OAAO,GAAG,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAEnC,MAAM,QAAQ,GAAyB,IAAI,EAAE,QAAQ,CAAC;IACtD,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAA,uBAAU,EAAC,QAAQ,CAAC,CAAC;IAExD,MAAM,aAAa,GAAG,QAAQ,EAAE,IAAI,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,MAAM,QAAQ,GAAG,aAAa,EAAE,KAAK,CAAC;IACtC,MAAM,aAAa,GAAG,IAAA,qCAAiB,EAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IAE1D,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,K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AAEF,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAE,CAAS,EAAE,EAAE,CAAC,CACvD,uBAAC,uBAAU,IAAiB,SAAS,EAAC,+BAA+B,KAAK,IAAI,IAA7D,MAAM,CAAC,CAAC,CAAC,CAAwD,CACnF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { IconProps, Picture } from '../../model/Picture';
|
|
4
|
-
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
5
4
|
/**
|
|
6
5
|
* @title Пункт подменю
|
|
7
6
|
*/
|
|
@@ -27,7 +26,7 @@ export interface Logo {
|
|
|
27
26
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
28
27
|
* @required ["defaultLocation", "topItems"]
|
|
29
28
|
*/
|
|
30
|
-
export interface HeaderContent
|
|
29
|
+
export interface HeaderContent {
|
|
31
30
|
logo?: Logo;
|
|
32
31
|
/**
|
|
33
32
|
* @title Город по-умолчанию
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
|
|
3
|
+
export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.InvestmentGallery = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
7
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
8
|
+
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
9
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
10
|
+
const InvestmentGalleryCard_1 = require("./InvestmentGalleryCard");
|
|
11
|
+
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
12
|
+
const CARD_FULL_VIEW_COUNT = 1;
|
|
13
|
+
exports.InvestmentGallery = (0, uni_jsx_1.JSX)(({ context, cards = [], className = '', title, version = 'primary', ...rest }) => {
|
|
14
|
+
const [activeCardIndex, setActiveCardIndex] = (0, hooks_1.useState)(0);
|
|
15
|
+
const cardWidth = 525;
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center
|
|
17
|
+
${BlockVersion_1.VersionStyleMap[version]}
|
|
18
|
+
${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-9", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * cardWidth}px)` }, role: "list", children: cards?.length
|
|
19
|
+
? cards.map(renderInvestmentGalleryCard(context, className, version))
|
|
20
|
+
: null }), renderNavButtons({
|
|
21
|
+
cardsCount: cards.length,
|
|
22
|
+
activeCardIndex,
|
|
23
|
+
setActiveCardIndex,
|
|
24
|
+
})] }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
|
|
25
|
+
});
|
|
26
|
+
const renderInvestmentGalleryCard = (context, className, version) => (card, i) => ((0, jsx_runtime_1.jsx)(InvestmentGalleryCard_1.InvestmentGalleryCard, { className: className, context: context, version: version, ...card }, String(i)));
|
|
27
|
+
const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex }) => {
|
|
28
|
+
const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
|
|
29
|
+
const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
|
|
30
|
+
const showPrevButton = isUseSlider && activeCardIndex > 0;
|
|
31
|
+
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
32
|
+
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: (0, renderArrows_1.renderArrows)({
|
|
34
|
+
handler: [handlePrevClick, handleNextClick],
|
|
35
|
+
isShown: [showPrevButton, showNextButton],
|
|
36
|
+
btnClass: ['left-8', 'right-8'],
|
|
37
|
+
className: 'top-1/2 mt-3',
|
|
38
|
+
}) }));
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=InvestmentGallery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,2DAA2D;AAC3D,4DAAyD;AACzD,mEAAgE;AAChE,0DAAuD;AACvD,mEAAgE;AAOhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAUlB,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC/E,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B,IAEpB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,IAJH,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AAEN,MAAM,gBAAgB,GAAG,CAAC,EAAE,UAAU,EAAE,eAAe,EAAE,kBAAkB,EAAmB,EAAE,EAAE;IAChG,MAAM,WAAW,GAAG,UAAU,GAAG,oBAAoB,CAAC;IACtD,MAAM,cAAc,GAAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,OAAO,CACL,0CACG,IAAA,2BAAY,EAAC;YACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;YAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;YACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,cAAc;SAC1B,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
|
|
4
|
+
export interface RecommendationCardProps extends InvestmentGalleryCardTypes, UniBlockProps {
|
|
5
|
+
version?: BlockVersion;
|
|
6
|
+
}
|
|
7
|
+
export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.InvestmentGalleryCard = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const BorderVersion_1 = require("../../model/BorderVersion");
|
|
6
|
+
const Description_1 = require("../../ui-kit/Description/Description");
|
|
7
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
10
|
+
const getItemListFontSize = (colValue) => (colValue === 'single' ? 'text-h6' : 'text-l');
|
|
11
|
+
const cardColumnsModeStyleMap = {
|
|
12
|
+
double: 'flex gap-y-2 gap-x-10 flex-wrap',
|
|
13
|
+
single: 'flex gap-y-2 flex-col',
|
|
14
|
+
};
|
|
15
|
+
exports.InvestmentGalleryCard = (0, uni_jsx_1.JSX)(({ className = '', columnsMode = 'double', context, description, additionalDescription, image, cardList, title, version = 'primary', }) => {
|
|
16
|
+
const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
17
|
+
const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: `relative overflow-hidden text-left border border-solid box-border
|
|
19
|
+
p-9 min-w-[697px] min-h-[319px]
|
|
20
|
+
${BorderVersion_1.BorderVersionStyleMap[version]}
|
|
21
|
+
${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex itens-center justify-between mb-4", children: [description ? (0, jsx_runtime_1.jsx)(Description_1.Description, { className: "text-h6", description: description }) : null, additionalDescription ? ((0, jsx_runtime_1.jsxs)("div", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
|
|
22
|
+
});
|
|
23
|
+
const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => ((0, jsx_runtime_1.jsxs)("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? ((0, jsx_runtime_1.jsx)("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? ((0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
|
|
24
|
+
//# sourceMappingURL=InvestmentGalleryCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAAkE;AAElE,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,mDAAgD;AAUhD,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElG,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,QAAQ,EACtB,OAAO,EACP,WAAW,EACX,qBAAqB,EACrB,KAAK,EACL,QAAQ,EACR,KA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