@univerjs-pro/sheets-shape-ui 0.15.3-insiders.20260131-cbd5fac

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 (119) hide show
  1. package/lib/cjs/index.js +1 -0
  2. package/lib/cjs/locale/ca-ES.js +1 -0
  3. package/lib/cjs/locale/en-US.js +1 -0
  4. package/lib/cjs/locale/es-ES.js +1 -0
  5. package/lib/cjs/locale/fa-IR.js +1 -0
  6. package/lib/cjs/locale/fr-FR.js +1 -0
  7. package/lib/cjs/locale/ja-JP.js +1 -0
  8. package/lib/cjs/locale/ko-KR.js +1 -0
  9. package/lib/cjs/locale/ru-RU.js +1 -0
  10. package/lib/cjs/locale/sk-SK.js +1 -0
  11. package/lib/cjs/locale/vi-VN.js +1 -0
  12. package/lib/cjs/locale/zh-CN.js +1 -0
  13. package/lib/cjs/locale/zh-TW.js +1 -0
  14. package/lib/es/index.js +1 -0
  15. package/lib/es/locale/ca-ES.js +1 -0
  16. package/lib/es/locale/en-US.js +1 -0
  17. package/lib/es/locale/es-ES.js +1 -0
  18. package/lib/es/locale/fa-IR.js +1 -0
  19. package/lib/es/locale/fr-FR.js +1 -0
  20. package/lib/es/locale/ja-JP.js +1 -0
  21. package/lib/es/locale/ko-KR.js +1 -0
  22. package/lib/es/locale/ru-RU.js +1 -0
  23. package/lib/es/locale/sk-SK.js +1 -0
  24. package/lib/es/locale/vi-VN.js +1 -0
  25. package/lib/es/locale/zh-CN.js +1 -0
  26. package/lib/es/locale/zh-TW.js +1 -0
  27. package/lib/index.js +1 -0
  28. package/lib/locale/ca-ES.js +1 -0
  29. package/lib/locale/en-US.js +1 -0
  30. package/lib/locale/es-ES.js +1 -0
  31. package/lib/locale/fa-IR.js +1 -0
  32. package/lib/locale/fr-FR.js +1 -0
  33. package/lib/locale/ja-JP.js +1 -0
  34. package/lib/locale/ko-KR.js +1 -0
  35. package/lib/locale/ru-RU.js +1 -0
  36. package/lib/locale/sk-SK.js +1 -0
  37. package/lib/locale/vi-VN.js +1 -0
  38. package/lib/locale/zh-CN.js +1 -0
  39. package/lib/locale/zh-TW.js +1 -0
  40. package/lib/types/command-util.d.ts +19 -0
  41. package/lib/types/commands/command/add-shape-command.d.ts +9 -0
  42. package/lib/types/commands/command/menu-insert-shape.command.d.ts +27 -0
  43. package/lib/types/commands/command/set-shape-fill.command.d.ts +5 -0
  44. package/lib/types/commands/command/set-shape-flip-command.d.ts +14 -0
  45. package/lib/types/commands/command/set-shape-rotate.command.d.ts +10 -0
  46. package/lib/types/commands/command/set-shape-text-align.command.d.ts +5 -0
  47. package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
  48. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
  49. package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
  50. package/lib/types/commands/command/test-line.shape.command.d.ts +8 -0
  51. package/lib/types/commands/command/update-connector-relation.command.d.ts +41 -0
  52. package/lib/types/commands/command/update-line-shape-resize.command.d.ts +18 -0
  53. package/lib/types/commands/command/update-shape-data-command.d.ts +13 -0
  54. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +16 -0
  55. package/lib/types/commands/menu/shape-fill.menu.d.ts +3 -0
  56. package/lib/types/commands/menu/shape-font-size.menu.d.ts +5 -0
  57. package/lib/types/commands/menu/shape-text-align.menu.d.ts +8 -0
  58. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +8 -0
  59. package/lib/types/commands/operations/close-shape-panel.operation.d.ts +7 -0
  60. package/lib/types/commands/operations/open-shape-panel.operation.d.ts +7 -0
  61. package/lib/types/const.d.ts +5 -0
  62. package/lib/types/controllers/config.schema.d.ts +5 -0
  63. package/lib/types/controllers/menu.schema.d.ts +2 -0
  64. package/lib/types/controllers/shape-text-editing.render-controller.d.ts +17 -0
  65. package/lib/types/controllers/shape-update.controller.d.ts +19 -0
  66. package/lib/types/controllers/sheet-basic-shape-connection.controller.d.ts +99 -0
  67. package/lib/types/controllers/sheet-shape-adjust-controller.d.ts +45 -0
  68. package/lib/types/controllers/sheet-shape-command-interceptor.controller.d.ts +31 -0
  69. package/lib/types/controllers/sheet-shape-connector.controller.d.ts +110 -0
  70. package/lib/types/controllers/sheet-shape-render.controller.d.ts +12 -0
  71. package/lib/types/controllers/sheets-shape-ui.controller.d.ts +111 -0
  72. package/lib/types/index.d.ts +3 -0
  73. package/lib/types/locale/ca-ES.d.ts +3 -0
  74. package/lib/types/locale/en-US.d.ts +279 -0
  75. package/lib/types/locale/es-ES.d.ts +3 -0
  76. package/lib/types/locale/fa-IR.d.ts +3 -0
  77. package/lib/types/locale/fr-FR.d.ts +3 -0
  78. package/lib/types/locale/ja-JP.d.ts +3 -0
  79. package/lib/types/locale/ko-KR.d.ts +3 -0
  80. package/lib/types/locale/ru-RU.d.ts +3 -0
  81. package/lib/types/locale/sk-SK.d.ts +3 -0
  82. package/lib/types/locale/vi-VN.d.ts +3 -0
  83. package/lib/types/locale/zh-CN.d.ts +3 -0
  84. package/lib/types/locale/zh-TW.d.ts +3 -0
  85. package/lib/types/plugin.d.ts +18 -0
  86. package/lib/types/services/shape-text-editing.service.d.ts +19 -0
  87. package/lib/types/types.d.ts +14 -0
  88. package/lib/types/view-model/drawing-shape.d.ts +66 -0
  89. package/lib/types/view-model/shape-data-model.d.ts +5 -0
  90. package/lib/types/view-model/sheet-basic-shape-connection-site-object.d.ts +44 -0
  91. package/lib/types/view-model/sheet-shape-adjust-point-object.d.ts +21 -0
  92. package/lib/types/view-model/sheet-shape-connector-handler-object.d.ts +22 -0
  93. package/lib/types/views/ShapeOptions.d.ts +30 -0
  94. package/lib/types/views/ShapePicker.d.ts +2 -0
  95. package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +12 -0
  96. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +11 -0
  97. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +11 -0
  98. package/lib/types/views/shape-editor-panel/ShapePositionEditor.d.ts +1 -0
  99. package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
  100. package/lib/types/views/shape-menu/shape-menu-factory.d.ts +10 -0
  101. package/lib/types/views/shape-text-editor/Editor.d.ts +14 -0
  102. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +37 -0
  103. package/lib/types/views/shape-text-editor/index.d.ts +6 -0
  104. package/lib/types/views/shape-text-editor/position-wrapper.d.ts +16 -0
  105. package/lib/types/views/shapes.d.ts +58 -0
  106. package/lib/umd/index.js +1 -0
  107. package/lib/umd/locale/ca-ES.js +1 -0
  108. package/lib/umd/locale/en-US.js +1 -0
  109. package/lib/umd/locale/es-ES.js +1 -0
  110. package/lib/umd/locale/fa-IR.js +1 -0
  111. package/lib/umd/locale/fr-FR.js +1 -0
  112. package/lib/umd/locale/ja-JP.js +1 -0
  113. package/lib/umd/locale/ko-KR.js +1 -0
  114. package/lib/umd/locale/ru-RU.js +1 -0
  115. package/lib/umd/locale/sk-SK.js +1 -0
  116. package/lib/umd/locale/vi-VN.js +1 -0
  117. package/lib/umd/locale/zh-CN.js +1 -0
  118. package/lib/umd/locale/zh-TW.js +1 -0
  119. package/package.json +99 -0
package/package.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "name": "@univerjs-pro/sheets-shape-ui",
3
+ "version": "0.15.3-insiders.20260131-cbd5fac",
4
+ "private": false,
5
+ "description": "shape for Univer.",
6
+ "author": "DreamNum <developer@univer.ai>",
7
+ "funding": {
8
+ "type": "opencollective",
9
+ "url": "https://opencollective.com/univer"
10
+ },
11
+ "homepage": "https://univer.ai",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/dream-num/univer"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/dream-num/univer/issues"
18
+ },
19
+ "keywords": [
20
+ "univer",
21
+ "shape",
22
+ "preset shape",
23
+ "drawing shape",
24
+ "adjust point",
25
+ "connector line"
26
+ ],
27
+ "exports": {
28
+ ".": {
29
+ "import": "./lib/es/index.js",
30
+ "require": "./lib/cjs/index.js",
31
+ "types": "./lib/types/index.d.ts"
32
+ },
33
+ "./*": {
34
+ "import": "./lib/es/*",
35
+ "require": "./lib/cjs/*",
36
+ "types": "./lib/types/index.d.ts"
37
+ },
38
+ "./locale/*": {
39
+ "import": "./lib/es/locale/*.js",
40
+ "require": "./lib/cjs/locale/*.js",
41
+ "types": "./lib/types/locale/*.d.ts"
42
+ },
43
+ "./lib/*": "./lib/*"
44
+ },
45
+ "main": "./lib/es/index.js",
46
+ "module": "./lib/es/index.js",
47
+ "types": "./lib/types/index.d.ts",
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "directories": {
52
+ "lib": "lib"
53
+ },
54
+ "files": [
55
+ "lib"
56
+ ],
57
+ "engines": {
58
+ "node": ">=16.0.0",
59
+ "npm": ">=8.0.0"
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
63
+ "rxjs": ">=7.0.0"
64
+ },
65
+ "dependencies": {
66
+ "@univerjs/icons": "^1.1.1",
67
+ "@univerjs-pro/engine-shape": "0.15.3-insiders.20260131-cbd5fac",
68
+ "@univerjs/design": "0.15.3-insiders.20260131-cbd5fac",
69
+ "@univerjs/core": "0.15.3-insiders.20260131-cbd5fac",
70
+ "@univerjs/docs": "0.15.3-insiders.20260131-cbd5fac",
71
+ "@univerjs/docs-ui": "0.15.3-insiders.20260131-cbd5fac",
72
+ "@univerjs/drawing": "0.15.3-insiders.20260131-cbd5fac",
73
+ "@univerjs/engine-render": "0.15.3-insiders.20260131-cbd5fac",
74
+ "@univerjs-pro/sheets-shape": "0.15.3-insiders.20260131-cbd5fac",
75
+ "@univerjs/drawing-ui": "0.15.3-insiders.20260131-cbd5fac",
76
+ "@univerjs/sheets": "0.15.3-insiders.20260131-cbd5fac",
77
+ "@univerjs/sheets-ui": "0.15.3-insiders.20260131-cbd5fac",
78
+ "@univerjs/sheets-drawing": "0.15.3-insiders.20260131-cbd5fac",
79
+ "@univerjs/sheets-drawing-ui": "0.15.3-insiders.20260131-cbd5fac",
80
+ "@univerjs/ui": "0.15.3-insiders.20260131-cbd5fac"
81
+ },
82
+ "devDependencies": {
83
+ "postcss": "^8.5.6",
84
+ "react": "18.3.1",
85
+ "rxjs": "7.8.2",
86
+ "tailwindcss": "^3.4.17",
87
+ "typescript": "^5.9.3",
88
+ "vite": "^7.3.1",
89
+ "vitest": "^4.0.18",
90
+ "@univerjs-infra/shared": "0.15.3"
91
+ },
92
+ "scripts": {
93
+ "test": "vitest run",
94
+ "test:watch": "vitest",
95
+ "coverage": "vitest run --coverage",
96
+ "typecheck": "tsc --noEmit",
97
+ "build": "univer-cli build"
98
+ }
99
+ }