@gravity-ui/blog-constructor 11.0.1 → 11.2.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 (105) hide show
  1. package/build/cjs/blocks/Author/schema.d.ts +14 -3
  2. package/build/cjs/blocks/Author/schema.js +1 -1
  3. package/build/cjs/blocks/Author/schema.js.map +1 -1
  4. package/build/cjs/blocks/Banner/Banner.js +5 -2
  5. package/build/cjs/blocks/Banner/Banner.js.map +1 -1
  6. package/build/cjs/blocks/Banner/schema.d.ts +89 -13
  7. package/build/cjs/blocks/CTA/schema.d.ts +89 -13
  8. package/build/cjs/blocks/CTA/schema.js +1 -1
  9. package/build/cjs/blocks/CTA/schema.js.map +1 -1
  10. package/build/cjs/blocks/ColoredText/ColoredText.js +4 -1
  11. package/build/cjs/blocks/ColoredText/ColoredText.js.map +1 -1
  12. package/build/cjs/blocks/ColoredText/schema.d.ts +124 -29
  13. package/build/cjs/blocks/ColoredText/schema.js +4 -4
  14. package/build/cjs/blocks/ColoredText/schema.js.map +1 -1
  15. package/build/cjs/blocks/CompactMedia/schema.d.ts +13 -6
  16. package/build/cjs/blocks/Feed/schema.d.ts +11 -2
  17. package/build/cjs/blocks/Form/schema.d.ts +69 -38
  18. package/build/cjs/blocks/Form/schema.js +5 -22
  19. package/build/cjs/blocks/Form/schema.js.map +1 -1
  20. package/build/cjs/blocks/Header/schema.d.ts +164 -73
  21. package/build/cjs/blocks/Header/schema.js +3 -1
  22. package/build/cjs/blocks/Header/schema.js.map +1 -1
  23. package/build/cjs/blocks/Layout/schema.d.ts +11 -2
  24. package/build/cjs/blocks/Media/schema.d.ts +13 -6
  25. package/build/cjs/blocks/Meta/schema.d.ts +11 -2
  26. package/build/cjs/blocks/SideCardList/schema.d.ts +69 -6
  27. package/build/cjs/blocks/SideCardList/schema.js +16 -19
  28. package/build/cjs/blocks/SideCardList/schema.js.map +1 -1
  29. package/build/cjs/blocks/Suggest/schema.d.ts +11 -2
  30. package/build/cjs/blocks/Take/schema.d.ts +25 -2
  31. package/build/cjs/blocks/Take/schema.js +2 -2
  32. package/build/cjs/blocks/Take/schema.js.map +1 -1
  33. package/build/cjs/blocks/YFM/schema.d.ts +11 -2
  34. package/build/cjs/constructor/blocksMap.d.ts +9 -9
  35. package/build/cjs/constructor/blocksMap.js +9 -9
  36. package/build/cjs/constructor/blocksMap.js.map +1 -1
  37. package/build/cjs/containers/BlogPostPage/BlogPostPage.css +9 -1
  38. package/build/cjs/hooks/useExtendedComponentMap.d.ts +9 -9
  39. package/build/cjs/models/blocks.d.ts +3 -3
  40. package/build/cjs/models/blocks.js.map +1 -1
  41. package/build/cjs/schema/blocks.d.ts +4 -2
  42. package/build/cjs/schema/blocks.js +4 -2
  43. package/build/cjs/schema/blocks.js.map +1 -1
  44. package/build/cjs/schema/common.d.ts +4 -0
  45. package/build/cjs/schema/common.js +8 -10
  46. package/build/cjs/schema/common.js.map +1 -1
  47. package/build/cjs/schema/index.d.ts +1044 -299
  48. package/build/cjs/schema/index.js +5 -3
  49. package/build/cjs/schema/index.js.map +1 -1
  50. package/build/cjs/utils/common.d.ts +1 -2
  51. package/build/esm/blocks/Author/schema.d.ts +14 -3
  52. package/build/esm/blocks/Author/schema.js +1 -1
  53. package/build/esm/blocks/Author/schema.js.map +1 -1
  54. package/build/esm/blocks/Banner/Banner.js +5 -2
  55. package/build/esm/blocks/Banner/Banner.js.map +1 -1
  56. package/build/esm/blocks/Banner/schema.d.ts +89 -13
  57. package/build/esm/blocks/CTA/schema.d.ts +89 -13
  58. package/build/esm/blocks/CTA/schema.js +1 -1
  59. package/build/esm/blocks/CTA/schema.js.map +1 -1
  60. package/build/esm/blocks/ColoredText/ColoredText.js +5 -2
  61. package/build/esm/blocks/ColoredText/ColoredText.js.map +1 -1
  62. package/build/esm/blocks/ColoredText/schema.d.ts +124 -29
  63. package/build/esm/blocks/ColoredText/schema.js +4 -4
  64. package/build/esm/blocks/ColoredText/schema.js.map +1 -1
  65. package/build/esm/blocks/CompactMedia/schema.d.ts +13 -6
  66. package/build/esm/blocks/Feed/schema.d.ts +11 -2
  67. package/build/esm/blocks/Form/schema.d.ts +69 -38
  68. package/build/esm/blocks/Form/schema.js +4 -21
  69. package/build/esm/blocks/Form/schema.js.map +1 -1
  70. package/build/esm/blocks/Header/schema.d.ts +164 -73
  71. package/build/esm/blocks/Header/schema.js +3 -1
  72. package/build/esm/blocks/Header/schema.js.map +1 -1
  73. package/build/esm/blocks/Layout/schema.d.ts +11 -2
  74. package/build/esm/blocks/Media/schema.d.ts +13 -6
  75. package/build/esm/blocks/Meta/schema.d.ts +11 -2
  76. package/build/esm/blocks/SideCardList/schema.d.ts +69 -6
  77. package/build/esm/blocks/SideCardList/schema.js +16 -19
  78. package/build/esm/blocks/SideCardList/schema.js.map +1 -1
  79. package/build/esm/blocks/Suggest/schema.d.ts +11 -2
  80. package/build/esm/blocks/Take/schema.d.ts +25 -2
  81. package/build/esm/blocks/Take/schema.js +3 -3
  82. package/build/esm/blocks/Take/schema.js.map +1 -1
  83. package/build/esm/blocks/YFM/schema.d.ts +11 -2
  84. package/build/esm/constructor/blocksMap.d.ts +9 -9
  85. package/build/esm/constructor/blocksMap.js +9 -9
  86. package/build/esm/constructor/blocksMap.js.map +1 -1
  87. package/build/esm/containers/BlogPostPage/BlogPostPage.css +9 -1
  88. package/build/esm/hooks/useExtendedComponentMap.d.ts +9 -9
  89. package/build/esm/models/blocks.d.ts +3 -3
  90. package/build/esm/models/blocks.js.map +1 -1
  91. package/build/esm/schema/blocks.d.ts +4 -2
  92. package/build/esm/schema/blocks.js +4 -2
  93. package/build/esm/schema/blocks.js.map +1 -1
  94. package/build/esm/schema/common.d.ts +4 -0
  95. package/build/esm/schema/common.js +7 -9
  96. package/build/esm/schema/common.js.map +1 -1
  97. package/build/esm/schema/index.d.ts +1044 -299
  98. package/build/esm/schema/index.js +5 -3
  99. package/build/esm/schema/index.js.map +1 -1
  100. package/build/esm/utils/common.d.ts +1 -2
  101. package/package.json +3 -3
  102. package/server/models/blocks.d.ts +3 -3
  103. package/styles/storybook/common.scss +6 -0
  104. package/styles/styles.css +9 -1
  105. package/styles/yfm.css +9 -1
@@ -11,6 +11,9 @@ export declare const schemasForCustom: {
11
11
  type: string;
12
12
  additionalProperties: boolean;
13
13
  properties: {
14
+ imageInGrid: {
15
+ type: string;
16
+ };
14
17
  title: {
15
18
  type: string;
16
19
  contentType: string;
@@ -58,9 +61,9 @@ export declare const schemasForCustom: {
58
61
  };
59
62
  };
60
63
  } | {
64
+ optionName: string;
61
65
  type: string;
62
66
  pattern: string;
63
- optionName: string;
64
67
  items?: undefined;
65
68
  } | {
66
69
  type: string;
@@ -73,7 +76,6 @@ export declare const schemasForCustom: {
73
76
  };
74
77
  };
75
78
  optionName: string;
76
- pattern?: undefined;
77
79
  })[];
78
80
  } & {
79
81
  optionName: string;
@@ -186,33 +188,23 @@ export declare const schemasForCustom: {
186
188
  })[];
187
189
  };
188
190
  videoIframe: {
189
- oneOf: (({
190
- type: string;
191
- additionalProperties: boolean;
192
- required: string[];
193
- properties: {
194
- src: {
195
- type: string;
196
- };
197
- autoplay: {
198
- type: string;
199
- };
200
- previewImg: {
201
- type: string;
202
- };
203
- height: {
204
- type: string;
205
- };
191
+ type: string;
192
+ additionalProperties: boolean;
193
+ required: string[];
194
+ properties: {
195
+ src: {
196
+ type: string;
206
197
  };
207
- } & {
208
- optionName: string;
209
- }) | {
210
- type: string;
211
- additionalProperties: boolean;
212
- required: import("@gravity-ui/page-constructor").Theme[];
213
- properties: {};
214
- optionName: string;
215
- })[];
198
+ autoplay: {
199
+ type: string;
200
+ };
201
+ previewImg: {
202
+ type: string;
203
+ };
204
+ height: {
205
+ type: string;
206
+ };
207
+ };
216
208
  };
217
209
  mediaView: {
218
210
  type: string;
@@ -245,77 +237,167 @@ export declare const schemasForCustom: {
245
237
  additionalProperties: boolean;
246
238
  required: never[];
247
239
  properties: {
248
- fullWidth: {
249
- type: string;
250
- };
251
- fullWidthMedia: {
252
- type: string;
253
- };
254
- color: {
255
- type: string;
256
- };
257
240
  image: {
258
241
  oneOf: ({
259
242
  optionName: string;
260
- oneOf: ({
261
- type: string;
262
- properties: {
263
- when: {
264
- type: string;
265
- };
243
+ type: string;
244
+ additionalProperties: boolean;
245
+ properties: {
246
+ src: {
247
+ type: string;
248
+ pattern: string;
266
249
  };
267
- } | {
268
- type: string;
269
- pattern: string;
270
- optionName: string;
271
- items?: undefined;
272
- } | {
273
- type: string;
274
- items: {
250
+ style: {
275
251
  type: string;
252
+ additionalProperties: boolean;
253
+ required: never[];
276
254
  properties: {
277
- when: {
255
+ backgroundColor: {
256
+ type: string;
257
+ };
258
+ height: {
259
+ type: string[];
260
+ };
261
+ width: {
262
+ type: string[];
263
+ };
264
+ color: {
278
265
  type: string;
279
266
  };
280
267
  };
281
268
  };
282
- optionName: string;
283
- pattern?: undefined;
284
- })[];
285
- type?: undefined;
286
- items?: undefined;
269
+ alt: {
270
+ type: string;
271
+ contentType: string;
272
+ };
273
+ disableCompress: {
274
+ type: string;
275
+ };
276
+ loading: {
277
+ type: string;
278
+ enum: string[];
279
+ };
280
+ fetchPriority: {
281
+ type: string;
282
+ enum: string[];
283
+ };
284
+ hide: {
285
+ oneOf: ({
286
+ type: string;
287
+ properties?: undefined;
288
+ } | {
289
+ type: string;
290
+ properties: {
291
+ mobile: {
292
+ type: string;
293
+ };
294
+ tablet: {
295
+ type: string;
296
+ };
297
+ desktop: {
298
+ type: string;
299
+ };
300
+ };
301
+ })[];
302
+ };
303
+ };
287
304
  } | {
288
- type: string;
289
- items: {
290
- oneOf: ({
305
+ properties: {
306
+ style: {
291
307
  type: string;
308
+ additionalProperties: boolean;
309
+ required: never[];
292
310
  properties: {
293
- when: {
311
+ backgroundColor: {
312
+ type: string;
313
+ };
314
+ height: {
315
+ type: string[];
316
+ };
317
+ width: {
318
+ type: string[];
319
+ };
320
+ color: {
294
321
  type: string;
295
322
  };
296
323
  };
297
- } | {
324
+ };
325
+ desktop: {
298
326
  type: string;
299
327
  pattern: string;
300
- optionName: string;
301
- items?: undefined;
302
- } | {
328
+ };
329
+ tablet: {
303
330
  type: string;
304
- items: {
331
+ pattern: string;
332
+ };
333
+ mobile: {
334
+ type: string;
335
+ pattern: string;
336
+ };
337
+ alt: {
338
+ type: string;
339
+ contentType: string;
340
+ };
341
+ disableCompress: {
342
+ type: string;
343
+ };
344
+ loading: {
345
+ type: string;
346
+ enum: string[];
347
+ };
348
+ fetchPriority: {
349
+ type: string;
350
+ enum: string[];
351
+ };
352
+ hide: {
353
+ oneOf: ({
354
+ type: string;
355
+ properties?: undefined;
356
+ } | {
305
357
  type: string;
306
358
  properties: {
307
- when: {
359
+ mobile: {
360
+ type: string;
361
+ };
362
+ tablet: {
363
+ type: string;
364
+ };
365
+ desktop: {
308
366
  type: string;
309
367
  };
310
368
  };
311
- };
312
- optionName: string;
313
- pattern?: undefined;
314
- })[];
369
+ })[];
370
+ };
315
371
  };
316
372
  optionName: string;
373
+ type: string;
374
+ additionalProperties: boolean;
375
+ required: import("@gravity-ui/page-constructor").Device[];
376
+ anyOf: {
377
+ required: import("@gravity-ui/page-constructor").Device[];
378
+ }[];
379
+ } | {
380
+ type: string;
381
+ pattern: string;
382
+ optionName: string;
317
383
  })[];
318
384
  };
385
+ url: {
386
+ type: string;
387
+ pattern: string;
388
+ };
389
+ disableCompress: {
390
+ type: string;
391
+ };
392
+ fullWidth: {
393
+ type: string;
394
+ };
395
+ fullWidthMedia: {
396
+ type: string;
397
+ };
398
+ color: {
399
+ type: string;
400
+ };
319
401
  disableImageSliderForArrayInput: {
320
402
  type: string;
321
403
  };
@@ -642,8 +724,17 @@ export declare const schemasForCustom: {
642
724
  };
643
725
  };
644
726
  visible: {
645
- type: string;
646
- enum: string[];
727
+ oneOf: ({
728
+ type: string;
729
+ enum: string[];
730
+ additionalProperties?: undefined;
731
+ properties?: undefined;
732
+ } | {
733
+ type: string;
734
+ additionalProperties: boolean;
735
+ properties: {};
736
+ enum?: undefined;
737
+ })[];
647
738
  };
648
739
  resetPaddings: {
649
740
  type: string;
@@ -679,7 +770,9 @@ export declare const schemasForCustom: {
679
770
  required: string[];
680
771
  properties: {
681
772
  authorId: {
682
- type: string;
773
+ oneOf: {
774
+ type: string;
775
+ }[];
683
776
  };
684
777
  paddingTop: {
685
778
  type: string;
@@ -717,8 +810,17 @@ export declare const schemasForCustom: {
717
810
  };
718
811
  };
719
812
  visible: {
720
- type: string;
721
- enum: string[];
813
+ oneOf: ({
814
+ type: string;
815
+ enum: string[];
816
+ additionalProperties?: undefined;
817
+ properties?: undefined;
818
+ } | {
819
+ type: string;
820
+ additionalProperties: boolean;
821
+ properties: {};
822
+ enum?: undefined;
823
+ })[];
722
824
  };
723
825
  resetPaddings: {
724
826
  type: string;
@@ -789,72 +891,139 @@ export declare const schemasForCustom: {
789
891
  resetMargin: {
790
892
  type: string;
791
893
  };
792
- };
793
- contentType?: undefined;
794
- })[];
795
- };
796
- text: {
797
- type: string;
798
- contentType: string;
799
- inputType: string;
800
- };
801
- additionalInfo: {
802
- type: string;
803
- contentType: string;
804
- };
805
- size: {
806
- type: string;
807
- enum: string[];
808
- };
809
- links: {
810
- type: string;
811
- items: {
812
- type: string;
813
- properties: {
814
- when: {
815
- type: string;
816
- };
817
- };
818
- };
819
- };
820
- buttons: {
821
- type: string;
822
- items: {
823
- type: string;
824
- properties: {
825
- when: {
826
- type: string;
827
- };
828
- };
829
- };
830
- };
831
- theme: {
832
- type: string;
833
- enum: string[];
834
- };
835
- list: {
836
- type: string;
837
- items: {
838
- type: string;
839
- properties: {
840
- when: {
841
- type: string;
842
- };
843
- };
844
- };
845
- };
846
- labels: {
847
- type: string;
848
- items: {
849
- type: string;
850
- properties: {
851
- when: {
852
- type: string;
853
- };
854
- };
855
- };
856
- };
857
- controlPosition: {
894
+ analyticsEvents: {
895
+ anyOf: ({
896
+ type: string;
897
+ additionalProperties: {
898
+ type: string;
899
+ };
900
+ required: string[];
901
+ properties: {
902
+ name: {
903
+ type: string;
904
+ };
905
+ type: {
906
+ type: string;
907
+ };
908
+ counters: {
909
+ type: string;
910
+ additionalProperties: boolean;
911
+ required: never[];
912
+ properties: {
913
+ include: {
914
+ type: string;
915
+ items: {
916
+ type: string;
917
+ };
918
+ };
919
+ exclude: {
920
+ type: string;
921
+ items: {
922
+ type: string;
923
+ };
924
+ };
925
+ };
926
+ };
927
+ context: {
928
+ type: string;
929
+ };
930
+ };
931
+ } | {
932
+ type: string;
933
+ items: {
934
+ type: string;
935
+ additionalProperties: {
936
+ type: string;
937
+ };
938
+ required: string[];
939
+ properties: {
940
+ name: {
941
+ type: string;
942
+ };
943
+ type: {
944
+ type: string;
945
+ };
946
+ counters: {
947
+ type: string;
948
+ additionalProperties: boolean;
949
+ required: never[];
950
+ properties: {
951
+ include: {
952
+ type: string;
953
+ items: {
954
+ type: string;
955
+ };
956
+ };
957
+ exclude: {
958
+ type: string;
959
+ items: {
960
+ type: string;
961
+ };
962
+ };
963
+ };
964
+ };
965
+ context: {
966
+ type: string;
967
+ };
968
+ };
969
+ };
970
+ })[];
971
+ };
972
+ };
973
+ contentType?: undefined;
974
+ })[];
975
+ };
976
+ text: {
977
+ type: string;
978
+ contentType: string;
979
+ inputType: string;
980
+ };
981
+ additionalInfo: {
982
+ type: string;
983
+ contentType: string;
984
+ };
985
+ size: {
986
+ type: string;
987
+ enum: string[];
988
+ };
989
+ links: {
990
+ type: string;
991
+ items: {
992
+ type: string;
993
+ properties: {
994
+ when: {
995
+ type: string;
996
+ };
997
+ };
998
+ };
999
+ };
1000
+ buttons: {
1001
+ type: string;
1002
+ items: {
1003
+ type: string;
1004
+ properties: {
1005
+ when: {
1006
+ type: string;
1007
+ };
1008
+ };
1009
+ };
1010
+ };
1011
+ theme: {
1012
+ type: string;
1013
+ enum: string[];
1014
+ };
1015
+ list: {
1016
+ type: string;
1017
+ items: {
1018
+ type: string;
1019
+ properties: {
1020
+ when: {
1021
+ type: string;
1022
+ };
1023
+ };
1024
+ };
1025
+ };
1026
+ controlPosition: {
858
1027
  type: string;
859
1028
  enum: string[];
860
1029
  };
@@ -894,8 +1063,17 @@ export declare const schemasForCustom: {
894
1063
  };
895
1064
  };
896
1065
  visible: {
897
- type: string;
898
- enum: string[];
1066
+ oneOf: ({
1067
+ type: string;
1068
+ enum: string[];
1069
+ additionalProperties?: undefined;
1070
+ properties?: undefined;
1071
+ } | {
1072
+ type: string;
1073
+ additionalProperties: boolean;
1074
+ properties: {};
1075
+ enum?: undefined;
1076
+ })[];
899
1077
  };
900
1078
  resetPaddings: {
901
1079
  type: string;
@@ -935,32 +1113,51 @@ export declare const schemasForCustom: {
935
1113
  image: {
936
1114
  oneOf: ({
937
1115
  type: string;
938
- properties: {
939
- when: {
940
- type: string;
941
- };
942
- };
943
- } | {
944
- type: string;
945
- pattern: string;
1116
+ additionalProperties: boolean;
1117
+ required: import("@gravity-ui/page-constructor").Theme[];
1118
+ properties: {};
946
1119
  optionName: string;
947
- items?: undefined;
948
- } | {
949
- type: string;
950
- items: {
1120
+ } | ({
1121
+ oneOf: ({
951
1122
  type: string;
952
1123
  properties: {
953
1124
  when: {
954
1125
  type: string;
955
1126
  };
956
1127
  };
957
- };
1128
+ } | {
1129
+ optionName: string;
1130
+ type: string;
1131
+ pattern: string;
1132
+ items?: undefined;
1133
+ } | {
1134
+ type: string;
1135
+ items: {
1136
+ type: string;
1137
+ properties: {
1138
+ when: {
1139
+ type: string;
1140
+ };
1141
+ };
1142
+ };
1143
+ optionName: string;
1144
+ })[];
1145
+ } & {
958
1146
  optionName: string;
959
- pattern?: undefined;
960
- })[];
1147
+ }))[];
961
1148
  };
962
1149
  color: {
963
- type: string;
1150
+ oneOf: ({
1151
+ type: string;
1152
+ additionalProperties: boolean;
1153
+ required: import("@gravity-ui/page-constructor").Theme[];
1154
+ properties: {};
1155
+ optionName: string;
1156
+ } | ({
1157
+ type: string;
1158
+ } & {
1159
+ optionName: string;
1160
+ }))[];
964
1161
  };
965
1162
  altText: {
966
1163
  type: string;
@@ -996,6 +1193,84 @@ export declare const schemasForCustom: {
996
1193
  resetMargin: {
997
1194
  type: string;
998
1195
  };
1196
+ analyticsEvents: {
1197
+ anyOf: ({
1198
+ type: string;
1199
+ additionalProperties: {
1200
+ type: string;
1201
+ };
1202
+ required: string[];
1203
+ properties: {
1204
+ name: {
1205
+ type: string;
1206
+ };
1207
+ type: {
1208
+ type: string;
1209
+ };
1210
+ counters: {
1211
+ type: string;
1212
+ additionalProperties: boolean;
1213
+ required: never[];
1214
+ properties: {
1215
+ include: {
1216
+ type: string;
1217
+ items: {
1218
+ type: string;
1219
+ };
1220
+ };
1221
+ exclude: {
1222
+ type: string;
1223
+ items: {
1224
+ type: string;
1225
+ };
1226
+ };
1227
+ };
1228
+ };
1229
+ context: {
1230
+ type: string;
1231
+ };
1232
+ };
1233
+ } | {
1234
+ type: string;
1235
+ items: {
1236
+ type: string;
1237
+ additionalProperties: {
1238
+ type: string;
1239
+ };
1240
+ required: string[];
1241
+ properties: {
1242
+ name: {
1243
+ type: string;
1244
+ };
1245
+ type: {
1246
+ type: string;
1247
+ };
1248
+ counters: {
1249
+ type: string;
1250
+ additionalProperties: boolean;
1251
+ required: never[];
1252
+ properties: {
1253
+ include: {
1254
+ type: string;
1255
+ items: {
1256
+ type: string;
1257
+ };
1258
+ };
1259
+ exclude: {
1260
+ type: string;
1261
+ items: {
1262
+ type: string;
1263
+ };
1264
+ };
1265
+ };
1266
+ };
1267
+ context: {
1268
+ type: string;
1269
+ };
1270
+ };
1271
+ };
1272
+ })[];
1273
+ };
999
1274
  };
1000
1275
  contentType?: undefined;
1001
1276
  })[];
@@ -1047,23 +1322,154 @@ export declare const schemasForCustom: {
1047
1322
  when: {
1048
1323
  type: string;
1049
1324
  };
1050
- };
1051
- };
1052
- };
1053
- labels: {
1054
- type: string;
1055
- items: {
1325
+ };
1326
+ };
1327
+ };
1328
+ controlPosition: {
1329
+ type: string;
1330
+ enum: string[];
1331
+ };
1332
+ paddingTop: {
1333
+ type: string;
1334
+ enum: string[];
1335
+ };
1336
+ paddingBottom: {
1337
+ type: string;
1338
+ enum: string[];
1339
+ };
1340
+ fullWidth: {
1341
+ type: string;
1342
+ };
1343
+ column: {
1344
+ type: string;
1345
+ enum: string[];
1346
+ };
1347
+ qa: {
1348
+ type: string;
1349
+ };
1350
+ anchor: {
1351
+ type: string;
1352
+ additionalProperties: boolean;
1353
+ required: string[];
1354
+ properties: {
1355
+ text: {
1356
+ type: string;
1357
+ contentType: string;
1358
+ };
1359
+ url: {
1360
+ type: string;
1361
+ };
1362
+ urlTitle: {
1363
+ type: string;
1364
+ };
1365
+ };
1366
+ };
1367
+ visible: {
1368
+ oneOf: ({
1369
+ type: string;
1370
+ enum: string[];
1371
+ additionalProperties?: undefined;
1372
+ properties?: undefined;
1373
+ } | {
1374
+ type: string;
1375
+ additionalProperties: boolean;
1376
+ properties: {};
1377
+ enum?: undefined;
1378
+ })[];
1379
+ };
1380
+ resetPaddings: {
1381
+ type: string;
1382
+ };
1383
+ context: {
1384
+ type: string;
1385
+ };
1386
+ indent: {
1387
+ type: string;
1388
+ additionalProperties: boolean;
1389
+ properties: {
1390
+ top: {
1391
+ enum: string[];
1392
+ };
1393
+ bottom: {
1394
+ enum: string[];
1395
+ };
1396
+ };
1397
+ };
1398
+ type: {};
1399
+ when: {
1400
+ type: string;
1401
+ };
1402
+ };
1403
+ };
1404
+ };
1405
+ "blog-compact-media-block": {
1406
+ "blog-compact-media-block": {
1407
+ type: string;
1408
+ additionalProperties: boolean;
1409
+ properties: {
1410
+ image: {
1411
+ oneOf: ({
1412
+ optionName: string;
1413
+ oneOf: ({
1414
+ type: string;
1415
+ properties: {
1416
+ when: {
1417
+ type: string;
1418
+ };
1419
+ };
1420
+ } | {
1421
+ optionName: string;
1422
+ type: string;
1423
+ pattern: string;
1424
+ items?: undefined;
1425
+ } | {
1426
+ type: string;
1427
+ items: {
1428
+ type: string;
1429
+ properties: {
1430
+ when: {
1431
+ type: string;
1432
+ };
1433
+ };
1434
+ };
1435
+ optionName: string;
1436
+ })[];
1437
+ type?: undefined;
1438
+ items?: undefined;
1439
+ } | {
1056
1440
  type: string;
1057
- properties: {
1058
- when: {
1441
+ items: {
1442
+ oneOf: ({
1059
1443
  type: string;
1060
- };
1444
+ properties: {
1445
+ when: {
1446
+ type: string;
1447
+ };
1448
+ };
1449
+ } | {
1450
+ optionName: string;
1451
+ type: string;
1452
+ pattern: string;
1453
+ items?: undefined;
1454
+ } | {
1455
+ type: string;
1456
+ items: {
1457
+ type: string;
1458
+ properties: {
1459
+ when: {
1460
+ type: string;
1461
+ };
1462
+ };
1463
+ };
1464
+ optionName: string;
1465
+ })[];
1061
1466
  };
1062
- };
1467
+ optionName: string;
1468
+ })[];
1063
1469
  };
1064
- controlPosition: {
1470
+ description: {
1065
1471
  type: string;
1066
- enum: string[];
1472
+ contentType: string;
1067
1473
  };
1068
1474
  paddingTop: {
1069
1475
  type: string;
@@ -1101,8 +1507,17 @@ export declare const schemasForCustom: {
1101
1507
  };
1102
1508
  };
1103
1509
  visible: {
1104
- type: string;
1105
- enum: string[];
1510
+ oneOf: ({
1511
+ type: string;
1512
+ enum: string[];
1513
+ additionalProperties?: undefined;
1514
+ properties?: undefined;
1515
+ } | {
1516
+ type: string;
1517
+ additionalProperties: boolean;
1518
+ properties: {};
1519
+ enum?: undefined;
1520
+ })[];
1106
1521
  };
1107
1522
  resetPaddings: {
1108
1523
  type: string;
@@ -1170,6 +1585,84 @@ export declare const schemasForCustom: {
1170
1585
  resetMargin: {
1171
1586
  type: string;
1172
1587
  };
1588
+ analyticsEvents: {
1589
+ anyOf: ({
1590
+ type: string;
1591
+ additionalProperties: {
1592
+ type: string;
1593
+ };
1594
+ required: string[];
1595
+ properties: {
1596
+ name: {
1597
+ type: string;
1598
+ };
1599
+ type: {
1600
+ type: string;
1601
+ };
1602
+ counters: {
1603
+ type: string;
1604
+ additionalProperties: boolean;
1605
+ required: never[];
1606
+ properties: {
1607
+ include: {
1608
+ type: string;
1609
+ items: {
1610
+ type: string;
1611
+ };
1612
+ };
1613
+ exclude: {
1614
+ type: string;
1615
+ items: {
1616
+ type: string;
1617
+ };
1618
+ };
1619
+ };
1620
+ };
1621
+ context: {
1622
+ type: string;
1623
+ };
1624
+ };
1625
+ } | {
1626
+ type: string;
1627
+ items: {
1628
+ type: string;
1629
+ additionalProperties: {
1630
+ type: string;
1631
+ };
1632
+ required: string[];
1633
+ properties: {
1634
+ name: {
1635
+ type: string;
1636
+ };
1637
+ type: {
1638
+ type: string;
1639
+ };
1640
+ counters: {
1641
+ type: string;
1642
+ additionalProperties: boolean;
1643
+ required: never[];
1644
+ properties: {
1645
+ include: {
1646
+ type: string;
1647
+ items: {
1648
+ type: string;
1649
+ };
1650
+ };
1651
+ exclude: {
1652
+ type: string;
1653
+ items: {
1654
+ type: string;
1655
+ };
1656
+ };
1657
+ };
1658
+ };
1659
+ context: {
1660
+ type: string;
1661
+ };
1662
+ };
1663
+ };
1664
+ })[];
1665
+ };
1173
1666
  };
1174
1667
  contentType?: undefined;
1175
1668
  })[];
@@ -1224,17 +1717,6 @@ export declare const schemasForCustom: {
1224
1717
  };
1225
1718
  };
1226
1719
  };
1227
- labels: {
1228
- type: string;
1229
- items: {
1230
- type: string;
1231
- properties: {
1232
- when: {
1233
- type: string;
1234
- };
1235
- };
1236
- };
1237
- };
1238
1720
  controlPosition: {
1239
1721
  type: string;
1240
1722
  enum: string[];
@@ -1278,8 +1760,17 @@ export declare const schemasForCustom: {
1278
1760
  };
1279
1761
  };
1280
1762
  visible: {
1281
- type: string;
1282
- enum: string[];
1763
+ oneOf: ({
1764
+ type: string;
1765
+ enum: string[];
1766
+ additionalProperties?: undefined;
1767
+ properties?: undefined;
1768
+ } | {
1769
+ type: string;
1770
+ additionalProperties: boolean;
1771
+ properties: {};
1772
+ enum?: undefined;
1773
+ })[];
1283
1774
  };
1284
1775
  resetPaddings: {
1285
1776
  type: string;
@@ -1335,9 +1826,175 @@ export declare const schemasForCustom: {
1335
1826
  };
1336
1827
  };
1337
1828
  visible: {
1829
+ oneOf: ({
1830
+ type: string;
1831
+ enum: string[];
1832
+ additionalProperties?: undefined;
1833
+ properties?: undefined;
1834
+ } | {
1835
+ type: string;
1836
+ additionalProperties: boolean;
1837
+ properties: {};
1838
+ enum?: undefined;
1839
+ })[];
1840
+ };
1841
+ resetPaddings: {
1842
+ type: string;
1843
+ };
1844
+ context: {
1845
+ type: string;
1846
+ };
1847
+ indent: {
1848
+ type: string;
1849
+ additionalProperties: boolean;
1850
+ properties: {
1851
+ top: {
1852
+ enum: string[];
1853
+ };
1854
+ bottom: {
1855
+ enum: string[];
1856
+ };
1857
+ };
1858
+ };
1859
+ type: {};
1860
+ when: {
1861
+ type: string;
1862
+ };
1863
+ };
1864
+ };
1865
+ };
1866
+ "blog-form-block": {
1867
+ "blog-form-block": {
1868
+ type: string;
1869
+ additionalProperties: boolean;
1870
+ properties: {
1871
+ formData: {
1872
+ oneOf: ({
1873
+ type: string;
1874
+ additionalProperties: boolean;
1875
+ properties: {
1876
+ yandex: {
1877
+ oneOf: (({
1878
+ type: string;
1879
+ required: string[];
1880
+ properties: {
1881
+ id: {
1882
+ type: string;
1883
+ };
1884
+ containerId: {
1885
+ type: string;
1886
+ };
1887
+ type: {};
1888
+ when: {
1889
+ type: string;
1890
+ };
1891
+ };
1892
+ } & {
1893
+ optionName: string;
1894
+ }) | {
1895
+ type: string;
1896
+ additionalProperties: boolean;
1897
+ required: import("@gravity-ui/page-constructor").Theme[];
1898
+ properties: {};
1899
+ optionName: string;
1900
+ })[];
1901
+ };
1902
+ hubspot?: undefined;
1903
+ };
1904
+ optionName: string;
1905
+ } | {
1906
+ type: string;
1907
+ additionalProperties: boolean;
1908
+ properties: {
1909
+ hubspot: {
1910
+ oneOf: (({
1911
+ type: string;
1912
+ required: string[];
1913
+ properties: {
1914
+ region: {
1915
+ type: string;
1916
+ };
1917
+ portalId: {
1918
+ type: string;
1919
+ };
1920
+ formId: {
1921
+ type: string;
1922
+ };
1923
+ formInstanceId: {
1924
+ type: string;
1925
+ };
1926
+ type: {};
1927
+ when: {
1928
+ type: string;
1929
+ };
1930
+ };
1931
+ } & {
1932
+ optionName: string;
1933
+ }) | {
1934
+ type: string;
1935
+ additionalProperties: boolean;
1936
+ required: import("@gravity-ui/page-constructor").Theme[];
1937
+ properties: {};
1938
+ optionName: string;
1939
+ })[];
1940
+ };
1941
+ yandex?: undefined;
1942
+ };
1943
+ optionName: string;
1944
+ })[];
1945
+ };
1946
+ border: {
1947
+ type: string;
1948
+ enum: string[];
1949
+ };
1950
+ paddingTop: {
1951
+ type: string;
1952
+ enum: string[];
1953
+ };
1954
+ paddingBottom: {
1955
+ type: string;
1956
+ enum: string[];
1957
+ };
1958
+ fullWidth: {
1959
+ type: string;
1960
+ };
1961
+ column: {
1338
1962
  type: string;
1339
1963
  enum: string[];
1340
1964
  };
1965
+ qa: {
1966
+ type: string;
1967
+ };
1968
+ anchor: {
1969
+ type: string;
1970
+ additionalProperties: boolean;
1971
+ required: string[];
1972
+ properties: {
1973
+ text: {
1974
+ type: string;
1975
+ contentType: string;
1976
+ };
1977
+ url: {
1978
+ type: string;
1979
+ };
1980
+ urlTitle: {
1981
+ type: string;
1982
+ };
1983
+ };
1984
+ };
1985
+ visible: {
1986
+ oneOf: ({
1987
+ type: string;
1988
+ enum: string[];
1989
+ additionalProperties?: undefined;
1990
+ properties?: undefined;
1991
+ } | {
1992
+ type: string;
1993
+ additionalProperties: boolean;
1994
+ properties: {};
1995
+ enum?: undefined;
1996
+ })[];
1997
+ };
1341
1998
  resetPaddings: {
1342
1999
  type: string;
1343
2000
  };
@@ -1415,8 +2072,17 @@ export declare const schemasForCustom: {
1415
2072
  };
1416
2073
  };
1417
2074
  visible: {
1418
- type: string;
1419
- enum: string[];
2075
+ oneOf: ({
2076
+ type: string;
2077
+ enum: string[];
2078
+ additionalProperties?: undefined;
2079
+ properties?: undefined;
2080
+ } | {
2081
+ type: string;
2082
+ additionalProperties: boolean;
2083
+ properties: {};
2084
+ enum?: undefined;
2085
+ })[];
1420
2086
  };
1421
2087
  resetPaddings: {
1422
2088
  type: string;
@@ -1466,9 +2132,9 @@ export declare const schemasForCustom: {
1466
2132
  };
1467
2133
  };
1468
2134
  } | {
2135
+ optionName: string;
1469
2136
  type: string;
1470
2137
  pattern: string;
1471
- optionName: string;
1472
2138
  items?: undefined;
1473
2139
  } | {
1474
2140
  type: string;
@@ -1481,7 +2147,6 @@ export declare const schemasForCustom: {
1481
2147
  };
1482
2148
  };
1483
2149
  optionName: string;
1484
- pattern?: undefined;
1485
2150
  })[];
1486
2151
  type?: undefined;
1487
2152
  items?: undefined;
@@ -1496,9 +2161,9 @@ export declare const schemasForCustom: {
1496
2161
  };
1497
2162
  };
1498
2163
  } | {
2164
+ optionName: string;
1499
2165
  type: string;
1500
2166
  pattern: string;
1501
- optionName: string;
1502
2167
  items?: undefined;
1503
2168
  } | {
1504
2169
  type: string;
@@ -1511,7 +2176,6 @@ export declare const schemasForCustom: {
1511
2176
  };
1512
2177
  };
1513
2178
  optionName: string;
1514
- pattern?: undefined;
1515
2179
  })[];
1516
2180
  };
1517
2181
  optionName: string;
@@ -1794,8 +2458,17 @@ export declare const schemasForCustom: {
1794
2458
  };
1795
2459
  };
1796
2460
  visible: {
1797
- type: string;
1798
- enum: string[];
2461
+ oneOf: ({
2462
+ type: string;
2463
+ enum: string[];
2464
+ additionalProperties?: undefined;
2465
+ properties?: undefined;
2466
+ } | {
2467
+ type: string;
2468
+ additionalProperties: boolean;
2469
+ properties: {};
2470
+ enum?: undefined;
2471
+ })[];
1799
2472
  };
1800
2473
  resetPaddings: {
1801
2474
  type: string;
@@ -1863,8 +2536,17 @@ export declare const schemasForCustom: {
1863
2536
  };
1864
2537
  };
1865
2538
  visible: {
1866
- type: string;
1867
- enum: string[];
2539
+ oneOf: ({
2540
+ type: string;
2541
+ enum: string[];
2542
+ additionalProperties?: undefined;
2543
+ properties?: undefined;
2544
+ } | {
2545
+ type: string;
2546
+ additionalProperties: boolean;
2547
+ properties: {};
2548
+ enum?: undefined;
2549
+ })[];
1868
2550
  };
1869
2551
  resetPaddings: {
1870
2552
  type: string;
@@ -1891,11 +2573,90 @@ export declare const schemasForCustom: {
1891
2573
  };
1892
2574
  };
1893
2575
  };
1894
- "blog-suggest-block": {
1895
- "blog-suggest-block": {
2576
+ "blog-side-card-list-block": {
2577
+ "blog-side-card-list-block": {
1896
2578
  type: string;
1897
2579
  additionalProperties: boolean;
2580
+ required: string[];
1898
2581
  properties: {
2582
+ title: {
2583
+ type: string;
2584
+ };
2585
+ items: {
2586
+ type: string;
2587
+ items: {
2588
+ type: string;
2589
+ required: string[];
2590
+ properties: {
2591
+ image: {
2592
+ oneOf: ({
2593
+ optionName: string;
2594
+ oneOf: ({
2595
+ type: string;
2596
+ properties: {
2597
+ when: {
2598
+ type: string;
2599
+ };
2600
+ };
2601
+ } | {
2602
+ optionName: string;
2603
+ type: string;
2604
+ pattern: string;
2605
+ items?: undefined;
2606
+ } | {
2607
+ type: string;
2608
+ items: {
2609
+ type: string;
2610
+ properties: {
2611
+ when: {
2612
+ type: string;
2613
+ };
2614
+ };
2615
+ };
2616
+ optionName: string;
2617
+ })[];
2618
+ type?: undefined;
2619
+ items?: undefined;
2620
+ } | {
2621
+ type: string;
2622
+ items: {
2623
+ oneOf: ({
2624
+ type: string;
2625
+ properties: {
2626
+ when: {
2627
+ type: string;
2628
+ };
2629
+ };
2630
+ } | {
2631
+ optionName: string;
2632
+ type: string;
2633
+ pattern: string;
2634
+ items?: undefined;
2635
+ } | {
2636
+ type: string;
2637
+ items: {
2638
+ type: string;
2639
+ properties: {
2640
+ when: {
2641
+ type: string;
2642
+ };
2643
+ };
2644
+ };
2645
+ optionName: string;
2646
+ })[];
2647
+ };
2648
+ optionName: string;
2649
+ })[];
2650
+ };
2651
+ description: {
2652
+ type: string;
2653
+ };
2654
+ url: {
2655
+ type: string;
2656
+ };
2657
+ };
2658
+ };
2659
+ };
1899
2660
  paddingTop: {
1900
2661
  type: string;
1901
2662
  enum: string[];
@@ -1932,8 +2693,17 @@ export declare const schemasForCustom: {
1932
2693
  };
1933
2694
  };
1934
2695
  visible: {
1935
- type: string;
1936
- enum: string[];
2696
+ oneOf: ({
2697
+ type: string;
2698
+ enum: string[];
2699
+ additionalProperties?: undefined;
2700
+ properties?: undefined;
2701
+ } | {
2702
+ type: string;
2703
+ additionalProperties: boolean;
2704
+ properties: {};
2705
+ enum?: undefined;
2706
+ })[];
1937
2707
  };
1938
2708
  resetPaddings: {
1939
2709
  type: string;
@@ -1960,16 +2730,11 @@ export declare const schemasForCustom: {
1960
2730
  };
1961
2731
  };
1962
2732
  };
1963
- "blog-yfm-block": {
1964
- "blog-yfm-block": {
2733
+ "blog-suggest-block": {
2734
+ "blog-suggest-block": {
1965
2735
  type: string;
1966
2736
  additionalProperties: boolean;
1967
- required: string[];
1968
2737
  properties: {
1969
- text: {
1970
- type: string;
1971
- contentType: string;
1972
- };
1973
2738
  paddingTop: {
1974
2739
  type: string;
1975
2740
  enum: string[];
@@ -2006,8 +2771,17 @@ export declare const schemasForCustom: {
2006
2771
  };
2007
2772
  };
2008
2773
  visible: {
2009
- type: string;
2010
- enum: string[];
2774
+ oneOf: ({
2775
+ type: string;
2776
+ enum: string[];
2777
+ additionalProperties?: undefined;
2778
+ properties?: undefined;
2779
+ } | {
2780
+ type: string;
2781
+ additionalProperties: boolean;
2782
+ properties: {};
2783
+ enum?: undefined;
2784
+ })[];
2011
2785
  };
2012
2786
  resetPaddings: {
2013
2787
  type: string;
@@ -2034,76 +2808,51 @@ export declare const schemasForCustom: {
2034
2808
  };
2035
2809
  };
2036
2810
  };
2037
- "blog-compact-media-block": {
2038
- "blog-compact-media-block": {
2811
+ "blog-take-block": {
2812
+ "blog-take-block": {
2039
2813
  type: string;
2040
2814
  additionalProperties: boolean;
2815
+ required: string[];
2041
2816
  properties: {
2042
- image: {
2043
- oneOf: ({
2044
- optionName: string;
2045
- oneOf: ({
2817
+ paddingRight: {
2818
+ type: string;
2819
+ enum: string[];
2820
+ };
2821
+ paddingLeft: {
2822
+ type: string;
2823
+ enum: string[];
2824
+ };
2825
+ text: {
2826
+ type: string;
2827
+ contentType: string;
2828
+ };
2829
+ author: {
2830
+ type: string;
2831
+ additionalProperties: boolean;
2832
+ required: string[];
2833
+ properties: {
2834
+ firstName: {
2046
2835
  type: string;
2047
- properties: {
2048
- when: {
2049
- type: string;
2050
- };
2051
- };
2052
- } | {
2836
+ contentType: string;
2837
+ };
2838
+ secondName: {
2053
2839
  type: string;
2054
- pattern: string;
2055
- optionName: string;
2056
- items?: undefined;
2057
- } | {
2840
+ contentType: string;
2841
+ };
2842
+ description: {
2058
2843
  type: string;
2059
- items: {
2060
- type: string;
2061
- properties: {
2062
- when: {
2063
- type: string;
2064
- };
2065
- };
2066
- };
2067
- optionName: string;
2068
- pattern?: undefined;
2069
- })[];
2070
- type?: undefined;
2071
- items?: undefined;
2072
- } | {
2073
- type: string;
2074
- items: {
2075
- oneOf: ({
2076
- type: string;
2077
- properties: {
2078
- when: {
2079
- type: string;
2080
- };
2081
- };
2082
- } | {
2083
- type: string;
2084
- pattern: string;
2085
- optionName: string;
2086
- items?: undefined;
2087
- } | {
2088
- type: string;
2089
- items: {
2090
- type: string;
2091
- properties: {
2092
- when: {
2093
- type: string;
2094
- };
2095
- };
2096
- };
2097
- optionName: string;
2098
- pattern?: undefined;
2099
- })[];
2844
+ contentType: string;
2100
2845
  };
2101
- optionName: string;
2102
- })[];
2846
+ avatar: {
2847
+ type: string;
2848
+ };
2849
+ };
2103
2850
  };
2104
- description: {
2851
+ color: {
2852
+ type: string;
2853
+ };
2854
+ noBackground: {
2105
2855
  type: string;
2106
- contentType: string;
2107
2856
  };
2108
2857
  paddingTop: {
2109
2858
  type: string;
@@ -2141,8 +2890,17 @@ export declare const schemasForCustom: {
2141
2890
  };
2142
2891
  };
2143
2892
  visible: {
2144
- type: string;
2145
- enum: string[];
2893
+ oneOf: ({
2894
+ type: string;
2895
+ enum: string[];
2896
+ additionalProperties?: undefined;
2897
+ properties?: undefined;
2898
+ } | {
2899
+ type: string;
2900
+ additionalProperties: boolean;
2901
+ properties: {};
2902
+ enum?: undefined;
2903
+ })[];
2146
2904
  };
2147
2905
  resetPaddings: {
2148
2906
  type: string;
@@ -2169,8 +2927,8 @@ export declare const schemasForCustom: {
2169
2927
  };
2170
2928
  };
2171
2929
  };
2172
- "blog-take-block": {
2173
- "blog-take-block": {
2930
+ "blog-yfm-block": {
2931
+ "blog-yfm-block": {
2174
2932
  type: string;
2175
2933
  additionalProperties: boolean;
2176
2934
  required: string[];
@@ -2179,28 +2937,6 @@ export declare const schemasForCustom: {
2179
2937
  type: string;
2180
2938
  contentType: string;
2181
2939
  };
2182
- author: {
2183
- type: string;
2184
- additionalProperties: boolean;
2185
- required: string[];
2186
- properties: {
2187
- firstName: {
2188
- type: string;
2189
- contentType: string;
2190
- };
2191
- secondName: {
2192
- type: string;
2193
- contentType: string;
2194
- };
2195
- description: {
2196
- type: string;
2197
- contentType: string;
2198
- };
2199
- avatar: {
2200
- type: string;
2201
- };
2202
- };
2203
- };
2204
2940
  paddingTop: {
2205
2941
  type: string;
2206
2942
  enum: string[];
@@ -2237,8 +2973,17 @@ export declare const schemasForCustom: {
2237
2973
  };
2238
2974
  };
2239
2975
  visible: {
2240
- type: string;
2241
- enum: string[];
2976
+ oneOf: ({
2977
+ type: string;
2978
+ enum: string[];
2979
+ additionalProperties?: undefined;
2980
+ properties?: undefined;
2981
+ } | {
2982
+ type: string;
2983
+ additionalProperties: boolean;
2984
+ properties: {};
2985
+ enum?: undefined;
2986
+ })[];
2242
2987
  };
2243
2988
  resetPaddings: {
2244
2989
  type: string;