@toantranmei/editor 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +363 -2
- package/dist/css-CaicG2fA.js +580 -0
- package/dist/css-CaicG2fA.js.map +1 -0
- package/dist/index.js +6481 -0
- package/dist/index.js.map +1 -0
- package/dist/nuxt.js +78 -0
- package/dist/nuxt.js.map +1 -0
- package/dist/style.css +2 -0
- package/dist/types/block-items.d.ts +38 -0
- package/dist/types/block-names.d.ts +5 -0
- package/dist/types/block-ops.d.ts +66 -0
- package/dist/types/blocks/advanced.d.ts +7 -0
- package/dist/types/blocks/basic.d.ts +10 -0
- package/dist/types/blocks/extras.d.ts +23 -0
- package/dist/types/blocks/index.d.ts +13 -0
- package/dist/types/blocks/media.d.ts +3 -0
- package/dist/types/colors.d.ts +3 -0
- package/dist/types/components/BlockMenu.vue.d.ts +16 -0
- package/dist/types/components/ColorList.vue.d.ts +37 -0
- package/dist/types/components/DatePicker.vue.d.ts +22 -0
- package/dist/types/components/EmojiMenu.vue.d.ts +13 -0
- package/dist/types/components/FormatMenu.vue.d.ts +7 -0
- package/dist/types/components/ImageCropper.vue.d.ts +25 -0
- package/dist/types/components/ImageLightbox.vue.d.ts +16 -0
- package/dist/types/components/MeiEditor.vue.d.ts +72 -0
- package/dist/types/components/MeiOutline.vue.d.ts +14 -0
- package/dist/types/components/MentionMenu.vue.d.ts +13 -0
- package/dist/types/components/MermaidDiagram.vue.d.ts +9 -0
- package/dist/types/components/SlashMenu.vue.d.ts +14 -0
- package/dist/types/components/TableControls.vue.d.ts +13 -0
- package/dist/types/composables/useClickOutside.d.ts +5 -0
- package/dist/types/composables/useEditable.d.ts +7 -0
- package/dist/types/composables/useScope.d.ts +9 -0
- package/dist/types/config.d.ts +30 -0
- package/dist/types/content.d.ts +27 -0
- package/dist/types/date-utils.d.ts +38 -0
- package/dist/types/define-block.d.ts +43 -0
- package/dist/types/emoji-data.d.ts +9 -0
- package/dist/types/extensions/block-drop.d.ts +28 -0
- package/dist/types/extensions/block-id.d.ts +21 -0
- package/dist/types/extensions/block-selection.d.ts +24 -0
- package/dist/types/extensions/callout.d.ts +12 -0
- package/dist/types/extensions/code-block.d.ts +20 -0
- package/dist/types/extensions/color-marks.d.ts +24 -0
- package/dist/types/extensions/columns.d.ts +10 -0
- package/dist/types/extensions/embed.d.ts +13 -0
- package/dist/types/extensions/emoji.d.ts +5 -0
- package/dist/types/extensions/file-block.d.ts +17 -0
- package/dist/types/extensions/html-block.d.ts +39 -0
- package/dist/types/extensions/image-block.d.ts +1 -0
- package/dist/types/extensions/index.d.ts +13 -0
- package/dist/types/extensions/math.d.ts +13 -0
- package/dist/types/extensions/mention.d.ts +43 -0
- package/dist/types/extensions/mermaid.d.ts +4 -0
- package/dist/types/extensions/slash-command.d.ts +4 -0
- package/dist/types/extensions/suggestion-renderer.d.ts +11 -0
- package/dist/types/extensions/table.d.ts +1 -0
- package/dist/types/extensions/toc.d.ts +10 -0
- package/dist/types/extensions/toggle.d.ts +6 -0
- package/dist/types/extensions/unknown.d.ts +3 -0
- package/dist/types/index.d.ts +34 -0
- package/dist/types/keys.d.ts +3 -0
- package/dist/types/lazy.d.ts +12 -0
- package/dist/types/locale.d.ts +226 -0
- package/dist/types/nodeviews/CalloutView.vue.d.ts +93 -0
- package/dist/types/nodeviews/CodeBlockView.vue.d.ts +93 -0
- package/dist/types/nodeviews/EmbedView.vue.d.ts +93 -0
- package/dist/types/nodeviews/FileView.vue.d.ts +93 -0
- package/dist/types/nodeviews/HtmlView.vue.d.ts +93 -0
- package/dist/types/nodeviews/ImageView.vue.d.ts +93 -0
- package/dist/types/nodeviews/MathView.vue.d.ts +93 -0
- package/dist/types/nodeviews/MentionView.vue.d.ts +93 -0
- package/dist/types/nodeviews/TocView.vue.d.ts +93 -0
- package/dist/types/nodeviews/renderer.d.ts +12 -0
- package/dist/types/nuxt.d.ts +36 -0
- package/dist/types/plugin-key.d.ts +7 -0
- package/dist/types/plugin.d.ts +20 -0
- package/dist/types/recent.d.ts +24 -0
- package/dist/types/slash-items.d.ts +24 -0
- package/dist/types/table-ops.d.ts +32 -0
- package/dist/types/theme/css.d.ts +20 -0
- package/dist/types/theme/define.d.ts +18 -0
- package/dist/types/theme/index.d.ts +7 -0
- package/dist/types/theme/read.d.ts +5 -0
- package/dist/types/theme/tokens.d.ts +515 -0
- package/package.json +119 -3
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
export type BlockGroup = 'basic' | 'media' | 'advanced' | 'layout';
|
|
2
|
+
export interface EditorMessages {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
headingPlaceholder: (level: number) => string;
|
|
5
|
+
togglePlaceholder: string;
|
|
6
|
+
groups: Record<BlockGroup, string>;
|
|
7
|
+
blocks: Record<string, {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}>;
|
|
11
|
+
slash: {
|
|
12
|
+
empty: string;
|
|
13
|
+
results: string;
|
|
14
|
+
recent: string;
|
|
15
|
+
colors: string;
|
|
16
|
+
textColor: (color: string) => string;
|
|
17
|
+
bgColor: (color: string) => string;
|
|
18
|
+
};
|
|
19
|
+
/** Handle tooltips: `<verb> <text>`, e.g. "**Drag** to move". */
|
|
20
|
+
handle: {
|
|
21
|
+
add: string;
|
|
22
|
+
addAbove: string;
|
|
23
|
+
drag: string;
|
|
24
|
+
menu: string;
|
|
25
|
+
dragVerb: string;
|
|
26
|
+
clickVerb: string;
|
|
27
|
+
altClickVerb: string;
|
|
28
|
+
};
|
|
29
|
+
blockMenu: {
|
|
30
|
+
delete: string;
|
|
31
|
+
duplicate: string;
|
|
32
|
+
turnInto: string;
|
|
33
|
+
color: string;
|
|
34
|
+
textColor: string;
|
|
35
|
+
backgroundColor: string;
|
|
36
|
+
recent: string;
|
|
37
|
+
search: string;
|
|
38
|
+
noResults: string;
|
|
39
|
+
moveUp: string;
|
|
40
|
+
moveDown: string;
|
|
41
|
+
copyLink: string;
|
|
42
|
+
linkCopied: string;
|
|
43
|
+
actions: string;
|
|
44
|
+
selected: (count: number) => string;
|
|
45
|
+
};
|
|
46
|
+
colors: Record<string, string>;
|
|
47
|
+
format: {
|
|
48
|
+
bold: string;
|
|
49
|
+
italic: string;
|
|
50
|
+
underline: string;
|
|
51
|
+
strike: string;
|
|
52
|
+
code: string;
|
|
53
|
+
link: string;
|
|
54
|
+
color: string;
|
|
55
|
+
linkPlaceholder: string;
|
|
56
|
+
removeLink: string;
|
|
57
|
+
apply: string;
|
|
58
|
+
};
|
|
59
|
+
image: {
|
|
60
|
+
upload: string;
|
|
61
|
+
link: string;
|
|
62
|
+
choose: string;
|
|
63
|
+
dropHint: (maxMb: number) => string;
|
|
64
|
+
insert: string;
|
|
65
|
+
notImage: string;
|
|
66
|
+
tooLarge: (maxMb: number) => string;
|
|
67
|
+
invalidLink: string;
|
|
68
|
+
caption: string;
|
|
69
|
+
uploading: string;
|
|
70
|
+
uploadFailed: string;
|
|
71
|
+
align: string;
|
|
72
|
+
alignments: {
|
|
73
|
+
left: string;
|
|
74
|
+
center: string;
|
|
75
|
+
right: string;
|
|
76
|
+
};
|
|
77
|
+
captionToggle: string;
|
|
78
|
+
crop: string;
|
|
79
|
+
cropDone: string;
|
|
80
|
+
cropCancel: string;
|
|
81
|
+
cropReset: string;
|
|
82
|
+
zoom: string;
|
|
83
|
+
zoomIn: string;
|
|
84
|
+
zoomOut: string;
|
|
85
|
+
zoomReset: string;
|
|
86
|
+
download: string;
|
|
87
|
+
more: string;
|
|
88
|
+
replace: string;
|
|
89
|
+
copyLink: string;
|
|
90
|
+
linkCopied: string;
|
|
91
|
+
original: string;
|
|
92
|
+
delete: string;
|
|
93
|
+
close: string;
|
|
94
|
+
};
|
|
95
|
+
embed: {
|
|
96
|
+
hint: string;
|
|
97
|
+
placeholder: string;
|
|
98
|
+
submit: string;
|
|
99
|
+
invalid: string;
|
|
100
|
+
};
|
|
101
|
+
callout: {
|
|
102
|
+
change: string;
|
|
103
|
+
icon: string;
|
|
104
|
+
background: string;
|
|
105
|
+
};
|
|
106
|
+
code: {
|
|
107
|
+
copy: string;
|
|
108
|
+
copied: string;
|
|
109
|
+
};
|
|
110
|
+
unknownBlock: string;
|
|
111
|
+
invalidBlock: string;
|
|
112
|
+
contentError: string;
|
|
113
|
+
toc: {
|
|
114
|
+
empty: string;
|
|
115
|
+
untitled: string;
|
|
116
|
+
title: string;
|
|
117
|
+
};
|
|
118
|
+
table: {
|
|
119
|
+
rowMenu: string;
|
|
120
|
+
columnMenu: string;
|
|
121
|
+
headerRow: string;
|
|
122
|
+
headerColumn: string;
|
|
123
|
+
insertAbove: string;
|
|
124
|
+
insertBelow: string;
|
|
125
|
+
insertLeft: string;
|
|
126
|
+
insertRight: string;
|
|
127
|
+
duplicate: string;
|
|
128
|
+
moveUp: string;
|
|
129
|
+
moveDown: string;
|
|
130
|
+
moveLeft: string;
|
|
131
|
+
moveRight: string;
|
|
132
|
+
clear: string;
|
|
133
|
+
color: string;
|
|
134
|
+
deleteRow: string;
|
|
135
|
+
deleteColumn: string;
|
|
136
|
+
merge: string;
|
|
137
|
+
split: string;
|
|
138
|
+
addRow: string;
|
|
139
|
+
addColumn: string;
|
|
140
|
+
};
|
|
141
|
+
math: {
|
|
142
|
+
placeholder: string;
|
|
143
|
+
inputPlaceholder: string;
|
|
144
|
+
hintBlock: string;
|
|
145
|
+
hintInline: string;
|
|
146
|
+
missing: string;
|
|
147
|
+
};
|
|
148
|
+
mermaid: {
|
|
149
|
+
preview: string;
|
|
150
|
+
invalid: string;
|
|
151
|
+
missing: string;
|
|
152
|
+
};
|
|
153
|
+
html: {
|
|
154
|
+
title: string;
|
|
155
|
+
code: string;
|
|
156
|
+
preview: string;
|
|
157
|
+
upload: string;
|
|
158
|
+
uploadFile: string;
|
|
159
|
+
write: string;
|
|
160
|
+
expand: string;
|
|
161
|
+
close: string;
|
|
162
|
+
interact: string;
|
|
163
|
+
emptyHint: string;
|
|
164
|
+
placeholder: string;
|
|
165
|
+
wrongType: string;
|
|
166
|
+
tooLarge: (maxKb: number) => string;
|
|
167
|
+
};
|
|
168
|
+
file: {
|
|
169
|
+
upload: string;
|
|
170
|
+
link: string;
|
|
171
|
+
embed: string;
|
|
172
|
+
chooseFile: string;
|
|
173
|
+
chooseAudio: string;
|
|
174
|
+
chooseVideo: string;
|
|
175
|
+
dropHint: (maxMb: number) => string;
|
|
176
|
+
tooLarge: (maxMb: number) => string;
|
|
177
|
+
wrongType: string;
|
|
178
|
+
uploadFailed: string;
|
|
179
|
+
invalidLink: string;
|
|
180
|
+
uploading: string;
|
|
181
|
+
download: string;
|
|
182
|
+
};
|
|
183
|
+
datePicker: {
|
|
184
|
+
endDate: string;
|
|
185
|
+
dateFormat: string;
|
|
186
|
+
includeTime: string;
|
|
187
|
+
timeFormat: string;
|
|
188
|
+
hour12: string;
|
|
189
|
+
hour24: string;
|
|
190
|
+
remind: string;
|
|
191
|
+
clear: string;
|
|
192
|
+
learnReminders: string;
|
|
193
|
+
prevMonth: string;
|
|
194
|
+
nextMonth: string;
|
|
195
|
+
formats: Record<'full' | 'short' | 'mdy' | 'dmy' | 'ymd' | 'relative', string>;
|
|
196
|
+
reminders: Record<string, string>;
|
|
197
|
+
};
|
|
198
|
+
mention: {
|
|
199
|
+
today: string;
|
|
200
|
+
tomorrow: string;
|
|
201
|
+
yesterday: string;
|
|
202
|
+
people: string;
|
|
203
|
+
pages: string;
|
|
204
|
+
dates: string;
|
|
205
|
+
empty: string;
|
|
206
|
+
searchPlaceholder: string;
|
|
207
|
+
noSearch: string;
|
|
208
|
+
openPage: string;
|
|
209
|
+
prevMonth: string;
|
|
210
|
+
nextMonth: string;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
export declare const vi: EditorMessages;
|
|
214
|
+
export declare const en: EditorMessages;
|
|
215
|
+
export declare const locales: {
|
|
216
|
+
vi: EditorMessages;
|
|
217
|
+
en: EditorMessages;
|
|
218
|
+
};
|
|
219
|
+
export type LocaleName = keyof typeof locales;
|
|
220
|
+
type DeepPartial<T> = {
|
|
221
|
+
[K in keyof T]?: T[K] extends (...args: any[]) => any ? T[K] : T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
222
|
+
};
|
|
223
|
+
export type PartialMessages = DeepPartial<EditorMessages>;
|
|
224
|
+
/** Merges override layers (e.g. custom blocks' strings, then app overrides) into a base locale, one level deep per section. */
|
|
225
|
+
export declare function resolveMessages(locale?: LocaleName, ...layers: (PartialMessages | undefined)[]): EditorMessages;
|
|
226
|
+
export {};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
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"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
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"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
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"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
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"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
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"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
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"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
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"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
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"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
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"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
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"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
editor: {
|
|
48
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["editor"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
node: {
|
|
52
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["node"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
decorations: {
|
|
56
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["decorations"]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["selected"]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
extension: {
|
|
64
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["extension"]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
getPos: {
|
|
68
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["getPos"]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
updateAttributes: {
|
|
72
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["updateAttributes"]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["deleteNode"]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["view"]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["innerDecorations"]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import("vue").PropType<import("@tiptap/core").NodeViewProps["HTMLAttributes"]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|