@gravity-ui/page-constructor 8.19.0 → 8.20.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.
Files changed (166) 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/models/constructor-items/blocks.d.ts +6 -5
  49. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  50. package/build/cjs/models/constructor-items/common.d.ts +1 -1
  51. package/build/cjs/models/constructor-items/common.js.map +1 -1
  52. package/build/cjs/navigation/schema.d.ts +1 -2
  53. package/build/cjs/navigation/schema.js +1 -0
  54. package/build/cjs/navigation/schema.js.map +1 -1
  55. package/build/cjs/schema/constants.d.ts +940 -29
  56. package/build/cjs/schema/constants.js +36 -40
  57. package/build/cjs/schema/constants.js.map +1 -1
  58. package/build/cjs/schema/validators/common.d.ts +11 -8
  59. package/build/cjs/schema/validators/common.js +10 -6
  60. package/build/cjs/schema/validators/common.js.map +1 -1
  61. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +82 -2
  62. package/build/cjs/sub-blocks/BasicCard/schema.js +15 -1
  63. package/build/cjs/sub-blocks/BasicCard/schema.js.map +1 -1
  64. package/build/cjs/sub-blocks/Content/schema.d.ts +2 -5
  65. package/build/cjs/sub-blocks/Content/schema.js +1 -8
  66. package/build/cjs/sub-blocks/Content/schema.js.map +1 -1
  67. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +33 -17
  68. package/build/cjs/sub-blocks/ImageCard/schema.js +8 -1
  69. package/build/cjs/sub-blocks/ImageCard/schema.js.map +1 -1
  70. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  71. package/build/cjs/sub-blocks/LayoutItem/schema.js +40 -9
  72. package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
  73. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +2 -4
  74. package/build/cjs/sub-blocks/PriceCard/schema.d.ts +5 -0
  75. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -0
  76. package/build/cjs/sub-blocks/PriceDetailed/schema.js.map +1 -1
  77. package/build/cjs/sub-blocks/Quote/schema.d.ts +164 -6
  78. package/build/cjs/sub-blocks/Quote/schema.js +2 -0
  79. package/build/cjs/sub-blocks/Quote/schema.js.map +1 -1
  80. package/build/docs/blocks/Hero.md +15 -15
  81. package/build/docs/blocks/Icons.md +2 -2
  82. package/build/docs/blocks/Media.md +1 -1
  83. package/build/esm/blocks/Banner/schema.d.ts +3 -0
  84. package/build/esm/blocks/CardLayout/schema.d.ts +529 -195
  85. package/build/esm/blocks/CardLayout/schema.js +14 -15
  86. package/build/esm/blocks/CardLayout/schema.js.map +1 -1
  87. package/build/esm/blocks/Companies/schema.d.ts +88 -3
  88. package/build/esm/blocks/Companies/schema.js +5 -21
  89. package/build/esm/blocks/Companies/schema.js.map +1 -1
  90. package/build/esm/blocks/ContentLayout/schema.d.ts +258 -194
  91. package/build/esm/blocks/ContentLayout/schema.js +2 -2
  92. package/build/esm/blocks/ContentLayout/schema.js.map +1 -1
  93. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +311 -39
  94. package/build/esm/blocks/ExtendedFeatures/schema.js +17 -18
  95. package/build/esm/blocks/ExtendedFeatures/schema.js.map +1 -1
  96. package/build/esm/blocks/Footer/schema.d.ts +3 -6
  97. package/build/esm/blocks/Form/schema.d.ts +197 -15
  98. package/build/esm/blocks/Form/schema.js +17 -5
  99. package/build/esm/blocks/Form/schema.js.map +1 -1
  100. package/build/esm/blocks/Header/schema.d.ts +446 -191
  101. package/build/esm/blocks/Header/schema.js +19 -3
  102. package/build/esm/blocks/Header/schema.js.map +1 -1
  103. package/build/esm/blocks/HeaderSlider/schema.d.ts +150 -71
  104. package/build/esm/blocks/Hero/schema.d.ts +19 -437
  105. package/build/esm/blocks/Hero/schema.js +12 -3
  106. package/build/esm/blocks/Hero/schema.js.map +1 -1
  107. package/build/esm/blocks/Icons/Icons.js.map +1 -1
  108. package/build/esm/blocks/Icons/schema.js +1 -1
  109. package/build/esm/blocks/Icons/schema.js.map +1 -1
  110. package/build/esm/blocks/Info/schema.d.ts +49 -1
  111. package/build/esm/blocks/Info/schema.js +3 -3
  112. package/build/esm/blocks/Info/schema.js.map +1 -1
  113. package/build/esm/blocks/Map/schema.d.ts +7 -2
  114. package/build/esm/blocks/Map/schema.js +1 -1
  115. package/build/esm/blocks/Map/schema.js.map +1 -1
  116. package/build/esm/blocks/Media/schema.d.ts +20 -9
  117. package/build/esm/blocks/Media/schema.js +16 -3
  118. package/build/esm/blocks/Media/schema.js.map +1 -1
  119. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +2 -4
  120. package/build/esm/blocks/Table/schema.d.ts +1 -0
  121. package/build/esm/blocks/Table/schema.js +1 -0
  122. package/build/esm/blocks/Table/schema.js.map +1 -1
  123. package/build/esm/blocks/Tabs/schema.d.ts +7 -6
  124. package/build/esm/blocks/Tabs/schema.js +2 -2
  125. package/build/esm/blocks/Tabs/schema.js.map +1 -1
  126. package/build/esm/components/Author/schema.d.ts +1 -2
  127. package/build/esm/components/Image/schema.d.ts +33 -8
  128. package/build/esm/components/Image/schema.js +22 -22
  129. package/build/esm/components/Image/schema.js.map +1 -1
  130. package/build/esm/models/constructor-items/blocks.d.ts +6 -5
  131. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  132. package/build/esm/models/constructor-items/common.d.ts +1 -1
  133. package/build/esm/models/constructor-items/common.js.map +1 -1
  134. package/build/esm/navigation/schema.d.ts +1 -2
  135. package/build/esm/navigation/schema.js +2 -1
  136. package/build/esm/navigation/schema.js.map +1 -1
  137. package/build/esm/schema/constants.d.ts +940 -29
  138. package/build/esm/schema/constants.js +37 -41
  139. package/build/esm/schema/constants.js.map +1 -1
  140. package/build/esm/schema/validators/common.d.ts +11 -8
  141. package/build/esm/schema/validators/common.js +8 -4
  142. package/build/esm/schema/validators/common.js.map +1 -1
  143. package/build/esm/sub-blocks/BasicCard/schema.d.ts +82 -2
  144. package/build/esm/sub-blocks/BasicCard/schema.js +16 -2
  145. package/build/esm/sub-blocks/BasicCard/schema.js.map +1 -1
  146. package/build/esm/sub-blocks/Content/schema.d.ts +2 -5
  147. package/build/esm/sub-blocks/Content/schema.js +1 -8
  148. package/build/esm/sub-blocks/Content/schema.js.map +1 -1
  149. package/build/esm/sub-blocks/ImageCard/schema.d.ts +33 -17
  150. package/build/esm/sub-blocks/ImageCard/schema.js +9 -2
  151. package/build/esm/sub-blocks/ImageCard/schema.js.map +1 -1
  152. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  153. package/build/esm/sub-blocks/LayoutItem/schema.js +37 -6
  154. package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
  155. package/build/esm/sub-blocks/MediaCard/schema.d.ts +2 -4
  156. package/build/esm/sub-blocks/PriceCard/schema.d.ts +5 -0
  157. package/build/esm/sub-blocks/PriceDetailed/schema.js +2 -1
  158. package/build/esm/sub-blocks/PriceDetailed/schema.js.map +1 -1
  159. package/build/esm/sub-blocks/Quote/schema.d.ts +164 -6
  160. package/build/esm/sub-blocks/Quote/schema.js +3 -1
  161. package/build/esm/sub-blocks/Quote/schema.js.map +1 -1
  162. package/package.json +1 -1
  163. package/schema/index.js +1 -1
  164. package/server/models/constructor-items/blocks.d.ts +6 -5
  165. package/server/models/constructor-items/common.d.ts +1 -1
  166. package/widget/index.js +1 -1
@@ -1,45 +1,20 @@
1
+ import { IconPosition } from "../../models/index.js";
1
2
  export declare const LayoutItem: {
2
3
  type: string;
3
4
  additionalProperties: boolean;
4
5
  required: string[];
5
6
  properties: {
6
7
  media: {
7
- color: {
8
- type: string;
9
- };
10
- image: {
11
- oneOf: ({
12
- optionName: string;
8
+ type: string;
9
+ additionalProperties: boolean;
10
+ required: never[];
11
+ properties: {
12
+ color: {
13
+ type: string;
14
+ };
15
+ image: {
13
16
  oneOf: ({
14
- type: string;
15
- properties: {
16
- when: {
17
- type: string;
18
- };
19
- };
20
- } | {
21
- type: string;
22
- pattern: string;
23
17
  optionName: string;
24
- items?: undefined;
25
- } | {
26
- type: string;
27
- items: {
28
- type: string;
29
- properties: {
30
- when: {
31
- type: string;
32
- };
33
- };
34
- };
35
- optionName: string;
36
- pattern?: undefined;
37
- })[];
38
- type?: undefined;
39
- items?: undefined;
40
- } | {
41
- type: string;
42
- items: {
43
18
  oneOf: ({
44
19
  type: string;
45
20
  properties: {
@@ -48,9 +23,9 @@ export declare const LayoutItem: {
48
23
  };
49
24
  };
50
25
  } | {
26
+ optionName: string;
51
27
  type: string;
52
28
  pattern: string;
53
- optionName: string;
54
29
  items?: undefined;
55
30
  } | {
56
31
  type: string;
@@ -63,186 +38,176 @@ export declare const LayoutItem: {
63
38
  };
64
39
  };
65
40
  optionName: string;
66
- pattern?: undefined;
67
41
  })[];
68
- };
69
- optionName: string;
70
- })[];
71
- };
72
- disableImageSliderForArrayInput: {
73
- type: string;
74
- };
75
- video: {
76
- type: string;
77
- additionalProperties: boolean;
78
- required: string[];
79
- properties: {
80
- src: {
42
+ type?: undefined;
43
+ items?: undefined;
44
+ } | {
81
45
  type: string;
82
46
  items: {
83
- type: string;
84
- };
85
- };
86
- loop: {
87
- oneOf: ({
88
- optionName: string;
89
- type: string;
90
- additionalProperties: boolean;
91
- required: string[];
92
- properties: {
93
- start: {
94
- type: string;
95
- };
96
- end: {
97
- type: string;
98
- };
99
- };
100
- } | {
101
- type: string;
102
- optionName: string;
103
- })[];
104
- };
105
- type: {
106
- type: string;
107
- enum: string[];
108
- };
109
- muted: {
110
- type: string;
111
- };
112
- autoplay: {
113
- type: string;
114
- };
115
- elapsedTime: {
116
- type: string;
117
- };
118
- playButton: {
119
- type: string;
120
- additionalProperties: boolean;
121
- properties: {
122
- type: {
123
- type: string;
124
- enum: string[];
125
- };
126
- theme: {
127
- type: string;
128
- enum: string[];
129
- };
130
- text: {
131
- type: string;
132
- contentType: string;
133
- };
134
- };
135
- };
136
- controls: {
137
- type: string;
138
- enum: import("../../index.js").MediaVideoControlsType[];
139
- };
140
- customControlsOptions: {
141
- type: string;
142
- additionalProperties: boolean;
143
- properties: {
144
- type: {
47
+ oneOf: ({
145
48
  type: string;
146
- enum: import("../../index.js").CustomControlsType[];
147
- };
148
- muteButtonShown: {
49
+ properties: {
50
+ when: {
51
+ type: string;
52
+ };
53
+ };
54
+ } | {
55
+ optionName: string;
149
56
  type: string;
150
- };
151
- positioning: {
57
+ pattern: string;
58
+ items?: undefined;
59
+ } | {
152
60
  type: string;
153
- enum: import("../../index.js").CustomControlsButtonPositioning[];
154
- };
61
+ items: {
62
+ type: string;
63
+ properties: {
64
+ when: {
65
+ type: string;
66
+ };
67
+ };
68
+ };
69
+ optionName: string;
70
+ })[];
155
71
  };
156
- };
157
- ariaLabel: {
158
- type: string;
159
- };
160
- contain: {
161
- type: string;
162
- };
72
+ optionName: string;
73
+ })[];
163
74
  };
164
- };
165
- youtube: {
166
- type: string;
167
- };
168
- videoIframe: {
169
- type: string;
170
- };
171
- autoplay: {
172
- type: string;
173
- };
174
- parallax: {
175
- type: string;
176
- };
177
- height: {
178
- type: string;
179
- };
180
- previewImg: {
181
- type: string;
182
- };
183
- dataLens: {
184
- oneOf: ({
75
+ disableImageSliderForArrayInput: {
185
76
  type: string;
186
- optionName: string;
187
- } | {
188
- optionName: string;
77
+ };
78
+ video: {
189
79
  type: string;
190
80
  additionalProperties: boolean;
191
81
  required: string[];
192
82
  properties: {
193
- id: {
83
+ src: {
194
84
  type: string;
85
+ items: {
86
+ type: string;
87
+ };
88
+ };
89
+ loop: {
90
+ oneOf: ({
91
+ optionName: string;
92
+ type: string;
93
+ additionalProperties: boolean;
94
+ required: string[];
95
+ properties: {
96
+ start: {
97
+ type: string;
98
+ };
99
+ end: {
100
+ type: string;
101
+ };
102
+ };
103
+ } | {
104
+ type: string;
105
+ optionName: string;
106
+ })[];
195
107
  };
196
- theme: {
108
+ type: {
197
109
  type: string;
198
110
  enum: string[];
199
111
  };
200
- };
201
- })[];
202
- };
203
- fullscreen: {
204
- type: string;
205
- };
206
- analyticsEvents: {
207
- anyOf: ({
208
- type: string;
209
- additionalProperties: {
210
- type: string;
211
- };
212
- required: string[];
213
- properties: {
214
- name: {
112
+ muted: {
215
113
  type: string;
216
114
  };
217
- type: {
115
+ autoplay: {
218
116
  type: string;
219
117
  };
220
- counters: {
118
+ elapsedTime: {
119
+ type: string;
120
+ };
121
+ playButton: {
221
122
  type: string;
222
123
  additionalProperties: boolean;
223
- required: never[];
224
124
  properties: {
225
- include: {
125
+ type: {
226
126
  type: string;
227
- items: {
228
- type: string;
229
- };
127
+ enum: string[];
230
128
  };
231
- exclude: {
129
+ theme: {
232
130
  type: string;
233
- items: {
234
- type: string;
235
- };
131
+ enum: string[];
132
+ };
133
+ text: {
134
+ type: string;
135
+ contentType: string;
236
136
  };
237
137
  };
238
138
  };
239
- context: {
139
+ controls: {
140
+ type: string;
141
+ enum: import("../../models/index.js").MediaVideoControlsType[];
142
+ };
143
+ customControlsOptions: {
144
+ type: string;
145
+ additionalProperties: boolean;
146
+ properties: {
147
+ type: {
148
+ type: string;
149
+ enum: import("../../models/index.js").CustomControlsType[];
150
+ };
151
+ muteButtonShown: {
152
+ type: string;
153
+ };
154
+ positioning: {
155
+ type: string;
156
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
157
+ };
158
+ };
159
+ };
160
+ ariaLabel: {
161
+ type: string;
162
+ };
163
+ contain: {
240
164
  type: string;
241
165
  };
242
166
  };
243
- } | {
167
+ };
168
+ youtube: {
244
169
  type: string;
245
- items: {
170
+ };
171
+ videoIframe: {
172
+ type: string;
173
+ };
174
+ autoplay: {
175
+ type: string;
176
+ };
177
+ parallax: {
178
+ type: string;
179
+ };
180
+ height: {
181
+ type: string;
182
+ };
183
+ previewImg: {
184
+ type: string;
185
+ };
186
+ dataLens: {
187
+ oneOf: ({
188
+ type: string;
189
+ optionName: string;
190
+ } | {
191
+ optionName: string;
192
+ type: string;
193
+ additionalProperties: boolean;
194
+ required: string[];
195
+ properties: {
196
+ id: {
197
+ type: string;
198
+ };
199
+ theme: {
200
+ type: string;
201
+ enum: string[];
202
+ };
203
+ };
204
+ })[];
205
+ };
206
+ fullscreen: {
207
+ type: string;
208
+ };
209
+ analyticsEvents: {
210
+ anyOf: ({
246
211
  type: string;
247
212
  additionalProperties: {
248
213
  type: string;
@@ -278,108 +243,113 @@ export declare const LayoutItem: {
278
243
  type: string;
279
244
  };
280
245
  };
281
- };
282
- })[];
283
- };
284
- ratio: {
285
- type: string[];
286
- pattern: string;
287
- };
288
- iframe: {
289
- type: string;
290
- additionalProperties: boolean;
291
- required: string[];
292
- properties: {
293
- src: {
294
- type: string;
295
- };
296
- name: {
297
- type: string;
298
- };
299
- title: {
246
+ } | {
300
247
  type: string;
301
- };
302
- height: {
303
- type: string;
304
- };
305
- width: {
306
- type: string;
307
- };
248
+ items: {
249
+ type: string;
250
+ additionalProperties: {
251
+ type: string;
252
+ };
253
+ required: string[];
254
+ properties: {
255
+ name: {
256
+ type: string;
257
+ };
258
+ type: {
259
+ type: string;
260
+ };
261
+ counters: {
262
+ type: string;
263
+ additionalProperties: boolean;
264
+ required: never[];
265
+ properties: {
266
+ include: {
267
+ type: string;
268
+ items: {
269
+ type: string;
270
+ };
271
+ };
272
+ exclude: {
273
+ type: string;
274
+ items: {
275
+ type: string;
276
+ };
277
+ };
278
+ };
279
+ };
280
+ context: {
281
+ type: string;
282
+ };
283
+ };
284
+ };
285
+ })[];
308
286
  };
309
- };
310
- margins: {
311
- type: string;
312
- };
313
- };
314
- content: Partial<{
315
- title: {
316
- oneOf: ({
317
- type: string;
318
- contentType: string;
319
- optionName: string;
320
- } | {
321
- optionName: string;
287
+ ratio: {
288
+ type: string[];
289
+ pattern: string;
290
+ };
291
+ iframe: {
322
292
  type: string;
323
293
  additionalProperties: boolean;
324
294
  required: string[];
325
295
  properties: {
326
- text: {
296
+ src: {
327
297
  type: string;
328
- contentType: string;
329
298
  };
330
- textSize: {
299
+ name: {
331
300
  type: string;
332
- enum: string[];
333
301
  };
334
- url: {
302
+ title: {
335
303
  type: string;
336
304
  };
337
- urlTitle: {
305
+ height: {
338
306
  type: string;
339
307
  };
340
- resetMargin: {
308
+ width: {
341
309
  type: string;
342
310
  };
343
- analyticsEvents: {
344
- anyOf: ({
311
+ };
312
+ };
313
+ margins: {
314
+ type: string;
315
+ };
316
+ };
317
+ };
318
+ content: {
319
+ type: string;
320
+ additionalProperties: boolean;
321
+ required: never[];
322
+ properties: {
323
+ title: {
324
+ oneOf: ({
325
+ type: string;
326
+ contentType: string;
327
+ optionName: string;
328
+ } | {
329
+ optionName: string;
330
+ type: string;
331
+ additionalProperties: boolean;
332
+ required: string[];
333
+ properties: {
334
+ text: {
345
335
  type: string;
346
- additionalProperties: {
347
- type: string;
348
- };
349
- required: string[];
350
- properties: {
351
- name: {
352
- type: string;
353
- };
354
- type: {
355
- type: string;
356
- };
357
- counters: {
358
- type: string;
359
- additionalProperties: boolean;
360
- required: never[];
361
- properties: {
362
- include: {
363
- type: string;
364
- items: {
365
- type: string;
366
- };
367
- };
368
- exclude: {
369
- type: string;
370
- items: {
371
- type: string;
372
- };
373
- };
374
- };
375
- };
376
- context: {
377
- type: string;
378
- };
379
- };
380
- } | {
336
+ contentType: string;
337
+ };
338
+ textSize: {
381
339
  type: string;
382
- items: {
340
+ enum: string[];
341
+ };
342
+ url: {
343
+ type: string;
344
+ };
345
+ urlTitle: {
346
+ type: string;
347
+ };
348
+ resetMargin: {
349
+ type: string;
350
+ };
351
+ analyticsEvents: {
352
+ anyOf: ({
383
353
  type: string;
384
354
  additionalProperties: {
385
355
  type: string;
@@ -415,68 +385,107 @@ export declare const LayoutItem: {
415
385
  type: string;
416
386
  };
417
387
  };
418
- };
419
- })[];
388
+ } | {
389
+ type: string;
390
+ items: {
391
+ type: string;
392
+ additionalProperties: {
393
+ type: string;
394
+ };
395
+ required: string[];
396
+ properties: {
397
+ name: {
398
+ type: string;
399
+ };
400
+ type: {
401
+ type: string;
402
+ };
403
+ counters: {
404
+ type: string;
405
+ additionalProperties: boolean;
406
+ required: never[];
407
+ properties: {
408
+ include: {
409
+ type: string;
410
+ items: {
411
+ type: string;
412
+ };
413
+ };
414
+ exclude: {
415
+ type: string;
416
+ items: {
417
+ type: string;
418
+ };
419
+ };
420
+ };
421
+ };
422
+ context: {
423
+ type: string;
424
+ };
425
+ };
426
+ };
427
+ })[];
428
+ };
420
429
  };
421
- };
422
- contentType?: undefined;
423
- })[];
424
- };
425
- text: {
426
- type: string;
427
- contentType: string;
428
- inputType: string;
429
- };
430
- additionalInfo: {
431
- type: string;
432
- contentType: string;
433
- };
434
- size: {
435
- type: string;
436
- enum: string[];
437
- };
438
- links: {
439
- type: string;
440
- items: {
430
+ contentType?: undefined;
431
+ })[];
432
+ };
433
+ text: {
441
434
  type: string;
442
- properties: {
443
- when: {
444
- type: string;
435
+ contentType: string;
436
+ inputType: string;
437
+ };
438
+ additionalInfo: {
439
+ type: string;
440
+ contentType: string;
441
+ };
442
+ size: {
443
+ type: string;
444
+ enum: string[];
445
+ };
446
+ links: {
447
+ type: string;
448
+ items: {
449
+ type: string;
450
+ properties: {
451
+ when: {
452
+ type: string;
453
+ };
445
454
  };
446
455
  };
447
456
  };
448
- };
449
- buttons: {
450
- type: string;
451
- items: {
457
+ buttons: {
452
458
  type: string;
453
- properties: {
454
- when: {
455
- type: string;
459
+ items: {
460
+ type: string;
461
+ properties: {
462
+ when: {
463
+ type: string;
464
+ };
456
465
  };
457
466
  };
458
467
  };
459
- };
460
- theme: {
461
- type: string;
462
- enum: string[];
463
- };
464
- list: {
465
- type: string;
466
- items: {
468
+ theme: {
467
469
  type: string;
468
- properties: {
469
- when: {
470
- type: string;
470
+ enum: string[];
471
+ };
472
+ list: {
473
+ type: string;
474
+ items: {
475
+ type: string;
476
+ properties: {
477
+ when: {
478
+ type: string;
479
+ };
471
480
  };
472
481
  };
473
482
  };
483
+ controlPosition: {
484
+ type: string;
485
+ enum: string[];
486
+ };
474
487
  };
475
- controlPosition: {
476
- type: string;
477
- enum: string[];
478
- };
479
- }>;
488
+ };
480
489
  contentMargin: {
481
490
  type: string;
482
491
  enum: string[];
@@ -495,6 +504,53 @@ export declare const LayoutItem: {
495
504
  fullscreen: {
496
505
  type: string;
497
506
  };
507
+ icon: {
508
+ oneOf: (({
509
+ type: string;
510
+ additionalProperties: boolean;
511
+ required: string[];
512
+ properties: {
513
+ value: {
514
+ oneOf: ({
515
+ type: string;
516
+ properties: {
517
+ when: {
518
+ type: string;
519
+ };
520
+ };
521
+ } | {
522
+ optionName: string;
523
+ type: string;
524
+ pattern: string;
525
+ items?: undefined;
526
+ } | {
527
+ type: string;
528
+ items: {
529
+ type: string;
530
+ properties: {
531
+ when: {
532
+ type: string;
533
+ };
534
+ };
535
+ };
536
+ optionName: string;
537
+ })[];
538
+ };
539
+ position: {
540
+ type: string;
541
+ enum: IconPosition[];
542
+ };
543
+ };
544
+ } & {
545
+ optionName: string;
546
+ }) | {
547
+ type: string;
548
+ additionalProperties: boolean;
549
+ required: import("../../models/index.js").Theme[];
550
+ properties: {};
551
+ optionName: string;
552
+ })[];
553
+ };
498
554
  url: {
499
555
  type: string;
500
556
  };
@@ -596,3 +652,658 @@ export declare const LayoutItem: {
596
652
  };
597
653
  };
598
654
  };
655
+ export declare const LayoutItemBlock: {
656
+ 'layout-item': {
657
+ type: string;
658
+ additionalProperties: boolean;
659
+ required: string[];
660
+ properties: {
661
+ media: {
662
+ type: string;
663
+ additionalProperties: boolean;
664
+ required: never[];
665
+ properties: {
666
+ color: {
667
+ type: string;
668
+ };
669
+ image: {
670
+ oneOf: ({
671
+ optionName: string;
672
+ oneOf: ({
673
+ type: string;
674
+ properties: {
675
+ when: {
676
+ type: string;
677
+ };
678
+ };
679
+ } | {
680
+ optionName: string;
681
+ type: string;
682
+ pattern: string;
683
+ items?: undefined;
684
+ } | {
685
+ type: string;
686
+ items: {
687
+ type: string;
688
+ properties: {
689
+ when: {
690
+ type: string;
691
+ };
692
+ };
693
+ };
694
+ optionName: string;
695
+ })[];
696
+ type?: undefined;
697
+ items?: undefined;
698
+ } | {
699
+ type: string;
700
+ items: {
701
+ oneOf: ({
702
+ type: string;
703
+ properties: {
704
+ when: {
705
+ type: string;
706
+ };
707
+ };
708
+ } | {
709
+ optionName: string;
710
+ type: string;
711
+ pattern: string;
712
+ items?: undefined;
713
+ } | {
714
+ type: string;
715
+ items: {
716
+ type: string;
717
+ properties: {
718
+ when: {
719
+ type: string;
720
+ };
721
+ };
722
+ };
723
+ optionName: string;
724
+ })[];
725
+ };
726
+ optionName: string;
727
+ })[];
728
+ };
729
+ disableImageSliderForArrayInput: {
730
+ type: string;
731
+ };
732
+ video: {
733
+ type: string;
734
+ additionalProperties: boolean;
735
+ required: string[];
736
+ properties: {
737
+ src: {
738
+ type: string;
739
+ items: {
740
+ type: string;
741
+ };
742
+ };
743
+ loop: {
744
+ oneOf: ({
745
+ optionName: string;
746
+ type: string;
747
+ additionalProperties: boolean;
748
+ required: string[];
749
+ properties: {
750
+ start: {
751
+ type: string;
752
+ };
753
+ end: {
754
+ type: string;
755
+ };
756
+ };
757
+ } | {
758
+ type: string;
759
+ optionName: string;
760
+ })[];
761
+ };
762
+ type: {
763
+ type: string;
764
+ enum: string[];
765
+ };
766
+ muted: {
767
+ type: string;
768
+ };
769
+ autoplay: {
770
+ type: string;
771
+ };
772
+ elapsedTime: {
773
+ type: string;
774
+ };
775
+ playButton: {
776
+ type: string;
777
+ additionalProperties: boolean;
778
+ properties: {
779
+ type: {
780
+ type: string;
781
+ enum: string[];
782
+ };
783
+ theme: {
784
+ type: string;
785
+ enum: string[];
786
+ };
787
+ text: {
788
+ type: string;
789
+ contentType: string;
790
+ };
791
+ };
792
+ };
793
+ controls: {
794
+ type: string;
795
+ enum: import("../../models/index.js").MediaVideoControlsType[];
796
+ };
797
+ customControlsOptions: {
798
+ type: string;
799
+ additionalProperties: boolean;
800
+ properties: {
801
+ type: {
802
+ type: string;
803
+ enum: import("../../models/index.js").CustomControlsType[];
804
+ };
805
+ muteButtonShown: {
806
+ type: string;
807
+ };
808
+ positioning: {
809
+ type: string;
810
+ enum: import("../../models/index.js").CustomControlsButtonPositioning[];
811
+ };
812
+ };
813
+ };
814
+ ariaLabel: {
815
+ type: string;
816
+ };
817
+ contain: {
818
+ type: string;
819
+ };
820
+ };
821
+ };
822
+ youtube: {
823
+ type: string;
824
+ };
825
+ videoIframe: {
826
+ type: string;
827
+ };
828
+ autoplay: {
829
+ type: string;
830
+ };
831
+ parallax: {
832
+ type: string;
833
+ };
834
+ height: {
835
+ type: string;
836
+ };
837
+ previewImg: {
838
+ type: string;
839
+ };
840
+ dataLens: {
841
+ oneOf: ({
842
+ type: string;
843
+ optionName: string;
844
+ } | {
845
+ optionName: string;
846
+ type: string;
847
+ additionalProperties: boolean;
848
+ required: string[];
849
+ properties: {
850
+ id: {
851
+ type: string;
852
+ };
853
+ theme: {
854
+ type: string;
855
+ enum: string[];
856
+ };
857
+ };
858
+ })[];
859
+ };
860
+ fullscreen: {
861
+ type: string;
862
+ };
863
+ analyticsEvents: {
864
+ anyOf: ({
865
+ type: string;
866
+ additionalProperties: {
867
+ type: string;
868
+ };
869
+ required: string[];
870
+ properties: {
871
+ name: {
872
+ type: string;
873
+ };
874
+ type: {
875
+ type: string;
876
+ };
877
+ counters: {
878
+ type: string;
879
+ additionalProperties: boolean;
880
+ required: never[];
881
+ properties: {
882
+ include: {
883
+ type: string;
884
+ items: {
885
+ type: string;
886
+ };
887
+ };
888
+ exclude: {
889
+ type: string;
890
+ items: {
891
+ type: string;
892
+ };
893
+ };
894
+ };
895
+ };
896
+ context: {
897
+ type: string;
898
+ };
899
+ };
900
+ } | {
901
+ type: string;
902
+ items: {
903
+ type: string;
904
+ additionalProperties: {
905
+ type: string;
906
+ };
907
+ required: string[];
908
+ properties: {
909
+ name: {
910
+ type: string;
911
+ };
912
+ type: {
913
+ type: string;
914
+ };
915
+ counters: {
916
+ type: string;
917
+ additionalProperties: boolean;
918
+ required: never[];
919
+ properties: {
920
+ include: {
921
+ type: string;
922
+ items: {
923
+ type: string;
924
+ };
925
+ };
926
+ exclude: {
927
+ type: string;
928
+ items: {
929
+ type: string;
930
+ };
931
+ };
932
+ };
933
+ };
934
+ context: {
935
+ type: string;
936
+ };
937
+ };
938
+ };
939
+ })[];
940
+ };
941
+ ratio: {
942
+ type: string[];
943
+ pattern: string;
944
+ };
945
+ iframe: {
946
+ type: string;
947
+ additionalProperties: boolean;
948
+ required: string[];
949
+ properties: {
950
+ src: {
951
+ type: string;
952
+ };
953
+ name: {
954
+ type: string;
955
+ };
956
+ title: {
957
+ type: string;
958
+ };
959
+ height: {
960
+ type: string;
961
+ };
962
+ width: {
963
+ type: string;
964
+ };
965
+ };
966
+ };
967
+ margins: {
968
+ type: string;
969
+ };
970
+ };
971
+ };
972
+ content: {
973
+ type: string;
974
+ additionalProperties: boolean;
975
+ required: never[];
976
+ properties: {
977
+ title: {
978
+ oneOf: ({
979
+ type: string;
980
+ contentType: string;
981
+ optionName: string;
982
+ } | {
983
+ optionName: string;
984
+ type: string;
985
+ additionalProperties: boolean;
986
+ required: string[];
987
+ properties: {
988
+ text: {
989
+ type: string;
990
+ contentType: string;
991
+ };
992
+ textSize: {
993
+ type: string;
994
+ enum: string[];
995
+ };
996
+ url: {
997
+ type: string;
998
+ };
999
+ urlTitle: {
1000
+ type: string;
1001
+ };
1002
+ resetMargin: {
1003
+ type: string;
1004
+ };
1005
+ analyticsEvents: {
1006
+ anyOf: ({
1007
+ type: string;
1008
+ additionalProperties: {
1009
+ type: string;
1010
+ };
1011
+ required: string[];
1012
+ properties: {
1013
+ name: {
1014
+ type: string;
1015
+ };
1016
+ type: {
1017
+ type: string;
1018
+ };
1019
+ counters: {
1020
+ type: string;
1021
+ additionalProperties: boolean;
1022
+ required: never[];
1023
+ properties: {
1024
+ include: {
1025
+ type: string;
1026
+ items: {
1027
+ type: string;
1028
+ };
1029
+ };
1030
+ exclude: {
1031
+ type: string;
1032
+ items: {
1033
+ type: string;
1034
+ };
1035
+ };
1036
+ };
1037
+ };
1038
+ context: {
1039
+ type: string;
1040
+ };
1041
+ };
1042
+ } | {
1043
+ type: string;
1044
+ items: {
1045
+ type: string;
1046
+ additionalProperties: {
1047
+ type: string;
1048
+ };
1049
+ required: string[];
1050
+ properties: {
1051
+ name: {
1052
+ type: string;
1053
+ };
1054
+ type: {
1055
+ type: string;
1056
+ };
1057
+ counters: {
1058
+ type: string;
1059
+ additionalProperties: boolean;
1060
+ required: never[];
1061
+ properties: {
1062
+ include: {
1063
+ type: string;
1064
+ items: {
1065
+ type: string;
1066
+ };
1067
+ };
1068
+ exclude: {
1069
+ type: string;
1070
+ items: {
1071
+ type: string;
1072
+ };
1073
+ };
1074
+ };
1075
+ };
1076
+ context: {
1077
+ type: string;
1078
+ };
1079
+ };
1080
+ };
1081
+ })[];
1082
+ };
1083
+ };
1084
+ contentType?: undefined;
1085
+ })[];
1086
+ };
1087
+ text: {
1088
+ type: string;
1089
+ contentType: string;
1090
+ inputType: string;
1091
+ };
1092
+ additionalInfo: {
1093
+ type: string;
1094
+ contentType: string;
1095
+ };
1096
+ size: {
1097
+ type: string;
1098
+ enum: string[];
1099
+ };
1100
+ links: {
1101
+ type: string;
1102
+ items: {
1103
+ type: string;
1104
+ properties: {
1105
+ when: {
1106
+ type: string;
1107
+ };
1108
+ };
1109
+ };
1110
+ };
1111
+ buttons: {
1112
+ type: string;
1113
+ items: {
1114
+ type: string;
1115
+ properties: {
1116
+ when: {
1117
+ type: string;
1118
+ };
1119
+ };
1120
+ };
1121
+ };
1122
+ theme: {
1123
+ type: string;
1124
+ enum: string[];
1125
+ };
1126
+ list: {
1127
+ type: string;
1128
+ items: {
1129
+ type: string;
1130
+ properties: {
1131
+ when: {
1132
+ type: string;
1133
+ };
1134
+ };
1135
+ };
1136
+ };
1137
+ controlPosition: {
1138
+ type: string;
1139
+ enum: string[];
1140
+ };
1141
+ };
1142
+ };
1143
+ contentMargin: {
1144
+ type: string;
1145
+ enum: string[];
1146
+ default: string;
1147
+ };
1148
+ metaInfo: {
1149
+ type: string;
1150
+ items: {
1151
+ type: string;
1152
+ contentType: string;
1153
+ };
1154
+ };
1155
+ border: {
1156
+ type: string;
1157
+ };
1158
+ fullscreen: {
1159
+ type: string;
1160
+ };
1161
+ icon: {
1162
+ oneOf: (({
1163
+ type: string;
1164
+ additionalProperties: boolean;
1165
+ required: string[];
1166
+ properties: {
1167
+ value: {
1168
+ oneOf: ({
1169
+ type: string;
1170
+ properties: {
1171
+ when: {
1172
+ type: string;
1173
+ };
1174
+ };
1175
+ } | {
1176
+ optionName: string;
1177
+ type: string;
1178
+ pattern: string;
1179
+ items?: undefined;
1180
+ } | {
1181
+ type: string;
1182
+ items: {
1183
+ type: string;
1184
+ properties: {
1185
+ when: {
1186
+ type: string;
1187
+ };
1188
+ };
1189
+ };
1190
+ optionName: string;
1191
+ })[];
1192
+ };
1193
+ position: {
1194
+ type: string;
1195
+ enum: IconPosition[];
1196
+ };
1197
+ };
1198
+ } & {
1199
+ optionName: string;
1200
+ }) | {
1201
+ type: string;
1202
+ additionalProperties: boolean;
1203
+ required: import("../../models/index.js").Theme[];
1204
+ properties: {};
1205
+ optionName: string;
1206
+ })[];
1207
+ };
1208
+ url: {
1209
+ type: string;
1210
+ };
1211
+ urlTitle: {
1212
+ type: string;
1213
+ };
1214
+ target: {
1215
+ type: string;
1216
+ enum: string[];
1217
+ };
1218
+ analyticsEvents: {
1219
+ oneOf: ({
1220
+ optionName: string;
1221
+ type: string;
1222
+ additionalProperties: {
1223
+ type: string;
1224
+ };
1225
+ required: string[];
1226
+ properties: {
1227
+ name: {
1228
+ type: string;
1229
+ };
1230
+ type: {
1231
+ type: string;
1232
+ };
1233
+ counters: {
1234
+ type: string;
1235
+ additionalProperties: boolean;
1236
+ required: never[];
1237
+ properties: {
1238
+ include: {
1239
+ type: string;
1240
+ items: {
1241
+ type: string;
1242
+ };
1243
+ };
1244
+ exclude: {
1245
+ type: string;
1246
+ items: {
1247
+ type: string;
1248
+ };
1249
+ };
1250
+ };
1251
+ };
1252
+ context: {
1253
+ type: string;
1254
+ };
1255
+ };
1256
+ items?: undefined;
1257
+ } | {
1258
+ type: string;
1259
+ items: {
1260
+ type: string;
1261
+ additionalProperties: {
1262
+ type: string;
1263
+ };
1264
+ required: string[];
1265
+ properties: {
1266
+ name: {
1267
+ type: string;
1268
+ };
1269
+ type: {
1270
+ type: string;
1271
+ };
1272
+ counters: {
1273
+ type: string;
1274
+ additionalProperties: boolean;
1275
+ required: never[];
1276
+ properties: {
1277
+ include: {
1278
+ type: string;
1279
+ items: {
1280
+ type: string;
1281
+ };
1282
+ };
1283
+ exclude: {
1284
+ type: string;
1285
+ items: {
1286
+ type: string;
1287
+ };
1288
+ };
1289
+ };
1290
+ };
1291
+ context: {
1292
+ type: string;
1293
+ };
1294
+ };
1295
+ };
1296
+ optionName: string;
1297
+ })[];
1298
+ };
1299
+ controlPosition: {
1300
+ type: string;
1301
+ enum: string[];
1302
+ };
1303
+ type: {};
1304
+ when: {
1305
+ type: string;
1306
+ };
1307
+ };
1308
+ };
1309
+ };