-
Notifications
You must be signed in to change notification settings - Fork 813
/
Copy pathshims-vue.d.ts
73 lines (62 loc) · 1.62 KB
/
shims-vue.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
declare module '*.vue' {
import { ComponentOptions } from 'vue'
export default Vue
}
declare module '*.json' {
const data: any
export default data
}
declare module 'vue2-transitions'
declare module '@iktakahiro/markdown-it-katex'
declare module 'markdown-it-toc-and-anchor'
declare module 'markdown-it-task-lists'
declare module 'markdown-it-abbr'
declare module 'markdown-it-footnote'
declare module 'markdown-it-mark'
declare module 'markdown-it-sub'
declare module 'markdown-it-sup'
declare module 'markdown-it-imsize'
declare module 'markdown-it-emoji'
declare module 'markdown-it-implicit-figures'
declare module 'markdown-it-image-lazy-loading'
declare module 'electron-google-analytics'
declare module 'macaddress'
declare module 'v-emoji-picker'
declare module 'vue-shortkey'
declare module 'easy-ftp'
declare module 'node-ssh'
declare module 'vuedraggable' {
export interface DraggedContext<T> {
index: number;
futureIndex: number;
element: T;
}
export interface DropContext<T> {
index: number;
component: Vue;
element: T;
}
export interface Rectangle {
top: number;
right: number;
bottom: number;
left: number;
width: number;
height: number;
}
export interface MoveEvent<T> {
originalEvent: DragEvent;
dragged: Element;
draggedContext: DraggedContext<T>;
draggedRect: Rectangle;
related: Element;
relatedContext: DropContext<T>;
relatedRect: Rectangle;
from: Element;
to: Element;
willInsertAfter: boolean;
isTrusted: boolean;
}
const draggableComponent: ComponentOptions<Vue>
export default draggableComponent
}