@gravity-ui/page-constructor 1.14.0-alpha.2 → 1.14.0-alpha.3
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.
- package/CHANGELOG.md +7 -0
- package/build/cjs/navigation/schema.d.ts +28 -280
- package/build/cjs/navigation/schema.js +16 -20
- package/build/cjs/schema/index.d.ts +28 -280
- package/build/esm/navigation/schema.d.ts +28 -280
- package/build/esm/navigation/schema.js +17 -21
- package/build/esm/schema/index.d.ts +28 -280
- package/package.json +4 -1
|
@@ -205,159 +205,33 @@ export declare function generateDefaultSchema(config?: SchemaCustomConfig): {
|
|
|
205
205
|
oneOf: {
|
|
206
206
|
type: string;
|
|
207
207
|
additionalProperties: boolean;
|
|
208
|
-
required:
|
|
208
|
+
required: string[];
|
|
209
209
|
properties: {
|
|
210
210
|
type: {
|
|
211
211
|
type: string;
|
|
212
212
|
enum: string[];
|
|
213
213
|
};
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
type: string;
|
|
218
|
-
contentType: string;
|
|
219
|
-
};
|
|
220
|
-
url: {
|
|
221
|
-
type: string;
|
|
222
|
-
};
|
|
223
|
-
primary: {
|
|
224
|
-
type: string;
|
|
225
|
-
};
|
|
226
|
-
size: {
|
|
227
|
-
type: string;
|
|
228
|
-
enum: string[];
|
|
229
|
-
};
|
|
230
|
-
theme: {
|
|
214
|
+
items: {
|
|
215
|
+
type: string;
|
|
216
|
+
items: {
|
|
231
217
|
type: string;
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
img: {
|
|
235
|
-
anyOf: ({
|
|
236
|
-
type: string;
|
|
237
|
-
additionalProperties?: undefined;
|
|
238
|
-
required?: undefined;
|
|
239
|
-
properties?: undefined;
|
|
240
|
-
} | {
|
|
241
|
-
type: string;
|
|
242
|
-
additionalProperties: boolean;
|
|
243
|
-
required: string[];
|
|
244
|
-
properties: {
|
|
245
|
-
data: {
|
|
246
|
-
type: string;
|
|
247
|
-
};
|
|
248
|
-
position: {
|
|
249
|
-
type: string;
|
|
250
|
-
enum: string[];
|
|
251
|
-
};
|
|
252
|
-
alt: {
|
|
253
|
-
type: string;
|
|
254
|
-
contentType: string;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
})[];
|
|
258
|
-
};
|
|
259
|
-
metrikaGoals: {
|
|
260
|
-
anyOf: ({
|
|
261
|
-
type: string;
|
|
262
|
-
items?: undefined;
|
|
263
|
-
} | {
|
|
264
|
-
type: string;
|
|
265
|
-
items: {
|
|
266
|
-
type: string;
|
|
267
|
-
additionalProperties?: undefined;
|
|
268
|
-
required?: undefined;
|
|
269
|
-
properties?: undefined;
|
|
270
|
-
};
|
|
271
|
-
} | {
|
|
272
|
-
type: string;
|
|
273
|
-
items: {
|
|
218
|
+
properties: {
|
|
219
|
+
when: {
|
|
274
220
|
type: string;
|
|
275
|
-
additionalProperties: boolean;
|
|
276
|
-
required: string[];
|
|
277
|
-
properties: {
|
|
278
|
-
name: {
|
|
279
|
-
type: string;
|
|
280
|
-
};
|
|
281
|
-
isCrossSite: {
|
|
282
|
-
type: string;
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
})[];
|
|
287
|
-
};
|
|
288
|
-
pixelEvents: {
|
|
289
|
-
type: string;
|
|
290
|
-
items: {
|
|
291
|
-
type: string;
|
|
292
|
-
required: string[];
|
|
293
|
-
additionalProperties: boolean;
|
|
294
|
-
properties: {
|
|
295
|
-
name: {
|
|
296
|
-
type: string;
|
|
297
|
-
enum: import("..").PixelEventType[];
|
|
298
|
-
};
|
|
299
|
-
data: {};
|
|
300
|
-
};
|
|
301
|
-
select: {
|
|
302
|
-
$data: string;
|
|
303
|
-
};
|
|
304
|
-
selectCases: {
|
|
305
|
-
SubmitApplication: {
|
|
306
|
-
additionalProperties: boolean;
|
|
307
|
-
properties: {
|
|
308
|
-
name: {};
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
Contact: {
|
|
312
|
-
additionalProperties: boolean;
|
|
313
|
-
properties: {
|
|
314
|
-
name: {};
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
Lead: {
|
|
318
|
-
additionalProperties: boolean;
|
|
319
|
-
properties: {
|
|
320
|
-
name: {};
|
|
321
|
-
data: {
|
|
322
|
-
type: string;
|
|
323
|
-
additionalProperties: boolean;
|
|
324
|
-
properties: {
|
|
325
|
-
content_category: {
|
|
326
|
-
type: string;
|
|
327
|
-
};
|
|
328
|
-
content_name: {
|
|
329
|
-
type: string;
|
|
330
|
-
};
|
|
331
|
-
currency: {
|
|
332
|
-
type: string;
|
|
333
|
-
};
|
|
334
|
-
value: {
|
|
335
|
-
type: string;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
221
|
};
|
|
342
222
|
};
|
|
343
223
|
};
|
|
344
|
-
target: {
|
|
345
|
-
type: string;
|
|
346
|
-
enum: string[];
|
|
347
|
-
};
|
|
348
224
|
};
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
enum: string[];
|
|
353
|
-
};
|
|
354
|
-
};
|
|
225
|
+
text: {
|
|
226
|
+
type: string;
|
|
227
|
+
contentType: string;
|
|
355
228
|
};
|
|
356
|
-
|
|
357
|
-
|
|
229
|
+
url: {
|
|
230
|
+
type: string;
|
|
358
231
|
};
|
|
359
|
-
|
|
360
|
-
|
|
232
|
+
icon: {
|
|
233
|
+
type: string;
|
|
234
|
+
pattern: string;
|
|
361
235
|
};
|
|
362
236
|
};
|
|
363
237
|
}[];
|
|
@@ -366,159 +240,33 @@ export declare function generateDefaultSchema(config?: SchemaCustomConfig): {
|
|
|
366
240
|
oneOf: {
|
|
367
241
|
type: string;
|
|
368
242
|
additionalProperties: boolean;
|
|
369
|
-
required:
|
|
243
|
+
required: string[];
|
|
370
244
|
properties: {
|
|
371
245
|
type: {
|
|
372
246
|
type: string;
|
|
373
247
|
enum: string[];
|
|
374
248
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
type: string;
|
|
379
|
-
contentType: string;
|
|
380
|
-
};
|
|
381
|
-
url: {
|
|
382
|
-
type: string;
|
|
383
|
-
};
|
|
384
|
-
primary: {
|
|
385
|
-
type: string;
|
|
386
|
-
};
|
|
387
|
-
size: {
|
|
388
|
-
type: string;
|
|
389
|
-
enum: string[];
|
|
390
|
-
};
|
|
391
|
-
theme: {
|
|
249
|
+
items: {
|
|
250
|
+
type: string;
|
|
251
|
+
items: {
|
|
392
252
|
type: string;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
img: {
|
|
396
|
-
anyOf: ({
|
|
397
|
-
type: string;
|
|
398
|
-
additionalProperties?: undefined;
|
|
399
|
-
required?: undefined;
|
|
400
|
-
properties?: undefined;
|
|
401
|
-
} | {
|
|
402
|
-
type: string;
|
|
403
|
-
additionalProperties: boolean;
|
|
404
|
-
required: string[];
|
|
405
|
-
properties: {
|
|
406
|
-
data: {
|
|
407
|
-
type: string;
|
|
408
|
-
};
|
|
409
|
-
position: {
|
|
410
|
-
type: string;
|
|
411
|
-
enum: string[];
|
|
412
|
-
};
|
|
413
|
-
alt: {
|
|
414
|
-
type: string;
|
|
415
|
-
contentType: string;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
})[];
|
|
419
|
-
};
|
|
420
|
-
metrikaGoals: {
|
|
421
|
-
anyOf: ({
|
|
422
|
-
type: string;
|
|
423
|
-
items?: undefined;
|
|
424
|
-
} | {
|
|
425
|
-
type: string;
|
|
426
|
-
items: {
|
|
427
|
-
type: string;
|
|
428
|
-
additionalProperties?: undefined;
|
|
429
|
-
required?: undefined;
|
|
430
|
-
properties?: undefined;
|
|
431
|
-
};
|
|
432
|
-
} | {
|
|
433
|
-
type: string;
|
|
434
|
-
items: {
|
|
253
|
+
properties: {
|
|
254
|
+
when: {
|
|
435
255
|
type: string;
|
|
436
|
-
additionalProperties: boolean;
|
|
437
|
-
required: string[];
|
|
438
|
-
properties: {
|
|
439
|
-
name: {
|
|
440
|
-
type: string;
|
|
441
|
-
};
|
|
442
|
-
isCrossSite: {
|
|
443
|
-
type: string;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
})[];
|
|
448
|
-
};
|
|
449
|
-
pixelEvents: {
|
|
450
|
-
type: string;
|
|
451
|
-
items: {
|
|
452
|
-
type: string;
|
|
453
|
-
required: string[];
|
|
454
|
-
additionalProperties: boolean;
|
|
455
|
-
properties: {
|
|
456
|
-
name: {
|
|
457
|
-
type: string;
|
|
458
|
-
enum: import("..").PixelEventType[];
|
|
459
|
-
};
|
|
460
|
-
data: {};
|
|
461
|
-
};
|
|
462
|
-
select: {
|
|
463
|
-
$data: string;
|
|
464
|
-
};
|
|
465
|
-
selectCases: {
|
|
466
|
-
SubmitApplication: {
|
|
467
|
-
additionalProperties: boolean;
|
|
468
|
-
properties: {
|
|
469
|
-
name: {};
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
Contact: {
|
|
473
|
-
additionalProperties: boolean;
|
|
474
|
-
properties: {
|
|
475
|
-
name: {};
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
Lead: {
|
|
479
|
-
additionalProperties: boolean;
|
|
480
|
-
properties: {
|
|
481
|
-
name: {};
|
|
482
|
-
data: {
|
|
483
|
-
type: string;
|
|
484
|
-
additionalProperties: boolean;
|
|
485
|
-
properties: {
|
|
486
|
-
content_category: {
|
|
487
|
-
type: string;
|
|
488
|
-
};
|
|
489
|
-
content_name: {
|
|
490
|
-
type: string;
|
|
491
|
-
};
|
|
492
|
-
currency: {
|
|
493
|
-
type: string;
|
|
494
|
-
};
|
|
495
|
-
value: {
|
|
496
|
-
type: string;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
256
|
};
|
|
503
257
|
};
|
|
504
258
|
};
|
|
505
|
-
target: {
|
|
506
|
-
type: string;
|
|
507
|
-
enum: string[];
|
|
508
|
-
};
|
|
509
259
|
};
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
enum: string[];
|
|
514
|
-
};
|
|
515
|
-
};
|
|
260
|
+
text: {
|
|
261
|
+
type: string;
|
|
262
|
+
contentType: string;
|
|
516
263
|
};
|
|
517
|
-
|
|
518
|
-
|
|
264
|
+
url: {
|
|
265
|
+
type: string;
|
|
519
266
|
};
|
|
520
|
-
|
|
521
|
-
|
|
267
|
+
icon: {
|
|
268
|
+
type: string;
|
|
269
|
+
pattern: string;
|
|
522
270
|
};
|
|
523
271
|
};
|
|
524
272
|
}[];
|