@univerjs-pro/sheets-shape-ui 1.0.0-alpha.2 → 1.0.0-alpha.3

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.
Files changed (103) hide show
  1. package/README.md +5 -3
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +21 -0
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/command-util.d.ts +9 -3
  64. package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
  65. package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
  66. package/lib/types/commands/operations/open-object-list-panel.operation.d.ts +5 -0
  67. package/lib/types/const.d.ts +2 -1
  68. package/lib/types/controllers/components.controller.d.ts +4 -2
  69. package/lib/types/controllers/shape-update.controller.d.ts +1 -0
  70. package/lib/types/controllers/sheet-shape-adjust.controller.d.ts +3 -6
  71. package/lib/types/controllers/sheet-shape-printing.controller.d.ts +12 -0
  72. package/lib/types/controllers/sheet-shape-render.controller.d.ts +8 -3
  73. package/lib/types/index.d.ts +1 -7
  74. package/lib/types/locale/en-US.d.ts +18 -0
  75. package/lib/types/services/shape-text-editing.service.d.ts +8 -0
  76. package/lib/types/utils/shape-text-document.d.ts +1 -11
  77. package/lib/types/view-model/drawing-shape.d.ts +6 -2
  78. package/lib/types/view-model/shape-data-model.d.ts +7 -5
  79. package/lib/types/views/ShapePicker.d.ts +4 -0
  80. package/lib/types/views/object-list-panel/SheetDrawingObjectListPanel.d.ts +1 -0
  81. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -2
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/package.json +20 -19
  103. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
@@ -1 +1 @@
1
- (function(_0x24a2a3,_0xd41e90){var _0x2a130d=_0x43b2,_0xf61bc2=_0x24a2a3();while(!![]){try{var _0x13dab5=parseInt(_0x2a130d(0x162))/0x1+parseInt(_0x2a130d(0x154))/0x2*(-parseInt(_0x2a130d(0x165))/0x3)+parseInt(_0x2a130d(0x160))/0x4*(parseInt(_0x2a130d(0x161))/0x5)+parseInt(_0x2a130d(0x169))/0x6+parseInt(_0x2a130d(0x166))/0x7*(parseInt(_0x2a130d(0x159))/0x8)+parseInt(_0x2a130d(0x14b))/0x9*(parseInt(_0x2a130d(0x149))/0xa)+-parseInt(_0x2a130d(0x146))/0xb;if(_0x13dab5===_0xd41e90)break;else _0xf61bc2['push'](_0xf61bc2['shift']());}catch(_0x5411d8){_0xf61bc2['push'](_0xf61bc2['shift']());}}}(_0x34ce,0x8951c),function(_0x67ab04,_0x28f0b2){var _0x4da1b4=_0x43b2;typeof exports==_0x4da1b4(0x167)&&typeof module<'u'?module[_0x4da1b4(0x150)]=_0x28f0b2():typeof define==_0x4da1b4(0x147)&&define[_0x4da1b4(0x151)]?define([],_0x28f0b2):(_0x67ab04=typeof globalThis<'u'?globalThis:_0x67ab04||self,_0x67ab04[_0x4da1b4(0x164)]=_0x28f0b2());}(this,function(){var _0x32cf7f=_0x43b2;return{'sheets-shape-ui':{'align':{'top':'顶部对齐','middle':_0x32cf7f(0x158),'bottom':_0x32cf7f(0x15a),'left':_0x32cf7f(0x168),'center':_0x32cf7f(0x16b),'right':'右对齐'},'toolbar':{'verticalAlignMode':{'main':_0x32cf7f(0x14d)},'horizontalAlignMode':{'main':_0x32cf7f(0x16a)},'fillColor':{'main':_0x32cf7f(0x15e)},'fontSize':'字号','fontSizeIncrease':_0x32cf7f(0x148),'fontSizeDecrease':_0x32cf7f(0x153),'alignLeft':_0x32cf7f(0x168),'alignCenter':'居中对齐','alignRight':_0x32cf7f(0x157),'alignJustify':_0x32cf7f(0x15f),'bold':'加粗','italic':'斜体','underline':_0x32cf7f(0x14a),'strikethrough':_0x32cf7f(0x14f),'textColor':'文字颜色','textBackgroundColor':'文字背景颜色','resetColor':'重置颜色'},'imagePanel':{'crop':{'shape':_0x32cf7f(0x155)}},'permission':{'editErr':'该范围已被保护,目前无编辑权限。如需编辑,请联系创建者。'},'title':'形状','insertShape':_0x32cf7f(0x14c),'openPanel':_0x32cf7f(0x15c),'deleteShape':_0x32cf7f(0x156),'hidePanel':'隐藏形状面板','formatShape':'格式化形状','shapeStyle':_0x32cf7f(0x15d),'shapePosition':_0x32cf7f(0x14e),'toggleFlipH':_0x32cf7f(0x15b),'toggleFlipV':'切换垂直翻转','rotateRight90':_0x32cf7f(0x152),'rotateLeft90':_0x32cf7f(0x163),'toggleTextVertical':'切换文本竖排'}};}));function _0x43b2(_0x4f0f29,_0x311a7d){_0x4f0f29=_0x4f0f29-0x146;var _0x34ce20=_0x34ce();var _0x43b2f6=_0x34ce20[_0x4f0f29];return _0x43b2f6;}function _0x34ce(){var _0x30af2f=['插入形状','垂直对齐','形状位置','删除线','exports','amd','顺时针90度旋转','减小字号','8LvJvUi','裁剪为形状','删除形状','右对齐','居中对齐','136DADIIn','底部对齐','切换水平翻转','打开形状面板','形状样式','单元格颜色','两端对齐','108APBGJo','71710sDVcfr','787219GyjOue','逆时针90度旋转','UniverProSheetsShapeUiZhCN','471219Pbgpsb','346661aUJhWZ','object','左对齐','3355080TwByab','水平对齐','中间对齐','20061316GKQznU','function','增大字号','24120WpRfWi','下划线','1638wFYRwi'];_0x34ce=function(){return _0x30af2f;};return _0x34ce();}
1
+ function _0x5aee(_0x230981,_0x31f749){_0x230981=_0x230981-0x183;var _0x2beacc=_0x2bea();var _0x5aee0c=_0x2beacc[_0x230981];return _0x5aee0c;}(function(_0x3fb140,_0x3f5304){var _0xb90add=_0x5aee,_0x1d26f7=_0x3fb140();while(!![]){try{var _0x316c6d=parseInt(_0xb90add(0x188))/0x1+parseInt(_0xb90add(0x19a))/0x2*(parseInt(_0xb90add(0x1ad))/0x3)+-parseInt(_0xb90add(0x19f))/0x4*(-parseInt(_0xb90add(0x18f))/0x5)+parseInt(_0xb90add(0x1a5))/0x6+parseInt(_0xb90add(0x1ac))/0x7+-parseInt(_0xb90add(0x19b))/0x8+-parseInt(_0xb90add(0x18e))/0x9;if(_0x316c6d===_0x3f5304)break;else _0x1d26f7['push'](_0x1d26f7['shift']());}catch(_0x36a76c){_0x1d26f7['push'](_0x1d26f7['shift']());}}}(_0x2bea,0xbf089),function(_0x58d252,_0x104a8f){var _0x4426a7=_0x5aee;typeof exports==_0x4426a7(0x1a2)&&typeof module<'u'?module[_0x4426a7(0x191)]=_0x104a8f():typeof define=='function'&&define['amd']?define([],_0x104a8f):(_0x58d252=typeof globalThis<'u'?globalThis:_0x58d252||self,_0x58d252[_0x4426a7(0x190)]=_0x104a8f());}(this,function(){var _0x1318d8=_0x5aee;return{'sheets-shape-ui':{'align':{'top':_0x1318d8(0x187),'middle':_0x1318d8(0x1a4),'bottom':_0x1318d8(0x18b),'left':_0x1318d8(0x1a1),'center':'中间对齐','right':_0x1318d8(0x1ab)},'toolbar':{'verticalAlignMode':{'main':_0x1318d8(0x19c)},'horizontalAlignMode':{'main':_0x1318d8(0x18a)},'fillColor':{'main':'单元格颜色'},'fontSize':'字号','fontSizeIncrease':'增大字号','fontSizeDecrease':_0x1318d8(0x1aa),'alignLeft':'左对齐','alignCenter':_0x1318d8(0x1a4),'alignRight':_0x1318d8(0x1ab),'alignJustify':_0x1318d8(0x184),'bold':'加粗','italic':'斜体','underline':_0x1318d8(0x1a0),'strikethrough':_0x1318d8(0x195),'textColor':_0x1318d8(0x198),'textBackgroundColor':_0x1318d8(0x183),'resetColor':_0x1318d8(0x19e)},'imagePanel':{'crop':{'shape':_0x1318d8(0x197)}},'permission':{'editErr':'该范围已被保护,目前无编辑权限。如需编辑,请联系创建者。'},'title':'形状','insertShape':_0x1318d8(0x1ae),'openPanel':_0x1318d8(0x193),'deleteShape':_0x1318d8(0x199),'hidePanel':_0x1318d8(0x185),'formatShape':_0x1318d8(0x1a3),'shapeStyle':_0x1318d8(0x189),'shapePosition':_0x1318d8(0x1a6),'toggleFlipH':_0x1318d8(0x1a8),'toggleFlipV':'切换垂直翻转','rotateRight90':_0x1318d8(0x1a9),'rotateLeft90':'逆时针90度旋转','toggleTextVertical':'切换文本竖排','objectListPanel':{'title':'图层','open':_0x1318d8(0x194),'empty':'暂无对象','showAll':_0x1318d8(0x18d),'hideAll':_0x1318d8(0x186),'show':'显示','hide':'隐藏','moveForward':_0x1318d8(0x192),'moveBackward':_0x1318d8(0x19d),'close':'关闭','name':'名称','nameInput':_0x1318d8(0x18c),'description':'描述','descriptionPlaceholder':_0x1318d8(0x196),'details':'详情','noSelection':_0x1318d8(0x1a7)}}};}));function _0x2bea(){var _0x4a9772=['下移一层','重置颜色','1091692WDfVjQ','下划线','左对齐','object','格式化形状','居中对齐','3755712pVFCty','形状位置','选择对象以编辑详情','切换水平翻转','顺时针90度旋转','减小字号','右对齐','5514628uctNQC','27tyFRWK','插入形状','文字背景颜色','两端对齐','隐藏形状面板','全部隐藏','顶部对齐','1200085eEayTK','形状样式','水平对齐','底部对齐','对象名称','全部显示','10020168czeMxb','5rjEArP','UniverProSheetsShapeUiZhCN','exports','上移一层','打开形状面板','打开图层面板','删除线','添加描述','裁剪为形状','文字颜色','删除形状','60094MlUupW','10090896qSZfgH','垂直对齐'];_0x2bea=function(){return _0x4a9772;};return _0x2bea();}
@@ -1 +1 @@
1
- function _0x1f1d(_0x3d1ba8,_0x204445){_0x3d1ba8=_0x3d1ba8-0xa4;var _0x2018ba=_0x2018();var _0x1f1d82=_0x2018ba[_0x3d1ba8];return _0x1f1d82;}function _0x2018(){var _0xa45093=['740CZMCQq','25903iraVpK','打開形狀面板','3342353ylepGz','插入形狀','Text\x20color','填滿色彩','3127011iexEjS','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','UniverProSheetsShapeUiZhHK','隱藏形狀面板','靠右對齊','刪除形狀','靠上對齊','重置顏色','object','11lCnKlp','Justify','11226oznNAV','圖形樣式','function','逆時針\x2090\x20度旋轉','垂直對齊','放大字型','5318084kOuAJC','11348930cleOKs','裁切為形狀','水平對齊','Strikethrough','Align\x20Center','字型大小','順時針\x2090\x20度旋轉','切換垂直翻轉','靠左對齊','垂直置中','8869716ljavWr','Underline','24doCgqR','縮小字型','圖形位置','切換文本竖排','44rQlamb'];_0x2018=function(){return _0xa45093;};return _0x2018();}(function(_0x2c7fa4,_0x77130e){var _0x54a13e=_0x1f1d,_0x58a2be=_0x2c7fa4();while(!![]){try{var _0x52c505=parseInt(_0x54a13e(0xc2))/0x1*(-parseInt(_0x54a13e(0xc0))/0x2)+-parseInt(_0x54a13e(0xc8))/0x3+parseInt(_0x54a13e(0xaf))/0x4+parseInt(_0x54a13e(0xc1))/0x5*(-parseInt(_0x54a13e(0xa9))/0x6)+-parseInt(_0x54a13e(0xc4))/0x7*(-parseInt(_0x54a13e(0xbc))/0x8)+parseInt(_0x54a13e(0xba))/0x9+parseInt(_0x54a13e(0xb0))/0xa*(-parseInt(_0x54a13e(0xa7))/0xb);if(_0x52c505===_0x77130e)break;else _0x58a2be['push'](_0x58a2be['shift']());}catch(_0x53bfbe){_0x58a2be['push'](_0x58a2be['shift']());}}}(_0x2018,0xb0a16),function(_0x52f087,_0x39d1e3){var _0x4f1989=_0x1f1d;typeof exports==_0x4f1989(0xa6)&&typeof module<'u'?module['exports']=_0x39d1e3():typeof define==_0x4f1989(0xab)&&define['amd']?define([],_0x39d1e3):(_0x52f087=typeof globalThis<'u'?globalThis:_0x52f087||self,_0x52f087[_0x4f1989(0xca)]=_0x39d1e3());}(this,function(){var _0x21ee02=_0x1f1d;return{'sheets-shape-ui':{'align':{'top':_0x21ee02(0xa4),'middle':_0x21ee02(0xb9),'bottom':'靠下對齊','left':_0x21ee02(0xb8),'center':'置中','right':_0x21ee02(0xcc)},'toolbar':{'verticalAlignMode':{'main':_0x21ee02(0xad)},'horizontalAlignMode':{'main':_0x21ee02(0xb2)},'fillColor':{'main':_0x21ee02(0xc7)},'fontSize':_0x21ee02(0xb5),'fontSizeIncrease':_0x21ee02(0xae),'fontSizeDecrease':_0x21ee02(0xbd),'alignLeft':'Align\x20Left','alignCenter':_0x21ee02(0xb4),'alignRight':'Align\x20Right','alignJustify':_0x21ee02(0xa8),'bold':'Bold','italic':'Italic','underline':_0x21ee02(0xbb),'strikethrough':_0x21ee02(0xb3),'textColor':_0x21ee02(0xc6),'textBackgroundColor':'Text\x20Background\x20color','resetColor':_0x21ee02(0xa5)},'imagePanel':{'crop':{'shape':_0x21ee02(0xb1)}},'permission':{'editErr':_0x21ee02(0xc9)},'title':'形狀','insertShape':_0x21ee02(0xc5),'openPanel':_0x21ee02(0xc3),'deleteShape':_0x21ee02(0xcd),'hidePanel':_0x21ee02(0xcb),'formatShape':'格式化形狀','shapeStyle':_0x21ee02(0xaa),'shapePosition':_0x21ee02(0xbe),'toggleFlipH':'切換水平翻轉','toggleFlipV':_0x21ee02(0xb7),'rotateRight90':_0x21ee02(0xb6),'rotateLeft90':_0x21ee02(0xac),'toggleTextVertical':_0x21ee02(0xbf)}};}));
1
+ function _0x492b(_0x33c941,_0x3a8d8b){_0x33c941=_0x33c941-0x89;var _0x46d9f7=_0x46d9();var _0x492b82=_0x46d9f7[_0x33c941];return _0x492b82;}(function(_0x2dcf40,_0xf34e55){var _0x1d9b93=_0x492b,_0x23c003=_0x2dcf40();while(!![]){try{var _0x1d5a18=-parseInt(_0x1d9b93(0x8c))/0x1*(parseInt(_0x1d9b93(0xb6))/0x2)+parseInt(_0x1d9b93(0x8b))/0x3*(parseInt(_0x1d9b93(0xab))/0x4)+parseInt(_0x1d9b93(0xaa))/0x5+-parseInt(_0x1d9b93(0x9c))/0x6*(parseInt(_0x1d9b93(0xb5))/0x7)+parseInt(_0x1d9b93(0x8e))/0x8+-parseInt(_0x1d9b93(0xa6))/0x9*(parseInt(_0x1d9b93(0x91))/0xa)+-parseInt(_0x1d9b93(0x90))/0xb*(-parseInt(_0x1d9b93(0x9b))/0xc);if(_0x1d5a18===_0xf34e55)break;else _0x23c003['push'](_0x23c003['shift']());}catch(_0x423cb8){_0x23c003['push'](_0x23c003['shift']());}}}(_0x46d9,0x9d320),function(_0x12d413,_0x6f0240){var _0x5f5248=_0x492b;typeof exports==_0x5f5248(0xae)&&typeof module<'u'?module[_0x5f5248(0x94)]=_0x6f0240():typeof define==_0x5f5248(0x93)&&define[_0x5f5248(0xa4)]?define([],_0x6f0240):(_0x12d413=typeof globalThis<'u'?globalThis:_0x12d413||self,_0x12d413[_0x5f5248(0x9d)]=_0x6f0240());}(this,function(){var _0x427fdf=_0x492b;return{'sheets-shape-ui':{'align':{'top':_0x427fdf(0x89),'middle':_0x427fdf(0xa0),'bottom':_0x427fdf(0xac),'left':_0x427fdf(0x98),'center':'置中','right':_0x427fdf(0xa1)},'toolbar':{'verticalAlignMode':{'main':'垂直對齊'},'horizontalAlignMode':{'main':_0x427fdf(0xb3)},'fillColor':{'main':_0x427fdf(0x96)},'fontSize':'字型大小','fontSizeIncrease':'放大字型','fontSizeDecrease':_0x427fdf(0xa9),'alignLeft':_0x427fdf(0x9f),'alignCenter':_0x427fdf(0xad),'alignRight':'右對齊','alignJustify':_0x427fdf(0xaf),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':'刪除線','textColor':_0x427fdf(0xb4),'textBackgroundColor':_0x427fdf(0xa3),'resetColor':'重置顏色'},'imagePanel':{'crop':{'shape':_0x427fdf(0x8a)}},'permission':{'editErr':_0x427fdf(0x9e)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x427fdf(0xa7),'deleteShape':_0x427fdf(0xb1),'hidePanel':_0x427fdf(0x8d),'formatShape':'格式化形狀','shapeStyle':_0x427fdf(0x9a),'shapePosition':'圖形位置','toggleFlipH':_0x427fdf(0xb8),'toggleFlipV':_0x427fdf(0xb7),'rotateRight90':_0x427fdf(0x95),'rotateLeft90':_0x427fdf(0x97),'toggleTextVertical':'切換文本竖排','objectListPanel':{'title':'圖層','open':_0x427fdf(0xb0),'empty':_0x427fdf(0x92),'showAll':'全部顯示','hideAll':_0x427fdf(0xa2),'show':'顯示','hide':'隱藏','moveForward':_0x427fdf(0xa5),'moveBackward':_0x427fdf(0xa8),'close':'關閉','name':'名稱','nameInput':_0x427fdf(0x99),'description':'描述','descriptionPlaceholder':_0x427fdf(0xb2),'details':'詳情','noSelection':_0x427fdf(0x8f)}}};}));function _0x46d9(){var _0x2aac61=['圖形樣式','19764rgZKaU','18QTFSJm','UniverProSheetsShapeUiZhHK','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','左對齊','垂直置中','靠右對齊','全部隱藏','文字背景色','amd','上移一層','6985647gzQMdX','打開形狀面板','下移一層','縮小字型','1821045QyKKGm','1388276bTUvGI','靠下對齊','居中對齊','object','兩端對齊','開啟圖層面板','刪除形狀','新增描述','水平對齊','文字顏色','2000754GsTAuy','271406raPIoY','切換垂直翻轉','切換水平翻轉','靠上對齊','裁切為形狀','6NWDvcH','5wzMBUl','隱藏形狀面板','5642088tyHSPR','選擇物件以編輯詳情','7964NsYPnM','10HnBYan','暫無物件','function','exports','順時針\x2090\x20度旋轉','填滿色彩','逆時針\x2090\x20度旋轉','靠左對齊','物件名稱'];_0x46d9=function(){return _0x2aac61;};return _0x46d9();}
@@ -1 +1 @@
1
- function _0x16b4(_0x1a388b,_0x461cd3){_0x1a388b=_0x1a388b-0x89;var _0x58cd50=_0x58cd();var _0x16b481=_0x58cd50[_0x1a388b];return _0x16b481;}(function(_0x2211ec,_0x1f467d){var _0x15d0ac=_0x16b4,_0x3d5235=_0x2211ec();while(!![]){try{var _0x2adf0e=-parseInt(_0x15d0ac(0x9b))/0x1*(parseInt(_0x15d0ac(0x8e))/0x2)+parseInt(_0x15d0ac(0x9e))/0x3*(parseInt(_0x15d0ac(0x94))/0x4)+parseInt(_0x15d0ac(0x8a))/0x5+-parseInt(_0x15d0ac(0xa7))/0x6+parseInt(_0x15d0ac(0x8c))/0x7*(-parseInt(_0x15d0ac(0xab))/0x8)+-parseInt(_0x15d0ac(0xac))/0x9*(-parseInt(_0x15d0ac(0x90))/0xa)+parseInt(_0x15d0ac(0x92))/0xb*(parseInt(_0x15d0ac(0xa9))/0xc);if(_0x2adf0e===_0x1f467d)break;else _0x3d5235['push'](_0x3d5235['shift']());}catch(_0x168038){_0x3d5235['push'](_0x3d5235['shift']());}}}(_0x58cd,0x92c3c),function(_0x407a47,_0x76a98a){var _0x386ecd=_0x16b4;typeof exports==_0x386ecd(0xaa)&&typeof module<'u'?module[_0x386ecd(0x99)]=_0x76a98a():typeof define==_0x386ecd(0xa8)&&define[_0x386ecd(0xa3)]?define([],_0x76a98a):(_0x407a47=typeof globalThis<'u'?globalThis:_0x407a47||self,_0x407a47['UniverProSheetsShapeUiZhTW']=_0x76a98a());}(this,function(){var _0x394c04=_0x16b4;return{'sheets-shape-ui':{'align':{'top':_0x394c04(0x8d),'middle':_0x394c04(0xaf),'bottom':_0x394c04(0x95),'left':_0x394c04(0xa6),'center':'置中','right':_0x394c04(0xb3)},'toolbar':{'verticalAlignMode':{'main':_0x394c04(0x8f)},'horizontalAlignMode':{'main':_0x394c04(0xb0)},'fillColor':{'main':_0x394c04(0x89)},'fontSize':'字型大小','fontSizeIncrease':_0x394c04(0xad),'fontSizeDecrease':_0x394c04(0x9a),'alignLeft':_0x394c04(0xb2),'alignCenter':_0x394c04(0xa1),'alignRight':_0x394c04(0xa0),'alignJustify':_0x394c04(0x97),'bold':_0x394c04(0x8b),'italic':_0x394c04(0x91),'underline':_0x394c04(0xb1),'strikethrough':_0x394c04(0x93),'textColor':_0x394c04(0xa4),'textBackgroundColor':_0x394c04(0xb5),'resetColor':_0x394c04(0x9c)},'imagePanel':{'crop':{'shape':_0x394c04(0x9f)}},'permission':{'editErr':_0x394c04(0xae)},'title':'形狀','insertShape':'插入形狀','openPanel':'打開形狀面板','deleteShape':_0x394c04(0xb4),'hidePanel':_0x394c04(0x98),'formatShape':_0x394c04(0x96),'shapeStyle':_0x394c04(0x9d),'shapePosition':_0x394c04(0xa5),'toggleFlipH':'切換水平翻轉','toggleFlipV':_0x394c04(0xa2),'rotateRight90':'順時針\x2090\x20度旋轉','rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':'切換文本竖排'}};}));function _0x58cd(){var _0x5c5403=['切換垂直翻轉','amd','Text\x20color','圖形位置','靠左對齊','7065228Nelwqk','function','21502200JDNFCT','object','165112iFCRYS','5517sAGCDr','放大字型','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','垂直置中','水平對齊','Underline','Align\x20Left','靠右對齊','刪除形狀','Text\x20Background\x20color','填滿色彩','995235MpawFh','Bold','133ayiNBL','靠上對齊','14DcVVPG','垂直對齊','6790MdfcGx','Italic','11WjpxYc','Strikethrough','1072936HQFjME','靠下對齊','格式化形狀','Justify','隱藏形狀面板','exports','縮小字型','110395rprlUv','重置顏色','圖形樣式','6GdipxY','裁切為形狀','Align\x20Right','Align\x20Center'];_0x58cd=function(){return _0x5c5403;};return _0x58cd();}
1
+ function _0x5eb6(){var _0x32902d=['10036161KLNxVe','10920jPddYV','隱藏形狀面板','38992tefzNK','放大字型','逆時針\x2090\x20度旋轉','圖形樣式','填滿色彩','靠右對齊','全部顯示','靠左對齊','插入形狀','兩端對齊','上移一層','縮小字型','選取物件以編輯詳細資料','圖形位置','順時針\x2090\x20度旋轉','重置顏色','全部隱藏','UniverProSheetsShapeUiZhTW','切換水平翻轉','8UlWDgz','749720uoWaUX','格式化形狀','物件名稱','1178163sDddEU','靠上對齊','文字顏色','amd','object','裁切為形狀','開啟圖層面板','垂直對齊','804884NekVSy','448bIzSDs','垂直置中','字型大小','下移一層','打開形狀面板','新增描述','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','靠下對齊','function','切換文本竖排','刪除形狀','右對齊','左對齊','70086gpQjSR'];_0x5eb6=function(){return _0x32902d;};return _0x5eb6();}function _0x106f(_0x2c4e62,_0x185994){_0x2c4e62=_0x2c4e62-0x1d2;var _0x5eb6b9=_0x5eb6();var _0x106fd0=_0x5eb6b9[_0x2c4e62];return _0x106fd0;}(function(_0x275cc4,_0x53a797){var _0x1a65c4=_0x106f,_0x5f069f=_0x275cc4();while(!![]){try{var _0x1f8fec=parseInt(_0x1a65c4(0x1f4))/0x1*(parseInt(_0x1a65c4(0x1d6))/0x2)+-parseInt(_0x1a65c4(0x1da))/0x3+parseInt(_0x1a65c4(0x1e2))/0x4+parseInt(_0x1a65c4(0x1f2))/0x5+parseInt(_0x1a65c4(0x1f0))/0x6*(-parseInt(_0x1a65c4(0x1e3))/0x7)+parseInt(_0x1a65c4(0x1d7))/0x8+parseInt(_0x1a65c4(0x1f1))/0x9;if(_0x1f8fec===_0x53a797)break;else _0x5f069f['push'](_0x5f069f['shift']());}catch(_0x39fc56){_0x5f069f['push'](_0x5f069f['shift']());}}}(_0x5eb6,0x68788),function(_0x32c006,_0x231986){var _0x137963=_0x106f;typeof exports==_0x137963(0x1de)&&typeof module<'u'?module['exports']=_0x231986():typeof define==_0x137963(0x1eb)&&define[_0x137963(0x1dd)]?define([],_0x231986):(_0x32c006=typeof globalThis<'u'?globalThis:_0x32c006||self,_0x32c006[_0x137963(0x1d4)]=_0x231986());}(this,function(){var _0x3d2928=_0x106f;return{'sheets-shape-ui':{'align':{'top':_0x3d2928(0x1db),'middle':_0x3d2928(0x1e4),'bottom':_0x3d2928(0x1ea),'left':_0x3d2928(0x1fb),'center':'置中','right':_0x3d2928(0x1f9)},'toolbar':{'verticalAlignMode':{'main':_0x3d2928(0x1e1)},'horizontalAlignMode':{'main':'水平對齊'},'fillColor':{'main':_0x3d2928(0x1f8)},'fontSize':_0x3d2928(0x1e5),'fontSizeIncrease':_0x3d2928(0x1f5),'fontSizeDecrease':_0x3d2928(0x1ff),'alignLeft':_0x3d2928(0x1ef),'alignCenter':'居中對齊','alignRight':_0x3d2928(0x1ee),'alignJustify':_0x3d2928(0x1fd),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':'刪除線','textColor':_0x3d2928(0x1dc),'textBackgroundColor':'文字背景色','resetColor':_0x3d2928(0x1d2)},'imagePanel':{'crop':{'shape':_0x3d2928(0x1df)}},'permission':{'editErr':_0x3d2928(0x1e9)},'title':'形狀','insertShape':_0x3d2928(0x1fc),'openPanel':_0x3d2928(0x1e7),'deleteShape':_0x3d2928(0x1ed),'hidePanel':_0x3d2928(0x1f3),'formatShape':_0x3d2928(0x1d8),'shapeStyle':_0x3d2928(0x1f7),'shapePosition':_0x3d2928(0x201),'toggleFlipH':_0x3d2928(0x1d5),'toggleFlipV':'切換垂直翻轉','rotateRight90':_0x3d2928(0x202),'rotateLeft90':_0x3d2928(0x1f6),'toggleTextVertical':_0x3d2928(0x1ec),'objectListPanel':{'title':'圖層','open':_0x3d2928(0x1e0),'empty':'暫無物件','showAll':_0x3d2928(0x1fa),'hideAll':_0x3d2928(0x1d3),'show':'顯示','hide':'隱藏','moveForward':_0x3d2928(0x1fe),'moveBackward':_0x3d2928(0x1e6),'close':'關閉','name':'名稱','nameInput':_0x3d2928(0x1d9),'description':'描述','descriptionPlaceholder':_0x3d2928(0x1e8),'details':'詳細資料','noSelection':_0x3d2928(0x200)}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-shape-ui",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.3",
4
4
  "private": false,
5
5
  "description": "Shape and drawing UI integration for Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -57,30 +57,31 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs/icons": "1.16.0",
61
- "@univerjs-pro/engine-shape": "1.0.0-alpha.2",
62
- "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.2",
63
- "@univerjs/core": "1.0.0-alpha.2",
64
- "@univerjs-pro/sheets-shape": "1.0.0-alpha.2",
65
- "@univerjs/docs": "1.0.0-alpha.2",
66
- "@univerjs/docs-ui": "1.0.0-alpha.2",
67
- "@univerjs/drawing": "1.0.0-alpha.2",
68
- "@univerjs/engine-render": "1.0.0-alpha.2",
69
- "@univerjs/sheets": "1.0.0-alpha.2",
70
- "@univerjs/sheets-drawing-ui": "1.0.0-alpha.2",
71
- "@univerjs/drawing-ui": "1.0.0-alpha.2",
72
- "@univerjs/sheets-drawing": "1.0.0-alpha.2",
73
- "@univerjs/ui": "1.0.0-alpha.2",
74
- "@univerjs/sheets-ui": "1.0.0-alpha.2"
60
+ "@univerjs/icons": "1.20.0",
61
+ "@univerjs-pro/engine-shape": "1.0.0-alpha.3",
62
+ "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.3",
63
+ "@univerjs-pro/license": "1.0.0-alpha.3",
64
+ "@univerjs-pro/sheets-shape": "1.0.0-alpha.3",
65
+ "@univerjs/docs": "1.0.0-alpha.3",
66
+ "@univerjs/core": "1.0.0-alpha.3",
67
+ "@univerjs/drawing": "1.0.0-alpha.3",
68
+ "@univerjs/docs-ui": "1.0.0-alpha.3",
69
+ "@univerjs/drawing-ui": "1.0.0-alpha.3",
70
+ "@univerjs/engine-render": "1.0.0-alpha.3",
71
+ "@univerjs/sheets-drawing": "1.0.0-alpha.3",
72
+ "@univerjs/sheets": "1.0.0-alpha.3",
73
+ "@univerjs/sheets-ui": "1.0.0-alpha.3",
74
+ "@univerjs/sheets-drawing-ui": "1.0.0-alpha.3",
75
+ "@univerjs/ui": "1.0.0-alpha.3"
75
76
  },
76
77
  "devDependencies": {
77
- "postcss": "^8.5.15",
78
+ "postcss": "^8.5.16",
78
79
  "react": "18.3.1",
79
80
  "rxjs": "7.8.2",
80
81
  "tailwindcss": "3.4.17",
81
82
  "typescript": "^6.0.3",
82
- "vitest": "^4.1.9",
83
- "@univerjs-infra/shared": "1.0.0-alpha.2"
83
+ "vitest": "^4.1.10",
84
+ "@univerjs-infra/shared": "1.0.0-alpha.3"
84
85
  },
85
86
  "scripts": {
86
87
  "test": "vitest run",
@@ -1 +0,0 @@
1
- export declare function ShapeTextFloatToolbar(): import("react").JSX.Element;