@univerjs-pro/sheets-chart-ui 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157
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/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/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.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/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +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/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 +15 -15
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x55c1cd=_0x1288;function _0x544f(){const _0x54d9e7=['氣泡大小','排列圖','重複詞雲標籤','顯示空單元格為','三角形','(空)','標題對齊','累積占比系列','數據標籤','10kslpCH','環形圖','趨勢線名稱','小數位數','主標題','圓環孔','圖表類型','刪除圖表','正值樣式','8AypXfw','圖例選擇模式','使用\x20{0}\x20作為類別標籤','指示值','百分比堆疊面積圖','最小值','使用日期軸','漸變填充','數據點樣式','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','右對齊','柱狀圖','小計圖例文本','散點圖','趨勢線線類型','第三四分位數','10806tJNrqb','正方形','負值樣式','空心正方形','刻度線位置','顯示標籤線','詞雲形狀','格式類型','中位數','佈局類型','條形圖','数值后缀','切換列或欄','主刻度線','exports','力導向選項','水平軸','顯示公式','系列\x20{0}','空心菱形','添加系列','網格線','視覺映射範圍','插入圖表','489238MCLfeA','日期格式將日期和時間系列數值顯示為日期值。','空心矩形','所有系列','趨勢線類型','折線圖','使用值作為節點大小','氣泡圖至少需要2欄,X軸、Y軸。','力導向','堆疊面積圖','標籤文本','日期類型','漏斗圖','空心針形','關係圖','負值圖例文本','正值圖例文本','百分比堆疊','{0}\x20顏色','編輯圖表','2601441bguRXK','顯示數據標籤','878432jDwdwp','{0}\x20格式','441932kysUqM','長條圖系列','設置標籤格式','R平方','圖表樣式','圓角矩形','標題位置','小計樣式','隱藏圖表面板','旋轉標籤','最大值','用直線連接數據點','副標題','指示線類型','空心圓形','類別\x20{0}','12522710bDdjdn','移動平均周期','扇形間距','請先添加系列開始數據可視化','1187271QsCSPK','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','{0}\x20大小','添加趨勢線','千分位符','左對齊','使用右軸','打開圖表面板','軸選項','百分比','顯示小計','趨勢線','背景顏色','標題文本','雷達圖','趨勢線粗細','熱力圖','玫瑰圖','圖表和軸標題','數據點','堆疊方式','14mPshKw','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','累積占比','桑基圖','指示線顏色','多邊形','開啟選中淡入特效','字段設置','{0}\x20形狀','詞雲圖','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','標籤旋轉','箱型圖','圖表邊框顏色','数值比例','趨勢線顏色','線類型','指示標籤','標題格式','氣泡圖','主網格線','網格線和刻度線','更多設置','多項式階數','堆疊條形圖','{0}\x20類型','空心箭頭','標籤位置','圖表數據源必須包含多於1列和1欄。','面積圖','氣泡標籤','自定義圖表','顯示標籤','移動平均'];_0x544f=function(){return _0x54d9e7;};return _0x544f();}function _0x1288(_0x409065,_0x14fe9b){_0x409065=_0x409065-0x175;const _0x544f32=_0x544f();let _0x1288ac=_0x544f32[_0x409065];return _0x1288ac;}(function(_0x1fb8ec,_0x5bbceb){const _0x391358=_0x1288,_0x3cba60=_0x1fb8ec();while(!![]){try{const _0x5b92eb=parseInt(_0x391358(0x1ce))/0x1+-parseInt(_0x391358(0x1b6))/0x2+-parseInt(_0x391358(0x1e2))/0x3+parseInt(_0x391358(0x1cc))/0x4*(-parseInt(_0x391358(0x185))/0x5)+-parseInt(_0x391358(0x19e))/0x6*(-parseInt(_0x391358(0x1f7))/0x7)+-parseInt(_0x391358(0x18e))/0x8*(parseInt(_0x391358(0x1ca))/0x9)+parseInt(_0x391358(0x1de))/0xa;if(_0x5b92eb===_0x5bbceb)break;else _0x3cba60['push'](_0x3cba60['shift']());}catch(_0x1d1c97){_0x3cba60['push'](_0x3cba60['shift']());}}}(_0x544f,0x505cc));const e={'chart':{'insertChart':_0x55c1cd(0x1b5),'editChart':_0x55c1cd(0x1c9),'openChartPanel':_0x55c1cd(0x1e9),'deleteChart':_0x55c1cd(0x18c),'hideChartPanel':_0x55c1cd(0x1d6),'setupChart':'設置圖表','customChart':_0x55c1cd(0x179),'default':'默認','reset':'重置','chartType':_0x55c1cd(0x18b),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x55c1cd(0x1b9),'series':'系列','addSeries':_0x55c1cd(0x1b2),'moreSettings':_0x55c1cd(0x20d),'min':_0x55c1cd(0x193),'max':_0x55c1cd(0x1d8),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x55c1cd(0x1d9)},'blank':_0x55c1cd(0x181),'seriesBlock':{'format':'格式','dataPointStyle':_0x55c1cd(0x196)},'backgroundColor':_0x55c1cd(0x1ee),'chartBorderColor':_0x55c1cd(0x204),'titles':{'title':'標題','mainTitle':_0x55c1cd(0x189),'subTitle':_0x55c1cd(0x1da),'xAxisTitle':'X軸標題','yAxisTitle':'Y軸標題','rightYAxisTitle':'右Y軸標題','titleFormat':_0x55c1cd(0x209),'titleText':_0x55c1cd(0x1ef),'titlePosition':_0x55c1cd(0x1d4),'titleAlign':_0x55c1cd(0x182)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x55c1cd(0x195),'settingsLabels':{'switchToRowOrColumn':_0x55c1cd(0x1aa),'useAsCategoryLabels':_0x55c1cd(0x190),'showEmptyCellsAs':_0x55c1cd(0x17f)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x55c1cd(0x1e7),'center':'居中','right':_0x55c1cd(0x198)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x55c1cd(0x1d2),'chartAndAxisTitles':_0x55c1cd(0x1f4),'legend':'圖例','legendSelectMode':_0x55c1cd(0x18f),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x55c1cd(0x1ea),'horizontalAxis':_0x55c1cd(0x1ae),'verticalAxis':'垂直軸','rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x55c1cd(0x1e8)},'position':'位置','dataLabels':_0x55c1cd(0x184),'gridlinesAndTicks':_0x55c1cd(0x20c),'indicatorLine':'指示線','indicatorLineType':_0x55c1cd(0x1db),'indicatorLineColor':_0x55c1cd(0x1fb),'indicatorLabel':_0x55c1cd(0x208),'indicatorValue':_0x55c1cd(0x191),'shape':{'polygon':_0x55c1cd(0x1fc),'circle':'圓形','square':_0x55c1cd(0x19f),'triangle':_0x55c1cd(0x180),'diamond':'菱形','rect':'矩形','roundRect':_0x55c1cd(0x1d3),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x55c1cd(0x1dc),'emptySquare':_0x55c1cd(0x1a1),'emptyTriangle':'空心三角形','emptyDiamond':_0x55c1cd(0x1b1),'emptyRect':_0x55c1cd(0x1b8),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x55c1cd(0x1c3),'emptyArrow':_0x55c1cd(0x211)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x55c1cd(0x1c8),'withThickness':'{0}\x20粗細','withType':_0x55c1cd(0x210),'withSize':_0x55c1cd(0x1e4),'withShape':_0x55c1cd(0x1ff),'withFormat':_0x55c1cd(0x1cd),'dataPoint':'數據點','dataNodeShape':'節點形狀','addDataPoint':'添加數據點','point':_0x55c1cd(0x1f5),'percentage':_0x55c1cd(0x1eb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x55c1cd(0x1c7)},'lineDashType':_0x55c1cd(0x207),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x55c1cd(0x20b),'text':_0x55c1cd(0x1b3)},'ticks':{'majorTick':_0x55c1cd(0x1ab),'tickPosition':_0x55c1cd(0x1a2),'tickLength':'刻度線長度'},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x55c1cd(0x1b0),'categoryDefaultName':_0x55c1cd(0x1dd),'styleEditPanel':{'showLabels':_0x55c1cd(0x17a),'showDataLabels':_0x55c1cd(0x1cb),'padAngle':_0x55c1cd(0x1e0),'halfPie':'半餅','rosePie':_0x55c1cd(0x1f3),'pieValScale':_0x55c1cd(0x205),'pieValSuffix':_0x55c1cd(0x1a9),'pieDigitalFixed':_0x55c1cd(0x188),'showLabelLine':_0x55c1cd(0x1a3),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':_0x55c1cd(0x175),'labelText':_0x55c1cd(0x1c0),'repeatWordCould':_0x55c1cd(0x17e),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x55c1cd(0x202),'wordCloudShape':_0x55c1cd(0x1a4),'useDateAxis':_0x55c1cd(0x194),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x55c1cd(0x18a),'msg':{'invalidSource':_0x55c1cd(0x176),'emptyTips':_0x55c1cd(0x1e1),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x55c1cd(0x1ed),'displayName':_0x55c1cd(0x187),'addTrendLine':_0x55c1cd(0x1e5),'trendlineType':_0x55c1cd(0x1ba),'trendlineName':_0x55c1cd(0x187),'trendlineColor':_0x55c1cd(0x206),'trendlineThickness':_0x55c1cd(0x1f1),'trendlineDashType':_0x55c1cd(0x19c),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x55c1cd(0x17b),'poly':'多項式','order':_0x55c1cd(0x20e),'period':_0x55c1cd(0x1df),'showFormula':_0x55c1cd(0x1af),'showR2':'顯示R平方','formula':'公式','r2':_0x55c1cd(0x1d1)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x55c1cd(0x17c),'label':_0x55c1cd(0x178),'emptyTips':_0x55c1cd(0x1bd)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x55c1cd(0x1be),'useValueAsSymbolSize':_0x55c1cd(0x1bc),'layoutType':_0x55c1cd(0x1a7),'forceOptions':_0x55c1cd(0x1ad),'repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x55c1cd(0x1d7),'emphasis':_0x55c1cd(0x1fd),'emptyTips':_0x55c1cd(0x201)},'waterfall':{'stackType':_0x55c1cd(0x1f6),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x55c1cd(0x1ec),'positiveStyle':_0x55c1cd(0x18d),'negativeStyle':_0x55c1cd(0x1a0),'subtotalStyle':_0x55c1cd(0x1d5),'positiveLegendText':_0x55c1cd(0x1c6),'negativeLegendText':_0x55c1cd(0x1c5),'subtotalLegendText':_0x55c1cd(0x19a)},'pareto':{'lineName':_0x55c1cd(0x1f9),'lineSeries':_0x55c1cd(0x183),'barSeries':_0x55c1cd(0x1cf)},'visualMapScope':_0x55c1cd(0x1b4),'boxplot':{'min':_0x55c1cd(0x193),'q1':'第一四分位數','median':_0x55c1cd(0x1a6),'q3':_0x55c1cd(0x19d),'max':_0x55c1cd(0x1d8)}},'chartTypes':{'line':_0x55c1cd(0x1bb),'area':_0x55c1cd(0x177),'areaStacked':_0x55c1cd(0x1bf),'areaPercentStacked':_0x55c1cd(0x192),'column':_0x55c1cd(0x199),'bar':_0x55c1cd(0x1a8),'barStacked':_0x55c1cd(0x20f),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x55c1cd(0x186),'scatter':_0x55c1cd(0x19b),'radar':_0x55c1cd(0x1f0),'bubble':_0x55c1cd(0x20a),'stock':'股票圖','combination':'組合圖','wordCloud':_0x55c1cd(0x200),'funnel':_0x55c1cd(0x1c2),'relation':_0x55c1cd(0x1c4),'waterfall':'瀑布圖','pareto':_0x55c1cd(0x17d),'sankey':_0x55c1cd(0x1fa),'heatmap':_0x55c1cd(0x1f2),'boxplot':_0x55c1cd(0x203)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x55c1cd(0x1e6),'fieldSetting':_0x55c1cd(0x1fe),'formatTypes':_0x55c1cd(0x1a5),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x55c1cd(0x197),'currencyDesc':_0x55c1cd(0x1e3),'dateDesc':_0x55c1cd(0x1b7),'thousandthPercentileDesc':_0x55c1cd(0x1f8),'decimalPlaces':_0x55c1cd(0x188),'currencyTypes':'貨幣類型','negativeNumberTypes':'負數類型','dateTypes':_0x55c1cd(0x1c1)},'setFormat':_0x55c1cd(0x1d0)}};module[_0x55c1cd(0x1ac)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f79ef=_0xc184;function _0xc184(_0x431861,_0x5a21c4){_0x431861=_0x431861-0x1b7;const _0x35b4c1=_0x35b4();let _0xc184f7=_0x35b4c1[_0x431861];return _0xc184f7;}(function(_0x50d8e1,_0x4925a3){const _0x2de8a7=_0xc184,_0x3e0730=_0x50d8e1();while(!![]){try{const _0x4f6893=-parseInt(_0x2de8a7(0x230))/0x1+parseInt(_0x2de8a7(0x1cb))/0x2*(-parseInt(_0x2de8a7(0x1db))/0x3)+parseInt(_0x2de8a7(0x201))/0x4*(-parseInt(_0x2de8a7(0x23f))/0x5)+-parseInt(_0x2de8a7(0x26e))/0x6+parseInt(_0x2de8a7(0x231))/0x7*(parseInt(_0x2de8a7(0x1ca))/0x8)+-parseInt(_0x2de8a7(0x24e))/0x9+parseInt(_0x2de8a7(0x258))/0xa*(parseInt(_0x2de8a7(0x25d))/0xb);if(_0x4f6893===_0x4925a3)break;else _0x3e0730['push'](_0x3e0730['shift']());}catch(_0x2bdf8a){_0x3e0730['push'](_0x3e0730['shift']());}}}(_0x35b4,0xb04d0));var R=Object[_0x1f79ef(0x1e2)],k=(_0x5b2a1b,_0x1b3fa2,_0x2daf25)=>_0x1b3fa2 in _0x5b2a1b?R(_0x5b2a1b,_0x1b3fa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2daf25}):_0x5b2a1b[_0x1b3fa2]=_0x2daf25,n=(_0x32810f,_0x2d04b4,_0x19a092)=>k(_0x32810f,typeof _0x2d04b4!='symbol'?_0x2d04b4+'':_0x2d04b4,_0x19a092);import{ChartThemeService as _0x1ad9da,ChartTypeBits as _0x4721fd,LegendPositionEnum as _0x2d162b,SelectModeEnum as _0x4ef2a8,AxisAlignEnum as _0x1f27c9,ChartBorderDashType as _0x2de25d,LinePointShape as _0x3f413b,TitlePositionEnum as _0x2b106c,RadarShape as _0x4af9c5}from'@univerjs-pro/engine-chart';import{setProperty as _0x8bfb84,SheetsChartService as _0x1a0104,ChartUpdateSourceCommand as _0xdf90fe,ChartUpdateConfigCommand as _0x177ce3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x12eaf0}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x517ca5,IUniverInstanceService as _0x4f35d5,UniverInstanceType as _0x49e72a,generateRandomId as _0x477638,DrawingTypeEnum as _0x2036fa}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3a0d6d}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x5a626d}from'@univerjs/sheets/facade';import{FBase as _0x472f84,FEnum as _0x481bf3}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1e2878}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4ae15c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5090db,SheetSkeletonManagerService as _0x1898df,convertPositionCellToSheetOverGrid as _0x2f7767}from'@univerjs/sheets-ui';function _0x35b4(){const _0x41ed62=['dataPointShape','allSeriesStyle.rightYAxis','setAxisPointerStyle','isHalfPie','titles.rightYAxisTitle.color','sourceSheetName','position','ChartBorderDashType','setTheme','sheetName','titles.xAxisTitle.fontSize','legend','setHasPaddingAngle','getCharts','getWorkbook','radar','setYAxisTextStyle','6812IWtSDH','ChartType','indicatorLineType','dataPointSize','TitlePositionEnum','addRange','xAxisTitle','LinePointShape','titles.title.family','Line','setPosition','setInvalidValueStrategy','allSeriesStyle.point.shape','newChart','tooltip.indicatorLineType','titles.yAxisTitle.fontSize','fill','allSeriesStyle.point.size','updateRange','legend.label.color','getCategoryData','axisAlignment','setRosePie','shape','fontSize','pie.borderColor','setDataPointShape','italic','config','titleAlignment','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','gradientFill','lineStyle','titles.yAxisTitle.content','xAxis.label.axisTitleAlign','tooltip.indicatorLineColor','titles.rightYAxisTitle.font','indicatorLabelColor','fontStyle','seriesStyleMap','yAxisTitle','yRightAxis','series','chartType','pie.isHalfPie','titles.rightYAxisTitle.fontSize','pie','92817UhLvuW','7VHMAnQ','setShape','pie.hasPaddingAngle','xAxis','rosePie','titles.xAxisTitle.bold','unitId','AxisAlignEnum','setAllSeriesStyle','setDataPointSize','executeCommand','titles.title.content','Radar','rightYAxis.label.axisTitleAlign','1745Ghffsf','area','hasPaddingAngle','setWidth','dataPointColor','with','allSeriesStyle.border','titles.title.align','pie.rosePie','setShowLabelLine','titles.rightYAxisTitle.bold','doughnutHole','indicatorLabelTextColor','legend.selectMode','setTransposeRowsAndColumns','9673830jeyPJY','legend.position','legend.label.bold','setHeight','setRightYAxisTitle','setRightYAxisTextStyle','map','titles.title.fontSize','width','subUnitId','40FlOFWG','getRangeInfo','_commandService','options','extend','7982909inBDWP','getChartModel','allSeriesStyle','UNIVER_SHEET','fontColor','getChartType','setIsHalfPie','insertChart','setYAxisTitle','content','modify','setChartType','indicatorLineColor','chartId','getUnitId','titles.title.color','LegendPositionEnum','6468744qhHLiH','setOptions','titles.xAxisTitle.content','font','area.lineStyle','pie.doughnutHole','transposeRowsAndColumns','borderColor','category','setXAxisTextStyle','getRange','axisPointer','invalidValueType','titles.xAxisTitle.font','titles.rightYAxisTitle.family','height','_injector','point','isRowDirection','pie.showLabelLine','rightYAxis','titles.yAxisTitle.family','get','getSeriesData','setFill','border','setDoughnutHole','titles.yAxisTitle.color','color','build','5476576GXhskk','46xJbGWn','registerTheme','_workbook','showLabelLine','getCurrentUnitForType','length','bold','yAxis.label.axisTitleAlign','backgroundColor','rightYAxisTitle','label','yAxis','SelectModeEnum','DRAWING_CHART','asRadarChart','getSheetId','3282xGnBOx','radar.fill','allSeriesStyle.point.color','dataSource','setXAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.xAxisTitle.color','defineProperty','legend.label.italic','titles.xAxisTitle.family','allSeriesStyle.color','tooltip.indicatorLabelColor','top','setSeriesStyle','theme','style','context','titles.rightYAxisTitle.content','titles.yAxisTitle.bold','getChartId','range'];_0x35b4=function(){return _0x41ed62;};return _0x35b4();}const s=(_0x5cf4e6,_0x3c144d,_0x140f16)=>{_0x140f16!==void 0x0&&_0x8bfb84(_0x5cf4e6,_0x3c144d,_0x140f16);},C=(_0x50a28e,_0x47f7cc,_0x3c4d9d,_0x1e040f={})=>{const _0x17b5ea=_0x1f79ef,_0x184971={},_0x3b690c={};if(_0x1e040f['title']){const _0x161d7c=_0x1e040f['title'];s(_0x184971,_0x17b5ea(0x23c),_0x161d7c[_0x17b5ea(0x266)]),s(_0x184971,'titles.title.font',_0x161d7c['font']),s(_0x184971,_0x17b5ea(0x255),_0x161d7c[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x26c),_0x161d7c[_0x17b5ea(0x261)]),s(_0x184971,_0x17b5ea(0x209),_0x161d7c[_0x17b5ea(0x227)]),s(_0x184971,'titles.title.bold',_0x161d7c[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x246),_0x161d7c[_0x17b5ea(0x21e)]),s(_0x184971,'titles.titlePosition',_0x161d7c['position']);}if(_0x1e040f[_0x17b5ea(0x1fb)]){const _0x13947e=_0x1e040f[_0x17b5ea(0x1fb)];s(_0x184971,_0x17b5ea(0x24f),_0x13947e[_0x17b5ea(0x1f6)]),s(_0x184971,_0x17b5ea(0x24c),_0x13947e['selectMode']),s(_0x184971,'legend.label.fontSize',_0x13947e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x214),_0x13947e[_0x17b5ea(0x1c8)]),s(_0x184971,_0x17b5ea(0x250),_0x13947e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x1e3),_0x13947e[_0x17b5ea(0x21c)]);}if(_0x1e040f['pie']){const _0x2e822e=_0x1e040f[_0x17b5ea(0x22f)];s(_0x184971,_0x17b5ea(0x273),_0x2e822e[_0x17b5ea(0x24a)]),s(_0x184971,_0x17b5ea(0x21a),_0x2e822e[_0x17b5ea(0x275)]),s(_0x184971,_0x17b5ea(0x233),_0x2e822e[_0x17b5ea(0x241)]),s(_0x184971,_0x17b5ea(0x22d),_0x2e822e[_0x17b5ea(0x1f3)]),s(_0x184971,'pie.rosePie',_0x2e822e[_0x17b5ea(0x235)]),s(_0x184971,_0x17b5ea(0x1bf),_0x2e822e[_0x17b5ea(0x1ce)]);}if(_0x1e040f['axisPointer']){const _0x10ed28=_0x1e040f[_0x17b5ea(0x1b7)];s(_0x184971,_0x17b5ea(0x1e6),_0x10ed28[_0x17b5ea(0x226)]),s(_0x184971,_0x17b5ea(0x20f),_0x10ed28[_0x17b5ea(0x203)]),s(_0x184971,_0x17b5ea(0x224),_0x10ed28[_0x17b5ea(0x269)]),s(_0x184971,'tooltip.indicatorLabelTextColor',_0x10ed28[_0x17b5ea(0x24b)]);}if(_0x1e040f[_0x17b5ea(0x25f)]&&(s(_0x184971,_0x17b5ea(0x245),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c5)]),s(_0x184971,'allSeriesStyle.label',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1d5)]),s(_0x184971,_0x17b5ea(0x1f1),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c0)]),s(_0x184971,'allSeriesStyle.point',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1bd)]),s(_0x184971,_0x17b5ea(0x1e5),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c8)])),_0x1e040f[_0x17b5ea(0x240)]&&s(_0x184971,'area.lineStyle',_0x1e040f[_0x17b5ea(0x240)][_0x17b5ea(0x221)]),_0x1e040f[_0x17b5ea(0x1e9)]&&s(_0x184971,_0x17b5ea(0x1e9),_0x1e040f[_0x17b5ea(0x1e9)]),_0x1e040f[_0x17b5ea(0x1d3)]&&s(_0x184971,_0x17b5ea(0x1d3),_0x1e040f['backgroundColor']),_0x1e040f[_0x17b5ea(0x275)]&&s(_0x184971,_0x17b5ea(0x275),_0x1e040f[_0x17b5ea(0x275)]),_0x1e040f['gradientFill']&&s(_0x184971,_0x17b5ea(0x220),_0x1e040f[_0x17b5ea(0x220)]),_0x1e040f[_0x17b5ea(0x1b8)]&&s(_0x184971,_0x17b5ea(0x1b8),_0x1e040f[_0x17b5ea(0x1b8)]),_0x1e040f['radar']&&s(_0x184971,_0x17b5ea(0x1ff),_0x1e040f[_0x17b5ea(0x1ff)]),_0x1e040f[_0x17b5ea(0x207)]){const _0x52a92e=_0x1e040f[_0x17b5ea(0x207)];s(_0x184971,_0x17b5ea(0x270),_0x52a92e[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x1b9),_0x52a92e[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x1fa),_0x52a92e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1e1),_0x52a92e['fontColor']),s(_0x184971,_0x17b5ea(0x1e4),_0x52a92e[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x236),_0x52a92e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x223),_0x52a92e[_0x17b5ea(0x216)]);}if(_0x1e040f['yAxisTitle']){const _0x336097=_0x1e040f[_0x17b5ea(0x229)];s(_0x184971,_0x17b5ea(0x222),_0x336097[_0x17b5ea(0x266)]),s(_0x184971,'titles.yAxisTitle.font',_0x336097[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x210),_0x336097[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1c7),_0x336097['fontColor']),s(_0x184971,_0x17b5ea(0x1c1),_0x336097[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x1ed),_0x336097['bold']),s(_0x184971,_0x17b5ea(0x1d2),_0x336097['axisAlignment']);}if(_0x1e040f[_0x17b5ea(0x1d4)]){const _0x5c1285=_0x1e040f['rightYAxisTitle'];s(_0x184971,_0x17b5ea(0x1ec),_0x5c1285[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x225),_0x5c1285[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x22e),_0x5c1285[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1f4),_0x5c1285['fontColor']),s(_0x184971,_0x17b5ea(0x1ba),_0x5c1285[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x249),_0x5c1285['bold']),s(_0x184971,_0x17b5ea(0x23e),_0x5c1285[_0x17b5ea(0x216)]);}_0x1e040f[_0x17b5ea(0x234)]&&s(_0x184971,_0x17b5ea(0x234),_0x1e040f['xAxis']),_0x1e040f[_0x17b5ea(0x1d6)]&&s(_0x184971,_0x17b5ea(0x1d6),_0x1e040f[_0x17b5ea(0x1d6)]),_0x1e040f[_0x17b5ea(0x22a)]&&s(_0x184971,_0x17b5ea(0x1c0),_0x1e040f[_0x17b5ea(0x22a)]),_0x1e040f[_0x17b5ea(0x228)]&&s(_0x184971,_0x17b5ea(0x228),_0x1e040f[_0x17b5ea(0x228)]);const _0x209862={'unitId':_0x50a28e,'chartModelId':_0x47f7cc};let _0x11cfa6=!0x1;if(_0x3c4d9d!==void 0x0&&(_0x209862[_0x17b5ea(0x22c)]=_0x3c4d9d,_0x11cfa6=!0x0),Object['keys'](_0x184971)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1ea)]=_0x184971,_0x11cfa6=!0x0),Object['keys'](_0x3b690c)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1eb)]=_0x3b690c,_0x11cfa6=!0x0),_0x11cfa6)return _0x209862;};class c extends _0x472f84{constructor(_0x6454df,_0x138950,_0x26b48b,_0x18e5c5,_0x3efac4){const _0x29b718=_0x1f79ef;super(),n(this,_0x29b718(0x1cd)),n(this,_0x29b718(0x1bc)),n(this,_0x29b718(0x237)),n(this,_0x29b718(0x257)),n(this,_0x29b718(0x26a)),n(this,'range'),n(this,_0x29b718(0x1f5)),n(this,'x'),n(this,'y'),n(this,_0x29b718(0x256)),n(this,_0x29b718(0x1bb)),n(this,_0x29b718(0x22c)),n(this,_0x29b718(0x25b)),n(this,_0x29b718(0x274)),(this['unitId']=_0x6454df,this['subUnitId']=_0x138950,this[_0x29b718(0x1cd)]=_0x26b48b,this[_0x29b718(0x1bc)]=_0x18e5c5,_0x3efac4&&(this['chartId']=_0x3efac4));}[_0x1f79ef(0x262)](){const _0x379c2a=_0x1f79ef;return this[_0x379c2a(0x22c)];}[_0x1f79ef(0x206)](_0x2d7dc3){const _0x38dcae=_0x1f79ef;if(typeof _0x2d7dc3=='string'){const _0x2f7e72=_0x1e2878(_0x2d7dc3);_0x2f7e72[_0x38dcae(0x1f9)]&&(this[_0x38dcae(0x1f5)]=_0x2f7e72['sheetName']),this['range']=_0x2f7e72['range'];}else this[_0x38dcae(0x1ef)]=_0x2d7dc3;return this;}['clearRange'](){const _0xa3293d=_0x1f79ef;return this[_0xa3293d(0x1ef)]=void 0x0,this[_0xa3293d(0x1f5)]=void 0x0,this;}[_0x1f79ef(0x20b)](_0x5286fd,_0x902649,_0x225565,_0x5099d3){const _0xbb264c=_0x1f79ef,_0x139a92=this['_injector'][_0xbb264c(0x1c2)](_0x4ae15c)['getRenderById'](this[_0xbb264c(0x237)]);if(!_0x139a92)throw new Error(_0xbb264c(0x1e0));const _0x20b740=_0x139a92[_0xbb264c(0x244)](_0x5090db),_0xb10df7=_0x139a92[_0xbb264c(0x244)](_0x1898df),{transform:_0x325108}=_0x2f7767(this['unitId'],this['subUnitId'],{'row':_0x5286fd,'column':_0x902649,'rowOffset':_0x225565,'columnOffset':_0x5099d3},0x1,0x1,_0x20b740,_0xb10df7),_0x58831a=_0x325108[_0xbb264c(0x1e7)],_0x437153=_0x325108['left'];return this['x']=_0x437153,this['y']=_0x58831a,this;}['setAbsolutePosition'](_0x298a0d,_0x13b8da){return this['x']=_0x298a0d,this['y']=_0x13b8da,this;}[_0x1f79ef(0x268)](_0x23b2cb){return this['chartType']=_0x23b2cb,this;}[_0x1f79ef(0x242)](_0x1b487e){const _0x2ec402=_0x1f79ef;return this[_0x2ec402(0x256)]=_0x1b487e,this;}[_0x1f79ef(0x251)](_0x1c1794){return this['height']=_0x1c1794,this;}[_0x1f79ef(0x26f)](_0x47f987,_0x2f13d2){const _0x4edcc0=_0x1f79ef;return this[_0x4edcc0(0x25b)]||(this[_0x4edcc0(0x25b)]={}),_0x47f987===''?(this[_0x4edcc0(0x25b)]={...this[_0x4edcc0(0x25b)],..._0x2f13d2},this):(_0x8bfb84(this[_0x4edcc0(0x25b)],_0x47f987,_0x2f13d2),this);}[_0x1f79ef(0x24d)](_0x5e7d29){return this['transposeRowsAndColumns']=_0x5e7d29,this;}[_0x1f79ef(0x1f8)](_0x265303){const _0x35c07e=_0x1f79ef;return this['setOptions'](_0x35c07e(0x1e9),_0x265303),this;}[_0x1f79ef(0x1df)](_0x5542e5){const _0x2fed90=_0x1f79ef;var _0x518328;const _0x3f4cb4=((_0x518328=this[_0x2fed90(0x25b)])==null?void 0x0:_0x518328[_0x2fed90(0x207)])||{};return _0x3f4cb4['content']=_0x5542e5,this['setOptions'](_0x2fed90(0x207),_0x3f4cb4),this;}[_0x1f79ef(0x265)](_0x2abaa5){const _0x3706db=_0x1f79ef;var _0x12b3c1;const _0x243cdd=((_0x12b3c1=this[_0x3706db(0x25b)])==null?void 0x0:_0x12b3c1[_0x3706db(0x229)])||{};return _0x243cdd[_0x3706db(0x266)]=_0x2abaa5,this['setOptions']('yAxisTitle',_0x243cdd),this;}[_0x1f79ef(0x252)](_0x2d95fe){const _0x356885=_0x1f79ef;var _0x3210a7;const _0x4655a9=((_0x3210a7=this['options'])==null?void 0x0:_0x3210a7[_0x356885(0x1d4)])||{};return _0x4655a9[_0x356885(0x266)]=_0x2d95fe,this[_0x356885(0x26f)](_0x356885(0x1d4),_0x4655a9),this;}[_0x1f79ef(0x277)](_0x39d931){const _0x5d6e95=_0x1f79ef;var _0x3e1e62;const _0x18b84f=((_0x3e1e62=this[_0x5d6e95(0x25b)])==null?void 0x0:_0x3e1e62[_0x5d6e95(0x207)])||{};return this[_0x5d6e95(0x26f)](_0x5d6e95(0x207),{..._0x18b84f,..._0x39d931}),this;}[_0x1f79ef(0x200)](_0xa91916){const _0x5667af=_0x1f79ef;var _0x4490f4;const _0x59ef09=((_0x4490f4=this[_0x5667af(0x25b)])==null?void 0x0:_0x4490f4[_0x5667af(0x229)])||{};return this[_0x5667af(0x26f)](_0x5667af(0x229),{..._0x59ef09,..._0xa91916}),this;}[_0x1f79ef(0x253)](_0x28456e){const _0x36e58d=_0x1f79ef;var _0x27b238;const _0xac58c9=((_0x27b238=this[_0x36e58d(0x25b)])==null?void 0x0:_0x27b238[_0x36e58d(0x1d4)])||{};return this[_0x36e58d(0x26f)](_0x36e58d(0x1d4),{..._0xac58c9,..._0x28456e}),this;}[_0x1f79ef(0x20c)](_0x32ea3e){const _0x48a84f=_0x1f79ef;return this[_0x48a84f(0x26f)](_0x48a84f(0x1b8),_0x32ea3e),this;}[_0x1f79ef(0x1f2)](_0x357470){const _0x642f59=_0x1f79ef;return this[_0x642f59(0x26f)](_0x642f59(0x1b7),_0x357470),this;}[_0x1f79ef(0x239)](_0x1f66c2){const _0x3bab5c=_0x1f79ef;return this[_0x3bab5c(0x26f)](_0x3bab5c(0x25f),_0x1f66c2),this;}[_0x1f79ef(0x1e8)](_0x3113cf,_0x5ea922){const _0x2a90fa=_0x1f79ef;return this[_0x2a90fa(0x26f)](_0x2a90fa(0x228),{[_0x3113cf]:_0x5ea922}),this;}[_0x1f79ef(0x1c9)](){const _0x412750=_0x1f79ef;return{'unitId':this[_0x412750(0x237)],'subUnitId':this[_0x412750(0x257)],'chartId':this[_0x412750(0x26a)],'range':this['range'],'sourceSheetName':this[_0x412750(0x1f5)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x412750(0x25b)],'isRowDirection':this[_0x412750(0x274)]};}}class P{constructor(_0x41e730,_0x4ea0d9,_0x48f41a,_0x384c12){const _0x4f1fd9=_0x1f79ef;n(this,'unitId'),n(this,_0x4f1fd9(0x257)),n(this,_0x4f1fd9(0x26a)),n(this,_0x4f1fd9(0x1bc)),(this[_0x4f1fd9(0x237)]=_0x41e730,this['subUnitId']=_0x4ea0d9,this[_0x4f1fd9(0x26a)]=_0x48f41a,this[_0x4f1fd9(0x1bc)]=_0x384c12);}[_0x1f79ef(0x1ee)](){const _0x4da8df=_0x1f79ef;return this[_0x4da8df(0x26a)];}[_0x1f79ef(0x278)](){const _0x357fef=_0x1f79ef,_0xac5878=this[_0x357fef(0x1bc)]['get'](_0x1a0104)['getChartModel'](this[_0x357fef(0x26a)]);if(_0xac5878)return _0xac5878[_0x357fef(0x1de)][_0x357fef(0x259)]();}[_0x1f79ef(0x213)](_0x44c6dd){const _0xe810fe=_0x1f79ef;return this[_0xe810fe(0x1bc)][_0xe810fe(0x1c2)](_0x517ca5)[_0xe810fe(0x23b)](_0xdf90fe['id'],{'unitId':this['unitId'],'chartModelId':this[_0xe810fe(0x26a)],'range':_0x44c6dd});}[_0x1f79ef(0x1c3)](){const _0x2a085a=_0x1f79ef;var _0x5e2881;const _0x5acdca=this[_0x2a085a(0x1bc)][_0x2a085a(0x1c2)](_0x1a0104)[_0x2a085a(0x25e)](this[_0x2a085a(0x26a)]);if(_0x5acdca)return(_0x5e2881=_0x5acdca[_0x2a085a(0x21d)])==null?void 0x0:_0x5e2881[_0x2a085a(0x22b)];}[_0x1f79ef(0x215)](){const _0x589c47=_0x1f79ef;var _0xe4ebc4;const _0x52dbea=this[_0x589c47(0x1bc)][_0x589c47(0x1c2)](_0x1a0104)[_0x589c47(0x25e)](this['chartId']);if(_0x52dbea)return(_0xe4ebc4=_0x52dbea[_0x589c47(0x21d)])==null?void 0x0:_0xe4ebc4[_0x589c47(0x276)];}[_0x1f79ef(0x267)](){const _0x394de0=_0x1f79ef,_0x4ed24f=this[_0x394de0(0x1bc)][_0x394de0(0x1c2)](_0x4f35d5)[_0x394de0(0x1cf)](_0x49e72a[_0x394de0(0x260)]);return new c(this[_0x394de0(0x237)],this[_0x394de0(0x257)],_0x4ed24f,this['_injector'],this['chartId']);}}class $ extends _0x5a626d{async[_0x1f79ef(0x264)](_0x19ca2c){const _0x405d08=_0x1f79ef;var _0x265293,_0x5deb68,_0x3c422e;const _0x124b6e=_0x19ca2c[_0x405d08(0x237)]||this['getWorkbook']()[_0x405d08(0x26b)](),_0x441cb4=_0x19ca2c[_0x405d08(0x257)]||this[_0x405d08(0x1da)](),_0x404540=_0x19ca2c['chartId']||_0x477638(),_0x1e76f9=_0x19ca2c[_0x405d08(0x22c)],_0x5bc154=_0x19ca2c['range'],_0x39abf8=_0x19ca2c[_0x405d08(0x1f5)],_0x298a8b={'x':_0x19ca2c['x'],'y':_0x19ca2c['y']},_0x51a860=_0x19ca2c[_0x405d08(0x256)],_0x38d869=_0x19ca2c[_0x405d08(0x1bb)],_0x42429b=(_0x265293=_0x19ca2c[_0x405d08(0x25b)])==null?void 0x0:_0x265293[_0x405d08(0x1d3)],_0x3641c6=(_0x5deb68=_0x19ca2c['options'])==null?void 0x0:_0x5deb68[_0x405d08(0x275)],_0x1038b8=C(_0x124b6e,_0x404540,_0x1e76f9,_0x19ca2c['options']),_0x358326=(_0x3c422e=_0x19ca2c[_0x405d08(0x1be)])!=null?_0x3c422e:!0x0;if(!_0x5bc154)throw new Error(_0x405d08(0x21f));return await this[_0x405d08(0x25a)]['executeCommand'](_0x12eaf0['id'],{'unitId':_0x124b6e,'subUnitId':_0x441cb4,'chartId':_0x404540,'chartType':_0x1e76f9,'range':_0x5bc154,'sourceSheetName':_0x39abf8,'position':_0x298a8b,'width':_0x51a860,'height':_0x38d869,'backgroundColor':_0x42429b,'borderColor':_0x3641c6,'config':_0x1038b8,'isRowDirection':_0x358326}),new P(_0x124b6e,_0x441cb4,_0x404540,this[_0x405d08(0x1bc)]);}['updateChart'](_0x54346c){const _0xf4c53f=_0x1f79ef,{unitId:_0x91618d,chartId:_0x5f35b6,chartType:_0x2551d0,options:_0x1e1755}=_0x54346c,_0x422ee8=C(_0x91618d,_0x5f35b6,_0x2551d0,_0x1e1755);this[_0xf4c53f(0x25a)][_0xf4c53f(0x23b)](_0x177ce3['id'],_0x422ee8);}[_0x1f79ef(0x20e)](_0x20b875){const _0x3305a9=_0x1f79ef;if(_0x20b875)return new c(_0x20b875[_0x3305a9(0x237)],_0x20b875[_0x3305a9(0x257)],this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)],_0x20b875[_0x3305a9(0x26a)]);const _0x5f2498=this['getWorkbook']()[_0x3305a9(0x26b)](),_0x26c494=this['getSheetId']();return new c(_0x5f2498,_0x26c494,this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)]);}[_0x1f79ef(0x1fd)](){const _0x5b4abd=_0x1f79ef,_0x37fe11=this[_0x5b4abd(0x1bc)][_0x5b4abd(0x1c2)](_0x1a0104),_0x4ac352=this[_0x5b4abd(0x1fe)]()[_0x5b4abd(0x26b)]();return _0x37fe11['getUnitChartModels'](_0x4ac352,this[_0x5b4abd(0x1da)]())[_0x5b4abd(0x254)](_0x1e29a6=>new P(_0x4ac352,this[_0x5b4abd(0x1da)](),_0x1e29a6['id'],this[_0x5b4abd(0x1bc)]));}['removeChart'](_0x186fee){const _0x15f926=_0x1f79ef,_0x4457dc=_0x186fee['unitId'],_0x359384=_0x186fee[_0x15f926(0x257)],_0x495e32=_0x186fee[_0x15f926(0x26a)],_0x139bc1={'unitId':_0x4457dc,'drawings':[{'unitId':_0x4457dc,'subUnitId':_0x359384,'drawingId':_0x495e32,'drawingType':_0x2036fa[_0x15f926(0x1d8)]}]};return this['_commandService'][_0x15f926(0x23b)](_0x3a0d6d['id'],_0x139bc1);}['registerChartTheme'](_0x4d7d35,_0x2d440a){const _0x562bb0=_0x1f79ef;this[_0x562bb0(0x1bc)][_0x562bb0(0x1c2)](_0x1ad9da)[_0x562bb0(0x1cc)](_0x4d7d35,_0x2d440a);}}_0x5a626d[_0x1f79ef(0x25c)]($);class tt extends _0x481bf3{get[_0x1f79ef(0x202)](){return _0x4721fd;}get[_0x1f79ef(0x26d)](){return _0x2d162b;}get[_0x1f79ef(0x1d7)](){return _0x4ef2a8;}get[_0x1f79ef(0x238)](){return _0x1f27c9;}get[_0x1f79ef(0x1f7)](){return _0x2de25d;}get[_0x1f79ef(0x208)](){return _0x3f413b;}get[_0x1f79ef(0x205)](){return _0x2b106c;}get['RadarShape'](){return _0x4af9c5;}}_0x481bf3['extend'](tt);class et extends c{constructor(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972){const _0x56bdaa=_0x1f79ef;super(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972),n(this,_0x56bdaa(0x221)),n(this,_0x56bdaa(0x1f0)),n(this,_0x56bdaa(0x243)),n(this,_0x56bdaa(0x204));}['setLineStyle'](_0x1df471){const _0x2181e2=_0x1f79ef;return this[_0x2181e2(0x221)]=_0x1df471,this;}[_0x1f79ef(0x21b)](_0x2691bb){const _0x3e1767=_0x1f79ef;return this[_0x3e1767(0x1f0)]=_0x2691bb,this;}['setDataPointColor'](_0x4b3921){return this['dataPointColor']=_0x4b3921,this;}[_0x1f79ef(0x23a)](_0x2b7443){const _0x5c1e09=_0x1f79ef;return this[_0x5c1e09(0x204)]=_0x2b7443,this;}['build'](){const _0x3e60df=_0x1f79ef,_0x16aec0=super[_0x3e60df(0x1c9)]();_0x16aec0['chartType']=_0x4721fd[_0x3e60df(0x20a)];const _0x44bd97=_0x16aec0[_0x3e60df(0x25b)]||{};return s(_0x44bd97,_0x3e60df(0x272),this[_0x3e60df(0x221)]),s(_0x44bd97,_0x3e60df(0x20d),this['dataPointShape']),s(_0x44bd97,_0x3e60df(0x1dd),this[_0x3e60df(0x243)]),s(_0x44bd97,_0x3e60df(0x212),this['dataPointSize']),_0x16aec0[_0x3e60df(0x25b)]=_0x44bd97,_0x16aec0;}}class it extends c{['asLineChart'](){const _0x44b232=_0x1f79ef;return new et(this[_0x44b232(0x237)],this[_0x44b232(0x257)],this[_0x44b232(0x1cd)],this['_injector'],this[_0x44b232(0x26a)]);}}c[_0x1f79ef(0x25c)](it);class st extends c{constructor(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf){const _0x139389=_0x1f79ef;super(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf),n(this,_0x139389(0x24a)),n(this,_0x139389(0x275)),n(this,_0x139389(0x241)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x1f79ef(0x1c6)](_0x2e7d09){const _0xfb64e=_0x1f79ef;return this[_0xfb64e(0x24a)]=_0x2e7d09,this;}['setBorderColor'](_0xfdf8f9){const _0x94d1c=_0x1f79ef;return this[_0x94d1c(0x275)]=_0xfdf8f9,this;}[_0x1f79ef(0x1fc)](_0x567e07){const _0x30ebae=_0x1f79ef;return this[_0x30ebae(0x241)]=_0x567e07,this;}[_0x1f79ef(0x263)](_0x4e5c98){const _0x136f3c=_0x1f79ef;return this[_0x136f3c(0x1f3)]=_0x4e5c98,this;}[_0x1f79ef(0x217)](_0x5d7fe3){const _0x40be97=_0x1f79ef;return this[_0x40be97(0x235)]=_0x5d7fe3,this;}[_0x1f79ef(0x248)](_0x2772e8){return this['showLabelLine']=_0x2772e8,this;}[_0x1f79ef(0x1c9)](){const _0x406b6c=_0x1f79ef,_0x4cfeba=super[_0x406b6c(0x1c9)]();_0x4cfeba[_0x406b6c(0x22c)]=_0x4721fd['Pie'];const _0x4a7626=_0x4cfeba[_0x406b6c(0x25b)]||{};return s(_0x4a7626,_0x406b6c(0x273),this[_0x406b6c(0x24a)]),s(_0x4a7626,_0x406b6c(0x21a),this[_0x406b6c(0x275)]),s(_0x4a7626,'pie.hasPaddingAngle',this[_0x406b6c(0x241)]),s(_0x4a7626,_0x406b6c(0x22d),this[_0x406b6c(0x1f3)]),s(_0x4a7626,_0x406b6c(0x247),this[_0x406b6c(0x235)]),s(_0x4a7626,'pie.showLabelLine',this['showLabelLine']),_0x4cfeba[_0x406b6c(0x25b)]=_0x4a7626,_0x4cfeba;}}class rt extends c{['asPieChart'](){const _0x53e6d7=_0x1f79ef;return new st(this[_0x53e6d7(0x237)],this[_0x53e6d7(0x257)],this[_0x53e6d7(0x1cd)],this[_0x53e6d7(0x1bc)],this[_0x53e6d7(0x26a)]);}}c[_0x1f79ef(0x25c)](rt);class ot extends c{constructor(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89){const _0xdcd8e5=_0x1f79ef;super(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89),n(this,'shape'),n(this,_0xdcd8e5(0x211));}[_0x1f79ef(0x232)](_0x353d04){const _0x3abed5=_0x1f79ef;return this[_0x3abed5(0x218)]=_0x353d04,this;}[_0x1f79ef(0x1c4)](_0x1356ce){return this['fill']=_0x1356ce,this;}['build'](){const _0x386a5d=_0x1f79ef,_0x2de5f1=super[_0x386a5d(0x1c9)]();_0x2de5f1[_0x386a5d(0x22c)]=_0x4721fd[_0x386a5d(0x23d)];const _0x518415=_0x2de5f1[_0x386a5d(0x25b)]||{};return s(_0x518415,'radar.shape',this[_0x386a5d(0x218)]),s(_0x518415,_0x386a5d(0x1dc),this[_0x386a5d(0x211)]),_0x2de5f1['options']=_0x518415,_0x2de5f1;}}class nt extends c{[_0x1f79ef(0x1d9)](){const _0x48ce60=_0x1f79ef;return new ot(this['unitId'],this[_0x48ce60(0x257)],this[_0x48ce60(0x1cd)],this['_injector'],this[_0x48ce60(0x26a)]);}}c[_0x1f79ef(0x25c)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x48069a=_0x3c9b;(function(_0x143437,_0x655c9b){const _0x58aa93=_0x3c9b,_0x42b9fc=_0x143437();while(!![]){try{const _0x1b0afb=parseInt(_0x58aa93(0x177))/0x1+-parseInt(_0x58aa93(0x17f))/0x2*(parseInt(_0x58aa93(0x1a9))/0x3)+parseInt(_0x58aa93(0x1dd))/0x4*(parseInt(_0x58aa93(0x160))/0x5)+-parseInt(_0x58aa93(0x198))/0x6+parseInt(_0x58aa93(0x185))/0x7+parseInt(_0x58aa93(0x20b))/0x8+-parseInt(_0x58aa93(0x18a))/0x9*(parseInt(_0x58aa93(0x1e9))/0xa);if(_0x1b0afb===_0x655c9b)break;else _0x42b9fc['push'](_0x42b9fc['shift']());}catch(_0x42e2d6){_0x42b9fc['push'](_0x42b9fc['shift']());}}}(_0x490d,0x2028d));var R=Object['defineProperty'],k=(_0x53f451,_0x5cf8da,_0x22d2b3)=>_0x5cf8da in _0x53f451?R(_0x53f451,_0x5cf8da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22d2b3}):_0x53f451[_0x5cf8da]=_0x22d2b3,n=(_0x127f27,_0x4663d5,_0x433807)=>k(_0x127f27,typeof _0x4663d5!='symbol'?_0x4663d5+'':_0x4663d5,_0x433807);import{ChartThemeService as _0x489771,ChartTypeBits as _0x246f18,LegendPositionEnum as _0x5bb762,SelectModeEnum as _0x3c7635,AxisAlignEnum as _0x410a21,ChartBorderDashType as _0x11a274,LinePointShape as _0x3b014d,TitlePositionEnum as _0x10cc31,RadarShape as _0x2a7980}from'@univerjs-pro/engine-chart';import{setProperty as _0x166397,SheetsChartService as _0x4c9069,ChartUpdateSourceCommand as _0x2ca7e6,ChartUpdateConfigCommand as _0x44d153}from'@univerjs-pro/sheets-chart';function _0x3c9b(_0x3374f2,_0xc2941c){_0x3374f2=_0x3374f2-0x15f;const _0x490db1=_0x490d();let _0x3c9b13=_0x490db1[_0x3374f2];return _0x3c9b13;}import{InsertChartCommand as _0x542e73}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x33e93e,IUniverInstanceService as _0x18e69c,UniverInstanceType as _0x2ac49b,generateRandomId as _0x13be70,DrawingTypeEnum as _0x42145e}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1d78b0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xf6e2c9}from'@univerjs/sheets/facade';import{FBase as _0x49ec67,FEnum as _0x264405}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x376bf7}from'@univerjs/engine-formula';import{IRenderManagerService as _0xee6889}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x58e7cd,SheetSkeletonManagerService as _0x26d5e5,convertPositionCellToSheetOverGrid as _0x5a5348}from'@univerjs/sheets-ui';const s=(_0x42e7b7,_0x537db9,_0x39cde8)=>{_0x39cde8!==void 0x0&&_0x166397(_0x42e7b7,_0x537db9,_0x39cde8);},C=(_0x5b8d57,_0x5ad023,_0x431ba2,_0x261cce={})=>{const _0xf66f09=_0x3c9b,_0x4cf638={},_0x4acfe1={};if(_0x261cce[_0xf66f09(0x1a6)]){const _0x1e890f=_0x261cce[_0xf66f09(0x1a6)];s(_0x4cf638,'titles.title.content',_0x1e890f[_0xf66f09(0x209)]),s(_0x4cf638,_0xf66f09(0x1f2),_0x1e890f['font']),s(_0x4cf638,_0xf66f09(0x1b4),_0x1e890f[_0xf66f09(0x162)]),s(_0x4cf638,_0xf66f09(0x1a5),_0x1e890f[_0xf66f09(0x191)]),s(_0x4cf638,_0xf66f09(0x1ae),_0x1e890f[_0xf66f09(0x19e)]),s(_0x4cf638,'titles.title.bold',_0x1e890f['bold']),s(_0x4cf638,'titles.title.align',_0x1e890f[_0xf66f09(0x208)]),s(_0x4cf638,_0xf66f09(0x1a3),_0x1e890f[_0xf66f09(0x169)]);}if(_0x261cce['legend']){const _0x39c51f=_0x261cce['legend'];s(_0x4cf638,'legend.position',_0x39c51f['position']),s(_0x4cf638,_0xf66f09(0x212),_0x39c51f[_0xf66f09(0x1ba)]),s(_0x4cf638,_0xf66f09(0x173),_0x39c51f['fontSize']),s(_0x4cf638,'legend.label.color',_0x39c51f[_0xf66f09(0x1a0)]),s(_0x4cf638,_0xf66f09(0x17c),_0x39c51f[_0xf66f09(0x199)]),s(_0x4cf638,_0xf66f09(0x1d6),_0x39c51f[_0xf66f09(0x210)]);}if(_0x261cce[_0xf66f09(0x1c9)]){const _0x337862=_0x261cce['pie'];s(_0x4cf638,_0xf66f09(0x19c),_0x337862[_0xf66f09(0x1ec)]),s(_0x4cf638,'pie.borderColor',_0x337862['borderColor']),s(_0x4cf638,_0xf66f09(0x1f9),_0x337862[_0xf66f09(0x1af)]),s(_0x4cf638,_0xf66f09(0x1b7),_0x337862['isHalfPie']),s(_0x4cf638,_0xf66f09(0x204),_0x337862[_0xf66f09(0x1ff)]),s(_0x4cf638,_0xf66f09(0x1dc),_0x337862[_0xf66f09(0x167)]);}if(_0x261cce[_0xf66f09(0x1c4)]){const _0x1618e9=_0x261cce[_0xf66f09(0x1c4)];s(_0x4cf638,_0xf66f09(0x1bc),_0x1618e9[_0xf66f09(0x17e)]),s(_0x4cf638,'tooltip.indicatorLineType',_0x1618e9['indicatorLineType']),s(_0x4cf638,_0xf66f09(0x1f8),_0x1618e9[_0xf66f09(0x1c8)]),s(_0x4cf638,_0xf66f09(0x165),_0x1618e9[_0xf66f09(0x1a7)]);}if(_0x261cce[_0xf66f09(0x1b0)]&&(s(_0x4cf638,_0xf66f09(0x1cc),_0x261cce[_0xf66f09(0x1b0)][_0xf66f09(0x207)]),s(_0x4cf638,_0xf66f09(0x18d),_0x261cce['allSeriesStyle'][_0xf66f09(0x195)]),s(_0x4cf638,_0xf66f09(0x17b),_0x261cce[_0xf66f09(0x1b0)][_0xf66f09(0x1b2)]),s(_0x4cf638,_0xf66f09(0x180),_0x261cce[_0xf66f09(0x1b0)][_0xf66f09(0x1e5)]),s(_0x4cf638,'allSeriesStyle.color',_0x261cce['allSeriesStyle']['color'])),_0x261cce[_0xf66f09(0x1f1)]&&s(_0x4cf638,'area.lineStyle',_0x261cce[_0xf66f09(0x1f1)][_0xf66f09(0x20c)]),_0x261cce[_0xf66f09(0x20d)]&&s(_0x4cf638,'theme',_0x261cce['theme']),_0x261cce[_0xf66f09(0x18b)]&&s(_0x4cf638,_0xf66f09(0x18b),_0x261cce[_0xf66f09(0x18b)]),_0x261cce[_0xf66f09(0x1ce)]&&s(_0x4cf638,_0xf66f09(0x1ce),_0x261cce[_0xf66f09(0x1ce)]),_0x261cce[_0xf66f09(0x19d)]&&s(_0x4cf638,'gradientFill',_0x261cce[_0xf66f09(0x19d)]),_0x261cce[_0xf66f09(0x1e4)]&&s(_0x4cf638,'invalidValueType',_0x261cce[_0xf66f09(0x1e4)]),_0x261cce[_0xf66f09(0x1a4)]&&s(_0x4cf638,_0xf66f09(0x1a4),_0x261cce['radar']),_0x261cce[_0xf66f09(0x197)]){const _0x510724=_0x261cce['xAxisTitle'];s(_0x4cf638,_0xf66f09(0x1d7),_0x510724[_0xf66f09(0x209)]),s(_0x4cf638,_0xf66f09(0x1e7),_0x510724[_0xf66f09(0x1fa)]),s(_0x4cf638,_0xf66f09(0x1b5),_0x510724[_0xf66f09(0x162)]),s(_0x4cf638,'titles.xAxisTitle.color',_0x510724[_0xf66f09(0x191)]),s(_0x4cf638,'titles.xAxisTitle.family',_0x510724[_0xf66f09(0x19e)]),s(_0x4cf638,_0xf66f09(0x1fb),_0x510724[_0xf66f09(0x199)]),s(_0x4cf638,'xAxis.label.axisTitleAlign',_0x510724[_0xf66f09(0x17d)]);}if(_0x261cce[_0xf66f09(0x1e0)]){const _0x43b0cf=_0x261cce[_0xf66f09(0x1e0)];s(_0x4cf638,_0xf66f09(0x18f),_0x43b0cf[_0xf66f09(0x209)]),s(_0x4cf638,_0xf66f09(0x1ac),_0x43b0cf[_0xf66f09(0x1fa)]),s(_0x4cf638,_0xf66f09(0x1cb),_0x43b0cf[_0xf66f09(0x162)]),s(_0x4cf638,_0xf66f09(0x1bb),_0x43b0cf[_0xf66f09(0x191)]),s(_0x4cf638,'titles.yAxisTitle.family',_0x43b0cf[_0xf66f09(0x19e)]),s(_0x4cf638,'titles.yAxisTitle.bold',_0x43b0cf['bold']),s(_0x4cf638,'yAxis.label.axisTitleAlign',_0x43b0cf[_0xf66f09(0x17d)]);}if(_0x261cce[_0xf66f09(0x1c3)]){const _0xf9d191=_0x261cce[_0xf66f09(0x1c3)];s(_0x4cf638,_0xf66f09(0x1de),_0xf9d191['content']),s(_0x4cf638,_0xf66f09(0x192),_0xf9d191[_0xf66f09(0x1fa)]),s(_0x4cf638,'titles.rightYAxisTitle.fontSize',_0xf9d191[_0xf66f09(0x162)]),s(_0x4cf638,'titles.rightYAxisTitle.color',_0xf9d191[_0xf66f09(0x191)]),s(_0x4cf638,_0xf66f09(0x174),_0xf9d191[_0xf66f09(0x19e)]),s(_0x4cf638,_0xf66f09(0x1ab),_0xf9d191[_0xf66f09(0x199)]),s(_0x4cf638,_0xf66f09(0x1e2),_0xf9d191[_0xf66f09(0x17d)]);}_0x261cce[_0xf66f09(0x1c7)]&&s(_0x4cf638,'xAxis',_0x261cce[_0xf66f09(0x1c7)]),_0x261cce['yAxis']&&s(_0x4cf638,_0xf66f09(0x1ca),_0x261cce[_0xf66f09(0x1ca)]),_0x261cce[_0xf66f09(0x1e1)]&&s(_0x4cf638,_0xf66f09(0x1b2),_0x261cce[_0xf66f09(0x1e1)]),_0x261cce['seriesStyleMap']&&s(_0x4cf638,'seriesStyleMap',_0x261cce[_0xf66f09(0x179)]);const _0x4e0ee0={'unitId':_0x5b8d57,'chartModelId':_0x5ad023};let _0x46a262=!0x1;if(_0x431ba2!==void 0x0&&(_0x4e0ee0[_0xf66f09(0x1f4)]=_0x431ba2,_0x46a262=!0x0),Object[_0xf66f09(0x211)](_0x4cf638)[_0xf66f09(0x202)]>0x0&&(_0x4e0ee0[_0xf66f09(0x1b1)]=_0x4cf638,_0x46a262=!0x0),Object[_0xf66f09(0x211)](_0x4acfe1)[_0xf66f09(0x202)]>0x0&&(_0x4e0ee0[_0xf66f09(0x1ef)]=_0x4acfe1,_0x46a262=!0x0),_0x46a262)return _0x4e0ee0;};class c extends _0x49ec67{constructor(_0x499cc6,_0x146bd9,_0x1ed83e,_0x5cec11,_0x1c3319){const _0x97e4da=_0x3c9b;super(),n(this,_0x97e4da(0x1f5)),n(this,_0x97e4da(0x1d9)),n(this,_0x97e4da(0x213)),n(this,'subUnitId'),n(this,_0x97e4da(0x171)),n(this,_0x97e4da(0x1d2)),n(this,_0x97e4da(0x172)),n(this,'x'),n(this,'y'),n(this,_0x97e4da(0x16f)),n(this,_0x97e4da(0x1aa)),n(this,'chartType'),n(this,'options'),n(this,'transposeRowsAndColumns'),(this[_0x97e4da(0x213)]=_0x499cc6,this[_0x97e4da(0x178)]=_0x146bd9,this['_workbook']=_0x1ed83e,this[_0x97e4da(0x1d9)]=_0x5cec11,_0x1c3319&&(this['chartId']=_0x1c3319));}[_0x48069a(0x184)](){return this['chartType'];}[_0x48069a(0x1c0)](_0x31c64f){const _0x587353=_0x48069a;if(typeof _0x31c64f==_0x587353(0x19a)){const _0x59562d=_0x376bf7(_0x31c64f);_0x59562d['sheetName']&&(this[_0x587353(0x172)]=_0x59562d['sheetName']),this[_0x587353(0x1d2)]=_0x59562d[_0x587353(0x1d2)];}else this[_0x587353(0x1d2)]=_0x31c64f;return this;}['clearRange'](){const _0x4a7faa=_0x48069a;return this[_0x4a7faa(0x1d2)]=void 0x0,this[_0x4a7faa(0x172)]=void 0x0,this;}[_0x48069a(0x1d3)](_0x586d21,_0x50b876,_0x4675b5,_0x317600){const _0x1d5f00=_0x48069a,_0x1d0169=this[_0x1d5f00(0x1d9)][_0x1d5f00(0x1cf)](_0xee6889)[_0x1d5f00(0x1ed)](this[_0x1d5f00(0x213)]);if(!_0x1d0169)throw new Error(_0x1d5f00(0x1fe));const _0x1d88af=_0x1d0169[_0x1d5f00(0x194)](_0x58e7cd),_0x985f2a=_0x1d0169[_0x1d5f00(0x194)](_0x26d5e5),{transform:_0x49966e}=_0x5a5348(this[_0x1d5f00(0x213)],this[_0x1d5f00(0x178)],{'row':_0x586d21,'column':_0x50b876,'rowOffset':_0x4675b5,'columnOffset':_0x317600},0x1,0x1,_0x1d88af,_0x985f2a),_0xe28d82=_0x49966e[_0x1d5f00(0x1f6)],_0x221b60=_0x49966e[_0x1d5f00(0x1e3)];return this['x']=_0x221b60,this['y']=_0xe28d82,this;}[_0x48069a(0x203)](_0x26dd85,_0x4f6f01){return this['x']=_0x26dd85,this['y']=_0x4f6f01,this;}['setChartType'](_0x5f0eac){const _0x212451=_0x48069a;return this[_0x212451(0x1f4)]=_0x5f0eac,this;}[_0x48069a(0x163)](_0x35609f){const _0x3ca731=_0x48069a;return this[_0x3ca731(0x16f)]=_0x35609f,this;}[_0x48069a(0x186)](_0x976e3c){const _0x21d189=_0x48069a;return this[_0x21d189(0x1aa)]=_0x976e3c,this;}[_0x48069a(0x189)](_0x4b38a3,_0x467eec){const _0x128984=_0x48069a;return this[_0x128984(0x1df)]||(this['options']={}),_0x4b38a3===''?(this['options']={...this['options'],..._0x467eec},this):(_0x166397(this['options'],_0x4b38a3,_0x467eec),this);}[_0x48069a(0x1f0)](_0x23e21a){return this['transposeRowsAndColumns']=_0x23e21a,this;}['setTheme'](_0x5375db){const _0x2984be=_0x48069a;return this[_0x2984be(0x189)](_0x2984be(0x20d),_0x5375db),this;}[_0x48069a(0x1d0)](_0x525729){const _0x4b4cdc=_0x48069a;var _0x1a2266;const _0x2bd326=((_0x1a2266=this['options'])==null?void 0x0:_0x1a2266[_0x4b4cdc(0x197)])||{};return _0x2bd326[_0x4b4cdc(0x209)]=_0x525729,this['setOptions']('xAxisTitle',_0x2bd326),this;}[_0x48069a(0x1be)](_0x3b3a39){const _0x476167=_0x48069a;var _0x1a5770;const _0x557a58=((_0x1a5770=this[_0x476167(0x1df)])==null?void 0x0:_0x1a5770[_0x476167(0x1e0)])||{};return _0x557a58['content']=_0x3b3a39,this[_0x476167(0x189)]('yAxisTitle',_0x557a58),this;}[_0x48069a(0x20e)](_0x52df5d){const _0x3dd7ae=_0x48069a;var _0x28be42;const _0x52da2a=((_0x28be42=this[_0x3dd7ae(0x1df)])==null?void 0x0:_0x28be42[_0x3dd7ae(0x1c3)])||{};return _0x52da2a[_0x3dd7ae(0x209)]=_0x52df5d,this[_0x3dd7ae(0x189)](_0x3dd7ae(0x1c3),_0x52da2a),this;}[_0x48069a(0x16e)](_0x1877f1){const _0x286765=_0x48069a;var _0x5e5a63;const _0x1177da=((_0x5e5a63=this[_0x286765(0x1df)])==null?void 0x0:_0x5e5a63[_0x286765(0x197)])||{};return this[_0x286765(0x189)](_0x286765(0x197),{..._0x1177da,..._0x1877f1}),this;}[_0x48069a(0x18c)](_0x38bab4){const _0x1ca213=_0x48069a;var _0x467eff;const _0x45e953=((_0x467eff=this['options'])==null?void 0x0:_0x467eff[_0x1ca213(0x1e0)])||{};return this[_0x1ca213(0x189)](_0x1ca213(0x1e0),{..._0x45e953,..._0x38bab4}),this;}[_0x48069a(0x214)](_0x134e6b){const _0x504cf1=_0x48069a;var _0x2b0ba7;const _0x92e0bf=((_0x2b0ba7=this[_0x504cf1(0x1df)])==null?void 0x0:_0x2b0ba7['rightYAxisTitle'])||{};return this[_0x504cf1(0x189)](_0x504cf1(0x1c3),{..._0x92e0bf,..._0x134e6b}),this;}[_0x48069a(0x1d1)](_0x4b939a){const _0x17c7c5=_0x48069a;return this[_0x17c7c5(0x189)](_0x17c7c5(0x1e4),_0x4b939a),this;}['setAxisPointerStyle'](_0x50e8ab){const _0x260edc=_0x48069a;return this['setOptions'](_0x260edc(0x1c4),_0x50e8ab),this;}[_0x48069a(0x1d5)](_0x1ac5a9){const _0x5c09ee=_0x48069a;return this[_0x5c09ee(0x189)](_0x5c09ee(0x1b0),_0x1ac5a9),this;}[_0x48069a(0x190)](_0x3d633d,_0xb3abd7){const _0x50c41f=_0x48069a;return this[_0x50c41f(0x189)](_0x50c41f(0x179),{[_0x3d633d]:_0xb3abd7}),this;}[_0x48069a(0x19b)](){const _0x3265fa=_0x48069a;return{'unitId':this[_0x3265fa(0x213)],'subUnitId':this[_0x3265fa(0x178)],'chartId':this[_0x3265fa(0x171)],'range':this[_0x3265fa(0x1d2)],'sourceSheetName':this[_0x3265fa(0x172)],'x':this['x'],'y':this['y'],'width':this[_0x3265fa(0x16f)],'height':this[_0x3265fa(0x1aa)],'chartType':this[_0x3265fa(0x1f4)],'options':this[_0x3265fa(0x1df)],'isRowDirection':this[_0x3265fa(0x1c1)]};}}class P{constructor(_0x147a48,_0x1c5139,_0x488e94,_0x31c363){const _0x1824ab=_0x48069a;n(this,_0x1824ab(0x213)),n(this,_0x1824ab(0x178)),n(this,'chartId'),n(this,'_injector'),(this[_0x1824ab(0x213)]=_0x147a48,this['subUnitId']=_0x1c5139,this['chartId']=_0x488e94,this['_injector']=_0x31c363);}['getChartId'](){const _0x1b1535=_0x48069a;return this[_0x1b1535(0x171)];}[_0x48069a(0x200)](){const _0x59823f=_0x48069a,_0xbf426a=this[_0x59823f(0x1d9)]['get'](_0x4c9069)[_0x59823f(0x176)](this[_0x59823f(0x171)]);if(_0xbf426a)return _0xbf426a['dataSource']['getRangeInfo']();}[_0x48069a(0x1bf)](_0x485ee3){const _0x1b0ec7=_0x48069a;return this[_0x1b0ec7(0x1d9)][_0x1b0ec7(0x1cf)](_0x33e93e)[_0x1b0ec7(0x205)](_0x2ca7e6['id'],{'unitId':this[_0x1b0ec7(0x213)],'chartModelId':this[_0x1b0ec7(0x171)],'range':_0x485ee3});}[_0x48069a(0x1e8)](){const _0x36dd71=_0x48069a;var _0x4e786f;const _0x52cef4=this[_0x36dd71(0x1d9)][_0x36dd71(0x1cf)](_0x4c9069)['getChartModel'](this[_0x36dd71(0x171)]);if(_0x52cef4)return(_0x4e786f=_0x52cef4[_0x36dd71(0x1bd)])==null?void 0x0:_0x4e786f[_0x36dd71(0x1ee)];}[_0x48069a(0x16c)](){const _0x4aaeaf=_0x48069a;var _0x4e00dc;const _0x5ae7d9=this[_0x4aaeaf(0x1d9)][_0x4aaeaf(0x1cf)](_0x4c9069)[_0x4aaeaf(0x176)](this[_0x4aaeaf(0x171)]);if(_0x5ae7d9)return(_0x4e00dc=_0x5ae7d9[_0x4aaeaf(0x1bd)])==null?void 0x0:_0x4e00dc['category'];}[_0x48069a(0x16d)](){const _0x3b12cc=_0x48069a,_0x448b96=this['_injector'][_0x3b12cc(0x1cf)](_0x18e69c)['getCurrentUnitForType'](_0x2ac49b[_0x3b12cc(0x175)]);return new c(this[_0x3b12cc(0x213)],this[_0x3b12cc(0x178)],_0x448b96,this[_0x3b12cc(0x1d9)],this['chartId']);}}class $ extends _0xf6e2c9{async[_0x48069a(0x193)](_0x5e4dd7){const _0x1ea5b2=_0x48069a;var _0x54cd97,_0x221e04,_0x2836e0;const _0x4c66f7=_0x5e4dd7['unitId']||this[_0x1ea5b2(0x1d8)]()[_0x1ea5b2(0x161)](),_0x8965d5=_0x5e4dd7[_0x1ea5b2(0x178)]||this['getSheetId'](),_0xa5f0fc=_0x5e4dd7[_0x1ea5b2(0x171)]||_0x13be70(),_0x182052=_0x5e4dd7[_0x1ea5b2(0x1f4)],_0x2e4e68=_0x5e4dd7[_0x1ea5b2(0x1d2)],_0x1eca83=_0x5e4dd7['sourceSheetName'],_0x536ac1={'x':_0x5e4dd7['x'],'y':_0x5e4dd7['y']},_0x37f25a=_0x5e4dd7['width'],_0x48e32d=_0x5e4dd7[_0x1ea5b2(0x1aa)],_0x248c4c=(_0x54cd97=_0x5e4dd7[_0x1ea5b2(0x1df)])==null?void 0x0:_0x54cd97[_0x1ea5b2(0x18b)],_0x39a65a=(_0x221e04=_0x5e4dd7[_0x1ea5b2(0x1df)])==null?void 0x0:_0x221e04[_0x1ea5b2(0x1ce)],_0x1408f4=C(_0x4c66f7,_0xa5f0fc,_0x182052,_0x5e4dd7[_0x1ea5b2(0x1df)]),_0x1277b6=(_0x2836e0=_0x5e4dd7[_0x1ea5b2(0x1f3)])!=null?_0x2836e0:!0x0;if(!_0x2e4e68)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x1ea5b2(0x1c2)][_0x1ea5b2(0x205)](_0x542e73['id'],{'unitId':_0x4c66f7,'subUnitId':_0x8965d5,'chartId':_0xa5f0fc,'chartType':_0x182052,'range':_0x2e4e68,'sourceSheetName':_0x1eca83,'position':_0x536ac1,'width':_0x37f25a,'height':_0x48e32d,'backgroundColor':_0x248c4c,'borderColor':_0x39a65a,'config':_0x1408f4,'isRowDirection':_0x1277b6}),new P(_0x4c66f7,_0x8965d5,_0xa5f0fc,this[_0x1ea5b2(0x1d9)]);}[_0x48069a(0x188)](_0xa5a5e5){const _0x24c683=_0x48069a,{unitId:_0x534cac,chartId:_0x31a8ad,chartType:_0x157136,options:_0x3017bd}=_0xa5a5e5,_0x22cf2b=C(_0x534cac,_0x31a8ad,_0x157136,_0x3017bd);this[_0x24c683(0x1c2)][_0x24c683(0x205)](_0x44d153['id'],_0x22cf2b);}[_0x48069a(0x17a)](_0x29915e){const _0x366071=_0x48069a;if(_0x29915e)return new c(_0x29915e[_0x366071(0x213)],_0x29915e[_0x366071(0x178)],this['_workbook'],this[_0x366071(0x1d9)],_0x29915e[_0x366071(0x171)]);const _0x392312=this[_0x366071(0x1d8)]()[_0x366071(0x161)](),_0x4d51da=this[_0x366071(0x1d4)]();return new c(_0x392312,_0x4d51da,this[_0x366071(0x1f5)],this[_0x366071(0x1d9)]);}[_0x48069a(0x18e)](){const _0x12dd92=_0x48069a,_0x595df7=this[_0x12dd92(0x1d9)][_0x12dd92(0x1cf)](_0x4c9069),_0x37fe5d=this['getWorkbook']()[_0x12dd92(0x161)]();return _0x595df7[_0x12dd92(0x1eb)](_0x37fe5d,this[_0x12dd92(0x1d4)]())['map'](_0x28484b=>new P(_0x37fe5d,this[_0x12dd92(0x1d4)](),_0x28484b['id'],this['_injector']));}['removeChart'](_0x4ea4fb){const _0x49adb2=_0x48069a,_0x533ec2=_0x4ea4fb['unitId'],_0x594ef4=_0x4ea4fb[_0x49adb2(0x178)],_0xfe7db=_0x4ea4fb[_0x49adb2(0x171)],_0x5ccff4={'unitId':_0x533ec2,'drawings':[{'unitId':_0x533ec2,'subUnitId':_0x594ef4,'drawingId':_0xfe7db,'drawingType':_0x42145e['DRAWING_CHART']}]};return this[_0x49adb2(0x1c2)][_0x49adb2(0x205)](_0x1d78b0['id'],_0x5ccff4);}[_0x48069a(0x1c6)](_0xa6740d,_0x4eeaeb){const _0x65d9c9=_0x48069a;this[_0x65d9c9(0x1d9)][_0x65d9c9(0x1cf)](_0x489771)[_0x65d9c9(0x182)](_0xa6740d,_0x4eeaeb);}}_0xf6e2c9[_0x48069a(0x196)]($);class tt extends _0x264405{get[_0x48069a(0x1ad)](){return _0x246f18;}get['LegendPositionEnum'](){return _0x5bb762;}get['SelectModeEnum'](){return _0x3c7635;}get[_0x48069a(0x1b3)](){return _0x410a21;}get[_0x48069a(0x20a)](){return _0x11a274;}get['LinePointShape'](){return _0x3b014d;}get['TitlePositionEnum'](){return _0x10cc31;}get[_0x48069a(0x181)](){return _0x2a7980;}}_0x264405[_0x48069a(0x196)](tt);class et extends c{constructor(_0x886999,_0x29626,_0x54a98b,_0x2dcc75,_0x51af91){const _0x4273ca=_0x48069a;super(_0x886999,_0x29626,_0x54a98b,_0x2dcc75,_0x51af91),n(this,_0x4273ca(0x20c)),n(this,_0x4273ca(0x1da)),n(this,_0x4273ca(0x1e6)),n(this,_0x4273ca(0x183));}[_0x48069a(0x16a)](_0x588771){const _0x2e1083=_0x48069a;return this[_0x2e1083(0x20c)]=_0x588771,this;}[_0x48069a(0x15f)](_0x58d5af){const _0x4b3634=_0x48069a;return this[_0x4b3634(0x1da)]=_0x58d5af,this;}['setDataPointColor'](_0x2f279f){const _0x42e9ee=_0x48069a;return this[_0x42e9ee(0x1e6)]=_0x2f279f,this;}[_0x48069a(0x206)](_0x339e7b){const _0x49eab9=_0x48069a;return this[_0x49eab9(0x183)]=_0x339e7b,this;}[_0x48069a(0x19b)](){const _0x509f08=_0x48069a,_0x22509f=super[_0x509f08(0x19b)]();_0x22509f[_0x509f08(0x1f4)]=_0x246f18[_0x509f08(0x20f)];const _0x385f5b=_0x22509f[_0x509f08(0x1df)]||{};return s(_0x385f5b,_0x509f08(0x1b9),this[_0x509f08(0x20c)]),s(_0x385f5b,_0x509f08(0x1b8),this[_0x509f08(0x1da)]),s(_0x385f5b,_0x509f08(0x164),this[_0x509f08(0x1e6)]),s(_0x385f5b,_0x509f08(0x1c5),this[_0x509f08(0x183)]),_0x22509f[_0x509f08(0x1df)]=_0x385f5b,_0x22509f;}}class it extends c{[_0x48069a(0x16b)](){const _0x496247=_0x48069a;return new et(this[_0x496247(0x213)],this[_0x496247(0x178)],this['_workbook'],this['_injector'],this[_0x496247(0x171)]);}}c[_0x48069a(0x196)](it);class st extends c{constructor(_0x18ab97,_0x3615e5,_0x4ef257,_0x1b28c4,_0x218343){const _0x5b01ce=_0x48069a;super(_0x18ab97,_0x3615e5,_0x4ef257,_0x1b28c4,_0x218343),n(this,_0x5b01ce(0x1ec)),n(this,'borderColor'),n(this,_0x5b01ce(0x1af)),n(this,_0x5b01ce(0x1f7)),n(this,_0x5b01ce(0x1ff)),n(this,_0x5b01ce(0x167));}[_0x48069a(0x1fd)](_0x236aa6){const _0x443e20=_0x48069a;return this[_0x443e20(0x1ec)]=_0x236aa6,this;}[_0x48069a(0x19f)](_0x33a2e9){const _0x1b6123=_0x48069a;return this[_0x1b6123(0x1ce)]=_0x33a2e9,this;}[_0x48069a(0x201)](_0x31f357){const _0x15791f=_0x48069a;return this[_0x15791f(0x1af)]=_0x31f357,this;}[_0x48069a(0x1a1)](_0x5349b2){return this['isHalfPie']=_0x5349b2,this;}[_0x48069a(0x1db)](_0xb53d4a){const _0x578f91=_0x48069a;return this[_0x578f91(0x1ff)]=_0xb53d4a,this;}[_0x48069a(0x1a8)](_0x2694e8){return this['showLabelLine']=_0x2694e8,this;}[_0x48069a(0x19b)](){const _0x542eef=_0x48069a,_0x3ece20=super[_0x542eef(0x19b)]();_0x3ece20[_0x542eef(0x1f4)]=_0x246f18[_0x542eef(0x1fc)];const _0x54617e=_0x3ece20[_0x542eef(0x1df)]||{};return s(_0x54617e,_0x542eef(0x19c),this['doughnutHole']),s(_0x54617e,'pie.borderColor',this['borderColor']),s(_0x54617e,'pie.hasPaddingAngle',this[_0x542eef(0x1af)]),s(_0x54617e,_0x542eef(0x1b7),this['isHalfPie']),s(_0x54617e,_0x542eef(0x204),this[_0x542eef(0x1ff)]),s(_0x54617e,_0x542eef(0x1dc),this[_0x542eef(0x167)]),_0x3ece20['options']=_0x54617e,_0x3ece20;}}class rt extends c{[_0x48069a(0x1ea)](){const _0x1db4ff=_0x48069a;return new st(this[_0x1db4ff(0x213)],this[_0x1db4ff(0x178)],this[_0x1db4ff(0x1f5)],this[_0x1db4ff(0x1d9)],this[_0x1db4ff(0x171)]);}}c[_0x48069a(0x196)](rt);function _0x490d(){const _0x38dc2c=['titles.title.family','hasPaddingAngle','allSeriesStyle','style','rightYAxis','AxisAlignEnum','titles.title.fontSize','titles.xAxisTitle.fontSize','fill','pie.isHalfPie','allSeriesStyle.point.shape','area.lineStyle','selectMode','titles.yAxisTitle.color','tooltip.indicatorLabelColor','config','setYAxisTitle','updateRange','addRange','transposeRowsAndColumns','_commandService','rightYAxisTitle','axisPointer','allSeriesStyle.point.size','registerChartTheme','xAxis','indicatorLineColor','pie','yAxis','titles.yAxisTitle.fontSize','allSeriesStyle.border','radar.fill','borderColor','get','setXAxisTitle','setInvalidValueStrategy','range','setPosition','getSheetId','setAllSeriesStyle','legend.label.italic','titles.xAxisTitle.content','getWorkbook','_injector','dataPointShape','setRosePie','pie.showLabelLine','855156ypakSk','titles.rightYAxisTitle.content','options','yAxisTitle','yRightAxis','rightYAxis.label.axisTitleAlign','left','invalidValueType','point','dataPointColor','titles.xAxisTitle.font','getSeriesData','30ZCoyEn','asPieChart','getUnitChartModels','doughnutHole','getRenderById','series','context','setTransposeRowsAndColumns','area','titles.title.font','isRowDirection','chartType','_workbook','top','isHalfPie','tooltip.indicatorLineColor','pie.hasPaddingAngle','font','titles.xAxisTitle.bold','Pie','setDoughnutHole','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','rosePie','getRange','setHasPaddingAngle','length','setAbsolutePosition','pie.rosePie','executeCommand','setDataPointSize','border','titleAlignment','content','ChartBorderDashType','1618560MkNsLk','lineStyle','theme','setRightYAxisTitle','Line','italic','keys','legend.selectMode','unitId','setRightYAxisTextStyle','setDataPointShape','5VTgrDT','getUnitId','fontSize','setWidth','allSeriesStyle.point.color','tooltip.indicatorLabelTextColor','shape','showLabelLine','setFill','position','setLineStyle','asLineChart','getCategoryData','modify','setXAxisTextStyle','width','Radar','chartId','sourceSheetName','legend.label.fontSize','titles.rightYAxisTitle.family','UNIVER_SHEET','getChartModel','145538XdRvcx','subUnitId','seriesStyleMap','newChart','allSeriesStyle.rightYAxis','legend.label.bold','axisAlignment','indicatorLabelColor','2WjFjrF','allSeriesStyle.point','RadarShape','registerTheme','dataPointSize','getChartType','1578759LvlaFo','setHeight','asRadarChart','updateChart','setOptions','1212993GQAOsO','backgroundColor','setYAxisTextStyle','allSeriesStyle.label','getCharts','titles.yAxisTitle.content','setSeriesStyle','fontColor','titles.rightYAxisTitle.font','insertChart','with','label','extend','xAxisTitle','1109862FvCkxn','bold','string','build','pie.doughnutHole','gradientFill','fontStyle','setBorderColor','color','setIsHalfPie','radar.shape','titles.titlePosition','radar','titles.title.color','title','indicatorLabelTextColor','setShowLabelLine','198453lBsPWJ','height','titles.rightYAxisTitle.bold','titles.yAxisTitle.font','ChartType'];_0x490d=function(){return _0x38dc2c;};return _0x490d();}class ot extends c{constructor(_0x5dc7db,_0x447891,_0x225a0a,_0x462ddb,_0x3f9cc8){const _0x49b36b=_0x48069a;super(_0x5dc7db,_0x447891,_0x225a0a,_0x462ddb,_0x3f9cc8),n(this,_0x49b36b(0x166)),n(this,_0x49b36b(0x1b6));}['setShape'](_0x1cbcd3){const _0x6a772=_0x48069a;return this[_0x6a772(0x166)]=_0x1cbcd3,this;}[_0x48069a(0x168)](_0x232e11){return this['fill']=_0x232e11,this;}['build'](){const _0x543d36=_0x48069a,_0x1ab4c7=super[_0x543d36(0x19b)]();_0x1ab4c7[_0x543d36(0x1f4)]=_0x246f18[_0x543d36(0x170)];const _0x4ea0ab=_0x1ab4c7[_0x543d36(0x1df)]||{};return s(_0x4ea0ab,_0x543d36(0x1a2),this[_0x543d36(0x166)]),s(_0x4ea0ab,_0x543d36(0x1cd),this[_0x543d36(0x1b6)]),_0x1ab4c7[_0x543d36(0x1df)]=_0x4ea0ab,_0x1ab4c7;}}class nt extends c{[_0x48069a(0x187)](){const _0x53748b=_0x48069a;return new ot(this['unitId'],this[_0x53748b(0x178)],this['_workbook'],this[_0x53748b(0x1d9)],this[_0x53748b(0x171)]);}}c[_0x48069a(0x196)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|