@devtable/dashboard 6.39.0 → 6.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/dashboard.es.js +4487 -4376
- package/dist/dashboard.umd.js +47 -46
- package/dist/filter/filter-tree-select/render/query-data-to-tree.d.ts +2 -2
- package/dist/filter/filter-tree-select/types.d.ts +8 -0
- package/dist/styles/common-html-content-style.d.ts +2 -0
- package/dist/types/plugin/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function queryDataToTree(queryData:
|
|
1
|
+
import { ITreeDataRenderItem } from '../types';
|
|
2
|
+
export declare function queryDataToTree(queryData: ITreeDataRenderItem[]): import("performant-array-to-tree").TreeItem[];
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface ITreeDataQueryOption {
|
|
2
3
|
label: string;
|
|
3
4
|
value: string;
|
|
4
5
|
parent_value: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ITreeDataRenderItem {
|
|
9
|
+
label: string | JSX.Element;
|
|
10
|
+
value: string;
|
|
11
|
+
parent_value: string;
|
|
12
|
+
description?: string;
|
|
5
13
|
}
|
|
@@ -96,7 +96,10 @@ export interface VizComponent {
|
|
|
96
96
|
viewRender: React.ComponentType<VizViewProps>;
|
|
97
97
|
configRender: React.ComponentType<VizConfigProps>;
|
|
98
98
|
migrator: IPanelScopeConfigMigrator;
|
|
99
|
-
createConfig: () =>
|
|
99
|
+
createConfig: () => {
|
|
100
|
+
version: number;
|
|
101
|
+
config: AnyObject;
|
|
102
|
+
};
|
|
100
103
|
triggers?: ITriggerSchema[];
|
|
101
104
|
}
|
|
102
105
|
export interface IPanelScopeConfigMigrator {
|