@gravity-ui/page-constructor 1.7.0 → 1.8.0-alfa.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/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 +9 -0
- package/build/cjs/blocks/Media/schema.js +3 -1
- 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 +8 -0
- package/build/cjs/blocks/Tabs/schema.js +4 -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 +2 -0
- 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 +8 -0
- package/build/cjs/sub-blocks/CardWithImage/schema.js +4 -1
- 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 +1 -0
- package/build/cjs/text-transform/utils.js +1 -1
- 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 +9 -0
- package/build/esm/blocks/Media/schema.js +3 -1
- 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 +8 -0
- package/build/esm/blocks/Tabs/schema.js +4 -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 +2 -0
- 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 +8 -0
- package/build/esm/sub-blocks/CardWithImage/schema.js +4 -1
- 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 +1 -0
- package/build/esm/text-transform/utils.js +1 -1
- package/package.json +4 -1
- package/server/text-transform/blocks.js +1 -0
- package/server/text-transform/utils.js +1 -1
|
@@ -91,6 +91,7 @@ export declare const Media: {
|
|
|
91
91
|
};
|
|
92
92
|
text: {
|
|
93
93
|
type: string;
|
|
94
|
+
content: string;
|
|
94
95
|
};
|
|
95
96
|
};
|
|
96
97
|
};
|
|
@@ -145,6 +146,7 @@ export declare const MediaBlock: {
|
|
|
145
146
|
properties: {
|
|
146
147
|
text: {
|
|
147
148
|
type: string;
|
|
149
|
+
content: string;
|
|
148
150
|
};
|
|
149
151
|
textSize: {
|
|
150
152
|
type: string;
|
|
@@ -159,13 +161,16 @@ export declare const MediaBlock: {
|
|
|
159
161
|
};
|
|
160
162
|
} | {
|
|
161
163
|
type: string;
|
|
164
|
+
content: string;
|
|
162
165
|
})[];
|
|
163
166
|
};
|
|
164
167
|
additionalInfo: {
|
|
165
168
|
type: string;
|
|
169
|
+
content: string;
|
|
166
170
|
};
|
|
167
171
|
description: {
|
|
168
172
|
type: string;
|
|
173
|
+
content: string;
|
|
169
174
|
};
|
|
170
175
|
size: {
|
|
171
176
|
type: string;
|
|
@@ -303,6 +308,7 @@ export declare const MediaBlock: {
|
|
|
303
308
|
};
|
|
304
309
|
text: {
|
|
305
310
|
type: string;
|
|
311
|
+
content: string;
|
|
306
312
|
};
|
|
307
313
|
};
|
|
308
314
|
};
|
|
@@ -350,6 +356,7 @@ export declare const MediaBlock: {
|
|
|
350
356
|
properties: {
|
|
351
357
|
text: {
|
|
352
358
|
type: string;
|
|
359
|
+
content: string;
|
|
353
360
|
};
|
|
354
361
|
url: {
|
|
355
362
|
type: string;
|
|
@@ -385,6 +392,7 @@ export declare const MediaBlock: {
|
|
|
385
392
|
};
|
|
386
393
|
alt: {
|
|
387
394
|
type: string;
|
|
395
|
+
content: string;
|
|
388
396
|
};
|
|
389
397
|
};
|
|
390
398
|
})[];
|
|
@@ -503,6 +511,7 @@ export declare const MediaBlock: {
|
|
|
503
511
|
properties: {
|
|
504
512
|
text: {
|
|
505
513
|
type: string;
|
|
514
|
+
content: string;
|
|
506
515
|
};
|
|
507
516
|
url: {
|
|
508
517
|
type: string;
|
|
@@ -14,11 +14,13 @@ 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' }, common_1.TitleProps],
|
|
17
|
+
oneOf: [{ type: 'string', content: 'text' }, common_1.TitleProps],
|
|
18
18
|
}, additionalInfo: {
|
|
19
19
|
type: 'string',
|
|
20
|
+
content: 'yfm',
|
|
20
21
|
}, description: {
|
|
21
22
|
type: 'string',
|
|
23
|
+
content: 'yfm',
|
|
22
24
|
}, size: {
|
|
23
25
|
type: 'string',
|
|
24
26
|
enum: common_1.contentSizes,
|
|
@@ -11,9 +11,11 @@ const PreviewContentItem = {
|
|
|
11
11
|
properties: {
|
|
12
12
|
title: {
|
|
13
13
|
type: 'string',
|
|
14
|
+
content: 'text',
|
|
14
15
|
},
|
|
15
16
|
description: {
|
|
16
17
|
type: 'string',
|
|
18
|
+
content: 'yfm',
|
|
17
19
|
},
|
|
18
20
|
},
|
|
19
21
|
};
|
|
@@ -36,8 +38,10 @@ exports.PreviewBlock = {
|
|
|
36
38
|
required: ['title', 'items'],
|
|
37
39
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: {
|
|
38
40
|
type: 'string',
|
|
41
|
+
content: 'text',
|
|
39
42
|
}, description: {
|
|
40
43
|
type: 'string',
|
|
44
|
+
content: 'text',
|
|
41
45
|
}, direction: {
|
|
42
46
|
type: 'string',
|
|
43
47
|
enum: common_1.mediaDirection,
|
|
@@ -4,9 +4,11 @@ export declare const PromoFeaturesItem: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
+
content: string;
|
|
7
8
|
};
|
|
8
9
|
text: {
|
|
9
10
|
type: string;
|
|
11
|
+
content: string;
|
|
10
12
|
};
|
|
11
13
|
theme: {
|
|
12
14
|
enum: string[];
|
|
@@ -104,6 +106,7 @@ export declare const PromoFeaturesItem: {
|
|
|
104
106
|
};
|
|
105
107
|
text: {
|
|
106
108
|
type: string;
|
|
109
|
+
content: string;
|
|
107
110
|
};
|
|
108
111
|
};
|
|
109
112
|
};
|
|
@@ -160,6 +163,7 @@ export declare const PromoFeaturesBlock: {
|
|
|
160
163
|
properties: {
|
|
161
164
|
text: {
|
|
162
165
|
type: string;
|
|
166
|
+
content: string;
|
|
163
167
|
};
|
|
164
168
|
textSize: {
|
|
165
169
|
type: string;
|
|
@@ -174,10 +178,12 @@ export declare const PromoFeaturesBlock: {
|
|
|
174
178
|
};
|
|
175
179
|
} | {
|
|
176
180
|
type: string;
|
|
181
|
+
content: string;
|
|
177
182
|
})[];
|
|
178
183
|
};
|
|
179
184
|
description: {
|
|
180
185
|
type: string;
|
|
186
|
+
content: string;
|
|
181
187
|
};
|
|
182
188
|
theme: {
|
|
183
189
|
enum: string[];
|
|
@@ -203,6 +209,7 @@ export declare const PromoFeaturesBlock: {
|
|
|
203
209
|
properties: {
|
|
204
210
|
text: {
|
|
205
211
|
type: string;
|
|
212
|
+
content: string;
|
|
206
213
|
};
|
|
207
214
|
url: {
|
|
208
215
|
type: string;
|
|
@@ -10,9 +10,11 @@ exports.PromoFeaturesItem = {
|
|
|
10
10
|
properties: {
|
|
11
11
|
title: {
|
|
12
12
|
type: 'string',
|
|
13
|
+
content: 'text',
|
|
13
14
|
},
|
|
14
15
|
text: {
|
|
15
16
|
type: 'string',
|
|
17
|
+
content: 'yfm',
|
|
16
18
|
},
|
|
17
19
|
theme: {
|
|
18
20
|
enum: ['accent', 'accent-light', 'primary'],
|
|
@@ -25,9 +27,10 @@ exports.PromoFeaturesBlock = {
|
|
|
25
27
|
additionalProperties: false,
|
|
26
28
|
required: ['items'],
|
|
27
29
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
|
|
28
|
-
oneOf: [{ type: 'string' }, common_1.TitleProps],
|
|
30
|
+
oneOf: [{ type: 'string', content: 'text' }, common_1.TitleProps],
|
|
29
31
|
}, description: {
|
|
30
32
|
type: 'string',
|
|
33
|
+
content: 'text',
|
|
31
34
|
}, theme: {
|
|
32
35
|
enum: ['grey', 'default'],
|
|
33
36
|
}, items: (0, utils_1.filteredArray)(exports.PromoFeaturesItem) }),
|
|
@@ -22,6 +22,7 @@ export declare const QuestionsBlock: {
|
|
|
22
22
|
properties: {
|
|
23
23
|
text: {
|
|
24
24
|
type: string;
|
|
25
|
+
content: string;
|
|
25
26
|
};
|
|
26
27
|
textSize: {
|
|
27
28
|
type: string;
|
|
@@ -36,13 +37,16 @@ export declare const QuestionsBlock: {
|
|
|
36
37
|
};
|
|
37
38
|
} | {
|
|
38
39
|
type: string;
|
|
40
|
+
content: string;
|
|
39
41
|
})[];
|
|
40
42
|
};
|
|
41
43
|
text: {
|
|
42
44
|
type: string;
|
|
45
|
+
content: string;
|
|
43
46
|
};
|
|
44
47
|
additionalInfo: {
|
|
45
48
|
type: string;
|
|
49
|
+
content: string;
|
|
46
50
|
};
|
|
47
51
|
links: {
|
|
48
52
|
type: string;
|
|
@@ -73,6 +77,7 @@ export declare const QuestionsBlock: {
|
|
|
73
77
|
properties: {
|
|
74
78
|
text: {
|
|
75
79
|
type: string;
|
|
80
|
+
content: string;
|
|
76
81
|
};
|
|
77
82
|
url: {
|
|
78
83
|
type: string;
|
|
@@ -12,6 +12,7 @@ export declare const SecurityBlock: {
|
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
14
|
type: string;
|
|
15
|
+
content: string;
|
|
15
16
|
};
|
|
16
17
|
media: {
|
|
17
18
|
type: string;
|
|
@@ -106,6 +107,7 @@ export declare const SecurityBlock: {
|
|
|
106
107
|
};
|
|
107
108
|
text: {
|
|
108
109
|
type: string;
|
|
110
|
+
content: string;
|
|
109
111
|
};
|
|
110
112
|
};
|
|
111
113
|
};
|
|
@@ -14,6 +14,7 @@ exports.SecurityBlock = {
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
}, title: {
|
|
16
16
|
type: 'string',
|
|
17
|
+
content: 'text',
|
|
17
18
|
}, media: schema_1.Media, points: (0, utils_1.filteredArray)({
|
|
18
19
|
type: 'object',
|
|
19
20
|
properties: {
|
|
@@ -22,6 +23,7 @@ exports.SecurityBlock = {
|
|
|
22
23
|
},
|
|
23
24
|
text: {
|
|
24
25
|
type: 'string',
|
|
26
|
+
content: 'text',
|
|
25
27
|
},
|
|
26
28
|
link: lodash_1.default.pick(common_1.LinkProps, ['text', 'url']),
|
|
27
29
|
},
|
|
@@ -19,6 +19,7 @@ export declare const SimpleBlock: {
|
|
|
19
19
|
properties: {
|
|
20
20
|
text: {
|
|
21
21
|
type: string;
|
|
22
|
+
content: string;
|
|
22
23
|
};
|
|
23
24
|
url: {
|
|
24
25
|
type: string;
|
|
@@ -41,6 +42,7 @@ export declare const SimpleBlock: {
|
|
|
41
42
|
properties: {
|
|
42
43
|
text: {
|
|
43
44
|
type: string;
|
|
45
|
+
content: string;
|
|
44
46
|
};
|
|
45
47
|
textSize: {
|
|
46
48
|
type: string;
|
|
@@ -56,6 +58,7 @@ export declare const SimpleBlock: {
|
|
|
56
58
|
};
|
|
57
59
|
description: {
|
|
58
60
|
type: string;
|
|
61
|
+
content: string;
|
|
59
62
|
};
|
|
60
63
|
};
|
|
61
64
|
};
|
|
@@ -8,6 +8,7 @@ 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',
|
|
11
12
|
} }, common_1.BlockBaseProps), common_1.AnimatableProps), { children: common_1.ChildrenProps }),
|
|
12
13
|
},
|
|
13
14
|
};
|
|
@@ -7,6 +7,7 @@ export declare const SliderProps: {
|
|
|
7
7
|
};
|
|
8
8
|
description: {
|
|
9
9
|
type: string;
|
|
10
|
+
content: string;
|
|
10
11
|
};
|
|
11
12
|
title: {
|
|
12
13
|
type: string;
|
|
@@ -15,6 +16,7 @@ export declare const SliderProps: {
|
|
|
15
16
|
properties: {
|
|
16
17
|
text: {
|
|
17
18
|
type: string;
|
|
19
|
+
content: string;
|
|
18
20
|
};
|
|
19
21
|
textSize: {
|
|
20
22
|
type: string;
|
|
@@ -56,6 +58,7 @@ export declare const SliderProps: {
|
|
|
56
58
|
properties: {
|
|
57
59
|
text: {
|
|
58
60
|
type: string;
|
|
61
|
+
content: string;
|
|
59
62
|
};
|
|
60
63
|
size: {
|
|
61
64
|
type: string;
|
|
@@ -113,6 +116,7 @@ export declare const SliderBlock: {
|
|
|
113
116
|
};
|
|
114
117
|
description: {
|
|
115
118
|
type: string;
|
|
119
|
+
content: string;
|
|
116
120
|
};
|
|
117
121
|
title: {
|
|
118
122
|
type: string;
|
|
@@ -121,6 +125,7 @@ export declare const SliderBlock: {
|
|
|
121
125
|
properties: {
|
|
122
126
|
text: {
|
|
123
127
|
type: string;
|
|
128
|
+
content: string;
|
|
124
129
|
};
|
|
125
130
|
textSize: {
|
|
126
131
|
type: string;
|
|
@@ -162,6 +167,7 @@ export declare const SliderBlock: {
|
|
|
162
167
|
properties: {
|
|
163
168
|
text: {
|
|
164
169
|
type: string;
|
|
170
|
+
content: string;
|
|
165
171
|
};
|
|
166
172
|
size: {
|
|
167
173
|
type: string;
|
|
@@ -212,6 +218,7 @@ export declare const SliderBlock: {
|
|
|
212
218
|
properties: {
|
|
213
219
|
text: {
|
|
214
220
|
type: string;
|
|
221
|
+
content: string;
|
|
215
222
|
};
|
|
216
223
|
url: {
|
|
217
224
|
type: string;
|
|
@@ -36,6 +36,7 @@ const DisclaimerProps = {
|
|
|
36
36
|
properties: {
|
|
37
37
|
text: {
|
|
38
38
|
type: 'string',
|
|
39
|
+
content: 'text',
|
|
39
40
|
},
|
|
40
41
|
size: {
|
|
41
42
|
type: 'string',
|
|
@@ -52,6 +53,7 @@ exports.SliderProps = {
|
|
|
52
53
|
},
|
|
53
54
|
description: {
|
|
54
55
|
type: 'string',
|
|
56
|
+
content: 'text',
|
|
55
57
|
},
|
|
56
58
|
title: common_1.TitleProps,
|
|
57
59
|
randomOrder: {
|
|
@@ -5,6 +5,7 @@ export declare const TableBlock: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
title: {
|
|
7
7
|
type: string;
|
|
8
|
+
content: string;
|
|
8
9
|
};
|
|
9
10
|
table: {
|
|
10
11
|
additionalProperties: boolean;
|
|
@@ -16,6 +17,7 @@ export declare const TableBlock: {
|
|
|
16
17
|
type: string;
|
|
17
18
|
items: {
|
|
18
19
|
type: string[];
|
|
20
|
+
content: string;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
};
|
|
@@ -23,6 +25,7 @@ export declare const TableBlock: {
|
|
|
23
25
|
type: string;
|
|
24
26
|
items: {
|
|
25
27
|
type: string;
|
|
28
|
+
content: string;
|
|
26
29
|
};
|
|
27
30
|
};
|
|
28
31
|
justify: {
|
|
@@ -47,6 +50,7 @@ export declare const TableBlock: {
|
|
|
47
50
|
properties: {
|
|
48
51
|
text: {
|
|
49
52
|
type: string;
|
|
53
|
+
content: string;
|
|
50
54
|
};
|
|
51
55
|
url: {
|
|
52
56
|
type: string;
|
|
@@ -8,6 +8,7 @@ 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',
|
|
11
12
|
}, table: {
|
|
12
13
|
additionalProperties: false,
|
|
13
14
|
required: ['content'],
|
|
@@ -17,12 +18,14 @@ exports.TableBlock = {
|
|
|
17
18
|
type: 'array',
|
|
18
19
|
items: {
|
|
19
20
|
type: ['string', 'number'],
|
|
21
|
+
content: 'text',
|
|
20
22
|
},
|
|
21
23
|
},
|
|
22
24
|
}, legend: {
|
|
23
25
|
type: 'array',
|
|
24
26
|
items: {
|
|
25
27
|
type: 'string',
|
|
28
|
+
content: 'yfm',
|
|
26
29
|
},
|
|
27
30
|
}, justify: {
|
|
28
31
|
type: 'array',
|
|
@@ -8,12 +8,15 @@ export declare const tabsItem: {
|
|
|
8
8
|
};
|
|
9
9
|
title: {
|
|
10
10
|
type: string;
|
|
11
|
+
content: string;
|
|
11
12
|
};
|
|
12
13
|
text: {
|
|
13
14
|
type: string;
|
|
15
|
+
content: string;
|
|
14
16
|
};
|
|
15
17
|
caption: {
|
|
16
18
|
type: string;
|
|
19
|
+
content: string;
|
|
17
20
|
};
|
|
18
21
|
media: {
|
|
19
22
|
oneOf: ({
|
|
@@ -107,6 +110,7 @@ export declare const tabsItem: {
|
|
|
107
110
|
};
|
|
108
111
|
text: {
|
|
109
112
|
type: string;
|
|
113
|
+
content: string;
|
|
110
114
|
};
|
|
111
115
|
};
|
|
112
116
|
};
|
|
@@ -161,6 +165,7 @@ export declare const tabsItem: {
|
|
|
161
165
|
properties: {
|
|
162
166
|
text: {
|
|
163
167
|
type: string;
|
|
168
|
+
content: string;
|
|
164
169
|
};
|
|
165
170
|
url: {
|
|
166
171
|
type: string;
|
|
@@ -229,6 +234,7 @@ export declare const TabsBlock: {
|
|
|
229
234
|
properties: {
|
|
230
235
|
text: {
|
|
231
236
|
type: string;
|
|
237
|
+
content: string;
|
|
232
238
|
};
|
|
233
239
|
textSize: {
|
|
234
240
|
type: string;
|
|
@@ -244,6 +250,7 @@ export declare const TabsBlock: {
|
|
|
244
250
|
};
|
|
245
251
|
description: {
|
|
246
252
|
type: string;
|
|
253
|
+
content: string;
|
|
247
254
|
};
|
|
248
255
|
items: {
|
|
249
256
|
type: string;
|
|
@@ -263,6 +270,7 @@ export declare const TabsBlock: {
|
|
|
263
270
|
properties: {
|
|
264
271
|
text: {
|
|
265
272
|
type: string;
|
|
273
|
+
content: string;
|
|
266
274
|
};
|
|
267
275
|
url: {
|
|
268
276
|
type: string;
|
|
@@ -14,12 +14,15 @@ exports.tabsItem = {
|
|
|
14
14
|
},
|
|
15
15
|
title: {
|
|
16
16
|
type: 'string',
|
|
17
|
+
content: 'yfm',
|
|
17
18
|
},
|
|
18
19
|
text: {
|
|
19
20
|
type: 'string',
|
|
21
|
+
content: 'yfm',
|
|
20
22
|
},
|
|
21
23
|
caption: {
|
|
22
24
|
type: 'string',
|
|
25
|
+
content: 'text',
|
|
23
26
|
},
|
|
24
27
|
media: (0, common_1.withTheme)({
|
|
25
28
|
type: 'object',
|
|
@@ -37,6 +40,7 @@ exports.TabsBlock = {
|
|
|
37
40
|
required: ['title', 'items'],
|
|
38
41
|
properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { title: common_1.TitleProps, description: {
|
|
39
42
|
type: 'string',
|
|
43
|
+
content: 'text',
|
|
40
44
|
}, items: (0, utils_1.filteredArray)(exports.tabsItem) }),
|
|
41
45
|
},
|
|
42
46
|
};
|
|
@@ -10,9 +10,11 @@ export declare const author: {
|
|
|
10
10
|
properties: {
|
|
11
11
|
firstName: {
|
|
12
12
|
type: string;
|
|
13
|
+
content: string;
|
|
13
14
|
};
|
|
14
15
|
secondName: {
|
|
15
16
|
type: string;
|
|
17
|
+
content: string;
|
|
16
18
|
};
|
|
17
19
|
avatar: {
|
|
18
20
|
type: string;
|
|
@@ -20,6 +22,7 @@ export declare const author: {
|
|
|
20
22
|
};
|
|
21
23
|
description: {
|
|
22
24
|
type: string;
|
|
25
|
+
content: string;
|
|
23
26
|
};
|
|
24
27
|
};
|
|
25
28
|
};
|
|
@@ -18,6 +18,7 @@ export declare const ImageDeviceProps: {
|
|
|
18
18
|
};
|
|
19
19
|
alt: {
|
|
20
20
|
type: string;
|
|
21
|
+
content: string;
|
|
21
22
|
};
|
|
22
23
|
disableCompress: {
|
|
23
24
|
type: string;
|
|
@@ -35,6 +36,7 @@ export declare const ImageObjectProps: {
|
|
|
35
36
|
};
|
|
36
37
|
alt: {
|
|
37
38
|
type: string;
|
|
39
|
+
content: string;
|
|
38
40
|
};
|
|
39
41
|
disableCompress: {
|
|
40
42
|
type: string;
|
|
@@ -19,6 +19,7 @@ exports.ImageDeviceProps = {
|
|
|
19
19
|
},
|
|
20
20
|
alt: {
|
|
21
21
|
type: 'string',
|
|
22
|
+
content: 'text',
|
|
22
23
|
},
|
|
23
24
|
disableCompress: {
|
|
24
25
|
type: 'boolean',
|
|
@@ -36,6 +37,7 @@ exports.ImageObjectProps = {
|
|
|
36
37
|
},
|
|
37
38
|
alt: {
|
|
38
39
|
type: 'string',
|
|
40
|
+
content: 'text',
|
|
39
41
|
},
|
|
40
42
|
disableCompress: {
|
|
41
43
|
type: 'boolean',
|
|
@@ -43,6 +43,7 @@ export declare function generateDefaultSchema(config?: SchemaCustomConfig): {
|
|
|
43
43
|
properties: {
|
|
44
44
|
title: {
|
|
45
45
|
type: string;
|
|
46
|
+
content: string;
|
|
46
47
|
};
|
|
47
48
|
};
|
|
48
49
|
};
|
|
@@ -121,6 +122,7 @@ export declare function generateDefaultSchema(config?: SchemaCustomConfig): {
|
|
|
121
122
|
};
|
|
122
123
|
text: {
|
|
123
124
|
type: string;
|
|
125
|
+
content: string;
|
|
124
126
|
};
|
|
125
127
|
};
|
|
126
128
|
};
|