@infomaximum/widget-sdk 6.0.0-view-theme.6 → 6.0.0-view-theme.8
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 +24 -14
- package/dist/index.d.ts +38 -2
- package/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,37 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## [6.0.0-view-theme.
|
|
5
|
+
## [6.0.0-view-theme.8](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.7...v6.0.0-view-theme.8) (2025-11-14)
|
|
6
|
+
|
|
7
|
+
## [6.0.0-16](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.6...v6.0.0-16) (2025-11-13)
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
### Features
|
|
9
11
|
|
|
10
|
-
*
|
|
12
|
+
* в TActionOpenIn добавлено поле inheritFilter ([6d14dec](https://github.com/Infomaximum/widget-sdk/commit/6d14dec72ebf060654ffb8905051fb58d3798237))
|
|
11
13
|
|
|
12
|
-
## [6.0.0-view-theme.
|
|
14
|
+
## [6.0.0-view-theme.7](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.6...v6.0.0-view-theme.7) (2025-11-13)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- добавлен ISchemaContext в метод createSettingsSchema ([5a9475b](https://github.com/Infomaximum/widget-sdk/commit/5a9475bcc042b97ceb47146c8fa64c402824762c))
|
|
13
19
|
|
|
20
|
+
## [6.0.0-view-theme.6](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.5...v6.0.0-view-theme.6) (2025-11-07)
|
|
14
21
|
|
|
15
22
|
### Features
|
|
16
23
|
|
|
17
|
-
|
|
18
|
-
* добавлена функция для привязки мета-информации о теме к Zod-схеме ([731fd97](https://github.com/Infomaximum/widget-sdk/commit/731fd9784a9cce1586bf14cde2f747582a61371c))
|
|
19
|
-
* удален флаг use_theme [BI-15617] ([f0fce3b](https://github.com/Infomaximum/widget-sdk/commit/f0fce3be7bcc1472fcd930f883b83f6702f839da))
|
|
24
|
+
- добавлены zod схемы для базовых настроек виджета ([b55eeb1](https://github.com/Infomaximum/widget-sdk/commit/b55eeb1b932fa5348b575fa220b61361e1defdd6))
|
|
20
25
|
|
|
21
|
-
## [6.0.0-view-theme.
|
|
26
|
+
## [6.0.0-view-theme.5](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.4...v6.0.0-view-theme.5) (2025-11-01)
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- добавлен интерфейс ITheme [BI-15688] ([4c0821c](https://github.com/Infomaximum/widget-sdk/commit/4c0821cdee32900f6cd225da4e07b78082a243de))
|
|
31
|
+
- добавлена функция для привязки мета-информации о теме к Zod-схеме ([731fd97](https://github.com/Infomaximum/widget-sdk/commit/731fd9784a9cce1586bf14cde2f747582a61371c))
|
|
32
|
+
- удален флаг use_theme [BI-15617] ([f0fce3b](https://github.com/Infomaximum/widget-sdk/commit/f0fce3be7bcc1472fcd930f883b83f6702f839da))
|
|
22
33
|
|
|
34
|
+
## [6.0.0-view-theme.4](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.3...v6.0.0-view-theme.4) (2025-10-24)
|
|
23
35
|
|
|
24
36
|
### Features
|
|
25
37
|
|
|
26
|
-
|
|
38
|
+
- IDefinition расширен методом createSettingsScheme ([55e6569](https://github.com/Infomaximum/widget-sdk/commit/55e65694b9aa03bebaf638bf9156f719aa884cd1))
|
|
27
39
|
|
|
28
40
|
## [6.0.0-view-theme.3](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-view-theme.2...v6.0.0-view-theme.3) (2025-10-07)
|
|
29
41
|
|
|
30
|
-
|
|
31
42
|
### Features
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
44
|
+
- добавлен disabled для Control используемых в панели отображения [BI-15509] ([6c58001](https://github.com/Infomaximum/widget-sdk/commit/6c58001f88648b48f81dd86480cc1ec25022493b))
|
|
45
|
+
- добавлена поддержка cleanupThemeProperties для кастомных виджетов [BI-15499] ([879c956](https://github.com/Infomaximum/widget-sdk/commit/879c956c9893b0379968eadd420912ccac8405fd))
|
|
46
|
+
- флаг useTheme перенесен в конфиг виджета [BI-15072] ([5d9c187](https://github.com/Infomaximum/widget-sdk/commit/5d9c187af2b1ebe39b66bbd5853c6112b603e6c7))
|
|
36
47
|
|
|
37
48
|
## [6.0.0-view-theme.2](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-15...v6.0.0-view-theme.2) (2025-10-02)
|
|
38
49
|
|
|
@@ -40,10 +51,9 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
40
51
|
|
|
41
52
|
## [6.0.0-view-theme.0](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-12...v6.0.0-view-theme.0) (2025-09-29)
|
|
42
53
|
|
|
43
|
-
|
|
44
54
|
### Features
|
|
45
55
|
|
|
46
|
-
|
|
56
|
+
- поддержен флаг для темы [BI-15496] ([5196fa6](https://github.com/Infomaximum/widget-sdk/commit/5196fa6c69a521c4529a355e674bcb1f8c1aac39))
|
|
47
57
|
|
|
48
58
|
## [6.0.0-view-theme.1](https://github.com/Infomaximum/widget-sdk/compare/v6.0.0-2508.4...v6.0.0-view-theme.1) (2025-10-01)
|
|
49
59
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1404,15 +1404,18 @@ declare const WidgetColumnIndicatorSchema: (z: TZod) => zod.ZodObject<{
|
|
|
1404
1404
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
1405
1405
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
1406
1406
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
1407
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1407
1408
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1408
1409
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
1409
1410
|
placeholderName: zod.ZodString;
|
|
1410
1411
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1411
1412
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
1412
1413
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
1414
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1413
1415
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1414
1416
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
1415
1417
|
newWindow: zod.ZodBoolean;
|
|
1418
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1416
1419
|
}, zod_v4_core.$strip>], "openIn">>]>>>;
|
|
1417
1420
|
}, zod_v4_core.$strip>;
|
|
1418
1421
|
declare const ColumnIndicatorValueSchema: (z: TZod) => zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -1980,15 +1983,18 @@ declare const WidgetDimensionSchema: (z: TZod) => zod.ZodObject<{
|
|
|
1980
1983
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
1981
1984
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
1982
1985
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
1986
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1983
1987
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1984
1988
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
1985
1989
|
placeholderName: zod.ZodString;
|
|
1986
1990
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1987
1991
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
1988
1992
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
1993
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1989
1994
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1990
1995
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
1991
1996
|
newWindow: zod.ZodBoolean;
|
|
1997
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
1992
1998
|
}, zod_v4_core.$strip>], "openIn">>]>>>;
|
|
1993
1999
|
value: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
1994
2000
|
mode: zod.ZodLiteral<EWidgetIndicatorValueModes.FORMULA>;
|
|
@@ -2393,6 +2399,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
2393
2399
|
} & {
|
|
2394
2400
|
openIn: EViewOpenIn.DRAWER_WINDOW;
|
|
2395
2401
|
alignment: EDrawerPlacement;
|
|
2402
|
+
inheritFilter?: boolean | undefined;
|
|
2396
2403
|
}) | ({
|
|
2397
2404
|
id: number;
|
|
2398
2405
|
name: string;
|
|
@@ -2571,6 +2578,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
2571
2578
|
} & {
|
|
2572
2579
|
openIn: EViewOpenIn.MODAL_WINDOW;
|
|
2573
2580
|
positionByClick?: boolean | undefined;
|
|
2581
|
+
inheritFilter?: boolean | undefined;
|
|
2574
2582
|
}) | ({
|
|
2575
2583
|
id: number;
|
|
2576
2584
|
name: string;
|
|
@@ -2660,6 +2668,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
2660
2668
|
} & {
|
|
2661
2669
|
openIn: EViewOpenIn.WINDOW;
|
|
2662
2670
|
newWindow: boolean;
|
|
2671
|
+
inheritFilter?: boolean | undefined;
|
|
2663
2672
|
}) | ({
|
|
2664
2673
|
id: number;
|
|
2665
2674
|
name: string;
|
|
@@ -2748,6 +2757,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
2748
2757
|
} & {
|
|
2749
2758
|
openIn: EViewOpenIn.DRAWER_WINDOW;
|
|
2750
2759
|
alignment: EDrawerPlacement;
|
|
2760
|
+
inheritFilter?: boolean | undefined;
|
|
2751
2761
|
}) | ({
|
|
2752
2762
|
id: number;
|
|
2753
2763
|
name: string;
|
|
@@ -2924,6 +2934,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
2924
2934
|
} & {
|
|
2925
2935
|
openIn: EViewOpenIn.MODAL_WINDOW;
|
|
2926
2936
|
positionByClick?: boolean | undefined;
|
|
2937
|
+
inheritFilter?: boolean | undefined;
|
|
2927
2938
|
}) | ({
|
|
2928
2939
|
id: number;
|
|
2929
2940
|
name: string;
|
|
@@ -3012,6 +3023,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
3012
3023
|
} & {
|
|
3013
3024
|
openIn: EViewOpenIn.WINDOW;
|
|
3014
3025
|
newWindow: boolean;
|
|
3026
|
+
inheritFilter?: boolean | undefined;
|
|
3015
3027
|
}) | ({
|
|
3016
3028
|
id: number;
|
|
3017
3029
|
name: string;
|
|
@@ -3745,15 +3757,18 @@ declare const WidgetMeasureSchema: (z: TZod) => zod.ZodObject<{
|
|
|
3745
3757
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
3746
3758
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
3747
3759
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
3760
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
3748
3761
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3749
3762
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
3750
3763
|
placeholderName: zod.ZodString;
|
|
3751
3764
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3752
3765
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
3753
3766
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
3767
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
3754
3768
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3755
3769
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
3756
3770
|
newWindow: zod.ZodBoolean;
|
|
3771
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
3757
3772
|
}, zod_v4_core.$strip>], "openIn">>]>>>;
|
|
3758
3773
|
value: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
3759
3774
|
mode: zod.ZodLiteral<EWidgetIndicatorValueModes.FORMULA>;
|
|
@@ -4451,15 +4466,18 @@ declare const MarkdownMeasureSchema: (z: TZod) => zod.ZodObject<{
|
|
|
4451
4466
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
4452
4467
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
4453
4468
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
4469
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
4454
4470
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
4455
4471
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
4456
4472
|
placeholderName: zod.ZodString;
|
|
4457
4473
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
4458
4474
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
4459
4475
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
4476
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
4460
4477
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
4461
4478
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
4462
4479
|
newWindow: zod.ZodBoolean;
|
|
4480
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
4463
4481
|
}, zod_v4_core.$strip>], "openIn">>]>>>;
|
|
4464
4482
|
value: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
4465
4483
|
mode: zod.ZodLiteral<EWidgetIndicatorValueModes.FORMULA>;
|
|
@@ -5538,15 +5556,18 @@ declare const ActionUpdateVariableSchema: (z: TZod) => zod.ZodObject<{
|
|
|
5538
5556
|
declare const ActionOpenInSchema: (z: TZod) => zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
5539
5557
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
5540
5558
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
5559
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5541
5560
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5542
5561
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
5543
5562
|
placeholderName: zod.ZodString;
|
|
5544
5563
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5545
5564
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
5546
5565
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
5566
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5547
5567
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5548
5568
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
5549
5569
|
newWindow: zod.ZodBoolean;
|
|
5570
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5550
5571
|
}, zod_v4_core.$strip>], "openIn">;
|
|
5551
5572
|
declare const ActionOpenViewSchema: (z: TZod) => zod.ZodIntersection<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
5552
5573
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
@@ -5765,15 +5786,18 @@ declare const ActionOpenViewSchema: (z: TZod) => zod.ZodIntersection<zod.ZodDisc
|
|
|
5765
5786
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
5766
5787
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
5767
5788
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
5789
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5768
5790
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5769
5791
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
5770
5792
|
placeholderName: zod.ZodString;
|
|
5771
5793
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5772
5794
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
5773
5795
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
5796
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5774
5797
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5775
5798
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
5776
5799
|
newWindow: zod.ZodBoolean;
|
|
5800
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
5777
5801
|
}, zod_v4_core.$strip>], "openIn">>;
|
|
5778
5802
|
declare const ActionsOnClickSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5779
5803
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
@@ -6212,15 +6236,18 @@ declare const ActionsOnClickSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodO
|
|
|
6212
6236
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
6213
6237
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
6214
6238
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
6239
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6215
6240
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6216
6241
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
6217
6242
|
placeholderName: zod.ZodString;
|
|
6218
6243
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6219
6244
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
6220
6245
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
6246
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6221
6247
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6222
6248
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
6223
6249
|
newWindow: zod.ZodBoolean;
|
|
6250
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6224
6251
|
}, zod_v4_core.$strip>], "openIn">>]>;
|
|
6225
6252
|
declare const WidgetActionParameterSchema: (z: TZod) => zod.ZodIntersection<zod.ZodObject<{
|
|
6226
6253
|
name: zod.ZodString;
|
|
@@ -6893,15 +6920,18 @@ declare const ActionSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodUnion<rea
|
|
|
6893
6920
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
6894
6921
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
6895
6922
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
6923
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6896
6924
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6897
6925
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
6898
6926
|
placeholderName: zod.ZodString;
|
|
6899
6927
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6900
6928
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
6901
6929
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
6930
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6902
6931
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6903
6932
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
6904
6933
|
newWindow: zod.ZodBoolean;
|
|
6934
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
6905
6935
|
}, zod_v4_core.$strip>], "openIn">>]>, zod.ZodObject<{
|
|
6906
6936
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
6907
6937
|
name: zod.ZodString;
|
|
@@ -8326,15 +8356,18 @@ declare const BaseWidgetSettingsSchema: (z: TZod) => zod.ZodObject<{
|
|
|
8326
8356
|
}, zod_v4_core.$strip>], "mode">, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
8327
8357
|
openIn: zod.ZodLiteral<EViewOpenIn.DRAWER_WINDOW>;
|
|
8328
8358
|
alignment: zod.ZodEnum<typeof EDrawerPlacement>;
|
|
8359
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
8329
8360
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8330
8361
|
openIn: zod.ZodLiteral<EViewOpenIn.PLACEHOLDER>;
|
|
8331
8362
|
placeholderName: zod.ZodString;
|
|
8332
8363
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8333
8364
|
openIn: zod.ZodLiteral<EViewOpenIn.MODAL_WINDOW>;
|
|
8334
8365
|
positionByClick: zod.ZodOptional<zod.ZodBoolean>;
|
|
8366
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
8335
8367
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8336
8368
|
openIn: zod.ZodLiteral<EViewOpenIn.WINDOW>;
|
|
8337
8369
|
newWindow: zod.ZodBoolean;
|
|
8370
|
+
inheritFilter: zod.ZodOptional<zod.ZodBoolean>;
|
|
8338
8371
|
}, zod_v4_core.$strip>], "openIn">>]>>>;
|
|
8339
8372
|
value: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
8340
8373
|
mode: zod.ZodLiteral<EWidgetIndicatorValueModes.FORMULA>;
|
|
@@ -9909,13 +9942,16 @@ interface IWidgetMigrator<T extends TMigrationStruct = IWidgetStruct> {
|
|
|
9909
9942
|
/** Используется для вывода типа настроек виджета по описанной схеме в методе `createSettingsSchema`
|
|
9910
9943
|
*/
|
|
9911
9944
|
type TSettingsOf<D extends IDefinition<B, any, any>, B extends IBaseWidgetSettings = IBaseWidgetSettings> = D["createSettingsSchema"] extends (z: typeof z) => infer Schema ? Schema extends ZodType ? z.infer<Schema> & B : B : B;
|
|
9945
|
+
interface ISchemaContext {
|
|
9946
|
+
language: ELanguages;
|
|
9947
|
+
}
|
|
9912
9948
|
interface IDefinition<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetSettings, GroupSettings extends IGroupSettings = IGroupSettings, MigrationStruct extends TMigrationStruct = IWidgetStruct> {
|
|
9913
9949
|
/** иконка виджета отображаемая в системе (в base64, svg или png) */
|
|
9914
9950
|
icon?: string;
|
|
9915
9951
|
/** метод удаляет настройки, наследуемые от темы и возвращает функцию отката, которая возвращает удаленные настройки */
|
|
9916
9952
|
cleanupThemeProperties?: (settings: WidgetSettings) => (settings: WidgetSettings) => void;
|
|
9917
9953
|
/** возвращает zod-схему настроек виджета */
|
|
9918
|
-
createSettingsSchema?: (z: typeof z) => ZodType<WidgetSettings>;
|
|
9954
|
+
createSettingsSchema?: (z: typeof z, context: ISchemaContext) => ZodType<WidgetSettings>;
|
|
9919
9955
|
/** возвращает конфигурацию настроек для отображения */
|
|
9920
9956
|
createPanelDescription: IPanelDescriptionCreator<WidgetSettings, GroupSettings>;
|
|
9921
9957
|
/** заполняет настройки значениями по умолчанию */
|
|
@@ -10336,4 +10372,4 @@ declare global {
|
|
|
10336
10372
|
}
|
|
10337
10373
|
}
|
|
10338
10374
|
|
|
10339
|
-
export { ActionButtonSchema, ActionGoToURLSchema, ActionOnClickParameterSchema, ActionOpenInSchema, ActionOpenViewSchema, ActionRunScriptSchema, ActionSchema, ActionUpdateVariableSchema, ActionsOnClickSchema, AutoIdentifiedArrayItemSchema, BaseWidgetSettingsSchema, ColorAutoSchema, ColorBaseSchema, ColorByDimensionSchema, ColorDisabledSchema, ColorFormulaSchema, ColorGradientSchema, ColorRuleSchema, ColorSchema, ColorValuesSchema, ColoredValueSchema, ColumnIndicatorValueSchema, DisplayConditionSchema, EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionProcessFilterTimeUnit, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatOrFormattingMode, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EHeightMode, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, FormatSchema, FormattingSchema, type IActionButton, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICalculatorOptions, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionProcessFilter, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGradient, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type IInputTemplatedControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITheme, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewAction, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, MarkdownMeasureSchema, OuterAggregation, ParameterColumnListSchema, ParameterFromAggregationSchema, ParameterFromColumnSchema, ParameterFromDynamicListSchema, ParameterFromEndEventSchema, ParameterFromEventSchema, ParameterFromFormulaSchema, ParameterFromManualInputSchema, ParameterFromStartEventSchema, ParameterFromStaticListSchema, ParameterFromVariableSchema, ParameterTableListSchema, RangeSchema, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TBoundedContentWithIndicator, type TColor, type TColorBase, type TColorRule, type TColumnIndicatorValue, type TContextMenu, type TContextMenuButton, type TContextMenuButtonActions, type TContextMenuButtonApply, type TContextMenuButtonClose, type TContextMenuButtonCustom, type TContextMenuButtonGroup, type TContextMenuButtonOptions, type TContextMenuList, type TContextMenuPositionUnit, type TContextMenuRow, type TControlUnion, type TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationAccessibility, type TGradientsSetValue, type TGroupLevelRecord, type THintPlacement, type TLaunchActionParams, type TLimitedColor, type TMeasureAddButtonSelectOption, type TMigrateProcessor, type TMigrationStruct, type TParameterFromDataModel, type TProcessIndicatorValue, type TRecordAccessor, type TSchemaType, type TSelectChildOptions, type TSelectFetchNodes, type TSelectivePartial, type TSettingsFilter, type TSettingsOf, type TSortDirection, type TTabsHorizontalAlignment, type TUpdateSelection, type TValuePath, type TVersion, type TViewActionParameter, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorAggregationValue, type TWidgetIndicatorConversionValue, type TWidgetIndicatorDurationValue, type TWidgetIndicatorTimeValue, type TWidgetLevelRecord, type TWidgetMeasureData, type TWidgetSortingValue, type TWidgetVariable, type TWidgetsPaletteValue, type TZod, ViewActionParameterSchema, ViewActionSchema, WidgetActionParameterSchema, WidgetActionSchema, WidgetColumnIndicatorSchema, WidgetDimensionHierarchySchema, WidgetDimensionSchema, WidgetIndicatorAggregationValueSchema, WidgetIndicatorConversionValue, WidgetIndicatorDurationValue, WidgetIndicatorSchema, WidgetIndicatorTimeValueSchema, WidgetMeasureSchema, WidgetSortingIndicatorSchema, applyIndexToArrayFormula, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, clearMultiLineComments, clearSingleLineComments, colors, conversionTemplate, convertFiltersToFormula, convertToFormulasChain, countExecutionsTemplate, createEscaper, createAggregationTemplate as createMeasureAggregationTemplate, curlyBracketsContentPattern, dashboardLinkRegExp, dimensionAggregationTemplates, dimensionTemplateFormulas, displayConditionTemplate, doubleQuoteContentPattern, durationTemplates, escapeCurlyBracketLinkName, escapeDoubleQuoteLinkName, eventMeasureTemplateFormulas, fillTemplateSql, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getProcessDimensionValueFormula, getRuleColor, getTransitionMeasureFormula, isDimensionProcessFilter, isDimensionsHierarchy, isFormulaFilterValue, isValidColor, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSettingsFiltersToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, parseClickHouseType, parseIndicatorLink, prepareConversionParams, prepareDimensionAggregationParams, prepareDurationParams, prepareFormulaForSql, prepareMeasureAggregationParams, prepareSortOrders, prepareTimeParams, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, themeValueMetaKey, themed, timeTemplates, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
|
|
10375
|
+
export { ActionButtonSchema, ActionGoToURLSchema, ActionOnClickParameterSchema, ActionOpenInSchema, ActionOpenViewSchema, ActionRunScriptSchema, ActionSchema, ActionUpdateVariableSchema, ActionsOnClickSchema, AutoIdentifiedArrayItemSchema, BaseWidgetSettingsSchema, ColorAutoSchema, ColorBaseSchema, ColorByDimensionSchema, ColorDisabledSchema, ColorFormulaSchema, ColorGradientSchema, ColorRuleSchema, ColorSchema, ColorValuesSchema, ColoredValueSchema, ColumnIndicatorValueSchema, DisplayConditionSchema, EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionProcessFilterTimeUnit, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatOrFormattingMode, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EHeightMode, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, FormatSchema, FormattingSchema, type IActionButton, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICalculatorOptions, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionProcessFilter, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGradient, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type IInputTemplatedControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISchemaContext, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITheme, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewAction, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, MarkdownMeasureSchema, OuterAggregation, ParameterColumnListSchema, ParameterFromAggregationSchema, ParameterFromColumnSchema, ParameterFromDynamicListSchema, ParameterFromEndEventSchema, ParameterFromEventSchema, ParameterFromFormulaSchema, ParameterFromManualInputSchema, ParameterFromStartEventSchema, ParameterFromStaticListSchema, ParameterFromVariableSchema, ParameterTableListSchema, RangeSchema, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TBoundedContentWithIndicator, type TColor, type TColorBase, type TColorRule, type TColumnIndicatorValue, type TContextMenu, type TContextMenuButton, type TContextMenuButtonActions, type TContextMenuButtonApply, type TContextMenuButtonClose, type TContextMenuButtonCustom, type TContextMenuButtonGroup, type TContextMenuButtonOptions, type TContextMenuList, type TContextMenuPositionUnit, type TContextMenuRow, type TControlUnion, type TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationAccessibility, type TGradientsSetValue, type TGroupLevelRecord, type THintPlacement, type TLaunchActionParams, type TLimitedColor, type TMeasureAddButtonSelectOption, type TMigrateProcessor, type TMigrationStruct, type TParameterFromDataModel, type TProcessIndicatorValue, type TRecordAccessor, type TSchemaType, type TSelectChildOptions, type TSelectFetchNodes, type TSelectivePartial, type TSettingsFilter, type TSettingsOf, type TSortDirection, type TTabsHorizontalAlignment, type TUpdateSelection, type TValuePath, type TVersion, type TViewActionParameter, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorAggregationValue, type TWidgetIndicatorConversionValue, type TWidgetIndicatorDurationValue, type TWidgetIndicatorTimeValue, type TWidgetLevelRecord, type TWidgetMeasureData, type TWidgetSortingValue, type TWidgetVariable, type TWidgetsPaletteValue, type TZod, ViewActionParameterSchema, ViewActionSchema, WidgetActionParameterSchema, WidgetActionSchema, WidgetColumnIndicatorSchema, WidgetDimensionHierarchySchema, WidgetDimensionSchema, WidgetIndicatorAggregationValueSchema, WidgetIndicatorConversionValue, WidgetIndicatorDurationValue, WidgetIndicatorSchema, WidgetIndicatorTimeValueSchema, WidgetMeasureSchema, WidgetSortingIndicatorSchema, applyIndexToArrayFormula, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, clearMultiLineComments, clearSingleLineComments, colors, conversionTemplate, convertFiltersToFormula, convertToFormulasChain, countExecutionsTemplate, createEscaper, createAggregationTemplate as createMeasureAggregationTemplate, curlyBracketsContentPattern, dashboardLinkRegExp, dimensionAggregationTemplates, dimensionTemplateFormulas, displayConditionTemplate, doubleQuoteContentPattern, durationTemplates, escapeCurlyBracketLinkName, escapeDoubleQuoteLinkName, eventMeasureTemplateFormulas, fillTemplateSql, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getProcessDimensionValueFormula, getRuleColor, getTransitionMeasureFormula, isDimensionProcessFilter, isDimensionsHierarchy, isFormulaFilterValue, isValidColor, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSettingsFiltersToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, parseClickHouseType, parseIndicatorLink, prepareConversionParams, prepareDimensionAggregationParams, prepareDurationParams, prepareFormulaForSql, prepareMeasureAggregationParams, prepareSortOrders, prepareTimeParams, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, themeValueMetaKey, themed, timeTemplates, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
|
package/dist/index.esm.js
CHANGED
|
@@ -949,6 +949,7 @@ var ActionOpenInSchema = function (z) {
|
|
|
949
949
|
z.object({
|
|
950
950
|
openIn: z.literal(EViewOpenIn.DRAWER_WINDOW),
|
|
951
951
|
alignment: z.enum(EDrawerPlacement),
|
|
952
|
+
inheritFilter: z.boolean().optional(),
|
|
952
953
|
}),
|
|
953
954
|
z.object({
|
|
954
955
|
openIn: z.literal(EViewOpenIn.PLACEHOLDER),
|
|
@@ -957,10 +958,12 @@ var ActionOpenInSchema = function (z) {
|
|
|
957
958
|
z.object({
|
|
958
959
|
openIn: z.literal(EViewOpenIn.MODAL_WINDOW),
|
|
959
960
|
positionByClick: z.boolean().optional(),
|
|
961
|
+
inheritFilter: z.boolean().optional(),
|
|
960
962
|
}),
|
|
961
963
|
z.object({
|
|
962
964
|
openIn: z.literal(EViewOpenIn.WINDOW),
|
|
963
965
|
newWindow: z.boolean(),
|
|
966
|
+
inheritFilter: z.boolean().optional(),
|
|
964
967
|
}),
|
|
965
968
|
]);
|
|
966
969
|
};
|
package/dist/index.js
CHANGED
|
@@ -950,6 +950,7 @@ var ActionOpenInSchema = function (z) {
|
|
|
950
950
|
z.object({
|
|
951
951
|
openIn: z.literal(exports.EViewOpenIn.DRAWER_WINDOW),
|
|
952
952
|
alignment: z.enum(exports.EDrawerPlacement),
|
|
953
|
+
inheritFilter: z.boolean().optional(),
|
|
953
954
|
}),
|
|
954
955
|
z.object({
|
|
955
956
|
openIn: z.literal(exports.EViewOpenIn.PLACEHOLDER),
|
|
@@ -958,10 +959,12 @@ var ActionOpenInSchema = function (z) {
|
|
|
958
959
|
z.object({
|
|
959
960
|
openIn: z.literal(exports.EViewOpenIn.MODAL_WINDOW),
|
|
960
961
|
positionByClick: z.boolean().optional(),
|
|
962
|
+
inheritFilter: z.boolean().optional(),
|
|
961
963
|
}),
|
|
962
964
|
z.object({
|
|
963
965
|
openIn: z.literal(exports.EViewOpenIn.WINDOW),
|
|
964
966
|
newWindow: z.boolean(),
|
|
967
|
+
inheritFilter: z.boolean().optional(),
|
|
965
968
|
}),
|
|
966
969
|
]);
|
|
967
970
|
};
|