@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,3 +1,223 @@
1
+ export declare const ExtendedFeaturesItemProps: {
2
+ title: {
3
+ type: string;
4
+ contentType: string;
5
+ };
6
+ label: {
7
+ type: string;
8
+ };
9
+ icon: {
10
+ oneOf: (({
11
+ oneOf: ({
12
+ type: string;
13
+ properties: {
14
+ when: {
15
+ type: string;
16
+ };
17
+ };
18
+ } | {
19
+ optionName: string;
20
+ type: string;
21
+ pattern: string;
22
+ items?: undefined;
23
+ } | {
24
+ type: string;
25
+ items: {
26
+ type: string;
27
+ properties: {
28
+ when: {
29
+ type: string;
30
+ };
31
+ };
32
+ };
33
+ optionName: string;
34
+ })[];
35
+ } & {
36
+ optionName: string;
37
+ }) | {
38
+ type: string;
39
+ additionalProperties: boolean;
40
+ required: import("../../index.js").Theme[];
41
+ properties: {};
42
+ optionName: string;
43
+ })[];
44
+ };
45
+ link: {
46
+ type: string;
47
+ additionalProperties: boolean;
48
+ required: string[];
49
+ properties: {
50
+ text: {
51
+ type: string;
52
+ contentType: string;
53
+ };
54
+ url: {
55
+ type: string;
56
+ };
57
+ urlTitle: {
58
+ type: string;
59
+ };
60
+ arrow: {
61
+ type: string;
62
+ };
63
+ theme: {
64
+ type: string;
65
+ enum: string[];
66
+ };
67
+ textSize: {
68
+ type: string;
69
+ enum: string[];
70
+ };
71
+ target: {
72
+ type: string;
73
+ enum: string[];
74
+ };
75
+ colorTheme: {
76
+ type: string;
77
+ enum: string[];
78
+ };
79
+ analyticsEvents: {
80
+ oneOf: ({
81
+ optionName: string;
82
+ type: string;
83
+ additionalProperties: {
84
+ type: string;
85
+ };
86
+ required: string[];
87
+ properties: {
88
+ name: {
89
+ type: string;
90
+ };
91
+ type: {
92
+ type: string;
93
+ };
94
+ counters: {
95
+ type: string;
96
+ additionalProperties: boolean;
97
+ required: never[];
98
+ properties: {
99
+ include: {
100
+ type: string;
101
+ items: {
102
+ type: string;
103
+ };
104
+ };
105
+ exclude: {
106
+ type: string;
107
+ items: {
108
+ type: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ context: {
114
+ type: string;
115
+ };
116
+ };
117
+ items?: undefined;
118
+ } | {
119
+ type: string;
120
+ items: {
121
+ type: string;
122
+ additionalProperties: {
123
+ type: string;
124
+ };
125
+ required: string[];
126
+ properties: {
127
+ name: {
128
+ type: string;
129
+ };
130
+ type: {
131
+ type: string;
132
+ };
133
+ counters: {
134
+ type: string;
135
+ additionalProperties: boolean;
136
+ required: never[];
137
+ properties: {
138
+ include: {
139
+ type: string;
140
+ items: {
141
+ type: string;
142
+ };
143
+ };
144
+ exclude: {
145
+ type: string;
146
+ items: {
147
+ type: string;
148
+ };
149
+ };
150
+ };
151
+ };
152
+ context: {
153
+ type: string;
154
+ };
155
+ };
156
+ };
157
+ optionName: string;
158
+ })[];
159
+ };
160
+ type: {};
161
+ when: {
162
+ type: string;
163
+ };
164
+ };
165
+ };
166
+ text?: {
167
+ type: string;
168
+ contentType: string;
169
+ inputType: string;
170
+ } | undefined;
171
+ additionalInfo?: {
172
+ type: string;
173
+ contentType: string;
174
+ } | undefined;
175
+ size?: {
176
+ type: string;
177
+ enum: string[];
178
+ } | undefined;
179
+ links?: {
180
+ type: string;
181
+ items: {
182
+ type: string;
183
+ properties: {
184
+ when: {
185
+ type: string;
186
+ };
187
+ };
188
+ };
189
+ } | undefined;
190
+ buttons?: {
191
+ type: string;
192
+ items: {
193
+ type: string;
194
+ properties: {
195
+ when: {
196
+ type: string;
197
+ };
198
+ };
199
+ };
200
+ } | undefined;
201
+ theme?: {
202
+ type: string;
203
+ enum: string[];
204
+ } | undefined;
205
+ list?: {
206
+ type: string;
207
+ items: {
208
+ type: string;
209
+ properties: {
210
+ when: {
211
+ type: string;
212
+ };
213
+ };
214
+ };
215
+ } | undefined;
216
+ controlPosition?: {
217
+ type: string;
218
+ enum: string[];
219
+ } | undefined;
220
+ };
1
221
  export declare const ExtendedFeaturesItem: {
2
222
  additionalProperties: boolean;
3
223
  required: never[];
@@ -6,13 +226,44 @@ export declare const ExtendedFeaturesItem: {
6
226
  type: string;
7
227
  contentType: string;
8
228
  };
9
- text: {
10
- type: string;
11
- contentType: string;
12
- };
13
229
  label: {
14
230
  type: string;
15
- enum: string[];
231
+ };
232
+ icon: {
233
+ oneOf: (({
234
+ oneOf: ({
235
+ type: string;
236
+ properties: {
237
+ when: {
238
+ type: string;
239
+ };
240
+ };
241
+ } | {
242
+ optionName: string;
243
+ type: string;
244
+ pattern: string;
245
+ items?: undefined;
246
+ } | {
247
+ type: string;
248
+ items: {
249
+ type: string;
250
+ properties: {
251
+ when: {
252
+ type: string;
253
+ };
254
+ };
255
+ };
256
+ optionName: string;
257
+ })[];
258
+ } & {
259
+ optionName: string;
260
+ }) | {
261
+ type: string;
262
+ additionalProperties: boolean;
263
+ required: import("../../index.js").Theme[];
264
+ properties: {};
265
+ optionName: string;
266
+ })[];
16
267
  };
17
268
  link: {
18
269
  type: string;
@@ -44,6 +295,10 @@ export declare const ExtendedFeaturesItem: {
44
295
  type: string;
45
296
  enum: string[];
46
297
  };
298
+ colorTheme: {
299
+ type: string;
300
+ enum: string[];
301
+ };
47
302
  analyticsEvents: {
48
303
  oneOf: ({
49
304
  optionName: string;
@@ -131,49 +386,66 @@ export declare const ExtendedFeaturesItem: {
131
386
  };
132
387
  };
133
388
  };
134
- icon: {
135
- oneOf: (({
136
- oneOf: ({
137
- type: string;
138
- properties: {
139
- when: {
140
- type: string;
141
- };
389
+ text?: {
390
+ type: string;
391
+ contentType: string;
392
+ inputType: string;
393
+ } | undefined;
394
+ additionalInfo?: {
395
+ type: string;
396
+ contentType: string;
397
+ } | undefined;
398
+ size?: {
399
+ type: string;
400
+ enum: string[];
401
+ } | undefined;
402
+ links?: {
403
+ type: string;
404
+ items: {
405
+ type: string;
406
+ properties: {
407
+ when: {
408
+ type: string;
142
409
  };
143
- } | {
144
- type: string;
145
- pattern: string;
146
- optionName: string;
147
- items?: undefined;
148
- } | {
149
- type: string;
150
- items: {
410
+ };
411
+ };
412
+ } | undefined;
413
+ buttons?: {
414
+ type: string;
415
+ items: {
416
+ type: string;
417
+ properties: {
418
+ when: {
151
419
  type: string;
152
- properties: {
153
- when: {
154
- type: string;
155
- };
156
- };
157
420
  };
158
- optionName: string;
159
- pattern?: undefined;
160
- })[];
161
- } & {
162
- optionName: string;
163
- }) | {
421
+ };
422
+ };
423
+ } | undefined;
424
+ theme?: {
425
+ type: string;
426
+ enum: string[];
427
+ } | undefined;
428
+ list?: {
429
+ type: string;
430
+ items: {
164
431
  type: string;
165
- additionalProperties: boolean;
166
- required: import("../../index.js").Theme[];
167
- properties: {};
168
- optionName: string;
169
- })[];
170
- };
432
+ properties: {
433
+ when: {
434
+ type: string;
435
+ };
436
+ };
437
+ };
438
+ } | undefined;
439
+ controlPosition?: {
440
+ type: string;
441
+ enum: string[];
442
+ } | undefined;
171
443
  };
172
444
  };
173
445
  export declare const ExtendedFeaturesBlock: {
174
446
  'extended-features-block': {
175
447
  additionalProperties: boolean;
176
- required: never[];
448
+ required: string[];
177
449
  properties: {
178
450
  items: {
179
451
  type: string;
@@ -1,33 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtendedFeaturesBlock = exports.ExtendedFeaturesItem = void 0;
3
+ exports.ExtendedFeaturesBlock = exports.ExtendedFeaturesItem = exports.ExtendedFeaturesItemProps = void 0;
4
+ const lodash_1 = require("lodash");
5
+ const schema_1 = require("../../components/Image/schema.js");
4
6
  const common_1 = require("../../schema/validators/common.js");
5
- const components_1 = require("../../schema/validators/components.js");
6
7
  const utils_1 = require("../../schema/validators/utils.js");
8
+ const schema_2 = require("../../sub-blocks/Content/schema.js");
9
+ exports.ExtendedFeaturesItemProps = {
10
+ ...(0, lodash_1.omit)(schema_2.ContentBase, ['title', 'theme', 'centered', 'colSizes', 'size', 'title']),
11
+ title: {
12
+ type: 'string',
13
+ contentType: 'text',
14
+ },
15
+ label: {
16
+ type: 'string',
17
+ },
18
+ icon: (0, common_1.withTheme)(schema_1.ImageProps),
19
+ link: common_1.LinkProps,
20
+ };
7
21
  exports.ExtendedFeaturesItem = {
8
22
  additionalProperties: false,
9
23
  required: [],
10
- properties: {
11
- title: {
12
- type: 'string',
13
- contentType: 'text',
14
- },
15
- text: {
16
- type: 'string',
17
- contentType: 'yfm',
18
- },
19
- label: {
20
- type: 'string',
21
- enum: ['New', 'Preview'],
22
- },
23
- link: common_1.LinkProps,
24
- icon: (0, common_1.withTheme)(components_1.ImageProps),
25
- },
24
+ properties: exports.ExtendedFeaturesItemProps,
26
25
  };
27
26
  exports.ExtendedFeaturesBlock = {
28
27
  'extended-features-block': {
29
28
  additionalProperties: false,
30
- required: [],
29
+ required: ['items'],
31
30
  properties: {
32
31
  ...common_1.BlockBaseProps,
33
32
  ...common_1.AnimatableProps,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/ExtendedFeatures/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AACxC,sEAA8D;AAC9D,4DAA4D;AAE/C,QAAA,oBAAoB,GAAG;IAChC,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,KAAK;SACrB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;SAC3B;QACD,IAAI,EAAE,kBAAS;QACf,IAAI,EAAE,IAAA,kBAAS,EAAC,uBAAU,CAAC;KAC9B;CACJ,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACjC,yBAAyB,EAAE;QACvB,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACR,GAAG,uBAAc;YACjB,GAAG,wBAAe;YAClB,GAAG,yBAAgB;YACnB,KAAK,EAAE,IAAA,qBAAa,EAAC,4BAAoB,CAAC;YAC1C,QAAQ,EAAE,6BAAoB;SACjC;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n LinkProps,\n containerSizesObject,\n withTheme,\n} from '../../schema/validators/common';\nimport {ImageProps} from '../../schema/validators/components';\nimport {filteredArray} from '../../schema/validators/utils';\n\nexport const ExtendedFeaturesItem = {\n additionalProperties: false,\n required: [],\n properties: {\n title: {\n type: 'string',\n contentType: 'text',\n },\n text: {\n type: 'string',\n contentType: 'yfm',\n },\n label: {\n type: 'string',\n enum: ['New', 'Preview'],\n },\n link: LinkProps,\n icon: withTheme(ImageProps),\n },\n};\n\nexport const ExtendedFeaturesBlock = {\n 'extended-features-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...BlockHeaderProps,\n items: filteredArray(ExtendedFeaturesItem),\n colSizes: containerSizesObject,\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/ExtendedFeatures/schema.ts"],"names":[],"mappings":";;;AAAA,mCAA4B;AAE5B,6DAAyD;AACzD,8DAOwC;AACxC,4DAA4D;AAC5D,+DAA4D;AAE/C,QAAA,yBAAyB,GAAG;IACrC,GAAG,IAAA,aAAI,EAAC,oBAAW,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,MAAM;KACtB;IACD,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;KACjB;IACD,IAAI,EAAE,IAAA,kBAAS,EAAC,mBAAU,CAAC;IAC3B,IAAI,EAAE,kBAAS;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAChC,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,iCAAyB;CACxC,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACjC,yBAAyB,EAAE;QACvB,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,UAAU,EAAE;YACR,GAAG,uBAAc;YACjB,GAAG,wBAAe;YAClB,GAAG,yBAAgB;YACnB,KAAK,EAAE,IAAA,qBAAa,EAAC,4BAAoB,CAAC;YAC1C,QAAQ,EAAE,6BAAoB;SACjC;KACJ;CACJ,CAAC","sourcesContent":["import {omit} from 'lodash';\n\nimport {ImageProps} from '../../components/Image/schema';\nimport {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n LinkProps,\n containerSizesObject,\n withTheme,\n} from '../../schema/validators/common';\nimport {filteredArray} from '../../schema/validators/utils';\nimport {ContentBase} from '../../sub-blocks/Content/schema';\n\nexport const ExtendedFeaturesItemProps = {\n ...omit(ContentBase, ['title', 'theme', 'centered', 'colSizes', 'size', 'title']),\n title: {\n type: 'string',\n contentType: 'text',\n },\n label: {\n type: 'string',\n },\n icon: withTheme(ImageProps),\n link: LinkProps,\n};\n\nexport const ExtendedFeaturesItem = {\n additionalProperties: false,\n required: [],\n properties: ExtendedFeaturesItemProps,\n};\n\nexport const ExtendedFeaturesBlock = {\n 'extended-features-block': {\n additionalProperties: false,\n required: ['items'],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...BlockHeaderProps,\n items: filteredArray(ExtendedFeaturesItem),\n colSizes: containerSizesObject,\n },\n },\n};\n"]}
@@ -40,9 +40,9 @@ export declare const FooterBlock: {
40
40
  };
41
41
  };
42
42
  } | {
43
+ optionName: string;
43
44
  type: string;
44
45
  pattern: string;
45
- optionName: string;
46
46
  items?: undefined;
47
47
  } | {
48
48
  type: string;
@@ -55,7 +55,6 @@ export declare const FooterBlock: {
55
55
  };
56
56
  };
57
57
  optionName: string;
58
- pattern?: undefined;
59
58
  })[];
60
59
  } & {
61
60
  optionName: string;
@@ -201,9 +200,9 @@ export declare const FooterBlock: {
201
200
  };
202
201
  };
203
202
  } | {
203
+ optionName: string;
204
204
  type: string;
205
205
  pattern: string;
206
- optionName: string;
207
206
  items?: undefined;
208
207
  } | {
209
208
  type: string;
@@ -216,7 +215,6 @@ export declare const FooterBlock: {
216
215
  };
217
216
  };
218
217
  optionName: string;
219
- pattern?: undefined;
220
218
  })[];
221
219
  } & {
222
220
  optionName: string;
@@ -249,9 +247,9 @@ export declare const FooterBlock: {
249
247
  };
250
248
  };
251
249
  } | {
250
+ optionName: string;
252
251
  type: string;
253
252
  pattern: string;
254
- optionName: string;
255
253
  items?: undefined;
256
254
  } | {
257
255
  type: string;
@@ -264,7 +262,6 @@ export declare const FooterBlock: {
264
262
  };
265
263
  };
266
264
  optionName: string;
267
- pattern?: undefined;
268
265
  })[];
269
266
  } & {
270
267
  optionName: string;