@yiitap/vue 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +188 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +188 -104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54829 -25494
- package/dist/index.mjs.map +1 -1
- package/dist/vue.css +1 -1
- package/package.json +48 -43
- package/types/components/YiiEditor.vue.d.ts +29 -23
- package/types/components/buttons/ODetailsBtn.vue.d.ts +12 -0
- package/types/components/buttons/OHighlightDropdown.vue.d.ts +10 -0
- package/types/components/common/OBlockMenu.vue.d.ts +67 -21
- package/types/components/common/OColorBoard.vue.d.ts +9 -0
- package/types/components/common/OCommandBtn.vue.d.ts +2 -2
- package/types/components/common/OCommonBtn.vue.d.ts +2 -2
- package/types/components/common/OMenubarBtn.vue.d.ts +2 -2
- package/types/components/common/OMetaInput.vue.d.ts +2 -2
- package/types/components/common/o-side-menu/AddNode.vue.d.ts +69 -13
- package/types/components/common/o-side-menu/AddNodeView.vue.d.ts +58 -12
- package/types/components/common/o-side-menu/DragNode.vue.d.ts +58 -14
- package/types/components/common/o-side-menu/DragNodeView.vue.d.ts +58 -12
- package/types/components/menus/OSideMenu.vue.d.ts +9 -0
- package/types/components/ui/OBtn.vue.d.ts +2 -2
- package/types/components/ui/OBtnGroup.vue.d.ts +2 -2
- package/types/components/ui/OIcon.vue.d.ts +1 -1
- package/types/components/ui/OInput.vue.d.ts +7 -7
- package/types/constants/empty-block.d.ts +13 -0
- package/types/extensions/blockquote/index.d.ts +4 -1
- package/types/extensions/char-command/colon/suggestion.d.ts +14 -0
- package/types/extensions/char-command/colon/view.vue.d.ts +72 -0
- package/types/extensions/char-command/emoji/suggestion.d.ts +7 -8
- package/types/extensions/char-command/emoji/view.vue.d.ts +12 -46
- package/types/extensions/char-command/slash/view.vue.d.ts +1 -1
- package/types/extensions/details/index.d.ts +6 -0
- package/types/extensions/details/view.vue.d.ts +92 -0
- package/types/extensions/dynamic.d.ts +1 -0
- package/types/extensions/index.d.ts +11 -8
- package/types/i18n/messages/en.d.ts +3 -0
- package/types/i18n/messages/zh-hans.d.ts +3 -0
- package/types/i18n/messages/zh-hant.d.ts +9 -0
- package/types/utils/convert.d.ts +13 -1
- /package/types/components/buttons/{OBackColorDropdown.vue.d.ts → OBackgroundColorDropdown.vue.d.ts} +0 -0
- /package/types/components/buttons/{OForeColorDropdown.vue.d.ts → OColorDropdown.vue.d.ts} +0 -0
|
@@ -1,47 +1,93 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { NodeViewProps } from '@tiptap/core';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
2
|
editor: {
|
|
5
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
6
4
|
required: true;
|
|
7
5
|
};
|
|
8
6
|
node: {
|
|
9
|
-
type: PropType<NodeViewProps["node"]>;
|
|
7
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
10
20
|
required: true;
|
|
11
21
|
};
|
|
12
22
|
getPos: {
|
|
13
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
14
24
|
required: true;
|
|
15
25
|
};
|
|
16
26
|
updateAttributes: {
|
|
17
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
18
28
|
required: true;
|
|
19
29
|
};
|
|
20
30
|
deleteNode: {
|
|
21
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
31
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
22
44
|
required: true;
|
|
23
45
|
};
|
|
24
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
47
|
action: (...args: any[]) => void;
|
|
26
48
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
49
|
editor: {
|
|
28
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
50
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
29
51
|
required: true;
|
|
30
52
|
};
|
|
31
53
|
node: {
|
|
32
|
-
type: PropType<NodeViewProps["node"]>;
|
|
54
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
decorations: {
|
|
58
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
selected: {
|
|
62
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
extension: {
|
|
66
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
33
67
|
required: true;
|
|
34
68
|
};
|
|
35
69
|
getPos: {
|
|
36
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
70
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
37
71
|
required: true;
|
|
38
72
|
};
|
|
39
73
|
updateAttributes: {
|
|
40
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
74
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
41
75
|
required: true;
|
|
42
76
|
};
|
|
43
77
|
deleteNode: {
|
|
44
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
78
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
45
91
|
required: true;
|
|
46
92
|
};
|
|
47
93
|
}>> & Readonly<{
|
|
@@ -1,54 +1,98 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { NodeViewProps } from '@tiptap/core';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
2
|
editor: {
|
|
5
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
6
4
|
required: true;
|
|
7
5
|
};
|
|
8
6
|
node: {
|
|
9
|
-
type: PropType<NodeViewProps["node"]>;
|
|
7
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
10
20
|
required: true;
|
|
11
21
|
};
|
|
12
22
|
getPos: {
|
|
13
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
14
24
|
required: true;
|
|
15
25
|
};
|
|
16
26
|
updateAttributes: {
|
|
17
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
18
28
|
required: true;
|
|
19
29
|
};
|
|
20
30
|
deleteNode: {
|
|
21
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
31
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
22
44
|
required: true;
|
|
23
45
|
};
|
|
24
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
47
|
dragend: (...args: any[]) => void;
|
|
26
48
|
dragstart: (...args: any[]) => void;
|
|
27
|
-
action: (...args: any[]) => void;
|
|
28
49
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
50
|
editor: {
|
|
30
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
51
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
31
52
|
required: true;
|
|
32
53
|
};
|
|
33
54
|
node: {
|
|
34
|
-
type: PropType<NodeViewProps["node"]>;
|
|
55
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
decorations: {
|
|
59
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
selected: {
|
|
63
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
extension: {
|
|
67
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
35
68
|
required: true;
|
|
36
69
|
};
|
|
37
70
|
getPos: {
|
|
38
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
71
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
39
72
|
required: true;
|
|
40
73
|
};
|
|
41
74
|
updateAttributes: {
|
|
42
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
75
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
43
76
|
required: true;
|
|
44
77
|
};
|
|
45
78
|
deleteNode: {
|
|
46
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
79
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
view: {
|
|
83
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
innerDecorations: {
|
|
87
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
HTMLAttributes: {
|
|
91
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
47
92
|
required: true;
|
|
48
93
|
};
|
|
49
94
|
}>> & Readonly<{
|
|
50
95
|
onDragend?: (...args: any[]) => any;
|
|
51
96
|
onDragstart?: (...args: any[]) => any;
|
|
52
|
-
onAction?: (...args: any[]) => any;
|
|
53
97
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
98
|
export default _default;
|
|
@@ -1,47 +1,93 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { NodeViewProps } from '@tiptap/core';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
2
|
editor: {
|
|
5
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
6
4
|
required: true;
|
|
7
5
|
};
|
|
8
6
|
node: {
|
|
9
|
-
type: PropType<NodeViewProps["node"]>;
|
|
7
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
10
20
|
required: true;
|
|
11
21
|
};
|
|
12
22
|
getPos: {
|
|
13
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
14
24
|
required: true;
|
|
15
25
|
};
|
|
16
26
|
updateAttributes: {
|
|
17
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
18
28
|
required: true;
|
|
19
29
|
};
|
|
20
30
|
deleteNode: {
|
|
21
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
31
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
22
44
|
required: true;
|
|
23
45
|
};
|
|
24
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
47
|
action: (...args: any[]) => void;
|
|
26
48
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
49
|
editor: {
|
|
28
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
50
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
29
51
|
required: true;
|
|
30
52
|
};
|
|
31
53
|
node: {
|
|
32
|
-
type: PropType<NodeViewProps["node"]>;
|
|
54
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
decorations: {
|
|
58
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
selected: {
|
|
62
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
extension: {
|
|
66
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
33
67
|
required: true;
|
|
34
68
|
};
|
|
35
69
|
getPos: {
|
|
36
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
70
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
37
71
|
required: true;
|
|
38
72
|
};
|
|
39
73
|
updateAttributes: {
|
|
40
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
74
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
41
75
|
required: true;
|
|
42
76
|
};
|
|
43
77
|
deleteNode: {
|
|
44
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
78
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
45
91
|
required: true;
|
|
46
92
|
};
|
|
47
93
|
}>> & Readonly<{
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
+
add: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
11
15
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
16
|
editor: {
|
|
13
17
|
type: typeof Editor;
|
|
@@ -17,7 +21,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
21
|
type: StringConstructor;
|
|
18
22
|
default: string;
|
|
19
23
|
};
|
|
24
|
+
add: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
20
28
|
}>> & Readonly<{}>, {
|
|
29
|
+
add: string;
|
|
21
30
|
menuClass: string;
|
|
22
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
32
|
export default _default;
|
|
@@ -55,9 +55,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
55
55
|
}>> & Readonly<{
|
|
56
56
|
onClick?: (...args: any[]) => any;
|
|
57
57
|
}>, {
|
|
58
|
+
icon: string;
|
|
58
59
|
type: string;
|
|
59
60
|
label: string;
|
|
60
|
-
icon: string;
|
|
61
61
|
iconClass: string | Record<string, any>;
|
|
62
62
|
loading: boolean;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -108,9 +108,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
108
108
|
}>> & Readonly<{
|
|
109
109
|
onClick?: (...args: any[]) => any;
|
|
110
110
|
}>, {
|
|
111
|
+
icon: string;
|
|
111
112
|
type: string;
|
|
112
113
|
label: string;
|
|
113
|
-
icon: string;
|
|
114
114
|
iconClass: string | Record<string, any>;
|
|
115
115
|
loading: boolean;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -42,9 +42,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
42
42
|
}>> & Readonly<{
|
|
43
43
|
onClick?: (...args: any[]) => any;
|
|
44
44
|
}>, {
|
|
45
|
+
icon: string;
|
|
45
46
|
type: string;
|
|
46
47
|
label: string;
|
|
47
|
-
icon: string;
|
|
48
48
|
iconClass: string | Record<string, any>;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
50
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -86,9 +86,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
86
86
|
}>> & Readonly<{
|
|
87
87
|
onClick?: (...args: any[]) => any;
|
|
88
88
|
}>, {
|
|
89
|
+
icon: string;
|
|
89
90
|
type: string;
|
|
90
91
|
label: string;
|
|
91
|
-
icon: string;
|
|
92
92
|
iconClass: string | Record<string, any>;
|
|
93
93
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
94
94
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -43,8 +43,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
}>> & Readonly<{}>, {
|
|
46
|
-
name: string;
|
|
47
46
|
small: boolean;
|
|
47
|
+
name: string;
|
|
48
48
|
color: string;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
50
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import OIcon from './OIcon.vue';
|
|
2
|
-
declare const emit: (event: "
|
|
2
|
+
declare const emit: (event: "blur" | "focus" | "update:modelValue", ...args: any[]) => void;
|
|
3
3
|
declare const input: import("vue").Ref<HTMLInputElement, HTMLInputElement>;
|
|
4
4
|
declare const value: import("vue").WritableComputedRef<string, string>;
|
|
5
5
|
declare function focus(): void;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
35
35
|
value: typeof value;
|
|
36
36
|
clear: typeof clear;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
-
focus: (...args: any[]) => void;
|
|
39
38
|
blur: (...args: any[]) => void;
|
|
39
|
+
focus: (...args: any[]) => void;
|
|
40
40
|
"update:modelValue": (...args: any[]) => void;
|
|
41
41
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
modelValue: {
|
|
@@ -56,12 +56,12 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
}>> & Readonly<{
|
|
59
|
-
onFocus?: (...args: any[]) => any;
|
|
60
59
|
onBlur?: (...args: any[]) => any;
|
|
60
|
+
onFocus?: (...args: any[]) => any;
|
|
61
61
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
62
62
|
}>, {
|
|
63
|
-
type: string;
|
|
64
63
|
placeholder: string;
|
|
64
|
+
type: string;
|
|
65
65
|
modelValue: string;
|
|
66
66
|
clearable: boolean;
|
|
67
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -86,8 +86,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
86
86
|
clear: typeof clear;
|
|
87
87
|
focus: typeof focus;
|
|
88
88
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
-
focus: (...args: any[]) => void;
|
|
90
89
|
blur: (...args: any[]) => void;
|
|
90
|
+
focus: (...args: any[]) => void;
|
|
91
91
|
"update:modelValue": (...args: any[]) => void;
|
|
92
92
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
93
|
modelValue: {
|
|
@@ -107,12 +107,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
109
|
}>> & Readonly<{
|
|
110
|
-
onFocus?: (...args: any[]) => any;
|
|
111
110
|
onBlur?: (...args: any[]) => any;
|
|
111
|
+
onFocus?: (...args: any[]) => any;
|
|
112
112
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
113
113
|
}>, {
|
|
114
|
-
type: string;
|
|
115
114
|
placeholder: string;
|
|
115
|
+
type: string;
|
|
116
116
|
modelValue: string;
|
|
117
117
|
clearable: boolean;
|
|
118
118
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -19,3 +19,16 @@ export declare const EmptyTaskItem: {
|
|
|
19
19
|
content: any[];
|
|
20
20
|
}[];
|
|
21
21
|
}[];
|
|
22
|
+
export declare const EmptyDetails: {
|
|
23
|
+
type: string;
|
|
24
|
+
attrs: {
|
|
25
|
+
open: boolean;
|
|
26
|
+
};
|
|
27
|
+
content: {
|
|
28
|
+
type: string;
|
|
29
|
+
content: {
|
|
30
|
+
type: string;
|
|
31
|
+
content: any[];
|
|
32
|
+
}[];
|
|
33
|
+
}[];
|
|
34
|
+
}[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import type { BlockquoteOptions } from '@tiptap/extension-blockquote';
|
|
2
|
-
|
|
2
|
+
interface OBlockquoteOptions extends BlockquoteOptions {
|
|
3
|
+
triggerCharacters: string[];
|
|
4
|
+
}
|
|
5
|
+
declare const OBlockquote: import("@tiptap/core").Node<OBlockquoteOptions, any>;
|
|
3
6
|
export default OBlockquote;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type SuggestionProps, type SuggestionKeyDownProps } from '@tiptap/suggestion';
|
|
2
|
+
import { type MentionNodeAttrs } from '@tiptap/extension-mention';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
items: ({ query }: {
|
|
5
|
+
query: string;
|
|
6
|
+
}) => never[];
|
|
7
|
+
render: () => {
|
|
8
|
+
onStart: (props: SuggestionProps<any, MentionNodeAttrs>) => void;
|
|
9
|
+
onUpdate(props: SuggestionProps): void;
|
|
10
|
+
onKeyDown(props: SuggestionKeyDownProps): any;
|
|
11
|
+
onExit(): void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
items: {
|
|
4
|
+
type: () => Indexable[];
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
command: {
|
|
8
|
+
type: FunctionConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
editor: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
};
|
|
14
|
+
range: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
locale: {
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
tr: (key: string) => any;
|
|
22
|
+
run: (editor: Editor, command: string, options?: Indexable) => void;
|
|
23
|
+
}, {
|
|
24
|
+
view: string;
|
|
25
|
+
}, {}, {
|
|
26
|
+
onSelect(options: Indexable): void;
|
|
27
|
+
onKeyDown({ event }: {
|
|
28
|
+
event: any;
|
|
29
|
+
}): false;
|
|
30
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
items: {
|
|
32
|
+
type: () => Indexable[];
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
command: {
|
|
36
|
+
type: FunctionConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
editor: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
};
|
|
42
|
+
range: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
46
|
+
OEmojiSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
47
|
+
items: {
|
|
48
|
+
type: () => Indexable[];
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
enableSearch: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
56
|
+
select: (...args: any[]) => void;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
items: {
|
|
59
|
+
type: () => Indexable[];
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
enableSearch: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
onSelect?: (...args: any[]) => any;
|
|
68
|
+
}>, {
|
|
69
|
+
enableSearch: boolean;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
export default _default;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { type SuggestionProps, type SuggestionKeyDownProps } from '@tiptap/suggestion';
|
|
2
|
-
import { type MentionNodeAttrs } from '@tiptap/extension-mention';
|
|
3
1
|
declare const _default: {
|
|
4
|
-
items: ({ query }: {
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
items: ({ editor, query }: {
|
|
3
|
+
editor: any;
|
|
4
|
+
query: any;
|
|
5
|
+
}) => any;
|
|
7
6
|
render: () => {
|
|
8
|
-
onStart: (props:
|
|
9
|
-
onUpdate(props:
|
|
10
|
-
onKeyDown(props:
|
|
7
|
+
onStart: (props: any) => void;
|
|
8
|
+
onUpdate(props: any): void;
|
|
9
|
+
onKeyDown(props: any): any;
|
|
11
10
|
onExit(): void;
|
|
12
11
|
};
|
|
13
12
|
};
|