UNPKG

@fesjs/fes-design

Version:
53 lines (52 loc) 2.12 kB
import { type PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../_util/interface'; import type { BeforeDragEnd } from './useDraggable'; export declare const draggableProps: { readonly modelValue: { readonly type: ArrayConstructor; readonly default: readonly []; }; readonly droppable: BooleanConstructor; readonly disabled: BooleanConstructor; readonly beforeDragend: PropType<BeforeDragEnd>; readonly tag: { readonly type: StringConstructor; readonly default: "div"; }; }; export type DraggableProps = ExtractPublicPropTypes<typeof draggableProps>; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly modelValue: { readonly type: ArrayConstructor; readonly default: readonly []; }; readonly droppable: BooleanConstructor; readonly disabled: BooleanConstructor; readonly beforeDragend: PropType<BeforeDragEnd>; readonly tag: { readonly type: StringConstructor; readonly default: "div"; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "dragend" | "dragstart")[], "update:modelValue" | "dragend" | "dragstart", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly modelValue: { readonly type: ArrayConstructor; readonly default: readonly []; }; readonly droppable: BooleanConstructor; readonly disabled: BooleanConstructor; readonly beforeDragend: PropType<BeforeDragEnd>; readonly tag: { readonly type: StringConstructor; readonly default: "div"; }; }>> & Readonly<{ onDragend?: (...args: any[]) => any; onDragstart?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; }>, { readonly disabled: boolean; readonly modelValue: unknown[]; readonly tag: string; readonly droppable: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;