win-chart 2.6.0 → 2.6.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/dist/bundle.esm.js +2 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/index.d.ts +12 -10
- package/dist/types/components/EarthChart.d.ts +13 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as echarts$1 from 'echarts';
|
|
3
3
|
export { echarts$1 as echarts };
|
|
4
|
+
import React$1 from 'react';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* 标准图表数据
|
|
@@ -143,15 +144,16 @@ declare enum WinChartType {
|
|
|
143
144
|
|
|
144
145
|
declare const WinChart: (props: IWinChartProps) => react_jsx_runtime.JSX.Element;
|
|
145
146
|
|
|
146
|
-
|
|
147
|
-
className
|
|
148
|
-
style
|
|
149
|
-
extraOption?:
|
|
150
|
-
lineStyles
|
|
151
|
-
pointsStyles
|
|
152
|
-
pointsData
|
|
153
|
-
linesData
|
|
154
|
-
globeOption
|
|
155
|
-
}
|
|
147
|
+
interface IProps {
|
|
148
|
+
className: string;
|
|
149
|
+
style: React$1.CSSProperties;
|
|
150
|
+
extraOption?: echarts$1.EChartsOption;
|
|
151
|
+
lineStyles: any;
|
|
152
|
+
pointsStyles: any;
|
|
153
|
+
pointsData: any;
|
|
154
|
+
linesData: any;
|
|
155
|
+
globeOption: any;
|
|
156
|
+
}
|
|
157
|
+
declare const EarthChart: ({ className, style, extraOption, lineStyles, pointsStyles, pointsData, linesData, globeOption, }: Partial<IProps>) => react_jsx_runtime.JSX.Element;
|
|
156
158
|
|
|
157
159
|
export { EarthChart, type IChartInfo, type IWinChartProps, WinChart, WinChartType, WinChart as default };
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import * as echarts from 'echarts';
|
|
1
2
|
import 'echarts-gl';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import React from 'react';
|
|
4
|
+
interface IProps {
|
|
5
|
+
className: string;
|
|
6
|
+
style: React.CSSProperties;
|
|
7
|
+
extraOption?: echarts.EChartsOption;
|
|
8
|
+
lineStyles: any;
|
|
9
|
+
pointsStyles: any;
|
|
10
|
+
pointsData: any;
|
|
11
|
+
linesData: any;
|
|
12
|
+
globeOption: any;
|
|
13
|
+
}
|
|
14
|
+
declare const EarthChart: ({ className, style, extraOption, lineStyles, pointsStyles, pointsData, linesData, globeOption, }: Partial<IProps>) => import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
export { EarthChart };
|