hoeditor-web 3.1.238 → 3.1.239
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/hoeditor.css +1 -1
- package/lib/hoeditor.mjs +12 -0
- package/lib/index-rt3RIHFJ.mjs +87639 -0
- package/lib/index.es-DJ6w8JT_.mjs +6633 -0
- package/package.json +32 -45
- package/lib/demo.html +0 -1
- package/lib/hoeditor.umd.982.js +0 -7846
- package/lib/hoeditor.umd.js +0 -257751
- package/lib/hoeditor.umd.min.982.js +0 -1
- package/lib/hoeditor.umd.min.js +0 -838
- package/lib/img/addIndent.svg +0 -6
- package/lib/img/alignBoth.svg +0 -6
- package/lib/img/alignCenter.svg +0 -6
- package/lib/img/alignLeft.svg +0 -10
- package/lib/img/alignRight.svg +0 -6
- package/lib/img/bold.svg +0 -6
- package/lib/img/character-bottom.svg +0 -1
- package/lib/img/character-top.svg +0 -1
- package/lib/img/character.svg +0 -1
- package/lib/img/clearFormat.svg +0 -9
- package/lib/img/control.svg +0 -1
- package/lib/img/find.svg +0 -12
- package/lib/img/fontSizeDecrease.svg +0 -7
- package/lib/img/fontSizeEnlarge.svg +0 -8
- package/lib/img/fontSubScript.svg +0 -6
- package/lib/img/fontSuperScript.svg +0 -6
- package/lib/img/formatPaint.svg +0 -1
- package/lib/img/italic.svg +0 -6
- package/lib/img/l-b-z-1-1.png +0 -0
- package/lib/img/l-b-z-2-1.png +0 -0
- package/lib/img/l-b-z-3-1.png +0 -0
- package/lib/img/l-b-z-4-1.png +0 -0
- package/lib/img/l-b-z-5-1.png +0 -0
- package/lib/img/l-b-z-6-1.png +0 -0
- package/lib/img/l-b-z-7-1.png +0 -0
- package/lib/img/l-b-z-8-1.png +0 -0
- package/lib/img/l-t-z-1-1.png +0 -0
- package/lib/img/l-t-z-2-1.png +0 -0
- package/lib/img/l-t-z-3-1.png +0 -0
- package/lib/img/l-t-z-4-1.png +0 -0
- package/lib/img/l-t-z-5-1.png +0 -0
- package/lib/img/l-t-z-6-1.png +0 -0
- package/lib/img/l-t-z-7-1.png +0 -0
- package/lib/img/l-t-z-8-1.png +0 -0
- package/lib/img/localHistory.svg +0 -1
- package/lib/img/r-b-z-1-1.png +0 -0
- package/lib/img/r-b-z-2-1.png +0 -0
- package/lib/img/r-b-z-3-1.png +0 -0
- package/lib/img/r-b-z-4-1.png +0 -0
- package/lib/img/r-b-z-5-1.png +0 -0
- package/lib/img/r-b-z-6-1.png +0 -0
- package/lib/img/r-b-z-7-1.png +0 -0
- package/lib/img/r-b-z-8-1.png +0 -0
- package/lib/img/r-t-z-1-1.png +0 -0
- package/lib/img/r-t-z-2-1.png +0 -0
- package/lib/img/r-t-z-3-1.png +0 -0
- package/lib/img/r-t-z-4-1.png +0 -0
- package/lib/img/r-t-z-5-1.png +0 -0
- package/lib/img/r-t-z-6-1.png +0 -0
- package/lib/img/r-t-z-7-1.png +0 -0
- package/lib/img/r-t-z-8-1.png +0 -0
- package/lib/img/reDoOperate.svg +0 -6
- package/lib/img/strikeout.svg +0 -6
- package/lib/img/table.svg +0 -1
- package/lib/img/transparent.svg +0 -1
- package/lib/img/unDoOperate.svg +0 -6
- package/lib/img/underline.svg +0 -6
package/package.json
CHANGED
|
@@ -1,87 +1,74 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hoeditor-web",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.239",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "lib/hoeditor.
|
|
5
|
+
"main": "lib/hoeditor.mjs",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"build": "vue-cli-service build --no-module",
|
|
10
|
-
"analyze": "vue-cli-service build --no-module --report",
|
|
11
|
-
"test:unit": "vue-cli-service test:unit",
|
|
12
|
-
"lint": "vue-cli-service lint",
|
|
13
|
-
"createDoc": "typedoc src/HOEditorFactory.ts src/editor --out ../../hoeditor-demo/doc/ --exclude [**/node_modules/**/*.*,'**/tests/**/*'] --excludeExternals true --excludePrivate",
|
|
8
|
+
"dev": "vite --force --host --port 8079",
|
|
14
9
|
"test": "node_modules/mocha/bin/mocha --reporter spec --require ts-node/register tests/unit/*.test.ts",
|
|
15
|
-
"
|
|
16
|
-
"lib:report": "vue-cli-service build --inline-lib --dest lib --report --report-json --target lib --name hoeditor src/index.ts",
|
|
17
|
-
"libts": "tsc --emitDeclarationOnly -p tsconfig.prod.json",
|
|
18
|
-
"publishs": "npm publish .",
|
|
10
|
+
"publishs": "npm version patch && npm run createVersion && npm publish . && cnpm sync hoeditor-web",
|
|
19
11
|
"lib:major": "npm version major && npm run createVersion && npm run lib",
|
|
20
12
|
"lib:minor": "npm version minor && npm run createVersion && npm run lib",
|
|
21
13
|
"lib:patch": "npm version patch && npm run createVersion && npm run lib",
|
|
22
|
-
"lib:publish": "npm version patch && npm run createVersion && npm run lib",
|
|
14
|
+
"lib:publish": "npm version patch && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
|
|
23
15
|
"createVersion": "node ./gen-version.js",
|
|
24
|
-
"
|
|
16
|
+
"lib": "vite build --outDir lib",
|
|
17
|
+
"lib:vite": "vite build --outDir lib"
|
|
25
18
|
},
|
|
26
19
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"@babel/runtime": "^7.14.0",
|
|
29
|
-
"@popperjs/core": "^2.10.2",
|
|
30
|
-
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
|
|
31
|
-
"@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
|
|
32
|
-
"atob": "^2.1.2",
|
|
33
|
-
"axios": "^0.21.4",
|
|
34
|
-
"babel-loader": "^8.2.2",
|
|
35
|
-
"btoa": "^1.2.1",
|
|
36
|
-
"diff": "^5.2.0",
|
|
20
|
+
"decimal.js": "^10.5.0",
|
|
37
21
|
"fflate": "^0.4.8",
|
|
38
22
|
"intersection-observer-polyfill": "^0.1.0",
|
|
39
23
|
"js-base64": "^3.7.7",
|
|
40
|
-
"less": "^3.9.0",
|
|
41
|
-
"less-loader": "^6.0.0",
|
|
42
|
-
"less-plugin-npm-import": "^2.1.0",
|
|
43
24
|
"localforage": "^1.10.0",
|
|
44
25
|
"moment": "^2.29.4",
|
|
45
26
|
"qrcanvas": "^3.1.2",
|
|
46
|
-
"style-loader": "^1.0.0",
|
|
47
27
|
"svg2pdf.js": "^2.2.0",
|
|
48
|
-
"vue-class-component": "^7.2.2",
|
|
49
28
|
"vue-color": "^2.8.1",
|
|
50
|
-
"vue-
|
|
29
|
+
"vue-i18n": "^8.11.2",
|
|
51
30
|
"vue-virtual-scroller": "^1.0.10",
|
|
52
|
-
"x2js": "^3.4.0"
|
|
53
|
-
"vue-i18n": "^8.11.2"
|
|
31
|
+
"x2js": "^3.4.0"
|
|
54
32
|
},
|
|
55
33
|
"optionalDependencies": {
|
|
56
34
|
"canvg": "^3.0.6"
|
|
57
35
|
},
|
|
58
36
|
"devDependencies": {
|
|
59
|
-
"@babel/core": "^7.10.4",
|
|
60
|
-
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
61
|
-
"@babel/preset-env": "^7.10.4",
|
|
62
37
|
"@cnhis-frontend/unplugin-i18n-helper": "^2.0.3",
|
|
38
|
+
"@popperjs/core": "^2.10.2",
|
|
63
39
|
"@types/chai": "^4.2.8",
|
|
64
|
-
"@types/
|
|
40
|
+
"@types/diff": "^7.0.1",
|
|
65
41
|
"@types/mocha": "^5.2.4",
|
|
42
|
+
"@types/node": "^22.13.1",
|
|
66
43
|
"@types/pretty-data": "^0.40.0",
|
|
44
|
+
"@types/qs": "^6.9.18",
|
|
67
45
|
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
|
68
46
|
"@typescript-eslint/parser": "^5.38.0",
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@vue/cli-plugin-typescript": "^5.0.4",
|
|
72
|
-
"@vue/cli-plugin-unit-mocha": "^5.0.4",
|
|
73
|
-
"@vue/cli-service": "^5.0.4",
|
|
47
|
+
"@vitejs/plugin-vue2": "^2.3.3",
|
|
48
|
+
"@vitejs/plugin-vue2-jsx": "^1.1.1",
|
|
74
49
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
75
50
|
"ant-design-vue": "^1.7.8",
|
|
76
|
-
"
|
|
77
|
-
"babel-plugin-import": "^1.13.3",
|
|
78
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
51
|
+
"axios": "^0.21.4",
|
|
79
52
|
"chai": "^4.1.2",
|
|
80
53
|
"core-js": "^3.6.4",
|
|
54
|
+
"diff": "^5.2.0",
|
|
81
55
|
"eslint": "^7.5.0",
|
|
82
|
-
"
|
|
56
|
+
"fabric": "4.5.1",
|
|
57
|
+
"less": "^3.9.0",
|
|
58
|
+
"less-loader": "^6.0.0",
|
|
59
|
+
"less-plugin-npm-import": "^2.1.0",
|
|
60
|
+
"path": "^0.12.7",
|
|
61
|
+
"qs": "^6.14.0",
|
|
62
|
+
"style-loader": "^1.0.0",
|
|
63
|
+
"terser": "^5.39.0",
|
|
83
64
|
"typedoc": "0.23.20",
|
|
84
65
|
"typescript": "^4.4.4",
|
|
66
|
+
"unplugin-vue-components": "^28.0.0",
|
|
67
|
+
"vite": "^6.1.0",
|
|
68
|
+
"vite-plugin-antdv-fix": "^1.0.3",
|
|
69
|
+
"vite-plugin-commonjs": "^0.10.4",
|
|
70
|
+
"vite-plugin-dts": "^4.5.0",
|
|
71
|
+
"vite-plugin-svg-icons": "^2.0.1",
|
|
85
72
|
"vue": "^2.7.13",
|
|
86
73
|
"vue-loader": "15.10.0",
|
|
87
74
|
"vue-template-compiler": "^2.7.13"
|
package/lib/demo.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!doctype html><meta charset="utf-8"><title>hoeditor demo</title><script src="./hoeditor.umd.js"></script><link rel="stylesheet" href="./hoeditor.css"><script>console.log(hoeditor)</script>
|