@univerjs-pro/sheets-shape-ui 1.0.0-alpha.1 → 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 -23
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3a5c(_0x5689db,_0x3e9b44){_0x5689db=_0x5689db-0x73;const _0x43caef=_0x43ca();let _0x3a5c1e=_0x43caef[_0x5689db];return _0x3a5c1e;}const _0x1e1a45=_0x3a5c;(function(_0x342e14,_0x4ec03){const _0x26107d=_0x3a5c,_0x31bda6=_0x342e14();while(!![]){try{const _0x5d29cb=-parseInt(_0x26107d(0xf4))/0x1*(parseInt(_0x26107d(0xf7))/0x2)+parseInt(_0x26107d(0xf9))/0x3+parseInt(_0x26107d(0x81))/0x4+parseInt(_0x26107d(0x90))/0x5+-parseInt(_0x26107d(0xd0))/0x6*(-parseInt(_0x26107d(0x87))/0x7)+-parseInt(_0x26107d(0x89))/0x8*(parseInt(_0x26107d(0x75))/0x9)+parseInt(_0x26107d(0xef))/0xa;if(_0x5d29cb===_0x4ec03)break;else _0x31bda6['push'](_0x31bda6['shift']());}catch(_0x49b34b){_0x31bda6['push'](_0x31bda6['shift']());}}}(_0x43ca,0xef99f));const e={'sheets-shape-ui':{'align':{'top':_0x1e1a45(0xa0),'middle':'垂直置中','bottom':'靠下對齊','left':_0x1e1a45(0x12a),'center':'置中','right':_0x1e1a45(0x12e)},'toolbar':{'verticalAlignMode':{'main':'垂直對齊'},'horizontalAlignMode':{'main':_0x1e1a45(0xde)},'fillColor':{'main':_0x1e1a45(0xc9)},'fontSize':_0x1e1a45(0xa1),'fontSizeIncrease':_0x1e1a45(0x121),'fontSizeDecrease':_0x1e1a45(0xf8),'alignLeft':_0x1e1a45(0xd3),'alignCenter':_0x1e1a45(0xa2),'alignRight':'Align\x20Right','alignJustify':'Justify','bold':_0x1e1a45(0x129),'italic':'Italic','underline':_0x1e1a45(0x73),'strikethrough':_0x1e1a45(0xec),'textColor':_0x1e1a45(0xa5),'textBackgroundColor':_0x1e1a45(0x79),'resetColor':_0x1e1a45(0x82)},'imagePanel':{'crop':{'shape':'裁切為形狀'}},'permission':{'editErr':_0x1e1a45(0xb6)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x1e1a45(0xf2),'deleteShape':_0x1e1a45(0xe6),'hidePanel':_0x1e1a45(0xe1),'formatShape':'格式化形狀','shapeStyle':_0x1e1a45(0x12f),'shapePosition':_0x1e1a45(0x10f),'toggleFlipH':_0x1e1a45(0x132),'toggleFlipV':_0x1e1a45(0xc0),'rotateRight90':_0x1e1a45(0x93),'rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':'切換文本竖排','fill':{'title':'填充','noFill':_0x1e1a45(0xaf),'solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','patternFill':_0x1e1a45(0xe9),'color':'顏色','transparency':'透明度','picture':{'source':_0x1e1a45(0x8f),'insert':_0x1e1a45(0xac),'tileAsTexture':_0x1e1a45(0xf3),'offsetX':'偏移量\x20X','offsetY':_0x1e1a45(0x84),'scaleX':_0x1e1a45(0xdd),'scaleY':_0x1e1a45(0x12c),'alignment':'對齊方式','rotateWithShape':_0x1e1a45(0xbb),'align':{'tl':_0x1e1a45(0xce),'t':_0x1e1a45(0x137),'tr':_0x1e1a45(0x110),'l':_0x1e1a45(0xe3),'ctr':'置中對齊','r':_0x1e1a45(0xbe),'bl':_0x1e1a45(0x94),'b':'底部對齊','br':_0x1e1a45(0x103)}}},'line':{'title':'線條','noLine':_0x1e1a45(0x12b),'solidLine':'實線','gradientLine':'漸層線','color':'顏色','transparency':_0x1e1a45(0xdc),'width':'寬度','dashType':{'title':'虛線類型','solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':_0x1e1a45(0x8b),'longDash':_0x1e1a45(0xb8),'longDashDot':_0x1e1a45(0x112),'longDashDotDot':_0x1e1a45(0xbc)},'capType':{'title':_0x1e1a45(0xae),'flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':_0x1e1a45(0xd9),'miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':_0x1e1a45(0xaa),'beginArrowSize':_0x1e1a45(0xed),'endArrowType':_0x1e1a45(0x9b),'endArrowSize':'終點箭頭大小','arrowType':{'none':'無','arrow':'箭頭','openArrow':_0x1e1a45(0xcf),'stealthArrow':_0x1e1a45(0x117),'diamondArrow':_0x1e1a45(0x11f),'ovalArrow':_0x1e1a45(0x10e)},'arrowSize':{'small':'小','medium':'中','large':'大'},'sketchType':{'title':'草繪樣式','none':'無','curved':'彎曲','freehand':'手繪','handDrawn':'潦草'}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':'基本形狀','blockArrow':_0x1e1a45(0xd6),'equationShape':_0x1e1a45(0x122),'flowchart':_0x1e1a45(0x85),'starAndBanner':_0x1e1a45(0x9f),'callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':'直線箭頭','straight-connector2':_0x1e1a45(0xf1),'bent-connector3':'折線','bent-connector3-arrow1':'折線:箭頭','bent-connector3-arrow2':'雙箭頭折線','curved-connector3':'曲線','curved-connector3-arrow1':_0x1e1a45(0x138),'curved-connector3-arrow2':_0x1e1a45(0xb3),'rect':'矩形','round-rect':'圓角矩形','snip1-rect':_0x1e1a45(0xb1),'snip2-same-rect':_0x1e1a45(0xc5),'snip2-diag-rect':_0x1e1a45(0xa7),'snip-round-rect':_0x1e1a45(0x92),'round1-rect':_0x1e1a45(0xb9),'round2-same-rect':_0x1e1a45(0xf0),'round2-diag-rect':_0x1e1a45(0xd1),'rect-textbox-horizontal':_0x1e1a45(0x95),'rect-textbox-vertical':_0x1e1a45(0xf6),'ellipse':'橢圓','triangle':_0x1e1a45(0x126),'rt-triangle':_0x1e1a45(0x106),'parallelogram':_0x1e1a45(0x7d),'trapezoid':'梯形','non-isosceles-trapezoid':'非等腰梯形','diamond':'菱形','pentagon':_0x1e1a45(0xdb),'hexagon':_0x1e1a45(0xfe),'heptagon':_0x1e1a45(0x7e),'octagon':_0x1e1a45(0xcb),'decagon':'十邊形','dodecagon':'十二邊形','pie':'不完整圓','chord':'弦形','teardrop':_0x1e1a45(0x9c),'frame':_0x1e1a45(0xd7),'half-frame':_0x1e1a45(0x114),'corner':'L形','diag-stripe':'斜紋','plus':_0x1e1a45(0xeb),'plaque':_0x1e1a45(0x97),'can':'圓柱形','cube':_0x1e1a45(0x109),'bevel':'矩形:棱台','donut':'圓:空心','no-smoking':_0x1e1a45(0x136),'block-arc':_0x1e1a45(0x102),'folder-corner':'矩形:折角','smiley-face':'笑臉','heart':'心形','lightning-bolt':'閃電形','sun':_0x1e1a45(0x8d),'moon':_0x1e1a45(0x9d),'cloud':'雲形','arc':'弧形','bracket-pair':_0x1e1a45(0x83),'brace-pair':_0x1e1a45(0xc4),'left-bracket':_0x1e1a45(0xa4),'right-bracket':_0x1e1a45(0x96),'left-brace':_0x1e1a45(0x100),'right-brace':_0x1e1a45(0xb4),'right-arrow':_0x1e1a45(0xad),'left-arrow':_0x1e1a45(0x98),'up-arrow':'箭頭:上','down-arrow':_0x1e1a45(0xd2),'left-right-arrow':_0x1e1a45(0x7c),'up-down-arrow':'箭頭:上下','quad-arrow':_0x1e1a45(0x11d),'left-right-up-arrow':_0x1e1a45(0x130),'bent-arrow':_0x1e1a45(0x10c),'uturn-arrow':_0x1e1a45(0x99),'left-up-arrow':_0x1e1a45(0xd4),'bent-up-arrow':_0x1e1a45(0x101),'curved-right-arrow':_0x1e1a45(0x8a),'curved-left-arrow':'箭頭:左弧形','curved-up-arrow':_0x1e1a45(0x10a),'curved-down-arrow':_0x1e1a45(0xe2),'striped-right-arrow':_0x1e1a45(0xc8),'notched-right-arrow':_0x1e1a45(0x11b),'home-plate':'五邊形','chevron':_0x1e1a45(0x74),'right-arrow-callout':_0x1e1a45(0xe0),'down-arrow-callout':_0x1e1a45(0x12d),'left-arrow-callout':'標註:左箭頭','up-arrow-callout':_0x1e1a45(0x116),'left-right-arrow-callout':_0x1e1a45(0x88),'quad-arrow-callout':_0x1e1a45(0x123),'circular-arrow':_0x1e1a45(0xf5),'math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':'不等號','flow-chart-process':_0x1e1a45(0xb7),'flow-chart-alternate-process':'流程圖:可選過程','flow-chart-decision':'流程圖:決策','flow-chart-input-output':_0x1e1a45(0x107),'flow-chart-predefined-process':_0x1e1a45(0x91),'flow-chart-internal-storage':_0x1e1a45(0xb5),'flow-chart-document':_0x1e1a45(0x104),'flow-chart-multidocument':_0x1e1a45(0xfb),'flow-chart-terminator':_0x1e1a45(0x78),'flow-chart-preparation':_0x1e1a45(0x119),'flow-chart-manual-input':_0x1e1a45(0x134),'flow-chart-manual-operation':'流程圖:手動操作','flow-chart-connector':_0x1e1a45(0xa3),'flow-chart-offpage-connector':'流程圖:離頁連接符','flow-chart-punched-card':'流程圖:卡片','flow-chart-punched-tape':_0x1e1a45(0xbf),'flow-chart-summing-junction':_0x1e1a45(0xc1),'flow-chart-or':_0x1e1a45(0xe5),'flow-chart-collate':'流程圖:對照','flow-chart-sort':_0x1e1a45(0x9a),'flow-chart-extract':_0x1e1a45(0x120),'flow-chart-merge':_0x1e1a45(0xb2),'flow-chart-online-storage':_0x1e1a45(0x77),'flow-chart-delay':_0x1e1a45(0xe4),'flow-chart-magnetic-tape':_0x1e1a45(0xc7),'flow-chart-magnetic-disk':_0x1e1a45(0xcc),'flow-chart-magnetic-drum':_0x1e1a45(0xc3),'flow-chart-display':_0x1e1a45(0x113),'irregular-seal1':_0x1e1a45(0xff),'irregular-seal2':'爆炸形:14pt','star4':_0x1e1a45(0x80),'star5':_0x1e1a45(0x118),'star6':'星形:六角','star7':'星形:七角','star8':_0x1e1a45(0x127),'star10':_0x1e1a45(0x8c),'star12':_0x1e1a45(0x10d),'star16':_0x1e1a45(0xd5),'star24':_0x1e1a45(0x125),'star32':_0x1e1a45(0x8e),'ribbon2':_0x1e1a45(0xc6),'ribbon':_0x1e1a45(0xd8),'ellipse-ribbon2':_0x1e1a45(0x11c),'ellipse-ribbon':_0x1e1a45(0xcd),'vertical-scroll':_0x1e1a45(0xfd),'horizontal-scroll':'卷形:水平','wave':'波形','double-wave':'雙波形','wedge-rect-callout':_0x1e1a45(0xe8),'wedge-round-rect-callout':_0x1e1a45(0x11e),'wedge-ellipse-callout':_0x1e1a45(0xba),'cloud-callout':_0x1e1a45(0x7b),'border-callout1':_0x1e1a45(0x124),'border-callout2':_0x1e1a45(0x7f),'border-callout3':_0x1e1a45(0x111),'accent-callout1':'標註:線形(帶強調線)','accent-callout2':'標註:彎曲線形(帶強調線)','accent-callout3':_0x1e1a45(0xee),'callout1':_0x1e1a45(0x135),'callout2':_0x1e1a45(0xb0),'callout3':_0x1e1a45(0x115),'accent-border-callout1':_0x1e1a45(0xa6),'accent-border-callout2':_0x1e1a45(0x9e),'accent-border-callout3':'標註:雙彎曲線形(帶邊框和強調線)','left-circular-arrow':_0x1e1a45(0xfa),'left-right-circular-arrow':_0x1e1a45(0xca),'swoosh-arrow':'彎曲箭頭','left-right-ribbon':_0x1e1a45(0x108),'pie-wedge':_0x1e1a45(0x7a),'funnel':'漏斗','gear6':_0x1e1a45(0xda),'gear9':_0x1e1a45(0x133),'corner-tabs':'角標','action-button-back-previous':_0x1e1a45(0xa8),'action-button-forward-next':_0x1e1a45(0xbd),'action-button-beginning':'開始按鈕','action-button-end':_0x1e1a45(0xa9),'action-button-home':_0x1e1a45(0x76),'action-button-information':_0x1e1a45(0x10b),'action-button-return':'返回按鈕','action-button-movie':_0x1e1a45(0xc2),'action-button-document':_0x1e1a45(0x105),'action-button-sound':_0x1e1a45(0xdf),'action-button-help':_0x1e1a45(0x131),'action-button-blank':_0x1e1a45(0xe7),'chart-plus':_0x1e1a45(0x128),'chart-star':'圖表星號','chart-x':_0x1e1a45(0xfc),'flow-chart-offline-storage':_0x1e1a45(0x86),'line-inv':_0x1e1a45(0xea),'plaque-tabs':_0x1e1a45(0xab),'square-tabs':_0x1e1a45(0x11a),'up-down-arrow-callout':'上下箭頭標註'}}}};function _0x43ca(){const _0x181ab5=['Align\x20Left','箭頭:直角雙向','星形:十六角','箭頭總匯','圖文框','帶形:前凸','聯接類型','6齒齒輪','五邊形','透明度','縮放\x20X','水平對齊','聲音按鈕','標註:右箭頭','隱藏形狀面板','箭頭:下弧形','左對齊','流程圖:延期','流程圖:或者','刪除形狀','空白按鈕','對話氣泡:矩形','圖案填充','線反向','十字形','Strikethrough','起點箭頭大小','標註:雙彎曲線形(帶強調線)','11704340cFEOYG','矩形:圓頂角','雙箭頭直線','打開形狀面板','將圖片平鋪為紋理','3171iyujqB','箭頭:環形','縱向文字方塊','1042bPMTxc','縮小字型','1613757hYxvbY','左圓形箭頭','流程圖:多文檔','圖表X','卷形:垂直','六邊形','爆炸形:8pt','左大括號','箭頭:直角上','空心弧','右下對齊','流程圖:文檔','文檔按鈕','直角三角形','流程圖:數據','左右帶形','立方體','箭頭:上弧形','信息按鈕','箭頭:圓角右','星形:十二角','橢圓箭頭','圖形位置','右上對齊','標註:雙彎曲線形','長虛線-點','流程圖:顯示','半閉框','標註:雙彎曲線形(無邊框)','標註:上箭頭','隱形箭頭','星形:五角','流程圖:準備','方形標籤','箭頭:燕尾形','帶形:上凸彎','箭頭:十字','對話氣泡:圓角矩形','菱形箭頭','流程圖:摘錄','放大字型','公式形狀','標註:十字箭頭','標註:線形','星形:二十四角','等腰三角形','星形:八角','圖表加號','Bold','靠左對齊','無線條','縮放\x20Y','標註:下箭頭','靠右對齊','圖形樣式','箭頭:丁字','幫助按鈕','切換水平翻轉','9齒齒輪','流程圖:手動輸入','標註:線形(無邊框)','禁止符','頂部對齊','曲線:箭頭','Underline','箭頭:V型','17194284birlfN','主頁按鈕','流程圖:存儲數據','流程圖:終止','Text\x20Background\x20color','餅形楔','氣泡:雲','箭頭:左右','平行四邊形','七邊形','標註:彎曲線形','星形:四角','4955512mksxqM','重置顏色','雙括號','偏移量\x20Y','流程圖','流程圖:離線存儲','7VeKgmm','標註:左右箭頭','8FafPZk','箭頭:右弧形','虛線-點','星形:十角','太陽形','星形:三十二角','圖片來源','6011310CVPLww','流程圖:預定義過程','矩形:一個圓頂角,剪去另一個頂角','順時針\x2090\x20度旋轉','左下對齊','橫向文字方塊','右中括號','缺角矩形','箭頭:左','箭頭:手杖形','流程圖:排序','終點箭頭類型','淚滴形','新月形','標註:彎曲線形(帶邊框和強調線)','星與旗幟','靠上對齊','字型大小','Align\x20Center','流程圖:接點','左中括號','Text\x20color','標註:線形(帶邊框和強調線)','矩形:剪去對角','返回/上一個按鈕','結束按鈕','起點箭頭類型','牌匾標籤','插入...','箭頭:右','端點類型','無顏色','標註:彎曲線形(無邊框)','剪去單角矩形','流程圖:合併','雙箭頭曲線','右大括號','流程圖:內部貯存','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','流程圖:過程','長虛線','矩形:單圓角','對話氣泡:圓形','隨形狀旋轉','長虛線-點-點','前進/下一個按鈕','右對齊','流程圖:資料帶','切換垂直翻轉','流程圖:匯總連接','電影按鈕','流程圖:直接訪問存儲器','雙大括號','矩形:剪去頂角','帶形:上凸','流程圖:順序訪問存儲器','箭頭:虛尾','填滿色彩','左右圓形箭頭','八邊形','流程圖:磁盤','帶形:前凸彎','左上對齊','開放箭頭','2366886saRgGV','矩形:對角圓角','箭頭:下'];_0x43ca=function(){return _0x181ab5;};return _0x43ca();}export{e as default};
|
|
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;
|