import * as React from 'react'; import { TreeLabelValueItemInterface } from '../check-list'; import { RenderItemType } from '../sort-list'; import './style/transfer.css'; import { LabelValueItemInterface } from '../_utils/interfaces'; export declare enum TransferMode { plain = "plain", normal = "normal" } export interface TransferProps { /** 模式 */ mode?: TransferMode; /** 类型 */ type?: 'assist-bg' | 'menu-bg'; /** 大小 */ size?: 'compact'; /** 展示全选 */ allSelectLabel?: React.ReactNode; /** 搜索占位 */ placeholder?: string; /** 配置项 */ options?: TreeLabelValueItemInterface[]; /** 当前值 */ value?: string[]; /** 默认当前值 */ defaultValue?: string[]; /** 更改回调 */ onChange?: (selected: string[]) => void; /** 移除回调 */ onRemove?: (item: string[]) => void; /** 支持排序 */ sortable?: boolean; /** 支持移除 */ removable?: boolean; /** 支持排序的上下图标 */ visibleUpDown?: boolean; /** 宽度 */ width?: number; /** 高度 */ height?: number | string; /** label 关键字 */ labelKey?: string; /** value 关键字 */ valueKey?: string; /** 无内容占位 */ noContentText?: string; /** 无结果占位 */ noResultText?: string; /** 列表动态高度(同Table) */ checkListDynamicRowHeight?: boolean; /** sortlist 启用虚拟化 */ sortListVirtualized?: boolean; /** checklist 描述文字 */ checkListDescriptionText?: string; /** sortlist 描述文字 */ sortListDescriptionText?: string; /** 显示选中计数 */ showCount?: boolean; /** 清空 */ allowClear?: boolean; /** 清空文案 */ allowClearText?: string; /** 自定义渲染排序单元 */ renderSortItem?: RenderItemType; /** 过滤列表 */ filterList?: (options: LabelValueItemInterface, search: string) => LabelValueItemInterface[]; /** 过滤数列表 */ filterTreeList?: (options: TreeLabelValueItemInterface[], search: string) => TreeLabelValueItemInterface[]; /** 是否显示tip提示 */ showTip?: boolean; /** 父节点与子节点脱离关系 */ checkStrictly?: boolean; /** 不需要tree icon */ noTreeIcon?: boolean; } declare const Transfer: React.FC; export default Transfer;