@univerjs-pro/sheets-shape-ui 0.17.0 → 0.18.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 (116) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +358 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -1
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/command-util.d.ts +2 -2
  45. package/lib/types/commands/command/add-shape-command.d.ts +3 -3
  46. package/lib/types/commands/command/menu-insert-shape.command.d.ts +2 -2
  47. package/lib/types/commands/command/set-shape-drawing-data-command.d.ts +4 -4
  48. package/lib/types/commands/command/set-shape-fill.command.d.ts +1 -1
  49. package/lib/types/commands/command/set-shape-flip-command.d.ts +2 -2
  50. package/lib/types/commands/command/set-shape-rotate.command.d.ts +2 -2
  51. package/lib/types/commands/command/set-shape-text-align.command.d.ts +1 -1
  52. package/lib/types/commands/command/set-shape-text-style.command.d.ts +1 -1
  53. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +1 -1
  54. package/lib/types/commands/command/shape-doc-align.command.d.ts +1 -1
  55. package/lib/types/commands/command/test-line.shape.command.d.ts +17 -2
  56. package/lib/types/commands/command/update-connector-relation.command.d.ts +18 -3
  57. package/lib/types/commands/command/update-line-shape-resize.command.d.ts +3 -3
  58. package/lib/types/commands/command/update-shape-data-command.d.ts +3 -3
  59. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +4 -2
  60. package/lib/types/commands/menu/shape-fill.menu.d.ts +2 -2
  61. package/lib/types/commands/menu/shape-font-size.menu.d.ts +2 -2
  62. package/lib/types/commands/menu/shape-text-align.menu.d.ts +3 -2
  63. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +3 -2
  64. package/lib/types/commands/operations/close-shape-panel.operation.d.ts +1 -1
  65. package/lib/types/commands/operations/open-shape-panel.operation.d.ts +1 -1
  66. package/lib/types/controllers/menu.schema.d.ts +1 -1
  67. package/lib/types/controllers/shape-text-editing.render-controller.d.ts +3 -2
  68. package/lib/types/controllers/sheet-basic-shape-connection.controller.d.ts +5 -3
  69. package/lib/types/controllers/sheet-shape-adjust-controller.d.ts +4 -2
  70. package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +4 -1
  71. package/lib/types/controllers/sheet-shape-connector.controller.d.ts +4 -2
  72. package/lib/types/controllers/sheet-shape-render.controller.d.ts +3 -2
  73. package/lib/types/facade/f-connector-shape.d.ts +4 -3
  74. package/lib/types/facade/f-shape.d.ts +2 -2
  75. package/lib/types/facade/f-worksheet.d.ts +2 -1
  76. package/lib/types/locale/ca-ES.d.ts +1 -1
  77. package/lib/types/locale/es-ES.d.ts +1 -1
  78. package/lib/types/locale/fa-IR.d.ts +1 -1
  79. package/lib/types/locale/fr-FR.d.ts +1 -1
  80. package/lib/types/locale/ja-JP.d.ts +1 -1
  81. package/lib/types/locale/ko-KR.d.ts +1 -1
  82. package/lib/types/locale/ru-RU.d.ts +1 -1
  83. package/lib/types/locale/sk-SK.d.ts +1 -1
  84. package/lib/types/locale/vi-VN.d.ts +1 -1
  85. package/lib/types/locale/zh-CN.d.ts +1 -1
  86. package/lib/types/locale/zh-TW.d.ts +1 -1
  87. package/lib/types/plugin.d.ts +1 -1
  88. package/lib/types/services/shape-text-editing.service.d.ts +3 -2
  89. package/lib/types/types.d.ts +2 -2
  90. package/lib/types/view-model/drawing-shape.d.ts +7 -3
  91. package/lib/types/view-model/shape-data-model.d.ts +1 -1
  92. package/lib/types/view-model/sheet-basic-shape-connection-site-object.d.ts +17 -1
  93. package/lib/types/view-model/sheet-shape-adjust-point-object.d.ts +2 -1
  94. package/lib/types/view-model/sheet-shape-connector-handler-object.d.ts +2 -1
  95. package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
  96. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -1
  97. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
  98. package/lib/types/views/shape-menu/shape-menu-factory.d.ts +3 -3
  99. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +3 -3
  100. package/lib/types/views/shape-text-editor/index.d.ts +1 -1
  101. package/lib/types/views/shape-text-editor/position-wrapper.d.ts +2 -2
  102. package/lib/umd/facade.js +1 -1
  103. package/lib/umd/index.js +1 -1
  104. package/lib/umd/locale/ca-ES.js +1 -1
  105. package/lib/umd/locale/en-US.js +1 -1
  106. package/lib/umd/locale/es-ES.js +1 -1
  107. package/lib/umd/locale/fa-IR.js +1 -1
  108. package/lib/umd/locale/fr-FR.js +1 -1
  109. package/lib/umd/locale/ja-JP.js +1 -1
  110. package/lib/umd/locale/ko-KR.js +1 -1
  111. package/lib/umd/locale/ru-RU.js +1 -1
  112. package/lib/umd/locale/sk-SK.js +1 -1
  113. package/lib/umd/locale/vi-VN.js +1 -1
  114. package/lib/umd/locale/zh-CN.js +1 -1
  115. package/lib/umd/locale/zh-TW.js +1 -1
  116. package/package.json +22 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-shape-ui",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "private": false,
5
5
  "description": "shape for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -53,7 +53,6 @@
53
53
  "./lib/*": "./lib/*"
54
54
  },
55
55
  "main": "./lib/es/index.js",
56
- "module": "./lib/es/index.js",
57
56
  "types": "./lib/types/index.d.ts",
58
57
  "publishConfig": {
59
58
  "access": "public"
@@ -74,20 +73,20 @@
74
73
  },
75
74
  "dependencies": {
76
75
  "@univerjs/icons": "^1.1.1",
77
- "@univerjs-pro/engine-shape": "0.17.0",
78
- "@univerjs-pro/sheets-shape": "0.17.0",
79
- "@univerjs/core": "0.17.0",
80
- "@univerjs/docs": "0.17.0",
81
- "@univerjs/design": "0.17.0",
82
- "@univerjs/drawing": "0.17.0",
83
- "@univerjs/docs-ui": "0.17.0",
84
- "@univerjs/drawing-ui": "0.17.0",
85
- "@univerjs/engine-render": "0.17.0",
86
- "@univerjs/sheets": "0.17.0",
87
- "@univerjs/sheets-drawing-ui": "0.17.0",
88
- "@univerjs/sheets-drawing": "0.17.0",
89
- "@univerjs/sheets-ui": "0.17.0",
90
- "@univerjs/ui": "0.17.0"
76
+ "@univerjs-pro/engine-shape": "0.18.0",
77
+ "@univerjs-pro/sheets-shape": "0.18.0",
78
+ "@univerjs/core": "0.18.0",
79
+ "@univerjs/design": "0.18.0",
80
+ "@univerjs/docs-ui": "0.18.0",
81
+ "@univerjs/docs": "0.18.0",
82
+ "@univerjs/engine-render": "0.18.0",
83
+ "@univerjs/drawing": "0.18.0",
84
+ "@univerjs/sheets": "0.18.0",
85
+ "@univerjs/sheets-drawing-ui": "0.18.0",
86
+ "@univerjs/drawing-ui": "0.18.0",
87
+ "@univerjs/sheets-drawing": "0.18.0",
88
+ "@univerjs/ui": "0.18.0",
89
+ "@univerjs/sheets-ui": "0.18.0"
91
90
  },
92
91
  "devDependencies": {
93
92
  "postcss": "^8.5.8",
@@ -95,15 +94,17 @@
95
94
  "rxjs": "7.8.2",
96
95
  "tailwindcss": "^3.4.17",
97
96
  "typescript": "^5.9.3",
98
- "vite": "^7.3.1",
99
- "vitest": "^4.0.18",
100
- "@univerjs-infra/shared": "0.17.0"
97
+ "vitest": "^4.1.0",
98
+ "@univerjs-infra/shared": "0.18.0"
101
99
  },
102
100
  "scripts": {
103
101
  "test": "vitest run",
104
102
  "test:watch": "vitest",
105
103
  "coverage": "vitest run --coverage",
106
104
  "typecheck": "tsc --noEmit",
107
- "build": "univer-cli build"
108
- }
105
+ "build:bundle": "univer-cli build",
106
+ "build:types": "tsc -p tsconfig.node.json",
107
+ "build": "pnpm run build:bundle && pnpm run build:types"
108
+ },
109
+ "module": "./lib/es/index.js"
109
110
  }