@redneckz/wildless-cms-uni-blocks 0.2.85 → 0.2.86
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 -945
- package/bundle/bundle.umd.js +194 -195
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +29 -10
- package/dist/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/components/Accordion/AccordionItem.js +5 -6
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +2 -2
- package/dist/components/BaseTile/BaseTile.js +1 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +31 -0
- package/dist/{model/SitemapContent.js → components/BaseTile/BaseTileProps.js} +1 -1
- package/dist/components/BaseTile/BaseTileProps.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +14 -1
- package/dist/components/BlockContent.d.ts +4 -1
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +45 -2
- package/dist/components/ComparisonTable/HeaderCell.d.ts +2 -2
- package/dist/components/ContentPage/ContentPage.d.ts +3 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +4 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +4 -0
- package/dist/components/Footer/Contacts.js +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +35 -9
- package/dist/components/Footer/FooterLink.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/Sitemap.d.ts +1 -1
- package/dist/components/Footer/Sitemap.js +1 -1
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +13 -0
- package/dist/components/Header/HeaderContent.d.ts +10 -2
- package/dist/components/Header/isSubItemActive.d.ts +2 -2
- package/dist/components/Header/isSubItemActive.js.map +1 -1
- package/dist/components/Header/isTopItemActive.d.ts +2 -2
- package/dist/components/Header/isTopItemActive.js.map +1 -1
- package/dist/components/MiniGallery/MiniGallery.d.ts +3 -3
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +6 -0
- package/dist/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/dist/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +11 -2
- package/dist/components/Placeholder/PlaceholderContent.d.ts +3 -0
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +2 -2
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -5
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +17 -2
- package/dist/components/ProductTile/ProductTileContent.d.ts +6 -2
- package/dist/components/PromoTile/PromoTileContent.d.ts +6 -2
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +13 -0
- package/dist/components/TextBlock/TextBlockContent.d.ts +13 -0
- package/dist/components/Tile/TileContent.d.ts +5 -2
- package/dist/hooks/useLink.d.ts +3 -3
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/mergeTopItems.d.ts +2 -2
- package/dist/mergeTopItems.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +4 -0
- package/dist/model/ButtonVersion.d.ts +4 -0
- package/dist/model/LinkProps.d.ts +21 -0
- package/dist/model/{LinkContent.js → LinkProps.js} +1 -1
- package/dist/model/LinkProps.js.map +1 -0
- package/dist/model/Picture.d.ts +11 -0
- package/dist/model/SitemapProps.d.ts +13 -0
- package/dist/{components/BaseTile/BaseTileContent.js → model/SitemapProps.js} +1 -1
- package/dist/model/SitemapProps.js.map +1 -0
- package/dist/types.d.ts +2 -2
- package/dist/ui-kit/Breadcrumb.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +6 -3
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +15 -12
- package/dist/ui-kit/Icon/IconProps.d.ts +49 -18
- package/dist/ui-kit/Icon/IconProps.js +21 -18
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +29 -10
- package/lib/components/Accordion/AccordionItem.d.ts +2 -2
- package/lib/components/Accordion/AccordionItem.js +5 -6
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +2 -2
- package/lib/components/BaseTile/BaseTile.js +1 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +31 -0
- package/lib/components/BaseTile/BaseTileProps.js +2 -0
- package/lib/components/BaseTile/BaseTileProps.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +14 -1
- package/lib/components/BlockContent.d.ts +4 -1
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +45 -2
- package/lib/components/ComparisonTable/HeaderCell.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.d.ts +3 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +4 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +4 -0
- package/lib/components/Footer/Contacts.js +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +35 -9
- package/lib/components/Footer/FooterLink.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/Sitemap.d.ts +1 -1
- package/lib/components/Footer/Sitemap.js +1 -1
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +13 -0
- package/lib/components/Header/HeaderContent.d.ts +10 -2
- package/lib/components/Header/isSubItemActive.d.ts +2 -2
- package/lib/components/Header/isSubItemActive.js.map +1 -1
- package/lib/components/Header/isTopItemActive.d.ts +2 -2
- package/lib/components/Header/isTopItemActive.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.d.ts +3 -3
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +6 -0
- package/lib/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/lib/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +11 -2
- package/lib/components/Placeholder/PlaceholderContent.d.ts +3 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +2 -2
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -5
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +17 -2
- package/lib/components/ProductTile/ProductTileContent.d.ts +6 -2
- package/lib/components/PromoTile/PromoTileContent.d.ts +6 -2
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +13 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +13 -0
- package/lib/components/Tile/TileContent.d.ts +5 -2
- package/lib/hooks/useLink.d.ts +3 -3
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/index.d.ts +12 -12
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/mergeTopItems.d.ts +2 -2
- package/lib/mergeTopItems.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +4 -0
- package/lib/model/ButtonVersion.d.ts +4 -0
- package/lib/model/LinkProps.d.ts +21 -0
- package/lib/model/LinkProps.js +2 -0
- package/lib/model/LinkProps.js.map +1 -0
- package/lib/model/Picture.d.ts +11 -0
- package/lib/model/SitemapProps.d.ts +13 -0
- package/lib/model/SitemapProps.js +2 -0
- package/lib/model/SitemapProps.js.map +1 -0
- package/lib/types.d.ts +2 -2
- package/lib/ui-kit/Breadcrumb.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +6 -3
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +15 -12
- package/lib/ui-kit/Icon/IconProps.d.ts +49 -18
- package/lib/ui-kit/Icon/IconProps.js +21 -18
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/package.json +2 -22
- package/src/components/Accordion/Accordion.example.json +74 -0
- package/src/components/Accordion/Accordion.fixture.tsx +1 -16
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Accordion/AccordionContent.ts +31 -11
- package/src/components/Accordion/AccordionItem.tsx +10 -10
- package/src/components/BaseTile/BaseTile.tsx +4 -5
- package/src/components/BaseTile/BaseTileProps.ts +33 -0
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +13 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -2
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +14 -1
- package/src/components/BlockContent.ts +4 -1
- package/src/components/ComparisonTable/ComparisonTable.example.json +84 -0
- package/src/components/ComparisonTable/ComparisonTableContent.ts +46 -3
- package/src/components/ComparisonTable/HeaderCell.tsx +2 -2
- package/src/components/ContentPage/ContentPage.tsx +7 -5
- package/src/components/CreditCalculator/CreditCalculatorContent.ts +4 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +4 -0
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/FooterContent.ts +36 -9
- package/src/components/Footer/FooterLink.ts +2 -2
- package/src/components/Footer/HorizontalNavigation.tsx +2 -2
- package/src/components/Footer/Sitemap.tsx +5 -5
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Footer/TextInformation.tsx +2 -2
- package/src/components/Gallery/Gallery.example.json +71 -0
- package/src/components/Gallery/GalleryContent.ts +13 -0
- package/src/components/Header/HeaderContent.ts +10 -2
- package/src/components/Header/isSubItemActive.ts +3 -3
- package/src/components/Header/isTopItemActive.ts +3 -3
- package/src/components/MiniGallery/MiniGallery.example.json +61 -0
- package/src/components/MiniGallery/MiniGallery.tsx +3 -3
- package/src/components/MiniGallery/MiniGalleryContent.ts +6 -0
- package/src/components/MobileAppTile/MobileAppTile.example.json +20 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -2
- package/src/components/Placeholder/PlaceholderContent.ts +3 -0
- package/src/components/ProductBlock/ProductBlock.example.json +17 -0
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -3
- package/src/components/ProductBlock/ProductBlockContent.ts +10 -5
- package/src/components/ProductBlock/ProductBlockInner.tsx +4 -4
- package/src/components/ProductGallery/ProductGallery.example.json +21 -0
- package/src/components/ProductGallery/ProductGallery.tsx +3 -3
- package/src/components/ProductGallery/ProductGalleryContent.ts +17 -2
- package/src/components/ProductTile/ProductTile.example.json +30 -0
- package/src/components/ProductTile/ProductTileContent.ts +6 -2
- package/src/components/PromoTile/PromoTile.example.json +13 -0
- package/src/components/PromoTile/PromoTileContent.ts +6 -2
- package/src/components/StepsBlock/StepsBlock.example.json +17 -0
- package/src/components/StepsBlock/StepsBlockContent.ts +13 -0
- package/src/components/TextBlock/TextBlock.example.json +6 -0
- package/src/components/TextBlock/TextBlockContent.ts +14 -0
- package/src/components/Tile/Tile.example.json +18 -0
- package/src/components/Tile/TileContent.ts +5 -2
- package/src/hooks/useLink.ts +2 -2
- package/src/index.ts +14 -21
- package/src/mergeTopItems.ts +5 -5
- package/src/model/BlockVersion.ts +4 -0
- package/src/model/ButtonVersion.ts +4 -0
- package/src/model/LinkProps.ts +22 -0
- package/src/model/Picture.ts +11 -0
- package/src/model/SitemapProps.ts +15 -0
- package/src/types.ts +2 -2
- package/src/ui-kit/Breadcrumb.tsx +2 -2
- package/src/ui-kit/Button/Button.tsx +7 -3
- package/src/ui-kit/Button/ButtonProps.ts +16 -13
- package/src/ui-kit/Icon/IconProps.ts +35 -4
- package/src/ui-kit/TopItem/TopItem.tsx +2 -2
- package/dist/components/BaseTile/BaseTileContent.d.ts +0 -13
- package/dist/components/BaseTile/BaseTileContent.js.map +0 -1
- package/dist/model/LinkContent.d.ts +0 -5
- package/dist/model/LinkContent.js.map +0 -1
- package/dist/model/SitemapContent.d.ts +0 -7
- package/dist/model/SitemapContent.js.map +0 -1
- package/lib/components/BaseTile/BaseTileContent.d.ts +0 -13
- package/lib/components/BaseTile/BaseTileContent.js +0 -2
- package/lib/components/BaseTile/BaseTileContent.js.map +0 -1
- package/lib/model/LinkContent.d.ts +0 -5
- package/lib/model/LinkContent.js +0 -2
- package/lib/model/LinkContent.js.map +0 -1
- package/lib/model/SitemapContent.d.ts +0 -7
- package/lib/model/SitemapContent.js +0 -2
- package/lib/model/SitemapContent.js.map +0 -1
- package/src/components/BaseTile/BaseTileContent.ts +0 -14
- package/src/model/LinkContent.ts +0 -5
- package/src/model/SitemapContent.ts +0 -9
|
@@ -1,37 +1,80 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export declare type Row = {
|
|
6
9
|
header: RowHeader;
|
|
7
10
|
data: CellData[][];
|
|
8
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
9
15
|
export declare type RowData = Row[] | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @title Ячейка
|
|
18
|
+
*/
|
|
10
19
|
export interface CellData {
|
|
20
|
+
/** @title Заголовок */
|
|
11
21
|
label?: string;
|
|
22
|
+
/** @title Описание */
|
|
12
23
|
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @title Иконки
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
13
28
|
icons?: IconName[];
|
|
29
|
+
/** @hidden */
|
|
14
30
|
image?: Picture;
|
|
31
|
+
/**
|
|
32
|
+
* @title Кнопки
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
15
35
|
buttons?: ButtonProps[];
|
|
16
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @title Шапка колонки
|
|
39
|
+
*/
|
|
17
40
|
export interface ColumnHeader {
|
|
41
|
+
/** @title Заголовок */
|
|
18
42
|
title?: string;
|
|
43
|
+
/** @hidden */
|
|
19
44
|
icon?: IconName;
|
|
45
|
+
/** @hidden */
|
|
20
46
|
image?: Picture;
|
|
21
|
-
|
|
47
|
+
/** @hidden */
|
|
48
|
+
link?: LinkProps;
|
|
22
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* @title Продукт
|
|
52
|
+
*/
|
|
23
53
|
export interface Column {
|
|
24
54
|
header?: ColumnHeader;
|
|
55
|
+
/** @title Данные */
|
|
25
56
|
data?: CellData[][];
|
|
26
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* @title Параметр
|
|
60
|
+
*/
|
|
27
61
|
export interface RowHeader {
|
|
62
|
+
/** @title Заголовок */
|
|
28
63
|
title?: string;
|
|
29
64
|
icon?: IconName;
|
|
30
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* @title Сравнительная таблица
|
|
68
|
+
*/
|
|
31
69
|
export interface ComparisonTableContent {
|
|
70
|
+
/** @title Заголовок */
|
|
32
71
|
title?: string;
|
|
72
|
+
/** @title Параметры */
|
|
33
73
|
rowHeaders?: RowHeader[];
|
|
74
|
+
/** @title Продукты */
|
|
34
75
|
columns?: Column[];
|
|
76
|
+
/** @title Отображать заданное количество строк */
|
|
35
77
|
visibleRowLength?: number;
|
|
78
|
+
/** @title Закрасить первую колонку */
|
|
36
79
|
isColoredFirstColumn?: boolean;
|
|
37
80
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
4
4
|
export interface HeaderCellProps {
|
|
5
5
|
icon?: IconName;
|
|
6
6
|
image?: Picture;
|
|
7
7
|
title?: string;
|
|
8
|
-
link?:
|
|
8
|
+
link?: LinkProps;
|
|
9
9
|
}
|
|
10
10
|
export declare const HeaderCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderCellProps, any>, context?: any) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockContent } from '../BlockContent';
|
|
3
2
|
import type { BlockDef, ContentPageDef, UniBlockProps } from '../../types';
|
|
3
|
+
import type { BlockContent } from '../BlockContent';
|
|
4
4
|
interface BlockDecoratorProps<VNode> {
|
|
5
5
|
blockClassName: string;
|
|
6
6
|
block: BlockDef;
|
|
@@ -10,8 +10,9 @@ interface BlockDecoratorProps<VNode> {
|
|
|
10
10
|
}) => VNode;
|
|
11
11
|
}
|
|
12
12
|
export declare type BlockDecorator<VNode = any> = (props: BlockDecoratorProps<VNode>, index?: number | string) => any;
|
|
13
|
+
export declare type JSXBlock = (props: PropsWithChildren<UniBlockProps & BlockContent, any>, context?: any) => any;
|
|
13
14
|
export interface ContentPageProps extends UniBlockProps {
|
|
14
|
-
blocksRegistry: Record<string,
|
|
15
|
+
blocksRegistry: Record<string, JSXBlock>;
|
|
15
16
|
data: ContentPageDef;
|
|
16
17
|
blockDecorator?: BlockDecorator;
|
|
17
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAA2D;
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mapp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AAE,EAAE;gBAChB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC;gBACjD,OAAO,CACL,uBAAC,cAAc,IAEb,SAAS,EAAE,KAAK,CAAC,cAAc,EAC/B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,OAAO,YAEV,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,IAN3C,GAAG,IAAI,IAAI,CAAC,EAAE,CAOJ,CAClB,CAAC;YACJ,CAAC;SACF,EACD,SAAS,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAkC;IACzD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACtC,CAAC"}
|
|
@@ -10,6 +10,10 @@ export interface CalculatorParams {
|
|
|
10
10
|
export interface CreditCalculatorData {
|
|
11
11
|
rows?: CalculatorParams[];
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @title Кредитный калькулятор
|
|
15
|
+
*/
|
|
13
16
|
export interface CreditCalculatorContent {
|
|
17
|
+
/** @title Справочник */
|
|
14
18
|
directoryName?: string;
|
|
15
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
2
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
3
3
|
export interface ExchangeRateTileProps extends ExchangeRateTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<ExchangeRateTileProps, any>, context?: any) => any;
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ExchangeRateTile = 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 Tile_1 = require("../Tile/Tile");
|
|
6
5
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
+
const Tile_1 = require("../Tile/Tile");
|
|
7
7
|
const CBR_EXCHANGE_RATE_URL = 'https://www.cbr-xml-daily.ru/daily_json.js';
|
|
8
8
|
const CURRENCY_CODES = ['USD', 'EUR'];
|
|
9
9
|
const CURRENCY_ICONS_MAP = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAC9C,uCAAoC;AAKpC,MAAM,qBAAqB,GAAG,4CAA4C,CAAC;AAE3E,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACtC,MAAM,kBAAkB,GAAG;IACzB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;CAChB,CAAC;AAEF,MAAM,OAAO,GAAkB;IAC7B;QACE,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,qCAAqC;QAC3C,OAAO,EAAE,WAAW;KACrB;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3F,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CA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AAQ,GAAM,CACjG,CAAC,CAAC;AAEH,KAAK,UAAU,iBAAiB;IAG9B,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,MAAM,oBAAoB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;AAEjG,MAAM,cAAc,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Contacts = 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 Button_1 = require("../../ui-kit/Button/Button");
|
|
6
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
7
7
|
exports.Contacts = (0, uni_jsx_1.JSX)(({ className, items, hasButton, context }) => {
|
|
8
8
|
const router = context.useRouter();
|
|
9
9
|
const { handlerDecorator } = context;
|
|
@@ -17,7 +17,7 @@ const renderContact = (item, index) => {
|
|
|
17
17
|
const { type, text, description } = item;
|
|
18
18
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "mb-4", children: [(0, jsx_runtime_1.jsx)("div", { children: renderText(type, text) }), (0, jsx_runtime_1.jsx)("div", { className: "font-sans text-sm text-secondary-text", children: description })] }, String(index)));
|
|
19
19
|
};
|
|
20
|
-
const renderText = (type, text) => {
|
|
20
|
+
const renderText = (type, text = '') => {
|
|
21
21
|
switch (type) {
|
|
22
22
|
case 'tel':
|
|
23
23
|
return ((0, jsx_runtime_1.jsx)("a", { className: "font-sans font-medium text-xl text-primary-text no-underline", href: `tel:${formatTel(text)}`, children: text }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contacts.js","sourceRoot":"","sources":["../../../src/components/Footer/Contacts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Contacts.js","sourceRoot":"","sources":["../../../src/components/Footer/Contacts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,uDAAoD;AAQvC,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,iCAAK,SAAS,EAAE,iBAAiB,SAAS,IAAI,EAAE,EAAE,aAC/C,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,EAC/C,SAAS,CAAC,CAAC,CAAC,CACX,uBAAC,eAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,MAAM,KACZ,IAAA,iBAAO,EACT,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAC5B;oBACE,IAAI,EAAE,gBAAgB;oBACtB,IAAI,EAAE,GAAG;oBACT,MAAM,EAAE,QAAQ;iBACjB,CACF,GACD,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,CAAC,IAAiB,EAAE,KAAa,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAEzC,OAAO,CACL,iCAAK,SAAS,EAAC,MAAM,aACnB,0CAAM,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,GAAO,EACnC,gCAAK,SAAS,EAAC,uCAAuC,YAAE,WAAW,GAAO,KAFjD,MAAM,CAAC,KAAK,CAAC,CAGlC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAyB,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE;IAC1D,QAAQ,IAAI,EAAE;QACZ,KAAK,KAAK;YACR,OAAO,CACL,8BACE,SAAS,EAAC,8DAA8D,EACxE,IAAI,EAAE,OAAO,SAAS,CAAC,IAAI,CAAC,EAAE,YAE7B,IAAI,GACH,CACL,CAAC;QACJ,KAAK,OAAO;YACV,OAAO,CACL,8BACE,SAAS,EAAC,8DAA8D,EACxE,IAAI,EAAE,UAAU,IAAI,EAAE,YAErB,IAAI,GACH,CACL,CAAC;QACJ;YACE,OAAO,2CAAO,IAAI,GAAQ,CAAC;KAC9B;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -1,13 +1,39 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { SitemapProps } from '../../model/SitemapProps';
|
|
3
|
+
/**
|
|
4
|
+
* @title Тип контакта
|
|
5
|
+
* @enumNames [
|
|
6
|
+
* "Телефон",
|
|
7
|
+
* "Почта"
|
|
8
|
+
* ]
|
|
9
|
+
*/
|
|
10
|
+
export declare type ContactType = 'tel' | 'email';
|
|
11
|
+
/**
|
|
12
|
+
* @title Контакт
|
|
13
|
+
*/
|
|
3
14
|
export interface ContactInfo {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
15
|
+
/** @title Текст */
|
|
16
|
+
text?: string;
|
|
17
|
+
type?: ContactType;
|
|
18
|
+
/** @title Описание */
|
|
19
|
+
description?: string;
|
|
7
20
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
/**
|
|
22
|
+
* @required ["href"]
|
|
23
|
+
*/
|
|
24
|
+
export interface SocialMedia extends Omit<LinkProps, 'text'> {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @title Подвал
|
|
28
|
+
* @required ["topItems"]
|
|
29
|
+
*/
|
|
30
|
+
export interface FooterContent extends SitemapProps {
|
|
31
|
+
/** @title Обязательные документы */
|
|
32
|
+
documents?: LinkProps[];
|
|
33
|
+
/** @title Другие предприятия */
|
|
34
|
+
relatedEnterprises?: LinkProps[];
|
|
35
|
+
/** @title Контакты */
|
|
11
36
|
contacts?: ContactInfo[];
|
|
12
|
-
|
|
37
|
+
/** @title Социальные сети */
|
|
38
|
+
socialMedia?: SocialMedia[];
|
|
13
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
export interface FooterLink extends UniBlockProps {
|
|
4
|
-
links?:
|
|
4
|
+
links?: LinkProps[];
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAIjC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAAa,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACpF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,gCAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,YACjC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,qGAAqG,YACjH,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAQH,MAAM,wBAAwB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,8BACE,SAAS,EAAE,qHACT,SAAS,IAAI,EACf,EAAE,EACF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
|
|
@@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Sitemap = 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 mergeTopItems_1 = require("../../mergeTopItems");
|
|
6
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
7
6
|
const useSitemap_1 = require("../../hooks/useSitemap");
|
|
7
|
+
const mergeTopItems_1 = require("../../mergeTopItems");
|
|
8
8
|
exports.Sitemap = (0, uni_jsx_1.JSX)(({ className, items, context }) => {
|
|
9
9
|
const sitemap = (0, useSitemap_1.useSitemap)(context.useAsyncData);
|
|
10
10
|
const mergedItems = (0, mergeTopItems_1.mergeTopItems)(sitemap.topItems, items);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,uDAAoD;AACpD,uDAAoD;AAQvC,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACzE,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,WAAW,GAAG,IAAA,6BAAa,EAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;KAC3C,CAAC;IAEF,OAAO,CACL,gCAAK,SAAS,EAAE,kDAAkD,SAAS,IAAI,EAAE,EAAE,YAChF,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,GACvD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,CAAc,EAAE,KAAa,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACnF,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAExC,OAAO,CACL,iCAAyB,SAAS,EAAC,oCAAoC,aACrE,8BACE,SAAS,EAAC,sEAAsE,EAChF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,EACH,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,uBAAC,UAAU,OAAqB,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAAvD,MAAM,CAAC,CAAC,CAAC,CAAkD,CAC7E,CAAC,KAVM,MAAM,CAAC,KAAK,CAAC,CAWjB,CACP,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACzE,8BACE,SAAS,EAAC,gGAAgG,EAC1G,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
export interface SocialMediaProps extends UniBlockProps {
|
|
4
|
-
media?: Omit<
|
|
4
|
+
media?: Omit<LinkProps, 'text'>[];
|
|
5
5
|
}
|
|
6
6
|
export declare const SocialMedia: (props: import("@redneckz/uni-jsx").PropsWithChildren<SocialMediaProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInformation.js","sourceRoot":"","sources":["../../../src/components/Footer/TextInformation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"TextInformation.js","sourceRoot":"","sources":["../../../src/components/Footer/TextInformation.tsx"],"names":[],"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|
|
2
|
+
/**
|
|
3
|
+
* @title Карточка
|
|
4
|
+
*/
|
|
2
5
|
export interface GalleryCard {
|
|
6
|
+
/** @title Заголовок */
|
|
3
7
|
title?: string;
|
|
8
|
+
/** @title Описание */
|
|
4
9
|
description?: string;
|
|
5
10
|
image?: Picture;
|
|
11
|
+
/** @title Ссылка */
|
|
6
12
|
href?: string;
|
|
13
|
+
/** @title Список */
|
|
7
14
|
items?: string[];
|
|
8
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @title Галерея
|
|
18
|
+
*/
|
|
9
19
|
export interface GalleryContent {
|
|
20
|
+
/** @title Заголовок */
|
|
10
21
|
title?: string;
|
|
22
|
+
/** @title Описание */
|
|
11
23
|
description?: string;
|
|
24
|
+
/** @title Карточки */
|
|
12
25
|
cards?: GalleryCard[];
|
|
13
26
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { SitemapProps } from '../../model/SitemapProps';
|
|
2
|
+
/**
|
|
3
|
+
* @title Шапка
|
|
4
|
+
* @required ["defaultLocation", "topItems"]
|
|
5
|
+
*/
|
|
6
|
+
export interface HeaderContent extends SitemapProps {
|
|
7
|
+
/**
|
|
8
|
+
* @title Город по-умолчанию
|
|
9
|
+
* @default Москва
|
|
10
|
+
*/
|
|
3
11
|
defaultLocation?: string;
|
|
4
12
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
1
2
|
import type { Router } from '../ContentPage/ContentPageContext';
|
|
2
|
-
|
|
3
|
-
export declare function isSubItemActive(router: Router): (subItem: LinkContent) => boolean;
|
|
3
|
+
export declare function isSubItemActive(router: Router): (subItem: LinkProps) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSubItemActive.js","sourceRoot":"","sources":["../../../src/components/Header/isSubItemActive.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isSubItemActive.js","sourceRoot":"","sources":["../../../src/components/Header/isSubItemActive.ts"],"names":[],"mappings":";;AACA,yCAA+C;AAG/C,SAAgB,eAAe,CAAC,MAAc;IAC5C,OAAO,CAAC,OAAkB,EAAW,EAAE,CAAC,IAAA,kBAAY,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC7E,CAAC;AAFD,0CAEC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
1
2
|
import type { Router } from '../ContentPage/ContentPageContext';
|
|
2
|
-
|
|
3
|
-
export declare function isTopItemActive(router: Router): (topItem: LinkContent) => boolean;
|
|
3
|
+
export declare function isTopItemActive(router: Router): (topItem: LinkProps) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isTopItemActive.js","sourceRoot":"","sources":["../../../src/components/Header/isTopItemActive.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isTopItemActive.js","sourceRoot":"","sources":["../../../src/components/Header/isTopItemActive.ts"],"names":[],"mappings":";;AACA,yCAA+C;AAG/C,SAAgB,eAAe,CAAC,MAAc;IAC5C,OAAO,CAAC,OAAkB,EAAW,EAAE,CACrC,IAAA,kBAAY,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;AACpG,CAAC;AAHD,0CAGC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export interface MiniGalleryProps extends
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { MiniGalleryContent } from './MiniGalleryContent';
|
|
3
|
+
export interface MiniGalleryProps extends MiniGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const MiniGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<MiniGalleryProps, any>, context?: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MiniGalleryContent.js","sourceRoot":"","sources":["../../../src/components/MiniGallery/MiniGalleryContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BaseTileCommonProps } from '../BaseTile/BaseTileProps';
|
|
2
|
+
/**
|
|
3
|
+
* @title QR код
|
|
4
|
+
*/
|
|
2
5
|
export interface QRCode {
|
|
6
|
+
/** @title QR код */
|
|
3
7
|
src?: string;
|
|
8
|
+
/** @title Ссылка */
|
|
4
9
|
href?: string;
|
|
5
10
|
}
|
|
6
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @title Мобильное приложение
|
|
13
|
+
*/
|
|
14
|
+
export interface MobileAppTileContent extends BaseTileCommonProps {
|
|
15
|
+
/** @title Заголовок */
|
|
7
16
|
title?: string;
|
|
8
17
|
qr?: QRCode;
|
|
9
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
2
1
|
import type { UniBlockProps } from '../../types';
|
|
3
|
-
|
|
2
|
+
import type { ProductBlockInnerCommonProps } from './ProductBlockContent';
|
|
3
|
+
export interface ProductBlockProps extends ProductBlockInnerCommonProps, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,2DAAwD;AAI3C,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,mCAAmC,EAAE,EAAE;IAC/E,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,OAAO,CACL,oCACE,SAAS,EAAE,4DAA4D,SAAS,IAAI,EAAE,EAAE,YAExF,uBAAC,qCAAiB,OAAK,KAAK,EAAE,SAAS,EAAC,GAAG,GAAG,GACtC,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { BaseTileCommonProps } from '../BaseTile/BaseTileProps';
|
|
3
3
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
4
|
-
export interface
|
|
4
|
+
export interface ProductBlockInnerCommonProps extends BaseTileCommonProps {
|
|
5
|
+
/** @title Преимущества */
|
|
5
6
|
benefits?: Benefit[];
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @title Продуктовый блок
|
|
10
|
+
*/
|
|
11
|
+
export interface ProductBlockContent extends ProductBlockInnerCommonProps {
|
|
12
|
+
/** @title Хлебные крошки */
|
|
13
|
+
breadcrumbs?: LinkProps[];
|
|
9
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
2
1
|
import type { UniBlockProps } from '../../types';
|
|
3
|
-
|
|
2
|
+
import type { ProductBlockInnerCommonProps } from './ProductBlockContent';
|
|
3
|
+
export interface ProductBlockInnerProps extends ProductBlockInnerCommonProps, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const ProductBlockInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockInnerProps, any>, context?: any) => any;
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlockInner = 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 BaseTile_1 = require("../BaseTile/BaseTile");
|
|
6
5
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
7
6
|
const Img_1 = require("../../ui-kit/Img");
|
|
8
7
|
const Title_1 = require("../../ui-kit/Title/Title");
|
|
8
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
9
9
|
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, context, title, titleSize, description, benefits, buttons, image, items }) => {
|
|
10
10
|
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex grow justify-between items-stretch ${className || ''}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'flex flex-col', children: [title && (
|
|
11
11
|
/* TODO Why <Title> is duplicated here? */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,0CAAuC;AACvC,oDAAiD;AACjD,mDAAgD;AAMnC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,iCAAK,SAAS,EAAE,2CAA2C,SAAS,IAAI,EAAE,EAAE,aAC1E,iCAAK,SAAS,EAAE,eAAe,aAC5B,KAAK,IAAI;oBACR,2CAA2C;oBAC3C,uBAAC,aAAK,IACJ,IAAI,EAAE,SAAS,IAAI,IAAI,EACvB,SAAS,EAAC,0EAA0E,YAEnF,KAAK,GACA,CACT,EACD,uBAAC,mBAAQ,IAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YACjF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,wBAAwB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,GAAO,CAC5E,CAAC,CAAC,CAAC,IAAI,GACC,IACP,EACL,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,aAAa,CAAC,OAAgB,EAAE,CAAS;IAChD,OAAO,CACL,iCAAqB,SAAS,EAAC,yBAAyB,aACrD,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,sFAAsF,EAChG,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,iCAAK,SAAS,EAAC,4BAA4B,aACzC,+BAAI,SAAS,EAAC,2CAA2C,YAAE,OAAO,CAAC,KAAK,GAAM,EAC7E,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,yCAAyC,YAAE,OAAO,CAAC,WAAW,GAAO,CACrF,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
2
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
3
3
|
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yEAAsE;AAKzD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IACpD,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IACxD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEpE,OAAO,CACL,qCAAS,SAAS,EAAE,4CAA4C,SAAS,IAAI,EAAE,EAAE,aAC/E,gCACE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAC3D,EAEN,gCAAK,SAAS,EAAE,gDAAgD,YAC7D,UAAU,CAAC,GAAG,CAAC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GAAG,QAAQ,GAAG,EAAE,GACvC,KAbF,MAAM,CAAC,CAAC,CAAC,CAcP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProductBlockInnerCommonProps } from '../ProductBlock/ProductBlockContent';
|
|
2
|
+
/** @title Кнопка под слайдом */
|
|
2
3
|
interface ProductGalleryNav {
|
|
4
|
+
/** @title Заголовок */
|
|
3
5
|
title: string;
|
|
6
|
+
/** @title Описание */
|
|
4
7
|
desc: string;
|
|
5
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @title Слайд
|
|
11
|
+
*/
|
|
6
12
|
export interface ProductSlideContent {
|
|
7
13
|
nav: ProductGalleryNav;
|
|
8
|
-
|
|
14
|
+
/** @title Содержимое слайда */
|
|
15
|
+
productBlock: ProductBlockInnerCommonProps;
|
|
9
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @title Продуктовая галерея
|
|
19
|
+
*/
|
|
10
20
|
export interface ProductGalleryContent {
|
|
21
|
+
/**
|
|
22
|
+
* @title Задержка
|
|
23
|
+
* @hidden //! temporary not used
|
|
24
|
+
*/
|
|
11
25
|
duration?: number;
|
|
26
|
+
/** @title Слайды */
|
|
12
27
|
slides?: ProductSlideContent[];
|
|
13
28
|
}
|
|
14
29
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BaseTileCommonProps } from '../BaseTile/BaseTileProps';
|
|
2
2
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @title Продуктовая плитка
|
|
5
|
+
*/
|
|
6
|
+
export interface ProductTileContent extends BaseTileCommonProps {
|
|
7
|
+
/** @title Преимущества */
|
|
4
8
|
benefits?: Benefit[];
|
|
5
9
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { BaseTileCommonProps } from '../BaseTile/BaseTileProps';
|
|
2
|
+
/**
|
|
3
|
+
* @title Акции
|
|
4
|
+
*/
|
|
5
|
+
export interface PromoTileContent extends BaseTileCommonProps {
|
|
6
|
+
/** @title Дата публикации */
|
|
3
7
|
date?: string;
|
|
4
8
|
}
|