@advt-gpt-chart/package 3.1.1 → 3.1.3
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/Chart/ChartBase/constants.d.ts +9 -3
- package/dist/Chart/ChartBase/types.d.ts +14 -3
- package/dist/Chart/ChartCodeRender/type.d.ts +44 -1
- package/dist/Chart/ChartControllers/DataFormat/utils.d.ts +5 -0
- package/dist/Chart/ChartControllers/utils.d.ts +2 -0
- package/dist/Chart/ChartWrapper/utils.d.ts +2 -0
- package/dist/Chart/Dataset/types.d.ts +2 -1
- package/dist/Chart/Dataset/useDataset.d.ts +2 -2
- package/dist/Charts/Composite/types.d.ts +20 -0
- package/dist/Charts/common/constants/index.d.ts +0 -0
- package/dist/Charts/common/hooks/index.d.ts +1 -0
- package/dist/Charts/common/hooks/useChartConfigTools.d.ts +43 -0
- package/dist/Charts/common/index.d.ts +6 -0
- package/dist/Charts/common/tools/index.d.ts +0 -0
- package/dist/ConfigProvider/hooks/useConfig.d.ts +7 -0
- package/dist/GPTVis/hooks/useChartStore.d.ts +9 -3
- package/dist/index.es.js +30282 -30038
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +763 -762
- package/dist/index.umd.js.gz +0 -0
- package/dist/types/chart.d.ts +6 -0
- package/dist/utils/echart.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/types/chart.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare function getChartCategory(chartType?: ChartType): ChartCategoryTy
|
|
|
47
47
|
export declare const handleChartTypeChange: (chartType: ChartType, preChartJson: ChartJson) => {
|
|
48
48
|
type: ChartType;
|
|
49
49
|
data: DataItem[];
|
|
50
|
+
dataset?: import("../Chart/Dataset/types").Dataset;
|
|
50
51
|
chartId?: string;
|
|
51
52
|
chartName?: string;
|
|
52
53
|
xField?: string;
|
|
@@ -62,6 +63,7 @@ export declare const handleChartTypeChange: (chartType: ChartType, preChartJson:
|
|
|
62
63
|
hideChartHeader?: boolean;
|
|
63
64
|
series?: any[];
|
|
64
65
|
agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
|
|
66
|
+
availableChartTypes?: string[];
|
|
65
67
|
};
|
|
66
68
|
export type ChangeInfo = {
|
|
67
69
|
metrics: string[];
|
|
@@ -76,6 +78,7 @@ export declare const handleChartDataSourceChange: ({ metrics, dimensions, timeGr
|
|
|
76
78
|
dimensions: string[];
|
|
77
79
|
data: DataItem[];
|
|
78
80
|
type: ChartType;
|
|
81
|
+
dataset?: import("../Chart/Dataset/types").Dataset;
|
|
79
82
|
chartId?: string;
|
|
80
83
|
chartName?: string;
|
|
81
84
|
xField?: string;
|
|
@@ -89,6 +92,7 @@ export declare const handleChartDataSourceChange: ({ metrics, dimensions, timeGr
|
|
|
89
92
|
hideChartHeader?: boolean;
|
|
90
93
|
series?: any[];
|
|
91
94
|
agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
|
|
95
|
+
availableChartTypes?: string[];
|
|
92
96
|
};
|
|
93
97
|
export type QueryDataInfo = {
|
|
94
98
|
metrics?: OptionType[];
|
|
@@ -101,6 +105,7 @@ export declare const transformQueryData2ChartJson: ({ metrics: dataMetrics, dime
|
|
|
101
105
|
dimensions: string[];
|
|
102
106
|
type: ChartType;
|
|
103
107
|
data: DataItem[];
|
|
108
|
+
dataset?: import("../Chart/Dataset/types").Dataset;
|
|
104
109
|
chartId?: string;
|
|
105
110
|
chartName?: string;
|
|
106
111
|
xField?: string;
|
|
@@ -114,5 +119,6 @@ export declare const transformQueryData2ChartJson: ({ metrics: dataMetrics, dime
|
|
|
114
119
|
hideChartHeader?: boolean;
|
|
115
120
|
series?: any[];
|
|
116
121
|
agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
|
|
122
|
+
availableChartTypes?: string[];
|
|
117
123
|
};
|
|
118
124
|
export {};
|
package/dist/utils/echart.d.ts
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const version = "3.1.
|
|
1
|
+
declare const version = "3.1.3";
|
|
2
2
|
export default version;
|