@univerjs-pro/sheets-chart-ui 0.17.0 → 0.18.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 (115) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +547 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -1
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -3
  45. package/lib/types/commands/commands/sheets-chart.command.d.ts +3 -3
  46. package/lib/types/commands/operations/hide-chart-panel-operation.d.ts +1 -1
  47. package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
  48. package/lib/types/controllers/menu.schema.d.ts +1 -1
  49. package/lib/types/facade/chart-builder/builder-util.d.ts +3 -3
  50. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +2 -2
  51. package/lib/types/facade/chart-builder/line-chart-builder.d.ts +4 -3
  52. package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +3 -2
  53. package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +4 -3
  54. package/lib/types/facade/chart-builder/types.d.ts +3 -3
  55. package/lib/types/facade/f-chart.d.ts +3 -3
  56. package/lib/types/facade/f-worksheet.d.ts +3 -2
  57. package/lib/types/facade/index.d.ts +1 -1
  58. package/lib/types/hooks.d.ts +2 -1
  59. package/lib/types/locale/ca-ES.d.ts +1 -1
  60. package/lib/types/locale/es-ES.d.ts +1 -1
  61. package/lib/types/locale/fa-IR.d.ts +1 -1
  62. package/lib/types/locale/fr-FR.d.ts +1 -1
  63. package/lib/types/locale/ja-JP.d.ts +1 -1
  64. package/lib/types/locale/ko-KR.d.ts +1 -1
  65. package/lib/types/locale/ru-RU.d.ts +1 -1
  66. package/lib/types/locale/sk-SK.d.ts +1 -1
  67. package/lib/types/locale/vi-VN.d.ts +1 -1
  68. package/lib/types/locale/zh-CN.d.ts +1 -1
  69. package/lib/types/locale/zh-TW.d.ts +1 -1
  70. package/lib/types/plugin.d.ts +1 -1
  71. package/lib/types/services/chart-render.service.d.ts +2 -1
  72. package/lib/types/services/sheets-chart-host-provider.service.d.ts +4 -3
  73. package/lib/types/services/sheets-chart-ui.service.d.ts +9 -6
  74. package/lib/types/util.d.ts +2 -2
  75. package/lib/types/views/chart-edit-panel/Options.d.ts +2 -2
  76. package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +2 -2
  77. package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +1 -1
  78. package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +1 -1
  79. package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +2 -2
  80. package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +2 -2
  81. package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +1 -1
  82. package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +3 -3
  83. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +4 -4
  84. package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +2 -2
  85. package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +2 -2
  86. package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +2 -2
  87. package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +2 -2
  88. package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +2 -2
  89. package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +2 -2
  90. package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +2 -2
  91. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +3 -3
  92. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +2 -2
  93. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +4 -3
  94. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +2 -2
  95. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +2 -2
  96. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +3 -2
  97. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -2
  98. package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +2 -2
  99. package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -2
  100. package/lib/types/wordcloud/index.d.ts +1 -1
  101. package/lib/umd/facade.js +1 -1
  102. package/lib/umd/index.js +1 -1
  103. package/lib/umd/locale/ca-ES.js +1 -1
  104. package/lib/umd/locale/en-US.js +1 -1
  105. package/lib/umd/locale/es-ES.js +1 -1
  106. package/lib/umd/locale/fa-IR.js +1 -1
  107. package/lib/umd/locale/fr-FR.js +1 -1
  108. package/lib/umd/locale/ja-JP.js +1 -1
  109. package/lib/umd/locale/ko-KR.js +1 -1
  110. package/lib/umd/locale/ru-RU.js +1 -1
  111. package/lib/umd/locale/sk-SK.js +1 -1
  112. package/lib/umd/locale/vi-VN.js +1 -1
  113. package/lib/umd/locale/zh-CN.js +1 -1
  114. package/lib/umd/locale/zh-TW.js +1 -1
  115. package/package.json +21 -20
@@ -1 +1 @@
1
- const _0x14945b=_0x2b56;(function(_0x17357e,_0x1429b3){const _0x5860b8=_0x2b56,_0x274385=_0x17357e();while(!![]){try{const _0x23c863=-parseInt(_0x5860b8(0x183))/0x1*(-parseInt(_0x5860b8(0x1f2))/0x2)+parseInt(_0x5860b8(0x1bb))/0x3*(-parseInt(_0x5860b8(0x1ba))/0x4)+parseInt(_0x5860b8(0x1cd))/0x5+parseInt(_0x5860b8(0x1dd))/0x6*(parseInt(_0x5860b8(0x1e8))/0x7)+-parseInt(_0x5860b8(0x1d1))/0x8*(parseInt(_0x5860b8(0x1de))/0x9)+parseInt(_0x5860b8(0x198))/0xa+-parseInt(_0x5860b8(0x1aa))/0xb*(parseInt(_0x5860b8(0x1e9))/0xc);if(_0x23c863===_0x1429b3)break;else _0x274385['push'](_0x274385['shift']());}catch(_0xe2858f){_0x274385['push'](_0x274385['shift']());}}}(_0x259d,0x1df98));const e={'chart':{'insertChart':_0x14945b(0x1fa),'editChart':_0x14945b(0x1a3),'openChartPanel':_0x14945b(0x173),'deleteChart':'刪除圖表','hideChartPanel':_0x14945b(0x1a2),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x14945b(0x1ee),'themes':'主題','dataRange':_0x14945b(0x1ae),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':'添加系列','moreSettings':_0x14945b(0x18b),'min':'最小值','max':_0x14945b(0x1f5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x14945b(0x1c5),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x14945b(0x1dc),'chartBorderColor':_0x14945b(0x1b5),'titles':{'title':'標題','mainTitle':_0x14945b(0x1b7),'subTitle':_0x14945b(0x1ec),'xAxisTitle':_0x14945b(0x18a),'yAxisTitle':_0x14945b(0x1ca),'rightYAxisTitle':_0x14945b(0x1ef),'titleFormat':_0x14945b(0x17a),'titleText':_0x14945b(0x1c6),'titlePosition':_0x14945b(0x1f0),'titleAlign':_0x14945b(0x196)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x14945b(0x191),'settingsLabels':{'switchToRowOrColumn':_0x14945b(0x175),'useAsCategoryLabels':_0x14945b(0x1a1),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x14945b(0x174),'center':'居中','right':_0x14945b(0x19a)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x14945b(0x1f4),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x14945b(0x1be),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':'水平軸','verticalAxis':_0x14945b(0x1fb),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x14945b(0x1f7),'indicatorLine':_0x14945b(0x195),'indicatorLineType':_0x14945b(0x189),'indicatorLineColor':_0x14945b(0x186),'indicatorLabel':_0x14945b(0x1c4),'indicatorValue':_0x14945b(0x1d7),'shape':{'polygon':_0x14945b(0x1c9),'circle':'圓形','square':_0x14945b(0x1bf),'triangle':_0x14945b(0x1ab),'diamond':'菱形','rect':'矩形','roundRect':_0x14945b(0x187),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x14945b(0x1fe),'emptySquare':_0x14945b(0x194),'emptyTriangle':_0x14945b(0x172),'emptyDiamond':_0x14945b(0x1cc),'emptyRect':_0x14945b(0x190),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x14945b(0x1a4),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x14945b(0x1ad),'withColor':'{0}\x20顏色','withThickness':'{0}\x20粗細','withType':'{0}\x20類型','withSize':'{0}\x20大小','withShape':_0x14945b(0x1ac),'withFormat':_0x14945b(0x1b9),'dataPoint':_0x14945b(0x1df),'dataNodeShape':_0x14945b(0x1ed),'addDataPoint':_0x14945b(0x184),'point':_0x14945b(0x1df),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x14945b(0x19e)},'lineDashType':_0x14945b(0x1e1),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x14945b(0x1a9)},'ticks':{'majorTick':'主刻度線','tickPosition':'刻度線位置','tickLength':_0x14945b(0x1b8)},'none':'無','theIndexItem':_0x14945b(0x178),'seriesDefaultName':_0x14945b(0x1e7),'categoryDefaultName':_0x14945b(0x1bc),'styleEditPanel':{'showLabels':_0x14945b(0x1cf),'showDataLabels':_0x14945b(0x1a8),'padAngle':_0x14945b(0x1fc),'halfPie':'半餅','rosePie':_0x14945b(0x1d6),'pieValScale':_0x14945b(0x199),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x14945b(0x1f1),'showLabelLine':_0x14945b(0x17e),'reverseAxisOrder':_0x14945b(0x1da),'showAxisLine':_0x14945b(0x1a5),'labelPosition':_0x14945b(0x1fd),'labelText':'標籤文本','repeatWordCould':_0x14945b(0x1ff),'gap':'間隔','useAbsValue':_0x14945b(0x1d5),'labelRotate':_0x14945b(0x185),'wordCloudShape':_0x14945b(0x1c3),'useDateAxis':_0x14945b(0x1c7),'dateAxisTips':_0x14945b(0x19c)},'radar':{'fill':'填充'},'doughnutHole':_0x14945b(0x19b),'msg':{'invalidSource':_0x14945b(0x17c),'emptyTips':_0x14945b(0x1f8),'sankeyCircularTips':_0x14945b(0x19d)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x14945b(0x1d0),'displayName':'趨勢線名稱','addTrendLine':_0x14945b(0x1d2),'trendlineType':_0x14945b(0x1c1),'trendlineName':_0x14945b(0x1ea),'trendlineColor':_0x14945b(0x176),'trendlineThickness':_0x14945b(0x1b1),'trendlineDashType':_0x14945b(0x181),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x14945b(0x192),'order':_0x14945b(0x1bd),'period':_0x14945b(0x1e2),'showFormula':'顯示公式','showR2':_0x14945b(0x1f9),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x14945b(0x193),'label':_0x14945b(0x1cb),'emptyTips':_0x14945b(0x188)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x14945b(0x1e6),'useValueAsSymbolSize':_0x14945b(0x1a6),'layoutType':'佈局類型','forceOptions':_0x14945b(0x1c8),'repulsion':'斥力','gravity':'引力','edgeLength':_0x14945b(0x177),'rotateLabel':_0x14945b(0x19f),'emphasis':'開啟選中淡入特效','emptyTips':_0x14945b(0x179)},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x14945b(0x1b6),'negativeStyle':'負值樣式','subtotalStyle':_0x14945b(0x1db),'positiveLegendText':_0x14945b(0x1a7),'negativeLegendText':_0x14945b(0x18d),'subtotalLegendText':_0x14945b(0x1b2)},'pareto':{'lineName':'累積占比','lineSeries':'累積占比系列','barSeries':_0x14945b(0x1f3)},'visualMapScope':_0x14945b(0x18c),'boxplot':{'min':_0x14945b(0x18e),'q1':'第一四分位數','median':'中位數','q3':_0x14945b(0x1d3),'max':'最大值'}},'chartTypes':{'line':_0x14945b(0x1c2),'area':_0x14945b(0x197),'areaStacked':_0x14945b(0x1d8),'areaPercentStacked':_0x14945b(0x1b4),'column':_0x14945b(0x1e4),'bar':_0x14945b(0x1e3),'barStacked':_0x14945b(0x17d),'barPercentStacked':_0x14945b(0x1d9),'pie':'餅圖','donut':'環形圖','scatter':'散點圖','radar':_0x14945b(0x1a0),'bubble':'氣泡圖','stock':_0x14945b(0x17b),'combination':_0x14945b(0x180),'wordCloud':_0x14945b(0x1d4),'funnel':'漏斗圖','relation':'關係圖','waterfall':_0x14945b(0x1f6),'pareto':_0x14945b(0x1c0),'sankey':'桑基圖','heatmap':'熱力圖','boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x14945b(0x1af),'fieldSetting':_0x14945b(0x1e0),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x14945b(0x1e5),'accountingDesc':_0x14945b(0x1b3),'currencyDesc':_0x14945b(0x182),'dateDesc':_0x14945b(0x17f),'thousandthPercentileDesc':_0x14945b(0x1eb),'decimalPlaces':'小數位數','currencyTypes':_0x14945b(0x18f),'negativeNumberTypes':_0x14945b(0x1ce),'dateTypes':_0x14945b(0x1b0)},'setFormat':'設置標籤格式'}};function _0x2b56(_0x5da3ba,_0xe17fec){_0x5da3ba=_0x5da3ba-0x172;const _0x259de0=_0x259d();let _0x2b5664=_0x259de0[_0x5da3ba];return _0x2b5664;}function _0x259d(){const _0x5ea484=['空心針形','顯示軸線','使用值作為節點大小','正值圖例文本','顯示數據標籤','網格線','110fVrIQo','三角形','{0}\x20形狀','{0}\x20透明度','數據範圍','千分位符','日期類型','趨勢線粗細','小計圖例文本','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','百分比堆疊面積圖','圖表邊框顏色','正值樣式','主標題','刻度線長度','{0}\x20格式','8dsFSPL','155157vCJYzW','類別\x20{0}','多項式階數','圖例選擇模式','正方形','排列圖','趨勢線類型','折線圖','詞雲形狀','指示標籤','(空)','標題文本','使用日期軸','力導向選項','多邊形','Y軸標題','氣泡標籤','空心菱形','957335rSboJV','負數類型','顯示標籤','趨勢線','8YvlYlD','添加趨勢線','第三四分位數','詞雲圖','使用絕對值','玫瑰圖','指示值','堆疊面積圖','百分比堆疊條形圖','逆序軸','小計樣式','背景顏色','8706zwJeKi','253350dvJPve','數據點','字段設置','線類型','移動平均周期','條形圖','柱狀圖','常規格式不包含任何特定的數字格式。','力導向','系列\x20{0}','728mBLISy','323172BDTymy','趨勢線名稱','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','副標題','節點形狀','圖表類型','右Y軸標題','標題位置','小數位數','2ZfwnRf','長條圖系列','圖表樣式','最大值','瀑布圖','網格線和刻度線','請先添加系列開始數據可視化','顯示R平方','插入圖表','垂直軸','扇形間距','標籤位置','空心圓形','重複詞雲標籤','空心三角形','打開圖表面板','左對齊','切換列或欄','趨勢線顏色','節點距離','第\x20{0}\x20項','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','標題格式','股票圖','圖表數據源必須包含多於1列和1欄。','堆疊條形圖','顯示標籤線','日期格式將日期和時間系列數值顯示為日期值。','組合圖','趨勢線線類型','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','165433gXMltE','添加數據點','標籤旋轉','指示線顏色','圓角矩形','氣泡圖至少需要2欄,X軸、Y軸。','指示線類型','X軸標題','更多設置','視覺映射範圍','負值圖例文本','最小值','貨幣類型','空心矩形','漸變填充','多項式','氣泡大小','空心正方形','指示線','標題對齊','面積圖','158700lEomaY','数值比例','右對齊','圓環孔','日期軸僅在數據全部為日期格式時可用','桑基圖不能包含循環數據','百分比堆疊','旋轉標籤','雷達圖','使用\x20{0}\x20作為類別標籤','隱藏圖表面板','編輯圖表'];_0x259d=function(){return _0x5ea484;};return _0x259d();}export{e as default};
1
+ const _0x18328c=_0x1ee1;(function(_0x44b2db,_0x1bc604){const _0x27d4f1=_0x1ee1,_0x2c3a5f=_0x44b2db();while(!![]){try{const _0x2df4a3=parseInt(_0x27d4f1(0xd2))/0x1*(-parseInt(_0x27d4f1(0xb0))/0x2)+-parseInt(_0x27d4f1(0xd6))/0x3+-parseInt(_0x27d4f1(0xa3))/0x4+parseInt(_0x27d4f1(0xea))/0x5*(-parseInt(_0x27d4f1(0xfc))/0x6)+parseInt(_0x27d4f1(0xde))/0x7+-parseInt(_0x27d4f1(0xe3))/0x8*(parseInt(_0x27d4f1(0xcb))/0x9)+-parseInt(_0x27d4f1(0xeb))/0xa*(-parseInt(_0x27d4f1(0x95))/0xb);if(_0x2df4a3===_0x1bc604)break;else _0x2c3a5f['push'](_0x2c3a5f['shift']());}catch(_0x5d43cf){_0x2c3a5f['push'](_0x2c3a5f['shift']());}}}(_0x34a6,0x24915));function _0x1ee1(_0x429ce6,_0x4dd7e4){_0x429ce6=_0x429ce6-0x6c;const _0x34a660=_0x34a6();let _0x1ee12b=_0x34a660[_0x429ce6];return _0x1ee12b;}function _0x34a6(){const _0x56efe2=['右對齊','百分比堆疊面積圖','旋轉標籤','5055zbjmYn','92850DgZYJz','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','標題文本','{0}\x20類型','詞雲圖','趨勢線粗細','設置標籤格式','{0}\x20大小','力導向','格式類型','堆疊方式','使用\x20{0}\x20作為類別標籤','日期格式將日期和時間系列數值顯示為日期值。','百分比堆疊條形圖','百分比','標題格式','添加數據點','1158jPJBOk','開啟選中淡入特效','重複詞雲標籤','累積占比系列','多邊形','使用值作為節點大小','漏斗圖','網格線和刻度線','字段設置','趨勢線','主刻度線','主網格線','小數位數','千分位符','数值后缀','指示線','標籤旋轉','氣泡圖至少需要2欄,X軸、Y軸。','刻度線長度','空心正方形','面積圖','使用日期軸','顯示小計','{0}\x20格式','最小值','正方形','百分比堆疊','正值樣式','標籤位置','左對齊','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','{0}\x20粗細','數據範圍','隱藏圖表面板','氣泡圖','顯示軸線','組合圖','三角形','數據點樣式','刪除圖表','使用右軸','第\x20{0}\x20項','1243OyrJaN','編輯圖表','数值比例','垂直軸','玫瑰圖','圖表邊框顏色','第一四分位數','負值樣式','標題位置','類別\x20{0}','日期類型','負數類型','標籤文本','累積占比','471720QeEBkT','趨勢線顏色','數據標籤','空心矩形','股票圖','指示值','中位數','更多設置','堆疊面積圖','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','環形圖','氣泡大小','顯示數據標籤','415100UYjQGn','右Y軸標題','顯示空單元格為','瀑布圖','指示線類型','條形圖','長條圖系列','趨勢線類型','視覺映射範圍','系列\x20{0}','熱力圖','趨勢線名稱','趨勢線線類型','桑基圖不能包含循環數據','最大值','使用絕對值','負值圖例文本','雷達圖','副標題','空心箭頭','所有系列','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','數據點','空心三角形','移動平均周期','詞雲形狀','添加系列','18MquwjV','打開圖表面板','右垂直軸','桑基圖','用直線連接數據點','空心圓形','節點距離','1yHXIlo','空心針形','日期軸僅在數據全部為日期格式時可用','貨幣類型','555702UOwovV','主標題','{0}\x20形狀','圓環孔','R平方','圖例選擇模式','折線圖','常規格式不包含任何特定的數字格式。','175315vIUsXc','箱型圖','散點圖','排列圖','顯示公式','874528qcTbFL','柱狀圖','正值圖例文本','堆疊條形圖'];_0x34a6=function(){return _0x56efe2;};return _0x34a6();}const e={'chart':{'insertChart':'插入圖表','editChart':_0x18328c(0x96),'openChartPanel':_0x18328c(0xcc),'deleteChart':_0x18328c(0x92),'hideChartPanel':_0x18328c(0x8c),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x18328c(0x8b),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x18328c(0xc4),'series':'系列','addSeries':_0x18328c(0xca),'moreSettings':_0x18328c(0xaa),'min':_0x18328c(0x83),'max':_0x18328c(0xbe),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x18328c(0xcf)},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':_0x18328c(0x91)},'backgroundColor':'背景顏色','chartBorderColor':_0x18328c(0x9a),'titles':{'title':'標題','mainTitle':_0x18328c(0xd7),'subTitle':_0x18328c(0xc2),'xAxisTitle':'X軸標題','yAxisTitle':'Y軸標題','rightYAxisTitle':_0x18328c(0xb1),'titleFormat':_0x18328c(0xfa),'titleText':_0x18328c(0xed),'titlePosition':_0x18328c(0x9d),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':_0x18328c(0xf6),'showEmptyCellsAs':_0x18328c(0xb2)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x18328c(0x88),'center':'居中','right':_0x18328c(0xe7)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x18328c(0xdb),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':'水平軸','verticalAxis':_0x18328c(0x98),'rightVerticalAxis':_0x18328c(0xcd),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x18328c(0x93)},'position':'位置','dataLabels':_0x18328c(0xa5),'gridlinesAndTicks':_0x18328c(0x72),'indicatorLine':_0x18328c(0x7a),'indicatorLineType':_0x18328c(0xb4),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':_0x18328c(0xa8),'shape':{'polygon':_0x18328c(0x6f),'circle':'圓形','square':_0x18328c(0x84),'triangle':_0x18328c(0x90),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x18328c(0xd0),'emptySquare':_0x18328c(0x7e),'emptyTriangle':_0x18328c(0xc7),'emptyDiamond':'空心菱形','emptyRect':_0x18328c(0xa6),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x18328c(0xd3),'emptyArrow':_0x18328c(0xc3)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':'{0}\x20顏色','withThickness':_0x18328c(0x8a),'withType':_0x18328c(0xee),'withSize':_0x18328c(0xf2),'withShape':_0x18328c(0xd8),'withFormat':_0x18328c(0x82),'dataPoint':_0x18328c(0xc6),'dataNodeShape':'節點形狀','addDataPoint':_0x18328c(0xfb),'point':_0x18328c(0xc6),'percentage':_0x18328c(0xf9),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x18328c(0x85)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x18328c(0x76),'text':'網格線'},'ticks':{'majorTick':_0x18328c(0x75),'tickPosition':'刻度線位置','tickLength':_0x18328c(0x7d)},'none':'無','theIndexItem':_0x18328c(0x94),'seriesDefaultName':_0x18328c(0xb9),'categoryDefaultName':_0x18328c(0x9e),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x18328c(0xaf),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x18328c(0x99),'pieValScale':_0x18328c(0x97),'pieValSuffix':_0x18328c(0x79),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x18328c(0x8e),'labelPosition':_0x18328c(0x87),'labelText':_0x18328c(0xa1),'repeatWordCould':_0x18328c(0x6d),'gap':'間隔','useAbsValue':_0x18328c(0xbf),'labelRotate':_0x18328c(0x7b),'wordCloudShape':_0x18328c(0xc9),'useDateAxis':_0x18328c(0x80),'dateAxisTips':_0x18328c(0xd4)},'radar':{'fill':'填充'},'doughnutHole':_0x18328c(0xd9),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x18328c(0xbd)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x18328c(0x74),'displayName':_0x18328c(0xbb),'addTrendLine':'添加趨勢線','trendlineType':_0x18328c(0xb7),'trendlineName':_0x18328c(0xbb),'trendlineColor':_0x18328c(0xa4),'trendlineThickness':_0x18328c(0xf0),'trendlineDashType':_0x18328c(0xbc),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':'多項式','order':'多項式階數','period':_0x18328c(0xc8),'showFormula':_0x18328c(0xe2),'showR2':'顯示R平方','formula':'公式','r2':_0x18328c(0xda)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x18328c(0xae),'label':'氣泡標籤','emptyTips':_0x18328c(0x7c)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x18328c(0xf3),'useValueAsSymbolSize':_0x18328c(0x70),'layoutType':'佈局類型','forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x18328c(0xd1),'rotateLabel':_0x18328c(0xe9),'emphasis':_0x18328c(0x6c),'emptyTips':_0x18328c(0xac)},'waterfall':{'stackType':_0x18328c(0xf5),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x18328c(0x81),'positiveStyle':_0x18328c(0x86),'negativeStyle':_0x18328c(0x9c),'subtotalStyle':'小計樣式','positiveLegendText':_0x18328c(0xe5),'negativeLegendText':_0x18328c(0xc0),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x18328c(0xa2),'lineSeries':_0x18328c(0x6e),'barSeries':_0x18328c(0xb6)},'visualMapScope':_0x18328c(0xb8),'boxplot':{'min':_0x18328c(0x83),'q1':_0x18328c(0x9b),'median':_0x18328c(0xa9),'q3':'第三四分位數','max':_0x18328c(0xbe)}},'chartTypes':{'line':_0x18328c(0xdc),'area':_0x18328c(0x7f),'areaStacked':_0x18328c(0xab),'areaPercentStacked':_0x18328c(0xe8),'column':_0x18328c(0xe4),'bar':_0x18328c(0xb5),'barStacked':_0x18328c(0xe6),'barPercentStacked':_0x18328c(0xf8),'pie':'餅圖','donut':_0x18328c(0xad),'scatter':_0x18328c(0xe0),'radar':_0x18328c(0xc1),'bubble':_0x18328c(0x8d),'stock':_0x18328c(0xa7),'combination':_0x18328c(0x8f),'wordCloud':_0x18328c(0xef),'funnel':_0x18328c(0x71),'relation':'關係圖','waterfall':_0x18328c(0xb3),'pareto':_0x18328c(0xe1),'sankey':_0x18328c(0xce),'heatmap':_0x18328c(0xba),'boxplot':_0x18328c(0xdf)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x18328c(0x78),'fieldSetting':_0x18328c(0x73),'formatTypes':_0x18328c(0xf4),'confirm':'確定','cancel':'取消','generalDesc':_0x18328c(0xdd),'accountingDesc':_0x18328c(0x89),'currencyDesc':_0x18328c(0xc5),'dateDesc':_0x18328c(0xf7),'thousandthPercentileDesc':_0x18328c(0xec),'decimalPlaces':_0x18328c(0x77),'currencyTypes':_0x18328c(0xd5),'negativeNumberTypes':_0x18328c(0xa0),'dateTypes':_0x18328c(0x9f)},'setFormat':_0x18328c(0xf1)}};export{e as default};
@@ -1,6 +1,6 @@
1
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
2
- import { ICommand } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { ChartTypeBits } from '@univerjs-pro/engine-chart';
2
+ import type { ICommand } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
4
  export interface IInsertChartCommandParams extends ISheetCommandSharedParams {
5
5
  value: ChartTypeBits;
6
6
  }
@@ -1,6 +1,6 @@
1
- import { IChartUpdateConfigMutationParams } from '@univerjs-pro/sheets-chart';
2
- import { ICommand, IRange } from '@univerjs/core';
3
- import { ISheetCommandSharedParams } from '@univerjs/sheets';
1
+ import type { IChartUpdateConfigMutationParams } from '@univerjs-pro/sheets-chart';
2
+ import type { ICommand, IRange } from '@univerjs/core';
3
+ import type { ISheetCommandSharedParams } from '@univerjs/sheets';
4
4
  import { ChartTypeBits } from '@univerjs-pro/engine-chart';
5
5
  export interface IInsertChartCommandParams extends ISheetCommandSharedParams {
6
6
  range: IRange;
@@ -1,4 +1,4 @@
1
- import { IOperation } from '@univerjs/core';
1
+ import type { IOperation } from '@univerjs/core';
2
2
  export interface IChartHidePanelOperationParams {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,4 +1,4 @@
1
- import { IOperation } from '@univerjs/core';
1
+ import type { IOperation } from '@univerjs/core';
2
2
  export interface IChartOpenPanelOperationParams {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,2 +1,2 @@
1
- import { MenuSchemaType } from '@univerjs/ui';
1
+ import type { MenuSchemaType } from '@univerjs/ui';
2
2
  export declare const menuSchema: MenuSchemaType;
@@ -1,5 +1,5 @@
1
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
2
- import { IChartUpdateConfigMutationParams } from '@univerjs-pro/sheets-chart';
3
- import { IChartBuildOptions } from './chart-builder-base';
1
+ import type { ChartTypeBits } from '@univerjs-pro/engine-chart';
2
+ import type { IChartUpdateConfigMutationParams } from '@univerjs-pro/sheets-chart';
3
+ import type { IChartBuildOptions } from './chart-builder-base';
4
4
  export declare const setPropertyIfExist: (spec: Record<string, any>, path: string, value: unknown) => void;
5
5
  export declare const transformBuildInfoToMutation: (unitId: string, chartId: string, chartType: ChartTypeBits, buildInfo?: IChartBuildOptions) => undefined | IChartUpdateConfigMutationParams;
@@ -1,5 +1,5 @@
1
- import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, ChartTypeBits, IAllSeriesStyle, IAxisOptions, InvalidValueType, ISeriesStyle, LabelAlignEnum, LegendPositionEnum, RadarShape, SelectModeEnum, TitlePositionEnum } from '@univerjs-pro/engine-chart';
2
- import { Injector, IRange, Workbook } from '@univerjs/core';
1
+ import type { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, ChartTypeBits, IAllSeriesStyle, IAxisOptions, InvalidValueType, ISeriesStyle, LabelAlignEnum, LegendPositionEnum, RadarShape, SelectModeEnum, TitlePositionEnum } from '@univerjs-pro/engine-chart';
2
+ import type { Injector, IRange, Workbook } from '@univerjs/core';
3
3
  import { FBase } from '@univerjs/core/facade';
4
4
  /**
5
5
  * The chart builder info.
@@ -1,6 +1,7 @@
1
- import { AreaLineStyle, LinePointShape } from '@univerjs-pro/engine-chart';
2
- import { Injector, Workbook } from '@univerjs/core';
3
- import { IChartBuilderInfo, FChartBuilderBase } from './chart-builder-base';
1
+ import type { AreaLineStyle, LinePointShape } from '@univerjs-pro/engine-chart';
2
+ import type { Injector, Workbook } from '@univerjs/core';
3
+ import type { IChartBuilderInfo } from './chart-builder-base';
4
+ import { FChartBuilderBase } from './chart-builder-base';
4
5
  /**
5
6
  * The builder for creating a line chart.
6
7
  * @hideconstructor
@@ -1,5 +1,6 @@
1
- import { Injector, Workbook } from '@univerjs/core';
2
- import { IChartBuilderInfo, FChartBuilderBase } from './chart-builder-base';
1
+ import type { Injector, Workbook } from '@univerjs/core';
2
+ import type { IChartBuilderInfo } from './chart-builder-base';
3
+ import { FChartBuilderBase } from './chart-builder-base';
3
4
  /**
4
5
  * The builder for creating a pie chart.
5
6
  * @hideconstructor
@@ -1,6 +1,7 @@
1
- import { RadarShape } from '@univerjs-pro/engine-chart';
2
- import { Injector, Workbook } from '@univerjs/core';
3
- import { IChartBuilderInfo, FChartBuilderBase } from './chart-builder-base';
1
+ import type { RadarShape } from '@univerjs-pro/engine-chart';
2
+ import type { Injector, Workbook } from '@univerjs/core';
3
+ import type { IChartBuilderInfo } from './chart-builder-base';
4
+ import { FChartBuilderBase } from './chart-builder-base';
4
5
  /**
5
6
  * The builder for creating a radar chart.
6
7
  * @hideconstructor
@@ -1,6 +1,6 @@
1
- import { LineChartBuilder } from './line-chart-builder';
2
- import { PieChartBuilder } from './pie-chart-builder';
3
- import { RadarChartBuilder } from './radar-chart-builder';
1
+ import type { LineChartBuilder } from './line-chart-builder';
2
+ import type { PieChartBuilder } from './pie-chart-builder';
3
+ import type { RadarChartBuilder } from './radar-chart-builder';
4
4
  /**
5
5
  * @ignore
6
6
  */
@@ -1,6 +1,6 @@
1
- import { IChartDataCategory, IChartDataSeries } from '@univerjs-pro/engine-chart';
2
- import { ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
3
- import { Injector } from '@univerjs/core';
1
+ import type { IChartDataCategory, IChartDataSeries } from '@univerjs-pro/engine-chart';
2
+ import type { ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
3
+ import type { Injector } from '@univerjs/core';
4
4
  import { FChartBuilderBase } from './chart-builder/chart-builder-base';
5
5
  /**
6
6
  * The facade class for the chart.
@@ -1,6 +1,7 @@
1
- import { IEchartTheme } from '@univerjs-pro/engine-chart';
2
- import { IChartBuilderInfo, FChartBuilderBase } from './chart-builder/chart-builder-base';
1
+ import type { IEchartTheme } from '@univerjs-pro/engine-chart';
2
+ import type { IChartBuilderInfo } from './chart-builder/chart-builder-base';
3
3
  import { FWorksheet } from '@univerjs/sheets/facade';
4
+ import { FChartBuilderBase } from './chart-builder/chart-builder-base';
4
5
  import { FChart } from './f-chart';
5
6
  /**
6
7
  * @ignore
@@ -1,4 +1,4 @@
1
- import { ILineChartBuilderMixin, IPieChartBuilderInfo, IPieChartBuilderMixin, IRadarChartBuilderMixin } from './chart-builder/types';
1
+ import type { ILineChartBuilderMixin, IPieChartBuilderInfo, IPieChartBuilderMixin, IRadarChartBuilderMixin } from './chart-builder/types';
2
2
  import './f-worksheet';
3
3
  import './f-enum';
4
4
  export { FChartBuilderBase } from './chart-builder/chart-builder-base';
@@ -1,4 +1,5 @@
1
- import { ChartConfigStateKey, InferChartConfigStateValue, SheetsChartUIService } from './services/sheets-chart-ui.service';
1
+ import type { ChartConfigStateKey, InferChartConfigStateValue } from './services/sheets-chart-ui.service';
2
+ import { SheetsChartUIService } from './services/sheets-chart-ui.service';
2
3
  export declare function useSheetsChartUIService(): SheetsChartUIService;
3
4
  export declare function useChartConfigState<V, T extends ChartConfigStateKey = ChartConfigStateKey>(key: T, service: SheetsChartUIService, defaultValue: V): [V, (value: V) => void];
4
5
  export declare function useChartConfigState<T extends ChartConfigStateKey = ChartConfigStateKey, V extends InferChartConfigStateValue<T> = InferChartConfigStateValue<T>>(key: T, service: SheetsChartUIService): [V | undefined, (value: V) => void];
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,4 +1,4 @@
1
- import { IUniverSheetsChartConfig } from '@univerjs-pro/sheets-chart';
1
+ import type { IUniverSheetsChartConfig } from '@univerjs-pro/sheets-chart';
2
2
  import { ICommandService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
3
  export declare class UniverSheetsChartUIPlugin extends Plugin {
4
4
  private readonly _config;
@@ -1,4 +1,5 @@
1
- import { ChartStyle, IChartConfig, IChartRenderModel, ChartThemeService } from '@univerjs-pro/engine-chart';
1
+ import type { ChartStyle, IChartConfig, IChartRenderModel } from '@univerjs-pro/engine-chart';
2
+ import { ChartThemeService } from '@univerjs-pro/engine-chart';
2
3
  import { ChartModelService } from '@univerjs-pro/sheets-chart';
3
4
  import { Disposable, Injector, IUniverInstanceService, LocaleService, ThemeService } from '@univerjs/core';
4
5
  import { IDrawingManagerService } from '@univerjs/drawing';
@@ -1,6 +1,7 @@
1
- import { Rect, IRenderManagerService } from '@univerjs/engine-render';
2
- import { Observable } from 'rxjs';
1
+ import type { Rect } from '@univerjs/engine-render';
2
+ import type { Observable } from 'rxjs';
3
3
  import { Disposable } from '@univerjs/core';
4
+ import { IRenderManagerService } from '@univerjs/engine-render';
4
5
  import { SheetCanvasFloatDomManagerService } from '@univerjs/sheets-drawing-ui';
5
6
  export interface IChartHostProviderService {
6
7
  ensureHost: (chartId: string) => Promise<{
@@ -31,4 +32,4 @@ export declare class SheetsChartHostProviderService extends Disposable implement
31
32
  }>;
32
33
  private _createHost;
33
34
  }
34
- export declare const IChartHostProviderService: import('@wendellhu/redi').IdentifierDecorator<IChartHostProviderService>;
35
+ export declare const IChartHostProviderService: import("@wendellhu/redi").IdentifierDecorator<IChartHostProviderService>;
@@ -1,7 +1,10 @@
1
- import { AreaLineStyle, ChartModel, ChartStyle, DeepPartial, IAllSeriesStyle, IAxisOptions, IChartContext, IChartStyle, ILegendStyle, InvalidValueType, IPieLabelStyle, IRelationForceOptions, IRuntimeAxis, ITrendLine, LinePointShape, RadarShape, RelationChartLayoutEnum, RightYAxisOptions, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum, CategoryType, ChartTypeBits, DataOrientation } from '@univerjs-pro/engine-chart';
2
- import { IChartSourceMultiRangeItem, IChartUpdateConfigCommandParams, IChartUpdateSourceCommandParams, ISheetChartSourceSingleRange, ChartModelService, SheetsChartService } from '@univerjs-pro/sheets-chart';
3
- import { Nullable, Disposable, ICommandService, IUniverInstanceService, LocaleService } from '@univerjs/core';
4
- import { Observable } from 'rxjs';
1
+ import type { AreaLineStyle, ChartModel, ChartStyle, DeepPartial, IAllSeriesStyle, IAxisOptions, IChartContext, IChartStyle, ILegendStyle, InvalidValueType, IPieLabelStyle, IRelationForceOptions, IRuntimeAxis, ITrendLine, LinePointShape, RadarShape, RelationChartLayoutEnum, RightYAxisOptions, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '@univerjs-pro/engine-chart';
2
+ import type { IChartSourceMultiRangeItem, IChartUpdateConfigCommandParams, IChartUpdateSourceCommandParams, ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
3
+ import type { Nullable } from '@univerjs/core';
4
+ import type { Observable } from 'rxjs';
5
+ import { CategoryType, ChartTypeBits, DataOrientation } from '@univerjs-pro/engine-chart';
6
+ import { ChartModelService, SheetsChartService } from '@univerjs-pro/sheets-chart';
7
+ import { Disposable, ICommandService, IUniverInstanceService, LocaleService } from '@univerjs/core';
5
8
  import { IChartHostProviderService } from './sheets-chart-host-provider.service';
6
9
  export declare function registryChartConfigState(service: SheetsChartUIService): void;
7
10
  export interface IChartOptionType {
@@ -98,10 +101,10 @@ export declare class SheetsChartUIService extends Disposable {
98
101
  private _viewState;
99
102
  private _rangeSelectMode;
100
103
  constructor(_chartModelService: ChartModelService, _sheetsChartService: SheetsChartService, _commandService: ICommandService, _localeService: LocaleService, _chartHostProviderService: IChartHostProviderService, _univerInstanceService: IUniverInstanceService);
101
- get activeChartModel(): Nullable<import('@univerjs-pro/sheets-chart').SheetChartModel>;
104
+ get activeChartModel(): Nullable<import("@univerjs-pro/sheets-chart").SheetChartModel>;
102
105
  get rangeSelectMode(): boolean;
103
106
  set rangeSelectMode(on: boolean);
104
- getDataSource(id: string): import('@univerjs-pro/sheets-chart/models/types.js').ISheetChartDataSource | undefined;
107
+ getDataSource(id: string): import("@univerjs-pro/sheets-chart/models/types.js").ISheetChartDataSource | undefined;
105
108
  registerViewState<T extends ChartConfigStateKey = ChartConfigStateKey>(id: T, state: (chartModel: ChartModel) => IChartConfigStateMap[T]): void;
106
109
  getViewState<V extends ChartConfigStateValue = ChartConfigStateValue>(id: ChartConfigStateKey): IChartConfigState<V> | undefined;
107
110
  executeChartUpdateConfig(params: Omit<IChartUpdateConfigCommandParams, 'unitId'>): void;
@@ -1,5 +1,5 @@
1
- import { IChartSourceMultiRangeItem, ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
2
- import { IUniverInstanceService, Nullable } from '@univerjs/core';
1
+ import type { IChartSourceMultiRangeItem, ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
2
+ import type { IUniverInstanceService, Nullable } from '@univerjs/core';
3
3
  import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
4
  export declare function serializeChartDataRange(rangeInfo: Nullable<ISheetChartSourceSingleRange | IChartSourceMultiRangeItem[]>, univerInstanceService: IUniverInstanceService): string;
5
5
  export interface IChartTypeOption {
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { IChartOptionType } from '../../services/sheets-chart-ui.service';
1
+ import type { ReactNode } from 'react';
2
+ import type { IChartOptionType } from '../../services/sheets-chart-ui.service';
3
3
  import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, ChartTrendlineType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SelectModeEnum, SeriesLabelPosition, TextAlign, TextVerticalAlign, TitlePositionEnum, WaterfallStackTypeEnum } from '@univerjs-pro/engine-chart';
4
4
  export type OptionType = IChartOptionType;
5
5
  export declare const defaultOption: {
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../services/sheets-chart-ui.service';
3
3
  export declare const RadarChartOptionsEdit: (props: {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,4 +1,4 @@
1
- import { OptionType } from '../Options';
1
+ import type { OptionType } from '../Options';
2
2
  export interface IButtonSwitchProps {
3
3
  className?: string;
4
4
  options: OptionType[];
@@ -1,4 +1,4 @@
1
- import { Nullable } from '@univerjs/core';
1
+ import type { Nullable } from '@univerjs/core';
2
2
  export interface IColorPickerControlProps {
3
3
  color: Nullable<string>;
4
4
  onChange?: (color: Nullable<string>) => void;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface IBubbleDataEditProps {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { OptionType } from '../Options';
1
+ import type { ReactElement } from 'react';
2
+ import type { OptionType } from '../Options';
3
3
  export interface IDropdownMenuProps {
4
4
  value: string;
5
5
  menus: OptionType[];
@@ -1,4 +1,4 @@
1
- import { LocaleService } from '@univerjs/core';
1
+ import type { LocaleService } from '@univerjs/core';
2
2
  export interface IFontFormatStyle {
3
3
  fontSize: number;
4
4
  color: string;
@@ -1,6 +1,6 @@
1
- import { DeepPartial, IAxisOptions } from '@univerjs-pro/engine-chart';
2
- import { LocaleService, Nullable } from '@univerjs/core';
3
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { DeepPartial, IAxisOptions } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService, Nullable } from '@univerjs/core';
3
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
4
4
  export interface IAxisOptionsEditProps {
5
5
  localeService: LocaleService;
6
6
  valueAxis: boolean;
@@ -1,7 +1,7 @@
1
- import { ChartTypeBits, IPieLabelStyle, ISeriesLabelStyle } from '@univerjs-pro/engine-chart';
2
- import { LocaleService, Nullable } from '@univerjs/core';
3
- import { PropertyChangeFunction } from '../font-format-bar';
4
- import { OptionType } from '../Options';
1
+ import type { ChartTypeBits, IPieLabelStyle, ISeriesLabelStyle } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService, Nullable } from '@univerjs/core';
3
+ import type { PropertyChangeFunction } from '../font-format-bar';
4
+ import type { OptionType } from '../Options';
5
5
  type UnionLabelStyle = ISeriesLabelStyle | IPieLabelStyle;
6
6
  export interface IDataLabelOptionsProps {
7
7
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { ChartBorderDashType } from '@univerjs-pro/engine-chart';
2
- import { LocaleService } from '@univerjs/core';
1
+ import type { ChartBorderDashType } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService } from '@univerjs/core';
3
3
  interface IIndicatorChangeInfo {
4
4
  indicatorLabelColor?: string;
5
5
  indicatorLineType?: ChartBorderDashType;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface ITrendLineStyleEditProps {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { LocaleService, Nullable } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService, Nullable } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
4
  export declare const PieChartStyleEdit: (props: {
5
5
  chartType: Nullable<ChartTypeBits>;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface IRelationEditProps {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface ITrendLineStyleEditProps {
4
4
  uiService: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface IWaterfallSeriesEditProps {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
3
  interface IWordCloudShapeSelectorProps {
4
4
  service: SheetsChartUIService;
5
5
  localeService: LocaleService;
@@ -1,6 +1,6 @@
1
- import { IRuntimeAxis } from '@univerjs-pro/engine-chart';
2
- import { LocaleService, Nullable } from '@univerjs/core';
3
- import { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
1
+ import type { IRuntimeAxis } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService, Nullable } from '@univerjs/core';
3
+ import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
4
4
  export interface IGridLineAndTickOptionsProps {
5
5
  className?: string;
6
6
  service: SheetsChartUIService;
@@ -1,5 +1,5 @@
1
- import { LocaleService } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
3
3
  export interface ICombinationChartTypeSelectProps {
4
4
  localeService: LocaleService;
5
5
  service: SheetsChartUIService;
@@ -1,6 +1,7 @@
1
- import { DeepPartial, ISeriesStyle, ChartTypeBits } from '@univerjs-pro/engine-chart';
2
- import { LocaleService, Nullable } from '@univerjs/core';
3
- import { IChartOptionType } from '../../../../services/sheets-chart-ui.service';
1
+ import type { DeepPartial, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService, Nullable } from '@univerjs/core';
3
+ import type { IChartOptionType } from '../../../../services/sheets-chart-ui.service';
4
+ import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
5
  export interface IDataPointsEditProps {
5
6
  chartType: Nullable<ChartTypeBits>;
6
7
  data: DeepPartial<ISeriesStyle['dataPoints']>;
@@ -1,5 +1,5 @@
1
- import { DeepPartial, IPointStyle, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
- import { LocaleService } from '@univerjs/core';
1
+ import type { DeepPartial, IPointStyle, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
+ import type { LocaleService } from '@univerjs/core';
3
3
  interface IRadarSeriesPointProps {
4
4
  localeService: LocaleService;
5
5
  setSeriesStyle: (style: DeepPartial<ISeriesStyle>) => void;
@@ -1,5 +1,5 @@
1
- import { LocaleService, Nullable } from '@univerjs/core';
2
- import { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
1
+ import type { LocaleService, Nullable } from '@univerjs/core';
2
+ import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
3
3
  import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
4
  export interface ISeriesStyleEditProps {
5
5
  chartType: Nullable<ChartTypeBits>;