import { IconType } from '../../utils/typescript'; import { Column, ScrollY, SearchConfig, TablePaginationConfig, TreeConfig } from '../tree_table/type'; export interface TreeTransferProps { modelValue?: TreeTransferData[]; rowKey?: string; data: TreeTransferData[]; defaultData?: string[] | number[]; titles?: [string, string]; useTree?: boolean; expandIcon?: IconType; expandIconColor?: string; collapseIcon?: IconType; collapseIconColor?: string; icon?: IconType; iconColor?: string; treeConfig?: TreeConfig; label?: string; scrollY?: ScrollY; showDrag?: boolean; showSearchInput?: boolean | 'left'; searchConfig?: SearchConfig; rightSearchConfig?: SearchConfig; showPage?: boolean | 'left' | 'right'; leftPaginationConfig?: TablePaginationConfig; rightPaginationConfig?: TablePaginationConfig; columns?: Column[]; tableHeight?: number; checkMethod?: (data: any) => boolean; checkAll?: boolean; adaptive?: boolean; } export interface TreeTransferData { [key: string]: any; } export type TreeTransferCacheData = { treeDataMap: Map; tableDataMap: Map; };