nicecode-v2/packages/biz/es/boxSelectTree/components/boxPanel/index.d.ts

28 lines
929 B
TypeScript

import { FC } from 'react';
import { TreeDataNode } from 'antd';
import { ModalFormProps } from '@ant-design/pro-components';
import type { TreeProps, InputProps } from 'antd';
import type { BoxTreeProps } from '../../../tree';
export interface BoxPanelProps {
searchInputProps?: InputProps;
showOptions?: boolean;
treeProps?: Partial<BoxTreeProps>;
data: TreeDataNode[];
boxDataSource: TreeDataNode[];
handleImport?: () => void;
onSearch?: (e: any) => void;
onItemCheck?: TreeProps['onCheck'];
onItemSelect?: TreeProps['onSelect'];
onBoxBatchDelete?: (data?: any) => void;
onBoxDelete?: (data?: any) => void;
onCreateSubmit?: ModalFormProps['onFinish'];
onClockClick?: () => void;
onImport?: () => void;
onBatch?: () => void;
onCreate?: () => void;
customImport?: any;
extraBtns?: any;
}
declare const BoxPanel: FC<BoxPanelProps>;
export default BoxPanel;