@univerjs-pro/sheets-chart-ui 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +9 -7
  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 +33 -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/commands/commands/sheet-chart-menu.command.d.ts +3 -1
  64. package/lib/types/commands/operations/open-move-chart-dialog.operation.d.ts +4 -0
  65. package/lib/types/controllers/chart-render.controller.d.ts +4 -1
  66. package/lib/types/controllers/chart-sheet-ui.controller.d.ts +31 -0
  67. package/lib/types/controllers/sheets-chart-clipboard.controller.d.ts +11 -3
  68. package/lib/types/controllers/ui.controller.d.ts +3 -0
  69. package/lib/types/locale/en-US.d.ts +22 -0
  70. package/lib/types/menu/chart-sheet-menu.d.ts +6 -0
  71. package/lib/types/menu/chart-sheet-schema.d.ts +3 -0
  72. package/lib/types/services/chart-image-rect.d.ts +2 -1
  73. package/lib/types/services/chart-render.service.d.ts +26 -7
  74. package/lib/types/services/chart-sheet-presentation.d.ts +9 -0
  75. package/lib/types/services/chart-sheet-render.service.d.ts +39 -0
  76. package/lib/types/services/sheet-chart-host.d.ts +2 -1
  77. package/lib/types/services/sheet-image-chart-host.d.ts +4 -9
  78. package/lib/types/services/sheets-chart-host-provider.service.d.ts +10 -4
  79. package/lib/types/services/sheets-chart-ui.service.d.ts +12 -2
  80. package/lib/types/views/move-chart/MoveChartDialog.d.ts +6 -0
  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 +25 -20
  102. package/lib/types/controllers/chart-sheet-change.controller.d.ts +0 -13
  103. package/lib/types/controllers/chart-sheet-copy-plan.d.ts +0 -16
@@ -1 +1 @@
1
- function _0xa9ab(_0x5a2f45,_0x5367d0){_0x5a2f45=_0x5a2f45-0x1a3;var _0x156a1b=_0x156a();var _0xa9abad=_0x156a1b[_0x5a2f45];return _0xa9abad;}(function(_0x30be71,_0x4d6166){var _0x150ab2=_0xa9ab,_0x4e2b47=_0x30be71();while(!![]){try{var _0x46f4c7=parseInt(_0x150ab2(0x1dc))/0x1*(-parseInt(_0x150ab2(0x1da))/0x2)+parseInt(_0x150ab2(0x1aa))/0x3*(parseInt(_0x150ab2(0x1a4))/0x4)+parseInt(_0x150ab2(0x1b8))/0x5+parseInt(_0x150ab2(0x1c6))/0x6+parseInt(_0x150ab2(0x1d8))/0x7+parseInt(_0x150ab2(0x1e6))/0x8*(parseInt(_0x150ab2(0x1cd))/0x9)+parseInt(_0x150ab2(0x1cc))/0xa*(-parseInt(_0x150ab2(0x1e2))/0xb);if(_0x46f4c7===_0x4d6166)break;else _0x4e2b47['push'](_0x4e2b47['shift']());}catch(_0x94e5a3){_0x4e2b47['push'](_0x4e2b47['shift']());}}}(_0x156a,0xa77f4),function(_0x270c3d,_0x4a38a6){var _0x7f431=_0xa9ab;typeof exports=='object'&&typeof module<'u'?module[_0x7f431(0x1e1)]=_0x4a38a6():typeof define==_0x7f431(0x1c8)&&define[_0x7f431(0x1c3)]?define([],_0x4a38a6):(_0x270c3d=typeof globalThis<'u'?globalThis:_0x270c3d||self,_0x270c3d[_0x7f431(0x1cb)]=_0x4a38a6());}(this,function(){var _0x4cf85b=_0xa9ab;return{'sheets-chart-ui':{'permission':{'editErr':_0x4cf85b(0x1c1)},'common':{'showHiddenData':_0x4cf85b(0x1c7),'chart':'圖表','setup':_0x4cf85b(0x1c0),'customize':_0x4cf85b(0x1de),'editChart':_0x4cf85b(0x1c4),'useAsCategoryLabels':_0x4cf85b(0x1b4),'switchRowColumn':_0x4cf85b(0x1b9),'dataRange':_0x4cf85b(0x1d1),'invalidDataRange':_0x4cf85b(0x1d4),'insertChart':_0x4cf85b(0x1b1),'openChartPanel':_0x4cf85b(0x1df),'deleteChart':'刪除圖表','hideChartPanel':_0x4cf85b(0x1c5),'chartAndAxisTitles':'圖表與座標軸標題','chartStyle':'圖表樣式','heatmap':_0x4cf85b(0x1ad),'horizontalAxis':'橫軸','legend':'圖例','rightVerticalAxis':_0x4cf85b(0x1d7),'series':'系列','trendline':_0x4cf85b(0x1b2),'verticalAxis':'縱軸','category':'類別','copy':'複製','exportImage':'匯出圖片'},'waterfall':{'subtotal':'小計','positive':'正值','negative':'負值'},'chartTypes':{'line3D':_0x4cf85b(0x1c2),'column3D':'三維柱狀圖','columnStacked3D':_0x4cf85b(0x1b3),'columnPercentStacked3D':_0x4cf85b(0x1e4),'bar3D':_0x4cf85b(0x1a3),'barStacked3D':_0x4cf85b(0x1d9),'barPercentStacked3D':_0x4cf85b(0x1d5),'pie3D':_0x4cf85b(0x1db),'area3D':_0x4cf85b(0x1b6),'areaStacked3D':_0x4cf85b(0x1bb),'areaPercentStacked3D':'三維百分比堆疊面積圖','line':_0x4cf85b(0x1dd),'column':'柱狀圖','columnStacked':_0x4cf85b(0x1ce),'columnPercentStacked':_0x4cf85b(0x1d6),'bar':'條形圖','barStacked':'堆疊條形圖','barPercentStacked':_0x4cf85b(0x1ab),'pie':'餅圖','donut':_0x4cf85b(0x1a5),'pieOfPie':_0x4cf85b(0x1c9),'barOfPie':_0x4cf85b(0x1ac),'area':_0x4cf85b(0x1af),'areaStacked':_0x4cf85b(0x1bf),'areaPercentStacked':_0x4cf85b(0x1d3),'radar':_0x4cf85b(0x1e3),'scatter':_0x4cf85b(0x1be),'combination':_0x4cf85b(0x1bc),'wordCloud':_0x4cf85b(0x1b7),'funnel':'漏斗圖','bubble':_0x4cf85b(0x1cf),'relation':_0x4cf85b(0x1d2),'waterfall':_0x4cf85b(0x1ca),'pareto':'排列圖','sankey':'桑基圖','heatmap':_0x4cf85b(0x1ad),'boxplot':'箱型圖','candlestick':'K\x20線圖','histogram':'直方圖','treemap':'矩形樹圖','sunburst':'旭日圖','gauge':_0x4cf85b(0x1a9),'chord':_0x4cf85b(0x1ba)},'section':{'candlestick':_0x4cf85b(0x1a7),'chord':_0x4cf85b(0x1ba),'funnel':_0x4cf85b(0x1b0),'gauge':'儀表圖','gridlinesAndTicks':_0x4cf85b(0x1a6),'histogram':_0x4cf85b(0x1bd),'indicatorLine':_0x4cf85b(0x1e0),'lineAndArea':_0x4cf85b(0x1a8),'paretoBar':_0x4cf85b(0x1e5),'paretoLine':_0x4cf85b(0x1ae),'pie':'餅圖','radar':_0x4cf85b(0x1e3),'relation':_0x4cf85b(0x1d2),'sunburst':_0x4cf85b(0x1b5),'treemap':_0x4cf85b(0x1d0),'waterfall':_0x4cf85b(0x1ca),'wordCloud':'詞雲'},'chord':{'target':'目標'}}};}));function _0x156a(){var _0x293e54=['右縱軸','5790834yDpQCv','三維堆疊條形圖','1072LkvAjj','三維餅圖','2426dHkiPE','折線圖','自訂圖表','開啟圖表面板','指示線','exports','1133KMKPWg','雷達圖','三維百分比堆疊\x20·\x20柱狀圖','長條圖系列','95112GzDApC','三維條形圖','4SxvBvO','環形圖','網格線和刻度線','燭台圖','折線圖\x20/\x20面積圖','儀表板','1094871FEdRHk','百分比堆疊條形圖','複合餅圖','熱力圖','累積占比系列','面積圖','漏斗圖','插入圖表','趨勢線','三維堆疊\x20·\x20柱狀圖','使用\x20{0}\x20作為類別','旭日圖','三維面積圖','詞雲圖','3640275OSmOYQ','切換列或欄','和弦圖','三維堆疊面積圖','組合圖','直方圖','散點圖','堆疊面積圖','設定圖表','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','三維折線圖','amd','編輯圖表','隱藏圖表面板','3422394KssStc','顯示隱藏列欄中的資料','function','子母餅圖','瀑布圖','UniverProSheetsChartUiZhTW','133220JHWeOD','657GVzUcg','堆疊\x20·\x20柱狀圖','氣泡圖','樹狀圖','資料範圍','關係圖','百分比堆疊面積圖','請輸入有效的資料範圍','三維百分比堆疊條形圖','百分比堆疊\x20·\x20柱狀圖'];_0x156a=function(){return _0x293e54;};return _0x156a();}
1
+ (function(_0xfd5ad8,_0xa918e0){var _0x2572e6=_0x31d8,_0x1d63d8=_0xfd5ad8();while(!![]){try{var _0x481aa9=parseInt(_0x2572e6(0x20a))/0x1+-parseInt(_0x2572e6(0x208))/0x2+parseInt(_0x2572e6(0x1c6))/0x3+-parseInt(_0x2572e6(0x1f9))/0x4*(-parseInt(_0x2572e6(0x1da))/0x5)+parseInt(_0x2572e6(0x1e9))/0x6+parseInt(_0x2572e6(0x1ce))/0x7*(-parseInt(_0x2572e6(0x1c0))/0x8)+parseInt(_0x2572e6(0x1d8))/0x9;if(_0x481aa9===_0xa918e0)break;else _0x1d63d8['push'](_0x1d63d8['shift']());}catch(_0x162d02){_0x1d63d8['push'](_0x1d63d8['shift']());}}}(_0x14bc,0xc5e18),function(_0x472616,_0x4b7a17){var _0x33957f=_0x31d8;typeof exports==_0x33957f(0x1d0)&&typeof module<'u'?module[_0x33957f(0x1db)]=_0x4b7a17():typeof define==_0x33957f(0x1e8)&&define['amd']?define([],_0x4b7a17):(_0x472616=typeof globalThis<'u'?globalThis:_0x472616||self,_0x472616[_0x33957f(0x1fb)]=_0x4b7a17());}(this,function(){var _0x255f07=_0x31d8;return{'sheets-chart-ui':{'chartSheet':{'defaultName':'圖表','changeType':_0x255f07(0x1d4),'move':{'confirmAction':'確認','confirmTitle':_0x255f07(0x1ec),'confirmDescription':_0x255f07(0x1f0),'title':_0x255f07(0x1c9),'newSheet':_0x255f07(0x1f3),'objectIn':'嵌入現有子表','name':'名稱','target':_0x255f07(0x1c2),'cancel':'取消','confirm':'確定','invalidName':_0x255f07(0x203),'unavailable':_0x255f07(0x1bd),'ownChartObjects':_0x255f07(0x1d1),'failed':_0x255f07(0x1df)}},'permission':{'editErr':_0x255f07(0x1ee)},'common':{'showHiddenData':_0x255f07(0x1e5),'chart':'圖表','setup':_0x255f07(0x1f5),'customize':'自訂圖表','editChart':_0x255f07(0x1e7),'useAsCategoryLabels':'使用\x20{0}\x20作為類別','switchRowColumn':'切換列或欄','dataRange':'資料範圍','invalidDataRange':_0x255f07(0x1cb),'insertChart':_0x255f07(0x1c5),'openChartPanel':_0x255f07(0x1de),'deleteChart':'刪除圖表','hideChartPanel':_0x255f07(0x207),'chartAndAxisTitles':_0x255f07(0x1ed),'chartStyle':_0x255f07(0x1eb),'heatmap':'熱力圖','horizontalAxis':'橫軸','legend':'圖例','rightVerticalAxis':'右縱軸','series':'系列','trendline':_0x255f07(0x1fe),'verticalAxis':'縱軸','category':'類別','copy':'複製','exportImage':_0x255f07(0x202)},'waterfall':{'subtotal':'小計','positive':'正值','negative':'負值'},'chartTypes':{'line3D':_0x255f07(0x1c1),'column3D':_0x255f07(0x1ef),'columnStacked3D':_0x255f07(0x209),'columnPercentStacked3D':_0x255f07(0x1dd),'bar3D':_0x255f07(0x206),'barStacked3D':_0x255f07(0x1e6),'barPercentStacked3D':_0x255f07(0x1ff),'pie3D':_0x255f07(0x1ca),'area3D':_0x255f07(0x1e3),'areaStacked3D':_0x255f07(0x1f1),'areaPercentStacked3D':_0x255f07(0x1f6),'line':_0x255f07(0x1c4),'lineStacked':_0x255f07(0x1e0),'linePercentStacked':_0x255f07(0x1f2),'column':'柱狀圖','columnStacked':_0x255f07(0x1d7),'columnPercentStacked':_0x255f07(0x1d2),'bar':'條形圖','barStacked':_0x255f07(0x1d5),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x255f07(0x1d9),'pieOfPie':_0x255f07(0x1c8),'barOfPie':_0x255f07(0x1dc),'area':_0x255f07(0x1d3),'areaStacked':_0x255f07(0x1fa),'areaPercentStacked':_0x255f07(0x1e4),'radar':_0x255f07(0x1e2),'scatter':_0x255f07(0x200),'combination':_0x255f07(0x1be),'wordCloud':_0x255f07(0x1fd),'funnel':_0x255f07(0x1c3),'bubble':'氣泡圖','relation':_0x255f07(0x1fc),'waterfall':_0x255f07(0x205),'pareto':_0x255f07(0x1c7),'sankey':_0x255f07(0x1cd),'heatmap':'熱力圖','boxplot':_0x255f07(0x1bf),'candlestick':_0x255f07(0x1f8),'histogram':_0x255f07(0x1e1),'treemap':_0x255f07(0x1f7),'sunburst':_0x255f07(0x1cc),'gauge':'儀表板','chord':'和弦圖'},'section':{'candlestick':_0x255f07(0x1cf),'chord':'和弦圖','funnel':_0x255f07(0x1c3),'gauge':'儀表圖','gridlinesAndTicks':_0x255f07(0x1d6),'histogram':_0x255f07(0x1e1),'indicatorLine':_0x255f07(0x1bc),'lineAndArea':_0x255f07(0x204),'paretoBar':_0x255f07(0x1f4),'paretoLine':_0x255f07(0x1ea),'pie':'餅圖','radar':_0x255f07(0x1e2),'relation':_0x255f07(0x1fc),'sunburst':'旭日圖','treemap':_0x255f07(0x201),'waterfall':'瀑布圖','wordCloud':'詞雲'},'chord':{'target':'目標'}}};}));function _0x31d8(_0x125261,_0x72fa98){_0x125261=_0x125261-0x1bc;var _0x14bce9=_0x14bc();var _0x31d87c=_0x14bce9[_0x125261];return _0x31d87c;}function _0x14bc(){var _0x2350e1=['漏斗圖','折線圖','插入圖表','4126872mdoBDo','排列圖','子母餅圖','移動圖表','三維餅圖','請輸入有效的資料範圍','旭日圖','桑基圖','2443pLJBAk','燭台圖','object','請先移出嵌入圖表,或選擇「新工作表」重新命名目前頁面。','百分比堆疊\x20·\x20柱狀圖','面積圖','變更圖表類型','堆疊條形圖','網格線和刻度線','堆疊\x20·\x20柱狀圖','3873366UDzsvc','環形圖','345FdoSXg','exports','複合餅圖','三維百分比堆疊\x20·\x20柱狀圖','開啟圖表面板','無法移動圖表。','堆疊折線圖','直方圖','雷達圖','三維面積圖','百分比堆疊面積圖','顯示隱藏列欄中的資料','三維堆疊條形圖','編輯圖表','function','2783994wcKIFT','累積占比系列','圖表樣式','移動圖表提示','圖表與座標軸標題','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','三維柱狀圖','移動主圖後,原圖表工作表將被刪除,其中的圖形、浮動圖片等其他物件也會被刪除,不會隨主圖移動。是否繼續?','三維堆疊面積圖','百分比堆疊折線圖','新工作表','長條圖系列','設定圖表','三維百分比堆疊面積圖','矩形樹圖','K\x20線圖','25748KSSwaz','堆疊面積圖','UniverProSheetsChartUiZhTW','關係圖','詞雲圖','趨勢線','三維百分比堆疊條形圖','散點圖','樹狀圖','匯出圖片','請輸入有效且未使用的子表名稱。','折線圖\x20/\x20面積圖','瀑布圖','三維條形圖','隱藏圖表面板','2902174biVYkf','三維堆疊\x20·\x20柱狀圖','715560rUDtMU','指示線','圖表或目標子表無法使用,或受到保護。','組合圖','箱型圖','26776hQbrtv','三維折線圖','目標子表'];_0x14bc=function(){return _0x2350e1;};return _0x14bc();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-chart-ui",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Chart UI integration for Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -57,32 +57,37 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/chart-ui": "1.4.0",
61
- "@univerjs-pro/engine-chart": "1.4.0",
62
- "@univerjs-pro/license": "1.4.0",
63
- "@univerjs-pro/sheets-chart": "1.4.0",
64
- "@univerjs/core": "1.4.0",
65
- "@univerjs/design": "1.4.0",
66
- "@univerjs/drawing": "1.4.0",
67
- "@univerjs/drawing-ui": "1.4.0",
68
- "@univerjs/engine-formula": "1.4.0",
69
- "@univerjs/engine-render": "1.4.0",
60
+ "@univerjs-pro/chart-ui": "1.5.0",
61
+ "@univerjs-pro/engine-chart": "1.5.0",
62
+ "@univerjs-pro/license": "1.5.0",
63
+ "@univerjs-pro/sheets-chart": "1.5.0",
64
+ "@univerjs/core": "1.5.0",
65
+ "@univerjs/design": "1.5.0",
66
+ "@univerjs/docs-ui": "1.5.0",
67
+ "@univerjs/drawing": "1.5.0",
68
+ "@univerjs/drawing-ui": "1.5.0",
69
+ "@univerjs/engine-formula": "1.5.0",
70
+ "@univerjs/engine-render": "1.5.0",
70
71
  "@univerjs/icons": "1.47.0",
71
- "@univerjs/sheets": "1.4.0",
72
- "@univerjs/sheets-drawing": "1.4.0",
73
- "@univerjs/sheets-drawing-ui": "1.4.0",
74
- "@univerjs/sheets-formula-ui": "1.4.0",
75
- "@univerjs/sheets-ui": "1.4.0",
76
- "@univerjs/ui": "1.4.0"
72
+ "@univerjs/sheets": "1.5.0",
73
+ "@univerjs/sheets-drawing": "1.5.0",
74
+ "@univerjs/sheets-drawing-ui": "1.5.0",
75
+ "@univerjs/sheets-formula-ui": "1.5.0",
76
+ "@univerjs/sheets-ui": "1.5.0",
77
+ "@univerjs/ui": "1.5.0"
77
78
  },
78
79
  "devDependencies": {
79
- "@univerjs-infra/shared": "1.4.0",
80
+ "@univerjs-infra/shared": "1.5.0",
81
+ "@univerjs-pro/engine-formula": "1.5.0",
82
+ "@univerjs-pro/engine-shape": "1.5.0",
83
+ "@univerjs-pro/sheets-shape": "1.5.0",
84
+ "@univerjs-pro/sheets-shape-ui": "1.5.0",
80
85
  "postcss": "^8.5.32",
81
86
  "react": "18.3.1",
82
87
  "rxjs": "7.8.2",
83
88
  "tailwindcss": "3.4.18",
84
- "tsrs": "0.20.1-ts7.1.0-beta",
85
- "vitest": "^5.0.5"
89
+ "tsrs": "0.23.0-ts7.1.0-beta",
90
+ "vitest": "^5.1.0"
86
91
  },
87
92
  "scripts": {
88
93
  "test": "vitest run",
@@ -1,13 +0,0 @@
1
- import { ChartModelService, SheetsChartService } from '@univerjs-pro/sheets-chart';
2
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
3
- import { SheetInterceptorService } from '@univerjs/sheets';
4
- import { ISheetDrawingService } from '@univerjs/sheets-drawing';
5
- export declare class ChartSheetChangeController extends Disposable {
6
- private _univerInstanceService;
7
- private readonly _sheetInterceptorService;
8
- private readonly _sheetDrawingService;
9
- private readonly _chartModelService;
10
- private readonly _sheetsChartService;
11
- constructor(_univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _sheetDrawingService: ISheetDrawingService, _chartModelService: ChartModelService, _sheetsChartService: SheetsChartService);
12
- private _initSheetChange;
13
- }
@@ -1,16 +0,0 @@
1
- import type { IChartSnapshot } from '@univerjs-pro/engine-chart';
2
- import type { IChartSourceMultiRangeItem, ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
3
- import type { IDrawingParam } from '@univerjs/core';
4
- export interface IChartModelCopySource extends Pick<IChartSnapshot, 'chartType' | 'context' | 'style' | 'dataAggregation'> {
5
- rangeInfo: ISheetChartSourceSingleRange | IChartSourceMultiRangeItem[];
6
- }
7
- export interface IChartModelCopyPlanEntry {
8
- targetChartId: string;
9
- source: IChartModelCopySource;
10
- }
11
- export interface IChartModelCopyPlanScope {
12
- unitId: string;
13
- sourceSubUnitId: string;
14
- targetSubUnitId: string;
15
- }
16
- export declare function createChartModelCopyPlan(copyContext: Map<string, unknown> | undefined, charts: readonly IDrawingParam[], scope: IChartModelCopyPlanScope, getSource: (chart: IDrawingParam) => IChartModelCopySource | undefined): IChartModelCopyPlanEntry[];