md-editor-v3 1.11.12 → 2.0.0-beta.0

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/package.json CHANGED
@@ -1,126 +1,132 @@
1
- {
2
- "name": "md-editor-v3",
3
- "version": "1.11.12",
4
- "keywords": [
5
- "vue",
6
- "vue3",
7
- "javascript",
8
- "typescript",
9
- "jsx",
10
- "tsx",
11
- "markdown",
12
- "editor",
13
- "theme",
14
- "html"
15
- ],
16
- "description": "Markdown editor for vue3, developed by jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...",
17
- "author": {
18
- "name": "zbf",
19
- "url": "https://imbf.cc"
20
- },
21
- "homepage": "https://imzbf.github.io/md-editor-v3/",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/imzbf/md-editor-v3.git"
25
- },
26
- "bugs": {
27
- "url": "https://github.com/imzbf/md-editor-v3/issues"
28
- },
29
- "files": [
30
- "lib"
31
- ],
32
- "type": "module",
33
- "types": "./lib/MdEditor/index.d.ts",
34
- "main": "./lib/md-editor-v3.umd.js",
35
- "module": "./lib/md-editor-v3.es.js",
36
- "exports": {
37
- ".": {
38
- "import": "./lib/md-editor-v3.es.js",
39
- "require": "./lib/md-editor-v3.umd.js"
40
- },
41
- "./lib/style.css": "./lib/style.css"
42
- },
43
- "license": "MIT",
44
- "scripts": {
45
- "dev": "vite",
46
- "build": "vue-tsc --noEmit && vite build",
47
- "build:preview": "vue-tsc --noEmit && vite build --mode=preview",
48
- "serve": "vite preview"
49
- },
50
- "devDependencies": {
51
- "@babel/core": "^7.14.6",
52
- "@babel/preset-env": "^7.14.7",
53
- "@types/katex": "^0.11.1",
54
- "@types/marked": "^4.0.1",
55
- "@types/node": "^15.12.5",
56
- "@typescript-eslint/eslint-plugin": "^4.28.0",
57
- "@typescript-eslint/parser": "^4.28.0",
58
- "@vavt/markdown-theme": "^0.0.9",
59
- "@vitejs/plugin-vue": "^1.2.3",
60
- "@vitejs/plugin-vue-jsx": "^1.1.5",
61
- "@vue/compiler-sfc": "^3.0.5",
62
- "@vue/eslint-config-prettier": "^6.0.0",
63
- "@vue/eslint-config-typescript": "^7.0.0",
64
- "axios": "^0.21.1",
65
- "copy-to-clipboard": "^3.3.1",
66
- "eslint": "^7.29.0",
67
- "eslint-plugin-prettier": "^3.4.0",
68
- "eslint-plugin-vue": "^7.12.1",
69
- "highlight.js": "^11.0.1",
70
- "katex": "^0.15.1",
71
- "less": "^4.1.1",
72
- "marked": "^4.0.12",
73
- "mermaid": "^8.13.6",
74
- "multiparty": "^4.2.2",
75
- "prettier": "^2.3.2",
76
- "ts-morph": "^11.0.3",
77
- "typescript": "^4.3.2",
78
- "vite": "^2.3.8",
79
- "vite-plugin-dts": "^0.9.2",
80
- "vue": "^3.2.2",
81
- "vue-tsc": "^0.0.24"
82
- },
83
- "eslintConfig": {
84
- "env": {
85
- "browser": true,
86
- "es2021": true,
87
- "node": true
88
- },
89
- "extends": [
90
- "plugin:vue/vue3-essential",
91
- "eslint:recommended",
92
- "@vue/typescript/recommended",
93
- "@vue/prettier",
94
- "@vue/prettier/@typescript-eslint"
95
- ],
96
- "parser": "@typescript-eslint/parser",
97
- "plugins": [
98
- "@typescript-eslint"
99
- ],
100
- "parserOptions": {
101
- "ecmaVersion": 12,
102
- "sourceType": "module"
103
- },
104
- "rules": {
105
- "@typescript-eslint/explicit-module-boundary-types": "off",
106
- "@typescript-eslint/no-explicit-any": "off",
107
- "@typescript-eslint/no-empty-function": "off"
108
- }
109
- },
110
- "prettier": {
111
- "singleQuote": true,
112
- "trailingComma": "none",
113
- "semi": true,
114
- "printWidth": 90,
115
- "proseWrap": "never",
116
- "endOfLine": "auto"
117
- },
118
- "engines": {
119
- "node": ">=12.0.0"
120
- },
121
- "browserslist": [
122
- "> 1%",
123
- "last 2 versions",
124
- "not dead"
125
- ]
126
- }
1
+ {
2
+ "name": "md-editor-v3",
3
+ "version": "2.0.0-beta.0",
4
+ "keywords": [
5
+ "vue",
6
+ "vue3",
7
+ "javascript",
8
+ "typescript",
9
+ "jsx",
10
+ "tsx",
11
+ "markdown",
12
+ "editor",
13
+ "theme",
14
+ "html"
15
+ ],
16
+ "description": "Markdown editor for vue3, developed by jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...",
17
+ "author": {
18
+ "name": "zbf",
19
+ "url": "https://imbf.cc"
20
+ },
21
+ "homepage": "https://imzbf.github.io/md-editor-v3/",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/imzbf/md-editor-v3.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/imzbf/md-editor-v3/issues"
28
+ },
29
+ "files": [
30
+ "lib"
31
+ ],
32
+ "type": "module",
33
+ "types": "./lib/MdEditor/index.d.ts",
34
+ "main": "./lib/md-editor-v3.umd.js",
35
+ "module": "./lib/md-editor-v3.es.js",
36
+ "exports": {
37
+ ".": {
38
+ "import": "./lib/md-editor-v3.es.js",
39
+ "require": "./lib/md-editor-v3.umd.js"
40
+ },
41
+ "./lib/style.css": "./lib/style.css"
42
+ },
43
+ "license": "MIT",
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "build": "vue-tsc --noEmit && vite build",
47
+ "build:preview": "vue-tsc --noEmit && vite build --mode=preview",
48
+ "serve": "vite preview"
49
+ },
50
+ "dependencies": {
51
+ "@types/marked": "^4.0.3"
52
+ },
53
+ "devDependencies": {
54
+ "@babel/core": "^7.17.10",
55
+ "@babel/preset-env": "^7.17.10",
56
+ "@types/katex": "^0.14.0",
57
+ "@types/mermaid": "^8.2.9",
58
+ "@types/node": "16",
59
+ "@typescript-eslint/eslint-plugin": "^5.23.0",
60
+ "@typescript-eslint/parser": "^5.23.0",
61
+ "@vavt/markdown-theme": "^1.0.0-beta.0",
62
+ "@vitejs/plugin-vue": "^2.3.2",
63
+ "@vitejs/plugin-vue-jsx": "^1.3.10",
64
+ "@vue/compiler-sfc": "^3.2.33",
65
+ "@vue/eslint-config-prettier": "^7.0.0",
66
+ "@vue/eslint-config-typescript": "^10.0.0",
67
+ "axios": "^0.27.2",
68
+ "copy-to-clipboard": "^3.3.1",
69
+ "cropperjs": "^1.5.12",
70
+ "eslint": "^8.15.0",
71
+ "eslint-plugin-prettier": "^4.0.0",
72
+ "eslint-plugin-vue": "^8.7.1",
73
+ "highlight.js": "^11.0.1",
74
+ "katex": "^0.15.1",
75
+ "less": "^4.1.1",
76
+ "marked": "^4.0.15",
77
+ "medium-zoom": "^1.0.6",
78
+ "mermaid": "^9.1.0",
79
+ "multiparty": "^4.2.2",
80
+ "prettier": "^2.3.2",
81
+ "screenfull": "^6.0.1",
82
+ "ts-morph": "^14.0.0",
83
+ "typescript": "^4.6.4",
84
+ "vite": "^2.9.8",
85
+ "vite-plugin-dts": "^0.9.2",
86
+ "vue": "^3.2.33",
87
+ "vue-tsc": "^0.34.12"
88
+ },
89
+ "eslintConfig": {
90
+ "env": {
91
+ "browser": true,
92
+ "es2021": true,
93
+ "node": true
94
+ },
95
+ "extends": [
96
+ "plugin:vue/vue3-essential",
97
+ "eslint:recommended",
98
+ "@vue/typescript/recommended",
99
+ "@vue/prettier",
100
+ "@vue/prettier/@typescript-eslint"
101
+ ],
102
+ "parser": "@typescript-eslint/parser",
103
+ "plugins": [
104
+ "@typescript-eslint"
105
+ ],
106
+ "parserOptions": {
107
+ "ecmaVersion": 12,
108
+ "sourceType": "module"
109
+ },
110
+ "rules": {
111
+ "@typescript-eslint/explicit-module-boundary-types": "off",
112
+ "@typescript-eslint/no-explicit-any": "off",
113
+ "@typescript-eslint/no-empty-function": "off"
114
+ }
115
+ },
116
+ "prettier": {
117
+ "singleQuote": true,
118
+ "trailingComma": "none",
119
+ "semi": true,
120
+ "printWidth": 90,
121
+ "proseWrap": "never",
122
+ "endOfLine": "auto"
123
+ },
124
+ "engines": {
125
+ "node": ">=12.0.0"
126
+ },
127
+ "browserslist": [
128
+ "> 1%",
129
+ "last 2 versions",
130
+ "not dead"
131
+ ]
132
+ }
@@ -1,42 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- title: {
4
- type: PropType<string>;
5
- default: string;
6
- };
7
- visible: {
8
- type: PropType<boolean>;
9
- };
10
- trigger: {
11
- type: PropType<string | JSX.Element>;
12
- };
13
- onChange: {
14
- type: PropType<(visible: boolean) => void>;
15
- default: () => () => void;
16
- };
17
- overlay: {
18
- type: PropType<string | JSX.Element>;
19
- };
20
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- title: {
22
- type: PropType<string>;
23
- default: string;
24
- };
25
- visible: {
26
- type: PropType<boolean>;
27
- };
28
- trigger: {
29
- type: PropType<string | JSX.Element>;
30
- };
31
- onChange: {
32
- type: PropType<(visible: boolean) => void>;
33
- default: () => () => void;
34
- };
35
- overlay: {
36
- type: PropType<string | JSX.Element>;
37
- };
38
- }>>, {
39
- title: string;
40
- onChange: (visible: boolean) => void;
41
- }>;
42
- export default _default;