@gravity-ui/page-constructor 8.7.0 → 8.7.2

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.
@@ -654,9 +654,7 @@ export declare const HeaderSliderBlock: {
654
654
  type: string;
655
655
  };
656
656
  animated: {
657
- animated: {
658
- type: string;
659
- };
657
+ type: string;
660
658
  };
661
659
  arrowSize: {
662
660
  type: string;
@@ -1,30 +1,4 @@
1
1
  export declare const SliderProps: {
2
- dots: {
3
- type: string;
4
- };
5
- arrows: {
6
- type: string;
7
- };
8
- randomOrder: {
9
- type: string;
10
- };
11
- autoplay: {
12
- type: string;
13
- };
14
- type: {
15
- type: string;
16
- };
17
- adaptive: {
18
- type: string;
19
- };
20
- arrowSize: {
21
- type: string;
22
- };
23
- animated: {
24
- animated: {
25
- type: string;
26
- };
27
- };
28
2
  slidesToShow: {
29
3
  oneOf: ({
30
4
  type: string;
@@ -91,6 +65,30 @@ export declare const SliderProps: {
91
65
  $ref: string;
92
66
  };
93
67
  };
68
+ animated: {
69
+ type: string;
70
+ };
71
+ dots: {
72
+ type: string;
73
+ };
74
+ arrows: {
75
+ type: string;
76
+ };
77
+ randomOrder: {
78
+ type: string;
79
+ };
80
+ autoplay: {
81
+ type: string;
82
+ };
83
+ type: {
84
+ type: string;
85
+ };
86
+ adaptive: {
87
+ type: string;
88
+ };
89
+ arrowSize: {
90
+ type: string;
91
+ };
94
92
  };
95
93
  export declare const SliderBlock: {
96
94
  'slider-block': {
@@ -210,32 +208,6 @@ export declare const SliderBlock: {
210
208
  contentType: string;
211
209
  inputType: string;
212
210
  };
213
- dots: {
214
- type: string;
215
- };
216
- arrows: {
217
- type: string;
218
- };
219
- randomOrder: {
220
- type: string;
221
- };
222
- autoplay: {
223
- type: string;
224
- };
225
- type: {
226
- type: string;
227
- };
228
- adaptive: {
229
- type: string;
230
- };
231
- arrowSize: {
232
- type: string;
233
- };
234
- animated: {
235
- animated: {
236
- type: string;
237
- };
238
- };
239
211
  slidesToShow: {
240
212
  oneOf: ({
241
213
  type: string;
@@ -302,6 +274,30 @@ export declare const SliderBlock: {
302
274
  $ref: string;
303
275
  };
304
276
  };
277
+ animated: {
278
+ type: string;
279
+ };
280
+ dots: {
281
+ type: string;
282
+ };
283
+ arrows: {
284
+ type: string;
285
+ };
286
+ randomOrder: {
287
+ type: string;
288
+ };
289
+ autoplay: {
290
+ type: string;
291
+ };
292
+ type: {
293
+ type: string;
294
+ };
295
+ adaptive: {
296
+ type: string;
297
+ };
298
+ arrowSize: {
299
+ type: string;
300
+ };
305
301
  anchor: {
306
302
  type: string;
307
303
  additionalProperties: boolean;
@@ -76,7 +76,7 @@ exports.SliderProps = {
76
76
  arrowSize: {
77
77
  type: 'number',
78
78
  },
79
- animated: common_1.AnimatableProps,
79
+ ...common_1.AnimatableProps,
80
80
  slidesToShow: common_1.sliderSizesObject,
81
81
  disclaimer: DisclaimerProps,
82
82
  loadable: LoadableProps,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Slider/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAExC,MAAM,aAAa,GAAG;IAClB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,0DAA0D;YAC1D,0DAA0D;SAC7D;QACD;;WAEG;QACH,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,iBAAiB,EAAE;gBACf,IAAI,EAAE;oBACF,KAAK,EAAE;wBACH;4BACI,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC;yBACxC;wBACD;4BACI,IAAI,EAAE,QAAQ;4BACd,oBAAoB,EAAE,IAAI;yBAC7B;wBACD;4BACI,IAAI,EAAE,OAAO;yBAChB;qBACJ;iBACJ;aACJ;SACJ;KACJ;IACD,gEAAgE;IAChE,QAAQ,EAAE,IAAI;CACjB,CAAC;AAEF,MAAM,eAAe,GAAG;IACpB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,iBAAQ;SACjB;KACJ;CACJ,CAAC;AAEW,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE;QACF,IAAI,EAAE,SAAS;KAClB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,SAAS;KAClB;IACD,WAAW,EAAE;QACT,IAAI,EAAE,SAAS;KAClB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,QAAQ;KACjB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;KACjB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,SAAS;KAClB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,QAAQ;KACjB;IACD,QAAQ,EAAE,wBAAe;IACzB,YAAY,EAAE,0BAAiB;IAC/B,UAAU,EAAE,eAAe;IAC3B,QAAQ,EAAE,aAAa;IACvB,QAAQ,EAAE,2BAAkB;CAC/B,CAAC;AAEW,QAAA,WAAW,GAAG;IACvB,cAAc,EAAE;QACZ,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACR,GAAG,uBAAc;YACjB,GAAG,wBAAe;YAClB,GAAG,mBAAW;YACd,GAAG,yBAAgB;SACtB;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n type: {\n type: 'string',\n },\n adaptive: {\n type: 'boolean',\n },\n arrowSize: {\n type: 'number',\n },\n animated: AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\nexport const SliderBlock = {\n 'slider-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Slider/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAExC,MAAM,aAAa,GAAG;IAClB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,0DAA0D;YAC1D,0DAA0D;SAC7D;QACD;;WAEG;QACH,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,iBAAiB,EAAE;gBACf,IAAI,EAAE;oBACF,KAAK,EAAE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","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n type: {\n type: 'string',\n },\n adaptive: {\n type: 'boolean',\n },\n arrowSize: {\n type: 'number',\n },\n ...AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\nexport const SliderBlock = {\n 'slider-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}
@@ -1,21 +1,4 @@
1
1
  export declare const SliderOldProps: {
2
- dots: {
3
- type: string;
4
- };
5
- arrows: {
6
- type: string;
7
- };
8
- randomOrder: {
9
- type: string;
10
- };
11
- autoplay: {
12
- type: string;
13
- };
14
- animated: {
15
- animated: {
16
- type: string;
17
- };
18
- };
19
2
  slidesToShow: {
20
3
  oneOf: ({
21
4
  type: string;
@@ -82,6 +65,21 @@ export declare const SliderOldProps: {
82
65
  $ref: string;
83
66
  };
84
67
  };
68
+ animated: {
69
+ type: string;
70
+ };
71
+ dots: {
72
+ type: string;
73
+ };
74
+ arrows: {
75
+ type: string;
76
+ };
77
+ randomOrder: {
78
+ type: string;
79
+ };
80
+ autoplay: {
81
+ type: string;
82
+ };
85
83
  };
86
84
  /** @deprecated */
87
85
  export declare const SliderOldBlock: {
@@ -202,23 +200,6 @@ export declare const SliderOldBlock: {
202
200
  contentType: string;
203
201
  inputType: string;
204
202
  };
205
- dots: {
206
- type: string;
207
- };
208
- arrows: {
209
- type: string;
210
- };
211
- randomOrder: {
212
- type: string;
213
- };
214
- autoplay: {
215
- type: string;
216
- };
217
- animated: {
218
- animated: {
219
- type: string;
220
- };
221
- };
222
203
  slidesToShow: {
223
204
  oneOf: ({
224
205
  type: string;
@@ -285,6 +266,21 @@ export declare const SliderOldBlock: {
285
266
  $ref: string;
286
267
  };
287
268
  };
269
+ animated: {
270
+ type: string;
271
+ };
272
+ dots: {
273
+ type: string;
274
+ };
275
+ arrows: {
276
+ type: string;
277
+ };
278
+ randomOrder: {
279
+ type: string;
280
+ };
281
+ autoplay: {
282
+ type: string;
283
+ };
288
284
  anchor: {
289
285
  type: string;
290
286
  additionalProperties: boolean;
@@ -67,7 +67,7 @@ exports.SliderOldProps = {
67
67
  autoplay: {
68
68
  type: 'number',
69
69
  },
70
- animated: common_1.AnimatableProps,
70
+ ...common_1.AnimatableProps,
71
71
  slidesToShow: common_1.sliderSizesObject,
72
72
  disclaimer: DisclaimerProps,
73
73
  loadable: LoadableProps,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/SliderOld/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAExC,MAAM,aAAa,GAAG;IAClB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,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Ac;YACjB,GAAG,wBAAe;YAClB,GAAG,sBAAc;YACjB,GAAG,yBAAgB;SACtB;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderOldProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n animated: AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\n/** @deprecated */\nexport const SliderOldBlock = {\n 'slider-old-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderOldProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/SliderOld/schema.ts"],"names":[],"mappings":";;;AAAA,8DAOwC;AAExC,MAAM,aAAa,GAAG;IAClB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,UAAU,EAAE;QACR,MAAM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AE;YACR,GAAG,uBAAc;YACjB,GAAG,wBAAe;YAClB,GAAG,sBAAc;YACjB,GAAG,yBAAgB;SACtB;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderOldProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n ...AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\n/** @deprecated */\nexport const SliderOldBlock = {\n 'slider-old-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderOldProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}
@@ -49,6 +49,87 @@ export declare const cardSchemas: {
49
49
  urlTitle: {
50
50
  type: string;
51
51
  };
52
+ analyticsEvents: {
53
+ oneOf: ({
54
+ optionName: string;
55
+ type: string;
56
+ additionalProperties: {
57
+ type: string;
58
+ };
59
+ required: string[];
60
+ properties: {
61
+ name: {
62
+ type: string;
63
+ };
64
+ type: {
65
+ type: string;
66
+ };
67
+ counters: {
68
+ type: string;
69
+ additionalProperties: boolean;
70
+ required: never[];
71
+ properties: {
72
+ include: {
73
+ type: string;
74
+ items: {
75
+ type: string;
76
+ };
77
+ };
78
+ exclude: {
79
+ type: string;
80
+ items: {
81
+ type: string;
82
+ };
83
+ };
84
+ };
85
+ };
86
+ context: {
87
+ type: string;
88
+ };
89
+ };
90
+ items?: undefined;
91
+ } | {
92
+ type: string;
93
+ items: {
94
+ type: string;
95
+ additionalProperties: {
96
+ type: string;
97
+ };
98
+ required: string[];
99
+ properties: {
100
+ name: {
101
+ type: string;
102
+ };
103
+ type: {
104
+ type: string;
105
+ };
106
+ counters: {
107
+ type: string;
108
+ additionalProperties: boolean;
109
+ required: never[];
110
+ properties: {
111
+ include: {
112
+ type: string;
113
+ items: {
114
+ type: string;
115
+ };
116
+ };
117
+ exclude: {
118
+ type: string;
119
+ items: {
120
+ type: string;
121
+ };
122
+ };
123
+ };
124
+ };
125
+ context: {
126
+ type: string;
127
+ };
128
+ };
129
+ };
130
+ optionName: string;
131
+ })[];
132
+ };
52
133
  title?: {
53
134
  oneOf: ({
54
135
  type: string;
@@ -47,6 +47,87 @@ export declare const ImageCard: {
47
47
  urlTitle: {
48
48
  type: string;
49
49
  };
50
+ analyticsEvents: {
51
+ oneOf: ({
52
+ optionName: string;
53
+ type: string;
54
+ additionalProperties: {
55
+ type: string;
56
+ };
57
+ required: string[];
58
+ properties: {
59
+ name: {
60
+ type: string;
61
+ };
62
+ type: {
63
+ type: string;
64
+ };
65
+ counters: {
66
+ type: string;
67
+ additionalProperties: boolean;
68
+ required: never[];
69
+ properties: {
70
+ include: {
71
+ type: string;
72
+ items: {
73
+ type: string;
74
+ };
75
+ };
76
+ exclude: {
77
+ type: string;
78
+ items: {
79
+ type: string;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ context: {
85
+ type: string;
86
+ };
87
+ };
88
+ items?: undefined;
89
+ } | {
90
+ type: string;
91
+ items: {
92
+ type: string;
93
+ additionalProperties: {
94
+ type: string;
95
+ };
96
+ required: string[];
97
+ properties: {
98
+ name: {
99
+ type: string;
100
+ };
101
+ type: {
102
+ type: string;
103
+ };
104
+ counters: {
105
+ type: string;
106
+ additionalProperties: boolean;
107
+ required: never[];
108
+ properties: {
109
+ include: {
110
+ type: string;
111
+ items: {
112
+ type: string;
113
+ };
114
+ };
115
+ exclude: {
116
+ type: string;
117
+ items: {
118
+ type: string;
119
+ };
120
+ };
121
+ };
122
+ };
123
+ context: {
124
+ type: string;
125
+ };
126
+ };
127
+ };
128
+ optionName: string;
129
+ })[];
130
+ };
50
131
  title?: {
51
132
  oneOf: ({
52
133
  type: string;
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const omit_1 = tslib_1.__importDefault(require("lodash/omit.js"));
6
6
  const common_1 = require("../../schema/validators/common.js");
7
7
  const components_1 = require("../../schema/validators/components.js");
8
+ const event_1 = require("../../schema/validators/event.js");
8
9
  const schema_1 = require("../Content/schema.js");
9
10
  const ImageCardBlockContentProps = (0, omit_1.default)(schema_1.ContentBase, ['centered', 'colSizes', 'controlPosition']);
10
11
  exports.ImageCard = {
@@ -34,6 +35,19 @@ exports.ImageCard = {
34
35
  urlTitle: {
35
36
  type: 'string',
36
37
  },
38
+ analyticsEvents: {
39
+ oneOf: [
40
+ {
41
+ ...event_1.AnalyticsEventSchema,
42
+ optionName: 'single',
43
+ },
44
+ {
45
+ type: 'array',
46
+ items: event_1.AnalyticsEventSchema,
47
+ optionName: 'list',
48
+ },
49
+ ],
50
+ },
37
51
  },
38
52
  },
39
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/ImageCard/schema.ts"],"names":[],"mappings":";;;;AAAA,kEAA+B;AAE/B,8DAAoF;AACpF,sEAA8D;AAC9D,iDAA8C;AAE9C,MAAM,0BAA0B,GAAG,IAAA,cAAI,EAAC,oBAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;AAErF,QAAA,SAAS,GAAG;IACrB,YAAY,EAAE;QACV,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,UAAU,EAAE;YACR,GAAG,kBAAS;YACZ,GAAG,iBAAQ;YACX,GAAG,wBAAe;YAClB,GAAG,0BAA0B;YAC7B,KAAK,EAAE,uBAAU;YACjB,SAAS,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;aAC9B;YACD,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;aACnB;YACD,eAAe,EAAE;gBACb,IAAI,EAAE,QAAQ;aACjB;YACD,GAAG,EAAE;gBACD,IAAI,EAAE,QAAQ;aACjB;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import omit from 'lodash/omit';\n\nimport {BaseProps, CardBase, CardLayoutProps} from '../../schema/validators/common';\nimport {ImageProps} from '../../schema/validators/components';\nimport {ContentBase} from '../Content/schema';\n\nconst ImageCardBlockContentProps = omit(ContentBase, ['centered', 'colSizes', 'controlPosition']);\n\nexport const ImageCard = {\n 'image-card': {\n additionalProperties: false,\n required: ['image'],\n properties: {\n ...BaseProps,\n ...CardBase,\n ...CardLayoutProps,\n ...ImageCardBlockContentProps,\n image: ImageProps,\n direction: {\n type: 'string',\n enum: ['direct', 'reverse'],\n },\n margins: {\n type: 'string',\n enum: ['s', 'm'],\n },\n backgroundColor: {\n type: 'string',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/ImageCard/schema.ts"],"names":[],"mappings":";;;;AAAA,kEAA+B;AAE/B,8DAAoF;AACpF,sEAA8D;AAC9D,4DAAmE;AACnE,iDAA8C;AAE9C,MAAM,0BAA0B,GAAG,IAAA,cAAI,EAAC,oBAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;AAErF,QAAA,SAAS,GAAG;IACrB,YAAY,EAAE;QACV,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,UAAU,EAAE;YACR,GAAG,kBAAS;YACZ,GAAG,iBAAQ;YACX,GAAG,wBAAe;YAClB,GAAG,0BAA0B;YAC7B,KAAK,EAAE,uBAAU;YACjB,SAAS,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;aAC9B;YACD,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;aACnB;YACD,eAAe,EAAE;gBACb,IAAI,EAAE,QAAQ;aACjB;YACD,GAAG,EAAE;gBACD,IAAI,EAAE,QAAQ;aACjB;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;YACD,eAAe,EAAE;gBACb,KAAK,EAAE;oBACH;wBACI,GAAG,4BAAoB;wBACvB,UAAU,EAAE,QAAQ;qBACvB;oBACD;wBACI,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,4BAAoB;wBAC3B,UAAU,EAAE,MAAM;qBACrB;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import omit from 'lodash/omit';\n\nimport {BaseProps, CardBase, CardLayoutProps} from '../../schema/validators/common';\nimport {ImageProps} from '../../schema/validators/components';\nimport {AnalyticsEventSchema} from '../../schema/validators/event';\nimport {ContentBase} from '../Content/schema';\n\nconst ImageCardBlockContentProps = omit(ContentBase, ['centered', 'colSizes', 'controlPosition']);\n\nexport const ImageCard = {\n 'image-card': {\n additionalProperties: false,\n required: ['image'],\n properties: {\n ...BaseProps,\n ...CardBase,\n ...CardLayoutProps,\n ...ImageCardBlockContentProps,\n image: ImageProps,\n direction: {\n type: 'string',\n enum: ['direct', 'reverse'],\n },\n margins: {\n type: 'string',\n enum: ['s', 'm'],\n },\n backgroundColor: {\n type: 'string',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n analyticsEvents: {\n oneOf: [\n {\n ...AnalyticsEventSchema,\n optionName: 'single',\n },\n {\n type: 'array',\n items: AnalyticsEventSchema,\n optionName: 'list',\n },\n ],\n },\n },\n },\n};\n"]}
@@ -654,9 +654,7 @@ export declare const HeaderSliderBlock: {
654
654
  type: string;
655
655
  };
656
656
  animated: {
657
- animated: {
658
- type: string;
659
- };
657
+ type: string;
660
658
  };
661
659
  arrowSize: {
662
660
  type: string;
@@ -1,30 +1,4 @@
1
1
  export declare const SliderProps: {
2
- dots: {
3
- type: string;
4
- };
5
- arrows: {
6
- type: string;
7
- };
8
- randomOrder: {
9
- type: string;
10
- };
11
- autoplay: {
12
- type: string;
13
- };
14
- type: {
15
- type: string;
16
- };
17
- adaptive: {
18
- type: string;
19
- };
20
- arrowSize: {
21
- type: string;
22
- };
23
- animated: {
24
- animated: {
25
- type: string;
26
- };
27
- };
28
2
  slidesToShow: {
29
3
  oneOf: ({
30
4
  type: string;
@@ -91,6 +65,30 @@ export declare const SliderProps: {
91
65
  $ref: string;
92
66
  };
93
67
  };
68
+ animated: {
69
+ type: string;
70
+ };
71
+ dots: {
72
+ type: string;
73
+ };
74
+ arrows: {
75
+ type: string;
76
+ };
77
+ randomOrder: {
78
+ type: string;
79
+ };
80
+ autoplay: {
81
+ type: string;
82
+ };
83
+ type: {
84
+ type: string;
85
+ };
86
+ adaptive: {
87
+ type: string;
88
+ };
89
+ arrowSize: {
90
+ type: string;
91
+ };
94
92
  };
95
93
  export declare const SliderBlock: {
96
94
  'slider-block': {
@@ -210,32 +208,6 @@ export declare const SliderBlock: {
210
208
  contentType: string;
211
209
  inputType: string;
212
210
  };
213
- dots: {
214
- type: string;
215
- };
216
- arrows: {
217
- type: string;
218
- };
219
- randomOrder: {
220
- type: string;
221
- };
222
- autoplay: {
223
- type: string;
224
- };
225
- type: {
226
- type: string;
227
- };
228
- adaptive: {
229
- type: string;
230
- };
231
- arrowSize: {
232
- type: string;
233
- };
234
- animated: {
235
- animated: {
236
- type: string;
237
- };
238
- };
239
211
  slidesToShow: {
240
212
  oneOf: ({
241
213
  type: string;
@@ -302,6 +274,30 @@ export declare const SliderBlock: {
302
274
  $ref: string;
303
275
  };
304
276
  };
277
+ animated: {
278
+ type: string;
279
+ };
280
+ dots: {
281
+ type: string;
282
+ };
283
+ arrows: {
284
+ type: string;
285
+ };
286
+ randomOrder: {
287
+ type: string;
288
+ };
289
+ autoplay: {
290
+ type: string;
291
+ };
292
+ type: {
293
+ type: string;
294
+ };
295
+ adaptive: {
296
+ type: string;
297
+ };
298
+ arrowSize: {
299
+ type: string;
300
+ };
305
301
  anchor: {
306
302
  type: string;
307
303
  additionalProperties: boolean;
@@ -73,7 +73,7 @@ export const SliderProps = {
73
73
  arrowSize: {
74
74
  type: 'number',
75
75
  },
76
- animated: AnimatableProps,
76
+ ...AnimatableProps,
77
77
  slidesToShow: sliderSizesObject,
78
78
  disclaimer: DisclaimerProps,
79
79
  loadable: LoadableProps,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Slider/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,GACX,0CAAuC;AAExC,MAAM,aAAa,GAAG;IAClB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,0DAA0D;YAC1D,0DAA0D;SAC7D;QACD;;WAEG;QACH,QAAQ,EAAE;YACN,IAA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AK;QAC3B,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACR,GAAG,cAAc;YACjB,GAAG,eAAe;YAClB,GAAG,WAAW;YACd,GAAG,gBAAgB;SACtB;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n type: {\n type: 'string',\n },\n adaptive: {\n type: 'boolean',\n },\n arrowSize: {\n type: 'number',\n },\n animated: AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\nexport const SliderBlock = {\n 'slider-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Slider/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACf,cAAc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ACN,IAAI,EAAE,SAAS;KAClB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,QAAQ;KACjB;IACD,GAAG,eAAe;IAClB,YAAY,EAAE,iBAAiB;IAC/B,UAAU,EAAE,eAAe;IAC3B,QAAQ,EAAE,aAAa;IACvB,QAAQ,EAAE,kBAAkB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,cAAc,EAAE;QACZ,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACR,GAAG,cAAc;YACjB,GAAG,eAAe;YAClB,GAAG,WAAW;YACd,GAAG,gBAAgB;SACtB;KACJ;CACJ,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n BlockHeaderProps,\n ChildrenCardsProps,\n sliderSizesObject,\n textSize,\n} from '../../schema/validators/common';\n\nconst LoadableProps = {\n additionalProperties: false,\n required: ['source'],\n properties: {\n source: {\n type: 'string',\n // add loadable sources here if you use it in your project\n // enum: ['my-loadable-source-1', 'my-loadable-source-1'],\n },\n /**\n * @deprecated\n */\n minCount: {\n type: 'number',\n },\n params: {\n type: 'object',\n patternProperties: {\n '.*': {\n oneOf: [\n {\n type: ['string', 'number', 'boolean'],\n },\n {\n type: 'object',\n additionalProperties: true,\n },\n {\n type: 'array',\n },\n ],\n },\n },\n },\n },\n // remove it in your custom validator schema if you use loadable\n disabled: true,\n};\n\nconst DisclaimerProps = {\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: textSize,\n },\n },\n};\n\nexport const SliderProps = {\n dots: {\n type: 'boolean',\n },\n arrows: {\n type: 'boolean',\n },\n randomOrder: {\n type: 'boolean',\n },\n autoplay: {\n type: 'number',\n },\n type: {\n type: 'string',\n },\n adaptive: {\n type: 'boolean',\n },\n arrowSize: {\n type: 'number',\n },\n ...AnimatableProps,\n slidesToShow: sliderSizesObject,\n disclaimer: DisclaimerProps,\n loadable: LoadableProps,\n children: ChildrenCardsProps,\n};\n\nexport const SliderBlock = {\n 'slider-block': {\n additionalProperties: false,\n required: [],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n ...SliderProps,\n ...BlockHeaderProps,\n },\n },\n};\n"]}