@bit-sun/business-component 4.0.13-alpha.34 → 4.0.13-alpha.35

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.
@@ -5,16 +5,22 @@ declare class DataValidation extends React.Component {
5
5
  onDragEnd(result: any): void;
6
6
  getCount: () => {
7
7
  total: any;
8
+ totalQuantity: any;
9
+ totalSuccessQuantity: any;
10
+ totalErrorQuantity: any;
8
11
  error: any;
12
+ success: any;
9
13
  };
10
14
  setConfig: (data: any) => {
11
15
  container: string;
12
- showtoolbar: boolean;
13
16
  hook: {
14
17
  columnTitleCellRenderBefore: (columnAbc: any, postion: any, ctx: any) => void;
15
18
  cellRenderBefore: (cell: any, postion: any, sheetFile: any, ctx: any) => void;
16
19
  cellAllRenderBefore: (data: any, sheetFile: any, ctx: any) => void;
17
20
  };
21
+ showtoolbarConfig: {
22
+ sortAndFilter: boolean;
23
+ };
18
24
  data: {
19
25
  name: string;
20
26
  color: string;
@@ -132,6 +138,9 @@ declare class DataValidation extends React.Component {
132
138
  failData: any;
133
139
  };
134
140
  getData: () => any;
141
+ naturalCompare: (a: any, b: any) => any;
142
+ customSort: (a: any, b: any) => any;
143
+ sortData: (sorterKey: string) => void;
135
144
  resetData: () => void;
136
145
  filterData: (type: string) => void;
137
146
  toggleData: () => void;
@@ -139,6 +148,7 @@ declare class DataValidation extends React.Component {
139
148
  errorChange: (e: any) => void;
140
149
  menuList: React.JSX.Element;
141
150
  leftMenu: React.JSX.Element;
151
+ getSortList: () => React.JSX.Element;
142
152
  getSheetMap: () => {};
143
153
  importExcelToLuckySheet: (resultData: any) => void;
144
154
  render(): React.JSX.Element;