@gravity-ui/page-constructor 1.11.0 → 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.
Files changed (123) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/cjs/blocks/Banner/schema.d.ts +12 -0
  3. package/build/cjs/blocks/Banner/schema.js +2 -0
  4. package/build/cjs/blocks/CardLayout/schema.d.ts +8 -0
  5. package/build/cjs/blocks/CardLayout/schema.js +2 -1
  6. package/build/cjs/blocks/Companies/schema.d.ts +2 -0
  7. package/build/cjs/blocks/Companies/schema.js +2 -0
  8. package/build/cjs/blocks/ContentLayout/schema.d.ts +6 -0
  9. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +7 -0
  10. package/build/cjs/blocks/ExtendedFeatures/schema.js +4 -1
  11. package/build/cjs/blocks/Header/schema.d.ts +16 -0
  12. package/build/cjs/blocks/Header/schema.js +5 -0
  13. package/build/cjs/blocks/HeaderSlider/schema.d.ts +11 -0
  14. package/build/cjs/blocks/Icons/schema.d.ts +6 -0
  15. package/build/cjs/blocks/Icons/schema.js +2 -0
  16. package/build/cjs/blocks/Info/schema.d.ts +10 -0
  17. package/build/cjs/blocks/Info/schema.js +2 -0
  18. package/build/cjs/blocks/LinkTable/schema.d.ts +2 -0
  19. package/build/cjs/blocks/Media/schema.d.ts +62 -53
  20. package/build/cjs/blocks/Media/schema.js +6 -10
  21. package/build/cjs/blocks/Preview/schema.d.ts +2 -0
  22. package/build/cjs/blocks/Preview/schema.js +4 -0
  23. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +7 -0
  24. package/build/cjs/blocks/PromoFeaturesBlock/schema.js +4 -1
  25. package/build/cjs/blocks/Questions/schema.d.ts +5 -0
  26. package/build/cjs/blocks/Questions/schema.js +2 -0
  27. package/build/cjs/blocks/Security/schema.d.ts +2 -0
  28. package/build/cjs/blocks/Security/schema.js +2 -0
  29. package/build/cjs/blocks/Simple/schema.d.ts +3 -0
  30. package/build/cjs/blocks/Simple/schema.js +1 -0
  31. package/build/cjs/blocks/Slider/schema.d.ts +7 -0
  32. package/build/cjs/blocks/Slider/schema.js +2 -0
  33. package/build/cjs/blocks/Table/schema.d.ts +4 -0
  34. package/build/cjs/blocks/Table/schema.js +3 -0
  35. package/build/cjs/blocks/Tabs/Tabs.js +2 -2
  36. package/build/cjs/blocks/Tabs/schema.d.ts +10 -0
  37. package/build/cjs/blocks/Tabs/schema.js +2 -0
  38. package/build/cjs/components/Author/schema.d.ts +3 -0
  39. package/build/cjs/components/Image/schema.d.ts +2 -0
  40. package/build/cjs/components/Image/schema.js +14 -23
  41. package/build/cjs/schema/index.d.ts +2 -0
  42. package/build/cjs/schema/validators/common.d.ts +17 -0
  43. package/build/cjs/schema/validators/common.js +11 -0
  44. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  45. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -0
  46. package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +54 -46
  47. package/build/cjs/sub-blocks/CardWithImage/schema.js +7 -6
  48. package/build/cjs/sub-blocks/Content/schema.d.ts +8 -0
  49. package/build/cjs/sub-blocks/Content/schema.js +3 -1
  50. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -0
  51. package/build/cjs/sub-blocks/NewsCard/schema.d.ts +1 -0
  52. package/build/cjs/sub-blocks/NewsCard/schema.js +1 -0
  53. package/build/cjs/sub-blocks/Partner/schema.d.ts +1 -0
  54. package/build/cjs/sub-blocks/Partner/schema.js +1 -0
  55. package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  56. package/build/cjs/sub-blocks/PriceDetailed/schema.js +8 -0
  57. package/build/cjs/sub-blocks/Quote/schema.d.ts +4 -0
  58. package/build/cjs/sub-blocks/Quote/schema.js +1 -0
  59. package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +2 -0
  60. package/build/cjs/sub-blocks/TutorialCard/schema.js +2 -0
  61. package/build/cjs/text-transform/blocks.js +27 -0
  62. package/build/esm/blocks/Banner/schema.d.ts +12 -0
  63. package/build/esm/blocks/Banner/schema.js +2 -0
  64. package/build/esm/blocks/CardLayout/schema.d.ts +8 -0
  65. package/build/esm/blocks/CardLayout/schema.js +2 -1
  66. package/build/esm/blocks/Companies/schema.d.ts +2 -0
  67. package/build/esm/blocks/Companies/schema.js +2 -0
  68. package/build/esm/blocks/ContentLayout/schema.d.ts +6 -0
  69. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +7 -0
  70. package/build/esm/blocks/ExtendedFeatures/schema.js +4 -1
  71. package/build/esm/blocks/Header/schema.d.ts +16 -0
  72. package/build/esm/blocks/Header/schema.js +5 -0
  73. package/build/esm/blocks/HeaderSlider/schema.d.ts +11 -0
  74. package/build/esm/blocks/Icons/schema.d.ts +6 -0
  75. package/build/esm/blocks/Icons/schema.js +2 -0
  76. package/build/esm/blocks/Info/schema.d.ts +10 -0
  77. package/build/esm/blocks/Info/schema.js +2 -0
  78. package/build/esm/blocks/LinkTable/schema.d.ts +2 -0
  79. package/build/esm/blocks/Media/schema.d.ts +62 -53
  80. package/build/esm/blocks/Media/schema.js +7 -11
  81. package/build/esm/blocks/Preview/schema.d.ts +2 -0
  82. package/build/esm/blocks/Preview/schema.js +4 -0
  83. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +7 -0
  84. package/build/esm/blocks/PromoFeaturesBlock/schema.js +4 -1
  85. package/build/esm/blocks/Questions/schema.d.ts +5 -0
  86. package/build/esm/blocks/Questions/schema.js +2 -0
  87. package/build/esm/blocks/Security/schema.d.ts +2 -0
  88. package/build/esm/blocks/Security/schema.js +2 -0
  89. package/build/esm/blocks/Simple/schema.d.ts +3 -0
  90. package/build/esm/blocks/Simple/schema.js +1 -0
  91. package/build/esm/blocks/Slider/schema.d.ts +7 -0
  92. package/build/esm/blocks/Slider/schema.js +2 -0
  93. package/build/esm/blocks/Table/schema.d.ts +4 -0
  94. package/build/esm/blocks/Table/schema.js +3 -0
  95. package/build/esm/blocks/Tabs/Tabs.js +2 -2
  96. package/build/esm/blocks/Tabs/schema.d.ts +10 -0
  97. package/build/esm/blocks/Tabs/schema.js +2 -0
  98. package/build/esm/components/Author/schema.d.ts +3 -0
  99. package/build/esm/components/Image/schema.d.ts +2 -0
  100. package/build/esm/components/Image/schema.js +14 -23
  101. package/build/esm/schema/index.d.ts +2 -0
  102. package/build/esm/schema/validators/common.d.ts +17 -0
  103. package/build/esm/schema/validators/common.js +11 -0
  104. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  105. package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -0
  106. package/build/esm/sub-blocks/CardWithImage/schema.d.ts +54 -46
  107. package/build/esm/sub-blocks/CardWithImage/schema.js +8 -7
  108. package/build/esm/sub-blocks/Content/schema.d.ts +8 -0
  109. package/build/esm/sub-blocks/Content/schema.js +3 -1
  110. package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -0
  111. package/build/esm/sub-blocks/NewsCard/schema.d.ts +1 -0
  112. package/build/esm/sub-blocks/NewsCard/schema.js +1 -0
  113. package/build/esm/sub-blocks/Partner/schema.d.ts +1 -0
  114. package/build/esm/sub-blocks/Partner/schema.js +1 -0
  115. package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  116. package/build/esm/sub-blocks/PriceDetailed/schema.js +8 -0
  117. package/build/esm/sub-blocks/Quote/schema.d.ts +4 -0
  118. package/build/esm/sub-blocks/Quote/schema.js +1 -0
  119. package/build/esm/sub-blocks/TutorialCard/schema.d.ts +2 -0
  120. package/build/esm/sub-blocks/TutorialCard/schema.js +2 -0
  121. package/build/esm/text-transform/blocks.js +27 -0
  122. package/package.json +1 -1
  123. package/server/text-transform/blocks.js +27 -0
@@ -16,10 +16,12 @@ exports.InfoBlock = {
16
16
  required: ['title', 'sectionsTitle'],
17
17
  properties: Object.assign(Object.assign({}, common_1.BaseProps), { title: {
18
18
  type: 'string',
19
+ contentType: 'text',
19
20
  }, backgroundColor: (0, common_1.withTheme)({
20
21
  type: 'string',
21
22
  }), sectionsTitle: {
22
23
  type: 'string',
24
+ contentType: 'text',
23
25
  }, buttons: (0, utils_1.filteredArray)(common_1.ButtonBlock), theme: common_1.ThemeProps, links: (0, utils_1.filteredArray)(common_1.LinkProps), leftContent: ContentProps, rightContent: ContentProps }),
24
26
  },
25
27
  };
@@ -10,6 +10,7 @@ export declare const LinkTableBlock: {
10
10
  properties: {
11
11
  text: {
12
12
  type: string;
13
+ contentType: string;
13
14
  };
14
15
  textSize: {
15
16
  type: string;
@@ -44,6 +45,7 @@ export declare const LinkTableBlock: {
44
45
  properties: {
45
46
  text: {
46
47
  type: string;
48
+ contentType: string;
47
49
  };
48
50
  url: {
49
51
  type: string;
@@ -91,6 +91,7 @@ export declare const Media: {
91
91
  };
92
92
  text: {
93
93
  type: string;
94
+ contentType: string;
94
95
  };
95
96
  };
96
97
  };
@@ -137,39 +138,9 @@ export declare const MediaBlock: {
137
138
  additionalProperties: boolean;
138
139
  required: string[];
139
140
  properties: {
140
- title: {
141
- oneOf: ({
142
- type: string;
143
- additionalProperties: boolean;
144
- required: string[];
145
- properties: {
146
- text: {
147
- type: string;
148
- };
149
- textSize: {
150
- type: string;
151
- enum: string[];
152
- };
153
- url: {
154
- type: string;
155
- };
156
- resetMargin: {
157
- type: string;
158
- };
159
- };
160
- } | {
161
- type: string;
162
- })[];
163
- };
164
- additionalInfo: {
165
- type: string;
166
- };
167
141
  description: {
168
142
  type: string;
169
- };
170
- size: {
171
- type: string;
172
- enum: string[];
143
+ contentType: string;
173
144
  };
174
145
  direction: {
175
146
  type: string;
@@ -188,28 +159,6 @@ export declare const MediaBlock: {
188
159
  disableShadow: {
189
160
  type: string;
190
161
  };
191
- links: {
192
- type: string;
193
- items: {
194
- type: string;
195
- properties: {
196
- when: {
197
- type: string;
198
- };
199
- };
200
- };
201
- };
202
- buttons: {
203
- type: string;
204
- items: {
205
- type: string;
206
- properties: {
207
- when: {
208
- type: string;
209
- };
210
- };
211
- };
212
- };
213
162
  media: {
214
163
  type: string;
215
164
  additionalProperties: boolean;
@@ -303,6 +252,7 @@ export declare const MediaBlock: {
303
252
  };
304
253
  text: {
305
254
  type: string;
255
+ contentType: string;
306
256
  };
307
257
  };
308
258
  };
@@ -350,6 +300,7 @@ export declare const MediaBlock: {
350
300
  properties: {
351
301
  text: {
352
302
  type: string;
303
+ contentType: string;
353
304
  };
354
305
  url: {
355
306
  type: string;
@@ -385,6 +336,7 @@ export declare const MediaBlock: {
385
336
  };
386
337
  alt: {
387
338
  type: string;
339
+ contentType: string;
388
340
  };
389
341
  };
390
342
  })[];
@@ -493,6 +445,62 @@ export declare const MediaBlock: {
493
445
  required: string[];
494
446
  };
495
447
  };
448
+ title: {
449
+ oneOf: ({
450
+ type: string;
451
+ additionalProperties: boolean;
452
+ required: string[];
453
+ properties: {
454
+ text: {
455
+ type: string;
456
+ contentType: string;
457
+ };
458
+ textSize: {
459
+ type: string;
460
+ enum: string[];
461
+ };
462
+ url: {
463
+ type: string;
464
+ };
465
+ resetMargin: {
466
+ type: string;
467
+ };
468
+ };
469
+ } | {
470
+ type: string;
471
+ contentType: string;
472
+ })[];
473
+ };
474
+ size: {
475
+ type: string;
476
+ enum: string[];
477
+ };
478
+ additionalInfo: {
479
+ type: string;
480
+ contentType: string;
481
+ };
482
+ links: {
483
+ type: string;
484
+ items: {
485
+ type: string;
486
+ properties: {
487
+ when: {
488
+ type: string;
489
+ };
490
+ };
491
+ };
492
+ };
493
+ buttons: {
494
+ type: string;
495
+ items: {
496
+ type: string;
497
+ properties: {
498
+ when: {
499
+ type: string;
500
+ };
501
+ };
502
+ };
503
+ };
496
504
  animated: {
497
505
  type: string;
498
506
  };
@@ -503,6 +511,7 @@ export declare const MediaBlock: {
503
511
  properties: {
504
512
  text: {
505
513
  type: string;
514
+ contentType: string;
506
515
  };
507
516
  url: {
508
517
  type: string;
@@ -1,27 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MediaBlock = exports.Media = void 0;
4
+ const lodash_1 = require("lodash");
4
5
  const common_1 = require("../../schema/validators/common");
5
- const utils_1 = require("../../schema/validators/utils");
6
+ const schema_1 = require("../../../src/sub-blocks/Content/schema");
6
7
  exports.Media = {
7
8
  type: 'object',
8
9
  additionalProperties: false,
9
10
  required: [],
10
11
  properties: common_1.MediaProps,
11
12
  };
13
+ const MediaBlockContentProps = (0, lodash_1.omit)(schema_1.ContentBase, ['text', 'theme']);
12
14
  exports.MediaBlock = {
13
15
  'media-block': {
14
16
  additionalProperties: false,
15
17
  required: ['title', 'media'],
16
- properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
17
- oneOf: [{ type: 'string' }, common_1.TitleProps],
18
- }, additionalInfo: {
18
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), MediaBlockContentProps), { description: {
19
19
  type: 'string',
20
- }, description: {
21
- type: 'string',
22
- }, size: {
23
- type: 'string',
24
- enum: common_1.contentSizes,
20
+ contentType: 'yfm',
25
21
  }, direction: {
26
22
  type: 'string',
27
23
  enum: common_1.mediaDirection,
@@ -34,6 +30,6 @@ exports.MediaBlock = {
34
30
  type: 'boolean',
35
31
  }, disableShadow: {
36
32
  type: 'boolean',
37
- }, links: (0, utils_1.filteredArray)(common_1.LinkProps), buttons: (0, utils_1.filteredArray)(common_1.ButtonBlock), media: exports.Media, button: common_1.ButtonBlock }),
33
+ }, media: exports.Media, button: common_1.ButtonBlock }),
38
34
  },
39
35
  };
@@ -5,9 +5,11 @@ export declare const PreviewBlock: {
5
5
  properties: {
6
6
  title: {
7
7
  type: string;
8
+ contentType: string;
8
9
  };
9
10
  description: {
10
11
  type: string;
12
+ contentType: string;
11
13
  };
12
14
  direction: {
13
15
  type: string;
@@ -11,9 +11,11 @@ const PreviewContentItem = {
11
11
  properties: {
12
12
  title: {
13
13
  type: 'string',
14
+ contentType: 'text',
14
15
  },
15
16
  description: {
16
17
  type: 'string',
18
+ contentType: '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
+ contentType: 'text',
39
42
  }, description: {
40
43
  type: 'string',
44
+ contentType: 'yfm',
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
+ contentType: string;
7
8
  };
8
9
  text: {
9
10
  type: string;
11
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: string;
177
182
  })[];
178
183
  };
179
184
  description: {
180
185
  type: string;
186
+ contentType: 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
+ contentType: 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
+ contentType: 'text',
13
14
  },
14
15
  text: {
15
16
  type: 'string',
17
+ contentType: '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', contentType: 'text' }, common_1.TitleProps],
29
31
  }, description: {
30
32
  type: 'string',
33
+ contentType: '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
+ contentType: 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
+ contentType: string;
39
41
  })[];
40
42
  };
41
43
  text: {
42
44
  type: string;
45
+ contentType: string;
43
46
  };
44
47
  additionalInfo: {
45
48
  type: string;
49
+ contentType: 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
+ contentType: string;
76
81
  };
77
82
  url: {
78
83
  type: string;
@@ -17,9 +17,11 @@ exports.QuestionsBlock = {
17
17
  properties: {
18
18
  title: {
19
19
  type: 'string',
20
+ contentType: 'text',
20
21
  },
21
22
  text: {
22
23
  type: 'string',
24
+ contentType: 'yfm',
23
25
  },
24
26
  link: common_1.LinkProps,
25
27
  listStyle: {
@@ -12,6 +12,7 @@ export declare const SecurityBlock: {
12
12
  };
13
13
  title: {
14
14
  type: string;
15
+ contentType: 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
+ contentType: 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
+ contentType: '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
+ contentType: '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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: '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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: '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
+ contentType: '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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: '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
+ contentType: 'text',
20
22
  },
21
23
  },
22
24
  }, legend: {
23
25
  type: 'array',
24
26
  items: {
25
27
  type: 'string',
28
+ contentType: 'yfm',
26
29
  },
27
30
  }, justify: {
28
31
  type: 'array',
@@ -47,8 +47,8 @@ const TabsBlock = ({ items, title, description, animated, tabsColSizes, centered
47
47
  }, className: b('col', { centered: centered }) },
48
48
  react_1.default.createElement("div", { ref: ref }, (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (react_1.default.createElement(Media_1.default, Object.assign({}, (0, utils_1.getThemedValue)(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play, height: mediaHeight })))),
49
49
  imageProps && (react_1.default.createElement(react_1.Fragment, null,
50
- react_1.default.createElement(FullscreenImage_1.default, Object.assign({}, imageProps, { imageClassName: b('image') })),
51
- (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.caption) && (react_1.default.createElement("p", { className: b('caption') }, activeTabData.caption))))));
50
+ react_1.default.createElement(FullscreenImage_1.default, Object.assign({}, imageProps, { imageClassName: b('image') })))),
51
+ (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.caption) && react_1.default.createElement("p", { className: b('caption') }, activeTabData.caption)));
52
52
  return (react_1.default.createElement(AnimateBlock_1.default, { className: b(), onScroll: () => setPlay(true), animate: animated },
53
53
  react_1.default.createElement(BlockHeader_1.default, { title: title, description: description, className: b('block-title', { centered: centered }) }),
54
54
  react_1.default.createElement(grid_1.Row, null,
@@ -8,6 +8,7 @@ export declare const tabsItem: {
8
8
  };
9
9
  caption: {
10
10
  type: string;
11
+ contentType: string;
11
12
  };
12
13
  media: {
13
14
  oneOf: ({
@@ -101,6 +102,7 @@ export declare const tabsItem: {
101
102
  };
102
103
  text: {
103
104
  type: string;
105
+ contentType: string;
104
106
  };
105
107
  };
106
108
  };
@@ -155,6 +157,7 @@ export declare const tabsItem: {
155
157
  properties: {
156
158
  text: {
157
159
  type: string;
160
+ contentType: string;
158
161
  };
159
162
  url: {
160
163
  type: string;
@@ -206,6 +209,7 @@ export declare const tabsItem: {
206
209
  properties: {
207
210
  text: {
208
211
  type: string;
212
+ contentType: string;
209
213
  };
210
214
  textSize: {
211
215
  type: string;
@@ -220,13 +224,16 @@ export declare const tabsItem: {
220
224
  };
221
225
  } | {
222
226
  type: string;
227
+ contentType: string;
223
228
  })[];
224
229
  } | undefined;
225
230
  text?: {
226
231
  type: string;
232
+ contentType: string;
227
233
  } | undefined;
228
234
  additionalInfo?: {
229
235
  type: string;
236
+ contentType: string;
230
237
  } | undefined;
231
238
  size?: {
232
239
  type: string;
@@ -272,6 +279,7 @@ export declare const TabsBlock: {
272
279
  properties: {
273
280
  text: {
274
281
  type: string;
282
+ contentType: string;
275
283
  };
276
284
  textSize: {
277
285
  type: string;
@@ -287,6 +295,7 @@ export declare const TabsBlock: {
287
295
  };
288
296
  description: {
289
297
  type: string;
298
+ contentType: string;
290
299
  };
291
300
  tabsColSizes: {};
292
301
  direction: {
@@ -314,6 +323,7 @@ export declare const TabsBlock: {
314
323
  properties: {
315
324
  text: {
316
325
  type: string;
326
+ contentType: string;
317
327
  };
318
328
  url: {
319
329
  type: string;