@univerjs-pro/sheets-chart-ui 0.7.0 → 0.8.0-beta.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/en-US.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/ru-RU.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/en-US.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/ru-RU.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 +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.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/controllers/menu.schema.d.ts +2 -0
- package/lib/types/controllers/sheets-chart-ui.controller.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +312 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +2 -306
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/types/services/sheets-chart-ui.service.d.ts +2 -0
- package/lib/types/util.d.ts +5 -7
- package/lib/types/views/chart-edit-panel/Options.d.ts +1 -5
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +9 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/ru-RU.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 +16 -16
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0xb8934f=_0x4c5a;(function(_0x37bc37,_0x2fd433){const _0x345a7c=_0x4c5a,_0x29c620=_0x37bc37();while(!![]){try{const _0x2233ce=parseInt(_0x345a7c(0x148))/0x1+parseInt(_0x345a7c(0x13c))/0x2*(-parseInt(_0x345a7c(0x137))/0x3)+parseInt(_0x345a7c(0x156))/0x4+-parseInt(_0x345a7c(0xe3))/0x5*(parseInt(_0x345a7c(0x11f))/0x6)+parseInt(_0x345a7c(0x131))/0x7*(parseInt(_0x345a7c(0x12b))/0x8)+parseInt(_0x345a7c(0x15e))/0x9*(parseInt(_0x345a7c(0xe6))/0xa)+parseInt(_0x345a7c(0x15b))/0xb*(-parseInt(_0x345a7c(0x103))/0xc);if(_0x2233ce===_0x2fd433)break;else _0x29c620['push'](_0x29c620['shift']());}catch(_0xfbe33f){_0x29c620['push'](_0x29c620['shift']());}}}(_0x3b44,0x62d3f));function _0x4c5a(_0x3f4910,_0x17626a){const _0x3b4437=_0x3b44();return _0x4c5a=function(_0x4c5a1f,_0x43d63b){_0x4c5a1f=_0x4c5a1f-0xdf;let _0x30171a=_0x3b4437[_0x4c5a1f];return _0x30171a;},_0x4c5a(_0x3f4910,_0x17626a);}const e={'chart':{'insertChart':_0xb8934f(0xdf),'editChart':_0xb8934f(0x125),'openChartPanel':_0xb8934f(0x140),'deleteChart':'刪除圖表','hideChartPanel':_0xb8934f(0x168),'setupChart':_0xb8934f(0x124),'customChart':_0xb8934f(0xf5),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0xb8934f(0x104),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0xb8934f(0x144),'moreSettings':_0xb8934f(0x166),'min':'最小值','max':_0xb8934f(0x120),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0xb8934f(0x119)},'blank':_0xb8934f(0xfe),'seriesBlock':{'format':'格式','dataPointStyle':_0xb8934f(0x138)},'backgroundColor':_0xb8934f(0x101),'chartBorderColor':_0xb8934f(0x12e),'titles':{'title':'標題','mainTitle':_0xb8934f(0x110),'subTitle':_0xb8934f(0xf1),'xAxisTitle':_0xb8934f(0xed),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0xb8934f(0x134),'titleFormat':_0xb8934f(0xee),'titleText':_0xb8934f(0xef),'titlePosition':_0xb8934f(0x11d),'titleAlign':_0xb8934f(0x158)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0xb8934f(0xe2),'settingsLabels':{'switchToRowOrColumn':_0xb8934f(0x10c),'useAsCategoryLabels':_0xb8934f(0x113),'showEmptyCellsAs':_0xb8934f(0x133)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0xb8934f(0x157),'center':'居中','right':_0xb8934f(0x147)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0xb8934f(0x13f),'chartAndAxisTitles':_0xb8934f(0x13a),'legend':'圖例','legendSelectMode':_0xb8934f(0x163),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0xb8934f(0x108),'horizontalAxis':_0xb8934f(0xe8),'verticalAxis':_0xb8934f(0xeb),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0xb8934f(0xfb)},'position':'位置','dataLabels':_0xb8934f(0x126),'gridlinesAndTicks':_0xb8934f(0x10b),'indicatorLine':_0xb8934f(0xf7),'indicatorLineType':'指示線類型','indicatorLineColor':'指示線顏色','indicatorLabel':_0xb8934f(0xe7),'indicatorValue':'指示值','shape':{'polygon':_0xb8934f(0x109),'circle':'圓形','square':_0xb8934f(0x14f),'triangle':_0xb8934f(0x159),'diamond':'菱形','rect':'矩形','roundRect':_0xb8934f(0xfc),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0xb8934f(0x16a),'emptySquare':_0xb8934f(0xe4),'emptyTriangle':_0xb8934f(0xec),'emptyDiamond':_0xb8934f(0x118),'emptyRect':_0xb8934f(0x146),'emptyRoundRect':'空心圓角矩形','emptyPin':_0xb8934f(0x167),'emptyArrow':_0xb8934f(0x12d)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0xb8934f(0x114),'withThickness':_0xb8934f(0x152),'withType':_0xb8934f(0x102),'withSize':_0xb8934f(0x11c),'withShape':_0xb8934f(0xf3),'withFormat':_0xb8934f(0x139),'dataPoint':_0xb8934f(0x10d),'addDataPoint':'添加數據點','point':'數據點','percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0xb8934f(0x13b)},'lineDashType':_0xb8934f(0x11a),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0xb8934f(0x141)},'ticks':{'majorTick':_0xb8934f(0xf8),'tickPosition':_0xb8934f(0x14d),'tickLength':_0xb8934f(0x15d)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0xb8934f(0xf0),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0xb8934f(0xf6),'showDataLabels':_0xb8934f(0x143),'padAngle':_0xb8934f(0x130),'halfPie':'半餅','rosePie':_0xb8934f(0x105),'showLabelLine':_0xb8934f(0x100),'reverseAxisOrder':_0xb8934f(0x135),'showAxisLine':'顯示軸線','labelPosition':'標籤位置','labelText':_0xb8934f(0xe0),'repeatWordCould':_0xb8934f(0xea),'gap':'間隔','useAbsValue':_0xb8934f(0x161),'labelRotate':_0xb8934f(0x142),'wordCloudShape':_0xb8934f(0x116),'useDateAxis':_0xb8934f(0x10a),'dateAxisTips':_0xb8934f(0x128)},'radar':{'fill':'填充'},'doughnutHole':_0xb8934f(0xe1),'msg':{'invalidSource':_0xb8934f(0xf9),'emptyTips':'請先添加系列開始數據可視化'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0xb8934f(0x14b),'addTrendLine':_0xb8934f(0x112),'trendlineType':_0xb8934f(0x153),'trendlineName':_0xb8934f(0x14b),'trendlineColor':_0xb8934f(0x12c),'trendlineThickness':_0xb8934f(0x123),'trendlineDashType':_0xb8934f(0x155),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0xb8934f(0x14c),'order':_0xb8934f(0x11b),'period':'移動平均周期','showFormula':_0xb8934f(0xfa),'showR2':'顯示R平方','formula':'公式','r2':_0xb8934f(0x106)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0xb8934f(0xfd),'label':_0xb8934f(0x13e),'emptyTips':'氣泡圖至少需要3列,X軸、Y軸和氣泡大小。'},'relation':{'title':_0xb8934f(0x13d),'auto':'自動','circular':'環形','force':_0xb8934f(0xe5),'useValueAsSymbolSize':_0xb8934f(0xe9),'layoutType':_0xb8934f(0x164),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0xb8934f(0x111),'emphasis':_0xb8934f(0x12a),'emptyTips':_0xb8934f(0x127)},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0xb8934f(0x15f),'negativeStyle':'負值樣式','subtotalStyle':'小計樣式','positiveLegendText':_0xb8934f(0x14a),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0xb8934f(0x10f)},'pareto':{'lineName':_0xb8934f(0x169),'lineSeries':_0xb8934f(0x122),'barSeries':'長條圖系列'}},'chartTypes':{'line':_0xb8934f(0x136),'area':_0xb8934f(0xf2),'areaStacked':_0xb8934f(0x160),'areaPercentStacked':_0xb8934f(0x132),'column':'柱狀圖','bar':_0xb8934f(0x117),'barStacked':_0xb8934f(0x10e),'barPercentStacked':_0xb8934f(0x145),'pie':'餅圖','donut':_0xb8934f(0x165),'scatter':_0xb8934f(0x150),'radar':_0xb8934f(0x15a),'bubble':_0xb8934f(0x12f),'stock':_0xb8934f(0x154),'combination':'組合圖','wordCloud':_0xb8934f(0x149),'funnel':'漏斗圖','relation':_0xb8934f(0x13d),'waterfall':'瀑布圖','pareto':_0xb8934f(0xff)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0xb8934f(0x121),'fieldSetting':'字段設置','formatTypes':_0xb8934f(0x162),'confirm':'確定','cancel':'取消','generalDesc':_0xb8934f(0x11e),'accountingDesc':_0xb8934f(0x16b),'currencyDesc':_0xb8934f(0x14e),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0xb8934f(0x129),'decimalPlaces':'小數位數','currencyTypes':_0xb8934f(0x15c),'negativeNumberTypes':_0xb8934f(0x107),'dateTypes':_0xb8934f(0x115)},'setFormat':_0xb8934f(0x151)}};function _0x3b44(){const _0x39b8b0=['折線圖','51gzsmni','數據點樣式','{0}\x20格式','圖表和軸標題','百分比堆疊','91024ovVlcK','關係圖','氣泡標籤','圖表樣式','打開圖表面板','網格線','標籤旋轉','顯示數據標籤','添加系列','百分比堆疊條形圖','空心矩形','右對齊','317423sFDblw','詞雲圖','正值圖例文本','趨勢線名稱','多項式','刻度線位置','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','正方形','散點圖','設置標籤格式','{0}\x20粗細','趨勢線類型','股票圖','趨勢線線類型','1289400bxdAAu','左對齊','標題對齊','三角形','雷達圖','121RvEyjT','貨幣類型','刻度線長度','7055442fKiFuZ','正值樣式','堆疊面積圖','使用絕對值','格式類型','圖例選擇模式','佈局類型','環形圖','更多設置','空心針形','隱藏圖表面板','累積占比','空心圓形','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','插入圖表','標籤文本','圓環孔','漸變填充','47335YgIyQV','空心正方形','力導向','10MfDwUN','指示標籤','水平軸','使用值作為節點大小','重複詞雲標籤','垂直軸','空心三角形','X軸標題','標題格式','標題文本','系列\x20{0}','副標題','面積圖','{0}\x20形狀','exports','自定義圖表','顯示標籤','指示線','主刻度線','圖表數據源必須包含多於1行和1列。','顯示公式','使用右軸','圓角矩形','氣泡大小','(空)','排列圖','顯示標籤線','背景顏色','{0}\x20類型','388308MbteTA','數據範圍','玫瑰圖','R平方','負數類型','軸選項','多邊形','使用日期軸','網格線和刻度線','切換行或列','數據點','堆疊條形圖','小計圖例文本','主標題','旋轉標籤','添加趨勢線','使用\x20{0}\x20作為類別標籤','{0}\x20顏色','日期類型','詞雲形狀','條形圖','空心菱形','用直線連接數據點','線類型','多項式階數','{0}\x20大小','標題位置','常規格式不包含任何特定的數字格式。','48VhhoBI','最大值','千分位符','累積占比系列','趨勢線粗細','設置圖表','編輯圖表','數據標籤','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','日期軸僅在數據全部為日期格式時可用','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','開啟選中淡入特效','24kzuyej','趨勢線顏色','空心箭頭','圖表邊框顏色','氣泡圖','扇形間距','435113Boytnd','百分比堆疊面積圖','顯示空單元格為','右Y軸標題','逆序軸'];_0x3b44=function(){return _0x39b8b0;};return _0x3b44();}module[_0xb8934f(0xf4)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2ba5df=_0x58f1;(function(_0xbd16a5,_0x236b1b){const _0x1d5dea=_0x58f1,_0x27afea=_0xbd16a5();while(!![]){try{const _0x45acb0=-parseInt(_0x1d5dea(0x17d))/0x1*(parseInt(_0x1d5dea(0x1c8))/0x2)+parseInt(_0x1d5dea(0x20a))/0x3+parseInt(_0x1d5dea(0x203))/0x4*(-parseInt(_0x1d5dea(0x178))/0x5)+parseInt(_0x1d5dea(0x1b5))/0x6+parseInt(_0x1d5dea(0x197))/0x7+parseInt(_0x1d5dea(0x169))/0x8+-parseInt(_0x1d5dea(0x213))/0x9*(parseInt(_0x1d5dea(0x1d9))/0xa);if(_0x45acb0===_0x236b1b)break;else _0x27afea['push'](_0x27afea['shift']());}catch(_0x2d1f2a){_0x27afea['push'](_0x27afea['shift']());}}}(_0x28af,0x65205));function _0x28af(){const _0x9ea4ce=['SelectModeEnum','setShowLabelLine','legend.label.bold','334450xFcTlL','legend','setPosition','\x20not\x20found','titles.rightYAxisTitle.family','width','dataSource','lineStyle','isHalfPie','registerChartTheme','setYAxisTextStyle','ChartBorderDashType','Pie','pie.rosePie','setFill','axisAlignment','category','setDoughnutHole','build','allSeriesStyle','setTheme','showLabelLine','clearRange','subUnitId','titles.yAxisTitle.bold','fontStyle','tooltip.indicatorLabelColor','area.lineStyle','getWorkbook','style','dataPointShape','getRangeInfo','updateChart','get','theme','titles.rightYAxisTitle.bold','titles.titlePosition','getSheetId','getSeriesData','radar','setYAxisTitle','map','394580SIwYMY','options','yAxis.label.axisTitleAlign','RadarShape','fontSize','allSeriesStyle.point.shape','_commandService','1668108OzqjZn','registerTheme','setDataPointColor','titles.xAxisTitle.bold','allSeriesStyle.label','rosePie','yRightAxis','selectMode','setSeriesStyle','153QcYRWB','insertChart','rightYAxisTitle','TitlePositionEnum','modify','setLineStyle','693920xKHfpc','unitId','doughnutHole','LegendPositionEnum','ChartType','tooltip.indicatorLabelTextColor','asRadarChart','content','addRange','pie.showLabelLine','radar.shape','borderColor','legend.label.fontSize','titles.xAxisTitle.fontSize','xAxis','10MPeDcf','border','setRightYAxisTitle','_workbook','yAxis','577355uVdHwZ','_injector','allSeriesStyle.point','top','setRightYAxisTextStyle','setHasPaddingAngle','rightYAxis','setHeight','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','isRowDirection','setWidth','titles.xAxisTitle.font','UNIVER_SHEET','titles.rightYAxisTitle.fontSize','sourceSheetName','yAxisTitle','dataPointSize','area','chartType','pie.doughnutHole','hasPaddingAngle','invalidValueType','Sheet\x20','pie','backgroundColor','setShape','3548412dKYExD','getRange','point','titles.title.font','executeCommand','newChart','getCurrentUnitForType','setTransposeRowsAndColumns','titles.title.family','fontColor','height','titles.xAxisTitle.family','pie.isHalfPie','bold','transposeRowsAndColumns','titles.yAxisTitle.font','getSheetBySheetName','color','setDataPointShape','getCharts','getUnitId','gradientFill','with','pie.hasPaddingAngle','getChartModel','getChartType','asPieChart','length','titles.rightYAxisTitle.content','fill','3646386LMqCSI','seriesStyleMap','left','setAxisPointerStyle','setRosePie','setAllSeriesStyle','setOptions','dataPointColor','allSeriesStyle.rightYAxis','legend.label.color','titles.title.content','getCategoryData','config','context','title','axisPointer','font','legend.position','position','2XcPTsJ','xAxisTitle','xAxis.label.axisTitleAlign','sheetName','titles.title.bold','titles.xAxisTitle.color','asLineChart','titles.title.color','setInvalidValueStrategy','shape','chartId','extend','range','indicatorLineType'];_0x28af=function(){return _0x9ea4ce;};return _0x28af();}var b=Object['defineProperty'],k=(_0x46148f,_0x1e2ce8,_0x4cfd52)=>_0x1e2ce8 in _0x46148f?b(_0x46148f,_0x1e2ce8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cfd52}):_0x46148f[_0x1e2ce8]=_0x4cfd52,n=(_0x4ae354,_0x249846,_0x526079)=>k(_0x4ae354,typeof _0x249846!='symbol'?_0x249846+'':_0x249846,_0x526079);function _0x58f1(_0x513f6d,_0x23e3a4){const _0x28af41=_0x28af();return _0x58f1=function(_0x58f1ab,_0x55605e){_0x58f1ab=_0x58f1ab-0x169;let _0x3fd1e7=_0x28af41[_0x58f1ab];return _0x3fd1e7;},_0x58f1(_0x513f6d,_0x23e3a4);}import{ChartThemeService as _0x502307,ChartTypeBits as _0x1390e7,LegendPositionEnum as _0x137045,SelectModeEnum as _0x481c4b,AxisAlignEnum as _0x9ca0ee,ChartBorderDashType as _0x301d2b,LinePointShape as _0x58d5c3,TitlePositionEnum as _0x546e5d,RadarShape as _0x411994}from'@univerjs-pro/engine-chart';import{setProperty as _0x1a8fd2,SheetsChartService as _0x5f57fe,ChartUpdateSourceCommand as _0x166126,ChartUpdateConfigCommand as _0xd2806}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x181091}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x15b87b,IUniverInstanceService as _0x279abf,UniverInstanceType as _0x245758,generateRandomId as _0x329061,DrawingTypeEnum as _0x1e8cad}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x543b91}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x5e0489}from'@univerjs/sheets/facade';import{FBase as _0x5cb71d,FEnum as _0x5403c2}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x2f1141}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4f6fa3}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x42f482,SheetSkeletonManagerService as _0x4c8574,convertPositionCellToSheetOverGrid as _0x424013}from'@univerjs/sheets-ui';const s=(_0x3b5232,_0x563da7,_0x2f75e3)=>{_0x2f75e3!==void 0x0&&_0x1a8fd2(_0x3b5232,_0x563da7,_0x2f75e3);},C=(_0x34a03c,_0x465abf,_0x4f7be0,_0x160f7f={})=>{const _0x5cb0db=_0x58f1,_0x4f6257={},_0x5cabd4={};if(_0x160f7f[_0x5cb0db(0x1c3)]){const _0x4bd517=_0x160f7f[_0x5cb0db(0x1c3)];s(_0x4f6257,_0x5cb0db(0x1bf),_0x4bd517[_0x5cb0db(0x170)]),s(_0x4f6257,_0x5cb0db(0x19a),_0x4bd517[_0x5cb0db(0x1c5)]),s(_0x4f6257,'titles.title.fontSize',_0x4bd517[_0x5cb0db(0x207)]),s(_0x4f6257,_0x5cb0db(0x1cf),_0x4bd517[_0x5cb0db(0x1a0)]),s(_0x4f6257,_0x5cb0db(0x19f),_0x4bd517[_0x5cb0db(0x1f2)]),s(_0x4f6257,_0x5cb0db(0x1cc),_0x4bd517[_0x5cb0db(0x1a4)]),s(_0x4f6257,'titles.title.align',_0x4bd517['titleAlignment']),s(_0x4f6257,_0x5cb0db(0x1fd),_0x4bd517[_0x5cb0db(0x1c7)]);}if(_0x160f7f[_0x5cb0db(0x1da)]){const _0x2a5051=_0x160f7f['legend'];s(_0x4f6257,_0x5cb0db(0x1c6),_0x2a5051['position']),s(_0x4f6257,'legend.selectMode',_0x2a5051[_0x5cb0db(0x211)]),s(_0x4f6257,_0x5cb0db(0x175),_0x2a5051[_0x5cb0db(0x207)]),s(_0x4f6257,_0x5cb0db(0x1be),_0x2a5051[_0x5cb0db(0x1a8)]),s(_0x4f6257,_0x5cb0db(0x1d8),_0x2a5051[_0x5cb0db(0x1a4)]),s(_0x4f6257,'legend.label.italic',_0x2a5051['italic']);}if(_0x160f7f['pie']){const _0x75a67b=_0x160f7f[_0x5cb0db(0x194)];s(_0x4f6257,_0x5cb0db(0x190),_0x75a67b['doughnutHole']),s(_0x4f6257,'pie.borderColor',_0x75a67b[_0x5cb0db(0x174)]),s(_0x4f6257,_0x5cb0db(0x1ae),_0x75a67b[_0x5cb0db(0x191)]),s(_0x4f6257,_0x5cb0db(0x1a3),_0x75a67b[_0x5cb0db(0x1e1)]),s(_0x4f6257,_0x5cb0db(0x1e6),_0x75a67b[_0x5cb0db(0x20f)]),s(_0x4f6257,_0x5cb0db(0x172),_0x75a67b[_0x5cb0db(0x1ee)]);}if(_0x160f7f[_0x5cb0db(0x1c4)]){const _0xc1e4b2=_0x160f7f[_0x5cb0db(0x1c4)];s(_0x4f6257,_0x5cb0db(0x1f3),_0xc1e4b2['indicatorLabelColor']),s(_0x4f6257,'tooltip.indicatorLineType',_0xc1e4b2[_0x5cb0db(0x1d5)]),s(_0x4f6257,'tooltip.indicatorLineColor',_0xc1e4b2['indicatorLineColor']),s(_0x4f6257,_0x5cb0db(0x16e),_0xc1e4b2['indicatorLabelTextColor']);}if(_0x160f7f['allSeriesStyle']&&(s(_0x4f6257,'allSeriesStyle.border',_0x160f7f[_0x5cb0db(0x1ec)][_0x5cb0db(0x179)]),s(_0x4f6257,_0x5cb0db(0x20e),_0x160f7f['allSeriesStyle']['label']),s(_0x4f6257,_0x5cb0db(0x1bd),_0x160f7f['allSeriesStyle'][_0x5cb0db(0x183)]),s(_0x4f6257,_0x5cb0db(0x17f),_0x160f7f['allSeriesStyle'][_0x5cb0db(0x199)]),s(_0x4f6257,'allSeriesStyle.color',_0x160f7f[_0x5cb0db(0x1ec)][_0x5cb0db(0x1a8)])),_0x160f7f[_0x5cb0db(0x18e)]&&s(_0x4f6257,_0x5cb0db(0x1f4),_0x160f7f[_0x5cb0db(0x18e)]['lineStyle']),_0x160f7f['theme']&&s(_0x4f6257,_0x5cb0db(0x1fb),_0x160f7f[_0x5cb0db(0x1fb)]),_0x160f7f[_0x5cb0db(0x195)]&&s(_0x4f6257,_0x5cb0db(0x195),_0x160f7f[_0x5cb0db(0x195)]),_0x160f7f[_0x5cb0db(0x174)]&&s(_0x4f6257,'borderColor',_0x160f7f[_0x5cb0db(0x174)]),_0x160f7f[_0x5cb0db(0x1ac)]&&s(_0x4f6257,_0x5cb0db(0x1ac),_0x160f7f['gradientFill']),_0x160f7f['invalidValueType']&&s(_0x4f6257,_0x5cb0db(0x192),_0x160f7f['invalidValueType']),_0x160f7f[_0x5cb0db(0x200)]&&s(_0x4f6257,_0x5cb0db(0x200),_0x160f7f[_0x5cb0db(0x200)]),_0x160f7f[_0x5cb0db(0x1c9)]){const _0x32142d=_0x160f7f[_0x5cb0db(0x1c9)];s(_0x4f6257,'titles.xAxisTitle.content',_0x32142d[_0x5cb0db(0x170)]),s(_0x4f6257,_0x5cb0db(0x188),_0x32142d[_0x5cb0db(0x1c5)]),s(_0x4f6257,_0x5cb0db(0x176),_0x32142d[_0x5cb0db(0x207)]),s(_0x4f6257,_0x5cb0db(0x1cd),_0x32142d[_0x5cb0db(0x1a0)]),s(_0x4f6257,_0x5cb0db(0x1a2),_0x32142d[_0x5cb0db(0x1f2)]),s(_0x4f6257,_0x5cb0db(0x20d),_0x32142d[_0x5cb0db(0x1a4)]),s(_0x4f6257,_0x5cb0db(0x1ca),_0x32142d[_0x5cb0db(0x1e8)]);}if(_0x160f7f['yAxisTitle']){const _0x2428a9=_0x160f7f['yAxisTitle'];s(_0x4f6257,'titles.yAxisTitle.content',_0x2428a9['content']),s(_0x4f6257,_0x5cb0db(0x1a6),_0x2428a9[_0x5cb0db(0x1c5)]),s(_0x4f6257,'titles.yAxisTitle.fontSize',_0x2428a9[_0x5cb0db(0x207)]),s(_0x4f6257,'titles.yAxisTitle.color',_0x2428a9[_0x5cb0db(0x1a0)]),s(_0x4f6257,'titles.yAxisTitle.family',_0x2428a9[_0x5cb0db(0x1f2)]),s(_0x4f6257,_0x5cb0db(0x1f1),_0x2428a9[_0x5cb0db(0x1a4)]),s(_0x4f6257,_0x5cb0db(0x205),_0x2428a9[_0x5cb0db(0x1e8)]);}if(_0x160f7f[_0x5cb0db(0x215)]){const _0x183f22=_0x160f7f[_0x5cb0db(0x215)];s(_0x4f6257,_0x5cb0db(0x1b3),_0x183f22[_0x5cb0db(0x170)]),s(_0x4f6257,'titles.rightYAxisTitle.font',_0x183f22[_0x5cb0db(0x1c5)]),s(_0x4f6257,_0x5cb0db(0x18a),_0x183f22[_0x5cb0db(0x207)]),s(_0x4f6257,'titles.rightYAxisTitle.color',_0x183f22[_0x5cb0db(0x1a0)]),s(_0x4f6257,_0x5cb0db(0x1dd),_0x183f22[_0x5cb0db(0x1f2)]),s(_0x4f6257,_0x5cb0db(0x1fc),_0x183f22['bold']),s(_0x4f6257,'rightYAxis.label.axisTitleAlign',_0x183f22[_0x5cb0db(0x1e8)]);}_0x160f7f[_0x5cb0db(0x177)]&&s(_0x4f6257,_0x5cb0db(0x177),_0x160f7f['xAxis']),_0x160f7f['yAxis']&&s(_0x4f6257,_0x5cb0db(0x17c),_0x160f7f['yAxis']),_0x160f7f[_0x5cb0db(0x210)]&&s(_0x4f6257,'rightYAxis',_0x160f7f[_0x5cb0db(0x210)]),_0x160f7f[_0x5cb0db(0x1b6)]&&s(_0x4f6257,'seriesStyleMap',_0x160f7f[_0x5cb0db(0x1b6)]);const _0x5f4847={'unitId':_0x34a03c,'chartModelId':_0x465abf};let _0x573f43=!0x1;if(_0x4f7be0!==void 0x0&&(_0x5f4847['chartType']=_0x4f7be0,_0x573f43=!0x0),Object['keys'](_0x4f6257)[_0x5cb0db(0x1b2)]>0x0&&(_0x5f4847[_0x5cb0db(0x1f6)]=_0x4f6257,_0x573f43=!0x0),Object['keys'](_0x5cabd4)[_0x5cb0db(0x1b2)]>0x0&&(_0x5f4847[_0x5cb0db(0x1c2)]=_0x5cabd4,_0x573f43=!0x0),_0x573f43)return _0x5f4847;};class c extends _0x5cb71d{constructor(_0xf55301,_0x4b0d40,_0x6299cd,_0x2d96e8,_0x1b1181){const _0x865c18=_0x58f1;super(),n(this,_0x865c18(0x17b)),n(this,_0x865c18(0x17e)),n(this,_0x865c18(0x16a)),n(this,_0x865c18(0x1f0)),n(this,_0x865c18(0x1d2)),n(this,'range'),n(this,_0x865c18(0x18b)),n(this,'x'),n(this,'y'),n(this,_0x865c18(0x1de)),n(this,_0x865c18(0x1a1)),n(this,'chartType'),n(this,_0x865c18(0x204)),n(this,_0x865c18(0x1a5)),(this[_0x865c18(0x16a)]=_0xf55301,this[_0x865c18(0x1f0)]=_0x4b0d40,this[_0x865c18(0x17b)]=_0x6299cd,this[_0x865c18(0x17e)]=_0x2d96e8,_0x1b1181&&(this['chartId']=_0x1b1181));}[_0x2ba5df(0x1b0)](){const _0x31a9f7=_0x2ba5df;return this[_0x31a9f7(0x18f)];}[_0x2ba5df(0x171)](_0x229538){const _0x3ea51e=_0x2ba5df;if(typeof _0x229538=='string'){const _0xfc4b70=_0x2f1141(_0x229538);_0xfc4b70[_0x3ea51e(0x1cb)]&&(this[_0x3ea51e(0x18b)]=_0xfc4b70[_0x3ea51e(0x1cb)]),this['range']=_0xfc4b70[_0x3ea51e(0x1d4)];}else this[_0x3ea51e(0x1d4)]=_0x229538;return this;}[_0x2ba5df(0x1ef)](){const _0x419feb=_0x2ba5df;return this[_0x419feb(0x1d4)]=void 0x0,this[_0x419feb(0x18b)]=void 0x0,this;}[_0x2ba5df(0x1db)](_0x70fd0c,_0x447ff9,_0x3a848e,_0x1cf84b){const _0x491723=_0x2ba5df,_0x536cac=this[_0x491723(0x17e)][_0x491723(0x1fa)](_0x4f6fa3)['getRenderById'](this[_0x491723(0x16a)]);if(!_0x536cac)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x35aff5=_0x536cac[_0x491723(0x1ad)](_0x42f482),_0x15e57c=_0x536cac['with'](_0x4c8574),{transform:_0x1a81d3}=_0x424013(this[_0x491723(0x16a)],this[_0x491723(0x1f0)],{'row':_0x70fd0c,'column':_0x447ff9,'rowOffset':_0x3a848e,'columnOffset':_0x1cf84b},0x1,0x1,_0x35aff5,_0x15e57c),_0x543c69=_0x1a81d3[_0x491723(0x180)],_0x5f4047=_0x1a81d3[_0x491723(0x1b7)];return this['x']=_0x5f4047,this['y']=_0x543c69,this;}['setAbsolutePosition'](_0x5e3909,_0x3bdc70){return this['x']=_0x5e3909,this['y']=_0x3bdc70,this;}['setChartType'](_0x401cc6){const _0x3052fc=_0x2ba5df;return this[_0x3052fc(0x18f)]=_0x401cc6,this;}[_0x2ba5df(0x187)](_0x5cd40e){const _0x1a1d9b=_0x2ba5df;return this[_0x1a1d9b(0x1de)]=_0x5cd40e,this;}[_0x2ba5df(0x184)](_0x9b09ee){const _0x4057c7=_0x2ba5df;return this[_0x4057c7(0x1a1)]=_0x9b09ee,this;}['setOptions'](_0x52f330,_0xbb62e0){const _0x5adba4=_0x2ba5df;return this[_0x5adba4(0x204)]||(this[_0x5adba4(0x204)]={}),_0x52f330===''?(this[_0x5adba4(0x204)]={...this[_0x5adba4(0x204)],..._0xbb62e0},this):(_0x1a8fd2(this[_0x5adba4(0x204)],_0x52f330,_0xbb62e0),this);}[_0x2ba5df(0x19e)](_0x774b71){const _0x13bcac=_0x2ba5df;return this[_0x13bcac(0x1a5)]=_0x774b71,this;}[_0x2ba5df(0x1ed)](_0x352749){const _0x476060=_0x2ba5df;return this[_0x476060(0x1bb)](_0x476060(0x1fb),_0x352749),this;}['setXAxisTitle'](_0x47df1f){const _0x5c79b8=_0x2ba5df;var _0x56a419;const _0x48f3c6=((_0x56a419=this[_0x5c79b8(0x204)])==null?void 0x0:_0x56a419[_0x5c79b8(0x1c9)])||{};return _0x48f3c6['content']=_0x47df1f,this[_0x5c79b8(0x1bb)](_0x5c79b8(0x1c9),_0x48f3c6),this;}[_0x2ba5df(0x201)](_0x46fbbd){const _0x48a646=_0x2ba5df;var _0x277a08;const _0x45404d=((_0x277a08=this[_0x48a646(0x204)])==null?void 0x0:_0x277a08[_0x48a646(0x18c)])||{};return _0x45404d[_0x48a646(0x170)]=_0x46fbbd,this['setOptions']('yAxisTitle',_0x45404d),this;}[_0x2ba5df(0x17a)](_0x19085c){const _0x1d8159=_0x2ba5df;var _0x5e6cf0;const _0x51dc95=((_0x5e6cf0=this['options'])==null?void 0x0:_0x5e6cf0[_0x1d8159(0x215)])||{};return _0x51dc95[_0x1d8159(0x170)]=_0x19085c,this[_0x1d8159(0x1bb)](_0x1d8159(0x215),_0x51dc95),this;}['setXAxisTextStyle'](_0x393bc9){const _0x257087=_0x2ba5df;var _0x15ab2a;const _0x57905d=((_0x15ab2a=this[_0x257087(0x204)])==null?void 0x0:_0x15ab2a[_0x257087(0x1c9)])||{};return this[_0x257087(0x1bb)](_0x257087(0x1c9),{..._0x57905d,..._0x393bc9}),this;}[_0x2ba5df(0x1e3)](_0x1e68ce){const _0x18c0eb=_0x2ba5df;var _0x353d80;const _0x9ebc5f=((_0x353d80=this['options'])==null?void 0x0:_0x353d80[_0x18c0eb(0x18c)])||{};return this[_0x18c0eb(0x1bb)](_0x18c0eb(0x18c),{..._0x9ebc5f,..._0x1e68ce}),this;}[_0x2ba5df(0x181)](_0x57a73c){const _0x518bba=_0x2ba5df;var _0x5d07f5;const _0xde30a4=((_0x5d07f5=this[_0x518bba(0x204)])==null?void 0x0:_0x5d07f5[_0x518bba(0x215)])||{};return this['setOptions'](_0x518bba(0x215),{..._0xde30a4,..._0x57a73c}),this;}[_0x2ba5df(0x1d0)](_0x1ca376){const _0xbe796c=_0x2ba5df;return this[_0xbe796c(0x1bb)](_0xbe796c(0x192),_0x1ca376),this;}[_0x2ba5df(0x1b8)](_0x241abe){return this['setOptions']('axisPointer',_0x241abe),this;}[_0x2ba5df(0x1ba)](_0x52c638){const _0x5f09bc=_0x2ba5df;return this['setOptions'](_0x5f09bc(0x1ec),_0x52c638),this;}[_0x2ba5df(0x212)](_0x180e7f,_0x3bd77a){const _0x240e70=_0x2ba5df;return this[_0x240e70(0x1bb)](_0x240e70(0x1b6),{[_0x180e7f]:_0x3bd77a}),this;}[_0x2ba5df(0x1eb)](){const _0x280497=_0x2ba5df;var _0x3231b8;let _0x1dda9b=this[_0x280497(0x1f0)];if(this['sourceSheetName']){const _0x1b3aa9=(_0x3231b8=this[_0x280497(0x17b)][_0x280497(0x1a7)](this[_0x280497(0x18b)]))==null?void 0x0:_0x3231b8[_0x280497(0x1fe)]();if(!_0x1b3aa9)throw new Error(_0x280497(0x193)+this['sourceSheetName']+_0x280497(0x1dc));_0x1dda9b=_0x1b3aa9;}return{'unitId':this[_0x280497(0x16a)],'subUnitId':_0x1dda9b,'chartId':this[_0x280497(0x1d2)],'range':this[_0x280497(0x1d4)],'x':this['x'],'y':this['y'],'width':this[_0x280497(0x1de)],'height':this[_0x280497(0x1a1)],'chartType':this[_0x280497(0x18f)],'options':this[_0x280497(0x204)],'isRowDirection':this[_0x280497(0x1a5)]};}}class f{constructor(_0xf778e0,_0x544f32,_0x330e85,_0x36e840){const _0x29cafb=_0x2ba5df;n(this,_0x29cafb(0x16a)),n(this,_0x29cafb(0x1f0)),n(this,_0x29cafb(0x1d2)),n(this,_0x29cafb(0x17e)),(this[_0x29cafb(0x16a)]=_0xf778e0,this[_0x29cafb(0x1f0)]=_0x544f32,this[_0x29cafb(0x1d2)]=_0x330e85,this['_injector']=_0x36e840);}['getChartId'](){return this['chartId'];}[_0x2ba5df(0x198)](){const _0x352ee0=_0x2ba5df,_0x59ffea=this[_0x352ee0(0x17e)][_0x352ee0(0x1fa)](_0x5f57fe)['getChartModel'](this[_0x352ee0(0x1d2)]);if(_0x59ffea)return _0x59ffea[_0x352ee0(0x1df)][_0x352ee0(0x1f8)]();}['updateRange'](_0x346b3a){const _0x34042f=_0x2ba5df;return this[_0x34042f(0x17e)][_0x34042f(0x1fa)](_0x15b87b)['executeCommand'](_0x166126['id'],{'unitId':this[_0x34042f(0x16a)],'chartModelId':this[_0x34042f(0x1d2)],'range':_0x346b3a});}[_0x2ba5df(0x1ff)](){const _0x3bb25b=_0x2ba5df;var _0x1ce544;const _0x143979=this[_0x3bb25b(0x17e)][_0x3bb25b(0x1fa)](_0x5f57fe)[_0x3bb25b(0x1af)](this[_0x3bb25b(0x1d2)]);if(_0x143979)return(_0x1ce544=_0x143979[_0x3bb25b(0x1c1)])==null?void 0x0:_0x1ce544['series'];}[_0x2ba5df(0x1c0)](){const _0x3ca39c=_0x2ba5df;var _0x2be5f6;const _0x1dabc7=this[_0x3ca39c(0x17e)]['get'](_0x5f57fe)[_0x3ca39c(0x1af)](this[_0x3ca39c(0x1d2)]);if(_0x1dabc7)return(_0x2be5f6=_0x1dabc7[_0x3ca39c(0x1c1)])==null?void 0x0:_0x2be5f6[_0x3ca39c(0x1e9)];}[_0x2ba5df(0x217)](){const _0x4230ef=_0x2ba5df,_0x2a46cb=this[_0x4230ef(0x17e)][_0x4230ef(0x1fa)](_0x279abf)[_0x4230ef(0x19d)](_0x245758[_0x4230ef(0x189)]);return new c(this[_0x4230ef(0x16a)],this['subUnitId'],_0x2a46cb,this[_0x4230ef(0x17e)],this[_0x4230ef(0x1d2)]);}}class Q extends _0x5e0489{async[_0x2ba5df(0x214)](_0x5aa15f){const _0x1a58a7=_0x2ba5df;var _0x43e513,_0x3fcb2a,_0x5d21a3;const _0x454f0=_0x5aa15f['unitId']||this['getWorkbook']()['getUnitId'](),_0x53d151=_0x5aa15f['subUnitId']||this['getSheetId'](),_0x5054f9=_0x5aa15f[_0x1a58a7(0x1d2)]||_0x329061(),_0x4d018c=_0x5aa15f[_0x1a58a7(0x18f)],_0x5daa6a=_0x5aa15f[_0x1a58a7(0x1d4)],_0x4d78a3={'x':_0x5aa15f['x'],'y':_0x5aa15f['y']},_0x16aae1=_0x5aa15f[_0x1a58a7(0x1de)],_0x3c74f0=_0x5aa15f[_0x1a58a7(0x1a1)],_0x458f10=(_0x43e513=_0x5aa15f[_0x1a58a7(0x204)])==null?void 0x0:_0x43e513[_0x1a58a7(0x195)],_0x50578c=(_0x3fcb2a=_0x5aa15f[_0x1a58a7(0x204)])==null?void 0x0:_0x3fcb2a[_0x1a58a7(0x174)],_0x343efb=C(_0x454f0,_0x5054f9,_0x4d018c,_0x5aa15f[_0x1a58a7(0x204)]),_0x5291a4=(_0x5d21a3=_0x5aa15f[_0x1a58a7(0x186)])!=null?_0x5d21a3:!0x0;if(!_0x5daa6a)throw new Error(_0x1a58a7(0x185));return await this[_0x1a58a7(0x209)][_0x1a58a7(0x19b)](_0x181091['id'],{'unitId':_0x454f0,'subUnitId':_0x53d151,'chartId':_0x5054f9,'chartType':_0x4d018c,'range':_0x5daa6a,'position':_0x4d78a3,'width':_0x16aae1,'height':_0x3c74f0,'backgroundColor':_0x458f10,'borderColor':_0x50578c,'config':_0x343efb,'isRowDirection':_0x5291a4}),new f(_0x454f0,_0x53d151,_0x5054f9,this[_0x1a58a7(0x17e)]);}[_0x2ba5df(0x1f9)](_0x5eb1b3){const _0x3a5064=_0x2ba5df,{unitId:_0x3e8542,chartId:_0x1264f8,chartType:_0x3edba0,options:_0x1ade3a}=_0x5eb1b3,_0x53e6dd=C(_0x3e8542,_0x1264f8,_0x3edba0,_0x1ade3a);this[_0x3a5064(0x209)][_0x3a5064(0x19b)](_0xd2806['id'],_0x53e6dd);}[_0x2ba5df(0x19c)](_0x44acc9){const _0x3ac5d2=_0x2ba5df;if(_0x44acc9)return new c(_0x44acc9[_0x3ac5d2(0x16a)],_0x44acc9[_0x3ac5d2(0x1f0)],this[_0x3ac5d2(0x17b)],this[_0x3ac5d2(0x17e)],_0x44acc9[_0x3ac5d2(0x1d2)]);const _0x5035e7=this[_0x3ac5d2(0x1f5)]()[_0x3ac5d2(0x1ab)](),_0x2c7949=this['getSheetId']();return new c(_0x5035e7,_0x2c7949,this[_0x3ac5d2(0x17b)],this['_injector']);}[_0x2ba5df(0x1aa)](){const _0x16d9b1=_0x2ba5df,_0x144468=this[_0x16d9b1(0x17e)][_0x16d9b1(0x1fa)](_0x5f57fe),_0x288c6e=this['getWorkbook']()[_0x16d9b1(0x1ab)]();return _0x144468['getUnitChartModels'](_0x288c6e,this[_0x16d9b1(0x1fe)]())[_0x16d9b1(0x202)](_0x5230d6=>new f(_0x288c6e,this[_0x16d9b1(0x1fe)](),_0x5230d6['id'],this[_0x16d9b1(0x17e)]));}['removeChart'](_0x517cee){const _0x30589c=_0x2ba5df,_0x55e349=_0x517cee[_0x30589c(0x16a)],_0x4d0db1=_0x517cee[_0x30589c(0x1f0)],_0x586b70=_0x517cee[_0x30589c(0x1d2)],_0x19c2d1={'unitId':_0x55e349,'drawings':[{'unitId':_0x55e349,'subUnitId':_0x4d0db1,'drawingId':_0x586b70,'drawingType':_0x1e8cad['DRAWING_CHART']}]};return this['_commandService'][_0x30589c(0x19b)](_0x543b91['id'],_0x19c2d1);}[_0x2ba5df(0x1e2)](_0x9c3e3e,_0x27b00f){const _0x90eb31=_0x2ba5df;this[_0x90eb31(0x17e)][_0x90eb31(0x1fa)](_0x502307)[_0x90eb31(0x20b)](_0x9c3e3e,_0x27b00f);}}_0x5e0489[_0x2ba5df(0x1d3)](Q);class Z extends _0x5403c2{get[_0x2ba5df(0x16d)](){return _0x1390e7;}get[_0x2ba5df(0x16c)](){return _0x137045;}get[_0x2ba5df(0x1d6)](){return _0x481c4b;}get['AxisAlignEnum'](){return _0x9ca0ee;}get[_0x2ba5df(0x1e4)](){return _0x301d2b;}get['LinePointShape'](){return _0x58d5c3;}get[_0x2ba5df(0x216)](){return _0x546e5d;}get[_0x2ba5df(0x206)](){return _0x411994;}}_0x5403c2[_0x2ba5df(0x1d3)](Z);class tt extends c{constructor(_0x224df8,_0xae51bf,_0x384838,_0x1c4003,_0x579228){const _0x21c022=_0x2ba5df;super(_0x224df8,_0xae51bf,_0x384838,_0x1c4003,_0x579228),n(this,_0x21c022(0x1e0)),n(this,'dataPointShape'),n(this,_0x21c022(0x1bc)),n(this,_0x21c022(0x18d));}[_0x2ba5df(0x218)](_0x51ce60){const _0x4f0c9c=_0x2ba5df;return this[_0x4f0c9c(0x1e0)]=_0x51ce60,this;}[_0x2ba5df(0x1a9)](_0x3e27c2){const _0x4b33e6=_0x2ba5df;return this[_0x4b33e6(0x1f7)]=_0x3e27c2,this;}[_0x2ba5df(0x20c)](_0x305d6b){const _0x2c25b0=_0x2ba5df;return this[_0x2c25b0(0x1bc)]=_0x305d6b,this;}['setDataPointSize'](_0x4388a4){return this['dataPointSize']=_0x4388a4,this;}[_0x2ba5df(0x1eb)](){const _0x3d80c3=_0x2ba5df,_0x359414=super[_0x3d80c3(0x1eb)]();_0x359414['chartType']=_0x1390e7['Line'];const _0x5e9110=_0x359414['options']||{};return s(_0x5e9110,_0x3d80c3(0x1f4),this['lineStyle']),s(_0x5e9110,_0x3d80c3(0x208),this['dataPointShape']),s(_0x5e9110,'allSeriesStyle.point.color',this[_0x3d80c3(0x1bc)]),s(_0x5e9110,'allSeriesStyle.point.size',this[_0x3d80c3(0x18d)]),_0x359414[_0x3d80c3(0x204)]=_0x5e9110,_0x359414;}}class et extends c{[_0x2ba5df(0x1ce)](){const _0x5bb300=_0x2ba5df;return new tt(this[_0x5bb300(0x16a)],this[_0x5bb300(0x1f0)],this['_workbook'],this[_0x5bb300(0x17e)],this[_0x5bb300(0x1d2)]);}}c[_0x2ba5df(0x1d3)](et);class it extends c{constructor(_0x15b2d3,_0x578555,_0x3ae976,_0x17f6f3,_0x3d7015){const _0x547949=_0x2ba5df;super(_0x15b2d3,_0x578555,_0x3ae976,_0x17f6f3,_0x3d7015),n(this,_0x547949(0x16b)),n(this,'borderColor'),n(this,_0x547949(0x191)),n(this,_0x547949(0x1e1)),n(this,_0x547949(0x20f)),n(this,_0x547949(0x1ee));}[_0x2ba5df(0x1ea)](_0x47e4a2){const _0x568339=_0x2ba5df;return this[_0x568339(0x16b)]=_0x47e4a2,this;}['setBorderColor'](_0x3eed83){return this['borderColor']=_0x3eed83,this;}[_0x2ba5df(0x182)](_0x39010d){const _0x201e13=_0x2ba5df;return this[_0x201e13(0x191)]=_0x39010d,this;}['setIsHalfPie'](_0x346750){const _0x2765b0=_0x2ba5df;return this[_0x2765b0(0x1e1)]=_0x346750,this;}[_0x2ba5df(0x1b9)](_0x1c339b){const _0x3edfe4=_0x2ba5df;return this[_0x3edfe4(0x20f)]=_0x1c339b,this;}[_0x2ba5df(0x1d7)](_0x1542a8){return this['showLabelLine']=_0x1542a8,this;}[_0x2ba5df(0x1eb)](){const _0x19c18f=_0x2ba5df,_0x840aaa=super[_0x19c18f(0x1eb)]();_0x840aaa[_0x19c18f(0x18f)]=_0x1390e7[_0x19c18f(0x1e5)];const _0x5894c7=_0x840aaa['options']||{};return s(_0x5894c7,'pie.doughnutHole',this[_0x19c18f(0x16b)]),s(_0x5894c7,'pie.borderColor',this[_0x19c18f(0x174)]),s(_0x5894c7,_0x19c18f(0x1ae),this[_0x19c18f(0x191)]),s(_0x5894c7,_0x19c18f(0x1a3),this[_0x19c18f(0x1e1)]),s(_0x5894c7,'pie.rosePie',this['rosePie']),s(_0x5894c7,'pie.showLabelLine',this[_0x19c18f(0x1ee)]),_0x840aaa[_0x19c18f(0x204)]=_0x5894c7,_0x840aaa;}}class st extends c{[_0x2ba5df(0x1b1)](){const _0x1ec796=_0x2ba5df;return new it(this[_0x1ec796(0x16a)],this['subUnitId'],this[_0x1ec796(0x17b)],this[_0x1ec796(0x17e)],this['chartId']);}}c['extend'](st);class rt extends c{constructor(_0x195eb7,_0x180096,_0x471443,_0x531203,_0x295311){const _0x4c3ca5=_0x2ba5df;super(_0x195eb7,_0x180096,_0x471443,_0x531203,_0x295311),n(this,'shape'),n(this,_0x4c3ca5(0x1b4));}[_0x2ba5df(0x196)](_0x3754e4){const _0x155284=_0x2ba5df;return this[_0x155284(0x1d1)]=_0x3754e4,this;}[_0x2ba5df(0x1e7)](_0x559cfc){const _0x18b524=_0x2ba5df;return this[_0x18b524(0x1b4)]=_0x559cfc,this;}[_0x2ba5df(0x1eb)](){const _0x20ba74=_0x2ba5df,_0x3f11b5=super[_0x20ba74(0x1eb)]();_0x3f11b5[_0x20ba74(0x18f)]=_0x1390e7['Radar'];const _0x4aebb2=_0x3f11b5['options']||{};return s(_0x4aebb2,_0x20ba74(0x173),this[_0x20ba74(0x1d1)]),s(_0x4aebb2,'radar.fill',this[_0x20ba74(0x1b4)]),_0x3f11b5[_0x20ba74(0x204)]=_0x4aebb2,_0x3f11b5;}}class ot extends c{[_0x2ba5df(0x16f)](){const _0x5595d6=_0x2ba5df;return new rt(this['unitId'],this[_0x5595d6(0x1f0)],this[_0x5595d6(0x17b)],this[_0x5595d6(0x17e)],this[_0x5595d6(0x1d2)]);}}c[_0x2ba5df(0x1d3)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
|
|
1
|
+
const _0x45a983=_0x14e2;(function(_0x3222b2,_0x2a5d9b){const _0x43d307=_0x14e2,_0x19999d=_0x3222b2();while(!![]){try{const _0x477b01=parseInt(_0x43d307(0x253))/0x1+-parseInt(_0x43d307(0x241))/0x2*(-parseInt(_0x43d307(0x256))/0x3)+parseInt(_0x43d307(0x20f))/0x4+-parseInt(_0x43d307(0x26f))/0x5+parseInt(_0x43d307(0x24f))/0x6+-parseInt(_0x43d307(0x230))/0x7+-parseInt(_0x43d307(0x237))/0x8;if(_0x477b01===_0x2a5d9b)break;else _0x19999d['push'](_0x19999d['shift']());}catch(_0x5ed80f){_0x19999d['push'](_0x19999d['shift']());}}}(_0x1198,0x43c5f));var b=Object['defineProperty'],k=(_0x210c7a,_0x19e052,_0x26ffc9)=>_0x19e052 in _0x210c7a?b(_0x210c7a,_0x19e052,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26ffc9}):_0x210c7a[_0x19e052]=_0x26ffc9,n=(_0x43d6c6,_0x43844c,_0x32956f)=>k(_0x43d6c6,typeof _0x43844c!=_0x45a983(0x22c)?_0x43844c+'':_0x43844c,_0x32956f);import{ChartThemeService as _0x58e4ac,ChartTypeBits as _0x385e24,LegendPositionEnum as _0x4155b8,SelectModeEnum as _0x5d913d,AxisAlignEnum as _0x1da67d,ChartBorderDashType as _0x26b524,LinePointShape as _0x5002c6,TitlePositionEnum as _0x4dd934,RadarShape as _0x10cd63}from'@univerjs-pro/engine-chart';import{setProperty as _0x800a87,SheetsChartService as _0x3d10ef,ChartUpdateSourceCommand as _0x2d7208,ChartUpdateConfigCommand as _0x2b3b12}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x3feeb0}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x8682bc,IUniverInstanceService as _0x2fd978,UniverInstanceType as _0x1a8fea,generateRandomId as _0x1196ab,DrawingTypeEnum as _0x5663fc}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x4a94ae}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xe75092}from'@univerjs/sheets/facade';import{FBase as _0x3f4726,FEnum as _0x35e8c5}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x28ff62}from'@univerjs/engine-formula';import{IRenderManagerService as _0x6ed95f}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30bf09,SheetSkeletonManagerService as _0x526bd7,convertPositionCellToSheetOverGrid as _0x5245d1}from'@univerjs/sheets-ui';const s=(_0x228faf,_0x1dd4b8,_0x4d49c4)=>{_0x4d49c4!==void 0x0&&_0x800a87(_0x228faf,_0x1dd4b8,_0x4d49c4);},C=(_0x29259b,_0x359278,_0x4163c5,_0x3739a9={})=>{const _0x122878=_0x45a983,_0x3679e3={},_0x23c830={};if(_0x3739a9[_0x122878(0x1fc)]){const _0x2fa26e=_0x3739a9[_0x122878(0x1fc)];s(_0x3679e3,'titles.title.content',_0x2fa26e[_0x122878(0x1ed)]),s(_0x3679e3,_0x122878(0x280),_0x2fa26e[_0x122878(0x245)]),s(_0x3679e3,_0x122878(0x28a),_0x2fa26e[_0x122878(0x231)]),s(_0x3679e3,_0x122878(0x21a),_0x2fa26e['fontColor']),s(_0x3679e3,'titles.title.family',_0x2fa26e[_0x122878(0x216)]),s(_0x3679e3,'titles.title.bold',_0x2fa26e[_0x122878(0x227)]),s(_0x3679e3,_0x122878(0x217),_0x2fa26e['titleAlignment']),s(_0x3679e3,_0x122878(0x207),_0x2fa26e[_0x122878(0x1f1)]);}if(_0x3739a9[_0x122878(0x206)]){const _0x6522ff=_0x3739a9[_0x122878(0x206)];s(_0x3679e3,'legend.position',_0x6522ff[_0x122878(0x1f1)]),s(_0x3679e3,_0x122878(0x275),_0x6522ff[_0x122878(0x20c)]),s(_0x3679e3,_0x122878(0x1e2),_0x6522ff[_0x122878(0x231)]),s(_0x3679e3,_0x122878(0x27c),_0x6522ff[_0x122878(0x282)]),s(_0x3679e3,_0x122878(0x1fe),_0x6522ff[_0x122878(0x227)]),s(_0x3679e3,_0x122878(0x1e9),_0x6522ff[_0x122878(0x26e)]);}if(_0x3739a9[_0x122878(0x24a)]){const _0x31f46c=_0x3739a9['pie'];s(_0x3679e3,_0x122878(0x20d),_0x31f46c[_0x122878(0x23d)]),s(_0x3679e3,_0x122878(0x25a),_0x31f46c['borderColor']),s(_0x3679e3,_0x122878(0x28d),_0x31f46c[_0x122878(0x22e)]),s(_0x3679e3,_0x122878(0x260),_0x31f46c['isHalfPie']),s(_0x3679e3,_0x122878(0x202),_0x31f46c[_0x122878(0x21b)]),s(_0x3679e3,'pie.showLabelLine',_0x31f46c[_0x122878(0x201)]);}if(_0x3739a9[_0x122878(0x1ec)]){const _0x287df8=_0x3739a9[_0x122878(0x1ec)];s(_0x3679e3,_0x122878(0x284),_0x287df8['indicatorLabelColor']),s(_0x3679e3,'tooltip.indicatorLineType',_0x287df8['indicatorLineType']),s(_0x3679e3,'tooltip.indicatorLineColor',_0x287df8[_0x122878(0x22b)]),s(_0x3679e3,_0x122878(0x27d),_0x287df8['indicatorLabelTextColor']);}if(_0x3739a9[_0x122878(0x269)]&&(s(_0x3679e3,'allSeriesStyle.border',_0x3739a9['allSeriesStyle']['border']),s(_0x3679e3,'allSeriesStyle.label',_0x3739a9[_0x122878(0x269)][_0x122878(0x27f)]),s(_0x3679e3,'allSeriesStyle.rightYAxis',_0x3739a9[_0x122878(0x269)][_0x122878(0x1f3)]),s(_0x3679e3,_0x122878(0x214),_0x3739a9['allSeriesStyle'][_0x122878(0x287)]),s(_0x3679e3,_0x122878(0x257),_0x3739a9[_0x122878(0x269)][_0x122878(0x282)])),_0x3739a9[_0x122878(0x240)]&&s(_0x3679e3,'area.lineStyle',_0x3739a9[_0x122878(0x240)][_0x122878(0x263)]),_0x3739a9[_0x122878(0x25d)]&&s(_0x3679e3,_0x122878(0x25d),_0x3739a9[_0x122878(0x25d)]),_0x3739a9[_0x122878(0x211)]&&s(_0x3679e3,_0x122878(0x211),_0x3739a9[_0x122878(0x211)]),_0x3739a9[_0x122878(0x1ea)]&&s(_0x3679e3,_0x122878(0x1ea),_0x3739a9[_0x122878(0x1ea)]),_0x3739a9[_0x122878(0x27e)]&&s(_0x3679e3,'gradientFill',_0x3739a9[_0x122878(0x27e)]),_0x3739a9['invalidValueType']&&s(_0x3679e3,_0x122878(0x28c),_0x3739a9[_0x122878(0x28c)]),_0x3739a9[_0x122878(0x236)]&&s(_0x3679e3,'radar',_0x3739a9[_0x122878(0x236)]),_0x3739a9[_0x122878(0x1fa)]){const _0xac36e9=_0x3739a9['xAxisTitle'];s(_0x3679e3,_0x122878(0x21f),_0xac36e9[_0x122878(0x1ed)]),s(_0x3679e3,_0x122878(0x254),_0xac36e9['font']),s(_0x3679e3,_0x122878(0x25c),_0xac36e9[_0x122878(0x231)]),s(_0x3679e3,_0x122878(0x1da),_0xac36e9[_0x122878(0x264)]),s(_0x3679e3,_0x122878(0x20a),_0xac36e9[_0x122878(0x216)]),s(_0x3679e3,_0x122878(0x23f),_0xac36e9[_0x122878(0x227)]),s(_0x3679e3,_0x122878(0x27b),_0xac36e9['axisAlignment']);}if(_0x3739a9[_0x122878(0x244)]){const _0x4c4450=_0x3739a9[_0x122878(0x244)];s(_0x3679e3,_0x122878(0x1f8),_0x4c4450['content']),s(_0x3679e3,_0x122878(0x233),_0x4c4450[_0x122878(0x245)]),s(_0x3679e3,_0x122878(0x1e4),_0x4c4450[_0x122878(0x231)]),s(_0x3679e3,_0x122878(0x1f6),_0x4c4450[_0x122878(0x264)]),s(_0x3679e3,_0x122878(0x255),_0x4c4450[_0x122878(0x216)]),s(_0x3679e3,_0x122878(0x232),_0x4c4450['bold']),s(_0x3679e3,_0x122878(0x247),_0x4c4450[_0x122878(0x259)]);}if(_0x3739a9[_0x122878(0x26d)]){const _0x5219cb=_0x3739a9[_0x122878(0x26d)];s(_0x3679e3,_0x122878(0x204),_0x5219cb['content']),s(_0x3679e3,'titles.rightYAxisTitle.font',_0x5219cb['font']),s(_0x3679e3,_0x122878(0x223),_0x5219cb[_0x122878(0x231)]),s(_0x3679e3,_0x122878(0x270),_0x5219cb['fontColor']),s(_0x3679e3,_0x122878(0x23e),_0x5219cb['fontStyle']),s(_0x3679e3,'titles.rightYAxisTitle.bold',_0x5219cb[_0x122878(0x227)]),s(_0x3679e3,_0x122878(0x238),_0x5219cb[_0x122878(0x259)]);}_0x3739a9[_0x122878(0x1e0)]&&s(_0x3679e3,'xAxis',_0x3739a9[_0x122878(0x1e0)]),_0x3739a9['yAxis']&&s(_0x3679e3,_0x122878(0x274),_0x3739a9[_0x122878(0x274)]),_0x3739a9['yRightAxis']&&s(_0x3679e3,_0x122878(0x1f3),_0x3739a9[_0x122878(0x1e5)]),_0x3739a9['seriesStyleMap']&&s(_0x3679e3,_0x122878(0x22f),_0x3739a9[_0x122878(0x22f)]);const _0x443711={'unitId':_0x29259b,'chartModelId':_0x359278};let _0x2c7504=!0x1;if(_0x4163c5!==void 0x0&&(_0x443711[_0x122878(0x286)]=_0x4163c5,_0x2c7504=!0x0),Object[_0x122878(0x25b)](_0x3679e3)[_0x122878(0x262)]>0x0&&(_0x443711['style']=_0x3679e3,_0x2c7504=!0x0),Object[_0x122878(0x25b)](_0x23c830)[_0x122878(0x262)]>0x0&&(_0x443711['context']=_0x23c830,_0x2c7504=!0x0),_0x2c7504)return _0x443711;};function _0x14e2(_0x3aa7f4,_0x309ffc){const _0x1198aa=_0x1198();return _0x14e2=function(_0x14e238,_0xcfa1c1){_0x14e238=_0x14e238-0x1da;let _0x1af9ba=_0x1198aa[_0x14e238];return _0x1af9ba;},_0x14e2(_0x3aa7f4,_0x309ffc);}class c extends _0x3f4726{constructor(_0x1bccee,_0x1f88f4,_0x10469e,_0x3daca7,_0x1b2f27){const _0x502015=_0x45a983;super(),n(this,_0x502015(0x1e1)),n(this,'_injector'),n(this,'unitId'),n(this,_0x502015(0x1f0)),n(this,'chartId'),n(this,_0x502015(0x208)),n(this,_0x502015(0x278)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x502015(0x268)),n(this,_0x502015(0x286)),n(this,_0x502015(0x28b)),n(this,_0x502015(0x246)),(this[_0x502015(0x1f7)]=_0x1bccee,this[_0x502015(0x1f0)]=_0x1f88f4,this[_0x502015(0x1e1)]=_0x10469e,this[_0x502015(0x281)]=_0x3daca7,_0x1b2f27&&(this[_0x502015(0x1ef)]=_0x1b2f27));}[_0x45a983(0x248)](){const _0x4457ed=_0x45a983;return this[_0x4457ed(0x286)];}['addRange'](_0x14d055){const _0x1eae98=_0x45a983;if(typeof _0x14d055==_0x1eae98(0x242)){const _0x1d80ec=_0x28ff62(_0x14d055);_0x1d80ec[_0x1eae98(0x23b)]&&(this[_0x1eae98(0x278)]=_0x1d80ec['sheetName']),this['range']=_0x1d80ec['range'];}else this['range']=_0x14d055;return this;}[_0x45a983(0x24c)](){const _0x37296f=_0x45a983;return this['range']=void 0x0,this[_0x37296f(0x278)]=void 0x0,this;}[_0x45a983(0x277)](_0x4a00be,_0x3c9153,_0x3bb928,_0x2558fe){const _0x1d6716=_0x45a983,_0x2cb265=this[_0x1d6716(0x281)][_0x1d6716(0x24d)](_0x6ed95f)[_0x1d6716(0x225)](this['unitId']);if(!_0x2cb265)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x1ba5f9=_0x2cb265['with'](_0x30bf09),_0x24a18c=_0x2cb265['with'](_0x526bd7),{transform:_0x42982d}=_0x5245d1(this['unitId'],this['subUnitId'],{'row':_0x4a00be,'column':_0x3c9153,'rowOffset':_0x3bb928,'columnOffset':_0x2558fe},0x1,0x1,_0x1ba5f9,_0x24a18c),_0x5ea329=_0x42982d[_0x1d6716(0x234)],_0x31c0f7=_0x42982d[_0x1d6716(0x21d)];return this['x']=_0x31c0f7,this['y']=_0x5ea329,this;}[_0x45a983(0x205)](_0x21752e,_0x7859f){return this['x']=_0x21752e,this['y']=_0x7859f,this;}['setChartType'](_0x4f8836){const _0x26760f=_0x45a983;return this[_0x26760f(0x286)]=_0x4f8836,this;}['setWidth'](_0x869c1b){const _0x2bb040=_0x45a983;return this[_0x2bb040(0x26c)]=_0x869c1b,this;}[_0x45a983(0x22d)](_0x4b9270){const _0x5d80d9=_0x45a983;return this[_0x5d80d9(0x268)]=_0x4b9270,this;}[_0x45a983(0x20e)](_0x27b55a,_0x5a5fb0){const _0x29d8ac=_0x45a983;return this['options']||(this['options']={}),_0x27b55a===''?(this[_0x29d8ac(0x28b)]={...this['options'],..._0x5a5fb0},this):(_0x800a87(this['options'],_0x27b55a,_0x5a5fb0),this);}['setTransposeRowsAndColumns'](_0x4c859e){return this['transposeRowsAndColumns']=_0x4c859e,this;}['setTheme'](_0x46ac12){const _0x2b4703=_0x45a983;return this[_0x2b4703(0x20e)](_0x2b4703(0x25d),_0x46ac12),this;}[_0x45a983(0x219)](_0x3991de){const _0x31c782=_0x45a983;var _0x3d443d;const _0xd7cf6a=((_0x3d443d=this['options'])==null?void 0x0:_0x3d443d[_0x31c782(0x1fa)])||{};return _0xd7cf6a[_0x31c782(0x1ed)]=_0x3991de,this[_0x31c782(0x20e)]('xAxisTitle',_0xd7cf6a),this;}[_0x45a983(0x24b)](_0x347b36){const _0x227a3a=_0x45a983;var _0x3335bc;const _0x580276=((_0x3335bc=this['options'])==null?void 0x0:_0x3335bc['yAxisTitle'])||{};return _0x580276[_0x227a3a(0x1ed)]=_0x347b36,this['setOptions']('yAxisTitle',_0x580276),this;}[_0x45a983(0x229)](_0x44727e){const _0x2a7831=_0x45a983;var _0x1b2a4f;const _0x40ee32=((_0x1b2a4f=this['options'])==null?void 0x0:_0x1b2a4f[_0x2a7831(0x26d)])||{};return _0x40ee32[_0x2a7831(0x1ed)]=_0x44727e,this['setOptions'](_0x2a7831(0x26d),_0x40ee32),this;}[_0x45a983(0x1dc)](_0x19a5bc){const _0x5ac567=_0x45a983;var _0x4351b1;const _0x2def0d=((_0x4351b1=this[_0x5ac567(0x28b)])==null?void 0x0:_0x4351b1[_0x5ac567(0x1fa)])||{};return this[_0x5ac567(0x20e)](_0x5ac567(0x1fa),{..._0x2def0d,..._0x19a5bc}),this;}['setYAxisTextStyle'](_0x80e17c){const _0x173968=_0x45a983;var _0xf690e2;const _0x2f5d1b=((_0xf690e2=this[_0x173968(0x28b)])==null?void 0x0:_0xf690e2[_0x173968(0x244)])||{};return this[_0x173968(0x20e)]('yAxisTitle',{..._0x2f5d1b,..._0x80e17c}),this;}[_0x45a983(0x273)](_0x36cfb9){const _0x499bea=_0x45a983;var _0x50b7ea;const _0x4e16ad=((_0x50b7ea=this[_0x499bea(0x28b)])==null?void 0x0:_0x50b7ea['rightYAxisTitle'])||{};return this[_0x499bea(0x20e)](_0x499bea(0x26d),{..._0x4e16ad,..._0x36cfb9}),this;}[_0x45a983(0x1dd)](_0x49a4af){const _0x281483=_0x45a983;return this[_0x281483(0x20e)](_0x281483(0x28c),_0x49a4af),this;}[_0x45a983(0x25e)](_0x1b0c1e){const _0x2308ad=_0x45a983;return this[_0x2308ad(0x20e)](_0x2308ad(0x1ec),_0x1b0c1e),this;}[_0x45a983(0x220)](_0x1fffb0){const _0x4bc49b=_0x45a983;return this[_0x4bc49b(0x20e)](_0x4bc49b(0x269),_0x1fffb0),this;}[_0x45a983(0x250)](_0x2565aa,_0x4c6747){const _0x31a4c7=_0x45a983;return this[_0x31a4c7(0x20e)](_0x31a4c7(0x22f),{[_0x2565aa]:_0x4c6747}),this;}[_0x45a983(0x23a)](){const _0xbb2d1f=_0x45a983;var _0x16efb2;let _0x24ca9c=this[_0xbb2d1f(0x1f0)];if(this['sourceSheetName']){const _0x223a66=(_0x16efb2=this['_workbook'][_0xbb2d1f(0x266)](this['sourceSheetName']))==null?void 0x0:_0x16efb2['getSheetId']();if(!_0x223a66)throw new Error(_0xbb2d1f(0x235)+this['sourceSheetName']+_0xbb2d1f(0x218));_0x24ca9c=_0x223a66;}return{'unitId':this[_0xbb2d1f(0x1f7)],'subUnitId':_0x24ca9c,'chartId':this[_0xbb2d1f(0x1ef)],'range':this[_0xbb2d1f(0x208)],'x':this['x'],'y':this['y'],'width':this[_0xbb2d1f(0x26c)],'height':this[_0xbb2d1f(0x268)],'chartType':this[_0xbb2d1f(0x286)],'options':this[_0xbb2d1f(0x28b)],'isRowDirection':this[_0xbb2d1f(0x246)]};}}class f{constructor(_0x1e3663,_0x2d1a1e,_0x5a5d53,_0x3f4f16){const _0x592b7=_0x45a983;n(this,_0x592b7(0x1f7)),n(this,_0x592b7(0x1f0)),n(this,'chartId'),n(this,_0x592b7(0x281)),(this[_0x592b7(0x1f7)]=_0x1e3663,this[_0x592b7(0x1f0)]=_0x2d1a1e,this['chartId']=_0x5a5d53,this[_0x592b7(0x281)]=_0x3f4f16);}[_0x45a983(0x200)](){const _0x723a18=_0x45a983;return this[_0x723a18(0x1ef)];}['getRange'](){const _0x105cf0=_0x45a983,_0x2d7cab=this[_0x105cf0(0x281)][_0x105cf0(0x24d)](_0x3d10ef)['getChartModel'](this[_0x105cf0(0x1ef)]);if(_0x2d7cab)return _0x2d7cab[_0x105cf0(0x1de)][_0x105cf0(0x228)]();}[_0x45a983(0x21e)](_0x7020a5){const _0x4953a7=_0x45a983;return this[_0x4953a7(0x281)][_0x4953a7(0x24d)](_0x8682bc)[_0x4953a7(0x20b)](_0x2d7208['id'],{'unitId':this[_0x4953a7(0x1f7)],'chartModelId':this[_0x4953a7(0x1ef)],'range':_0x7020a5});}[_0x45a983(0x25f)](){const _0x24c6ad=_0x45a983;var _0x27306c;const _0x5475f3=this[_0x24c6ad(0x281)]['get'](_0x3d10ef)['getChartModel'](this['chartId']);if(_0x5475f3)return(_0x27306c=_0x5475f3['config'])==null?void 0x0:_0x27306c[_0x24c6ad(0x24e)];}['getCategoryData'](){const _0x15861a=_0x45a983;var _0x35c8ea;const _0x300f7f=this[_0x15861a(0x281)][_0x15861a(0x24d)](_0x3d10ef)[_0x15861a(0x1e3)](this['chartId']);if(_0x300f7f)return(_0x35c8ea=_0x300f7f['config'])==null?void 0x0:_0x35c8ea[_0x15861a(0x226)];}[_0x45a983(0x1e6)](){const _0x56a473=_0x45a983,_0x409094=this[_0x56a473(0x281)][_0x56a473(0x24d)](_0x2fd978)[_0x56a473(0x22a)](_0x1a8fea['UNIVER_SHEET']);return new c(this['unitId'],this[_0x56a473(0x1f0)],_0x409094,this[_0x56a473(0x281)],this[_0x56a473(0x1ef)]);}}function _0x1198(){const _0x135776=['category','bold','getRangeInfo','setRightYAxisTitle','getCurrentUnitForType','indicatorLineColor','symbol','setHeight','hasPaddingAngle','seriesStyleMap','1928094uhHwCR','fontSize','titles.yAxisTitle.bold','titles.yAxisTitle.font','top','Sheet\x20','radar','3938200MNHsoz','rightYAxis.label.axisTitleAlign','dataPointShape','build','sheetName','Pie','doughnutHole','titles.rightYAxisTitle.family','titles.xAxisTitle.bold','area','6lSFjxZ','string','dataPointColor','yAxisTitle','font','transposeRowsAndColumns','yAxis.label.axisTitleAlign','getChartType','_commandService','pie','setYAxisTitle','clearRange','get','series','1603884xQSCwi','setSeriesStyle','DRAWING_CHART','allSeriesStyle.point.shape','168863TiLFkc','titles.xAxisTitle.font','titles.yAxisTitle.family','443490FBmlKb','allSeriesStyle.color','setDataPointShape','axisAlignment','pie.borderColor','keys','titles.xAxisTitle.fontSize','theme','setAxisPointerStyle','getSeriesData','pie.isHalfPie','insertChart','length','lineStyle','fontColor','dataPointSize','getSheetBySheetName','removeChart','height','allSeriesStyle','setShowLabelLine','radar.shape','width','rightYAxisTitle','italic','1629630OfdGme','titles.rightYAxisTitle.color','isHalfPie','setIsHalfPie','setRightYAxisTextStyle','yAxis','legend.selectMode','setDataPointColor','setPosition','sourceSheetName','map','extend','xAxis.label.axisTitleAlign','legend.label.color','tooltip.indicatorLabelTextColor','gradientFill','label','titles.title.font','_injector','color','setRosePie','tooltip.indicatorLabelColor','TitlePositionEnum','chartType','point','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','Radar','titles.title.fontSize','options','invalidValueType','pie.hasPaddingAngle','RadarShape','asRadarChart','LinePointShape','titles.xAxisTitle.color','radar.fill','setXAxisTextStyle','setInvalidValueStrategy','dataSource','setDoughnutHole','xAxis','_workbook','legend.label.fontSize','getChartModel','titles.yAxisTitle.fontSize','yRightAxis','modify','SelectModeEnum','setBorderColor','legend.label.italic','borderColor','pie.showLabelLine','axisPointer','content','area.lineStyle','chartId','subUnitId','position','registerTheme','rightYAxis','AxisAlignEnum','allSeriesStyle.point.color','titles.yAxisTitle.color','unitId','titles.yAxisTitle.content','getWorkbook','xAxisTitle','newChart','title','getSheetId','legend.label.bold','fill','getChartId','showLabelLine','pie.rosePie','ChartBorderDashType','titles.rightYAxisTitle.content','setAbsolutePosition','legend','titles.titlePosition','range','updateChart','titles.xAxisTitle.family','executeCommand','selectMode','pie.doughnutHole','setOptions','1966300Rlzdgq','shape','backgroundColor','allSeriesStyle.point.size','Line','allSeriesStyle.point','isRowDirection','fontStyle','titles.title.align','\x20not\x20found','setXAxisTitle','titles.title.color','rosePie','asPieChart','left','updateRange','titles.xAxisTitle.content','setAllSeriesStyle','getUnitId','LegendPositionEnum','titles.rightYAxisTitle.fontSize','ChartType','getRenderById'];_0x1198=function(){return _0x135776;};return _0x1198();}class Q extends _0xe75092{async[_0x45a983(0x261)](_0x5a2c57){const _0x58cdfb=_0x45a983;var _0x293b42,_0xe4a6c6,_0x151bdc;const _0x23ac21=_0x5a2c57[_0x58cdfb(0x1f7)]||this[_0x58cdfb(0x1f9)]()[_0x58cdfb(0x221)](),_0x164706=_0x5a2c57[_0x58cdfb(0x1f0)]||this[_0x58cdfb(0x1fd)](),_0x4a7cca=_0x5a2c57[_0x58cdfb(0x1ef)]||_0x1196ab(),_0xed4d84=_0x5a2c57[_0x58cdfb(0x286)],_0x1be202=_0x5a2c57[_0x58cdfb(0x208)],_0x420f9d={'x':_0x5a2c57['x'],'y':_0x5a2c57['y']},_0x3c8921=_0x5a2c57[_0x58cdfb(0x26c)],_0x190f45=_0x5a2c57['height'],_0x5095e3=(_0x293b42=_0x5a2c57[_0x58cdfb(0x28b)])==null?void 0x0:_0x293b42[_0x58cdfb(0x211)],_0x5f54a3=(_0xe4a6c6=_0x5a2c57[_0x58cdfb(0x28b)])==null?void 0x0:_0xe4a6c6['borderColor'],_0x386b66=C(_0x23ac21,_0x4a7cca,_0xed4d84,_0x5a2c57[_0x58cdfb(0x28b)]),_0x5dc3ca=(_0x151bdc=_0x5a2c57[_0x58cdfb(0x215)])!=null?_0x151bdc:!0x0;if(!_0x1be202)throw new Error(_0x58cdfb(0x288));return await this['_commandService'][_0x58cdfb(0x20b)](_0x3feeb0['id'],{'unitId':_0x23ac21,'subUnitId':_0x164706,'chartId':_0x4a7cca,'chartType':_0xed4d84,'range':_0x1be202,'position':_0x420f9d,'width':_0x3c8921,'height':_0x190f45,'backgroundColor':_0x5095e3,'borderColor':_0x5f54a3,'config':_0x386b66,'isRowDirection':_0x5dc3ca}),new f(_0x23ac21,_0x164706,_0x4a7cca,this['_injector']);}[_0x45a983(0x209)](_0x11aabd){const _0x1cc015=_0x45a983,{unitId:_0x23d213,chartId:_0x393132,chartType:_0x1dfc15,options:_0x5e3afe}=_0x11aabd,_0xa0743b=C(_0x23d213,_0x393132,_0x1dfc15,_0x5e3afe);this[_0x1cc015(0x249)][_0x1cc015(0x20b)](_0x2b3b12['id'],_0xa0743b);}[_0x45a983(0x1fb)](_0x2abcba){const _0x1f106f=_0x45a983;if(_0x2abcba)return new c(_0x2abcba[_0x1f106f(0x1f7)],_0x2abcba[_0x1f106f(0x1f0)],this[_0x1f106f(0x1e1)],this['_injector'],_0x2abcba['chartId']);const _0x522b7a=this[_0x1f106f(0x1f9)]()[_0x1f106f(0x221)](),_0x261b9f=this[_0x1f106f(0x1fd)]();return new c(_0x522b7a,_0x261b9f,this[_0x1f106f(0x1e1)],this[_0x1f106f(0x281)]);}['getCharts'](){const _0x4cf999=_0x45a983,_0x2afbd9=this[_0x4cf999(0x281)]['get'](_0x3d10ef),_0x5dd1d6=this[_0x4cf999(0x1f9)]()[_0x4cf999(0x221)]();return _0x2afbd9['getUnitChartModels'](_0x5dd1d6,this[_0x4cf999(0x1fd)]())[_0x4cf999(0x279)](_0x4f0318=>new f(_0x5dd1d6,this[_0x4cf999(0x1fd)](),_0x4f0318['id'],this[_0x4cf999(0x281)]));}[_0x45a983(0x267)](_0xfcb994){const _0x42144b=_0x45a983,_0x3a42f8=_0xfcb994[_0x42144b(0x1f7)],_0x5646b4=_0xfcb994[_0x42144b(0x1f0)],_0xb228e0=_0xfcb994['chartId'],_0x4d6299={'unitId':_0x3a42f8,'drawings':[{'unitId':_0x3a42f8,'subUnitId':_0x5646b4,'drawingId':_0xb228e0,'drawingType':_0x5663fc[_0x42144b(0x251)]}]};return this[_0x42144b(0x249)]['executeCommand'](_0x4a94ae['id'],_0x4d6299);}['registerChartTheme'](_0x2d696a,_0xa3efd7){const _0x421e8e=_0x45a983;this['_injector'][_0x421e8e(0x24d)](_0x58e4ac)[_0x421e8e(0x1f2)](_0x2d696a,_0xa3efd7);}}_0xe75092[_0x45a983(0x27a)](Q);class Z extends _0x35e8c5{get[_0x45a983(0x224)](){return _0x385e24;}get[_0x45a983(0x222)](){return _0x4155b8;}get[_0x45a983(0x1e7)](){return _0x5d913d;}get[_0x45a983(0x1f4)](){return _0x1da67d;}get[_0x45a983(0x203)](){return _0x26b524;}get[_0x45a983(0x290)](){return _0x5002c6;}get[_0x45a983(0x285)](){return _0x4dd934;}get[_0x45a983(0x28e)](){return _0x10cd63;}}_0x35e8c5[_0x45a983(0x27a)](Z);class tt extends c{constructor(_0xc2edc4,_0x161bf9,_0x37484b,_0x88d49b,_0x1a371d){const _0x3bde21=_0x45a983;super(_0xc2edc4,_0x161bf9,_0x37484b,_0x88d49b,_0x1a371d),n(this,'lineStyle'),n(this,_0x3bde21(0x239)),n(this,_0x3bde21(0x243)),n(this,_0x3bde21(0x265));}['setLineStyle'](_0x5572eb){return this['lineStyle']=_0x5572eb,this;}[_0x45a983(0x258)](_0x148c96){const _0x3e9991=_0x45a983;return this[_0x3e9991(0x239)]=_0x148c96,this;}[_0x45a983(0x276)](_0x2d78dc){const _0x13aca0=_0x45a983;return this[_0x13aca0(0x243)]=_0x2d78dc,this;}['setDataPointSize'](_0x3f9830){const _0x51bf41=_0x45a983;return this[_0x51bf41(0x265)]=_0x3f9830,this;}[_0x45a983(0x23a)](){const _0x174cdb=_0x45a983,_0x189105=super[_0x174cdb(0x23a)]();_0x189105[_0x174cdb(0x286)]=_0x385e24[_0x174cdb(0x213)];const _0x1e8cce=_0x189105[_0x174cdb(0x28b)]||{};return s(_0x1e8cce,_0x174cdb(0x1ee),this[_0x174cdb(0x263)]),s(_0x1e8cce,_0x174cdb(0x252),this[_0x174cdb(0x239)]),s(_0x1e8cce,_0x174cdb(0x1f5),this['dataPointColor']),s(_0x1e8cce,_0x174cdb(0x212),this[_0x174cdb(0x265)]),_0x189105[_0x174cdb(0x28b)]=_0x1e8cce,_0x189105;}}class et extends c{['asLineChart'](){const _0x23764c=_0x45a983;return new tt(this['unitId'],this[_0x23764c(0x1f0)],this[_0x23764c(0x1e1)],this[_0x23764c(0x281)],this[_0x23764c(0x1ef)]);}}c[_0x45a983(0x27a)](et);class it extends c{constructor(_0x474796,_0x4a410a,_0x3c5358,_0x3da337,_0x41806f){const _0x5ab139=_0x45a983;super(_0x474796,_0x4a410a,_0x3c5358,_0x3da337,_0x41806f),n(this,'doughnutHole'),n(this,_0x5ab139(0x1ea)),n(this,_0x5ab139(0x22e)),n(this,_0x5ab139(0x271)),n(this,_0x5ab139(0x21b)),n(this,_0x5ab139(0x201));}[_0x45a983(0x1df)](_0x362b5c){const _0x356884=_0x45a983;return this[_0x356884(0x23d)]=_0x362b5c,this;}[_0x45a983(0x1e8)](_0x21b2cb){const _0x14c490=_0x45a983;return this[_0x14c490(0x1ea)]=_0x21b2cb,this;}['setHasPaddingAngle'](_0x4a1e0b){const _0x3fa6d9=_0x45a983;return this[_0x3fa6d9(0x22e)]=_0x4a1e0b,this;}[_0x45a983(0x272)](_0x58f3b5){const _0x3f389b=_0x45a983;return this[_0x3f389b(0x271)]=_0x58f3b5,this;}[_0x45a983(0x283)](_0x2c5fc8){const _0x44c38f=_0x45a983;return this[_0x44c38f(0x21b)]=_0x2c5fc8,this;}[_0x45a983(0x26a)](_0x21c2ef){return this['showLabelLine']=_0x21c2ef,this;}[_0x45a983(0x23a)](){const _0x42224b=_0x45a983,_0xc11f8b=super['build']();_0xc11f8b[_0x42224b(0x286)]=_0x385e24[_0x42224b(0x23c)];const _0x5029ad=_0xc11f8b['options']||{};return s(_0x5029ad,_0x42224b(0x20d),this[_0x42224b(0x23d)]),s(_0x5029ad,_0x42224b(0x25a),this[_0x42224b(0x1ea)]),s(_0x5029ad,_0x42224b(0x28d),this[_0x42224b(0x22e)]),s(_0x5029ad,_0x42224b(0x260),this[_0x42224b(0x271)]),s(_0x5029ad,'pie.rosePie',this[_0x42224b(0x21b)]),s(_0x5029ad,_0x42224b(0x1eb),this[_0x42224b(0x201)]),_0xc11f8b[_0x42224b(0x28b)]=_0x5029ad,_0xc11f8b;}}class st extends c{[_0x45a983(0x21c)](){const _0xa94c40=_0x45a983;return new it(this[_0xa94c40(0x1f7)],this[_0xa94c40(0x1f0)],this['_workbook'],this[_0xa94c40(0x281)],this[_0xa94c40(0x1ef)]);}}c[_0x45a983(0x27a)](st);class rt extends c{constructor(_0x1431d7,_0x2be5aa,_0x1f2e68,_0x1e718b,_0xdecc15){const _0x3866bc=_0x45a983;super(_0x1431d7,_0x2be5aa,_0x1f2e68,_0x1e718b,_0xdecc15),n(this,_0x3866bc(0x210)),n(this,'fill');}['setShape'](_0x383e15){const _0x349206=_0x45a983;return this[_0x349206(0x210)]=_0x383e15,this;}['setFill'](_0x3d8def){const _0x3be658=_0x45a983;return this[_0x3be658(0x1ff)]=_0x3d8def,this;}['build'](){const _0x5eb1b9=_0x45a983,_0x11aae5=super[_0x5eb1b9(0x23a)]();_0x11aae5[_0x5eb1b9(0x286)]=_0x385e24[_0x5eb1b9(0x289)];const _0x3e4d22=_0x11aae5[_0x5eb1b9(0x28b)]||{};return s(_0x3e4d22,_0x5eb1b9(0x26b),this[_0x5eb1b9(0x210)]),s(_0x3e4d22,_0x5eb1b9(0x1db),this[_0x5eb1b9(0x1ff)]),_0x11aae5[_0x5eb1b9(0x28b)]=_0x3e4d22,_0x11aae5;}}class ot extends c{[_0x45a983(0x28f)](){const _0x5dd071=_0x45a983;return new rt(this[_0x5dd071(0x1f7)],this[_0x5dd071(0x1f0)],this[_0x5dd071(0x1e1)],this[_0x5dd071(0x281)],this[_0x5dd071(0x1ef)]);}}c[_0x45a983(0x27a)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
|