@bit-sun/business-component 3.1.0 → 3.1.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.
@@ -22,7 +22,7 @@ declare class SortableTable extends React.Component {
22
22
  dataIndex: string;
23
23
  className: string;
24
24
  width: number;
25
- render?: undefined;
25
+ render: (text: any, record: any) => React.JSX.Element;
26
26
  } | {
27
27
  title: string;
28
28
  dataIndex: string;
@@ -24,7 +24,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
24
24
  dataIndex: string;
25
25
  className: string;
26
26
  width: number;
27
- render?: undefined;
27
+ render: (text: any, record: any) => React.JSX.Element;
28
28
  } | {
29
29
  title: string;
30
30
  dataIndex: string;
@@ -47,6 +47,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
47
47
  DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
48
48
  onChange: (e: any, title: any) => void;
49
49
  handleReset: () => void;
50
+ handleResetSetting: () => void;
50
51
  onSearch: (e: any) => void;
51
52
  onSearchSort: (e: any) => void;
52
53
  getConfigFromlocalstorage: () => any;
@@ -7,3 +7,4 @@ import React from 'react';
7
7
  export declare const noEmptyArray: (arr: any[]) => boolean;
8
8
  export declare const getItemDefaultWidth: (item: any) => number;
9
9
  export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
10
+ export declare const getShowColumns: (originColumns: any[], configs: any[]) => any[];