@gravity-ui/page-constructor 8.18.0 → 8.20.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 (172) hide show
  1. package/build/cjs/blocks/Banner/schema.d.ts +3 -0
  2. package/build/cjs/blocks/CardLayout/schema.d.ts +529 -195
  3. package/build/cjs/blocks/CardLayout/schema.js +12 -13
  4. package/build/cjs/blocks/CardLayout/schema.js.map +1 -1
  5. package/build/cjs/blocks/Companies/schema.d.ts +88 -3
  6. package/build/cjs/blocks/Companies/schema.js +5 -20
  7. package/build/cjs/blocks/Companies/schema.js.map +1 -1
  8. package/build/cjs/blocks/ContentLayout/schema.d.ts +258 -194
  9. package/build/cjs/blocks/ContentLayout/schema.js +1 -1
  10. package/build/cjs/blocks/ContentLayout/schema.js.map +1 -1
  11. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +311 -39
  12. package/build/cjs/blocks/ExtendedFeatures/schema.js +18 -19
  13. package/build/cjs/blocks/ExtendedFeatures/schema.js.map +1 -1
  14. package/build/cjs/blocks/Footer/schema.d.ts +3 -6
  15. package/build/cjs/blocks/Form/schema.d.ts +197 -15
  16. package/build/cjs/blocks/Form/schema.js +15 -3
  17. package/build/cjs/blocks/Form/schema.js.map +1 -1
  18. package/build/cjs/blocks/Header/schema.d.ts +461 -206
  19. package/build/cjs/blocks/Header/schema.js +18 -2
  20. package/build/cjs/blocks/Header/schema.js.map +1 -1
  21. package/build/cjs/blocks/HeaderSlider/schema.d.ts +150 -71
  22. package/build/cjs/blocks/Hero/schema.d.ts +19 -437
  23. package/build/cjs/blocks/Hero/schema.js +12 -3
  24. package/build/cjs/blocks/Hero/schema.js.map +1 -1
  25. package/build/cjs/blocks/Icons/Icons.js.map +1 -1
  26. package/build/cjs/blocks/Icons/schema.js +1 -1
  27. package/build/cjs/blocks/Icons/schema.js.map +1 -1
  28. package/build/cjs/blocks/Info/schema.d.ts +49 -1
  29. package/build/cjs/blocks/Info/schema.js +2 -2
  30. package/build/cjs/blocks/Info/schema.js.map +1 -1
  31. package/build/cjs/blocks/Map/schema.d.ts +7 -2
  32. package/build/cjs/blocks/Map/schema.js +1 -1
  33. package/build/cjs/blocks/Map/schema.js.map +1 -1
  34. package/build/cjs/blocks/Media/schema.d.ts +20 -9
  35. package/build/cjs/blocks/Media/schema.js +15 -2
  36. package/build/cjs/blocks/Media/schema.js.map +1 -1
  37. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +2 -4
  38. package/build/cjs/blocks/Table/schema.d.ts +1 -0
  39. package/build/cjs/blocks/Table/schema.js +1 -0
  40. package/build/cjs/blocks/Table/schema.js.map +1 -1
  41. package/build/cjs/blocks/Tabs/schema.d.ts +7 -6
  42. package/build/cjs/blocks/Tabs/schema.js +1 -1
  43. package/build/cjs/blocks/Tabs/schema.js.map +1 -1
  44. package/build/cjs/components/Author/schema.d.ts +1 -2
  45. package/build/cjs/components/Image/schema.d.ts +33 -8
  46. package/build/cjs/components/Image/schema.js +22 -22
  47. package/build/cjs/components/Image/schema.js.map +1 -1
  48. package/build/cjs/components/index.d.ts +1 -0
  49. package/build/cjs/components/index.js +3 -1
  50. package/build/cjs/components/index.js.map +1 -1
  51. package/build/cjs/models/constructor-items/blocks.d.ts +6 -5
  52. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  53. package/build/cjs/models/constructor-items/common.d.ts +1 -1
  54. package/build/cjs/models/constructor-items/common.js.map +1 -1
  55. package/build/cjs/navigation/schema.d.ts +1 -2
  56. package/build/cjs/navigation/schema.js +1 -0
  57. package/build/cjs/navigation/schema.js.map +1 -1
  58. package/build/cjs/schema/constants.d.ts +940 -29
  59. package/build/cjs/schema/constants.js +36 -40
  60. package/build/cjs/schema/constants.js.map +1 -1
  61. package/build/cjs/schema/validators/common.d.ts +11 -8
  62. package/build/cjs/schema/validators/common.js +10 -6
  63. package/build/cjs/schema/validators/common.js.map +1 -1
  64. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +82 -2
  65. package/build/cjs/sub-blocks/BasicCard/schema.js +15 -1
  66. package/build/cjs/sub-blocks/BasicCard/schema.js.map +1 -1
  67. package/build/cjs/sub-blocks/Content/schema.d.ts +2 -5
  68. package/build/cjs/sub-blocks/Content/schema.js +1 -8
  69. package/build/cjs/sub-blocks/Content/schema.js.map +1 -1
  70. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +33 -17
  71. package/build/cjs/sub-blocks/ImageCard/schema.js +8 -1
  72. package/build/cjs/sub-blocks/ImageCard/schema.js.map +1 -1
  73. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  74. package/build/cjs/sub-blocks/LayoutItem/schema.js +40 -9
  75. package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
  76. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +2 -4
  77. package/build/cjs/sub-blocks/PriceCard/schema.d.ts +5 -0
  78. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -0
  79. package/build/cjs/sub-blocks/PriceDetailed/schema.js.map +1 -1
  80. package/build/cjs/sub-blocks/Quote/schema.d.ts +164 -6
  81. package/build/cjs/sub-blocks/Quote/schema.js +2 -0
  82. package/build/cjs/sub-blocks/Quote/schema.js.map +1 -1
  83. package/build/docs/blocks/Hero.md +15 -15
  84. package/build/docs/blocks/Icons.md +2 -2
  85. package/build/docs/blocks/Media.md +1 -1
  86. package/build/esm/blocks/Banner/schema.d.ts +3 -0
  87. package/build/esm/blocks/CardLayout/schema.d.ts +529 -195
  88. package/build/esm/blocks/CardLayout/schema.js +14 -15
  89. package/build/esm/blocks/CardLayout/schema.js.map +1 -1
  90. package/build/esm/blocks/Companies/schema.d.ts +88 -3
  91. package/build/esm/blocks/Companies/schema.js +5 -21
  92. package/build/esm/blocks/Companies/schema.js.map +1 -1
  93. package/build/esm/blocks/ContentLayout/schema.d.ts +258 -194
  94. package/build/esm/blocks/ContentLayout/schema.js +2 -2
  95. package/build/esm/blocks/ContentLayout/schema.js.map +1 -1
  96. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +311 -39
  97. package/build/esm/blocks/ExtendedFeatures/schema.js +17 -18
  98. package/build/esm/blocks/ExtendedFeatures/schema.js.map +1 -1
  99. package/build/esm/blocks/Footer/schema.d.ts +3 -6
  100. package/build/esm/blocks/Form/schema.d.ts +197 -15
  101. package/build/esm/blocks/Form/schema.js +17 -5
  102. package/build/esm/blocks/Form/schema.js.map +1 -1
  103. package/build/esm/blocks/Header/schema.d.ts +446 -191
  104. package/build/esm/blocks/Header/schema.js +19 -3
  105. package/build/esm/blocks/Header/schema.js.map +1 -1
  106. package/build/esm/blocks/HeaderSlider/schema.d.ts +150 -71
  107. package/build/esm/blocks/Hero/schema.d.ts +19 -437
  108. package/build/esm/blocks/Hero/schema.js +12 -3
  109. package/build/esm/blocks/Hero/schema.js.map +1 -1
  110. package/build/esm/blocks/Icons/Icons.js.map +1 -1
  111. package/build/esm/blocks/Icons/schema.js +1 -1
  112. package/build/esm/blocks/Icons/schema.js.map +1 -1
  113. package/build/esm/blocks/Info/schema.d.ts +49 -1
  114. package/build/esm/blocks/Info/schema.js +3 -3
  115. package/build/esm/blocks/Info/schema.js.map +1 -1
  116. package/build/esm/blocks/Map/schema.d.ts +7 -2
  117. package/build/esm/blocks/Map/schema.js +1 -1
  118. package/build/esm/blocks/Map/schema.js.map +1 -1
  119. package/build/esm/blocks/Media/schema.d.ts +20 -9
  120. package/build/esm/blocks/Media/schema.js +16 -3
  121. package/build/esm/blocks/Media/schema.js.map +1 -1
  122. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +2 -4
  123. package/build/esm/blocks/Table/schema.d.ts +1 -0
  124. package/build/esm/blocks/Table/schema.js +1 -0
  125. package/build/esm/blocks/Table/schema.js.map +1 -1
  126. package/build/esm/blocks/Tabs/schema.d.ts +7 -6
  127. package/build/esm/blocks/Tabs/schema.js +2 -2
  128. package/build/esm/blocks/Tabs/schema.js.map +1 -1
  129. package/build/esm/components/Author/schema.d.ts +1 -2
  130. package/build/esm/components/Image/schema.d.ts +33 -8
  131. package/build/esm/components/Image/schema.js +22 -22
  132. package/build/esm/components/Image/schema.js.map +1 -1
  133. package/build/esm/components/index.d.ts +1 -0
  134. package/build/esm/components/index.js +1 -0
  135. package/build/esm/components/index.js.map +1 -1
  136. package/build/esm/models/constructor-items/blocks.d.ts +6 -5
  137. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  138. package/build/esm/models/constructor-items/common.d.ts +1 -1
  139. package/build/esm/models/constructor-items/common.js.map +1 -1
  140. package/build/esm/navigation/schema.d.ts +1 -2
  141. package/build/esm/navigation/schema.js +2 -1
  142. package/build/esm/navigation/schema.js.map +1 -1
  143. package/build/esm/schema/constants.d.ts +940 -29
  144. package/build/esm/schema/constants.js +37 -41
  145. package/build/esm/schema/constants.js.map +1 -1
  146. package/build/esm/schema/validators/common.d.ts +11 -8
  147. package/build/esm/schema/validators/common.js +8 -4
  148. package/build/esm/schema/validators/common.js.map +1 -1
  149. package/build/esm/sub-blocks/BasicCard/schema.d.ts +82 -2
  150. package/build/esm/sub-blocks/BasicCard/schema.js +16 -2
  151. package/build/esm/sub-blocks/BasicCard/schema.js.map +1 -1
  152. package/build/esm/sub-blocks/Content/schema.d.ts +2 -5
  153. package/build/esm/sub-blocks/Content/schema.js +1 -8
  154. package/build/esm/sub-blocks/Content/schema.js.map +1 -1
  155. package/build/esm/sub-blocks/ImageCard/schema.d.ts +33 -17
  156. package/build/esm/sub-blocks/ImageCard/schema.js +9 -2
  157. package/build/esm/sub-blocks/ImageCard/schema.js.map +1 -1
  158. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  159. package/build/esm/sub-blocks/LayoutItem/schema.js +37 -6
  160. package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
  161. package/build/esm/sub-blocks/MediaCard/schema.d.ts +2 -4
  162. package/build/esm/sub-blocks/PriceCard/schema.d.ts +5 -0
  163. package/build/esm/sub-blocks/PriceDetailed/schema.js +2 -1
  164. package/build/esm/sub-blocks/PriceDetailed/schema.js.map +1 -1
  165. package/build/esm/sub-blocks/Quote/schema.d.ts +164 -6
  166. package/build/esm/sub-blocks/Quote/schema.js +3 -1
  167. package/build/esm/sub-blocks/Quote/schema.js.map +1 -1
  168. package/package.json +1 -1
  169. package/schema/index.js +1 -1
  170. package/server/models/constructor-items/blocks.d.ts +6 -5
  171. package/server/models/constructor-items/common.d.ts +1 -1
  172. package/widget/index.js +1 -1
@@ -1,3 +1,4 @@
1
+ import { Theme } from "../../models/index.js";
1
2
  export declare const HeaderVideoIframeProps: {
2
3
  type: string;
3
4
  additionalProperties: boolean;
@@ -22,77 +23,169 @@ export declare const HeaderBackgroundProps: {
22
23
  additionalProperties: boolean;
23
24
  required: never[];
24
25
  properties: {
25
- fullWidth: {
26
- type: string;
27
- };
28
- fullWidthMedia: {
29
- type: string;
30
- };
31
- color: {
32
- type: string;
33
- };
34
26
  image: {
35
27
  oneOf: ({
36
28
  optionName: string;
37
- oneOf: ({
38
- type: string;
39
- properties: {
40
- when: {
41
- type: string;
42
- };
29
+ type: string;
30
+ additionalProperties: boolean;
31
+ properties: {
32
+ src: {
33
+ type: string;
34
+ pattern: string;
43
35
  };
44
- } | {
45
- type: string;
46
- pattern: string;
47
- optionName: string;
48
- items?: undefined;
49
- } | {
50
- type: string;
51
- items: {
36
+ style: {
52
37
  type: string;
38
+ additionalProperties: boolean;
39
+ required: never[];
53
40
  properties: {
54
- when: {
41
+ backgroundColor: {
42
+ type: string;
43
+ };
44
+ height: {
45
+ type: string[];
46
+ };
47
+ width: {
48
+ type: string[];
49
+ };
50
+ color: {
55
51
  type: string;
56
52
  };
57
53
  };
58
54
  };
59
- optionName: string;
60
- pattern?: undefined;
61
- })[];
62
- type?: undefined;
63
- items?: undefined;
55
+ alt: {
56
+ type: string;
57
+ contentType: string;
58
+ };
59
+ disableCompress: {
60
+ type: string;
61
+ };
62
+ loading: {
63
+ type: string;
64
+ enum: string[];
65
+ };
66
+ fetchPriority: {
67
+ type: string;
68
+ enum: string[];
69
+ };
70
+ hide: {
71
+ oneOf: ({
72
+ type: string;
73
+ properties?: undefined;
74
+ } | {
75
+ type: string;
76
+ properties: {
77
+ mobile: {
78
+ type: string;
79
+ };
80
+ tablet: {
81
+ type: string;
82
+ };
83
+ desktop: {
84
+ type: string;
85
+ };
86
+ };
87
+ })[];
88
+ };
89
+ };
64
90
  } | {
65
- type: string;
66
- items: {
67
- oneOf: ({
91
+ properties: {
92
+ style: {
68
93
  type: string;
94
+ additionalProperties: boolean;
95
+ required: never[];
69
96
  properties: {
70
- when: {
97
+ backgroundColor: {
98
+ type: string;
99
+ };
100
+ height: {
101
+ type: string[];
102
+ };
103
+ width: {
104
+ type: string[];
105
+ };
106
+ color: {
71
107
  type: string;
72
108
  };
73
109
  };
74
- } | {
110
+ };
111
+ desktop: {
75
112
  type: string;
76
113
  pattern: string;
77
- optionName: string;
78
- items?: undefined;
79
- } | {
114
+ };
115
+ tablet: {
80
116
  type: string;
81
- items: {
117
+ pattern: string;
118
+ };
119
+ mobile: {
120
+ type: string;
121
+ pattern: string;
122
+ };
123
+ alt: {
124
+ type: string;
125
+ contentType: string;
126
+ };
127
+ disableCompress: {
128
+ type: string;
129
+ };
130
+ loading: {
131
+ type: string;
132
+ enum: string[];
133
+ };
134
+ fetchPriority: {
135
+ type: string;
136
+ enum: string[];
137
+ };
138
+ hide: {
139
+ oneOf: ({
140
+ type: string;
141
+ properties?: undefined;
142
+ } | {
82
143
  type: string;
83
144
  properties: {
84
- when: {
145
+ mobile: {
146
+ type: string;
147
+ };
148
+ tablet: {
149
+ type: string;
150
+ };
151
+ desktop: {
85
152
  type: string;
86
153
  };
87
154
  };
88
- };
89
- optionName: string;
90
- pattern?: undefined;
91
- })[];
155
+ })[];
156
+ };
92
157
  };
93
158
  optionName: string;
159
+ type: string;
160
+ additionalProperties: boolean;
161
+ required: import("../../models/index.js").Device[];
162
+ anyOf: {
163
+ required: import("../../models/index.js").Device[];
164
+ }[];
165
+ } | {
166
+ type: string;
167
+ pattern: string;
168
+ optionName: string;
94
169
  })[];
95
170
  };
171
+ /** @deprecated use `image` */
172
+ url: {
173
+ type: string;
174
+ pattern: string;
175
+ };
176
+ /** @deprecated use `image` */
177
+ disableCompress: {
178
+ type: string;
179
+ };
180
+ fullWidth: {
181
+ type: string;
182
+ };
183
+ fullWidthMedia: {
184
+ type: string;
185
+ };
186
+ color: {
187
+ type: string;
188
+ };
96
189
  disableImageSliderForArrayInput: {
97
190
  type: string;
98
191
  };
@@ -159,7 +252,7 @@ export declare const HeaderBackgroundProps: {
159
252
  };
160
253
  controls: {
161
254
  type: string;
162
- enum: import("../../index.js").MediaVideoControlsType[];
255
+ enum: import("../../models/index.js").MediaVideoControlsType[];
163
256
  };
164
257
  customControlsOptions: {
165
258
  type: string;
@@ -167,14 +260,14 @@ export declare const HeaderBackgroundProps: {
167
260
  properties: {
168
261
  type: {
169
262
  type: string;
170
- enum: import("../../index.js").CustomControlsType[];
263
+ enum: import("../../models/index.js").CustomControlsType[];
171
264
  };
172
265
  muteButtonShown: {
173
266
  type: string;
174
267
  };
175
268
  positioning: {
176
269
  type: string;
177
- enum: import("../../index.js").CustomControlsButtonPositioning[];
270
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
178
271
  };
179
272
  };
180
273
  };
@@ -384,9 +477,9 @@ export declare const HeaderProperties: {
384
477
  };
385
478
  };
386
479
  } | {
480
+ optionName: string;
387
481
  type: string;
388
482
  pattern: string;
389
- optionName: string;
390
483
  items?: undefined;
391
484
  } | {
392
485
  type: string;
@@ -399,14 +492,13 @@ export declare const HeaderProperties: {
399
492
  };
400
493
  };
401
494
  optionName: string;
402
- pattern?: undefined;
403
495
  })[];
404
496
  } & {
405
497
  optionName: string;
406
498
  }) | {
407
499
  type: string;
408
500
  additionalProperties: boolean;
409
- required: import("../../index.js").Theme[];
501
+ required: Theme[];
410
502
  properties: {};
411
503
  optionName: string;
412
504
  })[];
@@ -475,7 +567,7 @@ export declare const HeaderProperties: {
475
567
  };
476
568
  controls: {
477
569
  type: string;
478
- enum: import("../../index.js").MediaVideoControlsType[];
570
+ enum: import("../../models/index.js").MediaVideoControlsType[];
479
571
  };
480
572
  customControlsOptions: {
481
573
  type: string;
@@ -483,14 +575,14 @@ export declare const HeaderProperties: {
483
575
  properties: {
484
576
  type: {
485
577
  type: string;
486
- enum: import("../../index.js").CustomControlsType[];
578
+ enum: import("../../models/index.js").CustomControlsType[];
487
579
  };
488
580
  muteButtonShown: {
489
581
  type: string;
490
582
  };
491
583
  positioning: {
492
584
  type: string;
493
- enum: import("../../index.js").CustomControlsButtonPositioning[];
585
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
494
586
  };
495
587
  };
496
588
  };
@@ -506,39 +598,29 @@ export declare const HeaderProperties: {
506
598
  }) | {
507
599
  type: string;
508
600
  additionalProperties: boolean;
509
- required: import("../../index.js").Theme[];
601
+ required: Theme[];
510
602
  properties: {};
511
603
  optionName: string;
512
604
  })[];
513
605
  };
514
606
  videoIframe: {
515
- oneOf: (({
516
- type: string;
517
- additionalProperties: boolean;
518
- required: string[];
519
- properties: {
520
- src: {
521
- type: string;
522
- };
523
- autoplay: {
524
- type: string;
525
- };
526
- previewImg: {
527
- type: string;
528
- };
529
- height: {
530
- type: string;
531
- };
607
+ type: string;
608
+ additionalProperties: boolean;
609
+ required: string[];
610
+ properties: {
611
+ src: {
612
+ type: string;
532
613
  };
533
- } & {
534
- optionName: string;
535
- }) | {
536
- type: string;
537
- additionalProperties: boolean;
538
- required: import("../../index.js").Theme[];
539
- properties: {};
540
- optionName: string;
541
- })[];
614
+ autoplay: {
615
+ type: string;
616
+ };
617
+ previewImg: {
618
+ type: string;
619
+ };
620
+ height: {
621
+ type: string;
622
+ };
623
+ };
542
624
  };
543
625
  mediaView: {
544
626
  type: string;
@@ -571,77 +653,169 @@ export declare const HeaderProperties: {
571
653
  additionalProperties: boolean;
572
654
  required: never[];
573
655
  properties: {
574
- fullWidth: {
575
- type: string;
576
- };
577
- fullWidthMedia: {
578
- type: string;
579
- };
580
- color: {
581
- type: string;
582
- };
583
656
  image: {
584
657
  oneOf: ({
585
658
  optionName: string;
586
- oneOf: ({
587
- type: string;
588
- properties: {
589
- when: {
590
- type: string;
591
- };
659
+ type: string;
660
+ additionalProperties: boolean;
661
+ properties: {
662
+ src: {
663
+ type: string;
664
+ pattern: string;
592
665
  };
593
- } | {
594
- type: string;
595
- pattern: string;
596
- optionName: string;
597
- items?: undefined;
598
- } | {
599
- type: string;
600
- items: {
666
+ style: {
601
667
  type: string;
668
+ additionalProperties: boolean;
669
+ required: never[];
602
670
  properties: {
603
- when: {
671
+ backgroundColor: {
672
+ type: string;
673
+ };
674
+ height: {
675
+ type: string[];
676
+ };
677
+ width: {
678
+ type: string[];
679
+ };
680
+ color: {
604
681
  type: string;
605
682
  };
606
683
  };
607
684
  };
608
- optionName: string;
609
- pattern?: undefined;
610
- })[];
611
- type?: undefined;
612
- items?: undefined;
685
+ alt: {
686
+ type: string;
687
+ contentType: string;
688
+ };
689
+ disableCompress: {
690
+ type: string;
691
+ };
692
+ loading: {
693
+ type: string;
694
+ enum: string[];
695
+ };
696
+ fetchPriority: {
697
+ type: string;
698
+ enum: string[];
699
+ };
700
+ hide: {
701
+ oneOf: ({
702
+ type: string;
703
+ properties?: undefined;
704
+ } | {
705
+ type: string;
706
+ properties: {
707
+ mobile: {
708
+ type: string;
709
+ };
710
+ tablet: {
711
+ type: string;
712
+ };
713
+ desktop: {
714
+ type: string;
715
+ };
716
+ };
717
+ })[];
718
+ };
719
+ };
613
720
  } | {
614
- type: string;
615
- items: {
616
- oneOf: ({
721
+ properties: {
722
+ style: {
617
723
  type: string;
724
+ additionalProperties: boolean;
725
+ required: never[];
618
726
  properties: {
619
- when: {
727
+ backgroundColor: {
728
+ type: string;
729
+ };
730
+ height: {
731
+ type: string[];
732
+ };
733
+ width: {
734
+ type: string[];
735
+ };
736
+ color: {
620
737
  type: string;
621
738
  };
622
739
  };
623
- } | {
740
+ };
741
+ desktop: {
624
742
  type: string;
625
743
  pattern: string;
626
- optionName: string;
627
- items?: undefined;
628
- } | {
744
+ };
745
+ tablet: {
629
746
  type: string;
630
- items: {
747
+ pattern: string;
748
+ };
749
+ mobile: {
750
+ type: string;
751
+ pattern: string;
752
+ };
753
+ alt: {
754
+ type: string;
755
+ contentType: string;
756
+ };
757
+ disableCompress: {
758
+ type: string;
759
+ };
760
+ loading: {
761
+ type: string;
762
+ enum: string[];
763
+ };
764
+ fetchPriority: {
765
+ type: string;
766
+ enum: string[];
767
+ };
768
+ hide: {
769
+ oneOf: ({
770
+ type: string;
771
+ properties?: undefined;
772
+ } | {
631
773
  type: string;
632
774
  properties: {
633
- when: {
775
+ mobile: {
776
+ type: string;
777
+ };
778
+ tablet: {
779
+ type: string;
780
+ };
781
+ desktop: {
634
782
  type: string;
635
783
  };
636
784
  };
637
- };
638
- optionName: string;
639
- pattern?: undefined;
640
- })[];
785
+ })[];
786
+ };
641
787
  };
642
788
  optionName: string;
789
+ type: string;
790
+ additionalProperties: boolean;
791
+ required: import("../../models/index.js").Device[];
792
+ anyOf: {
793
+ required: import("../../models/index.js").Device[];
794
+ }[];
795
+ } | {
796
+ type: string;
797
+ pattern: string;
798
+ optionName: string;
643
799
  })[];
644
800
  };
801
+ /** @deprecated use `image` */
802
+ url: {
803
+ type: string;
804
+ pattern: string;
805
+ };
806
+ /** @deprecated use `image` */
807
+ disableCompress: {
808
+ type: string;
809
+ };
810
+ fullWidth: {
811
+ type: string;
812
+ };
813
+ fullWidthMedia: {
814
+ type: string;
815
+ };
816
+ color: {
817
+ type: string;
818
+ };
645
819
  disableImageSliderForArrayInput: {
646
820
  type: string;
647
821
  };
@@ -708,7 +882,7 @@ export declare const HeaderProperties: {
708
882
  };
709
883
  controls: {
710
884
  type: string;
711
- enum: import("../../index.js").MediaVideoControlsType[];
885
+ enum: import("../../models/index.js").MediaVideoControlsType[];
712
886
  };
713
887
  customControlsOptions: {
714
888
  type: string;
@@ -716,14 +890,14 @@ export declare const HeaderProperties: {
716
890
  properties: {
717
891
  type: {
718
892
  type: string;
719
- enum: import("../../index.js").CustomControlsType[];
893
+ enum: import("../../models/index.js").CustomControlsType[];
720
894
  };
721
895
  muteButtonShown: {
722
896
  type: string;
723
897
  };
724
898
  positioning: {
725
899
  type: string;
726
- enum: import("../../index.js").CustomControlsButtonPositioning[];
900
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
727
901
  };
728
902
  };
729
903
  };
@@ -889,7 +1063,7 @@ export declare const HeaderProperties: {
889
1063
  }) | {
890
1064
  type: string;
891
1065
  additionalProperties: boolean;
892
- required: import("../../index.js").Theme[];
1066
+ required: Theme[];
893
1067
  properties: {};
894
1068
  optionName: string;
895
1069
  })[];
@@ -985,9 +1159,9 @@ export declare const HeaderBlock: {
985
1159
  };
986
1160
  };
987
1161
  } | {
1162
+ optionName: string;
988
1163
  type: string;
989
1164
  pattern: string;
990
- optionName: string;
991
1165
  items?: undefined;
992
1166
  } | {
993
1167
  type: string;
@@ -1000,14 +1174,13 @@ export declare const HeaderBlock: {
1000
1174
  };
1001
1175
  };
1002
1176
  optionName: string;
1003
- pattern?: undefined;
1004
1177
  })[];
1005
1178
  } & {
1006
1179
  optionName: string;
1007
1180
  }) | {
1008
1181
  type: string;
1009
1182
  additionalProperties: boolean;
1010
- required: import("../../index.js").Theme[];
1183
+ required: Theme[];
1011
1184
  properties: {};
1012
1185
  optionName: string;
1013
1186
  })[];
@@ -1076,7 +1249,7 @@ export declare const HeaderBlock: {
1076
1249
  };
1077
1250
  controls: {
1078
1251
  type: string;
1079
- enum: import("../../index.js").MediaVideoControlsType[];
1252
+ enum: import("../../models/index.js").MediaVideoControlsType[];
1080
1253
  };
1081
1254
  customControlsOptions: {
1082
1255
  type: string;
@@ -1084,14 +1257,14 @@ export declare const HeaderBlock: {
1084
1257
  properties: {
1085
1258
  type: {
1086
1259
  type: string;
1087
- enum: import("../../index.js").CustomControlsType[];
1260
+ enum: import("../../models/index.js").CustomControlsType[];
1088
1261
  };
1089
1262
  muteButtonShown: {
1090
1263
  type: string;
1091
1264
  };
1092
1265
  positioning: {
1093
1266
  type: string;
1094
- enum: import("../../index.js").CustomControlsButtonPositioning[];
1267
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
1095
1268
  };
1096
1269
  };
1097
1270
  };
@@ -1107,39 +1280,29 @@ export declare const HeaderBlock: {
1107
1280
  }) | {
1108
1281
  type: string;
1109
1282
  additionalProperties: boolean;
1110
- required: import("../../index.js").Theme[];
1283
+ required: Theme[];
1111
1284
  properties: {};
1112
1285
  optionName: string;
1113
1286
  })[];
1114
1287
  };
1115
1288
  videoIframe: {
1116
- oneOf: (({
1117
- type: string;
1118
- additionalProperties: boolean;
1119
- required: string[];
1120
- properties: {
1121
- src: {
1122
- type: string;
1123
- };
1124
- autoplay: {
1125
- type: string;
1126
- };
1127
- previewImg: {
1128
- type: string;
1129
- };
1130
- height: {
1131
- type: string;
1132
- };
1289
+ type: string;
1290
+ additionalProperties: boolean;
1291
+ required: string[];
1292
+ properties: {
1293
+ src: {
1294
+ type: string;
1133
1295
  };
1134
- } & {
1135
- optionName: string;
1136
- }) | {
1137
- type: string;
1138
- additionalProperties: boolean;
1139
- required: import("../../index.js").Theme[];
1140
- properties: {};
1141
- optionName: string;
1142
- })[];
1296
+ autoplay: {
1297
+ type: string;
1298
+ };
1299
+ previewImg: {
1300
+ type: string;
1301
+ };
1302
+ height: {
1303
+ type: string;
1304
+ };
1305
+ };
1143
1306
  };
1144
1307
  mediaView: {
1145
1308
  type: string;
@@ -1172,77 +1335,169 @@ export declare const HeaderBlock: {
1172
1335
  additionalProperties: boolean;
1173
1336
  required: never[];
1174
1337
  properties: {
1175
- fullWidth: {
1176
- type: string;
1177
- };
1178
- fullWidthMedia: {
1179
- type: string;
1180
- };
1181
- color: {
1182
- type: string;
1183
- };
1184
1338
  image: {
1185
1339
  oneOf: ({
1186
1340
  optionName: string;
1187
- oneOf: ({
1188
- type: string;
1189
- properties: {
1190
- when: {
1191
- type: string;
1192
- };
1341
+ type: string;
1342
+ additionalProperties: boolean;
1343
+ properties: {
1344
+ src: {
1345
+ type: string;
1346
+ pattern: string;
1193
1347
  };
1194
- } | {
1195
- type: string;
1196
- pattern: string;
1197
- optionName: string;
1198
- items?: undefined;
1199
- } | {
1200
- type: string;
1201
- items: {
1348
+ style: {
1202
1349
  type: string;
1350
+ additionalProperties: boolean;
1351
+ required: never[];
1203
1352
  properties: {
1204
- when: {
1353
+ backgroundColor: {
1354
+ type: string;
1355
+ };
1356
+ height: {
1357
+ type: string[];
1358
+ };
1359
+ width: {
1360
+ type: string[];
1361
+ };
1362
+ color: {
1205
1363
  type: string;
1206
1364
  };
1207
1365
  };
1208
1366
  };
1209
- optionName: string;
1210
- pattern?: undefined;
1211
- })[];
1212
- type?: undefined;
1213
- items?: undefined;
1367
+ alt: {
1368
+ type: string;
1369
+ contentType: string;
1370
+ };
1371
+ disableCompress: {
1372
+ type: string;
1373
+ };
1374
+ loading: {
1375
+ type: string;
1376
+ enum: string[];
1377
+ };
1378
+ fetchPriority: {
1379
+ type: string;
1380
+ enum: string[];
1381
+ };
1382
+ hide: {
1383
+ oneOf: ({
1384
+ type: string;
1385
+ properties?: undefined;
1386
+ } | {
1387
+ type: string;
1388
+ properties: {
1389
+ mobile: {
1390
+ type: string;
1391
+ };
1392
+ tablet: {
1393
+ type: string;
1394
+ };
1395
+ desktop: {
1396
+ type: string;
1397
+ };
1398
+ };
1399
+ })[];
1400
+ };
1401
+ };
1214
1402
  } | {
1215
- type: string;
1216
- items: {
1217
- oneOf: ({
1403
+ properties: {
1404
+ style: {
1218
1405
  type: string;
1406
+ additionalProperties: boolean;
1407
+ required: never[];
1219
1408
  properties: {
1220
- when: {
1409
+ backgroundColor: {
1410
+ type: string;
1411
+ };
1412
+ height: {
1413
+ type: string[];
1414
+ };
1415
+ width: {
1416
+ type: string[];
1417
+ };
1418
+ color: {
1221
1419
  type: string;
1222
1420
  };
1223
1421
  };
1224
- } | {
1422
+ };
1423
+ desktop: {
1225
1424
  type: string;
1226
1425
  pattern: string;
1227
- optionName: string;
1228
- items?: undefined;
1229
- } | {
1426
+ };
1427
+ tablet: {
1230
1428
  type: string;
1231
- items: {
1429
+ pattern: string;
1430
+ };
1431
+ mobile: {
1432
+ type: string;
1433
+ pattern: string;
1434
+ };
1435
+ alt: {
1436
+ type: string;
1437
+ contentType: string;
1438
+ };
1439
+ disableCompress: {
1440
+ type: string;
1441
+ };
1442
+ loading: {
1443
+ type: string;
1444
+ enum: string[];
1445
+ };
1446
+ fetchPriority: {
1447
+ type: string;
1448
+ enum: string[];
1449
+ };
1450
+ hide: {
1451
+ oneOf: ({
1452
+ type: string;
1453
+ properties?: undefined;
1454
+ } | {
1232
1455
  type: string;
1233
1456
  properties: {
1234
- when: {
1457
+ mobile: {
1458
+ type: string;
1459
+ };
1460
+ tablet: {
1461
+ type: string;
1462
+ };
1463
+ desktop: {
1235
1464
  type: string;
1236
1465
  };
1237
1466
  };
1238
- };
1239
- optionName: string;
1240
- pattern?: undefined;
1241
- })[];
1467
+ })[];
1468
+ };
1242
1469
  };
1243
1470
  optionName: string;
1471
+ type: string;
1472
+ additionalProperties: boolean;
1473
+ required: import("../../models/index.js").Device[];
1474
+ anyOf: {
1475
+ required: import("../../models/index.js").Device[];
1476
+ }[];
1477
+ } | {
1478
+ type: string;
1479
+ pattern: string;
1480
+ optionName: string;
1244
1481
  })[];
1245
1482
  };
1483
+ /** @deprecated use `image` */
1484
+ url: {
1485
+ type: string;
1486
+ pattern: string;
1487
+ };
1488
+ /** @deprecated use `image` */
1489
+ disableCompress: {
1490
+ type: string;
1491
+ };
1492
+ fullWidth: {
1493
+ type: string;
1494
+ };
1495
+ fullWidthMedia: {
1496
+ type: string;
1497
+ };
1498
+ color: {
1499
+ type: string;
1500
+ };
1246
1501
  disableImageSliderForArrayInput: {
1247
1502
  type: string;
1248
1503
  };
@@ -1309,7 +1564,7 @@ export declare const HeaderBlock: {
1309
1564
  };
1310
1565
  controls: {
1311
1566
  type: string;
1312
- enum: import("../../index.js").MediaVideoControlsType[];
1567
+ enum: import("../../models/index.js").MediaVideoControlsType[];
1313
1568
  };
1314
1569
  customControlsOptions: {
1315
1570
  type: string;
@@ -1317,14 +1572,14 @@ export declare const HeaderBlock: {
1317
1572
  properties: {
1318
1573
  type: {
1319
1574
  type: string;
1320
- enum: import("../../index.js").CustomControlsType[];
1575
+ enum: import("../../models/index.js").CustomControlsType[];
1321
1576
  };
1322
1577
  muteButtonShown: {
1323
1578
  type: string;
1324
1579
  };
1325
1580
  positioning: {
1326
1581
  type: string;
1327
- enum: import("../../index.js").CustomControlsButtonPositioning[];
1582
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
1328
1583
  };
1329
1584
  };
1330
1585
  };
@@ -1490,7 +1745,7 @@ export declare const HeaderBlock: {
1490
1745
  }) | {
1491
1746
  type: string;
1492
1747
  additionalProperties: boolean;
1493
- required: import("../../index.js").Theme[];
1748
+ required: Theme[];
1494
1749
  properties: {};
1495
1750
  optionName: string;
1496
1751
  })[];