@devtable/dashboard 8.28.0 → 8.30.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/dashboard.es.js +5360 -5190
- package/dist/dashboard.umd.js +64 -64
- package/dist/main/dashboard-editor/settings/content/edit-panel/change-view-of-panel.d.ts +7 -0
- package/dist/main/use-panel-full-screen.d.ts +6 -0
- package/dist/model/views/view/index.d.ts +27 -0
- package/dist/model/views/view/panels/index.d.ts +9 -0
- package/dist/model/views/view/panels/panel.d.ts +3 -0
- package/dist/plugins/plugin-context.d.ts +6 -0
- package/dist/plugins/viz-components/cartesian/index.d.ts +1 -1
- package/dist/plugins/viz-components/table/components/background-color-select.d.ts +1 -1
- package/dist/plugins/viz-components/table/type.d.ts +2 -0
- package/dist/plugins/viz-components/table/utils.d.ts +4 -0
- package/dist/plugins/viz-components/table/value-type-selector.d.ts +1 -1
- package/dist/plugins/viz-components/table/value.d.ts +2 -1
- package/package.json +1 -1
|
@@ -889,6 +889,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
889
889
|
}[];
|
|
890
890
|
description: string;
|
|
891
891
|
};
|
|
892
|
+
readonly viewID: any;
|
|
892
893
|
} & {
|
|
893
894
|
setID(id: string): void;
|
|
894
895
|
setTitle(title: string): void;
|
|
@@ -1527,6 +1528,8 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1527
1528
|
};
|
|
1528
1529
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1529
1530
|
removeSelf(): void;
|
|
1531
|
+
} & {
|
|
1532
|
+
moveToView(targetViewID: string): void;
|
|
1530
1533
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1531
1534
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1532
1535
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2128,6 +2131,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
2128
2131
|
}[];
|
|
2129
2132
|
description: string;
|
|
2130
2133
|
};
|
|
2134
|
+
readonly viewID: any;
|
|
2131
2135
|
} & {
|
|
2132
2136
|
setID(id: string): void;
|
|
2133
2137
|
setTitle(title: string): void;
|
|
@@ -2766,5 +2770,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
2766
2770
|
};
|
|
2767
2771
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2768
2772
|
removeSelf(): void;
|
|
2773
|
+
} & {
|
|
2774
|
+
moveToView(targetViewID: string): void;
|
|
2769
2775
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null | undefined;
|
|
2770
2776
|
};
|
|
@@ -784,6 +784,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
784
784
|
}[];
|
|
785
785
|
description: string;
|
|
786
786
|
};
|
|
787
|
+
readonly viewID: any;
|
|
787
788
|
} & {
|
|
788
789
|
setID(id: string): void;
|
|
789
790
|
setTitle(title: string): void;
|
|
@@ -1422,6 +1423,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
1422
1423
|
};
|
|
1423
1424
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1424
1425
|
removeSelf(): void;
|
|
1426
|
+
} & {
|
|
1427
|
+
moveToView(targetViewID: string): void;
|
|
1425
1428
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
1426
1429
|
}, {
|
|
1427
1430
|
readonly json: {
|
|
@@ -2509,6 +2512,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
2509
2512
|
}[];
|
|
2510
2513
|
description: string;
|
|
2511
2514
|
};
|
|
2515
|
+
readonly viewID: any;
|
|
2512
2516
|
} & {
|
|
2513
2517
|
setID(id: string): void;
|
|
2514
2518
|
setTitle(title: string): void;
|
|
@@ -3147,6 +3151,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
3147
3151
|
};
|
|
3148
3152
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
3149
3153
|
removeSelf(): void;
|
|
3154
|
+
} & {
|
|
3155
|
+
moveToView(targetViewID: string): void;
|
|
3150
3156
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3151
3157
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
3152
3158
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3748,6 +3754,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
3748
3754
|
}[];
|
|
3749
3755
|
description: string;
|
|
3750
3756
|
};
|
|
3757
|
+
readonly viewID: any;
|
|
3751
3758
|
} & {
|
|
3752
3759
|
setID(id: string): void;
|
|
3753
3760
|
setTitle(title: string): void;
|
|
@@ -4386,6 +4393,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
4386
4393
|
};
|
|
4387
4394
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
4388
4395
|
removeSelf(): void;
|
|
4396
|
+
} & {
|
|
4397
|
+
moveToView(targetViewID: string): void;
|
|
4389
4398
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4390
4399
|
readonly editorOptions: import("../../editor").NavOptionType[];
|
|
4391
4400
|
} & {
|
|
@@ -5275,6 +5284,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
5275
5284
|
}[];
|
|
5276
5285
|
description: string;
|
|
5277
5286
|
};
|
|
5287
|
+
readonly viewID: any;
|
|
5278
5288
|
} & {
|
|
5279
5289
|
setID(id: string): void;
|
|
5280
5290
|
setTitle(title: string): void;
|
|
@@ -5913,6 +5923,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
5913
5923
|
};
|
|
5914
5924
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
5915
5925
|
removeSelf(): void;
|
|
5926
|
+
} & {
|
|
5927
|
+
moveToView(targetViewID: string): void;
|
|
5916
5928
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
5917
5929
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5918
5930
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -6514,6 +6526,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
6514
6526
|
}[];
|
|
6515
6527
|
description: string;
|
|
6516
6528
|
};
|
|
6529
|
+
readonly viewID: any;
|
|
6517
6530
|
} & {
|
|
6518
6531
|
setID(id: string): void;
|
|
6519
6532
|
setTitle(title: string): void;
|
|
@@ -7152,6 +7165,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
7152
7165
|
};
|
|
7153
7166
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
7154
7167
|
removeSelf(): void;
|
|
7168
|
+
} & {
|
|
7169
|
+
moveToView(targetViewID: string): void;
|
|
7155
7170
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[]): void;
|
|
7156
7171
|
addANewPanel(): void;
|
|
7157
7172
|
append(item: {
|
|
@@ -8040,6 +8055,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
8040
8055
|
}[];
|
|
8041
8056
|
description: string;
|
|
8042
8057
|
};
|
|
8058
|
+
readonly viewID: any;
|
|
8043
8059
|
} & {
|
|
8044
8060
|
setID(id: string): void;
|
|
8045
8061
|
setTitle(title: string): void;
|
|
@@ -8678,6 +8694,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
8678
8694
|
};
|
|
8679
8695
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
8680
8696
|
removeSelf(): void;
|
|
8697
|
+
} & {
|
|
8698
|
+
moveToView(targetViewID: string): void;
|
|
8681
8699
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
8682
8700
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
8683
8701
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -9279,6 +9297,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
9279
9297
|
}[];
|
|
9280
9298
|
description: string;
|
|
9281
9299
|
};
|
|
9300
|
+
readonly viewID: any;
|
|
9282
9301
|
} & {
|
|
9283
9302
|
setID(id: string): void;
|
|
9284
9303
|
setTitle(title: string): void;
|
|
@@ -9917,6 +9936,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
9917
9936
|
};
|
|
9918
9937
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
9919
9938
|
removeSelf(): void;
|
|
9939
|
+
} & {
|
|
9940
|
+
moveToView(targetViewID: string): void;
|
|
9920
9941
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
9921
9942
|
remove(index: number): void;
|
|
9922
9943
|
removeByID(id: string): void;
|
|
@@ -10807,6 +10828,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
10807
10828
|
}[];
|
|
10808
10829
|
description: string;
|
|
10809
10830
|
};
|
|
10831
|
+
readonly viewID: any;
|
|
10810
10832
|
} & {
|
|
10811
10833
|
setID(id: string): void;
|
|
10812
10834
|
setTitle(title: string): void;
|
|
@@ -11445,6 +11467,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
11445
11467
|
};
|
|
11446
11468
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
11447
11469
|
removeSelf(): void;
|
|
11470
|
+
} & {
|
|
11471
|
+
moveToView(targetViewID: string): void;
|
|
11448
11472
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
11449
11473
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
11450
11474
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -12046,6 +12070,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
12046
12070
|
}[];
|
|
12047
12071
|
description: string;
|
|
12048
12072
|
};
|
|
12073
|
+
readonly viewID: any;
|
|
12049
12074
|
} & {
|
|
12050
12075
|
setID(id: string): void;
|
|
12051
12076
|
setTitle(title: string): void;
|
|
@@ -12684,6 +12709,8 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
12684
12709
|
};
|
|
12685
12710
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
12686
12711
|
removeSelf(): void;
|
|
12712
|
+
} & {
|
|
12713
|
+
moveToView(targetViewID: string): void;
|
|
12687
12714
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
12688
12715
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
12689
12716
|
}, {
|
|
@@ -602,6 +602,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
602
602
|
}[];
|
|
603
603
|
description: string;
|
|
604
604
|
};
|
|
605
|
+
readonly viewID: any;
|
|
605
606
|
} & {
|
|
606
607
|
setID(id: string): void;
|
|
607
608
|
setTitle(title: string): void;
|
|
@@ -1240,6 +1241,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1240
1241
|
};
|
|
1241
1242
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1242
1243
|
removeSelf(): void;
|
|
1244
|
+
} & {
|
|
1245
|
+
moveToView(targetViewID: string): void;
|
|
1243
1246
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
1244
1247
|
}, {
|
|
1245
1248
|
readonly json: {
|
|
@@ -2327,6 +2330,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2327
2330
|
}[];
|
|
2328
2331
|
description: string;
|
|
2329
2332
|
};
|
|
2333
|
+
readonly viewID: any;
|
|
2330
2334
|
} & {
|
|
2331
2335
|
setID(id: string): void;
|
|
2332
2336
|
setTitle(title: string): void;
|
|
@@ -2965,6 +2969,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2965
2969
|
};
|
|
2966
2970
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2967
2971
|
removeSelf(): void;
|
|
2972
|
+
} & {
|
|
2973
|
+
moveToView(targetViewID: string): void;
|
|
2968
2974
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2969
2975
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2970
2976
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3566,6 +3572,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3566
3572
|
}[];
|
|
3567
3573
|
description: string;
|
|
3568
3574
|
};
|
|
3575
|
+
readonly viewID: any;
|
|
3569
3576
|
} & {
|
|
3570
3577
|
setID(id: string): void;
|
|
3571
3578
|
setTitle(title: string): void;
|
|
@@ -4204,6 +4211,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4204
4211
|
};
|
|
4205
4212
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
4206
4213
|
removeSelf(): void;
|
|
4214
|
+
} & {
|
|
4215
|
+
moveToView(targetViewID: string): void;
|
|
4207
4216
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4208
4217
|
readonly editorOptions: NavOptionType[];
|
|
4209
4218
|
} & {
|
|
@@ -601,6 +601,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
601
601
|
}[];
|
|
602
602
|
description: string;
|
|
603
603
|
};
|
|
604
|
+
readonly viewID: any;
|
|
604
605
|
} & {
|
|
605
606
|
setID(id: string): void;
|
|
606
607
|
setTitle(title: string): void;
|
|
@@ -609,5 +610,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
609
610
|
addVariable(variable: SnapshotIn<typeof VariableModel>): void;
|
|
610
611
|
removeVariable(variable: Instance<typeof VariableModel>): void;
|
|
611
612
|
removeSelf(): void;
|
|
613
|
+
} & {
|
|
614
|
+
moveToView(targetViewID: string): void;
|
|
612
615
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
613
616
|
export declare type PanelModelInstance = Instance<typeof PanelModel>;
|
|
@@ -905,6 +905,7 @@ export declare const tokens: {
|
|
|
905
905
|
}[];
|
|
906
906
|
description: string;
|
|
907
907
|
};
|
|
908
|
+
readonly viewID: any;
|
|
908
909
|
} & {
|
|
909
910
|
setID(id: string): void;
|
|
910
911
|
setTitle(title: string): void;
|
|
@@ -1543,6 +1544,8 @@ export declare const tokens: {
|
|
|
1543
1544
|
};
|
|
1544
1545
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1545
1546
|
removeSelf(): void;
|
|
1547
|
+
} & {
|
|
1548
|
+
moveToView(targetViewID: string): void;
|
|
1546
1549
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1547
1550
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1548
1551
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2144,6 +2147,7 @@ export declare const tokens: {
|
|
|
2144
2147
|
}[];
|
|
2145
2148
|
description: string;
|
|
2146
2149
|
};
|
|
2150
|
+
readonly viewID: any;
|
|
2147
2151
|
} & {
|
|
2148
2152
|
setID(id: string): void;
|
|
2149
2153
|
setTitle(title: string): void;
|
|
@@ -2782,6 +2786,8 @@ export declare const tokens: {
|
|
|
2782
2786
|
};
|
|
2783
2787
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2784
2788
|
removeSelf(): void;
|
|
2789
|
+
} & {
|
|
2790
|
+
moveToView(targetViewID: string): void;
|
|
2785
2791
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
2786
2792
|
vizInstance: import("~/service-locator").Token<VizInstance>;
|
|
2787
2793
|
interactionManager: import("~/service-locator").Token<IVizInteractionManager>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
|
|
2
2
|
import { VizComponent } from '~/types/plugin';
|
|
3
3
|
export declare class VizCartesianMigrator extends VersionBasedMigrator {
|
|
4
|
-
readonly VERSION =
|
|
4
|
+
readonly VERSION = 12;
|
|
5
5
|
configVersions(): void;
|
|
6
6
|
}
|
|
7
7
|
export declare const CartesianVizComponent: VizComponent;
|
|
@@ -4,4 +4,4 @@ export interface IBackgroundColorSelectProps {
|
|
|
4
4
|
value?: CellBackgroundColorType;
|
|
5
5
|
onChange?: (value: CellBackgroundColorType) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const BackgroundColorSelect: (
|
|
7
|
+
export declare const BackgroundColorSelect: import("react").ForwardRefExoticComponent<IBackgroundColorSelectProps & import("react").RefAttributes<unknown>>;
|
|
@@ -8,6 +8,7 @@ export declare enum ValueType {
|
|
|
8
8
|
custom = "custom"
|
|
9
9
|
}
|
|
10
10
|
export declare type CellBackgroundColorType = string | IColorInterpolationConfig;
|
|
11
|
+
export declare type ColumnAlignType = 'left' | 'center' | 'right';
|
|
11
12
|
export interface IColumnConf {
|
|
12
13
|
id: string;
|
|
13
14
|
label: string;
|
|
@@ -18,6 +19,7 @@ export interface IColumnConf {
|
|
|
18
19
|
width?: number;
|
|
19
20
|
min_width?: number;
|
|
20
21
|
max_width?: number;
|
|
22
|
+
align: ColumnAlignType;
|
|
21
23
|
}
|
|
22
24
|
export interface ITableConf {
|
|
23
25
|
id_field: string;
|
|
@@ -6,5 +6,5 @@ interface IValueTypeSelector {
|
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
7
|
sx?: Sx;
|
|
8
8
|
}
|
|
9
|
-
export declare
|
|
9
|
+
export declare const ValueTypeSelector: import("react").ForwardRefExoticComponent<IValueTypeSelector & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
10
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ITableCellContext, ValueType } from './type';
|
|
2
|
+
import { ColumnAlignType, ITableCellContext, ValueType } from './type';
|
|
3
3
|
interface ICellValue {
|
|
4
4
|
value: $TSFixMe;
|
|
5
5
|
type: ValueType;
|
|
6
6
|
tableCellContext: ITableCellContext;
|
|
7
7
|
func_content?: string;
|
|
8
|
+
align: ColumnAlignType;
|
|
8
9
|
}
|
|
9
10
|
export declare function CellValue(props: ICellValue): JSX.Element;
|
|
10
11
|
export {};
|