@gravity-ui/page-constructor 1.8.0-alfa.1 → 1.8.1
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 +23 -0
- package/README.md +58 -36
- package/build/cjs/blocks/Banner/schema.d.ts +0 -12
- package/build/cjs/blocks/Banner/schema.js +0 -2
- package/build/cjs/blocks/CardLayout/schema.d.ts +0 -8
- package/build/cjs/blocks/CardLayout/schema.js +1 -2
- package/build/cjs/blocks/Companies/schema.d.ts +0 -2
- package/build/cjs/blocks/Companies/schema.js +0 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +0 -6
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +2 -2
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +0 -7
- package/build/cjs/blocks/ExtendedFeatures/schema.js +1 -4
- package/build/cjs/blocks/Header/schema.d.ts +0 -16
- package/build/cjs/blocks/Header/schema.js +0 -5
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +0 -11
- package/build/cjs/blocks/Icons/schema.d.ts +0 -6
- package/build/cjs/blocks/Icons/schema.js +0 -2
- package/build/cjs/blocks/Info/schema.d.ts +0 -10
- package/build/cjs/blocks/Info/schema.js +0 -2
- package/build/cjs/blocks/LinkTable/schema.d.ts +0 -2
- package/build/cjs/blocks/Media/schema.d.ts +0 -9
- package/build/cjs/blocks/Media/schema.js +1 -3
- package/build/cjs/blocks/Preview/schema.d.ts +0 -2
- package/build/cjs/blocks/Preview/schema.js +0 -4
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +0 -7
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -4
- package/build/cjs/blocks/Questions/schema.d.ts +0 -5
- package/build/cjs/blocks/Questions/schema.js +0 -2
- package/build/cjs/blocks/Security/schema.d.ts +0 -2
- package/build/cjs/blocks/Security/schema.js +0 -2
- package/build/cjs/blocks/Simple/schema.d.ts +0 -3
- package/build/cjs/blocks/Simple/schema.js +0 -1
- package/build/cjs/blocks/Slider/schema.d.ts +0 -7
- package/build/cjs/blocks/Slider/schema.js +0 -2
- package/build/cjs/blocks/Table/schema.d.ts +0 -4
- package/build/cjs/blocks/Table/schema.js +0 -3
- package/build/cjs/blocks/Tabs/schema.d.ts +0 -8
- package/build/cjs/blocks/Tabs/schema.js +0 -4
- package/build/cjs/components/Author/schema.d.ts +0 -3
- package/build/cjs/components/Image/schema.d.ts +0 -2
- package/build/cjs/components/Image/schema.js +0 -2
- package/build/cjs/components/OverflowScroller/OverflowScroller.css +2 -0
- package/build/cjs/components/RouterLink/RouterLink.d.ts +1 -0
- package/build/cjs/components/index.d.ts +2 -0
- package/build/cjs/components/index.js +40 -39
- package/build/cjs/components/navigation/components/Header/Header.css +85 -0
- package/build/cjs/components/navigation/components/Header/Header.d.ts +8 -0
- package/build/cjs/components/navigation/components/Header/Header.js +55 -0
- package/build/cjs/components/navigation/components/Logo/Logo.css +23 -0
- package/build/cjs/components/navigation/components/Logo/Logo.d.ts +7 -0
- package/build/cjs/components/navigation/components/Logo/Logo.js +17 -0
- package/build/cjs/components/navigation/components/MobileNavigation/MobileNavigation.css +64 -0
- package/build/cjs/components/navigation/components/MobileNavigation/MobileNavigation.d.ts +13 -0
- package/build/cjs/components/navigation/components/MobileNavigation/MobileNavigation.js +45 -0
- package/build/cjs/components/navigation/components/Navigation/Navigation.css +43 -0
- package/build/cjs/components/navigation/components/Navigation/Navigation.d.ts +18 -0
- package/build/cjs/components/navigation/components/Navigation/Navigation.js +69 -0
- package/build/cjs/components/navigation/components/NavigationItem/NavigationItem.css +40 -0
- package/build/cjs/components/navigation/components/NavigationItem/NavigationItem.d.ts +10 -0
- package/build/cjs/components/navigation/components/NavigationItem/NavigationItem.js +59 -0
- package/build/cjs/components/navigation/components/NavigationPopup/NavigationPopup.css +33 -0
- package/build/cjs/components/navigation/components/NavigationPopup/NavigationPopup.d.ts +10 -0
- package/build/cjs/components/navigation/components/NavigationPopup/NavigationPopup.js +45 -0
- package/build/cjs/components/navigation/components/SocialIcon/SocialIcon.css +20 -0
- package/build/cjs/components/navigation/components/SocialIcon/SocialIcon.d.ts +7 -0
- package/build/cjs/components/navigation/components/SocialIcon/SocialIcon.js +14 -0
- package/build/cjs/components/navigation/components/index.d.ts +7 -0
- package/build/cjs/components/navigation/components/index.js +20 -0
- package/build/cjs/components/navigation/containers/Layout/Layout.css +10 -0
- package/build/cjs/components/navigation/containers/Layout/Layout.d.ts +8 -0
- package/build/cjs/components/navigation/containers/Layout/Layout.js +11 -0
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +3 -2
- package/build/cjs/containers/PageConstructor/PageConstructor.js +12 -10
- package/build/cjs/context/locationContext/locationContext.d.ts +1 -0
- package/build/cjs/icons/NavigationArrow.d.ts +2 -0
- package/build/cjs/icons/NavigationArrow.js +9 -0
- package/build/cjs/icons/NavigationClose.d.ts +2 -0
- package/build/cjs/icons/NavigationClose.js +9 -0
- package/build/cjs/icons/NavigationOpen.d.ts +2 -0
- package/build/cjs/icons/NavigationOpen.js +11 -0
- package/build/cjs/icons/index.d.ts +3 -0
- package/build/cjs/icons/index.js +3 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +2 -4
- package/build/cjs/models/index.d.ts +1 -0
- package/build/cjs/models/index.js +1 -0
- package/build/cjs/models/navigation.d.ts +62 -0
- package/build/cjs/models/navigation.js +10 -0
- package/build/cjs/schema/index.d.ts +0 -2
- package/build/cjs/schema/validators/common.d.ts +0 -17
- package/build/cjs/schema/validators/common.js +0 -11
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +0 -5
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +0 -4
- package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +0 -8
- package/build/cjs/sub-blocks/CardWithImage/schema.js +1 -4
- package/build/cjs/sub-blocks/Content/schema.d.ts +0 -8
- package/build/cjs/sub-blocks/Content/schema.js +1 -3
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +3 -0
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/NewsCard/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/NewsCard/schema.js +0 -1
- package/build/cjs/sub-blocks/Partner/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/Partner/schema.js +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +0 -8
- package/build/cjs/sub-blocks/Quote/schema.d.ts +0 -4
- package/build/cjs/sub-blocks/Quote/schema.js +0 -1
- package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +0 -2
- package/build/cjs/sub-blocks/TutorialCard/schema.js +0 -2
- package/build/cjs/text-transform/blocks.js +0 -1
- package/build/esm/blocks/Banner/schema.d.ts +0 -12
- package/build/esm/blocks/Banner/schema.js +0 -2
- package/build/esm/blocks/CardLayout/schema.d.ts +0 -8
- package/build/esm/blocks/CardLayout/schema.js +1 -2
- package/build/esm/blocks/Companies/schema.d.ts +0 -2
- package/build/esm/blocks/Companies/schema.js +0 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +0 -6
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +2 -2
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +0 -7
- package/build/esm/blocks/ExtendedFeatures/schema.js +1 -4
- package/build/esm/blocks/Header/schema.d.ts +0 -16
- package/build/esm/blocks/Header/schema.js +0 -5
- package/build/esm/blocks/HeaderSlider/schema.d.ts +0 -11
- package/build/esm/blocks/Icons/schema.d.ts +0 -6
- package/build/esm/blocks/Icons/schema.js +0 -2
- package/build/esm/blocks/Info/schema.d.ts +0 -10
- package/build/esm/blocks/Info/schema.js +0 -2
- package/build/esm/blocks/LinkTable/schema.d.ts +0 -2
- package/build/esm/blocks/Media/schema.d.ts +0 -9
- package/build/esm/blocks/Media/schema.js +1 -3
- package/build/esm/blocks/Preview/schema.d.ts +0 -2
- package/build/esm/blocks/Preview/schema.js +0 -4
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +0 -7
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -4
- package/build/esm/blocks/Questions/schema.d.ts +0 -5
- package/build/esm/blocks/Questions/schema.js +0 -2
- package/build/esm/blocks/Security/schema.d.ts +0 -2
- package/build/esm/blocks/Security/schema.js +0 -2
- package/build/esm/blocks/Simple/schema.d.ts +0 -3
- package/build/esm/blocks/Simple/schema.js +0 -1
- package/build/esm/blocks/Slider/schema.d.ts +0 -7
- package/build/esm/blocks/Slider/schema.js +0 -2
- package/build/esm/blocks/Table/schema.d.ts +0 -4
- package/build/esm/blocks/Table/schema.js +0 -3
- package/build/esm/blocks/Tabs/schema.d.ts +0 -8
- package/build/esm/blocks/Tabs/schema.js +0 -4
- package/build/esm/components/Author/schema.d.ts +0 -3
- package/build/esm/components/Image/schema.d.ts +0 -2
- package/build/esm/components/Image/schema.js +0 -2
- package/build/esm/components/OverflowScroller/OverflowScroller.css +2 -0
- package/build/esm/components/RouterLink/RouterLink.d.ts +1 -0
- package/build/esm/components/index.d.ts +2 -0
- package/build/esm/components/index.js +2 -0
- package/build/esm/components/navigation/components/Header/Header.css +85 -0
- package/build/esm/components/navigation/components/Header/Header.d.ts +9 -0
- package/build/esm/components/navigation/components/Header/Header.js +51 -0
- package/build/esm/components/navigation/components/Logo/Logo.css +23 -0
- package/build/esm/components/navigation/components/Logo/Logo.d.ts +8 -0
- package/build/esm/components/navigation/components/Logo/Logo.js +15 -0
- package/build/esm/components/navigation/components/MobileNavigation/MobileNavigation.css +64 -0
- package/build/esm/components/navigation/components/MobileNavigation/MobileNavigation.d.ts +14 -0
- package/build/esm/components/navigation/components/MobileNavigation/MobileNavigation.js +43 -0
- package/build/esm/components/navigation/components/Navigation/Navigation.css +43 -0
- package/build/esm/components/navigation/components/Navigation/Navigation.d.ts +19 -0
- package/build/esm/components/navigation/components/Navigation/Navigation.js +68 -0
- package/build/esm/components/navigation/components/NavigationItem/NavigationItem.css +40 -0
- package/build/esm/components/navigation/components/NavigationItem/NavigationItem.d.ts +11 -0
- package/build/esm/components/navigation/components/NavigationItem/NavigationItem.js +58 -0
- package/build/esm/components/navigation/components/NavigationPopup/NavigationPopup.css +33 -0
- package/build/esm/components/navigation/components/NavigationPopup/NavigationPopup.d.ts +11 -0
- package/build/esm/components/navigation/components/NavigationPopup/NavigationPopup.js +41 -0
- package/build/esm/components/navigation/components/SocialIcon/SocialIcon.css +20 -0
- package/build/esm/components/navigation/components/SocialIcon/SocialIcon.d.ts +8 -0
- package/build/esm/components/navigation/components/SocialIcon/SocialIcon.js +12 -0
- package/build/esm/components/navigation/components/index.d.ts +7 -0
- package/build/esm/components/navigation/components/index.js +7 -0
- package/build/esm/components/navigation/containers/Layout/Layout.css +10 -0
- package/build/esm/components/navigation/containers/Layout/Layout.d.ts +9 -0
- package/build/esm/components/navigation/containers/Layout/Layout.js +9 -0
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +3 -2
- package/build/esm/containers/PageConstructor/PageConstructor.js +12 -10
- package/build/esm/context/locationContext/locationContext.d.ts +1 -0
- package/build/esm/icons/NavigationArrow.d.ts +2 -0
- package/build/esm/icons/NavigationArrow.js +4 -0
- package/build/esm/icons/NavigationClose.d.ts +2 -0
- package/build/esm/icons/NavigationClose.js +4 -0
- package/build/esm/icons/NavigationOpen.d.ts +2 -0
- package/build/esm/icons/NavigationOpen.js +6 -0
- package/build/esm/icons/index.d.ts +3 -0
- package/build/esm/icons/index.js +3 -0
- package/build/esm/models/constructor-items/blocks.d.ts +2 -4
- package/build/esm/models/index.d.ts +1 -0
- package/build/esm/models/index.js +1 -0
- package/build/esm/models/navigation.d.ts +62 -0
- package/build/esm/models/navigation.js +7 -0
- package/build/esm/schema/index.d.ts +0 -2
- package/build/esm/schema/validators/common.d.ts +0 -17
- package/build/esm/schema/validators/common.js +0 -11
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +0 -5
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +0 -4
- package/build/esm/sub-blocks/CardWithImage/schema.d.ts +0 -8
- package/build/esm/sub-blocks/CardWithImage/schema.js +1 -4
- package/build/esm/sub-blocks/Content/schema.d.ts +0 -8
- package/build/esm/sub-blocks/Content/schema.js +1 -3
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +3 -0
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +0 -1
- package/build/esm/sub-blocks/NewsCard/schema.d.ts +0 -1
- package/build/esm/sub-blocks/NewsCard/schema.js +0 -1
- package/build/esm/sub-blocks/Partner/schema.d.ts +0 -1
- package/build/esm/sub-blocks/Partner/schema.js +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +0 -8
- package/build/esm/sub-blocks/Quote/schema.d.ts +0 -4
- package/build/esm/sub-blocks/Quote/schema.js +0 -1
- package/build/esm/sub-blocks/TutorialCard/schema.d.ts +0 -2
- package/build/esm/sub-blocks/TutorialCard/schema.js +0 -2
- package/build/esm/text-transform/blocks.js +0 -1
- package/package.json +2 -5
- package/server/models/constructor-items/blocks.d.ts +2 -4
- package/server/models/index.d.ts +1 -0
- package/server/models/index.js +1 -0
- package/server/models/navigation.d.ts +62 -0
- package/server/models/navigation.js +10 -0
- package/server/text-transform/blocks.js +0 -1
- package/styles/mixins.scss +38 -0
|
@@ -12,15 +12,12 @@ export declare const HeaderSliderBlock: {
|
|
|
12
12
|
properties: {
|
|
13
13
|
title: {
|
|
14
14
|
type: string;
|
|
15
|
-
content: string;
|
|
16
15
|
};
|
|
17
16
|
overtitle: {
|
|
18
17
|
type: string;
|
|
19
|
-
content: string;
|
|
20
18
|
};
|
|
21
19
|
description: {
|
|
22
20
|
type: string;
|
|
23
|
-
content: string;
|
|
24
21
|
};
|
|
25
22
|
width: {
|
|
26
23
|
type: string;
|
|
@@ -117,7 +114,6 @@ export declare const HeaderSliderBlock: {
|
|
|
117
114
|
};
|
|
118
115
|
text: {
|
|
119
116
|
type: string;
|
|
120
|
-
content: string;
|
|
121
117
|
};
|
|
122
118
|
};
|
|
123
119
|
};
|
|
@@ -142,7 +138,6 @@ export declare const HeaderSliderBlock: {
|
|
|
142
138
|
};
|
|
143
139
|
title: {
|
|
144
140
|
type: string;
|
|
145
|
-
content: string;
|
|
146
141
|
};
|
|
147
142
|
};
|
|
148
143
|
};
|
|
@@ -254,7 +249,6 @@ export declare const HeaderSliderBlock: {
|
|
|
254
249
|
};
|
|
255
250
|
text: {
|
|
256
251
|
type: string;
|
|
257
|
-
content: string;
|
|
258
252
|
};
|
|
259
253
|
};
|
|
260
254
|
};
|
|
@@ -323,7 +317,6 @@ export declare const HeaderSliderBlock: {
|
|
|
323
317
|
};
|
|
324
318
|
text: {
|
|
325
319
|
type: string;
|
|
326
|
-
content: string;
|
|
327
320
|
};
|
|
328
321
|
};
|
|
329
322
|
};
|
|
@@ -348,7 +341,6 @@ export declare const HeaderSliderBlock: {
|
|
|
348
341
|
};
|
|
349
342
|
description: {
|
|
350
343
|
type: string;
|
|
351
|
-
content: string;
|
|
352
344
|
};
|
|
353
345
|
title: {
|
|
354
346
|
type: string;
|
|
@@ -357,7 +349,6 @@ export declare const HeaderSliderBlock: {
|
|
|
357
349
|
properties: {
|
|
358
350
|
text: {
|
|
359
351
|
type: string;
|
|
360
|
-
content: string;
|
|
361
352
|
};
|
|
362
353
|
textSize: {
|
|
363
354
|
type: string;
|
|
@@ -399,7 +390,6 @@ export declare const HeaderSliderBlock: {
|
|
|
399
390
|
properties: {
|
|
400
391
|
text: {
|
|
401
392
|
type: string;
|
|
402
|
-
content: string;
|
|
403
393
|
};
|
|
404
394
|
size: {
|
|
405
395
|
type: string;
|
|
@@ -444,7 +434,6 @@ export declare const HeaderSliderBlock: {
|
|
|
444
434
|
properties: {
|
|
445
435
|
text: {
|
|
446
436
|
type: string;
|
|
447
|
-
content: string;
|
|
448
437
|
};
|
|
449
438
|
url: {
|
|
450
439
|
type: string;
|
|
@@ -4,7 +4,6 @@ export declare const IconsProps: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
-
content: string;
|
|
8
7
|
};
|
|
9
8
|
size: {
|
|
10
9
|
type: string;
|
|
@@ -22,7 +21,6 @@ export declare const IconsProps: {
|
|
|
22
21
|
};
|
|
23
22
|
text: {
|
|
24
23
|
type: string;
|
|
25
|
-
content: string;
|
|
26
24
|
};
|
|
27
25
|
src: {
|
|
28
26
|
type: string;
|
|
@@ -40,7 +38,6 @@ export declare const IconsProps: {
|
|
|
40
38
|
properties: {
|
|
41
39
|
text: {
|
|
42
40
|
type: string;
|
|
43
|
-
content: string;
|
|
44
41
|
};
|
|
45
42
|
url: {
|
|
46
43
|
type: string;
|
|
@@ -65,7 +62,6 @@ export declare const IconsBlock: {
|
|
|
65
62
|
properties: {
|
|
66
63
|
title: {
|
|
67
64
|
type: string;
|
|
68
|
-
content: string;
|
|
69
65
|
};
|
|
70
66
|
size: {
|
|
71
67
|
type: string;
|
|
@@ -83,7 +79,6 @@ export declare const IconsBlock: {
|
|
|
83
79
|
};
|
|
84
80
|
text: {
|
|
85
81
|
type: string;
|
|
86
|
-
content: string;
|
|
87
82
|
};
|
|
88
83
|
src: {
|
|
89
84
|
type: string;
|
|
@@ -101,7 +96,6 @@ export declare const IconsBlock: {
|
|
|
101
96
|
properties: {
|
|
102
97
|
text: {
|
|
103
98
|
type: string;
|
|
104
|
-
content: string;
|
|
105
99
|
};
|
|
106
100
|
url: {
|
|
107
101
|
type: string;
|
|
@@ -7,7 +7,6 @@ exports.IconsProps = {
|
|
|
7
7
|
required: ['size', 'items'],
|
|
8
8
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
|
|
9
9
|
type: 'string',
|
|
10
|
-
content: 'text',
|
|
11
10
|
}, size: {
|
|
12
11
|
type: 'string',
|
|
13
12
|
enum: ['s', 'm', 'l'],
|
|
@@ -23,7 +22,6 @@ exports.IconsProps = {
|
|
|
23
22
|
},
|
|
24
23
|
text: {
|
|
25
24
|
type: 'string',
|
|
26
|
-
content: 'text',
|
|
27
25
|
},
|
|
28
26
|
src: {
|
|
29
27
|
type: 'string',
|
|
@@ -5,7 +5,6 @@ export declare const InfoBlock: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
title: {
|
|
7
7
|
type: string;
|
|
8
|
-
content: string;
|
|
9
8
|
};
|
|
10
9
|
backgroundColor: {
|
|
11
10
|
oneOf: ({
|
|
@@ -19,7 +18,6 @@ export declare const InfoBlock: {
|
|
|
19
18
|
};
|
|
20
19
|
sectionsTitle: {
|
|
21
20
|
type: string;
|
|
22
|
-
content: string;
|
|
23
21
|
};
|
|
24
22
|
buttons: {
|
|
25
23
|
type: string;
|
|
@@ -58,7 +56,6 @@ export declare const InfoBlock: {
|
|
|
58
56
|
properties: {
|
|
59
57
|
text: {
|
|
60
58
|
type: string;
|
|
61
|
-
content: string;
|
|
62
59
|
};
|
|
63
60
|
textSize: {
|
|
64
61
|
type: string;
|
|
@@ -73,16 +70,13 @@ export declare const InfoBlock: {
|
|
|
73
70
|
};
|
|
74
71
|
} | {
|
|
75
72
|
type: string;
|
|
76
|
-
content: string;
|
|
77
73
|
})[];
|
|
78
74
|
};
|
|
79
75
|
text: {
|
|
80
76
|
type: string;
|
|
81
|
-
content: string;
|
|
82
77
|
};
|
|
83
78
|
additionalInfo: {
|
|
84
79
|
type: string;
|
|
85
|
-
content: string;
|
|
86
80
|
};
|
|
87
81
|
size: {
|
|
88
82
|
type: string;
|
|
@@ -127,7 +121,6 @@ export declare const InfoBlock: {
|
|
|
127
121
|
properties: {
|
|
128
122
|
text: {
|
|
129
123
|
type: string;
|
|
130
|
-
content: string;
|
|
131
124
|
};
|
|
132
125
|
textSize: {
|
|
133
126
|
type: string;
|
|
@@ -142,16 +135,13 @@ export declare const InfoBlock: {
|
|
|
142
135
|
};
|
|
143
136
|
} | {
|
|
144
137
|
type: string;
|
|
145
|
-
content: string;
|
|
146
138
|
})[];
|
|
147
139
|
};
|
|
148
140
|
text: {
|
|
149
141
|
type: string;
|
|
150
|
-
content: string;
|
|
151
142
|
};
|
|
152
143
|
additionalInfo: {
|
|
153
144
|
type: string;
|
|
154
|
-
content: string;
|
|
155
145
|
};
|
|
156
146
|
size: {
|
|
157
147
|
type: string;
|
|
@@ -16,12 +16,10 @@ exports.InfoBlock = {
|
|
|
16
16
|
required: ['title', 'sectionsTitle'],
|
|
17
17
|
properties: Object.assign(Object.assign({}, common_1.BaseProps), { title: {
|
|
18
18
|
type: 'string',
|
|
19
|
-
content: 'text',
|
|
20
19
|
}, backgroundColor: (0, common_1.withTheme)({
|
|
21
20
|
type: 'string',
|
|
22
21
|
}), sectionsTitle: {
|
|
23
22
|
type: 'string',
|
|
24
|
-
content: 'text',
|
|
25
23
|
}, buttons: (0, utils_1.filteredArray)(common_1.ButtonBlock), theme: common_1.ThemeProps, links: (0, utils_1.filteredArray)(common_1.LinkProps), leftContent: ContentProps, rightContent: ContentProps }),
|
|
26
24
|
},
|
|
27
25
|
};
|
|
@@ -10,7 +10,6 @@ export declare const LinkTableBlock: {
|
|
|
10
10
|
properties: {
|
|
11
11
|
text: {
|
|
12
12
|
type: string;
|
|
13
|
-
content: string;
|
|
14
13
|
};
|
|
15
14
|
textSize: {
|
|
16
15
|
type: string;
|
|
@@ -45,7 +44,6 @@ export declare const LinkTableBlock: {
|
|
|
45
44
|
properties: {
|
|
46
45
|
text: {
|
|
47
46
|
type: string;
|
|
48
|
-
content: string;
|
|
49
47
|
};
|
|
50
48
|
url: {
|
|
51
49
|
type: string;
|
|
@@ -91,7 +91,6 @@ export declare const Media: {
|
|
|
91
91
|
};
|
|
92
92
|
text: {
|
|
93
93
|
type: string;
|
|
94
|
-
content: string;
|
|
95
94
|
};
|
|
96
95
|
};
|
|
97
96
|
};
|
|
@@ -146,7 +145,6 @@ export declare const MediaBlock: {
|
|
|
146
145
|
properties: {
|
|
147
146
|
text: {
|
|
148
147
|
type: string;
|
|
149
|
-
content: string;
|
|
150
148
|
};
|
|
151
149
|
textSize: {
|
|
152
150
|
type: string;
|
|
@@ -161,16 +159,13 @@ export declare const MediaBlock: {
|
|
|
161
159
|
};
|
|
162
160
|
} | {
|
|
163
161
|
type: string;
|
|
164
|
-
content: string;
|
|
165
162
|
})[];
|
|
166
163
|
};
|
|
167
164
|
additionalInfo: {
|
|
168
165
|
type: string;
|
|
169
|
-
content: string;
|
|
170
166
|
};
|
|
171
167
|
description: {
|
|
172
168
|
type: string;
|
|
173
|
-
content: string;
|
|
174
169
|
};
|
|
175
170
|
size: {
|
|
176
171
|
type: string;
|
|
@@ -308,7 +303,6 @@ export declare const MediaBlock: {
|
|
|
308
303
|
};
|
|
309
304
|
text: {
|
|
310
305
|
type: string;
|
|
311
|
-
content: string;
|
|
312
306
|
};
|
|
313
307
|
};
|
|
314
308
|
};
|
|
@@ -356,7 +350,6 @@ export declare const MediaBlock: {
|
|
|
356
350
|
properties: {
|
|
357
351
|
text: {
|
|
358
352
|
type: string;
|
|
359
|
-
content: string;
|
|
360
353
|
};
|
|
361
354
|
url: {
|
|
362
355
|
type: string;
|
|
@@ -392,7 +385,6 @@ export declare const MediaBlock: {
|
|
|
392
385
|
};
|
|
393
386
|
alt: {
|
|
394
387
|
type: string;
|
|
395
|
-
content: string;
|
|
396
388
|
};
|
|
397
389
|
};
|
|
398
390
|
})[];
|
|
@@ -511,7 +503,6 @@ export declare const MediaBlock: {
|
|
|
511
503
|
properties: {
|
|
512
504
|
text: {
|
|
513
505
|
type: string;
|
|
514
|
-
content: string;
|
|
515
506
|
};
|
|
516
507
|
url: {
|
|
517
508
|
type: string;
|
|
@@ -14,13 +14,11 @@ exports.MediaBlock = {
|
|
|
14
14
|
additionalProperties: false,
|
|
15
15
|
required: ['title', 'media'],
|
|
16
16
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
|
|
17
|
-
oneOf: [{ type: 'string'
|
|
17
|
+
oneOf: [{ type: 'string' }, common_1.TitleProps],
|
|
18
18
|
}, additionalInfo: {
|
|
19
19
|
type: 'string',
|
|
20
|
-
content: 'yfm',
|
|
21
20
|
}, description: {
|
|
22
21
|
type: 'string',
|
|
23
|
-
content: 'yfm',
|
|
24
22
|
}, size: {
|
|
25
23
|
type: 'string',
|
|
26
24
|
enum: common_1.contentSizes,
|
|
@@ -11,11 +11,9 @@ const PreviewContentItem = {
|
|
|
11
11
|
properties: {
|
|
12
12
|
title: {
|
|
13
13
|
type: 'string',
|
|
14
|
-
content: 'text',
|
|
15
14
|
},
|
|
16
15
|
description: {
|
|
17
16
|
type: 'string',
|
|
18
|
-
content: 'yfm',
|
|
19
17
|
},
|
|
20
18
|
},
|
|
21
19
|
};
|
|
@@ -38,10 +36,8 @@ exports.PreviewBlock = {
|
|
|
38
36
|
required: ['title', 'items'],
|
|
39
37
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: {
|
|
40
38
|
type: 'string',
|
|
41
|
-
content: 'text',
|
|
42
39
|
}, description: {
|
|
43
40
|
type: 'string',
|
|
44
|
-
content: 'text',
|
|
45
41
|
}, direction: {
|
|
46
42
|
type: 'string',
|
|
47
43
|
enum: common_1.mediaDirection,
|
|
@@ -4,11 +4,9 @@ export declare const PromoFeaturesItem: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
-
content: string;
|
|
8
7
|
};
|
|
9
8
|
text: {
|
|
10
9
|
type: string;
|
|
11
|
-
content: string;
|
|
12
10
|
};
|
|
13
11
|
theme: {
|
|
14
12
|
enum: string[];
|
|
@@ -106,7 +104,6 @@ export declare const PromoFeaturesItem: {
|
|
|
106
104
|
};
|
|
107
105
|
text: {
|
|
108
106
|
type: string;
|
|
109
|
-
content: string;
|
|
110
107
|
};
|
|
111
108
|
};
|
|
112
109
|
};
|
|
@@ -163,7 +160,6 @@ export declare const PromoFeaturesBlock: {
|
|
|
163
160
|
properties: {
|
|
164
161
|
text: {
|
|
165
162
|
type: string;
|
|
166
|
-
content: string;
|
|
167
163
|
};
|
|
168
164
|
textSize: {
|
|
169
165
|
type: string;
|
|
@@ -178,12 +174,10 @@ export declare const PromoFeaturesBlock: {
|
|
|
178
174
|
};
|
|
179
175
|
} | {
|
|
180
176
|
type: string;
|
|
181
|
-
content: string;
|
|
182
177
|
})[];
|
|
183
178
|
};
|
|
184
179
|
description: {
|
|
185
180
|
type: string;
|
|
186
|
-
content: string;
|
|
187
181
|
};
|
|
188
182
|
theme: {
|
|
189
183
|
enum: string[];
|
|
@@ -209,7 +203,6 @@ export declare const PromoFeaturesBlock: {
|
|
|
209
203
|
properties: {
|
|
210
204
|
text: {
|
|
211
205
|
type: string;
|
|
212
|
-
content: string;
|
|
213
206
|
};
|
|
214
207
|
url: {
|
|
215
208
|
type: string;
|
|
@@ -10,11 +10,9 @@ exports.PromoFeaturesItem = {
|
|
|
10
10
|
properties: {
|
|
11
11
|
title: {
|
|
12
12
|
type: 'string',
|
|
13
|
-
content: 'text',
|
|
14
13
|
},
|
|
15
14
|
text: {
|
|
16
15
|
type: 'string',
|
|
17
|
-
content: 'yfm',
|
|
18
16
|
},
|
|
19
17
|
theme: {
|
|
20
18
|
enum: ['accent', 'accent-light', 'primary'],
|
|
@@ -27,10 +25,9 @@ exports.PromoFeaturesBlock = {
|
|
|
27
25
|
additionalProperties: false,
|
|
28
26
|
required: ['items'],
|
|
29
27
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
|
|
30
|
-
oneOf: [{ type: 'string'
|
|
28
|
+
oneOf: [{ type: 'string' }, common_1.TitleProps],
|
|
31
29
|
}, description: {
|
|
32
30
|
type: 'string',
|
|
33
|
-
content: 'text',
|
|
34
31
|
}, theme: {
|
|
35
32
|
enum: ['grey', 'default'],
|
|
36
33
|
}, items: (0, utils_1.filteredArray)(exports.PromoFeaturesItem) }),
|
|
@@ -22,7 +22,6 @@ export declare const QuestionsBlock: {
|
|
|
22
22
|
properties: {
|
|
23
23
|
text: {
|
|
24
24
|
type: string;
|
|
25
|
-
content: string;
|
|
26
25
|
};
|
|
27
26
|
textSize: {
|
|
28
27
|
type: string;
|
|
@@ -37,16 +36,13 @@ export declare const QuestionsBlock: {
|
|
|
37
36
|
};
|
|
38
37
|
} | {
|
|
39
38
|
type: string;
|
|
40
|
-
content: string;
|
|
41
39
|
})[];
|
|
42
40
|
};
|
|
43
41
|
text: {
|
|
44
42
|
type: string;
|
|
45
|
-
content: string;
|
|
46
43
|
};
|
|
47
44
|
additionalInfo: {
|
|
48
45
|
type: string;
|
|
49
|
-
content: string;
|
|
50
46
|
};
|
|
51
47
|
links: {
|
|
52
48
|
type: string;
|
|
@@ -77,7 +73,6 @@ export declare const QuestionsBlock: {
|
|
|
77
73
|
properties: {
|
|
78
74
|
text: {
|
|
79
75
|
type: string;
|
|
80
|
-
content: string;
|
|
81
76
|
};
|
|
82
77
|
url: {
|
|
83
78
|
type: string;
|
|
@@ -12,7 +12,6 @@ export declare const SecurityBlock: {
|
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
14
|
type: string;
|
|
15
|
-
content: string;
|
|
16
15
|
};
|
|
17
16
|
media: {
|
|
18
17
|
type: string;
|
|
@@ -107,7 +106,6 @@ export declare const SecurityBlock: {
|
|
|
107
106
|
};
|
|
108
107
|
text: {
|
|
109
108
|
type: string;
|
|
110
|
-
content: string;
|
|
111
109
|
};
|
|
112
110
|
};
|
|
113
111
|
};
|
|
@@ -14,7 +14,6 @@ exports.SecurityBlock = {
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
}, title: {
|
|
16
16
|
type: 'string',
|
|
17
|
-
content: 'text',
|
|
18
17
|
}, media: schema_1.Media, points: (0, utils_1.filteredArray)({
|
|
19
18
|
type: 'object',
|
|
20
19
|
properties: {
|
|
@@ -23,7 +22,6 @@ exports.SecurityBlock = {
|
|
|
23
22
|
},
|
|
24
23
|
text: {
|
|
25
24
|
type: 'string',
|
|
26
|
-
content: 'text',
|
|
27
25
|
},
|
|
28
26
|
link: lodash_1.default.pick(common_1.LinkProps, ['text', 'url']),
|
|
29
27
|
},
|
|
@@ -19,7 +19,6 @@ export declare const SimpleBlock: {
|
|
|
19
19
|
properties: {
|
|
20
20
|
text: {
|
|
21
21
|
type: string;
|
|
22
|
-
content: string;
|
|
23
22
|
};
|
|
24
23
|
url: {
|
|
25
24
|
type: string;
|
|
@@ -42,7 +41,6 @@ export declare const SimpleBlock: {
|
|
|
42
41
|
properties: {
|
|
43
42
|
text: {
|
|
44
43
|
type: string;
|
|
45
|
-
content: string;
|
|
46
44
|
};
|
|
47
45
|
textSize: {
|
|
48
46
|
type: string;
|
|
@@ -58,7 +56,6 @@ export declare const SimpleBlock: {
|
|
|
58
56
|
};
|
|
59
57
|
description: {
|
|
60
58
|
type: string;
|
|
61
|
-
content: string;
|
|
62
59
|
};
|
|
63
60
|
};
|
|
64
61
|
};
|
|
@@ -8,7 +8,6 @@ exports.SimpleBlock = {
|
|
|
8
8
|
required: ['title', 'description'],
|
|
9
9
|
properties: Object.assign(Object.assign(Object.assign({ title: common_1.TitleProps, description: {
|
|
10
10
|
type: 'string',
|
|
11
|
-
content: 'yfm',
|
|
12
11
|
} }, common_1.BlockBaseProps), common_1.AnimatableProps), { children: common_1.ChildrenProps }),
|
|
13
12
|
},
|
|
14
13
|
};
|
|
@@ -7,7 +7,6 @@ export declare const SliderProps: {
|
|
|
7
7
|
};
|
|
8
8
|
description: {
|
|
9
9
|
type: string;
|
|
10
|
-
content: string;
|
|
11
10
|
};
|
|
12
11
|
title: {
|
|
13
12
|
type: string;
|
|
@@ -16,7 +15,6 @@ export declare const SliderProps: {
|
|
|
16
15
|
properties: {
|
|
17
16
|
text: {
|
|
18
17
|
type: string;
|
|
19
|
-
content: string;
|
|
20
18
|
};
|
|
21
19
|
textSize: {
|
|
22
20
|
type: string;
|
|
@@ -58,7 +56,6 @@ export declare const SliderProps: {
|
|
|
58
56
|
properties: {
|
|
59
57
|
text: {
|
|
60
58
|
type: string;
|
|
61
|
-
content: string;
|
|
62
59
|
};
|
|
63
60
|
size: {
|
|
64
61
|
type: string;
|
|
@@ -116,7 +113,6 @@ export declare const SliderBlock: {
|
|
|
116
113
|
};
|
|
117
114
|
description: {
|
|
118
115
|
type: string;
|
|
119
|
-
content: string;
|
|
120
116
|
};
|
|
121
117
|
title: {
|
|
122
118
|
type: string;
|
|
@@ -125,7 +121,6 @@ export declare const SliderBlock: {
|
|
|
125
121
|
properties: {
|
|
126
122
|
text: {
|
|
127
123
|
type: string;
|
|
128
|
-
content: string;
|
|
129
124
|
};
|
|
130
125
|
textSize: {
|
|
131
126
|
type: string;
|
|
@@ -167,7 +162,6 @@ export declare const SliderBlock: {
|
|
|
167
162
|
properties: {
|
|
168
163
|
text: {
|
|
169
164
|
type: string;
|
|
170
|
-
content: string;
|
|
171
165
|
};
|
|
172
166
|
size: {
|
|
173
167
|
type: string;
|
|
@@ -218,7 +212,6 @@ export declare const SliderBlock: {
|
|
|
218
212
|
properties: {
|
|
219
213
|
text: {
|
|
220
214
|
type: string;
|
|
221
|
-
content: string;
|
|
222
215
|
};
|
|
223
216
|
url: {
|
|
224
217
|
type: string;
|
|
@@ -36,7 +36,6 @@ const DisclaimerProps = {
|
|
|
36
36
|
properties: {
|
|
37
37
|
text: {
|
|
38
38
|
type: 'string',
|
|
39
|
-
content: 'text',
|
|
40
39
|
},
|
|
41
40
|
size: {
|
|
42
41
|
type: 'string',
|
|
@@ -53,7 +52,6 @@ exports.SliderProps = {
|
|
|
53
52
|
},
|
|
54
53
|
description: {
|
|
55
54
|
type: 'string',
|
|
56
|
-
content: 'text',
|
|
57
55
|
},
|
|
58
56
|
title: common_1.TitleProps,
|
|
59
57
|
randomOrder: {
|
|
@@ -5,7 +5,6 @@ export declare const TableBlock: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
title: {
|
|
7
7
|
type: string;
|
|
8
|
-
content: string;
|
|
9
8
|
};
|
|
10
9
|
table: {
|
|
11
10
|
additionalProperties: boolean;
|
|
@@ -17,7 +16,6 @@ export declare const TableBlock: {
|
|
|
17
16
|
type: string;
|
|
18
17
|
items: {
|
|
19
18
|
type: string[];
|
|
20
|
-
content: string;
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
21
|
};
|
|
@@ -25,7 +23,6 @@ export declare const TableBlock: {
|
|
|
25
23
|
type: string;
|
|
26
24
|
items: {
|
|
27
25
|
type: string;
|
|
28
|
-
content: string;
|
|
29
26
|
};
|
|
30
27
|
};
|
|
31
28
|
justify: {
|
|
@@ -50,7 +47,6 @@ export declare const TableBlock: {
|
|
|
50
47
|
properties: {
|
|
51
48
|
text: {
|
|
52
49
|
type: string;
|
|
53
|
-
content: string;
|
|
54
50
|
};
|
|
55
51
|
url: {
|
|
56
52
|
type: string;
|
|
@@ -8,7 +8,6 @@ exports.TableBlock = {
|
|
|
8
8
|
required: ['title', 'table'],
|
|
9
9
|
properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { title: {
|
|
10
10
|
type: 'string',
|
|
11
|
-
content: 'text',
|
|
12
11
|
}, table: {
|
|
13
12
|
additionalProperties: false,
|
|
14
13
|
required: ['content'],
|
|
@@ -18,14 +17,12 @@ exports.TableBlock = {
|
|
|
18
17
|
type: 'array',
|
|
19
18
|
items: {
|
|
20
19
|
type: ['string', 'number'],
|
|
21
|
-
content: 'text',
|
|
22
20
|
},
|
|
23
21
|
},
|
|
24
22
|
}, legend: {
|
|
25
23
|
type: 'array',
|
|
26
24
|
items: {
|
|
27
25
|
type: 'string',
|
|
28
|
-
content: 'yfm',
|
|
29
26
|
},
|
|
30
27
|
}, justify: {
|
|
31
28
|
type: 'array',
|