@advt-gpt-chart/package 3.1.1 → 3.1.2

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.
Binary file
@@ -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;
@@ -76,6 +77,7 @@ export declare const handleChartDataSourceChange: ({ metrics, dimensions, timeGr
76
77
  dimensions: string[];
77
78
  data: DataItem[];
78
79
  type: ChartType;
80
+ dataset?: import("../Chart/Dataset/types").Dataset;
79
81
  chartId?: string;
80
82
  chartName?: string;
81
83
  xField?: string;
@@ -101,6 +103,7 @@ export declare const transformQueryData2ChartJson: ({ metrics: dataMetrics, dime
101
103
  dimensions: string[];
102
104
  type: ChartType;
103
105
  data: DataItem[];
106
+ dataset?: import("../Chart/Dataset/types").Dataset;
104
107
  chartId?: string;
105
108
  chartName?: string;
106
109
  xField?: string;
@@ -1,4 +1,6 @@
1
1
  /**
2
2
  * 将 GPT-Vis 图表的配置转换为图表的配置
3
+ * @param props - 原始配置
4
+ * @returns 转换后的配置
3
5
  */
4
6
  export declare function transform2ChartProps<T extends Record<string, any>>(props: T): T;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const version = "3.1.1";
1
+ declare const version = "3.1.2";
2
2
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@advt-gpt-chart/package",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "ADVT GPT Chart - A React chart component library for GPT visualization",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",