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

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 (113) 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 +0 -11
  64. package/lib/types/commands/operations/open-object-list-panel.operation.d.ts +5 -0
  65. package/lib/types/const.d.ts +3 -1
  66. package/lib/types/controllers/components.controller.d.ts +4 -2
  67. package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +1 -2
  68. package/lib/types/controllers/shape-update.controller.d.ts +1 -0
  69. package/lib/types/controllers/sheet-shape-adjust.controller.d.ts +3 -6
  70. package/lib/types/controllers/sheet-shape-printing.controller.d.ts +12 -0
  71. package/lib/types/controllers/sheet-shape-render.controller.d.ts +9 -3
  72. package/lib/types/index.d.ts +1 -7
  73. package/lib/types/locale/en-US.d.ts +18 -33
  74. package/lib/types/menu/object-list.menu.d.ts +4 -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/views/ShapePicker.d.ts +2 -0
  79. package/lib/types/views/object-list-panel/SheetDrawingObjectListPanel.d.ts +1 -0
  80. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -2
  81. package/lib/umd/index.js +1 -1
  82. package/lib/umd/locale/ar-SA.js +1 -1
  83. package/lib/umd/locale/ca-ES.js +1 -1
  84. package/lib/umd/locale/de-DE.js +1 -1
  85. package/lib/umd/locale/en-US.js +1 -1
  86. package/lib/umd/locale/es-ES.js +1 -1
  87. package/lib/umd/locale/fa-IR.js +1 -1
  88. package/lib/umd/locale/fr-FR.js +1 -1
  89. package/lib/umd/locale/id-ID.js +1 -1
  90. package/lib/umd/locale/it-IT.js +1 -1
  91. package/lib/umd/locale/ja-JP.js +1 -1
  92. package/lib/umd/locale/ko-KR.js +1 -1
  93. package/lib/umd/locale/pl-PL.js +1 -1
  94. package/lib/umd/locale/pt-BR.js +1 -1
  95. package/lib/umd/locale/ru-RU.js +1 -1
  96. package/lib/umd/locale/sk-SK.js +1 -1
  97. package/lib/umd/locale/vi-VN.js +1 -1
  98. package/lib/umd/locale/zh-CN.js +1 -1
  99. package/lib/umd/locale/zh-HK.js +1 -1
  100. package/lib/umd/locale/zh-TW.js +1 -1
  101. package/package.json +20 -19
  102. package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
  103. package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
  104. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
  105. package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
  106. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
  107. package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
  108. package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
  109. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
  110. package/lib/types/view-model/shape-data-model.d.ts +0 -6
  111. package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
  112. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
  113. /package/lib/types/commands/operations/{actvie-drawing-operation.d.ts → active-drawing-operation.d.ts} +0 -0
@@ -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 _0x20fe(){var _0x377acc=['function','隱藏形狀面板','114031EPwYBE','amd','上移一層','切換文本竖排','格式化形狀','切換水平翻轉','全部顯示','全部隱藏','順時針\x2090\x20度旋轉','刪除形狀','6918DLyrUF','選擇物件以編輯詳情','4565fuPCOx','物件名稱','exports','11390810vQcNPS','圖形樣式','9777576QglIjl','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','object','2807622JtTtyH','暫無物件','下移一層','裁切為形狀','3ewLkUZ','逆時針\x2090\x20度旋轉','5346880hFNQIo','切換垂直翻轉','圖形位置','打開形狀面板','開啟圖層面板','49876tkyCgi','4vXqtIR'];_0x20fe=function(){return _0x377acc;};return _0x20fe();}function _0x439f(_0x3bc54e,_0xabc65e){_0x3bc54e=_0x3bc54e-0x11f;var _0x20fe24=_0x20fe();var _0x439f8e=_0x20fe24[_0x3bc54e];return _0x439f8e;}(function(_0xa5421d,_0x439b38){var _0x538d54=_0x439f,_0x3c2749=_0xa5421d();while(!![]){try{var _0x4f3c1e=-parseInt(_0x538d54(0x13c))/0x1*(parseInt(_0x538d54(0x139))/0x2)+-parseInt(_0x538d54(0x131))/0x3*(-parseInt(_0x538d54(0x138))/0x4)+-parseInt(_0x538d54(0x125))/0x5*(parseInt(_0x538d54(0x123))/0x6)+-parseInt(_0x538d54(0x133))/0x7+parseInt(_0x538d54(0x12a))/0x8+parseInt(_0x538d54(0x12d))/0x9+parseInt(_0x538d54(0x128))/0xa;if(_0x4f3c1e===_0x439b38)break;else _0x3c2749['push'](_0x3c2749['shift']());}catch(_0x426d6e){_0x3c2749['push'](_0x3c2749['shift']());}}}(_0x20fe,0x9c85a),function(_0x56b2d3,_0x49caef){var _0x1efab0=_0x439f;typeof exports==_0x1efab0(0x12c)&&typeof module<'u'?module[_0x1efab0(0x127)]=_0x49caef():typeof define==_0x1efab0(0x13a)&&define[_0x1efab0(0x13d)]?define([],_0x49caef):(_0x56b2d3=typeof globalThis<'u'?globalThis:_0x56b2d3||self,_0x56b2d3['UniverProSheetsShapeUiZhHK']=_0x49caef());}(this,function(){var _0x41a58c=_0x439f;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':_0x41a58c(0x130)}},'permission':{'editErr':_0x41a58c(0x12b)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x41a58c(0x136),'deleteShape':_0x41a58c(0x122),'hidePanel':_0x41a58c(0x13b),'formatShape':_0x41a58c(0x140),'shapeStyle':_0x41a58c(0x129),'shapePosition':_0x41a58c(0x135),'toggleFlipH':_0x41a58c(0x141),'toggleFlipV':_0x41a58c(0x134),'rotateRight90':_0x41a58c(0x121),'rotateLeft90':_0x41a58c(0x132),'toggleTextVertical':_0x41a58c(0x13f),'objectListPanel':{'title':'圖層','open':_0x41a58c(0x137),'empty':_0x41a58c(0x12e),'showAll':_0x41a58c(0x11f),'hideAll':_0x41a58c(0x120),'show':'顯示','hide':'隱藏','moveForward':_0x41a58c(0x13e),'moveBackward':_0x41a58c(0x12f),'close':'關閉','name':'名稱','nameInput':_0x41a58c(0x126),'description':'描述','descriptionPlaceholder':'新增描述','details':'詳情','noSelection':_0x41a58c(0x124)}}};}));
@@ -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 _0x51c7(_0x5a4614,_0x1e0d50){_0x5a4614=_0x5a4614-0x128;var _0x51775f=_0x5177();var _0x51c776=_0x51775f[_0x5a4614];return _0x51c776;}(function(_0x27ce16,_0xbb6a51){var _0x56933d=_0x51c7,_0x2f2ade=_0x27ce16();while(!![]){try{var _0x504fde=parseInt(_0x56933d(0x128))/0x1*(parseInt(_0x56933d(0x13f))/0x2)+-parseInt(_0x56933d(0x134))/0x3+parseInt(_0x56933d(0x144))/0x4+parseInt(_0x56933d(0x12e))/0x5+-parseInt(_0x56933d(0x140))/0x6+parseInt(_0x56933d(0x13e))/0x7*(parseInt(_0x56933d(0x13a))/0x8)+parseInt(_0x56933d(0x147))/0x9*(-parseInt(_0x56933d(0x142))/0xa);if(_0x504fde===_0xbb6a51)break;else _0x2f2ade['push'](_0x2f2ade['shift']());}catch(_0xa4109){_0x2f2ade['push'](_0x2f2ade['shift']());}}}(_0x5177,0xada83),function(_0x23c916,_0x2b506a){var _0x288a87=_0x51c7;typeof exports==_0x288a87(0x139)&&typeof module<'u'?module[_0x288a87(0x12a)]=_0x2b506a():typeof define==_0x288a87(0x12d)&&define[_0x288a87(0x146)]?define([],_0x2b506a):(_0x23c916=typeof globalThis<'u'?globalThis:_0x23c916||self,_0x23c916[_0x288a87(0x131)]=_0x2b506a());}(this,function(){var _0x16b566=_0x51c7;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':'裁切為形狀'}},'permission':{'editErr':_0x16b566(0x12f)},'title':'形狀','insertShape':_0x16b566(0x132),'openPanel':_0x16b566(0x130),'deleteShape':_0x16b566(0x13d),'hidePanel':'隱藏形狀面板','formatShape':_0x16b566(0x135),'shapeStyle':_0x16b566(0x138),'shapePosition':_0x16b566(0x137),'toggleFlipH':_0x16b566(0x13c),'toggleFlipV':_0x16b566(0x133),'rotateRight90':_0x16b566(0x12b),'rotateLeft90':_0x16b566(0x129),'toggleTextVertical':_0x16b566(0x149),'objectListPanel':{'title':'圖層','open':_0x16b566(0x143),'empty':_0x16b566(0x141),'showAll':'全部顯示','hideAll':_0x16b566(0x12c),'show':'顯示','hide':'隱藏','moveForward':_0x16b566(0x145),'moveBackward':_0x16b566(0x136),'close':'關閉','name':'名稱','nameInput':'物件名稱','description':'描述','descriptionPlaceholder':_0x16b566(0x13b),'details':_0x16b566(0x148),'noSelection':'選取物件以編輯詳細資料'}}};}));function _0x5177(){var _0x38796f=['73884basasF','逆時針\x2090\x20度旋轉','exports','順時針\x2090\x20度旋轉','全部隱藏','function','6114565djNWeV','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','打開形狀面板','UniverProSheetsShapeUiZhTW','插入形狀','切換垂直翻轉','3750303ifStje','格式化形狀','下移一層','圖形位置','圖形樣式','object','152KJhrgW','新增描述','切換水平翻轉','刪除形狀','463169mccJTy','30QRiGqh','6878400OZwqPY','暫無物件','44490KkgUUu','開啟圖層面板','2295468RXIQHg','上移一層','amd','2133IicdRb','詳細資料','切換文本竖排'];_0x5177=function(){return _0x38796f;};return _0x5177();}
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.4",
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.29.0",
61
+ "@univerjs-pro/engine-shape": "1.0.0-alpha.4",
62
+ "@univerjs-pro/license": "1.0.0-alpha.4",
63
+ "@univerjs-pro/sheets-shape": "1.0.0-alpha.4",
64
+ "@univerjs/core": "1.0.0-alpha.4",
65
+ "@univerjs/docs-ui": "1.0.0-alpha.4",
66
+ "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.4",
67
+ "@univerjs/drawing-ui": "1.0.0-alpha.4",
68
+ "@univerjs/engine-render": "1.0.0-alpha.4",
69
+ "@univerjs/docs": "1.0.0-alpha.4",
70
+ "@univerjs/drawing": "1.0.0-alpha.4",
71
+ "@univerjs/sheets": "1.0.0-alpha.4",
72
+ "@univerjs/sheets-drawing-ui": "1.0.0-alpha.4",
73
+ "@univerjs/sheets-drawing": "1.0.0-alpha.4",
74
+ "@univerjs/ui": "1.0.0-alpha.4",
75
+ "@univerjs/sheets-ui": "1.0.0-alpha.4"
75
76
  },
76
77
  "devDependencies": {
77
- "postcss": "^8.5.15",
78
+ "postcss": "^8.5.19",
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.4"
84
85
  },
85
86
  "scripts": {
86
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,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,6 +0,0 @@
1
- import type { HorizontalAlign, IDocumentData, VerticalAlign } from '@univerjs/core';
2
- export interface IShapeTextModel {
3
- va: VerticalAlign;
4
- ha: HorizontalAlign;
5
- doc: IDocumentData;
6
- }
@@ -1 +0,0 @@
1
- export { ShapeEditPanel } from './ShapeEditorPanel';
@@ -1 +0,0 @@
1
- export declare function ShapeTextFloatToolbar(): import("react").JSX.Element;