@gravity-ui/page-constructor 8.1.2-alpha.1 → 8.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 (120) hide show
  1. package/build/cjs/blocks/CardLayout/schema.d.ts +156 -0
  2. package/build/cjs/blocks/ContentLayout/schema.d.ts +78 -0
  3. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +78 -0
  4. package/build/cjs/blocks/FilterBlock/schema.d.ts +156 -0
  5. package/build/cjs/blocks/FoldableList/schema.d.ts +78 -0
  6. package/build/cjs/blocks/Form/schema.d.ts +78 -0
  7. package/build/cjs/blocks/Info/schema.d.ts +156 -0
  8. package/build/cjs/blocks/Map/schema.d.ts +78 -0
  9. package/build/cjs/blocks/Media/schema.d.ts +156 -0
  10. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +78 -0
  11. package/build/cjs/blocks/Questions/schema.d.ts +78 -0
  12. package/build/cjs/blocks/Slider/Slider.d.ts +1 -1
  13. package/build/cjs/blocks/Slider/Slider.js +2 -2
  14. package/build/cjs/blocks/Slider/Slider.js.map +1 -1
  15. package/build/cjs/blocks/Slider/schema.d.ts +78 -0
  16. package/build/cjs/blocks/SliderOld/schema.d.ts +78 -0
  17. package/build/cjs/blocks/Tabs/schema.d.ts +156 -0
  18. package/build/cjs/components/Title/TitleItem.d.ts +2 -2
  19. package/build/cjs/components/Title/TitleItem.js +13 -3
  20. package/build/cjs/components/Title/TitleItem.js.map +1 -1
  21. package/build/cjs/constructor-items.d.ts +1 -1
  22. package/build/cjs/demo/ComponentsControls.stories.d.ts +4 -0
  23. package/build/cjs/demo/ComponentsControls.stories.js +34 -0
  24. package/build/cjs/demo/ComponentsControls.stories.js.map +1 -0
  25. package/build/cjs/demo/ComponentsLayout.stories.css +13 -0
  26. package/build/cjs/demo/ComponentsLayout.stories.d.ts +4 -0
  27. package/build/cjs/demo/ComponentsLayout.stories.js +28 -0
  28. package/build/cjs/demo/ComponentsLayout.stories.js.map +1 -0
  29. package/build/cjs/demo/ComponentsText.stories.d.ts +4 -0
  30. package/build/cjs/demo/ComponentsText.stories.js +26 -0
  31. package/build/cjs/demo/ComponentsText.stories.js.map +1 -0
  32. package/build/cjs/demo/ContentAndData.stories.d.ts +8 -0
  33. package/build/cjs/demo/ContentAndData.stories.js +73 -0
  34. package/build/cjs/demo/ContentAndData.stories.js.map +1 -0
  35. package/build/cjs/demo/FeaturesAndCards.stories.d.ts +8 -0
  36. package/build/cjs/demo/FeaturesAndCards.stories.js +112 -0
  37. package/build/cjs/demo/FeaturesAndCards.stories.js.map +1 -0
  38. package/build/cjs/demo/HeroAndMedia.stories.d.ts +8 -0
  39. package/build/cjs/demo/HeroAndMedia.stories.js +58 -0
  40. package/build/cjs/demo/HeroAndMedia.stories.js.map +1 -0
  41. package/build/cjs/demo/InteractiveAndForms.stories.d.ts +8 -0
  42. package/build/cjs/demo/InteractiveAndForms.stories.js +83 -0
  43. package/build/cjs/demo/InteractiveAndForms.stories.js.map +1 -0
  44. package/build/cjs/models/constructor-items/blocks.d.ts +0 -1
  45. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  46. package/build/cjs/models/constructor-items/common.d.ts +1 -1
  47. package/build/cjs/models/constructor-items/common.js.map +1 -1
  48. package/build/cjs/schema/constants.d.ts +234 -0
  49. package/build/cjs/schema/validators/common.d.ts +156 -0
  50. package/build/cjs/schema/validators/common.js +3 -0
  51. package/build/cjs/schema/validators/common.js.map +1 -1
  52. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +78 -0
  53. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +78 -0
  54. package/build/cjs/sub-blocks/Content/schema.d.ts +156 -0
  55. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +78 -0
  56. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +78 -0
  57. package/build/cjs/text-transform/config.d.ts +1 -0
  58. package/build/esm/blocks/CardLayout/schema.d.ts +156 -0
  59. package/build/esm/blocks/ContentLayout/schema.d.ts +78 -0
  60. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +78 -0
  61. package/build/esm/blocks/FilterBlock/schema.d.ts +156 -0
  62. package/build/esm/blocks/FoldableList/schema.d.ts +78 -0
  63. package/build/esm/blocks/Form/schema.d.ts +78 -0
  64. package/build/esm/blocks/Info/schema.d.ts +156 -0
  65. package/build/esm/blocks/Map/schema.d.ts +78 -0
  66. package/build/esm/blocks/Media/schema.d.ts +156 -0
  67. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +78 -0
  68. package/build/esm/blocks/Questions/schema.d.ts +78 -0
  69. package/build/esm/blocks/Slider/Slider.d.ts +1 -1
  70. package/build/esm/blocks/Slider/Slider.js +2 -2
  71. package/build/esm/blocks/Slider/Slider.js.map +1 -1
  72. package/build/esm/blocks/Slider/schema.d.ts +78 -0
  73. package/build/esm/blocks/SliderOld/schema.d.ts +78 -0
  74. package/build/esm/blocks/Tabs/schema.d.ts +156 -0
  75. package/build/esm/components/Title/TitleItem.d.ts +2 -2
  76. package/build/esm/components/Title/TitleItem.js +13 -3
  77. package/build/esm/components/Title/TitleItem.js.map +1 -1
  78. package/build/esm/constructor-items.d.ts +1 -1
  79. package/build/esm/demo/ComponentsControls.stories.d.ts +4 -0
  80. package/build/esm/demo/ComponentsControls.stories.js +29 -0
  81. package/build/esm/demo/ComponentsControls.stories.js.map +1 -0
  82. package/build/esm/demo/ComponentsLayout.stories.css +13 -0
  83. package/build/esm/demo/ComponentsLayout.stories.d.ts +5 -0
  84. package/build/esm/demo/ComponentsLayout.stories.js +24 -0
  85. package/build/esm/demo/ComponentsLayout.stories.js.map +1 -0
  86. package/build/esm/demo/ComponentsText.stories.d.ts +4 -0
  87. package/build/esm/demo/ComponentsText.stories.js +21 -0
  88. package/build/esm/demo/ComponentsText.stories.js.map +1 -0
  89. package/build/esm/demo/ContentAndData.stories.d.ts +8 -0
  90. package/build/esm/demo/ContentAndData.stories.js +69 -0
  91. package/build/esm/demo/ContentAndData.stories.js.map +1 -0
  92. package/build/esm/demo/FeaturesAndCards.stories.d.ts +8 -0
  93. package/build/esm/demo/FeaturesAndCards.stories.js +108 -0
  94. package/build/esm/demo/FeaturesAndCards.stories.js.map +1 -0
  95. package/build/esm/demo/HeroAndMedia.stories.d.ts +8 -0
  96. package/build/esm/demo/HeroAndMedia.stories.js +54 -0
  97. package/build/esm/demo/HeroAndMedia.stories.js.map +1 -0
  98. package/build/esm/demo/InteractiveAndForms.stories.d.ts +8 -0
  99. package/build/esm/demo/InteractiveAndForms.stories.js +79 -0
  100. package/build/esm/demo/InteractiveAndForms.stories.js.map +1 -0
  101. package/build/esm/models/constructor-items/blocks.d.ts +0 -1
  102. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  103. package/build/esm/models/constructor-items/common.d.ts +1 -1
  104. package/build/esm/models/constructor-items/common.js.map +1 -1
  105. package/build/esm/schema/constants.d.ts +234 -0
  106. package/build/esm/schema/validators/common.d.ts +156 -0
  107. package/build/esm/schema/validators/common.js +3 -0
  108. package/build/esm/schema/validators/common.js.map +1 -1
  109. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +78 -0
  110. package/build/esm/sub-blocks/BasicCard/schema.d.ts +78 -0
  111. package/build/esm/sub-blocks/Content/schema.d.ts +156 -0
  112. package/build/esm/sub-blocks/ImageCard/schema.d.ts +78 -0
  113. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +78 -0
  114. package/build/esm/text-transform/config.d.ts +1 -0
  115. package/package.json +1 -1
  116. package/schema/index.js +1 -1
  117. package/server/models/constructor-items/blocks.d.ts +0 -1
  118. package/server/models/constructor-items/common.d.ts +1 -1
  119. package/server/text-transform/config.d.ts +1 -0
  120. package/widget/index.js +1 -1
@@ -167,6 +167,84 @@ export declare const CardLayoutProps: {
167
167
  resetMargin: {
168
168
  type: string;
169
169
  };
170
+ analyticsEvents: {
171
+ anyOf: ({
172
+ type: string;
173
+ additionalProperties: {
174
+ type: string;
175
+ };
176
+ required: string[];
177
+ properties: {
178
+ name: {
179
+ type: string;
180
+ };
181
+ type: {
182
+ type: string;
183
+ };
184
+ counters: {
185
+ type: string;
186
+ additionalProperties: boolean;
187
+ required: never[];
188
+ properties: {
189
+ include: {
190
+ type: string;
191
+ items: {
192
+ type: string;
193
+ };
194
+ };
195
+ exclude: {
196
+ type: string;
197
+ items: {
198
+ type: string;
199
+ };
200
+ };
201
+ };
202
+ };
203
+ context: {
204
+ type: string;
205
+ };
206
+ };
207
+ } | {
208
+ type: string;
209
+ items: {
210
+ type: string;
211
+ additionalProperties: {
212
+ type: string;
213
+ };
214
+ required: string[];
215
+ properties: {
216
+ name: {
217
+ type: string;
218
+ };
219
+ type: {
220
+ type: string;
221
+ };
222
+ counters: {
223
+ type: string;
224
+ additionalProperties: boolean;
225
+ required: never[];
226
+ properties: {
227
+ include: {
228
+ type: string;
229
+ items: {
230
+ type: string;
231
+ };
232
+ };
233
+ exclude: {
234
+ type: string;
235
+ items: {
236
+ type: string;
237
+ };
238
+ };
239
+ };
240
+ };
241
+ context: {
242
+ type: string;
243
+ };
244
+ };
245
+ };
246
+ })[];
247
+ };
170
248
  };
171
249
  })[];
172
250
  };
@@ -393,6 +471,84 @@ export declare const CardLayoutBlock: {
393
471
  resetMargin: {
394
472
  type: string;
395
473
  };
474
+ analyticsEvents: {
475
+ anyOf: ({
476
+ type: string;
477
+ additionalProperties: {
478
+ type: string;
479
+ };
480
+ required: string[];
481
+ properties: {
482
+ name: {
483
+ type: string;
484
+ };
485
+ type: {
486
+ type: string;
487
+ };
488
+ counters: {
489
+ type: string;
490
+ additionalProperties: boolean;
491
+ required: never[];
492
+ properties: {
493
+ include: {
494
+ type: string;
495
+ items: {
496
+ type: string;
497
+ };
498
+ };
499
+ exclude: {
500
+ type: string;
501
+ items: {
502
+ type: string;
503
+ };
504
+ };
505
+ };
506
+ };
507
+ context: {
508
+ type: string;
509
+ };
510
+ };
511
+ } | {
512
+ type: string;
513
+ items: {
514
+ type: string;
515
+ additionalProperties: {
516
+ type: string;
517
+ };
518
+ required: string[];
519
+ properties: {
520
+ name: {
521
+ type: string;
522
+ };
523
+ type: {
524
+ type: string;
525
+ };
526
+ counters: {
527
+ type: string;
528
+ additionalProperties: boolean;
529
+ required: never[];
530
+ properties: {
531
+ include: {
532
+ type: string;
533
+ items: {
534
+ type: string;
535
+ };
536
+ };
537
+ exclude: {
538
+ type: string;
539
+ items: {
540
+ type: string;
541
+ };
542
+ };
543
+ };
544
+ };
545
+ context: {
546
+ type: string;
547
+ };
548
+ };
549
+ };
550
+ })[];
551
+ };
396
552
  };
397
553
  })[];
398
554
  };
@@ -171,6 +171,84 @@ export declare const ContentLayoutBlock: {
171
171
  resetMargin: {
172
172
  type: string;
173
173
  };
174
+ analyticsEvents: {
175
+ anyOf: ({
176
+ type: string;
177
+ additionalProperties: {
178
+ type: string;
179
+ };
180
+ required: string[];
181
+ properties: {
182
+ name: {
183
+ type: string;
184
+ };
185
+ type: {
186
+ type: string;
187
+ };
188
+ counters: {
189
+ type: string;
190
+ additionalProperties: boolean;
191
+ required: never[];
192
+ properties: {
193
+ include: {
194
+ type: string;
195
+ items: {
196
+ type: string;
197
+ };
198
+ };
199
+ exclude: {
200
+ type: string;
201
+ items: {
202
+ type: string;
203
+ };
204
+ };
205
+ };
206
+ };
207
+ context: {
208
+ type: string;
209
+ };
210
+ };
211
+ } | {
212
+ type: string;
213
+ items: {
214
+ type: string;
215
+ additionalProperties: {
216
+ type: string;
217
+ };
218
+ required: string[];
219
+ properties: {
220
+ name: {
221
+ type: string;
222
+ };
223
+ type: {
224
+ type: string;
225
+ };
226
+ counters: {
227
+ type: string;
228
+ additionalProperties: boolean;
229
+ required: never[];
230
+ properties: {
231
+ include: {
232
+ type: string;
233
+ items: {
234
+ type: string;
235
+ };
236
+ };
237
+ exclude: {
238
+ type: string;
239
+ items: {
240
+ type: string;
241
+ };
242
+ };
243
+ };
244
+ };
245
+ context: {
246
+ type: string;
247
+ };
248
+ };
249
+ };
250
+ })[];
251
+ };
174
252
  };
175
253
  contentType?: undefined;
176
254
  })[];
@@ -218,6 +218,84 @@ export declare const ExtendedFeaturesBlock: {
218
218
  resetMargin: {
219
219
  type: string;
220
220
  };
221
+ analyticsEvents: {
222
+ anyOf: ({
223
+ type: string;
224
+ additionalProperties: {
225
+ type: string;
226
+ };
227
+ required: string[];
228
+ properties: {
229
+ name: {
230
+ type: string;
231
+ };
232
+ type: {
233
+ type: string;
234
+ };
235
+ counters: {
236
+ type: string;
237
+ additionalProperties: boolean;
238
+ required: never[];
239
+ properties: {
240
+ include: {
241
+ type: string;
242
+ items: {
243
+ type: string;
244
+ };
245
+ };
246
+ exclude: {
247
+ type: string;
248
+ items: {
249
+ type: string;
250
+ };
251
+ };
252
+ };
253
+ };
254
+ context: {
255
+ type: string;
256
+ };
257
+ };
258
+ } | {
259
+ type: string;
260
+ items: {
261
+ type: string;
262
+ additionalProperties: {
263
+ type: string;
264
+ };
265
+ required: string[];
266
+ properties: {
267
+ name: {
268
+ type: string;
269
+ };
270
+ type: {
271
+ type: string;
272
+ };
273
+ counters: {
274
+ type: string;
275
+ additionalProperties: boolean;
276
+ required: never[];
277
+ properties: {
278
+ include: {
279
+ type: string;
280
+ items: {
281
+ type: string;
282
+ };
283
+ };
284
+ exclude: {
285
+ type: string;
286
+ items: {
287
+ type: string;
288
+ };
289
+ };
290
+ };
291
+ };
292
+ context: {
293
+ type: string;
294
+ };
295
+ };
296
+ };
297
+ })[];
298
+ };
221
299
  };
222
300
  })[];
223
301
  };
@@ -96,6 +96,84 @@ export declare const FilterProps: {
96
96
  resetMargin: {
97
97
  type: string;
98
98
  };
99
+ analyticsEvents: {
100
+ anyOf: ({
101
+ type: string;
102
+ additionalProperties: {
103
+ type: string;
104
+ };
105
+ required: string[];
106
+ properties: {
107
+ name: {
108
+ type: string;
109
+ };
110
+ type: {
111
+ type: string;
112
+ };
113
+ counters: {
114
+ type: string;
115
+ additionalProperties: boolean;
116
+ required: never[];
117
+ properties: {
118
+ include: {
119
+ type: string;
120
+ items: {
121
+ type: string;
122
+ };
123
+ };
124
+ exclude: {
125
+ type: string;
126
+ items: {
127
+ type: string;
128
+ };
129
+ };
130
+ };
131
+ };
132
+ context: {
133
+ type: string;
134
+ };
135
+ };
136
+ } | {
137
+ type: string;
138
+ items: {
139
+ type: string;
140
+ additionalProperties: {
141
+ type: string;
142
+ };
143
+ required: string[];
144
+ properties: {
145
+ name: {
146
+ type: string;
147
+ };
148
+ type: {
149
+ type: string;
150
+ };
151
+ counters: {
152
+ type: string;
153
+ additionalProperties: boolean;
154
+ required: never[];
155
+ properties: {
156
+ include: {
157
+ type: string;
158
+ items: {
159
+ type: string;
160
+ };
161
+ };
162
+ exclude: {
163
+ type: string;
164
+ items: {
165
+ type: string;
166
+ };
167
+ };
168
+ };
169
+ };
170
+ context: {
171
+ type: string;
172
+ };
173
+ };
174
+ };
175
+ })[];
176
+ };
99
177
  };
100
178
  })[];
101
179
  };
@@ -224,6 +302,84 @@ export declare const FilterBlock: {
224
302
  resetMargin: {
225
303
  type: string;
226
304
  };
305
+ analyticsEvents: {
306
+ anyOf: ({
307
+ type: string;
308
+ additionalProperties: {
309
+ type: string;
310
+ };
311
+ required: string[];
312
+ properties: {
313
+ name: {
314
+ type: string;
315
+ };
316
+ type: {
317
+ type: string;
318
+ };
319
+ counters: {
320
+ type: string;
321
+ additionalProperties: boolean;
322
+ required: never[];
323
+ properties: {
324
+ include: {
325
+ type: string;
326
+ items: {
327
+ type: string;
328
+ };
329
+ };
330
+ exclude: {
331
+ type: string;
332
+ items: {
333
+ type: string;
334
+ };
335
+ };
336
+ };
337
+ };
338
+ context: {
339
+ type: string;
340
+ };
341
+ };
342
+ } | {
343
+ type: string;
344
+ items: {
345
+ type: string;
346
+ additionalProperties: {
347
+ type: string;
348
+ };
349
+ required: string[];
350
+ properties: {
351
+ name: {
352
+ type: string;
353
+ };
354
+ type: {
355
+ type: string;
356
+ };
357
+ counters: {
358
+ type: string;
359
+ additionalProperties: boolean;
360
+ required: never[];
361
+ properties: {
362
+ include: {
363
+ type: string;
364
+ items: {
365
+ type: string;
366
+ };
367
+ };
368
+ exclude: {
369
+ type: string;
370
+ items: {
371
+ type: string;
372
+ };
373
+ };
374
+ };
375
+ };
376
+ context: {
377
+ type: string;
378
+ };
379
+ };
380
+ };
381
+ })[];
382
+ };
227
383
  };
228
384
  })[];
229
385
  };
@@ -42,6 +42,84 @@ export declare const FoldableListBlock: {
42
42
  resetMargin: {
43
43
  type: string;
44
44
  };
45
+ analyticsEvents: {
46
+ anyOf: ({
47
+ type: string;
48
+ additionalProperties: {
49
+ type: string;
50
+ };
51
+ required: string[];
52
+ properties: {
53
+ name: {
54
+ type: string;
55
+ };
56
+ type: {
57
+ type: string;
58
+ };
59
+ counters: {
60
+ type: string;
61
+ additionalProperties: boolean;
62
+ required: never[];
63
+ properties: {
64
+ include: {
65
+ type: string;
66
+ items: {
67
+ type: string;
68
+ };
69
+ };
70
+ exclude: {
71
+ type: string;
72
+ items: {
73
+ type: string;
74
+ };
75
+ };
76
+ };
77
+ };
78
+ context: {
79
+ type: string;
80
+ };
81
+ };
82
+ } | {
83
+ type: string;
84
+ items: {
85
+ type: string;
86
+ additionalProperties: {
87
+ type: string;
88
+ };
89
+ required: string[];
90
+ properties: {
91
+ name: {
92
+ type: string;
93
+ };
94
+ type: {
95
+ type: string;
96
+ };
97
+ counters: {
98
+ type: string;
99
+ additionalProperties: boolean;
100
+ required: never[];
101
+ properties: {
102
+ include: {
103
+ type: string;
104
+ items: {
105
+ type: string;
106
+ };
107
+ };
108
+ exclude: {
109
+ type: string;
110
+ items: {
111
+ type: string;
112
+ };
113
+ };
114
+ };
115
+ };
116
+ context: {
117
+ type: string;
118
+ };
119
+ };
120
+ };
121
+ })[];
122
+ };
45
123
  };
46
124
  contentType?: undefined;
47
125
  })[];
@@ -110,6 +110,84 @@ export declare const FormBlock: {
110
110
  resetMargin: {
111
111
  type: string;
112
112
  };
113
+ analyticsEvents: {
114
+ anyOf: ({
115
+ type: string;
116
+ additionalProperties: {
117
+ type: string;
118
+ };
119
+ required: string[];
120
+ properties: {
121
+ name: {
122
+ type: string;
123
+ };
124
+ type: {
125
+ type: string;
126
+ };
127
+ counters: {
128
+ type: string;
129
+ additionalProperties: boolean;
130
+ required: never[];
131
+ properties: {
132
+ include: {
133
+ type: string;
134
+ items: {
135
+ type: string;
136
+ };
137
+ };
138
+ exclude: {
139
+ type: string;
140
+ items: {
141
+ type: string;
142
+ };
143
+ };
144
+ };
145
+ };
146
+ context: {
147
+ type: string;
148
+ };
149
+ };
150
+ } | {
151
+ type: string;
152
+ items: {
153
+ type: string;
154
+ additionalProperties: {
155
+ type: string;
156
+ };
157
+ required: string[];
158
+ properties: {
159
+ name: {
160
+ type: string;
161
+ };
162
+ type: {
163
+ type: string;
164
+ };
165
+ counters: {
166
+ type: string;
167
+ additionalProperties: boolean;
168
+ required: never[];
169
+ properties: {
170
+ include: {
171
+ type: string;
172
+ items: {
173
+ type: string;
174
+ };
175
+ };
176
+ exclude: {
177
+ type: string;
178
+ items: {
179
+ type: string;
180
+ };
181
+ };
182
+ };
183
+ };
184
+ context: {
185
+ type: string;
186
+ };
187
+ };
188
+ };
189
+ })[];
190
+ };
113
191
  };
114
192
  contentType?: undefined;
115
193
  })[];