1 | import { Key, ReactElement, ReactNode } from 'react';
|
2 | import { DraggingStyle, DropResult, NotDraggingStyle } from 'react-beautiful-dnd';
|
3 | import { ColumnProps } from './Column';
|
4 | import Record from '../data-set/Record';
|
5 | import Field from '../data-set/Field';
|
6 | import { ColumnLock, TablePaginationPosition } from './enum';
|
7 | import { FormFieldProps } from '../field/FormField';
|
8 | import DataSet from '../data-set/DataSet';
|
9 | import TableStore from './TableStore';
|
10 | import { TablePaginationConfig } from './Table';
|
11 | import ColumnGroup from './ColumnGroup';
|
12 | export declare function getEditorByField(field: Field, isQueryField?: boolean, isFlat?: boolean): ReactElement<FormFieldProps>;
|
13 | export declare function getPlaceholderByField(field?: Field): string | undefined;
|
14 | export declare function getEditorByColumnAndRecord(column: ColumnProps, record?: Record): ReactElement<FormFieldProps> | undefined;
|
15 | export declare function isInCellEditor(element?: ReactElement<FormFieldProps>): boolean;
|
16 | export declare function isStickySupport(): boolean;
|
17 | export declare function findCell(tableStore: TableStore, name?: Key, lock?: ColumnLock | boolean, record?: Record): HTMLSpanElement | undefined;
|
18 | export declare function isCanEdictingRow(element: any): boolean;
|
19 | export declare function findIndexedSibling(element: any, direction: any): HTMLTableRowElement | null;
|
20 | export declare function isDisabledRow(record: Record): boolean;
|
21 | export declare function isSelectedRow(record: Record): boolean;
|
22 | export declare function getHeader(column: ColumnProps, dataSet: DataSet, aggregation?: boolean): ReactNode;
|
23 | export declare function getColumnKey({ name, key }: ColumnProps): Key;
|
24 | export declare function getColumnLock(lock?: ColumnLock | boolean): ColumnLock | false;
|
25 | export declare function getPaginationPosition(pagination?: TablePaginationConfig): TablePaginationPosition;
|
26 | export declare function getHeight(el: HTMLElement): number;
|
27 | export declare function getTableHeaderRows(columns: ColumnGroup[], currentRow?: number, rows?: ColumnGroup[][]): ColumnGroup[][];
|
28 | export declare function isDropresult(dropResult: any): dropResult is DropResult;
|
29 | export declare function isDraggingStyle(style?: DraggingStyle | NotDraggingStyle): style is DraggingStyle;
|
30 | export declare function getMaxClientWidth(element: Element): number;
|
31 | export declare function onlyCustomizedColumn(tableStore: TableStore): boolean;
|