@gravity-ui/page-constructor 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +79 -6
- package/build/cjs/blocks/Banner/schema.d.ts +234 -0
- package/build/cjs/blocks/CardLayout/schema.d.ts +6 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +3 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +81 -0
- package/build/cjs/blocks/Header/schema.d.ts +3 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/cjs/blocks/Icons/schema.d.ts +6 -0
- package/build/cjs/blocks/LinkTable/schema.d.ts +3 -0
- package/build/cjs/blocks/Map/schema.d.ts +129 -34
- package/build/cjs/blocks/Media/schema.d.ts +162 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/cjs/blocks/Questions/schema.d.ts +3 -0
- package/build/cjs/blocks/Share/Share.js +5 -1
- package/build/cjs/blocks/Simple/schema.d.ts +3 -0
- package/build/cjs/blocks/Slider/schema.d.ts +3 -0
- package/build/cjs/blocks/Table/schema.d.ts +3 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +81 -0
- package/build/cjs/components/BackLink/BackLink.js +5 -1
- package/build/cjs/components/Button/Button.js +6 -2
- package/build/cjs/components/CardBase/CardBase.d.ts +2 -1
- package/build/cjs/components/CardBase/CardBase.js +5 -1
- package/build/cjs/components/Link/Link.js +5 -1
- package/build/cjs/components/Media/Media.js +3 -2
- package/build/cjs/components/Media/Video/Video.js +3 -2
- package/build/cjs/components/ReactPlayer/ReactPlayer.js +16 -3
- package/build/cjs/components/YandexForm/YandexForm.d.ts +2 -1
- package/build/cjs/components/YandexForm/YandexForm.js +14 -2
- package/build/cjs/containers/PageConstructor/Provider.d.ts +2 -0
- package/build/cjs/containers/PageConstructor/Provider.js +3 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/cjs/context/analyticsContext/analyticsContext.d.ts +7 -0
- package/build/cjs/context/analyticsContext/analyticsContext.js +6 -0
- package/build/cjs/context/analyticsContext/index.d.ts +1 -0
- package/build/cjs/context/analyticsContext/index.js +4 -0
- package/build/cjs/context/blockIdContext/blockIdContext.d.ts +3 -0
- package/build/cjs/context/blockIdContext/blockIdContext.js +6 -0
- package/build/cjs/context/blockIdContext/index.d.ts +1 -0
- package/build/cjs/context/blockIdContext/index.js +4 -0
- package/build/cjs/context/metrikaContext/metrikaContext.d.ts +6 -0
- package/build/cjs/hooks/index.d.ts +1 -0
- package/build/cjs/hooks/index.js +1 -0
- package/build/cjs/hooks/useAnalytics.d.ts +2 -0
- package/build/cjs/hooks/useAnalytics.js +35 -0
- package/build/cjs/hooks/useMetrika.d.ts +6 -0
- package/build/cjs/hooks/useMetrika.js +8 -0
- package/build/cjs/models/common.d.ts +45 -0
- package/build/cjs/models/common.js +22 -1
- package/build/cjs/models/constructor-items/common.d.ts +5 -5
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +2 -2
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +5 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +4 -2
- package/build/cjs/schema/validators/common.d.ts +309 -43
- package/build/cjs/schema/validators/common.js +39 -18
- package/build/cjs/schema/validators/event.d.ts +37 -0
- package/build/cjs/schema/validators/event.js +38 -0
- package/build/cjs/sub-blocks/HubspotForm/index.js +15 -2
- package/build/cjs/sub-blocks/LayoutItem/utils.d.ts +13 -0
- package/build/cjs/sub-blocks/Quote/Quote.js +4 -1
- package/build/cjs/utils/analytics.d.ts +2 -0
- package/build/cjs/utils/analytics.js +17 -0
- package/build/cjs/utils/index.d.ts +1 -0
- package/build/cjs/utils/index.js +1 -0
- package/build/esm/blocks/Banner/schema.d.ts +234 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +6 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +3 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +81 -0
- package/build/esm/blocks/Header/schema.d.ts +3 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/esm/blocks/Icons/schema.d.ts +6 -0
- package/build/esm/blocks/LinkTable/schema.d.ts +3 -0
- package/build/esm/blocks/Map/schema.d.ts +129 -34
- package/build/esm/blocks/Media/schema.d.ts +162 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/esm/blocks/Questions/schema.d.ts +3 -0
- package/build/esm/blocks/Share/Share.js +6 -2
- package/build/esm/blocks/Simple/schema.d.ts +3 -0
- package/build/esm/blocks/Slider/schema.d.ts +3 -0
- package/build/esm/blocks/Table/schema.d.ts +3 -0
- package/build/esm/blocks/Tabs/schema.d.ts +81 -0
- package/build/esm/components/BackLink/BackLink.js +5 -1
- package/build/esm/components/Button/Button.js +6 -2
- package/build/esm/components/CardBase/CardBase.d.ts +2 -1
- package/build/esm/components/CardBase/CardBase.js +5 -1
- package/build/esm/components/Link/Link.js +5 -1
- package/build/esm/components/Media/Media.js +3 -2
- package/build/esm/components/Media/Video/Video.js +3 -2
- package/build/esm/components/ReactPlayer/ReactPlayer.js +17 -4
- package/build/esm/components/YandexForm/YandexForm.d.ts +2 -1
- package/build/esm/components/YandexForm/YandexForm.js +14 -2
- package/build/esm/containers/PageConstructor/Provider.d.ts +2 -0
- package/build/esm/containers/PageConstructor/Provider.js +3 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/esm/context/analyticsContext/analyticsContext.d.ts +7 -0
- package/build/esm/context/analyticsContext/analyticsContext.js +2 -0
- package/build/esm/context/analyticsContext/index.d.ts +1 -0
- package/build/esm/context/analyticsContext/index.js +1 -0
- package/build/esm/context/blockIdContext/blockIdContext.d.ts +3 -0
- package/build/esm/context/blockIdContext/blockIdContext.js +2 -0
- package/build/esm/context/blockIdContext/index.d.ts +1 -0
- package/build/esm/context/blockIdContext/index.js +1 -0
- package/build/esm/context/metrikaContext/metrikaContext.d.ts +6 -0
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/index.js +1 -0
- package/build/esm/hooks/useAnalytics.d.ts +2 -0
- package/build/esm/hooks/useAnalytics.js +31 -0
- package/build/esm/hooks/useMetrika.d.ts +6 -0
- package/build/esm/hooks/useMetrika.js +8 -0
- package/build/esm/models/common.d.ts +45 -0
- package/build/esm/models/common.js +21 -0
- package/build/esm/models/constructor-items/common.d.ts +5 -5
- package/build/esm/models/constructor-items/sub-blocks.d.ts +2 -2
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +5 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +4 -2
- package/build/esm/schema/validators/common.d.ts +309 -43
- package/build/esm/schema/validators/common.js +39 -18
- package/build/esm/schema/validators/event.d.ts +37 -0
- package/build/esm/schema/validators/event.js +35 -0
- package/build/esm/sub-blocks/HubspotForm/index.js +16 -3
- package/build/esm/sub-blocks/LayoutItem/utils.d.ts +13 -0
- package/build/esm/sub-blocks/Quote/Quote.js +6 -3
- package/build/esm/utils/analytics.d.ts +2 -0
- package/build/esm/utils/analytics.js +13 -0
- package/build/esm/utils/index.d.ts +1 -0
- package/build/esm/utils/index.js +1 -0
- package/package.json +1 -1
- package/server/models/common.d.ts +45 -0
- package/server/models/common.js +22 -1
- package/server/models/constructor-items/common.d.ts +5 -5
- package/server/models/constructor-items/sub-blocks.d.ts +2 -2
- package/server/utils/analytics.d.ts +2 -0
- package/server/utils/analytics.js +17 -0
- package/server/utils/index.d.ts +1 -0
- package/server/utils/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.20.0](https://github.com/gravity-ui/page-constructor/compare/v1.19.1...v1.20.0) (2023-03-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* new analytics ([#121](https://github.com/gravity-ui/page-constructor/issues/121)) ([cc329bc](https://github.com/gravity-ui/page-constructor/commit/cc329bcca9b11cd8a5fb2b4ff30791134ee09535))
|
|
9
|
+
|
|
10
|
+
## [1.19.1](https://github.com/gravity-ui/page-constructor/compare/v1.19.0...v1.19.1) (2023-03-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fix map block scheme ([8db1923](https://github.com/gravity-ui/page-constructor/commit/8db1923b315c793d349da868f9299feb983408be))
|
|
16
|
+
|
|
3
17
|
## [1.19.0](https://github.com/gravity-ui/page-constructor/compare/v1.18.1...v1.19.0) (2023-02-28)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -43,7 +43,8 @@ interface PageConstructorProviderProps {
|
|
|
43
43
|
isMobile?: boolean; //A flag indicating that the code is executed in mobile mode.
|
|
44
44
|
locale?: LocaleContextProps; //Info about the language and domain (used when generating and formatting links).
|
|
45
45
|
location?: Location; //API of the browser or router history, the page URL.
|
|
46
|
-
|
|
46
|
+
analytics?: AnalyticsContextProps; // function to handle analytics event
|
|
47
|
+
|
|
47
48
|
ssrConfig?: SSR; //A flag indicating that the code is run on the server size.
|
|
48
49
|
theme?: 'light' | 'dark'; //Theme to render the page with.
|
|
49
50
|
mapsContext?: MapsContextType; //Params for map: apikey, type, scriptSrc, nonce
|
|
@@ -82,11 +83,6 @@ interface SSR {
|
|
|
82
83
|
isServer?: boolean;
|
|
83
84
|
}
|
|
84
85
|
|
|
85
|
-
interface Metrika {
|
|
86
|
-
metrika?: any;
|
|
87
|
-
pixel?: any;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
86
|
interface NavigationData {
|
|
91
87
|
logo: NavigationLogo;
|
|
92
88
|
header: HeaderData;
|
|
@@ -219,6 +215,83 @@ To use maps, put the map type, scriptSrc and apiKey in field `mapContext` in `Pa
|
|
|
219
215
|
You can define environment variables for dev-mode in .env.development file within project root.
|
|
220
216
|
`STORYBOOK_GMAP_API_KEY` - apiKey for google maps
|
|
221
217
|
|
|
218
|
+
### Analytics
|
|
219
|
+
|
|
220
|
+
#### Init
|
|
221
|
+
|
|
222
|
+
To start using any analytics, pass a handler to the constructor. The handler must be created on a project side. The handler will receive the `default` and `custom` event objects. The passed handler will be fired on a button, link, navigation, and control clicks. As one handler is used for all events treatment, pay attention to how to treat different events while creating the handler. There are predefined fields that serve to help you to build complex logic.
|
|
223
|
+
|
|
224
|
+
Pass `autoEvents: true` to constructor to fire automatically configured events.
|
|
225
|
+
|
|
226
|
+
```ts
|
|
227
|
+
function sendEvents(events: MyEventType []) {
|
|
228
|
+
...
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
<PageConstructorProvider
|
|
232
|
+
...
|
|
233
|
+
|
|
234
|
+
analytics={{sendEvents, autoEvents: true}}
|
|
235
|
+
|
|
236
|
+
...
|
|
237
|
+
/>
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
An event object has only one required field - `name`. It also has predefined fields, which serve to help manage complex logic. For example, `counter.include` can help to send event in a particular counter if several analytics systems are used in a project.
|
|
241
|
+
|
|
242
|
+
```ts
|
|
243
|
+
type AnalyticsEvent<T = {}> = T & {
|
|
244
|
+
name: string;
|
|
245
|
+
type?: string;
|
|
246
|
+
counters?: AnalyticsCounters;
|
|
247
|
+
context?: string;
|
|
248
|
+
};
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
It is possible to configure an event type needed for a project.
|
|
252
|
+
|
|
253
|
+
```ts
|
|
254
|
+
type MyEventType = AnalyticsEvent<{
|
|
255
|
+
[key: string]?: string; // only a 'string' type is supported
|
|
256
|
+
}>;
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
#### Counter selector
|
|
260
|
+
|
|
261
|
+
It is possible to configure an event to which an analytics system to sent.
|
|
262
|
+
|
|
263
|
+
```ts
|
|
264
|
+
type AnalyticsCounters = {
|
|
265
|
+
include?: string[]; // array of analytics counter ids that will be applied
|
|
266
|
+
exclude?: string[]; // array of analytics counter ids that will not be applied
|
|
267
|
+
};
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
#### context parameter
|
|
271
|
+
|
|
272
|
+
Pass `context` value to define place in a project where an event is fired.
|
|
273
|
+
|
|
274
|
+
Use selector below or create logic that serves project needs.
|
|
275
|
+
|
|
276
|
+
```ts
|
|
277
|
+
// analyticsHandler.ts
|
|
278
|
+
if (isCounterAllowed(counterName, counters)) {
|
|
279
|
+
analyticsCounter.reachGoal(counterName, name, parameters);
|
|
280
|
+
}
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
#### Reserved event types
|
|
284
|
+
|
|
285
|
+
Several predefined event types are used to mark automatically configured events. Use the types to filter default events, for example.
|
|
286
|
+
|
|
287
|
+
```ts
|
|
288
|
+
enum PredefinedEventTypes {
|
|
289
|
+
Default = 'default-event', // default events which fire on every button click
|
|
290
|
+
Play = 'play', // React player event
|
|
291
|
+
Stop = 'stop', // React player event
|
|
292
|
+
}
|
|
293
|
+
```
|
|
294
|
+
|
|
222
295
|
## Development
|
|
223
296
|
|
|
224
297
|
```bash
|
|
@@ -173,6 +173,84 @@ export declare const BannerCardProps: {
|
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
|
+
analyticsEvents: {
|
|
177
|
+
anyOf: ({
|
|
178
|
+
type: string;
|
|
179
|
+
additionalProperties: {
|
|
180
|
+
type: string;
|
|
181
|
+
};
|
|
182
|
+
required: string[];
|
|
183
|
+
properties: {
|
|
184
|
+
name: {
|
|
185
|
+
type: string;
|
|
186
|
+
};
|
|
187
|
+
type: {
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
190
|
+
counters: {
|
|
191
|
+
type: string;
|
|
192
|
+
additionalProperties: boolean;
|
|
193
|
+
required: never[];
|
|
194
|
+
properties: {
|
|
195
|
+
include: {
|
|
196
|
+
type: string;
|
|
197
|
+
items: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
exclude: {
|
|
202
|
+
type: string;
|
|
203
|
+
items: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
context: {
|
|
210
|
+
type: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
} | {
|
|
214
|
+
type: string;
|
|
215
|
+
items: {
|
|
216
|
+
type: string;
|
|
217
|
+
additionalProperties: {
|
|
218
|
+
type: string;
|
|
219
|
+
};
|
|
220
|
+
required: string[];
|
|
221
|
+
properties: {
|
|
222
|
+
name: {
|
|
223
|
+
type: string;
|
|
224
|
+
};
|
|
225
|
+
type: {
|
|
226
|
+
type: string;
|
|
227
|
+
};
|
|
228
|
+
counters: {
|
|
229
|
+
type: string;
|
|
230
|
+
additionalProperties: boolean;
|
|
231
|
+
required: never[];
|
|
232
|
+
properties: {
|
|
233
|
+
include: {
|
|
234
|
+
type: string;
|
|
235
|
+
items: {
|
|
236
|
+
type: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
exclude: {
|
|
240
|
+
type: string;
|
|
241
|
+
items: {
|
|
242
|
+
type: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
context: {
|
|
248
|
+
type: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
})[];
|
|
253
|
+
};
|
|
176
254
|
target: {
|
|
177
255
|
type: string;
|
|
178
256
|
enum: string[];
|
|
@@ -375,6 +453,84 @@ export declare const BannerBlock: {
|
|
|
375
453
|
};
|
|
376
454
|
};
|
|
377
455
|
};
|
|
456
|
+
analyticsEvents: {
|
|
457
|
+
anyOf: ({
|
|
458
|
+
type: string;
|
|
459
|
+
additionalProperties: {
|
|
460
|
+
type: string;
|
|
461
|
+
};
|
|
462
|
+
required: string[];
|
|
463
|
+
properties: {
|
|
464
|
+
name: {
|
|
465
|
+
type: string;
|
|
466
|
+
};
|
|
467
|
+
type: {
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
470
|
+
counters: {
|
|
471
|
+
type: string;
|
|
472
|
+
additionalProperties: boolean;
|
|
473
|
+
required: never[];
|
|
474
|
+
properties: {
|
|
475
|
+
include: {
|
|
476
|
+
type: string;
|
|
477
|
+
items: {
|
|
478
|
+
type: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
exclude: {
|
|
482
|
+
type: string;
|
|
483
|
+
items: {
|
|
484
|
+
type: string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
context: {
|
|
490
|
+
type: string;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
} | {
|
|
494
|
+
type: string;
|
|
495
|
+
items: {
|
|
496
|
+
type: string;
|
|
497
|
+
additionalProperties: {
|
|
498
|
+
type: string;
|
|
499
|
+
};
|
|
500
|
+
required: string[];
|
|
501
|
+
properties: {
|
|
502
|
+
name: {
|
|
503
|
+
type: string;
|
|
504
|
+
};
|
|
505
|
+
type: {
|
|
506
|
+
type: string;
|
|
507
|
+
};
|
|
508
|
+
counters: {
|
|
509
|
+
type: string;
|
|
510
|
+
additionalProperties: boolean;
|
|
511
|
+
required: never[];
|
|
512
|
+
properties: {
|
|
513
|
+
include: {
|
|
514
|
+
type: string;
|
|
515
|
+
items: {
|
|
516
|
+
type: string;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
exclude: {
|
|
520
|
+
type: string;
|
|
521
|
+
items: {
|
|
522
|
+
type: string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
context: {
|
|
528
|
+
type: string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
})[];
|
|
533
|
+
};
|
|
378
534
|
target: {
|
|
379
535
|
type: string;
|
|
380
536
|
enum: string[];
|
|
@@ -578,6 +734,84 @@ export declare const BannerCard: {
|
|
|
578
734
|
};
|
|
579
735
|
};
|
|
580
736
|
};
|
|
737
|
+
analyticsEvents: {
|
|
738
|
+
anyOf: ({
|
|
739
|
+
type: string;
|
|
740
|
+
additionalProperties: {
|
|
741
|
+
type: string;
|
|
742
|
+
};
|
|
743
|
+
required: string[];
|
|
744
|
+
properties: {
|
|
745
|
+
name: {
|
|
746
|
+
type: string;
|
|
747
|
+
};
|
|
748
|
+
type: {
|
|
749
|
+
type: string;
|
|
750
|
+
};
|
|
751
|
+
counters: {
|
|
752
|
+
type: string;
|
|
753
|
+
additionalProperties: boolean;
|
|
754
|
+
required: never[];
|
|
755
|
+
properties: {
|
|
756
|
+
include: {
|
|
757
|
+
type: string;
|
|
758
|
+
items: {
|
|
759
|
+
type: string;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
exclude: {
|
|
763
|
+
type: string;
|
|
764
|
+
items: {
|
|
765
|
+
type: string;
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
context: {
|
|
771
|
+
type: string;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
} | {
|
|
775
|
+
type: string;
|
|
776
|
+
items: {
|
|
777
|
+
type: string;
|
|
778
|
+
additionalProperties: {
|
|
779
|
+
type: string;
|
|
780
|
+
};
|
|
781
|
+
required: string[];
|
|
782
|
+
properties: {
|
|
783
|
+
name: {
|
|
784
|
+
type: string;
|
|
785
|
+
};
|
|
786
|
+
type: {
|
|
787
|
+
type: string;
|
|
788
|
+
};
|
|
789
|
+
counters: {
|
|
790
|
+
type: string;
|
|
791
|
+
additionalProperties: boolean;
|
|
792
|
+
required: never[];
|
|
793
|
+
properties: {
|
|
794
|
+
include: {
|
|
795
|
+
type: string;
|
|
796
|
+
items: {
|
|
797
|
+
type: string;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
exclude: {
|
|
801
|
+
type: string;
|
|
802
|
+
items: {
|
|
803
|
+
type: string;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
context: {
|
|
809
|
+
type: string;
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
})[];
|
|
814
|
+
};
|
|
581
815
|
target: {
|
|
582
816
|
type: string;
|
|
583
817
|
enum: string[];
|
|
@@ -66,6 +66,9 @@ export declare const CardLayoutProps: {
|
|
|
66
66
|
resetPaddings: {
|
|
67
67
|
type: string;
|
|
68
68
|
};
|
|
69
|
+
context: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
69
72
|
type: {};
|
|
70
73
|
when: {};
|
|
71
74
|
};
|
|
@@ -139,6 +142,9 @@ export declare const CardLayoutBlock: {
|
|
|
139
142
|
resetPaddings: {
|
|
140
143
|
type: string;
|
|
141
144
|
};
|
|
145
|
+
context: {
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
142
148
|
type: {};
|
|
143
149
|
when: {};
|
|
144
150
|
};
|
|
@@ -41,6 +41,84 @@ export declare const ExtendedFeaturesItem: {
|
|
|
41
41
|
type: string;
|
|
42
42
|
enum: string[];
|
|
43
43
|
};
|
|
44
|
+
analyticsEvents: {
|
|
45
|
+
anyOf: ({
|
|
46
|
+
type: string;
|
|
47
|
+
additionalProperties: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
required: string[];
|
|
51
|
+
properties: {
|
|
52
|
+
name: {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
type: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
counters: {
|
|
59
|
+
type: string;
|
|
60
|
+
additionalProperties: boolean;
|
|
61
|
+
required: never[];
|
|
62
|
+
properties: {
|
|
63
|
+
include: {
|
|
64
|
+
type: string;
|
|
65
|
+
items: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
exclude: {
|
|
70
|
+
type: string;
|
|
71
|
+
items: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
context: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
} | {
|
|
82
|
+
type: string;
|
|
83
|
+
items: {
|
|
84
|
+
type: string;
|
|
85
|
+
additionalProperties: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
required: string[];
|
|
89
|
+
properties: {
|
|
90
|
+
name: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
type: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
counters: {
|
|
97
|
+
type: string;
|
|
98
|
+
additionalProperties: boolean;
|
|
99
|
+
required: never[];
|
|
100
|
+
properties: {
|
|
101
|
+
include: {
|
|
102
|
+
type: string;
|
|
103
|
+
items: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
exclude: {
|
|
108
|
+
type: string;
|
|
109
|
+
items: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
context: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
})[];
|
|
121
|
+
};
|
|
44
122
|
type: {};
|
|
45
123
|
when: {};
|
|
46
124
|
};
|
|
@@ -124,6 +202,9 @@ export declare const ExtendedFeaturesBlock: {
|
|
|
124
202
|
resetPaddings: {
|
|
125
203
|
type: string;
|
|
126
204
|
};
|
|
205
|
+
context: {
|
|
206
|
+
type: string;
|
|
207
|
+
};
|
|
127
208
|
type: {};
|
|
128
209
|
when: {};
|
|
129
210
|
};
|
|
@@ -54,6 +54,9 @@ export declare const IconsProps: {
|
|
|
54
54
|
resetPaddings: {
|
|
55
55
|
type: string;
|
|
56
56
|
};
|
|
57
|
+
context: {
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
57
60
|
type: {};
|
|
58
61
|
when: {};
|
|
59
62
|
};
|
|
@@ -115,6 +118,9 @@ export declare const IconsBlock: {
|
|
|
115
118
|
resetPaddings: {
|
|
116
119
|
type: string;
|
|
117
120
|
};
|
|
121
|
+
context: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
118
124
|
type: {};
|
|
119
125
|
when: {};
|
|
120
126
|
};
|