md-editor-v3 6.5.2 → 6.5.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/MdCatalog.cjs +1 -1
- package/lib/cjs/MdEditor.cjs +2 -2
- package/lib/cjs/MdPreview.cjs +1 -1
- package/lib/cjs/chunks/index3.cjs +1 -65
- package/lib/cjs/chunks/index4.cjs +65 -1
- package/lib/cjs/index.cjs +2 -2
- package/lib/es/MdCatalog.mjs +1 -1
- package/lib/es/MdEditor.mjs +13 -9
- package/lib/es/MdPreview.mjs +1 -1
- package/lib/es/chunks/config.mjs +2 -2
- package/lib/es/chunks/event-bus.mjs +7 -7
- package/lib/es/chunks/index3.mjs +389 -2027
- package/lib/es/chunks/index4.mjs +2018 -378
- package/lib/es/chunks/index5.mjs +2 -2
- package/lib/es/config.mjs +1 -1
- package/lib/es/index.mjs +4 -4
- package/lib/preview.css +13 -2255
- package/lib/style.css +15 -2256
- package/lib/types/index.d.ts +6 -6
- package/package.json +2 -2
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { PropType, VNode, CSSProperties, Component,
|
|
2
|
+
import { PropType, VNode, CSSProperties, Component, SetupContext, ExtractPropTypes, App } from 'vue';
|
|
3
3
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
4
4
|
import * as _codemirror_autocomplete from '@codemirror/autocomplete';
|
|
5
5
|
import { CompletionSource } from '@codemirror/autocomplete';
|
|
@@ -2031,11 +2031,11 @@ declare const _default$b: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2031
2031
|
language: string;
|
|
2032
2032
|
previewTheme: string;
|
|
2033
2033
|
codeTheme: string;
|
|
2034
|
-
onClick: (e: MouseEvent) => void;
|
|
2035
2034
|
trigger: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
2036
2035
|
[key: string]: any;
|
|
2037
2036
|
}>;
|
|
2038
2037
|
insert: () => void;
|
|
2038
|
+
onClick: (e: MouseEvent) => void;
|
|
2039
2039
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2040
2040
|
|
|
2041
2041
|
declare const _default$a: typeof _default$b & {
|
|
@@ -2167,14 +2167,14 @@ declare const _default$9: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2167
2167
|
language: string;
|
|
2168
2168
|
previewTheme: string;
|
|
2169
2169
|
codeTheme: string;
|
|
2170
|
+
visible: boolean;
|
|
2170
2171
|
trigger: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
2171
2172
|
[key: string]: any;
|
|
2172
2173
|
}>;
|
|
2173
|
-
insert: () => void;
|
|
2174
|
-
visible: boolean;
|
|
2175
2174
|
overlay: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
2176
2175
|
[key: string]: any;
|
|
2177
2176
|
}>;
|
|
2177
|
+
insert: () => void;
|
|
2178
2178
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2179
2179
|
|
|
2180
2180
|
declare const _default$8: typeof _default$9 & {
|
|
@@ -2377,12 +2377,12 @@ declare const _default$7: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2377
2377
|
previewTheme: string;
|
|
2378
2378
|
style: string | CSSProperties;
|
|
2379
2379
|
codeTheme: string;
|
|
2380
|
-
|
|
2380
|
+
visible: boolean;
|
|
2381
2381
|
trigger: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
2382
2382
|
[key: string]: any;
|
|
2383
2383
|
}>;
|
|
2384
2384
|
insert: () => void;
|
|
2385
|
-
|
|
2385
|
+
onClick: () => void;
|
|
2386
2386
|
onClose: () => void;
|
|
2387
2387
|
onAdjust: (val: boolean) => void;
|
|
2388
2388
|
modalTitle: string | VNode<vue.RendererNode, vue.RendererElement, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-editor-v3",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"@lucide/vue": "^1.16.0",
|
|
58
58
|
"@types/markdown-it": "^14.0.1",
|
|
59
59
|
"@vavt/copy2clipboard": "^1.0.1",
|
|
60
|
+
"@vavt/markdown-theme": "^5.0.2",
|
|
60
61
|
"@vavt/util": "^2.1.2",
|
|
61
62
|
"codemirror": "^6.0.2",
|
|
62
63
|
"markdown-it": "^14.0.0",
|
|
@@ -74,7 +75,6 @@
|
|
|
74
75
|
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
|
75
76
|
"@typescript-eslint/parser": "^8.43.0",
|
|
76
77
|
"@typescript-eslint/utils": "^8.43.0",
|
|
77
|
-
"@vavt/markdown-theme": "^5.0.2",
|
|
78
78
|
"@vavt/vite-plugin-import-markdown": "^1.0.0",
|
|
79
79
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
80
80
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|