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

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 (100) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/command-util.d.ts +2 -19
  62. package/lib/types/const.d.ts +1 -0
  63. package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +1 -2
  64. package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
  65. package/lib/types/locale/en-US.d.ts +0 -33
  66. package/lib/types/{commands/menu → menu}/object-list.menu.d.ts +1 -1
  67. package/lib/types/views/ShapePicker.d.ts +0 -2
  68. package/lib/umd/index.js +1 -1
  69. package/lib/umd/locale/ar-SA.js +1 -1
  70. package/lib/umd/locale/ca-ES.js +1 -1
  71. package/lib/umd/locale/de-DE.js +1 -1
  72. package/lib/umd/locale/en-US.js +1 -1
  73. package/lib/umd/locale/es-ES.js +1 -1
  74. package/lib/umd/locale/fa-IR.js +1 -1
  75. package/lib/umd/locale/fr-FR.js +1 -1
  76. package/lib/umd/locale/id-ID.js +1 -1
  77. package/lib/umd/locale/it-IT.js +1 -1
  78. package/lib/umd/locale/ja-JP.js +1 -1
  79. package/lib/umd/locale/ko-KR.js +1 -1
  80. package/lib/umd/locale/pl-PL.js +1 -1
  81. package/lib/umd/locale/pt-BR.js +1 -1
  82. package/lib/umd/locale/ru-RU.js +1 -1
  83. package/lib/umd/locale/sk-SK.js +1 -1
  84. package/lib/umd/locale/vi-VN.js +1 -1
  85. package/lib/umd/locale/zh-CN.js +1 -1
  86. package/lib/umd/locale/zh-HK.js +1 -1
  87. package/lib/umd/locale/zh-TW.js +1 -1
  88. package/package.json +19 -19
  89. package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
  90. package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
  91. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
  92. package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
  93. package/lib/types/commands/menu/menu-dependencies.d.ts +0 -2
  94. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
  95. package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
  96. package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
  97. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
  98. package/lib/types/view-model/shape-data-model.d.ts +0 -8
  99. package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
  100. /package/lib/types/commands/operations/{actvie-drawing-operation.d.ts → active-drawing-operation.d.ts} +0 -0
@@ -1 +1 @@
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
+ function _0x3371(){var _0x260dde=['1261340vIoJGc','下移一层','切换文本竖排','暂无对象','UniverProSheetsShapeUiZhCN','形状样式','上移一层','添加描述','删除形状','全部显示','该范围已被保护,目前无编辑权限。如需编辑,请联系创建者。','全部隐藏','239926rHciBN','1629733TDqlaM','形状位置','object','22567320PDMVCe','裁剪为形状','隐藏形状面板','打开形状面板','打开图层面板','3791349KgOdJX','切换垂直翻转','切换水平翻转','选择对象以编辑详情','2168056gDcHxf','18dblOFO','格式化形状','3pAqJob','8ZrmmMp','顺时针90度旋转','280587xPCMet'];_0x3371=function(){return _0x260dde;};return _0x3371();}function _0x2c22(_0x1eda23,_0x5f1dc0){_0x1eda23=_0x1eda23-0x145;var _0x3371db=_0x3371();var _0x2c2242=_0x3371db[_0x1eda23];return _0x2c2242;}(function(_0x21a7b9,_0x99e0f7){var _0x50eb01=_0x2c22,_0x276642=_0x21a7b9();while(!![]){try{var _0x10862e=parseInt(_0x50eb01(0x162))/0x1+parseInt(_0x50eb01(0x14f))/0x2*(-parseInt(_0x50eb01(0x15f))/0x3)+-parseInt(_0x50eb01(0x15c))/0x4+-parseInt(_0x50eb01(0x163))/0x5+parseInt(_0x50eb01(0x15d))/0x6*(-parseInt(_0x50eb01(0x150))/0x7)+parseInt(_0x50eb01(0x160))/0x8*(-parseInt(_0x50eb01(0x158))/0x9)+parseInt(_0x50eb01(0x153))/0xa;if(_0x10862e===_0x99e0f7)break;else _0x276642['push'](_0x276642['shift']());}catch(_0x5454b7){_0x276642['push'](_0x276642['shift']());}}}(_0x3371,0x7ae3c),function(_0x4249a4,_0xb9dcdc){var _0x2255ce=_0x2c22;typeof exports==_0x2255ce(0x152)&&typeof module<'u'?module['exports']=_0xb9dcdc():typeof define=='function'&&define['amd']?define([],_0xb9dcdc):(_0x4249a4=typeof globalThis<'u'?globalThis:_0x4249a4||self,_0x4249a4[_0x2255ce(0x147)]=_0xb9dcdc());}(this,function(){var _0x2e9082=_0x2c22;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':_0x2e9082(0x154)}},'permission':{'editErr':_0x2e9082(0x14d)},'title':'形状','insertShape':'插入形状','openPanel':_0x2e9082(0x156),'deleteShape':_0x2e9082(0x14b),'hidePanel':_0x2e9082(0x155),'formatShape':_0x2e9082(0x15e),'shapeStyle':_0x2e9082(0x148),'shapePosition':_0x2e9082(0x151),'toggleFlipH':_0x2e9082(0x15a),'toggleFlipV':_0x2e9082(0x159),'rotateRight90':_0x2e9082(0x161),'rotateLeft90':'逆时针90度旋转','toggleTextVertical':_0x2e9082(0x145),'objectListPanel':{'title':'图层','open':_0x2e9082(0x157),'empty':_0x2e9082(0x146),'showAll':_0x2e9082(0x14c),'hideAll':_0x2e9082(0x14e),'show':'显示','hide':'隐藏','moveForward':_0x2e9082(0x149),'moveBackward':_0x2e9082(0x164),'close':'关闭','name':'名称','nameInput':'对象名称','description':'描述','descriptionPlaceholder':_0x2e9082(0x14a),'details':'详情','noSelection':_0x2e9082(0x15b)}}};}));
@@ -1 +1 @@
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
+ (function(_0x440669,_0x195571){var _0xbf3b92=_0x5c04,_0x1afd68=_0x440669();while(!![]){try{var _0x2a4c3f=-parseInt(_0xbf3b92(0x190))/0x1*(parseInt(_0xbf3b92(0x18d))/0x2)+-parseInt(_0xbf3b92(0x174))/0x3+parseInt(_0xbf3b92(0x17d))/0x4*(-parseInt(_0xbf3b92(0x16e))/0x5)+-parseInt(_0xbf3b92(0x171))/0x6*(parseInt(_0xbf3b92(0x17b))/0x7)+-parseInt(_0xbf3b92(0x181))/0x8*(parseInt(_0xbf3b92(0x185))/0x9)+-parseInt(_0xbf3b92(0x18a))/0xa*(-parseInt(_0xbf3b92(0x18e))/0xb)+parseInt(_0xbf3b92(0x189))/0xc*(parseInt(_0xbf3b92(0x17f))/0xd);if(_0x2a4c3f===_0x195571)break;else _0x1afd68['push'](_0x1afd68['shift']());}catch(_0x1b8b2c){_0x1afd68['push'](_0x1afd68['shift']());}}}(_0x22ce,0x27a6f),function(_0x12388f,_0x1e84b0){var _0x42d4fb=_0x5c04;typeof exports==_0x42d4fb(0x18c)&&typeof module<'u'?module['exports']=_0x1e84b0():typeof define==_0x42d4fb(0x180)&&define[_0x42d4fb(0x170)]?define([],_0x1e84b0):(_0x12388f=typeof globalThis<'u'?globalThis:_0x12388f||self,_0x12388f[_0x42d4fb(0x17e)]=_0x1e84b0());}(this,function(){var _0x1ef5af=_0x5c04;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':_0x1ef5af(0x173)}},'permission':{'editErr':_0x1ef5af(0x179)},'title':'形狀','insertShape':_0x1ef5af(0x175),'openPanel':_0x1ef5af(0x186),'deleteShape':_0x1ef5af(0x176),'hidePanel':_0x1ef5af(0x16f),'formatShape':_0x1ef5af(0x191),'shapeStyle':_0x1ef5af(0x17a),'shapePosition':_0x1ef5af(0x183),'toggleFlipH':_0x1ef5af(0x17c),'toggleFlipV':_0x1ef5af(0x172),'rotateRight90':_0x1ef5af(0x18f),'rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':_0x1ef5af(0x184),'objectListPanel':{'title':'圖層','open':_0x1ef5af(0x182),'empty':_0x1ef5af(0x177),'showAll':'全部顯示','hideAll':'全部隱藏','show':'顯示','hide':'隱藏','moveForward':_0x1ef5af(0x188),'moveBackward':_0x1ef5af(0x187),'close':'關閉','name':'名稱','nameInput':_0x1ef5af(0x178),'description':'描述','descriptionPlaceholder':_0x1ef5af(0x18b),'details':'詳情','noSelection':'選擇物件以編輯詳情'}}};}));function _0x5c04(_0xede258,_0x39b073){_0xede258=_0xede258-0x16e;var _0x22ce8c=_0x22ce();var _0x5c0490=_0x22ce8c[_0xede258];return _0x5c0490;}function _0x22ce(){var _0x51554f=['1092308VGGBrj','UniverProSheetsShapeUiZhHK','4693CKbjjV','function','31176BMsyDk','開啟圖層面板','圖形位置','切換文本竖排','405LBTszE','打開形狀面板','下移一層','上移一層','28572yBsKdn','50VOPeBr','新增描述','object','74IWIuNT','697675SGNYwA','順時針\x2090\x20度旋轉','3367czBMUk','格式化形狀','5vpZfuL','隱藏形狀面板','amd','1399008LyfVhv','切換垂直翻轉','裁切為形狀','624186DeemnN','插入形狀','刪除形狀','暫無物件','物件名稱','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','圖形樣式','7YsRlFM','切換水平翻轉'];_0x22ce=function(){return _0x51554f;};return _0x22ce();}
@@ -1 +1 @@
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)}}};}));
1
+ function _0x20b4(){var _0x5be032=['隱藏形狀面板','78348PnuzWI','切換水平翻轉','格式化形狀','切換垂直翻轉','物件名稱','圖形樣式','62337qNuNSc','選取物件以編輯詳細資料','function','7ufGZAI','object','新增描述','開啟圖層面板','2333484NNzgsU','全部隱藏','37134VMHaHs','1432pattyy','amd','全部顯示','3568220SDmRJV','刪除形狀','527286MhffrS','詳細資料','打開形狀面板','4190452ovNdOA','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','暫無物件','exports','下移一層','上移一層','裁切為形狀','順時針\x2090\x20度旋轉'];_0x20b4=function(){return _0x5be032;};return _0x20b4();}function _0x2a93(_0x1451d1,_0x52c993){_0x1451d1=_0x1451d1-0x15e;var _0x20b4d5=_0x20b4();var _0x2a938f=_0x20b4d5[_0x1451d1];return _0x2a938f;}(function(_0x542899,_0xe4a0f6){var _0x927e06=_0x2a93,_0x1d3774=_0x542899();while(!![]){try{var _0x54eb23=parseInt(_0x927e06(0x17a))/0x1*(parseInt(_0x927e06(0x171))/0x2)+parseInt(_0x927e06(0x177))/0x3+-parseInt(_0x927e06(0x17e))/0x4+parseInt(_0x927e06(0x163))/0x5+parseInt(_0x927e06(0x165))/0x6+parseInt(_0x927e06(0x168))/0x7+parseInt(_0x927e06(0x160))/0x8*(-parseInt(_0x927e06(0x15f))/0x9);if(_0x54eb23===_0xe4a0f6)break;else _0x1d3774['push'](_0x1d3774['shift']());}catch(_0x328b16){_0x1d3774['push'](_0x1d3774['shift']());}}}(_0x20b4,0x5b1f1),function(_0x3e9bb0,_0x308d78){var _0xa7c417=_0x2a93;typeof exports==_0xa7c417(0x17b)&&typeof module<'u'?module[_0xa7c417(0x16b)]=_0x308d78():typeof define==_0xa7c417(0x179)&&define[_0xa7c417(0x161)]?define([],_0x308d78):(_0x3e9bb0=typeof globalThis<'u'?globalThis:_0x3e9bb0||self,_0x3e9bb0['UniverProSheetsShapeUiZhTW']=_0x308d78());}(this,function(){var _0x39101e=_0x2a93;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':_0x39101e(0x16e)}},'permission':{'editErr':_0x39101e(0x169)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x39101e(0x167),'deleteShape':_0x39101e(0x164),'hidePanel':_0x39101e(0x170),'formatShape':_0x39101e(0x173),'shapeStyle':_0x39101e(0x176),'shapePosition':'圖形位置','toggleFlipH':_0x39101e(0x172),'toggleFlipV':_0x39101e(0x174),'rotateRight90':_0x39101e(0x16f),'rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':'切換文本竖排','objectListPanel':{'title':'圖層','open':_0x39101e(0x17d),'empty':_0x39101e(0x16a),'showAll':_0x39101e(0x162),'hideAll':_0x39101e(0x15e),'show':'顯示','hide':'隱藏','moveForward':_0x39101e(0x16d),'moveBackward':_0x39101e(0x16c),'close':'關閉','name':'名稱','nameInput':_0x39101e(0x175),'description':'描述','descriptionPlaceholder':_0x39101e(0x17c),'details':_0x39101e(0x166),'noSelection':_0x39101e(0x178)}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-shape-ui",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.5",
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,31 +57,31 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
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"
60
+ "@univerjs/icons": "1.29.0",
61
+ "@univerjs-pro/license": "1.0.0-alpha.5",
62
+ "@univerjs-pro/engine-shape": "1.0.0-alpha.5",
63
+ "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.5",
64
+ "@univerjs/core": "1.0.0-alpha.5",
65
+ "@univerjs/docs-ui": "1.0.0-alpha.5",
66
+ "@univerjs-pro/sheets-shape": "1.0.0-alpha.5",
67
+ "@univerjs/drawing": "1.0.0-alpha.5",
68
+ "@univerjs/docs": "1.0.0-alpha.5",
69
+ "@univerjs/drawing-ui": "1.0.0-alpha.5",
70
+ "@univerjs/engine-render": "1.0.0-alpha.5",
71
+ "@univerjs/sheets-drawing": "1.0.0-alpha.5",
72
+ "@univerjs/sheets-drawing-ui": "1.0.0-alpha.5",
73
+ "@univerjs/sheets": "1.0.0-alpha.5",
74
+ "@univerjs/ui": "1.0.0-alpha.5",
75
+ "@univerjs/sheets-ui": "1.0.0-alpha.5"
76
76
  },
77
77
  "devDependencies": {
78
- "postcss": "^8.5.16",
78
+ "postcss": "^8.5.19",
79
79
  "react": "18.3.1",
80
80
  "rxjs": "7.8.2",
81
81
  "tailwindcss": "3.4.17",
82
82
  "typescript": "^6.0.3",
83
83
  "vitest": "^4.1.10",
84
- "@univerjs-infra/shared": "1.0.0-alpha.3"
84
+ "@univerjs-infra/shared": "1.0.0-alpha.5"
85
85
  },
86
86
  "scripts": {
87
87
  "test": "vitest run",
@@ -1,5 +0,0 @@
1
- import type { HorizontalAlign, ICommand } from '@univerjs/core';
2
- export interface ISetShapeTextHorizontalAlignCommandParams {
3
- value: HorizontalAlign;
4
- }
5
- export declare const SetShapeTextHorizontalAlignCommand: ICommand<ISetShapeTextHorizontalAlignCommandParams>;
@@ -1,7 +0,0 @@
1
- import type { ICommand } from '@univerjs/core';
2
- export interface ISetShapeTextFontSizeCommandParams {
3
- value: number;
4
- }
5
- export declare const SetShapeTextFontSizeCommand: ICommand<ISetShapeTextFontSizeCommandParams>;
6
- export declare const SetShapeTextFontSizeIncreaseCommand: ICommand;
7
- export declare const SetShapeTextFontSizeDecreaseCommand: ICommand;
@@ -1,5 +0,0 @@
1
- import type { ICommand, VerticalAlign } from '@univerjs/core';
2
- export interface ISetShapeTextVerticalAlignCommandParams {
3
- value: VerticalAlign;
4
- }
5
- export declare const SetShapeTextVerticalAlignCommand: ICommand<ISetShapeTextVerticalAlignCommandParams>;
@@ -1,10 +0,0 @@
1
- import type { HorizontalAlign, ICommand } from '@univerjs/core';
2
- export interface IShapeDocAlignCommandParams {
3
- value: HorizontalAlign;
4
- }
5
- /**
6
- * Wrapper command for shape text horizontal alignment.
7
- * This command receives the value from the menu selector and forwards it
8
- * to the Doc's AlignOperationCommand with the correct parameter format.
9
- */
10
- export declare const ShapeDocAlignCommand: ICommand<IShapeDocAlignCommandParams>;
@@ -1,2 +0,0 @@
1
- import type { DependencyIdentifier, IAccessor } from '@univerjs/core';
2
- export declare function getOptionalMenuDependency<T>(accessor: IAccessor, identifier: DependencyIdentifier<T>): T | null;
@@ -1,19 +0,0 @@
1
- import type { IAccessor } from '@univerjs/core';
2
- import type { IMenuSelectorItem } from '@univerjs/ui';
3
- import type { LocaleKey } from '../../locale/types';
4
- import { HorizontalAlign } from '@univerjs/core';
5
- import { MenuItemType } from '@univerjs/ui';
6
- import { Observable } from 'rxjs';
7
- export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
8
- label: string;
9
- icon: string;
10
- value: HorizontalAlign;
11
- }[];
12
- export declare function ShapeHorizontalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, HorizontalAlign>;
13
- export declare function ShapeBackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, string | undefined>;
14
- export declare function ShapeResetBackgroundColorMenuItemFactory(accessor: IAccessor): {
15
- id: string;
16
- type: MenuItemType;
17
- title: string;
18
- hidden$: Observable<boolean>;
19
- };
@@ -1,6 +0,0 @@
1
- import type { IAccessor } from '@univerjs/core';
2
- import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
3
- import type { LocaleKey } from '../../locale/types';
4
- export declare function ShapeFontSizeSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, number>;
5
- export declare function ShapeFontSizeIncreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
6
- export declare function ShapeFontSizeDecreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
@@ -1,10 +0,0 @@
1
- import type { IAccessor } from '@univerjs/core';
2
- import type { IMenuSelectorItem } from '@univerjs/ui';
3
- import type { LocaleKey } from '../../locale/types';
4
- import { HorizontalAlign } from '@univerjs/core';
5
- export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
6
- label: string;
7
- icon: string;
8
- value: HorizontalAlign;
9
- }[];
10
- export declare function ShapeTextHorizontalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, HorizontalAlign>;
@@ -1,10 +0,0 @@
1
- import type { IAccessor } from '@univerjs/core';
2
- import type { IMenuSelectorItem } from '@univerjs/ui';
3
- import type { LocaleKey } from '../../locale/types';
4
- import { VerticalAlign } from '@univerjs/core';
5
- export declare const SHAPE_VERTICAL_ALIGN_CHILDREN: {
6
- label: string;
7
- icon: string;
8
- value: VerticalAlign;
9
- }[];
10
- export declare function ShapeVerticalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, VerticalAlign>;
@@ -1,8 +0,0 @@
1
- import type { IShapeTextDataModel } from '@univerjs-pro/engine-shape';
2
- import type { HorizontalAlign, IDocumentData, VerticalAlign } from '@univerjs/core';
3
- /**
4
- * @deprecated Use `IShapeTextDataModel<IDocumentData, HorizontalAlign, VerticalAlign>`
5
- * from `@univerjs-pro/engine-shape`. This alias is kept for legacy sheets-shape
6
- * callers while shape text is converging across products.
7
- */
8
- export type IShapeTextModel = IShapeTextDataModel<IDocumentData, HorizontalAlign, VerticalAlign>;
@@ -1 +0,0 @@
1
- export { ShapeEditPanel } from './ShapeEditorPanel';