md-editor-v3 4.12.3 → 4.12.4
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/cjs/MdEditor.cjs +4 -4
- package/lib/es/MdEditor.mjs +4 -4
- package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +3 -2
- package/lib/types/DropdownToolbar/index.d.ts +17 -16
- package/lib/types/MdCatalog/CatalogLink.d.ts +5 -4
- package/lib/types/MdCatalog/MdCatalog.d.ts +3 -2
- package/lib/types/MdCatalog/index.d.ts +19 -18
- package/lib/types/MdEditor/Editor.d.ts +36 -36
- package/lib/types/MdEditor/components/Checkbox/index.d.ts +2 -1
- package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Dropdown/index.d.ts +2 -1
- package/lib/types/MdEditor/components/Icon/Icon.d.ts +2 -1
- package/lib/types/MdEditor/components/Icon/Str.d.ts +1 -0
- package/lib/types/MdEditor/components/Icon/index.d.ts +3 -2
- package/lib/types/MdEditor/components/Modal/Modal.d.ts +2 -1
- package/lib/types/MdEditor/components/Modal/index.d.ts +18 -17
- package/lib/types/MdEditor/components/Popper/index.d.ts +2 -1
- package/lib/types/MdEditor/composition.d.ts +4 -4
- package/lib/types/MdEditor/config.d.ts +1 -0
- package/lib/types/MdEditor/index.d.ts +24 -23
- package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +13 -12
- package/lib/types/MdEditor/layouts/Content/codemirror/autocompletion.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/codemirror/commands.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/codemirror/index.d.ts +3 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/themeLight.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/codemirror/themeOneDark.d.ts +2 -4
- package/lib/types/MdEditor/layouts/Content/composition/index.d.ts +7 -6
- package/lib/types/MdEditor/layouts/Content/composition/useAttach.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/composition/useAutoScroll.d.ts +3 -2
- package/lib/types/MdEditor/layouts/Content/composition/useCodeMirror.d.ts +4 -3
- package/lib/types/MdEditor/layouts/Content/composition/useCopyCode.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/composition/useHighlight.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Content/composition/useKatex.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Content/composition/useMarkdownIt.d.ts +3 -2
- package/lib/types/MdEditor/layouts/Content/composition/useMermaid.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/composition/usePasteUpload.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Content/composition/useResize.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/composition/userZoom.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/index.d.ts +13 -13
- package/lib/types/MdEditor/layouts/Content/markdownIt/codetabs/index.d.ts +2 -9
- package/lib/types/MdEditor/layouts/Content/markdownIt/heading/index.d.ts +3 -2
- package/lib/types/MdEditor/layouts/Content/markdownIt/katex/index.d.ts +1 -5
- package/lib/types/MdEditor/layouts/Content/markdownIt/mermaid/index.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Content/props.d.ts +4 -3
- package/lib/types/MdEditor/layouts/Content/type.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Footer/index.d.ts +3 -2
- package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Modals/Link.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Modals/index.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +2 -1
- package/lib/types/MdEditor/layouts/Toolbar/composition.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +9 -8
- package/lib/types/MdEditor/layouts/Toolbar/props.d.ts +4 -3
- package/lib/types/MdEditor/props.d.ts +3 -2
- package/lib/types/MdEditor/type.d.ts +7 -6
- package/lib/types/MdEditor/utils/content-help.d.ts +2 -1
- package/lib/types/MdEditor/utils/scroll-auto.d.ts +2 -1
- package/lib/types/MdEditor/utils/vue-tsx.d.ts +2 -1
- package/lib/types/MdPreview/MdPreview.d.ts +17 -17
- package/lib/types/MdPreview/composition/useExpose.d.ts +2 -1
- package/lib/types/MdPreview/index.d.ts +21 -20
- package/lib/types/ModalToolbar/ModalToolbar.d.ts +3 -2
- package/lib/types/ModalToolbar/index.d.ts +17 -16
- package/lib/types/NormalToolbar/NormalToolbar.d.ts +3 -2
- package/lib/types/NormalToolbar/index.d.ts +17 -16
- package/lib/types/config.d.ts +2 -2
- package/lib/umd/index.js +36 -36
- package/package.json +2 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
|
|
2
3
|
declare const _default: {
|
|
3
4
|
new (...args: any[]): {
|
|
4
|
-
$: import(
|
|
5
|
+
$: import('vue').ComponentInternalInstance;
|
|
5
6
|
$data: {};
|
|
6
7
|
$props: Partial<{
|
|
7
8
|
title: string;
|
|
8
|
-
}> & Omit<Readonly<import(
|
|
9
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
9
10
|
title: {
|
|
10
11
|
type: import("vue").PropType<string>;
|
|
11
12
|
default: string;
|
|
@@ -27,7 +28,7 @@ declare const _default: {
|
|
|
27
28
|
};
|
|
28
29
|
}>> & {
|
|
29
30
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
} & import(
|
|
31
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title">;
|
|
31
32
|
$attrs: {
|
|
32
33
|
[x: string]: unknown;
|
|
33
34
|
};
|
|
@@ -35,13 +36,13 @@ declare const _default: {
|
|
|
35
36
|
[x: string]: unknown;
|
|
36
37
|
};
|
|
37
38
|
$slots: Readonly<{
|
|
38
|
-
[name: string]: import(
|
|
39
|
+
[name: string]: import('vue').Slot | undefined;
|
|
39
40
|
}>;
|
|
40
|
-
$root: import(
|
|
41
|
-
$parent: import(
|
|
41
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
43
|
$emit: (event: "onClick", ...args: any[]) => void;
|
|
43
44
|
$el: any;
|
|
44
|
-
$options: import(
|
|
45
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
45
46
|
title: {
|
|
46
47
|
type: import("vue").PropType<string>;
|
|
47
48
|
default: string;
|
|
@@ -78,14 +79,14 @@ declare const _default: {
|
|
|
78
79
|
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
79
80
|
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
80
81
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
renderTracked?: (((e: import(
|
|
82
|
-
renderTriggered?: (((e: import(
|
|
83
|
-
errorCaptured?: (((err: unknown, instance: import(
|
|
82
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
83
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
84
|
+
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;
|
|
84
85
|
};
|
|
85
86
|
$forceUpdate: () => void;
|
|
86
|
-
$nextTick: typeof import(
|
|
87
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import(
|
|
88
|
-
} & Readonly<import(
|
|
87
|
+
$nextTick: typeof import('vue').nextTick;
|
|
88
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
89
|
+
} & Readonly<import('vue').ExtractPropTypes<{
|
|
89
90
|
title: {
|
|
90
91
|
type: import("vue").PropType<string>;
|
|
91
92
|
default: string;
|
|
@@ -107,11 +108,11 @@ declare const _default: {
|
|
|
107
108
|
};
|
|
108
109
|
}>> & {
|
|
109
110
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
} & import(
|
|
111
|
+
} & import('vue').ShallowUnwrapRef<() => JSX.Element> & {} & import('vue').ComponentCustomProperties & {};
|
|
111
112
|
__isFragment?: undefined;
|
|
112
113
|
__isTeleport?: undefined;
|
|
113
114
|
__isSuspense?: undefined;
|
|
114
|
-
} & import(
|
|
115
|
+
} & import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
115
116
|
title: {
|
|
116
117
|
type: import("vue").PropType<string>;
|
|
117
118
|
default: string;
|
|
@@ -135,7 +136,7 @@ declare const _default: {
|
|
|
135
136
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
136
137
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", {
|
|
137
138
|
title: string;
|
|
138
|
-
}, {}, string> & import(
|
|
139
|
+
}, {}, string> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
139
140
|
install: (app: App) => App;
|
|
140
141
|
};
|
|
141
142
|
export default _default;
|
package/lib/types/config.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { config, iconfontClassUrl, iconfontSvgUrl, allToolbar, allFooter } from './MdEditor/config';
|
|
2
|
-
export declare const zh_CN: import(
|
|
3
|
-
export declare const en_US: import(
|
|
2
|
+
export declare const zh_CN: import('.').StaticTextDefaultValue;
|
|
3
|
+
export declare const en_US: import('.').StaticTextDefaultValue;
|