@yiitap/vue 0.8.0 → 0.9.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 +193 -159
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +192 -158
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26006 -18479
- package/dist/index.mjs.map +1 -1
- package/dist/vue.css +1 -1
- package/package.json +20 -19
- package/types/components/YiiEditor.vue.d.ts +30 -0
- package/types/extensions/index.d.ts +2 -1
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.9.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Yiitap",
|
|
@@ -64,24 +64,25 @@
|
|
|
64
64
|
"mermaid": "^11.12.0",
|
|
65
65
|
"tippy.js": "^6.3.7",
|
|
66
66
|
"uuid": "^10.0.0",
|
|
67
|
-
"@yiitap/core": "0.
|
|
68
|
-
"@yiitap/extension-
|
|
69
|
-
"@yiitap/extension-callout": "0.
|
|
70
|
-
"@yiitap/extension-color-highlighter": "0.
|
|
71
|
-
"@yiitap/extension-
|
|
72
|
-
"@yiitap/extension-focus": "0.
|
|
73
|
-
"@yiitap/extension-
|
|
74
|
-
"@yiitap/extension-
|
|
75
|
-
"@yiitap/extension-placeholder": "0.
|
|
76
|
-
"@yiitap/extension-selection-decoration": "0.
|
|
77
|
-
"@yiitap/extension-
|
|
78
|
-
"@yiitap/extension-
|
|
79
|
-
"@yiitap/extension-table-wrapper": "0.
|
|
80
|
-
"@yiitap/extension-
|
|
81
|
-
"@yiitap/extension-
|
|
82
|
-
"@yiitap/extension-
|
|
83
|
-
"@yiitap/
|
|
84
|
-
"@yiitap/util-emoji": "0.
|
|
67
|
+
"@yiitap/core": "0.9.0",
|
|
68
|
+
"@yiitap/extension-ai-block": "0.9.0",
|
|
69
|
+
"@yiitap/extension-callout": "0.9.0",
|
|
70
|
+
"@yiitap/extension-color-highlighter": "0.9.0",
|
|
71
|
+
"@yiitap/extension-char-command": "0.9.0",
|
|
72
|
+
"@yiitap/extension-focus": "0.9.0",
|
|
73
|
+
"@yiitap/extension-inline-placeholder": "0.9.0",
|
|
74
|
+
"@yiitap/extension-image": "0.9.0",
|
|
75
|
+
"@yiitap/extension-placeholder": "0.9.0",
|
|
76
|
+
"@yiitap/extension-selection-decoration": "0.9.0",
|
|
77
|
+
"@yiitap/extension-shortcut": "0.9.0",
|
|
78
|
+
"@yiitap/extension-table": "0.9.0",
|
|
79
|
+
"@yiitap/extension-table-wrapper": "0.9.0",
|
|
80
|
+
"@yiitap/extension-task-item": "0.9.0",
|
|
81
|
+
"@yiitap/extension-trailing-node": "0.9.0",
|
|
82
|
+
"@yiitap/extension-unique-id": "0.9.0",
|
|
83
|
+
"@yiitap/extension-video": "0.9.0",
|
|
84
|
+
"@yiitap/util-emoji": "0.9.0",
|
|
85
|
+
"@yiitap/vue": "0.9.0"
|
|
85
86
|
},
|
|
86
87
|
"peerDependencies": {
|
|
87
88
|
"@tiptap/extension-emoji": "3.7.2",
|
|
@@ -177,6 +177,13 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
177
177
|
type: PropType<AiOption>;
|
|
178
178
|
default: () => void;
|
|
179
179
|
};
|
|
180
|
+
/**
|
|
181
|
+
* Enable collaboration or not.
|
|
182
|
+
*/
|
|
183
|
+
collaboration: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
180
187
|
}>, {
|
|
181
188
|
EditorContent: typeof EditorContent;
|
|
182
189
|
OMainMenu: typeof OMainMenu;
|
|
@@ -338,6 +345,13 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
338
345
|
type: PropType<AiOption>;
|
|
339
346
|
default: () => void;
|
|
340
347
|
};
|
|
348
|
+
/**
|
|
349
|
+
* Enable collaboration or not.
|
|
350
|
+
*/
|
|
351
|
+
collaboration: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
341
355
|
}>> & Readonly<{
|
|
342
356
|
onUpdate?: (payload: {
|
|
343
357
|
json: Object;
|
|
@@ -366,6 +380,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
366
380
|
mainMenu: string[];
|
|
367
381
|
tableMenu: string[];
|
|
368
382
|
pageView: string;
|
|
383
|
+
collaboration: boolean;
|
|
369
384
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
370
385
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
371
386
|
/**
|
|
@@ -507,6 +522,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
507
522
|
type: PropType<AiOption>;
|
|
508
523
|
default: () => void;
|
|
509
524
|
};
|
|
525
|
+
/**
|
|
526
|
+
* Enable collaboration or not.
|
|
527
|
+
*/
|
|
528
|
+
collaboration: {
|
|
529
|
+
type: BooleanConstructor;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
510
532
|
}>, {
|
|
511
533
|
/**
|
|
512
534
|
* Editor instance. More about <a href="https://tiptap.dev/docs/editor/api/editor" target="_blank">editor api</a>.
|
|
@@ -669,6 +691,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
669
691
|
type: PropType<AiOption>;
|
|
670
692
|
default: () => void;
|
|
671
693
|
};
|
|
694
|
+
/**
|
|
695
|
+
* Enable collaboration or not.
|
|
696
|
+
*/
|
|
697
|
+
collaboration: {
|
|
698
|
+
type: BooleanConstructor;
|
|
699
|
+
default: boolean;
|
|
700
|
+
};
|
|
672
701
|
}>> & Readonly<{
|
|
673
702
|
onUpdate?: (payload: {
|
|
674
703
|
json: Object;
|
|
@@ -697,6 +726,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
697
726
|
mainMenu: string[];
|
|
698
727
|
tableMenu: string[];
|
|
699
728
|
pageView: string;
|
|
729
|
+
collaboration: boolean;
|
|
700
730
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
701
731
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
702
732
|
export default _default;
|
|
@@ -22,6 +22,7 @@ import OPlaceholder from '@yiitap/extension-placeholder';
|
|
|
22
22
|
import OSelectionDecoration from '@yiitap/extension-selection-decoration';
|
|
23
23
|
import OShortcut from '@yiitap/extension-shortcut';
|
|
24
24
|
import OTable from '@yiitap/extension-table';
|
|
25
|
+
import OTaskItem from '@yiitap/extension-task-item';
|
|
25
26
|
import OTrailingNode from '@yiitap/extension-trailing-node';
|
|
26
27
|
import OUniqueID from '@yiitap/extension-unique-id';
|
|
27
28
|
import OCharCommand from '@yiitap/extension-char-command';
|
|
@@ -48,4 +49,4 @@ export declare const DefaultExtensionNames: string[];
|
|
|
48
49
|
export declare const TiptapExtensionNames: string[];
|
|
49
50
|
export declare const YiitapExtensionNames: string[];
|
|
50
51
|
export declare const BuiltinExtensionNames: string[];
|
|
51
|
-
export { BackgroundColor, BlockMath, Color, Details, DetailsContent, DetailsSummary, Emoji, Focus, FontFamily, Highlight, Image, InlineMath, Link, Markdown, Mention, Subscript, Superscript, Table, TableHeader, TableCell, TableRow, TaskItem, TaskList, TextAlign, TextStyle, Typography, Underline, OAiBlock, OBlockMath, OBlockquote, OCallout, OCharCommand, OCodeBlock, OColonCommand, OColorHighlighter, ODetails, OFocus, OInlinePlaceholder, OHeading, OHorizontalRule, OImage, OLink, OParagraph, OPlaceholder, OSelectionDecoration, OShortcut, OSlashCommand, OSlashZhCommand, OTable, OTableCell, OTableHeader, OTableWrapper, OTrailingNode, OUniqueID, OVideo, };
|
|
52
|
+
export { BackgroundColor, BlockMath, Color, Details, DetailsContent, DetailsSummary, Emoji, Focus, FontFamily, Highlight, Image, InlineMath, Link, Markdown, Mention, Subscript, Superscript, Table, TableHeader, TableCell, TableRow, TaskItem, TaskList, TextAlign, TextStyle, Typography, Underline, OAiBlock, OBlockMath, OBlockquote, OCallout, OCharCommand, OCodeBlock, OColonCommand, OColorHighlighter, ODetails, OFocus, OInlinePlaceholder, OHeading, OHorizontalRule, OImage, OLink, OParagraph, OPlaceholder, OSelectionDecoration, OShortcut, OSlashCommand, OSlashZhCommand, OTable, OTableCell, OTableHeader, OTableWrapper, OTaskItem, OTrailingNode, OUniqueID, OVideo, };
|