@gravity-ui/page-constructor 3.0.0-alpha.6 → 3.1.0
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/CHANGELOG.md +59 -0
- package/README.md +16 -1
- package/build/cjs/blocks/CardLayout/CardLayout.js +1 -1
- package/build/cjs/blocks/CardLayout/schema.d.ts +2 -2
- package/build/cjs/blocks/CardLayout/schema.js +1 -1
- package/build/cjs/blocks/FilterBlock/FilterBlock.js +9 -13
- package/build/cjs/blocks/Header/schema.d.ts +243 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +81 -0
- package/build/cjs/blocks/Media/schema.d.ts +162 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +81 -0
- package/build/cjs/blocks/Slider/Slider.js +1 -1
- package/build/cjs/blocks/Tabs/schema.d.ts +81 -0
- package/build/cjs/components/FullscreenImage/{FullScreenImage.css → FullscreenImage.css} +13 -13
- package/build/cjs/components/FullscreenImage/FullscreenImage.d.ts +3 -3
- package/build/cjs/components/FullscreenImage/FullscreenImage.js +7 -7
- package/build/cjs/components/FullscreenImage/i18n/index.js +1 -1
- package/build/cjs/components/FullscreenMedia/FullscreenMedia.d.ts +9 -0
- package/build/cjs/components/FullscreenMedia/{FullScreenMedia.js → FullscreenMedia.js} +5 -5
- package/build/cjs/components/Media/FullscreenVideo/FullscreenVideo.d.ts +4 -0
- package/build/cjs/components/Media/FullscreenVideo/FullscreenVideo.js +10 -0
- package/build/cjs/components/Media/Image/Image.d.ts +1 -0
- package/build/cjs/components/Media/Image/Image.js +10 -3
- package/build/cjs/components/Media/Media.js +25 -5
- package/build/cjs/components/Media/Video/Video.d.ts +1 -1
- package/build/cjs/components/VideoBlock/VideoBlock.d.ts +3 -2
- package/build/cjs/components/VideoBlock/VideoBlock.js +8 -4
- package/build/cjs/components/index.d.ts +1 -1
- package/build/cjs/components/index.js +3 -3
- package/build/cjs/constructor-items.d.ts +1 -1
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/icons/Fullscreen.d.ts +2 -0
- package/build/cjs/icons/{FullScreen.js → Fullscreen.js} +3 -3
- package/build/cjs/icons/index.d.ts +1 -1
- package/build/cjs/icons/index.js +1 -1
- package/build/cjs/models/common.d.ts +2 -1
- package/build/cjs/models/common.js +1 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +1 -1
- package/build/cjs/models/constructor-items/common.d.ts +1 -1
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +1 -1
- package/build/cjs/schema/validators/common.d.ts +81 -0
- package/build/cjs/schema/validators/common.js +6 -0
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js +4 -4
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +82 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.js +1 -1
- package/build/cjs/sub-blocks/LayoutItem/utils.d.ts +2 -2
- package/build/cjs/sub-blocks/LayoutItem/utils.js +6 -6
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +85 -0
- package/build/cjs/sub-blocks/MediaCard/schema.js +1 -1
- package/build/esm/blocks/CardLayout/CardLayout.js +1 -1
- package/build/esm/blocks/CardLayout/schema.d.ts +2 -2
- package/build/esm/blocks/CardLayout/schema.js +1 -1
- package/build/esm/blocks/FilterBlock/FilterBlock.js +10 -14
- package/build/esm/blocks/Header/schema.d.ts +243 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +81 -0
- package/build/esm/blocks/Media/schema.d.ts +162 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +81 -0
- package/build/esm/blocks/Slider/Slider.js +2 -2
- package/build/esm/blocks/Tabs/Tabs.js +2 -2
- package/build/esm/blocks/Tabs/schema.d.ts +81 -0
- package/build/esm/components/FullscreenImage/{FullScreenImage.css → FullscreenImage.css} +13 -13
- package/build/esm/components/FullscreenImage/FullscreenImage.d.ts +4 -4
- package/build/esm/components/FullscreenImage/FullscreenImage.js +9 -9
- package/build/esm/components/FullscreenImage/i18n/index.js +1 -1
- package/build/esm/components/FullscreenMedia/FullscreenMedia.d.ts +10 -0
- package/build/esm/components/FullscreenMedia/{FullScreenMedia.js → FullscreenMedia.js} +7 -7
- package/build/esm/components/Media/FullscreenVideo/FullscreenVideo.d.ts +4 -0
- package/build/esm/components/Media/FullscreenVideo/FullscreenVideo.js +7 -0
- package/build/esm/components/Media/Image/Image.d.ts +1 -0
- package/build/esm/components/Media/Image/Image.js +12 -5
- package/build/esm/components/Media/Media.js +25 -5
- package/build/esm/components/Media/Video/Video.d.ts +1 -1
- package/build/esm/components/VideoBlock/VideoBlock.d.ts +3 -2
- package/build/esm/components/VideoBlock/VideoBlock.js +8 -4
- package/build/esm/components/index.d.ts +1 -1
- package/build/esm/components/index.js +1 -1
- package/build/esm/constructor-items.d.ts +1 -1
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/icons/Fullscreen.d.ts +2 -0
- package/build/esm/icons/{FullScreen.js → Fullscreen.js} +1 -1
- package/build/esm/icons/index.d.ts +1 -1
- package/build/esm/icons/index.js +1 -1
- package/build/esm/models/common.d.ts +2 -1
- package/build/esm/models/common.js +1 -0
- package/build/esm/models/constructor-items/blocks.d.ts +1 -1
- package/build/esm/models/constructor-items/common.d.ts +1 -1
- package/build/esm/models/constructor-items/sub-blocks.d.ts +1 -1
- package/build/esm/schema/validators/common.d.ts +81 -0
- package/build/esm/schema/validators/common.js +6 -0
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.js +6 -6
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +82 -1
- package/build/esm/sub-blocks/LayoutItem/schema.js +1 -1
- package/build/esm/sub-blocks/LayoutItem/utils.d.ts +2 -2
- package/build/esm/sub-blocks/LayoutItem/utils.js +3 -3
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +85 -0
- package/build/esm/sub-blocks/MediaCard/schema.js +2 -2
- package/package.json +1 -4
- package/server/models/common.d.ts +2 -1
- package/server/models/common.js +1 -0
- package/server/models/constructor-items/blocks.d.ts +1 -1
- package/server/models/constructor-items/common.d.ts +1 -1
- package/server/models/constructor-items/sub-blocks.d.ts +1 -1
- package/build/cjs/components/FullscreenMedia/FullScreenMedia.d.ts +0 -9
- package/build/cjs/icons/FullScreen.d.ts +0 -2
- package/build/esm/components/FullscreenMedia/FullScreenMedia.d.ts +0 -10
- package/build/esm/icons/FullScreen.d.ts +0 -2
- /package/build/cjs/components/FullscreenMedia/{FullScreenMedia.css → FullscreenMedia.css} +0 -0
- /package/build/esm/components/FullscreenMedia/{FullScreenMedia.css → FullscreenMedia.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.1.0](https://github.com/gravity-ui/page-constructor/compare/v3.0.0...v3.1.0) (2023-06-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add analytics to video block ([#376](https://github.com/gravity-ui/page-constructor/issues/376)) ([85510cc](https://github.com/gravity-ui/page-constructor/commit/85510cc45475c8cf12561eed0e7a5b04fc14af5f))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* rerende slider chidldren on their update ([#380](https://github.com/gravity-ui/page-constructor/issues/380)) ([65e3168](https://github.com/gravity-ui/page-constructor/commit/65e31689d1817a34de094bb383b667672878d9ff))
|
|
14
|
+
|
|
15
|
+
## [3.0.0](https://github.com/gravity-ui/page-constructor/compare/v2.22.2...v3.0.0) (2023-06-05)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ⚠ BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
* remove Preview block ([#235](https://github.com/gravity-ui/page-constructor/issues/235)), use Tabs block
|
|
21
|
+
* remove Simple block ([#228](https://github.com/gravity-ui/page-constructor/issues/228)), use ContentLayout block
|
|
22
|
+
* remove CardWithImage sub-block ([#236](https://github.com/gravity-ui/page-constructor/issues/236)), use LayoutItem sub-block
|
|
23
|
+
* remove Security block ([#321](https://github.com/gravity-ui/page-constructor/issues/321)), use ContentLayout block
|
|
24
|
+
* remove LinkTable block ([#325](https://github.com/gravity-ui/page-constructor/issues/325)), use ContentLayout block
|
|
25
|
+
* remove TutorialCard sub-block ([#331](https://github.com/gravity-ui/page-constructor/issues/331)), use BasicCard sub-block
|
|
26
|
+
* remove hook HeightCalculator ([#328](https://github.com/gravity-ui/page-constructor/issues/328))
|
|
27
|
+
* remove Partner sub-block ([#335](https://github.com/gravity-ui/page-constructor/issues/335)), use BasicCard sub-block
|
|
28
|
+
* remove NewsCard sub-block ([#342](https://github.com/gravity-ui/page-constructor/issues/342)), use BasicCard sub-block
|
|
29
|
+
* remove component Footnotes ([#343](https://github.com/gravity-ui/page-constructor/issues/343)), use ContentLayout block
|
|
30
|
+
* remove component BlockHeader ([#341](https://github.com/gravity-ui/page-constructor/issues/341)), use component Title
|
|
31
|
+
* remove property `fullScreen` from components ([#366](https://github.com/gravity-ui/page-constructor/issues/366)), use property `fullscreen`
|
|
32
|
+
* rename component FullScreenMedia to FullscreenMedia ([#366](https://github.com/gravity-ui/page-constructor/issues/366))
|
|
33
|
+
* rename icon name FullScreen to Fullscreen ([#366](https://github.com/gravity-ui/page-constructor/issues/366))
|
|
34
|
+
* remove property `showFullScreenIcon` from FullscreenMedia ([#366](https://github.com/gravity-ui/page-constructor/issues/366)), use property `showFullscreenIcon`
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### refactor
|
|
38
|
+
|
|
39
|
+
* refactor text-transform functions ([#225](https://github.com/gravity-ui/page-constructor/issues/225))
|
|
40
|
+
|
|
41
|
+
## [2.22.2](https://github.com/gravity-ui/page-constructor/compare/v2.22.1...v2.22.2) (2023-06-01)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* **MediaBlock:** add border property into schema ([#371](https://github.com/gravity-ui/page-constructor/issues/371)) ([5365791](https://github.com/gravity-ui/page-constructor/commit/5365791550bdb2ed8258d9582605e620ab0e1b11))
|
|
47
|
+
|
|
48
|
+
## [2.22.1](https://github.com/gravity-ui/page-constructor/compare/v2.22.0...v2.22.1) (2023-06-01)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* filter block nesting ([#364](https://github.com/gravity-ui/page-constructor/issues/364)) ([5b62522](https://github.com/gravity-ui/page-constructor/commit/5b62522e5e34eeacbb2fb9ec6de957bba69cd758))
|
|
54
|
+
|
|
55
|
+
## [2.22.0](https://github.com/gravity-ui/page-constructor/compare/v2.21.0...v2.22.0) (2023-05-31)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Features
|
|
59
|
+
|
|
60
|
+
* **Media:** add fullscreen video ([#345](https://github.com/gravity-ui/page-constructor/issues/345)) ([516a9a8](https://github.com/gravity-ui/page-constructor/commit/516a9a8423d710b6ecad33046121c489fa876e30))
|
|
61
|
+
|
|
3
62
|
## [2.21.0](https://github.com/gravity-ui/page-constructor/compare/v2.20.1...v2.21.0) (2023-05-29)
|
|
4
63
|
|
|
5
64
|
|
package/README.md
CHANGED
|
@@ -183,7 +183,7 @@ Sub-blocks are components that can be used in the block `children` property. In
|
|
|
183
183
|
- Add it to `enum` or `selectCases` in the `schema/index.ts` file.
|
|
184
184
|
|
|
185
185
|
6. In the block directory, add the `README.md` file with a description of input parameters.
|
|
186
|
-
7. In the block directory add storybook demo in `__stories__` folder.
|
|
186
|
+
7. In the block directory add storybook demo in `__stories__` folder. All demo content for story should be placed in `data.json` at story dir. The generic `Story` must accept the type of block props, otherwise incorrect block props will be displayed in Storybook.
|
|
187
187
|
|
|
188
188
|
### Themes
|
|
189
189
|
|
|
@@ -339,3 +339,18 @@ Release-As: 3.0.0-beta.0' --allow-empty
|
|
|
339
339
|
|
|
340
340
|
4. Release please robot will create a new PR to the branch `beta` with updated CHANGELOG.md and bump version of the package
|
|
341
341
|
5. You can repeat it as many as you want. When you ready to release the latest major version without beta tag, you have to create PR from branch `beta` to branch `main`. Notice that it is normal that your package version will be with beta tag. Robot knows that and change it properly. `3.0.0-beta.0` will become `3.0.0`
|
|
342
|
+
|
|
343
|
+
### Release flow for previous major-versions
|
|
344
|
+
|
|
345
|
+
If you want to release a new version in previous major after commit it to the main, please do the following:
|
|
346
|
+
|
|
347
|
+
1. Update necessary branch, the previous major release branch names are:
|
|
348
|
+
1. `version-1.x.x/fixes` - for major 1.x.x
|
|
349
|
+
2. `version-2.x.x` - for major 2.x.x
|
|
350
|
+
2. Checkout a new branch from the previous major release branch
|
|
351
|
+
3. Cherry-pick your commit from the branch `main`
|
|
352
|
+
4. Create PR, get an approval and merge into the previous major release branch
|
|
353
|
+
5. Squash and merge your PR (It is important to release a new version with Github-Actions)
|
|
354
|
+
6. Wait until robot creates a PR with a new version of the package and information about your changes in CHANGELOG.md. You can see the process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
|
|
355
|
+
7. Check your changes in CHANGELOG.md and approve robot's PR.
|
|
356
|
+
8. Squash and merge PR. You can see release process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
|
|
@@ -12,6 +12,6 @@ const DEFAULT_SIZES = {
|
|
|
12
12
|
};
|
|
13
13
|
const b = (0, utils_1.block)('card-layout-block');
|
|
14
14
|
const CardLayout = ({ title, description, animated, colSizes = DEFAULT_SIZES, children, }) => (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated },
|
|
15
|
-
react_1.default.createElement(components_1.Title, { title: title, subtitle: description }),
|
|
15
|
+
(title || description) && react_1.default.createElement(components_1.Title, { title: title, subtitle: description }),
|
|
16
16
|
react_1.default.createElement(grid_1.Row, null, react_1.default.Children.map(children, (child, index) => (react_1.default.createElement(grid_1.Col, { key: index, sizes: colSizes, className: b('item') }, child))))));
|
|
17
17
|
exports.default = CardLayout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CardLayoutProps: {
|
|
2
2
|
additionalProperties: boolean;
|
|
3
|
-
required:
|
|
3
|
+
required: never[];
|
|
4
4
|
properties: {
|
|
5
5
|
colSizes: {
|
|
6
6
|
type: string;
|
|
@@ -76,7 +76,7 @@ export declare const CardLayoutProps: {
|
|
|
76
76
|
export declare const CardLayoutBlock: {
|
|
77
77
|
'card-layout-block': {
|
|
78
78
|
additionalProperties: boolean;
|
|
79
|
-
required:
|
|
79
|
+
required: never[];
|
|
80
80
|
properties: {
|
|
81
81
|
colSizes: {
|
|
82
82
|
type: string;
|
|
@@ -4,7 +4,7 @@ exports.CardLayoutBlock = exports.CardLayoutProps = void 0;
|
|
|
4
4
|
const common_1 = require("../../schema/validators/common");
|
|
5
5
|
exports.CardLayoutProps = {
|
|
6
6
|
additionalProperties: false,
|
|
7
|
-
required: [
|
|
7
|
+
required: [],
|
|
8
8
|
properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), common_1.BlockHeaderProps), { colSizes: common_1.containerSizesObject, children: common_1.ChildrenCardsProps }),
|
|
9
9
|
};
|
|
10
10
|
exports.CardLayoutBlock = {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
|
+
const __1 = require("..");
|
|
5
6
|
const components_1 = require("../../components");
|
|
6
7
|
const ButtonTabs_1 = tslib_1.__importDefault(require("../../components/ButtonTabs/ButtonTabs"));
|
|
7
|
-
const
|
|
8
|
+
const ConstructorItem_1 = require("../../containers/PageConstructor/components/ConstructorItem");
|
|
8
9
|
const grid_1 = require("../../grid");
|
|
9
|
-
const models_1 = require("../../models");
|
|
10
10
|
const utils_1 = require("../../utils");
|
|
11
11
|
const i18n_1 = tslib_1.__importDefault(require("./i18n"));
|
|
12
12
|
const b = (0, utils_1.block)('filter-block');
|
|
@@ -24,25 +24,21 @@ const FilterBlock = ({ title, description, tags, tagButtonSize, allTag, items, c
|
|
|
24
24
|
? tabButtons[0].id
|
|
25
25
|
: selectedTag;
|
|
26
26
|
}, [tabButtons, selectedTag]);
|
|
27
|
-
const
|
|
27
|
+
const cards = (0, react_1.useMemo)(() => {
|
|
28
28
|
const itemsToShow = actualTag
|
|
29
29
|
? items.filter((item) => item.tags.includes(actualTag))
|
|
30
30
|
: items;
|
|
31
|
-
return
|
|
32
|
-
|
|
33
|
-
type: models_1.BlockType.CardLayoutBlock,
|
|
34
|
-
title: '',
|
|
35
|
-
colSizes: colSizes,
|
|
36
|
-
children: itemsToShow.map((item) => item.card),
|
|
37
|
-
},
|
|
38
|
-
];
|
|
39
|
-
}, [actualTag, items, colSizes]);
|
|
31
|
+
return itemsToShow.map((item) => item.card);
|
|
32
|
+
}, [actualTag, items]);
|
|
40
33
|
return (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated },
|
|
41
34
|
title && (react_1.default.createElement(components_1.Title, { className: b('title', { centered: centered }), title: title, subtitle: description })),
|
|
42
35
|
tabButtons.length && (react_1.default.createElement(grid_1.Row, null,
|
|
43
36
|
react_1.default.createElement(grid_1.Col, null,
|
|
44
37
|
react_1.default.createElement(ButtonTabs_1.default, { className: b('tabs', { centered: centered }), items: tabButtons, activeTab: selectedTag, onSelectTab: setSelectedTag, tabSize: tagButtonSize })))),
|
|
45
38
|
react_1.default.createElement(grid_1.Row, { className: b('block-container') },
|
|
46
|
-
react_1.default.createElement(
|
|
39
|
+
react_1.default.createElement(__1.CardLayoutBlock, { title: "", colSizes: colSizes }, cards.map((card, index) => {
|
|
40
|
+
const key = (0, utils_1.getBlockKey)(card, index);
|
|
41
|
+
return react_1.default.createElement(ConstructorItem_1.ConstructorItem, { data: card, blockKey: key, key: key });
|
|
42
|
+
})))));
|
|
47
43
|
};
|
|
48
44
|
exports.default = FilterBlock;
|
|
@@ -137,6 +137,87 @@ export declare const HeaderBackgroundProps: {
|
|
|
137
137
|
type: string;
|
|
138
138
|
})[];
|
|
139
139
|
};
|
|
140
|
+
fullscreen: {
|
|
141
|
+
type: string;
|
|
142
|
+
};
|
|
143
|
+
analyticsEvents: {
|
|
144
|
+
anyOf: ({
|
|
145
|
+
type: string;
|
|
146
|
+
additionalProperties: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
required: string[];
|
|
150
|
+
properties: {
|
|
151
|
+
name: {
|
|
152
|
+
type: string;
|
|
153
|
+
};
|
|
154
|
+
type: {
|
|
155
|
+
type: string;
|
|
156
|
+
};
|
|
157
|
+
counters: {
|
|
158
|
+
type: string;
|
|
159
|
+
additionalProperties: boolean;
|
|
160
|
+
required: never[];
|
|
161
|
+
properties: {
|
|
162
|
+
include: {
|
|
163
|
+
type: string;
|
|
164
|
+
items: {
|
|
165
|
+
type: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
exclude: {
|
|
169
|
+
type: string;
|
|
170
|
+
items: {
|
|
171
|
+
type: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
context: {
|
|
177
|
+
type: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
} | {
|
|
181
|
+
type: string;
|
|
182
|
+
items: {
|
|
183
|
+
type: string;
|
|
184
|
+
additionalProperties: {
|
|
185
|
+
type: string;
|
|
186
|
+
};
|
|
187
|
+
required: string[];
|
|
188
|
+
properties: {
|
|
189
|
+
name: {
|
|
190
|
+
type: string;
|
|
191
|
+
};
|
|
192
|
+
type: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
counters: {
|
|
196
|
+
type: string;
|
|
197
|
+
additionalProperties: boolean;
|
|
198
|
+
required: never[];
|
|
199
|
+
properties: {
|
|
200
|
+
include: {
|
|
201
|
+
type: string;
|
|
202
|
+
items: {
|
|
203
|
+
type: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
exclude: {
|
|
207
|
+
type: string;
|
|
208
|
+
items: {
|
|
209
|
+
type: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
context: {
|
|
215
|
+
type: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
})[];
|
|
220
|
+
};
|
|
140
221
|
};
|
|
141
222
|
};
|
|
142
223
|
export declare const HeaderProperties: {
|
|
@@ -424,6 +505,87 @@ export declare const HeaderProperties: {
|
|
|
424
505
|
type: string;
|
|
425
506
|
})[];
|
|
426
507
|
};
|
|
508
|
+
fullscreen: {
|
|
509
|
+
type: string;
|
|
510
|
+
};
|
|
511
|
+
analyticsEvents: {
|
|
512
|
+
anyOf: ({
|
|
513
|
+
type: string;
|
|
514
|
+
additionalProperties: {
|
|
515
|
+
type: string;
|
|
516
|
+
};
|
|
517
|
+
required: string[];
|
|
518
|
+
properties: {
|
|
519
|
+
name: {
|
|
520
|
+
type: string;
|
|
521
|
+
};
|
|
522
|
+
type: {
|
|
523
|
+
type: string;
|
|
524
|
+
};
|
|
525
|
+
counters: {
|
|
526
|
+
type: string;
|
|
527
|
+
additionalProperties: boolean;
|
|
528
|
+
required: never[];
|
|
529
|
+
properties: {
|
|
530
|
+
include: {
|
|
531
|
+
type: string;
|
|
532
|
+
items: {
|
|
533
|
+
type: string;
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
exclude: {
|
|
537
|
+
type: string;
|
|
538
|
+
items: {
|
|
539
|
+
type: string;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
context: {
|
|
545
|
+
type: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
} | {
|
|
549
|
+
type: string;
|
|
550
|
+
items: {
|
|
551
|
+
type: string;
|
|
552
|
+
additionalProperties: {
|
|
553
|
+
type: string;
|
|
554
|
+
};
|
|
555
|
+
required: string[];
|
|
556
|
+
properties: {
|
|
557
|
+
name: {
|
|
558
|
+
type: string;
|
|
559
|
+
};
|
|
560
|
+
type: {
|
|
561
|
+
type: string;
|
|
562
|
+
};
|
|
563
|
+
counters: {
|
|
564
|
+
type: string;
|
|
565
|
+
additionalProperties: boolean;
|
|
566
|
+
required: never[];
|
|
567
|
+
properties: {
|
|
568
|
+
include: {
|
|
569
|
+
type: string;
|
|
570
|
+
items: {
|
|
571
|
+
type: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
exclude: {
|
|
575
|
+
type: string;
|
|
576
|
+
items: {
|
|
577
|
+
type: string;
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
context: {
|
|
583
|
+
type: string;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
})[];
|
|
588
|
+
};
|
|
427
589
|
};
|
|
428
590
|
} | {
|
|
429
591
|
type: string;
|
|
@@ -757,6 +919,87 @@ export declare const HeaderBlock: {
|
|
|
757
919
|
type: string;
|
|
758
920
|
})[];
|
|
759
921
|
};
|
|
922
|
+
fullscreen: {
|
|
923
|
+
type: string;
|
|
924
|
+
};
|
|
925
|
+
analyticsEvents: {
|
|
926
|
+
anyOf: ({
|
|
927
|
+
type: string;
|
|
928
|
+
additionalProperties: {
|
|
929
|
+
type: string;
|
|
930
|
+
};
|
|
931
|
+
required: string[];
|
|
932
|
+
properties: {
|
|
933
|
+
name: {
|
|
934
|
+
type: string;
|
|
935
|
+
};
|
|
936
|
+
type: {
|
|
937
|
+
type: string;
|
|
938
|
+
};
|
|
939
|
+
counters: {
|
|
940
|
+
type: string;
|
|
941
|
+
additionalProperties: boolean;
|
|
942
|
+
required: never[];
|
|
943
|
+
properties: {
|
|
944
|
+
include: {
|
|
945
|
+
type: string;
|
|
946
|
+
items: {
|
|
947
|
+
type: string;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
exclude: {
|
|
951
|
+
type: string;
|
|
952
|
+
items: {
|
|
953
|
+
type: string;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
context: {
|
|
959
|
+
type: string;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
} | {
|
|
963
|
+
type: string;
|
|
964
|
+
items: {
|
|
965
|
+
type: string;
|
|
966
|
+
additionalProperties: {
|
|
967
|
+
type: string;
|
|
968
|
+
};
|
|
969
|
+
required: string[];
|
|
970
|
+
properties: {
|
|
971
|
+
name: {
|
|
972
|
+
type: string;
|
|
973
|
+
};
|
|
974
|
+
type: {
|
|
975
|
+
type: string;
|
|
976
|
+
};
|
|
977
|
+
counters: {
|
|
978
|
+
type: string;
|
|
979
|
+
additionalProperties: boolean;
|
|
980
|
+
required: never[];
|
|
981
|
+
properties: {
|
|
982
|
+
include: {
|
|
983
|
+
type: string;
|
|
984
|
+
items: {
|
|
985
|
+
type: string;
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
exclude: {
|
|
989
|
+
type: string;
|
|
990
|
+
items: {
|
|
991
|
+
type: string;
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
context: {
|
|
997
|
+
type: string;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
})[];
|
|
1002
|
+
};
|
|
760
1003
|
};
|
|
761
1004
|
} | {
|
|
762
1005
|
type: string;
|
|
@@ -294,6 +294,87 @@ export declare const HeaderSliderBlock: {
|
|
|
294
294
|
type: string;
|
|
295
295
|
})[];
|
|
296
296
|
};
|
|
297
|
+
fullscreen: {
|
|
298
|
+
type: string;
|
|
299
|
+
};
|
|
300
|
+
analyticsEvents: {
|
|
301
|
+
anyOf: ({
|
|
302
|
+
type: string;
|
|
303
|
+
additionalProperties: {
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
|
+
required: string[];
|
|
307
|
+
properties: {
|
|
308
|
+
name: {
|
|
309
|
+
type: string;
|
|
310
|
+
};
|
|
311
|
+
type: {
|
|
312
|
+
type: string;
|
|
313
|
+
};
|
|
314
|
+
counters: {
|
|
315
|
+
type: string;
|
|
316
|
+
additionalProperties: boolean;
|
|
317
|
+
required: never[];
|
|
318
|
+
properties: {
|
|
319
|
+
include: {
|
|
320
|
+
type: string;
|
|
321
|
+
items: {
|
|
322
|
+
type: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
exclude: {
|
|
326
|
+
type: string;
|
|
327
|
+
items: {
|
|
328
|
+
type: string;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
context: {
|
|
334
|
+
type: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
} | {
|
|
338
|
+
type: string;
|
|
339
|
+
items: {
|
|
340
|
+
type: string;
|
|
341
|
+
additionalProperties: {
|
|
342
|
+
type: string;
|
|
343
|
+
};
|
|
344
|
+
required: string[];
|
|
345
|
+
properties: {
|
|
346
|
+
name: {
|
|
347
|
+
type: string;
|
|
348
|
+
};
|
|
349
|
+
type: {
|
|
350
|
+
type: string;
|
|
351
|
+
};
|
|
352
|
+
counters: {
|
|
353
|
+
type: string;
|
|
354
|
+
additionalProperties: boolean;
|
|
355
|
+
required: never[];
|
|
356
|
+
properties: {
|
|
357
|
+
include: {
|
|
358
|
+
type: string;
|
|
359
|
+
items: {
|
|
360
|
+
type: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
exclude: {
|
|
364
|
+
type: string;
|
|
365
|
+
items: {
|
|
366
|
+
type: string;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
context: {
|
|
372
|
+
type: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
})[];
|
|
377
|
+
};
|
|
297
378
|
};
|
|
298
379
|
} | {
|
|
299
380
|
type: string;
|