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,13 +1,12 @@
|
|
|
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
|
modelValue: {
|
|
6
|
-
type: import(
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
7
6
|
default: string;
|
|
8
7
|
};
|
|
9
8
|
theme: {
|
|
10
|
-
type: import(
|
|
9
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
11
10
|
default: string;
|
|
12
11
|
};
|
|
13
12
|
class: {
|
|
@@ -15,88 +14,88 @@ declare const _default: {
|
|
|
15
14
|
default: string;
|
|
16
15
|
};
|
|
17
16
|
language: {
|
|
18
|
-
type: import(
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
19
18
|
default: string;
|
|
20
19
|
};
|
|
21
20
|
onHtmlChanged: {
|
|
22
|
-
type: import(
|
|
21
|
+
type: import("vue").PropType<import("..").HtmlChangedEvent>;
|
|
23
22
|
};
|
|
24
23
|
onGetCatalog: {
|
|
25
|
-
type: import(
|
|
24
|
+
type: import("vue").PropType<import("..").GetCatalogEvent>;
|
|
26
25
|
};
|
|
27
26
|
editorId: {
|
|
28
|
-
type: import(
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
29
28
|
default: () => string;
|
|
30
29
|
};
|
|
31
30
|
showCodeRowNumber: {
|
|
32
|
-
type: import(
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
33
32
|
default: boolean;
|
|
34
33
|
};
|
|
35
34
|
previewTheme: {
|
|
36
|
-
type: import(
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
37
36
|
default: string;
|
|
38
37
|
};
|
|
39
38
|
style: {
|
|
40
|
-
type: import(
|
|
39
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
41
40
|
default: () => {};
|
|
42
41
|
};
|
|
43
42
|
mdHeadingId: {
|
|
44
|
-
type: import(
|
|
45
|
-
default: import(
|
|
43
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
44
|
+
default: import("..").MdHeadingId;
|
|
46
45
|
};
|
|
47
46
|
sanitize: {
|
|
48
|
-
type: import(
|
|
47
|
+
type: import("vue").PropType<(html: string) => string>;
|
|
49
48
|
default: (html: string) => string;
|
|
50
49
|
};
|
|
51
50
|
noMermaid: {
|
|
52
|
-
type: import(
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
53
52
|
default: boolean;
|
|
54
53
|
};
|
|
55
54
|
noKatex: {
|
|
56
|
-
type: import(
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
57
56
|
default: boolean;
|
|
58
57
|
};
|
|
59
58
|
codeTheme: {
|
|
60
|
-
type: import(
|
|
59
|
+
type: import("vue").PropType<string>;
|
|
61
60
|
default: string;
|
|
62
61
|
};
|
|
63
62
|
noIconfont: {
|
|
64
|
-
type: import(
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
65
64
|
};
|
|
66
65
|
formatCopiedText: {
|
|
67
|
-
type: import(
|
|
66
|
+
type: import("vue").PropType<(text: string) => string>;
|
|
68
67
|
default: (text: string) => string;
|
|
69
68
|
};
|
|
70
69
|
codeStyleReverse: {
|
|
71
|
-
type: import(
|
|
70
|
+
type: import("vue").PropType<boolean>;
|
|
72
71
|
default: boolean;
|
|
73
72
|
};
|
|
74
73
|
codeStyleReverseList: {
|
|
75
|
-
type: import(
|
|
74
|
+
type: import("vue").PropType<string[]>;
|
|
76
75
|
default: string[];
|
|
77
76
|
};
|
|
78
77
|
noHighlight: {
|
|
79
|
-
type: import(
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
80
79
|
default: boolean;
|
|
81
80
|
};
|
|
82
81
|
noImgZoomIn: {
|
|
83
|
-
type: import(
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
84
83
|
default: boolean;
|
|
85
84
|
};
|
|
86
85
|
customIcon: {
|
|
87
|
-
type: import(
|
|
86
|
+
type: import("vue").PropType<import("..").CustomIcon>;
|
|
88
87
|
default: {};
|
|
89
88
|
};
|
|
90
89
|
sanitizeMermaid: {
|
|
91
|
-
type: import(
|
|
90
|
+
type: import("vue").PropType<(h: string) => Promise<string>>;
|
|
92
91
|
default: (h: string) => Promise<string>;
|
|
93
92
|
};
|
|
94
93
|
codeFoldable: {
|
|
95
|
-
type: import(
|
|
94
|
+
type: import("vue").PropType<boolean>;
|
|
96
95
|
default: boolean;
|
|
97
96
|
};
|
|
98
97
|
autoFoldThreshold: {
|
|
99
|
-
type: import(
|
|
98
|
+
type: import("vue").PropType<number>;
|
|
100
99
|
default: number;
|
|
101
100
|
};
|
|
102
101
|
}>> & {
|
|
@@ -112,13 +111,13 @@ declare const _default: {
|
|
|
112
111
|
onOnInput?: ((...args: any[]) => any) | undefined;
|
|
113
112
|
onOnDrop?: ((...args: any[]) => any) | undefined;
|
|
114
113
|
onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
114
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("..").EditorEmits, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
116
115
|
modelValue: {
|
|
117
|
-
type: import(
|
|
116
|
+
type: import("vue").PropType<string>;
|
|
118
117
|
default: string;
|
|
119
118
|
};
|
|
120
119
|
theme: {
|
|
121
|
-
type: import(
|
|
120
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
122
121
|
default: string;
|
|
123
122
|
};
|
|
124
123
|
class: {
|
|
@@ -126,88 +125,88 @@ declare const _default: {
|
|
|
126
125
|
default: string;
|
|
127
126
|
};
|
|
128
127
|
language: {
|
|
129
|
-
type: import(
|
|
128
|
+
type: import("vue").PropType<string>;
|
|
130
129
|
default: string;
|
|
131
130
|
};
|
|
132
131
|
onHtmlChanged: {
|
|
133
|
-
type: import(
|
|
132
|
+
type: import("vue").PropType<import("..").HtmlChangedEvent>;
|
|
134
133
|
};
|
|
135
134
|
onGetCatalog: {
|
|
136
|
-
type: import(
|
|
135
|
+
type: import("vue").PropType<import("..").GetCatalogEvent>;
|
|
137
136
|
};
|
|
138
137
|
editorId: {
|
|
139
|
-
type: import(
|
|
138
|
+
type: import("vue").PropType<string>;
|
|
140
139
|
default: () => string;
|
|
141
140
|
};
|
|
142
141
|
showCodeRowNumber: {
|
|
143
|
-
type: import(
|
|
142
|
+
type: import("vue").PropType<boolean>;
|
|
144
143
|
default: boolean;
|
|
145
144
|
};
|
|
146
145
|
previewTheme: {
|
|
147
|
-
type: import(
|
|
146
|
+
type: import("vue").PropType<string>;
|
|
148
147
|
default: string;
|
|
149
148
|
};
|
|
150
149
|
style: {
|
|
151
|
-
type: import(
|
|
150
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
152
151
|
default: () => {};
|
|
153
152
|
};
|
|
154
153
|
mdHeadingId: {
|
|
155
|
-
type: import(
|
|
156
|
-
default: import(
|
|
154
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
155
|
+
default: import("..").MdHeadingId;
|
|
157
156
|
};
|
|
158
157
|
sanitize: {
|
|
159
|
-
type: import(
|
|
158
|
+
type: import("vue").PropType<(html: string) => string>;
|
|
160
159
|
default: (html: string) => string;
|
|
161
160
|
};
|
|
162
161
|
noMermaid: {
|
|
163
|
-
type: import(
|
|
162
|
+
type: import("vue").PropType<boolean>;
|
|
164
163
|
default: boolean;
|
|
165
164
|
};
|
|
166
165
|
noKatex: {
|
|
167
|
-
type: import(
|
|
166
|
+
type: import("vue").PropType<boolean>;
|
|
168
167
|
default: boolean;
|
|
169
168
|
};
|
|
170
169
|
codeTheme: {
|
|
171
|
-
type: import(
|
|
170
|
+
type: import("vue").PropType<string>;
|
|
172
171
|
default: string;
|
|
173
172
|
};
|
|
174
173
|
noIconfont: {
|
|
175
|
-
type: import(
|
|
174
|
+
type: import("vue").PropType<boolean>;
|
|
176
175
|
};
|
|
177
176
|
formatCopiedText: {
|
|
178
|
-
type: import(
|
|
177
|
+
type: import("vue").PropType<(text: string) => string>;
|
|
179
178
|
default: (text: string) => string;
|
|
180
179
|
};
|
|
181
180
|
codeStyleReverse: {
|
|
182
|
-
type: import(
|
|
181
|
+
type: import("vue").PropType<boolean>;
|
|
183
182
|
default: boolean;
|
|
184
183
|
};
|
|
185
184
|
codeStyleReverseList: {
|
|
186
|
-
type: import(
|
|
185
|
+
type: import("vue").PropType<string[]>;
|
|
187
186
|
default: string[];
|
|
188
187
|
};
|
|
189
188
|
noHighlight: {
|
|
190
|
-
type: import(
|
|
189
|
+
type: import("vue").PropType<boolean>;
|
|
191
190
|
default: boolean;
|
|
192
191
|
};
|
|
193
192
|
noImgZoomIn: {
|
|
194
|
-
type: import(
|
|
193
|
+
type: import("vue").PropType<boolean>;
|
|
195
194
|
default: boolean;
|
|
196
195
|
};
|
|
197
196
|
customIcon: {
|
|
198
|
-
type: import(
|
|
197
|
+
type: import("vue").PropType<import("..").CustomIcon>;
|
|
199
198
|
default: {};
|
|
200
199
|
};
|
|
201
200
|
sanitizeMermaid: {
|
|
202
|
-
type: import(
|
|
201
|
+
type: import("vue").PropType<(h: string) => Promise<string>>;
|
|
203
202
|
default: (h: string) => Promise<string>;
|
|
204
203
|
};
|
|
205
204
|
codeFoldable: {
|
|
206
|
-
type: import(
|
|
205
|
+
type: import("vue").PropType<boolean>;
|
|
207
206
|
default: boolean;
|
|
208
207
|
};
|
|
209
208
|
autoFoldThreshold: {
|
|
210
|
-
type: import(
|
|
209
|
+
type: import("vue").PropType<number>;
|
|
211
210
|
default: number;
|
|
212
211
|
};
|
|
213
212
|
}>> & {
|
|
@@ -225,14 +224,14 @@ declare const _default: {
|
|
|
225
224
|
onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
|
|
226
225
|
}, {
|
|
227
226
|
class: string;
|
|
228
|
-
style: string | import(
|
|
227
|
+
style: string | import("vue").CSSProperties;
|
|
229
228
|
language: string;
|
|
230
229
|
modelValue: string;
|
|
231
|
-
theme: import(
|
|
230
|
+
theme: import("..").Themes;
|
|
232
231
|
editorId: string;
|
|
233
232
|
showCodeRowNumber: boolean;
|
|
234
233
|
previewTheme: string;
|
|
235
|
-
mdHeadingId: import(
|
|
234
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
236
235
|
sanitize: (html: string) => string;
|
|
237
236
|
noMermaid: boolean;
|
|
238
237
|
noKatex: boolean;
|
|
@@ -242,7 +241,7 @@ declare const _default: {
|
|
|
242
241
|
codeStyleReverseList: string[];
|
|
243
242
|
noHighlight: boolean;
|
|
244
243
|
noImgZoomIn: boolean;
|
|
245
|
-
customIcon: import(
|
|
244
|
+
customIcon: import("..").CustomIcon;
|
|
246
245
|
sanitizeMermaid: (h: string) => Promise<string>;
|
|
247
246
|
codeFoldable: boolean;
|
|
248
247
|
autoFoldThreshold: number;
|
|
@@ -253,13 +252,13 @@ declare const _default: {
|
|
|
253
252
|
C: {};
|
|
254
253
|
M: {};
|
|
255
254
|
Defaults: {};
|
|
256
|
-
}, Readonly<import(
|
|
255
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
257
256
|
modelValue: {
|
|
258
|
-
type: import(
|
|
257
|
+
type: import("vue").PropType<string>;
|
|
259
258
|
default: string;
|
|
260
259
|
};
|
|
261
260
|
theme: {
|
|
262
|
-
type: import(
|
|
261
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
263
262
|
default: string;
|
|
264
263
|
};
|
|
265
264
|
class: {
|
|
@@ -267,88 +266,88 @@ declare const _default: {
|
|
|
267
266
|
default: string;
|
|
268
267
|
};
|
|
269
268
|
language: {
|
|
270
|
-
type: import(
|
|
269
|
+
type: import("vue").PropType<string>;
|
|
271
270
|
default: string;
|
|
272
271
|
};
|
|
273
272
|
onHtmlChanged: {
|
|
274
|
-
type: import(
|
|
273
|
+
type: import("vue").PropType<import("..").HtmlChangedEvent>;
|
|
275
274
|
};
|
|
276
275
|
onGetCatalog: {
|
|
277
|
-
type: import(
|
|
276
|
+
type: import("vue").PropType<import("..").GetCatalogEvent>;
|
|
278
277
|
};
|
|
279
278
|
editorId: {
|
|
280
|
-
type: import(
|
|
279
|
+
type: import("vue").PropType<string>;
|
|
281
280
|
default: () => string;
|
|
282
281
|
};
|
|
283
282
|
showCodeRowNumber: {
|
|
284
|
-
type: import(
|
|
283
|
+
type: import("vue").PropType<boolean>;
|
|
285
284
|
default: boolean;
|
|
286
285
|
};
|
|
287
286
|
previewTheme: {
|
|
288
|
-
type: import(
|
|
287
|
+
type: import("vue").PropType<string>;
|
|
289
288
|
default: string;
|
|
290
289
|
};
|
|
291
290
|
style: {
|
|
292
|
-
type: import(
|
|
291
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
293
292
|
default: () => {};
|
|
294
293
|
};
|
|
295
294
|
mdHeadingId: {
|
|
296
|
-
type: import(
|
|
297
|
-
default: import(
|
|
295
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
296
|
+
default: import("..").MdHeadingId;
|
|
298
297
|
};
|
|
299
298
|
sanitize: {
|
|
300
|
-
type: import(
|
|
299
|
+
type: import("vue").PropType<(html: string) => string>;
|
|
301
300
|
default: (html: string) => string;
|
|
302
301
|
};
|
|
303
302
|
noMermaid: {
|
|
304
|
-
type: import(
|
|
303
|
+
type: import("vue").PropType<boolean>;
|
|
305
304
|
default: boolean;
|
|
306
305
|
};
|
|
307
306
|
noKatex: {
|
|
308
|
-
type: import(
|
|
307
|
+
type: import("vue").PropType<boolean>;
|
|
309
308
|
default: boolean;
|
|
310
309
|
};
|
|
311
310
|
codeTheme: {
|
|
312
|
-
type: import(
|
|
311
|
+
type: import("vue").PropType<string>;
|
|
313
312
|
default: string;
|
|
314
313
|
};
|
|
315
314
|
noIconfont: {
|
|
316
|
-
type: import(
|
|
315
|
+
type: import("vue").PropType<boolean>;
|
|
317
316
|
};
|
|
318
317
|
formatCopiedText: {
|
|
319
|
-
type: import(
|
|
318
|
+
type: import("vue").PropType<(text: string) => string>;
|
|
320
319
|
default: (text: string) => string;
|
|
321
320
|
};
|
|
322
321
|
codeStyleReverse: {
|
|
323
|
-
type: import(
|
|
322
|
+
type: import("vue").PropType<boolean>;
|
|
324
323
|
default: boolean;
|
|
325
324
|
};
|
|
326
325
|
codeStyleReverseList: {
|
|
327
|
-
type: import(
|
|
326
|
+
type: import("vue").PropType<string[]>;
|
|
328
327
|
default: string[];
|
|
329
328
|
};
|
|
330
329
|
noHighlight: {
|
|
331
|
-
type: import(
|
|
330
|
+
type: import("vue").PropType<boolean>;
|
|
332
331
|
default: boolean;
|
|
333
332
|
};
|
|
334
333
|
noImgZoomIn: {
|
|
335
|
-
type: import(
|
|
334
|
+
type: import("vue").PropType<boolean>;
|
|
336
335
|
default: boolean;
|
|
337
336
|
};
|
|
338
337
|
customIcon: {
|
|
339
|
-
type: import(
|
|
338
|
+
type: import("vue").PropType<import("..").CustomIcon>;
|
|
340
339
|
default: {};
|
|
341
340
|
};
|
|
342
341
|
sanitizeMermaid: {
|
|
343
|
-
type: import(
|
|
342
|
+
type: import("vue").PropType<(h: string) => Promise<string>>;
|
|
344
343
|
default: (h: string) => Promise<string>;
|
|
345
344
|
};
|
|
346
345
|
codeFoldable: {
|
|
347
|
-
type: import(
|
|
346
|
+
type: import("vue").PropType<boolean>;
|
|
348
347
|
default: boolean;
|
|
349
348
|
};
|
|
350
349
|
autoFoldThreshold: {
|
|
351
|
-
type: import(
|
|
350
|
+
type: import("vue").PropType<number>;
|
|
352
351
|
default: number;
|
|
353
352
|
};
|
|
354
353
|
}>> & {
|
|
@@ -366,14 +365,14 @@ declare const _default: {
|
|
|
366
365
|
onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
|
|
367
366
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
368
367
|
class: string;
|
|
369
|
-
style: string | import(
|
|
368
|
+
style: string | import("vue").CSSProperties;
|
|
370
369
|
language: string;
|
|
371
370
|
modelValue: string;
|
|
372
|
-
theme: import(
|
|
371
|
+
theme: import("..").Themes;
|
|
373
372
|
editorId: string;
|
|
374
373
|
showCodeRowNumber: boolean;
|
|
375
374
|
previewTheme: string;
|
|
376
|
-
mdHeadingId: import(
|
|
375
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
377
376
|
sanitize: (html: string) => string;
|
|
378
377
|
noMermaid: boolean;
|
|
379
378
|
noKatex: boolean;
|
|
@@ -383,7 +382,7 @@ declare const _default: {
|
|
|
383
382
|
codeStyleReverseList: string[];
|
|
384
383
|
noHighlight: boolean;
|
|
385
384
|
noImgZoomIn: boolean;
|
|
386
|
-
customIcon: import(
|
|
385
|
+
customIcon: import("..").CustomIcon;
|
|
387
386
|
sanitizeMermaid: (h: string) => Promise<string>;
|
|
388
387
|
codeFoldable: boolean;
|
|
389
388
|
autoFoldThreshold: number;
|
|
@@ -391,13 +390,13 @@ declare const _default: {
|
|
|
391
390
|
__isFragment?: undefined;
|
|
392
391
|
__isTeleport?: undefined;
|
|
393
392
|
__isSuspense?: undefined;
|
|
394
|
-
} & import(
|
|
393
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
395
394
|
modelValue: {
|
|
396
|
-
type: import(
|
|
395
|
+
type: import("vue").PropType<string>;
|
|
397
396
|
default: string;
|
|
398
397
|
};
|
|
399
398
|
theme: {
|
|
400
|
-
type: import(
|
|
399
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
401
400
|
default: string;
|
|
402
401
|
};
|
|
403
402
|
class: {
|
|
@@ -405,88 +404,88 @@ declare const _default: {
|
|
|
405
404
|
default: string;
|
|
406
405
|
};
|
|
407
406
|
language: {
|
|
408
|
-
type: import(
|
|
407
|
+
type: import("vue").PropType<string>;
|
|
409
408
|
default: string;
|
|
410
409
|
};
|
|
411
410
|
onHtmlChanged: {
|
|
412
|
-
type: import(
|
|
411
|
+
type: import("vue").PropType<import("..").HtmlChangedEvent>;
|
|
413
412
|
};
|
|
414
413
|
onGetCatalog: {
|
|
415
|
-
type: import(
|
|
414
|
+
type: import("vue").PropType<import("..").GetCatalogEvent>;
|
|
416
415
|
};
|
|
417
416
|
editorId: {
|
|
418
|
-
type: import(
|
|
417
|
+
type: import("vue").PropType<string>;
|
|
419
418
|
default: () => string;
|
|
420
419
|
};
|
|
421
420
|
showCodeRowNumber: {
|
|
422
|
-
type: import(
|
|
421
|
+
type: import("vue").PropType<boolean>;
|
|
423
422
|
default: boolean;
|
|
424
423
|
};
|
|
425
424
|
previewTheme: {
|
|
426
|
-
type: import(
|
|
425
|
+
type: import("vue").PropType<string>;
|
|
427
426
|
default: string;
|
|
428
427
|
};
|
|
429
428
|
style: {
|
|
430
|
-
type: import(
|
|
429
|
+
type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
431
430
|
default: () => {};
|
|
432
431
|
};
|
|
433
432
|
mdHeadingId: {
|
|
434
|
-
type: import(
|
|
435
|
-
default: import(
|
|
433
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
434
|
+
default: import("..").MdHeadingId;
|
|
436
435
|
};
|
|
437
436
|
sanitize: {
|
|
438
|
-
type: import(
|
|
437
|
+
type: import("vue").PropType<(html: string) => string>;
|
|
439
438
|
default: (html: string) => string;
|
|
440
439
|
};
|
|
441
440
|
noMermaid: {
|
|
442
|
-
type: import(
|
|
441
|
+
type: import("vue").PropType<boolean>;
|
|
443
442
|
default: boolean;
|
|
444
443
|
};
|
|
445
444
|
noKatex: {
|
|
446
|
-
type: import(
|
|
445
|
+
type: import("vue").PropType<boolean>;
|
|
447
446
|
default: boolean;
|
|
448
447
|
};
|
|
449
448
|
codeTheme: {
|
|
450
|
-
type: import(
|
|
449
|
+
type: import("vue").PropType<string>;
|
|
451
450
|
default: string;
|
|
452
451
|
};
|
|
453
452
|
noIconfont: {
|
|
454
|
-
type: import(
|
|
453
|
+
type: import("vue").PropType<boolean>;
|
|
455
454
|
};
|
|
456
455
|
formatCopiedText: {
|
|
457
|
-
type: import(
|
|
456
|
+
type: import("vue").PropType<(text: string) => string>;
|
|
458
457
|
default: (text: string) => string;
|
|
459
458
|
};
|
|
460
459
|
codeStyleReverse: {
|
|
461
|
-
type: import(
|
|
460
|
+
type: import("vue").PropType<boolean>;
|
|
462
461
|
default: boolean;
|
|
463
462
|
};
|
|
464
463
|
codeStyleReverseList: {
|
|
465
|
-
type: import(
|
|
464
|
+
type: import("vue").PropType<string[]>;
|
|
466
465
|
default: string[];
|
|
467
466
|
};
|
|
468
467
|
noHighlight: {
|
|
469
|
-
type: import(
|
|
468
|
+
type: import("vue").PropType<boolean>;
|
|
470
469
|
default: boolean;
|
|
471
470
|
};
|
|
472
471
|
noImgZoomIn: {
|
|
473
|
-
type: import(
|
|
472
|
+
type: import("vue").PropType<boolean>;
|
|
474
473
|
default: boolean;
|
|
475
474
|
};
|
|
476
475
|
customIcon: {
|
|
477
|
-
type: import(
|
|
476
|
+
type: import("vue").PropType<import("..").CustomIcon>;
|
|
478
477
|
default: {};
|
|
479
478
|
};
|
|
480
479
|
sanitizeMermaid: {
|
|
481
|
-
type: import(
|
|
480
|
+
type: import("vue").PropType<(h: string) => Promise<string>>;
|
|
482
481
|
default: (h: string) => Promise<string>;
|
|
483
482
|
};
|
|
484
483
|
codeFoldable: {
|
|
485
|
-
type: import(
|
|
484
|
+
type: import("vue").PropType<boolean>;
|
|
486
485
|
default: boolean;
|
|
487
486
|
};
|
|
488
487
|
autoFoldThreshold: {
|
|
489
|
-
type: import(
|
|
488
|
+
type: import("vue").PropType<number>;
|
|
490
489
|
default: number;
|
|
491
490
|
};
|
|
492
491
|
}>> & {
|
|
@@ -502,16 +501,16 @@ declare const _default: {
|
|
|
502
501
|
onOnInput?: ((...args: any[]) => any) | undefined;
|
|
503
502
|
onOnDrop?: ((...args: any[]) => any) | undefined;
|
|
504
503
|
onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
|
|
505
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
504
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("..").EditorEmits, "onChange" | "onSave" | "onUploadImg" | "onHtmlChanged" | "onGetCatalog" | "onError" | "update:modelValue" | "onBlur" | "onFocus" | "onInput" | "onDrop" | "onInputBoxWitdhChange", {
|
|
506
505
|
class: string;
|
|
507
|
-
style: string | import(
|
|
506
|
+
style: string | import("vue").CSSProperties;
|
|
508
507
|
language: string;
|
|
509
508
|
modelValue: string;
|
|
510
|
-
theme: import(
|
|
509
|
+
theme: import("..").Themes;
|
|
511
510
|
editorId: string;
|
|
512
511
|
showCodeRowNumber: boolean;
|
|
513
512
|
previewTheme: string;
|
|
514
|
-
mdHeadingId: import(
|
|
513
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
515
514
|
sanitize: (html: string) => string;
|
|
516
515
|
noMermaid: boolean;
|
|
517
516
|
noKatex: boolean;
|
|
@@ -521,11 +520,11 @@ declare const _default: {
|
|
|
521
520
|
codeStyleReverseList: string[];
|
|
522
521
|
noHighlight: boolean;
|
|
523
522
|
noImgZoomIn: boolean;
|
|
524
|
-
customIcon: import(
|
|
523
|
+
customIcon: import("..").CustomIcon;
|
|
525
524
|
sanitizeMermaid: (h: string) => Promise<string>;
|
|
526
525
|
codeFoldable: boolean;
|
|
527
526
|
autoFoldThreshold: number;
|
|
528
|
-
}, {}, string, {}> & import(
|
|
527
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
529
528
|
install: (app: App) => App;
|
|
530
529
|
};
|
|
531
530
|
export default _default;
|