@gravity-ui/page-constructor 1.11.1 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/CHANGELOG.md +15 -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 +28 -22
  5. package/build/cjs/blocks/CardLayout/schema.js +1 -5
  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 +22 -16
  10. package/build/cjs/blocks/ExtendedFeatures/schema.js +3 -5
  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 +9 -23
  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 +30 -20
  19. package/build/cjs/blocks/LinkTable/schema.js +1 -1
  20. package/build/cjs/blocks/Media/schema.d.ts +62 -53
  21. package/build/cjs/blocks/Media/schema.js +6 -10
  22. package/build/cjs/blocks/Preview/schema.d.ts +2 -0
  23. package/build/cjs/blocks/Preview/schema.js +4 -0
  24. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +20 -14
  25. package/build/cjs/blocks/PromoFeaturesBlock/schema.js +3 -5
  26. package/build/cjs/blocks/Questions/schema.d.ts +5 -0
  27. package/build/cjs/blocks/Questions/schema.js +2 -0
  28. package/build/cjs/blocks/Security/schema.d.ts +2 -0
  29. package/build/cjs/blocks/Security/schema.js +2 -0
  30. package/build/cjs/blocks/Simple/schema.d.ts +3 -0
  31. package/build/cjs/blocks/Simple/schema.js +1 -0
  32. package/build/cjs/blocks/Slider/schema.d.ts +31 -45
  33. package/build/cjs/blocks/Slider/schema.js +2 -5
  34. package/build/cjs/blocks/Table/schema.d.ts +4 -0
  35. package/build/cjs/blocks/Table/schema.js +3 -0
  36. package/build/cjs/blocks/Tabs/schema.d.ts +37 -23
  37. package/build/cjs/blocks/Tabs/schema.js +2 -3
  38. package/build/cjs/components/Author/schema.d.ts +3 -0
  39. package/build/cjs/components/BlockHeader/BlockHeader.css +8 -19
  40. package/build/cjs/components/BlockHeader/BlockHeader.js +4 -3
  41. package/build/cjs/components/Image/schema.d.ts +2 -0
  42. package/build/cjs/components/Image/schema.js +14 -23
  43. package/build/cjs/schema/index.d.ts +2 -0
  44. package/build/cjs/schema/validators/common.d.ts +48 -0
  45. package/build/cjs/schema/validators/common.js +21 -1
  46. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  47. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -0
  48. package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +54 -46
  49. package/build/cjs/sub-blocks/CardWithImage/schema.js +7 -6
  50. package/build/cjs/sub-blocks/Content/schema.d.ts +8 -0
  51. package/build/cjs/sub-blocks/Content/schema.js +3 -1
  52. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -0
  53. package/build/cjs/sub-blocks/NewsCard/schema.d.ts +1 -0
  54. package/build/cjs/sub-blocks/NewsCard/schema.js +1 -0
  55. package/build/cjs/sub-blocks/Partner/schema.d.ts +1 -0
  56. package/build/cjs/sub-blocks/Partner/schema.js +1 -0
  57. package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  58. package/build/cjs/sub-blocks/PriceDetailed/schema.js +8 -0
  59. package/build/cjs/sub-blocks/Quote/schema.d.ts +4 -0
  60. package/build/cjs/sub-blocks/Quote/schema.js +1 -0
  61. package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +2 -0
  62. package/build/cjs/sub-blocks/TutorialCard/schema.js +2 -0
  63. package/build/cjs/text-transform/blocks.js +49 -32
  64. package/build/esm/blocks/Banner/schema.d.ts +12 -0
  65. package/build/esm/blocks/Banner/schema.js +2 -0
  66. package/build/esm/blocks/CardLayout/schema.d.ts +28 -22
  67. package/build/esm/blocks/CardLayout/schema.js +2 -6
  68. package/build/esm/blocks/Companies/schema.d.ts +2 -0
  69. package/build/esm/blocks/Companies/schema.js +2 -0
  70. package/build/esm/blocks/ContentLayout/schema.d.ts +6 -0
  71. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +22 -16
  72. package/build/esm/blocks/ExtendedFeatures/schema.js +4 -6
  73. package/build/esm/blocks/Header/schema.d.ts +16 -0
  74. package/build/esm/blocks/Header/schema.js +5 -0
  75. package/build/esm/blocks/HeaderSlider/schema.d.ts +9 -23
  76. package/build/esm/blocks/Icons/schema.d.ts +6 -0
  77. package/build/esm/blocks/Icons/schema.js +2 -0
  78. package/build/esm/blocks/Info/schema.d.ts +10 -0
  79. package/build/esm/blocks/Info/schema.js +2 -0
  80. package/build/esm/blocks/LinkTable/schema.d.ts +30 -20
  81. package/build/esm/blocks/LinkTable/schema.js +2 -2
  82. package/build/esm/blocks/Media/schema.d.ts +62 -53
  83. package/build/esm/blocks/Media/schema.js +7 -11
  84. package/build/esm/blocks/Preview/schema.d.ts +2 -0
  85. package/build/esm/blocks/Preview/schema.js +4 -0
  86. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +20 -14
  87. package/build/esm/blocks/PromoFeaturesBlock/schema.js +4 -6
  88. package/build/esm/blocks/Questions/schema.d.ts +5 -0
  89. package/build/esm/blocks/Questions/schema.js +2 -0
  90. package/build/esm/blocks/Security/schema.d.ts +2 -0
  91. package/build/esm/blocks/Security/schema.js +2 -0
  92. package/build/esm/blocks/Simple/schema.d.ts +3 -0
  93. package/build/esm/blocks/Simple/schema.js +1 -0
  94. package/build/esm/blocks/Slider/schema.d.ts +31 -45
  95. package/build/esm/blocks/Slider/schema.js +3 -6
  96. package/build/esm/blocks/Table/schema.d.ts +4 -0
  97. package/build/esm/blocks/Table/schema.js +3 -0
  98. package/build/esm/blocks/Tabs/schema.d.ts +37 -23
  99. package/build/esm/blocks/Tabs/schema.js +3 -4
  100. package/build/esm/components/Author/schema.d.ts +3 -0
  101. package/build/esm/components/BlockHeader/BlockHeader.css +8 -19
  102. package/build/esm/components/BlockHeader/BlockHeader.js +5 -4
  103. package/build/esm/components/Image/schema.d.ts +2 -0
  104. package/build/esm/components/Image/schema.js +14 -23
  105. package/build/esm/schema/index.d.ts +2 -0
  106. package/build/esm/schema/validators/common.d.ts +48 -0
  107. package/build/esm/schema/validators/common.js +20 -0
  108. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  109. package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -0
  110. package/build/esm/sub-blocks/CardWithImage/schema.d.ts +54 -46
  111. package/build/esm/sub-blocks/CardWithImage/schema.js +8 -7
  112. package/build/esm/sub-blocks/Content/schema.d.ts +8 -0
  113. package/build/esm/sub-blocks/Content/schema.js +3 -1
  114. package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -0
  115. package/build/esm/sub-blocks/NewsCard/schema.d.ts +1 -0
  116. package/build/esm/sub-blocks/NewsCard/schema.js +1 -0
  117. package/build/esm/sub-blocks/Partner/schema.d.ts +1 -0
  118. package/build/esm/sub-blocks/Partner/schema.js +1 -0
  119. package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  120. package/build/esm/sub-blocks/PriceDetailed/schema.js +8 -0
  121. package/build/esm/sub-blocks/Quote/schema.d.ts +4 -0
  122. package/build/esm/sub-blocks/Quote/schema.js +1 -0
  123. package/build/esm/sub-blocks/TutorialCard/schema.d.ts +2 -0
  124. package/build/esm/sub-blocks/TutorialCard/schema.js +2 -0
  125. package/build/esm/text-transform/blocks.js +49 -32
  126. package/package.json +1 -4
  127. package/server/text-transform/blocks.js +49 -32
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CardBase = exports.MediaProps = exports.ButtonBlock = exports.TitleProps = exports.BlockBaseProps = exports.AnchorProps = exports.withTheme = exports.MenuProps = exports.ButtonProps = exports.authorItem = exports.FileLinkProps = exports.LinkProps = exports.BackgroundProps = exports.DataLensProps = exports.DataLensObjectProps = exports.JustifyProps = exports.ThemeProps = exports.VideoProps = exports.PlayIconProps = exports.LoopProps = exports.ChildrenCardsProps = exports.ChildrenProps = exports.AnimatableProps = exports.sliderSizesObject = exports.containerSizesObject = exports.BaseProps = exports.contentThemes = exports.sizeNumber = exports.dividerEnum = exports.fileLinkTypes = exports.videoControlsTypes = exports.playIconThemes = exports.playIconTypes = exports.videoTypes = exports.contentTextWidth = exports.contentSizes = exports.sliderSizesArray = exports.containerSizesArray = exports.textSize = exports.mediaDirection = void 0;
3
+ exports.BlockHeaderProps = exports.CardBase = exports.MediaProps = exports.ButtonBlock = exports.TitleProps = exports.BlockBaseProps = exports.AnchorProps = exports.withTheme = exports.MenuProps = exports.ButtonProps = exports.authorItem = exports.FileLinkProps = exports.LinkProps = exports.BackgroundProps = exports.DataLensProps = exports.DataLensObjectProps = exports.JustifyProps = exports.ThemeProps = exports.VideoProps = exports.PlayIconProps = exports.LoopProps = exports.ChildrenCardsProps = exports.ChildrenProps = exports.AnimatableProps = exports.sliderSizesObject = exports.containerSizesObject = exports.BaseProps = exports.contentThemes = exports.sizeNumber = exports.dividerEnum = exports.fileLinkTypes = exports.videoControlsTypes = exports.playIconThemes = exports.playIconTypes = exports.videoTypes = exports.contentTextWidth = exports.contentSizes = exports.sliderSizesArray = exports.containerSizesArray = exports.textSize = exports.mediaDirection = void 0;
4
4
  const pixel_1 = require("./pixel");
5
5
  const models_1 = require("../../models");
6
6
  const schema_1 = require("../../components/Image/schema");
@@ -79,6 +79,7 @@ exports.PlayIconProps = {
79
79
  },
80
80
  text: {
81
81
  type: 'string',
82
+ contentType: '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
+ contentType: '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
+ contentType: '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
+ contentType: 'text',
211
215
  },
212
216
  secondName: {
213
217
  type: 'string',
218
+ contentType: '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
+ contentType: 'yfm',
221
227
  },
222
228
  },
223
229
  };
224
230
  exports.ButtonProps = {
225
231
  text: {
226
232
  type: 'string',
233
+ contentType: '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
+ contentType: 'text',
299
307
  },
300
308
  },
301
309
  },
@@ -335,6 +343,7 @@ exports.MenuProps = {
335
343
  properties: {
336
344
  title: {
337
345
  type: 'string',
346
+ contentType: 'text',
338
347
  },
339
348
  },
340
349
  };
@@ -359,6 +368,7 @@ exports.AnchorProps = {
359
368
  properties: {
360
369
  text: {
361
370
  type: 'string',
371
+ contentType: '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
+ contentType: 'text',
381
392
  },
382
393
  textSize: {
383
394
  type: 'string',
@@ -437,3 +448,12 @@ exports.CardBase = {
437
448
  enum: ['border', 'shadow', 'none'],
438
449
  },
439
450
  };
451
+ exports.BlockHeaderProps = {
452
+ title: {
453
+ oneOf: [{ type: 'string' }, exports.TitleProps],
454
+ },
455
+ description: {
456
+ type: 'string',
457
+ contentType: 'yfm',
458
+ },
459
+ };
@@ -18,6 +18,7 @@ export declare const BackgroundCard: {
18
18
  };
19
19
  alt: {
20
20
  type: string;
21
+ contentType: 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
+ contentType: 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
+ contentType: string;
62
65
  })[];
63
66
  };
64
67
  text: {
65
68
  type: string;
69
+ contentType: 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
+ contentType: 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
+ contentType: 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
+ contentType: string;
44
46
  })[];
45
47
  };
46
48
  text: {
47
49
  type: string;
50
+ contentType: string;
48
51
  };
49
52
  additionalInfo: {
50
53
  type: string;
54
+ contentType: string;
51
55
  };
52
56
  links: {
53
57
  type: string;
@@ -5,6 +5,30 @@ export declare const CardWithImageItem: {
5
5
  image: {
6
6
  type: string;
7
7
  };
8
+ description: {
9
+ type: string;
10
+ contentType: string;
11
+ };
12
+ disableCompress: {
13
+ type: string;
14
+ };
15
+ border: {
16
+ type: string;
17
+ };
18
+ fullScreen: {
19
+ type: string;
20
+ };
21
+ links: {
22
+ type: string;
23
+ items: {
24
+ type: string;
25
+ properties: {
26
+ when: {
27
+ type: string;
28
+ };
29
+ };
30
+ };
31
+ };
8
32
  title: {
9
33
  oneOf: ({
10
34
  type: string;
@@ -13,6 +37,7 @@ export declare const CardWithImageItem: {
13
37
  properties: {
14
38
  text: {
15
39
  type: string;
40
+ contentType: string;
16
41
  };
17
42
  textSize: {
18
43
  type: string;
@@ -27,33 +52,12 @@ export declare const CardWithImageItem: {
27
52
  };
28
53
  } | {
29
54
  type: string;
55
+ contentType: string;
30
56
  })[];
31
57
  };
32
- description: {
33
- type: string;
34
- };
35
58
  additionalInfo: {
36
59
  type: string;
37
- };
38
- disableCompress: {
39
- type: string;
40
- };
41
- border: {
42
- type: string;
43
- };
44
- fullScreen: {
45
- type: string;
46
- };
47
- links: {
48
- type: string;
49
- items: {
50
- type: string;
51
- properties: {
52
- when: {
53
- type: string;
54
- };
55
- };
56
- };
60
+ contentType: string;
57
61
  };
58
62
  buttons: {
59
63
  type: string;
@@ -78,6 +82,30 @@ export declare const CardWithImage: {
78
82
  image: {
79
83
  type: string;
80
84
  };
85
+ description: {
86
+ type: string;
87
+ contentType: string;
88
+ };
89
+ disableCompress: {
90
+ type: string;
91
+ };
92
+ border: {
93
+ type: string;
94
+ };
95
+ fullScreen: {
96
+ type: string;
97
+ };
98
+ links: {
99
+ type: string;
100
+ items: {
101
+ type: string;
102
+ properties: {
103
+ when: {
104
+ type: string;
105
+ };
106
+ };
107
+ };
108
+ };
81
109
  title: {
82
110
  oneOf: ({
83
111
  type: string;
@@ -86,6 +114,7 @@ export declare const CardWithImage: {
86
114
  properties: {
87
115
  text: {
88
116
  type: string;
117
+ contentType: string;
89
118
  };
90
119
  textSize: {
91
120
  type: string;
@@ -100,33 +129,12 @@ export declare const CardWithImage: {
100
129
  };
101
130
  } | {
102
131
  type: string;
132
+ contentType: string;
103
133
  })[];
104
134
  };
105
- description: {
106
- type: string;
107
- };
108
135
  additionalInfo: {
109
136
  type: string;
110
- };
111
- disableCompress: {
112
- type: string;
113
- };
114
- border: {
115
- type: string;
116
- };
117
- fullScreen: {
118
- type: string;
119
- };
120
- links: {
121
- type: string;
122
- items: {
123
- type: string;
124
- properties: {
125
- when: {
126
- type: string;
127
- };
128
- };
129
- };
137
+ contentType: string;
130
138
  };
131
139
  buttons: {
132
140
  type: string;
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CardWithImage = exports.CardWithImageItem = void 0;
4
+ const lodash_1 = require("lodash");
4
5
  const common_1 = require("../../schema/validators/common");
5
6
  const utils_1 = require("../../schema/validators/utils");
7
+ const schema_1 = require("../../sub-blocks/Content/schema");
8
+ const CardWithImageContentProps = (0, lodash_1.omit)(schema_1.ContentBase, ['links', 'size', 'text', 'theme']);
6
9
  const CardWithImageLinks = {
7
10
  type: 'object',
8
11
  additionalProperties: false,
9
12
  required: ['title', 'link'],
10
13
  properties: Object.assign(Object.assign({}, common_1.BaseProps), { title: {
11
14
  type: 'string',
15
+ contentType: 'text',
12
16
  }, link: {
13
17
  type: 'string',
14
18
  }, arrow: {
@@ -24,21 +28,18 @@ const CardWithImageLinks = {
24
28
  exports.CardWithImageItem = {
25
29
  additionalProperties: false,
26
30
  required: ['image'],
27
- properties: Object.assign(Object.assign({}, common_1.BaseProps), { image: {
31
+ properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), CardWithImageContentProps), { image: {
28
32
  type: 'string',
29
- }, title: {
30
- oneOf: [{ type: 'string' }, common_1.TitleProps],
31
33
  }, description: {
32
34
  type: 'string',
33
- }, additionalInfo: {
34
- type: 'string',
35
+ contentType: 'yfm',
35
36
  }, disableCompress: {
36
37
  type: 'boolean',
37
38
  }, border: {
38
39
  type: 'boolean',
39
40
  }, fullScreen: {
40
41
  type: 'boolean',
41
- }, links: (0, utils_1.filteredArray)(CardWithImageLinks), buttons: (0, utils_1.filteredArray)(common_1.ButtonBlock) }),
42
+ }, links: (0, utils_1.filteredArray)(CardWithImageLinks) }),
42
43
  };
43
44
  exports.CardWithImage = {
44
45
  'card-with-image': exports.CardWithImageItem,
@@ -7,6 +7,7 @@ export declare const ContentBase: {
7
7
  properties: {
8
8
  text: {
9
9
  type: string;
10
+ contentType: 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
+ contentType: string;
24
26
  })[];
25
27
  };
26
28
  text: {
27
29
  type: string;
30
+ contentType: string;
28
31
  };
29
32
  additionalInfo: {
30
33
  type: string;
34
+ contentType: 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
+ contentType: 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
+ contentType: string;
93
99
  })[];
94
100
  };
95
101
  text: {
96
102
  type: string;
103
+ contentType: string;
97
104
  };
98
105
  additionalInfo: {
99
106
  type: string;
107
+ contentType: 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', contentType: 'text' }, common_1.TitleProps],
9
9
  },
10
10
  text: {
11
11
  type: 'string',
12
+ contentType: 'yfm',
12
13
  },
13
14
  additionalInfo: {
14
15
  type: 'string',
16
+ contentType: 'yfm',
15
17
  },
16
18
  size: {
17
19
  type: 'string',
@@ -94,6 +94,7 @@ export declare const MediaCardBlock: {
94
94
  };
95
95
  text: {
96
96
  type: string;
97
+ contentType: string;
97
98
  };
98
99
  };
99
100
  };
@@ -5,6 +5,7 @@ export declare const NewsCard: {
5
5
  properties: {
6
6
  title: {
7
7
  type: string;
8
+ contentType: string;
8
9
  };
9
10
  url: {
10
11
  type: string;
@@ -8,6 +8,7 @@ exports.NewsCard = {
8
8
  required: ['title', 'url', 'date'],
9
9
  properties: Object.assign(Object.assign({}, common_1.BaseProps), { title: {
10
10
  type: 'string',
11
+ contentType: 'text',
11
12
  }, url: {
12
13
  type: 'string',
13
14
  }, date: {
@@ -5,6 +5,7 @@ export declare const PartnerBlock: {
5
5
  properties: {
6
6
  text: {
7
7
  type: string;
8
+ contentType: string;
8
9
  };
9
10
  logo: {
10
11
  oneOf: ({
@@ -9,6 +9,7 @@ exports.PartnerBlock = {
9
9
  required: ['text', 'logo', 'url'],
10
10
  properties: Object.assign(Object.assign({}, common_1.BaseProps), { text: {
11
11
  type: 'string',
12
+ contentType: 'text',
12
13
  }, logo: schema_1.ImageProps, url: {
13
14
  type: 'string',
14
15
  } }),
@@ -66,6 +66,7 @@ export declare const PriceDetailedBlock: {
66
66
  properties: {
67
67
  title: {
68
68
  type: string;
69
+ contentType: string;
69
70
  };
70
71
  size: {
71
72
  type: string;
@@ -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,
@@ -8,9 +8,11 @@ export declare const TutorialCard: {
8
8
  };
9
9
  title: {
10
10
  type: string;
11
+ contentType: string;
11
12
  };
12
13
  text: {
13
14
  type: string;
15
+ contentType: string;
14
16
  };
15
17
  icon: {
16
18
  oneOf: ({
@@ -11,8 +11,10 @@ exports.TutorialCard = {
11
11
  type: 'string',
12
12
  }, title: {
13
13
  type: 'string',
14
+ contentType: 'text',
14
15
  }, text: {
15
16
  type: 'string',
17
+ contentType: 'text',
16
18
  }, icon: schema_1.ImageProps }),
17
19
  },
18
20
  };