@yiitap/vue 0.4.1 → 0.6.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 +109 -59
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +109 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56857 -33952
- package/dist/index.mjs.map +1 -1
- package/dist/vue.css +1 -1
- package/package.json +48 -49
- package/types/components/YiiEditor.vue.d.ts +24 -18
- 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/OBlockToolbar.vue.d.ts +44 -44
- package/types/components/common/OColorBoard.vue.d.ts +9 -0
- package/types/components/common/OFloatingToast.d.ts +13 -0
- package/types/components/common/ONodeView.vue.d.ts +44 -44
- 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/common/o-side-node/AddNode.vue.d.ts +22 -22
- package/types/components/common/o-side-node/AddNodeView.vue.d.ts +22 -22
- package/types/components/common/o-side-node/DragNode.vue.d.ts +22 -22
- package/types/components/common/o-side-node/DragNodeView.vue.d.ts +22 -22
- package/types/components/common/o-side-node/index.vue.d.ts +22 -22
- package/types/components/index.d.ts +1 -0
- package/types/components/menus/OSideMenu.vue.d.ts +9 -0
- package/types/components/ui/OInput.vue.d.ts +5 -5
- package/types/constants/empty-block.d.ts +13 -0
- package/types/extensions/ai-block/index.d.ts +1 -1
- package/types/extensions/ai-block/view.vue.d.ts +22 -22
- package/types/extensions/blockquote/index.d.ts +4 -1
- package/types/extensions/blockquote/view.vue.d.ts +22 -22
- package/types/extensions/callout/index.d.ts +1 -1
- package/types/extensions/callout/view.vue.d.ts +22 -22
- 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/code-block/index.d.ts +1 -1
- package/types/extensions/code-block/view.vue.d.ts +22 -22
- 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 +2 -1
- package/types/extensions/heading/index.d.ts +1 -1
- package/types/extensions/heading/view.vue.d.ts +22 -22
- package/types/extensions/horizontal-rule/index.d.ts +1 -1
- package/types/extensions/horizontal-rule/view.vue.d.ts +22 -22
- package/types/extensions/image/index.d.ts +1 -1
- package/types/extensions/image/view.vue.d.ts +22 -22
- package/types/extensions/index.d.ts +12 -14
- package/types/extensions/paragraph/index.d.ts +1 -1
- package/types/extensions/paragraph/view.vue.d.ts +22 -22
- package/types/extensions/table-cell/index.d.ts +2 -2
- package/types/extensions/table-cell/view.vue.d.ts +22 -22
- package/types/extensions/table-header/index.d.ts +2 -2
- package/types/extensions/table-header/view.vue.d.ts +22 -22
- package/types/extensions/table-wrapper/index.d.ts +1 -1
- package/types/extensions/table-wrapper/view.vue.d.ts +22 -22
- package/types/extensions/video/index.d.ts +1 -1
- package/types/extensions/video/view.vue.d.ts +22 -22
- 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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yiitap/vue",
|
|
3
3
|
"description": "A WYSIWYG rich-text block-based editor built on top of tiptap.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Yiitap",
|
|
@@ -27,57 +27,56 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@tiptap/
|
|
32
|
-
"@tiptap/extension-
|
|
33
|
-
"@tiptap/extension-
|
|
34
|
-
"@tiptap/extension-
|
|
35
|
-
"@tiptap/extension-
|
|
36
|
-
"@tiptap/extension-
|
|
37
|
-
"@tiptap/extension-
|
|
38
|
-
"@tiptap/extension-font-family": "^
|
|
39
|
-
"@tiptap/extension-heading": "^
|
|
40
|
-
"@tiptap/extension-highlight": "^
|
|
41
|
-
"@tiptap/extension-horizontal-rule": "^
|
|
42
|
-
"@tiptap/extension-image": "^
|
|
43
|
-
"@tiptap/extension-link": "^
|
|
44
|
-
"@tiptap/extension-
|
|
45
|
-
"@tiptap/extension-
|
|
46
|
-
"@tiptap/extension-
|
|
47
|
-
"@tiptap/extension-
|
|
48
|
-
"@tiptap/extension-
|
|
49
|
-
"@tiptap/extension-table
|
|
50
|
-
"@tiptap/extension-
|
|
51
|
-
"@tiptap/extension-
|
|
52
|
-
"@tiptap/extension-
|
|
53
|
-
"@tiptap/extension-
|
|
54
|
-
"@tiptap/extension-
|
|
55
|
-
"@tiptap/
|
|
56
|
-
"@tiptap/
|
|
57
|
-
"@tiptap/
|
|
58
|
-
"@tiptap/
|
|
59
|
-
"@tiptap/
|
|
60
|
-
"@tiptap/suggestion": "^2.11.5",
|
|
61
|
-
"@tiptap/vue-3": "^2.11.5",
|
|
30
|
+
"@floating-ui/dom": "^1.7.4",
|
|
31
|
+
"@tiptap/core": "^3.7.2",
|
|
32
|
+
"@tiptap/extension-blockquote": "^3.7.2",
|
|
33
|
+
"@tiptap/extension-bubble-menu": "^3.7.2",
|
|
34
|
+
"@tiptap/extension-code-block-lowlight": "^3.7.2",
|
|
35
|
+
"@tiptap/extension-details": "^3.7.2",
|
|
36
|
+
"@tiptap/extension-document": "^3.7.2",
|
|
37
|
+
"@tiptap/extension-emoji": "^3.7.2",
|
|
38
|
+
"@tiptap/extension-font-family": "^3.7.2",
|
|
39
|
+
"@tiptap/extension-heading": "^3.7.2",
|
|
40
|
+
"@tiptap/extension-highlight": "^3.7.2",
|
|
41
|
+
"@tiptap/extension-horizontal-rule": "^3.7.2",
|
|
42
|
+
"@tiptap/extension-image": "^3.7.2",
|
|
43
|
+
"@tiptap/extension-link": "^3.7.2",
|
|
44
|
+
"@tiptap/extension-list": "^3.7.2",
|
|
45
|
+
"@tiptap/extension-mention": "^3.7.2",
|
|
46
|
+
"@tiptap/extension-paragraph": "^3.7.2",
|
|
47
|
+
"@tiptap/extension-subscript": "^3.7.2",
|
|
48
|
+
"@tiptap/extension-superscript": "^3.7.2",
|
|
49
|
+
"@tiptap/extension-table": "^3.7.2",
|
|
50
|
+
"@tiptap/extension-text": "^3.7.2",
|
|
51
|
+
"@tiptap/extension-text-align": "^3.7.2",
|
|
52
|
+
"@tiptap/extension-text-style": "^3.7.2",
|
|
53
|
+
"@tiptap/extension-typography": "^3.7.2",
|
|
54
|
+
"@tiptap/extension-underline": "^3.7.2",
|
|
55
|
+
"@tiptap/extensions": "^3.7.2",
|
|
56
|
+
"@tiptap/pm": "^3.7.2",
|
|
57
|
+
"@tiptap/starter-kit": "^3.7.2",
|
|
58
|
+
"@tiptap/suggestion": "^3.7.2",
|
|
59
|
+
"@tiptap/vue-3": "^3.7.2",
|
|
62
60
|
"lowlight": "^3.3.0",
|
|
63
61
|
"tippy.js": "^6.3.7",
|
|
64
62
|
"uuid": "^10.0.0",
|
|
65
|
-
"@yiitap/core": "0.
|
|
66
|
-
"@yiitap/extension-ai-block": "0.
|
|
67
|
-
"@yiitap/extension-callout": "0.
|
|
68
|
-
"@yiitap/extension-char-command": "0.
|
|
69
|
-
"@yiitap/extension-color-highlighter": "0.
|
|
70
|
-
"@yiitap/extension-focus": "0.
|
|
71
|
-
"@yiitap/extension-image": "0.
|
|
72
|
-
"@yiitap/extension-placeholder": "0.
|
|
73
|
-
"@yiitap/extension-selection-decoration": "0.
|
|
74
|
-
"@yiitap/extension-
|
|
75
|
-
"@yiitap/extension-table
|
|
76
|
-
"@yiitap/extension-
|
|
77
|
-
"@yiitap/extension-
|
|
78
|
-
"@yiitap/extension-
|
|
79
|
-
"@yiitap/
|
|
80
|
-
"@yiitap/
|
|
63
|
+
"@yiitap/core": "0.6.0",
|
|
64
|
+
"@yiitap/extension-ai-block": "0.6.0",
|
|
65
|
+
"@yiitap/extension-callout": "0.6.0",
|
|
66
|
+
"@yiitap/extension-char-command": "0.6.0",
|
|
67
|
+
"@yiitap/extension-color-highlighter": "0.6.0",
|
|
68
|
+
"@yiitap/extension-focus": "0.6.0",
|
|
69
|
+
"@yiitap/extension-image": "0.6.0",
|
|
70
|
+
"@yiitap/extension-placeholder": "0.6.0",
|
|
71
|
+
"@yiitap/extension-selection-decoration": "0.6.0",
|
|
72
|
+
"@yiitap/extension-shortcut": "0.6.0",
|
|
73
|
+
"@yiitap/extension-table": "0.6.0",
|
|
74
|
+
"@yiitap/extension-table-wrapper": "0.6.0",
|
|
75
|
+
"@yiitap/extension-trailing-node": "0.6.0",
|
|
76
|
+
"@yiitap/extension-unique-id": "0.6.0",
|
|
77
|
+
"@yiitap/extension-video": "0.6.0",
|
|
78
|
+
"@yiitap/util-emoji": "0.6.0",
|
|
79
|
+
"@yiitap/vue": "0.6.0"
|
|
81
80
|
},
|
|
82
81
|
"peerDependencies": {
|
|
83
82
|
"@types/uuid": "^10.0.0",
|
|
@@ -6,6 +6,11 @@ import OBubbleMenu from './menus/OBubbleMenu.vue';
|
|
|
6
6
|
import OFloatingMenu from './menus/OFloatingMenu.vue';
|
|
7
7
|
import OSideMenu from './menus/OSideMenu.vue';
|
|
8
8
|
import type { Editor } from '@tiptap/core';
|
|
9
|
+
type SideMenuAddType = 'menu' | 'empty';
|
|
10
|
+
interface SideMenuConfig {
|
|
11
|
+
show: boolean;
|
|
12
|
+
add: SideMenuAddType;
|
|
13
|
+
}
|
|
9
14
|
declare const darkModeAlt: import("vue").Ref<boolean, boolean>;
|
|
10
15
|
declare const editor: import("vue").ShallowRef<import("@tiptap/vue-3").Editor, import("@tiptap/vue-3").Editor>;
|
|
11
16
|
declare const mainMenuOptions: import("vue").ComputedRef<{
|
|
@@ -22,6 +27,7 @@ declare const floatingMenuOptions: import("vue").ComputedRef<{
|
|
|
22
27
|
}>;
|
|
23
28
|
declare const sideMenuOptions: import("vue").ComputedRef<{
|
|
24
29
|
editor: import("@tiptap/vue-3").Editor;
|
|
30
|
+
add: SideMenuAddType;
|
|
25
31
|
menu: any[];
|
|
26
32
|
}>;
|
|
27
33
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
@@ -96,11 +102,11 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
96
102
|
default: boolean;
|
|
97
103
|
};
|
|
98
104
|
/**
|
|
99
|
-
*
|
|
105
|
+
* Side menu config
|
|
100
106
|
*/
|
|
101
|
-
|
|
102
|
-
type:
|
|
103
|
-
default:
|
|
107
|
+
sideMenu: {
|
|
108
|
+
type: PropType<SideMenuConfig>;
|
|
109
|
+
default: () => SideMenuConfig;
|
|
104
110
|
};
|
|
105
111
|
/**
|
|
106
112
|
* Show side node or not.
|
|
@@ -257,11 +263,11 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
257
263
|
default: boolean;
|
|
258
264
|
};
|
|
259
265
|
/**
|
|
260
|
-
*
|
|
266
|
+
* Side menu config
|
|
261
267
|
*/
|
|
262
|
-
|
|
263
|
-
type:
|
|
264
|
-
default:
|
|
268
|
+
sideMenu: {
|
|
269
|
+
type: PropType<SideMenuConfig>;
|
|
270
|
+
default: () => SideMenuConfig;
|
|
265
271
|
};
|
|
266
272
|
/**
|
|
267
273
|
* Show side node or not.
|
|
@@ -352,10 +358,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
352
358
|
editable: boolean;
|
|
353
359
|
bubbleMenu: string[];
|
|
354
360
|
floatingMenu: string[];
|
|
361
|
+
sideMenu: SideMenuConfig;
|
|
355
362
|
showMainMenu: boolean;
|
|
356
363
|
showBubbleMenu: boolean;
|
|
357
364
|
showFloatingMenu: boolean;
|
|
358
|
-
showSideMenu: boolean;
|
|
359
365
|
showSideNode: boolean;
|
|
360
366
|
mainMenu: string[];
|
|
361
367
|
tableMenu: string[];
|
|
@@ -426,11 +432,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
426
432
|
default: boolean;
|
|
427
433
|
};
|
|
428
434
|
/**
|
|
429
|
-
*
|
|
435
|
+
* Side menu config
|
|
430
436
|
*/
|
|
431
|
-
|
|
432
|
-
type:
|
|
433
|
-
default:
|
|
437
|
+
sideMenu: {
|
|
438
|
+
type: PropType<SideMenuConfig>;
|
|
439
|
+
default: () => SideMenuConfig;
|
|
434
440
|
};
|
|
435
441
|
/**
|
|
436
442
|
* Show side node or not.
|
|
@@ -588,11 +594,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
588
594
|
default: boolean;
|
|
589
595
|
};
|
|
590
596
|
/**
|
|
591
|
-
*
|
|
597
|
+
* Side menu config
|
|
592
598
|
*/
|
|
593
|
-
|
|
594
|
-
type:
|
|
595
|
-
default:
|
|
599
|
+
sideMenu: {
|
|
600
|
+
type: PropType<SideMenuConfig>;
|
|
601
|
+
default: () => SideMenuConfig;
|
|
596
602
|
};
|
|
597
603
|
/**
|
|
598
604
|
* Show side node or not.
|
|
@@ -683,10 +689,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
683
689
|
editable: boolean;
|
|
684
690
|
bubbleMenu: string[];
|
|
685
691
|
floatingMenu: string[];
|
|
692
|
+
sideMenu: SideMenuConfig;
|
|
686
693
|
showMainMenu: boolean;
|
|
687
694
|
showBubbleMenu: boolean;
|
|
688
695
|
showFloatingMenu: boolean;
|
|
689
|
-
showSideMenu: boolean;
|
|
690
696
|
showSideNode: boolean;
|
|
691
697
|
mainMenu: string[];
|
|
692
698
|
tableMenu: string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { Editor } from '@tiptap/core';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: PropType<Editor>;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
editor: {
|
|
9
|
+
type: PropType<Editor>;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -1,26 +1,59 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { NodeViewProps } from '@tiptap/core';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
colorful: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
showGroup: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
4
10
|
editor: {
|
|
5
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
6
12
|
required: true;
|
|
7
13
|
};
|
|
8
14
|
node: {
|
|
9
|
-
type: PropType<NodeViewProps["node"]>;
|
|
15
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
decorations: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
selected: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
extension: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
10
28
|
required: true;
|
|
11
29
|
};
|
|
12
30
|
getPos: {
|
|
13
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
31
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
14
32
|
required: true;
|
|
15
33
|
};
|
|
16
34
|
updateAttributes: {
|
|
17
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
35
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
18
36
|
required: true;
|
|
19
37
|
};
|
|
20
38
|
deleteNode: {
|
|
21
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
39
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
view: {
|
|
43
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
22
44
|
required: true;
|
|
23
45
|
};
|
|
46
|
+
innerDecorations: {
|
|
47
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
HTMLAttributes: {
|
|
51
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
+
action: (...args: any[]) => void;
|
|
56
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
57
|
colorful: {
|
|
25
58
|
type: BooleanConstructor;
|
|
26
59
|
default: boolean;
|
|
@@ -29,36 +62,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
62
|
type: BooleanConstructor;
|
|
30
63
|
default: boolean;
|
|
31
64
|
};
|
|
32
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
-
action: (...args: any[]) => void;
|
|
34
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
65
|
editor: {
|
|
36
|
-
type: PropType<NodeViewProps["editor"]>;
|
|
66
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
37
67
|
required: true;
|
|
38
68
|
};
|
|
39
69
|
node: {
|
|
40
|
-
type: PropType<NodeViewProps["node"]>;
|
|
70
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
decorations: {
|
|
74
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
selected: {
|
|
78
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
extension: {
|
|
82
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
41
83
|
required: true;
|
|
42
84
|
};
|
|
43
85
|
getPos: {
|
|
44
|
-
type: PropType<NodeViewProps["getPos"]>;
|
|
86
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
45
87
|
required: true;
|
|
46
88
|
};
|
|
47
89
|
updateAttributes: {
|
|
48
|
-
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
90
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
49
91
|
required: true;
|
|
50
92
|
};
|
|
51
93
|
deleteNode: {
|
|
52
|
-
type: PropType<NodeViewProps["deleteNode"]>;
|
|
94
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
53
95
|
required: true;
|
|
54
96
|
};
|
|
55
|
-
|
|
56
|
-
type:
|
|
57
|
-
|
|
97
|
+
view: {
|
|
98
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
99
|
+
required: true;
|
|
58
100
|
};
|
|
59
|
-
|
|
60
|
-
type:
|
|
61
|
-
|
|
101
|
+
innerDecorations: {
|
|
102
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
HTMLAttributes: {
|
|
106
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
107
|
+
required: true;
|
|
62
108
|
};
|
|
63
109
|
}>> & Readonly<{
|
|
64
110
|
onAction?: (...args: any[]) => any;
|
|
@@ -373,47 +373,47 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
373
373
|
default: string;
|
|
374
374
|
};
|
|
375
375
|
editor: {
|
|
376
|
-
type: import("vue").PropType<import("@tiptap/
|
|
376
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
377
377
|
required: true;
|
|
378
378
|
};
|
|
379
379
|
node: {
|
|
380
|
-
type: import("vue").PropType<import("@tiptap/
|
|
380
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
381
381
|
required: true;
|
|
382
382
|
};
|
|
383
383
|
decorations: {
|
|
384
|
-
type: import("vue").PropType<import("@tiptap/
|
|
384
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
385
385
|
required: true;
|
|
386
386
|
};
|
|
387
387
|
selected: {
|
|
388
|
-
type: import("vue").PropType<import("@tiptap/
|
|
388
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
389
389
|
required: true;
|
|
390
390
|
};
|
|
391
391
|
extension: {
|
|
392
|
-
type: import("vue").PropType<import("@tiptap/
|
|
392
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
393
393
|
required: true;
|
|
394
394
|
};
|
|
395
395
|
getPos: {
|
|
396
|
-
type: import("vue").PropType<import("@tiptap/
|
|
396
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
397
397
|
required: true;
|
|
398
398
|
};
|
|
399
399
|
updateAttributes: {
|
|
400
|
-
type: import("vue").PropType<import("@tiptap/
|
|
400
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
401
401
|
required: true;
|
|
402
402
|
};
|
|
403
403
|
deleteNode: {
|
|
404
|
-
type: import("vue").PropType<import("@tiptap/
|
|
404
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
405
405
|
required: true;
|
|
406
406
|
};
|
|
407
407
|
view: {
|
|
408
|
-
type: import("vue").PropType<import("@tiptap/
|
|
408
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
409
409
|
required: true;
|
|
410
410
|
};
|
|
411
411
|
innerDecorations: {
|
|
412
|
-
type: import("vue").PropType<import("@tiptap/
|
|
412
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
413
413
|
required: true;
|
|
414
414
|
};
|
|
415
415
|
HTMLAttributes: {
|
|
416
|
-
type: import("vue").PropType<import("@tiptap/
|
|
416
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
417
417
|
required: true;
|
|
418
418
|
};
|
|
419
419
|
}>, {
|
|
@@ -431,47 +431,47 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
431
431
|
default: string;
|
|
432
432
|
};
|
|
433
433
|
editor: {
|
|
434
|
-
type: import("vue").PropType<import("@tiptap/
|
|
434
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
435
435
|
required: true;
|
|
436
436
|
};
|
|
437
437
|
node: {
|
|
438
|
-
type: import("vue").PropType<import("@tiptap/
|
|
438
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
439
439
|
required: true;
|
|
440
440
|
};
|
|
441
441
|
decorations: {
|
|
442
|
-
type: import("vue").PropType<import("@tiptap/
|
|
442
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
443
443
|
required: true;
|
|
444
444
|
};
|
|
445
445
|
selected: {
|
|
446
|
-
type: import("vue").PropType<import("@tiptap/
|
|
446
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
447
447
|
required: true;
|
|
448
448
|
};
|
|
449
449
|
extension: {
|
|
450
|
-
type: import("vue").PropType<import("@tiptap/
|
|
450
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
451
451
|
required: true;
|
|
452
452
|
};
|
|
453
453
|
getPos: {
|
|
454
|
-
type: import("vue").PropType<import("@tiptap/
|
|
454
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
455
455
|
required: true;
|
|
456
456
|
};
|
|
457
457
|
updateAttributes: {
|
|
458
|
-
type: import("vue").PropType<import("@tiptap/
|
|
458
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
459
459
|
required: true;
|
|
460
460
|
};
|
|
461
461
|
deleteNode: {
|
|
462
|
-
type: import("vue").PropType<import("@tiptap/
|
|
462
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
463
463
|
required: true;
|
|
464
464
|
};
|
|
465
465
|
view: {
|
|
466
|
-
type: import("vue").PropType<import("@tiptap/
|
|
466
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
467
467
|
required: true;
|
|
468
468
|
};
|
|
469
469
|
innerDecorations: {
|
|
470
|
-
type: import("vue").PropType<import("@tiptap/
|
|
470
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
471
471
|
required: true;
|
|
472
472
|
};
|
|
473
473
|
HTMLAttributes: {
|
|
474
|
-
type: import("vue").PropType<import("@tiptap/
|
|
474
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
475
475
|
required: true;
|
|
476
476
|
};
|
|
477
477
|
}>> & Readonly<{
|
|
@@ -485,47 +485,47 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
485
485
|
default: string;
|
|
486
486
|
};
|
|
487
487
|
editor: {
|
|
488
|
-
type: import("vue").PropType<import("@tiptap/
|
|
488
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
489
489
|
required: true;
|
|
490
490
|
};
|
|
491
491
|
node: {
|
|
492
|
-
type: import("vue").PropType<import("@tiptap/
|
|
492
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
493
493
|
required: true;
|
|
494
494
|
};
|
|
495
495
|
decorations: {
|
|
496
|
-
type: import("vue").PropType<import("@tiptap/
|
|
496
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
497
497
|
required: true;
|
|
498
498
|
};
|
|
499
499
|
selected: {
|
|
500
|
-
type: import("vue").PropType<import("@tiptap/
|
|
500
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
501
501
|
required: true;
|
|
502
502
|
};
|
|
503
503
|
extension: {
|
|
504
|
-
type: import("vue").PropType<import("@tiptap/
|
|
504
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
505
505
|
required: true;
|
|
506
506
|
};
|
|
507
507
|
getPos: {
|
|
508
|
-
type: import("vue").PropType<import("@tiptap/
|
|
508
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
509
509
|
required: true;
|
|
510
510
|
};
|
|
511
511
|
updateAttributes: {
|
|
512
|
-
type: import("vue").PropType<import("@tiptap/
|
|
512
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
513
513
|
required: true;
|
|
514
514
|
};
|
|
515
515
|
deleteNode: {
|
|
516
|
-
type: import("vue").PropType<import("@tiptap/
|
|
516
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
517
517
|
required: true;
|
|
518
518
|
};
|
|
519
519
|
view: {
|
|
520
|
-
type: import("vue").PropType<import("@tiptap/
|
|
520
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
521
521
|
required: true;
|
|
522
522
|
};
|
|
523
523
|
innerDecorations: {
|
|
524
|
-
type: import("vue").PropType<import("@tiptap/
|
|
524
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
525
525
|
required: true;
|
|
526
526
|
};
|
|
527
527
|
HTMLAttributes: {
|
|
528
|
-
type: import("vue").PropType<import("@tiptap/
|
|
528
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
529
529
|
required: true;
|
|
530
530
|
};
|
|
531
531
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -536,47 +536,47 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
536
536
|
default: string;
|
|
537
537
|
};
|
|
538
538
|
editor: {
|
|
539
|
-
type: import("vue").PropType<import("@tiptap/
|
|
539
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
540
540
|
required: true;
|
|
541
541
|
};
|
|
542
542
|
node: {
|
|
543
|
-
type: import("vue").PropType<import("@tiptap/
|
|
543
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
544
544
|
required: true;
|
|
545
545
|
};
|
|
546
546
|
decorations: {
|
|
547
|
-
type: import("vue").PropType<import("@tiptap/
|
|
547
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
548
548
|
required: true;
|
|
549
549
|
};
|
|
550
550
|
selected: {
|
|
551
|
-
type: import("vue").PropType<import("@tiptap/
|
|
551
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
552
552
|
required: true;
|
|
553
553
|
};
|
|
554
554
|
extension: {
|
|
555
|
-
type: import("vue").PropType<import("@tiptap/
|
|
555
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
556
556
|
required: true;
|
|
557
557
|
};
|
|
558
558
|
getPos: {
|
|
559
|
-
type: import("vue").PropType<import("@tiptap/
|
|
559
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
560
560
|
required: true;
|
|
561
561
|
};
|
|
562
562
|
updateAttributes: {
|
|
563
|
-
type: import("vue").PropType<import("@tiptap/
|
|
563
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
564
564
|
required: true;
|
|
565
565
|
};
|
|
566
566
|
deleteNode: {
|
|
567
|
-
type: import("vue").PropType<import("@tiptap/
|
|
567
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
568
568
|
required: true;
|
|
569
569
|
};
|
|
570
570
|
view: {
|
|
571
|
-
type: import("vue").PropType<import("@tiptap/
|
|
571
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
572
572
|
required: true;
|
|
573
573
|
};
|
|
574
574
|
innerDecorations: {
|
|
575
|
-
type: import("vue").PropType<import("@tiptap/
|
|
575
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
576
576
|
required: true;
|
|
577
577
|
};
|
|
578
578
|
HTMLAttributes: {
|
|
579
|
-
type: import("vue").PropType<import("@tiptap/
|
|
579
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
580
580
|
required: true;
|
|
581
581
|
};
|
|
582
582
|
}>> & Readonly<{
|
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
+
defaultDisabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
activeColor: {
|
|
11
15
|
type: StringConstructor;
|
|
12
16
|
default: string;
|
|
@@ -22,6 +26,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: string;
|
|
24
28
|
};
|
|
29
|
+
defaultDisabled: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
25
33
|
activeColor: {
|
|
26
34
|
type: StringConstructor;
|
|
27
35
|
default: string;
|
|
@@ -32,5 +40,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
40
|
activeColor: string;
|
|
33
41
|
defaultLabel: string;
|
|
34
42
|
defaultColor: string;
|
|
43
|
+
defaultDisabled: boolean;
|
|
35
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
45
|
export default _default;
|