05f36eea6d171a8b9135c860d92b53f3b55fdfa78986c9e3660b2155d64b51a4e4e6b66cea3e2313da8ad30fd6f03619b40662e506b54ed996e14f2132beb2 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. declare const draggableComponent: import("vue").DefineComponent<{
  2. list: {
  3. type: ArrayConstructor;
  4. required: boolean;
  5. default: any;
  6. };
  7. modelValue: {
  8. type: ArrayConstructor;
  9. required: boolean;
  10. default: any;
  11. };
  12. itemKey: {
  13. type: (FunctionConstructor | StringConstructor)[];
  14. required: boolean;
  15. };
  16. clone: {
  17. type: FunctionConstructor;
  18. default: (original: any) => any;
  19. };
  20. tag: {
  21. type: StringConstructor;
  22. default: string;
  23. };
  24. move: {
  25. type: FunctionConstructor;
  26. default: any;
  27. };
  28. componentData: {
  29. type: ObjectConstructor;
  30. required: boolean;
  31. default: any;
  32. };
  33. }, unknown, {
  34. error: boolean;
  35. }, {
  36. realList(): any;
  37. getKey(): any;
  38. }, {
  39. getUnderlyingVm(domElement: any): any;
  40. getUnderlyingPotencialDraggableComponent(htmElement: any): any;
  41. emitChanges(evt: any): void;
  42. alterList(onList: any): void;
  43. spliceList(): void;
  44. updatePosition(oldIndex: any, newIndex: any): void;
  45. getRelatedContextFromMoveEvent({ to, related }: {
  46. to: any;
  47. related: any;
  48. }): any;
  49. getVmIndexFromDomIndex(domIndex: any): any;
  50. onDragStart(evt: any): void;
  51. onDragAdd(evt: any): void;
  52. onDragRemove(evt: any): void;
  53. onDragUpdate(evt: any): void;
  54. computeFutureIndex(relatedContext: any, evt: any): any;
  55. onDragMove(evt: any, originalEvent: any): any;
  56. onDragEnd(): void;
  57. }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
  58. move: Function;
  59. tag: string;
  60. clone: Function;
  61. list: unknown[];
  62. modelValue: unknown[];
  63. componentData: Record<string, any>;
  64. } & {
  65. itemKey?: string | Function;
  66. }>, {
  67. move: Function;
  68. tag: string;
  69. clone: Function;
  70. list: unknown[];
  71. modelValue: unknown[];
  72. componentData: Record<string, any>;
  73. }>;
  74. export default draggableComponent;