@4399ywkf/editor 0.1.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/README.md +114 -0
- package/dist/DocView-5KS7B4DA.js +18 -0
- package/dist/DocView-5KS7B4DA.js.map +1 -0
- package/dist/PdfView-JDCHTG7Y.js +3 -0
- package/dist/PdfView-JDCHTG7Y.js.map +1 -0
- package/dist/SheetView-2EID6B2I.js +3 -0
- package/dist/SheetView-2EID6B2I.js.map +1 -0
- package/dist/chunk-G6WM2PSU.js +21838 -0
- package/dist/chunk-G6WM2PSU.js.map +1 -0
- package/dist/chunk-IRALXCLP.js +55 -0
- package/dist/chunk-IRALXCLP.js.map +1 -0
- package/dist/chunk-RJUDOUEZ.js +56 -0
- package/dist/chunk-RJUDOUEZ.js.map +1 -0
- package/dist/doc.d.ts +1108 -0
- package/dist/doc.js +39 -0
- package/dist/doc.js.map +1 -0
- package/dist/docx.d.ts +184 -0
- package/dist/docx.js +1181 -0
- package/dist/docx.js.map +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +95 -0
- package/dist/index.js.map +1 -0
- package/dist/pdf.d.ts +13 -0
- package/dist/pdf.js +3 -0
- package/dist/pdf.js.map +1 -0
- package/dist/registry-CvGg65s9.d.ts +68 -0
- package/dist/sheet.d.ts +16 -0
- package/dist/sheet.js +3 -0
- package/dist/sheet.js.map +1 -0
- package/dist/style.css +5689 -0
- package/package.json +125 -0
package/package.json
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@4399ywkf/editor",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "4399 多格式文档编辑器:doc(tiptap) / sheet(univer) / pdf,含 docx 导入导出与 AI 可驱动的结构化编辑面",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./doc": {
|
|
14
|
+
"types": "./dist/doc.d.ts",
|
|
15
|
+
"import": "./dist/doc.js"
|
|
16
|
+
},
|
|
17
|
+
"./sheet": {
|
|
18
|
+
"types": "./dist/sheet.d.ts",
|
|
19
|
+
"import": "./dist/sheet.js"
|
|
20
|
+
},
|
|
21
|
+
"./pdf": {
|
|
22
|
+
"types": "./dist/pdf.d.ts",
|
|
23
|
+
"import": "./dist/pdf.js"
|
|
24
|
+
},
|
|
25
|
+
"./docx": {
|
|
26
|
+
"types": "./dist/docx.d.ts",
|
|
27
|
+
"import": "./dist/docx.js"
|
|
28
|
+
},
|
|
29
|
+
"./styles": "./dist/style.css",
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"sideEffects": [
|
|
36
|
+
"*.css"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup && node scripts/build-styles.mjs",
|
|
40
|
+
"dev": "tsup --watch",
|
|
41
|
+
"test": "node --experimental-strip-types --test src/docx/*.test.ts",
|
|
42
|
+
"typecheck": "tsc --noEmit",
|
|
43
|
+
"prepublishOnly": "npm run build"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@ariakit/react": "^0.4.26",
|
|
47
|
+
"@base-ui/react": "^1.5.0",
|
|
48
|
+
"@floating-ui/react": "^0.27.19",
|
|
49
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
50
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
51
|
+
"@tiptap/core": "^3.23.5",
|
|
52
|
+
"@tiptap/extension-code-block-lowlight": "^3.23.5",
|
|
53
|
+
"@tiptap/extension-collaboration": "^3.23.5",
|
|
54
|
+
"@tiptap/extension-collaboration-caret": "^3.23.5",
|
|
55
|
+
"@tiptap/extension-color": "^3.23.5",
|
|
56
|
+
"@tiptap/extension-drag-handle-react": "^3.23.5",
|
|
57
|
+
"@tiptap/extension-emoji": "^3.23.5",
|
|
58
|
+
"@tiptap/extension-highlight": "^3.23.5",
|
|
59
|
+
"@tiptap/extension-horizontal-rule": "^3.23.5",
|
|
60
|
+
"@tiptap/extension-image": "^3.23.5",
|
|
61
|
+
"@tiptap/extension-list": "^3.23.5",
|
|
62
|
+
"@tiptap/extension-mathematics": "^3.23.5",
|
|
63
|
+
"@tiptap/extension-mention": "^3.23.5",
|
|
64
|
+
"@tiptap/extension-subscript": "^3.23.5",
|
|
65
|
+
"@tiptap/extension-superscript": "^3.23.5",
|
|
66
|
+
"@tiptap/extension-table": "^3.23.5",
|
|
67
|
+
"@tiptap/extension-table-of-contents": "^3.23.5",
|
|
68
|
+
"@tiptap/extension-text-align": "^3.23.5",
|
|
69
|
+
"@tiptap/extension-text-style": "^3.23.5",
|
|
70
|
+
"@tiptap/extension-typography": "^3.23.5",
|
|
71
|
+
"@tiptap/extension-unique-id": "^3.23.5",
|
|
72
|
+
"@tiptap/extensions": "^3.23.5",
|
|
73
|
+
"@tiptap/pm": "^3.23.5",
|
|
74
|
+
"@tiptap/react": "^3.23.5",
|
|
75
|
+
"@tiptap/starter-kit": "^3.23.5",
|
|
76
|
+
"@tiptap/suggestion": "^3.23.5",
|
|
77
|
+
"class-variance-authority": "^0.7.1",
|
|
78
|
+
"fflate": "^0.8.2",
|
|
79
|
+
"is-hotkey": "^0.2.0",
|
|
80
|
+
"lodash.throttle": "^4.1.1",
|
|
81
|
+
"lowlight": "^3.3.0",
|
|
82
|
+
"react-hotkeys-hook": "^5.3.2",
|
|
83
|
+
"react-textarea-autosize": "^8.5.9",
|
|
84
|
+
"yjs": "^13.6.30"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@univerjs/presets": "^0.25.0",
|
|
88
|
+
"pdfjs-dist": "^4.0.0 || ^5.0.0",
|
|
89
|
+
"react": "^19.0.0",
|
|
90
|
+
"react-dom": "^19.0.0"
|
|
91
|
+
},
|
|
92
|
+
"peerDependenciesMeta": {
|
|
93
|
+
"@univerjs/presets": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"pdfjs-dist": {
|
|
97
|
+
"optional": true
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@types/is-hotkey": "^0.1.10",
|
|
102
|
+
"@types/lodash.throttle": "^4.1.9",
|
|
103
|
+
"@types/react": "^19.1.6",
|
|
104
|
+
"@types/react-dom": "^19.1.6",
|
|
105
|
+
"@xmldom/xmldom": "^0.9.11",
|
|
106
|
+
"sass": "^1.99.0",
|
|
107
|
+
"tsup": "^8.4.0",
|
|
108
|
+
"typescript": "^5.8.2"
|
|
109
|
+
},
|
|
110
|
+
"publishConfig": {
|
|
111
|
+
"access": "public"
|
|
112
|
+
},
|
|
113
|
+
"keywords": [
|
|
114
|
+
"tiptap",
|
|
115
|
+
"editor",
|
|
116
|
+
"docx",
|
|
117
|
+
"univer",
|
|
118
|
+
"pdf",
|
|
119
|
+
"4399"
|
|
120
|
+
],
|
|
121
|
+
"authors": [
|
|
122
|
+
"ywjszx@4399.com"
|
|
123
|
+
],
|
|
124
|
+
"license": "ISC"
|
|
125
|
+
}
|