@univerjs-pro/sheets-shape-ui 1.0.0-alpha.0 → 1.0.0-alpha.2
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/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +0 -321
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +2 -4
- package/lib/types/controllers/shape-update.controller.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +0 -291
- package/lib/types/services/shape-render-update.service.d.ts +7 -0
- package/lib/types/views/ShapePicker.d.ts +0 -2
- package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +3 -2
- package/lib/types/views/shape-editor-panel/ShapeImageFillEditor.d.ts +0 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -18
- package/lib/types/views/shapes.d.ts +0 -58
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x34ff42=_0x260b;(function(_0x35b807,_0x111b9a){const _0x10b31e=_0x260b,_0x46baf4=_0x35b807();while(!![]){try{const _0x40061b=parseInt(_0x10b31e(0x1c6))/0x1+parseInt(_0x10b31e(0x196))/0x2+parseInt(_0x10b31e(0x207))/0x3+parseInt(_0x10b31e(0x238))/0x4+parseInt(_0x10b31e(0x1f6))/0x5+parseInt(_0x10b31e(0x1e0))/0x6*(parseInt(_0x10b31e(0x188))/0x7)+parseInt(_0x10b31e(0x1de))/0x8*(-parseInt(_0x10b31e(0x1a3))/0x9);if(_0x40061b===_0x111b9a)break;else _0x46baf4['push'](_0x46baf4['shift']());}catch(_0xf75b3d){_0x46baf4['push'](_0x46baf4['shift']());}}}(_0x2031,0xb2fd9));const e={'sheets-shape-ui':{'align':{'top':_0x34ff42(0x1df),'middle':_0x34ff42(0x1e1),'bottom':_0x34ff42(0x201),'left':'靠左對齊','center':'置中','right':_0x34ff42(0x187)},'toolbar':{'verticalAlignMode':{'main':_0x34ff42(0x1b6)},'horizontalAlignMode':{'main':_0x34ff42(0x197)},'fillColor':{'main':_0x34ff42(0x1fe)},'fontSize':_0x34ff42(0x206),'fontSizeIncrease':_0x34ff42(0x18f),'fontSizeDecrease':'縮小字型','alignLeft':_0x34ff42(0x1ef),'alignCenter':_0x34ff42(0x184),'alignRight':_0x34ff42(0x22c),'alignJustify':_0x34ff42(0x1d8),'bold':_0x34ff42(0x209),'italic':'Italic','underline':_0x34ff42(0x1c8),'strikethrough':_0x34ff42(0x194),'textColor':_0x34ff42(0x1ba),'textBackgroundColor':_0x34ff42(0x229),'resetColor':_0x34ff42(0x1bc)},'imagePanel':{'crop':{'shape':_0x34ff42(0x245)}},'permission':{'editErr':_0x34ff42(0x19a)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x34ff42(0x1a5),'deleteShape':_0x34ff42(0x1b5),'hidePanel':_0x34ff42(0x217),'formatShape':'格式化形狀','shapeStyle':_0x34ff42(0x192),'shapePosition':_0x34ff42(0x1b7),'toggleFlipH':_0x34ff42(0x1a6),'toggleFlipV':_0x34ff42(0x21f),'rotateRight90':_0x34ff42(0x1ab),'rotateLeft90':_0x34ff42(0x1d6),'toggleTextVertical':_0x34ff42(0x1f8),'fill':{'title':'填充','noFill':_0x34ff42(0x1a1),'solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','patternFill':_0x34ff42(0x1ea),'color':'顏色','transparency':_0x34ff42(0x23c),'picture':{'source':_0x34ff42(0x1c5),'insert':_0x34ff42(0x215),'tileAsTexture':_0x34ff42(0x1ee),'offsetX':_0x34ff42(0x226),'offsetY':'偏移量\x20Y','scaleX':_0x34ff42(0x1d7),'scaleY':_0x34ff42(0x1b2),'alignment':_0x34ff42(0x233),'rotateWithShape':_0x34ff42(0x221),'align':{'tl':_0x34ff42(0x1a8),'t':_0x34ff42(0x227),'tr':'右上對齊','l':_0x34ff42(0x24a),'ctr':_0x34ff42(0x228),'r':_0x34ff42(0x231),'bl':_0x34ff42(0x1db),'b':_0x34ff42(0x1bb),'br':_0x34ff42(0x21a)}}},'line':{'title':'線條','noLine':_0x34ff42(0x1b4),'solidLine':'實線','gradientLine':'漸層線','color':'顏色','transparency':_0x34ff42(0x23c),'width':'寬度','dashType':{'title':_0x34ff42(0x1f3),'solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':'虛線-點','longDash':_0x34ff42(0x186),'longDashDot':_0x34ff42(0x1dc),'longDashDotDot':_0x34ff42(0x18a)},'capType':{'title':_0x34ff42(0x1c1),'flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':_0x34ff42(0x1d1),'miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':'起點箭頭類型','beginArrowSize':_0x34ff42(0x240),'endArrowType':_0x34ff42(0x19c),'endArrowSize':'終點箭頭大小','arrowType':{'none':'無','arrow':'箭頭','openArrow':_0x34ff42(0x243),'stealthArrow':_0x34ff42(0x1ff),'diamondArrow':_0x34ff42(0x205),'ovalArrow':_0x34ff42(0x214)},'arrowSize':{'small':'小','medium':'中','large':'大'},'sketchType':{'title':'草繪樣式','none':'無','curved':'彎曲','freehand':'手繪','handDrawn':'潦草'}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':'基本形狀','blockArrow':_0x34ff42(0x21e),'equationShape':_0x34ff42(0x211),'flowchart':_0x34ff42(0x185),'starAndBanner':_0x34ff42(0x18d),'callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':_0x34ff42(0x230),'straight-connector2':'雙箭頭直線','bent-connector3':'折線','bent-connector3-arrow1':_0x34ff42(0x1cb),'bent-connector3-arrow2':_0x34ff42(0x235),'curved-connector3':'曲線','curved-connector3-arrow1':_0x34ff42(0x1da),'curved-connector3-arrow2':_0x34ff42(0x21b),'rect':'矩形','round-rect':'圓角矩形','snip1-rect':_0x34ff42(0x203),'snip2-same-rect':_0x34ff42(0x1cc),'snip2-diag-rect':_0x34ff42(0x1f2),'snip-round-rect':_0x34ff42(0x224),'round1-rect':_0x34ff42(0x183),'round2-same-rect':_0x34ff42(0x1c2),'round2-diag-rect':_0x34ff42(0x21d),'rect-textbox-horizontal':'橫向文字方塊','rect-textbox-vertical':_0x34ff42(0x1e8),'ellipse':'橢圓','triangle':'等腰三角形','rt-triangle':_0x34ff42(0x23d),'parallelogram':_0x34ff42(0x202),'trapezoid':'梯形','non-isosceles-trapezoid':_0x34ff42(0x199),'diamond':'菱形','pentagon':'五邊形','hexagon':_0x34ff42(0x1b0),'heptagon':_0x34ff42(0x1bd),'octagon':_0x34ff42(0x18c),'decagon':_0x34ff42(0x1cf),'dodecagon':'十二邊形','pie':_0x34ff42(0x248),'chord':'弦形','teardrop':_0x34ff42(0x17e),'frame':_0x34ff42(0x1aa),'half-frame':_0x34ff42(0x225),'corner':'L形','diag-stripe':'斜紋','plus':_0x34ff42(0x191),'plaque':'缺角矩形','can':_0x34ff42(0x198),'cube':_0x34ff42(0x200),'bevel':_0x34ff42(0x244),'donut':'圓:空心','no-smoking':'禁止符','block-arc':_0x34ff42(0x1fb),'folder-corner':'矩形:折角','smiley-face':'笑臉','heart':'心形','lightning-bolt':_0x34ff42(0x1e5),'sun':_0x34ff42(0x1b8),'moon':_0x34ff42(0x193),'cloud':'雲形','arc':'弧形','bracket-pair':_0x34ff42(0x23a),'brace-pair':_0x34ff42(0x23f),'left-bracket':'左中括號','right-bracket':'右中括號','left-brace':'左大括號','right-brace':_0x34ff42(0x22a),'right-arrow':_0x34ff42(0x20c),'left-arrow':_0x34ff42(0x1a7),'up-arrow':_0x34ff42(0x1e7),'down-arrow':_0x34ff42(0x204),'left-right-arrow':_0x34ff42(0x1f0),'up-down-arrow':_0x34ff42(0x19e),'quad-arrow':_0x34ff42(0x19b),'left-right-up-arrow':_0x34ff42(0x22e),'bent-arrow':_0x34ff42(0x241),'uturn-arrow':_0x34ff42(0x1e2),'left-up-arrow':_0x34ff42(0x1a4),'bent-up-arrow':_0x34ff42(0x20e),'curved-right-arrow':'箭頭:右弧形','curved-left-arrow':_0x34ff42(0x222),'curved-up-arrow':_0x34ff42(0x1d4),'curved-down-arrow':'箭頭:下弧形','striped-right-arrow':_0x34ff42(0x1e6),'notched-right-arrow':'箭頭:燕尾形','home-plate':_0x34ff42(0x20d),'chevron':_0x34ff42(0x181),'right-arrow-callout':_0x34ff42(0x1eb),'down-arrow-callout':_0x34ff42(0x1fc),'left-arrow-callout':_0x34ff42(0x216),'up-arrow-callout':'標註:上箭頭','left-right-arrow-callout':_0x34ff42(0x1e4),'quad-arrow-callout':'標註:十字箭頭','circular-arrow':_0x34ff42(0x22f),'math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':_0x34ff42(0x1ca),'flow-chart-process':_0x34ff42(0x180),'flow-chart-alternate-process':_0x34ff42(0x208),'flow-chart-decision':_0x34ff42(0x218),'flow-chart-input-output':_0x34ff42(0x1a0),'flow-chart-predefined-process':_0x34ff42(0x182),'flow-chart-internal-storage':_0x34ff42(0x1ed),'flow-chart-document':_0x34ff42(0x1b3),'flow-chart-multidocument':_0x34ff42(0x1fa),'flow-chart-terminator':_0x34ff42(0x1c9),'flow-chart-preparation':_0x34ff42(0x1c7),'flow-chart-manual-input':_0x34ff42(0x1d9),'flow-chart-manual-operation':_0x34ff42(0x1f7),'flow-chart-connector':'流程圖:接點','flow-chart-offpage-connector':_0x34ff42(0x1af),'flow-chart-punched-card':'流程圖:卡片','flow-chart-punched-tape':_0x34ff42(0x1f9),'flow-chart-summing-junction':_0x34ff42(0x1ec),'flow-chart-or':_0x34ff42(0x1d2),'flow-chart-collate':_0x34ff42(0x1ad),'flow-chart-sort':_0x34ff42(0x210),'flow-chart-extract':_0x34ff42(0x1a9),'flow-chart-merge':'流程圖:合併','flow-chart-online-storage':_0x34ff42(0x23e),'flow-chart-delay':_0x34ff42(0x239),'flow-chart-magnetic-tape':_0x34ff42(0x247),'flow-chart-magnetic-disk':_0x34ff42(0x19f),'flow-chart-magnetic-drum':_0x34ff42(0x1cd),'flow-chart-display':'流程圖:顯示','irregular-seal1':_0x34ff42(0x1bf),'irregular-seal2':'爆炸形:14pt','star4':_0x34ff42(0x1f1),'star5':_0x34ff42(0x212),'star6':'星形:六角','star7':_0x34ff42(0x223),'star8':_0x34ff42(0x236),'star10':_0x34ff42(0x1be),'star12':_0x34ff42(0x1d5),'star16':_0x34ff42(0x18b),'star24':_0x34ff42(0x1ce),'star32':_0x34ff42(0x19d),'ribbon2':_0x34ff42(0x246),'ribbon':_0x34ff42(0x1b9),'ellipse-ribbon2':'帶形:上凸彎','ellipse-ribbon':_0x34ff42(0x1fd),'vertical-scroll':'卷形:垂直','horizontal-scroll':_0x34ff42(0x1d3),'wave':'波形','double-wave':'雙波形','wedge-rect-callout':_0x34ff42(0x1dd),'wedge-round-rect-callout':_0x34ff42(0x1a2),'wedge-ellipse-callout':_0x34ff42(0x1e3),'cloud-callout':_0x34ff42(0x1c4),'border-callout1':_0x34ff42(0x20b),'border-callout2':_0x34ff42(0x234),'border-callout3':_0x34ff42(0x242),'accent-callout1':_0x34ff42(0x20a),'accent-callout2':'標註:彎曲線形(帶強調線)','accent-callout3':'標註:雙彎曲線形(帶強調線)','callout1':_0x34ff42(0x1c0),'callout2':'標註:彎曲線形(無邊框)','callout3':_0x34ff42(0x1b1),'accent-border-callout1':_0x34ff42(0x220),'accent-border-callout2':_0x34ff42(0x1e9),'accent-border-callout3':_0x34ff42(0x22d),'left-circular-arrow':_0x34ff42(0x18e),'left-right-circular-arrow':'左右圓形箭頭','swoosh-arrow':_0x34ff42(0x22b),'left-right-ribbon':_0x34ff42(0x1d0),'pie-wedge':'餅形楔','funnel':'漏斗','gear6':_0x34ff42(0x213),'gear9':_0x34ff42(0x195),'corner-tabs':'角標','action-button-back-previous':_0x34ff42(0x190),'action-button-forward-next':_0x34ff42(0x1f4),'action-button-beginning':_0x34ff42(0x219),'action-button-end':_0x34ff42(0x249),'action-button-home':_0x34ff42(0x1f5),'action-button-information':'信息按鈕','action-button-return':_0x34ff42(0x17f),'action-button-movie':'電影按鈕','action-button-document':_0x34ff42(0x237),'action-button-sound':_0x34ff42(0x20f),'action-button-help':_0x34ff42(0x189),'action-button-blank':_0x34ff42(0x232),'chart-plus':_0x34ff42(0x23b),'chart-star':'圖表星號','chart-x':_0x34ff42(0x21c),'flow-chart-offline-storage':_0x34ff42(0x1c3),'line-inv':_0x34ff42(0x1ac),'plaque-tabs':'牌匾標籤','square-tabs':'方形標籤','up-down-arrow-callout':_0x34ff42(0x1ae)}}}};export{e as default};function _0x260b(_0x55b8c6,_0x5e503d){_0x55b8c6=_0x55b8c6-0x17e;const _0x20319b=_0x2031();let _0x260b49=_0x20319b[_0x55b8c6];return _0x260b49;}function _0x2031(){const _0x58d32b=['流程圖:離頁連接符','六邊形','標註:雙彎曲線形(無邊框)','縮放\x20Y','流程圖:文檔','無線條','刪除形狀','垂直對齊','圖形位置','太陽形','帶形:前凸','Text\x20color','底部對齊','重置顏色','七邊形','星形:十角','爆炸形:8pt','標註:線形(無邊框)','端點類型','矩形:圓頂角','流程圖:離線存儲','氣泡:雲','圖片來源','673474eRokQc','流程圖:準備','Underline','流程圖:終止','不等號','折線:箭頭','矩形:剪去頂角','流程圖:直接訪問存儲器','星形:二十四角','十邊形','左右帶形','聯接類型','流程圖:或者','卷形:水平','箭頭:上弧形','星形:十二角','逆時針\x2090\x20度旋轉','縮放\x20X','Justify','流程圖:手動輸入','曲線:箭頭','左下對齊','長虛線-點','對話氣泡:矩形','8mtnSVR','靠上對齊','48zomyBP','垂直置中','箭頭:手杖形','對話氣泡:圓形','標註:左右箭頭','閃電形','箭頭:虛尾','箭頭:上','縱向文字方塊','標註:彎曲線形(帶邊框和強調線)','圖案填充','標註:右箭頭','流程圖:匯總連接','流程圖:內部貯存','將圖片平鋪為紋理','Align\x20Left','箭頭:左右','星形:四角','矩形:剪去對角','虛線類型','前進/下一個按鈕','主頁按鈕','2179585MudVxf','流程圖:手動操作','切換文本竖排','流程圖:資料帶','流程圖:多文檔','空心弧','標註:下箭頭','帶形:前凸彎','填滿色彩','隱形箭頭','立方體','靠下對齊','平行四邊形','剪去單角矩形','箭頭:下','菱形箭頭','字型大小','163206YMheJx','流程圖:可選過程','Bold','標註:線形(帶強調線)','標註:線形','箭頭:右','五邊形','箭頭:直角上','聲音按鈕','流程圖:排序','公式形狀','星形:五角','6齒齒輪','橢圓箭頭','插入...','標註:左箭頭','隱藏形狀面板','流程圖:決策','開始按鈕','右下對齊','雙箭頭曲線','圖表X','矩形:對角圓角','箭頭總匯','切換垂直翻轉','標註:線形(帶邊框和強調線)','隨形狀旋轉','箭頭:左弧形','星形:七角','矩形:一個圓頂角,剪去另一個頂角','半閉框','偏移量\x20X','頂部對齊','置中對齊','Text\x20Background\x20color','右大括號','彎曲箭頭','Align\x20Right','標註:雙彎曲線形(帶邊框和強調線)','箭頭:丁字','箭頭:環形','直線箭頭','右對齊','空白按鈕','對齊方式','標註:彎曲線形','雙箭頭折線','星形:八角','文檔按鈕','2881936fpZYKe','流程圖:延期','雙括號','圖表加號','透明度','直角三角形','流程圖:存儲數據','雙大括號','起點箭頭大小','箭頭:圓角右','標註:雙彎曲線形','開放箭頭','矩形:棱台','裁切為形狀','帶形:上凸','流程圖:順序訪問存儲器','不完整圓','結束按鈕','左對齊','淚滴形','返回按鈕','流程圖:過程','箭頭:V型','流程圖:預定義過程','矩形:單圓角','Align\x20Center','流程圖','長虛線','靠右對齊','674401wYENau','幫助按鈕','長虛線-點-點','星形:十六角','八邊形','星與旗幟','左圓形箭頭','放大字型','返回/上一個按鈕','十字形','圖形樣式','新月形','Strikethrough','9齒齒輪','1653030wvVMoK','水平對齊','圓柱形','非等腰梯形','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','箭頭:十字','終點箭頭類型','星形:三十二角','箭頭:上下','流程圖:磁盤','流程圖:數據','無顏色','對話氣泡:圓角矩形','24735519rDwEzX','箭頭:直角雙向','打開形狀面板','切換水平翻轉','箭頭:左','左上對齊','流程圖:摘錄','圖文框','順時針\x2090\x20度旋轉','線反向','流程圖:對照','上下箭頭標註'];_0x2031=function(){return _0x58d32b;};return _0x2031();}
|
|
1
|
+
function _0x38e0(_0x1e8d5d,_0x1b22b1){_0x1e8d5d=_0x1e8d5d-0x1b8;const _0x59a6b4=_0x59a6();let _0x38e0d5=_0x59a6b4[_0x1e8d5d];return _0x38e0d5;}const _0x329935=_0x38e0;(function(_0x229347,_0x374cf2){const _0xa90387=_0x38e0,_0x29a9cd=_0x229347();while(!![]){try{const _0x2d3dd4=-parseInt(_0xa90387(0x1d5))/0x1+parseInt(_0xa90387(0x1cb))/0x2+-parseInt(_0xa90387(0x1bf))/0x3*(parseInt(_0xa90387(0x1d6))/0x4)+-parseInt(_0xa90387(0x1bd))/0x5+-parseInt(_0xa90387(0x1bb))/0x6+parseInt(_0xa90387(0x1d9))/0x7+parseInt(_0xa90387(0x1d3))/0x8*(parseInt(_0xa90387(0x1dc))/0x9);if(_0x2d3dd4===_0x374cf2)break;else _0x29a9cd['push'](_0x29a9cd['shift']());}catch(_0x4f7ba9){_0x29a9cd['push'](_0x29a9cd['shift']());}}}(_0x59a6,0xce065));const e={'sheets-shape-ui':{'align':{'top':_0x329935(0x1c2),'middle':_0x329935(0x1cf),'bottom':_0x329935(0x1bc),'left':_0x329935(0x1cd),'center':'置中','right':_0x329935(0x1c6)},'toolbar':{'verticalAlignMode':{'main':'垂直對齊'},'horizontalAlignMode':{'main':_0x329935(0x1c7)},'fillColor':{'main':_0x329935(0x1c0)},'fontSize':_0x329935(0x1c8),'fontSizeIncrease':_0x329935(0x1d7),'fontSizeDecrease':_0x329935(0x1db),'alignLeft':_0x329935(0x1b9),'alignCenter':'Align\x20Center','alignRight':_0x329935(0x1c5),'alignJustify':_0x329935(0x1da),'bold':_0x329935(0x1d8),'italic':_0x329935(0x1ca),'underline':'Underline','strikethrough':_0x329935(0x1d1),'textColor':_0x329935(0x1c9),'textBackgroundColor':_0x329935(0x1d4),'resetColor':_0x329935(0x1c3)},'imagePanel':{'crop':{'shape':_0x329935(0x1cc)}},'permission':{'editErr':'該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20'},'title':'形狀','insertShape':'插入形狀','openPanel':_0x329935(0x1b8),'deleteShape':_0x329935(0x1d0),'hidePanel':'隱藏形狀面板','formatShape':_0x329935(0x1ba),'shapeStyle':'圖形樣式','shapePosition':_0x329935(0x1c4),'toggleFlipH':_0x329935(0x1be),'toggleFlipV':_0x329935(0x1ce),'rotateRight90':_0x329935(0x1d2),'rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':_0x329935(0x1c1)}};export{e as default};function _0x59a6(){const _0x4a124a=['填滿色彩','切換文本竖排','靠上對齊','重置顏色','圖形位置','Align\x20Right','靠右對齊','水平對齊','字型大小','Text\x20color','Italic','1183944GfXsLD','裁切為形狀','靠左對齊','切換垂直翻轉','垂直置中','刪除形狀','Strikethrough','順時針\x2090\x20度旋轉','8LJHckE','Text\x20Background\x20color','959069DwTkuD','2684icyxEj','放大字型','Bold','5747798ZJYMvA','Justify','縮小字型','23419701YKyBgO','打開形狀面板','Align\x20Left','格式化形狀','3993402DfMoCT','靠下對齊','6079795NnhcFt','切換水平翻轉','1479qBigxk'];_0x59a6=function(){return _0x4a124a;};return _0x59a6();}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Disposable } from '@univerjs/core';
|
|
2
|
-
import { ComponentManager
|
|
2
|
+
import { ComponentManager } from '@univerjs/ui';
|
|
3
3
|
export declare class ComponentsController extends Disposable {
|
|
4
4
|
private readonly _componentManager;
|
|
5
|
-
|
|
6
|
-
constructor(_componentManager: ComponentManager, _iconManager: IconManager);
|
|
7
|
-
private _registerIcons;
|
|
5
|
+
constructor(_componentManager: ComponentManager);
|
|
8
6
|
private _registerComponents;
|
|
9
7
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ISheetShapeDrawingParam } from '@univerjs-pro/sheets-shape';
|
|
2
1
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
3
2
|
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
4
3
|
import { DrawingRenderService } from '@univerjs/drawing-ui';
|
|
@@ -16,7 +15,6 @@ export declare class ShapeUpdateController extends Disposable {
|
|
|
16
15
|
private _drawingAddListener;
|
|
17
16
|
private _commandExecutedListener;
|
|
18
17
|
private _shapeUpdateListener;
|
|
19
|
-
updateShapeFillImage(param: ISheetShapeDrawingParam, image: HTMLImageElement | undefined): void;
|
|
20
18
|
private _insertShapes;
|
|
21
19
|
private _getSceneAndTransformerByDrawingSearch;
|
|
22
20
|
}
|
|
@@ -54,297 +54,6 @@ declare const locale: {
|
|
|
54
54
|
rotateRight90: string;
|
|
55
55
|
rotateLeft90: string;
|
|
56
56
|
toggleTextVertical: string;
|
|
57
|
-
fill: {
|
|
58
|
-
title: string;
|
|
59
|
-
noFill: string;
|
|
60
|
-
solidFill: string;
|
|
61
|
-
gradientFill: string;
|
|
62
|
-
pictureFill: string;
|
|
63
|
-
patternFill: string;
|
|
64
|
-
color: string;
|
|
65
|
-
transparency: string;
|
|
66
|
-
picture: {
|
|
67
|
-
source: string;
|
|
68
|
-
insert: string;
|
|
69
|
-
tileAsTexture: string;
|
|
70
|
-
offsetX: string;
|
|
71
|
-
offsetY: string;
|
|
72
|
-
scaleX: string;
|
|
73
|
-
scaleY: string;
|
|
74
|
-
alignment: string;
|
|
75
|
-
rotateWithShape: string;
|
|
76
|
-
align: {
|
|
77
|
-
tl: string;
|
|
78
|
-
t: string;
|
|
79
|
-
tr: string;
|
|
80
|
-
l: string;
|
|
81
|
-
ctr: string;
|
|
82
|
-
r: string;
|
|
83
|
-
bl: string;
|
|
84
|
-
b: string;
|
|
85
|
-
br: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
line: {
|
|
90
|
-
title: string;
|
|
91
|
-
noLine: string;
|
|
92
|
-
solidLine: string;
|
|
93
|
-
gradientLine: string;
|
|
94
|
-
color: string;
|
|
95
|
-
transparency: string;
|
|
96
|
-
width: string;
|
|
97
|
-
dashType: {
|
|
98
|
-
title: string;
|
|
99
|
-
solid: string;
|
|
100
|
-
roundDot: string;
|
|
101
|
-
squareDot: string;
|
|
102
|
-
dash: string;
|
|
103
|
-
dashDot: string;
|
|
104
|
-
longDash: string;
|
|
105
|
-
longDashDot: string;
|
|
106
|
-
longDashDotDot: string;
|
|
107
|
-
};
|
|
108
|
-
capType: {
|
|
109
|
-
title: string;
|
|
110
|
-
flat: string;
|
|
111
|
-
round: string;
|
|
112
|
-
square: string;
|
|
113
|
-
};
|
|
114
|
-
joinType: {
|
|
115
|
-
title: string;
|
|
116
|
-
miter: string;
|
|
117
|
-
round: string;
|
|
118
|
-
bevel: string;
|
|
119
|
-
};
|
|
120
|
-
beginArrowType: string;
|
|
121
|
-
beginArrowSize: string;
|
|
122
|
-
endArrowType: string;
|
|
123
|
-
endArrowSize: string;
|
|
124
|
-
arrowType: {
|
|
125
|
-
none: string;
|
|
126
|
-
arrow: string;
|
|
127
|
-
openArrow: string;
|
|
128
|
-
stealthArrow: string;
|
|
129
|
-
diamondArrow: string;
|
|
130
|
-
ovalArrow: string;
|
|
131
|
-
};
|
|
132
|
-
arrowSize: {
|
|
133
|
-
small: string;
|
|
134
|
-
medium: string;
|
|
135
|
-
large: string;
|
|
136
|
-
};
|
|
137
|
-
sketchType: {
|
|
138
|
-
title: string;
|
|
139
|
-
none: string;
|
|
140
|
-
curved: string;
|
|
141
|
-
freehand: string;
|
|
142
|
-
handDrawn: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
shape: {
|
|
146
|
-
group: {
|
|
147
|
-
line: string;
|
|
148
|
-
rectangle: string;
|
|
149
|
-
basicShape: string;
|
|
150
|
-
blockArrow: string;
|
|
151
|
-
equationShape: string;
|
|
152
|
-
flowchart: string;
|
|
153
|
-
starAndBanner: string;
|
|
154
|
-
callout: string;
|
|
155
|
-
other: string;
|
|
156
|
-
};
|
|
157
|
-
type: {
|
|
158
|
-
line: string;
|
|
159
|
-
'straight-connector1': string;
|
|
160
|
-
'straight-connector2': string;
|
|
161
|
-
'bent-connector3': string;
|
|
162
|
-
'bent-connector3-arrow1': string;
|
|
163
|
-
'bent-connector3-arrow2': string;
|
|
164
|
-
'curved-connector3': string;
|
|
165
|
-
'curved-connector3-arrow1': string;
|
|
166
|
-
'curved-connector3-arrow2': string;
|
|
167
|
-
rect: string;
|
|
168
|
-
'round-rect': string;
|
|
169
|
-
'snip1-rect': string;
|
|
170
|
-
'snip2-same-rect': string;
|
|
171
|
-
'snip2-diag-rect': string;
|
|
172
|
-
'snip-round-rect': string;
|
|
173
|
-
'round1-rect': string;
|
|
174
|
-
'round2-same-rect': string;
|
|
175
|
-
'round2-diag-rect': string;
|
|
176
|
-
'rect-textbox-horizontal': string;
|
|
177
|
-
'rect-textbox-vertical': string;
|
|
178
|
-
ellipse: string;
|
|
179
|
-
triangle: string;
|
|
180
|
-
'rt-triangle': string;
|
|
181
|
-
parallelogram: string;
|
|
182
|
-
trapezoid: string;
|
|
183
|
-
'non-isosceles-trapezoid': string;
|
|
184
|
-
diamond: string;
|
|
185
|
-
pentagon: string;
|
|
186
|
-
hexagon: string;
|
|
187
|
-
heptagon: string;
|
|
188
|
-
octagon: string;
|
|
189
|
-
decagon: string;
|
|
190
|
-
dodecagon: string;
|
|
191
|
-
pie: string;
|
|
192
|
-
chord: string;
|
|
193
|
-
teardrop: string;
|
|
194
|
-
frame: string;
|
|
195
|
-
'half-frame': string;
|
|
196
|
-
corner: string;
|
|
197
|
-
'diag-stripe': string;
|
|
198
|
-
plus: string;
|
|
199
|
-
plaque: string;
|
|
200
|
-
can: string;
|
|
201
|
-
cube: string;
|
|
202
|
-
bevel: string;
|
|
203
|
-
donut: string;
|
|
204
|
-
'no-smoking': string;
|
|
205
|
-
'block-arc': string;
|
|
206
|
-
'folder-corner': string;
|
|
207
|
-
'smiley-face': string;
|
|
208
|
-
heart: string;
|
|
209
|
-
'lightning-bolt': string;
|
|
210
|
-
sun: string;
|
|
211
|
-
moon: string;
|
|
212
|
-
cloud: string;
|
|
213
|
-
arc: string;
|
|
214
|
-
'bracket-pair': string;
|
|
215
|
-
'brace-pair': string;
|
|
216
|
-
'left-bracket': string;
|
|
217
|
-
'right-bracket': string;
|
|
218
|
-
'left-brace': string;
|
|
219
|
-
'right-brace': string;
|
|
220
|
-
'right-arrow': string;
|
|
221
|
-
'left-arrow': string;
|
|
222
|
-
'up-arrow': string;
|
|
223
|
-
'down-arrow': string;
|
|
224
|
-
'left-right-arrow': string;
|
|
225
|
-
'up-down-arrow': string;
|
|
226
|
-
'quad-arrow': string;
|
|
227
|
-
'left-right-up-arrow': string;
|
|
228
|
-
'bent-arrow': string;
|
|
229
|
-
'uturn-arrow': string;
|
|
230
|
-
'left-up-arrow': string;
|
|
231
|
-
'bent-up-arrow': string;
|
|
232
|
-
'curved-right-arrow': string;
|
|
233
|
-
'curved-left-arrow': string;
|
|
234
|
-
'curved-up-arrow': string;
|
|
235
|
-
'curved-down-arrow': string;
|
|
236
|
-
'striped-right-arrow': string;
|
|
237
|
-
'notched-right-arrow': string;
|
|
238
|
-
'home-plate': string;
|
|
239
|
-
chevron: string;
|
|
240
|
-
'right-arrow-callout': string;
|
|
241
|
-
'down-arrow-callout': string;
|
|
242
|
-
'left-arrow-callout': string;
|
|
243
|
-
'up-arrow-callout': string;
|
|
244
|
-
'left-right-arrow-callout': string;
|
|
245
|
-
'quad-arrow-callout': string;
|
|
246
|
-
'circular-arrow': string;
|
|
247
|
-
'math-plus': string;
|
|
248
|
-
'math-minus': string;
|
|
249
|
-
'math-multiply': string;
|
|
250
|
-
'math-divide': string;
|
|
251
|
-
'math-equal': string;
|
|
252
|
-
'math-not-equal': string;
|
|
253
|
-
'flow-chart-process': string;
|
|
254
|
-
'flow-chart-alternate-process': string;
|
|
255
|
-
'flow-chart-decision': string;
|
|
256
|
-
'flow-chart-input-output': string;
|
|
257
|
-
'flow-chart-predefined-process': string;
|
|
258
|
-
'flow-chart-internal-storage': string;
|
|
259
|
-
'flow-chart-document': string;
|
|
260
|
-
'flow-chart-multidocument': string;
|
|
261
|
-
'flow-chart-terminator': string;
|
|
262
|
-
'flow-chart-preparation': string;
|
|
263
|
-
'flow-chart-manual-input': string;
|
|
264
|
-
'flow-chart-manual-operation': string;
|
|
265
|
-
'flow-chart-connector': string;
|
|
266
|
-
'flow-chart-offpage-connector': string;
|
|
267
|
-
'flow-chart-punched-card': string;
|
|
268
|
-
'flow-chart-punched-tape': string;
|
|
269
|
-
'flow-chart-summing-junction': string;
|
|
270
|
-
'flow-chart-or': string;
|
|
271
|
-
'flow-chart-collate': string;
|
|
272
|
-
'flow-chart-sort': string;
|
|
273
|
-
'flow-chart-extract': string;
|
|
274
|
-
'flow-chart-merge': string;
|
|
275
|
-
'flow-chart-online-storage': string;
|
|
276
|
-
'flow-chart-delay': string;
|
|
277
|
-
'flow-chart-magnetic-tape': string;
|
|
278
|
-
'flow-chart-magnetic-disk': string;
|
|
279
|
-
'flow-chart-magnetic-drum': string;
|
|
280
|
-
'flow-chart-display': string;
|
|
281
|
-
'irregular-seal1': string;
|
|
282
|
-
'irregular-seal2': string;
|
|
283
|
-
star4: string;
|
|
284
|
-
star5: string;
|
|
285
|
-
star6: string;
|
|
286
|
-
star7: string;
|
|
287
|
-
star8: string;
|
|
288
|
-
star10: string;
|
|
289
|
-
star12: string;
|
|
290
|
-
star16: string;
|
|
291
|
-
star24: string;
|
|
292
|
-
star32: string;
|
|
293
|
-
ribbon2: string;
|
|
294
|
-
ribbon: string;
|
|
295
|
-
'ellipse-ribbon2': string;
|
|
296
|
-
'ellipse-ribbon': string;
|
|
297
|
-
'vertical-scroll': string;
|
|
298
|
-
'horizontal-scroll': string;
|
|
299
|
-
wave: string;
|
|
300
|
-
'double-wave': string;
|
|
301
|
-
'wedge-rect-callout': string;
|
|
302
|
-
'wedge-round-rect-callout': string;
|
|
303
|
-
'wedge-ellipse-callout': string;
|
|
304
|
-
'cloud-callout': string;
|
|
305
|
-
'border-callout1': string;
|
|
306
|
-
'border-callout2': string;
|
|
307
|
-
'border-callout3': string;
|
|
308
|
-
'accent-callout1': string;
|
|
309
|
-
'accent-callout2': string;
|
|
310
|
-
'accent-callout3': string;
|
|
311
|
-
callout1: string;
|
|
312
|
-
callout2: string;
|
|
313
|
-
callout3: string;
|
|
314
|
-
'accent-border-callout1': string;
|
|
315
|
-
'accent-border-callout2': string;
|
|
316
|
-
'accent-border-callout3': string;
|
|
317
|
-
'left-circular-arrow': string;
|
|
318
|
-
'left-right-circular-arrow': string;
|
|
319
|
-
'swoosh-arrow': string;
|
|
320
|
-
'left-right-ribbon': string;
|
|
321
|
-
'pie-wedge': string;
|
|
322
|
-
funnel: string;
|
|
323
|
-
gear6: string;
|
|
324
|
-
gear9: string;
|
|
325
|
-
'corner-tabs': string;
|
|
326
|
-
'action-button-back-previous': string;
|
|
327
|
-
'action-button-forward-next': string;
|
|
328
|
-
'action-button-beginning': string;
|
|
329
|
-
'action-button-end': string;
|
|
330
|
-
'action-button-home': string;
|
|
331
|
-
'action-button-information': string;
|
|
332
|
-
'action-button-return': string;
|
|
333
|
-
'action-button-movie': string;
|
|
334
|
-
'action-button-document': string;
|
|
335
|
-
'action-button-sound': string;
|
|
336
|
-
'action-button-help': string;
|
|
337
|
-
'action-button-blank': string;
|
|
338
|
-
'chart-plus': string;
|
|
339
|
-
'chart-star': string;
|
|
340
|
-
'chart-x': string;
|
|
341
|
-
'flow-chart-offline-storage': string;
|
|
342
|
-
'line-inv': string;
|
|
343
|
-
'plaque-tabs': string;
|
|
344
|
-
'square-tabs': string;
|
|
345
|
-
'up-down-arrow-callout': string;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
57
|
};
|
|
349
58
|
};
|
|
350
59
|
export default locale;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ISheetShapeDrawingParam } from '@univerjs-pro/sheets-shape';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
export declare class ShapeRenderUpdateService {
|
|
4
|
+
private readonly _renderManagerService;
|
|
5
|
+
constructor(_renderManagerService: IRenderManagerService);
|
|
6
|
+
updateShapeFillImage(param: Pick<ISheetShapeDrawingParam, 'unitId' | 'subUnitId' | 'drawingId'>, image: HTMLImageElement | undefined): void;
|
|
7
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { IMAGE_CLIP_SHAPE_PICKER_COMPONENT } from '@univerjs/drawing-ui';
|
|
2
1
|
export declare const SHAPE_PICKER_COMPONENT = "sheet.shape.picker.component";
|
|
3
|
-
export { IMAGE_CLIP_SHAPE_PICKER_COMPONENT };
|
|
4
2
|
export declare function ImageClipShapePicker(): import("react").JSX.Element;
|
|
5
3
|
export declare function ShapePicker(): import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IShapeData } from '@univerjs-pro/engine-shape';
|
|
2
|
+
import { getInitialShapeFillType } from '@univerjs-pro/shape-editor-ui';
|
|
2
3
|
interface IShapeFillProps {
|
|
3
4
|
unitId: string;
|
|
4
5
|
subUnitId: string;
|
|
@@ -7,5 +8,5 @@ interface IShapeFillProps {
|
|
|
7
8
|
isLineShape: boolean;
|
|
8
9
|
disableShapeOption: boolean;
|
|
9
10
|
}
|
|
10
|
-
export
|
|
11
|
-
export
|
|
11
|
+
export { getInitialShapeFillType };
|
|
12
|
+
export declare function ShapeFillEditor(props: IShapeFillProps): import("react").JSX.Element;
|