vue-editify 0.2.13 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- package/examples/App.vue +49 -67
- package/lib/components/button/button.vue.d.ts +62 -60
- package/lib/components/button/index.d.ts +4 -0
- package/lib/components/button/props.d.ts +12 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +9 -9
- package/lib/components/checkbox/index.d.ts +4 -0
- package/lib/components/checkbox/props.d.ts +2 -2
- package/lib/components/colors/colors.vue.d.ts +4 -4
- package/lib/components/colors/index.d.ts +4 -0
- package/lib/components/colors/props.d.ts +2 -2
- package/lib/components/icon/index.d.ts +4 -0
- package/lib/components/insertAttachment/index.d.ts +4 -0
- package/lib/{plugins/attachment → components}/insertAttachment/insertAttachment.vue.d.ts +3 -3
- package/lib/{plugins/attachment → components}/insertAttachment/props.d.ts +1 -1
- package/lib/components/insertImage/index.d.ts +4 -0
- package/lib/components/insertImage/insertImage.vue.d.ts +3 -3
- package/lib/components/insertImage/props.d.ts +1 -1
- package/lib/components/insertLink/index.d.ts +4 -0
- package/lib/components/insertLink/insertLink.vue.d.ts +6 -6
- package/lib/components/insertLink/props.d.ts +3 -3
- package/lib/components/insertMathformula/index.d.ts +4 -0
- package/lib/{plugins/mathformula → components}/insertMathformula/insertMathformula.vue.d.ts +3 -3
- package/lib/{plugins/mathformula → components}/insertMathformula/props.d.ts +2 -2
- package/lib/components/insertTable/index.d.ts +4 -0
- package/lib/components/insertTable/insertTable.vue.d.ts +3 -3
- package/lib/components/insertTable/props.d.ts +2 -2
- package/lib/components/insertVideo/index.d.ts +4 -0
- package/lib/components/insertVideo/insertVideo.vue.d.ts +3 -3
- package/lib/components/insertVideo/props.d.ts +1 -1
- package/lib/components/layer/index.d.ts +4 -0
- package/lib/components/layer/layer.vue.d.ts +10 -8
- package/lib/components/tooltip/index.d.ts +4 -0
- package/lib/components/tooltip/tooltip.vue.d.ts +6 -4
- package/lib/components/triangle/index.d.ts +4 -0
- package/lib/components/triangle/triangle.vue.d.ts +1 -1
- package/lib/components/updateLink/index.d.ts +4 -0
- package/lib/components/updateLink/props.d.ts +17 -0
- package/lib/components/updateLink/updateLink.vue.d.ts +38 -0
- package/lib/core/function.d.ts +113 -36
- package/lib/core/rule.d.ts +20 -0
- package/lib/core/tool.d.ts +36 -34
- package/lib/editify/editify.vue.d.ts +86 -53
- package/lib/editify/menu/index.d.ts +4 -0
- package/lib/{components → editify}/menu/menu.vue.d.ts +3 -4
- package/lib/{components → editify}/menu/props.d.ts +1 -1
- package/lib/editify/props.d.ts +3 -7
- package/lib/editify/toolbar/index.d.ts +4 -0
- package/lib/{components → editify}/toolbar/props.d.ts +2 -2
- package/lib/{components → editify}/toolbar/toolbar.vue.d.ts +53 -53
- package/lib/editify.es.js +8879 -7668
- package/lib/editify.umd.js +2 -2
- package/lib/feature/align.d.ts +32 -0
- package/lib/feature/attachment.d.ts +18 -0
- package/lib/feature/backColor.d.ts +32 -0
- package/lib/feature/bold.d.ts +32 -0
- package/lib/feature/code.d.ts +32 -0
- package/lib/feature/codeBlock.d.ts +32 -0
- package/lib/feature/fontFamily.d.ts +32 -0
- package/lib/feature/fontSize.d.ts +32 -0
- package/lib/feature/foreColor.d.ts +32 -0
- package/lib/feature/formatClear.d.ts +32 -0
- package/lib/feature/fullScreen.d.ts +18 -0
- package/lib/feature/heading.d.ts +32 -0
- package/lib/feature/image.d.ts +32 -0
- package/lib/feature/indent.d.ts +18 -0
- package/lib/feature/infoBlock.d.ts +18 -0
- package/lib/feature/italic.d.ts +32 -0
- package/lib/feature/lineHeight.d.ts +32 -0
- package/lib/feature/link.d.ts +26 -0
- package/lib/feature/mathformula.d.ts +22 -0
- package/lib/feature/orderList.d.ts +32 -0
- package/lib/feature/panel.d.ts +18 -0
- package/lib/feature/quote.d.ts +18 -0
- package/lib/feature/redo.d.ts +18 -0
- package/lib/feature/separator.d.ts +18 -0
- package/lib/feature/sourceView.d.ts +18 -0
- package/lib/feature/strikethrough.d.ts +32 -0
- package/lib/feature/sub.d.ts +32 -0
- package/lib/feature/super.d.ts +32 -0
- package/lib/feature/table.d.ts +32 -0
- package/lib/feature/task.d.ts +32 -0
- package/lib/feature/underline.d.ts +32 -0
- package/lib/feature/undo.d.ts +18 -0
- package/lib/feature/unorderList.d.ts +32 -0
- package/lib/feature/video.d.ts +38 -0
- package/lib/index.d.ts +104 -69
- package/package.json +5 -5
- package/src/components/button/button.vue +21 -24
- package/src/components/button/index.ts +5 -0
- package/src/components/button/props.ts +14 -1
- package/src/components/checkbox/checkbox.vue +1 -1
- package/src/components/checkbox/index.ts +5 -0
- package/src/components/checkbox/props.ts +1 -1
- package/src/components/colors/colors.vue +3 -3
- package/src/components/colors/index.ts +5 -0
- package/src/components/colors/props.ts +2 -2
- package/src/components/icon/index.ts +5 -0
- package/src/components/insertAttachment/index.ts +5 -0
- package/src/{plugins/attachment → components}/insertAttachment/insertAttachment.vue +4 -2
- package/src/{plugins/attachment → components}/insertAttachment/props.ts +1 -1
- package/src/components/insertImage/index.ts +5 -0
- package/src/components/insertImage/insertImage.vue +5 -5
- package/src/components/insertImage/props.ts +1 -1
- package/src/components/insertLink/index.ts +5 -0
- package/src/components/insertLink/insertLink.vue +10 -10
- package/src/components/insertLink/props.ts +3 -3
- package/src/components/insertMathformula/index.ts +5 -0
- package/src/{plugins/mathformula → components}/insertMathformula/props.ts +2 -2
- package/src/components/insertTable/index.ts +5 -0
- package/src/components/insertTable/props.ts +2 -2
- package/src/components/insertVideo/index.ts +5 -0
- package/src/components/insertVideo/insertVideo.vue +2 -2
- package/src/components/insertVideo/props.ts +1 -1
- package/src/components/layer/index.ts +5 -0
- package/src/components/layer/layer.vue +42 -4
- package/src/components/tooltip/index.ts +5 -0
- package/src/components/tooltip/tooltip.vue +1 -1
- package/src/components/triangle/index.ts +5 -0
- package/src/components/triangle/triangle.vue +1 -1
- package/src/components/updateLink/index.ts +5 -0
- package/src/components/updateLink/props.ts +21 -0
- package/src/components/{toolbar/toolbar.less → updateLink/updateLink.less} +4 -20
- package/src/components/updateLink/updateLink.vue +74 -0
- package/src/core/function.ts +289 -97
- package/src/core/rule.ts +96 -7
- package/src/core/tool.ts +234 -78
- package/src/editify/editify.less +2 -0
- package/src/editify/editify.vue +182 -185
- package/src/editify/menu/index.ts +5 -0
- package/src/editify/menu/menu.vue +215 -0
- package/src/{components → editify}/menu/props.ts +1 -1
- package/src/editify/props.ts +7 -11
- package/src/editify/toolbar/index.ts +5 -0
- package/src/{components → editify}/toolbar/props.ts +1 -1
- package/src/editify/toolbar/toolbar.less +10 -0
- package/src/editify/toolbar/toolbar.vue +103 -0
- package/src/feature/align.ts +128 -0
- package/src/feature/attachment.ts +109 -0
- package/src/feature/backColor.ts +171 -0
- package/src/feature/bold.ts +136 -0
- package/src/feature/code.ts +136 -0
- package/src/feature/codeBlock.ts +204 -0
- package/src/feature/fontFamily.ts +140 -0
- package/src/feature/fontSize.ts +142 -0
- package/src/feature/foreColor.ts +173 -0
- package/src/feature/formatClear.ts +118 -0
- package/src/feature/fullScreen.ts +57 -0
- package/src/feature/heading.ts +154 -0
- package/src/feature/image.ts +225 -0
- package/src/feature/indent.ts +73 -0
- package/src/feature/infoBlock.ts +94 -0
- package/src/feature/italic.ts +136 -0
- package/src/feature/lineHeight.ts +165 -0
- package/src/feature/link.ts +149 -0
- package/src/feature/mathformula.ts +147 -0
- package/src/feature/orderList.ts +116 -0
- package/src/feature/panel.ts +108 -0
- package/src/feature/quote.ts +61 -0
- package/src/feature/redo.ts +56 -0
- package/src/feature/separator.ts +62 -0
- package/src/feature/sourceView.ts +59 -0
- package/src/feature/strikethrough.ts +136 -0
- package/src/feature/sub.ts +136 -0
- package/src/feature/super.ts +136 -0
- package/src/feature/table.ts +994 -0
- package/src/feature/task.ts +116 -0
- package/src/feature/underline.ts +136 -0
- package/src/feature/undo.ts +56 -0
- package/src/feature/unorderList.ts +116 -0
- package/src/feature/video.ts +339 -0
- package/src/hljs/index.ts +1 -1
- package/src/index.ts +69 -21
- package/src/locale/en_US.ts +3 -3
- package/src/locale/zh_CN.ts +3 -3
- package/lib/plugins/attachment/index.d.ts +0 -37
- package/lib/plugins/infoBlock/index.d.ts +0 -55
- package/lib/plugins/mathformula/index.d.ts +0 -49
- package/lib/plugins/panel/index.d.ts +0 -48
- package/src/components/menu/menu.vue +0 -1655
- package/src/components/toolbar/toolbar.vue +0 -1677
- package/src/plugins/attachment/index.ts +0 -237
- package/src/plugins/infoBlock/index.ts +0 -238
- package/src/plugins/mathformula/index.ts +0 -295
- package/src/plugins/panel/index.ts +0 -228
- package/tsconfig.json +0 -31
- package/tsconfig.node.json +0 -11
- /package/src/{plugins/attachment → components}/insertAttachment/insertAttachment.less +0 -0
- /package/src/{plugins/mathformula → components}/insertMathformula/insertMathformula.less +0 -0
- /package/src/{plugins/mathformula → components}/insertMathformula/insertMathformula.vue +0 -0
- /package/src/{components → editify}/menu/menu.less +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
2
2
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
4
4
|
modelValue: {
|
@@ -14,16 +14,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
14
14
|
default: null;
|
15
15
|
};
|
16
16
|
type: {
|
17
|
-
type: import('vue').PropType<"
|
17
|
+
type: import('vue').PropType<"text" | "table" | "link" | "codeBlock" | "image" | "video">;
|
18
18
|
default: string;
|
19
19
|
validator(value: any): boolean;
|
20
20
|
};
|
21
21
|
config: {
|
22
|
-
type: import('vue').PropType<import('
|
22
|
+
type: import('vue').PropType<import('../..').ToolbarConfigType>;
|
23
23
|
default: null;
|
24
24
|
};
|
25
25
|
color: {
|
26
|
-
type:
|
26
|
+
type: StringConstructor;
|
27
27
|
default: string;
|
28
28
|
};
|
29
29
|
zIndex: {
|
@@ -31,41 +31,41 @@ declare const _default: import('vue').DefineComponent<{
|
|
31
31
|
default: number;
|
32
32
|
};
|
33
33
|
}, {
|
34
|
-
layerRef: Ref<({
|
34
|
+
layerRef: import('vue').Ref<({
|
35
35
|
$: import('vue').ComponentInternalInstance;
|
36
36
|
$data: {};
|
37
37
|
$props: Partial<{
|
38
|
-
placement: import('../layer/props').LayerPlacementType;
|
39
38
|
color: string;
|
40
|
-
background: string;
|
41
39
|
zIndex: number;
|
42
40
|
modelValue: boolean;
|
43
41
|
node: string | HTMLElement | null;
|
44
42
|
scrollNode: string | HTMLElement | null;
|
45
43
|
border: boolean;
|
46
44
|
borderColor: string;
|
45
|
+
background: string;
|
46
|
+
placement: import('../../components/layer').LayerPlacementType;
|
47
47
|
showTriangle: boolean;
|
48
|
-
animation: import('
|
48
|
+
animation: import('../../components/layer').LayerAnimationType;
|
49
49
|
useRange: boolean;
|
50
50
|
insideElements: HTMLElement[];
|
51
51
|
}> & Omit<{
|
52
|
-
readonly placement: import('../layer/props').LayerPlacementType;
|
53
52
|
readonly color: string;
|
54
|
-
readonly background: string;
|
55
53
|
readonly zIndex: number;
|
56
54
|
readonly modelValue: boolean;
|
57
55
|
readonly node: string | HTMLElement | null;
|
58
56
|
readonly scrollNode: string | HTMLElement | null;
|
59
57
|
readonly border: boolean;
|
60
58
|
readonly borderColor: string;
|
59
|
+
readonly background: string;
|
60
|
+
readonly placement: import('../../components/layer').LayerPlacementType;
|
61
61
|
readonly showTriangle: boolean;
|
62
|
-
readonly animation: import('
|
62
|
+
readonly animation: import('../../components/layer').LayerAnimationType;
|
63
63
|
readonly useRange: boolean;
|
64
64
|
readonly insideElements: HTMLElement[];
|
65
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
65
66
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
66
67
|
onShow?: ((...args: any[]) => any) | undefined;
|
67
68
|
onShown?: ((...args: any[]) => any) | undefined;
|
68
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
69
69
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
70
70
|
modelValue: {
|
71
71
|
type: BooleanConstructor;
|
@@ -96,7 +96,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
96
96
|
default: null;
|
97
97
|
};
|
98
98
|
placement: {
|
99
|
-
type: import('vue').PropType<import('
|
99
|
+
type: import('vue').PropType<import('../../components/layer').LayerPlacementType>;
|
100
100
|
default: string;
|
101
101
|
validator(value: any): boolean;
|
102
102
|
};
|
@@ -109,7 +109,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
109
109
|
default: number;
|
110
110
|
};
|
111
111
|
animation: {
|
112
|
-
type: import('vue').PropType<import('
|
112
|
+
type: import('vue').PropType<import('../../components/layer').LayerAnimationType>;
|
113
113
|
default: null;
|
114
114
|
validator(value: any): boolean;
|
115
115
|
};
|
@@ -122,11 +122,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
122
122
|
default: () => never[];
|
123
123
|
};
|
124
124
|
}>> & {
|
125
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
125
126
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
126
127
|
onShow?: ((...args: any[]) => any) | undefined;
|
127
128
|
onShown?: ((...args: any[]) => any) | undefined;
|
128
|
-
|
129
|
-
}, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
129
|
+
}, "color" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "background" | "placement" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
130
130
|
$attrs: {
|
131
131
|
[x: string]: unknown;
|
132
132
|
};
|
@@ -136,9 +136,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
136
136
|
$slots: Readonly<{
|
137
137
|
[name: string]: import('vue').Slot<any> | undefined;
|
138
138
|
}>;
|
139
|
-
$root:
|
140
|
-
$parent:
|
141
|
-
$emit: ((event: "
|
139
|
+
$root: ComponentPublicInstance | null;
|
140
|
+
$parent: ComponentPublicInstance | null;
|
141
|
+
$emit: ((event: "hidden", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "shown", ...args: any[]) => void);
|
142
142
|
$el: any;
|
143
143
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
144
144
|
modelValue: {
|
@@ -170,7 +170,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
170
170
|
default: null;
|
171
171
|
};
|
172
172
|
placement: {
|
173
|
-
type: import('vue').PropType<import('
|
173
|
+
type: import('vue').PropType<import('../../components/layer').LayerPlacementType>;
|
174
174
|
default: string;
|
175
175
|
validator(value: any): boolean;
|
176
176
|
};
|
@@ -183,7 +183,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
183
183
|
default: number;
|
184
184
|
};
|
185
185
|
animation: {
|
186
|
-
type: import('vue').PropType<import('
|
186
|
+
type: import('vue').PropType<import('../../components/layer').LayerAnimationType>;
|
187
187
|
default: null;
|
188
188
|
validator(value: any): boolean;
|
189
189
|
};
|
@@ -196,52 +196,52 @@ declare const _default: import('vue').DefineComponent<{
|
|
196
196
|
default: () => never[];
|
197
197
|
};
|
198
198
|
}>> & {
|
199
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
199
200
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
200
201
|
onShow?: ((...args: any[]) => any) | undefined;
|
201
202
|
onShown?: ((...args: any[]) => any) | undefined;
|
202
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
203
203
|
}, {
|
204
204
|
setPosition: () => void;
|
205
|
-
elRef: Ref<HTMLElement | null>;
|
205
|
+
elRef: import('vue').Ref<HTMLElement | null>;
|
206
206
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
207
|
+
hidden: (...args: any[]) => void;
|
207
208
|
"update:modelValue": (...args: any[]) => void;
|
208
209
|
show: (...args: any[]) => void;
|
209
210
|
shown: (...args: any[]) => void;
|
210
|
-
hidden: (...args: any[]) => void;
|
211
211
|
}, string, {
|
212
|
-
placement: import('../layer/props').LayerPlacementType;
|
213
212
|
color: string;
|
214
|
-
background: string;
|
215
213
|
zIndex: number;
|
216
214
|
modelValue: boolean;
|
217
215
|
node: string | HTMLElement | null;
|
218
216
|
scrollNode: string | HTMLElement | null;
|
219
217
|
border: boolean;
|
220
218
|
borderColor: string;
|
219
|
+
background: string;
|
220
|
+
placement: import('../../components/layer').LayerPlacementType;
|
221
221
|
showTriangle: boolean;
|
222
|
-
animation: import('
|
222
|
+
animation: import('../../components/layer').LayerAnimationType;
|
223
223
|
useRange: boolean;
|
224
224
|
insideElements: HTMLElement[];
|
225
225
|
}, {}, string, {}> & {
|
226
|
-
beforeCreate?: ((
|
227
|
-
created?: ((
|
228
|
-
beforeMount?: ((
|
229
|
-
mounted?: ((
|
230
|
-
beforeUpdate?: ((
|
231
|
-
updated?: ((
|
232
|
-
activated?: ((
|
233
|
-
deactivated?: ((
|
234
|
-
beforeDestroy?: ((
|
235
|
-
beforeUnmount?: ((
|
236
|
-
destroyed?: ((
|
237
|
-
unmounted?: ((
|
238
|
-
renderTracked?: ((
|
239
|
-
renderTriggered?: ((
|
240
|
-
errorCaptured?: ((
|
226
|
+
beforeCreate?: (() => void) | (() => void)[];
|
227
|
+
created?: (() => void) | (() => void)[];
|
228
|
+
beforeMount?: (() => void) | (() => void)[];
|
229
|
+
mounted?: (() => void) | (() => void)[];
|
230
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
231
|
+
updated?: (() => void) | (() => void)[];
|
232
|
+
activated?: (() => void) | (() => void)[];
|
233
|
+
deactivated?: (() => void) | (() => void)[];
|
234
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
235
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
236
|
+
destroyed?: (() => void) | (() => void)[];
|
237
|
+
unmounted?: (() => void) | (() => void)[];
|
238
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
239
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
240
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
241
241
|
};
|
242
242
|
$forceUpdate: () => void;
|
243
243
|
$nextTick: typeof import('vue').nextTick;
|
244
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (
|
244
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
245
245
|
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
246
246
|
modelValue: {
|
247
247
|
type: BooleanConstructor;
|
@@ -272,7 +272,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
272
272
|
default: null;
|
273
273
|
};
|
274
274
|
placement: {
|
275
|
-
type: import('vue').PropType<import('
|
275
|
+
type: import('vue').PropType<import('../../components/layer').LayerPlacementType>;
|
276
276
|
default: string;
|
277
277
|
validator(value: any): boolean;
|
278
278
|
};
|
@@ -285,7 +285,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
285
285
|
default: number;
|
286
286
|
};
|
287
287
|
animation: {
|
288
|
-
type: import('vue').PropType<import('
|
288
|
+
type: import('vue').PropType<import('../../components/layer').LayerAnimationType>;
|
289
289
|
default: null;
|
290
290
|
validator(value: any): boolean;
|
291
291
|
};
|
@@ -298,13 +298,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
298
298
|
default: () => never[];
|
299
299
|
};
|
300
300
|
}>> & {
|
301
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
301
302
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
302
303
|
onShow?: ((...args: any[]) => any) | undefined;
|
303
304
|
onShown?: ((...args: any[]) => any) | undefined;
|
304
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
305
305
|
}, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
|
306
306
|
setPosition: () => void;
|
307
|
-
elRef: Ref<HTMLElement | null>;
|
307
|
+
elRef: import('vue').Ref<HTMLElement | null>;
|
308
308
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
309
309
|
$slots: {
|
310
310
|
default?(_: {}): any;
|
@@ -326,16 +326,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
326
326
|
default: null;
|
327
327
|
};
|
328
328
|
type: {
|
329
|
-
type: import('vue').PropType<"
|
329
|
+
type: import('vue').PropType<"text" | "table" | "link" | "codeBlock" | "image" | "video">;
|
330
330
|
default: string;
|
331
331
|
validator(value: any): boolean;
|
332
332
|
};
|
333
333
|
config: {
|
334
|
-
type: import('vue').PropType<import('
|
334
|
+
type: import('vue').PropType<import('../..').ToolbarConfigType>;
|
335
335
|
default: null;
|
336
336
|
};
|
337
337
|
color: {
|
338
|
-
type:
|
338
|
+
type: StringConstructor;
|
339
339
|
default: string;
|
340
340
|
};
|
341
341
|
zIndex: {
|
@@ -345,12 +345,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
345
345
|
}>> & {
|
346
346
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
347
347
|
}, {
|
348
|
-
|
349
|
-
|
348
|
+
type: "text" | "link" | "table" | "video" | "image" | "codeBlock";
|
349
|
+
color: string;
|
350
350
|
zIndex: number;
|
351
351
|
modelValue: boolean;
|
352
352
|
node: string | HTMLElement;
|
353
353
|
scrollNode: string | HTMLElement;
|
354
|
-
config: import('
|
354
|
+
config: import('../..').ToolbarConfigType;
|
355
355
|
}, {}>;
|
356
356
|
export default _default;
|