@gravity-ui/page-constructor 8.23.1 → 8.23.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.
Files changed (107) hide show
  1. package/build/cjs/blocks/Banner/schema.js +1 -1
  2. package/build/cjs/blocks/Banner/schema.js.map +1 -1
  3. package/build/cjs/blocks/CardLayout/schema.d.ts +8 -2
  4. package/build/cjs/blocks/ContentLayout/schema.d.ts +4 -172
  5. package/build/cjs/blocks/ContentLayout/schema.js +0 -4
  6. package/build/cjs/blocks/ContentLayout/schema.js.map +1 -1
  7. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -1
  8. package/build/cjs/blocks/FilterBlock/schema.d.ts +8 -2
  9. package/build/cjs/blocks/FoldableList/schema.d.ts +4 -1
  10. package/build/cjs/blocks/Form/schema.d.ts +4 -1
  11. package/build/cjs/blocks/Header/schema.d.ts +12 -3
  12. package/build/cjs/blocks/HeaderSlider/schema.d.ts +4 -1
  13. package/build/cjs/blocks/Hero/schema.d.ts +16 -4
  14. package/build/cjs/blocks/Icons/schema.d.ts +92 -92
  15. package/build/cjs/blocks/Icons/schema.js +1 -13
  16. package/build/cjs/blocks/Icons/schema.js.map +1 -1
  17. package/build/cjs/blocks/Info/schema.d.ts +8 -2
  18. package/build/cjs/blocks/Map/schema.d.ts +4 -1
  19. package/build/cjs/blocks/Media/schema.d.ts +16 -4
  20. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -2
  21. package/build/cjs/blocks/Questions/schema.d.ts +4 -1
  22. package/build/cjs/blocks/Slider/schema.d.ts +4 -1
  23. package/build/cjs/blocks/SliderOld/schema.d.ts +4 -1
  24. package/build/cjs/blocks/Tabs/schema.d.ts +12 -3
  25. package/build/cjs/containers/PageConstructor/PageConstructor.css +1 -2
  26. package/build/cjs/models/constructor-items/blocks.d.ts +4 -1
  27. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  28. package/build/cjs/schema/constants.d.ts +20 -5
  29. package/build/cjs/schema/validators/common.d.ts +12 -3
  30. package/build/cjs/schema/validators/common.js +4 -25
  31. package/build/cjs/schema/validators/common.js.map +1 -1
  32. package/build/cjs/schema/validators/event.d.ts +81 -0
  33. package/build/cjs/schema/validators/event.js +14 -1
  34. package/build/cjs/schema/validators/event.js.map +1 -1
  35. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +4 -1
  36. package/build/cjs/sub-blocks/BackgroundCard/schema.js +1 -13
  37. package/build/cjs/sub-blocks/BackgroundCard/schema.js.map +1 -1
  38. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -1
  39. package/build/cjs/sub-blocks/BasicCard/schema.js +1 -13
  40. package/build/cjs/sub-blocks/BasicCard/schema.js.map +1 -1
  41. package/build/cjs/sub-blocks/Content/schema.d.ts +8 -2
  42. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +4 -1
  43. package/build/cjs/sub-blocks/ImageCard/schema.js +1 -13
  44. package/build/cjs/sub-blocks/ImageCard/schema.js.map +1 -1
  45. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +16 -4
  46. package/build/cjs/sub-blocks/LayoutItem/schema.js +1 -13
  47. package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
  48. package/build/cjs/sub-blocks/MediaCard/schema.js +1 -13
  49. package/build/cjs/sub-blocks/MediaCard/schema.js.map +1 -1
  50. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -13
  51. package/build/cjs/sub-blocks/PriceDetailed/schema.js.map +1 -1
  52. package/build/esm/blocks/Banner/schema.js +1 -1
  53. package/build/esm/blocks/Banner/schema.js.map +1 -1
  54. package/build/esm/blocks/CardLayout/schema.d.ts +8 -2
  55. package/build/esm/blocks/ContentLayout/schema.d.ts +4 -172
  56. package/build/esm/blocks/ContentLayout/schema.js +0 -4
  57. package/build/esm/blocks/ContentLayout/schema.js.map +1 -1
  58. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -1
  59. package/build/esm/blocks/FilterBlock/schema.d.ts +8 -2
  60. package/build/esm/blocks/FoldableList/schema.d.ts +4 -1
  61. package/build/esm/blocks/Form/schema.d.ts +4 -1
  62. package/build/esm/blocks/Header/schema.d.ts +12 -3
  63. package/build/esm/blocks/HeaderSlider/schema.d.ts +4 -1
  64. package/build/esm/blocks/Hero/schema.d.ts +16 -4
  65. package/build/esm/blocks/Icons/schema.d.ts +92 -92
  66. package/build/esm/blocks/Icons/schema.js +2 -14
  67. package/build/esm/blocks/Icons/schema.js.map +1 -1
  68. package/build/esm/blocks/Info/schema.d.ts +8 -2
  69. package/build/esm/blocks/Map/schema.d.ts +4 -1
  70. package/build/esm/blocks/Media/schema.d.ts +16 -4
  71. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -2
  72. package/build/esm/blocks/Questions/schema.d.ts +4 -1
  73. package/build/esm/blocks/Slider/schema.d.ts +4 -1
  74. package/build/esm/blocks/SliderOld/schema.d.ts +4 -1
  75. package/build/esm/blocks/Tabs/schema.d.ts +12 -3
  76. package/build/esm/containers/PageConstructor/PageConstructor.css +1 -2
  77. package/build/esm/models/constructor-items/blocks.d.ts +4 -1
  78. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  79. package/build/esm/schema/constants.d.ts +20 -5
  80. package/build/esm/schema/validators/common.d.ts +12 -3
  81. package/build/esm/schema/validators/common.js +5 -26
  82. package/build/esm/schema/validators/common.js.map +1 -1
  83. package/build/esm/schema/validators/event.d.ts +81 -0
  84. package/build/esm/schema/validators/event.js +13 -0
  85. package/build/esm/schema/validators/event.js.map +1 -1
  86. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +4 -1
  87. package/build/esm/sub-blocks/BackgroundCard/schema.js +2 -14
  88. package/build/esm/sub-blocks/BackgroundCard/schema.js.map +1 -1
  89. package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -1
  90. package/build/esm/sub-blocks/BasicCard/schema.js +2 -14
  91. package/build/esm/sub-blocks/BasicCard/schema.js.map +1 -1
  92. package/build/esm/sub-blocks/Content/schema.d.ts +8 -2
  93. package/build/esm/sub-blocks/ImageCard/schema.d.ts +4 -1
  94. package/build/esm/sub-blocks/ImageCard/schema.js +2 -14
  95. package/build/esm/sub-blocks/ImageCard/schema.js.map +1 -1
  96. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +16 -4
  97. package/build/esm/sub-blocks/LayoutItem/schema.js +2 -14
  98. package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
  99. package/build/esm/sub-blocks/MediaCard/schema.js +2 -14
  100. package/build/esm/sub-blocks/MediaCard/schema.js.map +1 -1
  101. package/build/esm/sub-blocks/PriceDetailed/schema.js +2 -14
  102. package/build/esm/sub-blocks/PriceDetailed/schema.js.map +1 -1
  103. package/package.json +1 -1
  104. package/schema/index.js +1 -1
  105. package/server/models/constructor-items/blocks.d.ts +4 -1
  106. package/styles/root.scss +1 -2
  107. package/widget/index.js +1 -1
@@ -4,7 +4,7 @@ exports.BannerCard = exports.BannerBlock = exports.BannerCardProps = void 0;
4
4
  const common_1 = require("../../schema/validators/common.js");
5
5
  exports.BannerCardProps = {
6
6
  additionalProperties: false,
7
- required: ['title', 'button'],
7
+ required: ['title'],
8
8
  properties: {
9
9
  ...common_1.BaseProps,
10
10
  ...common_1.AnimatableProps,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Banner/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAE3B,QAAA,eAAe,GAAG;IAC3B,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;IAC7B,UAAU,EAAE;QACR,GAAG,kBAAS;QACZ,GAAG,wBAAe;QAClB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,KAAK;SACrB;QACD,KAAK,EAAE,IAAA,kBAAS,EAAC;YACb,IAAI,EAAE,QAAQ;SACjB,CAAC;QACF,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,kBAAS;SAClB;QACD,eAAe,EAAE;YACb,IAAI,EAAE,SAAS;SAClB;QACD,KAAK,EAAE,IAAA,kBAAS,EAAC;YACb,IAAI,EAAE,QAAQ;SACjB,CAAC;QACF,KAAK,EAAE,mBAAU;QACjB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SACxB;QACD,MAAM,EAAE,oBAAW;KACtB;CACJ,CAAC;AAEW,QAAA,WAAW,GAAG;IACvB,cAAc,EAAE,uBAAe;CAClC,CAAC;AAEW,QAAA,UAAU,GAAG;IACtB,aAAa,EAAE,uBAAe;CACjC,CAAC","sourcesContent":["import {\n AnimatableProps,\n BaseProps,\n ButtonBlock,\n ThemeProps,\n mediaView,\n withTheme,\n} from '../../schema/validators/common';\n\nexport const BannerCardProps = {\n additionalProperties: false,\n required: ['title', 'button'],\n properties: {\n ...BaseProps,\n ...AnimatableProps,\n title: {\n type: 'string',\n contentType: 'text',\n },\n subtitle: {\n type: 'string',\n contentType: 'yfm',\n },\n image: withTheme({\n type: 'string',\n }),\n mediaView: {\n type: 'string',\n enum: mediaView,\n },\n disableCompress: {\n type: 'boolean',\n },\n color: withTheme({\n type: 'string',\n }),\n theme: ThemeProps,\n width: {\n type: 'string',\n enum: ['s', 'm', 'l'],\n },\n button: ButtonBlock,\n },\n};\n\nexport const BannerBlock = {\n 'banner-block': BannerCardProps,\n};\n\nexport const BannerCard = {\n 'banner-card': BannerCardProps,\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Banner/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAE3B,QAAA,eAAe,GAAG;IAC3B,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,OAAO,CAAC;IACnB,UAAU,EAAE;QACR,GAAG,kBAAS;QACZ,GAAG,wBAAe;QAClB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,KAAK;SACrB;QACD,KAAK,EAAE,IAAA,kBAAS,EAAC;YACb,IAAI,EAAE,QAAQ;SACjB,CAAC;QACF,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,kBAAS;SAClB;QACD,eAAe,EAAE;YACb,IAAI,EAAE,SAAS;SAClB;QACD,KAAK,EAAE,IAAA,kBAAS,EAAC;YACb,IAAI,EAAE,QAAQ;SACjB,CAAC;QACF,KAAK,EAAE,mBAAU;QACjB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SACxB;QACD,MAAM,EAAE,oBAAW;KACtB;CACJ,CAAC;AAEW,QAAA,WAAW,GAAG;IACvB,cAAc,EAAE,uBAAe;CAClC,CAAC;AAEW,QAAA,UAAU,GAAG;IACtB,aAAa,EAAE,uBAAe;CACjC,CAAC","sourcesContent":["import {\n AnimatableProps,\n BaseProps,\n ButtonBlock,\n ThemeProps,\n mediaView,\n withTheme,\n} from '../../schema/validators/common';\n\nexport const BannerCardProps = {\n additionalProperties: false,\n required: ['title'],\n properties: {\n ...BaseProps,\n ...AnimatableProps,\n title: {\n type: 'string',\n contentType: 'text',\n },\n subtitle: {\n type: 'string',\n contentType: 'yfm',\n },\n image: withTheme({\n type: 'string',\n }),\n mediaView: {\n type: 'string',\n enum: mediaView,\n },\n disableCompress: {\n type: 'boolean',\n },\n color: withTheme({\n type: 'string',\n }),\n theme: ThemeProps,\n width: {\n type: 'string',\n enum: ['s', 'm', 'l'],\n },\n button: ButtonBlock,\n },\n};\n\nexport const BannerBlock = {\n 'banner-block': BannerCardProps,\n};\n\nexport const BannerCard = {\n 'banner-card': BannerCardProps,\n};\n"]}
@@ -335,7 +335,8 @@ export declare const CardLayoutProps: {
335
335
  type: string;
336
336
  };
337
337
  analyticsEvents: {
338
- anyOf: ({
338
+ oneOf: ({
339
+ optionName: string;
339
340
  type: string;
340
341
  additionalProperties: {
341
342
  type: string;
@@ -371,6 +372,7 @@ export declare const CardLayoutProps: {
371
372
  type: string;
372
373
  };
373
374
  };
375
+ items?: undefined;
374
376
  } | {
375
377
  type: string;
376
378
  items: {
@@ -410,6 +412,7 @@ export declare const CardLayoutProps: {
410
412
  };
411
413
  };
412
414
  };
415
+ optionName: string;
413
416
  })[];
414
417
  };
415
418
  };
@@ -815,7 +818,8 @@ export declare const CardLayoutBlock: {
815
818
  type: string;
816
819
  };
817
820
  analyticsEvents: {
818
- anyOf: ({
821
+ oneOf: ({
822
+ optionName: string;
819
823
  type: string;
820
824
  additionalProperties: {
821
825
  type: string;
@@ -851,6 +855,7 @@ export declare const CardLayoutBlock: {
851
855
  type: string;
852
856
  };
853
857
  };
858
+ items?: undefined;
854
859
  } | {
855
860
  type: string;
856
861
  items: {
@@ -890,6 +895,7 @@ export declare const CardLayoutBlock: {
890
895
  };
891
896
  };
892
897
  };
898
+ optionName: string;
893
899
  })[];
894
900
  };
895
901
  };
@@ -208,7 +208,8 @@ export declare const ContentLayoutBlock: {
208
208
  type: string;
209
209
  };
210
210
  analyticsEvents: {
211
- anyOf: ({
211
+ oneOf: ({
212
+ optionName: string;
212
213
  type: string;
213
214
  additionalProperties: {
214
215
  type: string;
@@ -244,6 +245,7 @@ export declare const ContentLayoutBlock: {
244
245
  type: string;
245
246
  };
246
247
  };
248
+ items?: undefined;
247
249
  } | {
248
250
  type: string;
249
251
  items: {
@@ -283,6 +285,7 @@ export declare const ContentLayoutBlock: {
283
285
  };
284
286
  };
285
287
  };
288
+ optionName: string;
286
289
  })[];
287
290
  };
288
291
  };
@@ -356,177 +359,6 @@ export declare const ContentLayoutBlock: {
356
359
  };
357
360
  };
358
361
  };
359
- /**
360
- * @deprecated Use params on top level instead
361
- */
362
- properties: {
363
- size: {
364
- type: string;
365
- enum: string[];
366
- };
367
- background: {
368
- oneOf: (({
369
- oneOf: ({
370
- optionName: string;
371
- type: string;
372
- additionalProperties: boolean;
373
- properties: {
374
- src: {
375
- type: string;
376
- pattern: string;
377
- };
378
- style: {
379
- type: string;
380
- additionalProperties: boolean;
381
- required: never[];
382
- properties: {
383
- backgroundColor: {
384
- type: string;
385
- };
386
- height: {
387
- type: string[];
388
- };
389
- width: {
390
- type: string[];
391
- };
392
- color: {
393
- type: string;
394
- };
395
- };
396
- };
397
- alt: {
398
- type: string;
399
- contentType: string;
400
- };
401
- disableCompress: {
402
- type: string;
403
- };
404
- loading: {
405
- type: string;
406
- enum: string[];
407
- };
408
- fetchPriority: {
409
- type: string;
410
- enum: string[];
411
- };
412
- hide: {
413
- oneOf: ({
414
- type: string;
415
- properties?: undefined;
416
- } | {
417
- type: string;
418
- properties: {
419
- mobile: {
420
- type: string;
421
- };
422
- tablet: {
423
- type: string;
424
- };
425
- desktop: {
426
- type: string;
427
- };
428
- };
429
- })[];
430
- };
431
- };
432
- } | {
433
- properties: {
434
- style: {
435
- type: string;
436
- additionalProperties: boolean;
437
- required: never[];
438
- properties: {
439
- backgroundColor: {
440
- type: string;
441
- };
442
- height: {
443
- type: string[];
444
- };
445
- width: {
446
- type: string[];
447
- };
448
- color: {
449
- type: string;
450
- };
451
- };
452
- };
453
- desktop: {
454
- type: string;
455
- pattern: string;
456
- };
457
- tablet: {
458
- type: string;
459
- pattern: string;
460
- };
461
- mobile: {
462
- type: string;
463
- pattern: string;
464
- };
465
- alt: {
466
- type: string;
467
- contentType: string;
468
- };
469
- disableCompress: {
470
- type: string;
471
- };
472
- loading: {
473
- type: string;
474
- enum: string[];
475
- };
476
- fetchPriority: {
477
- type: string;
478
- enum: string[];
479
- };
480
- hide: {
481
- oneOf: ({
482
- type: string;
483
- properties?: undefined;
484
- } | {
485
- type: string;
486
- properties: {
487
- mobile: {
488
- type: string;
489
- };
490
- tablet: {
491
- type: string;
492
- };
493
- desktop: {
494
- type: string;
495
- };
496
- };
497
- })[];
498
- };
499
- };
500
- optionName: string;
501
- type: string;
502
- additionalProperties: boolean;
503
- required: import("../../index.js").Device[];
504
- anyOf: {
505
- required: import("../../index.js").Device[];
506
- }[];
507
- })[];
508
- } & {
509
- optionName: string;
510
- }) | {
511
- type: string;
512
- additionalProperties: boolean;
513
- required: import("../../index.js").Theme[];
514
- properties: {};
515
- optionName: string;
516
- })[];
517
- };
518
- centered: {
519
- type: string;
520
- };
521
- theme: {
522
- type: string;
523
- enum: string[];
524
- };
525
- textWidth: {
526
- type: string;
527
- enum: string[];
528
- };
529
- };
530
362
  anchor: {
531
363
  type: string;
532
364
  additionalProperties: boolean;
@@ -30,10 +30,6 @@ exports.ContentLayoutBlock = {
30
30
  ...common_1.BlockBaseProps,
31
31
  textContent: schema_2.ContentBlock?.content,
32
32
  fileContent: (0, utils_1.filteredArray)(common_1.FileLinkProps),
33
- /**
34
- * @deprecated Use params on top level instead
35
- */
36
- properties: ContentLayoutBlockProperties,
37
33
  ...ContentLayoutBlockProperties,
38
34
  },
39
35
  },
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/ContentLayout/schema.ts"],"names":[],"mappings":";;;AAAA,6DAAmE;AACnE,8DAOwC;AACxC,4DAA4D;AAC5D,+DAA6D;AAE7D,MAAM,4BAA4B,GAAG;IACjC,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,qBAAY;KACrB;IACD,UAAU,EAAE,IAAA,kBAAS,EAAC,6BAAoB,CAAC;IAC3C,QAAQ,EAAE;QACN,IAAI,EAAE,SAAS;KAClB;IACD,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,sBAAa;KACtB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,yBAAgB;KACzB;CACJ,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAC9B,sBAAsB,EAAE;QACpB,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACR,GAAG,uBAAc;YACjB,WAAW,EAAE,qBAAY,EAAE,OAAO;YAClC,WAAW,EAAE,IAAA,qBAAa,EAAC,sBAAa,CAAC;YACzC;;eAEG;YACH,UAAU,EAAE,4BAA4B;YACxC,GAAG,4BAA4B;SAClC;KACJ;CACJ,CAAC","sourcesContent":["import {BackgroundImageProps} from '../../components/Image/schema';\nimport {\n BlockBaseProps,\n FileLinkProps,\n contentSizes,\n contentTextWidth,\n contentThemes,\n withTheme,\n} from '../../schema/validators/common';\nimport {filteredArray} from '../../schema/validators/utils';\nimport {ContentBlock} from '../../sub-blocks/Content/schema';\n\nconst ContentLayoutBlockProperties = {\n size: {\n type: 'string',\n enum: contentSizes,\n },\n background: withTheme(BackgroundImageProps),\n centered: {\n type: 'boolean',\n },\n theme: {\n type: 'string',\n enum: contentThemes,\n },\n textWidth: {\n type: 'string',\n enum: contentTextWidth,\n },\n};\n\nexport const ContentLayoutBlock = {\n 'content-layout-block': {\n additionalProperties: false,\n properties: {\n ...BlockBaseProps,\n textContent: ContentBlock?.content,\n fileContent: filteredArray(FileLinkProps),\n /**\n * @deprecated Use params on top level instead\n */\n properties: ContentLayoutBlockProperties,\n ...ContentLayoutBlockProperties,\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/ContentLayout/schema.ts"],"names":[],"mappings":";;;AAAA,6DAAmE;AACnE,8DAOwC;AACxC,4DAA4D;AAC5D,+DAA6D;AAE7D,MAAM,4BAA4B,GAAG;IACjC,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,qBAAY;KACrB;IACD,UAAU,EAAE,IAAA,kBAAS,EAAC,6BAAoB,CAAC;IAC3C,QAAQ,EAAE;QACN,IAAI,EAAE,SAAS;KAClB;IACD,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,sBAAa;KACtB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,yBAAgB;KACzB;CACJ,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAC9B,sBAAsB,EAAE;QACpB,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACR,GAAG,uBAAc;YACjB,WAAW,EAAE,qBAAY,EAAE,OAAO;YAClC,WAAW,EAAE,IAAA,qBAAa,EAAC,sBAAa,CAAC;YACzC,GAAG,4BAA4B;SAClC;KACJ;CACJ,CAAC","sourcesContent":["import {BackgroundImageProps} from '../../components/Image/schema';\nimport {\n BlockBaseProps,\n FileLinkProps,\n contentSizes,\n contentTextWidth,\n contentThemes,\n withTheme,\n} from '../../schema/validators/common';\nimport {filteredArray} from '../../schema/validators/utils';\nimport {ContentBlock} from '../../sub-blocks/Content/schema';\n\nconst ContentLayoutBlockProperties = {\n size: {\n type: 'string',\n enum: contentSizes,\n },\n background: withTheme(BackgroundImageProps),\n centered: {\n type: 'boolean',\n },\n theme: {\n type: 'string',\n enum: contentThemes,\n },\n textWidth: {\n type: 'string',\n enum: contentTextWidth,\n },\n};\n\nexport const ContentLayoutBlock = {\n 'content-layout-block': {\n additionalProperties: false,\n properties: {\n ...BlockBaseProps,\n textContent: ContentBlock?.content,\n fileContent: filteredArray(FileLinkProps),\n ...ContentLayoutBlockProperties,\n },\n },\n};\n"]}
@@ -491,7 +491,8 @@ export declare const ExtendedFeaturesBlock: {
491
491
  type: string;
492
492
  };
493
493
  analyticsEvents: {
494
- anyOf: ({
494
+ oneOf: ({
495
+ optionName: string;
495
496
  type: string;
496
497
  additionalProperties: {
497
498
  type: string;
@@ -527,6 +528,7 @@ export declare const ExtendedFeaturesBlock: {
527
528
  type: string;
528
529
  };
529
530
  };
531
+ items?: undefined;
530
532
  } | {
531
533
  type: string;
532
534
  items: {
@@ -566,6 +568,7 @@ export declare const ExtendedFeaturesBlock: {
566
568
  };
567
569
  };
568
570
  };
571
+ optionName: string;
569
572
  })[];
570
573
  };
571
574
  };
@@ -185,7 +185,8 @@ export declare const FilterProps: {
185
185
  type: string;
186
186
  };
187
187
  analyticsEvents: {
188
- anyOf: ({
188
+ oneOf: ({
189
+ optionName: string;
189
190
  type: string;
190
191
  additionalProperties: {
191
192
  type: string;
@@ -221,6 +222,7 @@ export declare const FilterProps: {
221
222
  type: string;
222
223
  };
223
224
  };
225
+ items?: undefined;
224
226
  } | {
225
227
  type: string;
226
228
  items: {
@@ -260,6 +262,7 @@ export declare const FilterProps: {
260
262
  };
261
263
  };
262
264
  };
265
+ optionName: string;
263
266
  })[];
264
267
  };
265
268
  };
@@ -450,7 +453,8 @@ export declare const FilterBlock: {
450
453
  type: string;
451
454
  };
452
455
  analyticsEvents: {
453
- anyOf: ({
456
+ oneOf: ({
457
+ optionName: string;
454
458
  type: string;
455
459
  additionalProperties: {
456
460
  type: string;
@@ -486,6 +490,7 @@ export declare const FilterBlock: {
486
490
  type: string;
487
491
  };
488
492
  };
493
+ items?: undefined;
489
494
  } | {
490
495
  type: string;
491
496
  items: {
@@ -525,6 +530,7 @@ export declare const FilterBlock: {
525
530
  };
526
531
  };
527
532
  };
533
+ optionName: string;
528
534
  })[];
529
535
  };
530
536
  };
@@ -43,7 +43,8 @@ export declare const FoldableListBlock: {
43
43
  type: string;
44
44
  };
45
45
  analyticsEvents: {
46
- anyOf: ({
46
+ oneOf: ({
47
+ optionName: string;
47
48
  type: string;
48
49
  additionalProperties: {
49
50
  type: string;
@@ -79,6 +80,7 @@ export declare const FoldableListBlock: {
79
80
  type: string;
80
81
  };
81
82
  };
83
+ items?: undefined;
82
84
  } | {
83
85
  type: string;
84
86
  items: {
@@ -118,6 +120,7 @@ export declare const FoldableListBlock: {
118
120
  };
119
121
  };
120
122
  };
123
+ optionName: string;
121
124
  })[];
122
125
  };
123
126
  };
@@ -113,7 +113,8 @@ export declare const FormBlock: {
113
113
  type: string;
114
114
  };
115
115
  analyticsEvents: {
116
- anyOf: ({
116
+ oneOf: ({
117
+ optionName: string;
117
118
  type: string;
118
119
  additionalProperties: {
119
120
  type: string;
@@ -149,6 +150,7 @@ export declare const FormBlock: {
149
150
  type: string;
150
151
  };
151
152
  };
153
+ items?: undefined;
152
154
  } | {
153
155
  type: string;
154
156
  items: {
@@ -188,6 +190,7 @@ export declare const FormBlock: {
188
190
  };
189
191
  };
190
192
  };
193
+ optionName: string;
191
194
  })[];
192
195
  };
193
196
  };
@@ -321,7 +321,8 @@ export declare const HeaderBackgroundProps: {
321
321
  type: string;
322
322
  };
323
323
  analyticsEvents: {
324
- anyOf: ({
324
+ oneOf: ({
325
+ optionName: string;
325
326
  type: string;
326
327
  additionalProperties: {
327
328
  type: string;
@@ -357,6 +358,7 @@ export declare const HeaderBackgroundProps: {
357
358
  type: string;
358
359
  };
359
360
  };
361
+ items?: undefined;
360
362
  } | {
361
363
  type: string;
362
364
  items: {
@@ -396,6 +398,7 @@ export declare const HeaderBackgroundProps: {
396
398
  };
397
399
  };
398
400
  };
401
+ optionName: string;
399
402
  })[];
400
403
  };
401
404
  ratio: {
@@ -951,7 +954,8 @@ export declare const HeaderProperties: {
951
954
  type: string;
952
955
  };
953
956
  analyticsEvents: {
954
- anyOf: ({
957
+ oneOf: ({
958
+ optionName: string;
955
959
  type: string;
956
960
  additionalProperties: {
957
961
  type: string;
@@ -987,6 +991,7 @@ export declare const HeaderProperties: {
987
991
  type: string;
988
992
  };
989
993
  };
994
+ items?: undefined;
990
995
  } | {
991
996
  type: string;
992
997
  items: {
@@ -1026,6 +1031,7 @@ export declare const HeaderProperties: {
1026
1031
  };
1027
1032
  };
1028
1033
  };
1034
+ optionName: string;
1029
1035
  })[];
1030
1036
  };
1031
1037
  ratio: {
@@ -1633,7 +1639,8 @@ export declare const HeaderBlock: {
1633
1639
  type: string;
1634
1640
  };
1635
1641
  analyticsEvents: {
1636
- anyOf: ({
1642
+ oneOf: ({
1643
+ optionName: string;
1637
1644
  type: string;
1638
1645
  additionalProperties: {
1639
1646
  type: string;
@@ -1669,6 +1676,7 @@ export declare const HeaderBlock: {
1669
1676
  type: string;
1670
1677
  };
1671
1678
  };
1679
+ items?: undefined;
1672
1680
  } | {
1673
1681
  type: string;
1674
1682
  items: {
@@ -1708,6 +1716,7 @@ export declare const HeaderBlock: {
1708
1716
  };
1709
1717
  };
1710
1718
  };
1719
+ optionName: string;
1711
1720
  })[];
1712
1721
  };
1713
1722
  ratio: {
@@ -529,7 +529,8 @@ export declare const HeaderSliderBlock: {
529
529
  type: string;
530
530
  };
531
531
  analyticsEvents: {
532
- anyOf: ({
532
+ oneOf: ({
533
+ optionName: string;
533
534
  type: string;
534
535
  additionalProperties: {
535
536
  type: string;
@@ -565,6 +566,7 @@ export declare const HeaderSliderBlock: {
565
566
  type: string;
566
567
  };
567
568
  };
569
+ items?: undefined;
568
570
  } | {
569
571
  type: string;
570
572
  items: {
@@ -604,6 +606,7 @@ export declare const HeaderSliderBlock: {
604
606
  };
605
607
  };
606
608
  };
609
+ optionName: string;
607
610
  })[];
608
611
  };
609
612
  ratio: {
@@ -440,7 +440,8 @@ export declare const HeroBlockProps: {
440
440
  type: string;
441
441
  };
442
442
  analyticsEvents: {
443
- anyOf: ({
443
+ oneOf: ({
444
+ optionName: string;
444
445
  type: string;
445
446
  additionalProperties: {
446
447
  type: string;
@@ -476,6 +477,7 @@ export declare const HeroBlockProps: {
476
477
  type: string;
477
478
  };
478
479
  };
480
+ items?: undefined;
479
481
  } | {
480
482
  type: string;
481
483
  items: {
@@ -515,6 +517,7 @@ export declare const HeroBlockProps: {
515
517
  };
516
518
  };
517
519
  };
520
+ optionName: string;
518
521
  })[];
519
522
  };
520
523
  ratio: {
@@ -776,7 +779,8 @@ export declare const HeroBlockProps: {
776
779
  type: string;
777
780
  };
778
781
  analyticsEvents: {
779
- anyOf: ({
782
+ oneOf: ({
783
+ optionName: string;
780
784
  type: string;
781
785
  additionalProperties: {
782
786
  type: string;
@@ -812,6 +816,7 @@ export declare const HeroBlockProps: {
812
816
  type: string;
813
817
  };
814
818
  };
819
+ items?: undefined;
815
820
  } | {
816
821
  type: string;
817
822
  items: {
@@ -851,6 +856,7 @@ export declare const HeroBlockProps: {
851
856
  };
852
857
  };
853
858
  };
859
+ optionName: string;
854
860
  })[];
855
861
  };
856
862
  };
@@ -1158,7 +1164,8 @@ export declare const HeroBlock: {
1158
1164
  type: string;
1159
1165
  };
1160
1166
  analyticsEvents: {
1161
- anyOf: ({
1167
+ oneOf: ({
1168
+ optionName: string;
1162
1169
  type: string;
1163
1170
  additionalProperties: {
1164
1171
  type: string;
@@ -1194,6 +1201,7 @@ export declare const HeroBlock: {
1194
1201
  type: string;
1195
1202
  };
1196
1203
  };
1204
+ items?: undefined;
1197
1205
  } | {
1198
1206
  type: string;
1199
1207
  items: {
@@ -1233,6 +1241,7 @@ export declare const HeroBlock: {
1233
1241
  };
1234
1242
  };
1235
1243
  };
1244
+ optionName: string;
1236
1245
  })[];
1237
1246
  };
1238
1247
  ratio: {
@@ -1494,7 +1503,8 @@ export declare const HeroBlock: {
1494
1503
  type: string;
1495
1504
  };
1496
1505
  analyticsEvents: {
1497
- anyOf: ({
1506
+ oneOf: ({
1507
+ optionName: string;
1498
1508
  type: string;
1499
1509
  additionalProperties: {
1500
1510
  type: string;
@@ -1530,6 +1540,7 @@ export declare const HeroBlock: {
1530
1540
  type: string;
1531
1541
  };
1532
1542
  };
1543
+ items?: undefined;
1533
1544
  } | {
1534
1545
  type: string;
1535
1546
  items: {
@@ -1569,6 +1580,7 @@ export declare const HeroBlock: {
1569
1580
  };
1570
1581
  };
1571
1582
  };
1583
+ optionName: string;
1572
1584
  })[];
1573
1585
  };
1574
1586
  };