@umoteam/editor-external 7.0.0 → 8.0.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.
Files changed (34) hide show
  1. package/build.js +3 -1
  2. package/edgeone.json +17 -0
  3. package/libs/flowchart/flowchart.js +2767 -0
  4. package/libs/flowchart/raphael.min.js +6058 -0
  5. package/libs/mammoth/mammoth.browser.min.js +14 -14
  6. package/libs/plantuml/plantuml-encoder.min.js +1904 -0
  7. package/package.json +3 -2
  8. package/imgly/background-removal-data/12086412521285f855c2921ae13d3370ab243c9a250ebe340430075780f4624b +0 -0
  9. package/imgly/background-removal-data/26a663c5a768f39155009f52e0f66815f36983ae275eec676365f7d09ef97edd +0 -0
  10. package/imgly/background-removal-data/378cd0ab154b324c0b1fe3136a605a8618865d4ce38824a30c938cc1e6312ce4 +0 -0
  11. package/imgly/background-removal-data/391ce9664d3a506e4333adb82581fc2dc6fbef0354f497ab417c050cb6eba6c4 +0 -0
  12. package/imgly/background-removal-data/417316220b16ddd1c2a4730a315206ec0405aac7b64a878bdbe514e687b07b6f +0 -0
  13. package/imgly/background-removal-data/7b64520a3747dd5dcf6ac48f612504bb3b1e273a08b42b5a7efd614b9e4a397c +0 -0
  14. package/imgly/background-removal-data/7b95dd2733643f999b985105afb755122ca36de12decadc7855ebfbdab6920e6 +0 -0
  15. package/imgly/background-removal-data/8b993f75a6dc28aab79d1f216e62b59aaa6b3a15e62159bcad4a2ac197c4db0a +0 -0
  16. package/imgly/background-removal-data/90741e8ae8b47de7666ae4163ba26087500d534973a853bbd02cea715f24b5ee +0 -0
  17. package/imgly/background-removal-data/9f0512f9be98be0f44ad2f9ec9fe706ae626f2037aca910df6d1396a06a30d41 +0 -0
  18. package/imgly/background-removal-data/a2a1f2d68cd58b5a6262755e434dee496fc0f27c0ba8fcbb5d57c56ffa1bb15f +0 -0
  19. package/imgly/background-removal-data/a984abd436e7a8119dc170730260a37436ce0d0542984b71c5a1a386777ab7fd +0 -0
  20. package/imgly/background-removal-data/af8fb2b72ffb03ed999778c4de73fd4ade196890be6e0253230b198dd11e9db0 +0 -0
  21. package/imgly/background-removal-data/b53229786ebfbaabcfec4955c248135ba47a13972bf700116a2ff85b86507d2e +0 -0
  22. package/imgly/background-removal-data/bbf8e366b8f11bb64e60c8532fc2ffed21535fa1cf981464ac45485972107855 +0 -0
  23. package/imgly/background-removal-data/c1eba9d5d2ee58ba832bf98b50624ea8813f2279505643401c23674c6b326d0b +0 -0
  24. package/imgly/background-removal-data/c9f954707cb992edf62319d9aed365b4fc9ec3f08693a020db30040c0f953198 +0 -0
  25. package/imgly/background-removal-data/cad6b95099faeba3ea1299d717990453208cc075b53332db9123a4e2bdaf160c +0 -0
  26. package/imgly/background-removal-data/dd4fad06953738263bc4d5f94974376467fc74081cba665cef18af8223894ed4 +0 -0
  27. package/imgly/background-removal-data/e9445ca5ac21e04579658183cd886440f3524caafe6a8947dd20a73b34fba5b0 +0 -0
  28. package/imgly/background-removal-data/ea46f83f60203065638f183fc8a5446dfc28a163d7ba1922fc3bc6cf40347fa2 +0 -0
  29. package/imgly/background-removal-data/ef7fb517ae63534f48efa657702b3821fb5d59e4fd372016793edc0389341cc0 +0 -0
  30. package/imgly/background-removal-data/f69890cf74d0a687904dd088c0aaadce598c8bc217366ebee6993eadd4d56208 +0 -0
  31. package/imgly/background-removal-data/f6e7e01556358ed875f260bdfb22fb6f7213ac6fd4098ed72c0e7af081f0c23c +0 -0
  32. package/imgly/background-removal-data/fa3e4102c796fb6d1dab5417c5c0b4b5d219e6b9624d045d7361a033e7db183f +0 -0
  33. package/imgly/background-removal-data/resources.json +0 -462
  34. package/mammoth/mammoth.browser.min.js +0 -21
package/build.js CHANGED
@@ -36,13 +36,15 @@ const copyDir = (sourcePath, targetPath) => {
36
36
  const files = [
37
37
  { from: 'imgly/background-removal-data', to: 'imgly/background-removal-data', npm: false },
38
38
  { from: 'mammoth', to: 'mammoth', npm: false },
39
+ { from: 'flowchart', to: 'flowchart', npm: false },
40
+ { from: 'plantuml', to: 'plantuml', npm: false },
39
41
  { from: 'katex/dist', to: 'katex' },
40
42
  { from:'echarts/dist',to:'echarts' }
41
43
  ];
42
44
 
43
45
  // 循环遍历每个要复制的文件或目录
44
46
  files.forEach((item) => {
45
- const sourcePath = item.npm === false ? item.from : path.join(__dirname, 'node_modules', item.from);
47
+ const sourcePath = item.npm === false ? `src/${item.from}` : path.join(__dirname, 'node_modules', item.from);
46
48
  const targetPath = path.join(__dirname, 'libs', item.to);
47
49
 
48
50
  // 如果是文件,使用fs.copyFileSync
package/edgeone.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "headers": [
3
+ {
4
+ "source": "/*",
5
+ "headers": [
6
+ {
7
+ "key": "Access-Control-Allow-Origin",
8
+ "value": "*"
9
+ },
10
+ {
11
+ "key": "Access-Control-Allow-Methods",
12
+ "value": "GET, POST, PUT, DELETE, OPTIONS"
13
+ }
14
+ ]
15
+ }
16
+ ]
17
+ }