@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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +358 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/command-util.d.ts +2 -2
- package/lib/types/commands/command/add-shape-command.d.ts +3 -3
- package/lib/types/commands/command/menu-insert-shape.command.d.ts +2 -2
- package/lib/types/commands/command/set-shape-drawing-data-command.d.ts +4 -4
- package/lib/types/commands/command/set-shape-fill.command.d.ts +1 -1
- package/lib/types/commands/command/set-shape-flip-command.d.ts +2 -2
- package/lib/types/commands/command/set-shape-rotate.command.d.ts +2 -2
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +1 -1
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +1 -1
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +1 -1
- package/lib/types/commands/command/shape-doc-align.command.d.ts +1 -1
- package/lib/types/commands/command/test-line.shape.command.d.ts +17 -2
- package/lib/types/commands/command/update-connector-relation.command.d.ts +18 -3
- package/lib/types/commands/command/update-line-shape-resize.command.d.ts +3 -3
- package/lib/types/commands/command/update-shape-data-command.d.ts +3 -3
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +4 -2
- package/lib/types/commands/menu/shape-fill.menu.d.ts +2 -2
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +2 -2
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +3 -2
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +3 -2
- package/lib/types/commands/operations/close-shape-panel.operation.d.ts +1 -1
- package/lib/types/commands/operations/open-shape-panel.operation.d.ts +1 -1
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/controllers/shape-text-editing.render-controller.d.ts +3 -2
- package/lib/types/controllers/sheet-basic-shape-connection.controller.d.ts +5 -3
- package/lib/types/controllers/sheet-shape-adjust-controller.d.ts +4 -2
- package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +4 -1
- package/lib/types/controllers/sheet-shape-connector.controller.d.ts +4 -2
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +3 -2
- package/lib/types/facade/f-connector-shape.d.ts +4 -3
- package/lib/types/facade/f-shape.d.ts +2 -2
- package/lib/types/facade/f-worksheet.d.ts +2 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/shape-text-editing.service.d.ts +3 -2
- package/lib/types/types.d.ts +2 -2
- package/lib/types/view-model/drawing-shape.d.ts +7 -3
- package/lib/types/view-model/shape-data-model.d.ts +1 -1
- package/lib/types/view-model/sheet-basic-shape-connection-site-object.d.ts +17 -1
- package/lib/types/view-model/sheet-shape-adjust-point-object.d.ts +2 -1
- package/lib/types/view-model/sheet-shape-connector-handler-object.d.ts +2 -1
- package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
- package/lib/types/views/shape-menu/shape-menu-factory.d.ts +3 -3
- package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +3 -3
- package/lib/types/views/shape-text-editor/index.d.ts +1 -1
- package/lib/types/views/shape-text-editor/position-wrapper.d.ts +2 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -21
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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,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,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
|
2
|
-
import { IMenuSelectorItem
|
|
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
|
|
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
|
|
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,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
|
|
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
|
|
3
|
-
import { IRenderContext, Scene
|
|
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
|
|
2
|
-
import { IRenderContext, IRenderModule
|
|
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
|
|
2
|
-
import { IRenderContext
|
|
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
|
|
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
|
|
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
|
|
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
|
*/
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -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
|
|
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;
|
package/lib/types/types.d.ts
CHANGED
|
@@ -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
|
|
3
|
-
import { IShapeProps, IViewportInfo, UniverRenderingContext, Vector2
|
|
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,20 @@
|
|
|
1
|
-
|
|
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;
|