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/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
- declare const EarthChart: ({ className, style, extraOption, lineStyles, pointsStyles, pointsData, linesData, globeOption, }: {
147
- className?: string;
148
- style?: {};
149
- extraOption?: {};
150
- lineStyles?: {};
151
- pointsStyles?: {};
152
- pointsData?: any[];
153
- linesData?: any[];
154
- globeOption?: {};
155
- }) => react_jsx_runtime.JSX.Element;
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
- declare const EarthChart: ({ className, style, extraOption, lineStyles, pointsStyles, pointsData, linesData, globeOption, }: {
3
- className?: string;
4
- style?: {};
5
- extraOption?: {};
6
- lineStyles?: {};
7
- pointsStyles?: {};
8
- pointsData?: any[];
9
- linesData?: any[];
10
- globeOption?: {};
11
- }) => import("react/jsx-runtime").JSX.Element;
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "菜鸟地网统一图表组件",
5
5
  "files": [
6
6
  "dist"