UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

39 lines (38 loc) 1.61 kB
import type { SetupContext } from 'vue'; import { TTransferProps, IItem, TKey } from '../transfer-types'; export declare const transferState: (props: TTransferProps, ctx: SetupContext) => { sourceTitle: import("vue").ComputedRef<string>; targetTitle: import("vue").ComputedRef<string>; sourceData: import("vue").Ref<{ value: string | number; name: string; disabled: boolean; }[], IItem[] | { value: string | number; name: string; disabled: boolean; }[]>; targetData: import("vue").Ref<{ value: string | number; name: string; disabled: boolean; }[], IItem[] | { value: string | number; name: string; disabled: boolean; }[]>; sourceDisabled: import("vue").ComputedRef<boolean>; targetDisabled: import("vue").ComputedRef<boolean>; sourceChecked: import("vue").Ref<TKey[], TKey[]>; targetChecked: import("vue").Ref<TKey[], TKey[]>; sourceDirection: import("vue").Ref<string, string>; targetDirection: import("vue").Ref<string, string>; updateSourceAllCheckedHandle: (value: TKey[]) => void; updateTargetAllCheckedHandle: (value: TKey[]) => void; updateSourceCheckedHandle: (value: TKey[]) => void; updateTargetCheckedHandle: (value: TKey[]) => void; toMoveTargetHandle: () => void; toMoveSourceHandle: () => void; updateSourceDataHandle: (startValue: TKey, endValue: TKey, position: number) => void; updateTargetDataHandle: (startValue: TKey, endValue: TKey, position: number) => void; };