@ecan-bi/datav 1.5.91 → 1.5.93

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecan-bi/datav",
3
- "version": "1.5.91",
3
+ "version": "1.5.93",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "types/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "prepublishOnly": "npm run build"
31
31
  },
32
32
  "devDependencies": {
33
- "@ecan-bi/tools": "^1.0.59",
33
+ "@ecan-bi/tools": "^1.0.61",
34
34
  "@sucrase/jest-plugin": "^2.2.0",
35
35
  "@types/echarts": "^4.9.15",
36
36
  "@types/jest": "^26.0.23",
@@ -1,2 +1,2 @@
1
- export declare const useDownloadFile: (downloadFileUrl: string) => Promise<void>;
1
+ export declare const useDownloadFile: (downloadFileUrl: string, params?: any, headers?: any) => Promise<void>;
2
2
  export default useDownloadFile;
@@ -38,15 +38,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
38
38
  dataSource: any[];
39
39
  columns: any[];
40
40
  title: string;
41
- pagination: {
42
- current: number;
43
- pageSize: number;
44
- total: number;
45
- showSizeChanger: boolean;
46
- showQuickJumper: boolean;
47
- showLessItems: boolean;
48
- showTotal: (total: number) => string;
49
- };
50
41
  };
51
42
  pivotTableConfig: any;
52
43
  pivotTableStyle: import("vue").ComputedRef<{
@@ -57,14 +48,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
57
48
  padding: string;
58
49
  height?: undefined;
59
50
  overflow?: undefined;
51
+ paddingTop?: undefined;
60
52
  } | {
61
53
  height: string;
62
54
  overflow: string;
55
+ paddingTop: number;
63
56
  padding?: undefined;
64
57
  } | {
58
+ paddingTop: number;
65
59
  padding?: undefined;
66
60
  height?: undefined;
67
61
  overflow?: undefined;
62
+ } | {
63
+ padding?: undefined;
64
+ height?: undefined;
65
+ overflow?: undefined;
66
+ paddingTop?: undefined;
68
67
  }>;
69
68
  wrapClassName: import("vue").ComputedRef<string>;
70
69
  isIndFullScreen: import("vue").Ref<boolean>;
@@ -88,12 +87,24 @@ declare const _sfc_main: import("vue").DefineComponent<{
88
87
  }[]>;
89
88
  allComponentList: any[];
90
89
  tableFontSize: import("vue").ComputedRef<string>;
90
+ miniFontSize: import("vue").ComputedRef<string>;
91
91
  tableScroll: any;
92
92
  tableRef: import("vue").Ref<any>;
93
93
  summaryList: import("vue").Ref<any[]>;
94
94
  summaryHeight: import("vue").Ref<number>;
95
95
  isShowDetailMpdal: import("vue").Ref<boolean>;
96
96
  defaultValue: string;
97
+ pagination: {
98
+ current: number;
99
+ pageSize: number;
100
+ total: number;
101
+ showSizeChanger: boolean;
102
+ showQuickJumper: boolean;
103
+ showLessItems: boolean;
104
+ showTotal: (total: number) => string;
105
+ };
106
+ searchLoading: import("vue").Ref<boolean>;
107
+ downloading: import("vue").Ref<boolean>;
97
108
  getContainer: () => Element;
98
109
  toggleFullScreen: () => void;
99
110
  onDetailCancel: () => void;
@@ -101,9 +112,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
101
112
  type: any;
102
113
  data: any;
103
114
  }) => void;
104
- handleTableChange: () => void;
115
+ handlePageChange: (current: number, pageSize: number) => void;
116
+ handleTableChange: (_page: any, _filters: any, sorter: any) => void;
105
117
  onCloseDetailModal: () => void;
106
118
  onCloseModal: () => void;
119
+ getCalcLabel: (title: string) => string;
120
+ formatMainCell: (text: any, column: any) => any;
121
+ formatCellPercent: (text: any, column: any) => string;
122
+ handleExport: () => Promise<void>;
107
123
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
108
124
  theme: {
109
125
  type: StringConstructor;
@@ -23,7 +23,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
23
23
  }, {
24
24
  visible: import("vue").Ref<boolean>;
25
25
  requestLoading: import("vue").Ref<boolean>;
26
- pagination: import("vue").Ref<{
26
+ pagination: {
27
27
  current: number;
28
28
  pageSize: number;
29
29
  total: number;
@@ -31,7 +31,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
31
31
  showQuickJumper: boolean;
32
32
  showLessItems: boolean;
33
33
  showTotal: (total: any) => string;
34
- }>;
34
+ };
35
35
  columns: import("vue").Ref<any[]>;
36
36
  dataSource: import("vue").Ref<any[]>;
37
37
  wrapClassName: import("vue").ComputedRef<string>;
@@ -39,9 +39,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
39
39
  padding: string;
40
40
  height?: undefined;
41
41
  overflow?: undefined;
42
+ paddingTop?: undefined;
42
43
  } | {
43
44
  height: string;
44
45
  overflow: string;
46
+ paddingTop: string;
45
47
  padding?: undefined;
46
48
  }>;
47
49
  isMobile: boolean;
@@ -57,10 +59,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
57
59
  isLoadedTable: import("vue").Ref<boolean>;
58
60
  isShowCustomModal: import("vue").Ref<boolean>;
59
61
  defaultValue: string;
60
- handleTableChange: (page: any) => void;
62
+ searchLoading: import("vue").Ref<boolean>;
63
+ downloading: import("vue").Ref<boolean>;
64
+ handleTableChange: (_page: any, _filters: any, sorter: any) => void;
65
+ handlePageChange: (current: any, pageSize: any) => void;
61
66
  getContainer: () => Element;
62
67
  onDetailCancel: () => void;
63
68
  toggleFullScreen: () => void;
69
+ handleExport: () => Promise<void>;
64
70
  }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
65
71
  theme: {
66
72
  type: StringConstructor;