@devtable/dashboard 10.40.0 → 10.41.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/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +66 -6
- package/dist/components/plugins/plugin-context.d.ts +66 -6
- package/dist/components/plugins/viz-manager/components.d.ts +1 -3
- package/dist/contexts/panel-context.d.ts +132 -12
- package/dist/dashboard-editor/model/panels/panel.d.ts +29 -3
- package/dist/dashboard-editor/model/panels/panels.d.ts +274 -25
- package/dist/dashboard-editor/ui/settings/content/data-preview/index.d.ts +2 -1
- package/dist/dashboard-editor/ui/settings/content/edit-panel/panel-config/name.d.ts +3 -0
- package/dist/dashboard.es.js +1604 -1572
- package/dist/dashboard.umd.js +61 -61
- package/dist/model/meta-model/dashboard/content/panel/index.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +29 -3
- package/dist/model/meta-model/dashboard/content/panel/title.d.ts +9 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +29 -3
- package/dist/model/render-model/dashboard/content/panels/panels.d.ts +245 -22
- package/dist/stats.html +1 -1
- package/dist/types/dashboard.d.ts +4 -1
- package/dist/types/plugin/index.d.ts +0 -9
- package/package.json +1 -1
|
@@ -5,7 +5,24 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
5
5
|
inFullScreen: boolean;
|
|
6
6
|
fullScreenPanel: ({
|
|
7
7
|
id: string;
|
|
8
|
-
|
|
8
|
+
name: string;
|
|
9
|
+
title: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12
|
+
readonly json: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
};
|
|
15
|
+
} & {
|
|
16
|
+
setShow(v: boolean): void;
|
|
17
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
18
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
19
|
+
}, {
|
|
20
|
+
readonly json: {
|
|
21
|
+
show: boolean;
|
|
22
|
+
};
|
|
23
|
+
} & {
|
|
24
|
+
setShow(v: boolean): void;
|
|
25
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
9
26
|
description: string;
|
|
10
27
|
layout: {
|
|
11
28
|
x: number;
|
|
@@ -767,12 +784,29 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
767
784
|
conf: import("../../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../../..").AnyObject, import("../../../..").AnyObject, import("../../../..").AnyObject>>;
|
|
768
785
|
type: string;
|
|
769
786
|
};
|
|
787
|
+
name: string;
|
|
770
788
|
style: {
|
|
771
789
|
border: {
|
|
772
790
|
enabled: boolean;
|
|
773
791
|
};
|
|
774
792
|
};
|
|
775
|
-
title:
|
|
793
|
+
title: {
|
|
794
|
+
show: boolean;
|
|
795
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
796
|
+
readonly json: {
|
|
797
|
+
show: boolean;
|
|
798
|
+
};
|
|
799
|
+
} & {
|
|
800
|
+
setShow(v: boolean): void;
|
|
801
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
802
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
803
|
+
}, {
|
|
804
|
+
readonly json: {
|
|
805
|
+
show: boolean;
|
|
806
|
+
};
|
|
807
|
+
} & {
|
|
808
|
+
setShow(v: boolean): void;
|
|
809
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
776
810
|
layout: {
|
|
777
811
|
h: number;
|
|
778
812
|
w: number;
|
|
@@ -1030,7 +1064,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
1030
1064
|
readonly queryIDSet: Set<string>;
|
|
1031
1065
|
} & {
|
|
1032
1066
|
setID(id: string): void;
|
|
1033
|
-
|
|
1067
|
+
setName(name: string): void;
|
|
1034
1068
|
setDescription(description: string): void;
|
|
1035
1069
|
addQueryID(queryID: string): void;
|
|
1036
1070
|
removeQueryID(queryID: string): void;
|
|
@@ -2078,7 +2112,16 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
2078
2112
|
downloadData(): void;
|
|
2079
2113
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2080
2114
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2081
|
-
|
|
2115
|
+
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2116
|
+
title: import("mobx-state-tree").IModelType<{
|
|
2117
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2118
|
+
}, {
|
|
2119
|
+
readonly json: {
|
|
2120
|
+
show: boolean;
|
|
2121
|
+
};
|
|
2122
|
+
} & {
|
|
2123
|
+
setShow(v: boolean): void;
|
|
2124
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
2082
2125
|
description: import("mobx-state-tree").ISimpleType<string>;
|
|
2083
2126
|
layout: import("mobx-state-tree").IModelType<{
|
|
2084
2127
|
x: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -2462,12 +2505,29 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
2462
2505
|
conf: import("../../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../../..").AnyObject, import("../../../..").AnyObject, import("../../../..").AnyObject>>;
|
|
2463
2506
|
type: string;
|
|
2464
2507
|
};
|
|
2508
|
+
name: string;
|
|
2465
2509
|
style: {
|
|
2466
2510
|
border: {
|
|
2467
2511
|
enabled: boolean;
|
|
2468
2512
|
};
|
|
2469
2513
|
};
|
|
2470
|
-
title:
|
|
2514
|
+
title: {
|
|
2515
|
+
show: boolean;
|
|
2516
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2517
|
+
readonly json: {
|
|
2518
|
+
show: boolean;
|
|
2519
|
+
};
|
|
2520
|
+
} & {
|
|
2521
|
+
setShow(v: boolean): void;
|
|
2522
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2523
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2524
|
+
}, {
|
|
2525
|
+
readonly json: {
|
|
2526
|
+
show: boolean;
|
|
2527
|
+
};
|
|
2528
|
+
} & {
|
|
2529
|
+
setShow(v: boolean): void;
|
|
2530
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
2471
2531
|
layout: {
|
|
2472
2532
|
h: number;
|
|
2473
2533
|
w: number;
|
|
@@ -2725,7 +2785,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
2725
2785
|
readonly queryIDSet: Set<string>;
|
|
2726
2786
|
} & {
|
|
2727
2787
|
setID(id: string): void;
|
|
2728
|
-
|
|
2788
|
+
setName(name: string): void;
|
|
2729
2789
|
setDescription(description: string): void;
|
|
2730
2790
|
addQueryID(queryID: string): void;
|
|
2731
2791
|
removeQueryID(queryID: string): void;
|
|
@@ -21,7 +21,24 @@ export declare const tokens: {
|
|
|
21
21
|
instanceScope: {
|
|
22
22
|
panelModel: import("~/components/plugins/service/service-locator").Token<{
|
|
23
23
|
id: string;
|
|
24
|
-
|
|
24
|
+
name: string;
|
|
25
|
+
title: {
|
|
26
|
+
show: boolean;
|
|
27
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
28
|
+
readonly json: {
|
|
29
|
+
show: boolean;
|
|
30
|
+
};
|
|
31
|
+
} & {
|
|
32
|
+
setShow(v: boolean): void;
|
|
33
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
34
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
35
|
+
}, {
|
|
36
|
+
readonly json: {
|
|
37
|
+
show: boolean;
|
|
38
|
+
};
|
|
39
|
+
} & {
|
|
40
|
+
setShow(v: boolean): void;
|
|
41
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
25
42
|
description: string;
|
|
26
43
|
layout: {
|
|
27
44
|
x: number;
|
|
@@ -783,12 +800,29 @@ export declare const tokens: {
|
|
|
783
800
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
784
801
|
type: string;
|
|
785
802
|
};
|
|
803
|
+
name: string;
|
|
786
804
|
style: {
|
|
787
805
|
border: {
|
|
788
806
|
enabled: boolean;
|
|
789
807
|
};
|
|
790
808
|
};
|
|
791
|
-
title:
|
|
809
|
+
title: {
|
|
810
|
+
show: boolean;
|
|
811
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
812
|
+
readonly json: {
|
|
813
|
+
show: boolean;
|
|
814
|
+
};
|
|
815
|
+
} & {
|
|
816
|
+
setShow(v: boolean): void;
|
|
817
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
818
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
819
|
+
}, {
|
|
820
|
+
readonly json: {
|
|
821
|
+
show: boolean;
|
|
822
|
+
};
|
|
823
|
+
} & {
|
|
824
|
+
setShow(v: boolean): void;
|
|
825
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
792
826
|
layout: {
|
|
793
827
|
h: number;
|
|
794
828
|
w: number;
|
|
@@ -1046,7 +1080,7 @@ export declare const tokens: {
|
|
|
1046
1080
|
readonly queryIDSet: Set<string>;
|
|
1047
1081
|
} & {
|
|
1048
1082
|
setID(id: string): void;
|
|
1049
|
-
|
|
1083
|
+
setName(name: string): void;
|
|
1050
1084
|
setDescription(description: string): void;
|
|
1051
1085
|
addQueryID(queryID: string): void;
|
|
1052
1086
|
removeQueryID(queryID: string): void;
|
|
@@ -2104,7 +2138,16 @@ export declare const tokens: {
|
|
|
2104
2138
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
2105
2139
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2106
2140
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2107
|
-
|
|
2141
|
+
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2142
|
+
title: import("mobx-state-tree").IModelType<{
|
|
2143
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2144
|
+
}, {
|
|
2145
|
+
readonly json: {
|
|
2146
|
+
show: boolean;
|
|
2147
|
+
};
|
|
2148
|
+
} & {
|
|
2149
|
+
setShow(v: boolean): void;
|
|
2150
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
2108
2151
|
description: import("mobx-state-tree").ISimpleType<string>;
|
|
2109
2152
|
layout: import("mobx-state-tree").IModelType<{
|
|
2110
2153
|
x: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -2488,12 +2531,29 @@ export declare const tokens: {
|
|
|
2488
2531
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
2489
2532
|
type: string;
|
|
2490
2533
|
};
|
|
2534
|
+
name: string;
|
|
2491
2535
|
style: {
|
|
2492
2536
|
border: {
|
|
2493
2537
|
enabled: boolean;
|
|
2494
2538
|
};
|
|
2495
2539
|
};
|
|
2496
|
-
title:
|
|
2540
|
+
title: {
|
|
2541
|
+
show: boolean;
|
|
2542
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2543
|
+
readonly json: {
|
|
2544
|
+
show: boolean;
|
|
2545
|
+
};
|
|
2546
|
+
} & {
|
|
2547
|
+
setShow(v: boolean): void;
|
|
2548
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2549
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2550
|
+
}, {
|
|
2551
|
+
readonly json: {
|
|
2552
|
+
show: boolean;
|
|
2553
|
+
};
|
|
2554
|
+
} & {
|
|
2555
|
+
setShow(v: boolean): void;
|
|
2556
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
2497
2557
|
layout: {
|
|
2498
2558
|
h: number;
|
|
2499
2559
|
w: number;
|
|
@@ -2751,7 +2811,7 @@ export declare const tokens: {
|
|
|
2751
2811
|
readonly queryIDSet: Set<string>;
|
|
2752
2812
|
} & {
|
|
2753
2813
|
setID(id: string): void;
|
|
2754
|
-
|
|
2814
|
+
setName(name: string): void;
|
|
2755
2815
|
setDescription(description: string): void;
|
|
2756
2816
|
addQueryID(queryID: string): void;
|
|
2757
2817
|
removeQueryID(queryID: string): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IPanelInfoEditor } from '~/types/plugin';
|
|
2
|
-
import { IPanelInfo, IVizManager } from './types';
|
|
3
1
|
import { ITemplateVariable } from '~/utils/template';
|
|
2
|
+
import { IPanelInfo, IVizManager } from './types';
|
|
4
3
|
export declare type IViewPanelInfo = IPanelInfo & {
|
|
5
4
|
layout: {
|
|
6
5
|
w: number;
|
|
@@ -16,7 +15,6 @@ export declare type IViewComponentProps<TDebug = Record<string, unknown>> = {
|
|
|
16
15
|
export declare const VizViewComponent: <T>(props: IViewComponentProps<T>) => import('./react/jsx-runtime').JSX.Element;
|
|
17
16
|
export declare type IConfigComponentProps<TDebug = Record<string, unknown>> = {
|
|
18
17
|
panel: IPanelInfo;
|
|
19
|
-
panelInfoEditor: IPanelInfoEditor;
|
|
20
18
|
vizManager: IVizManager;
|
|
21
19
|
variables: ITemplateVariable[];
|
|
22
20
|
data: $TSFixMe;
|
|
@@ -11,7 +11,24 @@ export declare const PanelContextProvider: React.Provider<{
|
|
|
11
11
|
export declare const useRenderPanelContext: () => {
|
|
12
12
|
panel: {
|
|
13
13
|
id: string;
|
|
14
|
-
|
|
14
|
+
name: string;
|
|
15
|
+
title: {
|
|
16
|
+
show: boolean;
|
|
17
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
18
|
+
readonly json: {
|
|
19
|
+
show: boolean;
|
|
20
|
+
};
|
|
21
|
+
} & {
|
|
22
|
+
setShow(v: boolean): void;
|
|
23
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
24
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
25
|
+
}, {
|
|
26
|
+
readonly json: {
|
|
27
|
+
show: boolean;
|
|
28
|
+
};
|
|
29
|
+
} & {
|
|
30
|
+
setShow(v: boolean): void;
|
|
31
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
15
32
|
description: string;
|
|
16
33
|
layout: {
|
|
17
34
|
x: number;
|
|
@@ -773,12 +790,29 @@ export declare const useRenderPanelContext: () => {
|
|
|
773
790
|
conf: import("..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("..").AnyObject, import("..").AnyObject, import("..").AnyObject>>;
|
|
774
791
|
type: string;
|
|
775
792
|
};
|
|
793
|
+
name: string;
|
|
776
794
|
style: {
|
|
777
795
|
border: {
|
|
778
796
|
enabled: boolean;
|
|
779
797
|
};
|
|
780
798
|
};
|
|
781
|
-
title:
|
|
799
|
+
title: {
|
|
800
|
+
show: boolean;
|
|
801
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
802
|
+
readonly json: {
|
|
803
|
+
show: boolean;
|
|
804
|
+
};
|
|
805
|
+
} & {
|
|
806
|
+
setShow(v: boolean): void;
|
|
807
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
808
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
809
|
+
}, {
|
|
810
|
+
readonly json: {
|
|
811
|
+
show: boolean;
|
|
812
|
+
};
|
|
813
|
+
} & {
|
|
814
|
+
setShow(v: boolean): void;
|
|
815
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
782
816
|
layout: {
|
|
783
817
|
h: number;
|
|
784
818
|
w: number;
|
|
@@ -1036,7 +1070,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
1036
1070
|
readonly queryIDSet: Set<string>;
|
|
1037
1071
|
} & {
|
|
1038
1072
|
setID(id: string): void;
|
|
1039
|
-
|
|
1073
|
+
setName(name: string): void;
|
|
1040
1074
|
setDescription(description: string): void;
|
|
1041
1075
|
addQueryID(queryID: string): void;
|
|
1042
1076
|
removeQueryID(queryID: string): void;
|
|
@@ -2084,7 +2118,16 @@ export declare const useRenderPanelContext: () => {
|
|
|
2084
2118
|
downloadData(): void;
|
|
2085
2119
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2086
2120
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2087
|
-
|
|
2121
|
+
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2122
|
+
title: import("mobx-state-tree").IModelType<{
|
|
2123
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly json: {
|
|
2126
|
+
show: boolean;
|
|
2127
|
+
};
|
|
2128
|
+
} & {
|
|
2129
|
+
setShow(v: boolean): void;
|
|
2130
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
2088
2131
|
description: import("mobx-state-tree").ISimpleType<string>;
|
|
2089
2132
|
layout: import("mobx-state-tree").IModelType<{
|
|
2090
2133
|
x: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -2468,12 +2511,29 @@ export declare const useRenderPanelContext: () => {
|
|
|
2468
2511
|
conf: import("..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("..").AnyObject, import("..").AnyObject, import("..").AnyObject>>;
|
|
2469
2512
|
type: string;
|
|
2470
2513
|
};
|
|
2514
|
+
name: string;
|
|
2471
2515
|
style: {
|
|
2472
2516
|
border: {
|
|
2473
2517
|
enabled: boolean;
|
|
2474
2518
|
};
|
|
2475
2519
|
};
|
|
2476
|
-
title:
|
|
2520
|
+
title: {
|
|
2521
|
+
show: boolean;
|
|
2522
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2523
|
+
readonly json: {
|
|
2524
|
+
show: boolean;
|
|
2525
|
+
};
|
|
2526
|
+
} & {
|
|
2527
|
+
setShow(v: boolean): void;
|
|
2528
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2529
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2530
|
+
}, {
|
|
2531
|
+
readonly json: {
|
|
2532
|
+
show: boolean;
|
|
2533
|
+
};
|
|
2534
|
+
} & {
|
|
2535
|
+
setShow(v: boolean): void;
|
|
2536
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
2477
2537
|
layout: {
|
|
2478
2538
|
h: number;
|
|
2479
2539
|
w: number;
|
|
@@ -2731,7 +2791,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
2731
2791
|
readonly queryIDSet: Set<string>;
|
|
2732
2792
|
} & {
|
|
2733
2793
|
setID(id: string): void;
|
|
2734
|
-
|
|
2794
|
+
setName(name: string): void;
|
|
2735
2795
|
setDescription(description: string): void;
|
|
2736
2796
|
addQueryID(queryID: string): void;
|
|
2737
2797
|
removeQueryID(queryID: string): void;
|
|
@@ -3786,7 +3846,24 @@ export declare const useRenderPanelContext: () => {
|
|
|
3786
3846
|
export declare const useEditPanelContext: () => {
|
|
3787
3847
|
panel: {
|
|
3788
3848
|
id: string;
|
|
3789
|
-
|
|
3849
|
+
name: string;
|
|
3850
|
+
title: {
|
|
3851
|
+
show: boolean;
|
|
3852
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3853
|
+
readonly json: {
|
|
3854
|
+
show: boolean;
|
|
3855
|
+
};
|
|
3856
|
+
} & {
|
|
3857
|
+
setShow(v: boolean): void;
|
|
3858
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3859
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
3860
|
+
}, {
|
|
3861
|
+
readonly json: {
|
|
3862
|
+
show: boolean;
|
|
3863
|
+
};
|
|
3864
|
+
} & {
|
|
3865
|
+
setShow(v: boolean): void;
|
|
3866
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
3790
3867
|
description: string;
|
|
3791
3868
|
layout: {
|
|
3792
3869
|
x: number;
|
|
@@ -4548,12 +4625,29 @@ export declare const useEditPanelContext: () => {
|
|
|
4548
4625
|
conf: import("..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("..").AnyObject, import("..").AnyObject, import("..").AnyObject>>;
|
|
4549
4626
|
type: string;
|
|
4550
4627
|
};
|
|
4628
|
+
name: string;
|
|
4551
4629
|
style: {
|
|
4552
4630
|
border: {
|
|
4553
4631
|
enabled: boolean;
|
|
4554
4632
|
};
|
|
4555
4633
|
};
|
|
4556
|
-
title:
|
|
4634
|
+
title: {
|
|
4635
|
+
show: boolean;
|
|
4636
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4637
|
+
readonly json: {
|
|
4638
|
+
show: boolean;
|
|
4639
|
+
};
|
|
4640
|
+
} & {
|
|
4641
|
+
setShow(v: boolean): void;
|
|
4642
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4643
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
4644
|
+
}, {
|
|
4645
|
+
readonly json: {
|
|
4646
|
+
show: boolean;
|
|
4647
|
+
};
|
|
4648
|
+
} & {
|
|
4649
|
+
setShow(v: boolean): void;
|
|
4650
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
4557
4651
|
layout: {
|
|
4558
4652
|
h: number;
|
|
4559
4653
|
w: number;
|
|
@@ -4811,7 +4905,7 @@ export declare const useEditPanelContext: () => {
|
|
|
4811
4905
|
readonly queryIDSet: Set<string>;
|
|
4812
4906
|
} & {
|
|
4813
4907
|
setID(id: string): void;
|
|
4814
|
-
|
|
4908
|
+
setName(name: string): void;
|
|
4815
4909
|
setDescription(description: string): void;
|
|
4816
4910
|
addQueryID(queryID: string): void;
|
|
4817
4911
|
removeQueryID(queryID: string): void;
|
|
@@ -5869,7 +5963,16 @@ export declare const useEditPanelContext: () => {
|
|
|
5869
5963
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
5870
5964
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
5871
5965
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5872
|
-
|
|
5966
|
+
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5967
|
+
title: import("mobx-state-tree").IModelType<{
|
|
5968
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
5969
|
+
}, {
|
|
5970
|
+
readonly json: {
|
|
5971
|
+
show: boolean;
|
|
5972
|
+
};
|
|
5973
|
+
} & {
|
|
5974
|
+
setShow(v: boolean): void;
|
|
5975
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
5873
5976
|
description: import("mobx-state-tree").ISimpleType<string>;
|
|
5874
5977
|
layout: import("mobx-state-tree").IModelType<{
|
|
5875
5978
|
x: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -6253,12 +6356,29 @@ export declare const useEditPanelContext: () => {
|
|
|
6253
6356
|
conf: import("..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("..").AnyObject, import("..").AnyObject, import("..").AnyObject>>;
|
|
6254
6357
|
type: string;
|
|
6255
6358
|
};
|
|
6359
|
+
name: string;
|
|
6256
6360
|
style: {
|
|
6257
6361
|
border: {
|
|
6258
6362
|
enabled: boolean;
|
|
6259
6363
|
};
|
|
6260
6364
|
};
|
|
6261
|
-
title:
|
|
6365
|
+
title: {
|
|
6366
|
+
show: boolean;
|
|
6367
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6368
|
+
readonly json: {
|
|
6369
|
+
show: boolean;
|
|
6370
|
+
};
|
|
6371
|
+
} & {
|
|
6372
|
+
setShow(v: boolean): void;
|
|
6373
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
6374
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
6375
|
+
}, {
|
|
6376
|
+
readonly json: {
|
|
6377
|
+
show: boolean;
|
|
6378
|
+
};
|
|
6379
|
+
} & {
|
|
6380
|
+
setShow(v: boolean): void;
|
|
6381
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
6262
6382
|
layout: {
|
|
6263
6383
|
h: number;
|
|
6264
6384
|
w: number;
|
|
@@ -6516,7 +6636,7 @@ export declare const useEditPanelContext: () => {
|
|
|
6516
6636
|
readonly queryIDSet: Set<string>;
|
|
6517
6637
|
} & {
|
|
6518
6638
|
setID(id: string): void;
|
|
6519
|
-
|
|
6639
|
+
setName(name: string): void;
|
|
6520
6640
|
setDescription(description: string): void;
|
|
6521
6641
|
addQueryID(queryID: string): void;
|
|
6522
6642
|
removeQueryID(queryID: string): void;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
2
|
export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
3
3
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4
|
-
|
|
4
|
+
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
|
+
title: import("mobx-state-tree").IModelType<{
|
|
6
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
7
|
+
}, {
|
|
8
|
+
readonly json: {
|
|
9
|
+
show: boolean;
|
|
10
|
+
};
|
|
11
|
+
} & {
|
|
12
|
+
setShow(v: boolean): void;
|
|
13
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
5
14
|
description: import("mobx-state-tree").ISimpleType<string>;
|
|
6
15
|
layout: import("mobx-state-tree").IModelType<{
|
|
7
16
|
x: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -385,12 +394,29 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
385
394
|
conf: import("../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../..").AnyObject, import("../../..").AnyObject, import("../../..").AnyObject>>;
|
|
386
395
|
type: string;
|
|
387
396
|
};
|
|
397
|
+
name: string;
|
|
388
398
|
style: {
|
|
389
399
|
border: {
|
|
390
400
|
enabled: boolean;
|
|
391
401
|
};
|
|
392
402
|
};
|
|
393
|
-
title:
|
|
403
|
+
title: {
|
|
404
|
+
show: boolean;
|
|
405
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
406
|
+
readonly json: {
|
|
407
|
+
show: boolean;
|
|
408
|
+
};
|
|
409
|
+
} & {
|
|
410
|
+
setShow(v: boolean): void;
|
|
411
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
412
|
+
show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
413
|
+
}, {
|
|
414
|
+
readonly json: {
|
|
415
|
+
show: boolean;
|
|
416
|
+
};
|
|
417
|
+
} & {
|
|
418
|
+
setShow(v: boolean): void;
|
|
419
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
394
420
|
layout: {
|
|
395
421
|
h: number;
|
|
396
422
|
w: number;
|
|
@@ -648,7 +674,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
648
674
|
readonly queryIDSet: Set<string>;
|
|
649
675
|
} & {
|
|
650
676
|
setID(id: string): void;
|
|
651
|
-
|
|
677
|
+
setName(name: string): void;
|
|
652
678
|
setDescription(description: string): void;
|
|
653
679
|
addQueryID(queryID: string): void;
|
|
654
680
|
removeQueryID(queryID: string): void;
|