import React from 'react'; import { OptionsControlProps, ActionObject } from 'fabos-amis-core'; import { SpinnerExtraProps } from 'fabos-amis-ui'; import { FormOptionsSchema, SchemaApi, SchemaObject, SchemaExpression, SchemaClassName } from '../../Schema'; import type { ItemRenderStates } from 'fabos-amis-ui/lib/components/Selection'; import type { Option } from 'fabos-amis-core'; import type { PaginationSchema } from '../Pagination'; /** * Transfer * 文档:https://aisuda.bce.baidu.com/amis/zh-CN/components/form/transfer */ export interface TransferControlSchema extends FormOptionsSchema, SpinnerExtraProps { type: 'transfer'; /** * 是否显示剪头 */ showArrow?: boolean; /** * 可排序? */ sortable?: boolean; /** * 勾选展示模式 */ selectMode?: 'table' | 'list' | 'tree' | 'chained' | 'associated'; /** * 结果面板是否追踪显示 */ resultListModeFollowSelect?: boolean; /** * 当 selectMode 为 associated 时用来定义左侧的选项 */ leftOptions?: Array