@gct-paas/word 0.1.2

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 (38) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +35 -0
  3. package/dist/base/utils/asset-helper-util.d.ts +19 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.es.js +55648 -0
  6. package/dist/runtime/designer/doc-design-layout.vue.d.ts +2 -0
  7. package/dist/runtime/designer/main/preview-container.vue.d.ts +2 -0
  8. package/dist/runtime/designer/main/view-layer/__common__/widget-component.vue.d.ts +2 -0
  9. package/dist/runtime/designer/main/view-layer/builtin/paper/paper-group.vue.d.ts +2 -0
  10. package/dist/runtime/designer/main/view-layer/builtin/paper/themes.d.ts +37 -0
  11. package/dist/runtime/designer/main/view-layer/render-entry.vue.d.ts +2 -0
  12. package/dist/runtime/designer/panel/panel.vue.d.ts +2 -0
  13. package/dist/runtime/designer/ribbon/common/button-icon.vue.d.ts +2 -0
  14. package/dist/runtime/designer/ribbon/components/bullet-point-select.vue.d.ts +2 -0
  15. package/dist/runtime/designer/ribbon/components/insert-table-form-modal.vue.d.ts +2 -0
  16. package/dist/runtime/designer/ribbon/components/marker-color-select.vue.d.ts +2 -0
  17. package/dist/runtime/designer/ribbon/components/multistage-no-select.vue.d.ts +2 -0
  18. package/dist/runtime/designer/ribbon/components/sub-table-form-modal.vue.d.ts +2 -0
  19. package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +2 -0
  20. package/dist/runtime/designer/ribbon/constant/color.d.ts +62 -0
  21. package/dist/runtime/designer/ribbon/constant/font.d.ts +31 -0
  22. package/dist/runtime/designer/ribbon/constant/word.d.ts +26 -0
  23. package/dist/runtime/designer/ribbon/ribbon.vue.d.ts +2 -0
  24. package/dist/runtime/designer/ribbon/svg/bj-marker-svg.vue.d.ts +2 -0
  25. package/dist/runtime/designer/ribbon/svg/color-wheel-svg.vue.d.ts +2 -0
  26. package/dist/runtime/designer/ribbon/svg/font-color-svg.vue.d.ts +2 -0
  27. package/dist/runtime/designer/ribbon/tabs/home-tab.vue.d.ts +2 -0
  28. package/dist/runtime/designer/ribbon/tabs/insert-tab.vue.d.ts +2 -0
  29. package/dist/runtime/designer/ribbon/tabs/layout-tab.vue.d.ts +2 -0
  30. package/dist/runtime/designer/ribbon/tabs/structured-tab.vue.d.ts +2 -0
  31. package/dist/runtime/designer/ribbon/tabs/table-tab.vue.d.ts +2 -0
  32. package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +2 -0
  33. package/dist/runtime/designer/toolkit/renderer/toolkit-content-widgets.vue.d.ts +2 -0
  34. package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +19 -0
  35. package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +2 -0
  36. package/dist/setup.d.ts +5 -0
  37. package/dist/word.css +8784 -0
  38. package/package.json +75 -0
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@gct-paas/word",
3
+ "version": "0.1.2",
4
+ "description": "GCT 在线 word",
5
+ "keywords": [
6
+ "vue",
7
+ "word",
8
+ "gct"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://git.gct-china.com/paas/frontend/gct-word.git",
13
+ "directory": "packages/word"
14
+ },
15
+ "license": "MIT",
16
+ "author": "GCT",
17
+ "type": "module",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.es.js"
22
+ },
23
+ "./style.css": "./dist/word.css"
24
+ },
25
+ "main": "./dist/index.es.js",
26
+ "module": "./dist/index.es.js",
27
+ "types": "./dist/index.d.ts",
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "scripts": {
32
+ "build": "vite build",
33
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx --fix",
34
+ "publish": "pnpm build && npm publish --registry=https://registry.npmjs.org/ --access public",
35
+ "publish:beta": "pnpm build && npm publish --registry=https://registry.npmjs.org/ --access public --tag beta"
36
+ },
37
+ "dependencies": {
38
+ "@gct-paas/api": "0.1.0-word.2",
39
+ "@vueuse/core": "^14.1.0",
40
+ "async-validator": "^4.2.5",
41
+ "bignumber.js": "^9.3.1",
42
+ "css-unit-converter": "^1.1.2",
43
+ "dayjs": "^1.11.19",
44
+ "hotkeys-js": "4.0.0-beta.7",
45
+ "less": "^4.4.2",
46
+ "lodash-es": "^4.17.21",
47
+ "resize-observer-polyfill": "^1.5.1",
48
+ "vue-color": "^3.3.3"
49
+ },
50
+ "devDependencies": {
51
+ "@types/node": "^24.10.0",
52
+ "@vitejs/plugin-vue": "^6.0.1",
53
+ "@vue/compiler-sfc": "^3.2.47",
54
+ "@vue/tsconfig": "^0.8.1",
55
+ "eslint": "^9.18.0",
56
+ "eslint-plugin-vue": "^9.32.0",
57
+ "terser": "^5.46.0",
58
+ "typescript": "~5.9.3",
59
+ "vite": "^7.2.2",
60
+ "vite-plugin-dts": "^4.5.4"
61
+ },
62
+ "peerDependencies": {
63
+ "exifr": "^7.1.3",
64
+ "floating-vue": "^5.2.2",
65
+ "jspdf": "^3.0.4",
66
+ "konva": "^10.0.8",
67
+ "sortablejs": "^1.15.3",
68
+ "vue": "^3.0.0",
69
+ "vue-konva": "^3.2.6",
70
+ "vuedraggable": "^4.1.0"
71
+ },
72
+ "engines": {
73
+ "node": ">=18.0.0"
74
+ }
75
+ }