@univerjs-pro/docs-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 -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 -23
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1b5584=_0x3e58;function _0x3521(){const _0x45a901=['流程圖:離頁連接符','箭頭:上弧形','逆時針\x2090\x20度旋轉','標註:左箭頭','結束按鈕','虛線-點','無顏色','圓:空心','十二邊形','流程圖:合併','矩形:折角','插入形狀','流程圖:內部貯存','半閉框','對話氣泡:圓角矩形','圖案填充','3GdCrMw','6齒齒輪','星形:十六角','標註:下箭頭','矩形:剪去對角','箭頭:左','流程圖:手動操作','文字顏色','流程圖:匯總連接','帶形:前凸','10UAVSFy','左右帶形','箭頭:上下','標註:彎曲線形(帶邊框和強調線)','八邊形','標註:雙彎曲線形(帶邊框和強調線)','星形:三十二角','十字形','流程圖:終止','矩形:棱台','流程圖:資料帶','信息按鈕','空心弧','流程圖:準備','4778523zjhlBj','流程圖:離線存儲','折線:箭頭','主頁按鈕','標註:雙彎曲線形','將圖片平鋪為紋理','起點箭頭大小','矩形:單圓角','電影按鈕','牌匾標籤','箭頭:十字','曲線:箭頭','雙箭頭折線','缺角矩形','矩形:剪去頂角','圖表X','箭頭:圓角右','標註:彎曲線形','與文字排列','1061312ilvssk','線反向','流程圖:磁盤','隨形狀旋轉','頂部對齊','箭頭:右弧形','左大括號','文字在後','右中括號','平行四邊形','雙大括號','橫向文字方塊','流程圖','9dNExQB','標註:線形(帶邊框和強調線)','流程圖:數據','流程圖:可選過程','帶形:前凸彎','起點箭頭類型','透明度','文檔按鈕','星形:八角','非等腰梯形','左上對齊','流程圖:卡片','基本形狀','卷形:垂直','9齒齒輪','長虛線-點','星形:十角','開始按鈕','左中括號','箭頭:直角上','4296589PzZXBQ','流程圖:手動輸入','立方體','左對齊','端點類型','打開形狀面板','矩形:一個圓頂角,剪去另一個頂角','無線條','圖形樣式','長虛線','箭頭:丁字','兩端對齊','卷形:水平','矩形:對角圓角','流程圖:排序','前進/下一個按鈕','對話氣泡:圓形','幫助按鈕','新月形','彎曲箭頭','文字在前','標註:線形(無邊框)','圓柱形','右對齊','箭頭:環形','終點箭頭大小','終點箭頭類型','直角三角形','居中對齊','雙括號','標註:線形(帶強調線)','重置顏色','3713344RXdRpG','流程圖:直接訪問存儲器','偏移量\x20X','箭頭:左右','等腰三角形','閃電形','文字背景色','圖表星號','標註:雙彎曲線形(無邊框)','流程圖:決策','流程圖:存儲數據','圖片來源','爆炸形:8pt','隱形箭頭','箭頭:上','左右圓形箭頭','對齊方式','矩形:圓頂角','菱形箭頭','365964VjyOid','切換文本竖排','星與旗幟','雙箭頭曲線','流程圖:接點','公式形狀','流程圖:過程','淚滴形','禁止符','流程圖:順序訪問存儲器','標註:右箭頭','置中對齊','五邊形','35OptCFQ','箭頭總匯','帶形:上凸','箭頭:右','隱藏形狀面板','星形:五角','聲音按鈕','氣泡:雲','上下箭頭標註','底部對齊','縮放\x20Y','返回/上一個按鈕','雙波形','縱向文字方塊','不完整圓','54050ikIEdi','標註:十字箭頭','返回按鈕','太陽形','流程圖:顯示','標註:彎曲線形(無邊框)','刪除線','雙箭頭直線','對話氣泡:矩形','七邊形','裁切為形狀','縮放\x20X','流程圖:延期','星形:十二角','圓角矩形','1398268gHvpMq','長虛線-點-點','流程圖:或者','格式化形狀','箭頭:左弧形','垂直居中'];_0x3521=function(){return _0x45a901;};return _0x3521();}function _0x3e58(_0x4cf8a6,_0x5bd5e3){_0x4cf8a6=_0x4cf8a6-0x1b1;const _0x352100=_0x3521();let _0x3e58af=_0x352100[_0x4cf8a6];return _0x3e58af;}(function(_0x27aea4,_0x235793){const _0x32b36a=_0x3e58,_0x4abab1=_0x27aea4();while(!![]){try{const _0x357d16=parseInt(_0x32b36a(0x21d))/0x1*(-parseInt(_0x32b36a(0x1c0))/0x2)+-parseInt(_0x32b36a(0x1e5))/0x3*(-parseInt(_0x32b36a(0x1cf))/0x4)+parseInt(_0x32b36a(0x1b1))/0x5*(-parseInt(_0x32b36a(0x264))/0x6)+parseInt(_0x32b36a(0x210))/0x7+-parseInt(_0x32b36a(0x251))/0x8+parseInt(_0x32b36a(0x1fd))/0x9*(parseInt(_0x32b36a(0x1ef))/0xa)+parseInt(_0x32b36a(0x231))/0xb;if(_0x357d16===_0x235793)break;else _0x4abab1['push'](_0x4abab1['shift']());}catch(_0x2a9edb){_0x4abab1['push'](_0x4abab1['shift']());}}}(_0x3521,0x4667a));const e={'docs-shape-ui':{'title':'形狀','insertShape':_0x1b5584(0x1e0),'openPanel':_0x1b5584(0x236),'deleteShape':'刪除形狀','hidePanel':_0x1b5584(0x1b5),'formatShape':_0x1b5584(0x1d2),'shapeStyle':_0x1b5584(0x239),'shapePosition':'圖形位置','toggleFlipH':'切換水平翻轉','toggleFlipV':'切換垂直翻轉','rotateRight90':'順時針\x2090\x20度旋轉','rotateLeft90':_0x1b5584(0x1d7),'toggleTextVertical':_0x1b5584(0x265),'fill':{'title':'填充','noFill':_0x1b5584(0x1db),'solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','patternFill':_0x1b5584(0x1e4),'color':'顏色','transparency':_0x1b5584(0x223),'picture':{'source':_0x1b5584(0x25c),'insert':'插入...','tileAsTexture':_0x1b5584(0x202),'offsetX':_0x1b5584(0x253),'offsetY':'偏移量\x20Y','scaleX':_0x1b5584(0x1cb),'scaleY':_0x1b5584(0x1bb),'alignment':_0x1b5584(0x261),'rotateWithShape':_0x1b5584(0x213),'align':{'tl':_0x1b5584(0x227),'t':_0x1b5584(0x214),'tr':'右上對齊','l':_0x1b5584(0x234),'ctr':_0x1b5584(0x26f),'r':_0x1b5584(0x248),'bl':'左下對齊','b':'底部對齊','br':'右下對齊'}}},'line':{'title':'線條','noLine':_0x1b5584(0x238),'solidLine':'實線','gradientLine':'漸層線','color':'顏色','transparency':_0x1b5584(0x223),'width':'寬度','dashType':{'title':'虛線類型','solid':'實線','roundDot':'圓點','squareDot':'方點','dash':'虛線','dashDot':_0x1b5584(0x1da),'longDash':_0x1b5584(0x23a),'longDashDot':_0x1b5584(0x22c),'longDashDotDot':_0x1b5584(0x1d0)},'capType':{'title':_0x1b5584(0x235),'flat':'平面','round':'圓形','square':'方形'},'joinType':{'title':'聯接類型','miter':'斜接','round':'圓形','bevel':'斜面'},'beginArrowType':_0x1b5584(0x222),'beginArrowSize':_0x1b5584(0x203),'endArrowType':_0x1b5584(0x24b),'endArrowSize':_0x1b5584(0x24a),'arrowType':{'none':'無','arrow':'箭頭','openArrow':'開放箭頭','stealthArrow':_0x1b5584(0x25e),'diamondArrow':_0x1b5584(0x263),'ovalArrow':'橢圓箭頭'},'arrowSize':{'small':'小','medium':'中','large':'大'},'sketchType':{'title':'草繪樣式','none':'無','curved':'彎曲','freehand':'手繪','handDrawn':'潦草'}},'shape':{'group':{'line':'線條','rectangle':'矩形','basicShape':_0x1b5584(0x229),'blockArrow':_0x1b5584(0x1b2),'equationShape':_0x1b5584(0x269),'flowchart':_0x1b5584(0x21c),'starAndBanner':_0x1b5584(0x266),'callout':'標註','other':'其他'},'type':{'line':'直線','straight-connector1':'直線箭頭','straight-connector2':_0x1b5584(0x1c7),'bent-connector3':'折線','bent-connector3-arrow1':_0x1b5584(0x1ff),'bent-connector3-arrow2':_0x1b5584(0x209),'curved-connector3':'曲線','curved-connector3-arrow1':_0x1b5584(0x208),'curved-connector3-arrow2':_0x1b5584(0x267),'rect':'矩形','round-rect':_0x1b5584(0x1ce),'snip1-rect':'剪去單角矩形','snip2-same-rect':_0x1b5584(0x20b),'snip2-diag-rect':_0x1b5584(0x1e9),'snip-round-rect':_0x1b5584(0x237),'round1-rect':_0x1b5584(0x204),'round2-same-rect':_0x1b5584(0x262),'round2-diag-rect':_0x1b5584(0x23e),'rect-textbox-horizontal':_0x1b5584(0x21b),'rect-textbox-vertical':_0x1b5584(0x1be),'ellipse':'橢圓','triangle':_0x1b5584(0x255),'rt-triangle':_0x1b5584(0x24c),'parallelogram':_0x1b5584(0x219),'trapezoid':'梯形','non-isosceles-trapezoid':_0x1b5584(0x226),'diamond':'菱形','pentagon':'五邊形','hexagon':'六邊形','heptagon':_0x1b5584(0x1c9),'octagon':_0x1b5584(0x1f3),'decagon':'十邊形','dodecagon':_0x1b5584(0x1dd),'pie':_0x1b5584(0x1bf),'chord':'弦形','teardrop':_0x1b5584(0x26b),'frame':'圖文框','half-frame':_0x1b5584(0x1e2),'corner':'L形','diag-stripe':'斜紋','plus':_0x1b5584(0x1f6),'plaque':_0x1b5584(0x20a),'can':_0x1b5584(0x247),'cube':_0x1b5584(0x233),'bevel':_0x1b5584(0x1f8),'donut':_0x1b5584(0x1dc),'no-smoking':_0x1b5584(0x26c),'block-arc':_0x1b5584(0x1fb),'folder-corner':_0x1b5584(0x1df),'smiley-face':'笑臉','heart':'心形','lightning-bolt':_0x1b5584(0x256),'sun':_0x1b5584(0x1c3),'moon':_0x1b5584(0x243),'cloud':'雲形','arc':'弧形','bracket-pair':_0x1b5584(0x24e),'brace-pair':_0x1b5584(0x21a),'left-bracket':_0x1b5584(0x22f),'right-bracket':_0x1b5584(0x218),'left-brace':_0x1b5584(0x216),'right-brace':'右大括號','right-arrow':_0x1b5584(0x1b4),'left-arrow':_0x1b5584(0x1ea),'up-arrow':_0x1b5584(0x25f),'down-arrow':'箭頭:下','left-right-arrow':_0x1b5584(0x254),'up-down-arrow':_0x1b5584(0x1f1),'quad-arrow':_0x1b5584(0x207),'left-right-up-arrow':_0x1b5584(0x23b),'bent-arrow':_0x1b5584(0x20d),'uturn-arrow':'箭頭:手杖形','left-up-arrow':'箭頭:直角雙向','bent-up-arrow':_0x1b5584(0x230),'curved-right-arrow':_0x1b5584(0x215),'curved-left-arrow':_0x1b5584(0x1d3),'curved-up-arrow':_0x1b5584(0x1d6),'curved-down-arrow':'箭頭:下弧形','striped-right-arrow':'箭頭:虛尾','notched-right-arrow':'箭頭:燕尾形','home-plate':_0x1b5584(0x270),'chevron':'箭頭:V型','right-arrow-callout':_0x1b5584(0x26e),'down-arrow-callout':_0x1b5584(0x1e8),'left-arrow-callout':_0x1b5584(0x1d8),'up-arrow-callout':'標註:上箭頭','left-right-arrow-callout':'標註:左右箭頭','quad-arrow-callout':_0x1b5584(0x1c1),'circular-arrow':_0x1b5584(0x249),'math-plus':'加號','math-minus':'減號','math-multiply':'乘號','math-divide':'除號','math-equal':'等號','math-not-equal':'不等號','flow-chart-process':_0x1b5584(0x26a),'flow-chart-alternate-process':_0x1b5584(0x220),'flow-chart-decision':_0x1b5584(0x25a),'flow-chart-input-output':_0x1b5584(0x21f),'flow-chart-predefined-process':'流程圖:預定義過程','flow-chart-internal-storage':_0x1b5584(0x1e1),'flow-chart-document':'流程圖:文檔','flow-chart-multidocument':'流程圖:多文檔','flow-chart-terminator':_0x1b5584(0x1f7),'flow-chart-preparation':_0x1b5584(0x1fc),'flow-chart-manual-input':_0x1b5584(0x232),'flow-chart-manual-operation':_0x1b5584(0x1eb),'flow-chart-connector':_0x1b5584(0x268),'flow-chart-offpage-connector':_0x1b5584(0x1d5),'flow-chart-punched-card':_0x1b5584(0x228),'flow-chart-punched-tape':_0x1b5584(0x1f9),'flow-chart-summing-junction':_0x1b5584(0x1ed),'flow-chart-or':_0x1b5584(0x1d1),'flow-chart-collate':'流程圖:對照','flow-chart-sort':_0x1b5584(0x23f),'flow-chart-extract':'流程圖:摘錄','flow-chart-merge':_0x1b5584(0x1de),'flow-chart-online-storage':_0x1b5584(0x25b),'flow-chart-delay':_0x1b5584(0x1cc),'flow-chart-magnetic-tape':_0x1b5584(0x26d),'flow-chart-magnetic-disk':_0x1b5584(0x212),'flow-chart-magnetic-drum':_0x1b5584(0x252),'flow-chart-display':_0x1b5584(0x1c4),'irregular-seal1':_0x1b5584(0x25d),'irregular-seal2':'爆炸形:14pt','star4':'星形:四角','star5':_0x1b5584(0x1b6),'star6':'星形:六角','star7':'星形:七角','star8':_0x1b5584(0x225),'star10':_0x1b5584(0x22d),'star12':_0x1b5584(0x1cd),'star16':_0x1b5584(0x1e7),'star24':'星形:二十四角','star32':_0x1b5584(0x1f5),'ribbon2':_0x1b5584(0x1b3),'ribbon':_0x1b5584(0x1ee),'ellipse-ribbon2':'帶形:上凸彎','ellipse-ribbon':_0x1b5584(0x221),'vertical-scroll':_0x1b5584(0x22a),'horizontal-scroll':_0x1b5584(0x23d),'wave':'波形','double-wave':_0x1b5584(0x1bd),'wedge-rect-callout':_0x1b5584(0x1c8),'wedge-round-rect-callout':_0x1b5584(0x1e3),'wedge-ellipse-callout':_0x1b5584(0x241),'cloud-callout':_0x1b5584(0x1b8),'border-callout1':'標註:線形','border-callout2':_0x1b5584(0x20e),'border-callout3':_0x1b5584(0x201),'accent-callout1':_0x1b5584(0x24f),'accent-callout2':'標註:彎曲線形(帶強調線)','accent-callout3':'標註:雙彎曲線形(帶強調線)','callout1':_0x1b5584(0x246),'callout2':_0x1b5584(0x1c5),'callout3':_0x1b5584(0x259),'accent-border-callout1':_0x1b5584(0x21e),'accent-border-callout2':_0x1b5584(0x1f2),'accent-border-callout3':_0x1b5584(0x1f4),'left-circular-arrow':'左圓形箭頭','left-right-circular-arrow':_0x1b5584(0x260),'swoosh-arrow':_0x1b5584(0x244),'left-right-ribbon':_0x1b5584(0x1f0),'pie-wedge':'餅形楔','funnel':'漏斗','gear6':_0x1b5584(0x1e6),'gear9':_0x1b5584(0x22b),'corner-tabs':'角標','action-button-back-previous':_0x1b5584(0x1bc),'action-button-forward-next':_0x1b5584(0x240),'action-button-beginning':_0x1b5584(0x22e),'action-button-end':_0x1b5584(0x1d9),'action-button-home':_0x1b5584(0x200),'action-button-information':_0x1b5584(0x1fa),'action-button-return':_0x1b5584(0x1c2),'action-button-movie':_0x1b5584(0x205),'action-button-document':_0x1b5584(0x224),'action-button-sound':_0x1b5584(0x1b7),'action-button-help':_0x1b5584(0x242),'action-button-blank':'空白按鈕','chart-plus':'圖表加號','chart-star':_0x1b5584(0x258),'chart-x':_0x1b5584(0x20c),'flow-chart-offline-storage':_0x1b5584(0x1fe),'line-inv':_0x1b5584(0x211),'plaque-tabs':_0x1b5584(0x206),'square-tabs':'方形標籤','up-down-arrow-callout':_0x1b5584(0x1b9)}},'toolbar':{'alignLeft':_0x1b5584(0x234),'alignCenter':_0x1b5584(0x24d),'alignRight':_0x1b5584(0x248),'alignJustify':_0x1b5584(0x23c),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x1b5584(0x1c6),'textColor':_0x1b5584(0x1ec),'fillColor':_0x1b5584(0x257),'resetColor':_0x1b5584(0x250)},'align':{'top':'頂部對齊','middle':_0x1b5584(0x1d4),'bottom':_0x1b5584(0x1ba)},'textWrap':{'inline':_0x1b5584(0x20f),'square':'矩形','topAndBottom':'上及下','behindText':_0x1b5584(0x245),'inFrontText':_0x1b5584(0x217)},'crop':{'shape':_0x1b5584(0x1ca)}}};export{e as default};
|
|
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'];
|