md-editor-v3 4.12.1 → 4.12.2
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/lib/preview.css +1 -1
- package/lib/style.css +1 -1
- package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +1 -1
- package/lib/types/DropdownToolbar/index.d.ts +39 -61
- package/lib/types/MdCatalog/CatalogLink.d.ts +1 -1
- package/lib/types/MdCatalog/MdCatalog.d.ts +1 -1
- package/lib/types/MdCatalog/index.d.ts +47 -60
- package/lib/types/MdEditor/Editor.d.ts +1 -1
- package/lib/types/MdEditor/components/Checkbox/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Dropdown/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Icon/Icon.d.ts +1 -1
- package/lib/types/MdEditor/components/Icon/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Modal/Modal.d.ts +1 -1
- package/lib/types/MdEditor/components/Modal/index.d.ts +56 -60
- package/lib/types/MdEditor/components/Popper/index.d.ts +1 -1
- package/lib/types/MdEditor/index.d.ts +238 -104
- package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Footer/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Modals/Link.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Modals/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +1 -1
- package/lib/types/MdEditor/utils/vue-tsx.d.ts +1 -1
- package/lib/types/MdPreview/MdPreview.d.ts +1 -1
- package/lib/types/MdPreview/index.d.ts +119 -73
- package/lib/types/ModalToolbar/ModalToolbar.d.ts +1 -1
- package/lib/types/ModalToolbar/index.d.ts +64 -66
- package/lib/types/NormalToolbar/NormalToolbar.d.ts +1 -1
- package/lib/types/NormalToolbar/index.d.ts +30 -58
- package/lib/umd/index.js +114 -75625
- package/package.json +4 -4
|
@@ -3,62 +3,49 @@ declare const _default: {
|
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
|
-
$props: {
|
|
7
|
-
class
|
|
8
|
-
theme
|
|
9
|
-
mdHeadingId
|
|
10
|
-
scrollElementOffsetTop
|
|
11
|
-
offsetTop
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}>) => void)[] | undefined;
|
|
47
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}>) => void)[] | undefined;
|
|
52
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}>) => void)[] | undefined;
|
|
57
|
-
readonly scrollElement?: string | HTMLElement | undefined;
|
|
58
|
-
readonly onActive?: ((heading: import("..").HeadList | undefined) => void) | undefined;
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
class: string;
|
|
8
|
+
theme: import("..").Themes;
|
|
9
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
10
|
+
scrollElementOffsetTop: number;
|
|
11
|
+
offsetTop: number;
|
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
editorId: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
class: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
mdHeadingId: {
|
|
21
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
22
|
+
default: (text: string) => string;
|
|
23
|
+
};
|
|
24
|
+
scrollElement: {
|
|
25
|
+
type: import("vue").PropType<string | HTMLElement>;
|
|
26
|
+
};
|
|
27
|
+
theme: {
|
|
28
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
offsetTop: {
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
scrollElementOffsetTop: {
|
|
36
|
+
type: import("vue").PropType<number>;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
onClick: {
|
|
40
|
+
type: import("vue").PropType<(e: MouseEvent, t: import("./MdCatalog").TocItem) => void>;
|
|
41
|
+
};
|
|
42
|
+
onActive: {
|
|
43
|
+
type: import("vue").PropType<(heading: import("..").HeadList | undefined) => void>;
|
|
44
|
+
};
|
|
45
|
+
}>> & {
|
|
59
46
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
60
47
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
}
|
|
48
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "class" | "theme" | "mdHeadingId" | "scrollElementOffsetTop" | "offsetTop">;
|
|
62
49
|
$attrs: {
|
|
63
50
|
[x: string]: unknown;
|
|
64
51
|
};
|
|
@@ -66,10 +53,10 @@ declare const _default: {
|
|
|
66
53
|
[x: string]: unknown;
|
|
67
54
|
};
|
|
68
55
|
$slots: Readonly<{
|
|
69
|
-
[name: string]: import("vue").Slot
|
|
56
|
+
[name: string]: import("vue").Slot | undefined;
|
|
70
57
|
}>;
|
|
71
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
72
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
58
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
59
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
73
60
|
$emit: (event: "onClick" | "onActive", ...args: any[]) => void;
|
|
74
61
|
$el: any;
|
|
75
62
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -114,7 +101,7 @@ declare const _default: {
|
|
|
114
101
|
mdHeadingId: import("..").MdHeadingId;
|
|
115
102
|
scrollElementOffsetTop: number;
|
|
116
103
|
offsetTop: number;
|
|
117
|
-
}, {}, string
|
|
104
|
+
}, {}, string> & {
|
|
118
105
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
119
106
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
120
107
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -129,7 +116,7 @@ declare const _default: {
|
|
|
129
116
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
130
117
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
131
118
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
132
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
119
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
133
120
|
};
|
|
134
121
|
$forceUpdate: () => void;
|
|
135
122
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -216,7 +203,7 @@ declare const _default: {
|
|
|
216
203
|
mdHeadingId: import("..").MdHeadingId;
|
|
217
204
|
scrollElementOffsetTop: number;
|
|
218
205
|
offsetTop: number;
|
|
219
|
-
}, {}, string
|
|
206
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
220
207
|
install: (app: App) => App;
|
|
221
208
|
};
|
|
222
209
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -3,61 +3,57 @@ declare const _default: {
|
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
|
-
$props: {
|
|
7
|
-
title
|
|
8
|
-
style
|
|
9
|
-
visible
|
|
10
|
-
height
|
|
11
|
-
width
|
|
12
|
-
showAdjust
|
|
13
|
-
isFullscreen
|
|
14
|
-
onAdjust
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
}>) => void)[] | undefined;
|
|
58
|
-
readonly onClose?: (() => void) | undefined;
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
title: string;
|
|
8
|
+
style: import("vue").CSSProperties;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
height: string;
|
|
11
|
+
width: string;
|
|
12
|
+
showAdjust: boolean;
|
|
13
|
+
isFullscreen: boolean;
|
|
14
|
+
onAdjust: (val: boolean) => void;
|
|
15
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
title: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
visible: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
width: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
height: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
onClose: {
|
|
33
|
+
type: import("vue").PropType<() => void>;
|
|
34
|
+
};
|
|
35
|
+
showAdjust: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
isFullscreen: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
onAdjust: {
|
|
44
|
+
type: import("vue").PropType<(val: boolean) => void>;
|
|
45
|
+
default: () => void;
|
|
46
|
+
};
|
|
47
|
+
class: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
style: {
|
|
51
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
52
|
+
default: () => {};
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
59
55
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
60
|
-
}
|
|
56
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "style" | "visible" | "height" | "width" | "showAdjust" | "isFullscreen" | "onAdjust">;
|
|
61
57
|
$attrs: {
|
|
62
58
|
[x: string]: unknown;
|
|
63
59
|
};
|
|
@@ -65,10 +61,10 @@ declare const _default: {
|
|
|
65
61
|
[x: string]: unknown;
|
|
66
62
|
};
|
|
67
63
|
$slots: Readonly<{
|
|
68
|
-
[name: string]: import("vue").Slot
|
|
64
|
+
[name: string]: import("vue").Slot | undefined;
|
|
69
65
|
}>;
|
|
70
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
71
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
66
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
67
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
72
68
|
$emit: (event: "onClose", ...args: any[]) => void;
|
|
73
69
|
$el: any;
|
|
74
70
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -121,7 +117,7 @@ declare const _default: {
|
|
|
121
117
|
showAdjust: boolean;
|
|
122
118
|
isFullscreen: boolean;
|
|
123
119
|
onAdjust: (val: boolean) => void;
|
|
124
|
-
}, {}, string
|
|
120
|
+
}, {}, string> & {
|
|
125
121
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
126
122
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
127
123
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -136,7 +132,7 @@ declare const _default: {
|
|
|
136
132
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
137
133
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
138
134
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
139
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
135
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
140
136
|
};
|
|
141
137
|
$forceUpdate: () => void;
|
|
142
138
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -236,7 +232,7 @@ declare const _default: {
|
|
|
236
232
|
showAdjust: boolean;
|
|
237
233
|
isFullscreen: boolean;
|
|
238
234
|
onAdjust: (val: boolean) => void;
|
|
239
|
-
}, {}, string
|
|
235
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
240
236
|
install: (app: App) => App;
|
|
241
237
|
};
|
|
242
238
|
export default _default;
|