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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) 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/commands/command/update-doc-drawing-metadata.command.d.ts +15 -0
  62. package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
  63. package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
  64. package/lib/types/view-model/drawing-shape.d.ts +2 -0
  65. package/lib/types/view-model/shape-data-model.d.ts +8 -0
  66. package/lib/types/views/ShapeOptions.d.ts +26 -0
  67. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
  68. package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
  69. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +1 -0
  70. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
  71. package/lib/types/views/shapes.d.ts +58 -0
  72. package/lib/umd/index.js +1 -1
  73. package/lib/umd/locale/ar-SA.js +1 -1
  74. package/lib/umd/locale/ca-ES.js +1 -1
  75. package/lib/umd/locale/de-DE.js +1 -1
  76. package/lib/umd/locale/en-US.js +1 -1
  77. package/lib/umd/locale/es-ES.js +1 -1
  78. package/lib/umd/locale/fa-IR.js +1 -1
  79. package/lib/umd/locale/fr-FR.js +1 -1
  80. package/lib/umd/locale/id-ID.js +1 -1
  81. package/lib/umd/locale/it-IT.js +1 -1
  82. package/lib/umd/locale/ja-JP.js +1 -1
  83. package/lib/umd/locale/ko-KR.js +1 -1
  84. package/lib/umd/locale/pl-PL.js +1 -1
  85. package/lib/umd/locale/pt-BR.js +1 -1
  86. package/lib/umd/locale/ru-RU.js +1 -1
  87. package/lib/umd/locale/sk-SK.js +1 -1
  88. package/lib/umd/locale/vi-VN.js +1 -1
  89. package/lib/umd/locale/zh-CN.js +1 -1
  90. package/lib/umd/locale/zh-HK.js +1 -1
  91. package/lib/umd/locale/zh-TW.js +1 -1
  92. package/package.json +21 -21
@@ -1 +1 @@
1
- const _0x3637e1=_0x47f7;(function(_0x5088ca,_0x536246){const _0x5e7edb=_0x47f7,_0xd09f7f=_0x5088ca();while(!![]){try{const _0x489d00=-parseInt(_0x5e7edb(0x113))/0x1*(parseInt(_0x5e7edb(0x127))/0x2)+parseInt(_0x5e7edb(0x110))/0x3*(-parseInt(_0x5e7edb(0x11d))/0x4)+parseInt(_0x5e7edb(0x11a))/0x5*(parseInt(_0x5e7edb(0x118))/0x6)+parseInt(_0x5e7edb(0x12e))/0x7*(parseInt(_0x5e7edb(0x12c))/0x8)+parseInt(_0x5e7edb(0x115))/0x9*(parseInt(_0x5e7edb(0x125))/0xa)+parseInt(_0x5e7edb(0x122))/0xb+parseInt(_0x5e7edb(0x11e))/0xc*(-parseInt(_0x5e7edb(0x130))/0xd);if(_0x489d00===_0x536246)break;else _0xd09f7f['push'](_0xd09f7f['shift']());}catch(_0x457073){_0xd09f7f['push'](_0xd09f7f['shift']());}}}(_0x51c7,0x70499));function _0x47f7(_0x3fe07b,_0x51c601){_0x3fe07b=_0x3fe07b-0x10b;const _0x51c7de=_0x51c7();let _0x47f7f6=_0x51c7de[_0x3fe07b];return _0x47f7f6;}const e={'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x3637e1(0x11c),'title':'形狀','insertShape':_0x3637e1(0x124),'openPanel':'打開形狀面板','deleteShape':_0x3637e1(0x10d),'hidePanel':_0x3637e1(0x111),'formatShape':_0x3637e1(0x10c),'shapeStyle':'圖形樣式','shapePosition':'圖形位置','toggleFlipH':'切換水平翻轉','toggleFlipV':_0x3637e1(0x12b),'rotateRight90':'順時針\x2090\x20度旋轉','rotateLeft90':'逆時針\x2090\x20度旋轉','toggleTextVertical':_0x3637e1(0x129),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0x3637e1(0x12d),'showAll':_0x3637e1(0x11b),'hideAll':_0x3637e1(0x10f),'show':'顯示','hide':'隱藏','moveForward':'上移一層','moveBackward':_0x3637e1(0x114),'close':'關閉','name':'名稱','nameInput':'物件名稱','description':'描述','descriptionPlaceholder':'新增描述','details':'詳情','noSelection':_0x3637e1(0x10b)},'toolbar':{'alignLeft':_0x3637e1(0x128),'alignCenter':_0x3637e1(0x11f),'alignRight':_0x3637e1(0x116),'alignJustify':'兩端對齊','bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x3637e1(0x117),'textColor':'文字顏色','fillColor':_0x3637e1(0x12a),'resetColor':_0x3637e1(0x10e)},'align':{'top':_0x3637e1(0x119),'middle':_0x3637e1(0x123),'bottom':_0x3637e1(0x121)},'textWrap':{'inline':'與文字排列','square':'矩形','topAndBottom':_0x3637e1(0x126),'behindText':_0x3637e1(0x12f),'inFrontText':_0x3637e1(0x112)},'crop':{'shape':_0x3637e1(0x120)}}};export{e as default};function _0x51c7(){const _0x11f873=['20qQOYCY','1812sCQuOC','居中對齊','裁切為形狀','底部對齊','5044974ldMhXh','垂直居中','插入形狀','4990IWPrAm','上及下','10702VqdNuq','左對齊','切換文本豎排','文字背景色','切換垂直翻轉','643192pWdNcM','暫無物件','21JjUhCD','文字在前','29653yrBRwx','選擇物件以編輯詳情','格式化形狀','刪除形狀','重置顏色','全部隱藏','282927SAmuvV','隱藏形狀面板','文字在後','92GIwWIS','下移一層','6129zFNDIc','右對齊','刪除線','18JLccDL','頂部對齊','1214245KzLaRE','全部顯示','快速樣式'];_0x51c7=function(){return _0x11f873;};return _0x51c7();}
1
+ const _0x3746f1=_0x264f;(function(_0x5920a4,_0x2edc39){const _0x140ca4=_0x264f,_0xe3a598=_0x5920a4();while(!![]){try{const _0x4b4e24=-parseInt(_0x140ca4(0xa0))/0x1*(parseInt(_0x140ca4(0xaf))/0x2)+parseInt(_0x140ca4(0xb5))/0x3*(-parseInt(_0x140ca4(0xa8))/0x4)+parseInt(_0x140ca4(0x9d))/0x5*(parseInt(_0x140ca4(0xb0))/0x6)+parseInt(_0x140ca4(0xb9))/0x7+-parseInt(_0x140ca4(0x9f))/0x8+-parseInt(_0x140ca4(0xa2))/0x9*(parseInt(_0x140ca4(0xbd))/0xa)+parseInt(_0x140ca4(0x9a))/0xb*(parseInt(_0x140ca4(0xad))/0xc);if(_0x4b4e24===_0x2edc39)break;else _0xe3a598['push'](_0xe3a598['shift']());}catch(_0x548b69){_0xe3a598['push'](_0xe3a598['shift']());}}}(_0x4420,0xf1312));const e={'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x3746f1(0x9b),'title':'形狀','insertShape':'插入形狀','openPanel':_0x3746f1(0xa1),'deleteShape':'刪除形狀','hidePanel':_0x3746f1(0xb2),'formatShape':'格式化形狀','shapeStyle':_0x3746f1(0xa4),'shapePosition':_0x3746f1(0xbe),'toggleFlipH':'切換水平翻轉','toggleFlipV':_0x3746f1(0xb7),'rotateRight90':_0x3746f1(0xb8),'rotateLeft90':_0x3746f1(0xa7),'toggleTextVertical':_0x3746f1(0xbb),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0x3746f1(0xa5),'showAll':_0x3746f1(0x9c),'hideAll':_0x3746f1(0xa6),'show':'顯示','hide':'隱藏','moveForward':_0x3746f1(0xb6),'moveBackward':_0x3746f1(0xc0),'close':'關閉','name':'名稱','nameInput':_0x3746f1(0xa3),'description':'描述','descriptionPlaceholder':'新增描述','details':'詳情','noSelection':_0x3746f1(0xae)},'toolbar':{'alignLeft':_0x3746f1(0xb1),'alignCenter':_0x3746f1(0xa9),'alignRight':_0x3746f1(0x99),'alignJustify':_0x3746f1(0xba),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':'刪除線','textColor':'文字顏色','fillColor':_0x3746f1(0xbc),'resetColor':_0x3746f1(0xb3)},'align':{'top':'頂部對齊','middle':_0x3746f1(0xab),'bottom':_0x3746f1(0xb4)},'textWrap':{'inline':_0x3746f1(0x9e),'square':'矩形','topAndBottom':'上及下','behindText':_0x3746f1(0xac),'inFrontText':_0x3746f1(0xbf)},'crop':{'shape':_0x3746f1(0xaa)}}};export{e as default};function _0x264f(_0x1c7007,_0x4b9c98){_0x1c7007=_0x1c7007-0x99;const _0x442004=_0x4420();let _0x264f9c=_0x442004[_0x1c7007];return _0x264f9c;}function _0x4420(){const _0x456a05=['底部對齊','2525619pngvIx','上移一層','切換垂直翻轉','順時針\x2090\x20度旋轉','12106766gnuVRd','兩端對齊','切換文本豎排','文字背景色','20BdiuQO','圖形位置','文字在後','下移一層','右對齊','946KkWvyu','快速樣式','全部顯示','19535wetoUB','與文字排列','11199184BxRFYq','3XQqcyd','打開形狀面板','7774758mAzioT','物件名稱','圖形樣式','暫無物件','全部隱藏','逆時針\x2090\x20度旋轉','8dspMck','居中對齊','裁切為形狀','垂直居中','文字在前','544596MRiyMh','選擇物件以編輯詳情','550376AZyOgc','1524MKBvWj','左對齊','隱藏形狀面板','重置顏色'];_0x4420=function(){return _0x456a05;};return _0x4420();}
@@ -1 +1 @@
1
- function _0x16c2(){const _0x299a4b=['493948JlHvVt','逆時針\x2090\x20度旋轉','新增描述','右對齊','589494OZtJYe','250466wMJyXE','上移一層','與文字排列','切換垂直翻轉','圖形樣式','圖形位置','順時針\x2090\x20度旋轉','選取物件以編輯詳細資料','裁切為形狀','刪除形狀','3280992WqCFqV','6351390rakDKN','快捷樣式','全部隱藏','7ABjhBY','居中對齊','詳細資料','重置顏色','1904535mODuWi','1192278lrkRuV','暫無物件','頂部對齊','物件名稱','4CafyCR','格式化形狀','左對齊','打開形狀面板','底部對齊','文字背景色','刪除線','垂直居中','文字在前','全部顯示','隱藏形狀面板','上及下','切換水平翻轉'];_0x16c2=function(){return _0x299a4b;};return _0x16c2();}const _0x5ec2df=_0x18af;function _0x18af(_0x4db13d,_0x3286af){_0x4db13d=_0x4db13d-0x126;const _0x16c243=_0x16c2();let _0x18af04=_0x16c243[_0x4db13d];return _0x18af04;}(function(_0x56c67a,_0x3d6fc3){const _0x2c0dd4=_0x18af,_0x166918=_0x56c67a();while(!![]){try{const _0x17dd15=parseInt(_0x2c0dd4(0x133))/0x1+-parseInt(_0x2c0dd4(0x12e))/0x2+parseInt(_0x2c0dd4(0x146))/0x3*(parseInt(_0x2c0dd4(0x14a))/0x4)+-parseInt(_0x2c0dd4(0x145))/0x5+parseInt(_0x2c0dd4(0x132))/0x6*(-parseInt(_0x2c0dd4(0x141))/0x7)+-parseInt(_0x2c0dd4(0x13d))/0x8+parseInt(_0x2c0dd4(0x13e))/0x9;if(_0x17dd15===_0x3d6fc3)break;else _0x166918['push'](_0x166918['shift']());}catch(_0xc28fa){_0x166918['push'](_0x166918['shift']());}}}(_0x16c2,0x35104));const e={'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x5ec2df(0x13f),'title':'形狀','insertShape':'插入形狀','openPanel':_0x5ec2df(0x14d),'deleteShape':_0x5ec2df(0x13c),'hidePanel':_0x5ec2df(0x12b),'formatShape':_0x5ec2df(0x14b),'shapeStyle':_0x5ec2df(0x137),'shapePosition':_0x5ec2df(0x138),'toggleFlipH':_0x5ec2df(0x12d),'toggleFlipV':_0x5ec2df(0x136),'rotateRight90':_0x5ec2df(0x139),'rotateLeft90':_0x5ec2df(0x12f),'toggleTextVertical':'切換文本竖排','objectListPanel':{'title':'圖層','open':'圖層','empty':_0x5ec2df(0x147),'showAll':_0x5ec2df(0x12a),'hideAll':_0x5ec2df(0x140),'show':'顯示','hide':'隱藏','moveForward':_0x5ec2df(0x134),'moveBackward':'下移一層','close':'關閉','name':'名稱','nameInput':_0x5ec2df(0x149),'description':'描述','descriptionPlaceholder':_0x5ec2df(0x130),'details':_0x5ec2df(0x143),'noSelection':_0x5ec2df(0x13a)},'toolbar':{'alignLeft':_0x5ec2df(0x14c),'alignCenter':_0x5ec2df(0x142),'alignRight':_0x5ec2df(0x131),'alignJustify':'兩端對齊','bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x5ec2df(0x127),'textColor':'文字顏色','fillColor':_0x5ec2df(0x126),'resetColor':_0x5ec2df(0x144)},'align':{'top':_0x5ec2df(0x148),'middle':_0x5ec2df(0x128),'bottom':_0x5ec2df(0x14e)},'textWrap':{'inline':_0x5ec2df(0x135),'square':'矩形','topAndBottom':_0x5ec2df(0x12c),'behindText':_0x5ec2df(0x129),'inFrontText':'文字在後'},'crop':{'shape':_0x5ec2df(0x13b)}}};export{e as default};
1
+ const _0x2abba8=_0x14f1;function _0x14f1(_0x78109,_0xfdca8f){_0x78109=_0x78109-0xa3;const _0x3610a9=_0x3610();let _0x14f10b=_0x3610a9[_0x78109];return _0x14f10b;}function _0x3610(){const _0x23a4a2=['刪除線','351261NjxivJ','全部顯示','與文字排列','刪除形狀','重置顏色','隱藏形狀面板','打開形狀面板','切換垂直翻轉','14CiAKON','870024uTUtni','1489240DcSebv','460XLYoLp','底部對齊','文字背景色','切換文本竖排','2817FbydAQ','詳細資料','兩端對齊','下移一層','294655LSGYzJ','頂部對齊','文字在前','全部隱藏','逆時針\x2090\x20度旋轉','1031790qRZtjM','文字在後','切換水平翻轉','居中對齊','右對齊','物件名稱','上及下','圖形樣式','文字顏色','暫無物件','快捷樣式','垂直居中','順時針\x2090\x20度旋轉','格式化形狀','132666rBHaBd'];_0x3610=function(){return _0x23a4a2;};return _0x3610();}(function(_0x229151,_0x3f7a5e){const _0x53343e=_0x14f1,_0x51f580=_0x229151();while(!![]){try{const _0x2dca7c=-parseInt(_0x53343e(0xa6))/0x1+parseInt(_0x53343e(0xc4))/0x2+parseInt(_0x53343e(0xca))/0x3*(parseInt(_0x53343e(0xc6))/0x4)+-parseInt(_0x53343e(0xab))/0x5+-parseInt(_0x53343e(0xb9))/0x6*(-parseInt(_0x53343e(0xc3))/0x7)+parseInt(_0x53343e(0xc5))/0x8+parseInt(_0x53343e(0xbb))/0x9;if(_0x2dca7c===_0x3f7a5e)break;else _0x51f580['push'](_0x51f580['shift']());}catch(_0x4f7cc9){_0x51f580['push'](_0x51f580['shift']());}}}(_0x3610,0x4c05e));const e={'docs-shape-ui':{'mobile':{'text':'文字','style':'樣式','delete':'刪除'},'quickStyles':_0x2abba8(0xb5),'title':'形狀','insertShape':'插入形狀','openPanel':_0x2abba8(0xc1),'deleteShape':_0x2abba8(0xbe),'hidePanel':_0x2abba8(0xc0),'formatShape':_0x2abba8(0xb8),'shapeStyle':_0x2abba8(0xb2),'shapePosition':'圖形位置','toggleFlipH':_0x2abba8(0xad),'toggleFlipV':_0x2abba8(0xc2),'rotateRight90':_0x2abba8(0xb7),'rotateLeft90':_0x2abba8(0xaa),'toggleTextVertical':_0x2abba8(0xc9),'objectListPanel':{'title':'圖層','open':'圖層','empty':_0x2abba8(0xb4),'showAll':_0x2abba8(0xbc),'hideAll':_0x2abba8(0xa9),'show':'顯示','hide':'隱藏','moveForward':'上移一層','moveBackward':_0x2abba8(0xa5),'close':'關閉','name':'名稱','nameInput':_0x2abba8(0xb0),'description':'描述','descriptionPlaceholder':'新增描述','details':_0x2abba8(0xa3),'noSelection':'選取物件以編輯詳細資料'},'toolbar':{'alignLeft':'左對齊','alignCenter':_0x2abba8(0xae),'alignRight':_0x2abba8(0xaf),'alignJustify':_0x2abba8(0xa4),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x2abba8(0xba),'textColor':_0x2abba8(0xb3),'fillColor':_0x2abba8(0xc8),'resetColor':_0x2abba8(0xbf)},'align':{'top':_0x2abba8(0xa7),'middle':_0x2abba8(0xb6),'bottom':_0x2abba8(0xc7)},'textWrap':{'inline':_0x2abba8(0xbd),'square':'矩形','topAndBottom':_0x2abba8(0xb1),'behindText':_0x2abba8(0xa8),'inFrontText':_0x2abba8(0xac)},'crop':{'shape':'裁切為形狀'}}};export{e as default};
@@ -0,0 +1,15 @@
1
+ import type { ICommand } from '@univerjs/core';
2
+ export interface IUpdateDocDrawingMetadataPatch {
3
+ drawingId: string;
4
+ name?: string;
5
+ title?: string;
6
+ description?: string;
7
+ hidden?: boolean;
8
+ visible?: boolean;
9
+ selectable?: boolean;
10
+ }
11
+ export interface IUpdateDocDrawingMetadataCommandParams {
12
+ unitId: string;
13
+ patches: IUpdateDocDrawingMetadataPatch[];
14
+ }
15
+ export declare const UpdateDocDrawingMetadataCommand: ICommand<IUpdateDocDrawingMetadataCommandParams>;
@@ -0,0 +1,4 @@
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuButtonItem } from '@univerjs/ui';
3
+ import type { LocaleKey } from '../../locale/types';
4
+ export declare function DocShapeObjectListMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
@@ -0,0 +1,9 @@
1
+ import type { DocumentDataModel } from '@univerjs/core';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
+ import { ShapeTextHyperLinkHoverController, ShapeTextHyperLinkPopupService } from '@univerjs-pro/shape-editor-ui';
4
+ import { IPermissionService } from '@univerjs/core';
5
+ import { DocCanvasPopManagerService } from '@univerjs/docs-ui';
6
+ import { ShapeTextEditingService } from '../services/shape-text-editing.service';
7
+ export declare class ShapeTextHyperLinkRenderController extends ShapeTextHyperLinkHoverController implements IRenderModule {
8
+ constructor(context: IRenderContext<DocumentDataModel>, popupService: ShapeTextHyperLinkPopupService, editingService: ShapeTextEditingService, popupManager: DocCanvasPopManagerService, permissionService: IPermissionService);
9
+ }
@@ -55,6 +55,7 @@ export declare function resolveDrawingShapeTextRenderPolicy(shapeData: IShapeDat
55
55
  wrapStrategy: import("@univerjs/core").WrapStrategy;
56
56
  };
57
57
  export declare class DrawingShape extends Shape<IDrawingShapeProps> {
58
+ private _hyperLinkRegions;
58
59
  protected _props: IDrawingShapeProps;
59
60
  private readonly _formulaAnimation;
60
61
  private _transformCalculateSrcRect;
@@ -63,6 +64,7 @@ export declare class DrawingShape extends Shape<IDrawingShapeProps> {
63
64
  constructor(id: string, config: IDrawingShapeProps);
64
65
  private _init;
65
66
  setPrstGeom(prstGeom?: Nullable<string>): void;
67
+ resolveHyperLinkAt(coord: Vector2): import("@univerjs-pro/shape-editor-ui/utils/shape-text-hyper-link-hit.js").IShapeTextHyperLinkHit | null;
66
68
  setEditing(isEditing: boolean): void;
67
69
  setFormulaPresentation(presentation: IShapeFormulaPresentation | undefined, animate?: boolean): void;
68
70
  private _applyFormulaAutoFitSize;
@@ -0,0 +1,8 @@
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 docs-shape
6
+ * callers while shape text is converging across products.
7
+ */
8
+ export type IShapeTextModel = IShapeTextDataModel<IDocumentData, HorizontalAlign, VerticalAlign>;
@@ -0,0 +1,26 @@
1
+ import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ export declare const shapeTypeOptions: (ShapeTypeEnum | {
3
+ type: ShapeTypeEnum;
4
+ endArrow: boolean;
5
+ startArrow?: undefined;
6
+ horizontal?: undefined;
7
+ vertical?: undefined;
8
+ } | {
9
+ type: ShapeTypeEnum;
10
+ endArrow: boolean;
11
+ startArrow: boolean;
12
+ horizontal?: undefined;
13
+ vertical?: undefined;
14
+ } | {
15
+ type: ShapeTypeEnum;
16
+ horizontal: boolean;
17
+ endArrow?: undefined;
18
+ startArrow?: undefined;
19
+ vertical?: undefined;
20
+ } | {
21
+ type: ShapeTypeEnum;
22
+ vertical: boolean;
23
+ endArrow?: undefined;
24
+ startArrow?: undefined;
25
+ horizontal?: undefined;
26
+ })[];
@@ -0,0 +1,12 @@
1
+ import type * as ReactTypes from "react";
2
+ import type { IShapeData } from '@univerjs-pro/engine-shape';
3
+ interface IShapeLineProps {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ shapeId: string;
7
+ shapeData: IShapeData;
8
+ isLineShape: boolean;
9
+ disableShapeOption: boolean;
10
+ }
11
+ export declare function ShapeLineEditor(props: IShapeLineProps): ReactTypes.JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { ShapeEditPanel } from './ShapeEditorPanel';
@@ -0,0 +1 @@
1
+ export { buildShapeTextDataUpdate, createDefaultShapeTextDocument, getShapeTextModel, type IShapeTextModel, type IShapeTextUpdateOptions, } from '@univerjs-pro/shape-editor-ui';
@@ -0,0 +1,2 @@
1
+ import type * as ReactTypes from "react";
2
+ export declare function ShapeTextFloatToolbar(): ReactTypes.JSX.Element;
@@ -0,0 +1,58 @@
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
+ })[];