import type { ActiveRecord } from '@oinone/kunlun-engine'; import type { PropType } from 'vue'; export enum ChildrenViewType { LIST = 'LIST', TABLE = 'TABLE' } export type TransferOption = { name: string; value: string; label?: string; displayName?: string; model?: string }; export const DefaultTransferProps = { value: { type: Array as PropType }, defaultValue: { type: Array as PropType }, sortable: { type: Boolean, default: false }, enableSearch: { type: Boolean, default: false }, leftDisplayType: { type: String as PropType }, rightDisplayType: { type: String as PropType }, leftFieldDefinitions: { type: Array as PropType }, rightFieldDefinitions: { type: Array as PropType }, leftSearchFields: { type: Array as PropType }, rightSearchFields: { type: Array as PropType }, leftOptionLabel: { type: String }, rightOptionLabel: { type: String }, options: { type: Array as PropType }, leftFields: { type: String }, searchFields: { type: Array as PropType }, rightFields: { type: String }, change: { type: Function, required: true }, leftColumns: { type: Array as PropType[]> }, rightColumns: { type: Array as PropType[]> } };