@doyourjob/gravity-ui-page-constructor 5.31.76 → 5.31.78
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.
- package/build/cjs/blocks/CardLayout/schema.d.ts +234 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +117 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +117 -0
- package/build/cjs/blocks/FilterBlock/schema.d.ts +234 -0
- package/build/cjs/blocks/Form/schema.d.ts +234 -0
- package/build/cjs/blocks/Info/schema.d.ts +234 -0
- package/build/cjs/blocks/LinkTable/schema.d.ts +117 -0
- package/build/cjs/blocks/Map/schema.d.ts +117 -0
- package/build/cjs/blocks/Media/schema.d.ts +234 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +117 -0
- package/build/cjs/blocks/Questions/schema.d.ts +117 -0
- package/build/cjs/blocks/RelevantPosts/schema.d.ts +117 -0
- package/build/cjs/blocks/RelevantReports/RelevantReports.css +8 -0
- package/build/cjs/blocks/RelevantReports/RelevantReports.d.ts +3 -0
- package/build/cjs/blocks/RelevantReports/RelevantReports.js +77 -0
- package/build/cjs/blocks/RelevantReports/schema.d.ts +297 -0
- package/build/cjs/blocks/RelevantReports/schema.js +22 -0
- package/build/cjs/blocks/RelevantReportsCards/RelevantReportsCards.css +8 -0
- package/build/cjs/blocks/RelevantReportsCards/RelevantReportsCards.d.ts +3 -0
- package/build/cjs/blocks/RelevantReportsCards/RelevantReportsCards.js +77 -0
- package/build/cjs/blocks/RelevantReportsCards/schema.d.ts +297 -0
- package/build/cjs/blocks/RelevantReportsCards/schema.js +22 -0
- package/build/cjs/blocks/Reports/Reports.js +11 -2
- package/build/cjs/blocks/Reports/schema.d.ts +117 -0
- package/build/cjs/blocks/ReportsCards/schema.d.ts +117 -0
- package/build/cjs/blocks/ReportsSections/schema.d.ts +117 -0
- package/build/cjs/blocks/Slider/schema.d.ts +117 -0
- package/build/cjs/blocks/SliderNew/schema.d.ts +117 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +234 -0
- package/build/cjs/blocks/index.d.ts +2 -0
- package/build/cjs/blocks/index.js +5 -1
- package/build/cjs/components/ProgressCircular/ProgressCircular.css +30 -0
- package/build/cjs/components/ProgressCircular/ProgressCircular.d.ts +8 -0
- package/build/cjs/components/ProgressCircular/ProgressCircular.js +14 -0
- package/build/cjs/components/Title/Title.css +8 -0
- package/build/cjs/components/Title/Title.d.ts +1 -1
- package/build/cjs/components/Title/Title.js +5 -3
- package/build/cjs/components/index.d.ts +1 -0
- package/build/cjs/components/index.js +3 -1
- package/build/cjs/constructor-items.d.ts +2 -0
- package/build/cjs/constructor-items.js +2 -0
- package/build/cjs/context/reportsCardsContext/ReportsCardsContext.d.ts +3 -0
- package/build/cjs/context/reportsContext/ReportsContext.d.ts +5 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +29 -1
- package/build/cjs/models/constructor-items/blocks.js +2 -0
- package/build/cjs/models/constructor-items/common.d.ts +1 -0
- package/build/cjs/schema/constants.d.ts +703 -1
- package/build/cjs/schema/constants.js +3 -1
- package/build/cjs/schema/validators/blocks.d.ts +2 -0
- package/build/cjs/schema/validators/blocks.js +2 -0
- package/build/cjs/schema/validators/common.d.ts +234 -0
- package/build/cjs/schema/validators/common.js +1 -0
- package/build/cjs/sub-blocks/AttachmentCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/Content/schema.d.ts +234 -0
- package/build/cjs/sub-blocks/ContentLayoutCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/EventPersonCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/ImageCard/schema.d.ts +117 -0
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +117 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +234 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +117 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +117 -0
- package/build/esm/blocks/FilterBlock/schema.d.ts +234 -0
- package/build/esm/blocks/Form/schema.d.ts +234 -0
- package/build/esm/blocks/Info/schema.d.ts +234 -0
- package/build/esm/blocks/LinkTable/schema.d.ts +117 -0
- package/build/esm/blocks/Map/schema.d.ts +117 -0
- package/build/esm/blocks/Media/schema.d.ts +234 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +117 -0
- package/build/esm/blocks/Questions/schema.d.ts +117 -0
- package/build/esm/blocks/RelevantPosts/schema.d.ts +117 -0
- package/build/esm/blocks/RelevantReports/RelevantReports.css +8 -0
- package/build/esm/blocks/RelevantReports/RelevantReports.d.ts +4 -0
- package/build/esm/blocks/RelevantReports/RelevantReports.js +73 -0
- package/build/esm/blocks/RelevantReports/schema.d.ts +297 -0
- package/build/esm/blocks/RelevantReports/schema.js +19 -0
- package/build/esm/blocks/RelevantReportsCards/RelevantReportsCards.css +8 -0
- package/build/esm/blocks/RelevantReportsCards/RelevantReportsCards.d.ts +4 -0
- package/build/esm/blocks/RelevantReportsCards/RelevantReportsCards.js +73 -0
- package/build/esm/blocks/RelevantReportsCards/schema.d.ts +297 -0
- package/build/esm/blocks/RelevantReportsCards/schema.js +19 -0
- package/build/esm/blocks/Reports/Reports.js +12 -3
- package/build/esm/blocks/Reports/schema.d.ts +117 -0
- package/build/esm/blocks/ReportsCards/schema.d.ts +117 -0
- package/build/esm/blocks/ReportsSections/schema.d.ts +117 -0
- package/build/esm/blocks/Slider/schema.d.ts +117 -0
- package/build/esm/blocks/SliderNew/schema.d.ts +117 -0
- package/build/esm/blocks/Tabs/schema.d.ts +234 -0
- package/build/esm/blocks/index.d.ts +2 -0
- package/build/esm/blocks/index.js +2 -0
- package/build/esm/components/ProgressCircular/ProgressCircular.css +30 -0
- package/build/esm/components/ProgressCircular/ProgressCircular.d.ts +9 -0
- package/build/esm/components/ProgressCircular/ProgressCircular.js +11 -0
- package/build/esm/components/Title/Title.css +8 -0
- package/build/esm/components/Title/Title.d.ts +1 -1
- package/build/esm/components/Title/Title.js +5 -3
- package/build/esm/components/index.d.ts +1 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/constructor-items.d.ts +2 -0
- package/build/esm/constructor-items.js +3 -1
- package/build/esm/context/reportsCardsContext/ReportsCardsContext.d.ts +3 -0
- package/build/esm/context/reportsContext/ReportsContext.d.ts +5 -0
- package/build/esm/models/constructor-items/blocks.d.ts +29 -1
- package/build/esm/models/constructor-items/blocks.js +2 -0
- package/build/esm/models/constructor-items/common.d.ts +1 -0
- package/build/esm/schema/constants.d.ts +703 -1
- package/build/esm/schema/constants.js +4 -2
- package/build/esm/schema/validators/blocks.d.ts +2 -0
- package/build/esm/schema/validators/blocks.js +2 -0
- package/build/esm/schema/validators/common.d.ts +234 -0
- package/build/esm/schema/validators/common.js +1 -0
- package/build/esm/sub-blocks/AttachmentCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/Content/schema.d.ts +234 -0
- package/build/esm/sub-blocks/ContentLayoutCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/EventPersonCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/ImageCard/schema.d.ts +117 -0
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +117 -0
- package/package.json +1 -1
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +29 -1
- package/server/models/constructor-items/blocks.js +2 -0
- package/server/models/constructor-items/common.d.ts +1 -0
- package/widget/index.js +1 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
export declare const RelevantReportsCardsBlock: {
|
|
2
|
+
'relevant-reports-cards-block': {
|
|
3
|
+
additionalProperties: boolean;
|
|
4
|
+
required: never[];
|
|
5
|
+
properties: {
|
|
6
|
+
typeKey: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
link: {
|
|
10
|
+
type: string;
|
|
11
|
+
additionalProperties: boolean;
|
|
12
|
+
required: string[];
|
|
13
|
+
properties: {
|
|
14
|
+
text: {
|
|
15
|
+
type: string;
|
|
16
|
+
contentType: string;
|
|
17
|
+
};
|
|
18
|
+
url: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
urlTitle: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
arrow: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
theme: {
|
|
28
|
+
type: string;
|
|
29
|
+
enum: string[];
|
|
30
|
+
};
|
|
31
|
+
textSize: {
|
|
32
|
+
type: string;
|
|
33
|
+
enum: string[];
|
|
34
|
+
};
|
|
35
|
+
target: {
|
|
36
|
+
type: string;
|
|
37
|
+
enum: string[];
|
|
38
|
+
};
|
|
39
|
+
analyticsEvents: {
|
|
40
|
+
oneOf: ({
|
|
41
|
+
optionName: string;
|
|
42
|
+
type: string;
|
|
43
|
+
additionalProperties: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
required: string[];
|
|
47
|
+
properties: {
|
|
48
|
+
name: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
type: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
counters: {
|
|
55
|
+
type: string;
|
|
56
|
+
additionalProperties: boolean;
|
|
57
|
+
required: never[];
|
|
58
|
+
properties: {
|
|
59
|
+
include: {
|
|
60
|
+
type: string;
|
|
61
|
+
items: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
exclude: {
|
|
66
|
+
type: string;
|
|
67
|
+
items: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
context: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
items?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
type: string;
|
|
80
|
+
items: {
|
|
81
|
+
type: string;
|
|
82
|
+
additionalProperties: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
required: string[];
|
|
86
|
+
properties: {
|
|
87
|
+
name: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
type: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
counters: {
|
|
94
|
+
type: string;
|
|
95
|
+
additionalProperties: boolean;
|
|
96
|
+
required: never[];
|
|
97
|
+
properties: {
|
|
98
|
+
include: {
|
|
99
|
+
type: string;
|
|
100
|
+
items: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
exclude: {
|
|
105
|
+
type: string;
|
|
106
|
+
items: {
|
|
107
|
+
type: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
context: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
optionName: string;
|
|
118
|
+
})[];
|
|
119
|
+
};
|
|
120
|
+
type: {};
|
|
121
|
+
when: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
slider: {
|
|
127
|
+
type: string;
|
|
128
|
+
};
|
|
129
|
+
date: {
|
|
130
|
+
type: string;
|
|
131
|
+
enum: string[];
|
|
132
|
+
};
|
|
133
|
+
dateStart: {
|
|
134
|
+
type: string;
|
|
135
|
+
};
|
|
136
|
+
dateEnd: {
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
title: {
|
|
140
|
+
oneOf: ({
|
|
141
|
+
type: string;
|
|
142
|
+
optionName: string;
|
|
143
|
+
} | {
|
|
144
|
+
optionName: string;
|
|
145
|
+
type: string;
|
|
146
|
+
additionalProperties: boolean;
|
|
147
|
+
required: string[];
|
|
148
|
+
properties: {
|
|
149
|
+
text: {
|
|
150
|
+
type: string;
|
|
151
|
+
contentType: string;
|
|
152
|
+
};
|
|
153
|
+
link: {
|
|
154
|
+
type: string;
|
|
155
|
+
additionalProperties: boolean;
|
|
156
|
+
required: string[];
|
|
157
|
+
properties: {
|
|
158
|
+
text: {
|
|
159
|
+
type: string;
|
|
160
|
+
contentType: string;
|
|
161
|
+
};
|
|
162
|
+
url: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
urlTitle: {
|
|
166
|
+
type: string;
|
|
167
|
+
};
|
|
168
|
+
arrow: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
171
|
+
theme: {
|
|
172
|
+
type: string;
|
|
173
|
+
enum: string[];
|
|
174
|
+
};
|
|
175
|
+
textSize: {
|
|
176
|
+
type: string;
|
|
177
|
+
enum: string[];
|
|
178
|
+
};
|
|
179
|
+
target: {
|
|
180
|
+
type: string;
|
|
181
|
+
enum: string[];
|
|
182
|
+
};
|
|
183
|
+
analyticsEvents: {
|
|
184
|
+
oneOf: ({
|
|
185
|
+
optionName: string;
|
|
186
|
+
type: string;
|
|
187
|
+
additionalProperties: {
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
190
|
+
required: string[];
|
|
191
|
+
properties: {
|
|
192
|
+
name: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
type: {
|
|
196
|
+
type: string;
|
|
197
|
+
};
|
|
198
|
+
counters: {
|
|
199
|
+
type: string;
|
|
200
|
+
additionalProperties: boolean;
|
|
201
|
+
required: never[];
|
|
202
|
+
properties: {
|
|
203
|
+
include: {
|
|
204
|
+
type: string;
|
|
205
|
+
items: {
|
|
206
|
+
type: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
exclude: {
|
|
210
|
+
type: string;
|
|
211
|
+
items: {
|
|
212
|
+
type: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
context: {
|
|
218
|
+
type: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
items?: undefined;
|
|
222
|
+
} | {
|
|
223
|
+
type: string;
|
|
224
|
+
items: {
|
|
225
|
+
type: string;
|
|
226
|
+
additionalProperties: {
|
|
227
|
+
type: string;
|
|
228
|
+
};
|
|
229
|
+
required: string[];
|
|
230
|
+
properties: {
|
|
231
|
+
name: {
|
|
232
|
+
type: string;
|
|
233
|
+
};
|
|
234
|
+
type: {
|
|
235
|
+
type: string;
|
|
236
|
+
};
|
|
237
|
+
counters: {
|
|
238
|
+
type: string;
|
|
239
|
+
additionalProperties: boolean;
|
|
240
|
+
required: never[];
|
|
241
|
+
properties: {
|
|
242
|
+
include: {
|
|
243
|
+
type: string;
|
|
244
|
+
items: {
|
|
245
|
+
type: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
exclude: {
|
|
249
|
+
type: string;
|
|
250
|
+
items: {
|
|
251
|
+
type: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
context: {
|
|
257
|
+
type: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
optionName: string;
|
|
262
|
+
})[];
|
|
263
|
+
};
|
|
264
|
+
type: {};
|
|
265
|
+
when: {
|
|
266
|
+
type: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
textSize: {
|
|
271
|
+
type: string;
|
|
272
|
+
enum: string[];
|
|
273
|
+
};
|
|
274
|
+
url: {
|
|
275
|
+
type: string;
|
|
276
|
+
};
|
|
277
|
+
urlTitle: {
|
|
278
|
+
type: string;
|
|
279
|
+
};
|
|
280
|
+
resetMargin: {
|
|
281
|
+
type: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
})[];
|
|
285
|
+
};
|
|
286
|
+
description: {
|
|
287
|
+
type: string;
|
|
288
|
+
contentType: string;
|
|
289
|
+
inputType: string;
|
|
290
|
+
};
|
|
291
|
+
type: {};
|
|
292
|
+
when: {
|
|
293
|
+
type: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelevantReportsCardsBlock = void 0;
|
|
4
|
+
const common_1 = require("./../../schema/validators/common");
|
|
5
|
+
exports.RelevantReportsCardsBlock = {
|
|
6
|
+
'relevant-reports-cards-block': {
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
required: [],
|
|
9
|
+
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.BlockHeaderProps), { typeKey: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
}, link: common_1.LinkProps, slider: {
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
}, date: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
enum: ['today', 'week', 'month'],
|
|
16
|
+
}, dateStart: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
}, dateEnd: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
} }),
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -14,7 +14,7 @@ const titleColSizes = {
|
|
|
14
14
|
const ReportsBlock = ({ title, typeKey, empty }) => {
|
|
15
15
|
const data = (0, react_1.useContext)(reportsContext_1.ReportsContext);
|
|
16
16
|
const [page, setPage] = (0, react_1.useState)(1);
|
|
17
|
-
const { selects, items, itemsPerPage, filesOutline } = (0, react_1.useMemo)(() => data[typeKey], [data, typeKey]);
|
|
17
|
+
const { selects, loading, items, itemsPerPage, filesOutline } = (0, react_1.useMemo)(() => data[typeKey], [data, typeKey]);
|
|
18
18
|
const initFilters = (0, react_1.useMemo)(() => (selects === null || selects === void 0 ? void 0 : selects.reduce((acc, select) => (Object.assign(Object.assign({}, acc), { [select.name]: select.init })), {})) || {}, [selects]);
|
|
19
19
|
const [localFilters, setLocalFilters] = (0, react_1.useState)(initFilters);
|
|
20
20
|
const handleChange = (0, react_1.useCallback)((name, value) => setLocalFilters((prev) => (Object.assign(Object.assign({}, prev), { [name]: value }))), []);
|
|
@@ -33,10 +33,19 @@ const ReportsBlock = ({ title, typeKey, empty }) => {
|
|
|
33
33
|
const titleProps = !title || typeof title === 'string'
|
|
34
34
|
? { text: title, textSize: 'm' }
|
|
35
35
|
: title;
|
|
36
|
+
const renderItems = (0, react_1.useMemo)(() => {
|
|
37
|
+
if (loading) {
|
|
38
|
+
return react_1.default.createElement(components_1.ProgressCircular, { size: 48, strokeWidth: 2, color: "#262626" });
|
|
39
|
+
}
|
|
40
|
+
if (!paginatedItems.length) {
|
|
41
|
+
return react_1.default.createElement("div", { className: b('empty') }, empty);
|
|
42
|
+
}
|
|
43
|
+
return paginatedItems.map((item, index) => (react_1.default.createElement(ReportsItem_1.default, Object.assign({ key: index }, item, { filesOutline: filesOutline }))));
|
|
44
|
+
}, [loading, empty, filesOutline, paginatedItems]);
|
|
36
45
|
return (react_1.default.createElement("div", { className: b() },
|
|
37
46
|
title && react_1.default.createElement(components_1.Title, { className: b('title'), title: titleProps, colSizes: titleColSizes }),
|
|
38
47
|
(selects === null || selects === void 0 ? void 0 : selects.length) && (react_1.default.createElement("div", { className: b('select') }, selects.map(({ name, options }) => (react_1.default.createElement(components_1.Select, { key: name, name: name, options: options, onChange: handleChange }))))),
|
|
39
|
-
|
|
48
|
+
renderItems,
|
|
40
49
|
itemsPerPage && (react_1.default.createElement(components_1.Paginator, { page: page, itemsPerPage: itemsPerPage, totalItems: filteredItems.length, maxPages: Infinity, onPageChange: setPage }))));
|
|
41
50
|
};
|
|
42
51
|
exports.ReportsBlock = ReportsBlock;
|
|
@@ -18,6 +18,123 @@ export declare const ReportsBlock: {
|
|
|
18
18
|
type: string;
|
|
19
19
|
contentType: string;
|
|
20
20
|
};
|
|
21
|
+
link: {
|
|
22
|
+
type: string;
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
|
+
properties: {
|
|
26
|
+
text: {
|
|
27
|
+
type: string;
|
|
28
|
+
contentType: string;
|
|
29
|
+
};
|
|
30
|
+
url: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
urlTitle: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
arrow: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
theme: {
|
|
40
|
+
type: string;
|
|
41
|
+
enum: string[];
|
|
42
|
+
};
|
|
43
|
+
textSize: {
|
|
44
|
+
type: string;
|
|
45
|
+
enum: string[];
|
|
46
|
+
};
|
|
47
|
+
target: {
|
|
48
|
+
type: string;
|
|
49
|
+
enum: string[];
|
|
50
|
+
};
|
|
51
|
+
analyticsEvents: {
|
|
52
|
+
oneOf: ({
|
|
53
|
+
optionName: string;
|
|
54
|
+
type: string;
|
|
55
|
+
additionalProperties: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
required: string[];
|
|
59
|
+
properties: {
|
|
60
|
+
name: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
type: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
counters: {
|
|
67
|
+
type: string;
|
|
68
|
+
additionalProperties: boolean;
|
|
69
|
+
required: never[];
|
|
70
|
+
properties: {
|
|
71
|
+
include: {
|
|
72
|
+
type: string;
|
|
73
|
+
items: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
exclude: {
|
|
78
|
+
type: string;
|
|
79
|
+
items: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
context: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
items?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: string;
|
|
92
|
+
items: {
|
|
93
|
+
type: string;
|
|
94
|
+
additionalProperties: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
required: string[];
|
|
98
|
+
properties: {
|
|
99
|
+
name: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
type: {
|
|
103
|
+
type: string;
|
|
104
|
+
};
|
|
105
|
+
counters: {
|
|
106
|
+
type: string;
|
|
107
|
+
additionalProperties: boolean;
|
|
108
|
+
required: never[];
|
|
109
|
+
properties: {
|
|
110
|
+
include: {
|
|
111
|
+
type: string;
|
|
112
|
+
items: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
exclude: {
|
|
117
|
+
type: string;
|
|
118
|
+
items: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
context: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
optionName: string;
|
|
130
|
+
})[];
|
|
131
|
+
};
|
|
132
|
+
type: {};
|
|
133
|
+
when: {
|
|
134
|
+
type: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
21
138
|
textSize: {
|
|
22
139
|
type: string;
|
|
23
140
|
enum: string[];
|
|
@@ -18,6 +18,123 @@ export declare const ReportsCardsBlock: {
|
|
|
18
18
|
type: string;
|
|
19
19
|
contentType: string;
|
|
20
20
|
};
|
|
21
|
+
link: {
|
|
22
|
+
type: string;
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
|
+
properties: {
|
|
26
|
+
text: {
|
|
27
|
+
type: string;
|
|
28
|
+
contentType: string;
|
|
29
|
+
};
|
|
30
|
+
url: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
urlTitle: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
arrow: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
theme: {
|
|
40
|
+
type: string;
|
|
41
|
+
enum: string[];
|
|
42
|
+
};
|
|
43
|
+
textSize: {
|
|
44
|
+
type: string;
|
|
45
|
+
enum: string[];
|
|
46
|
+
};
|
|
47
|
+
target: {
|
|
48
|
+
type: string;
|
|
49
|
+
enum: string[];
|
|
50
|
+
};
|
|
51
|
+
analyticsEvents: {
|
|
52
|
+
oneOf: ({
|
|
53
|
+
optionName: string;
|
|
54
|
+
type: string;
|
|
55
|
+
additionalProperties: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
required: string[];
|
|
59
|
+
properties: {
|
|
60
|
+
name: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
type: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
counters: {
|
|
67
|
+
type: string;
|
|
68
|
+
additionalProperties: boolean;
|
|
69
|
+
required: never[];
|
|
70
|
+
properties: {
|
|
71
|
+
include: {
|
|
72
|
+
type: string;
|
|
73
|
+
items: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
exclude: {
|
|
78
|
+
type: string;
|
|
79
|
+
items: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
context: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
items?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: string;
|
|
92
|
+
items: {
|
|
93
|
+
type: string;
|
|
94
|
+
additionalProperties: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
required: string[];
|
|
98
|
+
properties: {
|
|
99
|
+
name: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
type: {
|
|
103
|
+
type: string;
|
|
104
|
+
};
|
|
105
|
+
counters: {
|
|
106
|
+
type: string;
|
|
107
|
+
additionalProperties: boolean;
|
|
108
|
+
required: never[];
|
|
109
|
+
properties: {
|
|
110
|
+
include: {
|
|
111
|
+
type: string;
|
|
112
|
+
items: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
exclude: {
|
|
117
|
+
type: string;
|
|
118
|
+
items: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
context: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
optionName: string;
|
|
130
|
+
})[];
|
|
131
|
+
};
|
|
132
|
+
type: {};
|
|
133
|
+
when: {
|
|
134
|
+
type: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
21
138
|
textSize: {
|
|
22
139
|
type: string;
|
|
23
140
|
enum: string[];
|