tea-material-pro-table
Version:
Tea ProTable
47 lines (46 loc) • 2.23 kB
TypeScript
/// <reference types="react" />
import { autotip, columnsDraggable, columnsResizable, draggable, expandable, filterable, groupable, injectable, mergeable, radioable, removeable, rowsDraggable, rowtooltip, scrollable, selectable, sortable } from 'tea-component/lib/table/addons';
import { TagSearchbox } from '../TagSearchbox';
/** 操作栏组件映射 */
export declare const OPERATIONS_MAPPING: {
button: import("react").FunctionComponent<import("tea-component").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> & {
defaultLabelAlign: string;
};
searchbox: import("react").FunctionComponent<import("tea-component").SearchBoxProps & import("react").RefAttributes<HTMLInputElement>> & {
defaultLabelAlign: string;
};
tagSearchbox: typeof TagSearchbox;
refresh: import("react").FunctionComponent<import("tea-component").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> & {
defaultLabelAlign: string;
};
setting: import("react").FunctionComponent<import("tea-component").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> & {
defaultLabelAlign: string;
};
download: import("react").FunctionComponent<import("tea-component").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> & {
defaultLabelAlign: string;
};
};
/** 规范中在左侧的操作项集合 */
export declare const OPERATIONS_LEFT_SET: Set<string>;
/** 规范中在右侧的操作项集合 */
export declare const OPERATIONS_RIGHT_SET: Set<string>;
/** 插件映射 */
export declare const ADDONS_MAPPING: {
autotip: typeof autotip;
sortable: typeof sortable;
singleFilterable: typeof filterable;
multipleFilterable: typeof filterable;
expandable: typeof expandable;
radioable: typeof radioable;
selectable: typeof selectable;
removeable: typeof removeable;
scrollable: typeof scrollable;
mergeable: typeof mergeable;
groupable: typeof groupable;
draggable: typeof draggable;
rowsDraggable: typeof rowsDraggable;
columnsDraggable: typeof columnsDraggable;
columnsResizable: typeof columnsResizable;
rowtooltip: typeof rowtooltip;
injectable: typeof injectable;
};