@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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +547 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -3
- package/lib/types/commands/commands/sheets-chart.command.d.ts +3 -3
- package/lib/types/commands/operations/hide-chart-panel-operation.d.ts +1 -1
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/facade/chart-builder/builder-util.d.ts +3 -3
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +2 -2
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +4 -3
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +3 -2
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +4 -3
- package/lib/types/facade/chart-builder/types.d.ts +3 -3
- package/lib/types/facade/f-chart.d.ts +3 -3
- package/lib/types/facade/f-worksheet.d.ts +3 -2
- package/lib/types/facade/index.d.ts +1 -1
- package/lib/types/hooks.d.ts +2 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/chart-render.service.d.ts +2 -1
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +4 -3
- package/lib/types/services/sheets-chart-ui.service.d.ts +9 -6
- package/lib/types/util.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/Options.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +3 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +4 -4
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +3 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +4 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +3 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +2 -2
- package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -2
- package/lib/types/wordcloud/index.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -20
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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,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
|
|
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
|
|
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
|
|
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
|
|
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';
|
package/lib/types/hooks.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChartConfigStateKey, InferChartConfigStateValue
|
|
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];
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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(
|
|
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
|
|
2
|
-
import { IChartSourceMultiRangeItem, IChartUpdateConfigCommandParams, IChartUpdateSourceCommandParams, ISheetChartSourceSingleRange
|
|
3
|
-
import { Nullable
|
|
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(
|
|
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(
|
|
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;
|
package/lib/types/util.d.ts
CHANGED
|
@@ -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,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,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;
|
package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { DeepPartial, ISeriesStyle
|
|
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;
|
package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts
CHANGED
|
@@ -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>;
|