md-editor-v3 4.16.7 → 4.16.8
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/README.md +13 -4
- package/lib/cjs/MdEditor.cjs +1 -0
- package/lib/cjs/ModalToolbar.cjs +12 -0
- package/lib/cjs/chunks/index3.cjs +22 -6
- package/lib/es/MdEditor.mjs +1 -0
- package/lib/es/ModalToolbar.mjs +12 -0
- package/lib/es/chunks/index3.mjs +22 -6
- package/lib/preview.css +5 -0
- package/lib/style.css +6 -3
- package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +7 -8
- package/lib/types/DropdownToolbar/index.d.ts +46 -47
- package/lib/types/MdCatalog/CatalogLink.d.ts +5 -6
- package/lib/types/MdCatalog/MdCatalog.d.ts +3 -4
- package/lib/types/MdCatalog/index.d.ts +44 -45
- package/lib/types/MdEditor/Editor.d.ts +125 -125
- package/lib/types/MdEditor/components/Checkbox/index.d.ts +2 -3
- package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Dropdown/index.d.ts +5 -6
- package/lib/types/MdEditor/components/Icon/Icon.d.ts +2 -3
- package/lib/types/MdEditor/components/Icon/Str.d.ts +0 -1
- package/lib/types/MdEditor/components/Icon/index.d.ts +4 -5
- package/lib/types/MdEditor/components/Modal/Modal.d.ts +14 -6
- package/lib/types/MdEditor/components/Modal/index.d.ts +68 -50
- package/lib/types/MdEditor/components/Popper/index.d.ts +2 -3
- package/lib/types/MdEditor/composition.d.ts +3 -4
- package/lib/types/MdEditor/config.d.ts +0 -1
- package/lib/types/MdEditor/index.d.ts +259 -260
- package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +37 -38
- package/lib/types/MdEditor/layouts/Content/codemirror/autocompletion.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/commands.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/codemirror/themeLight.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/themeOneDark.d.ts +4 -2
- package/lib/types/MdEditor/layouts/Content/composition/index.d.ts +6 -7
- package/lib/types/MdEditor/layouts/Content/composition/useAttach.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useAutoScroll.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useCodeMirror.d.ts +3 -4
- package/lib/types/MdEditor/layouts/Content/composition/useCopyCode.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useHighlight.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useKatex.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useMarkdownIt.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useMermaid.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/usePasteUpload.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useResize.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/userZoom.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/index.d.ts +76 -76
- package/lib/types/MdEditor/layouts/Content/markdownIt/admonition/index.d.ts +6 -2
- package/lib/types/MdEditor/layouts/Content/markdownIt/code/index.d.ts +10 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/heading/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/katex/index.d.ts +6 -2
- package/lib/types/MdEditor/layouts/Content/markdownIt/mermaid/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/xss/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/props.d.ts +3 -4
- package/lib/types/MdEditor/layouts/Content/type.d.ts +0 -1
- package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Footer/index.d.ts +5 -6
- package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Modals/Link.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Modals/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Toolbar/composition.d.ts +0 -1
- package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +25 -26
- package/lib/types/MdEditor/layouts/Toolbar/props.d.ts +3 -4
- package/lib/types/MdEditor/props.d.ts +4 -5
- package/lib/types/MdEditor/type.d.ts +7 -8
- package/lib/types/MdEditor/utils/content-help.d.ts +1 -2
- package/lib/types/MdEditor/utils/md-it.d.ts +1 -5
- package/lib/types/MdEditor/utils/scroll-auto.d.ts +1 -2
- package/lib/types/MdEditor/utils/vue-tsx.d.ts +0 -1
- package/lib/types/MdPreview/MdPreview.d.ts +56 -56
- package/lib/types/MdPreview/composition/useExpose.d.ts +1 -2
- package/lib/types/MdPreview/index.d.ts +118 -119
- package/lib/types/ModalToolbar/ModalToolbar.d.ts +23 -6
- package/lib/types/ModalToolbar/index.d.ts +102 -67
- package/lib/types/NormalToolbar/NormalToolbar.d.ts +5 -6
- package/lib/types/NormalToolbar/index.d.ts +30 -31
- package/lib/types/config.d.ts +2 -2
- package/lib/umd/index.js +29 -29
- package/package.json +4 -5
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
2
|
export type IconName = 'bold' | 'underline' | 'italic' | 'strike-through' | 'title' | 'sub' | 'sup' | 'quote' | 'unordered-list' | 'ordered-list' | 'task' | 'code-row' | 'code' | 'link' | 'image' | 'table' | 'revoke' | 'next' | 'baocun' | 'prettier' | 'suoxiao' | 'fangda' | 'fullscreen-exit' | 'fullscreen' | 'preview-only' | 'preview' | 'coding' | 'catalog' | 'github' | 'mermaid' | 'formula' | 'close' | 'delete' | 'upload' | 'collapse-tips';
|
|
4
|
-
declare const _default: import(
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
name: {
|
|
6
5
|
type: PropType<IconName>;
|
|
7
6
|
default: string;
|
|
8
7
|
};
|
|
9
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
8
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
9
|
name: {
|
|
11
10
|
type: PropType<IconName>;
|
|
12
11
|
default: string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { IconName } from './Icon';
|
|
2
1
|
import { PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import(
|
|
2
|
+
import { IconName } from './Icon';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
name: {
|
|
6
5
|
type: PropType<IconName>;
|
|
7
6
|
default: string;
|
|
8
7
|
};
|
|
9
|
-
}, () => import(
|
|
8
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
10
9
|
[key: string]: any;
|
|
11
|
-
}>, unknown, {}, {}, import(
|
|
10
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
11
|
name: {
|
|
13
12
|
type: PropType<IconName>;
|
|
14
13
|
default: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, CSSProperties } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
3
|
title: {
|
|
5
4
|
type: PropType<string>;
|
|
6
5
|
default: string;
|
|
@@ -36,10 +35,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
36
35
|
type: PropType<string>;
|
|
37
36
|
};
|
|
38
37
|
style: {
|
|
39
|
-
type: PropType<CSSProperties>;
|
|
38
|
+
type: PropType<string | CSSProperties>;
|
|
40
39
|
default: () => {};
|
|
41
40
|
};
|
|
42
|
-
|
|
41
|
+
showMask: {
|
|
42
|
+
type: PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, () => "" | import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
43
46
|
title: {
|
|
44
47
|
type: PropType<string>;
|
|
45
48
|
default: string;
|
|
@@ -75,19 +78,24 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
75
78
|
type: PropType<string>;
|
|
76
79
|
};
|
|
77
80
|
style: {
|
|
78
|
-
type: PropType<CSSProperties>;
|
|
81
|
+
type: PropType<string | CSSProperties>;
|
|
79
82
|
default: () => {};
|
|
80
83
|
};
|
|
84
|
+
showMask: {
|
|
85
|
+
type: PropType<boolean>;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
81
88
|
}>> & {
|
|
82
89
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
83
90
|
}, {
|
|
84
91
|
title: string;
|
|
85
|
-
style: CSSProperties;
|
|
92
|
+
style: string | CSSProperties;
|
|
86
93
|
visible: boolean;
|
|
87
94
|
height: string;
|
|
88
95
|
width: string;
|
|
89
96
|
showAdjust: boolean;
|
|
90
97
|
isFullscreen: boolean;
|
|
91
98
|
onAdjust: (val: boolean) => void;
|
|
99
|
+
showMask: boolean;
|
|
92
100
|
}, {}>;
|
|
93
101
|
export default _default;
|
|
@@ -1,97 +1,105 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
2
|
declare const _default: {
|
|
4
|
-
new (...args: any[]): import(
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
4
|
title: {
|
|
6
|
-
type: import(
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
7
6
|
default: string;
|
|
8
7
|
};
|
|
9
8
|
visible: {
|
|
10
|
-
type: import(
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
11
10
|
default: boolean;
|
|
12
11
|
};
|
|
13
12
|
width: {
|
|
14
|
-
type: import(
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
15
14
|
default: string;
|
|
16
15
|
};
|
|
17
16
|
height: {
|
|
18
|
-
type: import(
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
19
18
|
default: string;
|
|
20
19
|
};
|
|
21
20
|
onClose: {
|
|
22
|
-
type: import(
|
|
21
|
+
type: import("vue").PropType<() => void>;
|
|
23
22
|
};
|
|
24
23
|
showAdjust: {
|
|
25
|
-
type: import(
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
26
25
|
default: boolean;
|
|
27
26
|
};
|
|
28
27
|
isFullscreen: {
|
|
29
|
-
type: import(
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
30
29
|
default: boolean;
|
|
31
30
|
};
|
|
32
31
|
onAdjust: {
|
|
33
|
-
type: import(
|
|
32
|
+
type: import("vue").PropType<(val: boolean) => void>;
|
|
34
33
|
default: () => void;
|
|
35
34
|
};
|
|
36
35
|
class: {
|
|
37
|
-
type: import(
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
38
37
|
};
|
|
39
38
|
style: {
|
|
40
|
-
type: import(
|
|
39
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
41
40
|
default: () => {};
|
|
42
41
|
};
|
|
42
|
+
showMask: {
|
|
43
|
+
type: import("vue").PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
43
46
|
}>> & {
|
|
44
47
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
}, () => "" | import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
48
|
+
}, () => "" | import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
46
49
|
title: {
|
|
47
|
-
type: import(
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
48
51
|
default: string;
|
|
49
52
|
};
|
|
50
53
|
visible: {
|
|
51
|
-
type: import(
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
52
55
|
default: boolean;
|
|
53
56
|
};
|
|
54
57
|
width: {
|
|
55
|
-
type: import(
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
56
59
|
default: string;
|
|
57
60
|
};
|
|
58
61
|
height: {
|
|
59
|
-
type: import(
|
|
62
|
+
type: import("vue").PropType<string>;
|
|
60
63
|
default: string;
|
|
61
64
|
};
|
|
62
65
|
onClose: {
|
|
63
|
-
type: import(
|
|
66
|
+
type: import("vue").PropType<() => void>;
|
|
64
67
|
};
|
|
65
68
|
showAdjust: {
|
|
66
|
-
type: import(
|
|
69
|
+
type: import("vue").PropType<boolean>;
|
|
67
70
|
default: boolean;
|
|
68
71
|
};
|
|
69
72
|
isFullscreen: {
|
|
70
|
-
type: import(
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
71
74
|
default: boolean;
|
|
72
75
|
};
|
|
73
76
|
onAdjust: {
|
|
74
|
-
type: import(
|
|
77
|
+
type: import("vue").PropType<(val: boolean) => void>;
|
|
75
78
|
default: () => void;
|
|
76
79
|
};
|
|
77
80
|
class: {
|
|
78
|
-
type: import(
|
|
81
|
+
type: import("vue").PropType<string>;
|
|
79
82
|
};
|
|
80
83
|
style: {
|
|
81
|
-
type: import(
|
|
84
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
82
85
|
default: () => {};
|
|
83
86
|
};
|
|
87
|
+
showMask: {
|
|
88
|
+
type: import("vue").PropType<boolean>;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
84
91
|
}>> & {
|
|
85
92
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
86
93
|
}, {
|
|
87
94
|
title: string;
|
|
88
|
-
style: import(
|
|
95
|
+
style: string | import("vue").CSSProperties;
|
|
89
96
|
visible: boolean;
|
|
90
97
|
height: string;
|
|
91
98
|
width: string;
|
|
92
99
|
showAdjust: boolean;
|
|
93
100
|
isFullscreen: boolean;
|
|
94
101
|
onAdjust: (val: boolean) => void;
|
|
102
|
+
showMask: boolean;
|
|
95
103
|
}, true, {}, {}, {
|
|
96
104
|
P: {};
|
|
97
105
|
B: {};
|
|
@@ -99,111 +107,121 @@ declare const _default: {
|
|
|
99
107
|
C: {};
|
|
100
108
|
M: {};
|
|
101
109
|
Defaults: {};
|
|
102
|
-
}, Readonly<import(
|
|
110
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
103
111
|
title: {
|
|
104
|
-
type: import(
|
|
112
|
+
type: import("vue").PropType<string>;
|
|
105
113
|
default: string;
|
|
106
114
|
};
|
|
107
115
|
visible: {
|
|
108
|
-
type: import(
|
|
116
|
+
type: import("vue").PropType<boolean>;
|
|
109
117
|
default: boolean;
|
|
110
118
|
};
|
|
111
119
|
width: {
|
|
112
|
-
type: import(
|
|
120
|
+
type: import("vue").PropType<string>;
|
|
113
121
|
default: string;
|
|
114
122
|
};
|
|
115
123
|
height: {
|
|
116
|
-
type: import(
|
|
124
|
+
type: import("vue").PropType<string>;
|
|
117
125
|
default: string;
|
|
118
126
|
};
|
|
119
127
|
onClose: {
|
|
120
|
-
type: import(
|
|
128
|
+
type: import("vue").PropType<() => void>;
|
|
121
129
|
};
|
|
122
130
|
showAdjust: {
|
|
123
|
-
type: import(
|
|
131
|
+
type: import("vue").PropType<boolean>;
|
|
124
132
|
default: boolean;
|
|
125
133
|
};
|
|
126
134
|
isFullscreen: {
|
|
127
|
-
type: import(
|
|
135
|
+
type: import("vue").PropType<boolean>;
|
|
128
136
|
default: boolean;
|
|
129
137
|
};
|
|
130
138
|
onAdjust: {
|
|
131
|
-
type: import(
|
|
139
|
+
type: import("vue").PropType<(val: boolean) => void>;
|
|
132
140
|
default: () => void;
|
|
133
141
|
};
|
|
134
142
|
class: {
|
|
135
|
-
type: import(
|
|
143
|
+
type: import("vue").PropType<string>;
|
|
136
144
|
};
|
|
137
145
|
style: {
|
|
138
|
-
type: import(
|
|
146
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
139
147
|
default: () => {};
|
|
140
148
|
};
|
|
149
|
+
showMask: {
|
|
150
|
+
type: import("vue").PropType<boolean>;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
141
153
|
}>> & {
|
|
142
154
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
143
155
|
}, () => "" | import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
144
156
|
title: string;
|
|
145
|
-
style: import(
|
|
157
|
+
style: string | import("vue").CSSProperties;
|
|
146
158
|
visible: boolean;
|
|
147
159
|
height: string;
|
|
148
160
|
width: string;
|
|
149
161
|
showAdjust: boolean;
|
|
150
162
|
isFullscreen: boolean;
|
|
151
163
|
onAdjust: (val: boolean) => void;
|
|
164
|
+
showMask: boolean;
|
|
152
165
|
}>;
|
|
153
166
|
__isFragment?: undefined;
|
|
154
167
|
__isTeleport?: undefined;
|
|
155
168
|
__isSuspense?: undefined;
|
|
156
|
-
} & import(
|
|
169
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
157
170
|
title: {
|
|
158
|
-
type: import(
|
|
171
|
+
type: import("vue").PropType<string>;
|
|
159
172
|
default: string;
|
|
160
173
|
};
|
|
161
174
|
visible: {
|
|
162
|
-
type: import(
|
|
175
|
+
type: import("vue").PropType<boolean>;
|
|
163
176
|
default: boolean;
|
|
164
177
|
};
|
|
165
178
|
width: {
|
|
166
|
-
type: import(
|
|
179
|
+
type: import("vue").PropType<string>;
|
|
167
180
|
default: string;
|
|
168
181
|
};
|
|
169
182
|
height: {
|
|
170
|
-
type: import(
|
|
183
|
+
type: import("vue").PropType<string>;
|
|
171
184
|
default: string;
|
|
172
185
|
};
|
|
173
186
|
onClose: {
|
|
174
|
-
type: import(
|
|
187
|
+
type: import("vue").PropType<() => void>;
|
|
175
188
|
};
|
|
176
189
|
showAdjust: {
|
|
177
|
-
type: import(
|
|
190
|
+
type: import("vue").PropType<boolean>;
|
|
178
191
|
default: boolean;
|
|
179
192
|
};
|
|
180
193
|
isFullscreen: {
|
|
181
|
-
type: import(
|
|
194
|
+
type: import("vue").PropType<boolean>;
|
|
182
195
|
default: boolean;
|
|
183
196
|
};
|
|
184
197
|
onAdjust: {
|
|
185
|
-
type: import(
|
|
198
|
+
type: import("vue").PropType<(val: boolean) => void>;
|
|
186
199
|
default: () => void;
|
|
187
200
|
};
|
|
188
201
|
class: {
|
|
189
|
-
type: import(
|
|
202
|
+
type: import("vue").PropType<string>;
|
|
190
203
|
};
|
|
191
204
|
style: {
|
|
192
|
-
type: import(
|
|
205
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
193
206
|
default: () => {};
|
|
194
207
|
};
|
|
208
|
+
showMask: {
|
|
209
|
+
type: import("vue").PropType<boolean>;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
195
212
|
}>> & {
|
|
196
213
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
197
|
-
}, () => "" | import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
214
|
+
}, () => "" | import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", {
|
|
198
215
|
title: string;
|
|
199
|
-
style: import(
|
|
216
|
+
style: string | import("vue").CSSProperties;
|
|
200
217
|
visible: boolean;
|
|
201
218
|
height: string;
|
|
202
219
|
width: string;
|
|
203
220
|
showAdjust: boolean;
|
|
204
221
|
isFullscreen: boolean;
|
|
205
222
|
onAdjust: (val: boolean) => void;
|
|
206
|
-
|
|
223
|
+
showMask: boolean;
|
|
224
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
207
225
|
install: (app: App) => App;
|
|
208
226
|
};
|
|
209
227
|
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const Popper: import('vue').DefineComponent<{
|
|
2
|
+
declare const Popper: import("vue").DefineComponent<{
|
|
4
3
|
title: {
|
|
5
4
|
type: PropType<string>;
|
|
6
5
|
default: string;
|
|
7
6
|
};
|
|
8
|
-
}, () => any[], unknown, {}, {}, import(
|
|
7
|
+
}, () => any[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
8
|
title: {
|
|
10
9
|
type: PropType<string>;
|
|
11
10
|
default: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ContentExposeParam } from './layouts/Content/type';
|
|
2
|
-
import { SettingType, UpdateSetting, MdPreviewProps, EditorProps, EditorContext } from './type';
|
|
3
1
|
import { Ref } from 'vue';
|
|
4
|
-
|
|
2
|
+
import { SettingType, UpdateSetting, MdPreviewProps, EditorProps, EditorContext } from './type';
|
|
3
|
+
import { ContentExposeParam } from './layouts/Content/type';
|
|
5
4
|
/**
|
|
6
5
|
* 处理保存逻辑,主要是需要异步返回编译后的html
|
|
7
6
|
*
|
|
@@ -54,7 +53,7 @@ export declare const useConfig: (props: EditorProps, context: EditorContext) =>
|
|
|
54
53
|
* @param props
|
|
55
54
|
* @returns
|
|
56
55
|
*/
|
|
57
|
-
export declare const useCatalog: (props: EditorProps) => import(
|
|
56
|
+
export declare const useCatalog: (props: EditorProps) => import("vue").ComputedRef<boolean>;
|
|
58
57
|
/**
|
|
59
58
|
* 向外暴露属性
|
|
60
59
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CodeCss, Config, ConfigOption, Footers, StaticTextDefault } from './type';
|
|
2
|
-
|
|
3
2
|
export declare const prefix = "md-editor";
|
|
4
3
|
export declare const defaultEditorId = "md-editor-v3";
|
|
5
4
|
export declare const iconfontSvgUrl = "https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js";
|