@advt-gpt-chart/package 3.1.0 → 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.
- package/README.md +55 -55
- package/dist/Chart/ChartBase/constants.d.ts +5 -1
- package/dist/Chart/ChartBase/types.d.ts +14 -3
- package/dist/Chart/ChartCodeRender/type.d.ts +43 -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 +1 -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 +27031 -26835
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +709 -709
- package/dist/index.umd.js.gz +0 -0
- package/dist/types/chart.d.ts +3 -0
- package/dist/utils/echart.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/package.json +45 -45
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;
|
|
@@ -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;
|
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.2";
|
|
2
2
|
export default version;
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@advt-gpt-chart/package",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"description": "ADVT GPT Chart - A React chart component library for GPT visualization",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.umd.js",
|
|
7
|
-
"module": "./dist/index.es.js",
|
|
8
|
-
"typings": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"default": "./dist/index.es.js"
|
|
14
|
-
},
|
|
15
|
-
"require": {
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"default": "./dist/index.umd.js"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"./package.json": "./package.json"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist"
|
|
24
|
-
],
|
|
25
|
-
"scripts": {
|
|
26
|
-
"build": "cd .. && pnpm run build:chart",
|
|
27
|
-
"publish-local": "cd .. && pnpm run publish-local",
|
|
28
|
-
"publish-local-update": "cd .. && pnpm run publish-local-update",
|
|
29
|
-
"publish-npm": "npm publish --registry https://registry.npmjs.org/ --access public"
|
|
30
|
-
},
|
|
31
|
-
"keywords": [
|
|
32
|
-
"react",
|
|
33
|
-
"chart",
|
|
34
|
-
"gpt",
|
|
35
|
-
"visualization",
|
|
36
|
-
"antd",
|
|
37
|
-
"vchart"
|
|
38
|
-
],
|
|
39
|
-
"author": "",
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"antd": ">=4.0.0",
|
|
43
|
-
"react": ">=17.0.0 <19.0.0",
|
|
44
|
-
"react-dom": ">=17.0.0 <19.0.0"
|
|
45
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@advt-gpt-chart/package",
|
|
3
|
+
"version": "3.1.2",
|
|
4
|
+
"description": "ADVT GPT Chart - A React chart component library for GPT visualization",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.umd.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"typings": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.es.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.umd.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "cd .. && pnpm run build:chart",
|
|
27
|
+
"publish-local": "cd .. && pnpm run publish-local",
|
|
28
|
+
"publish-local-update": "cd .. && pnpm run publish-local-update",
|
|
29
|
+
"publish-npm": "npm publish --registry https://registry.npmjs.org/ --access public"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"react",
|
|
33
|
+
"chart",
|
|
34
|
+
"gpt",
|
|
35
|
+
"visualization",
|
|
36
|
+
"antd",
|
|
37
|
+
"vchart"
|
|
38
|
+
],
|
|
39
|
+
"author": "",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"antd": ">=4.0.0",
|
|
43
|
+
"react": ">=17.0.0 <19.0.0",
|
|
44
|
+
"react-dom": ">=17.0.0 <19.0.0"
|
|
45
|
+
}
|
|
46
46
|
}
|