///
import React from 'react';
import Sortable from 'sortablejs';
import type { ColumnProps, TableCompProps, TdProps, ThProps } from '../../types';
interface TableState {
selectedRowKeys: Array;
dataSource: Array;
expandedRowKeys: Array;
colWidths: Array;
hoverRow: {
rowIndex?: number;
record: any;
target: HTMLTableRowElement;
} | null;
}
export declare class Table extends React.PureComponent {
static defaultProps: {
title: string;
className: string;
dataSource: never[];
columns: never[];
indentSize: number;
placeholder: string;
showHeader: boolean;
};
constructor(props: TableCompProps);
getPopOverContainer(): Element | Text | null;
thColumns: Array>;
tdColumns: Array;
selectedRows: Array;
unSelectedRows: Array;
sortable: Sortable | null;
resizeStart: number;
resizeTarget: Array;
resizeWidth: number;
tableDom: React.RefObject;
theadDom: React.RefObject;
tbodyDom: React.RefObject;
contentDom: React.RefObject;
headerDom: React.RefObject;
bodyDom: React.RefObject;
tfootDom: React.RefObject;
footDom: React.RefObject;
getColWidths(): any[];
getSelectedRows(dataSource: Array, selectedRowKeys: Array): {
selectedRows: any[];
unSelectedRows: any[];
};
updateTableBodyFixed(): void;
updateColWidths(): void;
updateTableFixedRows(): void;
componentDidMount(): void;
componentDidUpdate(prevProps: TableCompProps, prevState: TableState): void;
componentWillUnmount(): void;
initDragging(): void;
destroyDragging(): void;
updateStickyHeader(): void;
updateFixedRow(row: HTMLElement, columns: Array): void;
prependColumns(columns: Array): void;
updateTheadFixedRow(thead: HTMLElement, columns: Array): void;
updateTbodyFixedRow(tbody: HTMLElement, columns: Array): void;
updateSummaryFixedRow(children: HTMLCollection | Array, columns: Array): void;
updateFootSummaryFixedRow(tfoot: HTMLElement): void;
updateHeadSummaryFixedRow(tbody: HTMLElement): void;
renderColGroup(colWidths?: Array): JSX.Element;
onResizeMouseDown(event: any, index: number): void;
onResizeMouseMove(event: any): void;
onResizeMouseUp(event: MouseEvent): void;
renderTHead(): JSX.Element;
onRowClick(event: React.ChangeEvent, record?: any, rowIndex?: number): Promise;
onRowMouseEnter(event: React.ChangeEvent, record?: any, rowIndex?: number): void;
onRowMouseLeave(event: React.ChangeEvent, record?: any, rowIndex?: number): void;
onMouseLeave(): void;
onExpandRow(data: any): void;
onCollapseRow(data: any): void;
getChildrenColumnName(): string;
getRowSelectionKeyField(): string;
getExpandableKeyField(): string;
hasChildrenRow(data: any): any;
isExpandableRow(data: any, rowIndex: number): any;
getDataChildrenKeys(data: any): string[];
hasCheckedRows(data: any): boolean;
hasCheckedChildrenRows(data: any): boolean;
getExpandedIcons(isExpanded: boolean, record: any): JSX.Element;
selectedSingleRow(value: boolean, data: any): Promise;
renderRow(data: any, rowIndex: number, levels: Array): any[];
renderTBody(): JSX.Element;
isExpandableTable(): boolean;
isNestedTable(): boolean;
getExtraColumnCount(): number;
renderSummaryRow(summary: any): any;
renderTFoot(): JSX.Element;
updateTableDom(dom: HTMLElement): void;
onTableContentScroll(event: React.ChangeEvent): void;
onWheel(event: WheelEvent): void;
onTableScroll(event: any): void;
renderLoading(): JSX.Element;
renderTable(): JSX.Element;
renderScrollTableHeader(): JSX.Element;
renderScrollTableBody(): JSX.Element;
renderScrollTableFoot(): JSX.Element;
renderScrollTable(): JSX.Element;
render(): JSX.Element;
}
declare const _default: {
new (props: Omit, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps): {
context: string;
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): JSX.Element;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof import("jamis-core").ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType<{
new (props: Pick, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
context: string;
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): JSX.Element;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof Table;
}>;
} & import("hoist-non-react-statics").NonReactStatics<{
new (props: Pick, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
context: string;
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): JSX.Element;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof Table;
}, {}> & {
ComposedComponent: {
new (props: Pick, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
context: string;
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): JSX.Element;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "loading" | "classPrefix" | "classnames" | "theme" | "footer" | "scroll" | "size" | "draggable" | "onDrag" | "onSelect" | "onSelectAll" | "sticky" | "lineHeight" | "resizable" | "onSort" | "onFilter" | "rowSelection" | "expandable" | "bordered" | "headSummary" | "footSummary" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "itemActions"> & {
className?: string | undefined;
title?: Function | React.ReactNode;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof Table;
};
};
export default _default;