@univerjs-pro/engine-shape 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 (211) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +1 -1
  3. package/lib/index.js +1 -1
  4. package/lib/types/model/shape-model.d.ts +3 -2
  5. package/lib/types/perset-shape-config.d.ts +1 -1
  6. package/lib/types/render-engine/base-shape-context.d.ts +1 -1
  7. package/lib/types/render-engine/bent-connector-router-util.d.ts +1 -1
  8. package/lib/types/render-engine/connector-points-util.d.ts +1 -1
  9. package/lib/types/render-engine/line-shape-render-model.d.ts +17 -2
  10. package/lib/types/render-engine/point-to-shape-transform.d.ts +1 -1
  11. package/lib/types/render-engine/shape-render-model.d.ts +2 -2
  12. package/lib/types/shape-type.d.ts +1 -1
  13. package/lib/types/shapes/accent-border-callout1-shape.d.ts +1 -1
  14. package/lib/types/shapes/accent-border-callout2-shape.d.ts +1 -1
  15. package/lib/types/shapes/accent-border-callout3-shape.d.ts +1 -1
  16. package/lib/types/shapes/accent-callout1-shape.d.ts +1 -1
  17. package/lib/types/shapes/accent-callout2-shape.d.ts +1 -1
  18. package/lib/types/shapes/accent-callout3-shape.d.ts +1 -1
  19. package/lib/types/shapes/action-button-back-previous-shape.d.ts +1 -1
  20. package/lib/types/shapes/action-button-beginning-shape.d.ts +1 -1
  21. package/lib/types/shapes/action-button-blank-shape.d.ts +1 -1
  22. package/lib/types/shapes/action-button-document-shape.d.ts +1 -1
  23. package/lib/types/shapes/action-button-end-shape.d.ts +1 -1
  24. package/lib/types/shapes/action-button-forward-next-shape.d.ts +1 -1
  25. package/lib/types/shapes/action-button-help-shape.d.ts +1 -1
  26. package/lib/types/shapes/action-button-home-shape.d.ts +1 -1
  27. package/lib/types/shapes/action-button-information-shape.d.ts +1 -1
  28. package/lib/types/shapes/action-button-movie-shape.d.ts +1 -1
  29. package/lib/types/shapes/action-button-return-shape.d.ts +1 -1
  30. package/lib/types/shapes/action-button-sound-shape.d.ts +1 -1
  31. package/lib/types/shapes/arc-shape.d.ts +1 -1
  32. package/lib/types/shapes/bent-arrow-shape.d.ts +1 -1
  33. package/lib/types/shapes/bent-connector2-shape.d.ts +1 -1
  34. package/lib/types/shapes/bent-connector3-shape.d.ts +1 -1
  35. package/lib/types/shapes/bent-connector4-shape.d.ts +1 -1
  36. package/lib/types/shapes/bent-connector5-shape.d.ts +1 -1
  37. package/lib/types/shapes/bent-up-arrow-shape.d.ts +1 -1
  38. package/lib/types/shapes/bevel-shape.d.ts +1 -1
  39. package/lib/types/shapes/block-arc-shape.d.ts +1 -1
  40. package/lib/types/shapes/border-callout1-shape.d.ts +1 -1
  41. package/lib/types/shapes/border-callout2-shape.d.ts +1 -1
  42. package/lib/types/shapes/border-callout3-shape.d.ts +1 -1
  43. package/lib/types/shapes/brace-pair-shape.d.ts +1 -1
  44. package/lib/types/shapes/bracket-pair-shape.d.ts +1 -1
  45. package/lib/types/shapes/callout1-shape.d.ts +1 -1
  46. package/lib/types/shapes/callout2-shape.d.ts +1 -1
  47. package/lib/types/shapes/callout3-shape.d.ts +1 -1
  48. package/lib/types/shapes/can-shape.d.ts +1 -1
  49. package/lib/types/shapes/chart-plus-shape.d.ts +1 -1
  50. package/lib/types/shapes/chart-star-shape.d.ts +1 -1
  51. package/lib/types/shapes/chart-x-shape.d.ts +1 -1
  52. package/lib/types/shapes/chevron-shape.d.ts +1 -1
  53. package/lib/types/shapes/chord-shape.d.ts +1 -1
  54. package/lib/types/shapes/circle-shape.d.ts +1 -1
  55. package/lib/types/shapes/circular-arrow-shape.d.ts +1 -1
  56. package/lib/types/shapes/cloud-callout-shape.d.ts +1 -1
  57. package/lib/types/shapes/cloud-callout1-shape.d.ts +1 -1
  58. package/lib/types/shapes/cloud-shape.d.ts +1 -1
  59. package/lib/types/shapes/corner-shape.d.ts +1 -1
  60. package/lib/types/shapes/corner-tabs-shape.d.ts +1 -1
  61. package/lib/types/shapes/cube-shape.d.ts +1 -1
  62. package/lib/types/shapes/curved-connector2-shape.d.ts +1 -1
  63. package/lib/types/shapes/curved-connector3-shape.d.ts +1 -1
  64. package/lib/types/shapes/curved-connector4-shape.d.ts +1 -1
  65. package/lib/types/shapes/curved-connector5-shape.d.ts +1 -1
  66. package/lib/types/shapes/curved-down-arrow-shape.d.ts +1 -1
  67. package/lib/types/shapes/curved-left-arrow-shape.d.ts +1 -1
  68. package/lib/types/shapes/curved-right-arrow-shape.d.ts +1 -1
  69. package/lib/types/shapes/curved-up-arrow-shape.d.ts +1 -1
  70. package/lib/types/shapes/decagon-shape.d.ts +1 -1
  71. package/lib/types/shapes/diagonal-stripe-shape.d.ts +1 -1
  72. package/lib/types/shapes/diamond-shape.d.ts +1 -1
  73. package/lib/types/shapes/dodecagon-shape.d.ts +1 -1
  74. package/lib/types/shapes/donut-shape.d.ts +1 -1
  75. package/lib/types/shapes/double-wave-shape.d.ts +1 -1
  76. package/lib/types/shapes/down-arrow-callout-shape.d.ts +1 -1
  77. package/lib/types/shapes/down-arrow-shape.d.ts +1 -1
  78. package/lib/types/shapes/ellipse-ribbon-shape.d.ts +1 -1
  79. package/lib/types/shapes/ellipse-ribbon2-shape.d.ts +1 -1
  80. package/lib/types/shapes/ellipse-shape.d.ts +1 -1
  81. package/lib/types/shapes/flow-chart-offline-storage-shape.d.ts +1 -1
  82. package/lib/types/shapes/flowchart-alternate-process-shape.d.ts +1 -1
  83. package/lib/types/shapes/flowchart-collate-shape.d.ts +1 -1
  84. package/lib/types/shapes/flowchart-connector-shape.d.ts +1 -1
  85. package/lib/types/shapes/flowchart-data-shape.d.ts +1 -1
  86. package/lib/types/shapes/flowchart-decision-shape.d.ts +1 -1
  87. package/lib/types/shapes/flowchart-delay-shape.d.ts +1 -1
  88. package/lib/types/shapes/flowchart-display-shape.d.ts +1 -1
  89. package/lib/types/shapes/flowchart-document-shape.d.ts +1 -1
  90. package/lib/types/shapes/flowchart-extract-shape.d.ts +1 -1
  91. package/lib/types/shapes/flowchart-internal-storage-shape.d.ts +1 -1
  92. package/lib/types/shapes/flowchart-magnetic-disk-shape.d.ts +1 -1
  93. package/lib/types/shapes/flowchart-magnetic-drum-shape.d.ts +1 -1
  94. package/lib/types/shapes/flowchart-magnetic-tape-shape.d.ts +1 -1
  95. package/lib/types/shapes/flowchart-manual-input-shape.d.ts +1 -1
  96. package/lib/types/shapes/flowchart-manual-operation-shape.d.ts +1 -1
  97. package/lib/types/shapes/flowchart-merge-shape.d.ts +1 -1
  98. package/lib/types/shapes/flowchart-multidocument-shape.d.ts +1 -1
  99. package/lib/types/shapes/flowchart-offpage-connector-shape.d.ts +1 -1
  100. package/lib/types/shapes/flowchart-online-storage-shape.d.ts +1 -1
  101. package/lib/types/shapes/flowchart-or-shape.d.ts +1 -1
  102. package/lib/types/shapes/flowchart-predefined-process-shape.d.ts +1 -1
  103. package/lib/types/shapes/flowchart-preparation-shape.d.ts +1 -1
  104. package/lib/types/shapes/flowchart-process-shape.d.ts +1 -1
  105. package/lib/types/shapes/flowchart-punched-card-shape.d.ts +1 -1
  106. package/lib/types/shapes/flowchart-punched-tape-shape.d.ts +1 -1
  107. package/lib/types/shapes/flowchart-sort-shape.d.ts +1 -1
  108. package/lib/types/shapes/flowchart-summing-junction-shape.d.ts +1 -1
  109. package/lib/types/shapes/flowchart-terminator-shape.d.ts +1 -1
  110. package/lib/types/shapes/folded-corner-shape.d.ts +1 -1
  111. package/lib/types/shapes/frame-shape.d.ts +1 -1
  112. package/lib/types/shapes/frame2-shape.d.ts +1 -1
  113. package/lib/types/shapes/funnel-shape.d.ts +1 -1
  114. package/lib/types/shapes/gear6-shape.d.ts +1 -1
  115. package/lib/types/shapes/gear9-shape.d.ts +1 -1
  116. package/lib/types/shapes/half-frame-shape.d.ts +1 -1
  117. package/lib/types/shapes/heart-shape.d.ts +1 -1
  118. package/lib/types/shapes/heptagon-shape.d.ts +1 -1
  119. package/lib/types/shapes/hexagon-shape.d.ts +1 -1
  120. package/lib/types/shapes/home-plate-shape.d.ts +1 -1
  121. package/lib/types/shapes/horizontal-scroll-shape.d.ts +1 -1
  122. package/lib/types/shapes/index.d.ts +1 -1
  123. package/lib/types/shapes/irregular-seal1-shape.d.ts +1 -1
  124. package/lib/types/shapes/irregular-seal2-shape.d.ts +1 -1
  125. package/lib/types/shapes/left-arrow-callout-shape.d.ts +1 -1
  126. package/lib/types/shapes/left-arrow-shape.d.ts +1 -1
  127. package/lib/types/shapes/left-brace-shape.d.ts +1 -1
  128. package/lib/types/shapes/left-bracket-shape.d.ts +1 -1
  129. package/lib/types/shapes/left-circular-arrow-shape.d.ts +1 -1
  130. package/lib/types/shapes/left-right-arrow-callout-shape.d.ts +1 -1
  131. package/lib/types/shapes/left-right-arrow-shape.d.ts +1 -1
  132. package/lib/types/shapes/left-right-circular-arrow-shape.d.ts +1 -1
  133. package/lib/types/shapes/left-right-ribbon-shape.d.ts +1 -1
  134. package/lib/types/shapes/left-right-up-arrow-shape.d.ts +1 -1
  135. package/lib/types/shapes/left-up-arrow-shape.d.ts +1 -1
  136. package/lib/types/shapes/lightning-bolt-shape.d.ts +1 -1
  137. package/lib/types/shapes/line-lnv-shape.d.ts +1 -1
  138. package/lib/types/shapes/line-shape.d.ts +1 -1
  139. package/lib/types/shapes/math-divide-shape.d.ts +1 -1
  140. package/lib/types/shapes/math-equal-shape.d.ts +1 -1
  141. package/lib/types/shapes/math-minus-shape.d.ts +1 -1
  142. package/lib/types/shapes/math-multiply-shape.d.ts +1 -1
  143. package/lib/types/shapes/math-not-equal-shape.d.ts +1 -1
  144. package/lib/types/shapes/math-plus-shape.d.ts +1 -1
  145. package/lib/types/shapes/moon-shape.d.ts +1 -1
  146. package/lib/types/shapes/no-smoking-shape.d.ts +1 -1
  147. package/lib/types/shapes/non-isosceles-trapezoid.d.ts +1 -1
  148. package/lib/types/shapes/notched-right-arrow-shape.d.ts +1 -1
  149. package/lib/types/shapes/octagon-shape.d.ts +1 -1
  150. package/lib/types/shapes/oval-callout1-shape.d.ts +1 -1
  151. package/lib/types/shapes/parallelogram-shape.d.ts +1 -1
  152. package/lib/types/shapes/pentagon-shape.d.ts +1 -1
  153. package/lib/types/shapes/pie-shape.d.ts +1 -1
  154. package/lib/types/shapes/pie-wedge-shape.d.ts +1 -1
  155. package/lib/types/shapes/plaque-shape.d.ts +1 -1
  156. package/lib/types/shapes/plaque-tabs-shape.d.ts +1 -1
  157. package/lib/types/shapes/plus-shape.d.ts +1 -1
  158. package/lib/types/shapes/quad-arrow-callout-shape.d.ts +1 -1
  159. package/lib/types/shapes/quad-arrow-shape.d.ts +1 -1
  160. package/lib/types/shapes/rectangle-callout1-shape.d.ts +1 -1
  161. package/lib/types/shapes/rectangle-shape.d.ts +1 -1
  162. package/lib/types/shapes/ribbon-shape.d.ts +1 -1
  163. package/lib/types/shapes/ribbon2-shape.d.ts +1 -1
  164. package/lib/types/shapes/right-arrow-callout-shape.d.ts +1 -1
  165. package/lib/types/shapes/right-arrow-shape.d.ts +1 -1
  166. package/lib/types/shapes/right-brace-shape.d.ts +1 -1
  167. package/lib/types/shapes/right-bracket-shape.d.ts +1 -1
  168. package/lib/types/shapes/right-triangle-shape.d.ts +1 -1
  169. package/lib/types/shapes/round-rectangle-shape.d.ts +1 -1
  170. package/lib/types/shapes/round-rectangle1-shape.d.ts +1 -1
  171. package/lib/types/shapes/round-rectangle2-diagonal-shape.d.ts +1 -1
  172. package/lib/types/shapes/round-rectangle2-shape.d.ts +1 -1
  173. package/lib/types/shapes/rounded-rectangular-callout1-shape.d.ts +1 -1
  174. package/lib/types/shapes/smiley-face-shape.d.ts +1 -1
  175. package/lib/types/shapes/snip-rectangle1-shape.d.ts +1 -1
  176. package/lib/types/shapes/snip-rectangle2-diagonal-shape.d.ts +1 -1
  177. package/lib/types/shapes/snip-rectangle2-same-shape.d.ts +1 -1
  178. package/lib/types/shapes/snip-round-rectangle1-shape.d.ts +1 -1
  179. package/lib/types/shapes/square-tabs-shape.d.ts +1 -1
  180. package/lib/types/shapes/star10-shape.d.ts +1 -1
  181. package/lib/types/shapes/star12-shape.d.ts +1 -1
  182. package/lib/types/shapes/star16-shape.d.ts +1 -1
  183. package/lib/types/shapes/star24-shape.d.ts +1 -1
  184. package/lib/types/shapes/star32-shape.d.ts +1 -1
  185. package/lib/types/shapes/star4-shape.d.ts +1 -1
  186. package/lib/types/shapes/star5-shape.d.ts +1 -1
  187. package/lib/types/shapes/star6-shape.d.ts +1 -1
  188. package/lib/types/shapes/star7-shape.d.ts +1 -1
  189. package/lib/types/shapes/star8-shape.d.ts +1 -1
  190. package/lib/types/shapes/straight-connector1-shape.d.ts +1 -1
  191. package/lib/types/shapes/striped-right-arrow-shape.d.ts +1 -1
  192. package/lib/types/shapes/sun-shape.d.ts +1 -1
  193. package/lib/types/shapes/swoosh-arrow-shape.d.ts +1 -1
  194. package/lib/types/shapes/teardrop-shape.d.ts +1 -1
  195. package/lib/types/shapes/text-box-shape.d.ts +1 -1
  196. package/lib/types/shapes/trapezoid-shape.d.ts +1 -1
  197. package/lib/types/shapes/triangle-shape.d.ts +1 -1
  198. package/lib/types/shapes/up-arrow-callout-shape.d.ts +1 -1
  199. package/lib/types/shapes/up-arrow-shape.d.ts +1 -1
  200. package/lib/types/shapes/up-down-arrow-callout-shape.d.ts +1 -1
  201. package/lib/types/shapes/up-down-arrow-shape.d.ts +1 -1
  202. package/lib/types/shapes/uturn-arrow-shape.d.ts +1 -1
  203. package/lib/types/shapes/vertical-scroll-shape.d.ts +1 -1
  204. package/lib/types/shapes/wave-shape.d.ts +1 -1
  205. package/lib/types/shapes/wedge-ellipse-callout-shape.d.ts +1 -1
  206. package/lib/types/shapes/wedge-rect-callout-shape.d.ts +1 -1
  207. package/lib/types/shapes/wedge-round-rect-callout-shape.d.ts +1 -1
  208. package/lib/types/util/connector-points-util.d.ts +1 -1
  209. package/lib/types/util/connector-transform.d.ts +1 -1
  210. package/lib/umd/index.js +1 -1
  211. package/package.json +8 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-shape",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "private": false,
5
5
  "description": "preset shape library for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -38,7 +38,6 @@
38
38
  "./lib/*": "./lib/*"
39
39
  },
40
40
  "main": "./lib/es/index.js",
41
- "module": "./lib/es/index.js",
42
41
  "types": "./lib/types/index.d.ts",
43
42
  "publishConfig": {
44
43
  "access": "public"
@@ -51,15 +50,17 @@
51
50
  ],
52
51
  "devDependencies": {
53
52
  "typescript": "^5.9.3",
54
- "vite": "^7.3.1",
55
- "vitest": "^4.0.18",
56
- "@univerjs-infra/shared": "0.17.0"
53
+ "vitest": "^4.1.0",
54
+ "@univerjs-infra/shared": "0.18.0"
57
55
  },
58
56
  "scripts": {
59
57
  "test": "vitest run",
60
58
  "test:watch": "vitest",
61
59
  "coverage": "vitest run --coverage",
62
60
  "typecheck": "tsc --noEmit",
63
- "build": "univer-cli build"
64
- }
61
+ "build:bundle": "univer-cli build",
62
+ "build:types": "tsc -p tsconfig.node.json",
63
+ "build": "pnpm run build:bundle && pnpm run build:types"
64
+ },
65
+ "module": "./lib/es/index.js"
65
66
  }