@univerjs-pro/docs-shape-ui 1.0.0 → 1.0.1

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 (94) 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/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +20 -20
  82. package/lib/types/controllers/config.schema.d.ts +0 -7
  83. package/lib/types/controllers/docs-shape-ui.controller.d.ts +0 -64
  84. package/lib/types/controllers/menu.schema.d.ts +0 -2
  85. package/lib/types/view-model/shape-data-model.d.ts +0 -6
  86. package/lib/types/views/ShapeOptions.d.ts +0 -30
  87. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -11
  88. package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
  89. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +0 -10
  90. package/lib/types/views/shape-text-editor/Editor.d.ts +0 -21
  91. package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
  92. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
  93. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -29
  94. package/lib/types/views/shapes.d.ts +0 -58
@@ -1 +1 @@
1
- function _0xc145(_0x3c178c,_0x12b32f){_0x3c178c=_0x3c178c-0x120;var _0x371474=_0x3714();var _0xc1456f=_0x371474[_0x3c178c];return _0xc1456f;}(function(_0x3970df,_0x3f6a1a){var _0x4ac273=_0xc145,_0x444ab3=_0x3970df();while(!![]){try{var _0x263f01=-parseInt(_0x4ac273(0x125))/0x1+-parseInt(_0x4ac273(0x135))/0x2+-parseInt(_0x4ac273(0x143))/0x3*(-parseInt(_0x4ac273(0x128))/0x4)+-parseInt(_0x4ac273(0x12c))/0x5*(-parseInt(_0x4ac273(0x123))/0x6)+-parseInt(_0x4ac273(0x126))/0x7+parseInt(_0x4ac273(0x139))/0x8*(parseInt(_0x4ac273(0x149))/0x9)+parseInt(_0x4ac273(0x12b))/0xa*(parseInt(_0x4ac273(0x127))/0xb);if(_0x263f01===_0x3f6a1a)break;else _0x444ab3['push'](_0x444ab3['shift']());}catch(_0x5e330f){_0x444ab3['push'](_0x444ab3['shift']());}}}(_0x3714,0x6ff04),function(_0xb5f1db,_0x161e80){var _0x31895b=_0xc145;typeof exports==_0x31895b(0x153)&&typeof module<'u'?module[_0x31895b(0x150)]=_0x161e80():typeof define==_0x31895b(0x144)&&define[_0x31895b(0x148)]?define([],_0x161e80):(_0xb5f1db=typeof globalThis<'u'?globalThis:_0xb5f1db||self,_0xb5f1db['UniverProDocsShapeUiViVN']=_0x161e80());}(this,function(){var _0x1a0ab2=_0xc145;return{'docs-shape-ui':{'mobile':{'text':'Văn\x20bản','style':'Kiểu','delete':_0x1a0ab2(0x14f)},'quickStyles':_0x1a0ab2(0x14c),'title':_0x1a0ab2(0x146),'insertShape':_0x1a0ab2(0x147),'openPanel':_0x1a0ab2(0x13c),'deleteShape':_0x1a0ab2(0x12f),'hidePanel':_0x1a0ab2(0x133),'formatShape':'Định\x20dạng\x20hình\x20dạng','shapeStyle':_0x1a0ab2(0x14a),'shapePosition':_0x1a0ab2(0x13b),'toggleFlipH':_0x1a0ab2(0x151),'toggleFlipV':_0x1a0ab2(0x142),'rotateRight90':_0x1a0ab2(0x138),'rotateLeft90':_0x1a0ab2(0x140),'toggleTextVertical':'Chuyển\x20đổi\x20văn\x20bản\x20dọc','objectListPanel':{'title':_0x1a0ab2(0x145),'open':_0x1a0ab2(0x145),'empty':_0x1a0ab2(0x154),'showAll':_0x1a0ab2(0x155),'hideAll':_0x1a0ab2(0x13d),'show':_0x1a0ab2(0x13f),'hide':'Ẩn','moveForward':_0x1a0ab2(0x120),'moveBackward':'Đưa\x20xuống\x20dưới','close':_0x1a0ab2(0x12e),'name':_0x1a0ab2(0x131),'nameInput':_0x1a0ab2(0x137),'description':_0x1a0ab2(0x130),'descriptionPlaceholder':'Thêm\x20mô\x20tả','details':_0x1a0ab2(0x12a),'noSelection':_0x1a0ab2(0x14d)},'toolbar':{'alignLeft':_0x1a0ab2(0x132),'alignCenter':'Căn\x20giữa','alignRight':_0x1a0ab2(0x13a),'alignJustify':_0x1a0ab2(0x136),'bold':'In\x20đậm','italic':_0x1a0ab2(0x134),'underline':_0x1a0ab2(0x124),'strikethrough':_0x1a0ab2(0x122),'textColor':_0x1a0ab2(0x14e),'fillColor':_0x1a0ab2(0x13e),'resetColor':_0x1a0ab2(0x129)},'align':{'top':'Căn\x20trên','middle':'Căn\x20giữa\x20theo\x20chiều\x20dọc','bottom':_0x1a0ab2(0x14b)},'textWrap':{'inline':_0x1a0ab2(0x121),'square':'Bao\x20quanh','topAndBottom':_0x1a0ab2(0x141),'behindText':_0x1a0ab2(0x12d),'inFrontText':'Phía\x20trước\x20văn\x20bản'},'crop':{'shape':_0x1a0ab2(0x152)}}};}));function _0x3714(){var _0x199735=['Ẩn\x20bảng\x20hình\x20dạng','In\x20nghiêng','1011986QKPvjf','Căn\x20đều\x20hai\x20bên','Tên\x20đối\x20tượng','Xoay\x2090\x20độ\x20theo\x20chiều\x20kim\x20đồng\x20hồ','8zSmEQf','Căn\x20phải','Vị\x20trí\x20hình\x20dạng','Mở\x20bảng\x20hình\x20dạng','Ẩn\x20tất\x20cả','Màu\x20nền\x20văn\x20bản','Hiện','Xoay\x2090\x20độ\x20ngược\x20chiều\x20kim\x20đồng\x20hồ','Trên\x20và\x20dưới','Bật/tắt\x20lật\x20dọc','23943KDfIqq','function','Lớp','Hình\x20dạng','Chèn\x20hình\x20dạng','amd','3339666GHDewe','Kiểu\x20hình\x20dạng','Căn\x20dưới','Kiểu\x20nhanh','Chọn\x20một\x20đối\x20tượng\x20để\x20chỉnh\x20sửa\x20chi\x20tiết','Màu\x20chữ','Xóa','exports','Chuyển\x20đổi\x20lật\x20ngang','Cắt\x20theo\x20hình\x20dạng','object','Chưa\x20có\x20đối\x20tượng','Hiện\x20tất\x20cả','Đưa\x20lên\x20trên','Cùng\x20dòng\x20với\x20văn\x20bản','Gạch\x20ngang','84rAKgMI','Gạch\x20chân','500147TRPyJN','2979872XrLBVE','5692874dLPVyy','168fiqBIJ','Đặt\x20lại\x20màu','Chi\x20tiết','10uvyoJd','238045AmSNRQ','Phía\x20sau\x20văn\x20bản','Đóng','Xóa\x20hình\x20dạng','Mô\x20tả','Tên','Căn\x20trái'];_0x3714=function(){return _0x199735;};return _0x3714();}
1
+ function _0x2500(){var _0x4db8d8=['Căn\x20trái','Căn\x20phải','Màu\x20nền\x20văn\x20bản','Đặt\x20lại\x20màu','Đóng','Bao\x20quanh','Đưa\x20xuống\x20dưới','Màu\x20chữ','19835469tAIxzn','Hiện','Căn\x20giữa','Chuyển\x20đổi\x20văn\x20bản\x20dọc','Phía\x20sau\x20văn\x20bản','Đưa\x20lên\x20trên','Hiện\x20tất\x20cả','96797TUfvwK','437355OsBkrN','Tên','function','16eRraLQ','Ẩn\x20tất\x20cả','In\x20đậm','exports','Căn\x20trên','Tên\x20đối\x20tượng','Mô\x20tả','Căn\x20dưới','Ẩn\x20bảng\x20hình\x20dạng','4BeiMwO','Xóa\x20hình\x20dạng','Cùng\x20dòng\x20với\x20văn\x20bản','2739784GCtkaA','Chi\x20tiết','3108045FDptWM','amd','Kiểu\x20hình\x20dạng','Trên\x20và\x20dưới','Chèn\x20hình\x20dạng','Định\x20dạng\x20hình\x20dạng','Chọn\x20một\x20đối\x20tượng\x20để\x20chỉnh\x20sửa\x20chi\x20tiết','Gạch\x20chân','In\x20nghiêng','Vị\x20trí\x20hình\x20dạng','Xoay\x2090\x20độ\x20theo\x20chiều\x20kim\x20đồng\x20hồ','4987962LgESZF','Xóa','5126748OAFpbx','Văn\x20bản','Mở\x20bảng\x20hình\x20dạng','Căn\x20đều\x20hai\x20bên','10UZmrYX','Cắt\x20theo\x20hình\x20dạng'];_0x2500=function(){return _0x4db8d8;};return _0x2500();}function _0x4a39(_0x3631e6,_0x1ec695){_0x3631e6=_0x3631e6-0x147;var _0x250013=_0x2500();var _0x4a39c9=_0x250013[_0x3631e6];return _0x4a39c9;}(function(_0x260758,_0xe72bb2){var _0x265ed4=_0x4a39,_0x295f72=_0x260758();while(!![]){try{var _0x52dfec=parseInt(_0x265ed4(0x178))/0x1*(parseInt(_0x265ed4(0x148))/0x2)+-parseInt(_0x265ed4(0x179))/0x3*(-parseInt(_0x265ed4(0x151))/0x4)+parseInt(_0x265ed4(0x156))/0x5+parseInt(_0x265ed4(0x163))/0x6+parseInt(_0x265ed4(0x161))/0x7+-parseInt(_0x265ed4(0x154))/0x8+parseInt(_0x265ed4(0x171))/0x9*(-parseInt(_0x265ed4(0x167))/0xa);if(_0x52dfec===_0xe72bb2)break;else _0x295f72['push'](_0x295f72['shift']());}catch(_0x37e2e8){_0x295f72['push'](_0x295f72['shift']());}}}(_0x2500,0x894cc),function(_0x453410,_0x2b800c){var _0x54e554=_0x4a39;typeof exports=='object'&&typeof module<'u'?module[_0x54e554(0x14b)]=_0x2b800c():typeof define==_0x54e554(0x147)&&define[_0x54e554(0x157)]?define([],_0x2b800c):(_0x453410=typeof globalThis<'u'?globalThis:_0x453410||self,_0x453410['UniverProDocsShapeUiViVN']=_0x2b800c());}(this,function(){var _0x50757e=_0x4a39;return{'docs-shape-ui':{'mobile':{'text':_0x50757e(0x164),'style':'Kiểu','delete':_0x50757e(0x162)},'quickStyles':'Kiểu\x20nhanh','title':'Hình\x20dạng','insertShape':_0x50757e(0x15a),'openPanel':_0x50757e(0x165),'deleteShape':_0x50757e(0x152),'hidePanel':_0x50757e(0x150),'formatShape':_0x50757e(0x15b),'shapeStyle':_0x50757e(0x158),'shapePosition':_0x50757e(0x15f),'toggleFlipH':'Chuyển\x20đổi\x20lật\x20ngang','toggleFlipV':'Bật/tắt\x20lật\x20dọc','rotateRight90':_0x50757e(0x160),'rotateLeft90':'Xoay\x2090\x20độ\x20ngược\x20chiều\x20kim\x20đồng\x20hồ','toggleTextVertical':_0x50757e(0x174),'objectListPanel':{'title':'Lớp','open':'Lớp','empty':'Chưa\x20có\x20đối\x20tượng','showAll':_0x50757e(0x177),'hideAll':_0x50757e(0x149),'show':_0x50757e(0x172),'hide':'Ẩn','moveForward':_0x50757e(0x176),'moveBackward':_0x50757e(0x16f),'close':_0x50757e(0x16d),'name':_0x50757e(0x17a),'nameInput':_0x50757e(0x14d),'description':_0x50757e(0x14e),'descriptionPlaceholder':'Thêm\x20mô\x20tả','details':_0x50757e(0x155),'noSelection':_0x50757e(0x15c)},'toolbar':{'alignLeft':_0x50757e(0x169),'alignCenter':_0x50757e(0x173),'alignRight':_0x50757e(0x16a),'alignJustify':_0x50757e(0x166),'bold':_0x50757e(0x14a),'italic':_0x50757e(0x15e),'underline':_0x50757e(0x15d),'strikethrough':'Gạch\x20ngang','textColor':_0x50757e(0x170),'fillColor':_0x50757e(0x16b),'resetColor':_0x50757e(0x16c)},'align':{'top':_0x50757e(0x14c),'middle':'Căn\x20giữa\x20theo\x20chiều\x20dọc','bottom':_0x50757e(0x14f)},'textWrap':{'inline':_0x50757e(0x153),'square':_0x50757e(0x16e),'topAndBottom':_0x50757e(0x159),'behindText':_0x50757e(0x175),'inFrontText':'Phía\x20trước\x20văn\x20bản'},'crop':{'shape':_0x50757e(0x168)}}};}));
@@ -1 +1 @@
1
- (function(_0x1af6b4,_0x321fc8){var _0x3471a3=_0x5661,_0x968851=_0x1af6b4();while(!![]){try{var _0x346035=-parseInt(_0x3471a3(0x177))/0x1*(parseInt(_0x3471a3(0x188))/0x2)+parseInt(_0x3471a3(0x173))/0x3*(parseInt(_0x3471a3(0x175))/0x4)+-parseInt(_0x3471a3(0x178))/0x5+parseInt(_0x3471a3(0x16a))/0x6*(parseInt(_0x3471a3(0x186))/0x7)+parseInt(_0x3471a3(0x184))/0x8+parseInt(_0x3471a3(0x182))/0x9*(-parseInt(_0x3471a3(0x180))/0xa)+parseInt(_0x3471a3(0x190))/0xb*(parseInt(_0x3471a3(0x174))/0xc);if(_0x346035===_0x321fc8)break;else _0x968851['push'](_0x968851['shift']());}catch(_0x8aba7){_0x968851['push'](_0x968851['shift']());}}}(_0x39cd,0xa807f),function(_0x211de8,_0x34364e){var _0x3619b9=_0x5661;typeof exports==_0x3619b9(0x17a)&&typeof module<'u'?module['exports']=_0x34364e():typeof define==_0x3619b9(0x185)&&define[_0x3619b9(0x181)]?define([],_0x34364e):(_0x211de8=typeof globalThis<'u'?globalThis:_0x211de8||self,_0x211de8['UniverProDocsShapeUiZhCN']=_0x34364e());}(this,function(){var _0x2e2ff0=_0x5661;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'样式','delete':'删除'},'quickStyles':_0x2e2ff0(0x18b),'title':'形状','insertShape':'插入形状','openPanel':_0x2e2ff0(0x16e),'deleteShape':_0x2e2ff0(0x183),'hidePanel':_0x2e2ff0(0x18f),'formatShape':_0x2e2ff0(0x179),'shapeStyle':_0x2e2ff0(0x169),'shapePosition':_0x2e2ff0(0x168),'toggleFlipH':_0x2e2ff0(0x16f),'toggleFlipV':'切换垂直翻转','rotateRight90':'顺时针90度旋转','rotateLeft90':_0x2e2ff0(0x16b),'toggleTextVertical':_0x2e2ff0(0x189),'objectListPanel':{'title':'图层','open':'图层','empty':_0x2e2ff0(0x17b),'showAll':_0x2e2ff0(0x17c),'hideAll':_0x2e2ff0(0x18c),'show':'显示','hide':'隐藏','moveForward':_0x2e2ff0(0x166),'moveBackward':_0x2e2ff0(0x18e),'close':'关闭','name':'名称','nameInput':_0x2e2ff0(0x191),'description':'描述','descriptionPlaceholder':'添加描述','details':'详情','noSelection':_0x2e2ff0(0x17f)},'toolbar':{'alignLeft':'左对齐','alignCenter':_0x2e2ff0(0x17e),'alignRight':_0x2e2ff0(0x172),'alignJustify':'两端对齐','bold':'粗体','italic':'斜体','underline':_0x2e2ff0(0x170),'strikethrough':'删除线','textColor':_0x2e2ff0(0x18a),'fillColor':_0x2e2ff0(0x165),'resetColor':_0x2e2ff0(0x18d)},'align':{'top':_0x2e2ff0(0x171),'middle':_0x2e2ff0(0x176),'bottom':_0x2e2ff0(0x16c)},'textWrap':{'inline':_0x2e2ff0(0x16d),'square':'四周型','topAndBottom':_0x2e2ff0(0x17d),'behindText':_0x2e2ff0(0x167),'inFrontText':_0x2e2ff0(0x187)},'crop':{'shape':'裁剪为形状'}}};}));function _0x5661(_0xebbe2a,_0xe48fd){_0xebbe2a=_0xebbe2a-0x165;var _0x39cd5b=_0x39cd();var _0x566139=_0x39cd5b[_0xebbe2a];return _0x566139;}function _0x39cd(){var _0x575b8f=['切换水平翻转','下划线','顶部对齐','右对齐','1042923XKMJFj','21231756dZGMGG','4qvRKnz','垂直居中','57199GRpKOy','1064185owUarW','格式化形状','object','暂无对象','全部显示','上下型','居中对齐','选择对象以编辑详情','3890aymyFz','amd','9270CxGqBF','删除形状','2712864LMiIQU','function','7FeAKvl','浮于文字上方','46beURUw','切换文本竖排','文本颜色','快捷样式','全部隐藏','重置颜色','下移一层','隐藏形状面板','11AWCJsl','对象名称','文本背景色','上移一层','衬于文字下方','形状位置','形状样式','967662xtIkAG','逆时针90度旋转','底部对齐','嵌入型','打开形状面板'];_0x39cd=function(){return _0x575b8f;};return _0x39cd();}
1
+ function _0x1551(_0x46ef9b,_0x378558){_0x46ef9b=_0x46ef9b-0x65;var _0x5c2d33=_0x5c2d();var _0x1551a4=_0x5c2d33[_0x46ef9b];return _0x1551a4;}(function(_0x1573b0,_0x2a1cf1){var _0x10078a=_0x1551,_0x502ba4=_0x1573b0();while(!![]){try{var _0x440384=parseInt(_0x10078a(0x75))/0x1+parseInt(_0x10078a(0x7f))/0x2+parseInt(_0x10078a(0x69))/0x3+-parseInt(_0x10078a(0x7c))/0x4*(-parseInt(_0x10078a(0x66))/0x5)+-parseInt(_0x10078a(0x6f))/0x6*(-parseInt(_0x10078a(0x91))/0x7)+parseInt(_0x10078a(0x81))/0x8*(parseInt(_0x10078a(0x93))/0x9)+-parseInt(_0x10078a(0x70))/0xa*(parseInt(_0x10078a(0x8a))/0xb);if(_0x440384===_0x2a1cf1)break;else _0x502ba4['push'](_0x502ba4['shift']());}catch(_0x49d036){_0x502ba4['push'](_0x502ba4['shift']());}}}(_0x5c2d,0x4afa6),function(_0x177fd7,_0x338acd){var _0x40c9d4=_0x1551;typeof exports==_0x40c9d4(0x71)&&typeof module<'u'?module['exports']=_0x338acd():typeof define=='function'&&define[_0x40c9d4(0x80)]?define([],_0x338acd):(_0x177fd7=typeof globalThis<'u'?globalThis:_0x177fd7||self,_0x177fd7[_0x40c9d4(0x90)]=_0x338acd());}(this,function(){var _0x4adc41=_0x1551;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'样式','delete':'删除'},'quickStyles':_0x4adc41(0x6a),'title':'形状','insertShape':'插入形状','openPanel':_0x4adc41(0x8e),'deleteShape':_0x4adc41(0x77),'hidePanel':'隐藏形状面板','formatShape':_0x4adc41(0x7e),'shapeStyle':_0x4adc41(0x7b),'shapePosition':_0x4adc41(0x85),'toggleFlipH':_0x4adc41(0x6e),'toggleFlipV':_0x4adc41(0x92),'rotateRight90':_0x4adc41(0x86),'rotateLeft90':_0x4adc41(0x6d),'toggleTextVertical':_0x4adc41(0x87),'objectListPanel':{'title':'图层','open':'图层','empty':_0x4adc41(0x72),'showAll':_0x4adc41(0x7a),'hideAll':_0x4adc41(0x8c),'show':'显示','hide':'隐藏','moveForward':'上移一层','moveBackward':_0x4adc41(0x8b),'close':'关闭','name':'名称','nameInput':_0x4adc41(0x8d),'description':'描述','descriptionPlaceholder':_0x4adc41(0x68),'details':'详情','noSelection':_0x4adc41(0x74)},'toolbar':{'alignLeft':_0x4adc41(0x82),'alignCenter':_0x4adc41(0x83),'alignRight':_0x4adc41(0x67),'alignJustify':_0x4adc41(0x76),'bold':'粗体','italic':'斜体','underline':'下划线','strikethrough':_0x4adc41(0x78),'textColor':_0x4adc41(0x84),'fillColor':_0x4adc41(0x6b),'resetColor':_0x4adc41(0x89)},'align':{'top':_0x4adc41(0x79),'middle':_0x4adc41(0x88),'bottom':_0x4adc41(0x6c)},'textWrap':{'inline':'嵌入型','square':_0x4adc41(0x7d),'topAndBottom':_0x4adc41(0x8f),'behindText':_0x4adc41(0x73),'inFrontText':_0x4adc41(0x65)},'crop':{'shape':'裁剪为形状'}}};}));function _0x5c2d(){var _0x4e23bc=['下移一层','全部隐藏','对象名称','打开形状面板','上下型','UniverProDocsShapeUiZhCN','805MqGWgP','切换垂直翻转','4923vkwwZG','浮于文字上方','5sdgWCi','右对齐','添加描述','240534EnorMQ','快捷样式','文本背景色','底部对齐','逆时针90度旋转','切换水平翻转','8196epUlxc','10BIxOKZ','object','暂无对象','衬于文字下方','选择对象以编辑详情','172594btVEbY','两端对齐','删除形状','删除线','顶部对齐','全部显示','形状样式','1959864obmSwI','四周型','格式化形状','696636dGGYmS','amd','1480GLIAwX','左对齐','居中对齐','文本颜色','形状位置','顺时针90度旋转','切换文本竖排','垂直居中','重置颜色','11464541SuwPYv'];_0x5c2d=function(){return _0x4e23bc;};return _0x5c2d();}
@@ -1 +1 @@
1
- function _0x555e(){var _0x2c4b05=['全部顯示','垂直居中','逆時針\x2090\x20度旋轉','exports','打開形狀面板','與文字排列','UniverProDocsShapeUiZhHK','刪除線','5kAkFjt','切換水平翻轉','頂部對齊','2833696wWpyNn','2138404vdgGYf','2jrGuVP','530pqOCbQ','20741yZhhHd','894nJzCGH','圖形樣式','左對齊','2887023EpJHPr','下移一層','裁切為形狀','文字在前','右對齊','文字在後','物件名稱','文字背景色','全部隱藏','圖形位置','選擇物件以編輯詳情','1081623toDYZJ','重置顏色','155507alYUQb','快速樣式','function','472311DtOWTJ','新增描述','隱藏形狀面板'];_0x555e=function(){return _0x2c4b05;};return _0x555e();}function _0x55a4(_0x20f87e,_0x4b56d8){_0x20f87e=_0x20f87e-0x1dd;var _0x555e73=_0x555e();var _0x55a415=_0x555e73[_0x20f87e];return _0x55a415;}(function(_0x562a12,_0xe542a8){var _0x286e7f=_0x55a4,_0x5279fd=_0x562a12();while(!![]){try{var _0x4d5ab4=-parseInt(_0x286e7f(0x1de))/0x1*(-parseInt(_0x286e7f(0x1f3))/0x2)+parseInt(_0x286e7f(0x1f9))/0x3+parseInt(_0x286e7f(0x1f2))/0x4*(-parseInt(_0x286e7f(0x1ee))/0x5)+parseInt(_0x286e7f(0x1f6))/0x6*(parseInt(_0x286e7f(0x1f5))/0x7)+-parseInt(_0x286e7f(0x1f1))/0x8+-parseInt(_0x286e7f(0x1e3))/0x9+-parseInt(_0x286e7f(0x1f4))/0xa*(parseInt(_0x286e7f(0x1e0))/0xb);if(_0x4d5ab4===_0xe542a8)break;else _0x5279fd['push'](_0x5279fd['shift']());}catch(_0x596dc2){_0x5279fd['push'](_0x5279fd['shift']());}}}(_0x555e,0xc2112),function(_0x491389,_0x55d1e0){var _0x5cdbc2=_0x55a4;typeof exports=='object'&&typeof module<'u'?module[_0x5cdbc2(0x1e9)]=_0x55d1e0():typeof define==_0x5cdbc2(0x1e2)&&define['amd']?define([],_0x55d1e0):(_0x491389=typeof globalThis<'u'?globalThis:_0x491389||self,_0x491389[_0x5cdbc2(0x1ec)]=_0x55d1e0());}(this,function(){var _0x5e2c72=_0x55a4;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x5e2c72(0x1e1),'title':'形狀','insertShape':'插入形狀','openPanel':_0x5e2c72(0x1ea),'deleteShape':'刪除形狀','hidePanel':_0x5e2c72(0x1e5),'formatShape':'格式化形狀','shapeStyle':_0x5e2c72(0x1f7),'shapePosition':_0x5e2c72(0x202),'toggleFlipH':_0x5e2c72(0x1ef),'toggleFlipV':'切換垂直翻轉','rotateRight90':'順時針\x2090\x20度旋轉','rotateLeft90':_0x5e2c72(0x1e8),'toggleTextVertical':'切換文本豎排','objectListPanel':{'title':'圖層','open':'圖層','empty':'暫無物件','showAll':_0x5e2c72(0x1e6),'hideAll':_0x5e2c72(0x201),'show':'顯示','hide':'隱藏','moveForward':'上移一層','moveBackward':_0x5e2c72(0x1fa),'close':'關閉','name':'名稱','nameInput':_0x5e2c72(0x1ff),'description':'描述','descriptionPlaceholder':_0x5e2c72(0x1e4),'details':'詳情','noSelection':_0x5e2c72(0x1dd)},'toolbar':{'alignLeft':_0x5e2c72(0x1f8),'alignCenter':'居中對齊','alignRight':_0x5e2c72(0x1fd),'alignJustify':'兩端對齊','bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x5e2c72(0x1ed),'textColor':'文字顏色','fillColor':_0x5e2c72(0x200),'resetColor':_0x5e2c72(0x1df)},'align':{'top':_0x5e2c72(0x1f0),'middle':_0x5e2c72(0x1e7),'bottom':'底部對齊'},'textWrap':{'inline':_0x5e2c72(0x1eb),'square':'矩形','topAndBottom':'上及下','behindText':_0x5e2c72(0x1fc),'inFrontText':_0x5e2c72(0x1fe)},'crop':{'shape':_0x5e2c72(0x1fb)}}};}));
1
+ (function(_0xe1adeb,_0x457f6b){var _0x567c95=_0x2777,_0x178088=_0xe1adeb();while(!![]){try{var _0x3bd9ae=-parseInt(_0x567c95(0x13c))/0x1*(-parseInt(_0x567c95(0x13b))/0x2)+-parseInt(_0x567c95(0x148))/0x3*(parseInt(_0x567c95(0x155))/0x4)+-parseInt(_0x567c95(0x131))/0x5*(parseInt(_0x567c95(0x141))/0x6)+-parseInt(_0x567c95(0x156))/0x7+-parseInt(_0x567c95(0x13f))/0x8*(parseInt(_0x567c95(0x134))/0x9)+parseInt(_0x567c95(0x142))/0xa*(parseInt(_0x567c95(0x12c))/0xb)+-parseInt(_0x567c95(0x143))/0xc;if(_0x3bd9ae===_0x457f6b)break;else _0x178088['push'](_0x178088['shift']());}catch(_0x37539a){_0x178088['push'](_0x178088['shift']());}}}(_0x1f0e,0x82a52),function(_0x278b90,_0x476cca){var _0x2ea015=_0x2777;typeof exports==_0x2ea015(0x14d)&&typeof module<'u'?module[_0x2ea015(0x146)]=_0x476cca():typeof define==_0x2ea015(0x13e)&&define[_0x2ea015(0x14a)]?define([],_0x476cca):(_0x278b90=typeof globalThis<'u'?globalThis:_0x278b90||self,_0x278b90['UniverProDocsShapeUiZhHK']=_0x476cca());}(this,function(){var _0xf24d52=_0x2777;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':'快速樣式','title':'形狀','insertShape':'插入形狀','openPanel':_0xf24d52(0x147),'deleteShape':_0xf24d52(0x144),'hidePanel':'隱藏形狀面板','formatShape':_0xf24d52(0x151),'shapeStyle':_0xf24d52(0x14b),'shapePosition':_0xf24d52(0x137),'toggleFlipH':'切換水平翻轉','toggleFlipV':_0xf24d52(0x12d),'rotateRight90':_0xf24d52(0x149),'rotateLeft90':_0xf24d52(0x14c),'toggleTextVertical':_0xf24d52(0x135),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0xf24d52(0x12f),'showAll':_0xf24d52(0x139),'hideAll':_0xf24d52(0x13a),'show':'顯示','hide':'隱藏','moveForward':_0xf24d52(0x138),'moveBackward':'下移一層','close':'關閉','name':'名稱','nameInput':_0xf24d52(0x133),'description':'描述','descriptionPlaceholder':_0xf24d52(0x145),'details':'詳情','noSelection':_0xf24d52(0x130)},'toolbar':{'alignLeft':_0xf24d52(0x14e),'alignCenter':_0xf24d52(0x153),'alignRight':_0xf24d52(0x132),'alignJustify':_0xf24d52(0x136),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0xf24d52(0x152),'textColor':_0xf24d52(0x14f),'fillColor':_0xf24d52(0x13d),'resetColor':_0xf24d52(0x150)},'align':{'top':_0xf24d52(0x154),'middle':_0xf24d52(0x140),'bottom':'底部對齊'},'textWrap':{'inline':'與文字排列','square':'矩形','topAndBottom':'上及下','behindText':'文字在前','inFrontText':'文字在後'},'crop':{'shape':_0xf24d52(0x12e)}}};}));function _0x2777(_0x26d6b3,_0x5eb909){_0x26d6b3=_0x26d6b3-0x12c;var _0x1f0e4c=_0x1f0e();var _0x27774a=_0x1f0e4c[_0x26d6b3];return _0x27774a;}function _0x1f0e(){var _0x4f226a=['exports','打開形狀面板','11406lWxvrb','順時針\x2090\x20度旋轉','amd','圖形樣式','逆時針\x2090\x20度旋轉','object','左對齊','文字顏色','重置顏色','格式化形狀','刪除線','居中對齊','頂部對齊','12sbtwrw','1546419KvaoZP','583FRcOdc','切換垂直翻轉','裁切為形狀','暫無物件','選擇物件以編輯詳情','215lKGQMW','右對齊','物件名稱','1197pxszja','切換文本豎排','兩端對齊','圖形位置','上移一層','全部顯示','全部隱藏','591402nWsmMc','3iJcAgv','文字背景色','function','296TTYHMB','垂直居中','14898gKywCV','94490MNmJFc','6105180hkqCrB','刪除形狀','新增描述'];_0x1f0e=function(){return _0x4f226a;};return _0x1f0e();}
@@ -1 +1 @@
1
- (function(_0x2fd2bd,_0x24b4d1){var _0x4570f3=_0x5f10,_0x45fb1d=_0x2fd2bd();while(!![]){try{var _0x40188d=-parseInt(_0x4570f3(0x182))/0x1+-parseInt(_0x4570f3(0x18b))/0x2*(parseInt(_0x4570f3(0x178))/0x3)+parseInt(_0x4570f3(0x19e))/0x4*(parseInt(_0x4570f3(0x1a2))/0x5)+parseInt(_0x4570f3(0x185))/0x6+-parseInt(_0x4570f3(0x192))/0x7*(-parseInt(_0x4570f3(0x187))/0x8)+parseInt(_0x4570f3(0x195))/0x9+parseInt(_0x4570f3(0x17b))/0xa*(-parseInt(_0x4570f3(0x184))/0xb);if(_0x40188d===_0x24b4d1)break;else _0x45fb1d['push'](_0x45fb1d['shift']());}catch(_0x237b89){_0x45fb1d['push'](_0x45fb1d['shift']());}}}(_0x25c6,0x9cc3d),function(_0x746b8,_0x30f4cc){var _0xda5a2a=_0x5f10;typeof exports==_0xda5a2a(0x19a)&&typeof module<'u'?module[_0xda5a2a(0x1a4)]=_0x30f4cc():typeof define==_0xda5a2a(0x18d)&&define[_0xda5a2a(0x188)]?define([],_0x30f4cc):(_0x746b8=typeof globalThis<'u'?globalThis:_0x746b8||self,_0x746b8[_0xda5a2a(0x194)]=_0x30f4cc());}(this,function(){var _0x3fa754=_0x5f10;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':'快捷樣式','title':'形狀','insertShape':_0x3fa754(0x18e),'openPanel':_0x3fa754(0x19d),'deleteShape':_0x3fa754(0x191),'hidePanel':'隱藏形狀面板','formatShape':_0x3fa754(0x17d),'shapeStyle':_0x3fa754(0x179),'shapePosition':_0x3fa754(0x17e),'toggleFlipH':_0x3fa754(0x1a0),'toggleFlipV':_0x3fa754(0x193),'rotateRight90':_0x3fa754(0x199),'rotateLeft90':_0x3fa754(0x17c),'toggleTextVertical':_0x3fa754(0x18a),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0x3fa754(0x196),'showAll':_0x3fa754(0x190),'hideAll':'全部隱藏','show':'顯示','hide':'隱藏','moveForward':'上移一層','moveBackward':_0x3fa754(0x180),'close':'關閉','name':'名稱','nameInput':'物件名稱','description':'描述','descriptionPlaceholder':'新增描述','details':_0x3fa754(0x183),'noSelection':_0x3fa754(0x197)},'toolbar':{'alignLeft':_0x3fa754(0x177),'alignCenter':'居中對齊','alignRight':_0x3fa754(0x18f),'alignJustify':_0x3fa754(0x19c),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x3fa754(0x189),'textColor':_0x3fa754(0x18c),'fillColor':_0x3fa754(0x186),'resetColor':_0x3fa754(0x1a1)},'align':{'top':_0x3fa754(0x17a),'middle':_0x3fa754(0x19f),'bottom':_0x3fa754(0x19b)},'textWrap':{'inline':_0x3fa754(0x198),'square':'矩形','topAndBottom':_0x3fa754(0x181),'behindText':_0x3fa754(0x1a3),'inFrontText':_0x3fa754(0x17f)},'crop':{'shape':'裁切為形狀'}}};}));function _0x5f10(_0x93c63,_0x228473){_0x93c63=_0x93c63-0x177;var _0x25c674=_0x25c6();var _0x5f1081=_0x25c674[_0x93c63];return _0x5f1081;}function _0x25c6(){var _0x4feaa2=['全部顯示','刪除形狀','3675371NenUGk','切換垂直翻轉','UniverProDocsShapeUiZhTW','10748286OQEnEZ','暫無物件','選取物件以編輯詳細資料','與文字排列','順時針\x2090\x20度旋轉','object','底部對齊','兩端對齊','打開形狀面板','1792416WNxmAS','垂直居中','切換水平翻轉','重置顏色','10uqYWsi','文字在前','exports','左對齊','40422lFFOAE','圖形樣式','頂部對齊','30Hvstrk','逆時針\x2090\x20度旋轉','格式化形狀','圖形位置','文字在後','下移一層','上及下','1138584YQKVEC','詳細資料','3048694AsrpZz','869124jFywte','文字背景色','8ScOGPc','amd','刪除線','切換文本竖排','22SfzNvM','文字顏色','function','插入形狀','右對齊'];_0x25c6=function(){return _0x4feaa2;};return _0x25c6();}
1
+ function _0x4485(_0x5cf2ed,_0x5b1523){_0x5cf2ed=_0x5cf2ed-0xed;var _0xf7a779=_0xf7a7();var _0x4485c2=_0xf7a779[_0x5cf2ed];return _0x4485c2;}function _0xf7a7(){var _0x4ccd19=['重置顏色','格式化形狀','上移一層','與文字排列','圖形樣式','182950yWnHxA','裁切為形狀','上及下','切換文本竖排','全部顯示','切換水平翻轉','右對齊','選取物件以編輯詳細資料','1083128lqNbHa','快捷樣式','隱藏形狀面板','插入形狀','刪除線','12ZpyFgH','順時針\x2090\x20度旋轉','1498707NHwvfl','2485440heNeBA','277005FMLjQh','文字顏色','暫無物件','文字在後','object','詳細資料','圖形位置','exports','左對齊','切換垂直翻轉','1472946KBCYoT','刪除形狀','UniverProDocsShapeUiZhTW','兩端對齊','打開形狀面板','4802152lLawWi','function','文字在前','2iJRavf','文字背景色'];_0xf7a7=function(){return _0x4ccd19;};return _0xf7a7();}(function(_0xcc4767,_0x30c445){var _0x484769=_0x4485,_0x105de5=_0xcc4767();while(!![]){try{var _0x1d3a54=-parseInt(_0x484769(0x111))/0x1+parseInt(_0x484769(0xf9))/0x2*(parseInt(_0x484769(0xf1))/0x3)+-parseInt(_0x484769(0x108))/0x4+-parseInt(_0x484769(0x100))/0x5+parseInt(_0x484769(0x10d))/0x6*(-parseInt(_0x484769(0x10f))/0x7)+parseInt(_0x484769(0xf6))/0x8+parseInt(_0x484769(0x110))/0x9;if(_0x1d3a54===_0x30c445)break;else _0x105de5['push'](_0x105de5['shift']());}catch(_0x3a1cc1){_0x105de5['push'](_0x105de5['shift']());}}}(_0xf7a7,0x56a10),function(_0x1bd138,_0x3caf1c){var _0x1b5464=_0x4485;typeof exports==_0x1b5464(0x115)&&typeof module<'u'?module[_0x1b5464(0xee)]=_0x3caf1c():typeof define==_0x1b5464(0xf7)&&define['amd']?define([],_0x3caf1c):(_0x1bd138=typeof globalThis<'u'?globalThis:_0x1bd138||self,_0x1bd138[_0x1b5464(0xf3)]=_0x3caf1c());}(this,function(){var _0x3207e4=_0x4485;return{'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x3207e4(0x109),'title':'形狀','insertShape':_0x3207e4(0x10b),'openPanel':_0x3207e4(0xf5),'deleteShape':_0x3207e4(0xf2),'hidePanel':_0x3207e4(0x10a),'formatShape':_0x3207e4(0xfc),'shapeStyle':_0x3207e4(0xff),'shapePosition':_0x3207e4(0xed),'toggleFlipH':_0x3207e4(0x105),'toggleFlipV':_0x3207e4(0xf0),'rotateRight90':_0x3207e4(0x10e),'rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':_0x3207e4(0x103),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0x3207e4(0x113),'showAll':_0x3207e4(0x104),'hideAll':'全部隱藏','show':'顯示','hide':'隱藏','moveForward':_0x3207e4(0xfd),'moveBackward':'下移一層','close':'關閉','name':'名稱','nameInput':'物件名稱','description':'描述','descriptionPlaceholder':'新增描述','details':_0x3207e4(0x116),'noSelection':_0x3207e4(0x107)},'toolbar':{'alignLeft':_0x3207e4(0xef),'alignCenter':'居中對齊','alignRight':_0x3207e4(0x106),'alignJustify':_0x3207e4(0xf4),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x3207e4(0x10c),'textColor':_0x3207e4(0x112),'fillColor':_0x3207e4(0xfa),'resetColor':_0x3207e4(0xfb)},'align':{'top':'頂部對齊','middle':'垂直居中','bottom':'底部對齊'},'textWrap':{'inline':_0x3207e4(0xfe),'square':'矩形','topAndBottom':_0x3207e4(0x102),'behindText':_0x3207e4(0xf8),'inFrontText':_0x3207e4(0x114)},'crop':{'shape':_0x3207e4(0x101)}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-shape-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Shape and drawing UI integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -57,28 +57,28 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/docs-shape": "1.0.0",
61
- "@univerjs-pro/engine-shape": "1.0.0",
62
- "@univerjs-pro/license": "1.0.0",
63
- "@univerjs-pro/shape-editor": "1.0.0",
64
- "@univerjs-pro/shape-editor-ui": "1.0.0",
65
- "@univerjs/core": "1.0.0",
66
- "@univerjs/design": "1.0.0",
67
- "@univerjs/docs": "1.0.0",
68
- "@univerjs/docs-drawing": "1.0.0",
69
- "@univerjs/docs-drawing-ui": "1.0.0",
70
- "@univerjs/docs-ui": "1.0.0",
71
- "@univerjs/drawing": "1.0.0",
72
- "@univerjs/drawing-ui": "1.0.0",
73
- "@univerjs/engine-render": "1.0.0",
60
+ "@univerjs-pro/docs-shape": "1.0.1",
61
+ "@univerjs-pro/engine-shape": "1.0.1",
62
+ "@univerjs-pro/license": "1.0.1",
63
+ "@univerjs-pro/shape-editor": "1.0.1",
64
+ "@univerjs-pro/shape-editor-ui": "1.0.1",
65
+ "@univerjs/core": "1.0.1",
66
+ "@univerjs/design": "1.0.1",
67
+ "@univerjs/docs": "1.0.1",
68
+ "@univerjs/docs-drawing": "1.0.1",
69
+ "@univerjs/docs-drawing-ui": "1.0.1",
70
+ "@univerjs/docs-ui": "1.0.1",
71
+ "@univerjs/drawing": "1.0.1",
72
+ "@univerjs/drawing-ui": "1.0.1",
73
+ "@univerjs/engine-render": "1.0.1",
74
74
  "@univerjs/icons": "1.43.0",
75
- "@univerjs/protocol": "1.0.0",
76
- "@univerjs/ui": "1.0.0"
75
+ "@univerjs/protocol": "1.0.1",
76
+ "@univerjs/ui": "1.0.1"
77
77
  },
78
78
  "devDependencies": {
79
- "@univerjs-infra/shared": "1.0.0",
80
- "@univerjs-pro/engine-formula": "1.0.0",
81
- "@univerjs/engine-formula": "1.0.0",
79
+ "@univerjs-infra/shared": "1.0.1",
80
+ "@univerjs-pro/engine-formula": "1.0.1",
81
+ "@univerjs/engine-formula": "1.0.1",
82
82
  "postcss": "^8.5.26",
83
83
  "react": "18.3.1",
84
84
  "rxjs": "7.8.2",
@@ -1,7 +0,0 @@
1
- import type { MenuConfig } from '@univerjs/ui';
2
- export declare const DOCS_SHAPE_UI_PLUGIN_CONFIG_KEY = "docs-shape-ui.config";
3
- export declare const configSymbol: unique symbol;
4
- export interface IUniverDocsShapeUIConfig {
5
- menu?: MenuConfig;
6
- }
7
- export declare const defaultPluginConfig: IUniverDocsShapeUIConfig;
@@ -1,64 +0,0 @@
1
- import { DocsShapeService } from '@univerjs-pro/docs-shape';
2
- import { Disposable, DrawingTypeEnum, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
3
- import { DocCanvasPopManagerService } from '@univerjs/docs-ui';
4
- import { IDrawingManagerService } from '@univerjs/drawing';
5
- import { IRenderManagerService } from '@univerjs/engine-render';
6
- import { ComponentManager, IMenuManagerService, ISidebarService } from '@univerjs/ui';
7
- import { ShapeTextEditingService } from '../services/shape-text-editing.service';
8
- export declare class DocsShapeUIController extends Disposable {
9
- private readonly _univerInstanceService;
10
- private _sidebarService;
11
- protected readonly _menuManagerService: IMenuManagerService;
12
- private _docsShapeService;
13
- private readonly _localeService;
14
- private _componentManager;
15
- private readonly _commandService;
16
- private _drawingManagerService;
17
- private readonly _docCanvasPopManagerService;
18
- private readonly _renderManagerService;
19
- private readonly _contextService;
20
- private readonly _shapeTextEditingService;
21
- private _sidebarDisposable;
22
- private _activeShapeInfo;
23
- private _isOpenedShapeEditPanel;
24
- private _initializedShapePopupMenu;
25
- private _disposePopups;
26
- constructor(_univerInstanceService: IUniverInstanceService, _sidebarService: ISidebarService, _menuManagerService: IMenuManagerService, _docsShapeService: DocsShapeService, _localeService: LocaleService, _componentManager: ComponentManager, _commandService: ICommandService, _drawingManagerService: IDrawingManagerService, _docCanvasPopManagerService: DocCanvasPopManagerService, _renderManagerService: IRenderManagerService, _contextService: IContextService, _shapeTextEditingService: ShapeTextEditingService);
27
- private _initMenu;
28
- private _initShapePopupMenu;
29
- getShapePopupMenus(unitId: string, subUnitId: string, drawingId: string, drawingType: DrawingTypeEnum): ({
30
- label: string;
31
- index: number;
32
- commandId: string;
33
- commandParams: {
34
- unitId: string;
35
- subUnitId: string;
36
- drawingId: string;
37
- drawings?: undefined;
38
- };
39
- disable: boolean;
40
- } | {
41
- label: string;
42
- index: number;
43
- commandId: string;
44
- commandParams: {
45
- unitId: string;
46
- drawings: {
47
- unitId: string;
48
- subUnitId: string;
49
- drawingId: string;
50
- }[];
51
- subUnitId?: undefined;
52
- drawingId?: undefined;
53
- };
54
- disable: boolean;
55
- })[];
56
- private _getShapeInfo;
57
- private _createShapePopupMenu;
58
- private _clearPopups;
59
- private _popupMenuListener;
60
- private _registerOperations;
61
- private _registerComponent;
62
- private _openShapeEditPanel;
63
- private _closeShapeEditPanel;
64
- }
@@ -1,2 +0,0 @@
1
- import type { MenuSchemaType } from '@univerjs/ui';
2
- export declare const menuSchema: MenuSchemaType;
@@ -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,30 +0,0 @@
1
- import { ShapeFillEnum, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- export declare const shapeFillOptions: {
3
- label: string;
4
- value: ShapeFillEnum;
5
- }[];
6
- export declare const shapeTypeOptions: (ShapeTypeEnum | {
7
- type: ShapeTypeEnum;
8
- endArrow: boolean;
9
- startArrow?: undefined;
10
- horizontal?: undefined;
11
- vertical?: undefined;
12
- } | {
13
- type: ShapeTypeEnum;
14
- endArrow: boolean;
15
- startArrow: boolean;
16
- horizontal?: undefined;
17
- vertical?: undefined;
18
- } | {
19
- type: ShapeTypeEnum;
20
- horizontal: boolean;
21
- endArrow?: undefined;
22
- startArrow?: undefined;
23
- vertical?: undefined;
24
- } | {
25
- type: ShapeTypeEnum;
26
- vertical: boolean;
27
- endArrow?: undefined;
28
- startArrow?: undefined;
29
- horizontal?: undefined;
30
- })[];
@@ -1,11 +0,0 @@
1
- import type { IShapeData } from '@univerjs-pro/engine-shape';
2
- interface IShapeLineProps {
3
- unitId: string;
4
- subUnitId: string;
5
- shapeId: string;
6
- shapeData: IShapeData;
7
- isLineShape: boolean;
8
- disableShapeOption: boolean;
9
- }
10
- export declare function ShapeLineEditor(props: IShapeLineProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1 +0,0 @@
1
- export { ShapeEditPanel } from './ShapeEditorPanel';
@@ -1,10 +0,0 @@
1
- import type { IShapeData } from '@univerjs-pro/engine-shape';
2
- import type { ITextStyle } from '@univerjs/core';
3
- import { HorizontalAlign, VerticalAlign } from '@univerjs/core';
4
- interface IShapeTextUpdateOptions {
5
- textStyle?: ITextStyle;
6
- verticalAlign?: VerticalAlign;
7
- horizontalAlign?: HorizontalAlign;
8
- }
9
- export declare function buildShapeTextDataUpdate(shapeData: IShapeData, options: IShapeTextUpdateOptions): IShapeData;
10
- export {};
@@ -1,21 +0,0 @@
1
- import type { IKeyboardEventConfig } from '@univerjs/docs-ui';
2
- import type { CSSProperties } from 'react';
3
- import { ICommandService } from '@univerjs/core';
4
- export interface IShapeEditorProps {
5
- containerWidth: number;
6
- containerHeight: number;
7
- scaleX: number;
8
- scaleY: number;
9
- }
10
- export declare function getShapeTextEditorContentStyle(containerWidth: number, containerHeight: number): CSSProperties;
11
- export declare function applyShapeTextEditorCanvasTransparency(renderer: {
12
- engine?: {
13
- getCanvasElement?: () => HTMLElement | null;
14
- };
15
- } | null | undefined | void): void;
16
- export declare function getShapeTextEditorKeyboardConfig(commandService: Pick<ICommandService, 'executeCommand'>): IKeyboardEventConfig;
17
- /**
18
- * Shape editor component - second layer DOM.
19
- * Handles document editing, content height tracking, and vertical alignment.
20
- */
21
- export declare const ShapeEditor: (props: IShapeEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export interface IShapePositionWrapperProps {
3
- children: ReactNode;
4
- onPositionUpdate?: (position: {
5
- width: number;
6
- height: number;
7
- scaleX: number;
8
- scaleY: number;
9
- }) => void;
10
- }
11
- /**
12
- * Position wrapper component that handles shape positioning in DOM.
13
- * This is the first layer DOM that tracks shape position with scroll.
14
- */
15
- export declare const ShapePositionWrapper: import("react").MemoExoticComponent<(props: IShapePositionWrapperProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1 +0,0 @@
1
- export declare function ShapeTextFloatToolbar(): import("react/jsx-runtime").JSX.Element;
@@ -1,29 +0,0 @@
1
- import type { IEditingParams } from '../../../services/shape-text-editing.service';
2
- import type { Nullable } from '@univerjs/core';
3
- import type { Scene } from '@univerjs/engine-render';
4
- export interface IShapePosition {
5
- left: number;
6
- top: number;
7
- width: number;
8
- height: number;
9
- angle: number;
10
- scaleX: number;
11
- scaleY: number;
12
- }
13
- export interface IShapePositionResult {
14
- position: IShapePosition;
15
- updatePosition: () => void;
16
- }
17
- export declare function calcShapePosition(shapeLeft: number, shapeTop: number, shapeWidth: number, shapeHeight: number, shapeAngle: number, scene: Scene): IShapePosition;
18
- export interface IUseShapePositionOptions {
19
- editingParams: Nullable<IEditingParams>;
20
- scene: Nullable<Scene>;
21
- getShapeTransform: () => Nullable<{
22
- left: number;
23
- top: number;
24
- width: number;
25
- height: number;
26
- angle: number;
27
- }>;
28
- }
29
- export declare function useShapePosition(options: IUseShapePositionOptions): IShapePositionResult;
@@ -1,58 +0,0 @@
1
- import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- export declare enum ShapeGroupEnum {
3
- Line = "line",
4
- Rectangle = "rectangle",
5
- BasicShape = "basicShape",
6
- BlockArrow = "blockArrow",
7
- EquationShape = "equationShape",
8
- Flowchart = "flowchart",
9
- StarAndBanner = "starAndBanner",
10
- Callout = "callout",
11
- Other = "other"
12
- }
13
- export declare const shapeTypeOptions: ({
14
- group: ShapeGroupEnum;
15
- type: ShapeTypeEnum;
16
- icon: string;
17
- name: string;
18
- endArrow?: undefined;
19
- startArrow?: undefined;
20
- horizontal?: undefined;
21
- vertical?: undefined;
22
- } | {
23
- group: ShapeGroupEnum;
24
- type: ShapeTypeEnum;
25
- icon: string;
26
- name: string;
27
- endArrow: boolean;
28
- startArrow?: undefined;
29
- horizontal?: undefined;
30
- vertical?: undefined;
31
- } | {
32
- group: ShapeGroupEnum;
33
- type: ShapeTypeEnum;
34
- icon: string;
35
- name: string;
36
- endArrow: boolean;
37
- startArrow: boolean;
38
- horizontal?: undefined;
39
- vertical?: undefined;
40
- } | {
41
- group: ShapeGroupEnum;
42
- type: ShapeTypeEnum;
43
- icon: string;
44
- name: string;
45
- horizontal: boolean;
46
- endArrow?: undefined;
47
- startArrow?: undefined;
48
- vertical?: undefined;
49
- } | {
50
- group: ShapeGroupEnum;
51
- type: ShapeTypeEnum;
52
- icon: string;
53
- name: string;
54
- vertical: boolean;
55
- endArrow?: undefined;
56
- startArrow?: undefined;
57
- horizontal?: undefined;
58
- })[];