@gravity-ui/page-constructor 1.11.1 → 1.12.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 +7 -0
- package/build/cjs/blocks/Banner/schema.d.ts +12 -0
- package/build/cjs/blocks/Banner/schema.js +2 -0
- package/build/cjs/blocks/CardLayout/schema.d.ts +8 -0
- package/build/cjs/blocks/CardLayout/schema.js +2 -1
- package/build/cjs/blocks/Companies/schema.d.ts +2 -0
- package/build/cjs/blocks/Companies/schema.js +2 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +6 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +7 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.js +4 -1
- package/build/cjs/blocks/Header/schema.d.ts +16 -0
- package/build/cjs/blocks/Header/schema.js +5 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +11 -0
- package/build/cjs/blocks/Icons/schema.d.ts +6 -0
- package/build/cjs/blocks/Icons/schema.js +2 -0
- package/build/cjs/blocks/Info/schema.d.ts +10 -0
- package/build/cjs/blocks/Info/schema.js +2 -0
- package/build/cjs/blocks/LinkTable/schema.d.ts +2 -0
- package/build/cjs/blocks/Media/schema.d.ts +62 -53
- package/build/cjs/blocks/Media/schema.js +6 -10
- package/build/cjs/blocks/Preview/schema.d.ts +2 -0
- package/build/cjs/blocks/Preview/schema.js +4 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +7 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +4 -1
- package/build/cjs/blocks/Questions/schema.d.ts +5 -0
- package/build/cjs/blocks/Questions/schema.js +2 -0
- package/build/cjs/blocks/Security/schema.d.ts +2 -0
- package/build/cjs/blocks/Security/schema.js +2 -0
- package/build/cjs/blocks/Simple/schema.d.ts +3 -0
- package/build/cjs/blocks/Simple/schema.js +1 -0
- package/build/cjs/blocks/Slider/schema.d.ts +7 -0
- package/build/cjs/blocks/Slider/schema.js +2 -0
- package/build/cjs/blocks/Table/schema.d.ts +4 -0
- package/build/cjs/blocks/Table/schema.js +3 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +10 -0
- package/build/cjs/blocks/Tabs/schema.js +2 -0
- package/build/cjs/components/Author/schema.d.ts +3 -0
- package/build/cjs/components/Image/schema.d.ts +2 -0
- package/build/cjs/components/Image/schema.js +14 -23
- package/build/cjs/schema/index.d.ts +2 -0
- package/build/cjs/schema/validators/common.d.ts +17 -0
- package/build/cjs/schema/validators/common.js +11 -0
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -0
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -0
- package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +54 -46
- package/build/cjs/sub-blocks/CardWithImage/schema.js +7 -6
- package/build/cjs/sub-blocks/Content/schema.d.ts +8 -0
- package/build/cjs/sub-blocks/Content/schema.js +3 -1
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/NewsCard/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/NewsCard/schema.js +1 -0
- package/build/cjs/sub-blocks/Partner/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/Partner/schema.js +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +8 -0
- package/build/cjs/sub-blocks/Quote/schema.d.ts +4 -0
- package/build/cjs/sub-blocks/Quote/schema.js +1 -0
- package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +2 -0
- package/build/cjs/sub-blocks/TutorialCard/schema.js +2 -0
- package/build/cjs/text-transform/blocks.js +27 -0
- package/build/esm/blocks/Banner/schema.d.ts +12 -0
- package/build/esm/blocks/Banner/schema.js +2 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +8 -0
- package/build/esm/blocks/CardLayout/schema.js +2 -1
- package/build/esm/blocks/Companies/schema.d.ts +2 -0
- package/build/esm/blocks/Companies/schema.js +2 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +6 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +7 -0
- package/build/esm/blocks/ExtendedFeatures/schema.js +4 -1
- package/build/esm/blocks/Header/schema.d.ts +16 -0
- package/build/esm/blocks/Header/schema.js +5 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +11 -0
- package/build/esm/blocks/Icons/schema.d.ts +6 -0
- package/build/esm/blocks/Icons/schema.js +2 -0
- package/build/esm/blocks/Info/schema.d.ts +10 -0
- package/build/esm/blocks/Info/schema.js +2 -0
- package/build/esm/blocks/LinkTable/schema.d.ts +2 -0
- package/build/esm/blocks/Media/schema.d.ts +62 -53
- package/build/esm/blocks/Media/schema.js +7 -11
- package/build/esm/blocks/Preview/schema.d.ts +2 -0
- package/build/esm/blocks/Preview/schema.js +4 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +7 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +4 -1
- package/build/esm/blocks/Questions/schema.d.ts +5 -0
- package/build/esm/blocks/Questions/schema.js +2 -0
- package/build/esm/blocks/Security/schema.d.ts +2 -0
- package/build/esm/blocks/Security/schema.js +2 -0
- package/build/esm/blocks/Simple/schema.d.ts +3 -0
- package/build/esm/blocks/Simple/schema.js +1 -0
- package/build/esm/blocks/Slider/schema.d.ts +7 -0
- package/build/esm/blocks/Slider/schema.js +2 -0
- package/build/esm/blocks/Table/schema.d.ts +4 -0
- package/build/esm/blocks/Table/schema.js +3 -0
- package/build/esm/blocks/Tabs/schema.d.ts +10 -0
- package/build/esm/blocks/Tabs/schema.js +2 -0
- package/build/esm/components/Author/schema.d.ts +3 -0
- package/build/esm/components/Image/schema.d.ts +2 -0
- package/build/esm/components/Image/schema.js +14 -23
- package/build/esm/schema/index.d.ts +2 -0
- package/build/esm/schema/validators/common.d.ts +17 -0
- package/build/esm/schema/validators/common.js +11 -0
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -0
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -0
- package/build/esm/sub-blocks/CardWithImage/schema.d.ts +54 -46
- package/build/esm/sub-blocks/CardWithImage/schema.js +8 -7
- package/build/esm/sub-blocks/Content/schema.d.ts +8 -0
- package/build/esm/sub-blocks/Content/schema.js +3 -1
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -0
- package/build/esm/sub-blocks/NewsCard/schema.d.ts +1 -0
- package/build/esm/sub-blocks/NewsCard/schema.js +1 -0
- package/build/esm/sub-blocks/Partner/schema.d.ts +1 -0
- package/build/esm/sub-blocks/Partner/schema.js +1 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.js +8 -0
- package/build/esm/sub-blocks/Quote/schema.d.ts +4 -0
- package/build/esm/sub-blocks/Quote/schema.js +1 -0
- package/build/esm/sub-blocks/TutorialCard/schema.d.ts +2 -0
- package/build/esm/sub-blocks/TutorialCard/schema.js +2 -0
- package/build/esm/text-transform/blocks.js +27 -0
- package/package.json +1 -1
- package/server/text-transform/blocks.js +27 -0
|
@@ -22,6 +22,7 @@ const PriceDetailedFoldableDetailsProps = {
|
|
|
22
22
|
properties: {
|
|
23
23
|
title: {
|
|
24
24
|
type: 'string',
|
|
25
|
+
contentType: 'text',
|
|
25
26
|
},
|
|
26
27
|
size: {
|
|
27
28
|
type: 'string',
|
|
@@ -75,6 +76,7 @@ const PriceDescriptionLabelProps = {
|
|
|
75
76
|
},
|
|
76
77
|
text: {
|
|
77
78
|
type: 'string',
|
|
79
|
+
contentType: 'text',
|
|
78
80
|
},
|
|
79
81
|
size: {
|
|
80
82
|
type: 'string',
|
|
@@ -85,12 +87,15 @@ const PriceDescriptionLabelProps = {
|
|
|
85
87
|
const PriceDescriptionProps = {
|
|
86
88
|
title: {
|
|
87
89
|
type: 'string',
|
|
90
|
+
contentType: 'text',
|
|
88
91
|
},
|
|
89
92
|
description: {
|
|
90
93
|
type: 'string',
|
|
94
|
+
contentType: 'yfm',
|
|
91
95
|
},
|
|
92
96
|
detailedTitle: {
|
|
93
97
|
type: 'string',
|
|
98
|
+
contentType: 'text',
|
|
94
99
|
},
|
|
95
100
|
label: PriceDescriptionLabelProps,
|
|
96
101
|
};
|
|
@@ -101,9 +106,11 @@ const PriceDetailsSettingsProps = {
|
|
|
101
106
|
properties: {
|
|
102
107
|
title: {
|
|
103
108
|
type: 'string',
|
|
109
|
+
contentType: 'text',
|
|
104
110
|
},
|
|
105
111
|
description: {
|
|
106
112
|
type: 'string',
|
|
113
|
+
contentType: 'yfm',
|
|
107
114
|
},
|
|
108
115
|
},
|
|
109
116
|
};
|
|
@@ -114,6 +121,7 @@ const PriceDetailsListProps = {
|
|
|
114
121
|
properties: {
|
|
115
122
|
text: {
|
|
116
123
|
type: 'string',
|
|
124
|
+
contentType: 'yfm',
|
|
117
125
|
},
|
|
118
126
|
},
|
|
119
127
|
};
|
|
@@ -5,6 +5,7 @@ export declare const Quote: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
text: {
|
|
7
7
|
type: string;
|
|
8
|
+
contentType: string;
|
|
8
9
|
};
|
|
9
10
|
image: {
|
|
10
11
|
oneOf: ({
|
|
@@ -47,9 +48,11 @@ export declare const Quote: {
|
|
|
47
48
|
properties: {
|
|
48
49
|
firstName: {
|
|
49
50
|
type: string;
|
|
51
|
+
contentType: string;
|
|
50
52
|
};
|
|
51
53
|
secondName: {
|
|
52
54
|
type: string;
|
|
55
|
+
contentType: string;
|
|
53
56
|
};
|
|
54
57
|
avatar: {
|
|
55
58
|
type: string;
|
|
@@ -57,6 +60,7 @@ export declare const Quote: {
|
|
|
57
60
|
};
|
|
58
61
|
description: {
|
|
59
62
|
type: string;
|
|
63
|
+
contentType: string;
|
|
60
64
|
};
|
|
61
65
|
};
|
|
62
66
|
};
|
|
@@ -9,6 +9,7 @@ exports.Quote = {
|
|
|
9
9
|
required: ['text', 'image', 'logo'],
|
|
10
10
|
properties: Object.assign(Object.assign({}, common_1.BaseProps), { text: {
|
|
11
11
|
type: 'string',
|
|
12
|
+
contentType: 'text',
|
|
12
13
|
}, image: (0, common_1.withTheme)(schema_1.ImageProps), logo: {
|
|
13
14
|
type: 'string',
|
|
14
15
|
pattern: schema_1.urlPattern,
|
|
@@ -301,6 +301,33 @@ const config = {
|
|
|
301
301
|
fields: ['description'],
|
|
302
302
|
transformer: yfmTransformer,
|
|
303
303
|
},
|
|
304
|
+
{
|
|
305
|
+
fields: ['title'],
|
|
306
|
+
transformer: typografTransformer,
|
|
307
|
+
parser: parseTitle,
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
[models_1.BlockType.CardLayoutBlock]: [
|
|
311
|
+
{
|
|
312
|
+
fields: ['description'],
|
|
313
|
+
transformer: yfmTransformer,
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
fields: ['title'],
|
|
317
|
+
transformer: typografTransformer,
|
|
318
|
+
parser: parseTitle,
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
[models_1.BlockType.PromoFeaturesBlock]: [
|
|
322
|
+
{
|
|
323
|
+
fields: ['description'],
|
|
324
|
+
transformer: typografTransformer,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
fields: ['title'],
|
|
328
|
+
transformer: typografTransformer,
|
|
329
|
+
parser: parseTitle,
|
|
330
|
+
},
|
|
304
331
|
],
|
|
305
332
|
[models_1.BlockType.InfoBlock]: [
|
|
306
333
|
{
|
|
@@ -4,9 +4,11 @@ export declare const BannerCardProps: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
+
contentType: string;
|
|
7
8
|
};
|
|
8
9
|
subtitle: {
|
|
9
10
|
type: string;
|
|
11
|
+
contentType: string;
|
|
10
12
|
};
|
|
11
13
|
image: {
|
|
12
14
|
oneOf: ({
|
|
@@ -45,6 +47,7 @@ export declare const BannerCardProps: {
|
|
|
45
47
|
properties: {
|
|
46
48
|
text: {
|
|
47
49
|
type: string;
|
|
50
|
+
contentType: string;
|
|
48
51
|
};
|
|
49
52
|
url: {
|
|
50
53
|
type: string;
|
|
@@ -80,6 +83,7 @@ export declare const BannerCardProps: {
|
|
|
80
83
|
};
|
|
81
84
|
alt: {
|
|
82
85
|
type: string;
|
|
86
|
+
contentType: string;
|
|
83
87
|
};
|
|
84
88
|
};
|
|
85
89
|
})[];
|
|
@@ -202,9 +206,11 @@ export declare const BannerBlock: {
|
|
|
202
206
|
properties: {
|
|
203
207
|
title: {
|
|
204
208
|
type: string;
|
|
209
|
+
contentType: string;
|
|
205
210
|
};
|
|
206
211
|
subtitle: {
|
|
207
212
|
type: string;
|
|
213
|
+
contentType: string;
|
|
208
214
|
};
|
|
209
215
|
image: {
|
|
210
216
|
oneOf: ({
|
|
@@ -243,6 +249,7 @@ export declare const BannerBlock: {
|
|
|
243
249
|
properties: {
|
|
244
250
|
text: {
|
|
245
251
|
type: string;
|
|
252
|
+
contentType: string;
|
|
246
253
|
};
|
|
247
254
|
url: {
|
|
248
255
|
type: string;
|
|
@@ -278,6 +285,7 @@ export declare const BannerBlock: {
|
|
|
278
285
|
};
|
|
279
286
|
alt: {
|
|
280
287
|
type: string;
|
|
288
|
+
contentType: string;
|
|
281
289
|
};
|
|
282
290
|
};
|
|
283
291
|
})[];
|
|
@@ -401,9 +409,11 @@ export declare const BannerCard: {
|
|
|
401
409
|
properties: {
|
|
402
410
|
title: {
|
|
403
411
|
type: string;
|
|
412
|
+
contentType: string;
|
|
404
413
|
};
|
|
405
414
|
subtitle: {
|
|
406
415
|
type: string;
|
|
416
|
+
contentType: string;
|
|
407
417
|
};
|
|
408
418
|
image: {
|
|
409
419
|
oneOf: ({
|
|
@@ -442,6 +452,7 @@ export declare const BannerCard: {
|
|
|
442
452
|
properties: {
|
|
443
453
|
text: {
|
|
444
454
|
type: string;
|
|
455
|
+
contentType: string;
|
|
445
456
|
};
|
|
446
457
|
url: {
|
|
447
458
|
type: string;
|
|
@@ -477,6 +488,7 @@ export declare const BannerCard: {
|
|
|
477
488
|
};
|
|
478
489
|
alt: {
|
|
479
490
|
type: string;
|
|
491
|
+
contentType: string;
|
|
480
492
|
};
|
|
481
493
|
};
|
|
482
494
|
})[];
|
|
@@ -4,8 +4,10 @@ export const BannerCardProps = {
|
|
|
4
4
|
required: ['title', 'button'],
|
|
5
5
|
properties: Object.assign(Object.assign(Object.assign({}, BaseProps), AnimatableProps), { title: {
|
|
6
6
|
type: 'string',
|
|
7
|
+
contentType: 'text',
|
|
7
8
|
}, subtitle: {
|
|
8
9
|
type: 'string',
|
|
10
|
+
contentType: 'yfm',
|
|
9
11
|
}, image: withTheme({
|
|
10
12
|
type: 'string',
|
|
11
13
|
}), disableCompress: {
|
|
@@ -10,6 +10,7 @@ export declare const CardLayoutProps: {
|
|
|
10
10
|
properties: {
|
|
11
11
|
text: {
|
|
12
12
|
type: string;
|
|
13
|
+
contentType: string;
|
|
13
14
|
};
|
|
14
15
|
textSize: {
|
|
15
16
|
type: string;
|
|
@@ -24,10 +25,12 @@ export declare const CardLayoutProps: {
|
|
|
24
25
|
};
|
|
25
26
|
} | {
|
|
26
27
|
type: string;
|
|
28
|
+
contentType: string;
|
|
27
29
|
})[];
|
|
28
30
|
};
|
|
29
31
|
description: {
|
|
30
32
|
type: string;
|
|
33
|
+
contentType: string;
|
|
31
34
|
};
|
|
32
35
|
colSizes: {
|
|
33
36
|
type: string;
|
|
@@ -50,6 +53,7 @@ export declare const CardLayoutProps: {
|
|
|
50
53
|
properties: {
|
|
51
54
|
text: {
|
|
52
55
|
type: string;
|
|
56
|
+
contentType: string;
|
|
53
57
|
};
|
|
54
58
|
url: {
|
|
55
59
|
type: string;
|
|
@@ -80,6 +84,7 @@ export declare const CardLayoutBlock: {
|
|
|
80
84
|
properties: {
|
|
81
85
|
text: {
|
|
82
86
|
type: string;
|
|
87
|
+
contentType: string;
|
|
83
88
|
};
|
|
84
89
|
textSize: {
|
|
85
90
|
type: string;
|
|
@@ -94,10 +99,12 @@ export declare const CardLayoutBlock: {
|
|
|
94
99
|
};
|
|
95
100
|
} | {
|
|
96
101
|
type: string;
|
|
102
|
+
contentType: string;
|
|
97
103
|
})[];
|
|
98
104
|
};
|
|
99
105
|
description: {
|
|
100
106
|
type: string;
|
|
107
|
+
contentType: string;
|
|
101
108
|
};
|
|
102
109
|
colSizes: {
|
|
103
110
|
type: string;
|
|
@@ -120,6 +127,7 @@ export declare const CardLayoutBlock: {
|
|
|
120
127
|
properties: {
|
|
121
128
|
text: {
|
|
122
129
|
type: string;
|
|
130
|
+
contentType: string;
|
|
123
131
|
};
|
|
124
132
|
url: {
|
|
125
133
|
type: string;
|
|
@@ -3,9 +3,10 @@ export const CardLayoutProps = {
|
|
|
3
3
|
additionalProperties: false,
|
|
4
4
|
required: ['title'],
|
|
5
5
|
properties: Object.assign(Object.assign(Object.assign({}, BlockBaseProps), AnimatableProps), { title: {
|
|
6
|
-
oneOf: [{ type: 'string' }, TitleProps],
|
|
6
|
+
oneOf: [{ type: 'string', contentType: 'text' }, TitleProps],
|
|
7
7
|
}, description: {
|
|
8
8
|
type: 'string',
|
|
9
|
+
contentType: 'yfm',
|
|
9
10
|
}, colSizes: containerSizesObject, children: ChildrenCardsProps }),
|
|
10
11
|
};
|
|
11
12
|
export const CardLayoutBlock = {
|
|
@@ -5,6 +5,7 @@ export declare const CompaniesBlock: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
title: {
|
|
7
7
|
type: string;
|
|
8
|
+
contentType: string;
|
|
8
9
|
};
|
|
9
10
|
images: {
|
|
10
11
|
oneOf: ({
|
|
@@ -22,6 +23,7 @@ export declare const CompaniesBlock: {
|
|
|
22
23
|
};
|
|
23
24
|
alt: {
|
|
24
25
|
type: string;
|
|
26
|
+
contentType: string;
|
|
25
27
|
};
|
|
26
28
|
};
|
|
27
29
|
} | {
|
|
@@ -5,6 +5,7 @@ export const CompaniesBlock = {
|
|
|
5
5
|
required: ['title', 'images'],
|
|
6
6
|
properties: Object.assign(Object.assign(Object.assign({}, BaseProps), AnimatableProps), { title: {
|
|
7
7
|
type: 'string',
|
|
8
|
+
contentType: 'text',
|
|
8
9
|
}, images: withTheme({
|
|
9
10
|
type: 'object',
|
|
10
11
|
required: ['desktop', 'tablet', 'mobile'],
|
|
@@ -20,6 +21,7 @@ export const CompaniesBlock = {
|
|
|
20
21
|
},
|
|
21
22
|
alt: {
|
|
22
23
|
type: 'string',
|
|
24
|
+
contentType: 'text',
|
|
23
25
|
},
|
|
24
26
|
},
|
|
25
27
|
}) }),
|
|
@@ -18,6 +18,7 @@ export declare const ContentLayoutBlock: {
|
|
|
18
18
|
properties: {
|
|
19
19
|
text: {
|
|
20
20
|
type: string;
|
|
21
|
+
contentType: string;
|
|
21
22
|
};
|
|
22
23
|
textSize: {
|
|
23
24
|
type: string;
|
|
@@ -32,13 +33,16 @@ export declare const ContentLayoutBlock: {
|
|
|
32
33
|
};
|
|
33
34
|
} | {
|
|
34
35
|
type: string;
|
|
36
|
+
contentType: string;
|
|
35
37
|
})[];
|
|
36
38
|
};
|
|
37
39
|
text: {
|
|
38
40
|
type: string;
|
|
41
|
+
contentType: string;
|
|
39
42
|
};
|
|
40
43
|
additionalInfo: {
|
|
41
44
|
type: string;
|
|
45
|
+
contentType: string;
|
|
42
46
|
};
|
|
43
47
|
size: {
|
|
44
48
|
type: string;
|
|
@@ -100,6 +104,7 @@ export declare const ContentLayoutBlock: {
|
|
|
100
104
|
};
|
|
101
105
|
alt: {
|
|
102
106
|
type: string;
|
|
107
|
+
contentType: string;
|
|
103
108
|
};
|
|
104
109
|
disableCompress: {
|
|
105
110
|
type: string;
|
|
@@ -125,6 +130,7 @@ export declare const ContentLayoutBlock: {
|
|
|
125
130
|
properties: {
|
|
126
131
|
text: {
|
|
127
132
|
type: string;
|
|
133
|
+
contentType: string;
|
|
128
134
|
};
|
|
129
135
|
url: {
|
|
130
136
|
type: string;
|
|
@@ -4,9 +4,11 @@ export declare const ExtendedFeaturesItem: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
+
contentType: string;
|
|
7
8
|
};
|
|
8
9
|
text: {
|
|
9
10
|
type: string;
|
|
11
|
+
contentType: string;
|
|
10
12
|
};
|
|
11
13
|
label: {
|
|
12
14
|
type: string;
|
|
@@ -19,6 +21,7 @@ export declare const ExtendedFeaturesItem: {
|
|
|
19
21
|
properties: {
|
|
20
22
|
text: {
|
|
21
23
|
type: string;
|
|
24
|
+
contentType: string;
|
|
22
25
|
};
|
|
23
26
|
url: {
|
|
24
27
|
type: string;
|
|
@@ -60,6 +63,7 @@ export declare const ExtendedFeaturesBlock: {
|
|
|
60
63
|
properties: {
|
|
61
64
|
text: {
|
|
62
65
|
type: string;
|
|
66
|
+
contentType: string;
|
|
63
67
|
};
|
|
64
68
|
textSize: {
|
|
65
69
|
type: string;
|
|
@@ -74,10 +78,12 @@ export declare const ExtendedFeaturesBlock: {
|
|
|
74
78
|
};
|
|
75
79
|
} | {
|
|
76
80
|
type: string;
|
|
81
|
+
contentType: string;
|
|
77
82
|
})[];
|
|
78
83
|
};
|
|
79
84
|
description: {
|
|
80
85
|
type: string;
|
|
86
|
+
contentType: string;
|
|
81
87
|
};
|
|
82
88
|
items: {
|
|
83
89
|
type: string;
|
|
@@ -105,6 +111,7 @@ export declare const ExtendedFeaturesBlock: {
|
|
|
105
111
|
properties: {
|
|
106
112
|
text: {
|
|
107
113
|
type: string;
|
|
114
|
+
contentType: string;
|
|
108
115
|
};
|
|
109
116
|
url: {
|
|
110
117
|
type: string;
|
|
@@ -6,9 +6,11 @@ export const ExtendedFeaturesItem = {
|
|
|
6
6
|
properties: {
|
|
7
7
|
title: {
|
|
8
8
|
type: 'string',
|
|
9
|
+
contentType: 'text',
|
|
9
10
|
},
|
|
10
11
|
text: {
|
|
11
12
|
type: 'string',
|
|
13
|
+
contentType: 'yfm',
|
|
12
14
|
},
|
|
13
15
|
label: {
|
|
14
16
|
type: 'string',
|
|
@@ -25,9 +27,10 @@ export const ExtendedFeaturesBlock = {
|
|
|
25
27
|
additionalProperties: false,
|
|
26
28
|
required: [],
|
|
27
29
|
properties: Object.assign(Object.assign(Object.assign({}, BlockBaseProps), AnimatableProps), { title: {
|
|
28
|
-
oneOf: [{ type: 'string' }, TitleProps],
|
|
30
|
+
oneOf: [{ type: 'string', contentType: 'text' }, TitleProps],
|
|
29
31
|
}, description: {
|
|
30
32
|
type: 'string',
|
|
33
|
+
contentType: 'yfm',
|
|
31
34
|
}, items: filteredArray(ExtendedFeaturesItem), colSizes: containerSizesObject }),
|
|
32
35
|
},
|
|
33
36
|
};
|
|
@@ -97,6 +97,7 @@ export declare const HeaderBackgroundProps: {
|
|
|
97
97
|
};
|
|
98
98
|
text: {
|
|
99
99
|
type: string;
|
|
100
|
+
contentType: string;
|
|
100
101
|
};
|
|
101
102
|
};
|
|
102
103
|
};
|
|
@@ -141,12 +142,15 @@ export declare const HeaderBackgroundProps: {
|
|
|
141
142
|
export declare const HeaderProperties: {
|
|
142
143
|
title: {
|
|
143
144
|
type: string;
|
|
145
|
+
contentType: string;
|
|
144
146
|
};
|
|
145
147
|
overtitle: {
|
|
146
148
|
type: string;
|
|
149
|
+
contentType: string;
|
|
147
150
|
};
|
|
148
151
|
description: {
|
|
149
152
|
type: string;
|
|
153
|
+
contentType: string;
|
|
150
154
|
};
|
|
151
155
|
width: {
|
|
152
156
|
type: string;
|
|
@@ -243,6 +247,7 @@ export declare const HeaderProperties: {
|
|
|
243
247
|
};
|
|
244
248
|
text: {
|
|
245
249
|
type: string;
|
|
250
|
+
contentType: string;
|
|
246
251
|
};
|
|
247
252
|
};
|
|
248
253
|
};
|
|
@@ -267,6 +272,7 @@ export declare const HeaderProperties: {
|
|
|
267
272
|
};
|
|
268
273
|
title: {
|
|
269
274
|
type: string;
|
|
275
|
+
contentType: string;
|
|
270
276
|
};
|
|
271
277
|
};
|
|
272
278
|
};
|
|
@@ -378,6 +384,7 @@ export declare const HeaderProperties: {
|
|
|
378
384
|
};
|
|
379
385
|
text: {
|
|
380
386
|
type: string;
|
|
387
|
+
contentType: string;
|
|
381
388
|
};
|
|
382
389
|
};
|
|
383
390
|
};
|
|
@@ -446,6 +453,7 @@ export declare const HeaderProperties: {
|
|
|
446
453
|
};
|
|
447
454
|
text: {
|
|
448
455
|
type: string;
|
|
456
|
+
contentType: string;
|
|
449
457
|
};
|
|
450
458
|
};
|
|
451
459
|
};
|
|
@@ -467,12 +475,15 @@ export declare const HeaderBlock: {
|
|
|
467
475
|
properties: {
|
|
468
476
|
title: {
|
|
469
477
|
type: string;
|
|
478
|
+
contentType: string;
|
|
470
479
|
};
|
|
471
480
|
overtitle: {
|
|
472
481
|
type: string;
|
|
482
|
+
contentType: string;
|
|
473
483
|
};
|
|
474
484
|
description: {
|
|
475
485
|
type: string;
|
|
486
|
+
contentType: string;
|
|
476
487
|
};
|
|
477
488
|
width: {
|
|
478
489
|
type: string;
|
|
@@ -569,6 +580,7 @@ export declare const HeaderBlock: {
|
|
|
569
580
|
};
|
|
570
581
|
text: {
|
|
571
582
|
type: string;
|
|
583
|
+
contentType: string;
|
|
572
584
|
};
|
|
573
585
|
};
|
|
574
586
|
};
|
|
@@ -593,6 +605,7 @@ export declare const HeaderBlock: {
|
|
|
593
605
|
};
|
|
594
606
|
title: {
|
|
595
607
|
type: string;
|
|
608
|
+
contentType: string;
|
|
596
609
|
};
|
|
597
610
|
};
|
|
598
611
|
};
|
|
@@ -704,6 +717,7 @@ export declare const HeaderBlock: {
|
|
|
704
717
|
};
|
|
705
718
|
text: {
|
|
706
719
|
type: string;
|
|
720
|
+
contentType: string;
|
|
707
721
|
};
|
|
708
722
|
};
|
|
709
723
|
};
|
|
@@ -772,6 +786,7 @@ export declare const HeaderBlock: {
|
|
|
772
786
|
};
|
|
773
787
|
text: {
|
|
774
788
|
type: string;
|
|
789
|
+
contentType: string;
|
|
775
790
|
};
|
|
776
791
|
};
|
|
777
792
|
};
|
|
@@ -792,6 +807,7 @@ export declare const HeaderBlock: {
|
|
|
792
807
|
properties: {
|
|
793
808
|
text: {
|
|
794
809
|
type: string;
|
|
810
|
+
contentType: string;
|
|
795
811
|
};
|
|
796
812
|
url: {
|
|
797
813
|
type: string;
|
|
@@ -10,12 +10,15 @@ export const HeaderBackgroundProps = {
|
|
|
10
10
|
export const HeaderProperties = {
|
|
11
11
|
title: {
|
|
12
12
|
type: 'string',
|
|
13
|
+
contentType: 'text',
|
|
13
14
|
},
|
|
14
15
|
overtitle: {
|
|
15
16
|
type: 'string',
|
|
17
|
+
contentType: 'text',
|
|
16
18
|
},
|
|
17
19
|
description: {
|
|
18
20
|
type: 'string',
|
|
21
|
+
contentType: 'yfm',
|
|
19
22
|
},
|
|
20
23
|
width: {
|
|
21
24
|
type: 'string',
|
|
@@ -37,6 +40,7 @@ export const HeaderProperties = {
|
|
|
37
40
|
},
|
|
38
41
|
title: {
|
|
39
42
|
type: 'string',
|
|
43
|
+
contentType: 'text',
|
|
40
44
|
},
|
|
41
45
|
},
|
|
42
46
|
},
|
|
@@ -70,6 +74,7 @@ export const HeaderProperties = {
|
|
|
70
74
|
},
|
|
71
75
|
text: {
|
|
72
76
|
type: 'string',
|
|
77
|
+
contentType: 'text',
|
|
73
78
|
},
|
|
74
79
|
},
|
|
75
80
|
},
|
|
@@ -12,12 +12,15 @@ export declare const HeaderSliderBlock: {
|
|
|
12
12
|
properties: {
|
|
13
13
|
title: {
|
|
14
14
|
type: string;
|
|
15
|
+
contentType: string;
|
|
15
16
|
};
|
|
16
17
|
overtitle: {
|
|
17
18
|
type: string;
|
|
19
|
+
contentType: string;
|
|
18
20
|
};
|
|
19
21
|
description: {
|
|
20
22
|
type: string;
|
|
23
|
+
contentType: string;
|
|
21
24
|
};
|
|
22
25
|
width: {
|
|
23
26
|
type: string;
|
|
@@ -114,6 +117,7 @@ export declare const HeaderSliderBlock: {
|
|
|
114
117
|
};
|
|
115
118
|
text: {
|
|
116
119
|
type: string;
|
|
120
|
+
contentType: string;
|
|
117
121
|
};
|
|
118
122
|
};
|
|
119
123
|
};
|
|
@@ -138,6 +142,7 @@ export declare const HeaderSliderBlock: {
|
|
|
138
142
|
};
|
|
139
143
|
title: {
|
|
140
144
|
type: string;
|
|
145
|
+
contentType: string;
|
|
141
146
|
};
|
|
142
147
|
};
|
|
143
148
|
};
|
|
@@ -249,6 +254,7 @@ export declare const HeaderSliderBlock: {
|
|
|
249
254
|
};
|
|
250
255
|
text: {
|
|
251
256
|
type: string;
|
|
257
|
+
contentType: string;
|
|
252
258
|
};
|
|
253
259
|
};
|
|
254
260
|
};
|
|
@@ -317,6 +323,7 @@ export declare const HeaderSliderBlock: {
|
|
|
317
323
|
};
|
|
318
324
|
text: {
|
|
319
325
|
type: string;
|
|
326
|
+
contentType: string;
|
|
320
327
|
};
|
|
321
328
|
};
|
|
322
329
|
};
|
|
@@ -341,6 +348,7 @@ export declare const HeaderSliderBlock: {
|
|
|
341
348
|
};
|
|
342
349
|
description: {
|
|
343
350
|
type: string;
|
|
351
|
+
contentType: string;
|
|
344
352
|
};
|
|
345
353
|
title: {
|
|
346
354
|
type: string;
|
|
@@ -349,6 +357,7 @@ export declare const HeaderSliderBlock: {
|
|
|
349
357
|
properties: {
|
|
350
358
|
text: {
|
|
351
359
|
type: string;
|
|
360
|
+
contentType: string;
|
|
352
361
|
};
|
|
353
362
|
textSize: {
|
|
354
363
|
type: string;
|
|
@@ -390,6 +399,7 @@ export declare const HeaderSliderBlock: {
|
|
|
390
399
|
properties: {
|
|
391
400
|
text: {
|
|
392
401
|
type: string;
|
|
402
|
+
contentType: string;
|
|
393
403
|
};
|
|
394
404
|
size: {
|
|
395
405
|
type: string;
|
|
@@ -434,6 +444,7 @@ export declare const HeaderSliderBlock: {
|
|
|
434
444
|
properties: {
|
|
435
445
|
text: {
|
|
436
446
|
type: string;
|
|
447
|
+
contentType: string;
|
|
437
448
|
};
|
|
438
449
|
url: {
|
|
439
450
|
type: string;
|