You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.0 KiB
75 lines
2.0 KiB
|
2 years ago
|
declare const draggableComponent: import("vue").DefineComponent<{
|
||
|
|
list: {
|
||
|
|
type: ArrayConstructor;
|
||
|
|
required: boolean;
|
||
|
|
default: any;
|
||
|
|
};
|
||
|
|
modelValue: {
|
||
|
|
type: ArrayConstructor;
|
||
|
|
required: boolean;
|
||
|
|
default: any;
|
||
|
|
};
|
||
|
|
itemKey: {
|
||
|
|
type: (FunctionConstructor | StringConstructor)[];
|
||
|
|
required: boolean;
|
||
|
|
};
|
||
|
|
clone: {
|
||
|
|
type: FunctionConstructor;
|
||
|
|
default: (original: any) => any;
|
||
|
|
};
|
||
|
|
tag: {
|
||
|
|
type: StringConstructor;
|
||
|
|
default: string;
|
||
|
|
};
|
||
|
|
move: {
|
||
|
|
type: FunctionConstructor;
|
||
|
|
default: any;
|
||
|
|
};
|
||
|
|
componentData: {
|
||
|
|
type: ObjectConstructor;
|
||
|
|
required: boolean;
|
||
|
|
default: any;
|
||
|
|
};
|
||
|
|
}, unknown, {
|
||
|
|
error: boolean;
|
||
|
|
}, {
|
||
|
|
realList(): any;
|
||
|
|
getKey(): any;
|
||
|
|
}, {
|
||
|
|
getUnderlyingVm(domElement: any): any;
|
||
|
|
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
||
|
|
emitChanges(evt: any): void;
|
||
|
|
alterList(onList: any): void;
|
||
|
|
spliceList(): void;
|
||
|
|
updatePosition(oldIndex: any, newIndex: any): void;
|
||
|
|
getRelatedContextFromMoveEvent({ to, related }: {
|
||
|
|
to: any;
|
||
|
|
related: any;
|
||
|
|
}): any;
|
||
|
|
getVmIndexFromDomIndex(domIndex: any): any;
|
||
|
|
onDragStart(evt: any): void;
|
||
|
|
onDragAdd(evt: any): void;
|
||
|
|
onDragRemove(evt: any): void;
|
||
|
|
onDragUpdate(evt: any): void;
|
||
|
|
computeFutureIndex(relatedContext: any, evt: any): any;
|
||
|
|
onDragMove(evt: any, originalEvent: any): any;
|
||
|
|
onDragEnd(): void;
|
||
|
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
||
|
|
move: Function;
|
||
|
|
tag: string;
|
||
|
|
clone: Function;
|
||
|
|
list: unknown[];
|
||
|
|
modelValue: unknown[];
|
||
|
|
componentData: Record<string, any>;
|
||
|
|
} & {
|
||
|
|
itemKey?: string | Function;
|
||
|
|
}>, {
|
||
|
|
move: Function;
|
||
|
|
tag: string;
|
||
|
|
clone: Function;
|
||
|
|
list: unknown[];
|
||
|
|
modelValue: unknown[];
|
||
|
|
componentData: Record<string, any>;
|
||
|
|
}>;
|
||
|
|
export default draggableComponent;
|