@devtable/dashboard 8.37.0 → 8.38.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/contexts/panel-context.d.ts +1 -1
- package/dist/dashboard.es.js +7301 -7234
- package/dist/dashboard.umd.js +65 -65
- package/dist/main/dashboard-editor/settings/content/edit-panel/change-view-of-panel.d.ts +6 -3
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-editor.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/model.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/index.d.ts +915 -0
- package/dist/main/full-screen-panel.d.ts +1 -1
- package/dist/main/use-panel-full-screen.d.ts +2 -4
- package/dist/model/filters/filter/checkbox.d.ts +3 -0
- package/dist/model/index.d.ts +1 -0
- package/dist/model/panels/index.d.ts +9765 -0
- package/dist/model/{views/view/panels → panels}/panel.d.ts +13 -12
- package/dist/model/views/index.d.ts +3916 -0
- package/dist/model/views/view/index.d.ts +4 -12721
- package/dist/panel/index.d.ts +1 -1
- package/dist/plugins/instance-migrator/index.d.ts +1 -1
- package/dist/plugins/plugin-context.d.ts +2 -4
- package/dist/plugins/plugin-data-migrator/plugin-data-migrator.d.ts +1 -1
- package/dist/types/dashboard.d.ts +2 -1
- package/dist/types/plugin/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/model/views/view/panels/index.d.ts +0 -4227
- /package/dist/model/{views/view/panels → panels}/layout.d.ts +0 -0
- /package/dist/model/{views/view/panels → panels}/style/border.d.ts +0 -0
- /package/dist/model/{views/view/panels → panels}/style/index.d.ts +0 -0
- /package/dist/model/{views/view/panels → panels}/viz.d.ts +0 -0
package/dist/panel/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IServiceLocator } from '~/service-locator';
|
|
2
2
|
import { IVizOperationManager, IVizTriggerManager, VizInstance } from '~/types/plugin';
|
|
3
3
|
import { IVizManager } from '../viz-manager';
|
|
4
|
-
import { PanelModelInstance } from '~/model/
|
|
4
|
+
import { PanelModelInstance } from '~/model/panels';
|
|
5
5
|
export declare enum MigrationResultType {
|
|
6
6
|
migrated = "migrated",
|
|
7
7
|
nothingToMigrate = "nothingToMigrate",
|
|
@@ -905,7 +905,6 @@ export declare const tokens: {
|
|
|
905
905
|
}[];
|
|
906
906
|
description: string;
|
|
907
907
|
};
|
|
908
|
-
readonly viewID: any;
|
|
909
908
|
} & {
|
|
910
909
|
setID(id: string): void;
|
|
911
910
|
setTitle(title: string): void;
|
|
@@ -1545,7 +1544,7 @@ export declare const tokens: {
|
|
|
1545
1544
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1546
1545
|
removeSelf(): void;
|
|
1547
1546
|
} & {
|
|
1548
|
-
moveToView(targetViewID: string): void;
|
|
1547
|
+
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
1549
1548
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1550
1549
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1551
1550
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2147,7 +2146,6 @@ export declare const tokens: {
|
|
|
2147
2146
|
}[];
|
|
2148
2147
|
description: string;
|
|
2149
2148
|
};
|
|
2150
|
-
readonly viewID: any;
|
|
2151
2149
|
} & {
|
|
2152
2150
|
setID(id: string): void;
|
|
2153
2151
|
setTitle(title: string): void;
|
|
@@ -2787,7 +2785,7 @@ export declare const tokens: {
|
|
|
2787
2785
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2788
2786
|
removeSelf(): void;
|
|
2789
2787
|
} & {
|
|
2790
|
-
moveToView(targetViewID: string): void;
|
|
2788
|
+
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
2791
2789
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
2792
2790
|
vizInstance: import("~/service-locator").Token<VizInstance>;
|
|
2793
2791
|
interactionManager: import("~/service-locator").Token<IVizInteractionManager>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TRIGGERS_KEY } from '~/interactions';
|
|
2
|
-
import { PanelModelInstance } from '~/model/
|
|
2
|
+
import { PanelModelInstance } from '~/model/panels';
|
|
3
3
|
import { AnyObject } from '~/types';
|
|
4
4
|
export interface IMigrationEnv {
|
|
5
5
|
panelModel: PanelModelInstance;
|
|
@@ -63,7 +63,7 @@ export interface IDashboardView {
|
|
|
63
63
|
name: string;
|
|
64
64
|
type: EViewComponentType;
|
|
65
65
|
config: Record<string, any>;
|
|
66
|
-
|
|
66
|
+
panelIDs: string[];
|
|
67
67
|
}
|
|
68
68
|
export interface IDashboard {
|
|
69
69
|
id: string;
|
|
@@ -71,6 +71,7 @@ export interface IDashboard {
|
|
|
71
71
|
group: string;
|
|
72
72
|
definition: IDashboardDefinition;
|
|
73
73
|
views: IDashboardView[];
|
|
74
|
+
panels: IDashboardPanel[];
|
|
74
75
|
filters: FilterModelSnapshotOut[];
|
|
75
76
|
version: string;
|
|
76
77
|
}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { IVizManager } from '~/plugins';
|
|
4
4
|
import { AnyObject } from '~/types';
|
|
5
5
|
import { ITemplateVariable } from '~/utils/template';
|
|
6
|
-
import { PanelModelInstance } from '~/model/
|
|
6
|
+
import { PanelModelInstance } from '~/model/panels';
|
|
7
7
|
/**
|
|
8
8
|
* Basic information of a viz component instance
|
|
9
9
|
*/
|