@coco-vexel/coco-office-editor 0.0.0-stage → 1.0.1

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 (57) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +510 -2
  3. package/THIRD_PARTY_NOTICES.md +212 -0
  4. package/dist/index.cjs +26401 -0
  5. package/dist/index.cjs.map +1 -0
  6. package/dist/index.d.cts +12 -0
  7. package/dist/index.d.ts +12 -0
  8. package/dist/index.js +26192 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/model-DB6aN6uJ.d.cts +321 -0
  11. package/dist/model-DB6aN6uJ.d.ts +321 -0
  12. package/dist/native-B6B649CC.d.ts +1111 -0
  13. package/dist/native-Ct9nN06K.d.cts +1111 -0
  14. package/dist/ppt-native.cjs +5334 -0
  15. package/dist/ppt-native.cjs.map +1 -0
  16. package/dist/ppt-native.d.cts +2 -0
  17. package/dist/ppt-native.d.ts +2 -0
  18. package/dist/ppt-native.js +5332 -0
  19. package/dist/ppt-native.js.map +1 -0
  20. package/dist/ppt.cjs +5426 -0
  21. package/dist/ppt.cjs.map +1 -0
  22. package/dist/ppt.d.cts +306 -0
  23. package/dist/ppt.d.ts +306 -0
  24. package/dist/ppt.js +5410 -0
  25. package/dist/ppt.js.map +1 -0
  26. package/dist/spreadsheet.cjs +4276 -0
  27. package/dist/spreadsheet.cjs.map +1 -0
  28. package/dist/spreadsheet.d.cts +676 -0
  29. package/dist/spreadsheet.d.ts +676 -0
  30. package/dist/spreadsheet.js +4213 -0
  31. package/dist/spreadsheet.js.map +1 -0
  32. package/dist/word-editing.cjs +812 -0
  33. package/dist/word-editing.cjs.map +1 -0
  34. package/dist/word-editing.d.cts +149 -0
  35. package/dist/word-editing.d.ts +149 -0
  36. package/dist/word-editing.js +803 -0
  37. package/dist/word-editing.js.map +1 -0
  38. package/dist/word-native.cjs +13400 -0
  39. package/dist/word-native.cjs.map +1 -0
  40. package/dist/word-native.d.cts +4 -0
  41. package/dist/word-native.d.ts +4 -0
  42. package/dist/word-native.js +13293 -0
  43. package/dist/word-native.js.map +1 -0
  44. package/dist/word-prosemirror.cjs +489 -0
  45. package/dist/word-prosemirror.cjs.map +1 -0
  46. package/dist/word-prosemirror.d.cts +21 -0
  47. package/dist/word-prosemirror.d.ts +21 -0
  48. package/dist/word-prosemirror.js +483 -0
  49. package/dist/word-prosemirror.js.map +1 -0
  50. package/dist/word.cjs +16764 -0
  51. package/dist/word.cjs.map +1 -0
  52. package/dist/word.d.cts +84 -0
  53. package/dist/word.d.ts +84 -0
  54. package/dist/word.js +16632 -0
  55. package/dist/word.js.map +1 -0
  56. package/package.json +106 -3
  57. package/src/styles/editor.css +1507 -0
package/package.json CHANGED
@@ -1,6 +1,109 @@
1
1
  {
2
2
  "name": "@coco-vexel/coco-office-editor",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/coco-vexel/coco-office.git",
8
+ "directory": "packages/editor"
9
+ },
10
+ "homepage": "https://github.com/coco-vexel/coco-office#browser-demo",
11
+ "bugs": {
12
+ "url": "https://github.com/coco-vexel/coco-office/issues"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "description": "Coco Office browser and desktop editor runtime",
18
+ "type": "module",
19
+ "main": "./dist/index.cjs",
20
+ "module": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/index.d.ts",
25
+ "import": "./dist/index.js",
26
+ "require": "./dist/index.cjs"
27
+ },
28
+ "./word": {
29
+ "types": "./dist/word.d.ts",
30
+ "import": "./dist/word.js",
31
+ "require": "./dist/word.cjs"
32
+ },
33
+ "./spreadsheet": {
34
+ "types": "./dist/spreadsheet.d.ts",
35
+ "import": "./dist/spreadsheet.js",
36
+ "require": "./dist/spreadsheet.cjs"
37
+ },
38
+ "./ppt": {
39
+ "types": "./dist/ppt.d.ts",
40
+ "import": "./dist/ppt.js",
41
+ "require": "./dist/ppt.cjs"
42
+ },
43
+ "./ppt/native": {
44
+ "types": "./dist/ppt-native.d.ts",
45
+ "import": "./dist/ppt-native.js",
46
+ "require": "./dist/ppt-native.cjs"
47
+ },
48
+ "./word/prosemirror": {
49
+ "types": "./dist/word-prosemirror.d.ts",
50
+ "import": "./dist/word-prosemirror.js",
51
+ "require": "./dist/word-prosemirror.cjs"
52
+ },
53
+ "./word/editing": {
54
+ "types": "./dist/word-editing.d.ts",
55
+ "import": "./dist/word-editing.js",
56
+ "require": "./dist/word-editing.cjs"
57
+ },
58
+ "./word/native": {
59
+ "types": "./dist/word-native.d.ts",
60
+ "import": "./dist/word-native.js",
61
+ "require": "./dist/word-native.cjs"
62
+ },
63
+ "./styles.css": "./src/styles/editor.css",
64
+ "./package.json": "./package.json"
65
+ },
66
+ "sideEffects": [
67
+ "./src/styles/editor.css"
68
+ ],
69
+ "files": [
70
+ "dist",
71
+ "src/styles",
72
+ "LICENSE",
73
+ "THIRD_PARTY_NOTICES.md"
74
+ ],
75
+ "dependencies": {
76
+ "@coco-vexel/coco-office": "^1.0.1",
77
+ "prosemirror-commands": "^1.7.2",
78
+ "prosemirror-keymap": "^1.2.3",
79
+ "prosemirror-model": "^1.25.12",
80
+ "prosemirror-state": "^1.4.4",
81
+ "prosemirror-transform": "^1.12.2",
82
+ "prosemirror-view": "^1.42.6"
83
+ },
84
+ "devDependencies": {
85
+ "happy-dom": "20.11.2",
86
+ "jszip": "^3.10.2",
87
+ "vite": "^8.3.4",
88
+ "vitest": "^5.0.3",
89
+ "@coco-vexel/coco-office-oojson": "^1.0.1"
90
+ },
91
+ "scripts": {
92
+ "build": "tsup",
93
+ "demo": "vite --config vite.demo.config.ts",
94
+ "build:demo": "vite build --config vite.demo.config.ts",
95
+ "dev": "vite --host 127.0.0.1",
96
+ "dev:regression": "node dev/run-native-regression.mjs",
97
+ "dev:ppt-edit-roundtrip": "node dev/run-ppt-edit-roundtrip.mjs",
98
+ "dev:ppt-reference-cross-check": "node dev/run-ppt-wps-cross-check.mjs",
99
+ "dev:ppt-office-cross-check": "node dev/run-ppt-wps-cross-check.mjs --reference=powerpoint",
100
+ "dev:ppt-wps-cross-check": "node dev/run-ppt-wps-cross-check.mjs",
101
+ "dev:ppt-editor-smoke": "node dev/run-ppt-editor-smoke.mjs",
102
+ "dev:ppt-editor-smoke:fast": "node dev/run-ppt-editor-smoke.mjs --fast",
103
+ "dev:ppt-editor-smoke:quick": "node dev/run-ppt-editor-smoke.mjs",
104
+ "dev:ppt-editor-smoke:full": "node dev/run-ppt-editor-smoke.mjs --full",
105
+ "dev:word-reference": "node dev/export-word-reference.mjs",
106
+ "test": "vitest run --config vitest.config.ts",
107
+ "lint": "echo 'lint config pending' && exit 0"
108
+ }
6
109
  }