@gravity-ui/page-constructor 2.3.1 → 2.3.2-alpha.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.
@@ -150,6 +150,84 @@ export declare const VideoProps: {
150
150
  type: string;
151
151
  enum: string[];
152
152
  };
153
+ analyticsEvents: {
154
+ anyOf: ({
155
+ type: string;
156
+ additionalProperties: {
157
+ type: string;
158
+ };
159
+ required: string[];
160
+ properties: {
161
+ name: {
162
+ type: string;
163
+ };
164
+ type: {
165
+ type: string;
166
+ };
167
+ counters: {
168
+ type: string;
169
+ additionalProperties: boolean;
170
+ required: never[];
171
+ properties: {
172
+ include: {
173
+ type: string;
174
+ items: {
175
+ type: string;
176
+ };
177
+ };
178
+ exclude: {
179
+ type: string;
180
+ items: {
181
+ type: string;
182
+ };
183
+ };
184
+ };
185
+ };
186
+ context: {
187
+ type: string;
188
+ };
189
+ };
190
+ } | {
191
+ type: string;
192
+ items: {
193
+ type: string;
194
+ additionalProperties: {
195
+ type: string;
196
+ };
197
+ required: string[];
198
+ properties: {
199
+ name: {
200
+ type: string;
201
+ };
202
+ type: {
203
+ type: string;
204
+ };
205
+ counters: {
206
+ type: string;
207
+ additionalProperties: boolean;
208
+ required: never[];
209
+ properties: {
210
+ include: {
211
+ type: string;
212
+ items: {
213
+ type: string;
214
+ };
215
+ };
216
+ exclude: {
217
+ type: string;
218
+ items: {
219
+ type: string;
220
+ };
221
+ };
222
+ };
223
+ };
224
+ context: {
225
+ type: string;
226
+ };
227
+ };
228
+ };
229
+ })[];
230
+ };
153
231
  };
154
232
  };
155
233
  export declare const ThemeProps: {
@@ -274,6 +352,84 @@ export declare const BackgroundProps: {
274
352
  type: string;
275
353
  enum: string[];
276
354
  };
355
+ analyticsEvents: {
356
+ anyOf: ({
357
+ type: string;
358
+ additionalProperties: {
359
+ type: string;
360
+ };
361
+ required: string[];
362
+ properties: {
363
+ name: {
364
+ type: string;
365
+ };
366
+ type: {
367
+ type: string;
368
+ };
369
+ counters: {
370
+ type: string;
371
+ additionalProperties: boolean;
372
+ required: never[];
373
+ properties: {
374
+ include: {
375
+ type: string;
376
+ items: {
377
+ type: string;
378
+ };
379
+ };
380
+ exclude: {
381
+ type: string;
382
+ items: {
383
+ type: string;
384
+ };
385
+ };
386
+ };
387
+ };
388
+ context: {
389
+ type: string;
390
+ };
391
+ };
392
+ } | {
393
+ type: string;
394
+ items: {
395
+ type: string;
396
+ additionalProperties: {
397
+ type: string;
398
+ };
399
+ required: string[];
400
+ properties: {
401
+ name: {
402
+ type: string;
403
+ };
404
+ type: {
405
+ type: string;
406
+ };
407
+ counters: {
408
+ type: string;
409
+ additionalProperties: boolean;
410
+ required: never[];
411
+ properties: {
412
+ include: {
413
+ type: string;
414
+ items: {
415
+ type: string;
416
+ };
417
+ };
418
+ exclude: {
419
+ type: string;
420
+ items: {
421
+ type: string;
422
+ };
423
+ };
424
+ };
425
+ };
426
+ context: {
427
+ type: string;
428
+ };
429
+ };
430
+ };
431
+ })[];
432
+ };
277
433
  };
278
434
  };
279
435
  height: {
@@ -1079,6 +1235,84 @@ export declare const MediaProps: {
1079
1235
  type: string;
1080
1236
  enum: string[];
1081
1237
  };
1238
+ analyticsEvents: {
1239
+ anyOf: ({
1240
+ type: string;
1241
+ additionalProperties: {
1242
+ type: string;
1243
+ };
1244
+ required: string[];
1245
+ properties: {
1246
+ name: {
1247
+ type: string;
1248
+ };
1249
+ type: {
1250
+ type: string;
1251
+ };
1252
+ counters: {
1253
+ type: string;
1254
+ additionalProperties: boolean;
1255
+ required: never[];
1256
+ properties: {
1257
+ include: {
1258
+ type: string;
1259
+ items: {
1260
+ type: string;
1261
+ };
1262
+ };
1263
+ exclude: {
1264
+ type: string;
1265
+ items: {
1266
+ type: string;
1267
+ };
1268
+ };
1269
+ };
1270
+ };
1271
+ context: {
1272
+ type: string;
1273
+ };
1274
+ };
1275
+ } | {
1276
+ type: string;
1277
+ items: {
1278
+ type: string;
1279
+ additionalProperties: {
1280
+ type: string;
1281
+ };
1282
+ required: string[];
1283
+ properties: {
1284
+ name: {
1285
+ type: string;
1286
+ };
1287
+ type: {
1288
+ type: string;
1289
+ };
1290
+ counters: {
1291
+ type: string;
1292
+ additionalProperties: boolean;
1293
+ required: never[];
1294
+ properties: {
1295
+ include: {
1296
+ type: string;
1297
+ items: {
1298
+ type: string;
1299
+ };
1300
+ };
1301
+ exclude: {
1302
+ type: string;
1303
+ items: {
1304
+ type: string;
1305
+ };
1306
+ };
1307
+ };
1308
+ };
1309
+ context: {
1310
+ type: string;
1311
+ };
1312
+ };
1313
+ };
1314
+ })[];
1315
+ };
1082
1316
  };
1083
1317
  };
1084
1318
  youtube: {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BlockHeaderProps = exports.CardBase = exports.MapProps = exports.YMapMarker = exports.YMapMarkerLabel = exports.MediaProps = exports.ButtonBlock = exports.TitleProps = exports.BlockBaseProps = exports.AnchorProps = exports.withTheme = exports.MenuProps = exports.ButtonProps = exports.authorItem = exports.FileLinkProps = exports.LinkProps = exports.BackgroundProps = exports.DataLensProps = exports.DataLensObjectProps = exports.JustifyProps = exports.ThemeProps = exports.VideoProps = exports.PlayIconProps = exports.LoopProps = exports.ChildrenCardsProps = exports.ChildrenProps = exports.AnimatableProps = exports.sliderSizesObject = exports.containerSizesObject = exports.BaseProps = exports.contentThemes = exports.sizeNumber = exports.dividerEnum = exports.fileLinkTypes = exports.videoControlsTypes = exports.playIconThemes = exports.playIconTypes = exports.videoTypes = exports.contentTextWidth = exports.contentSizes = exports.sliderSizesArray = exports.containerSizesArray = exports.textSize = exports.mediaDirection = void 0;
4
- const pixel_1 = require("./pixel");
5
- const models_1 = require("../../models");
6
4
  const schema_1 = require("../../components/Image/schema");
5
+ const models_1 = require("../../models");
7
6
  const event_1 = require("./event");
7
+ const pixel_1 = require("./pixel");
8
8
  exports.mediaDirection = ['media-content', 'content-media'];
9
9
  exports.textSize = ['s', 'm', 'l'];
10
10
  exports.containerSizesArray = ['sm', 'md', 'lg', 'xl', 'all'];
@@ -121,6 +121,9 @@ exports.VideoProps = {
121
121
  type: 'string',
122
122
  enum: exports.videoControlsTypes,
123
123
  },
124
+ analyticsEvents: {
125
+ anyOf: [event_1.AnalyticsEventSchema, { type: 'array', items: event_1.AnalyticsEventSchema }],
126
+ },
124
127
  },
125
128
  };
126
129
  exports.ThemeProps = {
@@ -100,6 +100,84 @@ export declare const LayoutItem: {
100
100
  type: string;
101
101
  enum: string[];
102
102
  };
103
+ analyticsEvents: {
104
+ anyOf: ({
105
+ type: string;
106
+ additionalProperties: {
107
+ type: string;
108
+ };
109
+ required: string[];
110
+ properties: {
111
+ name: {
112
+ type: string;
113
+ };
114
+ type: {
115
+ type: string;
116
+ };
117
+ counters: {
118
+ type: string;
119
+ additionalProperties: boolean;
120
+ required: never[];
121
+ properties: {
122
+ include: {
123
+ type: string;
124
+ items: {
125
+ type: string;
126
+ };
127
+ };
128
+ exclude: {
129
+ type: string;
130
+ items: {
131
+ type: string;
132
+ };
133
+ };
134
+ };
135
+ };
136
+ context: {
137
+ type: string;
138
+ };
139
+ };
140
+ } | {
141
+ type: string;
142
+ items: {
143
+ type: string;
144
+ additionalProperties: {
145
+ type: string;
146
+ };
147
+ required: string[];
148
+ properties: {
149
+ name: {
150
+ type: string;
151
+ };
152
+ type: {
153
+ type: string;
154
+ };
155
+ counters: {
156
+ type: string;
157
+ additionalProperties: boolean;
158
+ required: never[];
159
+ properties: {
160
+ include: {
161
+ type: string;
162
+ items: {
163
+ type: string;
164
+ };
165
+ };
166
+ exclude: {
167
+ type: string;
168
+ items: {
169
+ type: string;
170
+ };
171
+ };
172
+ };
173
+ };
174
+ context: {
175
+ type: string;
176
+ };
177
+ };
178
+ };
179
+ })[];
180
+ };
103
181
  };
104
182
  };
105
183
  youtube: {
@@ -102,6 +102,84 @@ export declare const MediaCardBlock: {
102
102
  type: string;
103
103
  enum: string[];
104
104
  };
105
+ analyticsEvents: {
106
+ anyOf: ({
107
+ type: string;
108
+ additionalProperties: {
109
+ type: string;
110
+ };
111
+ required: string[];
112
+ properties: {
113
+ name: {
114
+ type: string;
115
+ };
116
+ type: {
117
+ type: string;
118
+ };
119
+ counters: {
120
+ type: string;
121
+ additionalProperties: boolean;
122
+ required: never[];
123
+ properties: {
124
+ include: {
125
+ type: string;
126
+ items: {
127
+ type: string;
128
+ };
129
+ };
130
+ exclude: {
131
+ type: string;
132
+ items: {
133
+ type: string;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ context: {
139
+ type: string;
140
+ };
141
+ };
142
+ } | {
143
+ type: string;
144
+ items: {
145
+ type: string;
146
+ additionalProperties: {
147
+ type: string;
148
+ };
149
+ required: string[];
150
+ properties: {
151
+ name: {
152
+ type: string;
153
+ };
154
+ type: {
155
+ type: string;
156
+ };
157
+ counters: {
158
+ type: string;
159
+ additionalProperties: boolean;
160
+ required: never[];
161
+ properties: {
162
+ include: {
163
+ type: string;
164
+ items: {
165
+ type: string;
166
+ };
167
+ };
168
+ exclude: {
169
+ type: string;
170
+ items: {
171
+ type: string;
172
+ };
173
+ };
174
+ };
175
+ };
176
+ context: {
177
+ type: string;
178
+ };
179
+ };
180
+ };
181
+ })[];
182
+ };
105
183
  };
106
184
  };
107
185
  youtube: {