@doyourjob/gravity-ui-page-constructor 5.31.141-dev.1 → 5.31.141-dev.2
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/build/cjs/blocks/BannerMinify/BannerMinify.css +27 -0
- package/build/cjs/blocks/BannerMinify/BannerMinify.d.ts +3 -0
- package/build/cjs/blocks/BannerMinify/BannerMinify.js +24 -0
- package/build/cjs/blocks/BannerMinify/Button/Button.css +27 -0
- package/build/cjs/blocks/BannerMinify/Button/Button.d.ts +3 -0
- package/build/cjs/blocks/BannerMinify/Button/Button.js +15 -0
- package/build/cjs/blocks/BannerMinify/schema.d.ts +310 -0
- package/build/cjs/blocks/BannerMinify/schema.js +34 -0
- package/build/cjs/blocks/Benchmark/schema.d.ts +3 -0
- package/build/cjs/blocks/CardLayout/schema.d.ts +6 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +3 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +3 -0
- package/build/cjs/blocks/FilterBlock/schema.d.ts +6 -0
- package/build/cjs/blocks/FilterCardLayout/schema.d.ts +3 -0
- package/build/cjs/blocks/Form/schema.d.ts +3 -0
- package/build/cjs/blocks/Header/schema.d.ts +3 -0
- package/build/cjs/blocks/HeaderMinify/schema.d.ts +3 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/cjs/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/cjs/blocks/Icons/schema.d.ts +6 -0
- package/build/cjs/blocks/LogoRotator/LogoRotator.css +7 -0
- package/build/cjs/blocks/LogoRotator/LogoRotator.js +5 -2
- package/build/cjs/blocks/LogoRotator/schema.d.ts +145 -0
- package/build/cjs/blocks/LogoRotator/schema.js +1 -1
- package/build/cjs/blocks/Map/schema.d.ts +3 -0
- package/build/cjs/blocks/Media/schema.d.ts +6 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/cjs/blocks/Questions/schema.d.ts +3 -0
- package/build/cjs/blocks/Slider/schema.d.ts +3 -0
- package/build/cjs/blocks/SliderNew/schema.d.ts +3 -0
- package/build/cjs/blocks/TabLinks/schema.d.ts +3 -0
- package/build/cjs/blocks/Table/schema.d.ts +3 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +3 -0
- package/build/cjs/blocks/TabsHighlightTable/schema.d.ts +3 -0
- package/build/cjs/blocks/index.d.ts +1 -0
- package/build/cjs/blocks/index.js +3 -1
- package/build/cjs/blocks/validators.d.ts +1 -0
- package/build/cjs/blocks/validators.js +1 -0
- package/build/cjs/components/BackgroundUnicorn/BackgroundUnicorn.css +13 -0
- package/build/cjs/components/BackgroundUnicorn/BackgroundUnicorn.d.ts +3 -0
- package/build/cjs/components/BackgroundUnicorn/BackgroundUnicorn.js +15 -0
- package/build/cjs/components/index.d.ts +1 -0
- package/build/cjs/components/index.js +3 -0
- package/build/cjs/constructor-items.d.ts +1 -0
- package/build/cjs/constructor-items.js +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +2 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +19 -1
- package/build/cjs/models/constructor-items/blocks.js +1 -0
- package/build/cjs/schema/constants.d.ts +7 -1
- package/build/cjs/schema/constants.js +2 -1
- package/build/cjs/schema/validators/blocks.d.ts +1 -0
- package/build/cjs/schema/validators/blocks.js +1 -0
- package/build/cjs/schema/validators/common.d.ts +3 -0
- package/build/cjs/schema/validators/common.js +2 -0
- package/build/cjs/sub-blocks/ContentLayoutCard/schema.d.ts +3 -0
- package/build/cjs/sub-blocks/StoryCard/schema.d.ts +3 -0
- package/build/esm/blocks/BannerMinify/BannerMinify.css +27 -0
- package/build/esm/blocks/BannerMinify/BannerMinify.d.ts +4 -0
- package/build/esm/blocks/BannerMinify/BannerMinify.js +20 -0
- package/build/esm/blocks/BannerMinify/Button/Button.css +27 -0
- package/build/esm/blocks/BannerMinify/Button/Button.d.ts +4 -0
- package/build/esm/blocks/BannerMinify/Button/Button.js +11 -0
- package/build/esm/blocks/BannerMinify/schema.d.ts +310 -0
- package/build/esm/blocks/BannerMinify/schema.js +31 -0
- package/build/esm/blocks/Benchmark/schema.d.ts +3 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +6 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +3 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +3 -0
- package/build/esm/blocks/FilterBlock/schema.d.ts +6 -0
- package/build/esm/blocks/FilterCardLayout/schema.d.ts +3 -0
- package/build/esm/blocks/Form/schema.d.ts +3 -0
- package/build/esm/blocks/Header/schema.d.ts +3 -0
- package/build/esm/blocks/HeaderMinify/schema.d.ts +3 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/esm/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/esm/blocks/Icons/schema.d.ts +6 -0
- package/build/esm/blocks/LogoRotator/LogoRotator.css +7 -0
- package/build/esm/blocks/LogoRotator/LogoRotator.js +5 -2
- package/build/esm/blocks/LogoRotator/schema.d.ts +145 -0
- package/build/esm/blocks/LogoRotator/schema.js +2 -2
- package/build/esm/blocks/Map/schema.d.ts +3 -0
- package/build/esm/blocks/Media/schema.d.ts +6 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/esm/blocks/Questions/schema.d.ts +3 -0
- package/build/esm/blocks/Slider/schema.d.ts +3 -0
- package/build/esm/blocks/SliderNew/schema.d.ts +3 -0
- package/build/esm/blocks/TabLinks/schema.d.ts +3 -0
- package/build/esm/blocks/Table/schema.d.ts +3 -0
- package/build/esm/blocks/Tabs/schema.d.ts +3 -0
- package/build/esm/blocks/TabsHighlightTable/schema.d.ts +3 -0
- package/build/esm/blocks/index.d.ts +1 -0
- package/build/esm/blocks/index.js +1 -0
- package/build/esm/blocks/validators.d.ts +1 -0
- package/build/esm/blocks/validators.js +1 -0
- package/build/esm/components/BackgroundUnicorn/BackgroundUnicorn.css +13 -0
- package/build/esm/components/BackgroundUnicorn/BackgroundUnicorn.d.ts +4 -0
- package/build/esm/components/BackgroundUnicorn/BackgroundUnicorn.js +13 -0
- package/build/esm/components/index.d.ts +1 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/constructor-items.d.ts +1 -0
- package/build/esm/constructor-items.js +2 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +2 -0
- package/build/esm/models/constructor-items/blocks.d.ts +19 -1
- package/build/esm/models/constructor-items/blocks.js +1 -0
- package/build/esm/schema/constants.d.ts +7 -1
- package/build/esm/schema/constants.js +3 -2
- package/build/esm/schema/validators/blocks.d.ts +1 -0
- package/build/esm/schema/validators/blocks.js +1 -0
- package/build/esm/schema/validators/common.d.ts +3 -0
- package/build/esm/schema/validators/common.js +2 -0
- package/build/esm/sub-blocks/ContentLayoutCard/schema.d.ts +3 -0
- package/build/esm/sub-blocks/StoryCard/schema.d.ts +3 -0
- package/package.json +1 -1
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +19 -1
- package/server/models/constructor-items/blocks.js +1 -0
- package/widget/290.index.js +1 -1
- package/widget/index.js +1 -1
|
@@ -3,6 +3,151 @@ export declare const LogoRotatorBlock: {
|
|
|
3
3
|
additionalProperties: boolean;
|
|
4
4
|
required: string[];
|
|
5
5
|
properties: {
|
|
6
|
+
title: {
|
|
7
|
+
type: string;
|
|
8
|
+
additionalProperties: boolean;
|
|
9
|
+
required: string[];
|
|
10
|
+
properties: {
|
|
11
|
+
text: {
|
|
12
|
+
type: string;
|
|
13
|
+
contentType: string;
|
|
14
|
+
};
|
|
15
|
+
link: {
|
|
16
|
+
type: string;
|
|
17
|
+
additionalProperties: boolean;
|
|
18
|
+
required: string[];
|
|
19
|
+
properties: {
|
|
20
|
+
text: {
|
|
21
|
+
type: string;
|
|
22
|
+
contentType: string;
|
|
23
|
+
};
|
|
24
|
+
url: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
urlTitle: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
arrow: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
theme: {
|
|
34
|
+
type: string;
|
|
35
|
+
enum: string[];
|
|
36
|
+
};
|
|
37
|
+
textSize: {
|
|
38
|
+
type: string;
|
|
39
|
+
enum: string[];
|
|
40
|
+
};
|
|
41
|
+
target: {
|
|
42
|
+
type: string;
|
|
43
|
+
enum: string[];
|
|
44
|
+
};
|
|
45
|
+
analyticsEvents: {
|
|
46
|
+
oneOf: ({
|
|
47
|
+
optionName: string;
|
|
48
|
+
type: string;
|
|
49
|
+
additionalProperties: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
required: string[];
|
|
53
|
+
properties: {
|
|
54
|
+
name: {
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
type: {
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
60
|
+
counters: {
|
|
61
|
+
type: string;
|
|
62
|
+
additionalProperties: boolean;
|
|
63
|
+
required: never[];
|
|
64
|
+
properties: {
|
|
65
|
+
include: {
|
|
66
|
+
type: string;
|
|
67
|
+
items: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
exclude: {
|
|
72
|
+
type: string;
|
|
73
|
+
items: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
context: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
items?: undefined;
|
|
84
|
+
} | {
|
|
85
|
+
type: string;
|
|
86
|
+
items: {
|
|
87
|
+
type: string;
|
|
88
|
+
additionalProperties: {
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
91
|
+
required: string[];
|
|
92
|
+
properties: {
|
|
93
|
+
name: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
type: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
counters: {
|
|
100
|
+
type: string;
|
|
101
|
+
additionalProperties: boolean;
|
|
102
|
+
required: never[];
|
|
103
|
+
properties: {
|
|
104
|
+
include: {
|
|
105
|
+
type: string;
|
|
106
|
+
items: {
|
|
107
|
+
type: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
exclude: {
|
|
111
|
+
type: string;
|
|
112
|
+
items: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
context: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
optionName: string;
|
|
124
|
+
})[];
|
|
125
|
+
};
|
|
126
|
+
type: {};
|
|
127
|
+
when: {
|
|
128
|
+
type: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
textSize: {
|
|
133
|
+
type: string;
|
|
134
|
+
enum: string[];
|
|
135
|
+
};
|
|
136
|
+
url: {
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
urlTitle: {
|
|
140
|
+
type: string;
|
|
141
|
+
};
|
|
142
|
+
resetMargin: {
|
|
143
|
+
type: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
theme: {
|
|
148
|
+
type: string;
|
|
149
|
+
enum: string[];
|
|
150
|
+
};
|
|
6
151
|
items: {
|
|
7
152
|
type: string;
|
|
8
153
|
items: {
|
|
@@ -6,7 +6,7 @@ exports.LogoRotatorBlock = {
|
|
|
6
6
|
'logo-rotator-block': {
|
|
7
7
|
additionalProperties: false,
|
|
8
8
|
required: ['items', 'count'],
|
|
9
|
-
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { items: {
|
|
9
|
+
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: common_1.TitleProps, theme: common_1.ThemeProps, items: {
|
|
10
10
|
type: 'array',
|
|
11
11
|
items: {
|
|
12
12
|
type: 'object',
|
|
@@ -804,6 +804,9 @@ export declare const MediaBlockBaseProps: {
|
|
|
804
804
|
};
|
|
805
805
|
})[];
|
|
806
806
|
};
|
|
807
|
+
blockUnicorn: {
|
|
808
|
+
type: string;
|
|
809
|
+
};
|
|
807
810
|
blockBackground: {
|
|
808
811
|
oneOf: ({
|
|
809
812
|
type: string;
|
|
@@ -1668,6 +1671,9 @@ export declare const MediaBlock: {
|
|
|
1668
1671
|
};
|
|
1669
1672
|
})[];
|
|
1670
1673
|
};
|
|
1674
|
+
blockUnicorn: {
|
|
1675
|
+
type: string;
|
|
1676
|
+
};
|
|
1671
1677
|
blockBackground: {
|
|
1672
1678
|
oneOf: ({
|
|
1673
1679
|
type: string;
|
|
@@ -20,6 +20,7 @@ export { default as IconsBlock } from './Icons/Icons';
|
|
|
20
20
|
export { default as HeaderSliderBlock } from './HeaderSlider/HeaderSlider';
|
|
21
21
|
export { default as CardLayoutBlock } from './CardLayout/CardLayout';
|
|
22
22
|
export { default as ContentLayoutBlock } from './ContentLayout/ContentLayout';
|
|
23
|
+
export { default as BannerMinifyBlock } from './BannerMinify/BannerMinify';
|
|
23
24
|
export { default as ShareBlock } from './Share/Share';
|
|
24
25
|
export { default as FilterBlock } from './FilterBlock/FilterBlock';
|
|
25
26
|
export { default as FilterCardLayoutBlock } from './FilterCardLayout/FilterCardLayout';
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.BenchmarkBlock = exports.MiniCaseBlock = exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.EventsSectionBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterCardLayoutBlock = exports.FilterBlock = exports.ShareBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderMinifyBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsHighlightTableBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.AdvantagesBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderNewBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.LogoRotatorBlock = exports.BannerBlock = void 0;
|
|
6
|
+
exports.BenchmarkBlock = exports.MiniCaseBlock = exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.EventsSectionBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterCardLayoutBlock = exports.FilterBlock = exports.ShareBlock = exports.BannerMinifyBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderMinifyBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsHighlightTableBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.AdvantagesBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderNewBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.LogoRotatorBlock = exports.BannerBlock = void 0;
|
|
7
7
|
var Banner_1 = require("./Banner/Banner");
|
|
8
8
|
Object.defineProperty(exports, "BannerBlock", { enumerable: true, get: function () { return __importDefault(Banner_1).default; } });
|
|
9
9
|
var LogoRotator_1 = require("./LogoRotator/LogoRotator");
|
|
@@ -48,6 +48,8 @@ var CardLayout_1 = require("./CardLayout/CardLayout");
|
|
|
48
48
|
Object.defineProperty(exports, "CardLayoutBlock", { enumerable: true, get: function () { return __importDefault(CardLayout_1).default; } });
|
|
49
49
|
var ContentLayout_1 = require("./ContentLayout/ContentLayout");
|
|
50
50
|
Object.defineProperty(exports, "ContentLayoutBlock", { enumerable: true, get: function () { return __importDefault(ContentLayout_1).default; } });
|
|
51
|
+
var BannerMinify_1 = require("./BannerMinify/BannerMinify");
|
|
52
|
+
Object.defineProperty(exports, "BannerMinifyBlock", { enumerable: true, get: function () { return __importDefault(BannerMinify_1).default; } });
|
|
51
53
|
var Share_1 = require("./Share/Share");
|
|
52
54
|
Object.defineProperty(exports, "ShareBlock", { enumerable: true, get: function () { return __importDefault(Share_1).default; } });
|
|
53
55
|
var FilterBlock_1 = require("./FilterBlock/FilterBlock");
|
|
@@ -2,6 +2,7 @@ export * from './Banner/schema';
|
|
|
2
2
|
export * from './CardLayout/schema';
|
|
3
3
|
export * from './Companies/schema';
|
|
4
4
|
export * from './ContentLayout/schema';
|
|
5
|
+
export * from './BannerMinify/schema';
|
|
5
6
|
export * from './ExtendedFeatures/schema';
|
|
6
7
|
export * from './Header/schema';
|
|
7
8
|
export * from './HeaderSlider/schema';
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Banner/schema"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CardLayout/schema"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./Companies/schema"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ContentLayout/schema"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./BannerMinify/schema"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ExtendedFeatures/schema"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./Header/schema"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./HeaderSlider/schema"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-background-unicorn {
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
.pc-background-unicorn-item {
|
|
12
|
+
height: 100%;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
const unicornstudio_react_1 = tslib_1.__importDefault(require("unicornstudio-react"));
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const b = (0, utils_1.block)('background-unicorn');
|
|
8
|
+
const BackgroundUnicorn = (props) => {
|
|
9
|
+
if (!('blockUnicorn' in props) || typeof props.blockUnicorn !== 'string') {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
return (react_1.default.createElement("div", { className: b() },
|
|
13
|
+
react_1.default.createElement(unicornstudio_react_1.default, { className: b('item'), jsonFilePath: props.blockUnicorn, width: "100%" })));
|
|
14
|
+
};
|
|
15
|
+
exports.default = BackgroundUnicorn;
|
|
@@ -48,5 +48,6 @@ export { default as ReportSection } from './ReportSection/ReportSection';
|
|
|
48
48
|
export { default as ReportItem } from './ReportItem/ReportItem';
|
|
49
49
|
export { default as Odometer } from './Odometer/Odometer';
|
|
50
50
|
export { default as BackgroundEffect } from './BackgroundEffect/BackgroundEffect';
|
|
51
|
+
export { default as BackgroundUnicorn } from './BackgroundUnicorn/BackgroundUnicorn';
|
|
51
52
|
export type { RouterLinkProps } from './RouterLink/RouterLink';
|
|
52
53
|
export type { ImageBaseProps } from './ImageBase/ImageBase';
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BackgroundEffect = exports.Odometer = exports.ReportItem = exports.ReportSection = exports.EmptyPlug = exports.Paginator = exports.ReportFile = exports.Tag = exports.InfiniteScroll = exports.YandexForm = exports.YFMWrapper = exports.VideoBlock = exports.UnpublishedLabel = exports.ToggleArrow = exports.Title = exports.Table = exports.RouterLink = exports.ReactPlayer = exports.OverflowScroller = exports.OutsideClick = exports.MetaInfo = exports.Media = exports.Links = exports.Link = exports.InnerForm = exports.ImageBase = exports.Image = exports.IconWrapper = exports.HTML = exports.HeaderBreadcrumbs = exports.FullWidthBackground = exports.FullscreenMedia = exports.FullscreenImage = exports.Foldable = exports.FileLink = exports.ErrorWrapper = exports.Control = exports.ContentList = exports.CardBase = exports.BrandFooter = exports.Buttons = exports.Button = exports.BlockBase = exports.BalancedMasonry = exports.BackLink = exports.BackgroundMedia = exports.BackgroundImage = exports.Author = exports.AnimateBlock = exports.Anchor = void 0;
|
|
7
|
+
exports.BackgroundUnicorn = void 0;
|
|
7
8
|
var Anchor_1 = require("./Anchor/Anchor");
|
|
8
9
|
Object.defineProperty(exports, "Anchor", { enumerable: true, get: function () { return __importDefault(Anchor_1).default; } });
|
|
9
10
|
var AnimateBlock_1 = require("./AnimateBlock/AnimateBlock");
|
|
@@ -104,3 +105,5 @@ var Odometer_1 = require("./Odometer/Odometer");
|
|
|
104
105
|
Object.defineProperty(exports, "Odometer", { enumerable: true, get: function () { return __importDefault(Odometer_1).default; } });
|
|
105
106
|
var BackgroundEffect_1 = require("./BackgroundEffect/BackgroundEffect");
|
|
106
107
|
Object.defineProperty(exports, "BackgroundEffect", { enumerable: true, get: function () { return __importDefault(BackgroundEffect_1).default; } });
|
|
108
|
+
var BackgroundUnicorn_1 = require("./BackgroundUnicorn/BackgroundUnicorn");
|
|
109
|
+
Object.defineProperty(exports, "BackgroundUnicorn", { enumerable: true, get: function () { return __importDefault(BackgroundUnicorn_1).default; } });
|
|
@@ -19,6 +19,7 @@ export declare const blockMap: {
|
|
|
19
19
|
"header-slider-block": ({ items, arrows, ...props }: import("./models").HeaderSliderBlockProps) => JSX.Element;
|
|
20
20
|
"card-layout-block": import("react").FC<import("./blocks/CardLayout/CardLayout").CardLayoutBlockProps>;
|
|
21
21
|
"content-layout-block": (props: import("./models").ContentLayoutBlockProps) => JSX.Element;
|
|
22
|
+
"banner-minify-block": (props: import("./models").BannerMinifyBlockProps) => JSX.Element;
|
|
22
23
|
"share-block": ({ items, title }: import("./models").ShareBlockProps) => JSX.Element;
|
|
23
24
|
"map-block": ({ map, border, disableShadow, ...props }: import("./models").MapBlockProps) => JSX.Element;
|
|
24
25
|
"filter-block": import("react").FC<import("./models").FilterBlockProps>;
|
|
@@ -28,6 +28,7 @@ exports.blockMap = {
|
|
|
28
28
|
[models_1.BlockType.HeaderSliderBlock]: blocks_1.HeaderSliderBlock,
|
|
29
29
|
[models_1.BlockType.CardLayoutBlock]: blocks_1.CardLayoutBlock,
|
|
30
30
|
[models_1.BlockType.ContentLayoutBlock]: blocks_1.ContentLayoutBlock,
|
|
31
|
+
[models_1.BlockType.BannerMinifyBlock]: blocks_1.BannerMinifyBlock,
|
|
31
32
|
[models_1.BlockType.ShareBlock]: blocks_1.ShareBlock,
|
|
32
33
|
[models_1.BlockType.MapBlock]: blocks_1.MapBlock,
|
|
33
34
|
[models_1.BlockType.FilterBlock]: blocks_1.FilterBlock,
|
package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.ConstructorBlocks = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const get_1 = tslib_1.__importDefault(require("lodash/get"));
|
|
7
|
+
const components_1 = require("../../../../components");
|
|
7
8
|
const innerContext_1 = require("../../../../context/innerContext");
|
|
8
9
|
const BlockDecoration_1 = require("../../../../customization/BlockDecoration");
|
|
9
10
|
const grid_1 = require("../../../../grid");
|
|
@@ -55,6 +56,7 @@ const ConstructorBlocks = ({ items }) => {
|
|
|
55
56
|
'no-horizontal-scroll': item.type === models_1.BlockType.QuotesBlock ||
|
|
56
57
|
('backgroundFull' in item && Boolean(item.backgroundFull)),
|
|
57
58
|
}), style: styles },
|
|
59
|
+
react_1.default.createElement(components_1.BackgroundUnicorn, Object.assign({}, item)),
|
|
58
60
|
react_1.default.createElement(grid_1.Row, null,
|
|
59
61
|
react_1.default.createElement(grid_1.Col, null,
|
|
60
62
|
react_1.default.createElement(ConstructorBlock_1.ConstructorBlock, { data: item, index: index }, itemElement)))));
|
|
@@ -26,6 +26,7 @@ export declare enum BlockType {
|
|
|
26
26
|
IconsBlock = "icons-block",
|
|
27
27
|
CardLayoutBlock = "card-layout-block",
|
|
28
28
|
ContentLayoutBlock = "content-layout-block",
|
|
29
|
+
BannerMinifyBlock = "banner-minify-block",
|
|
29
30
|
ShareBlock = "share-block",
|
|
30
31
|
MapBlock = "map-block",
|
|
31
32
|
FilterBlock = "filter-block",
|
|
@@ -77,6 +78,7 @@ export interface BlockBaseProps {
|
|
|
77
78
|
backgroundFull?: string;
|
|
78
79
|
selectionColor?: string;
|
|
79
80
|
blockBackground?: BlockBackgroundType;
|
|
81
|
+
blockUnicorn?: string;
|
|
80
82
|
className?: string;
|
|
81
83
|
qa?: string;
|
|
82
84
|
visibilityFilter?: string | string[];
|
|
@@ -268,12 +270,14 @@ export interface QuestionBlockItemProps extends QuestionItem {
|
|
|
268
270
|
export interface BannerBlockProps extends BannerCardProps, Animatable {
|
|
269
271
|
}
|
|
270
272
|
export interface LogoRotatorBlockProps extends Animatable {
|
|
273
|
+
title?: TitleItemBaseProps | string;
|
|
271
274
|
items: {
|
|
272
275
|
url: string;
|
|
273
276
|
src: string;
|
|
274
277
|
}[];
|
|
275
278
|
count: number;
|
|
276
279
|
colSizes?: Partial<Record<GridColumnSize, number>>;
|
|
280
|
+
theme?: TextTheme;
|
|
277
281
|
}
|
|
278
282
|
export interface AdvantagesBlockProps {
|
|
279
283
|
title?: string;
|
|
@@ -597,6 +601,17 @@ export interface ContentLayoutBlockProps extends ContentLayoutBlockParams {
|
|
|
597
601
|
textContent: ContentBlockProps;
|
|
598
602
|
fileContent?: FileLinkProps[];
|
|
599
603
|
}
|
|
604
|
+
export interface BannerMinifyButtonProps {
|
|
605
|
+
url: string;
|
|
606
|
+
text: string;
|
|
607
|
+
theme: 'outline' | 'normal';
|
|
608
|
+
}
|
|
609
|
+
export interface BannerMinifyBlockProps {
|
|
610
|
+
title?: TitleItemBaseProps | string;
|
|
611
|
+
text?: string;
|
|
612
|
+
buttons?: BannerMinifyButtonProps[];
|
|
613
|
+
theme?: ContentTheme;
|
|
614
|
+
}
|
|
600
615
|
export type SVGIcon = React.FC<React.SVGProps<SVGSVGElement>>;
|
|
601
616
|
export interface ContentItemProps {
|
|
602
617
|
title?: string;
|
|
@@ -741,6 +756,9 @@ export type HeaderSliderBlockModel = {
|
|
|
741
756
|
export type ContentLayoutBlockModel = {
|
|
742
757
|
type: BlockType.ContentLayoutBlock;
|
|
743
758
|
} & ContentLayoutBlockProps;
|
|
759
|
+
export type BannerMinifyBlockModel = {
|
|
760
|
+
type: BlockType.BannerMinifyBlock;
|
|
761
|
+
} & BannerMinifyBlockProps;
|
|
744
762
|
export type ShareBLockModel = {
|
|
745
763
|
type: BlockType.ShareBlock;
|
|
746
764
|
} & ShareBlockProps;
|
|
@@ -801,6 +819,6 @@ export type FormWallBlockModel = {
|
|
|
801
819
|
export type SliderNewBlockModel = {
|
|
802
820
|
type: BlockType.SliderNewBlock;
|
|
803
821
|
} & SliderNewProps;
|
|
804
|
-
type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
|
|
822
|
+
type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
|
|
805
823
|
export type Block = BlockModels & BlockBaseProps;
|
|
806
824
|
export {};
|
|
@@ -23,6 +23,7 @@ var BlockType;
|
|
|
23
23
|
BlockType["IconsBlock"] = "icons-block";
|
|
24
24
|
BlockType["CardLayoutBlock"] = "card-layout-block";
|
|
25
25
|
BlockType["ContentLayoutBlock"] = "content-layout-block";
|
|
26
|
+
BlockType["BannerMinifyBlock"] = "banner-minify-block";
|
|
26
27
|
BlockType["ShareBlock"] = "share-block";
|
|
27
28
|
BlockType["MapBlock"] = "map-block";
|
|
28
29
|
BlockType["FilterBlock"] = "filter-block";
|
|
@@ -275,6 +275,9 @@ export declare const cardSchemas: {
|
|
|
275
275
|
};
|
|
276
276
|
})[];
|
|
277
277
|
};
|
|
278
|
+
blockUnicorn: {
|
|
279
|
+
type: string;
|
|
280
|
+
};
|
|
278
281
|
blockBackground: {
|
|
279
282
|
oneOf: ({
|
|
280
283
|
type: string;
|
|
@@ -1543,6 +1546,9 @@ export declare const cardSchemas: {
|
|
|
1543
1546
|
};
|
|
1544
1547
|
})[];
|
|
1545
1548
|
};
|
|
1549
|
+
blockUnicorn: {
|
|
1550
|
+
type: string;
|
|
1551
|
+
};
|
|
1546
1552
|
blockBackground: {
|
|
1547
1553
|
oneOf: ({
|
|
1548
1554
|
type: string;
|
|
@@ -3715,7 +3721,7 @@ export declare const cardSchemas: {
|
|
|
3715
3721
|
additionalProperties: boolean;
|
|
3716
3722
|
properties: {
|
|
3717
3723
|
type: {
|
|
3718
|
-
type: string;
|
|
3724
|
+
type: string; /** @deprecated */
|
|
3719
3725
|
enum: import("../models").CustomControlsType[];
|
|
3720
3726
|
};
|
|
3721
3727
|
muteButtonShown: {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.constructorCardSchemaNames = exports.constructorBlockSchemaNames = exports.cardSchemas = exports.blockSchemas = void 0;
|
|
4
4
|
const blocks_1 = require("./validators/blocks");
|
|
5
5
|
const sub_blocks_1 = require("./validators/sub-blocks");
|
|
6
|
-
exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.AdvantagesBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.HeaderMinifyBlock), blocks_1.BannerBlock), blocks_1.LogoRotatorBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.MiniCaseBlock), blocks_1.TabsBlock), blocks_1.TabsHighlightTableBlock), blocks_1.TabLinksBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FilterCardLayoutBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.BenchmarkBlock), blocks_1.EventsSectionBlock), blocks_1.BlogFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock);
|
|
6
|
+
exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.AdvantagesBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.HeaderMinifyBlock), blocks_1.BannerBlock), blocks_1.LogoRotatorBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.MiniCaseBlock), blocks_1.TabsBlock), blocks_1.TabsHighlightTableBlock), blocks_1.TabLinksBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.BannerMinifyBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FilterCardLayoutBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.BenchmarkBlock), blocks_1.EventsSectionBlock), blocks_1.BlogFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock);
|
|
7
7
|
exports.cardSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.MediaCardBlock), blocks_1.BannerCard), sub_blocks_1.PriceDetailedBlock), sub_blocks_1.BackgroundCard), sub_blocks_1.Quote), sub_blocks_1.BasicCard), sub_blocks_1.PriceCardBlock), sub_blocks_1.ImageCard), sub_blocks_1.ContentLayoutCard), sub_blocks_1.Card), sub_blocks_1.PostCard), sub_blocks_1.FeedCard), sub_blocks_1.EventPersonCard), sub_blocks_1.AttachmentCard), sub_blocks_1.CaseStudyCard), sub_blocks_1.StoryCard);
|
|
8
8
|
exports.constructorBlockSchemaNames = [
|
|
9
9
|
'divider',
|
|
@@ -56,6 +56,7 @@ exports.constructorBlockSchemaNames = [
|
|
|
56
56
|
'mini-case-block',
|
|
57
57
|
'advantages-block',
|
|
58
58
|
'benchmark-block',
|
|
59
|
+
'banner-minify-block',
|
|
59
60
|
];
|
|
60
61
|
exports.constructorCardSchemaNames = [
|
|
61
62
|
'media-card',
|
|
@@ -17,6 +17,7 @@ export * from '../../blocks/HeaderSlider/schema';
|
|
|
17
17
|
export * from '../../blocks/Icons/schema';
|
|
18
18
|
export * from '../../blocks/CardLayout/schema';
|
|
19
19
|
export * from '../../blocks/ContentLayout/schema';
|
|
20
|
+
export * from '../../blocks/BannerMinify/schema';
|
|
20
21
|
export * from '../../blocks/Share/schema';
|
|
21
22
|
export * from '../../blocks/FilterBlock/schema';
|
|
22
23
|
export * from '../../blocks/FilterCardLayout/schema';
|
|
@@ -20,6 +20,7 @@ tslib_1.__exportStar(require("../../blocks/HeaderSlider/schema"), exports);
|
|
|
20
20
|
tslib_1.__exportStar(require("../../blocks/Icons/schema"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("../../blocks/CardLayout/schema"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("../../blocks/ContentLayout/schema"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("../../blocks/BannerMinify/schema"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("../../blocks/Share/schema"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("../../blocks/FilterBlock/schema"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("../../blocks/FilterCardLayout/schema"), exports);
|