win-chart 2.12.0 → 2.13.0

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.
@@ -1,7 +1,7 @@
1
1
  import { IWinChartProps } from '@/types';
2
2
  /**
3
3
  * 获取图表配置
4
- * @param chartType
5
4
  * @returns
5
+ * @param originWinChartProps
6
6
  */
7
7
  export declare const getEChartOptions: (originWinChartProps: IWinChartProps) => echarts.EChartsOption;
@@ -31,9 +31,10 @@ export declare const checkEntityArr: (data: unknown) => boolean;
31
31
  /**
32
32
  * 处理数据降序
33
33
  * @param data
34
+ * @param order
34
35
  * @returns
35
36
  */
36
- export declare const dataDescOrder: (data?: IChartInfo[]) => IChartInfo[];
37
+ export declare const dataDescOrder: (data?: IChartInfo[], order?: "asc" | "desc") => IChartInfo[];
37
38
  /**
38
39
  * 获取 X 轴配置
39
40
  * @param winChartProps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "菜鸟地网统一图表组件",
5
5
  "files": [
6
6
  "dist"