@gravity-ui/blog-constructor 11.1.0 → 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 (92) 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/schema.d.ts +90 -15
  11. package/build/cjs/blocks/CompactMedia/schema.d.ts +13 -6
  12. package/build/cjs/blocks/Feed/schema.d.ts +11 -2
  13. package/build/cjs/blocks/Form/schema.d.ts +69 -38
  14. package/build/cjs/blocks/Form/schema.js +5 -22
  15. package/build/cjs/blocks/Form/schema.js.map +1 -1
  16. package/build/cjs/blocks/Header/schema.d.ts +164 -73
  17. package/build/cjs/blocks/Header/schema.js +3 -1
  18. package/build/cjs/blocks/Header/schema.js.map +1 -1
  19. package/build/cjs/blocks/Layout/schema.d.ts +11 -2
  20. package/build/cjs/blocks/Media/schema.d.ts +13 -6
  21. package/build/cjs/blocks/Meta/schema.d.ts +11 -2
  22. package/build/cjs/blocks/SideCardList/schema.d.ts +69 -6
  23. package/build/cjs/blocks/SideCardList/schema.js +16 -19
  24. package/build/cjs/blocks/SideCardList/schema.js.map +1 -1
  25. package/build/cjs/blocks/Suggest/schema.d.ts +11 -2
  26. package/build/cjs/blocks/Take/schema.d.ts +25 -2
  27. package/build/cjs/blocks/Take/schema.js +2 -2
  28. package/build/cjs/blocks/Take/schema.js.map +1 -1
  29. package/build/cjs/blocks/YFM/schema.d.ts +11 -2
  30. package/build/cjs/constructor/blocksMap.d.ts +9 -9
  31. package/build/cjs/constructor/blocksMap.js +9 -9
  32. package/build/cjs/constructor/blocksMap.js.map +1 -1
  33. package/build/cjs/containers/BlogPostPage/BlogPostPage.css +9 -1
  34. package/build/cjs/hooks/useExtendedComponentMap.d.ts +9 -9
  35. package/build/cjs/schema/blocks.d.ts +4 -2
  36. package/build/cjs/schema/blocks.js +4 -2
  37. package/build/cjs/schema/blocks.js.map +1 -1
  38. package/build/cjs/schema/common.d.ts +4 -0
  39. package/build/cjs/schema/common.js +8 -10
  40. package/build/cjs/schema/common.js.map +1 -1
  41. package/build/cjs/schema/index.d.ts +1009 -284
  42. package/build/cjs/schema/index.js +5 -3
  43. package/build/cjs/schema/index.js.map +1 -1
  44. package/build/cjs/utils/common.d.ts +1 -2
  45. package/build/esm/blocks/Author/schema.d.ts +14 -3
  46. package/build/esm/blocks/Author/schema.js +1 -1
  47. package/build/esm/blocks/Author/schema.js.map +1 -1
  48. package/build/esm/blocks/Banner/Banner.js +5 -2
  49. package/build/esm/blocks/Banner/Banner.js.map +1 -1
  50. package/build/esm/blocks/Banner/schema.d.ts +89 -13
  51. package/build/esm/blocks/CTA/schema.d.ts +89 -13
  52. package/build/esm/blocks/CTA/schema.js +1 -1
  53. package/build/esm/blocks/CTA/schema.js.map +1 -1
  54. package/build/esm/blocks/ColoredText/schema.d.ts +90 -15
  55. package/build/esm/blocks/CompactMedia/schema.d.ts +13 -6
  56. package/build/esm/blocks/Feed/schema.d.ts +11 -2
  57. package/build/esm/blocks/Form/schema.d.ts +69 -38
  58. package/build/esm/blocks/Form/schema.js +4 -21
  59. package/build/esm/blocks/Form/schema.js.map +1 -1
  60. package/build/esm/blocks/Header/schema.d.ts +164 -73
  61. package/build/esm/blocks/Header/schema.js +3 -1
  62. package/build/esm/blocks/Header/schema.js.map +1 -1
  63. package/build/esm/blocks/Layout/schema.d.ts +11 -2
  64. package/build/esm/blocks/Media/schema.d.ts +13 -6
  65. package/build/esm/blocks/Meta/schema.d.ts +11 -2
  66. package/build/esm/blocks/SideCardList/schema.d.ts +69 -6
  67. package/build/esm/blocks/SideCardList/schema.js +16 -19
  68. package/build/esm/blocks/SideCardList/schema.js.map +1 -1
  69. package/build/esm/blocks/Suggest/schema.d.ts +11 -2
  70. package/build/esm/blocks/Take/schema.d.ts +25 -2
  71. package/build/esm/blocks/Take/schema.js +3 -3
  72. package/build/esm/blocks/Take/schema.js.map +1 -1
  73. package/build/esm/blocks/YFM/schema.d.ts +11 -2
  74. package/build/esm/constructor/blocksMap.d.ts +9 -9
  75. package/build/esm/constructor/blocksMap.js +9 -9
  76. package/build/esm/constructor/blocksMap.js.map +1 -1
  77. package/build/esm/containers/BlogPostPage/BlogPostPage.css +9 -1
  78. package/build/esm/hooks/useExtendedComponentMap.d.ts +9 -9
  79. package/build/esm/schema/blocks.d.ts +4 -2
  80. package/build/esm/schema/blocks.js +4 -2
  81. package/build/esm/schema/blocks.js.map +1 -1
  82. package/build/esm/schema/common.d.ts +4 -0
  83. package/build/esm/schema/common.js +7 -9
  84. package/build/esm/schema/common.js.map +1 -1
  85. package/build/esm/schema/index.d.ts +1009 -284
  86. package/build/esm/schema/index.js +5 -3
  87. package/build/esm/schema/index.js.map +1 -1
  88. package/build/esm/utils/common.d.ts +1 -2
  89. package/package.json +3 -3
  90. package/styles/storybook/common.scss +6 -0
  91. package/styles/styles.css +9 -1
  92. 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,71 +891,138 @@ 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
- };
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
+ };
857
1026
  controlPosition: {
858
1027
  type: string;
859
1028
  enum: string[];
@@ -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;
@@ -948,9 +1126,9 @@ export declare const schemasForCustom: {
948
1126
  };
949
1127
  };
950
1128
  } | {
1129
+ optionName: string;
951
1130
  type: string;
952
1131
  pattern: string;
953
- optionName: string;
954
1132
  items?: undefined;
955
1133
  } | {
956
1134
  type: string;
@@ -963,7 +1141,6 @@ export declare const schemasForCustom: {
963
1141
  };
964
1142
  };
965
1143
  optionName: string;
966
- pattern?: undefined;
967
1144
  })[];
968
1145
  } & {
969
1146
  optionName: string;
@@ -1016,6 +1193,84 @@ export declare const schemasForCustom: {
1016
1193
  resetMargin: {
1017
1194
  type: string;
1018
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
+ };
1019
1274
  };
1020
1275
  contentType?: undefined;
1021
1276
  })[];
@@ -1067,23 +1322,154 @@ export declare const schemasForCustom: {
1067
1322
  when: {
1068
1323
  type: string;
1069
1324
  };
1070
- };
1071
- };
1072
- };
1073
- labels: {
1074
- type: string;
1075
- 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
+ } | {
1076
1440
  type: string;
1077
- properties: {
1078
- when: {
1441
+ items: {
1442
+ oneOf: ({
1079
1443
  type: string;
1080
- };
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
+ })[];
1081
1466
  };
1082
- };
1467
+ optionName: string;
1468
+ })[];
1083
1469
  };
1084
- controlPosition: {
1470
+ description: {
1085
1471
  type: string;
1086
- enum: string[];
1472
+ contentType: string;
1087
1473
  };
1088
1474
  paddingTop: {
1089
1475
  type: string;
@@ -1121,8 +1507,17 @@ export declare const schemasForCustom: {
1121
1507
  };
1122
1508
  };
1123
1509
  visible: {
1124
- type: string;
1125
- 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
+ })[];
1126
1521
  };
1127
1522
  resetPaddings: {
1128
1523
  type: string;
@@ -1190,6 +1585,84 @@ export declare const schemasForCustom: {
1190
1585
  resetMargin: {
1191
1586
  type: string;
1192
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
+ };
1193
1666
  };
1194
1667
  contentType?: undefined;
1195
1668
  })[];
@@ -1244,17 +1717,6 @@ export declare const schemasForCustom: {
1244
1717
  };
1245
1718
  };
1246
1719
  };
1247
- labels: {
1248
- type: string;
1249
- items: {
1250
- type: string;
1251
- properties: {
1252
- when: {
1253
- type: string;
1254
- };
1255
- };
1256
- };
1257
- };
1258
1720
  controlPosition: {
1259
1721
  type: string;
1260
1722
  enum: string[];
@@ -1298,8 +1760,17 @@ export declare const schemasForCustom: {
1298
1760
  };
1299
1761
  };
1300
1762
  visible: {
1301
- type: string;
1302
- 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
+ })[];
1303
1774
  };
1304
1775
  resetPaddings: {
1305
1776
  type: string;
@@ -1355,9 +1826,175 @@ export declare const schemasForCustom: {
1355
1826
  };
1356
1827
  };
1357
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: {
1358
1962
  type: string;
1359
1963
  enum: string[];
1360
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
+ };
1361
1998
  resetPaddings: {
1362
1999
  type: string;
1363
2000
  };
@@ -1435,8 +2072,17 @@ export declare const schemasForCustom: {
1435
2072
  };
1436
2073
  };
1437
2074
  visible: {
1438
- type: string;
1439
- 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
+ })[];
1440
2086
  };
1441
2087
  resetPaddings: {
1442
2088
  type: string;
@@ -1486,9 +2132,9 @@ export declare const schemasForCustom: {
1486
2132
  };
1487
2133
  };
1488
2134
  } | {
2135
+ optionName: string;
1489
2136
  type: string;
1490
2137
  pattern: string;
1491
- optionName: string;
1492
2138
  items?: undefined;
1493
2139
  } | {
1494
2140
  type: string;
@@ -1501,7 +2147,6 @@ export declare const schemasForCustom: {
1501
2147
  };
1502
2148
  };
1503
2149
  optionName: string;
1504
- pattern?: undefined;
1505
2150
  })[];
1506
2151
  type?: undefined;
1507
2152
  items?: undefined;
@@ -1516,9 +2161,9 @@ export declare const schemasForCustom: {
1516
2161
  };
1517
2162
  };
1518
2163
  } | {
2164
+ optionName: string;
1519
2165
  type: string;
1520
2166
  pattern: string;
1521
- optionName: string;
1522
2167
  items?: undefined;
1523
2168
  } | {
1524
2169
  type: string;
@@ -1531,7 +2176,6 @@ export declare const schemasForCustom: {
1531
2176
  };
1532
2177
  };
1533
2178
  optionName: string;
1534
- pattern?: undefined;
1535
2179
  })[];
1536
2180
  };
1537
2181
  optionName: string;
@@ -1814,8 +2458,17 @@ export declare const schemasForCustom: {
1814
2458
  };
1815
2459
  };
1816
2460
  visible: {
1817
- type: string;
1818
- 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
+ })[];
1819
2472
  };
1820
2473
  resetPaddings: {
1821
2474
  type: string;
@@ -1883,8 +2536,17 @@ export declare const schemasForCustom: {
1883
2536
  };
1884
2537
  };
1885
2538
  visible: {
1886
- type: string;
1887
- 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
+ })[];
1888
2550
  };
1889
2551
  resetPaddings: {
1890
2552
  type: string;
@@ -1911,11 +2573,90 @@ export declare const schemasForCustom: {
1911
2573
  };
1912
2574
  };
1913
2575
  };
1914
- "blog-suggest-block": {
1915
- "blog-suggest-block": {
2576
+ "blog-side-card-list-block": {
2577
+ "blog-side-card-list-block": {
1916
2578
  type: string;
1917
2579
  additionalProperties: boolean;
2580
+ required: string[];
1918
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
+ };
1919
2660
  paddingTop: {
1920
2661
  type: string;
1921
2662
  enum: string[];
@@ -1952,8 +2693,17 @@ export declare const schemasForCustom: {
1952
2693
  };
1953
2694
  };
1954
2695
  visible: {
1955
- type: string;
1956
- 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
+ })[];
1957
2707
  };
1958
2708
  resetPaddings: {
1959
2709
  type: string;
@@ -1980,16 +2730,11 @@ export declare const schemasForCustom: {
1980
2730
  };
1981
2731
  };
1982
2732
  };
1983
- "blog-yfm-block": {
1984
- "blog-yfm-block": {
2733
+ "blog-suggest-block": {
2734
+ "blog-suggest-block": {
1985
2735
  type: string;
1986
2736
  additionalProperties: boolean;
1987
- required: string[];
1988
2737
  properties: {
1989
- text: {
1990
- type: string;
1991
- contentType: string;
1992
- };
1993
2738
  paddingTop: {
1994
2739
  type: string;
1995
2740
  enum: string[];
@@ -2026,8 +2771,17 @@ export declare const schemasForCustom: {
2026
2771
  };
2027
2772
  };
2028
2773
  visible: {
2029
- type: string;
2030
- 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
+ })[];
2031
2785
  };
2032
2786
  resetPaddings: {
2033
2787
  type: string;
@@ -2054,76 +2808,51 @@ export declare const schemasForCustom: {
2054
2808
  };
2055
2809
  };
2056
2810
  };
2057
- "blog-compact-media-block": {
2058
- "blog-compact-media-block": {
2811
+ "blog-take-block": {
2812
+ "blog-take-block": {
2059
2813
  type: string;
2060
2814
  additionalProperties: boolean;
2815
+ required: string[];
2061
2816
  properties: {
2062
- image: {
2063
- oneOf: ({
2064
- optionName: string;
2065
- 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: {
2066
2835
  type: string;
2067
- properties: {
2068
- when: {
2069
- type: string;
2070
- };
2071
- };
2072
- } | {
2836
+ contentType: string;
2837
+ };
2838
+ secondName: {
2073
2839
  type: string;
2074
- pattern: string;
2075
- optionName: string;
2076
- items?: undefined;
2077
- } | {
2840
+ contentType: string;
2841
+ };
2842
+ description: {
2078
2843
  type: string;
2079
- items: {
2080
- type: string;
2081
- properties: {
2082
- when: {
2083
- type: string;
2084
- };
2085
- };
2086
- };
2087
- optionName: string;
2088
- pattern?: undefined;
2089
- })[];
2090
- type?: undefined;
2091
- items?: undefined;
2092
- } | {
2093
- type: string;
2094
- items: {
2095
- oneOf: ({
2096
- type: string;
2097
- properties: {
2098
- when: {
2099
- type: string;
2100
- };
2101
- };
2102
- } | {
2103
- type: string;
2104
- pattern: string;
2105
- optionName: string;
2106
- items?: undefined;
2107
- } | {
2108
- type: string;
2109
- items: {
2110
- type: string;
2111
- properties: {
2112
- when: {
2113
- type: string;
2114
- };
2115
- };
2116
- };
2117
- optionName: string;
2118
- pattern?: undefined;
2119
- })[];
2844
+ contentType: string;
2120
2845
  };
2121
- optionName: string;
2122
- })[];
2846
+ avatar: {
2847
+ type: string;
2848
+ };
2849
+ };
2123
2850
  };
2124
- description: {
2851
+ color: {
2852
+ type: string;
2853
+ };
2854
+ noBackground: {
2125
2855
  type: string;
2126
- contentType: string;
2127
2856
  };
2128
2857
  paddingTop: {
2129
2858
  type: string;
@@ -2161,8 +2890,17 @@ export declare const schemasForCustom: {
2161
2890
  };
2162
2891
  };
2163
2892
  visible: {
2164
- type: string;
2165
- 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
+ })[];
2166
2904
  };
2167
2905
  resetPaddings: {
2168
2906
  type: string;
@@ -2189,8 +2927,8 @@ export declare const schemasForCustom: {
2189
2927
  };
2190
2928
  };
2191
2929
  };
2192
- "blog-take-block": {
2193
- "blog-take-block": {
2930
+ "blog-yfm-block": {
2931
+ "blog-yfm-block": {
2194
2932
  type: string;
2195
2933
  additionalProperties: boolean;
2196
2934
  required: string[];
@@ -2199,28 +2937,6 @@ export declare const schemasForCustom: {
2199
2937
  type: string;
2200
2938
  contentType: string;
2201
2939
  };
2202
- author: {
2203
- type: string;
2204
- additionalProperties: boolean;
2205
- required: string[];
2206
- properties: {
2207
- firstName: {
2208
- type: string;
2209
- contentType: string;
2210
- };
2211
- secondName: {
2212
- type: string;
2213
- contentType: string;
2214
- };
2215
- description: {
2216
- type: string;
2217
- contentType: string;
2218
- };
2219
- avatar: {
2220
- type: string;
2221
- };
2222
- };
2223
- };
2224
2940
  paddingTop: {
2225
2941
  type: string;
2226
2942
  enum: string[];
@@ -2257,8 +2973,17 @@ export declare const schemasForCustom: {
2257
2973
  };
2258
2974
  };
2259
2975
  visible: {
2260
- type: string;
2261
- 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
+ })[];
2262
2987
  };
2263
2988
  resetPaddings: {
2264
2989
  type: string;