@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
@@ -1 +1 @@
1
- const _0x3a2901=_0x2d66;(function(_0x23b528,_0x45f1f5){const _0x49d034=_0x2d66,_0x3c09dd=_0x23b528();while(!![]){try{const _0x350e51=parseInt(_0x49d034(0x169))/0x1*(-parseInt(_0x49d034(0x15b))/0x2)+-parseInt(_0x49d034(0x1e5))/0x3+-parseInt(_0x49d034(0x1e2))/0x4*(-parseInt(_0x49d034(0x1de))/0x5)+parseInt(_0x49d034(0x157))/0x6+parseInt(_0x49d034(0x1b2))/0x7*(parseInt(_0x49d034(0x1e7))/0x8)+-parseInt(_0x49d034(0x1ab))/0x9+parseInt(_0x49d034(0x1cb))/0xa;if(_0x350e51===_0x45f1f5)break;else _0x3c09dd['push'](_0x3c09dd['shift']());}catch(_0x2aa094){_0x3c09dd['push'](_0x3c09dd['shift']());}}}(_0x5b5a,0x79a99));const r={'sheets-shape':{'title':'形狀','insertShape':'插入形狀','openPanel':_0x3a2901(0x18a),'deleteShape':_0x3a2901(0x1a6),'hidePanel':'隱藏形狀面板','formatShape':_0x3a2901(0x1a4),'shapeStyle':'圖形樣式','shapePosition':_0x3a2901(0x1a2),'toggleFlipH':_0x3a2901(0x199),'toggleFlipV':_0x3a2901(0x1c4),'rotateRight90':_0x3a2901(0x165),'rotateLeft90':_0x3a2901(0x1bd),'fill':{'title':'填充','noFill':_0x3a2901(0x1b3),'solidFill':_0x3a2901(0x196),'gradientFill':_0x3a2901(0x1d7),'pictureFill':_0x3a2901(0x1ec),'patternFill':_0x3a2901(0x182),'color':'顏色','transparency':_0x3a2901(0x1ee)},'line':{'title':'線條','noLine':_0x3a2901(0x180),'solidLine':'實線','gradientLine':_0x3a2901(0x1f8),'color':'顏色','transparency':'透明度','width':'寬度','dashType':{'title':_0x3a2901(0x194),'solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':_0x3a2901(0x16c),'longDash':_0x3a2901(0x19f),'longDashDot':_0x3a2901(0x155),'longDashDotDot':_0x3a2901(0x1ae)},'capType':{'title':_0x3a2901(0x1bc),'flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':_0x3a2901(0x15e),'miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':_0x3a2901(0x19d),'beginArrowSize':_0x3a2901(0x1ef),'endArrowType':_0x3a2901(0x14d),'endArrowSize':_0x3a2901(0x18f),'arrowType':{'none':'無','arrow':'箭頭','openArrow':_0x3a2901(0x178),'stealthArrow':_0x3a2901(0x170),'diamondArrow':'菱形箭頭','ovalArrow':_0x3a2901(0x1c7)},'arrowSize':{'small':'小','medium':'中','large':'大'}}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':_0x3a2901(0x167),'blockArrow':_0x3a2901(0x17a),'equationShape':'公式形狀','flowchart':_0x3a2901(0x14f),'starAndBanner':'星與旗幟','callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':_0x3a2901(0x1dc),'straight-connector2':'雙箭頭直線','bent-connector3':'折線','bent-connector3-arrow1':_0x3a2901(0x151),'bent-connector3-arrow2':'雙箭頭折線','curved-connector3':'曲線','curved-connector3-arrow1':_0x3a2901(0x158),'curved-connector3-arrow2':_0x3a2901(0x1d9),'rect':'矩形','round-rect':_0x3a2901(0x1a1),'snip1-rect':_0x3a2901(0x1da),'snip2-same-rect':_0x3a2901(0x1e0),'snip2-diag-rect':_0x3a2901(0x1c5),'snip-round-rect':'矩形:一個圓頂角,剪去另一個頂角','round1-rect':_0x3a2901(0x1cf),'round2-same-rect':'矩形:圓頂角','round2-diag-rect':'矩形:對角圓角','rect-textbox-horizontal':_0x3a2901(0x1f7),'rect-textbox-vertical':_0x3a2901(0x1df),'ellipse':'橢圓','triangle':_0x3a2901(0x14c),'rt-triangle':_0x3a2901(0x19e),'parallelogram':_0x3a2901(0x188),'trapezoid':'梯形','non-isosceles-trapezoid':_0x3a2901(0x189),'diamond':'菱形','pentagon':'五邊形','hexagon':_0x3a2901(0x192),'heptagon':'七邊形','octagon':'八邊形','decagon':'十邊形','dodecagon':_0x3a2901(0x163),'pie':_0x3a2901(0x1b4),'chord':'弦形','teardrop':_0x3a2901(0x172),'frame':_0x3a2901(0x1c9),'half-frame':'半閉框','corner':'L形','diag-stripe':'斜紋','plus':_0x3a2901(0x156),'plaque':_0x3a2901(0x1a0),'can':_0x3a2901(0x184),'cube':_0x3a2901(0x1ce),'bevel':_0x3a2901(0x17b),'donut':'圓:空心','no-smoking':'禁止符','block-arc':'空心弧','folder-corner':_0x3a2901(0x164),'smiley-face':'笑臉','heart':'心形','lightning-bolt':'閃電形','sun':'太陽形','moon':_0x3a2901(0x161),'cloud':'雲形','arc':'弧形','bracket-pair':_0x3a2901(0x198),'brace-pair':_0x3a2901(0x1a9),'left-bracket':_0x3a2901(0x1b1),'right-bracket':_0x3a2901(0x168),'left-brace':_0x3a2901(0x14b),'right-brace':_0x3a2901(0x1a7),'right-arrow':_0x3a2901(0x174),'left-arrow':_0x3a2901(0x1c3),'up-arrow':_0x3a2901(0x1a3),'down-arrow':_0x3a2901(0x1aa),'left-right-arrow':_0x3a2901(0x16e),'up-down-arrow':_0x3a2901(0x1f3),'quad-arrow':_0x3a2901(0x1d4),'left-right-up-arrow':'箭頭:丁字','bent-arrow':_0x3a2901(0x152),'uturn-arrow':_0x3a2901(0x1f5),'left-up-arrow':'箭頭:直角雙向','bent-up-arrow':_0x3a2901(0x1ac),'curved-right-arrow':_0x3a2901(0x1b0),'curved-left-arrow':_0x3a2901(0x18e),'curved-up-arrow':'箭頭:上弧形','curved-down-arrow':_0x3a2901(0x1e4),'striped-right-arrow':_0x3a2901(0x1b8),'notched-right-arrow':_0x3a2901(0x19b),'home-plate':_0x3a2901(0x1f6),'chevron':_0x3a2901(0x1c6),'right-arrow-callout':_0x3a2901(0x1a8),'down-arrow-callout':_0x3a2901(0x160),'left-arrow-callout':'標註:左箭頭','up-arrow-callout':_0x3a2901(0x1db),'left-right-arrow-callout':'標註:左右箭頭','quad-arrow-callout':_0x3a2901(0x1af),'circular-arrow':_0x3a2901(0x1f1),'math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':_0x3a2901(0x18d),'flow-chart-process':_0x3a2901(0x1ed),'flow-chart-alternate-process':_0x3a2901(0x173),'flow-chart-decision':_0x3a2901(0x1e8),'flow-chart-input-output':_0x3a2901(0x1b7),'flow-chart-predefined-process':_0x3a2901(0x186),'flow-chart-internal-storage':_0x3a2901(0x1e9),'flow-chart-document':_0x3a2901(0x1d0),'flow-chart-multidocument':_0x3a2901(0x190),'flow-chart-terminator':_0x3a2901(0x1bf),'flow-chart-preparation':_0x3a2901(0x15d),'flow-chart-manual-input':_0x3a2901(0x1c1),'flow-chart-manual-operation':_0x3a2901(0x159),'flow-chart-connector':'流程圖:接點','flow-chart-offpage-connector':_0x3a2901(0x1c8),'flow-chart-punched-card':_0x3a2901(0x15f),'flow-chart-punched-tape':_0x3a2901(0x166),'flow-chart-summing-junction':_0x3a2901(0x1c0),'flow-chart-or':_0x3a2901(0x17d),'flow-chart-collate':_0x3a2901(0x1c2),'flow-chart-sort':_0x3a2901(0x19a),'flow-chart-extract':'流程圖:摘錄','flow-chart-merge':_0x3a2901(0x1d1),'flow-chart-online-storage':_0x3a2901(0x150),'flow-chart-delay':_0x3a2901(0x1cc),'flow-chart-magnetic-tape':'流程圖:順序訪問存儲器','flow-chart-magnetic-disk':_0x3a2901(0x175),'flow-chart-magnetic-drum':_0x3a2901(0x193),'flow-chart-display':'流程圖:顯示','irregular-seal1':_0x3a2901(0x1eb),'irregular-seal2':_0x3a2901(0x1be),'star4':_0x3a2901(0x177),'star5':_0x3a2901(0x16b),'star6':_0x3a2901(0x16f),'star7':'星形:七角','star8':_0x3a2901(0x1f2),'star10':_0x3a2901(0x18b),'star12':'星形:十二角','star16':'星形:十六角','star24':_0x3a2901(0x1b6),'star32':_0x3a2901(0x197),'ribbon2':_0x3a2901(0x1b9),'ribbon':'帶形:前凸','ellipse-ribbon2':_0x3a2901(0x191),'ellipse-ribbon':_0x3a2901(0x1d3),'vertical-scroll':_0x3a2901(0x1dd),'horizontal-scroll':'卷形:水平','wave':'波形','double-wave':_0x3a2901(0x183),'wedge-rect-callout':_0x3a2901(0x1d6),'wedge-round-rect-callout':_0x3a2901(0x1e6),'wedge-ellipse-callout':_0x3a2901(0x19c),'cloud-callout':_0x3a2901(0x15a),'border-callout1':_0x3a2901(0x171),'border-callout2':_0x3a2901(0x154),'border-callout3':_0x3a2901(0x17f),'accent-callout1':_0x3a2901(0x1cd),'accent-callout2':'標註:彎曲線形(帶強調線)','accent-callout3':_0x3a2901(0x1d2),'callout1':_0x3a2901(0x1ea),'callout2':_0x3a2901(0x181),'callout3':_0x3a2901(0x176),'accent-border-callout1':_0x3a2901(0x16a),'accent-border-callout2':_0x3a2901(0x179),'accent-border-callout3':_0x3a2901(0x195),'left-circular-arrow':_0x3a2901(0x1ca),'left-right-circular-arrow':_0x3a2901(0x187),'swoosh-arrow':'彎曲箭頭','left-right-ribbon':_0x3a2901(0x1a5),'pie-wedge':_0x3a2901(0x16d),'funnel':'漏斗','gear6':'6齒齒輪','gear9':'9齒齒輪','corner-tabs':'角標','action-button-back-previous':_0x3a2901(0x1ad),'action-button-forward-next':_0x3a2901(0x1ba),'action-button-beginning':'開始按鈕','action-button-end':_0x3a2901(0x1f4),'action-button-home':_0x3a2901(0x162),'action-button-information':_0x3a2901(0x1bb),'action-button-return':_0x3a2901(0x18c),'action-button-movie':_0x3a2901(0x15c),'action-button-document':_0x3a2901(0x1e3),'action-button-sound':'聲音按鈕','action-button-help':_0x3a2901(0x1d5),'action-button-blank':_0x3a2901(0x153),'chart-plus':_0x3a2901(0x1e1),'chart-star':_0x3a2901(0x17c),'chart-x':_0x3a2901(0x14e),'flow-chart-offline-storage':_0x3a2901(0x185),'line-inv':_0x3a2901(0x1b5),'plaque-tabs':_0x3a2901(0x1f0),'square-tabs':_0x3a2901(0x1d8),'up-down-arrow-callout':_0x3a2901(0x17e)}}};function _0x2d66(_0x1095c3,_0x2bc3c5){_0x1095c3=_0x1095c3-0x14b;const _0x5b5afd=_0x5b5a();let _0x2d662b=_0x5b5afd[_0x1095c3];return _0x2d662b;}function _0x5b5a(){const _0x5143ce=['起點箭頭大小','牌匾標籤','箭頭:環形','星形:八角','箭頭:上下','結束按鈕','箭頭:手杖形','五邊形','橫向文字方塊','漸層線','左大括號','等腰三角形','終點箭頭類型','圖表X','流程圖','流程圖:存儲數據','折線:箭頭','箭頭:圓角右','空白按鈕','標註:彎曲線形','長虛線-點','十字形','822618cKABAi','曲線:箭頭','流程圖:手動操作','氣泡:雲','1699990sMcRGQ','電影按鈕','流程圖:準備','聯接類型','流程圖:卡片','標註:下箭頭','新月形','主頁按鈕','十二邊形','矩形:折角','順時針\x2090\x20度旋轉','流程圖:資料帶','基本形狀','右中括號','1jMAaSI','標註:線形(帶邊框和強調線)','星形:五角','虛線-點','餅形楔','箭頭:左右','星形:六角','隱形箭頭','標註:線形','淚滴形','流程圖:可選過程','箭頭:右','流程圖:磁盤','標註:雙彎曲線形(無邊框)','星形:四角','開放箭頭','標註:彎曲線形(帶邊框和強調線)','箭頭總匯','矩形:棱台','圖表星號','流程圖:或者','上下箭頭標註','標註:雙彎曲線形','無線條','標註:彎曲線形(無邊框)','圖案填充','雙波形','圓柱形','流程圖:離線存儲','流程圖:預定義過程','左右圓形箭頭','平行四邊形','非等腰梯形','打開形狀面板','星形:十角','返回按鈕','不等號','箭頭:左弧形','終點箭頭大小','流程圖:多文檔','帶形:上凸彎','六邊形','流程圖:直接訪問存儲器','虛線類型','標註:雙彎曲線形(帶邊框和強調線)','純色填充','星形:三十二角','雙括號','切換水平翻轉','流程圖:排序','箭頭:燕尾形','對話氣泡:圓形','起點箭頭類型','直角三角形','長虛線','缺角矩形','圓角矩形','圖形位置','箭頭:上','格式化形狀','左右帶形','刪除形狀','右大括號','標註:右箭頭','雙大括號','箭頭:下','8536374IVSUGR','箭頭:直角上','返回/上一個按鈕','長虛線-點-點','標註:十字箭頭','箭頭:右弧形','左中括號','99729nDnqld','無填充','不完整圓','線反向','星形:二十四角','流程圖:數據','箭頭:虛尾','帶形:上凸','前進/下一個按鈕','信息按鈕','端點類型','逆時針\x2090\x20度旋轉','爆炸形:14pt','流程圖:終止','流程圖:匯總連接','流程圖:手動輸入','流程圖:對照','箭頭:左','切換垂直翻轉','矩形:剪去對角','箭頭:V型','橢圓箭頭','流程圖:離頁連接符','圖文框','左圓形箭頭','19771390uPojio','流程圖:延期','標註:線形(帶強調線)','立方體','矩形:單圓角','流程圖:文檔','流程圖:合併','標註:雙彎曲線形(帶強調線)','帶形:前凸彎','箭頭:十字','幫助按鈕','對話氣泡:矩形','漸層填充','方形標籤','雙箭頭曲線','剪去單角矩形','標註:上箭頭','直線箭頭','卷形:垂直','830hrHtjy','縱向文字方塊','矩形:剪去頂角','圖表加號','9136AQPRSj','文檔按鈕','箭頭:下弧形','675210esbZyX','對話氣泡:圓角矩形','16AuhuhU','流程圖:決策','流程圖:內部貯存','標註:線形(無邊框)','爆炸形:8pt','圖片或紋理填充','流程圖:過程','透明度'];_0x5b5a=function(){return _0x5143ce;};return _0x5b5a();}export{r as default};
1
+ const _0x5b12b6=_0xf444;function _0x4d8c(){const _0x3717fd=['流程圖','左大括號','流程圖:多文檔','星形:八角','箭頭:右','箭頭:直角上','箭頭:十字','箭頭:手杖形','對話氣泡:圓角矩形','餅形楔','禁止符','標註:下箭頭','開放箭頭','卷形:垂直','545259GwXrEI','方形標籤','線反向','左中括號','流程圖:接點','電影按鈕','隱形箭頭','流程圖:合併','9齒齒輪','箭頭:環形','橫向文字方塊','1785xBbXpu','長虛線-點','流程圖:預定義過程','雙大括號','信息按鈕','標註:彎曲線形','流程圖:延期','無填充','左右帶形','流程圖:手動輸入','左右圓形箭頭','開始按鈕','矩形:折角','星形:六角','流程圖:對照','矩形:剪去頂角','圖形樣式','流程圖:匯總連接','星形:十六角','矩形:棱台','標註:雙彎曲線形(帶邊框和強調線)','右中括號','十二邊形','箭頭:下弧形','長虛線-點-點','標註:線形(帶強調線)','標註:雙彎曲線形','圖表星號','星形:十二角','雙波形','切換垂直翻轉','170qzLSBv','流程圖:排序','圖案填充','格式化形狀','不等號','不完整圓','半閉框','6齒齒輪','終點箭頭大小','右大括號','2114872Jjusvk','雙箭頭折線','氣泡:雲','圖表X','太陽形','結束按鈕','流程圖:數據','標註:線形(帶邊框和強調線)','標註:彎曲線形(無邊框)','標註:右箭頭','圓柱形','8lTaoEV','七邊形','帶形:前凸彎','箭頭:右弧形','星形:五角','箭頭:下','標註:線形(無邊框)','箭頭:上','公式形狀','對話氣泡:圓形','流程圖:直接訪問存儲器','標註:彎曲線形(帶邊框和強調線)','流程圖:準備','星形:十角','箭頭總匯','流程圖:決策','圖片或紋理填充','純色填充','立方體','箭頭:上弧形','起點箭頭大小','10oVIDHP','圓角矩形','704221tBBzqp','圖形位置','流程圖:文檔','箭頭:直角雙向','返回按鈕','23600643YxnlBw','箭頭:上下','逆時針\x2090\x20度旋轉','曲線:箭頭','折線:箭頭','透明度','五邊形','圖文框','淚滴形','主頁按鈕','插入形狀','流程圖:順序訪問存儲器','隱藏形狀面板','箭頭:左','2478CFPBux','虛線類型','帶形:上凸彎','幫助按鈕','菱形箭頭','雙箭頭直線','六邊形','縱向文字方塊','流程圖:資料帶','箭頭:丁字','流程圖:可選過程','圖表加號','返回/上一個按鈕','4919337kAjAKN','漸層線','終點箭頭類型','流程圖:卡片','起點箭頭類型','聯接類型','左圓形箭頭','聲音按鈕','矩形:對角圓角','爆炸形:8pt','順時針\x2090\x20度旋轉','新月形','切換水平翻轉','流程圖:過程','流程圖:手動操作','前進/下一個按鈕','流程圖:摘錄','爆炸形:14pt','流程圖:離線存儲','等腰三角形','基本形狀','十字形','漸層填充','星形:三十二角','圓:空心','星形:七角','箭頭:左右','5544jgeZwZ','標註:左箭頭'];_0x4d8c=function(){return _0x3717fd;};return _0x4d8c();}(function(_0x146fa,_0x55b2ef){const _0x23096f=_0xf444,_0x5992b5=_0x146fa();while(!![]){try{const _0x854074=-parseInt(_0x23096f(0x258))/0x1+parseInt(_0x23096f(0x241))/0x2*(-parseInt(_0x23096f(0x202))/0x3)+parseInt(_0x23096f(0x236))/0x4+parseInt(_0x23096f(0x22c))/0x5*(parseInt(_0x23096f(0x1ca))/0x6)+parseInt(_0x23096f(0x20d))/0x7*(-parseInt(_0x23096f(0x1f2))/0x8)+-parseInt(_0x23096f(0x1d7))/0x9*(parseInt(_0x23096f(0x256))/0xa)+parseInt(_0x23096f(0x25d))/0xb;if(_0x854074===_0x55b2ef)break;else _0x5992b5['push'](_0x5992b5['shift']());}catch(_0x369e12){_0x5992b5['push'](_0x5992b5['shift']());}}}(_0x4d8c,0x824e4));const e={'sheets-shape':{'title':'形狀','insertShape':_0x5b12b6(0x1c6),'openPanel':'打開形狀面板','deleteShape':'刪除形狀','hidePanel':_0x5b12b6(0x1c8),'formatShape':_0x5b12b6(0x22f),'shapeStyle':_0x5b12b6(0x21d),'shapePosition':_0x5b12b6(0x259),'toggleFlipH':_0x5b12b6(0x1e3),'toggleFlipV':_0x5b12b6(0x22b),'rotateRight90':_0x5b12b6(0x1e1),'rotateLeft90':_0x5b12b6(0x25f),'fill':{'title':'填充','noFill':_0x5b12b6(0x214),'solidFill':_0x5b12b6(0x252),'gradientFill':_0x5b12b6(0x1ed),'pictureFill':_0x5b12b6(0x251),'patternFill':_0x5b12b6(0x22e),'color':'顏色','transparency':'透明度'},'line':{'title':'線條','noLine':'無線條','solidLine':'實線','gradientLine':_0x5b12b6(0x1d8),'color':'顏色','transparency':_0x5b12b6(0x262),'width':'寬度','dashType':{'title':_0x5b12b6(0x1cb),'solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':'虛線-點','longDash':'長虛線','longDashDot':_0x5b12b6(0x20e),'longDashDotDot':_0x5b12b6(0x225)},'capType':{'title':'端點類型','flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':_0x5b12b6(0x1dc),'miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':_0x5b12b6(0x1db),'beginArrowSize':_0x5b12b6(0x255),'endArrowType':_0x5b12b6(0x1d9),'endArrowSize':_0x5b12b6(0x234),'arrowType':{'none':'無','arrow':'箭頭','openArrow':_0x5b12b6(0x200),'stealthArrow':_0x5b12b6(0x208),'diamondArrow':_0x5b12b6(0x1ce),'ovalArrow':'橢圓箭頭'},'arrowSize':{'small':'小','medium':'中','large':'大'}}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':_0x5b12b6(0x1eb),'blockArrow':_0x5b12b6(0x24f),'equationShape':_0x5b12b6(0x249),'flowchart':_0x5b12b6(0x1f4),'starAndBanner':'星與旗幟','callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':'直線箭頭','straight-connector2':_0x5b12b6(0x1cf),'bent-connector3':'折線','bent-connector3-arrow1':_0x5b12b6(0x261),'bent-connector3-arrow2':_0x5b12b6(0x237),'curved-connector3':'曲線','curved-connector3-arrow1':_0x5b12b6(0x260),'curved-connector3-arrow2':'雙箭頭曲線','rect':'矩形','round-rect':_0x5b12b6(0x257),'snip1-rect':'剪去單角矩形','snip2-same-rect':_0x5b12b6(0x21c),'snip2-diag-rect':'矩形:剪去對角','snip-round-rect':'矩形:一個圓頂角,剪去另一個頂角','round1-rect':'矩形:單圓角','round2-same-rect':'矩形:圓頂角','round2-diag-rect':_0x5b12b6(0x1df),'rect-textbox-horizontal':_0x5b12b6(0x20c),'rect-textbox-vertical':_0x5b12b6(0x1d1),'ellipse':'橢圓','triangle':_0x5b12b6(0x1ea),'rt-triangle':'直角三角形','parallelogram':'平行四邊形','trapezoid':'梯形','non-isosceles-trapezoid':'非等腰梯形','diamond':'菱形','pentagon':_0x5b12b6(0x263),'hexagon':_0x5b12b6(0x1d0),'heptagon':_0x5b12b6(0x242),'octagon':'八邊形','decagon':'十邊形','dodecagon':_0x5b12b6(0x223),'pie':_0x5b12b6(0x231),'chord':'弦形','teardrop':_0x5b12b6(0x265),'frame':_0x5b12b6(0x264),'half-frame':_0x5b12b6(0x232),'corner':'L形','diag-stripe':'斜紋','plus':_0x5b12b6(0x1ec),'plaque':'缺角矩形','can':_0x5b12b6(0x240),'cube':_0x5b12b6(0x253),'bevel':_0x5b12b6(0x220),'donut':_0x5b12b6(0x1ef),'no-smoking':_0x5b12b6(0x1fe),'block-arc':'空心弧','folder-corner':_0x5b12b6(0x219),'smiley-face':'笑臉','heart':'心形','lightning-bolt':'閃電形','sun':_0x5b12b6(0x23a),'moon':_0x5b12b6(0x1e2),'cloud':'雲形','arc':'弧形','bracket-pair':'雙括號','brace-pair':_0x5b12b6(0x210),'left-bracket':_0x5b12b6(0x205),'right-bracket':_0x5b12b6(0x222),'left-brace':_0x5b12b6(0x1f5),'right-brace':_0x5b12b6(0x235),'right-arrow':_0x5b12b6(0x1f8),'left-arrow':_0x5b12b6(0x1c9),'up-arrow':_0x5b12b6(0x248),'down-arrow':_0x5b12b6(0x246),'left-right-arrow':_0x5b12b6(0x1f1),'up-down-arrow':_0x5b12b6(0x25e),'quad-arrow':_0x5b12b6(0x1fa),'left-right-up-arrow':_0x5b12b6(0x1d3),'bent-arrow':'箭頭:圓角右','uturn-arrow':_0x5b12b6(0x1fb),'left-up-arrow':_0x5b12b6(0x25b),'bent-up-arrow':_0x5b12b6(0x1f9),'curved-right-arrow':_0x5b12b6(0x244),'curved-left-arrow':'箭頭:左弧形','curved-up-arrow':_0x5b12b6(0x254),'curved-down-arrow':_0x5b12b6(0x224),'striped-right-arrow':'箭頭:虛尾','notched-right-arrow':'箭頭:燕尾形','home-plate':_0x5b12b6(0x263),'chevron':'箭頭:V型','right-arrow-callout':_0x5b12b6(0x23f),'down-arrow-callout':_0x5b12b6(0x1ff),'left-arrow-callout':_0x5b12b6(0x1f3),'up-arrow-callout':'標註:上箭頭','left-right-arrow-callout':'標註:左右箭頭','quad-arrow-callout':'標註:十字箭頭','circular-arrow':_0x5b12b6(0x20b),'math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':_0x5b12b6(0x230),'flow-chart-process':_0x5b12b6(0x1e4),'flow-chart-alternate-process':_0x5b12b6(0x1d4),'flow-chart-decision':_0x5b12b6(0x250),'flow-chart-input-output':_0x5b12b6(0x23c),'flow-chart-predefined-process':_0x5b12b6(0x20f),'flow-chart-internal-storage':'流程圖:內部貯存','flow-chart-document':_0x5b12b6(0x25a),'flow-chart-multidocument':_0x5b12b6(0x1f6),'flow-chart-terminator':'流程圖:終止','flow-chart-preparation':_0x5b12b6(0x24d),'flow-chart-manual-input':_0x5b12b6(0x216),'flow-chart-manual-operation':_0x5b12b6(0x1e5),'flow-chart-connector':_0x5b12b6(0x206),'flow-chart-offpage-connector':'流程圖:離頁連接符','flow-chart-punched-card':_0x5b12b6(0x1da),'flow-chart-punched-tape':_0x5b12b6(0x1d2),'flow-chart-summing-junction':_0x5b12b6(0x21e),'flow-chart-or':'流程圖:或者','flow-chart-collate':_0x5b12b6(0x21b),'flow-chart-sort':_0x5b12b6(0x22d),'flow-chart-extract':_0x5b12b6(0x1e7),'flow-chart-merge':_0x5b12b6(0x209),'flow-chart-online-storage':'流程圖:存儲數據','flow-chart-delay':_0x5b12b6(0x213),'flow-chart-magnetic-tape':_0x5b12b6(0x1c7),'flow-chart-magnetic-disk':'流程圖:磁盤','flow-chart-magnetic-drum':_0x5b12b6(0x24b),'flow-chart-display':'流程圖:顯示','irregular-seal1':_0x5b12b6(0x1e0),'irregular-seal2':_0x5b12b6(0x1e8),'star4':'星形:四角','star5':_0x5b12b6(0x245),'star6':_0x5b12b6(0x21a),'star7':_0x5b12b6(0x1f0),'star8':_0x5b12b6(0x1f7),'star10':_0x5b12b6(0x24e),'star12':_0x5b12b6(0x229),'star16':_0x5b12b6(0x21f),'star24':'星形:二十四角','star32':_0x5b12b6(0x1ee),'ribbon2':'帶形:上凸','ribbon':'帶形:前凸','ellipse-ribbon2':_0x5b12b6(0x1cc),'ellipse-ribbon':_0x5b12b6(0x243),'vertical-scroll':_0x5b12b6(0x201),'horizontal-scroll':'卷形:水平','wave':'波形','double-wave':_0x5b12b6(0x22a),'wedge-rect-callout':'對話氣泡:矩形','wedge-round-rect-callout':_0x5b12b6(0x1fc),'wedge-ellipse-callout':_0x5b12b6(0x24a),'cloud-callout':_0x5b12b6(0x238),'border-callout1':'標註:線形','border-callout2':_0x5b12b6(0x212),'border-callout3':_0x5b12b6(0x227),'accent-callout1':_0x5b12b6(0x226),'accent-callout2':'標註:彎曲線形(帶強調線)','accent-callout3':'標註:雙彎曲線形(帶強調線)','callout1':_0x5b12b6(0x247),'callout2':_0x5b12b6(0x23e),'callout3':'標註:雙彎曲線形(無邊框)','accent-border-callout1':_0x5b12b6(0x23d),'accent-border-callout2':_0x5b12b6(0x24c),'accent-border-callout3':_0x5b12b6(0x221),'left-circular-arrow':_0x5b12b6(0x1dd),'left-right-circular-arrow':_0x5b12b6(0x217),'swoosh-arrow':'彎曲箭頭','left-right-ribbon':_0x5b12b6(0x215),'pie-wedge':_0x5b12b6(0x1fd),'funnel':'漏斗','gear6':_0x5b12b6(0x233),'gear9':_0x5b12b6(0x20a),'corner-tabs':'角標','action-button-back-previous':_0x5b12b6(0x1d6),'action-button-forward-next':_0x5b12b6(0x1e6),'action-button-beginning':_0x5b12b6(0x218),'action-button-end':_0x5b12b6(0x23b),'action-button-home':_0x5b12b6(0x1c5),'action-button-information':_0x5b12b6(0x211),'action-button-return':_0x5b12b6(0x25c),'action-button-movie':_0x5b12b6(0x207),'action-button-document':'文檔按鈕','action-button-sound':_0x5b12b6(0x1de),'action-button-help':_0x5b12b6(0x1cd),'action-button-blank':'空白按鈕','chart-plus':_0x5b12b6(0x1d5),'chart-star':_0x5b12b6(0x228),'chart-x':_0x5b12b6(0x239),'flow-chart-offline-storage':_0x5b12b6(0x1e9),'line-inv':_0x5b12b6(0x204),'plaque-tabs':'牌匾標籤','square-tabs':_0x5b12b6(0x203),'up-down-arrow-callout':'上下箭頭標註'}}};function _0xf444(_0x5375ff,_0x19e4bb){_0x5375ff=_0x5375ff-0x1c5;const _0x4d8c2a=_0x4d8c();let _0xf444e8=_0x4d8c2a[_0x5375ff];return _0xf444e8;}export{e as default};
@@ -1,5 +1,5 @@
1
- import { ICxnShapeData, IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { ICommandService } from '@univerjs/core';
1
+ import type { ICxnShapeData, IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { ICommandService } from '@univerjs/core';
3
3
  interface IOldShapeData {
4
4
  oldShapeData?: IShapeData;
5
5
  oldShapeType?: ShapeTypeEnum;
@@ -1,6 +1,6 @@
1
- import { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { ICommand } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { ICommand } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
4
  export interface IInsertSheetsShapeCommandParams extends ISheetCommandSharedParams {
5
5
  shapeId?: string;
6
6
  shapeType: ShapeTypeEnum;
@@ -1,5 +1,5 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
3
3
  import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
4
4
  interface IEnhanceParams {
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { ICommand, ITransformState } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
4
- import { ISheetDrawingPosition } from '@univerjs/sheets-drawing';
1
+ import type { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { ICommand, ITransformState } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
+ import type { ISheetDrawingPosition } from '@univerjs/sheets-drawing';
5
5
  export interface ISetShapeDrawingDataCommandParams extends ISheetCommandSharedParams {
6
6
  shapeId: string;
7
7
  shapeType: ShapeTypeEnum;
@@ -1,4 +1,4 @@
1
- import { ICommand } from '@univerjs/core';
1
+ import type { ICommand } from '@univerjs/core';
2
2
  export interface ISetShapeFillColorCommandParams {
3
3
  value: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
3
3
  export interface IUpdateSheetsShapeFlipCommandParams extends ISheetCommandSharedParams {
4
4
  shapeId: string;
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
3
3
  export interface IUpdateSheetsShapeRotateCommandParams extends ISheetCommandSharedParams {
4
4
  shapeId: string;
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { HorizontalAlign, ICommand } from '@univerjs/core';
1
+ import type { HorizontalAlign, ICommand } from '@univerjs/core';
2
2
  export interface ISetShapeTextHorizontalAlignCommandParams {
3
3
  value: HorizontalAlign;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ICommand } from '@univerjs/core';
1
+ import type { ICommand } from '@univerjs/core';
2
2
  export interface ISetShapeTextFontSizeCommandParams {
3
3
  value: number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ICommand, VerticalAlign } from '@univerjs/core';
1
+ import type { ICommand, VerticalAlign } from '@univerjs/core';
2
2
  export interface ISetShapeTextVerticalAlignCommandParams {
3
3
  value: VerticalAlign;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { HorizontalAlign, ICommand } from '@univerjs/core';
1
+ import type { HorizontalAlign, ICommand } from '@univerjs/core';
2
2
  export interface IShapeDocAlignCommandParams {
3
3
  value: HorizontalAlign;
4
4
  }
@@ -1,5 +1,20 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand } from '@univerjs/core';
17
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
3
18
  export interface ITestLineShapeCommandParams extends ISheetCommandSharedParams {
4
19
  }
5
20
  /**
@@ -1,6 +1,21 @@
1
- import { ILineType, IShapeRelation } from '@univerjs-pro/engine-shape';
2
- import { ICommand } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ILineType, IShapeRelation } from '@univerjs-pro/engine-shape';
17
+ import type { ICommand } from '@univerjs/core';
18
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
19
  export interface IUpdateConnectorRelationCommandParams extends ISheetCommandSharedParams {
5
20
  /** The connector shape ID */
6
21
  connectorShapeId: string;
@@ -1,6 +1,6 @@
1
- import { ILineType } from '@univerjs-pro/engine-shape';
2
- import { ICommand } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { ILineType } from '@univerjs-pro/engine-shape';
2
+ import type { ICommand } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
4
  export interface IUpdateSheetsShapeResizeCommandParams extends ISheetCommandSharedParams {
5
5
  shapeId: string;
6
6
  width: number;
@@ -1,6 +1,6 @@
1
- import { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { ICommand } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { ICommand } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
4
  export interface IUpdateSheetsShapeDataCommandParams extends ISheetCommandSharedParams {
5
5
  shapeId: string;
6
6
  shapeType?: ShapeTypeEnum;
@@ -1,5 +1,7 @@
1
- import { IAccessor, HorizontalAlign } from '@univerjs/core';
2
- import { IMenuSelectorItem, MenuItemType } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuSelectorItem } from '@univerjs/ui';
3
+ import { HorizontalAlign } from '@univerjs/core';
4
+ import { MenuItemType } from '@univerjs/ui';
3
5
  import { Observable } from 'rxjs';
4
6
  export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
5
7
  label: string;
@@ -1,3 +1,3 @@
1
- import { IAccessor } from '@univerjs/core';
2
- import { IMenuSelectorItem } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuSelectorItem } from '@univerjs/ui';
3
3
  export declare function ShapeFillColorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<string, string | undefined>;
@@ -1,5 +1,5 @@
1
- import { IAccessor } from '@univerjs/core';
2
- import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
3
3
  export declare function ShapeFontSizeSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<number>;
4
4
  export declare function ShapeFontSizeIncreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
5
5
  export declare function ShapeFontSizeDecreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
@@ -1,5 +1,6 @@
1
- import { IAccessor, HorizontalAlign } from '@univerjs/core';
2
- import { IMenuSelectorItem } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuSelectorItem } from '@univerjs/ui';
3
+ import { HorizontalAlign } from '@univerjs/core';
3
4
  export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
4
5
  label: string;
5
6
  icon: string;
@@ -1,5 +1,6 @@
1
- import { IAccessor, VerticalAlign } from '@univerjs/core';
2
- import { IMenuSelectorItem } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuSelectorItem } from '@univerjs/ui';
3
+ import { VerticalAlign } from '@univerjs/core';
3
4
  export declare const SHAPE_VERTICAL_ALIGN_CHILDREN: {
4
5
  label: string;
5
6
  icon: string;
@@ -1,4 +1,4 @@
1
- import { IOperation } from '@univerjs/core';
1
+ import type { IOperation } from '@univerjs/core';
2
2
  export interface IShapeClosePanelOperationParams {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,4 +1,4 @@
1
- import { IOperation } from '@univerjs/core';
1
+ import type { IOperation } from '@univerjs/core';
2
2
  export interface IShapeOpenPanelOperationParams {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,2 +1,2 @@
1
- import { MenuSchemaType } from '@univerjs/ui';
1
+ import type { MenuSchemaType } from '@univerjs/ui';
2
2
  export declare const menuSchema: MenuSchemaType;
@@ -1,6 +1,7 @@
1
- import { Workbook, Disposable, IContextService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
1
+ import type { Workbook } from '@univerjs/core';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
4
+ import { Disposable, IContextService } from '@univerjs/core';
4
5
  import { IDrawingManagerService } from '@univerjs/drawing';
5
6
  import { ShapeTextEditingService } from '../services/shape-text-editing.service';
6
7
  export declare class ShapeTextEditingRenderController extends Disposable implements IRenderModule {
@@ -1,8 +1,10 @@
1
- import { IShapePoint, IShapeRelationItem } from '@univerjs-pro/engine-shape';
2
- import { Workbook, Disposable } from '@univerjs/core';
3
- import { IRenderContext, Scene, IRenderManagerService } from '@univerjs/engine-render';
1
+ import type { IShapePoint, IShapeRelationItem } from '@univerjs-pro/engine-shape';
2
+ import type { Workbook } from '@univerjs/core';
3
+ import type { IRenderContext, Scene } from '@univerjs/engine-render';
4
4
  import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
5
+ import { Disposable } from '@univerjs/core';
5
6
  import { IDrawingManagerService } from '@univerjs/drawing';
7
+ import { IRenderManagerService } from '@univerjs/engine-render';
6
8
  /**
7
9
  * Information about a potential connection target
8
10
  */
@@ -1,7 +1,9 @@
1
- import { Workbook, Disposable, ICommandService, IContextService, IUniverInstanceService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule, IRenderManagerService } from '@univerjs/engine-render';
1
+ import type { Workbook } from '@univerjs/core';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
4
+ import { Disposable, ICommandService, IContextService, IUniverInstanceService } from '@univerjs/core';
4
5
  import { IDrawingManagerService } from '@univerjs/drawing';
6
+ import { IRenderManagerService } from '@univerjs/engine-render';
5
7
  import { SheetDrawingShapeRenderController } from './sheet-shape-render.controller';
6
8
  export declare class SheetShapeAdjustController extends Disposable implements IRenderModule {
7
9
  private readonly _context;
@@ -2,15 +2,18 @@ import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
2
2
  import { Disposable } from '@univerjs/core';
3
3
  import { IRenderManagerService } from '@univerjs/engine-render';
4
4
  import { ISheetDrawingService } from '@univerjs/sheets-drawing';
5
+ import { SheetsDrawingGroupCopyPasteController } from '@univerjs/sheets-drawing-ui';
5
6
  import { ISheetClipboardService } from '@univerjs/sheets-ui';
6
7
  export declare class SheetShapeClipboardController extends Disposable {
7
8
  private readonly _renderManagerService;
8
9
  private _sheetClipboardService;
9
10
  private readonly _sheetDrawingService;
10
11
  private readonly _shapeService;
12
+ private readonly _groupCopyPasteController;
11
13
  private _copyInfo;
12
- constructor(_renderManagerService: IRenderManagerService, _sheetClipboardService: ISheetClipboardService, _sheetDrawingService: ISheetDrawingService, _shapeService: SheetsShapeService);
14
+ constructor(_renderManagerService: IRenderManagerService, _sheetClipboardService: ISheetClipboardService, _sheetDrawingService: ISheetDrawingService, _shapeService: SheetsShapeService, _groupCopyPasteController: SheetsDrawingGroupCopyPasteController);
13
15
  private get _focusedDrawings();
16
+ private _registerGroupFeaturePasteHook;
14
17
  private _initCopyPaste;
15
18
  private _createCopyInfoByRange;
16
19
  private _generatePasteMutations;
@@ -1,7 +1,9 @@
1
- import { Workbook, Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
2
- import { IRenderContext, IRenderManagerService } from '@univerjs/engine-render';
1
+ import type { Workbook } from '@univerjs/core';
2
+ import type { IRenderContext } from '@univerjs/engine-render';
3
3
  import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
4
+ import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
4
5
  import { IDrawingManagerService } from '@univerjs/drawing';
6
+ import { IRenderManagerService } from '@univerjs/engine-render';
5
7
  import { SheetBasicShapeConnectionPointController } from './sheet-basic-shape-connection.controller';
6
8
  import { SheetShapeAdjustController } from './sheet-shape-adjust-controller';
7
9
  export declare class SheetShapeConnectorController extends Disposable {
@@ -1,8 +1,9 @@
1
- import { Scene } from '@univerjs/engine-render';
2
- import { IDrawingShapeData, DrawingShape } from '../view-model/drawing-shape';
1
+ import type { Scene } from '@univerjs/engine-render';
2
+ import type { IDrawingShapeData } from '../view-model/drawing-shape';
3
3
  import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
4
4
  import { Disposable, LocaleService } from '@univerjs/core';
5
5
  import { IDrawingManagerService } from '@univerjs/drawing';
6
+ import { DrawingShape } from '../view-model/drawing-shape';
6
7
  export declare class SheetDrawingShapeRenderController extends Disposable {
7
8
  private readonly _drawingManagerService;
8
9
  private readonly _sheetsShapeService;
@@ -1,6 +1,7 @@
1
- import { ICxnShapeData, IShapeRelationItem, ShapeArrowSizeEnum, ShapeArrowTypeEnum, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { Injector } from '@univerjs/core';
3
- import { IShapeBuilderInfo, FShape } from './f-shape';
1
+ import type { ICxnShapeData, IShapeRelationItem, ShapeArrowSizeEnum, ShapeArrowTypeEnum, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { Injector } from '@univerjs/core';
3
+ import type { IShapeBuilderInfo } from './f-shape';
4
+ import { FShape } from './f-shape';
4
5
  /**
5
6
  * The connector shape builder. It extends `FShape` and adds connector-specific properties
6
7
  * such as start/end arrow types and sizes. Use `fWorksheet.newConnector()` to create a new connector builder.
@@ -1,5 +1,5 @@
1
- import { IShapeData, IShapePoint, IShapeRelationItem, ShapeGradientTypeEnum, ShapeLineCapEnum, ShapeLineDashEnum, ShapeLineJoinEnum, ShapeLineTypeEnum, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { Injector } from '@univerjs/core';
1
+ import type { IShapeData, IShapePoint, IShapeRelationItem, ShapeGradientTypeEnum, ShapeLineCapEnum, ShapeLineDashEnum, ShapeLineJoinEnum, ShapeLineTypeEnum, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { Injector } from '@univerjs/core';
3
3
  /**
4
4
  * The shape builder info. It is the return value of the `build()` method. It contains all the information needed to insert a shape.
5
5
  */
@@ -1,6 +1,7 @@
1
- import { IShapeBuilderInfo, FShape } from './f-shape';
1
+ import type { IShapeBuilderInfo } from './f-shape';
2
2
  import { FWorksheet } from '@univerjs/sheets/facade';
3
3
  import { FConnectorShape } from './f-connector-shape';
4
+ import { FShape } from './f-shape';
4
5
  /**
5
6
  * Parameters for connecting shapes via a connector.
6
7
  */
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,4 +1,4 @@
1
- import { IUniverSheetsShapeUIConfig } from './controllers/config.schema';
1
+ import type { IUniverSheetsShapeUIConfig } from './controllers/config.schema';
2
2
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
3
  import { IRenderManagerService } from '@univerjs/engine-render';
4
4
  export declare class UniverSheetsShapeUIPlugin extends Plugin {
@@ -1,5 +1,6 @@
1
- import { Nullable, Disposable } from '@univerjs/core';
2
- import { Observable } from 'rxjs';
1
+ import type { Nullable } from '@univerjs/core';
2
+ import type { Observable } from 'rxjs';
3
+ import { Disposable } from '@univerjs/core';
3
4
  export interface IEditingParams {
4
5
  unitId: string;
5
6
  subUnitId: string;
@@ -1,5 +1,5 @@
1
- import { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { ISheetShape } from '@univerjs/sheets-drawing';
1
+ import type { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { ISheetShape } from '@univerjs/sheets-drawing';
3
3
  export type ISheetShapeDrawingParam = ISheetShape & {
4
4
  componentKey: string;
5
5
  data: {
@@ -1,6 +1,8 @@
1
- import { ShapeModel } from '@univerjs-pro/engine-shape';
2
- import { IDrawingParam, ISrcRect, LocaleService, Nullable, PresetGeometryType, DrawingTypeEnum } from '@univerjs/core';
3
- import { IShapeProps, IViewportInfo, UniverRenderingContext, Vector2, RENDER_CLASS_TYPE, Shape } from '@univerjs/engine-render';
1
+ import type { ShapeModel } from '@univerjs-pro/engine-shape';
2
+ import type { IDrawingParam, ISrcRect, LocaleService, Nullable, PresetGeometryType } from '@univerjs/core';
3
+ import type { IShapeProps, IViewportInfo, UniverRenderingContext, Vector2 } from '@univerjs/engine-render';
4
+ import { DrawingTypeEnum } from '@univerjs/core';
5
+ import { RENDER_CLASS_TYPE, Shape, Transform } from '@univerjs/engine-render';
4
6
  export interface IDrawingShapeProps extends IShapeProps {
5
7
  shapeModel: ShapeModel;
6
8
  /**
@@ -53,6 +55,8 @@ export declare class DrawingShape extends Shape<IDrawingShapeProps> {
53
55
  get subUnitId(): string;
54
56
  private _updateSrcRectByTransform;
55
57
  setSrcRect(srcRect?: Nullable<ISrcRect>): void;
58
+ set transform(trans: Transform);
59
+ get transform(): Transform;
56
60
  get shapeModel(): ShapeModel;
57
61
  get shapeId(): string;
58
62
  get classType(): RENDER_CLASS_TYPE;
@@ -1,4 +1,4 @@
1
- import { IDocumentData, VerticalAlign } from '@univerjs/core';
1
+ import type { IDocumentData, VerticalAlign } from '@univerjs/core';
2
2
  export interface IShapeTextModel {
3
3
  va: VerticalAlign;
4
4
  doc: IDocumentData;
@@ -1,4 +1,20 @@
1
- import { IShapeProps, Shape } from '@univerjs/engine-render';
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IShapeProps } from '@univerjs/engine-render';
17
+ import { Shape } from '@univerjs/engine-render';
2
18
  export interface ISheetBasicShapeConnectionSiteObjectProps extends IShapeProps {
3
19
  /** The target shape's ID that this connection site belongs to */
4
20
  targetShapeId: string;