@gravity-ui/page-constructor 3.4.0 → 3.5.0-alpha.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 +0 -27
- package/README.md +0 -2
- package/build/cjs/blocks/Banner/schema.d.ts +21 -63
- package/build/cjs/blocks/CardLayout/schema.d.ts +4 -10
- package/build/cjs/blocks/Companies/schema.d.ts +2 -5
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +2 -3
- package/build/cjs/blocks/ContentLayout/schema.d.ts +61 -107
- package/build/cjs/blocks/ContentLayout/schema.js +18 -23
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -31
- package/build/cjs/blocks/ExtendedFeatures/schema.js +3 -2
- package/build/cjs/blocks/FilterBlock/schema.d.ts +5 -13
- package/build/cjs/blocks/FilterBlock/schema.js +2 -13
- package/build/cjs/blocks/Header/Header.css +7 -6
- package/build/cjs/blocks/Header/schema.d.ts +36 -92
- package/build/cjs/blocks/Header/schema.js +0 -1
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +53 -48
- package/build/cjs/blocks/HeaderSlider/schema.js +1 -3
- package/build/cjs/blocks/Icons/schema.d.ts +1 -3
- package/build/cjs/blocks/Icons/schema.js +1 -2
- package/build/cjs/blocks/Info/schema.d.ts +8 -19
- package/build/cjs/blocks/Map/schema.d.ts +6 -17
- package/build/cjs/blocks/Media/schema.d.ts +152 -204
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +0 -1
- package/build/cjs/blocks/Questions/schema.d.ts +3 -7
- package/build/cjs/blocks/Slider/schema.d.ts +18 -13
- package/build/cjs/blocks/Slider/schema.js +5 -4
- package/build/cjs/blocks/Table/schema.d.ts +2 -5
- package/build/cjs/blocks/Table/schema.js +2 -12
- package/build/cjs/blocks/Tabs/schema.d.ts +16 -43
- package/build/cjs/components/BlockBase/BlockBase.js +2 -2
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/schema.d.ts +0 -1
- package/build/cjs/components/Image/schema.js +2 -3
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +6 -5
- package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.css +1 -1
- package/build/cjs/editor/Components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
- package/build/cjs/editor/Components/EditBlock/EditBlock.d.ts +4 -0
- package/build/cjs/editor/Components/EditBlock/EditBlock.js +32 -0
- package/build/cjs/editor/Containers/Editor.d.ts +2 -0
- package/build/cjs/editor/Containers/Editor.js +24 -0
- package/build/cjs/editor/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +11 -10
- package/build/cjs/editor/store/index.js +15 -66
- package/build/cjs/editor/store/reducer.d.ts +9 -24
- package/build/cjs/editor/store/reducer.js +31 -17
- package/build/cjs/editor/store/utils.d.ts +0 -1
- package/build/cjs/editor/store/utils.js +1 -3
- package/build/cjs/editor/types/index.d.ts +9 -15
- package/build/cjs/editor/types/index.js +0 -6
- package/build/cjs/editor/utils/index.d.ts +3 -4
- package/build/cjs/editor/utils/index.js +4 -6
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +8 -13
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +8 -3
- package/build/cjs/models/navigation.d.ts +0 -1
- package/build/cjs/navigation/components/Header/Header.css +0 -2
- package/build/cjs/navigation/components/Header/Header.js +4 -15
- package/build/cjs/navigation/schema.d.ts +0 -1
- package/build/cjs/schema/index.d.ts +228 -9
- package/build/cjs/schema/index.js +46 -8
- package/build/cjs/schema/validators/common.d.ts +27 -71
- package/build/cjs/schema/validators/common.js +17 -50
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -12
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +3 -8
- package/build/cjs/sub-blocks/Content/schema.d.ts +6 -14
- package/build/cjs/sub-blocks/Content/schema.js +1 -9
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +9 -23
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +6 -16
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -5
- package/build/cjs/sub-blocks/Quote/schema.d.ts +2 -6
- package/build/cjs/text-transform/utils.js +6 -1
- package/build/esm/blocks/Banner/schema.d.ts +21 -63
- package/build/esm/blocks/CardLayout/schema.d.ts +4 -10
- package/build/esm/blocks/Companies/schema.d.ts +2 -5
- package/build/esm/blocks/ContentLayout/ContentLayout.js +2 -3
- package/build/esm/blocks/ContentLayout/schema.d.ts +61 -107
- package/build/esm/blocks/ContentLayout/schema.js +18 -23
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -31
- package/build/esm/blocks/ExtendedFeatures/schema.js +4 -3
- package/build/esm/blocks/FilterBlock/schema.d.ts +5 -13
- package/build/esm/blocks/FilterBlock/schema.js +2 -13
- package/build/esm/blocks/Header/Header.css +7 -6
- package/build/esm/blocks/Header/schema.d.ts +36 -92
- package/build/esm/blocks/Header/schema.js +0 -1
- package/build/esm/blocks/HeaderSlider/schema.d.ts +53 -48
- package/build/esm/blocks/HeaderSlider/schema.js +1 -2
- package/build/esm/blocks/Icons/schema.d.ts +1 -3
- package/build/esm/blocks/Icons/schema.js +1 -2
- package/build/esm/blocks/Info/schema.d.ts +8 -19
- package/build/esm/blocks/Map/schema.d.ts +6 -17
- package/build/esm/blocks/Media/schema.d.ts +152 -204
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +0 -1
- package/build/esm/blocks/Questions/schema.d.ts +3 -7
- package/build/esm/blocks/Slider/schema.d.ts +18 -13
- package/build/esm/blocks/Slider/schema.js +5 -4
- package/build/esm/blocks/Table/schema.d.ts +2 -5
- package/build/esm/blocks/Table/schema.js +2 -12
- package/build/esm/blocks/Tabs/schema.d.ts +16 -43
- package/build/esm/components/BlockBase/BlockBase.js +2 -2
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/schema.d.ts +0 -1
- package/build/esm/components/Image/schema.js +2 -3
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +6 -6
- package/build/esm/editor/{components → Components}/AddBlock/AddBlock.css +1 -1
- package/build/esm/editor/Components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
- package/build/esm/editor/Components/EditBlock/EditBlock.d.ts +5 -0
- package/build/esm/editor/Components/EditBlock/EditBlock.js +30 -0
- package/build/esm/editor/Containers/Editor.d.ts +2 -0
- package/build/esm/editor/Containers/Editor.js +20 -0
- package/build/esm/editor/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +11 -10
- package/build/esm/editor/store/index.js +17 -68
- package/build/esm/editor/store/reducer.d.ts +9 -24
- package/build/esm/editor/store/reducer.js +29 -15
- package/build/esm/editor/store/utils.d.ts +0 -1
- package/build/esm/editor/store/utils.js +0 -1
- package/build/esm/editor/types/index.d.ts +9 -15
- package/build/esm/editor/types/index.js +1 -5
- package/build/esm/editor/utils/index.d.ts +3 -4
- package/build/esm/editor/utils/index.js +3 -4
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +8 -13
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +8 -3
- package/build/esm/models/navigation.d.ts +0 -1
- package/build/esm/navigation/components/Header/Header.css +0 -2
- package/build/esm/navigation/components/Header/Header.js +5 -16
- package/build/esm/navigation/schema.d.ts +0 -1
- package/build/esm/schema/index.d.ts +228 -9
- package/build/esm/schema/index.js +42 -4
- package/build/esm/schema/validators/common.d.ts +27 -71
- package/build/esm/schema/validators/common.js +16 -49
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -12
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +3 -8
- package/build/esm/sub-blocks/Content/schema.d.ts +6 -14
- package/build/esm/sub-blocks/Content/schema.js +1 -9
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +9 -23
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +6 -16
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +1 -5
- package/build/esm/sub-blocks/Quote/schema.d.ts +2 -6
- package/build/esm/text-transform/utils.js +6 -1
- package/package.json +4 -5
- package/server/models/constructor-items/blocks.d.ts +8 -13
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +8 -3
- package/server/models/navigation.d.ts +0 -1
- package/server/text-transform/utils.js +6 -1
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +0 -7
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +0 -12
- package/build/cjs/editor/components/BlockForm/BlockForm.js +0 -33
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +0 -26
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +0 -8
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +0 -24
- package/build/cjs/editor/components/ControlPanel/i18n/en.json +0 -3
- package/build/cjs/editor/components/ControlPanel/i18n/index.d.ts +0 -2
- package/build/cjs/editor/components/ControlPanel/i18n/index.js +0 -8
- package/build/cjs/editor/components/ControlPanel/i18n/ru.json +0 -3
- package/build/cjs/editor/components/EditBlock/EditBlock.d.ts +0 -13
- package/build/cjs/editor/components/EditBlock/EditBlock.js +0 -44
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -13
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +0 -35
- package/build/cjs/editor/components/ErrorBoundary/i18n/en.json +0 -4
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +0 -8
- package/build/cjs/editor/components/ErrorBoundary/i18n/ru.json +0 -4
- package/build/cjs/editor/components/Layout/Layout.css +0 -36
- package/build/cjs/editor/components/Layout/Layout.d.ts +0 -16
- package/build/cjs/editor/components/Layout/Layout.js +0 -34
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.js +0 -17
- package/build/cjs/editor/containers/Editor/Editor.d.ts +0 -2
- package/build/cjs/editor/containers/Editor/Editor.js +0 -40
- package/build/cjs/editor/containers/Form/Form.css +0 -94
- package/build/cjs/editor/containers/Form/Form.d.ts +0 -11
- package/build/cjs/editor/containers/Form/Form.js +0 -47
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -19
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -72
- package/build/cjs/editor/dynamic-forms-custom/config.d.ts +0 -2
- package/build/cjs/editor/dynamic-forms-custom/config.js +0 -13
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -75
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.js +0 -36
- package/build/cjs/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
- package/build/cjs/editor/dynamic-forms-custom/parser/index.js +0 -188
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
- package/build/cjs/editor/dynamic-forms-custom/parser/types.js +0 -2
- package/build/cjs/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
- package/build/cjs/editor/dynamic-forms-custom/parser/views.js +0 -46
- package/build/cjs/editor/hooks/useFormSpec.d.ts +0 -2
- package/build/cjs/editor/hooks/useFormSpec.js +0 -13
- package/build/cjs/editor/hooks/usePreviousValue.d.ts +0 -1
- package/build/cjs/editor/hooks/usePreviousValue.js +0 -11
- package/build/cjs/editor/styles/root.css +0 -5
- package/build/cjs/schema/constants.d.ts +0 -908
- package/build/cjs/schema/constants.js +0 -42
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +0 -8
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +0 -12
- package/build/esm/editor/components/BlockForm/BlockForm.js +0 -30
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +0 -26
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +0 -9
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +0 -22
- package/build/esm/editor/components/ControlPanel/i18n/en.json +0 -3
- package/build/esm/editor/components/ControlPanel/i18n/index.d.ts +0 -2
- package/build/esm/editor/components/ControlPanel/i18n/index.js +0 -5
- package/build/esm/editor/components/ControlPanel/i18n/ru.json +0 -3
- package/build/esm/editor/components/EditBlock/EditBlock.d.ts +0 -14
- package/build/esm/editor/components/EditBlock/EditBlock.js +0 -41
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -14
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +0 -31
- package/build/esm/editor/components/ErrorBoundary/i18n/en.json +0 -4
- package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
- package/build/esm/editor/components/ErrorBoundary/i18n/index.js +0 -5
- package/build/esm/editor/components/ErrorBoundary/i18n/ru.json +0 -4
- package/build/esm/editor/components/Layout/Layout.css +0 -36
- package/build/esm/editor/components/Layout/Layout.d.ts +0 -17
- package/build/esm/editor/components/Layout/Layout.js +0 -32
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.js +0 -13
- package/build/esm/editor/containers/Editor/Editor.d.ts +0 -2
- package/build/esm/editor/containers/Editor/Editor.js +0 -36
- package/build/esm/editor/containers/Form/Form.css +0 -94
- package/build/esm/editor/containers/Form/Form.d.ts +0 -12
- package/build/esm/editor/containers/Form/Form.js +0 -45
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -20
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -68
- package/build/esm/editor/dynamic-forms-custom/config.d.ts +0 -2
- package/build/esm/editor/dynamic-forms-custom/config.js +0 -9
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -69
- package/build/esm/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
- package/build/esm/editor/dynamic-forms-custom/parser/detect.js +0 -32
- package/build/esm/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
- package/build/esm/editor/dynamic-forms-custom/parser/index.js +0 -186
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
- package/build/esm/editor/dynamic-forms-custom/parser/types.js +0 -1
- package/build/esm/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
- package/build/esm/editor/dynamic-forms-custom/parser/views.js +0 -39
- package/build/esm/editor/hooks/useFormSpec.d.ts +0 -2
- package/build/esm/editor/hooks/useFormSpec.js +0 -9
- package/build/esm/editor/hooks/usePreviousValue.d.ts +0 -1
- package/build/esm/editor/hooks/usePreviousValue.js +0 -8
- package/build/esm/editor/styles/root.css +0 -5
- package/build/esm/schema/constants.d.ts +0 -908
- package/build/esm/schema/constants.js +0 -39
- /package/build/cjs/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
- /package/build/esm/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export declare const ContentBase: {
|
|
2
2
|
title: {
|
|
3
3
|
oneOf: ({
|
|
4
|
-
type: string;
|
|
5
|
-
contentType: string;
|
|
6
|
-
optionName: string;
|
|
7
|
-
} | {
|
|
8
|
-
optionName: string;
|
|
9
4
|
type: string;
|
|
10
5
|
additionalProperties: boolean;
|
|
11
6
|
required: string[];
|
|
@@ -25,13 +20,14 @@ export declare const ContentBase: {
|
|
|
25
20
|
type: string;
|
|
26
21
|
};
|
|
27
22
|
};
|
|
28
|
-
|
|
23
|
+
} | {
|
|
24
|
+
type: string;
|
|
25
|
+
contentType: string;
|
|
29
26
|
})[];
|
|
30
27
|
};
|
|
31
28
|
text: {
|
|
32
29
|
type: string;
|
|
33
30
|
contentType: string;
|
|
34
|
-
inputType: string;
|
|
35
31
|
};
|
|
36
32
|
additionalInfo: {
|
|
37
33
|
type: string;
|
|
@@ -78,11 +74,6 @@ export declare const ContentBlock: {
|
|
|
78
74
|
};
|
|
79
75
|
title: {
|
|
80
76
|
oneOf: ({
|
|
81
|
-
type: string;
|
|
82
|
-
contentType: string;
|
|
83
|
-
optionName: string;
|
|
84
|
-
} | {
|
|
85
|
-
optionName: string;
|
|
86
77
|
type: string;
|
|
87
78
|
additionalProperties: boolean;
|
|
88
79
|
required: string[];
|
|
@@ -102,13 +93,14 @@ export declare const ContentBlock: {
|
|
|
102
93
|
type: string;
|
|
103
94
|
};
|
|
104
95
|
};
|
|
105
|
-
|
|
96
|
+
} | {
|
|
97
|
+
type: string;
|
|
98
|
+
contentType: string;
|
|
106
99
|
})[];
|
|
107
100
|
};
|
|
108
101
|
text: {
|
|
109
102
|
type: string;
|
|
110
103
|
contentType: string;
|
|
111
|
-
inputType: string;
|
|
112
104
|
};
|
|
113
105
|
additionalInfo: {
|
|
114
106
|
type: string;
|
|
@@ -5,19 +5,11 @@ const common_1 = require("../../schema/validators/common");
|
|
|
5
5
|
const utils_1 = require("../../schema/validators/utils");
|
|
6
6
|
exports.ContentBase = {
|
|
7
7
|
title: {
|
|
8
|
-
oneOf: [
|
|
9
|
-
{
|
|
10
|
-
type: 'string',
|
|
11
|
-
contentType: 'text',
|
|
12
|
-
optionName: 'text',
|
|
13
|
-
},
|
|
14
|
-
Object.assign(Object.assign({}, common_1.TitleProps), { optionName: 'options' }),
|
|
15
|
-
],
|
|
8
|
+
oneOf: [{ type: 'string', contentType: 'text' }, common_1.TitleProps],
|
|
16
9
|
},
|
|
17
10
|
text: {
|
|
18
11
|
type: 'string',
|
|
19
12
|
contentType: 'yfm',
|
|
20
|
-
inputType: 'textarea',
|
|
21
13
|
},
|
|
22
14
|
additionalInfo: {
|
|
23
15
|
type: 'string',
|
|
@@ -8,8 +8,7 @@ export declare const LayoutItem: {
|
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
10
|
image: {
|
|
11
|
-
|
|
12
|
-
optionName: string;
|
|
11
|
+
anyOf: ({
|
|
13
12
|
oneOf: ({
|
|
14
13
|
type: string;
|
|
15
14
|
properties: {
|
|
@@ -20,10 +19,7 @@ export declare const LayoutItem: {
|
|
|
20
19
|
} | {
|
|
21
20
|
type: string;
|
|
22
21
|
pattern: string;
|
|
23
|
-
optionName: string;
|
|
24
22
|
})[];
|
|
25
|
-
type?: undefined;
|
|
26
|
-
items?: undefined;
|
|
27
23
|
} | {
|
|
28
24
|
type: string;
|
|
29
25
|
items: {
|
|
@@ -37,10 +33,8 @@ export declare const LayoutItem: {
|
|
|
37
33
|
} | {
|
|
38
34
|
type: string;
|
|
39
35
|
pattern: string;
|
|
40
|
-
optionName: string;
|
|
41
36
|
})[];
|
|
42
37
|
};
|
|
43
|
-
optionName: string;
|
|
44
38
|
})[];
|
|
45
39
|
};
|
|
46
40
|
video: {
|
|
@@ -55,8 +49,7 @@ export declare const LayoutItem: {
|
|
|
55
49
|
};
|
|
56
50
|
};
|
|
57
51
|
loop: {
|
|
58
|
-
|
|
59
|
-
optionName: string;
|
|
52
|
+
anyOf: ({
|
|
60
53
|
type: string;
|
|
61
54
|
additionalProperties: boolean;
|
|
62
55
|
required: string[];
|
|
@@ -70,7 +63,6 @@ export declare const LayoutItem: {
|
|
|
70
63
|
};
|
|
71
64
|
} | {
|
|
72
65
|
type: string;
|
|
73
|
-
optionName: string;
|
|
74
66
|
})[];
|
|
75
67
|
};
|
|
76
68
|
type: {
|
|
@@ -80,13 +72,13 @@ export declare const LayoutItem: {
|
|
|
80
72
|
muted: {
|
|
81
73
|
type: string;
|
|
82
74
|
};
|
|
83
|
-
|
|
75
|
+
playing: {
|
|
84
76
|
type: string;
|
|
85
77
|
};
|
|
86
78
|
elapsedTime: {
|
|
87
79
|
type: string;
|
|
88
80
|
};
|
|
89
|
-
|
|
81
|
+
playIcon: {
|
|
90
82
|
type: string;
|
|
91
83
|
additionalProperties: boolean;
|
|
92
84
|
properties: {
|
|
@@ -124,10 +116,6 @@ export declare const LayoutItem: {
|
|
|
124
116
|
};
|
|
125
117
|
dataLens: {
|
|
126
118
|
oneOf: ({
|
|
127
|
-
type: string;
|
|
128
|
-
optionName: string;
|
|
129
|
-
} | {
|
|
130
|
-
optionName: string;
|
|
131
119
|
type: string;
|
|
132
120
|
additionalProperties: boolean;
|
|
133
121
|
required: string[];
|
|
@@ -140,6 +128,8 @@ export declare const LayoutItem: {
|
|
|
140
128
|
enum: string[];
|
|
141
129
|
};
|
|
142
130
|
};
|
|
131
|
+
} | {
|
|
132
|
+
type: string;
|
|
143
133
|
})[];
|
|
144
134
|
};
|
|
145
135
|
fullscreen: {
|
|
@@ -227,11 +217,6 @@ export declare const LayoutItem: {
|
|
|
227
217
|
content: Partial<{
|
|
228
218
|
title: {
|
|
229
219
|
oneOf: ({
|
|
230
|
-
type: string;
|
|
231
|
-
contentType: string;
|
|
232
|
-
optionName: string;
|
|
233
|
-
} | {
|
|
234
|
-
optionName: string;
|
|
235
220
|
type: string;
|
|
236
221
|
additionalProperties: boolean;
|
|
237
222
|
required: string[];
|
|
@@ -251,13 +236,14 @@ export declare const LayoutItem: {
|
|
|
251
236
|
type: string;
|
|
252
237
|
};
|
|
253
238
|
};
|
|
254
|
-
|
|
239
|
+
} | {
|
|
240
|
+
type: string;
|
|
241
|
+
contentType: string;
|
|
255
242
|
})[];
|
|
256
243
|
};
|
|
257
244
|
text: {
|
|
258
245
|
type: string;
|
|
259
246
|
contentType: string;
|
|
260
|
-
inputType: string;
|
|
261
247
|
};
|
|
262
248
|
additionalInfo: {
|
|
263
249
|
type: string;
|
|
@@ -10,8 +10,7 @@ export declare const MediaCardBlock: {
|
|
|
10
10
|
type: string;
|
|
11
11
|
};
|
|
12
12
|
image: {
|
|
13
|
-
|
|
14
|
-
optionName: string;
|
|
13
|
+
anyOf: ({
|
|
15
14
|
oneOf: ({
|
|
16
15
|
type: string;
|
|
17
16
|
properties: {
|
|
@@ -22,10 +21,7 @@ export declare const MediaCardBlock: {
|
|
|
22
21
|
} | {
|
|
23
22
|
type: string;
|
|
24
23
|
pattern: string;
|
|
25
|
-
optionName: string;
|
|
26
24
|
})[];
|
|
27
|
-
type?: undefined;
|
|
28
|
-
items?: undefined;
|
|
29
25
|
} | {
|
|
30
26
|
type: string;
|
|
31
27
|
items: {
|
|
@@ -39,10 +35,8 @@ export declare const MediaCardBlock: {
|
|
|
39
35
|
} | {
|
|
40
36
|
type: string;
|
|
41
37
|
pattern: string;
|
|
42
|
-
optionName: string;
|
|
43
38
|
})[];
|
|
44
39
|
};
|
|
45
|
-
optionName: string;
|
|
46
40
|
})[];
|
|
47
41
|
};
|
|
48
42
|
video: {
|
|
@@ -57,8 +51,7 @@ export declare const MediaCardBlock: {
|
|
|
57
51
|
};
|
|
58
52
|
};
|
|
59
53
|
loop: {
|
|
60
|
-
|
|
61
|
-
optionName: string;
|
|
54
|
+
anyOf: ({
|
|
62
55
|
type: string;
|
|
63
56
|
additionalProperties: boolean;
|
|
64
57
|
required: string[];
|
|
@@ -72,7 +65,6 @@ export declare const MediaCardBlock: {
|
|
|
72
65
|
};
|
|
73
66
|
} | {
|
|
74
67
|
type: string;
|
|
75
|
-
optionName: string;
|
|
76
68
|
})[];
|
|
77
69
|
};
|
|
78
70
|
type: {
|
|
@@ -82,13 +74,13 @@ export declare const MediaCardBlock: {
|
|
|
82
74
|
muted: {
|
|
83
75
|
type: string;
|
|
84
76
|
};
|
|
85
|
-
|
|
77
|
+
playing: {
|
|
86
78
|
type: string;
|
|
87
79
|
};
|
|
88
80
|
elapsedTime: {
|
|
89
81
|
type: string;
|
|
90
82
|
};
|
|
91
|
-
|
|
83
|
+
playIcon: {
|
|
92
84
|
type: string;
|
|
93
85
|
additionalProperties: boolean;
|
|
94
86
|
properties: {
|
|
@@ -126,10 +118,6 @@ export declare const MediaCardBlock: {
|
|
|
126
118
|
};
|
|
127
119
|
dataLens: {
|
|
128
120
|
oneOf: ({
|
|
129
|
-
type: string;
|
|
130
|
-
optionName: string;
|
|
131
|
-
} | {
|
|
132
|
-
optionName: string;
|
|
133
121
|
type: string;
|
|
134
122
|
additionalProperties: boolean;
|
|
135
123
|
required: string[];
|
|
@@ -142,6 +130,8 @@ export declare const MediaCardBlock: {
|
|
|
142
130
|
enum: string[];
|
|
143
131
|
};
|
|
144
132
|
};
|
|
133
|
+
} | {
|
|
134
|
+
type: string;
|
|
145
135
|
})[];
|
|
146
136
|
};
|
|
147
137
|
fullscreen: {
|
|
@@ -127,10 +127,7 @@ const PriceDetailsListProps = {
|
|
|
127
127
|
};
|
|
128
128
|
const PriceDetailsProps = {
|
|
129
129
|
items: {
|
|
130
|
-
|
|
131
|
-
Object.assign(Object.assign({}, (0, utils_1.filteredArray)(Object.assign({}, PriceDetailsListProps))), { optionName: 'marked-list' }),
|
|
132
|
-
Object.assign(Object.assign({}, (0, utils_1.filteredArray)(Object.assign({}, PriceDetailsSettingsProps))), { optionName: 'settings' }),
|
|
133
|
-
],
|
|
130
|
+
anyOf: [(0, utils_1.filteredArray)(PriceDetailsListProps), (0, utils_1.filteredArray)(PriceDetailsSettingsProps)],
|
|
134
131
|
},
|
|
135
132
|
};
|
|
136
133
|
const PriceItem = {
|
|
@@ -146,7 +143,6 @@ exports.PriceDetailedBlock = {
|
|
|
146
143
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { items: (0, utils_1.filteredArray)(PriceItem), description: PriceDetailedDescriptionProps, details: PriceDetailedDetailsProps, priceType: {
|
|
147
144
|
type: 'string',
|
|
148
145
|
enum: PriceDetailedDetailsType,
|
|
149
|
-
default: 'settings',
|
|
150
146
|
}, numberGroupItems: {
|
|
151
147
|
type: 'number',
|
|
152
148
|
enum: [3, 4, 5],
|
|
@@ -8,7 +8,7 @@ export declare const Quote: {
|
|
|
8
8
|
contentType: string;
|
|
9
9
|
};
|
|
10
10
|
image: {
|
|
11
|
-
oneOf: (
|
|
11
|
+
oneOf: ({
|
|
12
12
|
oneOf: ({
|
|
13
13
|
type: string;
|
|
14
14
|
properties: {
|
|
@@ -19,16 +19,12 @@ export declare const Quote: {
|
|
|
19
19
|
} | {
|
|
20
20
|
type: string;
|
|
21
21
|
pattern: string;
|
|
22
|
-
optionName: string;
|
|
23
22
|
})[];
|
|
24
|
-
}
|
|
25
|
-
optionName: string;
|
|
26
|
-
}) | {
|
|
23
|
+
} | {
|
|
27
24
|
type: string;
|
|
28
25
|
additionalProperties: boolean;
|
|
29
26
|
required: import("../..").Theme[];
|
|
30
27
|
properties: {};
|
|
31
|
-
optionName: string;
|
|
32
28
|
})[];
|
|
33
29
|
};
|
|
34
30
|
logo: {
|
|
@@ -26,7 +26,12 @@ exports.DEFAULT_ALLOWED_TAGS = [
|
|
|
26
26
|
];
|
|
27
27
|
exports.typografConfig = {
|
|
28
28
|
enabled: ['common/nbsp/afterNumber', 'common/nbsp/afterParagraphMark'],
|
|
29
|
-
disabled: [
|
|
29
|
+
disabled: [
|
|
30
|
+
'common/symbols/cf',
|
|
31
|
+
'ru/other/phone-number',
|
|
32
|
+
'common/space/afterColon',
|
|
33
|
+
'common/space/afterSemicolon',
|
|
34
|
+
],
|
|
30
35
|
};
|
|
31
36
|
exports.sanitizeStripOptions = {
|
|
32
37
|
allowedTags: [],
|
|
@@ -11,32 +11,26 @@ export declare const BannerCardProps: {
|
|
|
11
11
|
contentType: string;
|
|
12
12
|
};
|
|
13
13
|
image: {
|
|
14
|
-
oneOf: (
|
|
14
|
+
oneOf: ({
|
|
15
15
|
type: string;
|
|
16
|
-
}
|
|
17
|
-
optionName: string;
|
|
18
|
-
}) | {
|
|
16
|
+
} | {
|
|
19
17
|
type: string;
|
|
20
18
|
additionalProperties: boolean;
|
|
21
19
|
required: import("../..").Theme[];
|
|
22
20
|
properties: {};
|
|
23
|
-
optionName: string;
|
|
24
21
|
})[];
|
|
25
22
|
};
|
|
26
23
|
disableCompress: {
|
|
27
24
|
type: string;
|
|
28
25
|
};
|
|
29
26
|
color: {
|
|
30
|
-
oneOf: (
|
|
27
|
+
oneOf: ({
|
|
31
28
|
type: string;
|
|
32
|
-
}
|
|
33
|
-
optionName: string;
|
|
34
|
-
}) | {
|
|
29
|
+
} | {
|
|
35
30
|
type: string;
|
|
36
31
|
additionalProperties: boolean;
|
|
37
32
|
required: import("../..").Theme[];
|
|
38
33
|
properties: {};
|
|
39
|
-
optionName: string;
|
|
40
34
|
})[];
|
|
41
35
|
};
|
|
42
36
|
theme: {
|
|
@@ -70,9 +64,8 @@ export declare const BannerCardProps: {
|
|
|
70
64
|
enum: string[];
|
|
71
65
|
};
|
|
72
66
|
img: {
|
|
73
|
-
|
|
67
|
+
anyOf: ({
|
|
74
68
|
type: string;
|
|
75
|
-
optionName: string;
|
|
76
69
|
additionalProperties?: undefined;
|
|
77
70
|
required?: undefined;
|
|
78
71
|
properties?: undefined;
|
|
@@ -93,13 +86,11 @@ export declare const BannerCardProps: {
|
|
|
93
86
|
contentType: string;
|
|
94
87
|
};
|
|
95
88
|
};
|
|
96
|
-
optionName: string;
|
|
97
89
|
})[];
|
|
98
90
|
};
|
|
99
91
|
metrikaGoals: {
|
|
100
|
-
|
|
92
|
+
anyOf: ({
|
|
101
93
|
type: string;
|
|
102
|
-
optionName: string;
|
|
103
94
|
items?: undefined;
|
|
104
95
|
} | {
|
|
105
96
|
type: string;
|
|
@@ -109,7 +100,6 @@ export declare const BannerCardProps: {
|
|
|
109
100
|
required?: undefined;
|
|
110
101
|
properties?: undefined;
|
|
111
102
|
};
|
|
112
|
-
optionName: string;
|
|
113
103
|
} | {
|
|
114
104
|
type: string;
|
|
115
105
|
items: {
|
|
@@ -125,7 +115,6 @@ export declare const BannerCardProps: {
|
|
|
125
115
|
};
|
|
126
116
|
};
|
|
127
117
|
};
|
|
128
|
-
optionName: string;
|
|
129
118
|
})[];
|
|
130
119
|
};
|
|
131
120
|
pixelEvents: {
|
|
@@ -185,8 +174,7 @@ export declare const BannerCardProps: {
|
|
|
185
174
|
};
|
|
186
175
|
};
|
|
187
176
|
analyticsEvents: {
|
|
188
|
-
|
|
189
|
-
optionName: string;
|
|
177
|
+
anyOf: ({
|
|
190
178
|
type: string;
|
|
191
179
|
additionalProperties: {
|
|
192
180
|
type: string;
|
|
@@ -222,7 +210,6 @@ export declare const BannerCardProps: {
|
|
|
222
210
|
type: string;
|
|
223
211
|
};
|
|
224
212
|
};
|
|
225
|
-
items?: undefined;
|
|
226
213
|
} | {
|
|
227
214
|
type: string;
|
|
228
215
|
items: {
|
|
@@ -262,7 +249,6 @@ export declare const BannerCardProps: {
|
|
|
262
249
|
};
|
|
263
250
|
};
|
|
264
251
|
};
|
|
265
|
-
optionName: string;
|
|
266
252
|
})[];
|
|
267
253
|
};
|
|
268
254
|
target: {
|
|
@@ -305,32 +291,26 @@ export declare const BannerBlock: {
|
|
|
305
291
|
contentType: string;
|
|
306
292
|
};
|
|
307
293
|
image: {
|
|
308
|
-
oneOf: (
|
|
294
|
+
oneOf: ({
|
|
309
295
|
type: string;
|
|
310
|
-
}
|
|
311
|
-
optionName: string;
|
|
312
|
-
}) | {
|
|
296
|
+
} | {
|
|
313
297
|
type: string;
|
|
314
298
|
additionalProperties: boolean;
|
|
315
299
|
required: import("../..").Theme[];
|
|
316
300
|
properties: {};
|
|
317
|
-
optionName: string;
|
|
318
301
|
})[];
|
|
319
302
|
};
|
|
320
303
|
disableCompress: {
|
|
321
304
|
type: string;
|
|
322
305
|
};
|
|
323
306
|
color: {
|
|
324
|
-
oneOf: (
|
|
307
|
+
oneOf: ({
|
|
325
308
|
type: string;
|
|
326
|
-
}
|
|
327
|
-
optionName: string;
|
|
328
|
-
}) | {
|
|
309
|
+
} | {
|
|
329
310
|
type: string;
|
|
330
311
|
additionalProperties: boolean;
|
|
331
312
|
required: import("../..").Theme[];
|
|
332
313
|
properties: {};
|
|
333
|
-
optionName: string;
|
|
334
314
|
})[];
|
|
335
315
|
};
|
|
336
316
|
theme: {
|
|
@@ -364,9 +344,8 @@ export declare const BannerBlock: {
|
|
|
364
344
|
enum: string[];
|
|
365
345
|
};
|
|
366
346
|
img: {
|
|
367
|
-
|
|
347
|
+
anyOf: ({
|
|
368
348
|
type: string;
|
|
369
|
-
optionName: string;
|
|
370
349
|
additionalProperties?: undefined;
|
|
371
350
|
required?: undefined;
|
|
372
351
|
properties?: undefined;
|
|
@@ -387,13 +366,11 @@ export declare const BannerBlock: {
|
|
|
387
366
|
contentType: string;
|
|
388
367
|
};
|
|
389
368
|
};
|
|
390
|
-
optionName: string;
|
|
391
369
|
})[];
|
|
392
370
|
};
|
|
393
371
|
metrikaGoals: {
|
|
394
|
-
|
|
372
|
+
anyOf: ({
|
|
395
373
|
type: string;
|
|
396
|
-
optionName: string;
|
|
397
374
|
items?: undefined;
|
|
398
375
|
} | {
|
|
399
376
|
type: string;
|
|
@@ -403,7 +380,6 @@ export declare const BannerBlock: {
|
|
|
403
380
|
required?: undefined;
|
|
404
381
|
properties?: undefined;
|
|
405
382
|
};
|
|
406
|
-
optionName: string;
|
|
407
383
|
} | {
|
|
408
384
|
type: string;
|
|
409
385
|
items: {
|
|
@@ -419,7 +395,6 @@ export declare const BannerBlock: {
|
|
|
419
395
|
};
|
|
420
396
|
};
|
|
421
397
|
};
|
|
422
|
-
optionName: string;
|
|
423
398
|
})[];
|
|
424
399
|
};
|
|
425
400
|
pixelEvents: {
|
|
@@ -479,8 +454,7 @@ export declare const BannerBlock: {
|
|
|
479
454
|
};
|
|
480
455
|
};
|
|
481
456
|
analyticsEvents: {
|
|
482
|
-
|
|
483
|
-
optionName: string;
|
|
457
|
+
anyOf: ({
|
|
484
458
|
type: string;
|
|
485
459
|
additionalProperties: {
|
|
486
460
|
type: string;
|
|
@@ -516,7 +490,6 @@ export declare const BannerBlock: {
|
|
|
516
490
|
type: string;
|
|
517
491
|
};
|
|
518
492
|
};
|
|
519
|
-
items?: undefined;
|
|
520
493
|
} | {
|
|
521
494
|
type: string;
|
|
522
495
|
items: {
|
|
@@ -556,7 +529,6 @@ export declare const BannerBlock: {
|
|
|
556
529
|
};
|
|
557
530
|
};
|
|
558
531
|
};
|
|
559
|
-
optionName: string;
|
|
560
532
|
})[];
|
|
561
533
|
};
|
|
562
534
|
target: {
|
|
@@ -600,32 +572,26 @@ export declare const BannerCard: {
|
|
|
600
572
|
contentType: string;
|
|
601
573
|
};
|
|
602
574
|
image: {
|
|
603
|
-
oneOf: (
|
|
575
|
+
oneOf: ({
|
|
604
576
|
type: string;
|
|
605
|
-
}
|
|
606
|
-
optionName: string;
|
|
607
|
-
}) | {
|
|
577
|
+
} | {
|
|
608
578
|
type: string;
|
|
609
579
|
additionalProperties: boolean;
|
|
610
580
|
required: import("../..").Theme[];
|
|
611
581
|
properties: {};
|
|
612
|
-
optionName: string;
|
|
613
582
|
})[];
|
|
614
583
|
};
|
|
615
584
|
disableCompress: {
|
|
616
585
|
type: string;
|
|
617
586
|
};
|
|
618
587
|
color: {
|
|
619
|
-
oneOf: (
|
|
588
|
+
oneOf: ({
|
|
620
589
|
type: string;
|
|
621
|
-
}
|
|
622
|
-
optionName: string;
|
|
623
|
-
}) | {
|
|
590
|
+
} | {
|
|
624
591
|
type: string;
|
|
625
592
|
additionalProperties: boolean;
|
|
626
593
|
required: import("../..").Theme[];
|
|
627
594
|
properties: {};
|
|
628
|
-
optionName: string;
|
|
629
595
|
})[];
|
|
630
596
|
};
|
|
631
597
|
theme: {
|
|
@@ -659,9 +625,8 @@ export declare const BannerCard: {
|
|
|
659
625
|
enum: string[];
|
|
660
626
|
};
|
|
661
627
|
img: {
|
|
662
|
-
|
|
628
|
+
anyOf: ({
|
|
663
629
|
type: string;
|
|
664
|
-
optionName: string;
|
|
665
630
|
additionalProperties?: undefined;
|
|
666
631
|
required?: undefined;
|
|
667
632
|
properties?: undefined;
|
|
@@ -682,13 +647,11 @@ export declare const BannerCard: {
|
|
|
682
647
|
contentType: string;
|
|
683
648
|
};
|
|
684
649
|
};
|
|
685
|
-
optionName: string;
|
|
686
650
|
})[];
|
|
687
651
|
};
|
|
688
652
|
metrikaGoals: {
|
|
689
|
-
|
|
653
|
+
anyOf: ({
|
|
690
654
|
type: string;
|
|
691
|
-
optionName: string;
|
|
692
655
|
items?: undefined;
|
|
693
656
|
} | {
|
|
694
657
|
type: string;
|
|
@@ -698,7 +661,6 @@ export declare const BannerCard: {
|
|
|
698
661
|
required?: undefined;
|
|
699
662
|
properties?: undefined;
|
|
700
663
|
};
|
|
701
|
-
optionName: string;
|
|
702
664
|
} | {
|
|
703
665
|
type: string;
|
|
704
666
|
items: {
|
|
@@ -714,7 +676,6 @@ export declare const BannerCard: {
|
|
|
714
676
|
};
|
|
715
677
|
};
|
|
716
678
|
};
|
|
717
|
-
optionName: string;
|
|
718
679
|
})[];
|
|
719
680
|
};
|
|
720
681
|
pixelEvents: {
|
|
@@ -774,8 +735,7 @@ export declare const BannerCard: {
|
|
|
774
735
|
};
|
|
775
736
|
};
|
|
776
737
|
analyticsEvents: {
|
|
777
|
-
|
|
778
|
-
optionName: string;
|
|
738
|
+
anyOf: ({
|
|
779
739
|
type: string;
|
|
780
740
|
additionalProperties: {
|
|
781
741
|
type: string;
|
|
@@ -811,7 +771,6 @@ export declare const BannerCard: {
|
|
|
811
771
|
type: string;
|
|
812
772
|
};
|
|
813
773
|
};
|
|
814
|
-
items?: undefined;
|
|
815
774
|
} | {
|
|
816
775
|
type: string;
|
|
817
776
|
items: {
|
|
@@ -851,7 +810,6 @@ export declare const BannerCard: {
|
|
|
851
810
|
};
|
|
852
811
|
};
|
|
853
812
|
};
|
|
854
|
-
optionName: string;
|
|
855
813
|
})[];
|
|
856
814
|
};
|
|
857
815
|
target: {
|