/**
* @file Table
* @author fex
*/
///
///
import React from 'react';
import Sortable from 'sortablejs';
import { ClassNamesFn, ThemeProps, LocaleProps } from 'amis-core';
import { SpinnerExtraProps } from '../Spinner';
export interface ColumnProps {
title: string | React.ReactNode | Function;
name: string;
className?: Function;
children?: Array;
render?: Function;
fixed?: boolean | string;
width?: number | string;
sorter?: ((a: any, b: any, order: string) => number) | boolean;
sortOrder?: string;
filters?: Array;
filterMode?: string;
filterMultiple?: boolean;
filteredValue?: Array;
filtered?: boolean;
filterDropdown?: Function | React.ReactNode;
align?: string;
breakpoint?: '*' | 'xs' | 'sm' | 'md' | 'lg';
[propName: string]: any;
}
export interface ThProps extends ColumnProps {
rowSpan: number;
colSpan: number;
depth: number;
}
export interface TdProps extends ColumnProps {
rowSpan: number;
colSpan: number;
}
export interface RowSelectionOptionProps {
key: string;
text: string;
onSelect: Function;
}
export interface RowSelectionProps {
type: string;
rowClick?: boolean;
fixed: boolean;
selectedRowKeys: Array;
keyField?: string;
columnWidth?: number;
selections?: Array;
onChange?: Function;
getCheckboxProps: Function;
maxSelectedLength?: number;
}
export interface ExpandableProps {
expandedRowKeys?: Array;
keyField: string;
columnWidth?: number;
rowExpandable: Function;
defaultExpandedRowKeys?: Array;
onExpand?: Function;
onExpandedRowsChange?: Function;
expandedRowRender?: Function;
expandedRowClassName?: Function;
expandIcon?: Function;
fixed?: boolean;
position?: string;
}
export interface SummaryProps {
colSpan: number;
fixed: string | boolean;
render: Function | React.ReactNode;
/** 单元格样式,会应用于组件外层的td */
cellClassName?: string;
}
export interface OnRowProps {
onRowMouseEnter?: Function;
onRowMouseLeave?: Function;
onRowClick?: Function;
onRowDbClick?: Function;
}
export interface SortProps {
orderBy: string;
orderDir: string;
}
export type AutoFillHeightObject = Record<'height' | 'maxHeight', number>;
export interface TableProps extends ThemeProps, LocaleProps, SpinnerExtraProps {
title: string | React.ReactNode | Function;
footer?: string | React.ReactNode | Function;
className?: string;
dataSource: Array;
classnames: ClassNamesFn;
columns: Array;
scroll?: ScrollProps;
rowSelection?: RowSelectionProps;
onSort?: Function;
expandable?: ExpandableProps;
bordered?: boolean;
size?: string;
headSummary?: Function | React.ReactNode | Array>;
footSummary?: Function | React.ReactNode | Array>;
draggable?: boolean;
onDrag?: Function;
resizable?: boolean;
placeholder?: string | React.ReactNode | Function;
loading?: boolean | string | React.ReactNode;
sticky?: boolean;
onFilter?: Function;
childrenColumnName?: string;
keyField?: string;
indentSize: number;
onRow?: OnRowProps;
rowClassName?: Function;
lineHeight?: string;
showHeader?: boolean;
tableLayout?: string;
onSelect?: Function;
onSelectAll?: Function;
itemActions?: Function;
onRef?: (ref: any) => void;
/**
* 表格自动计算高度
*/
autoFillHeight?: boolean | AutoFillHeightObject;
lazyRenderAfter?: boolean;
}
export interface ScrollProps {
x: number | string | true;
y: number | string;
}
export interface TableState {
selectedRowKeys: Array;
expandedRowKeys: Array;
colWidths: {
[name: string]: {
width: number;
realWidth: number;
minWidth: number;
originWidth: number;
};
};
hoverRow: {
rowIndex?: number;
record: any;
target: HTMLTableRowElement;
} | null;
sort?: SortProps;
}
export declare const DefaultCellWidth = 40;
export declare class Table extends React.PureComponent {
static defaultProps: {
title: string;
className: string;
dataSource: never[];
columns: never[];
indentSize: number;
placeholder: string;
showHeader: boolean;
tableLayout: string;
};
constructor(props: TableProps);
getPopOverContainer(): HTMLElement;
thColumns: Array>;
tdColumns: Array;
selectedRows: Array;
unSelectedRows: Array;
sortable: Sortable | null;
resizeStart: number;
resizeTarget?: HTMLElement;
resizeWidth: number;
resizeIndex: number;
tableDom: React.RefObject;
tbodyDom: React.RefObject;
contentDom: React.RefObject;
headerDom: React.RefObject;
footDom: React.RefObject;
containerDom: React.RefObject;
toDispose: Array<() => void>;
updateTableInfoLazy: import("lodash").DebouncedFunc;
updateAutoFillHeightLazy: import("lodash").DebouncedFunc;
componentDidMount(): void;
componentDidUpdate(prevProps: TableProps, prevState: TableState): void;
componentWillUnmount(): void;
/**
* 自动设置表格高度占满界面剩余区域
* 用 css 实现有点麻烦,要改很多结构,所以先用 dom hack 了,避免对之前的功能有影响
*/
updateAutoFillHeight(): void;
initDragging(): void;
destroyDragging(): void;
updateStickyHeader(): void;
renderColGroup(showReal?: boolean): React.JSX.Element;
onResizeMouseDown(event: any, index: number): void;
onResizeMouseMove(event: any): void;
onResizeMouseUp(event: MouseEvent): void;
renderHead(): React.JSX.Element;
onRowClick(event: React.ChangeEvent, record?: any, rowIndex?: number): Promise;
onRowDbClick(event: React.ChangeEvent, record?: any, rowIndex?: number): Promise;
onRowMouseEnter(event: React.ChangeEvent, record?: any, rowIndex?: number): Promise;
onRowMouseLeave(event: React.ChangeEvent, record?: any, rowIndex?: number): Promise;
onMouseLeave(): void;
onExpandRows(data: Array): void;
onCollapseRows(data: Array): void;
getChildrenColumnName(): string;
getRowSelectionKeyField(): string;
getExpandableKeyField(): string;
hasCheckedChildrenRows(data: any): boolean;
getSelectedRowKeys(isSelected: boolean, data: any): any[];
selectedSingleRow(value: boolean, data: any): Promise;
isExpandableRow(data: any, rowIndex: number): any;
isExpanded(record: any): boolean;
renderRow(data: any, rowIndex: number, levels: Array): any[];
onRowChange(value: boolean, record: any): void;
renderBody(): React.JSX.Element;
isExpandableTable(): boolean;
isRightExpandable(): boolean | undefined;
isLeftExpandable(): boolean | undefined;
getExtraColumnCount(): number;
renderSummaryRow(summary: any): any;
renderFoot(): React.JSX.Element;
updateTableDom(dom: HTMLElement): void;
onTableContentScroll(event: React.ChangeEvent): void;
onWheel(event: WheelEvent): void;
onTableScroll(event: any): void;
renderTable(): React.JSX.Element;
renderScrollTableHeader(): React.JSX.Element;
renderScrollTableBody(): React.JSX.Element;
renderScrollTableFoot(): React.JSX.Element;
renderScrollTable(): React.JSX.Element;
syncTableWidth(): void;
initTableWidth(): void;
updateTableInfo(): void;
render(): React.JSX.Element;
}
declare const _default: {
new (props: Omit, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType<{
new (props: Pick, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}): {
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): React.JSX.Element;
context: unknown;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | undefined;
} & {} & {
locale?: string | undefined;
translate?: ((str: string, ...args: any[]) => string) | undefined;
}>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "classnames" | "classPrefix" | "footer" | "style" | "theme" | "mobileUI" | "size" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "scroll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "sticky" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions" | "autoFillHeight" | "lazyRenderAfter"> & {
title?: Function | React.ReactNode;
className?: string | undefined;
placeholder?: Function | React.ReactNode;
columns?: ColumnProps[] | undefined;
dataSource?: any[] | undefined;
indentSize?: number | undefined;
showHeader?: boolean | undefined;
tableLayout?: string | 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;