@univerjs-pro/docs-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 -108
- 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/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 +15 -16
- package/lib/types/views/shapes.d.ts +0 -58
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3cb799=_0x11b6;(function(_0x9296e7,_0x42ff10){const _0x4a6e15=_0x11b6,_0x151a1d=_0x9296e7();while(!![]){try{const _0x5cc322=parseInt(_0x4a6e15(0x1b3))/0x1+-parseInt(_0x4a6e15(0x191))/0x2+-parseInt(_0x4a6e15(0x196))/0x3*(-parseInt(_0x4a6e15(0x1b4))/0x4)+-parseInt(_0x4a6e15(0x220))/0x5+parseInt(_0x4a6e15(0x177))/0x6*(parseInt(_0x4a6e15(0x199))/0x7)+-parseInt(_0x4a6e15(0x219))/0x8*(parseInt(_0x4a6e15(0x1ae))/0x9)+parseInt(_0x4a6e15(0x198))/0xa*(parseInt(_0x4a6e15(0x1a4))/0xb);if(_0x5cc322===_0x42ff10)break;else _0x151a1d['push'](_0x151a1d['shift']());}catch(_0x4de9e8){_0x151a1d['push'](_0x151a1d['shift']());}}}(_0x1255,0x89c04));const e={'docs-shape-ui':{'title':'形狀','insertShape':_0x3cb799(0x1ff),'openPanel':_0x3cb799(0x1e4),'deleteShape':_0x3cb799(0x18f),'hidePanel':_0x3cb799(0x18e),'formatShape':_0x3cb799(0x186),'shapeStyle':_0x3cb799(0x17b),'shapePosition':_0x3cb799(0x204),'toggleFlipH':_0x3cb799(0x1ba),'toggleFlipV':_0x3cb799(0x1ea),'rotateRight90':_0x3cb799(0x1ab),'rotateLeft90':_0x3cb799(0x197),'toggleTextVertical':_0x3cb799(0x1c2),'fill':{'title':'填充','noFill':_0x3cb799(0x1db),'solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','patternFill':_0x3cb799(0x1cb),'color':'顏色','transparency':'透明度','picture':{'source':'圖片來源','insert':_0x3cb799(0x19d),'tileAsTexture':_0x3cb799(0x185),'offsetX':_0x3cb799(0x1ca),'offsetY':_0x3cb799(0x1b7),'scaleX':_0x3cb799(0x205),'scaleY':'縮放\x20Y','alignment':_0x3cb799(0x1af),'rotateWithShape':_0x3cb799(0x17a),'align':{'tl':'左上對齊','t':_0x3cb799(0x1df),'tr':_0x3cb799(0x182),'l':_0x3cb799(0x1e3),'ctr':'置中對齊','r':'右對齊','bl':_0x3cb799(0x1fb),'b':'底部對齊','br':_0x3cb799(0x1b2)}}},'line':{'title':'線條','noLine':_0x3cb799(0x1a2),'solidLine':'實線','gradientLine':_0x3cb799(0x176),'color':'顏色','transparency':'透明度','width':'寬度','dashType':{'title':'虛線類型','solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':_0x3cb799(0x226),'longDash':'長虛線','longDashDot':'長虛線-點','longDashDotDot':_0x3cb799(0x1da)},'capType':{'title':_0x3cb799(0x1a3),'flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':_0x3cb799(0x1a9),'miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':'起點箭頭類型','beginArrowSize':_0x3cb799(0x1c0),'endArrowType':_0x3cb799(0x1b6),'endArrowSize':_0x3cb799(0x21b),'arrowType':{'none':'無','arrow':'箭頭','openArrow':_0x3cb799(0x1f6),'stealthArrow':_0x3cb799(0x1f5),'diamondArrow':_0x3cb799(0x192),'ovalArrow':_0x3cb799(0x184)},'arrowSize':{'small':'小','medium':'中','large':'大'},'sketchType':{'title':'草繪樣式','none':'無','curved':'彎曲','freehand':'手繪','handDrawn':'潦草'}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':_0x3cb799(0x1d7),'blockArrow':_0x3cb799(0x1bd),'equationShape':'公式形狀','flowchart':'流程圖','starAndBanner':_0x3cb799(0x1f9),'callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':_0x3cb799(0x208),'straight-connector2':'雙箭頭直線','bent-connector3':'折線','bent-connector3-arrow1':_0x3cb799(0x209),'bent-connector3-arrow2':_0x3cb799(0x181),'curved-connector3':'曲線','curved-connector3-arrow1':'曲線:箭頭','curved-connector3-arrow2':_0x3cb799(0x1fa),'rect':'矩形','round-rect':_0x3cb799(0x1f4),'snip1-rect':'剪去單角矩形','snip2-same-rect':_0x3cb799(0x1cd),'snip2-diag-rect':_0x3cb799(0x183),'snip-round-rect':_0x3cb799(0x217),'round1-rect':_0x3cb799(0x1f8),'round2-same-rect':_0x3cb799(0x17f),'round2-diag-rect':_0x3cb799(0x17d),'rect-textbox-horizontal':_0x3cb799(0x18c),'rect-textbox-vertical':_0x3cb799(0x1b8),'ellipse':'橢圓','triangle':_0x3cb799(0x1c5),'rt-triangle':_0x3cb799(0x1c8),'parallelogram':_0x3cb799(0x225),'trapezoid':'梯形','non-isosceles-trapezoid':_0x3cb799(0x21a),'diamond':'菱形','pentagon':_0x3cb799(0x1f7),'hexagon':_0x3cb799(0x211),'heptagon':_0x3cb799(0x194),'octagon':'八邊形','decagon':'十邊形','dodecagon':_0x3cb799(0x1d3),'pie':'不完整圓','chord':'弦形','teardrop':_0x3cb799(0x1d0),'frame':_0x3cb799(0x222),'half-frame':_0x3cb799(0x189),'corner':'L形','diag-stripe':'斜紋','plus':_0x3cb799(0x1e0),'plaque':_0x3cb799(0x1eb),'can':_0x3cb799(0x218),'cube':_0x3cb799(0x1d2),'bevel':_0x3cb799(0x1c9),'donut':_0x3cb799(0x1d6),'no-smoking':_0x3cb799(0x1be),'block-arc':_0x3cb799(0x173),'folder-corner':_0x3cb799(0x18d),'smiley-face':'笑臉','heart':'心形','lightning-bolt':_0x3cb799(0x1a7),'sun':_0x3cb799(0x178),'moon':'新月形','cloud':'雲形','arc':'弧形','bracket-pair':'雙括號','brace-pair':_0x3cb799(0x21f),'left-bracket':_0x3cb799(0x1dc),'right-bracket':_0x3cb799(0x207),'left-brace':_0x3cb799(0x175),'right-brace':_0x3cb799(0x214),'right-arrow':_0x3cb799(0x1f1),'left-arrow':'箭頭:左','up-arrow':_0x3cb799(0x19e),'down-arrow':'箭頭:下','left-right-arrow':'箭頭:左右','up-down-arrow':_0x3cb799(0x1a8),'quad-arrow':_0x3cb799(0x213),'left-right-up-arrow':_0x3cb799(0x20b),'bent-arrow':_0x3cb799(0x1ad),'uturn-arrow':_0x3cb799(0x1b0),'left-up-arrow':'箭頭:直角雙向','bent-up-arrow':'箭頭:直角上','curved-right-arrow':_0x3cb799(0x1fe),'curved-left-arrow':'箭頭:左弧形','curved-up-arrow':_0x3cb799(0x210),'curved-down-arrow':_0x3cb799(0x19a),'striped-right-arrow':_0x3cb799(0x21c),'notched-right-arrow':'箭頭:燕尾形','home-plate':_0x3cb799(0x1f7),'chevron':'箭頭:V型','right-arrow-callout':_0x3cb799(0x203),'down-arrow-callout':_0x3cb799(0x1a1),'left-arrow-callout':'標註:左箭頭','up-arrow-callout':_0x3cb799(0x19b),'left-right-arrow-callout':_0x3cb799(0x1c1),'quad-arrow-callout':_0x3cb799(0x1e9),'circular-arrow':'箭頭:環形','math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':'不等號','flow-chart-process':'流程圖:過程','flow-chart-alternate-process':_0x3cb799(0x1a0),'flow-chart-decision':_0x3cb799(0x1dd),'flow-chart-input-output':_0x3cb799(0x1e2),'flow-chart-predefined-process':_0x3cb799(0x215),'flow-chart-internal-storage':_0x3cb799(0x1de),'flow-chart-document':_0x3cb799(0x1f3),'flow-chart-multidocument':'流程圖:多文檔','flow-chart-terminator':'流程圖:終止','flow-chart-preparation':_0x3cb799(0x1fc),'flow-chart-manual-input':_0x3cb799(0x1e1),'flow-chart-manual-operation':_0x3cb799(0x1d5),'flow-chart-connector':_0x3cb799(0x1f2),'flow-chart-offpage-connector':_0x3cb799(0x1f0),'flow-chart-punched-card':'流程圖:卡片','flow-chart-punched-tape':'流程圖:資料帶','flow-chart-summing-junction':'流程圖:匯總連接','flow-chart-or':'流程圖:或者','flow-chart-collate':_0x3cb799(0x1a5),'flow-chart-sort':_0x3cb799(0x1d4),'flow-chart-extract':_0x3cb799(0x216),'flow-chart-merge':'流程圖:合併','flow-chart-online-storage':'流程圖:存儲數據','flow-chart-delay':_0x3cb799(0x1aa),'flow-chart-magnetic-tape':_0x3cb799(0x195),'flow-chart-magnetic-disk':_0x3cb799(0x1cc),'flow-chart-magnetic-drum':'流程圖:直接訪問存儲器','flow-chart-display':_0x3cb799(0x1ed),'irregular-seal1':_0x3cb799(0x1ec),'irregular-seal2':_0x3cb799(0x223),'star4':_0x3cb799(0x174),'star5':_0x3cb799(0x18b),'star6':_0x3cb799(0x190),'star7':_0x3cb799(0x1bb),'star8':_0x3cb799(0x1c7),'star10':_0x3cb799(0x20f),'star12':_0x3cb799(0x202),'star16':_0x3cb799(0x1d1),'star24':'星形:二十四角','star32':_0x3cb799(0x180),'ribbon2':_0x3cb799(0x21e),'ribbon':_0x3cb799(0x20a),'ellipse-ribbon2':_0x3cb799(0x20c),'ellipse-ribbon':'帶形:前凸彎','vertical-scroll':_0x3cb799(0x1c3),'horizontal-scroll':'卷形:水平','wave':'波形','double-wave':_0x3cb799(0x221),'wedge-rect-callout':_0x3cb799(0x20d),'wedge-round-rect-callout':_0x3cb799(0x1e6),'wedge-ellipse-callout':_0x3cb799(0x187),'cloud-callout':'氣泡:雲','border-callout1':_0x3cb799(0x17e),'border-callout2':_0x3cb799(0x20e),'border-callout3':'標註:雙彎曲線形','accent-callout1':'標註:線形(帶強調線)','accent-callout2':_0x3cb799(0x1bc),'accent-callout3':'標註:雙彎曲線形(帶強調線)','callout1':_0x3cb799(0x200),'callout2':_0x3cb799(0x1bf),'callout3':_0x3cb799(0x212),'accent-border-callout1':'標註:線形(帶邊框和強調線)','accent-border-callout2':_0x3cb799(0x224),'accent-border-callout3':_0x3cb799(0x1e8),'left-circular-arrow':'左圓形箭頭','left-right-circular-arrow':'左右圓形箭頭','swoosh-arrow':_0x3cb799(0x18a),'left-right-ribbon':_0x3cb799(0x1b5),'pie-wedge':_0x3cb799(0x1e5),'funnel':'漏斗','gear6':_0x3cb799(0x1d8),'gear9':'9齒齒輪','corner-tabs':'角標','action-button-back-previous':_0x3cb799(0x1fd),'action-button-forward-next':_0x3cb799(0x179),'action-button-beginning':'開始按鈕','action-button-end':_0x3cb799(0x19c),'action-button-home':'主頁按鈕','action-button-information':'信息按鈕','action-button-return':_0x3cb799(0x193),'action-button-movie':_0x3cb799(0x206),'action-button-document':'文檔按鈕','action-button-sound':_0x3cb799(0x1cf),'action-button-help':_0x3cb799(0x188),'action-button-blank':_0x3cb799(0x1e7),'chart-plus':'圖表加號','chart-star':_0x3cb799(0x1b9),'chart-x':_0x3cb799(0x1b1),'flow-chart-offline-storage':_0x3cb799(0x1a6),'line-inv':_0x3cb799(0x17c),'plaque-tabs':'牌匾標籤','square-tabs':_0x3cb799(0x1ef),'up-down-arrow-callout':_0x3cb799(0x19f)}},'toolbar':{'alignLeft':_0x3cb799(0x1e3),'alignCenter':'居中對齊','alignRight':'右對齊','alignJustify':_0x3cb799(0x1c6),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':'刪除線','textColor':_0x3cb799(0x201),'fillColor':_0x3cb799(0x1d9),'resetColor':_0x3cb799(0x1ce)},'align':{'top':'頂部對齊','middle':_0x3cb799(0x1ee),'bottom':'底部對齊'},'textWrap':{'inline':_0x3cb799(0x1c4),'square':'矩形','topAndBottom':'上及下','behindText':_0x3cb799(0x21d),'inFrontText':'文字在後'},'crop':{'shape':_0x3cb799(0x1ac)}}};export{e as default};function _0x11b6(_0x4f8a69,_0x4c7acb){_0x4f8a69=_0x4f8a69-0x173;const _0x1255ba=_0x1255();let _0x11b682=_0x1255ba[_0x4f8a69];return _0x11b682;}function _0x1255(){const _0x3fe9b5=['流程圖:手動操作','圓:空心','基本形狀','6齒齒輪','文字背景色','長虛線-點-點','無顏色','左中括號','流程圖:決策','流程圖:內部貯存','頂部對齊','十字形','流程圖:手動輸入','流程圖:數據','左對齊','打開形狀面板','餅形楔','對話氣泡:圓角矩形','空白按鈕','標註:雙彎曲線形(帶邊框和強調線)','標註:十字箭頭','切換垂直翻轉','缺角矩形','爆炸形:8pt','流程圖:顯示','垂直居中','方形標籤','流程圖:離頁連接符','箭頭:右','流程圖:接點','流程圖:文檔','圓角矩形','隱形箭頭','開放箭頭','五邊形','矩形:單圓角','星與旗幟','雙箭頭曲線','左下對齊','流程圖:準備','返回/上一個按鈕','箭頭:右弧形','插入形狀','標註:線形(無邊框)','文字顏色','星形:十二角','標註:右箭頭','圖形位置','縮放\x20X','電影按鈕','右中括號','直線箭頭','折線:箭頭','帶形:前凸','箭頭:丁字','帶形:上凸彎','對話氣泡:矩形','標註:彎曲線形','星形:十角','箭頭:上弧形','六邊形','標註:雙彎曲線形(無邊框)','箭頭:十字','右大括號','流程圖:預定義過程','流程圖:摘錄','矩形:一個圓頂角,剪去另一個頂角','圓柱形','380272XsjlHf','非等腰梯形','終點箭頭大小','箭頭:虛尾','文字在前','帶形:上凸','雙大括號','2431145NyoEZJ','雙波形','圖文框','爆炸形:14pt','標註:彎曲線形(帶邊框和強調線)','平行四邊形','虛線-點','空心弧','星形:四角','左大括號','漸層線','1443972bTkLRM','太陽形','前進/下一個按鈕','隨形狀旋轉','圖形樣式','線反向','矩形:對角圓角','標註:線形','矩形:圓頂角','星形:三十二角','雙箭頭折線','右上對齊','矩形:剪去對角','橢圓箭頭','將圖片平鋪為紋理','格式化形狀','對話氣泡:圓形','幫助按鈕','半閉框','彎曲箭頭','星形:五角','橫向文字方塊','矩形:折角','隱藏形狀面板','刪除形狀','星形:六角','751648gYFqXC','菱形箭頭','返回按鈕','七邊形','流程圖:順序訪問存儲器','291HDpsvg','逆時針\x2090\x20度旋轉','23230LzfcCA','7iLOora','箭頭:下弧形','標註:上箭頭','結束按鈕','插入...','箭頭:上','上下箭頭標註','流程圖:可選過程','標註:下箭頭','無線條','端點類型','176WSorwz','流程圖:對照','流程圖:離線存儲','閃電形','箭頭:上下','聯接類型','流程圖:延期','順時針\x2090\x20度旋轉','裁切為形狀','箭頭:圓角右','108Xgbxty','對齊方式','箭頭:手杖形','圖表X','右下對齊','756037qxPWWd','39704AySWyq','左右帶形','終點箭頭類型','偏移量\x20Y','縱向文字方塊','圖表星號','切換水平翻轉','星形:七角','標註:彎曲線形(帶強調線)','箭頭總匯','禁止符','標註:彎曲線形(無邊框)','起點箭頭大小','標註:左右箭頭','切換文本竖排','卷形:垂直','與文字排列','等腰三角形','兩端對齊','星形:八角','直角三角形','矩形:棱台','偏移量\x20X','圖案填充','流程圖:磁盤','矩形:剪去頂角','重置顏色','聲音按鈕','淚滴形','星形:十六角','立方體','十二邊形','流程圖:排序'];_0x1255=function(){return _0x3fe9b5;};return _0x1255();}
|
|
1
|
+
const _0x1c9f78=_0x1842;(function(_0xb99b8a,_0x1bdf80){const _0x39c359=_0x1842,_0x26e67d=_0xb99b8a();while(!![]){try{const _0x50ef9f=parseInt(_0x39c359(0x10a))/0x1*(parseInt(_0x39c359(0x106))/0x2)+-parseInt(_0x39c359(0x10c))/0x3*(parseInt(_0x39c359(0xf6))/0x4)+parseInt(_0x39c359(0xfb))/0x5+parseInt(_0x39c359(0xfa))/0x6+-parseInt(_0x39c359(0xf7))/0x7+-parseInt(_0x39c359(0x10d))/0x8*(-parseInt(_0x39c359(0x10b))/0x9)+parseInt(_0x39c359(0x105))/0xa;if(_0x50ef9f===_0x1bdf80)break;else _0x26e67d['push'](_0x26e67d['shift']());}catch(_0x23d34e){_0x26e67d['push'](_0x26e67d['shift']());}}}(_0x4fc0,0xa9646));function _0x1842(_0x12febc,_0x24438e){_0x12febc=_0x12febc-0xf2;const _0x4fc0a6=_0x4fc0();let _0x184203=_0x4fc0a6[_0x12febc];return _0x184203;}const e={'docs-shape-ui':{'title':'形狀','insertShape':_0x1c9f78(0x104),'openPanel':_0x1c9f78(0xf2),'deleteShape':'刪除形狀','hidePanel':_0x1c9f78(0xf4),'formatShape':_0x1c9f78(0x102),'shapeStyle':_0x1c9f78(0xf3),'shapePosition':_0x1c9f78(0x103),'toggleFlipH':'切換水平翻轉','toggleFlipV':'切換垂直翻轉','rotateRight90':_0x1c9f78(0xfd),'rotateLeft90':_0x1c9f78(0x107),'toggleTextVertical':_0x1c9f78(0xf8),'toolbar':{'alignLeft':_0x1c9f78(0x10e),'alignCenter':_0x1c9f78(0x111),'alignRight':_0x1c9f78(0x101),'alignJustify':_0x1c9f78(0xff),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x1c9f78(0xf9),'textColor':_0x1c9f78(0xfe),'fillColor':'文字背景色','resetColor':_0x1c9f78(0xfc)},'align':{'top':_0x1c9f78(0xf5),'middle':_0x1c9f78(0x100),'bottom':'底部對齊'},'textWrap':{'inline':_0x1c9f78(0x109),'square':'矩形','topAndBottom':_0x1c9f78(0x108),'behindText':'文字在前','inFrontText':_0x1c9f78(0x110)},'crop':{'shape':_0x1c9f78(0x10f)}}};function _0x4fc0(){const _0x45fce3=['左對齊','裁切為形狀','文字在後','居中對齊','打開形狀面板','圖形樣式','隱藏形狀面板','頂部對齊','4461812BKXsIR','5173350kAGQqI','切換文本竖排','刪除線','147972NUQyXF','503100NJRIiM','重置顏色','順時針\x2090\x20度旋轉','文字顏色','兩端對齊','垂直居中','右對齊','格式化形狀','圖形位置','插入形狀','15661370LedMHD','26918hqBKAo','逆時針\x2090\x20度旋轉','上及下','與文字排列','20lhbCwF','126MbOHRa','3tekWXj','335848CZxCaT'];_0x4fc0=function(){return _0x45fce3;};return _0x4fc0();}export{e as default};
|
|
@@ -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 { IDocShapeDrawingParam } from '@univerjs-pro/docs-shape';
|
|
2
1
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
2
|
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
4
3
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
@@ -10,7 +9,6 @@ export declare class ShapeUpdateController extends Disposable {
|
|
|
10
9
|
private readonly _docDrawingShapeRenderController;
|
|
11
10
|
constructor(_commandService: ICommandService, _renderManagerService: IRenderManagerService, _drawingManagerService: IDrawingManagerService, _docDrawingShapeRenderController: DocDrawingShapeRenderController);
|
|
12
11
|
private _initialize;
|
|
13
|
-
updateShapeFillImage(param: IDocShapeDrawingParam, image: HTMLImageElement | undefined): void;
|
|
14
12
|
private _insertShapes;
|
|
15
13
|
private _updateShape;
|
|
16
14
|
private _refreshShapeData;
|
|
@@ -13,297 +13,6 @@ declare const locale: {
|
|
|
13
13
|
rotateRight90: string;
|
|
14
14
|
rotateLeft90: string;
|
|
15
15
|
toggleTextVertical: string;
|
|
16
|
-
fill: {
|
|
17
|
-
title: string;
|
|
18
|
-
noFill: string;
|
|
19
|
-
solidFill: string;
|
|
20
|
-
gradientFill: string;
|
|
21
|
-
pictureFill: string;
|
|
22
|
-
patternFill: string;
|
|
23
|
-
color: string;
|
|
24
|
-
transparency: string;
|
|
25
|
-
picture: {
|
|
26
|
-
source: string;
|
|
27
|
-
insert: string;
|
|
28
|
-
tileAsTexture: string;
|
|
29
|
-
offsetX: string;
|
|
30
|
-
offsetY: string;
|
|
31
|
-
scaleX: string;
|
|
32
|
-
scaleY: string;
|
|
33
|
-
alignment: string;
|
|
34
|
-
rotateWithShape: string;
|
|
35
|
-
align: {
|
|
36
|
-
tl: string;
|
|
37
|
-
t: string;
|
|
38
|
-
tr: string;
|
|
39
|
-
l: string;
|
|
40
|
-
ctr: string;
|
|
41
|
-
r: string;
|
|
42
|
-
bl: string;
|
|
43
|
-
b: string;
|
|
44
|
-
br: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
line: {
|
|
49
|
-
title: string;
|
|
50
|
-
noLine: string;
|
|
51
|
-
solidLine: string;
|
|
52
|
-
gradientLine: string;
|
|
53
|
-
color: string;
|
|
54
|
-
transparency: string;
|
|
55
|
-
width: string;
|
|
56
|
-
dashType: {
|
|
57
|
-
title: string;
|
|
58
|
-
solid: string;
|
|
59
|
-
roundDot: string;
|
|
60
|
-
squareDot: string;
|
|
61
|
-
dash: string;
|
|
62
|
-
dashDot: string;
|
|
63
|
-
longDash: string;
|
|
64
|
-
longDashDot: string;
|
|
65
|
-
longDashDotDot: string;
|
|
66
|
-
};
|
|
67
|
-
capType: {
|
|
68
|
-
title: string;
|
|
69
|
-
flat: string;
|
|
70
|
-
round: string;
|
|
71
|
-
square: string;
|
|
72
|
-
};
|
|
73
|
-
joinType: {
|
|
74
|
-
title: string;
|
|
75
|
-
miter: string;
|
|
76
|
-
round: string;
|
|
77
|
-
bevel: string;
|
|
78
|
-
};
|
|
79
|
-
beginArrowType: string;
|
|
80
|
-
beginArrowSize: string;
|
|
81
|
-
endArrowType: string;
|
|
82
|
-
endArrowSize: string;
|
|
83
|
-
arrowType: {
|
|
84
|
-
none: string;
|
|
85
|
-
arrow: string;
|
|
86
|
-
openArrow: string;
|
|
87
|
-
stealthArrow: string;
|
|
88
|
-
diamondArrow: string;
|
|
89
|
-
ovalArrow: string;
|
|
90
|
-
};
|
|
91
|
-
arrowSize: {
|
|
92
|
-
small: string;
|
|
93
|
-
medium: string;
|
|
94
|
-
large: string;
|
|
95
|
-
};
|
|
96
|
-
sketchType: {
|
|
97
|
-
title: string;
|
|
98
|
-
none: string;
|
|
99
|
-
curved: string;
|
|
100
|
-
freehand: string;
|
|
101
|
-
handDrawn: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
shape: {
|
|
105
|
-
group: {
|
|
106
|
-
line: string;
|
|
107
|
-
rectangle: string;
|
|
108
|
-
basicShape: string;
|
|
109
|
-
blockArrow: string;
|
|
110
|
-
equationShape: string;
|
|
111
|
-
flowchart: string;
|
|
112
|
-
starAndBanner: string;
|
|
113
|
-
callout: string;
|
|
114
|
-
other: string;
|
|
115
|
-
};
|
|
116
|
-
type: {
|
|
117
|
-
line: string;
|
|
118
|
-
'straight-connector1': string;
|
|
119
|
-
'straight-connector2': string;
|
|
120
|
-
'bent-connector3': string;
|
|
121
|
-
'bent-connector3-arrow1': string;
|
|
122
|
-
'bent-connector3-arrow2': string;
|
|
123
|
-
'curved-connector3': string;
|
|
124
|
-
'curved-connector3-arrow1': string;
|
|
125
|
-
'curved-connector3-arrow2': string;
|
|
126
|
-
rect: string;
|
|
127
|
-
'round-rect': string;
|
|
128
|
-
'snip1-rect': string;
|
|
129
|
-
'snip2-same-rect': string;
|
|
130
|
-
'snip2-diag-rect': string;
|
|
131
|
-
'snip-round-rect': string;
|
|
132
|
-
'round1-rect': string;
|
|
133
|
-
'round2-same-rect': string;
|
|
134
|
-
'round2-diag-rect': string;
|
|
135
|
-
'rect-textbox-horizontal': string;
|
|
136
|
-
'rect-textbox-vertical': string;
|
|
137
|
-
ellipse: string;
|
|
138
|
-
triangle: string;
|
|
139
|
-
'rt-triangle': string;
|
|
140
|
-
parallelogram: string;
|
|
141
|
-
trapezoid: string;
|
|
142
|
-
'non-isosceles-trapezoid': string;
|
|
143
|
-
diamond: string;
|
|
144
|
-
pentagon: string;
|
|
145
|
-
hexagon: string;
|
|
146
|
-
heptagon: string;
|
|
147
|
-
octagon: string;
|
|
148
|
-
decagon: string;
|
|
149
|
-
dodecagon: string;
|
|
150
|
-
pie: string;
|
|
151
|
-
chord: string;
|
|
152
|
-
teardrop: string;
|
|
153
|
-
frame: string;
|
|
154
|
-
'half-frame': string;
|
|
155
|
-
corner: string;
|
|
156
|
-
'diag-stripe': string;
|
|
157
|
-
plus: string;
|
|
158
|
-
plaque: string;
|
|
159
|
-
can: string;
|
|
160
|
-
cube: string;
|
|
161
|
-
bevel: string;
|
|
162
|
-
donut: string;
|
|
163
|
-
'no-smoking': string;
|
|
164
|
-
'block-arc': string;
|
|
165
|
-
'folder-corner': string;
|
|
166
|
-
'smiley-face': string;
|
|
167
|
-
heart: string;
|
|
168
|
-
'lightning-bolt': string;
|
|
169
|
-
sun: string;
|
|
170
|
-
moon: string;
|
|
171
|
-
cloud: string;
|
|
172
|
-
arc: string;
|
|
173
|
-
'bracket-pair': string;
|
|
174
|
-
'brace-pair': string;
|
|
175
|
-
'left-bracket': string;
|
|
176
|
-
'right-bracket': string;
|
|
177
|
-
'left-brace': string;
|
|
178
|
-
'right-brace': string;
|
|
179
|
-
'right-arrow': string;
|
|
180
|
-
'left-arrow': string;
|
|
181
|
-
'up-arrow': string;
|
|
182
|
-
'down-arrow': string;
|
|
183
|
-
'left-right-arrow': string;
|
|
184
|
-
'up-down-arrow': string;
|
|
185
|
-
'quad-arrow': string;
|
|
186
|
-
'left-right-up-arrow': string;
|
|
187
|
-
'bent-arrow': string;
|
|
188
|
-
'uturn-arrow': string;
|
|
189
|
-
'left-up-arrow': string;
|
|
190
|
-
'bent-up-arrow': string;
|
|
191
|
-
'curved-right-arrow': string;
|
|
192
|
-
'curved-left-arrow': string;
|
|
193
|
-
'curved-up-arrow': string;
|
|
194
|
-
'curved-down-arrow': string;
|
|
195
|
-
'striped-right-arrow': string;
|
|
196
|
-
'notched-right-arrow': string;
|
|
197
|
-
'home-plate': string;
|
|
198
|
-
chevron: string;
|
|
199
|
-
'right-arrow-callout': string;
|
|
200
|
-
'down-arrow-callout': string;
|
|
201
|
-
'left-arrow-callout': string;
|
|
202
|
-
'up-arrow-callout': string;
|
|
203
|
-
'left-right-arrow-callout': string;
|
|
204
|
-
'quad-arrow-callout': string;
|
|
205
|
-
'circular-arrow': string;
|
|
206
|
-
'math-plus': string;
|
|
207
|
-
'math-minus': string;
|
|
208
|
-
'math-multiply': string;
|
|
209
|
-
'math-divide': string;
|
|
210
|
-
'math-equal': string;
|
|
211
|
-
'math-not-equal': string;
|
|
212
|
-
'flow-chart-process': string;
|
|
213
|
-
'flow-chart-alternate-process': string;
|
|
214
|
-
'flow-chart-decision': string;
|
|
215
|
-
'flow-chart-input-output': string;
|
|
216
|
-
'flow-chart-predefined-process': string;
|
|
217
|
-
'flow-chart-internal-storage': string;
|
|
218
|
-
'flow-chart-document': string;
|
|
219
|
-
'flow-chart-multidocument': string;
|
|
220
|
-
'flow-chart-terminator': string;
|
|
221
|
-
'flow-chart-preparation': string;
|
|
222
|
-
'flow-chart-manual-input': string;
|
|
223
|
-
'flow-chart-manual-operation': string;
|
|
224
|
-
'flow-chart-connector': string;
|
|
225
|
-
'flow-chart-offpage-connector': string;
|
|
226
|
-
'flow-chart-punched-card': string;
|
|
227
|
-
'flow-chart-punched-tape': string;
|
|
228
|
-
'flow-chart-summing-junction': string;
|
|
229
|
-
'flow-chart-or': string;
|
|
230
|
-
'flow-chart-collate': string;
|
|
231
|
-
'flow-chart-sort': string;
|
|
232
|
-
'flow-chart-extract': string;
|
|
233
|
-
'flow-chart-merge': string;
|
|
234
|
-
'flow-chart-online-storage': string;
|
|
235
|
-
'flow-chart-delay': string;
|
|
236
|
-
'flow-chart-magnetic-tape': string;
|
|
237
|
-
'flow-chart-magnetic-disk': string;
|
|
238
|
-
'flow-chart-magnetic-drum': string;
|
|
239
|
-
'flow-chart-display': string;
|
|
240
|
-
'irregular-seal1': string;
|
|
241
|
-
'irregular-seal2': string;
|
|
242
|
-
star4: string;
|
|
243
|
-
star5: string;
|
|
244
|
-
star6: string;
|
|
245
|
-
star7: string;
|
|
246
|
-
star8: string;
|
|
247
|
-
star10: string;
|
|
248
|
-
star12: string;
|
|
249
|
-
star16: string;
|
|
250
|
-
star24: string;
|
|
251
|
-
star32: string;
|
|
252
|
-
ribbon2: string;
|
|
253
|
-
ribbon: string;
|
|
254
|
-
'ellipse-ribbon2': string;
|
|
255
|
-
'ellipse-ribbon': string;
|
|
256
|
-
'vertical-scroll': string;
|
|
257
|
-
'horizontal-scroll': string;
|
|
258
|
-
wave: string;
|
|
259
|
-
'double-wave': string;
|
|
260
|
-
'wedge-rect-callout': string;
|
|
261
|
-
'wedge-round-rect-callout': string;
|
|
262
|
-
'wedge-ellipse-callout': string;
|
|
263
|
-
'cloud-callout': string;
|
|
264
|
-
'border-callout1': string;
|
|
265
|
-
'border-callout2': string;
|
|
266
|
-
'border-callout3': string;
|
|
267
|
-
'accent-callout1': string;
|
|
268
|
-
'accent-callout2': string;
|
|
269
|
-
'accent-callout3': string;
|
|
270
|
-
callout1: string;
|
|
271
|
-
callout2: string;
|
|
272
|
-
callout3: string;
|
|
273
|
-
'accent-border-callout1': string;
|
|
274
|
-
'accent-border-callout2': string;
|
|
275
|
-
'accent-border-callout3': string;
|
|
276
|
-
'left-circular-arrow': string;
|
|
277
|
-
'left-right-circular-arrow': string;
|
|
278
|
-
'swoosh-arrow': string;
|
|
279
|
-
'left-right-ribbon': string;
|
|
280
|
-
'pie-wedge': string;
|
|
281
|
-
funnel: string;
|
|
282
|
-
gear6: string;
|
|
283
|
-
gear9: string;
|
|
284
|
-
'corner-tabs': string;
|
|
285
|
-
'action-button-back-previous': string;
|
|
286
|
-
'action-button-forward-next': string;
|
|
287
|
-
'action-button-beginning': string;
|
|
288
|
-
'action-button-end': string;
|
|
289
|
-
'action-button-home': string;
|
|
290
|
-
'action-button-information': string;
|
|
291
|
-
'action-button-return': string;
|
|
292
|
-
'action-button-movie': string;
|
|
293
|
-
'action-button-document': string;
|
|
294
|
-
'action-button-sound': string;
|
|
295
|
-
'action-button-help': string;
|
|
296
|
-
'action-button-blank': string;
|
|
297
|
-
'chart-plus': string;
|
|
298
|
-
'chart-star': string;
|
|
299
|
-
'chart-x': string;
|
|
300
|
-
'flow-chart-offline-storage': string;
|
|
301
|
-
'line-inv': string;
|
|
302
|
-
'plaque-tabs': string;
|
|
303
|
-
'square-tabs': string;
|
|
304
|
-
'up-down-arrow-callout': string;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
16
|
toolbar: {
|
|
308
17
|
alignLeft: string;
|
|
309
18
|
alignCenter: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IDocShapeDrawingParam } from '@univerjs-pro/docs-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<IDocShapeDrawingParam, 'unitId' | 'subUnitId' | 'drawingId'>, image: HTMLImageElement | undefined): void;
|
|
7
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { IMenuInsertShapeCommandParams } from '../commands/command/menu-insert-shape.command';
|
|
2
|
-
import { IMAGE_CLIP_SHAPE_PICKER_COMPONENT } from '@univerjs/drawing-ui';
|
|
3
2
|
export declare const SHAPE_PICKER_COMPONENT = "doc.shape.picker.component";
|
|
4
|
-
export { IMAGE_CLIP_SHAPE_PICKER_COMPONENT };
|
|
5
3
|
export declare function ImageClipShapePicker(): import("react").JSX.Element;
|
|
6
4
|
export declare function ShapePicker({ paragraphMenuPlacement }: {
|
|
7
5
|
paragraphMenuPlacement?: IMenuInsertShapeCommandParams['paragraphMenuPlacement'];
|