md-editor-v3 4.13.2 → 4.13.3

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.
Files changed (51) hide show
  1. package/lib/cjs/MdEditor.cjs +17 -4
  2. package/lib/cjs/chunks/index2.cjs +10 -2
  3. package/lib/es/MdEditor.mjs +17 -4
  4. package/lib/es/chunks/index2.mjs +10 -2
  5. package/lib/preview.css +1 -1
  6. package/lib/style.css +1 -1
  7. package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +17 -9
  8. package/lib/types/DropdownToolbar/index.d.ts +112 -126
  9. package/lib/types/MdCatalog/CatalogLink.d.ts +2 -2
  10. package/lib/types/MdCatalog/MdCatalog.d.ts +2 -2
  11. package/lib/types/MdCatalog/index.d.ts +114 -144
  12. package/lib/types/MdEditor/Editor.d.ts +129 -121
  13. package/lib/types/MdEditor/components/Checkbox/index.d.ts +2 -2
  14. package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
  15. package/lib/types/MdEditor/components/Dropdown/index.d.ts +13 -7
  16. package/lib/types/MdEditor/components/Icon/Icon.d.ts +2 -2
  17. package/lib/types/MdEditor/components/Icon/index.d.ts +4 -2
  18. package/lib/types/MdEditor/components/Modal/Modal.d.ts +2 -2
  19. package/lib/types/MdEditor/components/Modal/index.d.ts +133 -163
  20. package/lib/types/MdEditor/components/Popper/index.d.ts +2 -2
  21. package/lib/types/MdEditor/index.d.ts +643 -657
  22. package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +31 -31
  23. package/lib/types/MdEditor/layouts/Content/composition/useHighlight.d.ts +1 -1
  24. package/lib/types/MdEditor/layouts/Content/composition/useKatex.d.ts +1 -1
  25. package/lib/types/MdEditor/layouts/Content/composition/useMermaid.d.ts +1 -1
  26. package/lib/types/MdEditor/layouts/Content/index.d.ts +72 -72
  27. package/lib/types/MdEditor/layouts/Content/markdownIt/admonition/index.d.ts +2 -0
  28. package/lib/types/MdEditor/layouts/Content/markdownIt/codetabs/index.d.ts +1 -1
  29. package/lib/types/MdEditor/layouts/Content/markdownIt/heading/index.d.ts +1 -1
  30. package/lib/types/MdEditor/layouts/Content/markdownIt/katex/index.d.ts +1 -0
  31. package/lib/types/MdEditor/layouts/Content/markdownIt/mermaid/index.d.ts +1 -0
  32. package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +2 -2
  33. package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +2 -2
  34. package/lib/types/MdEditor/layouts/Footer/index.d.ts +4 -4
  35. package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +2 -2
  36. package/lib/types/MdEditor/layouts/Modals/Link.d.ts +2 -2
  37. package/lib/types/MdEditor/layouts/Modals/index.d.ts +2 -2
  38. package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +2 -2
  39. package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +24 -24
  40. package/lib/types/MdEditor/props.d.ts +7 -3
  41. package/lib/types/MdEditor/type.d.ts +3 -3
  42. package/lib/types/MdEditor/utils/dom.d.ts +1 -1
  43. package/lib/types/MdEditor/utils/vue-tsx.d.ts +2 -11
  44. package/lib/types/MdPreview/MdPreview.d.ts +52 -52
  45. package/lib/types/MdPreview/index.d.ts +310 -340
  46. package/lib/types/ModalToolbar/ModalToolbar.d.ts +9 -5
  47. package/lib/types/ModalToolbar/index.d.ts +168 -190
  48. package/lib/types/NormalToolbar/NormalToolbar.d.ts +9 -5
  49. package/lib/types/NormalToolbar/index.d.ts +80 -102
  50. package/lib/umd/index.js +48 -42
  51. package/package.json +18 -18
@@ -1,298 +1,13 @@
1
1
  import { App } from 'vue';
2
2
 
3
3
  declare const _default: {
4
- new (...args: any[]): {
5
- $: import('vue').ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- class: string;
9
- style: string | import('vue').CSSProperties;
10
- language: string;
11
- modelValue: string;
12
- theme: import('..').Themes;
13
- editorId: string;
14
- showCodeRowNumber: boolean;
15
- previewTheme: string;
16
- mdHeadingId: import('..').MdHeadingId;
17
- sanitize: (html: string) => string;
18
- noMermaid: boolean;
19
- noKatex: boolean;
20
- codeTheme: string;
21
- formatCopiedText: (text: string) => string;
22
- codeStyleReverse: boolean;
23
- codeStyleReverseList: string[];
24
- noHighlight: boolean;
25
- noImgZoomIn: boolean;
26
- customIcon: import('..').CustomIcon;
27
- sanitizeMermaid: (h: string) => Promise<string>;
28
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
29
- modelValue: {
30
- type: import("vue").PropType<string>;
31
- default: string;
32
- };
33
- theme: {
34
- type: import("vue").PropType<import("..").Themes>;
35
- default: string;
36
- };
37
- class: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- language: {
42
- type: import("vue").PropType<string>;
43
- default: string;
44
- };
45
- onHtmlChanged: {
46
- type: import("vue").PropType<import("..").HtmlChangedEvent>;
47
- };
48
- onGetCatalog: {
49
- type: import("vue").PropType<import("..").GetCatalogEvent>;
50
- };
51
- editorId: {
52
- type: import("vue").PropType<string>;
53
- default: () => string;
54
- };
55
- showCodeRowNumber: {
56
- type: import("vue").PropType<boolean>;
57
- default: boolean;
58
- };
59
- previewTheme: {
60
- type: import("vue").PropType<string>;
61
- default: string;
62
- };
63
- style: {
64
- type: import("vue").PropType<string | import("vue").CSSProperties>;
65
- default: () => {};
66
- };
67
- mdHeadingId: {
68
- type: import("vue").PropType<import("..").MdHeadingId>;
69
- default: import("..").MdHeadingId;
70
- };
71
- sanitize: {
72
- type: import("vue").PropType<(html: string) => string>;
73
- default: (html: string) => string;
74
- };
75
- noMermaid: {
76
- type: import("vue").PropType<boolean>;
77
- default: boolean;
78
- };
79
- noKatex: {
80
- type: import("vue").PropType<boolean>;
81
- default: boolean;
82
- };
83
- codeTheme: {
84
- type: import("vue").PropType<string>;
85
- default: string;
86
- };
87
- noIconfont: {
88
- type: import("vue").PropType<boolean>;
89
- };
90
- formatCopiedText: {
91
- type: import("vue").PropType<(text: string) => string>;
92
- default: (text: string) => string;
93
- };
94
- codeStyleReverse: {
95
- type: import("vue").PropType<boolean>;
96
- default: boolean;
97
- };
98
- codeStyleReverseList: {
99
- type: import("vue").PropType<string[]>;
100
- default: string[];
101
- };
102
- noHighlight: {
103
- type: import("vue").PropType<boolean>;
104
- default: boolean;
105
- };
106
- noImgZoomIn: {
107
- type: import("vue").PropType<boolean>;
108
- default: boolean;
109
- };
110
- customIcon: {
111
- type: import("vue").PropType<import("..").CustomIcon>;
112
- default: {};
113
- };
114
- sanitizeMermaid: {
115
- type: import("vue").PropType<(h: string) => Promise<string>>;
116
- default: (h: string) => Promise<string>;
117
- };
118
- }>> & {
119
- onOnChange?: ((...args: any[]) => any) | undefined;
120
- onOnSave?: ((...args: any[]) => any) | undefined;
121
- onOnUploadImg?: ((...args: any[]) => any) | undefined;
122
- onOnHtmlChanged?: ((...args: any[]) => any) | undefined;
123
- onOnGetCatalog?: ((...args: any[]) => any) | undefined;
124
- onOnError?: ((...args: any[]) => any) | undefined;
125
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
126
- onOnBlur?: ((...args: any[]) => any) | undefined;
127
- onOnFocus?: ((...args: any[]) => any) | undefined;
128
- onOnInput?: ((...args: any[]) => any) | undefined;
129
- onOnDrop?: ((...args: any[]) => any) | undefined;
130
- onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
131
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "class" | "style" | "language" | "modelValue" | "theme" | "editorId" | "showCodeRowNumber" | "previewTheme" | "mdHeadingId" | "sanitize" | "noMermaid" | "noKatex" | "codeTheme" | "formatCopiedText" | "codeStyleReverse" | "codeStyleReverseList" | "noHighlight" | "noImgZoomIn" | "customIcon" | "sanitizeMermaid">;
132
- $attrs: {
133
- [x: string]: unknown;
134
- };
135
- $refs: {
136
- [x: string]: unknown;
137
- };
138
- $slots: Readonly<{
139
- [name: string]: import('vue').Slot | undefined;
140
- }>;
141
- $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
142
- $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
143
- $emit: (event: "onChange" | "onSave" | "onUploadImg" | "onHtmlChanged" | "onGetCatalog" | "onError" | "update:modelValue" | "onBlur" | "onFocus" | "onInput" | "onDrop" | "onInputBoxWitdhChange", ...args: any[]) => void;
144
- $el: any;
145
- $options: import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
146
- modelValue: {
147
- type: import("vue").PropType<string>;
148
- default: string;
149
- };
150
- theme: {
151
- type: import("vue").PropType<import("..").Themes>;
152
- default: string;
153
- };
154
- class: {
155
- type: StringConstructor;
156
- default: string;
157
- };
158
- language: {
159
- type: import("vue").PropType<string>;
160
- default: string;
161
- };
162
- onHtmlChanged: {
163
- type: import("vue").PropType<import("..").HtmlChangedEvent>;
164
- };
165
- onGetCatalog: {
166
- type: import("vue").PropType<import("..").GetCatalogEvent>;
167
- };
168
- editorId: {
169
- type: import("vue").PropType<string>;
170
- default: () => string;
171
- };
172
- showCodeRowNumber: {
173
- type: import("vue").PropType<boolean>;
174
- default: boolean;
175
- };
176
- previewTheme: {
177
- type: import("vue").PropType<string>;
178
- default: string;
179
- };
180
- style: {
181
- type: import("vue").PropType<string | import("vue").CSSProperties>;
182
- default: () => {};
183
- };
184
- mdHeadingId: {
185
- type: import("vue").PropType<import("..").MdHeadingId>;
186
- default: import("..").MdHeadingId;
187
- };
188
- sanitize: {
189
- type: import("vue").PropType<(html: string) => string>;
190
- default: (html: string) => string;
191
- };
192
- noMermaid: {
193
- type: import("vue").PropType<boolean>;
194
- default: boolean;
195
- };
196
- noKatex: {
197
- type: import("vue").PropType<boolean>;
198
- default: boolean;
199
- };
200
- codeTheme: {
201
- type: import("vue").PropType<string>;
202
- default: string;
203
- };
204
- noIconfont: {
205
- type: import("vue").PropType<boolean>;
206
- };
207
- formatCopiedText: {
208
- type: import("vue").PropType<(text: string) => string>;
209
- default: (text: string) => string;
210
- };
211
- codeStyleReverse: {
212
- type: import("vue").PropType<boolean>;
213
- default: boolean;
214
- };
215
- codeStyleReverseList: {
216
- type: import("vue").PropType<string[]>;
217
- default: string[];
218
- };
219
- noHighlight: {
220
- type: import("vue").PropType<boolean>;
221
- default: boolean;
222
- };
223
- noImgZoomIn: {
224
- type: import("vue").PropType<boolean>;
225
- default: boolean;
226
- };
227
- customIcon: {
228
- type: import("vue").PropType<import("..").CustomIcon>;
229
- default: {};
230
- };
231
- sanitizeMermaid: {
232
- type: import("vue").PropType<(h: string) => Promise<string>>;
233
- default: (h: string) => Promise<string>;
234
- };
235
- }>> & {
236
- onOnChange?: ((...args: any[]) => any) | undefined;
237
- onOnSave?: ((...args: any[]) => any) | undefined;
238
- onOnUploadImg?: ((...args: any[]) => any) | undefined;
239
- onOnHtmlChanged?: ((...args: any[]) => any) | undefined;
240
- onOnGetCatalog?: ((...args: any[]) => any) | undefined;
241
- onOnError?: ((...args: any[]) => any) | undefined;
242
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
243
- onOnBlur?: ((...args: any[]) => any) | undefined;
244
- onOnFocus?: ((...args: any[]) => any) | undefined;
245
- onOnInput?: ((...args: any[]) => any) | undefined;
246
- onOnDrop?: ((...args: any[]) => any) | undefined;
247
- onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
248
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("..").EditorEmits, string, {
249
- class: string;
250
- style: string | import("vue").CSSProperties;
251
- language: string;
252
- modelValue: string;
253
- theme: import("..").Themes;
254
- editorId: string;
255
- showCodeRowNumber: boolean;
256
- previewTheme: string;
257
- mdHeadingId: import("..").MdHeadingId;
258
- sanitize: (html: string) => string;
259
- noMermaid: boolean;
260
- noKatex: boolean;
261
- codeTheme: string;
262
- formatCopiedText: (text: string) => string;
263
- codeStyleReverse: boolean;
264
- codeStyleReverseList: string[];
265
- noHighlight: boolean;
266
- noImgZoomIn: boolean;
267
- customIcon: import("..").CustomIcon;
268
- sanitizeMermaid: (h: string) => Promise<string>;
269
- }, {}, string> & {
270
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
271
- created?: ((() => void) | (() => void)[]) | undefined;
272
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
273
- mounted?: ((() => void) | (() => void)[]) | undefined;
274
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
275
- updated?: ((() => void) | (() => void)[]) | undefined;
276
- activated?: ((() => void) | (() => void)[]) | undefined;
277
- deactivated?: ((() => void) | (() => void)[]) | undefined;
278
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
279
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
280
- destroyed?: ((() => void) | (() => void)[]) | undefined;
281
- unmounted?: ((() => void) | (() => void)[]) | undefined;
282
- renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
283
- renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
284
- 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;
285
- };
286
- $forceUpdate: () => void;
287
- $nextTick: typeof import('vue').nextTick;
288
- $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;
289
- } & Readonly<import('vue').ExtractPropTypes<{
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
290
5
  modelValue: {
291
- type: import("vue").PropType<string>;
6
+ type: import('vue').PropType<string>;
292
7
  default: string;
293
8
  };
294
9
  theme: {
295
- type: import("vue").PropType<import("..").Themes>;
10
+ type: import('vue').PropType<import('..').Themes>;
296
11
  default: string;
297
12
  };
298
13
  class: {
@@ -300,80 +15,80 @@ declare const _default: {
300
15
  default: string;
301
16
  };
302
17
  language: {
303
- type: import("vue").PropType<string>;
18
+ type: import('vue').PropType<string>;
304
19
  default: string;
305
20
  };
306
21
  onHtmlChanged: {
307
- type: import("vue").PropType<import("..").HtmlChangedEvent>;
22
+ type: import('vue').PropType<import('..').HtmlChangedEvent>;
308
23
  };
309
24
  onGetCatalog: {
310
- type: import("vue").PropType<import("..").GetCatalogEvent>;
25
+ type: import('vue').PropType<import('..').GetCatalogEvent>;
311
26
  };
312
27
  editorId: {
313
- type: import("vue").PropType<string>;
28
+ type: import('vue').PropType<string>;
314
29
  default: () => string;
315
30
  };
316
31
  showCodeRowNumber: {
317
- type: import("vue").PropType<boolean>;
32
+ type: import('vue').PropType<boolean>;
318
33
  default: boolean;
319
34
  };
320
35
  previewTheme: {
321
- type: import("vue").PropType<string>;
36
+ type: import('vue').PropType<string>;
322
37
  default: string;
323
38
  };
324
39
  style: {
325
- type: import("vue").PropType<string | import("vue").CSSProperties>;
40
+ type: import('vue').PropType<string | import('vue').CSSProperties>;
326
41
  default: () => {};
327
42
  };
328
43
  mdHeadingId: {
329
- type: import("vue").PropType<import("..").MdHeadingId>;
330
- default: import("..").MdHeadingId;
44
+ type: import('vue').PropType<import('..').MdHeadingId>;
45
+ default: import('..').MdHeadingId;
331
46
  };
332
47
  sanitize: {
333
- type: import("vue").PropType<(html: string) => string>;
48
+ type: import('vue').PropType<(html: string) => string>;
334
49
  default: (html: string) => string;
335
50
  };
336
51
  noMermaid: {
337
- type: import("vue").PropType<boolean>;
52
+ type: import('vue').PropType<boolean>;
338
53
  default: boolean;
339
54
  };
340
55
  noKatex: {
341
- type: import("vue").PropType<boolean>;
56
+ type: import('vue').PropType<boolean>;
342
57
  default: boolean;
343
58
  };
344
59
  codeTheme: {
345
- type: import("vue").PropType<string>;
60
+ type: import('vue').PropType<string>;
346
61
  default: string;
347
62
  };
348
63
  noIconfont: {
349
- type: import("vue").PropType<boolean>;
64
+ type: import('vue').PropType<boolean>;
350
65
  };
351
66
  formatCopiedText: {
352
- type: import("vue").PropType<(text: string) => string>;
67
+ type: import('vue').PropType<(text: string) => string>;
353
68
  default: (text: string) => string;
354
69
  };
355
70
  codeStyleReverse: {
356
- type: import("vue").PropType<boolean>;
71
+ type: import('vue').PropType<boolean>;
357
72
  default: boolean;
358
73
  };
359
74
  codeStyleReverseList: {
360
- type: import("vue").PropType<string[]>;
75
+ type: import('vue').PropType<string[]>;
361
76
  default: string[];
362
77
  };
363
78
  noHighlight: {
364
- type: import("vue").PropType<boolean>;
79
+ type: import('vue').PropType<boolean>;
365
80
  default: boolean;
366
81
  };
367
82
  noImgZoomIn: {
368
- type: import("vue").PropType<boolean>;
83
+ type: import('vue').PropType<boolean>;
369
84
  default: boolean;
370
85
  };
371
86
  customIcon: {
372
- type: import("vue").PropType<import("..").CustomIcon>;
87
+ type: import('vue').PropType<import('..').CustomIcon>;
373
88
  default: {};
374
89
  };
375
90
  sanitizeMermaid: {
376
- type: import("vue").PropType<(h: string) => Promise<string>>;
91
+ type: import('vue').PropType<(h: string) => Promise<string>>;
377
92
  default: (h: string) => Promise<string>;
378
93
  };
379
94
  }>> & {
@@ -389,17 +104,272 @@ declare const _default: {
389
104
  onOnInput?: ((...args: any[]) => any) | undefined;
390
105
  onOnDrop?: ((...args: any[]) => any) | undefined;
391
106
  onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
392
- } & import('vue').ShallowUnwrapRef<() => JSX.Element> & {} & import('vue').ComponentCustomProperties & {};
107
+ }, () => 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<{
108
+ modelValue: {
109
+ type: import('vue').PropType<string>;
110
+ default: string;
111
+ };
112
+ theme: {
113
+ type: import('vue').PropType<import('..').Themes>;
114
+ default: string;
115
+ };
116
+ class: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ language: {
121
+ type: import('vue').PropType<string>;
122
+ default: string;
123
+ };
124
+ onHtmlChanged: {
125
+ type: import('vue').PropType<import('..').HtmlChangedEvent>;
126
+ };
127
+ onGetCatalog: {
128
+ type: import('vue').PropType<import('..').GetCatalogEvent>;
129
+ };
130
+ editorId: {
131
+ type: import('vue').PropType<string>;
132
+ default: () => string;
133
+ };
134
+ showCodeRowNumber: {
135
+ type: import('vue').PropType<boolean>;
136
+ default: boolean;
137
+ };
138
+ previewTheme: {
139
+ type: import('vue').PropType<string>;
140
+ default: string;
141
+ };
142
+ style: {
143
+ type: import('vue').PropType<string | import('vue').CSSProperties>;
144
+ default: () => {};
145
+ };
146
+ mdHeadingId: {
147
+ type: import('vue').PropType<import('..').MdHeadingId>;
148
+ default: import('..').MdHeadingId;
149
+ };
150
+ sanitize: {
151
+ type: import('vue').PropType<(html: string) => string>;
152
+ default: (html: string) => string;
153
+ };
154
+ noMermaid: {
155
+ type: import('vue').PropType<boolean>;
156
+ default: boolean;
157
+ };
158
+ noKatex: {
159
+ type: import('vue').PropType<boolean>;
160
+ default: boolean;
161
+ };
162
+ codeTheme: {
163
+ type: import('vue').PropType<string>;
164
+ default: string;
165
+ };
166
+ noIconfont: {
167
+ type: import('vue').PropType<boolean>;
168
+ };
169
+ formatCopiedText: {
170
+ type: import('vue').PropType<(text: string) => string>;
171
+ default: (text: string) => string;
172
+ };
173
+ codeStyleReverse: {
174
+ type: import('vue').PropType<boolean>;
175
+ default: boolean;
176
+ };
177
+ codeStyleReverseList: {
178
+ type: import('vue').PropType<string[]>;
179
+ default: string[];
180
+ };
181
+ noHighlight: {
182
+ type: import('vue').PropType<boolean>;
183
+ default: boolean;
184
+ };
185
+ noImgZoomIn: {
186
+ type: import('vue').PropType<boolean>;
187
+ default: boolean;
188
+ };
189
+ customIcon: {
190
+ type: import('vue').PropType<import('..').CustomIcon>;
191
+ default: {};
192
+ };
193
+ sanitizeMermaid: {
194
+ type: import('vue').PropType<(h: string) => Promise<string>>;
195
+ default: (h: string) => Promise<string>;
196
+ };
197
+ }>> & {
198
+ onOnChange?: ((...args: any[]) => any) | undefined;
199
+ onOnSave?: ((...args: any[]) => any) | undefined;
200
+ onOnUploadImg?: ((...args: any[]) => any) | undefined;
201
+ onOnHtmlChanged?: ((...args: any[]) => any) | undefined;
202
+ onOnGetCatalog?: ((...args: any[]) => any) | undefined;
203
+ onOnError?: ((...args: any[]) => any) | undefined;
204
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
205
+ onOnBlur?: ((...args: any[]) => any) | undefined;
206
+ onOnFocus?: ((...args: any[]) => any) | undefined;
207
+ onOnInput?: ((...args: any[]) => any) | undefined;
208
+ onOnDrop?: ((...args: any[]) => any) | undefined;
209
+ onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
210
+ }, {
211
+ class: string;
212
+ style: string | import('vue').CSSProperties;
213
+ language: string;
214
+ modelValue: string;
215
+ theme: import('..').Themes;
216
+ editorId: string;
217
+ showCodeRowNumber: boolean;
218
+ previewTheme: string;
219
+ mdHeadingId: import('..').MdHeadingId;
220
+ sanitize: (html: string) => string;
221
+ noMermaid: boolean;
222
+ noKatex: boolean;
223
+ codeTheme: string;
224
+ formatCopiedText: (text: string) => string;
225
+ codeStyleReverse: boolean;
226
+ codeStyleReverseList: string[];
227
+ noHighlight: boolean;
228
+ noImgZoomIn: boolean;
229
+ customIcon: import('..').CustomIcon;
230
+ sanitizeMermaid: (h: string) => Promise<string>;
231
+ }, true, {}, {}, {
232
+ P: {};
233
+ B: {};
234
+ D: {};
235
+ C: {};
236
+ M: {};
237
+ Defaults: {};
238
+ }, Readonly<import('vue').ExtractPropTypes<{
239
+ modelValue: {
240
+ type: import('vue').PropType<string>;
241
+ default: string;
242
+ };
243
+ theme: {
244
+ type: import('vue').PropType<import('..').Themes>;
245
+ default: string;
246
+ };
247
+ class: {
248
+ type: StringConstructor;
249
+ default: string;
250
+ };
251
+ language: {
252
+ type: import('vue').PropType<string>;
253
+ default: string;
254
+ };
255
+ onHtmlChanged: {
256
+ type: import('vue').PropType<import('..').HtmlChangedEvent>;
257
+ };
258
+ onGetCatalog: {
259
+ type: import('vue').PropType<import('..').GetCatalogEvent>;
260
+ };
261
+ editorId: {
262
+ type: import('vue').PropType<string>;
263
+ default: () => string;
264
+ };
265
+ showCodeRowNumber: {
266
+ type: import('vue').PropType<boolean>;
267
+ default: boolean;
268
+ };
269
+ previewTheme: {
270
+ type: import('vue').PropType<string>;
271
+ default: string;
272
+ };
273
+ style: {
274
+ type: import('vue').PropType<string | import('vue').CSSProperties>;
275
+ default: () => {};
276
+ };
277
+ mdHeadingId: {
278
+ type: import('vue').PropType<import('..').MdHeadingId>;
279
+ default: import('..').MdHeadingId;
280
+ };
281
+ sanitize: {
282
+ type: import('vue').PropType<(html: string) => string>;
283
+ default: (html: string) => string;
284
+ };
285
+ noMermaid: {
286
+ type: import('vue').PropType<boolean>;
287
+ default: boolean;
288
+ };
289
+ noKatex: {
290
+ type: import('vue').PropType<boolean>;
291
+ default: boolean;
292
+ };
293
+ codeTheme: {
294
+ type: import('vue').PropType<string>;
295
+ default: string;
296
+ };
297
+ noIconfont: {
298
+ type: import('vue').PropType<boolean>;
299
+ };
300
+ formatCopiedText: {
301
+ type: import('vue').PropType<(text: string) => string>;
302
+ default: (text: string) => string;
303
+ };
304
+ codeStyleReverse: {
305
+ type: import('vue').PropType<boolean>;
306
+ default: boolean;
307
+ };
308
+ codeStyleReverseList: {
309
+ type: import('vue').PropType<string[]>;
310
+ default: string[];
311
+ };
312
+ noHighlight: {
313
+ type: import('vue').PropType<boolean>;
314
+ default: boolean;
315
+ };
316
+ noImgZoomIn: {
317
+ type: import('vue').PropType<boolean>;
318
+ default: boolean;
319
+ };
320
+ customIcon: {
321
+ type: import('vue').PropType<import('..').CustomIcon>;
322
+ default: {};
323
+ };
324
+ sanitizeMermaid: {
325
+ type: import('vue').PropType<(h: string) => Promise<string>>;
326
+ default: (h: string) => Promise<string>;
327
+ };
328
+ }>> & {
329
+ onOnChange?: ((...args: any[]) => any) | undefined;
330
+ onOnSave?: ((...args: any[]) => any) | undefined;
331
+ onOnUploadImg?: ((...args: any[]) => any) | undefined;
332
+ onOnHtmlChanged?: ((...args: any[]) => any) | undefined;
333
+ onOnGetCatalog?: ((...args: any[]) => any) | undefined;
334
+ onOnError?: ((...args: any[]) => any) | undefined;
335
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
336
+ onOnBlur?: ((...args: any[]) => any) | undefined;
337
+ onOnFocus?: ((...args: any[]) => any) | undefined;
338
+ onOnInput?: ((...args: any[]) => any) | undefined;
339
+ onOnDrop?: ((...args: any[]) => any) | undefined;
340
+ onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
341
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
342
+ class: string;
343
+ style: string | import('vue').CSSProperties;
344
+ language: string;
345
+ modelValue: string;
346
+ theme: import('..').Themes;
347
+ editorId: string;
348
+ showCodeRowNumber: boolean;
349
+ previewTheme: string;
350
+ mdHeadingId: import('..').MdHeadingId;
351
+ sanitize: (html: string) => string;
352
+ noMermaid: boolean;
353
+ noKatex: boolean;
354
+ codeTheme: string;
355
+ formatCopiedText: (text: string) => string;
356
+ codeStyleReverse: boolean;
357
+ codeStyleReverseList: string[];
358
+ noHighlight: boolean;
359
+ noImgZoomIn: boolean;
360
+ customIcon: import('..').CustomIcon;
361
+ sanitizeMermaid: (h: string) => Promise<string>;
362
+ }>;
393
363
  __isFragment?: undefined;
394
364
  __isTeleport?: undefined;
395
365
  __isSuspense?: undefined;
396
- } & import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
366
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
397
367
  modelValue: {
398
- type: import("vue").PropType<string>;
368
+ type: import('vue').PropType<string>;
399
369
  default: string;
400
370
  };
401
371
  theme: {
402
- type: import("vue").PropType<import("..").Themes>;
372
+ type: import('vue').PropType<import('..').Themes>;
403
373
  default: string;
404
374
  };
405
375
  class: {
@@ -407,80 +377,80 @@ declare const _default: {
407
377
  default: string;
408
378
  };
409
379
  language: {
410
- type: import("vue").PropType<string>;
380
+ type: import('vue').PropType<string>;
411
381
  default: string;
412
382
  };
413
383
  onHtmlChanged: {
414
- type: import("vue").PropType<import("..").HtmlChangedEvent>;
384
+ type: import('vue').PropType<import('..').HtmlChangedEvent>;
415
385
  };
416
386
  onGetCatalog: {
417
- type: import("vue").PropType<import("..").GetCatalogEvent>;
387
+ type: import('vue').PropType<import('..').GetCatalogEvent>;
418
388
  };
419
389
  editorId: {
420
- type: import("vue").PropType<string>;
390
+ type: import('vue').PropType<string>;
421
391
  default: () => string;
422
392
  };
423
393
  showCodeRowNumber: {
424
- type: import("vue").PropType<boolean>;
394
+ type: import('vue').PropType<boolean>;
425
395
  default: boolean;
426
396
  };
427
397
  previewTheme: {
428
- type: import("vue").PropType<string>;
398
+ type: import('vue').PropType<string>;
429
399
  default: string;
430
400
  };
431
401
  style: {
432
- type: import("vue").PropType<string | import("vue").CSSProperties>;
402
+ type: import('vue').PropType<string | import('vue').CSSProperties>;
433
403
  default: () => {};
434
404
  };
435
405
  mdHeadingId: {
436
- type: import("vue").PropType<import("..").MdHeadingId>;
437
- default: import("..").MdHeadingId;
406
+ type: import('vue').PropType<import('..').MdHeadingId>;
407
+ default: import('..').MdHeadingId;
438
408
  };
439
409
  sanitize: {
440
- type: import("vue").PropType<(html: string) => string>;
410
+ type: import('vue').PropType<(html: string) => string>;
441
411
  default: (html: string) => string;
442
412
  };
443
413
  noMermaid: {
444
- type: import("vue").PropType<boolean>;
414
+ type: import('vue').PropType<boolean>;
445
415
  default: boolean;
446
416
  };
447
417
  noKatex: {
448
- type: import("vue").PropType<boolean>;
418
+ type: import('vue').PropType<boolean>;
449
419
  default: boolean;
450
420
  };
451
421
  codeTheme: {
452
- type: import("vue").PropType<string>;
422
+ type: import('vue').PropType<string>;
453
423
  default: string;
454
424
  };
455
425
  noIconfont: {
456
- type: import("vue").PropType<boolean>;
426
+ type: import('vue').PropType<boolean>;
457
427
  };
458
428
  formatCopiedText: {
459
- type: import("vue").PropType<(text: string) => string>;
429
+ type: import('vue').PropType<(text: string) => string>;
460
430
  default: (text: string) => string;
461
431
  };
462
432
  codeStyleReverse: {
463
- type: import("vue").PropType<boolean>;
433
+ type: import('vue').PropType<boolean>;
464
434
  default: boolean;
465
435
  };
466
436
  codeStyleReverseList: {
467
- type: import("vue").PropType<string[]>;
437
+ type: import('vue').PropType<string[]>;
468
438
  default: string[];
469
439
  };
470
440
  noHighlight: {
471
- type: import("vue").PropType<boolean>;
441
+ type: import('vue').PropType<boolean>;
472
442
  default: boolean;
473
443
  };
474
444
  noImgZoomIn: {
475
- type: import("vue").PropType<boolean>;
445
+ type: import('vue').PropType<boolean>;
476
446
  default: boolean;
477
447
  };
478
448
  customIcon: {
479
- type: import("vue").PropType<import("..").CustomIcon>;
449
+ type: import('vue').PropType<import('..').CustomIcon>;
480
450
  default: {};
481
451
  };
482
452
  sanitizeMermaid: {
483
- type: import("vue").PropType<(h: string) => Promise<string>>;
453
+ type: import('vue').PropType<(h: string) => Promise<string>>;
484
454
  default: (h: string) => Promise<string>;
485
455
  };
486
456
  }>> & {
@@ -496,16 +466,16 @@ declare const _default: {
496
466
  onOnInput?: ((...args: any[]) => any) | undefined;
497
467
  onOnDrop?: ((...args: any[]) => any) | undefined;
498
468
  onOnInputBoxWitdhChange?: ((...args: any[]) => any) | undefined;
499
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("..").EditorEmits, "onChange" | "onSave" | "onUploadImg" | "onHtmlChanged" | "onGetCatalog" | "onError" | "update:modelValue" | "onBlur" | "onFocus" | "onInput" | "onDrop" | "onInputBoxWitdhChange", {
469
+ }, () => 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", {
500
470
  class: string;
501
- style: string | import("vue").CSSProperties;
471
+ style: string | import('vue').CSSProperties;
502
472
  language: string;
503
473
  modelValue: string;
504
- theme: import("..").Themes;
474
+ theme: import('..').Themes;
505
475
  editorId: string;
506
476
  showCodeRowNumber: boolean;
507
477
  previewTheme: string;
508
- mdHeadingId: import("..").MdHeadingId;
478
+ mdHeadingId: import('..').MdHeadingId;
509
479
  sanitize: (html: string) => string;
510
480
  noMermaid: boolean;
511
481
  noKatex: boolean;
@@ -515,9 +485,9 @@ declare const _default: {
515
485
  codeStyleReverseList: string[];
516
486
  noHighlight: boolean;
517
487
  noImgZoomIn: boolean;
518
- customIcon: import("..").CustomIcon;
488
+ customIcon: import('..').CustomIcon;
519
489
  sanitizeMermaid: (h: string) => Promise<string>;
520
- }, {}, string> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
490
+ }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
521
491
  install: (app: App) => App;
522
492
  };
523
493
  export default _default;