@gravity-ui/page-constructor 4.40.0 → 4.40.1

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.
@@ -252,20 +252,25 @@ export declare const HeaderBackgroundProps: {
252
252
  type: string;
253
253
  };
254
254
  iframe: {
255
- src: {
256
- type: string;
257
- };
258
- name: {
259
- type: string;
260
- };
261
- title: {
262
- type: string;
263
- };
264
- height: {
265
- type: string;
266
- };
267
- width: {
268
- type: string;
255
+ type: string;
256
+ additionalProperties: boolean;
257
+ required: string[];
258
+ properties: {
259
+ src: {
260
+ type: string;
261
+ };
262
+ name: {
263
+ type: string;
264
+ };
265
+ title: {
266
+ type: string;
267
+ };
268
+ height: {
269
+ type: string;
270
+ };
271
+ width: {
272
+ type: string;
273
+ };
269
274
  };
270
275
  };
271
276
  margins: {
@@ -707,20 +712,25 @@ export declare const HeaderProperties: {
707
712
  type: string;
708
713
  };
709
714
  iframe: {
710
- src: {
711
- type: string;
712
- };
713
- name: {
714
- type: string;
715
- };
716
- title: {
717
- type: string;
718
- };
719
- height: {
720
- type: string;
721
- };
722
- width: {
723
- type: string;
715
+ type: string;
716
+ additionalProperties: boolean;
717
+ required: string[];
718
+ properties: {
719
+ src: {
720
+ type: string;
721
+ };
722
+ name: {
723
+ type: string;
724
+ };
725
+ title: {
726
+ type: string;
727
+ };
728
+ height: {
729
+ type: string;
730
+ };
731
+ width: {
732
+ type: string;
733
+ };
724
734
  };
725
735
  };
726
736
  margins: {
@@ -1211,20 +1221,25 @@ export declare const HeaderBlock: {
1211
1221
  type: string;
1212
1222
  };
1213
1223
  iframe: {
1214
- src: {
1215
- type: string;
1216
- };
1217
- name: {
1218
- type: string;
1219
- };
1220
- title: {
1221
- type: string;
1222
- };
1223
- height: {
1224
- type: string;
1225
- };
1226
- width: {
1227
- type: string;
1224
+ type: string;
1225
+ additionalProperties: boolean;
1226
+ required: string[];
1227
+ properties: {
1228
+ src: {
1229
+ type: string;
1230
+ };
1231
+ name: {
1232
+ type: string;
1233
+ };
1234
+ title: {
1235
+ type: string;
1236
+ };
1237
+ height: {
1238
+ type: string;
1239
+ };
1240
+ width: {
1241
+ type: string;
1242
+ };
1228
1243
  };
1229
1244
  };
1230
1245
  margins: {
@@ -443,20 +443,25 @@ export declare const HeaderSliderBlock: {
443
443
  type: string;
444
444
  };
445
445
  iframe: {
446
- src: {
447
- type: string;
448
- };
449
- name: {
450
- type: string;
451
- };
452
- title: {
453
- type: string;
454
- };
455
- height: {
456
- type: string;
457
- };
458
- width: {
459
- type: string;
446
+ type: string;
447
+ additionalProperties: boolean;
448
+ required: string[];
449
+ properties: {
450
+ src: {
451
+ type: string;
452
+ };
453
+ name: {
454
+ type: string;
455
+ };
456
+ title: {
457
+ type: string;
458
+ };
459
+ height: {
460
+ type: string;
461
+ };
462
+ width: {
463
+ type: string;
464
+ };
460
465
  };
461
466
  };
462
467
  margins: {
@@ -246,20 +246,25 @@ export declare const Media: {
246
246
  type: string;
247
247
  };
248
248
  iframe: {
249
- src: {
250
- type: string;
251
- };
252
- name: {
253
- type: string;
254
- };
255
- title: {
256
- type: string;
257
- };
258
- height: {
259
- type: string;
260
- };
261
- width: {
262
- type: string;
249
+ type: string;
250
+ additionalProperties: boolean;
251
+ required: string[];
252
+ properties: {
253
+ src: {
254
+ type: string;
255
+ };
256
+ name: {
257
+ type: string;
258
+ };
259
+ title: {
260
+ type: string;
261
+ };
262
+ height: {
263
+ type: string;
264
+ };
265
+ width: {
266
+ type: string;
267
+ };
263
268
  };
264
269
  };
265
270
  margins: {
@@ -891,20 +896,25 @@ export declare const MediaBlock: {
891
896
  type: string;
892
897
  };
893
898
  iframe: {
894
- src: {
895
- type: string;
896
- };
897
- name: {
898
- type: string;
899
- };
900
- title: {
901
- type: string;
902
- };
903
- height: {
904
- type: string;
905
- };
906
- width: {
907
- type: string;
899
+ type: string;
900
+ additionalProperties: boolean;
901
+ required: string[];
902
+ properties: {
903
+ src: {
904
+ type: string;
905
+ };
906
+ name: {
907
+ type: string;
908
+ };
909
+ title: {
910
+ type: string;
911
+ };
912
+ height: {
913
+ type: string;
914
+ };
915
+ width: {
916
+ type: string;
917
+ };
908
918
  };
909
919
  };
910
920
  margins: {
@@ -262,20 +262,25 @@ export declare const PromoFeaturesItem: {
262
262
  type: string;
263
263
  };
264
264
  iframe: {
265
- src: {
266
- type: string;
267
- };
268
- name: {
269
- type: string;
270
- };
271
- title: {
272
- type: string;
273
- };
274
- height: {
275
- type: string;
276
- };
277
- width: {
278
- type: string;
265
+ type: string;
266
+ additionalProperties: boolean;
267
+ required: string[];
268
+ properties: {
269
+ src: {
270
+ type: string;
271
+ };
272
+ name: {
273
+ type: string;
274
+ };
275
+ title: {
276
+ type: string;
277
+ };
278
+ height: {
279
+ type: string;
280
+ };
281
+ width: {
282
+ type: string;
283
+ };
279
284
  };
280
285
  };
281
286
  margins: {
@@ -257,20 +257,25 @@ export declare const tabsItem: {
257
257
  type: string;
258
258
  };
259
259
  iframe: {
260
- src: {
261
- type: string;
262
- };
263
- name: {
264
- type: string;
265
- };
266
- title: {
267
- type: string;
268
- };
269
- height: {
270
- type: string;
271
- };
272
- width: {
273
- type: string;
260
+ type: string;
261
+ additionalProperties: boolean;
262
+ required: string[];
263
+ properties: {
264
+ src: {
265
+ type: string;
266
+ };
267
+ name: {
268
+ type: string;
269
+ };
270
+ title: {
271
+ type: string;
272
+ };
273
+ height: {
274
+ type: string;
275
+ };
276
+ width: {
277
+ type: string;
278
+ };
274
279
  };
275
280
  };
276
281
  margins: {
@@ -1099,20 +1099,25 @@ export declare const cardSchemas: {
1099
1099
  type: string;
1100
1100
  };
1101
1101
  iframe: {
1102
- src: {
1103
- type: string;
1104
- };
1105
- name: {
1106
- type: string;
1107
- };
1108
- title: {
1109
- type: string;
1110
- };
1111
- height: {
1112
- type: string;
1113
- };
1114
- width: {
1115
- type: string;
1102
+ type: string;
1103
+ additionalProperties: boolean;
1104
+ required: string[];
1105
+ properties: {
1106
+ src: {
1107
+ type: string;
1108
+ };
1109
+ name: {
1110
+ type: string;
1111
+ };
1112
+ title: {
1113
+ type: string;
1114
+ };
1115
+ height: {
1116
+ type: string;
1117
+ };
1118
+ width: {
1119
+ type: string;
1120
+ };
1116
1121
  };
1117
1122
  };
1118
1123
  margins: {
@@ -1354,20 +1354,25 @@ export declare const MediaProps: {
1354
1354
  type: string;
1355
1355
  };
1356
1356
  iframe: {
1357
- src: {
1358
- type: string;
1359
- };
1360
- name: {
1361
- type: string;
1362
- };
1363
- title: {
1364
- type: string;
1365
- };
1366
- height: {
1367
- type: string;
1368
- };
1369
- width: {
1370
- type: string;
1357
+ type: string;
1358
+ additionalProperties: boolean;
1359
+ required: string[];
1360
+ properties: {
1361
+ src: {
1362
+ type: string;
1363
+ };
1364
+ name: {
1365
+ type: string;
1366
+ };
1367
+ title: {
1368
+ type: string;
1369
+ };
1370
+ height: {
1371
+ type: string;
1372
+ };
1373
+ width: {
1374
+ type: string;
1375
+ };
1371
1376
  };
1372
1377
  };
1373
1378
  margins: {
@@ -501,20 +501,25 @@ exports.ButtonBlock = {
501
501
  },
502
502
  };
503
503
  const IframeProps = {
504
- src: {
505
- type: 'string',
506
- },
507
- name: {
508
- type: 'string',
509
- },
510
- title: {
511
- type: 'string',
512
- },
513
- height: {
514
- type: 'number',
515
- },
516
- width: {
517
- type: 'number',
504
+ type: 'object',
505
+ additionalProperties: false,
506
+ required: ['src'],
507
+ properties: {
508
+ src: {
509
+ type: 'string',
510
+ },
511
+ name: {
512
+ type: 'string',
513
+ },
514
+ title: {
515
+ type: 'string',
516
+ },
517
+ height: {
518
+ type: 'number',
519
+ },
520
+ width: {
521
+ type: 'number',
522
+ },
518
523
  },
519
524
  };
520
525
  exports.MediaProps = {
@@ -552,7 +557,7 @@ exports.MediaProps = {
552
557
  },
553
558
  iframe: Object.assign({}, IframeProps),
554
559
  margins: {
555
- type: 'number',
560
+ type: 'boolean',
556
561
  },
557
562
  };
558
563
  exports.YMapMarkerLabel = {
@@ -247,20 +247,25 @@ export declare const LayoutItem: {
247
247
  type: string;
248
248
  };
249
249
  iframe: {
250
- src: {
251
- type: string;
252
- };
253
- name: {
254
- type: string;
255
- };
256
- title: {
257
- type: string;
258
- };
259
- height: {
260
- type: string;
261
- };
262
- width: {
263
- type: string;
250
+ type: string;
251
+ additionalProperties: boolean;
252
+ required: string[];
253
+ properties: {
254
+ src: {
255
+ type: string;
256
+ };
257
+ name: {
258
+ type: string;
259
+ };
260
+ title: {
261
+ type: string;
262
+ };
263
+ height: {
264
+ type: string;
265
+ };
266
+ width: {
267
+ type: string;
268
+ };
264
269
  };
265
270
  };
266
271
  margins: {
@@ -252,20 +252,25 @@ export declare const MediaCardBlock: {
252
252
  type: string;
253
253
  };
254
254
  iframe: {
255
- src: {
256
- type: string;
257
- };
258
- name: {
259
- type: string;
260
- };
261
- title: {
262
- type: string;
263
- };
264
- height: {
265
- type: string;
266
- };
267
- width: {
268
- type: string;
255
+ type: string;
256
+ additionalProperties: boolean;
257
+ required: string[];
258
+ properties: {
259
+ src: {
260
+ type: string;
261
+ };
262
+ name: {
263
+ type: string;
264
+ };
265
+ title: {
266
+ type: string;
267
+ };
268
+ height: {
269
+ type: string;
270
+ };
271
+ width: {
272
+ type: string;
273
+ };
269
274
  };
270
275
  };
271
276
  margins: {
@@ -636,20 +636,25 @@ export declare const PriceCardBlock: {
636
636
  type: string;
637
637
  };
638
638
  iframe: {
639
- src: {
640
- type: string;
641
- };
642
- name: {
643
- type: string;
644
- };
645
- title: {
646
- type: string;
647
- };
648
- height: {
649
- type: string;
650
- };
651
- width: {
652
- type: string;
639
+ type: string;
640
+ additionalProperties: boolean;
641
+ required: string[];
642
+ properties: {
643
+ src: {
644
+ type: string;
645
+ };
646
+ name: {
647
+ type: string;
648
+ };
649
+ title: {
650
+ type: string;
651
+ };
652
+ height: {
653
+ type: string;
654
+ };
655
+ width: {
656
+ type: string;
657
+ };
653
658
  };
654
659
  };
655
660
  margins: {
@@ -252,20 +252,25 @@ export declare const HeaderBackgroundProps: {
252
252
  type: string;
253
253
  };
254
254
  iframe: {
255
- src: {
256
- type: string;
257
- };
258
- name: {
259
- type: string;
260
- };
261
- title: {
262
- type: string;
263
- };
264
- height: {
265
- type: string;
266
- };
267
- width: {
268
- type: string;
255
+ type: string;
256
+ additionalProperties: boolean;
257
+ required: string[];
258
+ properties: {
259
+ src: {
260
+ type: string;
261
+ };
262
+ name: {
263
+ type: string;
264
+ };
265
+ title: {
266
+ type: string;
267
+ };
268
+ height: {
269
+ type: string;
270
+ };
271
+ width: {
272
+ type: string;
273
+ };
269
274
  };
270
275
  };
271
276
  margins: {
@@ -707,20 +712,25 @@ export declare const HeaderProperties: {
707
712
  type: string;
708
713
  };
709
714
  iframe: {
710
- src: {
711
- type: string;
712
- };
713
- name: {
714
- type: string;
715
- };
716
- title: {
717
- type: string;
718
- };
719
- height: {
720
- type: string;
721
- };
722
- width: {
723
- type: string;
715
+ type: string;
716
+ additionalProperties: boolean;
717
+ required: string[];
718
+ properties: {
719
+ src: {
720
+ type: string;
721
+ };
722
+ name: {
723
+ type: string;
724
+ };
725
+ title: {
726
+ type: string;
727
+ };
728
+ height: {
729
+ type: string;
730
+ };
731
+ width: {
732
+ type: string;
733
+ };
724
734
  };
725
735
  };
726
736
  margins: {
@@ -1211,20 +1221,25 @@ export declare const HeaderBlock: {
1211
1221
  type: string;
1212
1222
  };
1213
1223
  iframe: {
1214
- src: {
1215
- type: string;
1216
- };
1217
- name: {
1218
- type: string;
1219
- };
1220
- title: {
1221
- type: string;
1222
- };
1223
- height: {
1224
- type: string;
1225
- };
1226
- width: {
1227
- type: string;
1224
+ type: string;
1225
+ additionalProperties: boolean;
1226
+ required: string[];
1227
+ properties: {
1228
+ src: {
1229
+ type: string;
1230
+ };
1231
+ name: {
1232
+ type: string;
1233
+ };
1234
+ title: {
1235
+ type: string;
1236
+ };
1237
+ height: {
1238
+ type: string;
1239
+ };
1240
+ width: {
1241
+ type: string;
1242
+ };
1228
1243
  };
1229
1244
  };
1230
1245
  margins: {
@@ -443,20 +443,25 @@ export declare const HeaderSliderBlock: {
443
443
  type: string;
444
444
  };
445
445
  iframe: {
446
- src: {
447
- type: string;
448
- };
449
- name: {
450
- type: string;
451
- };
452
- title: {
453
- type: string;
454
- };
455
- height: {
456
- type: string;
457
- };
458
- width: {
459
- type: string;
446
+ type: string;
447
+ additionalProperties: boolean;
448
+ required: string[];
449
+ properties: {
450
+ src: {
451
+ type: string;
452
+ };
453
+ name: {
454
+ type: string;
455
+ };
456
+ title: {
457
+ type: string;
458
+ };
459
+ height: {
460
+ type: string;
461
+ };
462
+ width: {
463
+ type: string;
464
+ };
460
465
  };
461
466
  };
462
467
  margins: {
@@ -246,20 +246,25 @@ export declare const Media: {
246
246
  type: string;
247
247
  };
248
248
  iframe: {
249
- src: {
250
- type: string;
251
- };
252
- name: {
253
- type: string;
254
- };
255
- title: {
256
- type: string;
257
- };
258
- height: {
259
- type: string;
260
- };
261
- width: {
262
- type: string;
249
+ type: string;
250
+ additionalProperties: boolean;
251
+ required: string[];
252
+ properties: {
253
+ src: {
254
+ type: string;
255
+ };
256
+ name: {
257
+ type: string;
258
+ };
259
+ title: {
260
+ type: string;
261
+ };
262
+ height: {
263
+ type: string;
264
+ };
265
+ width: {
266
+ type: string;
267
+ };
263
268
  };
264
269
  };
265
270
  margins: {
@@ -891,20 +896,25 @@ export declare const MediaBlock: {
891
896
  type: string;
892
897
  };
893
898
  iframe: {
894
- src: {
895
- type: string;
896
- };
897
- name: {
898
- type: string;
899
- };
900
- title: {
901
- type: string;
902
- };
903
- height: {
904
- type: string;
905
- };
906
- width: {
907
- type: string;
899
+ type: string;
900
+ additionalProperties: boolean;
901
+ required: string[];
902
+ properties: {
903
+ src: {
904
+ type: string;
905
+ };
906
+ name: {
907
+ type: string;
908
+ };
909
+ title: {
910
+ type: string;
911
+ };
912
+ height: {
913
+ type: string;
914
+ };
915
+ width: {
916
+ type: string;
917
+ };
908
918
  };
909
919
  };
910
920
  margins: {
@@ -262,20 +262,25 @@ export declare const PromoFeaturesItem: {
262
262
  type: string;
263
263
  };
264
264
  iframe: {
265
- src: {
266
- type: string;
267
- };
268
- name: {
269
- type: string;
270
- };
271
- title: {
272
- type: string;
273
- };
274
- height: {
275
- type: string;
276
- };
277
- width: {
278
- type: string;
265
+ type: string;
266
+ additionalProperties: boolean;
267
+ required: string[];
268
+ properties: {
269
+ src: {
270
+ type: string;
271
+ };
272
+ name: {
273
+ type: string;
274
+ };
275
+ title: {
276
+ type: string;
277
+ };
278
+ height: {
279
+ type: string;
280
+ };
281
+ width: {
282
+ type: string;
283
+ };
279
284
  };
280
285
  };
281
286
  margins: {
@@ -257,20 +257,25 @@ export declare const tabsItem: {
257
257
  type: string;
258
258
  };
259
259
  iframe: {
260
- src: {
261
- type: string;
262
- };
263
- name: {
264
- type: string;
265
- };
266
- title: {
267
- type: string;
268
- };
269
- height: {
270
- type: string;
271
- };
272
- width: {
273
- type: string;
260
+ type: string;
261
+ additionalProperties: boolean;
262
+ required: string[];
263
+ properties: {
264
+ src: {
265
+ type: string;
266
+ };
267
+ name: {
268
+ type: string;
269
+ };
270
+ title: {
271
+ type: string;
272
+ };
273
+ height: {
274
+ type: string;
275
+ };
276
+ width: {
277
+ type: string;
278
+ };
274
279
  };
275
280
  };
276
281
  margins: {
@@ -1099,20 +1099,25 @@ export declare const cardSchemas: {
1099
1099
  type: string;
1100
1100
  };
1101
1101
  iframe: {
1102
- src: {
1103
- type: string;
1104
- };
1105
- name: {
1106
- type: string;
1107
- };
1108
- title: {
1109
- type: string;
1110
- };
1111
- height: {
1112
- type: string;
1113
- };
1114
- width: {
1115
- type: string;
1102
+ type: string;
1103
+ additionalProperties: boolean;
1104
+ required: string[];
1105
+ properties: {
1106
+ src: {
1107
+ type: string;
1108
+ };
1109
+ name: {
1110
+ type: string;
1111
+ };
1112
+ title: {
1113
+ type: string;
1114
+ };
1115
+ height: {
1116
+ type: string;
1117
+ };
1118
+ width: {
1119
+ type: string;
1120
+ };
1116
1121
  };
1117
1122
  };
1118
1123
  margins: {
@@ -1354,20 +1354,25 @@ export declare const MediaProps: {
1354
1354
  type: string;
1355
1355
  };
1356
1356
  iframe: {
1357
- src: {
1358
- type: string;
1359
- };
1360
- name: {
1361
- type: string;
1362
- };
1363
- title: {
1364
- type: string;
1365
- };
1366
- height: {
1367
- type: string;
1368
- };
1369
- width: {
1370
- type: string;
1357
+ type: string;
1358
+ additionalProperties: boolean;
1359
+ required: string[];
1360
+ properties: {
1361
+ src: {
1362
+ type: string;
1363
+ };
1364
+ name: {
1365
+ type: string;
1366
+ };
1367
+ title: {
1368
+ type: string;
1369
+ };
1370
+ height: {
1371
+ type: string;
1372
+ };
1373
+ width: {
1374
+ type: string;
1375
+ };
1371
1376
  };
1372
1377
  };
1373
1378
  margins: {
@@ -497,20 +497,25 @@ export const ButtonBlock = {
497
497
  },
498
498
  };
499
499
  const IframeProps = {
500
- src: {
501
- type: 'string',
502
- },
503
- name: {
504
- type: 'string',
505
- },
506
- title: {
507
- type: 'string',
508
- },
509
- height: {
510
- type: 'number',
511
- },
512
- width: {
513
- type: 'number',
500
+ type: 'object',
501
+ additionalProperties: false,
502
+ required: ['src'],
503
+ properties: {
504
+ src: {
505
+ type: 'string',
506
+ },
507
+ name: {
508
+ type: 'string',
509
+ },
510
+ title: {
511
+ type: 'string',
512
+ },
513
+ height: {
514
+ type: 'number',
515
+ },
516
+ width: {
517
+ type: 'number',
518
+ },
514
519
  },
515
520
  };
516
521
  export const MediaProps = {
@@ -548,7 +553,7 @@ export const MediaProps = {
548
553
  },
549
554
  iframe: Object.assign({}, IframeProps),
550
555
  margins: {
551
- type: 'number',
556
+ type: 'boolean',
552
557
  },
553
558
  };
554
559
  export const YMapMarkerLabel = {
@@ -247,20 +247,25 @@ export declare const LayoutItem: {
247
247
  type: string;
248
248
  };
249
249
  iframe: {
250
- src: {
251
- type: string;
252
- };
253
- name: {
254
- type: string;
255
- };
256
- title: {
257
- type: string;
258
- };
259
- height: {
260
- type: string;
261
- };
262
- width: {
263
- type: string;
250
+ type: string;
251
+ additionalProperties: boolean;
252
+ required: string[];
253
+ properties: {
254
+ src: {
255
+ type: string;
256
+ };
257
+ name: {
258
+ type: string;
259
+ };
260
+ title: {
261
+ type: string;
262
+ };
263
+ height: {
264
+ type: string;
265
+ };
266
+ width: {
267
+ type: string;
268
+ };
264
269
  };
265
270
  };
266
271
  margins: {
@@ -252,20 +252,25 @@ export declare const MediaCardBlock: {
252
252
  type: string;
253
253
  };
254
254
  iframe: {
255
- src: {
256
- type: string;
257
- };
258
- name: {
259
- type: string;
260
- };
261
- title: {
262
- type: string;
263
- };
264
- height: {
265
- type: string;
266
- };
267
- width: {
268
- type: string;
255
+ type: string;
256
+ additionalProperties: boolean;
257
+ required: string[];
258
+ properties: {
259
+ src: {
260
+ type: string;
261
+ };
262
+ name: {
263
+ type: string;
264
+ };
265
+ title: {
266
+ type: string;
267
+ };
268
+ height: {
269
+ type: string;
270
+ };
271
+ width: {
272
+ type: string;
273
+ };
269
274
  };
270
275
  };
271
276
  margins: {
@@ -636,20 +636,25 @@ export declare const PriceCardBlock: {
636
636
  type: string;
637
637
  };
638
638
  iframe: {
639
- src: {
640
- type: string;
641
- };
642
- name: {
643
- type: string;
644
- };
645
- title: {
646
- type: string;
647
- };
648
- height: {
649
- type: string;
650
- };
651
- width: {
652
- type: string;
639
+ type: string;
640
+ additionalProperties: boolean;
641
+ required: string[];
642
+ properties: {
643
+ src: {
644
+ type: string;
645
+ };
646
+ name: {
647
+ type: string;
648
+ };
649
+ title: {
650
+ type: string;
651
+ };
652
+ height: {
653
+ type: string;
654
+ };
655
+ width: {
656
+ type: string;
657
+ };
653
658
  };
654
659
  };
655
660
  margins: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "4.40.0",
3
+ "version": "4.40.1",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {