@gravity-ui/page-constructor 1.9.0-alpha.0 → 1.9.1-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 +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 +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 +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 +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/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 +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 +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/package.json +1 -1
|
@@ -83,6 +83,7 @@ export declare const PlayIconProps: {
|
|
|
83
83
|
};
|
|
84
84
|
text: {
|
|
85
85
|
type: string;
|
|
86
|
+
content: string;
|
|
86
87
|
};
|
|
87
88
|
};
|
|
88
89
|
};
|
|
@@ -141,6 +142,7 @@ export declare const VideoProps: {
|
|
|
141
142
|
};
|
|
142
143
|
text: {
|
|
143
144
|
type: string;
|
|
145
|
+
content: string;
|
|
144
146
|
};
|
|
145
147
|
};
|
|
146
148
|
};
|
|
@@ -264,6 +266,7 @@ export declare const BackgroundProps: {
|
|
|
264
266
|
};
|
|
265
267
|
text: {
|
|
266
268
|
type: string;
|
|
269
|
+
content: string;
|
|
267
270
|
};
|
|
268
271
|
};
|
|
269
272
|
};
|
|
@@ -295,6 +298,7 @@ export declare const LinkProps: {
|
|
|
295
298
|
properties: {
|
|
296
299
|
text: {
|
|
297
300
|
type: string;
|
|
301
|
+
content: string;
|
|
298
302
|
};
|
|
299
303
|
url: {
|
|
300
304
|
type: string;
|
|
@@ -328,6 +332,7 @@ export declare const FileLinkProps: {
|
|
|
328
332
|
};
|
|
329
333
|
text: {
|
|
330
334
|
type: string;
|
|
335
|
+
content: string;
|
|
331
336
|
};
|
|
332
337
|
type: {
|
|
333
338
|
type: string;
|
|
@@ -349,9 +354,11 @@ export declare const authorItem: {
|
|
|
349
354
|
properties: {
|
|
350
355
|
firstName: {
|
|
351
356
|
type: string;
|
|
357
|
+
content: string;
|
|
352
358
|
};
|
|
353
359
|
secondName: {
|
|
354
360
|
type: string;
|
|
361
|
+
content: string;
|
|
355
362
|
};
|
|
356
363
|
avatar: {
|
|
357
364
|
type: string;
|
|
@@ -359,12 +366,14 @@ export declare const authorItem: {
|
|
|
359
366
|
};
|
|
360
367
|
description: {
|
|
361
368
|
type: string;
|
|
369
|
+
content: string;
|
|
362
370
|
};
|
|
363
371
|
};
|
|
364
372
|
};
|
|
365
373
|
export declare const ButtonProps: {
|
|
366
374
|
text: {
|
|
367
375
|
type: string;
|
|
376
|
+
content: string;
|
|
368
377
|
};
|
|
369
378
|
url: {
|
|
370
379
|
type: string;
|
|
@@ -400,6 +409,7 @@ export declare const ButtonProps: {
|
|
|
400
409
|
};
|
|
401
410
|
alt: {
|
|
402
411
|
type: string;
|
|
412
|
+
content: string;
|
|
403
413
|
};
|
|
404
414
|
};
|
|
405
415
|
})[];
|
|
@@ -500,6 +510,7 @@ export declare const MenuProps: {
|
|
|
500
510
|
properties: {
|
|
501
511
|
title: {
|
|
502
512
|
type: string;
|
|
513
|
+
content: string;
|
|
503
514
|
};
|
|
504
515
|
};
|
|
505
516
|
};
|
|
@@ -518,6 +529,7 @@ export declare const AnchorProps: {
|
|
|
518
529
|
properties: {
|
|
519
530
|
text: {
|
|
520
531
|
type: string;
|
|
532
|
+
content: string;
|
|
521
533
|
};
|
|
522
534
|
url: {
|
|
523
535
|
type: string;
|
|
@@ -532,6 +544,7 @@ export declare const BlockBaseProps: {
|
|
|
532
544
|
properties: {
|
|
533
545
|
text: {
|
|
534
546
|
type: string;
|
|
547
|
+
content: string;
|
|
535
548
|
};
|
|
536
549
|
url: {
|
|
537
550
|
type: string;
|
|
@@ -555,6 +568,7 @@ export declare const TitleProps: {
|
|
|
555
568
|
properties: {
|
|
556
569
|
text: {
|
|
557
570
|
type: string;
|
|
571
|
+
content: string;
|
|
558
572
|
};
|
|
559
573
|
textSize: {
|
|
560
574
|
type: string;
|
|
@@ -574,6 +588,7 @@ export declare const ButtonBlock: {
|
|
|
574
588
|
properties: {
|
|
575
589
|
text: {
|
|
576
590
|
type: string;
|
|
591
|
+
content: string;
|
|
577
592
|
};
|
|
578
593
|
url: {
|
|
579
594
|
type: string;
|
|
@@ -609,6 +624,7 @@ export declare const ButtonBlock: {
|
|
|
609
624
|
};
|
|
610
625
|
alt: {
|
|
611
626
|
type: string;
|
|
627
|
+
content: string;
|
|
612
628
|
};
|
|
613
629
|
};
|
|
614
630
|
})[];
|
|
@@ -806,6 +822,7 @@ export declare const MediaProps: {
|
|
|
806
822
|
};
|
|
807
823
|
text: {
|
|
808
824
|
type: string;
|
|
825
|
+
content: string;
|
|
809
826
|
};
|
|
810
827
|
};
|
|
811
828
|
};
|
|
@@ -79,6 +79,7 @@ exports.PlayIconProps = {
|
|
|
79
79
|
},
|
|
80
80
|
text: {
|
|
81
81
|
type: 'string',
|
|
82
|
+
content: 'text',
|
|
82
83
|
},
|
|
83
84
|
},
|
|
84
85
|
};
|
|
@@ -162,6 +163,7 @@ exports.LinkProps = {
|
|
|
162
163
|
required: ['text', 'url'],
|
|
163
164
|
properties: Object.assign(Object.assign({}, exports.BaseProps), { text: {
|
|
164
165
|
type: 'string',
|
|
166
|
+
content: 'text',
|
|
165
167
|
}, url: {
|
|
166
168
|
type: 'string',
|
|
167
169
|
}, arrow: {
|
|
@@ -187,6 +189,7 @@ exports.FileLinkProps = {
|
|
|
187
189
|
},
|
|
188
190
|
text: {
|
|
189
191
|
type: 'string',
|
|
192
|
+
content: 'text',
|
|
190
193
|
},
|
|
191
194
|
type: {
|
|
192
195
|
type: 'string',
|
|
@@ -208,9 +211,11 @@ exports.authorItem = {
|
|
|
208
211
|
properties: {
|
|
209
212
|
firstName: {
|
|
210
213
|
type: 'string',
|
|
214
|
+
content: 'text',
|
|
211
215
|
},
|
|
212
216
|
secondName: {
|
|
213
217
|
type: 'string',
|
|
218
|
+
content: 'text',
|
|
214
219
|
},
|
|
215
220
|
avatar: {
|
|
216
221
|
type: 'string',
|
|
@@ -218,12 +223,14 @@ exports.authorItem = {
|
|
|
218
223
|
},
|
|
219
224
|
description: {
|
|
220
225
|
type: 'string',
|
|
226
|
+
content: 'yfm',
|
|
221
227
|
},
|
|
222
228
|
},
|
|
223
229
|
};
|
|
224
230
|
exports.ButtonProps = {
|
|
225
231
|
text: {
|
|
226
232
|
type: 'string',
|
|
233
|
+
content: 'text',
|
|
227
234
|
},
|
|
228
235
|
url: {
|
|
229
236
|
type: 'string',
|
|
@@ -296,6 +303,7 @@ exports.ButtonProps = {
|
|
|
296
303
|
},
|
|
297
304
|
alt: {
|
|
298
305
|
type: 'string',
|
|
306
|
+
content: 'text',
|
|
299
307
|
},
|
|
300
308
|
},
|
|
301
309
|
},
|
|
@@ -335,6 +343,7 @@ exports.MenuProps = {
|
|
|
335
343
|
properties: {
|
|
336
344
|
title: {
|
|
337
345
|
type: 'string',
|
|
346
|
+
content: 'text',
|
|
338
347
|
},
|
|
339
348
|
},
|
|
340
349
|
};
|
|
@@ -359,6 +368,7 @@ exports.AnchorProps = {
|
|
|
359
368
|
properties: {
|
|
360
369
|
text: {
|
|
361
370
|
type: 'string',
|
|
371
|
+
content: 'text',
|
|
362
372
|
},
|
|
363
373
|
url: {
|
|
364
374
|
type: 'string',
|
|
@@ -378,6 +388,7 @@ exports.TitleProps = {
|
|
|
378
388
|
properties: {
|
|
379
389
|
text: {
|
|
380
390
|
type: 'string',
|
|
391
|
+
content: 'text',
|
|
381
392
|
},
|
|
382
393
|
textSize: {
|
|
383
394
|
type: 'string',
|
|
@@ -18,6 +18,7 @@ export declare const BackgroundCard: {
|
|
|
18
18
|
};
|
|
19
19
|
alt: {
|
|
20
20
|
type: string;
|
|
21
|
+
content: string;
|
|
21
22
|
};
|
|
22
23
|
disableCompress: {
|
|
23
24
|
type: string;
|
|
@@ -45,6 +46,7 @@ export declare const BackgroundCard: {
|
|
|
45
46
|
properties: {
|
|
46
47
|
text: {
|
|
47
48
|
type: string;
|
|
49
|
+
content: string;
|
|
48
50
|
};
|
|
49
51
|
textSize: {
|
|
50
52
|
type: string;
|
|
@@ -59,10 +61,12 @@ export declare const BackgroundCard: {
|
|
|
59
61
|
};
|
|
60
62
|
} | {
|
|
61
63
|
type: string;
|
|
64
|
+
content: string;
|
|
62
65
|
})[];
|
|
63
66
|
};
|
|
64
67
|
text: {
|
|
65
68
|
type: string;
|
|
69
|
+
content: string;
|
|
66
70
|
};
|
|
67
71
|
theme: {
|
|
68
72
|
type: string;
|
|
@@ -70,6 +74,7 @@ export declare const BackgroundCard: {
|
|
|
70
74
|
};
|
|
71
75
|
additionalInfo: {
|
|
72
76
|
type: string;
|
|
77
|
+
content: string;
|
|
73
78
|
};
|
|
74
79
|
links: {
|
|
75
80
|
type: string;
|
|
@@ -27,6 +27,7 @@ export declare const BasicCard: {
|
|
|
27
27
|
properties: {
|
|
28
28
|
text: {
|
|
29
29
|
type: string;
|
|
30
|
+
content: string;
|
|
30
31
|
};
|
|
31
32
|
textSize: {
|
|
32
33
|
type: string;
|
|
@@ -41,13 +42,16 @@ export declare const BasicCard: {
|
|
|
41
42
|
};
|
|
42
43
|
} | {
|
|
43
44
|
type: string;
|
|
45
|
+
content: string;
|
|
44
46
|
})[];
|
|
45
47
|
};
|
|
46
48
|
text: {
|
|
47
49
|
type: string;
|
|
50
|
+
content: string;
|
|
48
51
|
};
|
|
49
52
|
additionalInfo: {
|
|
50
53
|
type: string;
|
|
54
|
+
content: string;
|
|
51
55
|
};
|
|
52
56
|
links: {
|
|
53
57
|
type: string;
|
|
@@ -13,6 +13,7 @@ export declare const CardWithImageItem: {
|
|
|
13
13
|
properties: {
|
|
14
14
|
text: {
|
|
15
15
|
type: string;
|
|
16
|
+
content: string;
|
|
16
17
|
};
|
|
17
18
|
textSize: {
|
|
18
19
|
type: string;
|
|
@@ -27,13 +28,16 @@ export declare const CardWithImageItem: {
|
|
|
27
28
|
};
|
|
28
29
|
} | {
|
|
29
30
|
type: string;
|
|
31
|
+
content: string;
|
|
30
32
|
})[];
|
|
31
33
|
};
|
|
32
34
|
description: {
|
|
33
35
|
type: string;
|
|
36
|
+
content: string;
|
|
34
37
|
};
|
|
35
38
|
additionalInfo: {
|
|
36
39
|
type: string;
|
|
40
|
+
content: string;
|
|
37
41
|
};
|
|
38
42
|
disableCompress: {
|
|
39
43
|
type: string;
|
|
@@ -86,6 +90,7 @@ export declare const CardWithImage: {
|
|
|
86
90
|
properties: {
|
|
87
91
|
text: {
|
|
88
92
|
type: string;
|
|
93
|
+
content: string;
|
|
89
94
|
};
|
|
90
95
|
textSize: {
|
|
91
96
|
type: string;
|
|
@@ -100,13 +105,16 @@ export declare const CardWithImage: {
|
|
|
100
105
|
};
|
|
101
106
|
} | {
|
|
102
107
|
type: string;
|
|
108
|
+
content: string;
|
|
103
109
|
})[];
|
|
104
110
|
};
|
|
105
111
|
description: {
|
|
106
112
|
type: string;
|
|
113
|
+
content: string;
|
|
107
114
|
};
|
|
108
115
|
additionalInfo: {
|
|
109
116
|
type: string;
|
|
117
|
+
content: string;
|
|
110
118
|
};
|
|
111
119
|
disableCompress: {
|
|
112
120
|
type: string;
|
|
@@ -9,6 +9,7 @@ const CardWithImageLinks = {
|
|
|
9
9
|
required: ['title', 'link'],
|
|
10
10
|
properties: Object.assign(Object.assign({}, common_1.BaseProps), { title: {
|
|
11
11
|
type: 'string',
|
|
12
|
+
content: 'text',
|
|
12
13
|
}, link: {
|
|
13
14
|
type: 'string',
|
|
14
15
|
}, arrow: {
|
|
@@ -27,11 +28,13 @@ exports.CardWithImageItem = {
|
|
|
27
28
|
properties: Object.assign(Object.assign({}, common_1.BaseProps), { image: {
|
|
28
29
|
type: 'string',
|
|
29
30
|
}, title: {
|
|
30
|
-
oneOf: [{ type: 'string' }, common_1.TitleProps],
|
|
31
|
+
oneOf: [{ type: 'string', content: 'text' }, common_1.TitleProps],
|
|
31
32
|
}, description: {
|
|
32
33
|
type: 'string',
|
|
34
|
+
content: 'yfm',
|
|
33
35
|
}, additionalInfo: {
|
|
34
36
|
type: 'string',
|
|
37
|
+
content: 'yfm',
|
|
35
38
|
}, disableCompress: {
|
|
36
39
|
type: 'boolean',
|
|
37
40
|
}, border: {
|
|
@@ -7,6 +7,7 @@ export declare const ContentBase: {
|
|
|
7
7
|
properties: {
|
|
8
8
|
text: {
|
|
9
9
|
type: string;
|
|
10
|
+
content: string;
|
|
10
11
|
};
|
|
11
12
|
textSize: {
|
|
12
13
|
type: string;
|
|
@@ -21,13 +22,16 @@ export declare const ContentBase: {
|
|
|
21
22
|
};
|
|
22
23
|
} | {
|
|
23
24
|
type: string;
|
|
25
|
+
content: string;
|
|
24
26
|
})[];
|
|
25
27
|
};
|
|
26
28
|
text: {
|
|
27
29
|
type: string;
|
|
30
|
+
content: string;
|
|
28
31
|
};
|
|
29
32
|
additionalInfo: {
|
|
30
33
|
type: string;
|
|
34
|
+
content: string;
|
|
31
35
|
};
|
|
32
36
|
size: {
|
|
33
37
|
type: string;
|
|
@@ -76,6 +80,7 @@ export declare const ContentBlock: {
|
|
|
76
80
|
properties: {
|
|
77
81
|
text: {
|
|
78
82
|
type: string;
|
|
83
|
+
content: string;
|
|
79
84
|
};
|
|
80
85
|
textSize: {
|
|
81
86
|
type: string;
|
|
@@ -90,13 +95,16 @@ export declare const ContentBlock: {
|
|
|
90
95
|
};
|
|
91
96
|
} | {
|
|
92
97
|
type: string;
|
|
98
|
+
content: string;
|
|
93
99
|
})[];
|
|
94
100
|
};
|
|
95
101
|
text: {
|
|
96
102
|
type: string;
|
|
103
|
+
content: string;
|
|
97
104
|
};
|
|
98
105
|
additionalInfo: {
|
|
99
106
|
type: string;
|
|
107
|
+
content: string;
|
|
100
108
|
};
|
|
101
109
|
size: {
|
|
102
110
|
type: string;
|
|
@@ -5,13 +5,15 @@ 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: [{ type: 'string' }, common_1.TitleProps],
|
|
8
|
+
oneOf: [{ type: 'string', content: 'text' }, common_1.TitleProps],
|
|
9
9
|
},
|
|
10
10
|
text: {
|
|
11
11
|
type: 'string',
|
|
12
|
+
content: 'yfm',
|
|
12
13
|
},
|
|
13
14
|
additionalInfo: {
|
|
14
15
|
type: 'string',
|
|
16
|
+
content: 'yfm',
|
|
15
17
|
},
|
|
16
18
|
size: {
|
|
17
19
|
type: 'string',
|
|
@@ -22,6 +22,7 @@ const PriceDetailedFoldableDetailsProps = {
|
|
|
22
22
|
properties: {
|
|
23
23
|
title: {
|
|
24
24
|
type: 'string',
|
|
25
|
+
content: '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
|
+
content: '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
|
+
content: 'text',
|
|
88
91
|
},
|
|
89
92
|
description: {
|
|
90
93
|
type: 'string',
|
|
94
|
+
content: 'yfm',
|
|
91
95
|
},
|
|
92
96
|
detailedTitle: {
|
|
93
97
|
type: 'string',
|
|
98
|
+
content: '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
|
+
content: 'text',
|
|
104
110
|
},
|
|
105
111
|
description: {
|
|
106
112
|
type: 'string',
|
|
113
|
+
content: 'yfm',
|
|
107
114
|
},
|
|
108
115
|
},
|
|
109
116
|
};
|
|
@@ -114,6 +121,7 @@ const PriceDetailsListProps = {
|
|
|
114
121
|
properties: {
|
|
115
122
|
text: {
|
|
116
123
|
type: 'string',
|
|
124
|
+
content: '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
|
+
content: 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
|
+
content: string;
|
|
50
52
|
};
|
|
51
53
|
secondName: {
|
|
52
54
|
type: string;
|
|
55
|
+
content: 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
|
+
content: 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
|
+
content: 'text',
|
|
12
13
|
}, image: (0, common_1.withTheme)(schema_1.ImageProps), logo: {
|
|
13
14
|
type: 'string',
|
|
14
15
|
pattern: schema_1.urlPattern,
|
|
@@ -4,9 +4,11 @@ export declare const BannerCardProps: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
+
content: string;
|
|
7
8
|
};
|
|
8
9
|
subtitle: {
|
|
9
10
|
type: string;
|
|
11
|
+
content: 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
|
+
content: 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
|
+
content: 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
|
+
content: string;
|
|
205
210
|
};
|
|
206
211
|
subtitle: {
|
|
207
212
|
type: string;
|
|
213
|
+
content: 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
|
+
content: 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
|
+
content: 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
|
+
content: string;
|
|
404
413
|
};
|
|
405
414
|
subtitle: {
|
|
406
415
|
type: string;
|
|
416
|
+
content: 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
|
+
content: 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
|
+
content: 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
|
+
content: 'text',
|
|
7
8
|
}, subtitle: {
|
|
8
9
|
type: 'string',
|
|
10
|
+
content: 'yfm',
|
|
9
11
|
}, image: withTheme({
|
|
10
12
|
type: 'string',
|
|
11
13
|
}), disableCompress: {
|